From d3bdbb79538fceda3a959c5cc91eb3a74fae2a8a Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Thu, 18 Jul 2024 14:57:50 +0000 Subject: [PATCH] deploy: f13cd9bb3348dee7fd0d7201ed8b7d9a60a6dddc --- 404.html | 2 +- .../ZMQ8OwymQypwFN21s9zp4/_buildManifest.js | 1 - _next/static/chunks/198.448dd12f898d5a3e.js | 4 - _next/static/chunks/198.9cda6b5f5a521621.js | 4 + _next/static/chunks/296.46f24cea20bbc4d9.js | 1 + ...4cefe6f7f75.js => 300.502fa4906eac39d9.js} | 2 +- _next/static/chunks/32.0ae62ea42fa20b6c.js | 1 + _next/static/chunks/32.3e5ed771ee888682.js | 1 - ...6ae17239f23.js => 357.f8c2af71bb41d7fa.js} | 4 +- _next/static/chunks/422.b78eb181a9e93d2f.js | 5 + _next/static/chunks/422.bf714f6fd1c9652f.js | 5 - ...c5e651.js => 42a66924-7f61374ecffda3ae.js} | 14 +- _next/static/chunks/449.1a5f5ceadfad2ac3.js | 88 ++++++ _next/static/chunks/449.909cd1bc395415fa.js | 88 ------ .../chunks/497088f4.0dfac81a667ab764.js | 1 + .../chunks/497088f4.604cd7657a6d5bf7.js | 1 - _next/static/chunks/513-aa5d85e05f9d4121.js | 1 + ...3cb4664c838.js => 516.52d1b69d79db7f89.js} | 2 +- _next/static/chunks/521-a924734bdb9d2826.js | 1 + _next/static/chunks/525.025b10b6f1b12ede.js | 1 + _next/static/chunks/525.ccade305faa32082.js | 1 - _next/static/chunks/598-51a9d588edd87ff7.js | 1 + _next/static/chunks/614.5c86d5289be623e0.js | 109 -------- _next/static/chunks/636-7799e2ac6281b3b8.js | 1 - _next/static/chunks/643.a9c52332b2aef328.js | 1 + _next/static/chunks/643.b36636c1acc8a8be.js | 1 - _next/static/chunks/669.0c15831b7605cab6.js | 56 ---- _next/static/chunks/669.42462a9368a84516.js | 56 ++++ ...59820c3842d.js => 697.8125fa5681e09a0d.js} | 2 +- ...33e38bfe157.js => 744.a2f76430cc0e3456.js} | 2 +- _next/static/chunks/781-e03c9a788935ae97.js | 1 + _next/static/chunks/807-49d8b251beaa03c4.js | 1 - _next/static/chunks/846.4966c54170df0b0e.js | 261 ------------------ _next/static/chunks/846.c116aff1dcfc0a02.js | 261 ++++++++++++++++++ _next/static/chunks/871-25028a527fe0ca11.js | 1 - _next/static/chunks/880.139eff8004e448cb.js | 1 + _next/static/chunks/880.c56833219caf43c0.js | 1 - _next/static/chunks/892.13ae97f413ae548b.js | 1 - _next/static/chunks/892.9c85eee624a0c8e2.js | 109 ++++++++ _next/static/chunks/909-c26be64942002469.js | 1 - ...59a52996b943.js => 93.9d55fadcd3990c3b.js} | 2 +- ...4c5c8d6a6b3.js => 992.f6bdeac8373037a3.js} | 2 +- .../chunks/dba7b9d1.0277a2fc3c5421a6.js | 1 + .../chunks/dba7b9d1.6c90705c50d2362b.js | 1 - .../chunks/framework-e7594c6edddb13df.js | 33 --- .../chunks/framework-fd301bc9f532489b.js | 33 +++ _next/static/chunks/main-3128c92b462d824a.js | 1 + _next/static/chunks/main-dc368ffb0e441643.js | 1 - .../chunks/pages/_app-350dfc2526a49676.js | 35 +++ .../chunks/pages/_app-55b09cade33a8579.js | 42 --- .../chunks/pages/_error-27c88aced5dc7b47.js | 1 - .../chunks/pages/_error-4f469fabddeb9740.js | 1 + ...72f060c31d4.js => api-9b2fd69ecf343502.js} | 2 +- ...bf.js => bestpractice-766d853d072a1118.js} | 2 +- ...714b8.js => changelog-10f87d7355f7c23b.js} | 2 +- ...39061e3e238.js => cli-51b9f68afb691535.js} | 2 +- ...82930d7e95c.js => faq-86948be7199466b0.js} | 2 +- .../docs/getting-started-4cb85923eaca48e1.js | 1 + .../docs/getting-started-a6d63edf07f358f0.js | 1 - ...9ef.js => integration-3957d67cc2ae4046.js} | 2 +- ...930add8.js => publish-9b87dd49988cf135.js} | 2 +- ...34da798ac.js => index-2cb378b650e8a471.js} | 2 +- .../chunks/pages/pricing-36ddae5bac7e7343.js | 1 - .../chunks/pages/pricing-aef84d803767efc3.js | 1 + .../chunks/polyfills-78c92fac7aa8fdd8.js | 1 + .../chunks/polyfills-c67a75d1b6f99dc8.js | 1 - .../static/chunks/webpack-4a731039766764b2.js | 1 + .../static/chunks/webpack-d5259fd9843f975e.js | 1 - ...d892c6ef5d5e5.css => 26f638ea0567dfd7.css} | 2 +- .../rBZQTs2DqR697-r_oawZ1/_buildManifest.js | 1 + .../_ssgManifest.js | 0 docs/api.html | 4 +- docs/bestpractice.html | 4 +- docs/changelog.html | 4 +- docs/cli.html | 4 +- docs/faq.html | 4 +- docs/getting-started.html | 4 +- docs/integration.html | 4 +- docs/publish.html | 4 +- index.html | 2 +- pricing.html | 2 +- 81 files changed, 652 insertions(+), 659 deletions(-) delete mode 100644 _next/static/ZMQ8OwymQypwFN21s9zp4/_buildManifest.js delete mode 100644 _next/static/chunks/198.448dd12f898d5a3e.js create mode 100644 _next/static/chunks/198.9cda6b5f5a521621.js create mode 100644 _next/static/chunks/296.46f24cea20bbc4d9.js rename _next/static/chunks/{300.d92d34cefe6f7f75.js => 300.502fa4906eac39d9.js} (99%) create mode 100644 _next/static/chunks/32.0ae62ea42fa20b6c.js delete mode 100644 _next/static/chunks/32.3e5ed771ee888682.js rename _next/static/chunks/{357.21a846ae17239f23.js => 357.f8c2af71bb41d7fa.js} (71%) create mode 100644 _next/static/chunks/422.b78eb181a9e93d2f.js delete mode 100644 _next/static/chunks/422.bf714f6fd1c9652f.js rename _next/static/chunks/{42a66924-0d7bd80c91c5e651.js => 42a66924-7f61374ecffda3ae.js} (74%) create mode 100644 _next/static/chunks/449.1a5f5ceadfad2ac3.js delete mode 100644 _next/static/chunks/449.909cd1bc395415fa.js create mode 100644 _next/static/chunks/497088f4.0dfac81a667ab764.js delete mode 100644 _next/static/chunks/497088f4.604cd7657a6d5bf7.js create mode 100644 _next/static/chunks/513-aa5d85e05f9d4121.js rename _next/static/chunks/{516.af2e33cb4664c838.js => 516.52d1b69d79db7f89.js} (97%) create mode 100644 _next/static/chunks/521-a924734bdb9d2826.js create mode 100644 _next/static/chunks/525.025b10b6f1b12ede.js delete mode 100644 _next/static/chunks/525.ccade305faa32082.js create mode 100644 _next/static/chunks/598-51a9d588edd87ff7.js delete mode 100644 _next/static/chunks/614.5c86d5289be623e0.js delete mode 100644 _next/static/chunks/636-7799e2ac6281b3b8.js create mode 100644 _next/static/chunks/643.a9c52332b2aef328.js delete mode 100644 _next/static/chunks/643.b36636c1acc8a8be.js delete mode 100644 _next/static/chunks/669.0c15831b7605cab6.js create mode 100644 _next/static/chunks/669.42462a9368a84516.js rename _next/static/chunks/{697.fc93659820c3842d.js => 697.8125fa5681e09a0d.js} (80%) rename _next/static/chunks/{744.801eb33e38bfe157.js => 744.a2f76430cc0e3456.js} (99%) create mode 100644 _next/static/chunks/781-e03c9a788935ae97.js delete mode 100644 _next/static/chunks/807-49d8b251beaa03c4.js delete mode 100644 _next/static/chunks/846.4966c54170df0b0e.js create mode 100644 _next/static/chunks/846.c116aff1dcfc0a02.js delete mode 100644 _next/static/chunks/871-25028a527fe0ca11.js create mode 100644 _next/static/chunks/880.139eff8004e448cb.js delete mode 100644 _next/static/chunks/880.c56833219caf43c0.js delete mode 100644 _next/static/chunks/892.13ae97f413ae548b.js create mode 100644 _next/static/chunks/892.9c85eee624a0c8e2.js delete mode 100644 _next/static/chunks/909-c26be64942002469.js rename _next/static/chunks/{93.ed5a59a52996b943.js => 93.9d55fadcd3990c3b.js} (98%) rename _next/static/chunks/{992.05fe04c5c8d6a6b3.js => 992.f6bdeac8373037a3.js} (94%) create mode 100644 _next/static/chunks/dba7b9d1.0277a2fc3c5421a6.js delete mode 100644 _next/static/chunks/dba7b9d1.6c90705c50d2362b.js delete mode 100644 _next/static/chunks/framework-e7594c6edddb13df.js create mode 100644 _next/static/chunks/framework-fd301bc9f532489b.js create mode 100644 _next/static/chunks/main-3128c92b462d824a.js delete mode 100644 _next/static/chunks/main-dc368ffb0e441643.js create mode 100644 _next/static/chunks/pages/_app-350dfc2526a49676.js delete mode 100644 _next/static/chunks/pages/_app-55b09cade33a8579.js delete mode 100644 _next/static/chunks/pages/_error-27c88aced5dc7b47.js create mode 100644 _next/static/chunks/pages/_error-4f469fabddeb9740.js rename _next/static/chunks/pages/docs/{api-697d972f060c31d4.js => api-9b2fd69ecf343502.js} (99%) rename _next/static/chunks/pages/docs/{bestpractice-37cb82ea8216a9bf.js => bestpractice-766d853d072a1118.js} (97%) rename _next/static/chunks/pages/docs/{changelog-9b9767cc5dc714b8.js => changelog-10f87d7355f7c23b.js} (96%) rename _next/static/chunks/pages/docs/{cli-588f639061e3e238.js => cli-51b9f68afb691535.js} (96%) rename _next/static/chunks/pages/docs/{faq-c5b8282930d7e95c.js => faq-86948be7199466b0.js} (98%) create mode 100644 _next/static/chunks/pages/docs/getting-started-4cb85923eaca48e1.js delete mode 100644 _next/static/chunks/pages/docs/getting-started-a6d63edf07f358f0.js rename _next/static/chunks/pages/docs/{integration-af9f43326be1d9ef.js => integration-3957d67cc2ae4046.js} (99%) rename _next/static/chunks/pages/docs/{publish-a0916ab42930add8.js => publish-9b87dd49988cf135.js} (97%) rename _next/static/chunks/pages/{index-b3a0f7934da798ac.js => index-2cb378b650e8a471.js} (92%) delete mode 100644 _next/static/chunks/pages/pricing-36ddae5bac7e7343.js create mode 100644 _next/static/chunks/pages/pricing-aef84d803767efc3.js create mode 100644 _next/static/chunks/polyfills-78c92fac7aa8fdd8.js delete mode 100644 _next/static/chunks/polyfills-c67a75d1b6f99dc8.js create mode 100644 _next/static/chunks/webpack-4a731039766764b2.js delete mode 100644 _next/static/chunks/webpack-d5259fd9843f975e.js rename _next/static/css/{5e9d892c6ef5d5e5.css => 26f638ea0567dfd7.css} (79%) create mode 100644 _next/static/rBZQTs2DqR697-r_oawZ1/_buildManifest.js rename _next/static/{ZMQ8OwymQypwFN21s9zp4 => rBZQTs2DqR697-r_oawZ1}/_ssgManifest.js (100%) diff --git a/404.html b/404.html index 6cb1179..d07ea2e 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/ZMQ8OwymQypwFN21s9zp4/_buildManifest.js b/_next/static/ZMQ8OwymQypwFN21s9zp4/_buildManifest.js deleted file mode 100644 index 8b3898d..0000000 --- a/_next/static/ZMQ8OwymQypwFN21s9zp4/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(s){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[s,"static/chunks/871-25028a527fe0ca11.js","static/chunks/pages/index-b3a0f7934da798ac.js"],"/_error":["static/chunks/pages/_error-27c88aced5dc7b47.js"],"/docs/api":[s,"static/chunks/pages/docs/api-697d972f060c31d4.js"],"/docs/bestpractice":[s,"static/chunks/pages/docs/bestpractice-37cb82ea8216a9bf.js"],"/docs/changelog":[s,"static/chunks/pages/docs/changelog-9b9767cc5dc714b8.js"],"/docs/cli":[s,"static/chunks/pages/docs/cli-588f639061e3e238.js"],"/docs/faq":[s,"static/chunks/pages/docs/faq-c5b8282930d7e95c.js"],"/docs/getting-started":[s,"static/chunks/pages/docs/getting-started-a6d63edf07f358f0.js"],"/docs/integration":[s,"static/chunks/pages/docs/integration-af9f43326be1d9ef.js"],"/docs/publish":["static/chunks/42a66924-0d7bd80c91c5e651.js",s,"static/chunks/807-49d8b251beaa03c4.js","static/chunks/pages/docs/publish-a0916ab42930add8.js"],"/pricing":[s,"static/chunks/636-7799e2ac6281b3b8.js","static/chunks/pages/pricing-36ddae5bac7e7343.js"],sortedPages:["/","/_app","/_error","/docs/api","/docs/bestpractice","/docs/changelog","/docs/cli","/docs/faq","/docs/getting-started","/docs/integration","/docs/publish","/pricing"]}}("static/chunks/909-c26be64942002469.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/chunks/198.448dd12f898d5a3e.js b/_next/static/chunks/198.448dd12f898d5a3e.js deleted file mode 100644 index 0923c0d..0000000 --- a/_next/static/chunks/198.448dd12f898d5a3e.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[198],{73198:function(t,e,r){r.d(e,{a:function(){return s},b:function(){return _},c:function(){return d},d:function(){return P},e:function(){return L},f:function(){return R},g:function(){return j},h:function(){return O},i:function(){return y},j:function(){return B},l:function(){return o},p:function(){return v},s:function(){return S},u:function(){return c}});var a=r(71421),i=r(27509),n=r(3694);let l={extension:(t,e,r)=>{a.l.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},point:(t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},s=(t,e,r,a)=>{e.forEach(e=>{l[e](t,r,a)})},d=(t,e,r,n)=>{let l=t||"";if("object"==typeof l&&(l=l[0]),(0,a.m)((0,a.c)().flowchart.htmlLabels))return l=l.replace(/\\n|\n/g,"
"),a.l.info("vertexText"+l),function(t){var e;let r=(0,i.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),a=r.append("xhtml:div"),n=t.label,l=t.isNode?"nodeLabel":"edgeLabel";return a.html('"+n+""),(e=t.labelStyle)&&a.attr("style",e),a.style("display","inline-block"),a.style("white-space","nowrap"),a.attr("xmlns","http://www.w3.org/1999/xhtml"),r.node()}({isNode:n,label:(0,a.J)(l).replace(/fa[blrs]?:fa-[\w-]+/g,t=>``),labelStyle:e.replace("fill:","color:")});{let t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));for(let e of"string"==typeof l?l.split(/\\n|\n|/gi):Array.isArray(l)?l:[]){let a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),r?a.setAttribute("class","title-row"):a.setAttribute("class","row"),a.textContent=e.trim(),t.appendChild(a)}return t}},o=async(t,e,r,l)=>{let s,o;let c=e.useHtmlLabels||(0,a.m)((0,a.c)().flowchart.htmlLabels),h=t.insert("g").attr("class",r||"node default").attr("id",e.domId||e.id),p=h.insert("g").attr("class","label").attr("style",e.labelStyle);s=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];let y=p.node(),g=(o="markdown"===e.labelType?(0,n.a)(p,(0,a.d)((0,a.J)(s),(0,a.c)()),{useHtmlLabels:c,width:e.width||(0,a.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):y.appendChild(d((0,a.d)((0,a.J)(s),(0,a.c)()),e.labelStyle,!1,l))).getBBox(),f=e.padding/2;if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=o.children[0],e=(0,i.Ys)(o),r=t.getElementsByTagName("img");if(r){let t=""===s.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function i(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=(0,a.c)().fontSize?(0,a.c)().fontSize:window.getComputedStyle(document.body).fontSize;e.style.width=5*parseInt(t,10)+"px"}else e.style.width="100%";r(e)}setTimeout(()=>{e.complete&&i()}),e.addEventListener("error",i),e.addEventListener("load",i)})))}g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}return c?p.attr("transform","translate("+-g.width/2+", "+-g.height/2+")"):p.attr("transform","translate(0, "+-g.height/2+")"),e.centerLabel&&p.attr("transform","translate("+-g.width/2+", "+-g.height/2+")"),p.insert("rect",":first-child"),{shapeSvg:h,bbox:g,halfPadding:f,label:p}},c=(t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height};function h(t,e,r,a){return t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}function p(t,e,r,a){var i=t.x,n=t.y,l=i-a.x,s=n-a.y,d=Math.sqrt(e*e*s*s+r*r*l*l),o=Math.abs(e*r*l/d);a.x{var r,a,i=t.x,n=t.y,l=e.x-i,s=e.y-n,d=t.width/2,o=t.height/2;return Math.abs(s)*d>Math.abs(l)*o?(s<0&&(o=-o),r=0===s?0:o*l/s,a=o):(l<0&&(d=-d),r=d,a=0===l?0:d*s/l),{x:i+r,y:n+a}},g={node:function(t,e){return t.intersect(e)},circle:function(t,e,r){return p(t,e,e,r)},ellipse:p,polygon:function(t,e,r){var a=t.x,i=t.y,n=[],l=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach(function(t){l=Math.min(l,t.x),s=Math.min(s,t.y)}):(l=Math.min(l,e.x),s=Math.min(s,e.y));for(var d=a-t.width/2-l,o=i-t.height/2-s,c=0;c0))&&(n=a.y-r.y,s=r.x-a.x,o=a.x*r.y-r.x*a.y,c=n*t.x+s*t.y+o,h=n*e.x+s*e.y+o,!(0!==c&&0!==h&&c*h>0)&&0!=(g=i*s-n*l)))return f=Math.abs(g/2),{x:(u=l*o-s*d)<0?(u-f)/g:(u+f)/g,y:(u=n*d-i*o)<0?(u-f)/g:(u+f)/g}}(t,r,{x:d+h.x,y:o+h.y},{x:d+p.x,y:o+p.y});y&&n.push(y)}return n.length?(n.length>1&&n.sort(function(t,e){var a=t.x-r.x,i=t.y-r.y,n=Math.sqrt(a*a+i*i),l=e.x-r.x,s=e.y-r.y,d=Math.sqrt(l*l+s*s);return nt?" "+t:"",u=(t,e)=>`${e||"node default"}${f(t.classes)} ${f(t.class)}`,w=async(t,e)=>{let{shapeSvg:r,bbox:i}=await o(t,e,u(e,void 0),!0),n=i.width+e.padding+(i.height+e.padding),l=[{x:n/2,y:0},{x:n,y:-n/2},{x:n/2,y:-n},{x:0,y:-n/2}];a.l.info("Question main (Circle)");let s=h(r,n,n,l);return s.attr("style",e.style),c(e,s),e.intersect=function(t){return a.l.warn("Intersect called"),g.polygon(e,l,t)},r};function m(t,e,r,i){let n=[],l=t=>{n.push(t,0)},s=t=>{n.push(0,t)};e.includes("t")?(a.l.debug("add top border"),l(r)):s(r),e.includes("r")?(a.l.debug("add right border"),l(i)):s(i),e.includes("b")?(a.l.debug("add bottom border"),l(r)):s(r),e.includes("l")?(a.l.debug("add left border"),l(i)):s(i),t.attr("stroke-dasharray",n.join(" "))}let x=(t,e,r)=>{let a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=70,n=10;return"LR"===r&&(i=10,n=70),c(e,a.append("rect").attr("x",-1*i/2).attr("y",-1*n/2).attr("width",i).attr("height",n).attr("class","fork-join")),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return g.rect(e,t)},a},b={rhombus:w,question:w,rect:async(t,e)=>{let{shapeSvg:r,bbox:i,halfPadding:n}=await o(t,e,"node "+e.classes+" "+e.class,!0),l=r.insert("rect",":first-child"),s=i.width+e.padding,d=i.height+e.padding;if(l.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-n).attr("y",-i.height/2-n).attr("width",s).attr("height",d),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(m(l,e.props.borders,s,d),t.delete("borders")),t.forEach(t=>{a.l.warn(`Unknown node property ${t}`)})}return c(e,l),e.intersect=function(t){return g.rect(e,t)},r},labelRect:async(t,e)=>{let{shapeSvg:r}=await o(t,e,"label",!0);a.l.trace("Classes = ",e.class);let i=r.insert("rect",":first-child");if(i.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(m(i,e.props.borders,0,0),t.delete("borders")),t.forEach(t=>{a.l.warn(`Unknown node property ${t}`)})}return c(e,i),e.intersect=function(t){return g.rect(e,t)},r},rectWithTitle:(t,e)=>{let r;r=e.classes?"node "+e.classes:"node default";let n=t.insert("g").attr("class",r).attr("id",e.domId||e.id),l=n.insert("rect",":first-child"),s=n.insert("line"),o=n.insert("g").attr("class","label"),h=e.labelText.flat?e.labelText.flat():e.labelText,p="";p="object"==typeof h?h[0]:h,a.l.info("Label text abc79",p,h,"object"==typeof h);let y=o.node().appendChild(d(p,e.labelStyle,!0,!0)),f={width:0,height:0};if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=y.children[0],e=(0,i.Ys)(y);f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}a.l.info("Text 2",h);let u=h.slice(1,h.length),w=y.getBBox(),m=o.node().appendChild(d(u.join?u.join("
"):u,e.labelStyle,!0,!0));if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=m.children[0],e=(0,i.Ys)(m);f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}let x=e.padding/2;return(0,i.Ys)(m).attr("transform","translate( "+(f.width>w.width?0:(w.width-f.width)/2)+", "+(w.height+x+5)+")"),(0,i.Ys)(y).attr("transform","translate( "+(f.width{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return r.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(t){return t.x+","+t.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return g.circle(e,14,t)},r},circle:async(t,e)=>{let{shapeSvg:r,bbox:i,halfPadding:n}=await o(t,e,u(e,void 0),!0),l=r.insert("circle",":first-child");return l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+n).attr("width",i.width+e.padding).attr("height",i.height+e.padding),a.l.info("Circle main"),c(e,l),e.intersect=function(t){return a.l.info("Circle intersect",e,i.width/2+n,t),g.circle(e,i.width/2+n,t)},r},doublecircle:async(t,e)=>{let{shapeSvg:r,bbox:i,halfPadding:n}=await o(t,e,u(e,void 0),!0),l=r.insert("g",":first-child"),s=l.insert("circle"),d=l.insert("circle");return l.attr("class",e.class),s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+n+5).attr("width",i.width+e.padding+10).attr("height",i.height+e.padding+10),d.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+n).attr("width",i.width+e.padding).attr("height",i.height+e.padding),a.l.info("DoubleCircle main"),c(e,s),e.intersect=function(t){return a.l.info("DoubleCircle intersect",e,i.width/2+n+5,t),g.circle(e,i.width/2+n+5,t)},r},stadium:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.height+e.padding,n=a.width+i/4+e.padding,l=r.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-n/2).attr("y",-i/2).attr("width",n).attr("height",i);return c(e,l),e.intersect=function(t){return g.rect(e,t)},r},hexagon:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.height+e.padding,n=i/4,l=a.width+2*n+e.padding,s=[{x:n,y:0},{x:l-n,y:0},{x:l,y:-i/2},{x:l-n,y:-i},{x:n,y:-i},{x:0,y:-i/2}],d=h(r,l,i,s);return d.attr("style",e.style),c(e,d),e.intersect=function(t){return g.polygon(e,s,t)},r},rect_left_inv_arrow:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:-n/2,y:0},{x:i,y:0},{x:i,y:-n},{x:-n/2,y:-n},{x:0,y:-n/2}];return h(r,i,n,l).attr("style",e.style),e.width=i+n,e.height=n,e.intersect=function(t){return g.polygon(e,l,t)},r},lean_right:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:-2*n/6,y:0},{x:i-n/6,y:0},{x:i+2*n/6,y:-n},{x:n/6,y:-n}],s=h(r,i,n,l);return s.attr("style",e.style),c(e,s),e.intersect=function(t){return g.polygon(e,l,t)},r},lean_left:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:2*n/6,y:0},{x:i+n/6,y:0},{x:i-2*n/6,y:-n},{x:-n/6,y:-n}],s=h(r,i,n,l);return s.attr("style",e.style),c(e,s),e.intersect=function(t){return g.polygon(e,l,t)},r},trapezoid:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:-2*n/6,y:0},{x:i+2*n/6,y:0},{x:i-n/6,y:-n},{x:n/6,y:-n}],s=h(r,i,n,l);return s.attr("style",e.style),c(e,s),e.intersect=function(t){return g.polygon(e,l,t)},r},inv_trapezoid:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:n/6,y:0},{x:i-n/6,y:0},{x:i+2*n/6,y:-n},{x:-2*n/6,y:-n}],s=h(r,i,n,l);return s.attr("style",e.style),c(e,s),e.intersect=function(t){return g.polygon(e,l,t)},r},rect_right_inv_arrow:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:0,y:0},{x:i+n/2,y:0},{x:i,y:-n/2},{x:i+n/2,y:-n},{x:0,y:-n}],s=h(r,i,n,l);return s.attr("style",e.style),c(e,s),e.intersect=function(t){return g.polygon(e,l,t)},r},cylinder:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=i/2,l=n/(2.5+i/50),s=a.height+l+e.padding,d=r.attr("label-offset-y",l).insert("path",":first-child").attr("style",e.style).attr("d","M 0,"+l+" a "+n+","+l+" 0,0,0 "+i+" 0 a "+n+","+l+" 0,0,0 "+-i+" 0 l 0,"+s+" a "+n+","+l+" 0,0,0 "+i+" 0 l 0,"+-s).attr("transform","translate("+-i/2+","+-(s/2+l)+")");return c(e,d),e.intersect=function(t){let r=g.rect(e,t),a=r.x-e.x;if(0!=n&&(Math.abs(a)e.height/2-l)){let i=l*l*(1-a*a/(n*n));0!=i&&(i=Math.sqrt(i)),i=l-i,t.y-e.y>0&&(i=-i),r.y+=i}return r},r},start:(t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),c(e,a),e.intersect=function(t){return g.circle(e,7,t)},r},end:(t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child"),i=r.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),a.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),c(e,i),e.intersect=function(t){return g.circle(e,7,t)},r},note:async(t,e)=>{e.useHtmlLabels||(0,a.c)().flowchart.htmlLabels||(e.centerLabel=!0);let{shapeSvg:r,bbox:i,halfPadding:n}=await o(t,e,"node "+e.classes,!0);a.l.info("Classes = ",e.classes);let l=r.insert("rect",":first-child");return l.attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-n).attr("y",-i.height/2-n).attr("width",i.width+e.padding).attr("height",i.height+e.padding),c(e,l),e.intersect=function(t){return g.rect(e,t)},r},subroutine:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:0,y:0},{x:i,y:0},{x:i,y:-n},{x:0,y:-n},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-n},{x:-8,y:-n},{x:-8,y:0}],s=h(r,i,n,l);return s.attr("style",e.style),c(e,s),e.intersect=function(t){return g.polygon(e,l,t)},r},fork:x,join:x,class_box:(t,e)=>{let r;let n=e.padding/2;r=e.classes?"node "+e.classes:"node default";let l=t.insert("g").attr("class",r).attr("id",e.domId||e.id),s=l.insert("rect",":first-child"),o=l.insert("line"),h=l.insert("line"),p=0,y=4,f=l.insert("g").attr("class","label"),u=0,w=e.classData.annotations&&e.classData.annotations[0],m=e.classData.annotations[0]?"\xab"+e.classData.annotations[0]+"\xbb":"",x=f.node().appendChild(d(m,e.labelStyle,!0,!0)),b=x.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=x.children[0],e=(0,i.Ys)(x);b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}e.classData.annotations[0]&&(y+=b.height+4,p+=b.width);let k=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,a.c)().flowchart.htmlLabels?k+="<"+e.classData.type+">":k+="<"+e.classData.type+">");let L=f.node().appendChild(d(k,e.labelStyle,!0,!0));(0,i.Ys)(L).attr("class","classTitle");let S=L.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=L.children[0],e=(0,i.Ys)(L);S=t.getBoundingClientRect(),e.attr("width",S.width),e.attr("height",S.height)}y+=S.height+4,S.width>p&&(p=S.width);let _=[];e.classData.members.forEach(t=>{let r=t.getDisplayDetails(),n=r.displayText;(0,a.c)().flowchart.htmlLabels&&(n=n.replace(//g,">"));let l=f.node().appendChild(d(n,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0)),s=l.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=l.children[0],e=(0,i.Ys)(l);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>p&&(p=s.width),y+=s.height+4,_.push(l)}),y+=8;let v=[];if(e.classData.methods.forEach(t=>{let r=t.getDisplayDetails(),n=r.displayText;(0,a.c)().flowchart.htmlLabels&&(n=n.replace(//g,">"));let l=f.node().appendChild(d(n,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0)),s=l.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=l.children[0],e=(0,i.Ys)(l);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>p&&(p=s.width),y+=s.height+4,v.push(l)}),y+=8,w){let t=(p-b.width)/2;(0,i.Ys)(x).attr("transform","translate( "+(-1*p/2+t)+", "+-1*y/2+")"),u=b.height+4}let M=(p-S.width)/2;return(0,i.Ys)(L).attr("transform","translate( "+(-1*p/2+M)+", "+(-1*y/2+u)+")"),u+=S.height+4,o.attr("class","divider").attr("x1",-p/2-n).attr("x2",p/2+n).attr("y1",-y/2-n+8+u).attr("y2",-y/2-n+8+u),u+=8,_.forEach(t=>{(0,i.Ys)(t).attr("transform","translate( "+-p/2+", "+(-1*y/2+u+4)+")");let e=null==t?void 0:t.getBBox();u+=((null==e?void 0:e.height)??0)+4}),u+=8,h.attr("class","divider").attr("x1",-p/2-n).attr("x2",p/2+n).attr("y1",-y/2-n+8+u).attr("y2",-y/2-n+8+u),u+=8,v.forEach(t=>{(0,i.Ys)(t).attr("transform","translate( "+-p/2+", "+(-1*y/2+u)+")");let e=null==t?void 0:t.getBBox();u+=((null==e?void 0:e.height)??0)+4}),s.attr("class","outer title-state").attr("x",-p/2-n).attr("y",-(y/2)-n).attr("width",p+e.padding).attr("height",y+e.padding),c(e,s),e.intersect=function(t){return g.rect(e,t)},l}},k={},L=async(t,e,r)=>{let i,n;if(e.link){let l;"sandbox"===(0,a.c)().securityLevel?l="_top":e.linkTarget&&(l=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",l),n=await b[e.shape](i,e,r)}else i=n=await b[e.shape](t,e,r);return e.tooltip&&n.attr("title",e.tooltip),e.class&&n.attr("class","node default "+e.class),k[e.id]=i,e.haveCallback&&k[e.id].attr("class",k[e.id].attr("class")+" clickable"),i},S=(t,e)=>{k[e.id]=t},_=()=>{k={}},v=t=>{let e=k[t.id];a.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},M={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function T(t,e){t=E(t),e=E(e);let[r,a]=[t.x,t.y],[i,n]=[e.x,e.y],l=i-r,s=n-a;return{angle:Math.atan(s/l),deltaX:l,deltaY:s}}let E=t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,B=t=>({x:function(e,r,a){let i=0;if(0===r&&Object.hasOwn(M,t.arrowTypeStart)){let{angle:e,deltaX:r}=T(a[0],a[1]);i=M[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===a.length-1&&Object.hasOwn(M,t.arrowTypeEnd)){let{angle:e,deltaX:r}=T(a[a.length-1],a[a.length-2]);i=M[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}return E(e).x+i},y:function(e,r,a){let i=0;if(0===r&&Object.hasOwn(M,t.arrowTypeStart)){let{angle:e,deltaY:r}=T(a[0],a[1]);i=M[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===a.length-1&&Object.hasOwn(M,t.arrowTypeEnd)){let{angle:e,deltaY:r}=T(a[a.length-1],a[a.length-2]);i=M[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}return E(e).y+i}}),C={},Y={},P=()=>{C={},Y={}},R=(t,e)=>{let r;let l=(0,a.m)((0,a.c)().flowchart.htmlLabels),s="markdown"===e.labelType?(0,n.a)(t,e.label,{style:e.labelStyle,useHtmlLabels:l,addSvgBackground:!0}):d(e.label,e.labelStyle);a.l.info("abc82",e,e.labelType);let o=t.insert("g").attr("class","edgeLabel"),c=o.insert("g").attr("class","label");c.node().appendChild(s);let h=s.getBBox();if(l){let t=s.children[0],e=(0,i.Ys)(s);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}if(c.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),C[e.id]=o,e.width=h.width,e.height=h.height,e.startLabelLeft){let a=d(e.startLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),n=i.insert("g").attr("class","inner");r=n.node().appendChild(a);let l=a.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),Y[e.id]||(Y[e.id]={}),Y[e.id].startLeft=i,I(r,e.startLabelLeft)}if(e.startLabelRight){let a=d(e.startLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),n=i.insert("g").attr("class","inner");r=i.node().appendChild(a),n.node().appendChild(a);let l=a.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),Y[e.id]||(Y[e.id]={}),Y[e.id].startRight=i,I(r,e.startLabelRight)}if(e.endLabelLeft){let a=d(e.endLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),n=i.insert("g").attr("class","inner");r=n.node().appendChild(a);let l=a.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),i.node().appendChild(a),Y[e.id]||(Y[e.id]={}),Y[e.id].endLeft=i,I(r,e.endLabelLeft)}if(e.endLabelRight){let a=d(e.endLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),n=i.insert("g").attr("class","inner");r=n.node().appendChild(a);let l=a.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),i.node().appendChild(a),Y[e.id]||(Y[e.id]={}),Y[e.id].endRight=i,I(r,e.endLabelRight)}return s};function I(t,e){(0,a.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}let O=(t,e)=>{a.l.info("Moving label abc78 ",t.id,t.label,C[t.id]);let r=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){let i=C[t.id],n=t.x,l=t.y;if(r){let i=a.u.calcLabelPosition(r);a.l.info("Moving label "+t.label+" from (",n,",",l,") to (",i.x,",",i.y,") abc78"),e.updatedPath&&(n=i.x,l=i.y)}i.attr("transform","translate("+n+", "+l+")")}if(t.startLabelLeft){let e=Y[t.id].startLeft,i=t.x,n=t.y;if(r){let e=a.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);i=e.x,n=e.y}e.attr("transform","translate("+i+", "+n+")")}if(t.startLabelRight){let e=Y[t.id].startRight,i=t.x,n=t.y;if(r){let e=a.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);i=e.x,n=e.y}e.attr("transform","translate("+i+", "+n+")")}if(t.endLabelLeft){let e=Y[t.id].endLeft,i=t.x,n=t.y;if(r){let e=a.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);i=e.x,n=e.y}e.attr("transform","translate("+i+", "+n+")")}if(t.endLabelRight){let e=Y[t.id].endRight,i=t.x,n=t.y;if(r){let e=a.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);i=e.x,n=e.y}e.attr("transform","translate("+i+", "+n+")")}},$=(t,e)=>{let r=t.x,a=t.y,i=Math.abs(e.x-r),n=Math.abs(e.y-a),l=t.width/2,s=t.height/2;return i>=l||n>=s},N=(t,e,r)=>{a.l.warn(`intersection calc abc89: - outsidePoint: ${JSON.stringify(e)} - insidePoint : ${JSON.stringify(r)} - node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let i=t.x,n=t.y,l=Math.abs(i-r.x),s=t.width/2,d=r.xMath.abs(i-e.x)*o){let t=r.y{a.l.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],n=!1;return t.forEach(t=>{if(a.l.info("abc88 checking point",t,e),$(e,t)||n)a.l.warn("abc88 outside",t,i),i=t,n||r.push(t);else{let l=N(e,i,t);a.l.warn("abc88 inside",t,i,l),a.l.warn("abc88 intersection",l);let s=!1;r.forEach(t=>{s=s||t.x===l.x&&t.y===l.y}),r.some(t=>t.x===l.x&&t.y===l.y)?a.l.warn("abc88 no intersect",l,r):r.push(l),n=!0}}),a.l.warn("abc88 returning points",r),r},j=function(t,e,r,n,l,s,d){let o,c=r.points,h=!1,p=s.node(e.v);var y=s.node(e.w);a.l.info("abc88 InsertEdge: ",r),y.intersect&&p.intersect&&((c=c.slice(1,r.points.length-1)).unshift(p.intersect(c[0])),a.l.info("Last point",c[c.length-1],y,y.intersect(c[c.length-1])),c.push(y.intersect(c[c.length-1]))),r.toCluster&&(a.l.info("to cluster abc88",n[r.toCluster]),c=W(r.points,n[r.toCluster].node),h=!0),r.fromCluster&&(a.l.info("from cluster abc88",n[r.fromCluster]),c=W(c.reverse(),n[r.fromCluster].node).reverse(),h=!0);let g=c.filter(t=>!Number.isNaN(t.y)),f=i.$0Z;r.curve&&("graph"===l||"flowchart"===l)&&(f=r.curve);let{x:u,y:w}=B(r),m=(0,i.jvg)().x(u).y(w).curve(f);switch(r.thickness){case"normal":o="edge-thickness-normal";break;case"thick":case"invisible":o="edge-thickness-thick";break;default:o=""}switch(r.pattern){case"solid":o+=" edge-pattern-solid";break;case"dotted":o+=" edge-pattern-dotted";break;case"dashed":o+=" edge-pattern-dashed"}let x=t.append("path").attr("d",m(g)).attr("id",r.id).attr("class"," "+o+(r.classes?" "+r.classes:"")).attr("style",r.style),b="";switch(((0,a.c)().flowchart.arrowMarkerAbsolute||(0,a.c)().state.arrowMarkerAbsolute)&&(b=(b=(b=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),a.l.info("arrowTypeStart",r.arrowTypeStart),a.l.info("arrowTypeEnd",r.arrowTypeEnd),r.arrowTypeStart){case"arrow_cross":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-crossStart)");break;case"arrow_point":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-pointStart)");break;case"arrow_barb":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-barbStart)");break;case"arrow_circle":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-circleStart)");break;case"aggregation":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-aggregationStart)");break;case"extension":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-extensionStart)");break;case"composition":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-compositionStart)");break;case"dependency":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-dependencyStart)");break;case"lollipop":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-lollipopStart)")}switch(r.arrowTypeEnd){case"arrow_cross":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-crossEnd)");break;case"arrow_point":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-pointEnd)");break;case"arrow_barb":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-barbEnd)");break;case"arrow_circle":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-circleEnd)");break;case"aggregation":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-aggregationEnd)");break;case"extension":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-extensionEnd)");break;case"composition":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-compositionEnd)");break;case"dependency":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-dependencyEnd)");break;case"lollipop":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-lollipopEnd)")}let k={};return h&&(k.updatedPath=c),k.originalPath=r.points,k}}}]); \ No newline at end of file diff --git a/_next/static/chunks/198.9cda6b5f5a521621.js b/_next/static/chunks/198.9cda6b5f5a521621.js new file mode 100644 index 0000000..9c60d78 --- /dev/null +++ b/_next/static/chunks/198.9cda6b5f5a521621.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[198],{73198:function(t,e,r){r.d(e,{a:function(){return s},b:function(){return _},c:function(){return d},d:function(){return P},e:function(){return L},f:function(){return R},g:function(){return j},h:function(){return O},i:function(){return p},j:function(){return B},l:function(){return o},p:function(){return v},s:function(){return S},u:function(){return h}});var a=r(71421),i=r(27509),n=r(3694);let l={extension:(t,e,r)=>{a.l.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},point:(t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},s=(t,e,r,a)=>{e.forEach(e=>{l[e](t,r,a)})},d=(t,e,r,n)=>{let l=t||"";if("object"==typeof l&&(l=l[0]),(0,a.m)((0,a.c)().flowchart.htmlLabels))return l=l.replace(/\\n|\n/g,"
"),a.l.info("vertexText"+l),function(t){var e;let r=(0,i.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),a=r.append("xhtml:div"),n=t.label,l=t.isNode?"nodeLabel":"edgeLabel";return a.html('"+n+""),(e=t.labelStyle)&&a.attr("style",e),a.style("display","inline-block"),a.style("white-space","nowrap"),a.attr("xmlns","http://www.w3.org/1999/xhtml"),r.node()}({isNode:n,label:(0,a.J)(l).replace(/fa[blrs]?:fa-[\w-]+/g,t=>``),labelStyle:e.replace("fill:","color:")});{let t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));for(let e of"string"==typeof l?l.split(/\\n|\n|/gi):Array.isArray(l)?l:[]){let a=document.createElementNS("http://www.w3.org/2000/svg","tspan");a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),a.setAttribute("dy","1em"),a.setAttribute("x","0"),r?a.setAttribute("class","title-row"):a.setAttribute("class","row"),a.textContent=e.trim(),t.appendChild(a)}return t}},o=async(t,e,r,l)=>{let s,o,h;let c=e.useHtmlLabels||(0,a.m)((0,a.c)().flowchart.htmlLabels);s=r||"node default";let p=t.insert("g").attr("class",s).attr("id",e.domId||e.id),y=p.insert("g").attr("class","label").attr("style",e.labelStyle);o=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];let g=y.node(),f=(h="markdown"===e.labelType?(0,n.a)(y,(0,a.d)((0,a.J)(o),(0,a.c)()),{useHtmlLabels:c,width:e.width||(0,a.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):g.appendChild(d((0,a.d)((0,a.J)(o),(0,a.c)()),e.labelStyle,!1,l))).getBBox(),u=e.padding/2;if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=h.children[0],e=(0,i.Ys)(h),r=t.getElementsByTagName("img");if(r){let t=""===o.replace(/]*>/g,"").trim();await Promise.all([...r].map(e=>new Promise(r=>{function i(){if(e.style.display="flex",e.style.flexDirection="column",t){let t=(0,a.c)().fontSize?(0,a.c)().fontSize:window.getComputedStyle(document.body).fontSize;e.style.width=5*parseInt(t,10)+"px"}else e.style.width="100%";r(e)}setTimeout(()=>{e.complete&&i()}),e.addEventListener("error",i),e.addEventListener("load",i)})))}f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}return c?y.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):y.attr("transform","translate(0, "+-f.height/2+")"),e.centerLabel&&y.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),y.insert("rect",":first-child"),{shapeSvg:p,bbox:f,halfPadding:u,label:y}},h=(t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height};function c(t,e,r,a){return t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}let p=(t,e)=>{var r,a,i=t.x,n=t.y,l=e.x-i,s=e.y-n,d=t.width/2,o=t.height/2;return Math.abs(s)*d>Math.abs(l)*o?(s<0&&(o=-o),r=0===s?0:o*l/s,a=o):(l<0&&(d=-d),r=d,a=0===l?0:d*s/l),{x:i+r,y:n+a}},y=function(t,e,r){var a,i,n,l,s,d,o;return a=t.x,i=t.y,n=a-r.x,s=Math.sqrt(e*e*(l=i-r.y)*l+e*e*n*n),d=Math.abs(e*e*n/s),r.x0))&&(n=a.y-r.y,s=r.x-a.x,o=a.x*r.y-r.x*a.y,h=n*t.x+s*t.y+o,c=n*e.x+s*e.y+o,!(0!==h&&0!==c&&h*c>0)&&0!=(g=i*s-n*l)))return f=Math.abs(g/2),{x:(u=l*o-s*d)<0?(u-f)/g:(u+f)/g,y:(u=n*d-i*o)<0?(u-f)/g:(u+f)/g}}(t,r,{x:d+c.x,y:o+c.y},{x:d+p.x,y:o+p.y});y&&n.push(y)}return n.length?(n.length>1&&n.sort(function(t,e){var a=t.x-r.x,i=t.y-r.y,n=Math.sqrt(a*a+i*i),l=e.x-r.x,s=e.y-r.y,d=Math.sqrt(l*l+s*s);return nt?" "+t:"",u=(t,e)=>`${e||"node default"}${f(t.classes)} ${f(t.class)}`,w=async(t,e)=>{let{shapeSvg:r,bbox:i}=await o(t,e,u(e,void 0),!0),n=i.width+e.padding+(i.height+e.padding),l=[{x:n/2,y:0},{x:n,y:-n/2},{x:n/2,y:-n},{x:0,y:-n/2}];a.l.info("Question main (Circle)");let s=c(r,n,n,l);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return a.l.warn("Intersect called"),g(e,l,t)},r};function m(t,e,r,i){let n=[],l=t=>{n.push(t,0)},s=t=>{n.push(0,t)};e.includes("t")?(a.l.debug("add top border"),l(r)):s(r),e.includes("r")?(a.l.debug("add right border"),l(i)):s(i),e.includes("b")?(a.l.debug("add bottom border"),l(r)):s(r),e.includes("l")?(a.l.debug("add left border"),l(i)):s(i),t.attr("stroke-dasharray",n.join(" "))}let x=(t,e,r)=>{let a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=70,n=10;return"LR"===r&&(i=10,n=70),h(e,a.append("rect").attr("x",-1*i/2).attr("y",-1*n/2).attr("width",i).attr("height",n).attr("class","fork-join")),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return p(e,t)},a},b={rhombus:w,question:w,rect:async(t,e)=>{let{shapeSvg:r,bbox:i,halfPadding:n}=await o(t,e,"node "+e.classes+" "+e.class,!0),l=r.insert("rect",":first-child"),s=i.width+e.padding,d=i.height+e.padding;if(l.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-n).attr("y",-i.height/2-n).attr("width",s).attr("height",d),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(m(l,e.props.borders,s,d),t.delete("borders")),t.forEach(t=>{a.l.warn(`Unknown node property ${t}`)})}return h(e,l),e.intersect=function(t){return p(e,t)},r},labelRect:async(t,e)=>{let{shapeSvg:r}=await o(t,e,"label",!0);a.l.trace("Classes = ",e.class);let i=r.insert("rect",":first-child");if(i.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(m(i,e.props.borders,0,0),t.delete("borders")),t.forEach(t=>{a.l.warn(`Unknown node property ${t}`)})}return h(e,i),e.intersect=function(t){return p(e,t)},r},rectWithTitle:(t,e)=>{let r;r=e.classes?"node "+e.classes:"node default";let n=t.insert("g").attr("class",r).attr("id",e.domId||e.id),l=n.insert("rect",":first-child"),s=n.insert("line"),o=n.insert("g").attr("class","label"),c=e.labelText.flat?e.labelText.flat():e.labelText,y="";y="object"==typeof c?c[0]:c,a.l.info("Label text abc79",y,c,"object"==typeof c);let g=o.node().appendChild(d(y,e.labelStyle,!0,!0)),f={width:0,height:0};if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=g.children[0],e=(0,i.Ys)(g);f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}a.l.info("Text 2",c);let u=c.slice(1,c.length),w=g.getBBox(),m=o.node().appendChild(d(u.join?u.join("
"):u,e.labelStyle,!0,!0));if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=m.children[0],e=(0,i.Ys)(m);f=t.getBoundingClientRect(),e.attr("width",f.width),e.attr("height",f.height)}let x=e.padding/2;return(0,i.Ys)(m).attr("transform","translate( "+(f.width>w.width?0:(w.width-f.width)/2)+", "+(w.height+x+5)+")"),(0,i.Ys)(g).attr("transform","translate( "+(f.width{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return r.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(t){return t.x+","+t.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return y(e,14,t)},r},circle:async(t,e)=>{let{shapeSvg:r,bbox:i,halfPadding:n}=await o(t,e,u(e,void 0),!0),l=r.insert("circle",":first-child");return l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+n).attr("width",i.width+e.padding).attr("height",i.height+e.padding),a.l.info("Circle main"),h(e,l),e.intersect=function(t){return a.l.info("Circle intersect",e,i.width/2+n,t),y(e,i.width/2+n,t)},r},doublecircle:async(t,e)=>{let{shapeSvg:r,bbox:i,halfPadding:n}=await o(t,e,u(e,void 0),!0),l=r.insert("g",":first-child"),s=l.insert("circle"),d=l.insert("circle");return l.attr("class",e.class),s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+n+5).attr("width",i.width+e.padding+10).attr("height",i.height+e.padding+10),d.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+n).attr("width",i.width+e.padding).attr("height",i.height+e.padding),a.l.info("DoubleCircle main"),h(e,s),e.intersect=function(t){return a.l.info("DoubleCircle intersect",e,i.width/2+n+5,t),y(e,i.width/2+n+5,t)},r},stadium:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.height+e.padding,n=a.width+i/4+e.padding,l=r.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-n/2).attr("y",-i/2).attr("width",n).attr("height",i);return h(e,l),e.intersect=function(t){return p(e,t)},r},hexagon:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.height+e.padding,n=i/4,l=a.width+2*n+e.padding,s=[{x:n,y:0},{x:l-n,y:0},{x:l,y:-i/2},{x:l-n,y:-i},{x:n,y:-i},{x:0,y:-i/2}],d=c(r,l,i,s);return d.attr("style",e.style),h(e,d),e.intersect=function(t){return g(e,s,t)},r},rect_left_inv_arrow:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:-n/2,y:0},{x:i,y:0},{x:i,y:-n},{x:-n/2,y:-n},{x:0,y:-n/2}];return c(r,i,n,l).attr("style",e.style),e.width=i+n,e.height=n,e.intersect=function(t){return g(e,l,t)},r},lean_right:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:-2*n/6,y:0},{x:i-n/6,y:0},{x:i+2*n/6,y:-n},{x:n/6,y:-n}],s=c(r,i,n,l);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return g(e,l,t)},r},lean_left:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:2*n/6,y:0},{x:i+n/6,y:0},{x:i-2*n/6,y:-n},{x:-n/6,y:-n}],s=c(r,i,n,l);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return g(e,l,t)},r},trapezoid:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:-2*n/6,y:0},{x:i+2*n/6,y:0},{x:i-n/6,y:-n},{x:n/6,y:-n}],s=c(r,i,n,l);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return g(e,l,t)},r},inv_trapezoid:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:n/6,y:0},{x:i-n/6,y:0},{x:i+2*n/6,y:-n},{x:-2*n/6,y:-n}],s=c(r,i,n,l);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return g(e,l,t)},r},rect_right_inv_arrow:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:0,y:0},{x:i+n/2,y:0},{x:i,y:-n/2},{x:i+n/2,y:-n},{x:0,y:-n}],s=c(r,i,n,l);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return g(e,l,t)},r},cylinder:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=i/2,l=n/(2.5+i/50),s=a.height+l+e.padding,d=r.attr("label-offset-y",l).insert("path",":first-child").attr("style",e.style).attr("d","M 0,"+l+" a "+n+","+l+" 0,0,0 "+i+" 0 a "+n+","+l+" 0,0,0 "+-i+" 0 l 0,"+s+" a "+n+","+l+" 0,0,0 "+i+" 0 l 0,"+-s).attr("transform","translate("+-i/2+","+-(s/2+l)+")");return h(e,d),e.intersect=function(t){let r=p(e,t),a=r.x-e.x;if(0!=n&&(Math.abs(a)e.height/2-l)){let i=l*l*(1-a*a/(n*n));0!=i&&(i=Math.sqrt(i)),i=l-i,t.y-e.y>0&&(i=-i),r.y+=i}return r},r},start:(t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),h(e,a),e.intersect=function(t){return y(e,7,t)},r},end:(t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child"),i=r.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),a.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),h(e,i),e.intersect=function(t){return y(e,7,t)},r},note:async(t,e)=>{e.useHtmlLabels||(0,a.c)().flowchart.htmlLabels||(e.centerLabel=!0);let{shapeSvg:r,bbox:i,halfPadding:n}=await o(t,e,"node "+e.classes,!0);a.l.info("Classes = ",e.classes);let l=r.insert("rect",":first-child");return l.attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-n).attr("y",-i.height/2-n).attr("width",i.width+e.padding).attr("height",i.height+e.padding),h(e,l),e.intersect=function(t){return p(e,t)},r},subroutine:async(t,e)=>{let{shapeSvg:r,bbox:a}=await o(t,e,u(e,void 0),!0),i=a.width+e.padding,n=a.height+e.padding,l=[{x:0,y:0},{x:i,y:0},{x:i,y:-n},{x:0,y:-n},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-n},{x:-8,y:-n},{x:-8,y:0}],s=c(r,i,n,l);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return g(e,l,t)},r},fork:x,join:x,class_box:(t,e)=>{let r;let n=e.padding/2;r=e.classes?"node "+e.classes:"node default";let l=t.insert("g").attr("class",r).attr("id",e.domId||e.id),s=l.insert("rect",":first-child"),o=l.insert("line"),c=l.insert("line"),y=0,g=4,f=l.insert("g").attr("class","label"),u=0,w=e.classData.annotations&&e.classData.annotations[0],m=e.classData.annotations[0]?"\xab"+e.classData.annotations[0]+"\xbb":"",x=f.node().appendChild(d(m,e.labelStyle,!0,!0)),b=x.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=x.children[0],e=(0,i.Ys)(x);b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}e.classData.annotations[0]&&(g+=b.height+4,y+=b.width);let k=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,a.c)().flowchart.htmlLabels?k+="<"+e.classData.type+">":k+="<"+e.classData.type+">");let L=f.node().appendChild(d(k,e.labelStyle,!0,!0));(0,i.Ys)(L).attr("class","classTitle");let S=L.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=L.children[0],e=(0,i.Ys)(L);S=t.getBoundingClientRect(),e.attr("width",S.width),e.attr("height",S.height)}g+=S.height+4,S.width>y&&(y=S.width);let _=[];e.classData.members.forEach(t=>{let r=t.getDisplayDetails(),n=r.displayText;(0,a.c)().flowchart.htmlLabels&&(n=n.replace(//g,">"));let l=f.node().appendChild(d(n,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0)),s=l.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=l.children[0],e=(0,i.Ys)(l);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>y&&(y=s.width),g+=s.height+4,_.push(l)}),g+=8;let v=[];if(e.classData.methods.forEach(t=>{let r=t.getDisplayDetails(),n=r.displayText;(0,a.c)().flowchart.htmlLabels&&(n=n.replace(//g,">"));let l=f.node().appendChild(d(n,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0)),s=l.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let t=l.children[0],e=(0,i.Ys)(l);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>y&&(y=s.width),g+=s.height+4,v.push(l)}),g+=8,w){let t=(y-b.width)/2;(0,i.Ys)(x).attr("transform","translate( "+(-1*y/2+t)+", "+-1*g/2+")"),u=b.height+4}let M=(y-S.width)/2;return(0,i.Ys)(L).attr("transform","translate( "+(-1*y/2+M)+", "+(-1*g/2+u)+")"),u+=S.height+4,o.attr("class","divider").attr("x1",-y/2-n).attr("x2",y/2+n).attr("y1",-g/2-n+8+u).attr("y2",-g/2-n+8+u),u+=8,_.forEach(t=>{(0,i.Ys)(t).attr("transform","translate( "+-y/2+", "+(-1*g/2+u+4)+")");let e=null==t?void 0:t.getBBox();u+=((null==e?void 0:e.height)??0)+4}),u+=8,c.attr("class","divider").attr("x1",-y/2-n).attr("x2",y/2+n).attr("y1",-g/2-n+8+u).attr("y2",-g/2-n+8+u),u+=8,v.forEach(t=>{(0,i.Ys)(t).attr("transform","translate( "+-y/2+", "+(-1*g/2+u)+")");let e=null==t?void 0:t.getBBox();u+=((null==e?void 0:e.height)??0)+4}),s.attr("class","outer title-state").attr("x",-y/2-n).attr("y",-(g/2)-n).attr("width",y+e.padding).attr("height",g+e.padding),h(e,s),e.intersect=function(t){return p(e,t)},l}},k={},L=async(t,e,r)=>{let i,n;if(e.link){let l;"sandbox"===(0,a.c)().securityLevel?l="_top":e.linkTarget&&(l=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",l),n=await b[e.shape](i,e,r)}else i=n=await b[e.shape](t,e,r);return e.tooltip&&n.attr("title",e.tooltip),e.class&&n.attr("class","node default "+e.class),k[e.id]=i,e.haveCallback&&k[e.id].attr("class",k[e.id].attr("class")+" clickable"),i},S=(t,e)=>{k[e.id]=t},_=()=>{k={}},v=t=>{let e=k[t.id];a.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},M={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function T(t,e){t=E(t),e=E(e);let[r,a]=[t.x,t.y],[i,n]=[e.x,e.y],l=i-r,s=n-a;return{angle:Math.atan(s/l),deltaX:l,deltaY:s}}let E=t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,B=t=>({x:function(e,r,a){let i=0;if(0===r&&Object.hasOwn(M,t.arrowTypeStart)){let{angle:e,deltaX:r}=T(a[0],a[1]);i=M[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===a.length-1&&Object.hasOwn(M,t.arrowTypeEnd)){let{angle:e,deltaX:r}=T(a[a.length-1],a[a.length-2]);i=M[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}return E(e).x+i},y:function(e,r,a){let i=0;if(0===r&&Object.hasOwn(M,t.arrowTypeStart)){let{angle:e,deltaY:r}=T(a[0],a[1]);i=M[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===a.length-1&&Object.hasOwn(M,t.arrowTypeEnd)){let{angle:e,deltaY:r}=T(a[a.length-1],a[a.length-2]);i=M[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}return E(e).y+i}}),C={},Y={},P=()=>{C={},Y={}},R=(t,e)=>{let r;let l=(0,a.m)((0,a.c)().flowchart.htmlLabels),s="markdown"===e.labelType?(0,n.a)(t,e.label,{style:e.labelStyle,useHtmlLabels:l,addSvgBackground:!0}):d(e.label,e.labelStyle);a.l.info("abc82",e,e.labelType);let o=t.insert("g").attr("class","edgeLabel"),h=o.insert("g").attr("class","label");h.node().appendChild(s);let c=s.getBBox();if(l){let t=s.children[0],e=(0,i.Ys)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}if(h.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),C[e.id]=o,e.width=c.width,e.height=c.height,e.startLabelLeft){let a=d(e.startLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),n=i.insert("g").attr("class","inner");r=n.node().appendChild(a);let l=a.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),Y[e.id]||(Y[e.id]={}),Y[e.id].startLeft=i,I(r,e.startLabelLeft)}if(e.startLabelRight){let a=d(e.startLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),n=i.insert("g").attr("class","inner");r=i.node().appendChild(a),n.node().appendChild(a);let l=a.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),Y[e.id]||(Y[e.id]={}),Y[e.id].startRight=i,I(r,e.startLabelRight)}if(e.endLabelLeft){let a=d(e.endLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),n=i.insert("g").attr("class","inner");r=n.node().appendChild(a);let l=a.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),i.node().appendChild(a),Y[e.id]||(Y[e.id]={}),Y[e.id].endLeft=i,I(r,e.endLabelLeft)}if(e.endLabelRight){let a=d(e.endLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),n=i.insert("g").attr("class","inner");r=n.node().appendChild(a);let l=a.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),i.node().appendChild(a),Y[e.id]||(Y[e.id]={}),Y[e.id].endRight=i,I(r,e.endLabelRight)}return s};function I(t,e){(0,a.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}let O=(t,e)=>{a.l.info("Moving label abc78 ",t.id,t.label,C[t.id]);let r=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){let i=C[t.id],n=t.x,l=t.y;if(r){let i=a.u.calcLabelPosition(r);a.l.info("Moving label "+t.label+" from (",n,",",l,") to (",i.x,",",i.y,") abc78"),e.updatedPath&&(n=i.x,l=i.y)}i.attr("transform","translate("+n+", "+l+")")}if(t.startLabelLeft){let e=Y[t.id].startLeft,i=t.x,n=t.y;if(r){let e=a.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);i=e.x,n=e.y}e.attr("transform","translate("+i+", "+n+")")}if(t.startLabelRight){let e=Y[t.id].startRight,i=t.x,n=t.y;if(r){let e=a.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);i=e.x,n=e.y}e.attr("transform","translate("+i+", "+n+")")}if(t.endLabelLeft){let e=Y[t.id].endLeft,i=t.x,n=t.y;if(r){let e=a.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);i=e.x,n=e.y}e.attr("transform","translate("+i+", "+n+")")}if(t.endLabelRight){let e=Y[t.id].endRight,i=t.x,n=t.y;if(r){let e=a.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);i=e.x,n=e.y}e.attr("transform","translate("+i+", "+n+")")}},$=(t,e)=>{let r=t.x,a=t.y,i=Math.abs(e.x-r),n=Math.abs(e.y-a),l=t.width/2,s=t.height/2;return i>=l||n>=s},N=(t,e,r)=>{a.l.warn(`intersection calc abc89: + outsidePoint: ${JSON.stringify(e)} + insidePoint : ${JSON.stringify(r)} + node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let i=t.x,n=t.y,l=Math.abs(i-r.x),s=t.width/2,d=r.xMath.abs(i-e.x)*o){let t=r.y{a.l.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],n=!1;return t.forEach(t=>{if(a.l.info("abc88 checking point",t,e),$(e,t)||n)a.l.warn("abc88 outside",t,i),i=t,n||r.push(t);else{let l=N(e,i,t);a.l.warn("abc88 inside",t,i,l),a.l.warn("abc88 intersection",l);let s=!1;r.forEach(t=>{s=s||t.x===l.x&&t.y===l.y}),r.some(t=>t.x===l.x&&t.y===l.y)?a.l.warn("abc88 no intersect",l,r):r.push(l),n=!0}}),a.l.warn("abc88 returning points",r),r},j=function(t,e,r,n,l,s,d){let o,h=r.points,c=!1,p=s.node(e.v);var y=s.node(e.w);a.l.info("abc88 InsertEdge: ",r),y.intersect&&p.intersect&&((h=h.slice(1,r.points.length-1)).unshift(p.intersect(h[0])),a.l.info("Last point",h[h.length-1],y,y.intersect(h[h.length-1])),h.push(y.intersect(h[h.length-1]))),r.toCluster&&(a.l.info("to cluster abc88",n[r.toCluster]),h=W(r.points,n[r.toCluster].node),c=!0),r.fromCluster&&(a.l.info("from cluster abc88",n[r.fromCluster]),h=W(h.reverse(),n[r.fromCluster].node).reverse(),c=!0);let g=h.filter(t=>!Number.isNaN(t.y)),f=i.$0Z;r.curve&&("graph"===l||"flowchart"===l)&&(f=r.curve);let{x:u,y:w}=B(r),m=(0,i.jvg)().x(u).y(w).curve(f);switch(r.thickness){case"normal":o="edge-thickness-normal";break;case"thick":case"invisible":o="edge-thickness-thick";break;default:o=""}switch(r.pattern){case"solid":o+=" edge-pattern-solid";break;case"dotted":o+=" edge-pattern-dotted";break;case"dashed":o+=" edge-pattern-dashed"}let x=t.append("path").attr("d",m(g)).attr("id",r.id).attr("class"," "+o+(r.classes?" "+r.classes:"")).attr("style",r.style),b="";switch(((0,a.c)().flowchart.arrowMarkerAbsolute||(0,a.c)().state.arrowMarkerAbsolute)&&(b=(b=(b=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),a.l.info("arrowTypeStart",r.arrowTypeStart),a.l.info("arrowTypeEnd",r.arrowTypeEnd),r.arrowTypeStart){case"arrow_cross":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-crossStart)");break;case"arrow_point":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-pointStart)");break;case"arrow_barb":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-barbStart)");break;case"arrow_circle":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-circleStart)");break;case"aggregation":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-aggregationStart)");break;case"extension":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-extensionStart)");break;case"composition":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-compositionStart)");break;case"dependency":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-dependencyStart)");break;case"lollipop":x.attr("marker-start","url("+b+"#"+d+"_"+l+"-lollipopStart)")}switch(r.arrowTypeEnd){case"arrow_cross":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-crossEnd)");break;case"arrow_point":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-pointEnd)");break;case"arrow_barb":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-barbEnd)");break;case"arrow_circle":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-circleEnd)");break;case"aggregation":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-aggregationEnd)");break;case"extension":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-extensionEnd)");break;case"composition":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-compositionEnd)");break;case"dependency":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-dependencyEnd)");break;case"lollipop":x.attr("marker-end","url("+b+"#"+d+"_"+l+"-lollipopEnd)")}let k={};return c&&(k.updatedPath=h),k.originalPath=r.points,k}}}]); \ No newline at end of file diff --git a/_next/static/chunks/296.46f24cea20bbc4d9.js b/_next/static/chunks/296.46f24cea20bbc4d9.js new file mode 100644 index 0000000..e17feff --- /dev/null +++ b/_next/static/chunks/296.46f24cea20bbc4d9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[296],{42296:function(e,n,t){t.d(n,{bK:function(){return e9}});var r,o=t(25809),i=t(35319),u=t(39609),a=t(9595),c=t(23560),s=t(18391),f=t(91504),d=t(42521);class h{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,t=n._prev;t!==n;)e.push(JSON.stringify(t,v)),t=t._prev;return"["+e.join(", ")+"]"}}function l(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function v(e,n){if("_next"!==e&&"_prev"!==e)return n}var Z=a.Z(1);function g(e,n,t,r,i){var u=i?[]:void 0;return o.Z(e.inEdges(r.v),function(r){var o=e.edge(r),a=e.node(r.v);i&&u.push({v:r.v,w:r.w}),a.out-=o,p(n,t,a)}),o.Z(e.outEdges(r.v),function(r){var o=e.edge(r),i=r.w,u=e.node(i);u.in-=o,p(n,t,u)}),e.removeNode(r.v),u}function p(e,n,t){t.out?t.in?e[t.out-t.in+n].enqueue(t):e[e.length-1].enqueue(t):e[0].enqueue(t)}var b=t(78203),m=t(63344),w=t(12420),y=t(2609),_=function(e,n,t){for(var r=-1,o=e.length;++rn},k=t(98333),j=function(e){return e&&e.length?_(e,k.Z,E):void 0},x=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0},N=t(76787),C=t(59812),I=t(22622),O=function(e,n){var t={};return n=(0,I.Z)(n,3),(0,C.Z)(e,function(e,r,o){(0,N.Z)(t,r,n(e,r,o))}),t},L=t(16870),M=function(e,n){return eMath.abs(u)*s?(a<0&&(s=-s),t=s*u/a,r=s):(u<0&&(c=-c),t=c,r=c*a/u),{x:o+t,y:i+r}}function D(e){var n=s.Z(f.Z(G(e)+1),function(){return[]});return o.Z(e.nodes(),function(t){var r=e.node(t),o=r.rank;L.Z(o)||(n[o][r.order]=t)}),n}function B(e,n,t,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),P(e,"border",o,n)}function G(e){return j(s.Z(e.nodes(),function(n){var t=e.node(n).rank;if(!L.Z(t))return t}))}function V(e,n){var t=S();try{return n()}finally{console.log(e+" time: "+(S()-t)+"ms")}}function z(e,n){return n()}function q(e,n,t,r,o,i){var u=o[n][i-1],a=P(e,"border",{width:0,height:0,rank:i,borderType:n},t);o[n][i]=a,e.setParent(a,r),u&&e.setEdge(u,a,{weight:1})}function U(e){o.Z(e.nodes(),function(n){Y(e.node(n))}),o.Z(e.edges(),function(n){Y(e.edge(n))})}function Y(e){var n=e.width;e.width=e.height,e.height=n}function $(e){e.y=-e.y}function J(e){var n=e.x;e.x=e.y,e.y=n}var K=function(e,n){return e&&e.length?_(e,(0,I.Z)(n,2),M):void 0};function W(e){var n={};o.Z(e.sources(),function t(r){var o=e.node(r);if(u.Z(n,r))return o.rank;n[r]=!0;var i=A(s.Z(e.outEdges(r),function(n){return t(n.w)-e.edge(n).minlen}));return(i===Number.POSITIVE_INFINITY||null==i)&&(i=0),o.rank=i})}function H(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function Q(e){var n,t,r=new d.k({directed:!1}),i=e.nodes()[0],u=e.nodeCount();for(r.setNode(i,{});o.Z(r.nodes(),function n(t){o.Z(e.nodeEdges(t),function(o){var i=o.v,u=t===i?o.w:i;r.hasNode(u)||H(e,o)||(r.setNode(u,{}),r.setEdge(t,u,{}),n(u))})}),r.nodeCount()-1?o[i?e[u]:u]:void 0}),eu=t(81426);a.Z(1),a.Z(1);var ea=t(87585),ec=t(26365),es=t(17875),ef=t(20322),ed=t(98359),eh=(0,t(53539).Z)("length"),el=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),ev="\ud800-\udfff",eZ="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",eg="\ud83c[\udffb-\udfff]",ep="[^"+ev+"]",eb="(?:\ud83c[\udde6-\uddff]){2}",em="[\ud800-\udbff][\udc00-\udfff]",ew="(?:"+eZ+"|"+eg+")?",ey="[\\ufe0e\\ufe0f]?",e_="(?:\\u200d(?:"+[ep,eb,em].join("|")+")"+ey+ew+")*",eE=RegExp(eg+"(?="+eg+")|(?:"+[ep+eZ+"?",eZ,eb,em,"["+ev+"]"].join("|")+")"+(ey+ew+e_),"g"),ek=function(e){for(var n=eE.lastIndex=0;eE.test(e);)++n;return n};function ej(e,n,t){ef.Z(n)||(n=[n]);var r=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],a={};return o.Z(n,function(n){if(!e.hasNode(n))throw Error("Graph does not have node: "+n);(function e(n,t,r,i,a,c){!u.Z(i,t)&&(i[t]=!0,r||c.push(t),o.Z(a(t),function(t){e(n,t,r,i,a,c)}),r&&c.push(t))})(e,n,"post"===t,a,r,i)}),i}function ex(e){n=e,t=new d.k().setGraph(n.graph()),o.Z(n.nodes(),function(e){t.setNode(e,n.node(e))}),o.Z(n.edges(),function(e){var r=t.edge(e.v,e.w)||{weight:0,minlen:1},o=n.edge(e);t.setEdge(e.v,e.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})}),W(e=t);var n,t,r,i,u=Q(e);for(eI(u),eN(u,e);r=eO(u);)i=eL(u,e,r),eM(u,e,r,i)}function eN(e,n){var t=ej(e,e.nodes(),"post");t=t.slice(0,t.length-1),o.Z(t,function(t){var r;r=e.node(t).parent,e.edge(t,r).cutvalue=eC(e,n,t)})}function eC(e,n,t){var r=e.node(t).parent,i=!0,u=n.edge(t,r),a=0;return u||(i=!1,u=n.edge(r,t)),a=u.weight,o.Z(n.nodeEdges(t),function(o){var u=o.v===t,c=u?o.w:o.v;if(c!==r){var s=u===i,f=n.edge(o).weight;if(a+=s?f:-f,e.hasEdge(t,c)){var d=e.edge(t,c).cutvalue;a+=s?-d:d}}}),a}function eI(e,n){arguments.length<2&&(n=e.nodes()[0]),function e(n,t,r,i,a){var c=r,s=n.node(i);return t[i]=!0,o.Z(n.neighbors(i),function(o){u.Z(t,o)||(r=e(n,t,r,o,i))}),s.low=c,s.lim=r++,a?s.parent=a:delete s.parent,r}(e,{},1,n)}function eO(e){return ei(e.edges(),function(n){return e.edge(n).cutvalue<0})}function eL(e,n,t){var r=t.v,o=t.w;n.hasEdge(r,o)||(r=t.w,o=t.v);var i=e.node(r),u=e.node(o),a=i,c=!1;return i.lim>u.lim&&(a=u,c=!0),K(eu.Z(n.edges(),function(n){return c===eA(e,e.node(n.v),a)&&c!==eA(e,e.node(n.w),a)}),function(e){return H(n,e)})}function eM(e,n,t,r){var i,u,a=t.v,c=t.w;e.removeEdge(a,c),e.setEdge(r.v,r.w,{}),eI(e),eN(e,n),i=ei(e.nodes(),function(e){return!n.node(e).parent}),u=(u=ej(e,i,"pre")).slice(1),o.Z(u,function(t){var r=e.node(t).parent,o=n.edge(t,r),i=!1;o||(o=n.edge(r,t),i=!0),n.node(t).rank=n.node(r).rank+(i?o.minlen:-o.minlen)})}function eA(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}Error(),t(1840),ex.initLowLimValues=eI,ex.initCutValues=eN,ex.calcCutValue=eC,ex.leaveEdge=eO,ex.enterEdge=eL,ex.exchangeEdges=eM;var eR=t(47723),eS=t(50728),eP=t(1361),eT=t(62386),eF=function(e,n,t){for(var r=-1,o=e.length,i=n.length,u={};++rn||i&&u&&c&&!a&&!s||r&&u&&c||!t&&c||!o)return 1;if(!r&&!i&&!s&&e=a)return c;return c*("desc"==t[r]?-1:1)}}return e.index-n.index},e$=function(e,n,t){n=n.length?(0,eB.Z)(n,function(e){return(0,ef.Z)(e)?function(n){return(0,eG.Z)(n,1===e.length?e[0]:e)}:e}):[k.Z];var r=-1;return n=(0,eB.Z)(n,(0,eq.Z)(I.Z)),ez((0,eV.Z)(e,function(e,t,o){return{criteria:(0,eB.Z)(n,function(n){return n(e)}),index:++r,value:e}}),function(e,n){return eY(e,n,t)})},eJ=t(74158),eK=t(89782),eW=(0,eJ.Z)(function(e,n){if(null==e)return[];var t=n.length;return t>1&&(0,eK.Z)(e,n[0],n[1])?n=[]:t>2&&(0,eK.Z)(n[0],n[1],n[2])&&(n=[n[0]]),e$(e,(0,eD.Z)(n,1),[])});function eH(e,n,t){for(var r;n.length&&(r=x(n)).i<=t;)n.pop(),e.push(r.vs),t++;return t}function eQ(e,n,t){return s.Z(n,function(n){var r,a;return r=function(e){for(var n;e.hasNode(n=i.Z("_root")););return n}(e),a=new d.k({compound:!0}).setGraph({root:r}).setDefaultNodeLabel(function(n){return e.node(n)}),o.Z(e.nodes(),function(i){var c=e.node(i),s=e.parent(i);(c.rank===n||c.minRank<=n&&n<=c.maxRank)&&(a.setNode(i),a.setParent(i,s||r),o.Z(e[t](i),function(n){var t=n.v===i?n.w:n.v,r=a.edge(t,i),o=L.Z(r)?0:r.weight;a.setEdge(t,i,{weight:e.edge(n).weight+o})}),u.Z(c,"minRank")&&a.setNode(i,{borderLeft:c.borderLeft[n],borderRight:c.borderRight[n]}))}),a})}function eX(e,n){o.Z(n,function(n){o.Z(n,function(n,t){e.node(n).order=t})})}var e0=t(90567),e1=t(5829),e2=t(49488);function e3(e,n,t){if(n>t){var r=n;n=t,t=r}var o=e[n];o||(e[n]=o={}),o[t]=!0}function e9(e,n){var t=n&&n.debugTiming?V:z;t("layout",function(){var n=t(" buildLayoutGraph",function(){var n,t;return n=new d.k({multigraph:!0,compound:!0}),t=no(e.graph()),n.setGraph(b.Z({},e4,nr(t,e6),m.Z(t,e5))),o.Z(e.nodes(),function(t){var r=no(e.node(t));n.setNode(t,w.Z(nr(r,e8),e7)),n.setParent(t,e.parent(t))}),o.Z(e.edges(),function(t){var r=no(e.edge(t));n.setEdge(t,b.Z({},nn,nr(r,ne),m.Z(r,nt)))}),n});t(" runLayout",function(){t(" makeSpaceForEdgeLabels",function(){var e;e=n.graph(),e.ranksep/=2,o.Z(n.edges(),function(t){var r=n.edge(t);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}),t(" removeSelfEdges",function(){o.Z(n.edges(),function(e){if(e.v===e.w){var t=n.node(e.v);t.selfEdges||(t.selfEdges=[]),t.selfEdges.push({e:e,label:n.edge(e)}),n.removeEdge(e)}})}),t(" acyclic",function(){var e,t,r,a;e="greedy"===n.graph().acyclicer?function(e,n){if(1>=e.nodeCount())return[];var t,r,i,u,a,l,v=(t=n||Z,r=new d.k,i=0,u=0,o.Z(e.nodes(),function(e){r.setNode(e,{v:e,in:0,out:0})}),o.Z(e.edges(),function(e){var n=r.edge(e.v,e.w)||0,o=t(e);r.setEdge(e.v,e.w,n+o),u=Math.max(u,r.node(e.v).out+=o),i=Math.max(i,r.node(e.w).in+=o)}),a=f.Z(u+i+3).map(function(){return new h}),l=i+1,o.Z(r.nodes(),function(e){p(a,l,r.node(e))}),{graph:r,buckets:a,zeroIdx:l}),b=function(e,n,t){for(var r,o=[],i=n[n.length-1],u=n[0];e.nodeCount();){for(;r=u.dequeue();)g(e,n,t,r);for(;r=i.dequeue();)g(e,n,t,r);if(e.nodeCount()){for(var a=n.length-2;a>0;--a)if(r=n[a].dequeue()){o=o.concat(g(e,n,t,r,!0));break}}}return o}(v.graph,v.buckets,v.zeroIdx);return c.Z(s.Z(b,function(n){return e.outEdges(n.v,n.w)}))}(n,function(e){return n.edge(e).weight}):(t=[],r={},a={},o.Z(n.nodes(),function e(i){u.Z(a,i)||(a[i]=!0,r[i]=!0,o.Z(n.outEdges(i),function(n){u.Z(r,n.w)?t.push(n):e(n.w)}),delete r[i])}),t),o.Z(e,function(e){var t=n.edge(e);n.removeEdge(e),t.forwardName=e.name,t.reversed=!0,n.setEdge(e.w,e.v,t,i.Z("rev"))})}),t(" nestingGraph.run",function(){var e,t,r,i,u;e=P(n,"root",{},"_root"),u={},o.Z(n.children(),function(e){!function e(t,r){var i=n.children(t);i&&i.length&&o.Z(i,function(n){e(n,r+1)}),u[t]=r}(e,1)}),r=2*(t=j(eR.Z(u))-1)+1,n.graph().nestingRoot=e,o.Z(n.edges(),function(e){n.edge(e).minlen*=r}),i=eS.Z(n.edges(),function(e,t){return e+n.edge(t).weight},0)+1,o.Z(n.children(),function(a){(function e(n,t,r,i,u,a,c){var s=n.children(c);if(!s.length){c!==t&&n.setEdge(t,c,{weight:0,minlen:r});return}var f=B(n,"_bt"),d=B(n,"_bb"),h=n.node(c);n.setParent(f,c),h.borderTop=f,n.setParent(d,c),h.borderBottom=d,o.Z(s,function(o){e(n,t,r,i,u,a,o);var s=n.node(o),h=s.borderTop?s.borderTop:o,l=s.borderBottom?s.borderBottom:o,v=s.borderTop?i:2*i,Z=h!==l?1:u-a[c]+1;n.setEdge(f,h,{weight:v,minlen:Z,nestingEdge:!0}),n.setEdge(l,d,{weight:v,minlen:Z,nestingEdge:!0})}),n.parent(c)||n.setEdge(t,f,{weight:0,minlen:u+a[c]})})(n,e,r,i,t,u,a)}),n.graph().nodeRankFactor=r}),t(" rank",function(){!function(e){switch(e.graph().ranker){case"network-simplex":default:ex(e);break;case"tight-tree":W(e),Q(e);break;case"longest-path":W(e)}}(T(n))}),t(" injectEdgeLabelProxies",function(){o.Z(n.edges(),function(e){var t=n.edge(e);if(t.width&&t.height){var r=n.node(e.v),o={rank:(n.node(e.w).rank-r.rank)/2+r.rank,e:e};P(n,"edge-proxy",o,"_ep")}})}),t(" removeEmptyRanks",function(){var e,t,r,i;e=A(s.Z(n.nodes(),function(e){return n.node(e).rank})),t=[],o.Z(n.nodes(),function(r){var o=n.node(r).rank-e;t[o]||(t[o]=[]),t[o].push(r)}),r=0,i=n.graph().nodeRankFactor,o.Z(t,function(e,t){L.Z(e)&&t%i!=0?--r:r&&o.Z(e,function(e){n.node(e).rank+=r})})}),t(" nestingGraph.cleanup",function(){var e;e=n.graph(),n.removeNode(e.nestingRoot),delete e.nestingRoot,o.Z(n.edges(),function(e){n.edge(e).nestingEdge&&n.removeEdge(e)})}),t(" normalizeRanks",function(){var e;e=A(s.Z(n.nodes(),function(e){return n.node(e).rank})),o.Z(n.nodes(),function(t){var r=n.node(t);u.Z(r,"rank")&&(r.rank-=e)})}),t(" assignRankMinMax",function(){var e;e=0,o.Z(n.nodes(),function(t){var r=n.node(t);r.borderTop&&(r.minRank=n.node(r.borderTop).rank,r.maxRank=n.node(r.borderBottom).rank,e=j(e,r.maxRank))}),n.graph().maxRank=e}),t(" removeEdgeLabelProxies",function(){o.Z(n.nodes(),function(e){var t=n.node(e);"edge-proxy"===t.dummy&&(n.edge(t.e).labelRank=t.rank,n.removeNode(e))})}),t(" normalize.run",function(){n.graph().dummyChains=[],o.Z(n.edges(),function(e){(function(e,n){var t,r,o,i=n.v,u=e.node(i).rank,a=n.w,c=e.node(a).rank,s=n.name,f=e.edge(n),d=f.labelRank;if(c!==u+1){for(e.removeEdge(n),o=0,++u;uc||s>n[o].lim));for(i=o,o=r;(o=e.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,e,o.v,o.w),u=i.path,a=i.lca,c=0,s=u[0],f=!0;t!==o.w;){if(r=n.node(t),f){for(;(s=u[c])!==a&&n.node(s).maxRank=e.barycenter)&&function(e,n){var t=0,r=0;e.weight&&(t+=e.barycenter*e.weight,r+=e.weight),n.weight&&(t+=n.barycenter*n.weight,r+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=t/r,e.weight=r,e.i=Math.min(n.i,e.i),n.merged=!0}(e,n)}}(t)),o.Z(t.out,function(n){return function(t){t.in.push(n),0==--t.indegree&&e.push(t)}}(t))}return s.Z(eu.Z(n,function(e){return!e.merged}),function(e){return m.Z(e,["vs","i","barycenter","weight"])})}(eu.Z(f,function(e){return!e.indegree})));(function(e,n){o.Z(e,function(e){e.vs=c.Z(e.vs.map(function(e){return n[e]?n[e].vs:e}))})})(N,j);var C=(l=(d=function(e){return u.Z(e,"barycenter")},h={lhs:[],rhs:[]},o.Z(N,function(e){d(e)?h.lhs.push(e):h.rhs.push(e)}),h).lhs,v=eW(h.rhs,function(e){return-e.i}),Z=[],g=0,p=0,b=0,l.sort(function(e){return function(n,t){return n.barycentert.barycenter?1:e?t.i-n.i:n.i-t.i}}(!!i)),b=eH(Z,v,b),o.Z(l,function(e){b+=e.vs.length,Z.push(e.vs),g+=e.barycenter*e.weight,p+=e.weight,b=eH(Z,v,b)}),w={vs:c.Z(Z)},p&&(w.barycenter=g/p,w.weight=p),w);if(E&&(C.vs=c.Z([E,C.vs,k]),n.predecessors(E).length)){var I=n.node(n.predecessors(E)[0]),O=n.node(n.predecessors(k)[0]);u.Z(C,"barycenter")||(C.barycenter=0,C.weight=0),C.barycenter=(C.barycenter*C.weight+I.order+O.order)/(C.weight+2),C.weight+=2}return C}(e,f,t,n);o.Z(d.vs,function(n,t){e.node(n).order=t}),r=d.vs,a={},o.Z(r,function(n){for(var r,o,u=e.parent(n);u;){if((r=e.parent(u))?(o=a[r],a[r]=u):(o=i,i=u),o&&o!==u){t.setEdge(o,u);return}u=r}})})})(b%2?t:r,b%4>=2),i=D(e);var y,_=function(e,n){for(var t=0,r=1;r0;)n%2&&(t+=f[n+1]),n=n-1>>1,f[n]+=e.weight;d+=e.weight*t})),d}(e,n[r-1],n[r]);return t}(e,i);_a)&&e3(t,n,c)})})}return eS.Z(n,function(n,t){var i,u=-1,a=0;return o.Z(t,function(o,c){if("border"===e.node(o).dummy){var s=e.predecessors(o);s.length&&(i=e.node(s[0]).order,r(t,a,c,u,i),a=c,u=i)}r(t,a,t.length,i,n.length)}),t}),t}(t,i)),h={},o.Z(["u","d"],function(e){r="u"===e?i:eR.Z(i).reverse(),o.Z(["l","r"],function(n){"r"===n&&(r=s.Z(r,function(e){return eR.Z(e).reverse()}));var i,a,f,l,v=("u"===e?t.predecessors:t.successors).bind(t),Z=(i=r,a={},f={},l={},o.Z(i,function(e){o.Z(e,function(e,n){a[e]=e,f[e]=e,l[e]=n})}),o.Z(i,function(e){var n=-1;o.Z(e,function(e){var t=v(e);if(t.length)for(var r=((t=eW(t,function(e){return l[e]})).length-1)/2,o=Math.floor(r),i=Math.ceil(r);o<=i;++o){var s=t[o];f[e]===e&&nt){var r=n;n=t,t=r}return u.Z(e[n],t)}(c,e,s)&&(f[s]=e,f[e]=a[e]=a[s],n=l[s])}})}),{root:a,align:f}),g=function(e,n,t,r,i){var a,c,s,f,h,l={},v=(s=new d.k,a=(f=e.graph()).nodesep,c=f.edgesep,h=function(e,n,t){var r,o,s=e.node(n),f=e.node(t);if(r=0+s.width/2,u.Z(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":o=-s.width/2;break;case"r":o=s.width/2}if(o&&(r+=i?o:-o),o=0,r+=(s.dummy?c:a)/2+(f.dummy?c:a)/2+f.width/2,u.Z(f,"labelpos"))switch(f.labelpos.toLowerCase()){case"l":o=f.width/2;break;case"r":o=-f.width/2}return o&&(r+=i?o:-o),o=0,r},o.Z(n,function(n){var r;o.Z(n,function(n){var o=t[n];if(s.setNode(o),r){var i=t[r],u=s.edge(i,o);s.setEdge(i,o,Math.max(h(e,n,r),u||0))}r=n})}),s),Z=i?"borderLeft":"borderRight";function g(e,n){for(var t=v.nodes(),r=t.pop(),o={};r;)o[r]?e(r):(o[r]=!0,t.push(r),t=t.concat(n(r))),r=t.pop()}return g(function(e){l[e]=v.inEdges(e).reduce(function(e,n){return Math.max(e,l[n.v]+v.edge(n))},0)},v.predecessors.bind(v)),g(function(n){var t=v.outEdges(n).reduce(function(e,n){return Math.min(e,l[n.w]-v.edge(n))},Number.POSITIVE_INFINITY),r=e.node(n);t!==Number.POSITIVE_INFINITY&&r.borderType!==Z&&(l[n]=Math.max(l[n],t))},v.successors.bind(v)),o.Z(r,function(e){l[e]=l[t[e]]}),l}(t,r,Z.root,Z.align,"r"===n);"r"===n&&(g=O(g,function(e){return-e})),h[e+n]=g})}),l=K(eR.Z(h),function(e){var n,r=Number.NEGATIVE_INFINITY,o=Number.POSITIVE_INFINITY;return n=function(e,n){var i=t.node(n).width/2;r=Math.max(e+i,r),o=Math.min(e-i,o)},null==e||(0,e1.Z)(e,(0,e0.Z)(n),e2.Z),r-o}),Z=A(v=eR.Z(l)),g=j(v),o.Z(["u","d"],function(e){o.Z(["l","r"],function(n){var t,r=e+n,o=h[r];if(o!==l){var i=eR.Z(o);(t="l"===n?Z-A(i):g-j(i))&&(h[r]=O(o,function(e){return e+t}))}})}),p=t.graph().align,m=O(h.ul,function(e,n){if(p)return h[p.toLowerCase()][n];var t=eW(s.Z(h,n));return(t[1]+t[2])/2}),w=function(n,t){e.node(t).x=n},m&&(0,C.Z)(m,(0,e0.Z)(w))}),t(" positionSelfEdges",function(){o.Z(n.nodes(),function(e){var t=n.node(e);if("selfedge"===t.dummy){var r=n.node(t.e.v),o=r.x+r.width/2,i=r.y,u=t.x-o,a=r.height/2;n.setEdge(t.e,t.label),n.removeNode(e),t.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}],t.label.x=t.x,t.label.y=t.y}})}),t(" removeBorderNodes",function(){o.Z(n.nodes(),function(e){if(n.children(e).length){var t=n.node(e),r=n.node(t.borderTop),o=n.node(t.borderBottom),i=n.node(x(t.borderLeft)),u=n.node(x(t.borderRight));t.width=Math.abs(u.x-i.x),t.height=Math.abs(o.y-r.y),t.x=i.x+t.width/2,t.y=r.y+t.height/2}}),o.Z(n.nodes(),function(e){"border"===n.node(e).dummy&&n.removeNode(e)})}),t(" normalize.undo",function(){o.Z(n.graph().dummyChains,function(e){var t,r=n.node(e),o=r.edgeLabel;for(n.setEdge(r.edgeObj,o);r.dummy;)t=n.successors(e)[0],n.removeNode(e),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),e=t,r=n.node(e)})}),t(" fixupEdgeLabelCoords",function(){o.Z(n.edges(),function(e){var t=n.edge(e);if(u.Z(t,"x"))switch(("l"===t.labelpos||"r"===t.labelpos)&&(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset}})}),t(" undoCoordinateSystem",function(){var e;("bt"===(e=n.graph().rankdir.toLowerCase())||"rl"===e)&&(o.Z(n.nodes(),function(e){$(n.node(e))}),o.Z(n.edges(),function(e){var t=n.edge(e);o.Z(t.points,$),u.Z(t,"y")&&$(t)})),("lr"===e||"rl"===e)&&(o.Z(n.nodes(),function(e){J(n.node(e))}),o.Z(n.edges(),function(e){var t=n.edge(e);o.Z(t.points,J),u.Z(t,"x")&&J(t)}),U(n))}),t(" translateGraph",function(){(function(e){var n=Number.POSITIVE_INFINITY,t=0,r=Number.POSITIVE_INFINITY,i=0,a=e.graph(),c=a.marginx||0,s=a.marginy||0;function f(e){var o=e.x,u=e.y,a=e.width,c=e.height;n=Math.min(n,o-a/2),t=Math.max(t,o+a/2),r=Math.min(r,u-c/2),i=Math.max(i,u+c/2)}o.Z(e.nodes(),function(n){f(e.node(n))}),o.Z(e.edges(),function(n){var t=e.edge(n);u.Z(t,"x")&&f(t)}),n-=c,r-=s,o.Z(e.nodes(),function(t){var o=e.node(t);o.x-=n,o.y-=r}),o.Z(e.edges(),function(t){var i=e.edge(t);o.Z(i.points,function(e){e.x-=n,e.y-=r}),u.Z(i,"x")&&(i.x-=n),u.Z(i,"y")&&(i.y-=r)}),a.width=t-n+c,a.height=i-r+s})(n)}),t(" assignNodeIntersects",function(){o.Z(n.edges(),function(e){var t,r,o=n.edge(e),i=n.node(e.v),u=n.node(e.w);o.points?(t=o.points[0],r=o.points[o.points.length-1]):(o.points=[],t=u,r=i),o.points.unshift(F(i,t)),o.points.push(F(u,r))})}),t(" reversePoints",function(){o.Z(n.edges(),function(e){var t=n.edge(e);t.reversed&&t.points.reverse()})}),t(" acyclic.undo",function(){o.Z(n.edges(),function(e){var t=n.edge(e);if(t.reversed){n.removeEdge(e);var r=t.forwardName;delete t.reversed,delete t.forwardName,n.setEdge(e.w,e.v,t,r)}})})}),t(" updateInputGraph",function(){o.Z(e.nodes(),function(t){var r=e.node(t),o=n.node(t);r&&(r.x=o.x,r.y=o.y,n.children(t).length&&(r.width=o.width,r.height=o.height))}),o.Z(e.edges(),function(t){var r=e.edge(t),o=n.edge(t);r.points=o.points,u.Z(o,"x")&&(r.x=o.x,r.y=o.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height})})}var e6=["nodesep","edgesep","ranksep","marginx","marginy"],e4={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},e5=["acyclicer","ranker","rankdir","align"],e8=["width","height"],e7={width:0,height:0},ne=["minlen","weight","width","height","labeloffset"],nn={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},nt=["labelpos"];function nr(e,n){return O(m.Z(e,n),Number)}function no(e){var n={};return o.Z(e,function(e,t){n[t.toLowerCase()]=e}),n}},1840:function(e,n,t){t.d(n,{k:function(){return C}});var r=t(39609),o=t(9595),i=t(33313),u=t(79597),a=t(81426),c=t(35461),s=t(25809),f=t(16870),d=t(21694),h=t(74158),l=t(51173),v=t(67949),Z=function(e){return e!=e},g=function(e,n,t){for(var r=t-1,o=e.length;++r-1},b=function(e,n,t){for(var r=-1,o=null==e?0:e.length;++r=200){var s=n?null:_(e);if(s)return(0,y.Z)(s);u=!1,o=m.Z,c=new l.Z}else c=n?[]:a;e:for(;++r1?r.setNode(e,n):r.setNode(e)}),this}setNode(e,n){return r.Z(this._nodes,e)?arguments.length>1&&(this._nodes[e]=n):(this._nodes[e]=arguments.length>1?n:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount),this}node(e){return this._nodes[e]}hasNode(e){return r.Z(this._nodes,e)}removeNode(e){var n=this;if(r.Z(this._nodes,e)){var t=function(e){n.removeEdge(n._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],s.Z(this.children(e),function(e){n.setParent(e)}),delete this._children[e]),s.Z(u.Z(this._in[e]),t),delete this._in[e],delete this._preds[e],s.Z(u.Z(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,n){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(f.Z(n))n="\0";else{n+="";for(var t=n;!f.Z(t);t=this.parent(t))if(t===e)throw Error("Setting "+n+" as parent of "+e+" would create a cycle");this.setNode(n)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=n,this._children[n][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var n=this._parent[e];if("\0"!==n)return n}}children(e){if(f.Z(e)&&(e="\0"),this._isCompound){var n=this._children[e];if(n)return u.Z(n)}else if("\0"===e)return this.nodes();else if(this.hasNode(e))return[]}predecessors(e){var n=this._preds[e];if(n)return u.Z(n)}successors(e){var n=this._sucs[e];if(n)return u.Z(n)}neighbors(e){var n=this.predecessors(e);if(n)return j(n,this.successors(e))}isLeaf(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length}filterNodes(e){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var t=this;s.Z(this._nodes,function(t,r){e(r)&&n.setNode(r,t)}),s.Z(this._edgeObjs,function(e){n.hasNode(e.v)&&n.hasNode(e.w)&&n.setEdge(e,t.edge(e))});var r={};return this._isCompound&&s.Z(n.nodes(),function(e){n.setParent(e,function e(o){var i=t.parent(o);return void 0===i||n.hasNode(i)?(r[o]=i,i):i in r?r[i]:e(i)}(e))}),n}setDefaultEdgeLabel(e){return i.Z(e)||(e=o.Z(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return x.Z(this._edgeObjs)}setPath(e,n){var t=this,r=arguments;return N.Z(e,function(e,o){return r.length>1?t.setEdge(e,o,n):t.setEdge(e,o),o}),this}setEdge(){var e,n,t,o,i=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(e=u.v,n=u.w,t=u.name,2==arguments.length&&(o=arguments[1],i=!0)):(e=u,n=arguments[1],t=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),e=""+e,n=""+n,f.Z(t)||(t=""+t);var a=L(this._isDirected,e,n,t);if(r.Z(this._edgeLabels,a))return i&&(this._edgeLabels[a]=o),this;if(!f.Z(t)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(n),this._edgeLabels[a]=i?o:this._defaultEdgeLabelFn(e,n,t);var c=function(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return r&&(a.name=r),a}(this._isDirected,e,n,t);return e=c.v,n=c.w,Object.freeze(c),this._edgeObjs[a]=c,I(this._preds[n],e),I(this._sucs[e],n),this._in[n][a]=c,this._out[e][a]=c,this._edgeCount++,this}edge(e,n,t){var r=1==arguments.length?M(this._isDirected,arguments[0]):L(this._isDirected,e,n,t);return this._edgeLabels[r]}hasEdge(e,n,t){var o=1==arguments.length?M(this._isDirected,arguments[0]):L(this._isDirected,e,n,t);return r.Z(this._edgeLabels,o)}removeEdge(e,n,t){var r=1==arguments.length?M(this._isDirected,arguments[0]):L(this._isDirected,e,n,t),o=this._edgeObjs[r];return o&&(e=o.v,n=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],O(this._preds[n],e),O(this._sucs[e],n),delete this._in[n][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,n){var t=this._in[e];if(t){var r=x.Z(t);return n?a.Z(r,function(e){return e.v===n}):r}}outEdges(e,n){var t=this._out[e];if(t){var r=x.Z(t);return n?a.Z(r,function(e){return e.w===n}):r}}nodeEdges(e,n){var t=this.inEdges(e,n);if(t)return t.concat(this.outEdges(e,n))}}function I(e,n){e[n]?e[n]++:e[n]=1}function O(e,n){--e[n]||delete e[n]}function L(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}return o+"\x01"+i+"\x01"+(f.Z(r)?"\0":r)}function M(e,n){return L(e,n.v,n.w,n.name)}C.prototype._nodeCount=0,C.prototype._edgeCount=0},42521:function(e,n,t){t.d(n,{k:function(){return r.k}});var r=t(1840)},51173:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(62331);function o(e){var n=-1,t=null==e?0:e.length;for(this.__data__=new r.Z;++n0&&o(f)?t>1?e(f,t-1,o,i,u):(0,r.Z)(u,f):i||(u[u.length]=f)}return u}},59812:function(e,n,t){var r=t(5829),o=t(79597);n.Z=function(e,n){return e&&(0,r.Z)(e,n,o.Z)}},33517:function(e,n,t){var r=t(96692),o=t(27434);n.Z=function(e,n){n=(0,r.Z)(n,e);for(var t=0,i=n.length;null!=e&&tf))return!1;var h=c.get(e),l=c.get(n);if(h&&l)return h==n&&l==e;var v=-1,Z=!0,g=2&t?new o.Z:void 0;for(c.set(e,n),c.set(n,e);++v2?n[2]:void 0;for(s&&(0,i.Z)(n[0],n[1],s)&&(r=1);++t>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r};function h(t,e){return t<>>32-e}let d=function(t,e,r){function i(t,e,i,a){var n;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));let e=[];for(let r=0;r>>0;c=l,l=o,o=h(s,30)>>>0,s=n,n=a}r[0]=r[0]+n>>>0,r[1]=r[1]+s>>>0,r[2]=r[2]+o>>>0,r[3]=r[3]+l>>>0,r[4]=r[4]+c>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]});r(5726),r(91088),r(95591);var y=function(){var t=function(t,e,r,i){for(r=r||{},i=t.length;i--;r[t[i]]=e);return r},e=[6,8,10,20,22,24,26,27,28],r=[1,10],i=[1,11],a=[1,12],n=[1,13],s=[1,14],o=[1,15],l=[1,21],c=[1,22],h=[1,23],d=[1,24],y=[1,25],u=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],p=[1,34],_=[27,28,46,47],f=[41,42,43,44,45],E=[17,34],m=[1,54],g=[1,53],O=[17,34,36,38],b={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(t,e,r,i,a,n,s){var o=n.length-1;switch(a){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:case 19:case 43:case 27:case 28:case 31:this.$=n[o];break;case 8:i.addEntity(n[o-4]),i.addEntity(n[o-2]),i.addRelationship(n[o-4],n[o],n[o-2],n[o-3]);break;case 9:i.addEntity(n[o-3]),i.addAttributes(n[o-3],n[o-1]);break;case 10:i.addEntity(n[o-2]);break;case 11:i.addEntity(n[o]);break;case 12:i.addEntity(n[o-6],n[o-4]),i.addAttributes(n[o-6],n[o-1]);break;case 13:i.addEntity(n[o-5],n[o-3]);break;case 14:i.addEntity(n[o-3],n[o-1]);break;case 15:case 16:this.$=n[o].trim(),i.setAccTitle(this.$);break;case 17:case 18:this.$=n[o].trim(),i.setAccDescription(this.$);break;case 20:case 41:case 42:case 32:this.$=n[o].replace(/"/g,"");break;case 21:case 29:this.$=[n[o]];break;case 22:n[o].push(n[o-1]),this.$=n[o];break;case 23:this.$={attributeType:n[o-1],attributeName:n[o]};break;case 24:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeKeyTypeList:n[o]};break;case 25:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeComment:n[o]};break;case 26:this.$={attributeType:n[o-3],attributeName:n[o-2],attributeKeyTypeList:n[o-1],attributeComment:n[o]};break;case 30:n[o-2].push(n[o]),this.$=n[o-2];break;case 33:this.$={cardA:n[o],relType:n[o-1],cardB:n[o-2]};break;case 34:this.$=i.Cardinality.ZERO_OR_ONE;break;case 35:this.$=i.Cardinality.ZERO_OR_MORE;break;case 36:this.$=i.Cardinality.ONE_OR_MORE;break;case 37:this.$=i.Cardinality.ONLY_ONE;break;case 38:this.$=i.Cardinality.MD_PARENT;break;case 39:this.$=i.Identification.NON_IDENTIFYING;break;case 40:this.$=i.Identification.IDENTIFYING}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:i,24:a,26:n,27:s,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:i,24:a,26:n,27:s,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:l,42:c,43:h,44:d,45:y}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(u,[2,19]),t(u,[2,20]),t(e,[2,4]),{11:29,27:s,28:o},{16:30,17:[1,31],29:32,30:33,34:p},{11:35,27:s,28:o},{40:36,46:[1,37],47:[1,38]},t(_,[2,34]),t(_,[2,35]),t(_,[2,36]),t(_,[2,37]),t(_,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:p},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:l,42:c,43:h,44:d,45:y},t(f,[2,39]),t(f,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(E,[2,23],{32:50,33:51,35:52,37:m,38:g}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(E,[2,24],{33:56,36:[1,57],38:g}),t(E,[2,25]),t(O,[2,29]),t(E,[2,32]),t(O,[2,31]),{16:58,17:[1,59],29:32,30:33,34:p},t(E,[2,26]),{35:60,37:m},{17:[1,61]},t(e,[2,13]),t(O,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var r=Error(t);throw r.hash=e,r}},parse:function(t){var e=this,r=[0],i=[],a=[null],n=[],s=this.table,o="",l=0,c=0,h=n.slice.call(arguments,1),d=Object.create(this.lexer),y={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(y.yy[u]=this.yy[u]);d.setInput(t,y.yy),y.yy.lexer=d,y.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var p=d.yylloc;n.push(p);var _=d.options&&d.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,E,m,g,O,b,k,R,N={};;){if(E=r[r.length-1],this.defaultActions[E]?m=this.defaultActions[E]:(null==f&&(f=function(){var t;return"number"!=typeof(t=i.pop()||d.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}()),m=s[E]&&s[E][f]),void 0===m||!m.length||!m[0]){var T="";for(O in R=[],s[E])this.terminals_[O]&&O>2&&R.push("'"+this.terminals_[O]+"'");T=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(T,{text:d.match,token:this.terminals_[f]||f,line:d.yylineno,loc:p,expected:R})}if(m[0]instanceof Array&&m.length>1)throw Error("Parse Error: multiple actions possible at state: "+E+", token: "+f);switch(m[0]){case 1:r.push(f),a.push(d.yytext),n.push(d.yylloc),r.push(m[1]),f=null,c=d.yyleng,o=d.yytext,l=d.yylineno,p=d.yylloc;break;case 2:if(b=this.productions_[m[1]][1],N.$=a[a.length-b],N._$={first_line:n[n.length-(b||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(b||1)].first_column,last_column:n[n.length-1].last_column},_&&(N._$.range=[n[n.length-(b||1)].range[0],n[n.length-1].range[1]]),void 0!==(g=this.performAction.apply(N,[o,c,l,y.yy,m[1],a,n].concat(h))))return g;b&&(r=r.slice(0,-1*b*2),a=a.slice(0,-1*b),n=n.slice(0,-1*b)),r.push(this.productions_[m[1]][0]),a.push(N.$),n.push(N._$),k=s[r[r.length-2]][r[r.length-1]],r.push(k);break;case 3:return!0}}return!0}};function k(){this.yy={}}return b.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===i.length?this.yylloc.first_column:0)+i[i.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var r,i,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var n in a)this[n]=a[n];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,r,i,a=this._currentRules(),n=0;ne[0].length)){if(e=r,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,a[n])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,r,i){switch(r){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 10;case 8:case 15:case 20:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 16:return 37;case 17:case 18:return 34;case 19:return 38;case 21:return this.popState(),17;case 22:case 54:return e.yytext[0];case 23:return 18;case 24:return 19;case 25:case 29:case 30:case 43:return 41;case 26:case 27:case 28:case 36:case 38:case 45:return 43;case 31:case 32:case 33:case 34:case 35:case 37:case 44:return 42;case 39:case 40:case 41:case 42:return 44;case 46:return 45;case 47:case 50:case 51:case 52:return 46;case 48:case 49:return 47;case 53:return 27;case 55:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],inclusive:!0}}},k.prototype=b,b.Parser=k,new k}();y.parser=y;let u={},p=[],_=function(t,e){return void 0===u[t]?(u[t]={attributes:[],alias:e},i.l.info("Added new entity :",t)):u[t]&&!u[t].alias&&e&&(u[t].alias=e,i.l.info(`Add alias '${e}' to entity '${t}'`)),u[t]},f={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},getConfig:()=>(0,i.c)().er,addEntity:_,addAttributes:function(t,e){let r,a=_(t);for(r=e.length-1;r>=0;r--)a.attributes.push(e[r]),i.l.debug("Added attribute ",e[r].attributeName)},getEntities:()=>u,addRelationship:function(t,e,r,a){let n={entityA:t,roleA:e,entityB:r,relSpec:a};p.push(n),i.l.debug("Added new relationship :",n)},getRelationships:()=>p,clear:function(){u={},p=[],(0,i.t)()},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,setDiagramTitle:i.q,getDiagramTitle:i.r},E={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},m={ERMarkers:E,insertMarkers:function(t,e){let r;t.append("defs").append("marker").attr("id",E.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",E.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",E.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",E.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),(r=t.append("defs").append("marker").attr("id",E.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),(r=t.append("defs").append("marker").attr("id",E.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",E.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",E.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),(r=t.append("defs").append("marker").attr("id",E.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),(r=t.append("defs").append("marker").attr("id",E.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")}},g=/[^\dA-Za-z](\W)*/g,O={},b=new Map,k=(t,e,r)=>{let a=O.entityPadding/3,n=O.entityPadding/3,s=.85*O.fontSize,o=e.node().getBBox(),l=[],c=!1,h=!1,d=0,y=0,u=0,p=0,_=o.height+2*a,f=1;r.forEach(t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(c=!0),void 0!==t.attributeComment&&(h=!0)}),r.forEach(r=>{let n=`${e.node().id}-attr-${f}`,o=0,E=(0,i.v)(r.attributeType),m=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(E),g=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeName),O={};O.tn=m,O.nn=g;let b=m.node().getBBox(),k=g.node().getBBox();if(d=Math.max(d,b.width),y=Math.max(y,k.width),o=Math.max(b.height,k.height),c){let e=void 0!==r.attributeKeyTypeList?r.attributeKeyTypeList.join(","):"",a=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(e);O.kn=a;let l=a.node().getBBox();u=Math.max(u,l.width),o=Math.max(o,l.height)}if(h){let e=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");O.cn=e;let a=e.node().getBBox();p=Math.max(p,a.width),o=Math.max(o,a.height)}O.height=o,l.push(O),_+=o+2*a,f+=1});let E=4;c&&(E+=2),h&&(E+=2);let m=d+y+u+p,g={width:Math.max(O.minEntityWidth,Math.max(o.width+2*O.entityPadding,m+n*E)),height:r.length>0?_:Math.max(O.minEntityHeight,o.height+2*O.entityPadding)};if(r.length>0){let r=Math.max(0,(g.width-m-n*E)/(E/2));e.attr("transform","translate("+g.width/2+","+(a+o.height/2)+")");let i=o.height+2*a,s="attributeBoxOdd";l.forEach(e=>{let o=i+a+e.height/2;e.tn.attr("transform","translate("+n+","+o+")");let l=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,!0).attr("x",0).attr("y",i).attr("width",d+2*n+r).attr("height",e.height+2*a),_=parseFloat(l.attr("x"))+parseFloat(l.attr("width"));e.nn.attr("transform","translate("+(_+n)+","+o+")");let f=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,!0).attr("x",_).attr("y",i).attr("width",y+2*n+r).attr("height",e.height+2*a),E=parseFloat(f.attr("x"))+parseFloat(f.attr("width"));if(c){e.kn.attr("transform","translate("+(E+n)+","+o+")");let l=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,!0).attr("x",E).attr("y",i).attr("width",u+2*n+r).attr("height",e.height+2*a);E=parseFloat(l.attr("x"))+parseFloat(l.attr("width"))}h&&(e.cn.attr("transform","translate("+(E+n)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",E).attr("y",i).attr("width",p+2*n+r).attr("height",e.height+2*a)),i+=e.height+2*a,s="attributeBoxOdd"===s?"attributeBoxEven":"attributeBoxOdd"})}else g.height=Math.max(O.minEntityHeight,_),e.attr("transform","translate("+g.width/2+","+g.height/2+")");return g},R=function(t,e,r){let a;return Object.keys(e).forEach(function(n){let s=function(t="",e=""){let r=t.replace(g,"");return`${M(e)}${M(r)}${d(t,"28e9f9db-3c8d-5aa5-9faf-44286ae5937c")}`}(n,"entity");b.set(n,s);let o=t.append("g").attr("id",s);a=void 0===a?s:a;let l="text-"+s,c=o.append("text").classed("er entityLabel",!0).attr("id",l).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",O.fontSize+"px").text(e[n].alias??n),{width:h,height:y}=k(o,c,e[n].attributes),u=o.insert("rect","#"+l).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",h).attr("height",y).node().getBBox();r.setNode(s,{width:u.width,height:u.height,shape:"rect",id:s})}),a},N=function(t,e){e.nodes().forEach(function(r){void 0!==r&&void 0!==e.node(r)&&t.select("#"+r).attr("transform","translate("+(e.node(r).x-e.node(r).width/2)+","+(e.node(r).y-e.node(r).height/2)+" )")})},T=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},x=0,A=function(t,e,r,a,s){x++;let o=r.edge(b.get(e.entityA),b.get(e.entityB),T(e)),l=(0,n.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(n.$0Z),c=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",l(o.points)).style("stroke",O.stroke).style("fill","none");e.relSpec.relType===s.db.Identification.NON_IDENTIFYING&&c.attr("stroke-dasharray","8,8");let h="";switch(O.arrowMarkerAbsolute&&(h=(h=(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),e.relSpec.cardA){case s.db.Cardinality.ZERO_OR_ONE:c.attr("marker-end","url("+h+"#"+m.ERMarkers.ZERO_OR_ONE_END+")");break;case s.db.Cardinality.ZERO_OR_MORE:c.attr("marker-end","url("+h+"#"+m.ERMarkers.ZERO_OR_MORE_END+")");break;case s.db.Cardinality.ONE_OR_MORE:c.attr("marker-end","url("+h+"#"+m.ERMarkers.ONE_OR_MORE_END+")");break;case s.db.Cardinality.ONLY_ONE:c.attr("marker-end","url("+h+"#"+m.ERMarkers.ONLY_ONE_END+")");break;case s.db.Cardinality.MD_PARENT:c.attr("marker-end","url("+h+"#"+m.ERMarkers.MD_PARENT_END+")")}switch(e.relSpec.cardB){case s.db.Cardinality.ZERO_OR_ONE:c.attr("marker-start","url("+h+"#"+m.ERMarkers.ZERO_OR_ONE_START+")");break;case s.db.Cardinality.ZERO_OR_MORE:c.attr("marker-start","url("+h+"#"+m.ERMarkers.ZERO_OR_MORE_START+")");break;case s.db.Cardinality.ONE_OR_MORE:c.attr("marker-start","url("+h+"#"+m.ERMarkers.ONE_OR_MORE_START+")");break;case s.db.Cardinality.ONLY_ONE:c.attr("marker-start","url("+h+"#"+m.ERMarkers.ONLY_ONE_START+")");break;case s.db.Cardinality.MD_PARENT:c.attr("marker-start","url("+h+"#"+m.ERMarkers.MD_PARENT_START+")")}let d=c.node().getTotalLength(),y=c.node().getPointAtLength(.5*d),u="rel"+x,p=t.append("text").classed("er relationshipLabel",!0).attr("id",u).attr("x",y.x).attr("y",y.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",O.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+u).classed("er relationshipLabelBox",!0).attr("x",y.x-p.width/2).attr("y",y.y-p.height/2).attr("width",p.width).attr("height",p.height)};function M(t=""){return t.length>0?`${t}-`:""}let I={parser:y,db:f,renderer:{setConf:function(t){for(let e of Object.keys(t))O[e]=t[e]},draw:function(t,e,r,o){var l;let c,h;O=(0,i.c)().er,i.l.info("Drawing ER diagram");let d=(0,i.c)().securityLevel;"sandbox"===d&&(c=(0,n.Ys)("#i"+e));let y=("sandbox"===d?(0,n.Ys)(c.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id='${e}']`);m.insertMarkers(y,O),h=new a.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:O.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let u=R(y,o.db.getEntities(),h),p=((l=o.db.getRelationships()).forEach(function(t){h.setEdge(b.get(t.entityA),b.get(t.entityB),{relationship:t},T(t))}),l);(0,s.bK)(h),N(y,h),p.forEach(function(t){A(y,t,h,u,o)});let _=O.diagramPadding;i.u.insertTitle(y,"entityTitleText",O.titleTopMargin,o.db.getDiagramTitle());let f=y.node().getBBox(),E=f.width+2*_,g=f.height+2*_;(0,i.i)(y,g,E,O.useMaxWidth),y.attr("viewBox",`${f.x-_} ${f.y-_} ${E} ${g}`)}},styles:t=>` +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[300],{11300:function(t,e,r){r.d(e,{diagram:function(){return I}});var i=r(71421),a=r(42521),n=r(27509),s=r(42296);let o=[];for(let t=0;t<256;++t)o.push((t+256).toString(16).slice(1));var l=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,c=function(t){let e;if(!("string"==typeof t&&l.test(t)))throw TypeError("Invalid UUID");let r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r};function h(t,e){return t<>>32-e}let d=function(t,e,r){function i(t,e,i,a){var n;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));let e=[];for(let r=0;r>>0;c=l,l=o,o=h(s,30)>>>0,s=n,n=a}r[0]=r[0]+n>>>0,r[1]=r[1]+s>>>0,r[2]=r[2]+o>>>0,r[3]=r[3]+l>>>0,r[4]=r[4]+c>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]});r(5726),r(91088),r(95591);var y=function(){var t=function(t,e,r,i){for(r=r||{},i=t.length;i--;r[t[i]]=e);return r},e=[6,8,10,20,22,24,26,27,28],r=[1,10],i=[1,11],a=[1,12],n=[1,13],s=[1,14],o=[1,15],l=[1,21],c=[1,22],h=[1,23],d=[1,24],y=[1,25],u=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],p=[1,34],_=[27,28,46,47],f=[41,42,43,44,45],E=[17,34],m=[1,54],g=[1,53],O=[17,34,36,38],b={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(t,e,r,i,a,n,s){var o=n.length-1;switch(a){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:case 19:case 43:case 27:case 28:case 31:this.$=n[o];break;case 8:i.addEntity(n[o-4]),i.addEntity(n[o-2]),i.addRelationship(n[o-4],n[o],n[o-2],n[o-3]);break;case 9:i.addEntity(n[o-3]),i.addAttributes(n[o-3],n[o-1]);break;case 10:i.addEntity(n[o-2]);break;case 11:i.addEntity(n[o]);break;case 12:i.addEntity(n[o-6],n[o-4]),i.addAttributes(n[o-6],n[o-1]);break;case 13:i.addEntity(n[o-5],n[o-3]);break;case 14:i.addEntity(n[o-3],n[o-1]);break;case 15:case 16:this.$=n[o].trim(),i.setAccTitle(this.$);break;case 17:case 18:this.$=n[o].trim(),i.setAccDescription(this.$);break;case 20:case 41:case 42:case 32:this.$=n[o].replace(/"/g,"");break;case 21:case 29:this.$=[n[o]];break;case 22:n[o].push(n[o-1]),this.$=n[o];break;case 23:this.$={attributeType:n[o-1],attributeName:n[o]};break;case 24:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeKeyTypeList:n[o]};break;case 25:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeComment:n[o]};break;case 26:this.$={attributeType:n[o-3],attributeName:n[o-2],attributeKeyTypeList:n[o-1],attributeComment:n[o]};break;case 30:n[o-2].push(n[o]),this.$=n[o-2];break;case 33:this.$={cardA:n[o],relType:n[o-1],cardB:n[o-2]};break;case 34:this.$=i.Cardinality.ZERO_OR_ONE;break;case 35:this.$=i.Cardinality.ZERO_OR_MORE;break;case 36:this.$=i.Cardinality.ONE_OR_MORE;break;case 37:this.$=i.Cardinality.ONLY_ONE;break;case 38:this.$=i.Cardinality.MD_PARENT;break;case 39:this.$=i.Identification.NON_IDENTIFYING;break;case 40:this.$=i.Identification.IDENTIFYING}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:i,24:a,26:n,27:s,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:i,24:a,26:n,27:s,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:l,42:c,43:h,44:d,45:y}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(u,[2,19]),t(u,[2,20]),t(e,[2,4]),{11:29,27:s,28:o},{16:30,17:[1,31],29:32,30:33,34:p},{11:35,27:s,28:o},{40:36,46:[1,37],47:[1,38]},t(_,[2,34]),t(_,[2,35]),t(_,[2,36]),t(_,[2,37]),t(_,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:p},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:l,42:c,43:h,44:d,45:y},t(f,[2,39]),t(f,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(E,[2,23],{32:50,33:51,35:52,37:m,38:g}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(E,[2,24],{33:56,36:[1,57],38:g}),t(E,[2,25]),t(O,[2,29]),t(E,[2,32]),t(O,[2,31]),{16:58,17:[1,59],29:32,30:33,34:p},t(E,[2,26]),{35:60,37:m},{17:[1,61]},t(e,[2,13]),t(O,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var r=Error(t);throw r.hash=e,r}},parse:function(t){var e=this,r=[0],i=[],a=[null],n=[],s=this.table,o="",l=0,c=0,h=n.slice.call(arguments,1),d=Object.create(this.lexer),y={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(y.yy[u]=this.yy[u]);d.setInput(t,y.yy),y.yy.lexer=d,y.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var p=d.yylloc;n.push(p);var _=d.options&&d.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,E,m,g,O,b,k,R,N={};;){if(E=r[r.length-1],this.defaultActions[E]?m=this.defaultActions[E]:(null==f&&(f=function(){var t;return"number"!=typeof(t=i.pop()||d.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}()),m=s[E]&&s[E][f]),void 0===m||!m.length||!m[0]){var T="";for(O in R=[],s[E])this.terminals_[O]&&O>2&&R.push("'"+this.terminals_[O]+"'");T=d.showPosition?"Parse error on line "+(l+1)+":\n"+d.showPosition()+"\nExpecting "+R.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(T,{text:d.match,token:this.terminals_[f]||f,line:d.yylineno,loc:p,expected:R})}if(m[0]instanceof Array&&m.length>1)throw Error("Parse Error: multiple actions possible at state: "+E+", token: "+f);switch(m[0]){case 1:r.push(f),a.push(d.yytext),n.push(d.yylloc),r.push(m[1]),f=null,c=d.yyleng,o=d.yytext,l=d.yylineno,p=d.yylloc;break;case 2:if(b=this.productions_[m[1]][1],N.$=a[a.length-b],N._$={first_line:n[n.length-(b||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(b||1)].first_column,last_column:n[n.length-1].last_column},_&&(N._$.range=[n[n.length-(b||1)].range[0],n[n.length-1].range[1]]),void 0!==(g=this.performAction.apply(N,[o,c,l,y.yy,m[1],a,n].concat(h))))return g;b&&(r=r.slice(0,-1*b*2),a=a.slice(0,-1*b),n=n.slice(0,-1*b)),r.push(this.productions_[m[1]][0]),a.push(N.$),n.push(N._$),k=s[r[r.length-2]][r[r.length-1]],r.push(k);break;case 3:return!0}}return!0}};function k(){this.yy={}}return b.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===i.length?this.yylloc.first_column:0)+i[i.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var r,i,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var n in a)this[n]=a[n];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,r,i,a=this._currentRules(),n=0;ne[0].length)){if(e=r,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,a[n])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,r,i){switch(r){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 10;case 8:case 15:case 20:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 16:return 37;case 17:case 18:return 34;case 19:return 38;case 21:return this.popState(),17;case 22:case 54:return e.yytext[0];case 23:return 18;case 24:return 19;case 25:case 29:case 30:case 43:return 41;case 26:case 27:case 28:case 36:case 38:case 45:return 43;case 31:case 32:case 33:case 34:case 35:case 37:case 44:return 42;case 39:case 40:case 41:case 42:return 44;case 46:return 45;case 47:case 50:case 51:case 52:return 46;case 48:case 49:return 47;case 53:return 27;case 55:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],inclusive:!0}}},k.prototype=b,b.Parser=k,new k}();y.parser=y;let u={},p=[],_=function(t,e){return void 0===u[t]?(u[t]={attributes:[],alias:e},i.l.info("Added new entity :",t)):u[t]&&!u[t].alias&&e&&(u[t].alias=e,i.l.info(`Add alias '${e}' to entity '${t}'`)),u[t]},f={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},getConfig:()=>(0,i.c)().er,addEntity:_,addAttributes:function(t,e){let r,a=_(t);for(r=e.length-1;r>=0;r--)a.attributes.push(e[r]),i.l.debug("Added attribute ",e[r].attributeName)},getEntities:()=>u,addRelationship:function(t,e,r,a){let n={entityA:t,roleA:e,entityB:r,relSpec:a};p.push(n),i.l.debug("Added new relationship :",n)},getRelationships:()=>p,clear:function(){u={},p=[],(0,i.t)()},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,setDiagramTitle:i.q,getDiagramTitle:i.r},E={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},m={ERMarkers:E,insertMarkers:function(t,e){let r;t.append("defs").append("marker").attr("id",E.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",E.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",E.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",E.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),(r=t.append("defs").append("marker").attr("id",E.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),(r=t.append("defs").append("marker").attr("id",E.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",E.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",E.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),(r=t.append("defs").append("marker").attr("id",E.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),(r=t.append("defs").append("marker").attr("id",E.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")}},g=/[^\dA-Za-z](\W)*/g,O={},b=new Map,k=(t,e,r)=>{let a=O.entityPadding/3,n=O.entityPadding/3,s=.85*O.fontSize,o=e.node().getBBox(),l=[],c=!1,h=!1,d=0,y=0,u=0,p=0,_=o.height+2*a,f=1;r.forEach(t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(c=!0),void 0!==t.attributeComment&&(h=!0)}),r.forEach(r=>{let n=`${e.node().id}-attr-${f}`,o=0,E=(0,i.v)(r.attributeType),m=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(E),g=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeName),O={};O.tn=m,O.nn=g;let b=m.node().getBBox(),k=g.node().getBBox();if(d=Math.max(d,b.width),y=Math.max(y,k.width),o=Math.max(b.height,k.height),c){let e=void 0!==r.attributeKeyTypeList?r.attributeKeyTypeList.join(","):"",a=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(e);O.kn=a;let l=a.node().getBBox();u=Math.max(u,l.width),o=Math.max(o,l.height)}if(h){let e=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");O.cn=e;let a=e.node().getBBox();p=Math.max(p,a.width),o=Math.max(o,a.height)}O.height=o,l.push(O),_+=o+2*a,f+=1});let E=4;c&&(E+=2),h&&(E+=2);let m=d+y+u+p,g={width:Math.max(O.minEntityWidth,Math.max(o.width+2*O.entityPadding,m+n*E)),height:r.length>0?_:Math.max(O.minEntityHeight,o.height+2*O.entityPadding)};if(r.length>0){let r=Math.max(0,(g.width-m-n*E)/(E/2));e.attr("transform","translate("+g.width/2+","+(a+o.height/2)+")");let i=o.height+2*a,s="attributeBoxOdd";l.forEach(e=>{let o=i+a+e.height/2;e.tn.attr("transform","translate("+n+","+o+")");let l=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,!0).attr("x",0).attr("y",i).attr("width",d+2*n+r).attr("height",e.height+2*a),_=parseFloat(l.attr("x"))+parseFloat(l.attr("width"));e.nn.attr("transform","translate("+(_+n)+","+o+")");let f=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,!0).attr("x",_).attr("y",i).attr("width",y+2*n+r).attr("height",e.height+2*a),E=parseFloat(f.attr("x"))+parseFloat(f.attr("width"));if(c){e.kn.attr("transform","translate("+(E+n)+","+o+")");let l=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,!0).attr("x",E).attr("y",i).attr("width",u+2*n+r).attr("height",e.height+2*a);E=parseFloat(l.attr("x"))+parseFloat(l.attr("width"))}h&&(e.cn.attr("transform","translate("+(E+n)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",E).attr("y",i).attr("width",p+2*n+r).attr("height",e.height+2*a)),i+=e.height+2*a,s="attributeBoxOdd"===s?"attributeBoxEven":"attributeBoxOdd"})}else g.height=Math.max(O.minEntityHeight,_),e.attr("transform","translate("+g.width/2+","+g.height/2+")");return g},R=function(t,e,r){let a;return Object.keys(e).forEach(function(n){let s=function(t="",e=""){let r=t.replace(g,"");return`${M(e)}${M(r)}${d(t,"28e9f9db-3c8d-5aa5-9faf-44286ae5937c")}`}(n,"entity");b.set(n,s);let o=t.append("g").attr("id",s);a=void 0===a?s:a;let l="text-"+s,c=o.append("text").classed("er entityLabel",!0).attr("id",l).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",O.fontSize+"px").text(e[n].alias??n),{width:h,height:y}=k(o,c,e[n].attributes),u=o.insert("rect","#"+l).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",h).attr("height",y).node().getBBox();r.setNode(s,{width:u.width,height:u.height,shape:"rect",id:s})}),a},N=function(t,e){e.nodes().forEach(function(r){void 0!==r&&void 0!==e.node(r)&&t.select("#"+r).attr("transform","translate("+(e.node(r).x-e.node(r).width/2)+","+(e.node(r).y-e.node(r).height/2)+" )")})},T=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},x=0,A=function(t,e,r,a,s){x++;let o=r.edge(b.get(e.entityA),b.get(e.entityB),T(e)),l=(0,n.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(n.$0Z),c=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",l(o.points)).style("stroke",O.stroke).style("fill","none");e.relSpec.relType===s.db.Identification.NON_IDENTIFYING&&c.attr("stroke-dasharray","8,8");let h="";switch(O.arrowMarkerAbsolute&&(h=(h=(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),e.relSpec.cardA){case s.db.Cardinality.ZERO_OR_ONE:c.attr("marker-end","url("+h+"#"+m.ERMarkers.ZERO_OR_ONE_END+")");break;case s.db.Cardinality.ZERO_OR_MORE:c.attr("marker-end","url("+h+"#"+m.ERMarkers.ZERO_OR_MORE_END+")");break;case s.db.Cardinality.ONE_OR_MORE:c.attr("marker-end","url("+h+"#"+m.ERMarkers.ONE_OR_MORE_END+")");break;case s.db.Cardinality.ONLY_ONE:c.attr("marker-end","url("+h+"#"+m.ERMarkers.ONLY_ONE_END+")");break;case s.db.Cardinality.MD_PARENT:c.attr("marker-end","url("+h+"#"+m.ERMarkers.MD_PARENT_END+")")}switch(e.relSpec.cardB){case s.db.Cardinality.ZERO_OR_ONE:c.attr("marker-start","url("+h+"#"+m.ERMarkers.ZERO_OR_ONE_START+")");break;case s.db.Cardinality.ZERO_OR_MORE:c.attr("marker-start","url("+h+"#"+m.ERMarkers.ZERO_OR_MORE_START+")");break;case s.db.Cardinality.ONE_OR_MORE:c.attr("marker-start","url("+h+"#"+m.ERMarkers.ONE_OR_MORE_START+")");break;case s.db.Cardinality.ONLY_ONE:c.attr("marker-start","url("+h+"#"+m.ERMarkers.ONLY_ONE_START+")");break;case s.db.Cardinality.MD_PARENT:c.attr("marker-start","url("+h+"#"+m.ERMarkers.MD_PARENT_START+")")}let d=c.node().getTotalLength(),y=c.node().getPointAtLength(.5*d),u="rel"+x,p=t.append("text").classed("er relationshipLabel",!0).attr("id",u).attr("x",y.x).attr("y",y.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",O.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+u).classed("er relationshipLabelBox",!0).attr("x",y.x-p.width/2).attr("y",y.y-p.height/2).attr("width",p.width).attr("height",p.height)};function M(t=""){return t.length>0?`${t}-`:""}let I={parser:y,db:f,renderer:{setConf:function(t){for(let e of Object.keys(t))O[e]=t[e]},draw:function(t,e,r,o){var l;let c,h;O=(0,i.c)().er,i.l.info("Drawing ER diagram");let d=(0,i.c)().securityLevel;"sandbox"===d&&(c=(0,n.Ys)("#i"+e));let y=("sandbox"===d?(0,n.Ys)(c.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id='${e}']`);m.insertMarkers(y,O),h=new a.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:O.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}});let u=R(y,o.db.getEntities(),h),p=((l=o.db.getRelationships()).forEach(function(t){h.setEdge(b.get(t.entityA),b.get(t.entityB),{relationship:t},T(t))}),l);(0,s.bK)(h),N(y,h),p.forEach(function(t){A(y,t,h,u,o)});let _=O.diagramPadding;i.u.insertTitle(y,"entityTitleText",O.titleTopMargin,o.db.getDiagramTitle());let f=y.node().getBBox(),E=f.width+2*_,g=f.height+2*_;(0,i.i)(y,g,E,O.useMaxWidth),y.attr("viewBox",`${f.x-_} ${f.y-_} ${E} ${g}`)}},styles:t=>` .entityBox { fill: ${t.mainBkg}; stroke: ${t.nodeBorder}; diff --git a/_next/static/chunks/32.0ae62ea42fa20b6c.js b/_next/static/chunks/32.0ae62ea42fa20b6c.js new file mode 100644 index 0000000..b551b29 --- /dev/null +++ b/_next/static/chunks/32.0ae62ea42fa20b6c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[32],{96032:function(t,e,a){a.d(e,{diagram:function(){return x}});var r=a(30298),i=a(27509),n=a(42296),d=a(42521),o=a(71421);a(5726),a(91088),a(95591);let l=0,s=function(t){let e=t.id;return t.type&&(e+="<"+(0,o.v)(t.type)+">"),e},p=function(t,e,a,r){let{displayText:i,cssStyle:n}=e.getDisplayDetails(),d=t.append("tspan").attr("x",r.padding).text(i);""!==n&&d.attr("style",e.cssStyle),a||d.attr("dy",r.textHeight)},g={drawClass:function(t,e,a,r){let i,n,d,l;o.l.debug("Rendering class ",e,a);let g=e.id,h={id:g,label:e.id,width:0,height:0},c=t.append("g").attr("id",r.db.lookUpDomId(g)).attr("class","classGroup");i=e.link?c.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",a.textHeight+a.padding).attr("x",0):c.append("text").attr("y",a.textHeight+a.padding).attr("x",0);let f=!0;e.annotations.forEach(function(t){let e=i.append("tspan").text("\xab"+t+"\xbb");f||e.attr("dy",a.textHeight),f=!1});let x=s(e),u=i.append("tspan").text(x).attr("class","title");f||u.attr("dy",a.textHeight);let y=i.node().getBBox().height;if(e.members.length>0){n=c.append("line").attr("x1",0).attr("y1",a.padding+y+a.dividerMargin/2).attr("y2",a.padding+y+a.dividerMargin/2);let t=c.append("text").attr("x",a.padding).attr("y",y+a.dividerMargin+a.textHeight).attr("fill","white").attr("class","classText");f=!0,e.members.forEach(function(e){p(t,e,f,a),f=!1}),d=t.node().getBBox()}if(e.methods.length>0){l=c.append("line").attr("x1",0).attr("y1",a.padding+y+a.dividerMargin+d.height).attr("y2",a.padding+y+a.dividerMargin+d.height);let t=c.append("text").attr("x",a.padding).attr("y",y+2*a.dividerMargin+d.height+a.textHeight).attr("fill","white").attr("class","classText");f=!0,e.methods.forEach(function(e){p(t,e,f,a),f=!1})}let b=c.node().getBBox();var m=" ";e.cssClasses.length>0&&(m+=e.cssClasses.join(" "));let w=c.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",b.width+2*a.padding).attr("height",b.height+a.padding+.5*a.dividerMargin).attr("class",m).node().getBBox().width;return i.node().childNodes.forEach(function(t){t.setAttribute("x",(w-t.getBBox().width)/2)}),e.tooltip&&i.insert("title").text(e.tooltip),n&&n.attr("x2",w),l&&l.attr("x2",w),h.width=w,h.height=b.height+a.padding+.5*a.dividerMargin,h},drawEdge:function(t,e,a,r,n){let d,s,p,g,h,c;let f=function(t){switch(t){case n.db.relationType.AGGREGATION:return"aggregation";case n.db.relationType.EXTENSION:return"extension";case n.db.relationType.COMPOSITION:return"composition";case n.db.relationType.DEPENDENCY:return"dependency";case n.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter(t=>!Number.isNaN(t.y));let x=e.points,u=(0,i.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(i.$0Z),y=t.append("path").attr("d",u(x)).attr("id","edge"+l).attr("class","relation"),b="";r.arrowMarkerAbsolute&&(b=(b=(b=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),1==a.relation.lineType&&y.attr("class","relation dashed-line"),10==a.relation.lineType&&y.attr("class","relation dotted-line"),"none"!==a.relation.type1&&y.attr("marker-start","url("+b+"#"+f(a.relation.type1)+"Start)"),"none"!==a.relation.type2&&y.attr("marker-end","url("+b+"#"+f(a.relation.type2)+"End)");let m=e.points.length,w=o.u.calcLabelPosition(e.points);if(d=w.x,s=w.y,m%2!=0&&m>1){let t=o.u.calcCardinalityPosition("none"!==a.relation.type1,e.points,e.points[0]),r=o.u.calcCardinalityPosition("none"!==a.relation.type2,e.points,e.points[m-1]);o.l.debug("cardinality_1_point "+JSON.stringify(t)),o.l.debug("cardinality_2_point "+JSON.stringify(r)),p=t.x,g=t.y,h=r.x,c=r.y}if(void 0!==a.title){let e=t.append("g").attr("class","classLabel"),i=e.append("text").attr("class","label").attr("x",d).attr("y",s).attr("fill","red").attr("text-anchor","middle").text(a.title);window.label=i;let n=i.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",n.x-r.padding/2).attr("y",n.y-r.padding/2).attr("width",n.width+r.padding).attr("height",n.height+r.padding)}o.l.info("Rendering relation "+JSON.stringify(a)),void 0!==a.relationTitle1&&"none"!==a.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",p).attr("y",g).attr("fill","black").attr("font-size","6").text(a.relationTitle1),void 0!==a.relationTitle2&&"none"!==a.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",h).attr("y",c).attr("fill","black").attr("font-size","6").text(a.relationTitle2),l++},drawNote:function(t,e,a,r){o.l.debug("Rendering note ",e,a);let i=e.id,n={id:i,text:e.text,width:0,height:0},d=t.append("g").attr("id",i).attr("class","classGroup"),l=d.append("text").attr("y",a.textHeight+a.padding).attr("x",0),s=JSON.parse(`"${e.text}"`).split("\n");s.forEach(function(t){o.l.debug(`Adding line: ${t}`),l.append("tspan").text(t).attr("class","title").attr("dy",a.textHeight)});let p=d.node().getBBox(),g=d.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",p.width+2*a.padding).attr("height",p.height+s.length*a.textHeight+a.padding+.5*a.dividerMargin).node().getBBox().width;return l.node().childNodes.forEach(function(t){t.setAttribute("x",(g-t.getBBox().width)/2)}),n.width=g,n.height=p.height+s.length*a.textHeight+a.padding+.5*a.dividerMargin,n}},h={},c=function(t){let e=Object.entries(h).find(e=>e[1].label===t);if(e)return e[0]},f=function(t){t.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),t.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},x={parser:r.p,db:r.d,renderer:{draw:function(t,e,a,r){let l;let s=(0,o.c)().class;h={},o.l.info("Rendering diagram "+t);let p=(0,o.c)().securityLevel;"sandbox"===p&&(l=(0,i.Ys)("#i"+e));let x="sandbox"===p?(0,i.Ys)(l.nodes()[0].contentDocument.body):(0,i.Ys)("body"),u=x.select(`[id='${e}']`);f(u);let y=new d.k({multigraph:!0});y.setGraph({isMultiGraph:!0}),y.setDefaultEdgeLabel(function(){return{}});let b=r.db.getClasses();for(let t of Object.keys(b)){let e=b[t],a=g.drawClass(u,e,s,r);h[a.id]=a,y.setNode(a.id,a),o.l.info("Org height: "+a.height)}r.db.getRelations().forEach(function(t){o.l.info("tjoho"+c(t.id1)+c(t.id2)+JSON.stringify(t)),y.setEdge(c(t.id1),c(t.id2),{relation:t},t.title||"DEFAULT")}),r.db.getNotes().forEach(function(t){o.l.debug(`Adding note: ${JSON.stringify(t)}`);let e=g.drawNote(u,t,s,r);h[e.id]=e,y.setNode(e.id,e),t.class&&t.class in b&&y.setEdge(t.id,c(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),(0,n.bK)(y),y.nodes().forEach(function(t){void 0!==t&&void 0!==y.node(t)&&(o.l.debug("Node "+t+": "+JSON.stringify(y.node(t))),x.select("#"+(r.db.lookUpDomId(t)||t)).attr("transform","translate("+(y.node(t).x-y.node(t).width/2)+","+(y.node(t).y-y.node(t).height/2)+" )"))}),y.edges().forEach(function(t){void 0!==t&&void 0!==y.edge(t)&&(o.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(y.edge(t))),g.drawEdge(u,y.edge(t),y.edge(t).relation,s,r))});let m=u.node().getBBox(),w=m.width+40,k=m.height+40;(0,o.i)(u,k,w,s.useMaxWidth);let E=`${m.x-20} ${m.y-20} ${w} ${k}`;o.l.debug(`viewBox ${E}`),u.attr("viewBox",E)}},styles:r.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.d.clear()}}}}]); \ No newline at end of file diff --git a/_next/static/chunks/32.3e5ed771ee888682.js b/_next/static/chunks/32.3e5ed771ee888682.js deleted file mode 100644 index 6a81f55..0000000 --- a/_next/static/chunks/32.3e5ed771ee888682.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[32],{96032:function(t,e,a){a.d(e,{diagram:function(){return x}});var r=a(30298),i=a(27509),n=a(87892),d=a(42521),o=a(71421);a(5726),a(91088),a(95591);let l=0,s=function(t){let e=t.id;return t.type&&(e+="<"+(0,o.v)(t.type)+">"),e},p=function(t,e,a,r){let{displayText:i,cssStyle:n}=e.getDisplayDetails(),d=t.append("tspan").attr("x",r.padding).text(i);""!==n&&d.attr("style",e.cssStyle),a||d.attr("dy",r.textHeight)},g={getClassTitleString:s,drawClass:function(t,e,a,r){let i,n,d,l;o.l.debug("Rendering class ",e,a);let g=e.id,h={id:g,label:e.id,width:0,height:0},c=t.append("g").attr("id",r.db.lookUpDomId(g)).attr("class","classGroup");i=e.link?c.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",a.textHeight+a.padding).attr("x",0):c.append("text").attr("y",a.textHeight+a.padding).attr("x",0);let f=!0;e.annotations.forEach(function(t){let e=i.append("tspan").text("\xab"+t+"\xbb");f||e.attr("dy",a.textHeight),f=!1});let x=s(e),u=i.append("tspan").text(x).attr("class","title");f||u.attr("dy",a.textHeight);let y=i.node().getBBox().height;if(e.members.length>0){n=c.append("line").attr("x1",0).attr("y1",a.padding+y+a.dividerMargin/2).attr("y2",a.padding+y+a.dividerMargin/2);let t=c.append("text").attr("x",a.padding).attr("y",y+a.dividerMargin+a.textHeight).attr("fill","white").attr("class","classText");f=!0,e.members.forEach(function(e){p(t,e,f,a),f=!1}),d=t.node().getBBox()}if(e.methods.length>0){l=c.append("line").attr("x1",0).attr("y1",a.padding+y+a.dividerMargin+d.height).attr("y2",a.padding+y+a.dividerMargin+d.height);let t=c.append("text").attr("x",a.padding).attr("y",y+2*a.dividerMargin+d.height+a.textHeight).attr("fill","white").attr("class","classText");f=!0,e.methods.forEach(function(e){p(t,e,f,a),f=!1})}let b=c.node().getBBox();var m=" ";e.cssClasses.length>0&&(m+=e.cssClasses.join(" "));let w=c.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",b.width+2*a.padding).attr("height",b.height+a.padding+.5*a.dividerMargin).attr("class",m).node().getBBox().width;return i.node().childNodes.forEach(function(t){t.setAttribute("x",(w-t.getBBox().width)/2)}),e.tooltip&&i.insert("title").text(e.tooltip),n&&n.attr("x2",w),l&&l.attr("x2",w),h.width=w,h.height=b.height+a.padding+.5*a.dividerMargin,h},drawEdge:function(t,e,a,r,n){let d,s,p,g,h,c;let f=function(t){switch(t){case n.db.relationType.AGGREGATION:return"aggregation";case n.db.relationType.EXTENSION:return"extension";case n.db.relationType.COMPOSITION:return"composition";case n.db.relationType.DEPENDENCY:return"dependency";case n.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter(t=>!Number.isNaN(t.y));let x=e.points,u=(0,i.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(i.$0Z),y=t.append("path").attr("d",u(x)).attr("id","edge"+l).attr("class","relation"),b="";r.arrowMarkerAbsolute&&(b=(b=(b=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),1==a.relation.lineType&&y.attr("class","relation dashed-line"),10==a.relation.lineType&&y.attr("class","relation dotted-line"),"none"!==a.relation.type1&&y.attr("marker-start","url("+b+"#"+f(a.relation.type1)+"Start)"),"none"!==a.relation.type2&&y.attr("marker-end","url("+b+"#"+f(a.relation.type2)+"End)");let m=e.points.length,w=o.u.calcLabelPosition(e.points);if(d=w.x,s=w.y,m%2!=0&&m>1){let t=o.u.calcCardinalityPosition("none"!==a.relation.type1,e.points,e.points[0]),r=o.u.calcCardinalityPosition("none"!==a.relation.type2,e.points,e.points[m-1]);o.l.debug("cardinality_1_point "+JSON.stringify(t)),o.l.debug("cardinality_2_point "+JSON.stringify(r)),p=t.x,g=t.y,h=r.x,c=r.y}if(void 0!==a.title){let e=t.append("g").attr("class","classLabel"),i=e.append("text").attr("class","label").attr("x",d).attr("y",s).attr("fill","red").attr("text-anchor","middle").text(a.title);window.label=i;let n=i.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",n.x-r.padding/2).attr("y",n.y-r.padding/2).attr("width",n.width+r.padding).attr("height",n.height+r.padding)}o.l.info("Rendering relation "+JSON.stringify(a)),void 0!==a.relationTitle1&&"none"!==a.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",p).attr("y",g).attr("fill","black").attr("font-size","6").text(a.relationTitle1),void 0!==a.relationTitle2&&"none"!==a.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",h).attr("y",c).attr("fill","black").attr("font-size","6").text(a.relationTitle2),l++},drawNote:function(t,e,a,r){o.l.debug("Rendering note ",e,a);let i=e.id,n={id:i,text:e.text,width:0,height:0},d=t.append("g").attr("id",i).attr("class","classGroup"),l=d.append("text").attr("y",a.textHeight+a.padding).attr("x",0),s=JSON.parse(`"${e.text}"`).split("\n");s.forEach(function(t){o.l.debug(`Adding line: ${t}`),l.append("tspan").text(t).attr("class","title").attr("dy",a.textHeight)});let p=d.node().getBBox(),g=d.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",p.width+2*a.padding).attr("height",p.height+s.length*a.textHeight+a.padding+.5*a.dividerMargin).node().getBBox().width;return l.node().childNodes.forEach(function(t){t.setAttribute("x",(g-t.getBBox().width)/2)}),n.width=g,n.height=p.height+s.length*a.textHeight+a.padding+.5*a.dividerMargin,n}},h={},c=function(t){let e=Object.entries(h).find(e=>e[1].label===t);if(e)return e[0]},f=function(t){t.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),t.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},x={parser:r.p,db:r.d,renderer:{draw:function(t,e,a,r){let l;let s=(0,o.c)().class;h={},o.l.info("Rendering diagram "+t);let p=(0,o.c)().securityLevel;"sandbox"===p&&(l=(0,i.Ys)("#i"+e));let x="sandbox"===p?(0,i.Ys)(l.nodes()[0].contentDocument.body):(0,i.Ys)("body"),u=x.select(`[id='${e}']`);f(u);let y=new d.k({multigraph:!0});y.setGraph({isMultiGraph:!0}),y.setDefaultEdgeLabel(function(){return{}});let b=r.db.getClasses();for(let t of Object.keys(b)){let e=b[t],a=g.drawClass(u,e,s,r);h[a.id]=a,y.setNode(a.id,a),o.l.info("Org height: "+a.height)}r.db.getRelations().forEach(function(t){o.l.info("tjoho"+c(t.id1)+c(t.id2)+JSON.stringify(t)),y.setEdge(c(t.id1),c(t.id2),{relation:t},t.title||"DEFAULT")}),r.db.getNotes().forEach(function(t){o.l.debug(`Adding note: ${JSON.stringify(t)}`);let e=g.drawNote(u,t,s,r);h[e.id]=e,y.setNode(e.id,e),t.class&&t.class in b&&y.setEdge(t.id,c(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),(0,n.bK)(y),y.nodes().forEach(function(t){void 0!==t&&void 0!==y.node(t)&&(o.l.debug("Node "+t+": "+JSON.stringify(y.node(t))),x.select("#"+(r.db.lookUpDomId(t)||t)).attr("transform","translate("+(y.node(t).x-y.node(t).width/2)+","+(y.node(t).y-y.node(t).height/2)+" )"))}),y.edges().forEach(function(t){void 0!==t&&void 0!==y.edge(t)&&(o.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(y.edge(t))),g.drawEdge(u,y.edge(t),y.edge(t).relation,s,r))});let m=u.node().getBBox(),w=m.width+40,k=m.height+40;(0,o.i)(u,k,w,s.useMaxWidth);let E=`${m.x-20} ${m.y-20} ${w} ${k}`;o.l.debug(`viewBox ${E}`),u.attr("viewBox",E)}},styles:r.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.d.clear()}}}}]); \ No newline at end of file diff --git a/_next/static/chunks/357.21a846ae17239f23.js b/_next/static/chunks/357.f8c2af71bb41d7fa.js similarity index 71% rename from _next/static/chunks/357.21a846ae17239f23.js rename to _next/static/chunks/357.f8c2af71bb41d7fa.js index 0673c0d..3878d35 100644 --- a/_next/static/chunks/357.21a846ae17239f23.js +++ b/_next/static/chunks/357.f8c2af71bb41d7fa.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[357],{39357:function(t,e,i){i.d(e,{diagram:function(){return A}});var r=i(71421),n=i(27509),s=i(15990);i(5726),i(91088),i(95591);var a=function(){var t=function(t,e,i,r){for(i=i||{},r=t.length;r--;i[t[r]]=e);return i},e=[6,8,10,11,12,14,16,17,18],i=[1,9],r=[1,10],n=[1,11],s=[1,12],a=[1,13],l=[1,14],o={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(t,e,i,r,n,s,a){var l=s.length-1;switch(n){case 1:return s[l-1];case 2:case 6:case 7:this.$=[];break;case 3:s[l-1].push(s[l]),this.$=s[l-1];break;case 4:case 5:this.$=s[l];break;case 8:r.setDiagramTitle(s[l].substr(6)),this.$=s[l].substr(6);break;case 9:this.$=s[l].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=s[l].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(s[l].substr(8)),this.$=s[l].substr(8);break;case 13:r.addTask(s[l-1],s[l]),this.$="task"}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:r,14:n,16:s,17:a,18:l},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:r,14:n,16:s,17:a,18:l},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},parse:function(t){var e=this,i=[0],r=[],n=[null],s=[],a=this.table,l="",o=0,c=0,h=s.slice.call(arguments,1),u=Object.create(this.lexer),y={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(y.yy[p]=this.yy[p]);u.setInput(t,y.yy),y.yy.lexer=u,y.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var d=u.yylloc;s.push(d);var f=u.options&&u.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,x,m,k,_,b,v,$,w={};;){if(x=i[i.length-1],this.defaultActions[x]?m=this.defaultActions[x]:(null==g&&(g=function(){var t;return"number"!=typeof(t=r.pop()||u.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),m=a[x]&&a[x][g]),void 0===m||!m.length||!m[0]){var M="";for(_ in $=[],a[x])this.terminals_[_]&&_>2&&$.push("'"+this.terminals_[_]+"'");M=u.showPosition?"Parse error on line "+(o+1)+":\n"+u.showPosition()+"\nExpecting "+$.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(M,{text:u.match,token:this.terminals_[g]||g,line:u.yylineno,loc:d,expected:$})}if(m[0]instanceof Array&&m.length>1)throw Error("Parse Error: multiple actions possible at state: "+x+", token: "+g);switch(m[0]){case 1:i.push(g),n.push(u.yytext),s.push(u.yylloc),i.push(m[1]),g=null,c=u.yyleng,l=u.yytext,o=u.yylineno,d=u.yylloc;break;case 2:if(b=this.productions_[m[1]][1],w.$=n[n.length-b],w._$={first_line:s[s.length-(b||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(b||1)].first_column,last_column:s[s.length-1].last_column},f&&(w._$.range=[s[s.length-(b||1)].range[0],s[s.length-1].range[1]]),void 0!==(k=this.performAction.apply(w,[l,c,o,y.yy,m[1],n,s].concat(h))))return k;b&&(i=i.slice(0,-1*b*2),n=n.slice(0,-1*b),s=s.slice(0,-1*b)),i.push(this.productions_[m[1]][0]),n.push(w.$),s.push(w._$),v=a[i[i.length-2]][i[i.length-1]],i.push(v);break;case 3:return!0}}return!0}};function c(){this.yy={}}return o.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in n)this[s]=n[s];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,r,n=this._currentRules(),s=0;se[0].length)){if(e=i,r=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,r){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}},c.prototype=o,o.Parser=c,new c}();a.parser=a;let l="",o=[],c=[],h=[],u=function(){let t=[];return c.forEach(e=>{e.people&&t.push(...e.people)}),[...new Set(t)].sort()},y=function(){let t=!0;for(let[e,i]of h.entries())h[e].processed,t=t&&i.processed;return t},p={getConfig:()=>(0,r.c)().journey,clear:function(){o.length=0,c.length=0,l="",h.length=0,(0,r.t)()},setDiagramTitle:r.q,getDiagramTitle:r.r,setAccTitle:r.s,getAccTitle:r.g,setAccDescription:r.b,getAccDescription:r.a,addSection:function(t){l=t,o.push(t)},getSections:function(){return o},getTasks:function(){let t=y(),e=0;for(;!t&&e<100;)t=y(),e++;return c.push(...h),c},addTask:function(t,e){let i=e.substr(1).split(":"),r=0,n=[];1===i.length?(r=Number(i[0]),n=[]):(r=Number(i[0]),n=i[1].split(","));let s=n.map(t=>t.trim()),a={section:l,type:l,people:s,task:t,score:r};h.push(a)},addTaskOrg:function(t){let e={section:l,type:l,description:t,task:t,classes:[]};c.push(e)},getActors:function(){return u()}},d=function(t,e){return(0,s.d)(t,e)},f=function(t,e){let i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),r=t.append("g");return r.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),r.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),e.score>3?function(t){let i=(0,n.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(r):e.score<3?function(t){let i=(0,n.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(r):function(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(r),i},g=function(t,e){let i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),void 0!==i.class&&i.attr("class",i.class),void 0!==e.title&&i.append("title").text(e.title),i},x=function(t,e){return(0,s.f)(t,e)},m=-1,k=function(){function t(t,e,i,n,s,a,l,o){r(e.append("text").attr("x",i+s/2).attr("y",n+a/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,i,n,s,a,l,o,c){let{taskFontSize:h,taskFontFamily:u}=o,y=t.split(//gi);for(let t=0;t{let i=e.actors[t].color;g(n,{cx:l,cy:e.y,r:7,fill:i,stroke:"#000",title:t,pos:e.actors[t].position}),l+=10}),k(i)(e.task,n,a.x,a.y,a.width,a.height,{class:"task"},i,e.colour)},drawBackgroundRect:function(t,e){(0,s.a)(t,e)},initGraphics:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}},b={},v=(0,r.c)().journey,$=v.leftMargin,w={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,i,r){void 0===t[e]?t[e]=i:t[e]=r(i,t[e])},updateBounds:function(t,e,i,n){let s=(0,r.c)().journey,a=this,l=0;this.sequenceItems.forEach(function(r){l++;let o=a.sequenceItems.length-l+1;a.updateVal(r,"starty",e-o*s.boxMargin,Math.min),a.updateVal(r,"stopy",n+o*s.boxMargin,Math.max),a.updateVal(w.data,"startx",t-o*s.boxMargin,Math.min),a.updateVal(w.data,"stopx",i+o*s.boxMargin,Math.max),a.updateVal(r,"startx",t-o*s.boxMargin,Math.min),a.updateVal(r,"stopx",i+o*s.boxMargin,Math.max),a.updateVal(w.data,"starty",e-o*s.boxMargin,Math.min),a.updateVal(w.data,"stopy",n+o*s.boxMargin,Math.max)})},insert:function(t,e,i,r){let n=Math.min(t,i),s=Math.max(t,i),a=Math.min(e,r),l=Math.max(e,r);this.updateVal(w.data,"startx",n,Math.min),this.updateVal(w.data,"starty",a,Math.min),this.updateVal(w.data,"stopx",s,Math.max),this.updateVal(w.data,"stopy",l,Math.max),this.updateBounds(n,a,s,l)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},M=v.sectionFills,T=v.sectionColours,E=function(t,e,i){let n=(0,r.c)().journey,s="",a=i+(2*n.height+n.diagramMarginY),l=0,o="#CCC",c="black",h=0;for(let[i,r]of e.entries()){if(s!==r.section){o=M[l%M.length],h=l%M.length,c=T[l%T.length];let a=0,u=r.section;for(let t=i;t(b[e]&&(t[e]=b[e]),t),{});r.x=i*n.taskMargin+i*n.width+$,r.y=a,r.width=n.diagramMarginX,r.height=n.diagramMarginY,r.colour=c,r.fill=o,r.num=h,r.actors=u,_.drawTask(t,r,n),w.insert(r.x,r.y,r.x+r.width+n.taskMargin,450)}},S={setConf:function(t){Object.keys(t).forEach(function(e){v[e]=t[e]})},draw:function(t,e,i,s){let a;let l=(0,r.c)().journey,o=(0,r.c)().securityLevel;"sandbox"===o&&(a=(0,n.Ys)("#i"+e));let c="sandbox"===o?(0,n.Ys)(a.nodes()[0].contentDocument.body):(0,n.Ys)("body");w.init();let h=c.select("#"+e);_.initGraphics(h);let u=s.db.getTasks(),y=s.db.getDiagramTitle(),p=s.db.getActors();for(let t in b)delete b[t];let d=0;p.forEach(t=>{b[t]={color:l.actorColours[d%l.actorColours.length],position:d},d++}),function(t){let e=(0,r.c)().journey,i=60;Object.keys(b).forEach(r=>{let n=b[r].color,s={cx:20,cy:i,r:7,fill:n,stroke:"#000",pos:b[r].position};_.drawCircle(t,s);let a={x:40,y:i+7,fill:"#666",text:r,textMargin:5|e.boxTextMargin};_.drawText(t,a),i+=20})}(h),w.insert(0,0,$,50*Object.keys(b).length),E(h,u,0);let f=w.getBounds();y&&h.append("text").text(y).attr("x",$).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);let g=f.stopy-f.starty+2*l.diagramMarginY,x=$+f.stopx+2*l.diagramMarginX;(0,r.i)(h,g,x,l.useMaxWidth),h.append("line").attr("x1",$).attr("y1",4*l.height).attr("x2",x-$-4).attr("y2",4*l.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");let m=y?70:0;h.attr("viewBox",`${f.startx} -25 ${x} ${g+m}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",g+m+25)}},A={parser:a,db:p,renderer:S,styles:t=>`.label { +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[357],{39357:function(t,e,i){i.d(e,{diagram:function(){return S}});var r=i(71421),n=i(27509),s=i(15990);i(5726),i(91088),i(95591);var a=function(){var t=function(t,e,i,r){for(i=i||{},r=t.length;r--;i[t[r]]=e);return i},e=[6,8,10,11,12,14,16,17,18],i=[1,9],r=[1,10],n=[1,11],s=[1,12],a=[1,13],l=[1,14],o={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(t,e,i,r,n,s,a){var l=s.length-1;switch(n){case 1:return s[l-1];case 2:case 6:case 7:this.$=[];break;case 3:s[l-1].push(s[l]),this.$=s[l-1];break;case 4:case 5:this.$=s[l];break;case 8:r.setDiagramTitle(s[l].substr(6)),this.$=s[l].substr(6);break;case 9:this.$=s[l].trim(),r.setAccTitle(this.$);break;case 10:case 11:this.$=s[l].trim(),r.setAccDescription(this.$);break;case 12:r.addSection(s[l].substr(8)),this.$=s[l].substr(8);break;case 13:r.addTask(s[l-1],s[l]),this.$="task"}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:r,14:n,16:s,17:a,18:l},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:r,14:n,16:s,17:a,18:l},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},parse:function(t){var e=this,i=[0],r=[],n=[null],s=[],a=this.table,l="",o=0,c=0,h=s.slice.call(arguments,1),u=Object.create(this.lexer),y={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(y.yy[p]=this.yy[p]);u.setInput(t,y.yy),y.yy.lexer=u,y.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var d=u.yylloc;s.push(d);var f=u.options&&u.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,x,m,k,_,b,v,$,w={};;){if(x=i[i.length-1],this.defaultActions[x]?m=this.defaultActions[x]:(null==g&&(g=function(){var t;return"number"!=typeof(t=r.pop()||u.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),m=a[x]&&a[x][g]),void 0===m||!m.length||!m[0]){var M="";for(_ in $=[],a[x])this.terminals_[_]&&_>2&&$.push("'"+this.terminals_[_]+"'");M=u.showPosition?"Parse error on line "+(o+1)+":\n"+u.showPosition()+"\nExpecting "+$.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(M,{text:u.match,token:this.terminals_[g]||g,line:u.yylineno,loc:d,expected:$})}if(m[0]instanceof Array&&m.length>1)throw Error("Parse Error: multiple actions possible at state: "+x+", token: "+g);switch(m[0]){case 1:i.push(g),n.push(u.yytext),s.push(u.yylloc),i.push(m[1]),g=null,c=u.yyleng,l=u.yytext,o=u.yylineno,d=u.yylloc;break;case 2:if(b=this.productions_[m[1]][1],w.$=n[n.length-b],w._$={first_line:s[s.length-(b||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(b||1)].first_column,last_column:s[s.length-1].last_column},f&&(w._$.range=[s[s.length-(b||1)].range[0],s[s.length-1].range[1]]),void 0!==(k=this.performAction.apply(w,[l,c,o,y.yy,m[1],n,s].concat(h))))return k;b&&(i=i.slice(0,-1*b*2),n=n.slice(0,-1*b),s=s.slice(0,-1*b)),i.push(this.productions_[m[1]][0]),n.push(w.$),s.push(w._$),v=a[i[i.length-2]][i[i.length-1]],i.push(v);break;case 3:return!0}}return!0}};function c(){this.yy={}}return o.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in n)this[s]=n[s];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,r,n=this._currentRules(),s=0;se[0].length)){if(e=i,r=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,r){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}},c.prototype=o,o.Parser=c,new c}();a.parser=a;let l="",o=[],c=[],h=[],u=function(){let t=[];return c.forEach(e=>{e.people&&t.push(...e.people)}),[...new Set(t)].sort()},y=function(){let t=!0;for(let[e,i]of h.entries())h[e].processed,t=t&&i.processed;return t},p={getConfig:()=>(0,r.c)().journey,clear:function(){o.length=0,c.length=0,l="",h.length=0,(0,r.t)()},setDiagramTitle:r.q,getDiagramTitle:r.r,setAccTitle:r.s,getAccTitle:r.g,setAccDescription:r.b,getAccDescription:r.a,addSection:function(t){l=t,o.push(t)},getSections:function(){return o},getTasks:function(){let t=y(),e=0;for(;!t&&e<100;)t=y(),e++;return c.push(...h),c},addTask:function(t,e){let i=e.substr(1).split(":"),r=0,n=[];1===i.length?(r=Number(i[0]),n=[]):(r=Number(i[0]),n=i[1].split(","));let s=n.map(t=>t.trim()),a={section:l,type:l,people:s,task:t,score:r};h.push(a)},addTaskOrg:function(t){let e={section:l,type:l,description:t,task:t,classes:[]};c.push(e)},getActors:function(){return u()}},d=function(t,e){return(0,s.d)(t,e)},f=function(t,e){let i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),r=t.append("g");return r.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),r.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),e.score>3?function(t){let i=(0,n.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(r):e.score<3?function(t){let i=(0,n.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(r):function(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(r),i},g=function(t,e){let i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),void 0!==i.class&&i.attr("class",i.class),void 0!==e.title&&i.append("title").text(e.title),i},x=-1,m=function(){function t(t,e,i,n,s,a,l,o){r(e.append("text").attr("x",i+s/2).attr("y",n+a/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,i,n,s,a,l,o,c){let{taskFontSize:h,taskFontFamily:u}=o,y=t.split(//gi);for(let t=0;t{let i=e.actors[t].color;g(n,{cx:l,cy:e.y,r:7,fill:i,stroke:"#000",title:t,pos:e.actors[t].position}),l+=10}),m(i)(e.task,n,a.x,a.y,a.width,a.height,{class:"task"},i,e.colour)},initGraphics:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}},_={},b=(0,r.c)().journey,v=b.leftMargin,$={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,i,r){void 0===t[e]?t[e]=i:t[e]=r(i,t[e])},updateBounds:function(t,e,i,n){let s=(0,r.c)().journey,a=this,l=0;this.sequenceItems.forEach(function(r){l++;let o=a.sequenceItems.length-l+1;a.updateVal(r,"starty",e-o*s.boxMargin,Math.min),a.updateVal(r,"stopy",n+o*s.boxMargin,Math.max),a.updateVal($.data,"startx",t-o*s.boxMargin,Math.min),a.updateVal($.data,"stopx",i+o*s.boxMargin,Math.max),a.updateVal(r,"startx",t-o*s.boxMargin,Math.min),a.updateVal(r,"stopx",i+o*s.boxMargin,Math.max),a.updateVal($.data,"starty",e-o*s.boxMargin,Math.min),a.updateVal($.data,"stopy",n+o*s.boxMargin,Math.max)})},insert:function(t,e,i,r){let n=Math.min(t,i),s=Math.max(t,i),a=Math.min(e,r),l=Math.max(e,r);this.updateVal($.data,"startx",n,Math.min),this.updateVal($.data,"starty",a,Math.min),this.updateVal($.data,"stopx",s,Math.max),this.updateVal($.data,"stopy",l,Math.max),this.updateBounds(n,a,s,l)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},w=b.sectionFills,M=b.sectionColours,T=function(t,e,i){let n=(0,r.c)().journey,s="",a=i+(2*n.height+n.diagramMarginY),l=0,o="#CCC",c="black",h=0;for(let[i,r]of e.entries()){if(s!==r.section){o=w[l%w.length],h=l%w.length,c=M[l%M.length];let a=0,u=r.section;for(let t=i;t(_[e]&&(t[e]=_[e]),t),{});r.x=i*n.taskMargin+i*n.width+v,r.y=a,r.width=n.diagramMarginX,r.height=n.diagramMarginY,r.colour=c,r.fill=o,r.num=h,r.actors=u,k.drawTask(t,r,n),$.insert(r.x,r.y,r.x+r.width+n.taskMargin,450)}},E={setConf:function(t){Object.keys(t).forEach(function(e){b[e]=t[e]})},draw:function(t,e,i,s){let a;let l=(0,r.c)().journey,o=(0,r.c)().securityLevel;"sandbox"===o&&(a=(0,n.Ys)("#i"+e));let c="sandbox"===o?(0,n.Ys)(a.nodes()[0].contentDocument.body):(0,n.Ys)("body");$.init();let h=c.select("#"+e);k.initGraphics(h);let u=s.db.getTasks(),y=s.db.getDiagramTitle(),p=s.db.getActors();for(let t in _)delete _[t];let d=0;p.forEach(t=>{_[t]={color:l.actorColours[d%l.actorColours.length],position:d},d++}),function(t){let e=(0,r.c)().journey,i=60;Object.keys(_).forEach(r=>{let n=_[r].color,s={cx:20,cy:i,r:7,fill:n,stroke:"#000",pos:_[r].position};k.drawCircle(t,s);let a={x:40,y:i+7,fill:"#666",text:r,textMargin:5|e.boxTextMargin};k.drawText(t,a),i+=20})}(h),$.insert(0,0,v,50*Object.keys(_).length),T(h,u,0);let f=$.getBounds();y&&h.append("text").text(y).attr("x",v).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);let g=f.stopy-f.starty+2*l.diagramMarginY,x=v+f.stopx+2*l.diagramMarginX;(0,r.i)(h,g,x,l.useMaxWidth),h.append("line").attr("x1",v).attr("y1",4*l.height).attr("x2",x-v-4).attr("y2",4*l.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");let m=y?70:0;h.attr("viewBox",`${f.startx} -25 ${x} ${g+m}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",g+m+25)}},S={parser:a,db:p,renderer:E,styles:t=>`.label { font-family: 'trebuchet ms', verdana, arial, sans-serif; font-family: var(--mermaid-font-family); color: ${t.textColor}; @@ -131,4 +131,4 @@ .actor-5 { ${t.actor5?`fill: ${t.actor5}`:""}; } -`,init:t=>{S.setConf(t.journey),p.clear()}}},15990:function(t,e,i){i.d(e,{a:function(){return a},b:function(){return c},c:function(){return o},d:function(){return s},e:function(){return u},f:function(){return l},g:function(){return h}});var r=i(91088),n=i(71421);let s=(t,e)=>{let i=t.append("rect");if(i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),void 0!==e.rx&&i.attr("rx",e.rx),void 0!==e.ry&&i.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)i.attr(t,e.attrs[t]);return void 0!==e.class&&i.attr("class",e.class),i},a=(t,e)=>{s(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},l=(t,e)=>{let i=e.text.replace(n.H," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.attr("class","legend"),r.style("text-anchor",e.anchor),void 0!==e.class&&r.attr("class",e.class);let s=r.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(i),r},o=(t,e,i,n)=>{let s=t.append("image");s.attr("x",e),s.attr("y",i);let a=(0,r.Nm)(n);s.attr("xlink:href",a)},c=(t,e,i,n)=>{let s=t.append("use");s.attr("x",e),s.attr("y",i);let a=(0,r.Nm)(n);s.attr("xlink:href",`#${a}`)},h=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),u=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})}}]); \ No newline at end of file +`,init:t=>{E.setConf(t.journey),p.clear()}}},15990:function(t,e,i){i.d(e,{a:function(){return a},b:function(){return c},c:function(){return o},d:function(){return s},e:function(){return u},f:function(){return l},g:function(){return h}});var r=i(91088),n=i(71421);let s=(t,e)=>{let i=t.append("rect");if(i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),void 0!==e.rx&&i.attr("rx",e.rx),void 0!==e.ry&&i.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)i.attr(t,e.attrs[t]);return void 0!==e.class&&i.attr("class",e.class),i},a=(t,e)=>{s(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},l=(t,e)=>{let i=e.text.replace(n.H," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.attr("class","legend"),r.style("text-anchor",e.anchor),void 0!==e.class&&r.attr("class",e.class);let s=r.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(i),r},o=(t,e,i,n)=>{let s=t.append("image");s.attr("x",e),s.attr("y",i);let a=(0,r.Nm)(n);s.attr("xlink:href",a)},c=(t,e,i,n)=>{let s=t.append("use");s.attr("x",e),s.attr("y",i);let a=(0,r.Nm)(n);s.attr("xlink:href",`#${a}`)},h=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),u=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})}}]); \ No newline at end of file diff --git a/_next/static/chunks/422.b78eb181a9e93d2f.js b/_next/static/chunks/422.b78eb181a9e93d2f.js new file mode 100644 index 0000000..7d9705b --- /dev/null +++ b/_next/static/chunks/422.b78eb181a9e93d2f.js @@ -0,0 +1,5 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[422],{35422:function(t,e,a){a.d(e,{diagram:function(){return $}});var n,i=a(71421),s=a(27509),r=a(15990),l=a(91088);a(5726),a(95591);var o=function(){var t=function(t,e,a,n){for(a=a||{},n=t.length;n--;a[t[n]]=e);return a},e=[1,24],a=[1,25],n=[1,26],i=[1,27],s=[1,28],r=[1,63],l=[1,64],o=[1,65],h=[1,66],d=[1,67],u=[1,68],p=[1,69],y=[1,29],f=[1,30],b=[1,31],g=[1,32],x=[1,33],_=[1,34],m=[1,35],E=[1,36],A=[1,37],S=[1,38],C=[1,39],k=[1,40],O=[1,41],w=[1,42],v=[1,43],T=[1,44],R=[1,45],D=[1,46],N=[1,47],P=[1,48],M=[1,50],j=[1,51],B=[1,52],Y=[1,53],L=[1,54],I=[1,55],U=[1,56],F=[1,57],X=[1,58],z=[1,59],Q=[1,60],W=[14,42],$=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],q=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],V=[1,82],H=[1,83],G=[1,84],K=[1,85],J=[12,14,42],Z=[12,14,33,42],tt=[12,14,33,42,76,77,79,80],te=[12,33],ta=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],tn={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(t,e,a,n,i,s,r){var l=s.length-1;switch(i){case 3:n.setDirection("TB");break;case 4:n.setDirection("BT");break;case 5:n.setDirection("RL");break;case 6:n.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:n.setC4Type(s[l-3]);break;case 19:n.setTitle(s[l].substring(6)),this.$=s[l].substring(6);break;case 20:n.setAccDescription(s[l].substring(15)),this.$=s[l].substring(15);break;case 21:this.$=s[l].trim(),n.setTitle(this.$);break;case 22:case 23:this.$=s[l].trim(),n.setAccDescription(this.$);break;case 28:case 29:s[l].splice(2,0,"ENTERPRISE"),n.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 30:n.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 31:s[l].splice(2,0,"CONTAINER"),n.addContainerBoundary(...s[l]),this.$=s[l];break;case 32:n.addDeploymentNode("node",...s[l]),this.$=s[l];break;case 33:n.addDeploymentNode("nodeL",...s[l]),this.$=s[l];break;case 34:n.addDeploymentNode("nodeR",...s[l]),this.$=s[l];break;case 35:n.popBoundaryParseStack();break;case 39:n.addPersonOrSystem("person",...s[l]),this.$=s[l];break;case 40:n.addPersonOrSystem("external_person",...s[l]),this.$=s[l];break;case 41:n.addPersonOrSystem("system",...s[l]),this.$=s[l];break;case 42:n.addPersonOrSystem("system_db",...s[l]),this.$=s[l];break;case 43:n.addPersonOrSystem("system_queue",...s[l]),this.$=s[l];break;case 44:n.addPersonOrSystem("external_system",...s[l]),this.$=s[l];break;case 45:n.addPersonOrSystem("external_system_db",...s[l]),this.$=s[l];break;case 46:n.addPersonOrSystem("external_system_queue",...s[l]),this.$=s[l];break;case 47:n.addContainer("container",...s[l]),this.$=s[l];break;case 48:n.addContainer("container_db",...s[l]),this.$=s[l];break;case 49:n.addContainer("container_queue",...s[l]),this.$=s[l];break;case 50:n.addContainer("external_container",...s[l]),this.$=s[l];break;case 51:n.addContainer("external_container_db",...s[l]),this.$=s[l];break;case 52:n.addContainer("external_container_queue",...s[l]),this.$=s[l];break;case 53:n.addComponent("component",...s[l]),this.$=s[l];break;case 54:n.addComponent("component_db",...s[l]),this.$=s[l];break;case 55:n.addComponent("component_queue",...s[l]),this.$=s[l];break;case 56:n.addComponent("external_component",...s[l]),this.$=s[l];break;case 57:n.addComponent("external_component_db",...s[l]),this.$=s[l];break;case 58:n.addComponent("external_component_queue",...s[l]),this.$=s[l];break;case 60:n.addRel("rel",...s[l]),this.$=s[l];break;case 61:n.addRel("birel",...s[l]),this.$=s[l];break;case 62:n.addRel("rel_u",...s[l]),this.$=s[l];break;case 63:n.addRel("rel_d",...s[l]),this.$=s[l];break;case 64:n.addRel("rel_l",...s[l]),this.$=s[l];break;case 65:n.addRel("rel_r",...s[l]),this.$=s[l];break;case 66:n.addRel("rel_b",...s[l]),this.$=s[l];break;case 67:s[l].splice(0,1),n.addRel("rel",...s[l]),this.$=s[l];break;case 68:n.updateElStyle("update_el_style",...s[l]),this.$=s[l];break;case 69:n.updateRelStyle("update_rel_style",...s[l]),this.$=s[l];break;case 70:n.updateLayoutConfig("update_layout_config",...s[l]),this.$=s[l];break;case 71:this.$=[s[l]];break;case 72:s[l].unshift(s[l-1]),this.$=s[l];break;case 73:case 75:this.$=s[l].trim();break;case 74:let o={};o[s[l-1].trim()]=s[l].trim(),this.$=o;break;case 76:this.$=""}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{13:70,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{13:71,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{13:72,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{13:73,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{14:[1,74]},t(W,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:l,37:o,38:h,39:d,40:u,41:p,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q}),t(W,[2,14]),t($,[2,16],{12:[1,76]}),t(W,[2,36],{12:[1,77]}),t(q,[2,19]),t(q,[2,20]),{25:[1,78]},{27:[1,79]},t(q,[2,23]),{35:80,75:81,76:V,77:H,79:G,80:K},{35:86,75:81,76:V,77:H,79:G,80:K},{35:87,75:81,76:V,77:H,79:G,80:K},{35:88,75:81,76:V,77:H,79:G,80:K},{35:89,75:81,76:V,77:H,79:G,80:K},{35:90,75:81,76:V,77:H,79:G,80:K},{35:91,75:81,76:V,77:H,79:G,80:K},{35:92,75:81,76:V,77:H,79:G,80:K},{35:93,75:81,76:V,77:H,79:G,80:K},{35:94,75:81,76:V,77:H,79:G,80:K},{35:95,75:81,76:V,77:H,79:G,80:K},{35:96,75:81,76:V,77:H,79:G,80:K},{35:97,75:81,76:V,77:H,79:G,80:K},{35:98,75:81,76:V,77:H,79:G,80:K},{35:99,75:81,76:V,77:H,79:G,80:K},{35:100,75:81,76:V,77:H,79:G,80:K},{35:101,75:81,76:V,77:H,79:G,80:K},{35:102,75:81,76:V,77:H,79:G,80:K},{35:103,75:81,76:V,77:H,79:G,80:K},{35:104,75:81,76:V,77:H,79:G,80:K},t(J,[2,59]),{35:105,75:81,76:V,77:H,79:G,80:K},{35:106,75:81,76:V,77:H,79:G,80:K},{35:107,75:81,76:V,77:H,79:G,80:K},{35:108,75:81,76:V,77:H,79:G,80:K},{35:109,75:81,76:V,77:H,79:G,80:K},{35:110,75:81,76:V,77:H,79:G,80:K},{35:111,75:81,76:V,77:H,79:G,80:K},{35:112,75:81,76:V,77:H,79:G,80:K},{35:113,75:81,76:V,77:H,79:G,80:K},{35:114,75:81,76:V,77:H,79:G,80:K},{35:115,75:81,76:V,77:H,79:G,80:K},{20:116,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{12:[1,118],33:[1,117]},{35:119,75:81,76:V,77:H,79:G,80:K},{35:120,75:81,76:V,77:H,79:G,80:K},{35:121,75:81,76:V,77:H,79:G,80:K},{35:122,75:81,76:V,77:H,79:G,80:K},{35:123,75:81,76:V,77:H,79:G,80:K},{35:124,75:81,76:V,77:H,79:G,80:K},{35:125,75:81,76:V,77:H,79:G,80:K},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(W,[2,15]),t($,[2,17],{21:22,19:130,22:e,23:a,24:n,26:i,28:s}),t(W,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:n,26:i,28:s,34:r,36:l,37:o,38:h,39:d,40:u,41:p,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q}),t(q,[2,21]),t(q,[2,22]),t(J,[2,39]),t(Z,[2,71],{75:81,35:132,76:V,77:H,79:G,80:K}),t(tt,[2,73]),{78:[1,133]},t(tt,[2,75]),t(tt,[2,76]),t(J,[2,40]),t(J,[2,41]),t(J,[2,42]),t(J,[2,43]),t(J,[2,44]),t(J,[2,45]),t(J,[2,46]),t(J,[2,47]),t(J,[2,48]),t(J,[2,49]),t(J,[2,50]),t(J,[2,51]),t(J,[2,52]),t(J,[2,53]),t(J,[2,54]),t(J,[2,55]),t(J,[2,56]),t(J,[2,57]),t(J,[2,58]),t(J,[2,60]),t(J,[2,61]),t(J,[2,62]),t(J,[2,63]),t(J,[2,64]),t(J,[2,65]),t(J,[2,66]),t(J,[2,67]),t(J,[2,68]),t(J,[2,69]),t(J,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(te,[2,28]),t(te,[2,29]),t(te,[2,30]),t(te,[2,31]),t(te,[2,32]),t(te,[2,33]),t(te,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t($,[2,18]),t(W,[2,38]),t(Z,[2,72]),t(tt,[2,74]),t(J,[2,24]),t(J,[2,35]),t(ta,[2,25]),t(ta,[2,26],{12:[1,138]}),t(ta,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=e,a}},parse:function(t){var e=this,a=[0],n=[],i=[null],s=[],r=this.table,l="",o=0,h=0,d=s.slice.call(arguments,1),u=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);u.setInput(t,p.yy),p.yy.lexer=u,p.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var f=u.yylloc;s.push(f);var b=u.options&&u.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,x,_,m,E,A,S,C,k={};;){if(x=a[a.length-1],this.defaultActions[x]?_=this.defaultActions[x]:(null==g&&(g=function(){var t;return"number"!=typeof(t=n.pop()||u.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}()),_=r[x]&&r[x][g]),void 0===_||!_.length||!_[0]){var O="";for(E in C=[],r[x])this.terminals_[E]&&E>2&&C.push("'"+this.terminals_[E]+"'");O=u.showPosition?"Parse error on line "+(o+1)+":\n"+u.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(O,{text:u.match,token:this.terminals_[g]||g,line:u.yylineno,loc:f,expected:C})}if(_[0]instanceof Array&&_.length>1)throw Error("Parse Error: multiple actions possible at state: "+x+", token: "+g);switch(_[0]){case 1:a.push(g),i.push(u.yytext),s.push(u.yylloc),a.push(_[1]),g=null,h=u.yyleng,l=u.yytext,o=u.yylineno,f=u.yylloc;break;case 2:if(A=this.productions_[_[1]][1],k.$=i[i.length-A],k._$={first_line:s[s.length-(A||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(A||1)].first_column,last_column:s[s.length-1].last_column},b&&(k._$.range=[s[s.length-(A||1)].range[0],s[s.length-1].range[1]]),void 0!==(m=this.performAction.apply(k,[l,h,o,p.yy,_[1],i,s].concat(d))))return m;A&&(a=a.slice(0,-1*A*2),i=i.slice(0,-1*A),s=s.slice(0,-1*A)),a.push(this.productions_[_[1]][0]),i.push(k.$),s.push(k._$),S=r[a[a.length-2]][a[a.length-1]],a.push(S);break;case 3:return!0}}return!0}};function ti(){this.yy={}}return tn.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===n.length?this.yylloc.first_column:0)+n[n.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var a,n,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack)for(var s in i)this[s]=i[s];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,a,n,i=this._currentRules(),s=0;se[0].length)){if(e=a,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,i[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,a,n){switch(a){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}},ti.prototype=tn,tn.Parser=ti,new ti}();o.parser=o;let h=[],d=[""],u="global",p="",y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],f=[],b="",g=!1,x=4,_=2,m=function(t){return null==t?h:h.filter(e=>e.parentBoundary===t)},E=function(){return g},A={addPersonOrSystem:function(t,e,a,n,i,s,r){if(null===e||null===a)return;let l={},o=h.find(t=>t.alias===e);if(o&&e===o.alias?l=o:(l.alias=e,h.push(l)),null==a?l.label={text:""}:l.label={text:a},null==n)l.descr={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.descr={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.sprite=i;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.tags=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.link=r;l.typeC4Shape={text:t},l.parentBoundary=u,l.wrap=E()},addPersonOrSystemBoundary:function(t,e,a,n,i){if(null===t||null===e)return;let s={},r=y.find(e=>e.alias===t);if(r&&t===r.alias?s=r:(s.alias=t,y.push(s)),null==e?s.label={text:""}:s.label={text:e},null==a)s.type={text:"system"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]={text:e}}else s.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=e}else s.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.link=i;s.parentBoundary=u,s.wrap=E(),p=u,u=t,d.push(p)},addContainer:function(t,e,a,n,i,s,r,l){if(null===e||null===a)return;let o={},d=h.find(t=>t.alias===e);if(d&&e===d.alias?o=d:(o.alias=e,h.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=E(),o.typeC4Shape={text:t},o.parentBoundary=u},addContainerBoundary:function(t,e,a,n,i){if(null===t||null===e)return;let s={},r=y.find(e=>e.alias===t);if(r&&t===r.alias?s=r:(s.alias=t,y.push(s)),null==e?s.label={text:""}:s.label={text:e},null==a)s.type={text:"container"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]={text:e}}else s.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]=e}else s.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.link=i;s.parentBoundary=u,s.wrap=E(),p=u,u=t,d.push(p)},addComponent:function(t,e,a,n,i,s,r,l){if(null===e||null===a)return;let o={},d=h.find(t=>t.alias===e);if(d&&e===d.alias?o=d:(o.alias=e,h.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=E(),o.typeC4Shape={text:t},o.parentBoundary=u},addDeploymentNode:function(t,e,a,n,i,s,r,l){if(null===e||null===a)return;let o={},h=y.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,y.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.type={text:"node"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.type={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=u,o.wrap=E(),p=u,u=e,d.push(p)},popBoundaryParseStack:function(){u=p,d.pop(),p=d.pop(),d.push(p)},addRel:function(t,e,a,n,i,s,r,l,o){if(null==t||null==e||null==a||null==n)return;let h={},d=f.find(t=>t.from===e&&t.to===a);if(d?h=d:f.push(h),h.type=t,h.from=e,h.to=a,h.label={text:n},null==i)h.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];h[t]={text:e}}else h.techn={text:i};if(null==s)h.descr={text:""};else if("object"==typeof s){let[t,e]=Object.entries(s)[0];h[t]={text:e}}else h.descr={text:s};if("object"==typeof r){let[t,e]=Object.entries(r)[0];h[t]=e}else h.sprite=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];h[t]=e}else h.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];h[t]=e}else h.link=o;h.wrap=E()},updateElStyle:function(t,e,a,n,i,s,r,l,o,d,u){let p=h.find(t=>t.alias===e);if(void 0!==p||void 0!==(p=y.find(t=>t.alias===e))){if(null!=a){if("object"==typeof a){let[t,e]=Object.entries(a)[0];p[t]=e}else p.bgColor=a}if(null!=n){if("object"==typeof n){let[t,e]=Object.entries(n)[0];p[t]=e}else p.fontColor=n}if(null!=i){if("object"==typeof i){let[t,e]=Object.entries(i)[0];p[t]=e}else p.borderColor=i}if(null!=s){if("object"==typeof s){let[t,e]=Object.entries(s)[0];p[t]=e}else p.shadowing=s}if(null!=r){if("object"==typeof r){let[t,e]=Object.entries(r)[0];p[t]=e}else p.shape=r}if(null!=l){if("object"==typeof l){let[t,e]=Object.entries(l)[0];p[t]=e}else p.sprite=l}if(null!=o){if("object"==typeof o){let[t,e]=Object.entries(o)[0];p[t]=e}else p.techn=o}if(null!=d){if("object"==typeof d){let[t,e]=Object.entries(d)[0];p[t]=e}else p.legendText=d}if(null!=u){if("object"==typeof u){let[t,e]=Object.entries(u)[0];p[t]=e}else p.legendSprite=u}}},updateRelStyle:function(t,e,a,n,i,s,r){let l=f.find(t=>t.from===e&&t.to===a);if(void 0!==l){if(null!=n){if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]=e}else l.textColor=n}if(null!=i){if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.lineColor=i}if(null!=s){if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(s)}if(null!=r){if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(r)}}},updateLayoutConfig:function(t,e,a){let n=x,i=_;n="object"==typeof e?parseInt(Object.values(e)[0]):parseInt(e),i="object"==typeof a?parseInt(Object.values(a)[0]):parseInt(a),n>=1&&(x=n),i>=1&&(_=i)},autoWrap:E,setWrap:function(t){g=t},getC4ShapeArray:m,getC4Shape:function(t){return h.find(e=>e.alias===t)},getC4ShapeKeys:function(t){return Object.keys(m(t))},getBoundarys:function(t){return null==t?y:y.filter(e=>e.parentBoundary===t)},getCurrentBoundaryParse:function(){return u},getParentBoundaryParse:function(){return p},getRels:function(){return f},getTitle:function(){return b},getC4Type:function(){return n},getC4ShapeInRow:function(){return x},getC4BoundaryInRow:function(){return _},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,getConfig:()=>(0,i.c)().c4,clear:function(){h=[],y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],p="",u="global",d=[""],f=[],d=[""],b="",g=!1,x=4,_=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(t){b=(0,i.d)(t,(0,i.c)())},setC4Type:function(t){n=(0,i.d)(t,(0,i.c)())}},S=function(t,e){return(0,r.d)(t,e)},C=function(t,e,a,n,i,s){let r=t.append("image");r.attr("width",e),r.attr("height",a),r.attr("x",n),r.attr("y",i);let o=s.startsWith("data:image/png;base64")?s:(0,l.Nm)(s);r.attr("xlink:href",o)},k=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),O=function(){function t(t,e,a,i,s,r,l){n(e.append("text").attr("x",a+s/2).attr("y",i+r/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,a,s,r,l,o,h){let{fontSize:d,fontFamily:u,fontWeight:p}=h,y=t.split(i.e.lineBreakRegex);for(let t=0;t>"),e.typeC4Shape.text){case"person":case"external_person":C(h,48,48,e.x+e.width/2-24,e.y+e.image.Y,o)}let p=a[e.typeC4Shape.text+"Font"]();return p.fontWeight="bold",p.fontSize=p.fontSize+2,p.fontColor=l,O(a)(e.label.text,h,e.x,e.y+e.label.Y,e.width,e.height,{fill:l},p),(p=a[e.typeC4Shape.text+"Font"]()).fontColor=l,e.techn&&(null==(n=e.techn)?void 0:n.text)!==""?O(a)(e.techn.text,h,e.x,e.y+e.techn.Y,e.width,e.height,{fill:l,"font-style":"italic"},p):e.type&&""!==e.type.text&&O(a)(e.type.text,h,e.x,e.y+e.type.Y,e.width,e.height,{fill:l,"font-style":"italic"},p),e.descr&&""!==e.descr.text&&((p=a.personFont()).fontColor=l,O(a)(e.descr.text,h,e.x,e.y+e.descr.Y,e.width,e.height,{fill:l},p)),e.height},drawRels:(t,e,a)=>{let n=t.append("g"),i=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",s=t.lineColor?t.lineColor:"#444444",r=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0;if(0===i){let e=n.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",s),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)"),i=-1}else{let e=n.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)")}let o=a.messageFont();O(a)(t.label.text,n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},o),t.techn&&""!==t.techn.text&&(o=a.messageFont(),O(a)("["+t.techn.text+"]",n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+a.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},o))}},insertArrowHead:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},insertArrowEnd:function(t){t.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},insertArrowFilledHead:function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},insertArrowCrossHead:function(t){let e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),e.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},insertDatabaseIcon:function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},insertComputerIcon:function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},insertClockIcon:function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")}},v=0,T=0,R=4,D=2;o.yy=A;let N={};class P{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,M(t.db.getConfig())}setData(t,e,a,n){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=a,this.nextData.stopy=this.data.stopy=n}updateVal(t,e,a,n){void 0===t[e]?t[e]=a:t[e]=n(a,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,a=e+t.width,n=this.nextData.starty+2*t.margin,i=n+t.height;(e>=this.data.widthLimit||a>=this.data.widthLimit||this.nextData.cnt>R)&&(e=this.nextData.startx+t.margin+N.nextLinePaddingX,n=this.nextData.stopy+2*t.margin,this.nextData.stopx=a=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=n+t.height,this.nextData.cnt=1),t.x=e,t.y=n,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",n,Math.min),this.updateVal(this.data,"stopx",a,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",n,Math.min),this.updateVal(this.nextData,"stopx",a,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},M(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}let M=function(t){(0,i.f)(N,t),t.fontFamily&&(N.personFontFamily=N.systemFontFamily=N.messageFontFamily=t.fontFamily),t.fontSize&&(N.personFontSize=N.systemFontSize=N.messageFontSize=t.fontSize),t.fontWeight&&(N.personFontWeight=N.systemFontWeight=N.messageFontWeight=t.fontWeight)},j=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),B=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),Y=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight});function L(t,e,a,n,s){if(!e[t].width){if(a)e[t].text=(0,i.w)(e[t].text,s,n),e[t].textLines=e[t].text.split(i.e.lineBreakRegex).length,e[t].width=s,e[t].height=(0,i.j)(e[t].text,n);else{let a=e[t].text.split(i.e.lineBreakRegex);e[t].textLines=a.length;let s=0;for(let r of(e[t].height=0,e[t].width=0,a))e[t].width=Math.max((0,i.h)(r,n),e[t].width),s=(0,i.j)(r,n),e[t].height=e[t].height+s}}}let I=function(t,e,a){e.x=a.data.startx,e.y=a.data.starty,e.width=a.data.stopx-a.data.startx,e.height=a.data.stopy-a.data.starty,e.label.y=N.c4ShapeMargin-35;let n=e.wrap&&N.wrap,s=B(N);s.fontSize=s.fontSize+2,s.fontWeight="bold";let r=(0,i.h)(e.label.text,s);L("label",e,n,s,r),w.drawBoundary(t,e,N)},U=function(t,e,a,n){let s=0;for(let r of n){s=0;let n=a[r],l=j(N,n.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,n.typeC4Shape.width=(0,i.h)("\xab"+n.typeC4Shape.text+"\xbb",l),n.typeC4Shape.height=l.fontSize+2,n.typeC4Shape.Y=N.c4ShapePadding,s=n.typeC4Shape.Y+n.typeC4Shape.height-4,n.image={width:0,height:0,Y:0},n.typeC4Shape.text){case"person":case"external_person":n.image.width=48,n.image.height=48,n.image.Y=s,s=n.image.Y+n.image.height}n.sprite&&(n.image.width=48,n.image.height=48,n.image.Y=s,s=n.image.Y+n.image.height);let o=n.wrap&&N.wrap,h=N.width-2*N.c4ShapePadding,d=j(N,n.typeC4Shape.text);if(d.fontSize=d.fontSize+2,d.fontWeight="bold",L("label",n,o,d,h),n.label.Y=s+8,s=n.label.Y+n.label.height,n.type&&""!==n.type.text){n.type.text="["+n.type.text+"]";let t=j(N,n.typeC4Shape.text);L("type",n,o,t,h),n.type.Y=s+5,s=n.type.Y+n.type.height}else if(n.techn&&""!==n.techn.text){n.techn.text="["+n.techn.text+"]";let t=j(N,n.techn.text);L("techn",n,o,t,h),n.techn.Y=s+5,s=n.techn.Y+n.techn.height}let u=s,p=n.label.width;if(n.descr&&""!==n.descr.text){let t=j(N,n.typeC4Shape.text);L("descr",n,o,t,h),n.descr.Y=s+20,s=n.descr.Y+n.descr.height,p=Math.max(n.label.width,n.descr.width),u=s-5*n.descr.textLines}p+=N.c4ShapePadding,n.width=Math.max(n.width||N.width,p,N.width),n.height=Math.max(n.height||N.height,u,N.height),n.margin=n.margin||N.c4ShapeMargin,t.insert(n),w.drawC4Shape(e,n,N)}t.bumpLastMargin(N.c4ShapeMargin)};class F{constructor(t,e){this.x=t,this.y=e}}let X=function(t,e){let a=t.x,n=t.y,i=e.x,s=e.y,r=a+t.width/2,l=n+t.height/2,o=Math.abs(a-i),h=Math.abs(n-s),d=h/o,u=t.height/t.width,p=null;return n==s&&ai?p=new F(a,l):a==i&&ns&&(p=new F(r,n)),a>i&&n=d?new F(a,l+d*t.width/2):new F(r-o/h*t.height/2,n+t.height):a=d?new F(a+t.width,l+d*t.width/2):new F(r+o/h*t.height/2,n+t.height):as?p=u>=d?new F(a+t.width,l-d*t.width/2):new F(r+t.height/2*o/h,n):a>i&&n>s&&(p=u>=d?new F(a,l-t.width/2*d):new F(r-t.height/2*o/h,n)),p},z=function(t,e){let a={x:0,y:0};a.x=e.x+e.width/2,a.y=e.y+e.height/2;let n=X(t,a);return a.x=t.x+t.width/2,a.y=t.y+t.height/2,{startPoint:n,endPoint:X(e,a)}},Q=function(t,e,a,n){let s=0;for(let t of e){s+=1;let e=t.wrap&&N.wrap,r=Y(N);"C4Dynamic"===n.db.getC4Type()&&(t.label.text=s+": "+t.label.text);let l=(0,i.h)(t.label.text,r);L("label",t,e,r,l),t.techn&&""!==t.techn.text&&(l=(0,i.h)(t.techn.text,r),L("techn",t,e,r,l)),t.descr&&""!==t.descr.text&&(l=(0,i.h)(t.descr.text,r),L("descr",t,e,r,l));let o=z(a(t.from),a(t.to));t.startPoint=o.startPoint,t.endPoint=o.endPoint}w.drawRels(t,e,N)},W={drawPersonOrSystemArray:U,drawBoundary:I,setConf:M,draw:function(t,e,a,n){let r;N=(0,i.c)().c4;let l=(0,i.c)().securityLevel;"sandbox"===l&&(r=(0,s.Ys)("#i"+e));let o="sandbox"===l?(0,s.Ys)(r.nodes()[0].contentDocument.body):(0,s.Ys)("body"),h=n.db;n.db.setWrap(N.wrap),R=h.getC4ShapeInRow(),D=h.getC4BoundaryInRow(),i.l.debug(`C:${JSON.stringify(N,null,2)}`);let d="sandbox"===l?o.select(`[id="${e}"]`):(0,s.Ys)(`[id="${e}"]`);w.insertComputerIcon(d),w.insertDatabaseIcon(d),w.insertClockIcon(d);let u=new P(n);u.setData(N.diagramMarginX,N.diagramMarginX,N.diagramMarginY,N.diagramMarginY),u.data.widthLimit=screen.availWidth,v=N.diagramMarginX,T=N.diagramMarginY;let p=n.db.getTitle();!function t(e,a,n,i,s){let r=new P(s);for(let[l,o]of(r.data.widthLimit=n.data.widthLimit/Math.min(D,i.length),i.entries())){let i=0;o.image={width:0,height:0,Y:0},o.sprite&&(o.image.width=48,o.image.height=48,o.image.Y=i,i=o.image.Y+o.image.height);let h=o.wrap&&N.wrap,d=B(N);if(d.fontSize=d.fontSize+2,d.fontWeight="bold",L("label",o,h,d,r.data.widthLimit),o.label.Y=i+8,i=o.label.Y+o.label.height,o.type&&""!==o.type.text&&(o.type.text="["+o.type.text+"]",L("type",o,h,B(N),r.data.widthLimit),o.type.Y=i+5,i=o.type.Y+o.type.height),o.descr&&""!==o.descr.text){let t=B(N);t.fontSize=t.fontSize-2,L("descr",o,h,t,r.data.widthLimit),o.descr.Y=i+20,i=o.descr.Y+o.descr.height}if(0==l||l%D==0){let t=n.data.startx+N.diagramMarginX,e=n.data.stopy+N.diagramMarginY+i;r.setData(t,t,e,e)}else{let t=r.data.stopx!==r.data.startx?r.data.stopx+N.diagramMarginX:r.data.startx,e=r.data.starty;r.setData(t,t,e,e)}r.name=o.alias;let u=s.db.getC4ShapeArray(o.alias),p=s.db.getC4ShapeKeys(o.alias);p.length>0&&U(r,e,u,p),a=o.alias;let y=s.db.getBoundarys(a);y.length>0&&t(e,a,r,y,s),"global"!==o.alias&&I(e,o,r),n.data.stopy=Math.max(r.data.stopy+N.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(r.data.stopx+N.c4ShapeMargin,n.data.stopx),v=Math.max(v,n.data.stopx),T=Math.max(T,n.data.stopy)}}(d,"",u,n.db.getBoundarys(""),n),w.insertArrowHead(d),w.insertArrowEnd(d),w.insertArrowCrossHead(d),w.insertArrowFilledHead(d),Q(d,n.db.getRels(),n.db.getC4Shape,n),u.data.stopx=v,u.data.stopy=T;let y=u.data,f=y.stopy-y.starty+2*N.diagramMarginY,b=y.stopx-y.startx+2*N.diagramMarginX;p&&d.append("text").text(p).attr("x",(y.stopx-y.startx)/2-4*N.diagramMarginX).attr("y",y.starty+N.diagramMarginY),(0,i.i)(d,f,b,N.useMaxWidth);let g=p?60:0;d.attr("viewBox",y.startx-N.diagramMarginX+" -"+(N.diagramMarginY+g)+" "+b+" "+(f+g)),i.l.debug("models:",y)}},$={parser:o,db:A,renderer:W,styles:t=>`.person { + stroke: ${t.personBorder}; + fill: ${t.personBkg}; + } +`,init:({c4:t,wrap:e})=>{W.setConf(t),A.setWrap(e)}}},15990:function(t,e,a){a.d(e,{a:function(){return r},b:function(){return h},c:function(){return o},d:function(){return s},e:function(){return u},f:function(){return l},g:function(){return d}});var n=a(91088),i=a(71421);let s=(t,e)=>{let a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),void 0!==e.rx&&a.attr("rx",e.rx),void 0!==e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return void 0!==e.class&&a.attr("class",e.class),a},r=(t,e)=>{s(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},l=(t,e)=>{let a=e.text.replace(i.H," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),void 0!==e.class&&n.attr("class",e.class);let s=n.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(a),n},o=(t,e,a,i)=>{let s=t.append("image");s.attr("x",e),s.attr("y",a);let r=(0,n.Nm)(i);s.attr("xlink:href",r)},h=(t,e,a,i)=>{let s=t.append("use");s.attr("x",e),s.attr("y",a);let r=(0,n.Nm)(i);s.attr("xlink:href",`#${r}`)},d=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),u=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})}}]); \ No newline at end of file diff --git a/_next/static/chunks/422.bf714f6fd1c9652f.js b/_next/static/chunks/422.bf714f6fd1c9652f.js deleted file mode 100644 index fe3adcb..0000000 --- a/_next/static/chunks/422.bf714f6fd1c9652f.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[422],{35422:function(t,e,a){a.d(e,{diagram:function(){return $}});var n,i=a(71421),r=a(27509),s=a(15990),l=a(91088);a(5726),a(95591);var o=function(){var t=function(t,e,a,n){for(a=a||{},n=t.length;n--;a[t[n]]=e);return a},e=[1,24],a=[1,25],n=[1,26],i=[1,27],r=[1,28],s=[1,63],l=[1,64],o=[1,65],h=[1,66],d=[1,67],u=[1,68],p=[1,69],y=[1,29],f=[1,30],b=[1,31],g=[1,32],x=[1,33],_=[1,34],m=[1,35],E=[1,36],A=[1,37],S=[1,38],C=[1,39],k=[1,40],O=[1,41],w=[1,42],v=[1,43],T=[1,44],R=[1,45],D=[1,46],N=[1,47],P=[1,48],M=[1,50],j=[1,51],B=[1,52],Y=[1,53],L=[1,54],I=[1,55],U=[1,56],F=[1,57],X=[1,58],z=[1,59],Q=[1,60],W=[14,42],$=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],q=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],V=[1,82],H=[1,83],G=[1,84],K=[1,85],J=[12,14,42],Z=[12,14,33,42],tt=[12,14,33,42,76,77,79,80],te=[12,33],ta=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],tn={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(t,e,a,n,i,r,s){var l=r.length-1;switch(i){case 3:n.setDirection("TB");break;case 4:n.setDirection("BT");break;case 5:n.setDirection("RL");break;case 6:n.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:n.setC4Type(r[l-3]);break;case 19:n.setTitle(r[l].substring(6)),this.$=r[l].substring(6);break;case 20:n.setAccDescription(r[l].substring(15)),this.$=r[l].substring(15);break;case 21:this.$=r[l].trim(),n.setTitle(this.$);break;case 22:case 23:this.$=r[l].trim(),n.setAccDescription(this.$);break;case 28:case 29:r[l].splice(2,0,"ENTERPRISE"),n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 30:n.addPersonOrSystemBoundary(...r[l]),this.$=r[l];break;case 31:r[l].splice(2,0,"CONTAINER"),n.addContainerBoundary(...r[l]),this.$=r[l];break;case 32:n.addDeploymentNode("node",...r[l]),this.$=r[l];break;case 33:n.addDeploymentNode("nodeL",...r[l]),this.$=r[l];break;case 34:n.addDeploymentNode("nodeR",...r[l]),this.$=r[l];break;case 35:n.popBoundaryParseStack();break;case 39:n.addPersonOrSystem("person",...r[l]),this.$=r[l];break;case 40:n.addPersonOrSystem("external_person",...r[l]),this.$=r[l];break;case 41:n.addPersonOrSystem("system",...r[l]),this.$=r[l];break;case 42:n.addPersonOrSystem("system_db",...r[l]),this.$=r[l];break;case 43:n.addPersonOrSystem("system_queue",...r[l]),this.$=r[l];break;case 44:n.addPersonOrSystem("external_system",...r[l]),this.$=r[l];break;case 45:n.addPersonOrSystem("external_system_db",...r[l]),this.$=r[l];break;case 46:n.addPersonOrSystem("external_system_queue",...r[l]),this.$=r[l];break;case 47:n.addContainer("container",...r[l]),this.$=r[l];break;case 48:n.addContainer("container_db",...r[l]),this.$=r[l];break;case 49:n.addContainer("container_queue",...r[l]),this.$=r[l];break;case 50:n.addContainer("external_container",...r[l]),this.$=r[l];break;case 51:n.addContainer("external_container_db",...r[l]),this.$=r[l];break;case 52:n.addContainer("external_container_queue",...r[l]),this.$=r[l];break;case 53:n.addComponent("component",...r[l]),this.$=r[l];break;case 54:n.addComponent("component_db",...r[l]),this.$=r[l];break;case 55:n.addComponent("component_queue",...r[l]),this.$=r[l];break;case 56:n.addComponent("external_component",...r[l]),this.$=r[l];break;case 57:n.addComponent("external_component_db",...r[l]),this.$=r[l];break;case 58:n.addComponent("external_component_queue",...r[l]),this.$=r[l];break;case 60:n.addRel("rel",...r[l]),this.$=r[l];break;case 61:n.addRel("birel",...r[l]),this.$=r[l];break;case 62:n.addRel("rel_u",...r[l]),this.$=r[l];break;case 63:n.addRel("rel_d",...r[l]),this.$=r[l];break;case 64:n.addRel("rel_l",...r[l]),this.$=r[l];break;case 65:n.addRel("rel_r",...r[l]),this.$=r[l];break;case 66:n.addRel("rel_b",...r[l]),this.$=r[l];break;case 67:r[l].splice(0,1),n.addRel("rel",...r[l]),this.$=r[l];break;case 68:n.updateElStyle("update_el_style",...r[l]),this.$=r[l];break;case 69:n.updateRelStyle("update_rel_style",...r[l]),this.$=r[l];break;case 70:n.updateLayoutConfig("update_layout_config",...r[l]),this.$=r[l];break;case 71:this.$=[r[l]];break;case 72:r[l].unshift(r[l-1]),this.$=r[l];break;case 73:case 75:this.$=r[l].trim();break;case 74:let o={};o[r[l-1].trim()]=r[l].trim(),this.$=o;break;case 76:this.$=""}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:s,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{13:70,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:s,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{13:71,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:s,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{13:72,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:s,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{13:73,19:20,20:21,21:22,22:e,23:a,24:n,26:i,28:r,29:49,30:61,32:62,34:s,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{14:[1,74]},t(W,[2,13],{43:23,29:49,30:61,32:62,20:75,34:s,36:l,37:o,38:h,39:d,40:u,41:p,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q}),t(W,[2,14]),t($,[2,16],{12:[1,76]}),t(W,[2,36],{12:[1,77]}),t(q,[2,19]),t(q,[2,20]),{25:[1,78]},{27:[1,79]},t(q,[2,23]),{35:80,75:81,76:V,77:H,79:G,80:K},{35:86,75:81,76:V,77:H,79:G,80:K},{35:87,75:81,76:V,77:H,79:G,80:K},{35:88,75:81,76:V,77:H,79:G,80:K},{35:89,75:81,76:V,77:H,79:G,80:K},{35:90,75:81,76:V,77:H,79:G,80:K},{35:91,75:81,76:V,77:H,79:G,80:K},{35:92,75:81,76:V,77:H,79:G,80:K},{35:93,75:81,76:V,77:H,79:G,80:K},{35:94,75:81,76:V,77:H,79:G,80:K},{35:95,75:81,76:V,77:H,79:G,80:K},{35:96,75:81,76:V,77:H,79:G,80:K},{35:97,75:81,76:V,77:H,79:G,80:K},{35:98,75:81,76:V,77:H,79:G,80:K},{35:99,75:81,76:V,77:H,79:G,80:K},{35:100,75:81,76:V,77:H,79:G,80:K},{35:101,75:81,76:V,77:H,79:G,80:K},{35:102,75:81,76:V,77:H,79:G,80:K},{35:103,75:81,76:V,77:H,79:G,80:K},{35:104,75:81,76:V,77:H,79:G,80:K},t(J,[2,59]),{35:105,75:81,76:V,77:H,79:G,80:K},{35:106,75:81,76:V,77:H,79:G,80:K},{35:107,75:81,76:V,77:H,79:G,80:K},{35:108,75:81,76:V,77:H,79:G,80:K},{35:109,75:81,76:V,77:H,79:G,80:K},{35:110,75:81,76:V,77:H,79:G,80:K},{35:111,75:81,76:V,77:H,79:G,80:K},{35:112,75:81,76:V,77:H,79:G,80:K},{35:113,75:81,76:V,77:H,79:G,80:K},{35:114,75:81,76:V,77:H,79:G,80:K},{35:115,75:81,76:V,77:H,79:G,80:K},{20:116,29:49,30:61,32:62,34:s,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q},{12:[1,118],33:[1,117]},{35:119,75:81,76:V,77:H,79:G,80:K},{35:120,75:81,76:V,77:H,79:G,80:K},{35:121,75:81,76:V,77:H,79:G,80:K},{35:122,75:81,76:V,77:H,79:G,80:K},{35:123,75:81,76:V,77:H,79:G,80:K},{35:124,75:81,76:V,77:H,79:G,80:K},{35:125,75:81,76:V,77:H,79:G,80:K},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(W,[2,15]),t($,[2,17],{21:22,19:130,22:e,23:a,24:n,26:i,28:r}),t(W,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:n,26:i,28:r,34:s,36:l,37:o,38:h,39:d,40:u,41:p,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:w,58:v,59:T,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:Y,68:L,69:I,70:U,71:F,72:X,73:z,74:Q}),t(q,[2,21]),t(q,[2,22]),t(J,[2,39]),t(Z,[2,71],{75:81,35:132,76:V,77:H,79:G,80:K}),t(tt,[2,73]),{78:[1,133]},t(tt,[2,75]),t(tt,[2,76]),t(J,[2,40]),t(J,[2,41]),t(J,[2,42]),t(J,[2,43]),t(J,[2,44]),t(J,[2,45]),t(J,[2,46]),t(J,[2,47]),t(J,[2,48]),t(J,[2,49]),t(J,[2,50]),t(J,[2,51]),t(J,[2,52]),t(J,[2,53]),t(J,[2,54]),t(J,[2,55]),t(J,[2,56]),t(J,[2,57]),t(J,[2,58]),t(J,[2,60]),t(J,[2,61]),t(J,[2,62]),t(J,[2,63]),t(J,[2,64]),t(J,[2,65]),t(J,[2,66]),t(J,[2,67]),t(J,[2,68]),t(J,[2,69]),t(J,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(te,[2,28]),t(te,[2,29]),t(te,[2,30]),t(te,[2,31]),t(te,[2,32]),t(te,[2,33]),t(te,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t($,[2,18]),t(W,[2,38]),t(Z,[2,72]),t(tt,[2,74]),t(J,[2,24]),t(J,[2,35]),t(ta,[2,25]),t(ta,[2,26],{12:[1,138]}),t(ta,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var a=Error(t);throw a.hash=e,a}},parse:function(t){var e=this,a=[0],n=[],i=[null],r=[],s=this.table,l="",o=0,h=0,d=r.slice.call(arguments,1),u=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);u.setInput(t,p.yy),p.yy.lexer=u,p.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var f=u.yylloc;r.push(f);var b=u.options&&u.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,x,_,m,E,A,S,C,k={};;){if(x=a[a.length-1],this.defaultActions[x]?_=this.defaultActions[x]:(null==g&&(g=function(){var t;return"number"!=typeof(t=n.pop()||u.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}()),_=s[x]&&s[x][g]),void 0===_||!_.length||!_[0]){var O="";for(E in C=[],s[x])this.terminals_[E]&&E>2&&C.push("'"+this.terminals_[E]+"'");O=u.showPosition?"Parse error on line "+(o+1)+":\n"+u.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(O,{text:u.match,token:this.terminals_[g]||g,line:u.yylineno,loc:f,expected:C})}if(_[0]instanceof Array&&_.length>1)throw Error("Parse Error: multiple actions possible at state: "+x+", token: "+g);switch(_[0]){case 1:a.push(g),i.push(u.yytext),r.push(u.yylloc),a.push(_[1]),g=null,h=u.yyleng,l=u.yytext,o=u.yylineno,f=u.yylloc;break;case 2:if(A=this.productions_[_[1]][1],k.$=i[i.length-A],k._$={first_line:r[r.length-(A||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(A||1)].first_column,last_column:r[r.length-1].last_column},b&&(k._$.range=[r[r.length-(A||1)].range[0],r[r.length-1].range[1]]),void 0!==(m=this.performAction.apply(k,[l,h,o,p.yy,_[1],i,r].concat(d))))return m;A&&(a=a.slice(0,-1*A*2),i=i.slice(0,-1*A),r=r.slice(0,-1*A)),a.push(this.productions_[_[1]][0]),i.push(k.$),r.push(k._$),S=s[a[a.length-2]][a[a.length-1]],a.push(S);break;case 3:return!0}}return!0}};function ti(){this.yy={}}return tn.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===n.length?this.yylloc.first_column:0)+n[n.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var a,n,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack)for(var r in i)this[r]=i[r];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,a,n,i=this._currentRules(),r=0;re[0].length)){if(e=a,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,i[r])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,a,n){switch(a){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}},ti.prototype=tn,tn.Parser=ti,new ti}();o.parser=o;let h=[],d=[""],u="global",p="",y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],f=[],b="",g=!1,x=4,_=2,m=function(t){return null==t?h:h.filter(e=>e.parentBoundary===t)},E=function(){return g},A={addPersonOrSystem:function(t,e,a,n,i,r,s){if(null===e||null===a)return;let l={},o=h.find(t=>t.alias===e);if(o&&e===o.alias?l=o:(l.alias=e,h.push(l)),null==a?l.label={text:""}:l.label={text:a},null==n)l.descr={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]={text:e}}else l.descr={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.sprite=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.tags=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.link=s;l.typeC4Shape={text:t},l.parentBoundary=u,l.wrap=E()},addPersonOrSystemBoundary:function(t,e,a,n,i){if(null===t||null===e)return;let r={},s=y.find(e=>e.alias===t);if(s&&t===s.alias?r=s:(r.alias=t,y.push(r)),null==e?r.label={text:""}:r.label={text:e},null==a)r.type={text:"system"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];r[t]={text:e}}else r.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];r[t]=e}else r.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];r[t]=e}else r.link=i;r.parentBoundary=u,r.wrap=E(),p=u,u=t,d.push(p)},addContainer:function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},d=h.find(t=>t.alias===e);if(d&&e===d.alias?o=d:(o.alias=e,h.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.sprite=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=E(),o.typeC4Shape={text:t},o.parentBoundary=u},addContainerBoundary:function(t,e,a,n,i){if(null===t||null===e)return;let r={},s=y.find(e=>e.alias===t);if(s&&t===s.alias?r=s:(r.alias=t,y.push(r)),null==e?r.label={text:""}:r.label={text:e},null==a)r.type={text:"container"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];r[t]={text:e}}else r.type={text:a};if("object"==typeof n){let[t,e]=Object.entries(n)[0];r[t]=e}else r.tags=n;if("object"==typeof i){let[t,e]=Object.entries(i)[0];r[t]=e}else r.link=i;r.parentBoundary=u,r.wrap=E(),p=u,u=t,d.push(p)},addComponent:function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},d=h.find(t=>t.alias===e);if(d&&e===d.alias?o=d:(o.alias=e,h.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.techn={text:""};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.techn={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.sprite=r;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=E(),o.typeC4Shape={text:t},o.parentBoundary=u},addDeploymentNode:function(t,e,a,n,i,r,s,l){if(null===e||null===a)return;let o={},h=y.find(t=>t.alias===e);if(h&&e===h.alias?o=h:(o.alias=e,y.push(o)),null==a?o.label={text:""}:o.label={text:a},null==n)o.type={text:"node"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];o[t]={text:e}}else o.type={text:n};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.tags=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=u,o.wrap=E(),p=u,u=e,d.push(p)},popBoundaryParseStack:function(){u=p,d.pop(),p=d.pop(),d.push(p)},addRel:function(t,e,a,n,i,r,s,l,o){if(null==t||null==e||null==a||null==n)return;let h={},d=f.find(t=>t.from===e&&t.to===a);if(d?h=d:f.push(h),h.type=t,h.from=e,h.to=a,h.label={text:n},null==i)h.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];h[t]={text:e}}else h.techn={text:i};if(null==r)h.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];h[t]={text:e}}else h.descr={text:r};if("object"==typeof s){let[t,e]=Object.entries(s)[0];h[t]=e}else h.sprite=s;if("object"==typeof l){let[t,e]=Object.entries(l)[0];h[t]=e}else h.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];h[t]=e}else h.link=o;h.wrap=E()},updateElStyle:function(t,e,a,n,i,r,s,l,o,d,u){let p=h.find(t=>t.alias===e);if(void 0!==p||void 0!==(p=y.find(t=>t.alias===e))){if(null!=a){if("object"==typeof a){let[t,e]=Object.entries(a)[0];p[t]=e}else p.bgColor=a}if(null!=n){if("object"==typeof n){let[t,e]=Object.entries(n)[0];p[t]=e}else p.fontColor=n}if(null!=i){if("object"==typeof i){let[t,e]=Object.entries(i)[0];p[t]=e}else p.borderColor=i}if(null!=r){if("object"==typeof r){let[t,e]=Object.entries(r)[0];p[t]=e}else p.shadowing=r}if(null!=s){if("object"==typeof s){let[t,e]=Object.entries(s)[0];p[t]=e}else p.shape=s}if(null!=l){if("object"==typeof l){let[t,e]=Object.entries(l)[0];p[t]=e}else p.sprite=l}if(null!=o){if("object"==typeof o){let[t,e]=Object.entries(o)[0];p[t]=e}else p.techn=o}if(null!=d){if("object"==typeof d){let[t,e]=Object.entries(d)[0];p[t]=e}else p.legendText=d}if(null!=u){if("object"==typeof u){let[t,e]=Object.entries(u)[0];p[t]=e}else p.legendSprite=u}}},updateRelStyle:function(t,e,a,n,i,r,s){let l=f.find(t=>t.from===e&&t.to===a);if(void 0!==l){if(null!=n){if("object"==typeof n){let[t,e]=Object.entries(n)[0];l[t]=e}else l.textColor=n}if(null!=i){if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.lineColor=i}if(null!=r){if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(r)}if(null!=s){if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(s)}}},updateLayoutConfig:function(t,e,a){let n=x,i=_;n="object"==typeof e?parseInt(Object.values(e)[0]):parseInt(e),i="object"==typeof a?parseInt(Object.values(a)[0]):parseInt(a),n>=1&&(x=n),i>=1&&(_=i)},autoWrap:E,setWrap:function(t){g=t},getC4ShapeArray:m,getC4Shape:function(t){return h.find(e=>e.alias===t)},getC4ShapeKeys:function(t){return Object.keys(m(t))},getBoundarys:function(t){return null==t?y:y.filter(e=>e.parentBoundary===t)},getCurrentBoundaryParse:function(){return u},getParentBoundaryParse:function(){return p},getRels:function(){return f},getTitle:function(){return b},getC4Type:function(){return n},getC4ShapeInRow:function(){return x},getC4BoundaryInRow:function(){return _},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,getConfig:()=>(0,i.c)().c4,clear:function(){h=[],y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],p="",u="global",d=[""],f=[],d=[""],b="",g=!1,x=4,_=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(t){b=(0,i.d)(t,(0,i.c)())},setC4Type:function(t){n=(0,i.d)(t,(0,i.c)())}},S=function(t,e){return(0,s.d)(t,e)},C=function(t,e,a,n,i,r){let s=t.append("image");s.attr("width",e),s.attr("height",a),s.attr("x",n),s.attr("y",i);let o=r.startsWith("data:image/png;base64")?r:(0,l.Nm)(r);s.attr("xlink:href",o)},k=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),O=function(){function t(t,e,a,i,r,s,l){n(e.append("text").attr("x",a+r/2).attr("y",i+s/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,a,r,s,l,o,h){let{fontSize:d,fontFamily:u,fontWeight:p}=h,y=t.split(i.e.lineBreakRegex);for(let t=0;t>"),e.typeC4Shape.text){case"person":case"external_person":C(h,48,48,e.x+e.width/2-24,e.y+e.image.Y,o)}let p=a[e.typeC4Shape.text+"Font"]();return p.fontWeight="bold",p.fontSize=p.fontSize+2,p.fontColor=l,O(a)(e.label.text,h,e.x,e.y+e.label.Y,e.width,e.height,{fill:l},p),(p=a[e.typeC4Shape.text+"Font"]()).fontColor=l,e.techn&&(null==(n=e.techn)?void 0:n.text)!==""?O(a)(e.techn.text,h,e.x,e.y+e.techn.Y,e.width,e.height,{fill:l,"font-style":"italic"},p):e.type&&""!==e.type.text&&O(a)(e.type.text,h,e.x,e.y+e.type.Y,e.width,e.height,{fill:l,"font-style":"italic"},p),e.descr&&""!==e.descr.text&&((p=a.personFont()).fontColor=l,O(a)(e.descr.text,h,e.x,e.y+e.descr.Y,e.width,e.height,{fill:l},p)),e.height},drawRels:(t,e,a)=>{let n=t.append("g"),i=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",r=t.lineColor?t.lineColor:"#444444",s=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0;if(0===i){let e=n.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",r),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)"),i=-1}else{let e=n.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",r).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url(#arrowhead)"),("birel"===t.type||"rel_b"===t.type)&&e.attr("marker-start","url(#arrowend)")}let o=a.messageFont();O(a)(t.label.text,n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+s,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},o),t.techn&&""!==t.techn.text&&(o=a.messageFont(),O(a)("["+t.techn.text+"]",n,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+s,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+a.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},o))}},drawImage:C,insertArrowHead:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},insertArrowEnd:function(t){t.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")},insertArrowFilledHead:function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},insertDynamicNumber:function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},insertArrowCrossHead:function(t){let e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),e.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},insertDatabaseIcon:function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},insertComputerIcon:function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},insertClockIcon:function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")}},v=0,T=0,R=4,D=2;o.yy=A;let N={};class P{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,M(t.db.getConfig())}setData(t,e,a,n){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=a,this.nextData.stopy=this.data.stopy=n}updateVal(t,e,a,n){void 0===t[e]?t[e]=a:t[e]=n(a,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,a=e+t.width,n=this.nextData.starty+2*t.margin,i=n+t.height;(e>=this.data.widthLimit||a>=this.data.widthLimit||this.nextData.cnt>R)&&(e=this.nextData.startx+t.margin+N.nextLinePaddingX,n=this.nextData.stopy+2*t.margin,this.nextData.stopx=a=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=n+t.height,this.nextData.cnt=1),t.x=e,t.y=n,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",n,Math.min),this.updateVal(this.data,"stopx",a,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",n,Math.min),this.updateVal(this.nextData,"stopx",a,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},M(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}let M=function(t){(0,i.f)(N,t),t.fontFamily&&(N.personFontFamily=N.systemFontFamily=N.messageFontFamily=t.fontFamily),t.fontSize&&(N.personFontSize=N.systemFontSize=N.messageFontSize=t.fontSize),t.fontWeight&&(N.personFontWeight=N.systemFontWeight=N.messageFontWeight=t.fontWeight)},j=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),B=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),Y=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight});function L(t,e,a,n,r){if(!e[t].width){if(a)e[t].text=(0,i.w)(e[t].text,r,n),e[t].textLines=e[t].text.split(i.e.lineBreakRegex).length,e[t].width=r,e[t].height=(0,i.j)(e[t].text,n);else{let a=e[t].text.split(i.e.lineBreakRegex);e[t].textLines=a.length;let r=0;for(let s of(e[t].height=0,e[t].width=0,a))e[t].width=Math.max((0,i.h)(s,n),e[t].width),r=(0,i.j)(s,n),e[t].height=e[t].height+r}}}let I=function(t,e,a){e.x=a.data.startx,e.y=a.data.starty,e.width=a.data.stopx-a.data.startx,e.height=a.data.stopy-a.data.starty,e.label.y=N.c4ShapeMargin-35;let n=e.wrap&&N.wrap,r=B(N);r.fontSize=r.fontSize+2,r.fontWeight="bold";let s=(0,i.h)(e.label.text,r);L("label",e,n,r,s),w.drawBoundary(t,e,N)},U=function(t,e,a,n){let r=0;for(let s of n){r=0;let n=a[s],l=j(N,n.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,n.typeC4Shape.width=(0,i.h)("\xab"+n.typeC4Shape.text+"\xbb",l),n.typeC4Shape.height=l.fontSize+2,n.typeC4Shape.Y=N.c4ShapePadding,r=n.typeC4Shape.Y+n.typeC4Shape.height-4,n.image={width:0,height:0,Y:0},n.typeC4Shape.text){case"person":case"external_person":n.image.width=48,n.image.height=48,n.image.Y=r,r=n.image.Y+n.image.height}n.sprite&&(n.image.width=48,n.image.height=48,n.image.Y=r,r=n.image.Y+n.image.height);let o=n.wrap&&N.wrap,h=N.width-2*N.c4ShapePadding,d=j(N,n.typeC4Shape.text);if(d.fontSize=d.fontSize+2,d.fontWeight="bold",L("label",n,o,d,h),n.label.Y=r+8,r=n.label.Y+n.label.height,n.type&&""!==n.type.text){n.type.text="["+n.type.text+"]";let t=j(N,n.typeC4Shape.text);L("type",n,o,t,h),n.type.Y=r+5,r=n.type.Y+n.type.height}else if(n.techn&&""!==n.techn.text){n.techn.text="["+n.techn.text+"]";let t=j(N,n.techn.text);L("techn",n,o,t,h),n.techn.Y=r+5,r=n.techn.Y+n.techn.height}let u=r,p=n.label.width;if(n.descr&&""!==n.descr.text){let t=j(N,n.typeC4Shape.text);L("descr",n,o,t,h),n.descr.Y=r+20,r=n.descr.Y+n.descr.height,p=Math.max(n.label.width,n.descr.width),u=r-5*n.descr.textLines}p+=N.c4ShapePadding,n.width=Math.max(n.width||N.width,p,N.width),n.height=Math.max(n.height||N.height,u,N.height),n.margin=n.margin||N.c4ShapeMargin,t.insert(n),w.drawC4Shape(e,n,N)}t.bumpLastMargin(N.c4ShapeMargin)};class F{constructor(t,e){this.x=t,this.y=e}}let X=function(t,e){let a=t.x,n=t.y,i=e.x,r=e.y,s=a+t.width/2,l=n+t.height/2,o=Math.abs(a-i),h=Math.abs(n-r),d=h/o,u=t.height/t.width,p=null;return n==r&&ai?p=new F(a,l):a==i&&nr&&(p=new F(s,n)),a>i&&n=d?new F(a,l+d*t.width/2):new F(s-o/h*t.height/2,n+t.height):a=d?new F(a+t.width,l+d*t.width/2):new F(s+o/h*t.height/2,n+t.height):ar?p=u>=d?new F(a+t.width,l-d*t.width/2):new F(s+t.height/2*o/h,n):a>i&&n>r&&(p=u>=d?new F(a,l-t.width/2*d):new F(s-t.height/2*o/h,n)),p},z=function(t,e){let a={x:0,y:0};a.x=e.x+e.width/2,a.y=e.y+e.height/2;let n=X(t,a);return a.x=t.x+t.width/2,a.y=t.y+t.height/2,{startPoint:n,endPoint:X(e,a)}},Q=function(t,e,a,n){let r=0;for(let t of e){r+=1;let e=t.wrap&&N.wrap,s=Y(N);"C4Dynamic"===n.db.getC4Type()&&(t.label.text=r+": "+t.label.text);let l=(0,i.h)(t.label.text,s);L("label",t,e,s,l),t.techn&&""!==t.techn.text&&(l=(0,i.h)(t.techn.text,s),L("techn",t,e,s,l)),t.descr&&""!==t.descr.text&&(l=(0,i.h)(t.descr.text,s),L("descr",t,e,s,l));let o=z(a(t.from),a(t.to));t.startPoint=o.startPoint,t.endPoint=o.endPoint}w.drawRels(t,e,N)},W={drawPersonOrSystemArray:U,drawBoundary:I,setConf:M,draw:function(t,e,a,n){let s;N=(0,i.c)().c4;let l=(0,i.c)().securityLevel;"sandbox"===l&&(s=(0,r.Ys)("#i"+e));let o="sandbox"===l?(0,r.Ys)(s.nodes()[0].contentDocument.body):(0,r.Ys)("body"),h=n.db;n.db.setWrap(N.wrap),R=h.getC4ShapeInRow(),D=h.getC4BoundaryInRow(),i.l.debug(`C:${JSON.stringify(N,null,2)}`);let d="sandbox"===l?o.select(`[id="${e}"]`):(0,r.Ys)(`[id="${e}"]`);w.insertComputerIcon(d),w.insertDatabaseIcon(d),w.insertClockIcon(d);let u=new P(n);u.setData(N.diagramMarginX,N.diagramMarginX,N.diagramMarginY,N.diagramMarginY),u.data.widthLimit=screen.availWidth,v=N.diagramMarginX,T=N.diagramMarginY;let p=n.db.getTitle();!function t(e,a,n,i,r){let s=new P(r);for(let[l,o]of(s.data.widthLimit=n.data.widthLimit/Math.min(D,i.length),i.entries())){let i=0;o.image={width:0,height:0,Y:0},o.sprite&&(o.image.width=48,o.image.height=48,o.image.Y=i,i=o.image.Y+o.image.height);let h=o.wrap&&N.wrap,d=B(N);if(d.fontSize=d.fontSize+2,d.fontWeight="bold",L("label",o,h,d,s.data.widthLimit),o.label.Y=i+8,i=o.label.Y+o.label.height,o.type&&""!==o.type.text&&(o.type.text="["+o.type.text+"]",L("type",o,h,B(N),s.data.widthLimit),o.type.Y=i+5,i=o.type.Y+o.type.height),o.descr&&""!==o.descr.text){let t=B(N);t.fontSize=t.fontSize-2,L("descr",o,h,t,s.data.widthLimit),o.descr.Y=i+20,i=o.descr.Y+o.descr.height}if(0==l||l%D==0){let t=n.data.startx+N.diagramMarginX,e=n.data.stopy+N.diagramMarginY+i;s.setData(t,t,e,e)}else{let t=s.data.stopx!==s.data.startx?s.data.stopx+N.diagramMarginX:s.data.startx,e=s.data.starty;s.setData(t,t,e,e)}s.name=o.alias;let u=r.db.getC4ShapeArray(o.alias),p=r.db.getC4ShapeKeys(o.alias);p.length>0&&U(s,e,u,p),a=o.alias;let y=r.db.getBoundarys(a);y.length>0&&t(e,a,s,y,r),"global"!==o.alias&&I(e,o,s),n.data.stopy=Math.max(s.data.stopy+N.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(s.data.stopx+N.c4ShapeMargin,n.data.stopx),v=Math.max(v,n.data.stopx),T=Math.max(T,n.data.stopy)}}(d,"",u,n.db.getBoundarys(""),n),w.insertArrowHead(d),w.insertArrowEnd(d),w.insertArrowCrossHead(d),w.insertArrowFilledHead(d),Q(d,n.db.getRels(),n.db.getC4Shape,n),u.data.stopx=v,u.data.stopy=T;let y=u.data,f=y.stopy-y.starty+2*N.diagramMarginY,b=y.stopx-y.startx+2*N.diagramMarginX;p&&d.append("text").text(p).attr("x",(y.stopx-y.startx)/2-4*N.diagramMarginX).attr("y",y.starty+N.diagramMarginY),(0,i.i)(d,f,b,N.useMaxWidth);let g=p?60:0;d.attr("viewBox",y.startx-N.diagramMarginX+" -"+(N.diagramMarginY+g)+" "+b+" "+(f+g)),i.l.debug("models:",y)}},$={parser:o,db:A,renderer:W,styles:t=>`.person { - stroke: ${t.personBorder}; - fill: ${t.personBkg}; - } -`,init:({c4:t,wrap:e})=>{W.setConf(t),A.setWrap(e)}}},15990:function(t,e,a){a.d(e,{a:function(){return s},b:function(){return h},c:function(){return o},d:function(){return r},e:function(){return u},f:function(){return l},g:function(){return d}});var n=a(91088),i=a(71421);let r=(t,e)=>{let a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),void 0!==e.rx&&a.attr("rx",e.rx),void 0!==e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)a.attr(t,e.attrs[t]);return void 0!==e.class&&a.attr("class",e.class),a},s=(t,e)=>{r(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},l=(t,e)=>{let a=e.text.replace(i.H," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),void 0!==e.class&&n.attr("class",e.class);let r=n.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(a),n},o=(t,e,a,i)=>{let r=t.append("image");r.attr("x",e),r.attr("y",a);let s=(0,n.Nm)(i);r.attr("xlink:href",s)},h=(t,e,a,i)=>{let r=t.append("use");r.attr("x",e),r.attr("y",a);let s=(0,n.Nm)(i);r.attr("xlink:href",`#${s}`)},d=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),u=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})}}]); \ No newline at end of file diff --git a/_next/static/chunks/42a66924-0d7bd80c91c5e651.js b/_next/static/chunks/42a66924-7f61374ecffda3ae.js similarity index 74% rename from _next/static/chunks/42a66924-0d7bd80c91c5e651.js rename to _next/static/chunks/42a66924-7f61374ecffda3ae.js index 07bb37d..b4a119d 100644 --- a/_next/static/chunks/42a66924-0d7bd80c91c5e651.js +++ b/_next/static/chunks/42a66924-7f61374ecffda3ae.js @@ -1,5 +1,5 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[386],{71421:function(t,i,e){let r,o;e.d(i,{A:function(){return J},B:function(){return tw},C:function(){return tA},D:function(){return N},E:function(){return tN},F:function(){return ex},G:function(){return tk},H:function(){return S},I:function(){return i1},J:function(){return rZ},K:function(){return iK},L:function(){return rK},Z:function(){return td},a:function(){return iG},b:function(){return iU},c:function(){return iQ},d:function(){return _},e:function(){return O},f:function(){return tc},g:function(){return iV},h:function(){return tv},i:function(){return iO},j:function(){return tL},k:function(){return tx},l:function(){return T},m:function(){return w},n:function(){return tC},o:function(){return iz},p:function(){return i0},q:function(){return iX},r:function(){return iJ},s:function(){return iH},t:function(){return iY},u:function(){return tq},v:function(){return q},w:function(){return tF},x:function(){return tT},y:function(){return i5},z:function(){return i7}});var a=e(21826),s=e(5726),l=e(91088),n=e(27509),h=e(95591),c=e(70600),d=e(56313),u=e(53596),g=e(55680),p=e(3723),C=e(78139),m=e(59332),f=e(64546),y=e(48871),x=e(75542),b=e(15943);let k={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},T={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},B=function(t="fatal"){let i=k.fatal;"string"==typeof t?(t=t.toLowerCase())in k&&(i=k[t]):"number"==typeof t&&(i=t),T.trace=()=>{},T.debug=()=>{},T.info=()=>{},T.warn=()=>{},T.error=()=>{},T.fatal=()=>{},i<=k.fatal&&(T.fatal=console.error?console.error.bind(console,F("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",F("FATAL"))),i<=k.error&&(T.error=console.error?console.error.bind(console,F("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",F("ERROR"))),i<=k.warn&&(T.warn=console.warn?console.warn.bind(console,F("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,F("WARN"))),i<=k.info&&(T.info=console.info?console.info.bind(console,F("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",F("INFO"))),i<=k.debug&&(T.debug=console.debug?console.debug.bind(console,F("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",F("DEBUG"))),i<=k.trace&&(T.trace=console.debug?console.debug.bind(console,F("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",F("TRACE")))},F=t=>{let i=s().format("ss.SSS");return`%c${i} : ${t} : `},S=//gi,L=t=>h.sanitize(t),v=(t,i)=>{var e;if((null==(e=i.flowchart)?void 0:e.htmlLabels)!==!1){let e=i.securityLevel;"antiscript"===e||"strict"===e?t=L(t):"loose"!==e&&(t=Z(t=(t=(t=A(t)).replace(//g,">")).replace(/=/g,"=")))}return t},_=(t,i)=>t?t=i.dompurifyConfig?h.sanitize(v(t,i),i.dompurifyConfig).toString():h.sanitize(v(t,i),{FORBID_TAGS:["style"]}).toString():t,Z=t=>t.replace(/#br#/g,"
"),A=t=>t.replace(S,"#br#"),w=t=>!(!1===t||["false","null","0"].includes(String(t).trim().toLowerCase())),q=function(t){let i=t.split(/(,)/),e=[];for(let t=0;t0&&t+1Math.max(0,t.split(i).length-1),M=(t,i)=>{let e=I(t,"~"),r=I(i,"~");return 1===e&&1===r},E=t=>{let i=I(t,"~"),e=!1;if(i<=1)return t;i%2!=0&&t.startsWith("~")&&(t=t.substring(1),e=!0);let r=[...t],o=r.indexOf("~"),a=r.lastIndexOf("~");for(;-1!==o&&-1!==a&&o!==a;)r[o]="<",r[a]=">",o=r.indexOf("~"),a=r.lastIndexOf("~");return e&&r.unshift("~"),r.join("")},O={getRows:t=>t?A(t).replace(/\\n/g,"#br#").split("#br#"):[""],sanitizeText:_,sanitizeTextOrArray:(t,i)=>"string"==typeof t?_(t,i):t.flat().map(t=>_(t,i)),hasBreaks:t=>S.test(t),splitBreaks:t=>t.split(S),lineBreakRegex:S,removeScript:L,getUrl:t=>{let i="";return t&&(i=(i=(i=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replaceAll(/\(/g,"\\(")).replaceAll(/\)/g,"\\)")),i},evaluate:w,getMax:function(...t){return Math.max(...t.filter(t=>!isNaN(t)))},getMin:function(...t){return Math.min(...t.filter(t=>!isNaN(t)))}},z=(t,i)=>i?(0,c.Z)(t,{s:-40,l:10}):(0,c.Z)(t,{s:-40,l:-10}),W="#ffffff",D="#f2f2f2",P=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var t,i,e,r,o,a,s,l,n,h,C;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||(0,c.Z)(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||(0,c.Z)(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||z(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||z(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||z(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||(0,d.Z)(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||(0,d.Z)(this.tertiaryColor),this.lineColor=this.lineColor||(0,d.Z)(this.background),this.arrowheadColor=this.arrowheadColor||(0,d.Z)(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,u.Z)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,u.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||(0,d.Z)(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,g.Z)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||(0,c.Z)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,c.Z)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,c.Z)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,c.Z)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,c.Z)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,c.Z)(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||(0,c.Z)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,c.Z)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,c.Z)(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t{this[i]=t[i]}),this.updateColors(),i.forEach(i=>{this[i]=t[i]})}},j=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,g.Z)(this.primaryColor,16),this.tertiaryColor=(0,c.Z)(this.primaryColor,{h:-160}),this.primaryBorderColor=(0,d.Z)(this.background),this.secondaryBorderColor=z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=z(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,d.Z)(this.primaryColor),this.secondaryTextColor=(0,d.Z)(this.secondaryColor),this.tertiaryTextColor=(0,d.Z)(this.tertiaryColor),this.lineColor=(0,d.Z)(this.background),this.textColor=(0,d.Z)(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,g.Z)((0,d.Z)("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,C.Z)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,u.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,u.Z)(this.sectionBkgColor,10),this.taskBorderColor=(0,C.Z)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,C.Z)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var t,i,e,r,o,a,s,l,n,h,C;this.secondBkg=(0,g.Z)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,g.Z)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,g.Z)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=(0,c.Z)(this.primaryColor,{h:64}),this.fillType3=(0,c.Z)(this.secondaryColor,{h:64}),this.fillType4=(0,c.Z)(this.primaryColor,{h:-64}),this.fillType5=(0,c.Z)(this.secondaryColor,{h:-64}),this.fillType6=(0,c.Z)(this.primaryColor,{h:128}),this.fillType7=(0,c.Z)(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||(0,c.Z)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,c.Z)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,c.Z)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,c.Z)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,c.Z)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,c.Z)(this.primaryColor,{h:210}),this.cScale9=this.cScale9||(0,c.Z)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,c.Z)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,c.Z)(this.primaryColor,{h:330});for(let t=0;t{this[i]=t[i]}),this.updateColors(),i.forEach(i=>{this[i]=t[i]})}},$=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=(0,c.Z)(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=(0,c.Z)(this.primaryColor,{h:-160}),this.primaryBorderColor=z(this.primaryColor,this.darkMode),this.secondaryBorderColor=z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=z(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,d.Z)(this.primaryColor),this.secondaryTextColor=(0,d.Z)(this.secondaryColor),this.tertiaryTextColor=(0,d.Z)(this.tertiaryColor),this.lineColor=(0,d.Z)(this.background),this.textColor=(0,d.Z)(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=(0,C.Z)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var t,i,e,r,o,a,s,l,n,h,C;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||(0,c.Z)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,c.Z)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,c.Z)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,c.Z)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,c.Z)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,c.Z)(this.primaryColor,{h:210}),this.cScale9=this.cScale9||(0,c.Z)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,c.Z)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,c.Z)(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,u.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,u.Z)(this.tertiaryColor,40);for(let t=0;t{this[i]=t[i]}),this.updateColors(),i.forEach(i=>{this[i]=t[i]})}},N=t=>{let i=new $;return i.calculate(t),i},R=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,g.Z)("#cde498",10),this.primaryBorderColor=z(this.primaryColor,this.darkMode),this.secondaryBorderColor=z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=z(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,d.Z)(this.primaryColor),this.secondaryTextColor=(0,d.Z)(this.secondaryColor),this.tertiaryTextColor=(0,d.Z)(this.primaryColor),this.lineColor=(0,d.Z)(this.background),this.textColor=(0,d.Z)(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,i,e,r,o,a,s,l,n,h,C;this.actorBorder=(0,u.Z)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||(0,c.Z)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,c.Z)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,c.Z)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,c.Z)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,c.Z)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,c.Z)(this.primaryColor,{h:210}),this.cScale9=this.cScale9||(0,c.Z)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,c.Z)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,c.Z)(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,u.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,u.Z)(this.tertiaryColor,40);for(let t=0;t{this[i]=t[i]}),this.updateColors(),i.forEach(i=>{this[i]=t[i]})}};class Y{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,g.Z)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=(0,c.Z)(this.primaryColor,{h:-160}),this.primaryBorderColor=z(this.primaryColor,this.darkMode),this.secondaryBorderColor=z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=z(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,d.Z)(this.primaryColor),this.secondaryTextColor=(0,d.Z)(this.secondaryColor),this.tertiaryTextColor=(0,d.Z)(this.tertiaryColor),this.lineColor=(0,d.Z)(this.background),this.textColor=(0,d.Z)(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,i,e,r,o,a,s,l,n,h,C;this.secondBkg=(0,g.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,g.Z)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t{this[i]=t[i]}),this.updateColors(),i.forEach(i=>{this[i]=t[i]})}}let H={base:{getThemeVariables:t=>{let i=new P;return i.calculate(t),i}},dark:{getThemeVariables:t=>{let i=new j;return i.calculate(t),i}},default:{getThemeVariables:N},forest:{getThemeVariables:t=>{let i=new R;return i.calculate(t),i}},neutral:{getThemeVariables:t=>{let i=new Y;return i.calculate(t),i}}},V={flowchart:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},theme:"default",maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,fontSize:16},U={...V,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:H.default.getThemeVariables(),sequence:{...V.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...V.gantt,tickInterval:void 0,useWidth:void 0},c4:{...V.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...V.pie,useWidth:984},xyChart:{...V.xyChart,useWidth:void 0},requirement:{...V.requirement,useWidth:void 0},gitGraph:{...V.gitGraph,useMaxWidth:!1},sankey:{...V.sankey,useMaxWidth:!1}},G=(t,i="")=>Object.keys(t).reduce((e,r)=>Array.isArray(t[r])?e:"object"==typeof t[r]&&null!==t[r]?[...e,i+r,...G(t[r],"")]:[...e,i+r],[]),X=new Set(G(U,"")),J=U,K=t=>{if(T.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t){if(Array.isArray(t)){t.forEach(t=>K(t));return}for(let i of Object.keys(t)){if(T.debug("Checking key",i),i.startsWith("__")||i.includes("proto")||i.includes("constr")||!X.has(i)||null==t[i]){T.debug("sanitize deleting key: ",i),delete t[i];continue}if("object"==typeof t[i]){T.debug("sanitizing object",i),K(t[i]);continue}for(let e of["themeCSS","fontFamily","altFontFamily"])i.includes(e)&&(T.debug("sanitizing css option",i),t[i]=Q(t[i]))}if(t.themeVariables)for(let i of Object.keys(t.themeVariables)){let e=t.themeVariables[i];(null==e?void 0:e.match)&&!e.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[i]="")}T.debug("After sanitization",t)}},Q=t=>{let i=0,e=0;for(let r of t){if(i{for(let{id:i,detector:e,loader:r}of t)tl(i,e,r)},tl=(t,i,e)=>{to[t]?T.error(`Detector with key ${t} already exists`):to[t]={detector:i,loader:e},T.debug(`Detector with key ${t} added${e?" with loader":""}`)},tn=t=>to[t].loader,th=(t,i,{depth:e=2,clobber:r=!1}={})=>{let o={depth:e,clobber:r};return Array.isArray(i)&&!Array.isArray(t)?(i.forEach(i=>th(t,i,o)),t):Array.isArray(i)&&Array.isArray(t)?(i.forEach(i=>{t.includes(i)||t.push(i)}),t):void 0===t||e<=0?null!=t&&"object"==typeof t&&"object"==typeof i?Object.assign(t,i):i:(void 0!==i&&"object"==typeof t&&"object"==typeof i&&Object.keys(i).forEach(o=>{"object"==typeof i[o]&&(void 0===t[o]||"object"==typeof t[o])?(void 0===t[o]&&(t[o]=Array.isArray(i[o])?[]:{}),t[o]=th(t[o],i[o],{depth:e-1,clobber:r})):(r||"object"!=typeof t[o]&&"object"!=typeof i[o])&&(t[o]=i[o])}),t)},tc=th,td="​",tu={curveBasis:n.$0Z,curveBasisClosed:n.Dts,curveBasisOpen:n.WQY,curveBumpX:n.qpX,curveBumpY:n.u93,curveBundle:n.tFB,curveCardinalClosed:n.OvA,curveCardinalOpen:n.dCK,curveCardinal:n.YY7,curveCatmullRomClosed:n.fGX,curveCatmullRomOpen:n.$m7,curveCatmullRom:n.zgE,curveLinear:n.c_6,curveLinearClosed:n.fxm,curveMonotoneX:n.FdL,curveMonotoneY:n.ak_,curveNatural:n.SxZ,curveStep:n.eA_,curveStepAfter:n.jsv,curveStepBefore:n.iJ},tg=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,tp=function(t,i=null){try{let e;let r=RegExp(`[%]{2}(?![{]${tg.source})(?=[}][%]{2}).* -`,"ig");t=t.trim().replace(r,"").replace(/'/gm,'"'),T.debug(`Detecting diagram directive${null!==i?" type:"+i:""} based on the text:${t}`);let o=[];for(;null!==(e=ti.exec(t));)if(e.index===ti.lastIndex&&ti.lastIndex++,e&&!i||i&&e[1]&&e[1].match(i)||i&&e[2]&&e[2].match(i)){let t=e[1]?e[1]:e[2],i=e[3]?e[3].trim():e[4]?JSON.parse(e[4].trim()):null;o.push({type:t,args:i})}if(0===o.length)return{type:t,args:null};return 1===o.length?o[0]:o}catch(e){return T.error(`ERROR: ${e.message} - Unable to parse directive type: '${i}' based on the text: '${t}'`),{type:void 0,args:null}}};function tC(t,i){return t?tu[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??i:i}function tm(t,i){return t&&i?Math.sqrt(Math.pow(i.x-t.x,2)+Math.pow(i.y-t.y,2)):0}let tf=(t,i=2)=>{let e=Math.pow(10,i);return Math.round(t*e)/e},ty=(t,i)=>{let e;let r=i;for(let i of t){if(e){let t=tm(i,e);if(t=1)return{x:i.x,y:i.y};if(o>0&&o<1)return{x:tf((1-o)*e.x+o*i.x,5),y:tf((1-o)*e.y+o*i.y,5)}}}e=i}throw Error("Could not find a suitable point for the given distance")};function tx(t){let i="",e="";for(let r of t)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?e=e+r+";":i=i+r+";");return{style:i,labelStyle:e}}let tb=0,tk=()=>(tb++,"id-"+Math.random().toString(36).substr(2,12)+"-"+tb),tT=t=>(function(t){let i="",e="0123456789abcdef",r=e.length;for(let o=0;o{if(!t||(e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},e),O.lineBreakRegex.test(t)))return t;let r=t.split(" "),o=[],a="";return r.forEach((t,s)=>{let l=tv(`${t} `,e),n=tv(a,e);if(l>i){let{hyphenatedStrings:r,remainingWord:s}=tS(t,i,"-",e);o.push(a,...r),a=s}else n+l>=i?(o.push(a),a=t):a=[a,t].filter(Boolean).join(" ");s+1===r.length&&o.push(a)}),o.filter(t=>""!==t).join(e.joinWith)},(t,i,e)=>`${t}${i}${e.fontSize}${e.fontWeight}${e.fontFamily}${e.joinWith}`),tS=(0,m.Z)((t,i,e="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);let o=[...t],a=[],s="";return o.forEach((t,l)=>{let n=`${s}${t}`;if(tv(n,r)>=i){let t=o.length===l+1,i=`${n}${e}`;a.push(t?n:i),s=""}else s=n}),{hyphenatedStrings:a,remainingWord:s}},(t,i,e="-",r)=>`${t}${i}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function tL(t,i){return t_(t,i).height}function tv(t,i){return t_(t,i).width}let t_=(0,m.Z)((t,i)=>{let{fontSize:e=12,fontFamily:r="Arial",fontWeight:o=400}=i;if(!t)return{width:0,height:0};let[,a]=tA(e),s=t.split(O.lineBreakRegex),l=[],h=(0,n.Ys)("body");if(!h.remove)return{width:0,height:0,lineHeight:0};let c=h.append("svg");for(let t of["sans-serif",r]){let i=0,e={width:0,height:0,lineHeight:0};for(let r of s){let s={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""};s.text=r||td;let l=tB(c,s).style("font-size",a).style("font-weight",o).style("font-family",t),n=(l._groups||l)[0][0].getBBox();if(0===n.width&&0===n.height)throw Error("svg element not in render tree");e.width=Math.round(Math.max(e.width,n.width)),i=Math.round(n.height),e.height+=i,e.lineHeight=Math.round(Math.max(e.lineHeight,i))}l.push(e)}c.remove();let d=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[d]},(t,i)=>`${t}${i.fontSize}${i.fontWeight}${i.fontFamily}`);class tZ{constructor(t=!1,i){this.count=0,this.count=i?i.length:0,this.next=t?()=>this.count++:()=>Date.now()}}let tA=t=>{if("number"==typeof t)return[t,t+"px"];let i=parseInt(t??"",10);return Number.isNaN(i)?[void 0,void 0]:t===String(i)?[i,t+"px"]:[i,t]};function tw(t,i){return(0,f.Z)({},t,i)}let tq={assignWithDepth:tc,wrapLabel:tF,calculateTextHeight:tL,calculateTextWidth:tv,calculateTextDimensions:t_,cleanAndMerge:tw,detectInit:function(t,i){let e=tp(t,/(?:init\b)|(?:initialize\b)/),r={};if(Array.isArray(e)){let t=e.map(t=>t.args);K(t),r=tc(r,[...t])}else r=e.args;if(!r)return;let o=ta(t,i),a="config";return void 0!==r[a]&&("flowchart-v2"===o&&(o="flowchart"),r[o]=r[a],delete r[a]),r},detectDirective:tp,isSubstringInArray:function(t,i){for(let[e,r]of i.entries())if(r.match(t))return e;return -1},interpolateToCurve:tC,calcLabelPosition:function(t){let i,e;return 1===t.length?t[0]:(e=0,t.forEach(t=>{e+=tm(t,i),i=t}),ty(t,e/2))},calcCardinalityPosition:(t,i,e)=>{T.info(`our points ${JSON.stringify(i)}`),i[0]!==e&&(i=i.reverse());let r=ty(i,25),o=t?10:5,a=Math.atan2(i[0].y-r.y,i[0].x-r.x),s={x:0,y:0};return s.x=Math.sin(a)*o+(i[0].x+r.x)/2,s.y=-Math.cos(a)*o+(i[0].y+r.y)/2,s},calcTerminalLabelPosition:function(t,i,e){let r=structuredClone(e);T.info("our points",r),"start_left"!==i&&"start_right"!==i&&r.reverse();let o=ty(r,25+t),a=10+.5*t,s=Math.atan2(r[0].y-o.y,r[0].x-o.x),l={x:0,y:0};return"start_left"===i?(l.x=Math.sin(s+Math.PI)*a+(r[0].x+o.x)/2,l.y=-Math.cos(s+Math.PI)*a+(r[0].y+o.y)/2):"end_right"===i?(l.x=Math.sin(s-Math.PI)*a+(r[0].x+o.x)/2-5,l.y=-Math.cos(s-Math.PI)*a+(r[0].y+o.y)/2-5):"end_left"===i?(l.x=Math.sin(s)*a+(r[0].x+o.x)/2-5,l.y=-Math.cos(s)*a+(r[0].y+o.y)/2-5):(l.x=Math.sin(s)*a+(r[0].x+o.x)/2,l.y=-Math.cos(s)*a+(r[0].y+o.y)/2),l},formatUrl:function(t,i){let e=t.trim();return e?"loose"!==i.securityLevel?(0,l.Nm)(e):e:void 0},getStylesFromArray:tx,generateId:tk,random:tT,runFunc:(t,...i)=>{let e=t.split("."),r=e.length-1,o=e[r],a=window;for(let i=0;i{var o;if(!r)return;let a=null==(o=t.node())?void 0:o.getBBox();a&&t.append("text").text(r).attr("x",a.x+a.width/2).attr("y",-e).attr("class",i)},parseFontSize:tA,InitIDGenerator:tZ},tI="10.6.1",tM=Object.freeze(J),tE=tc({},tM),tO=[],tz=tc({},tM),tW=(t,i)=>{let e=tc({},t),r={};for(let t of i)tR(t),r=tc(r,t);if(e=tc(e,r),r.theme&&r.theme in H){let t=tc({},o),i=tc(t.themeVariables||{},r.themeVariables);e.theme&&e.theme in H&&(e.themeVariables=H[e.theme].getThemeVariables(i))}return tX(tz=e),tz},tD=t=>(tE=tc({},tM),tE=tc(tE,t),t.theme&&H[t.theme]&&(tE.themeVariables=H[t.theme].getThemeVariables(t.themeVariables)),tW(tE,tO),tE),tP=t=>{o=tc({},t)},tj=()=>tc({},tE),t$=t=>(tX(t),tc(tz,t),tN()),tN=()=>tc({},tz),tR=t=>{t&&(["secure",...tE.secure??[]].forEach(i=>{Object.hasOwn(t,i)&&(T.debug(`Denied attempt to modify a secure key ${i}`,t[i]),delete t[i])}),Object.keys(t).forEach(i=>{i.startsWith("__")&&delete t[i]}),Object.keys(t).forEach(i=>{"string"==typeof t[i]&&(t[i].includes("<")||t[i].includes(">")||t[i].includes("url(data:"))&&delete t[i],"object"==typeof t[i]&&tR(t[i])}))},tY=t=>{K(t),!t.fontFamily||t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily}),tO.push(t),tW(tE,tO)},tH=(t=tE)=>{tW(t,tO=[])},tV={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},tU={},tG=t=>{tU[t]||(T.warn(tV[t]),tU[t]=!0)},tX=t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&tG("LAZY_LOAD_DEPRECATED")},tJ={id:"c4",detector:t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),loader:async()=>{let{diagram:t}=await e.e(422).then(e.bind(e,35422));return{id:"c4",diagram:t}}},tK="flowchart",tQ=async()=>{let{diagram:t}=await Promise.all([e.e(892),e.e(694),e.e(198),e.e(880),e.e(410),e.e(614)]).then(e.bind(e,50892));return{id:tK,diagram:t}},t0={id:tK,detector:(t,i)=>{var e,r;return(null==(e=null==i?void 0:i.flowchart)?void 0:e.defaultRenderer)!=="dagre-wrapper"&&(null==(r=null==i?void 0:i.flowchart)?void 0:r.defaultRenderer)!=="elk"&&/^\s*graph/.test(t)},loader:tQ},t1="flowchart-v2",t2=async()=>{let{diagram:t}=await Promise.all([e.e(892),e.e(694),e.e(198),e.e(880),e.e(410),e.e(516)]).then(e.bind(e,41516));return{id:t1,diagram:t}},t5={id:t1,detector:(t,i)=>{var e,r,o;return(null==(e=null==i?void 0:i.flowchart)?void 0:e.defaultRenderer)!=="dagre-d3"&&(null==(r=null==i?void 0:i.flowchart)?void 0:r.defaultRenderer)!=="elk"&&(!!/^\s*graph/.test(t)&&(null==(o=null==i?void 0:i.flowchart)?void 0:o.defaultRenderer)==="dagre-wrapper"||/^\s*flowchart/.test(t))},loader:t2},t3={id:"er",detector:t=>/^\s*erDiagram/.test(t),loader:async()=>{let{diagram:t}=await Promise.all([e.e(892),e.e(300)]).then(e.bind(e,11300));return{id:"er",diagram:t}}},t6="gitGraph",t4=async()=>{let{diagram:t}=await e.e(908).then(e.bind(e,88908));return{id:t6,diagram:t}},t8={id:t6,detector:t=>/^\s*gitGraph/.test(t),loader:t4},t9="gantt",t7=async()=>{let{diagram:t}=await e.e(846).then(e.bind(e,95846));return{id:t9,diagram:t}},it={id:t9,detector:t=>/^\s*gantt/.test(t),loader:t7},ii="info",ie=async()=>{let{diagram:t}=await e.e(992).then(e.bind(e,68992));return{id:ii,diagram:t}},ir={id:ii,detector:t=>/^\s*info/.test(t),loader:ie},io={id:"pie",detector:t=>/^\s*pie/.test(t),loader:async()=>{let{diagram:t}=await e.e(697).then(e.bind(e,22697));return{id:"pie",diagram:t}}},ia="quadrantChart",is=async()=>{let{diagram:t}=await e.e(5).then(e.bind(e,80005));return{id:ia,diagram:t}},il={id:ia,detector:t=>/^\s*quadrantChart/.test(t),loader:is},ih="xychart",ic=async()=>{let{diagram:t}=await Promise.all([e.e(694),e.e(8)]).then(e.bind(e,21008));return{id:ih,diagram:t}},id={id:ih,detector:t=>/^\s*xychart-beta/.test(t),loader:ic},iu="requirement",ig=async()=>{let{diagram:t}=await Promise.all([e.e(892),e.e(744)]).then(e.bind(e,37744));return{id:iu,diagram:t}},ip={id:iu,detector:t=>/^\s*requirement(Diagram)?/.test(t),loader:ig},iC="sequence",im=async()=>{let{diagram:t}=await e.e(310).then(e.bind(e,68310));return{id:iC,diagram:t}},iy={id:iC,detector:t=>/^\s*sequenceDiagram/.test(t),loader:im},ix="class",ib=async()=>{let{diagram:t}=await Promise.all([e.e(892),e.e(298),e.e(32)]).then(e.bind(e,96032));return{id:ix,diagram:t}},ik={id:ix,detector:(t,i)=>{var e;return(null==(e=null==i?void 0:i.class)?void 0:e.defaultRenderer)!=="dagre-wrapper"&&/^\s*classDiagram/.test(t)},loader:ib},iT="classDiagram",iB=async()=>{let{diagram:t}=await Promise.all([e.e(892),e.e(694),e.e(198),e.e(880),e.e(298),e.e(643)]).then(e.bind(e,6643));return{id:iT,diagram:t}},iF={id:iT,detector:(t,i)=>{var e;return!!/^\s*classDiagram/.test(t)&&(null==(e=null==i?void 0:i.class)?void 0:e.defaultRenderer)==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t)},loader:iB},iS="state",iL=async()=>{let{diagram:t}=await Promise.all([e.e(892),e.e(227),e.e(525)]).then(e.bind(e,65525));return{id:iS,diagram:t}},iv={id:iS,detector:(t,i)=>{var e;return(null==(e=null==i?void 0:i.state)?void 0:e.defaultRenderer)!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t)},loader:iL},i_="stateDiagram",iZ=async()=>{let{diagram:t}=await Promise.all([e.e(892),e.e(694),e.e(198),e.e(880),e.e(227),e.e(93)]).then(e.bind(e,93093));return{id:i_,diagram:t}},iA={id:i_,detector:(t,i)=>{var e;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&(null==(e=null==i?void 0:i.state)?void 0:e.defaultRenderer)==="dagre-wrapper")},loader:iZ},iw="journey",iq=async()=>{let{diagram:t}=await e.e(357).then(e.bind(e,39357));return{id:iw,diagram:t}},iI={id:iw,detector:t=>/^\s*journey/.test(t),loader:iq},iM=function(t,i){for(let e of i)t.attr(e[0],e[1])},iE=function(t,i,e){let r=new Map;return e?(r.set("width","100%"),r.set("style",`max-width: ${i}px;`)):(r.set("height",t),r.set("width",i)),r},iO=function(t,i,e,r){iM(t,iE(i,e,r))},iz=function(t,i,e,r){let o=i.node().getBBox(),a=o.width,s=o.height;T.info(`SVG bounds: ${a}x${s}`,o);let l=0,n=0;T.info(`Graph bounds: ${l}x${n}`,t),l=a+2*e,n=s+2*e,T.info(`Calculated bounds: ${l}x${n}`),iO(i,n,l,r);let h=`${o.x-e} ${o.y-e} ${o.width+2*e} ${o.height+2*e}`;i.attr("viewBox",h)},iW={},iD=(t,i)=>{void 0!==i&&(iW[t]=i)},iP=(t,i,e)=>{let r="";return t in iW&&iW[t]?r=iW[t](e):T.warn(`No theme found for ${t}`),` & { +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[386],{71421:function(t,i,e){let r,o;e.d(i,{A:function(){return J},B:function(){return tw},C:function(){return tA},D:function(){return R},E:function(){return tR},F:function(){return ex},G:function(){return tk},H:function(){return S},I:function(){return i1},J:function(){return r_},K:function(){return iK},L:function(){return rJ},Z:function(){return td},a:function(){return iG},b:function(){return iU},c:function(){return iQ},d:function(){return _},e:function(){return O},f:function(){return tc},g:function(){return iV},h:function(){return tv},i:function(){return iO},j:function(){return tL},k:function(){return tx},l:function(){return T},m:function(){return w},n:function(){return tC},o:function(){return iz},p:function(){return i0},q:function(){return iX},r:function(){return iJ},s:function(){return iH},t:function(){return iY},u:function(){return tq},v:function(){return q},w:function(){return tF},x:function(){return tT},y:function(){return i5},z:function(){return i7}});var a=e(21826),s=e(5726),l=e(91088),n=e(27509),h=e(95591),c=e(70600),d=e(56313),u=e(53596),g=e(55680),p=e(3723),C=e(78139),m=e(49138),f=e(78203),y=e(48871),x=e(75542),b=e(35461);let k={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},T={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},B=function(t="fatal"){let i=k.fatal;"string"==typeof t?(t=t.toLowerCase())in k&&(i=k[t]):"number"==typeof t&&(i=t),T.trace=()=>{},T.debug=()=>{},T.info=()=>{},T.warn=()=>{},T.error=()=>{},T.fatal=()=>{},i<=k.fatal&&(T.fatal=console.error?console.error.bind(console,F("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",F("FATAL"))),i<=k.error&&(T.error=console.error?console.error.bind(console,F("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",F("ERROR"))),i<=k.warn&&(T.warn=console.warn?console.warn.bind(console,F("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,F("WARN"))),i<=k.info&&(T.info=console.info?console.info.bind(console,F("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",F("INFO"))),i<=k.debug&&(T.debug=console.debug?console.debug.bind(console,F("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",F("DEBUG"))),i<=k.trace&&(T.trace=console.debug?console.debug.bind(console,F("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",F("TRACE")))},F=t=>{let i=s().format("ss.SSS");return`%c${i} : ${t} : `},S=//gi,L=t=>h.sanitize(t),v=(t,i)=>{var e;if((null==(e=i.flowchart)?void 0:e.htmlLabels)!==!1){let e=i.securityLevel;"antiscript"===e||"strict"===e?t=L(t):"loose"!==e&&(t=Z(t=(t=(t=A(t)).replace(//g,">")).replace(/=/g,"=")))}return t},_=(t,i)=>t?t=i.dompurifyConfig?h.sanitize(v(t,i),i.dompurifyConfig).toString():h.sanitize(v(t,i),{FORBID_TAGS:["style"]}).toString():t,Z=t=>t.replace(/#br#/g,"
"),A=t=>t.replace(S,"#br#"),w=t=>!(!1===t||["false","null","0"].includes(String(t).trim().toLowerCase())),q=function(t){let i=t.split(/(,)/),e=[];for(let t=0;t0&&t+1Math.max(0,t.split(i).length-1),M=(t,i)=>{let e=I(t,"~"),r=I(i,"~");return 1===e&&1===r},E=t=>{let i=I(t,"~"),e=!1;if(i<=1)return t;i%2!=0&&t.startsWith("~")&&(t=t.substring(1),e=!0);let r=[...t],o=r.indexOf("~"),a=r.lastIndexOf("~");for(;-1!==o&&-1!==a&&o!==a;)r[o]="<",r[a]=">",o=r.indexOf("~"),a=r.lastIndexOf("~");return e&&r.unshift("~"),r.join("")},O={getRows:t=>t?A(t).replace(/\\n/g,"#br#").split("#br#"):[""],sanitizeText:_,sanitizeTextOrArray:(t,i)=>"string"==typeof t?_(t,i):t.flat().map(t=>_(t,i)),hasBreaks:t=>S.test(t),splitBreaks:t=>t.split(S),lineBreakRegex:S,removeScript:L,getUrl:t=>{let i="";return t&&(i=(i=(i=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replaceAll(/\(/g,"\\(")).replaceAll(/\)/g,"\\)")),i},evaluate:w,getMax:function(...t){return Math.max(...t.filter(t=>!isNaN(t)))},getMin:function(...t){return Math.min(...t.filter(t=>!isNaN(t)))}},z=(t,i)=>i?(0,c.Z)(t,{s:-40,l:10}):(0,c.Z)(t,{s:-40,l:-10}),W="#ffffff",D="#f2f2f2",P=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var t,i,e,r,o,a,s,l,n,h,C;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||(0,c.Z)(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||(0,c.Z)(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||z(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||z(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||z(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||(0,d.Z)(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||(0,d.Z)(this.tertiaryColor),this.lineColor=this.lineColor||(0,d.Z)(this.background),this.arrowheadColor=this.arrowheadColor||(0,d.Z)(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,u.Z)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,u.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||(0,d.Z)(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,g.Z)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||(0,c.Z)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,c.Z)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,c.Z)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,c.Z)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,c.Z)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,c.Z)(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||(0,c.Z)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,c.Z)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,c.Z)(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t{this[i]=t[i]}),this.updateColors(),i.forEach(i=>{this[i]=t[i]})}},j=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,g.Z)(this.primaryColor,16),this.tertiaryColor=(0,c.Z)(this.primaryColor,{h:-160}),this.primaryBorderColor=(0,d.Z)(this.background),this.secondaryBorderColor=z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=z(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,d.Z)(this.primaryColor),this.secondaryTextColor=(0,d.Z)(this.secondaryColor),this.tertiaryTextColor=(0,d.Z)(this.tertiaryColor),this.lineColor=(0,d.Z)(this.background),this.textColor=(0,d.Z)(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,g.Z)((0,d.Z)("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,C.Z)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,u.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,u.Z)(this.sectionBkgColor,10),this.taskBorderColor=(0,C.Z)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,C.Z)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var t,i,e,r,o,a,s,l,n,h,C;this.secondBkg=(0,g.Z)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,g.Z)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,g.Z)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=(0,c.Z)(this.primaryColor,{h:64}),this.fillType3=(0,c.Z)(this.secondaryColor,{h:64}),this.fillType4=(0,c.Z)(this.primaryColor,{h:-64}),this.fillType5=(0,c.Z)(this.secondaryColor,{h:-64}),this.fillType6=(0,c.Z)(this.primaryColor,{h:128}),this.fillType7=(0,c.Z)(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||(0,c.Z)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,c.Z)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,c.Z)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,c.Z)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,c.Z)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,c.Z)(this.primaryColor,{h:210}),this.cScale9=this.cScale9||(0,c.Z)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,c.Z)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,c.Z)(this.primaryColor,{h:330});for(let t=0;t{this[i]=t[i]}),this.updateColors(),i.forEach(i=>{this[i]=t[i]})}},$=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=(0,c.Z)(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=(0,c.Z)(this.primaryColor,{h:-160}),this.primaryBorderColor=z(this.primaryColor,this.darkMode),this.secondaryBorderColor=z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=z(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,d.Z)(this.primaryColor),this.secondaryTextColor=(0,d.Z)(this.secondaryColor),this.tertiaryTextColor=(0,d.Z)(this.tertiaryColor),this.lineColor=(0,d.Z)(this.background),this.textColor=(0,d.Z)(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=(0,C.Z)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var t,i,e,r,o,a,s,l,n,h,C;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||(0,c.Z)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,c.Z)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,c.Z)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,c.Z)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,c.Z)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,c.Z)(this.primaryColor,{h:210}),this.cScale9=this.cScale9||(0,c.Z)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,c.Z)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,c.Z)(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,u.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,u.Z)(this.tertiaryColor,40);for(let t=0;t{this[i]=t[i]}),this.updateColors(),i.forEach(i=>{this[i]=t[i]})}},R=t=>{let i=new $;return i.calculate(t),i},N=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,g.Z)("#cde498",10),this.primaryBorderColor=z(this.primaryColor,this.darkMode),this.secondaryBorderColor=z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=z(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,d.Z)(this.primaryColor),this.secondaryTextColor=(0,d.Z)(this.secondaryColor),this.tertiaryTextColor=(0,d.Z)(this.primaryColor),this.lineColor=(0,d.Z)(this.background),this.textColor=(0,d.Z)(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,i,e,r,o,a,s,l,n,h,C;this.actorBorder=(0,u.Z)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||(0,c.Z)(this.primaryColor,{h:30}),this.cScale4=this.cScale4||(0,c.Z)(this.primaryColor,{h:60}),this.cScale5=this.cScale5||(0,c.Z)(this.primaryColor,{h:90}),this.cScale6=this.cScale6||(0,c.Z)(this.primaryColor,{h:120}),this.cScale7=this.cScale7||(0,c.Z)(this.primaryColor,{h:150}),this.cScale8=this.cScale8||(0,c.Z)(this.primaryColor,{h:210}),this.cScale9=this.cScale9||(0,c.Z)(this.primaryColor,{h:270}),this.cScale10=this.cScale10||(0,c.Z)(this.primaryColor,{h:300}),this.cScale11=this.cScale11||(0,c.Z)(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,u.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,u.Z)(this.tertiaryColor,40);for(let t=0;t{this[i]=t[i]}),this.updateColors(),i.forEach(i=>{this[i]=t[i]})}};class Y{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,g.Z)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=(0,c.Z)(this.primaryColor,{h:-160}),this.primaryBorderColor=z(this.primaryColor,this.darkMode),this.secondaryBorderColor=z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=z(this.tertiaryColor,this.darkMode),this.primaryTextColor=(0,d.Z)(this.primaryColor),this.secondaryTextColor=(0,d.Z)(this.secondaryColor),this.tertiaryTextColor=(0,d.Z)(this.tertiaryColor),this.lineColor=(0,d.Z)(this.background),this.textColor=(0,d.Z)(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,i,e,r,o,a,s,l,n,h,C;this.secondBkg=(0,g.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,g.Z)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t{this[i]=t[i]}),this.updateColors(),i.forEach(i=>{this[i]=t[i]})}}let H={base:{getThemeVariables:t=>{let i=new P;return i.calculate(t),i}},dark:{getThemeVariables:t=>{let i=new j;return i.calculate(t),i}},default:{getThemeVariables:R},forest:{getThemeVariables:t=>{let i=new N;return i.calculate(t),i}},neutral:{getThemeVariables:t=>{let i=new Y;return i.calculate(t),i}}},V={flowchart:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},theme:"default",maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,fontSize:16},U={...V,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:H.default.getThemeVariables(),sequence:{...V.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...V.gantt,tickInterval:void 0,useWidth:void 0},c4:{...V.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...V.pie,useWidth:984},xyChart:{...V.xyChart,useWidth:void 0},requirement:{...V.requirement,useWidth:void 0},gitGraph:{...V.gitGraph,useMaxWidth:!1},sankey:{...V.sankey,useMaxWidth:!1}},G=(t,i="")=>Object.keys(t).reduce((e,r)=>Array.isArray(t[r])?e:"object"==typeof t[r]&&null!==t[r]?[...e,i+r,...G(t[r],"")]:[...e,i+r],[]),X=new Set(G(U,"")),J=U,K=t=>{if(T.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t){if(Array.isArray(t)){t.forEach(t=>K(t));return}for(let i of Object.keys(t)){if(T.debug("Checking key",i),i.startsWith("__")||i.includes("proto")||i.includes("constr")||!X.has(i)||null==t[i]){T.debug("sanitize deleting key: ",i),delete t[i];continue}if("object"==typeof t[i]){T.debug("sanitizing object",i),K(t[i]);continue}for(let e of["themeCSS","fontFamily","altFontFamily"])i.includes(e)&&(T.debug("sanitizing css option",i),t[i]=Q(t[i]))}if(t.themeVariables)for(let i of Object.keys(t.themeVariables)){let e=t.themeVariables[i];(null==e?void 0:e.match)&&!e.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[i]="")}T.debug("After sanitization",t)}},Q=t=>{let i=0,e=0;for(let r of t){if(i{for(let{id:i,detector:e,loader:r}of t)tl(i,e,r)},tl=(t,i,e)=>{to[t]?T.error(`Detector with key ${t} already exists`):to[t]={detector:i,loader:e},T.debug(`Detector with key ${t} added${e?" with loader":""}`)},tn=t=>to[t].loader,th=(t,i,{depth:e=2,clobber:r=!1}={})=>{let o={depth:e,clobber:r};return Array.isArray(i)&&!Array.isArray(t)?(i.forEach(i=>th(t,i,o)),t):Array.isArray(i)&&Array.isArray(t)?(i.forEach(i=>{t.includes(i)||t.push(i)}),t):void 0===t||e<=0?null!=t&&"object"==typeof t&&"object"==typeof i?Object.assign(t,i):i:(void 0!==i&&"object"==typeof t&&"object"==typeof i&&Object.keys(i).forEach(o=>{"object"==typeof i[o]&&(void 0===t[o]||"object"==typeof t[o])?(void 0===t[o]&&(t[o]=Array.isArray(i[o])?[]:{}),t[o]=th(t[o],i[o],{depth:e-1,clobber:r})):(r||"object"!=typeof t[o]&&"object"!=typeof i[o])&&(t[o]=i[o])}),t)},tc=th,td="​",tu={curveBasis:n.$0Z,curveBasisClosed:n.Dts,curveBasisOpen:n.WQY,curveBumpX:n.qpX,curveBumpY:n.u93,curveBundle:n.tFB,curveCardinalClosed:n.OvA,curveCardinalOpen:n.dCK,curveCardinal:n.YY7,curveCatmullRomClosed:n.fGX,curveCatmullRomOpen:n.$m7,curveCatmullRom:n.zgE,curveLinear:n.c_6,curveLinearClosed:n.fxm,curveMonotoneX:n.FdL,curveMonotoneY:n.ak_,curveNatural:n.SxZ,curveStep:n.eA_,curveStepAfter:n.jsv,curveStepBefore:n.iJ},tg=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,tp=function(t,i=null){try{let e;let r=RegExp(`[%]{2}(?![{]${tg.source})(?=[}][%]{2}).* +`,"ig");t=t.trim().replace(r,"").replace(/'/gm,'"'),T.debug(`Detecting diagram directive${null!==i?" type:"+i:""} based on the text:${t}`);let o=[];for(;null!==(e=ti.exec(t));)if(e.index===ti.lastIndex&&ti.lastIndex++,e&&!i||i&&e[1]&&e[1].match(i)||i&&e[2]&&e[2].match(i)){let t=e[1]?e[1]:e[2],i=e[3]?e[3].trim():e[4]?JSON.parse(e[4].trim()):null;o.push({type:t,args:i})}if(0===o.length)return{type:t,args:null};return 1===o.length?o[0]:o}catch(e){return T.error(`ERROR: ${e.message} - Unable to parse directive type: '${i}' based on the text: '${t}'`),{type:void 0,args:null}}};function tC(t,i){return t?tu[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??i:i}function tm(t,i){return t&&i?Math.sqrt(Math.pow(i.x-t.x,2)+Math.pow(i.y-t.y,2)):0}let tf=(t,i=2)=>{let e=Math.pow(10,i);return Math.round(t*e)/e},ty=(t,i)=>{let e;let r=i;for(let i of t){if(e){let t=tm(i,e);if(t=1)return{x:i.x,y:i.y};if(o>0&&o<1)return{x:tf((1-o)*e.x+o*i.x,5),y:tf((1-o)*e.y+o*i.y,5)}}}e=i}throw Error("Could not find a suitable point for the given distance")};function tx(t){let i="",e="";for(let r of t)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?e=e+r+";":i=i+r+";");return{style:i,labelStyle:e}}let tb=0,tk=()=>(tb++,"id-"+Math.random().toString(36).substr(2,12)+"-"+tb),tT=t=>(function(t){let i="",e="0123456789abcdef",r=e.length;for(let o=0;o{if(!t||(e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},e),O.lineBreakRegex.test(t)))return t;let r=t.split(" "),o=[],a="";return r.forEach((t,s)=>{let l=tv(`${t} `,e),n=tv(a,e);if(l>i){let{hyphenatedStrings:r,remainingWord:s}=tS(t,i,"-",e);o.push(a,...r),a=s}else n+l>=i?(o.push(a),a=t):a=[a,t].filter(Boolean).join(" ");s+1===r.length&&o.push(a)}),o.filter(t=>""!==t).join(e.joinWith)},(t,i,e)=>`${t}${i}${e.fontSize}${e.fontWeight}${e.fontFamily}${e.joinWith}`),tS=(0,m.Z)((t,i,e="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);let o=[...t],a=[],s="";return o.forEach((t,l)=>{let n=`${s}${t}`;if(tv(n,r)>=i){let t=o.length===l+1,i=`${n}${e}`;a.push(t?n:i),s=""}else s=n}),{hyphenatedStrings:a,remainingWord:s}},(t,i,e="-",r)=>`${t}${i}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function tL(t,i){return t_(t,i).height}function tv(t,i){return t_(t,i).width}let t_=(0,m.Z)((t,i)=>{let{fontSize:e=12,fontFamily:r="Arial",fontWeight:o=400}=i;if(!t)return{width:0,height:0};let[,a]=tA(e),s=t.split(O.lineBreakRegex),l=[],h=(0,n.Ys)("body");if(!h.remove)return{width:0,height:0,lineHeight:0};let c=h.append("svg");for(let t of["sans-serif",r]){let i=0,e={width:0,height:0,lineHeight:0};for(let r of s){let s={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""};s.text=r||td;let l=tB(c,s).style("font-size",a).style("font-weight",o).style("font-family",t),n=(l._groups||l)[0][0].getBBox();if(0===n.width&&0===n.height)throw Error("svg element not in render tree");e.width=Math.round(Math.max(e.width,n.width)),i=Math.round(n.height),e.height+=i,e.lineHeight=Math.round(Math.max(e.lineHeight,i))}l.push(e)}c.remove();let d=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[d]},(t,i)=>`${t}${i.fontSize}${i.fontWeight}${i.fontFamily}`);class tZ{constructor(t=!1,i){this.count=0,this.count=i?i.length:0,this.next=t?()=>this.count++:()=>Date.now()}}let tA=t=>{if("number"==typeof t)return[t,t+"px"];let i=parseInt(t??"",10);return Number.isNaN(i)?[void 0,void 0]:t===String(i)?[i,t+"px"]:[i,t]};function tw(t,i){return(0,f.Z)({},t,i)}let tq={assignWithDepth:tc,wrapLabel:tF,calculateTextHeight:tL,calculateTextWidth:tv,calculateTextDimensions:t_,cleanAndMerge:tw,detectInit:function(t,i){let e=tp(t,/(?:init\b)|(?:initialize\b)/),r={};if(Array.isArray(e)){let t=e.map(t=>t.args);K(t),r=tc(r,[...t])}else r=e.args;if(!r)return;let o=ta(t,i),a="config";return void 0!==r[a]&&("flowchart-v2"===o&&(o="flowchart"),r[o]=r[a],delete r[a]),r},detectDirective:tp,isSubstringInArray:function(t,i){for(let[e,r]of i.entries())if(r.match(t))return e;return -1},interpolateToCurve:tC,calcLabelPosition:function(t){let i,e;return 1===t.length?t[0]:(e=0,t.forEach(t=>{e+=tm(t,i),i=t}),ty(t,e/2))},calcCardinalityPosition:(t,i,e)=>{T.info(`our points ${JSON.stringify(i)}`),i[0]!==e&&(i=i.reverse());let r=ty(i,25),o=t?10:5,a=Math.atan2(i[0].y-r.y,i[0].x-r.x),s={x:0,y:0};return s.x=Math.sin(a)*o+(i[0].x+r.x)/2,s.y=-Math.cos(a)*o+(i[0].y+r.y)/2,s},calcTerminalLabelPosition:function(t,i,e){let r=structuredClone(e);T.info("our points",r),"start_left"!==i&&"start_right"!==i&&r.reverse();let o=ty(r,25+t),a=10+.5*t,s=Math.atan2(r[0].y-o.y,r[0].x-o.x),l={x:0,y:0};return"start_left"===i?(l.x=Math.sin(s+Math.PI)*a+(r[0].x+o.x)/2,l.y=-Math.cos(s+Math.PI)*a+(r[0].y+o.y)/2):"end_right"===i?(l.x=Math.sin(s-Math.PI)*a+(r[0].x+o.x)/2-5,l.y=-Math.cos(s-Math.PI)*a+(r[0].y+o.y)/2-5):"end_left"===i?(l.x=Math.sin(s)*a+(r[0].x+o.x)/2-5,l.y=-Math.cos(s)*a+(r[0].y+o.y)/2-5):(l.x=Math.sin(s)*a+(r[0].x+o.x)/2,l.y=-Math.cos(s)*a+(r[0].y+o.y)/2),l},formatUrl:function(t,i){let e=t.trim();return e?"loose"!==i.securityLevel?(0,l.Nm)(e):e:void 0},getStylesFromArray:tx,generateId:tk,random:tT,runFunc:(t,...i)=>{let e=t.split("."),r=e.length-1,o=e[r],a=window;for(let i=0;i{var o;if(!r)return;let a=null==(o=t.node())?void 0:o.getBBox();a&&t.append("text").text(r).attr("x",a.x+a.width/2).attr("y",-e).attr("class",i)},parseFontSize:tA,InitIDGenerator:tZ},tI="10.6.1",tM=Object.freeze(J),tE=tc({},tM),tO=[],tz=tc({},tM),tW=(t,i)=>{let e=tc({},t),r={};for(let t of i)tN(t),r=tc(r,t);if(e=tc(e,r),r.theme&&r.theme in H){let t=tc({},o),i=tc(t.themeVariables||{},r.themeVariables);e.theme&&e.theme in H&&(e.themeVariables=H[e.theme].getThemeVariables(i))}return tX(tz=e),tz},tD=t=>(tE=tc({},tM),tE=tc(tE,t),t.theme&&H[t.theme]&&(tE.themeVariables=H[t.theme].getThemeVariables(t.themeVariables)),tW(tE,tO),tE),tP=t=>{o=tc({},t)},tj=()=>tc({},tE),t$=t=>(tX(t),tc(tz,t),tR()),tR=()=>tc({},tz),tN=t=>{t&&(["secure",...tE.secure??[]].forEach(i=>{Object.hasOwn(t,i)&&(T.debug(`Denied attempt to modify a secure key ${i}`,t[i]),delete t[i])}),Object.keys(t).forEach(i=>{i.startsWith("__")&&delete t[i]}),Object.keys(t).forEach(i=>{"string"==typeof t[i]&&(t[i].includes("<")||t[i].includes(">")||t[i].includes("url(data:"))&&delete t[i],"object"==typeof t[i]&&tN(t[i])}))},tY=t=>{K(t),!t.fontFamily||t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily}),tO.push(t),tW(tE,tO)},tH=(t=tE)=>{tW(t,tO=[])},tV={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},tU={},tG=t=>{tU[t]||(T.warn(tV[t]),tU[t]=!0)},tX=t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&tG("LAZY_LOAD_DEPRECATED")},tJ={id:"c4",detector:t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),loader:async()=>{let{diagram:t}=await e.e(422).then(e.bind(e,35422));return{id:"c4",diagram:t}}},tK="flowchart",tQ=async()=>{let{diagram:t}=await Promise.all([e.e(296),e.e(694),e.e(198),e.e(880),e.e(410),e.e(892)]).then(e.bind(e,50892));return{id:tK,diagram:t}},t0={id:tK,detector:(t,i)=>{var e,r;return(null==(e=null==i?void 0:i.flowchart)?void 0:e.defaultRenderer)!=="dagre-wrapper"&&(null==(r=null==i?void 0:i.flowchart)?void 0:r.defaultRenderer)!=="elk"&&/^\s*graph/.test(t)},loader:tQ},t1="flowchart-v2",t2=async()=>{let{diagram:t}=await Promise.all([e.e(296),e.e(694),e.e(198),e.e(880),e.e(410),e.e(516)]).then(e.bind(e,41516));return{id:t1,diagram:t}},t5={id:t1,detector:(t,i)=>{var e,r,o;return(null==(e=null==i?void 0:i.flowchart)?void 0:e.defaultRenderer)!=="dagre-d3"&&(null==(r=null==i?void 0:i.flowchart)?void 0:r.defaultRenderer)!=="elk"&&(!!/^\s*graph/.test(t)&&(null==(o=null==i?void 0:i.flowchart)?void 0:o.defaultRenderer)==="dagre-wrapper"||/^\s*flowchart/.test(t))},loader:t2},t3={id:"er",detector:t=>/^\s*erDiagram/.test(t),loader:async()=>{let{diagram:t}=await Promise.all([e.e(296),e.e(300)]).then(e.bind(e,11300));return{id:"er",diagram:t}}},t6="gitGraph",t4=async()=>{let{diagram:t}=await e.e(908).then(e.bind(e,88908));return{id:t6,diagram:t}},t8={id:t6,detector:t=>/^\s*gitGraph/.test(t),loader:t4},t9="gantt",t7=async()=>{let{diagram:t}=await e.e(846).then(e.bind(e,95846));return{id:t9,diagram:t}},it={id:t9,detector:t=>/^\s*gantt/.test(t),loader:t7},ii="info",ie=async()=>{let{diagram:t}=await e.e(992).then(e.bind(e,68992));return{id:ii,diagram:t}},ir={id:ii,detector:t=>/^\s*info/.test(t),loader:ie},io={id:"pie",detector:t=>/^\s*pie/.test(t),loader:async()=>{let{diagram:t}=await e.e(697).then(e.bind(e,22697));return{id:"pie",diagram:t}}},ia="quadrantChart",is=async()=>{let{diagram:t}=await e.e(5).then(e.bind(e,80005));return{id:ia,diagram:t}},il={id:ia,detector:t=>/^\s*quadrantChart/.test(t),loader:is},ih="xychart",ic=async()=>{let{diagram:t}=await Promise.all([e.e(694),e.e(8)]).then(e.bind(e,21008));return{id:ih,diagram:t}},id={id:ih,detector:t=>/^\s*xychart-beta/.test(t),loader:ic},iu="requirement",ig=async()=>{let{diagram:t}=await Promise.all([e.e(296),e.e(744)]).then(e.bind(e,37744));return{id:iu,diagram:t}},ip={id:iu,detector:t=>/^\s*requirement(Diagram)?/.test(t),loader:ig},iC="sequence",im=async()=>{let{diagram:t}=await e.e(310).then(e.bind(e,68310));return{id:iC,diagram:t}},iy={id:iC,detector:t=>/^\s*sequenceDiagram/.test(t),loader:im},ix="class",ib=async()=>{let{diagram:t}=await Promise.all([e.e(296),e.e(298),e.e(32)]).then(e.bind(e,96032));return{id:ix,diagram:t}},ik={id:ix,detector:(t,i)=>{var e;return(null==(e=null==i?void 0:i.class)?void 0:e.defaultRenderer)!=="dagre-wrapper"&&/^\s*classDiagram/.test(t)},loader:ib},iT="classDiagram",iB=async()=>{let{diagram:t}=await Promise.all([e.e(296),e.e(694),e.e(198),e.e(880),e.e(298),e.e(643)]).then(e.bind(e,6643));return{id:iT,diagram:t}},iF={id:iT,detector:(t,i)=>{var e;return!!/^\s*classDiagram/.test(t)&&(null==(e=null==i?void 0:i.class)?void 0:e.defaultRenderer)==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t)},loader:iB},iS="state",iL=async()=>{let{diagram:t}=await Promise.all([e.e(296),e.e(227),e.e(525)]).then(e.bind(e,65525));return{id:iS,diagram:t}},iv={id:iS,detector:(t,i)=>{var e;return(null==(e=null==i?void 0:i.state)?void 0:e.defaultRenderer)!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t)},loader:iL},i_="stateDiagram",iZ=async()=>{let{diagram:t}=await Promise.all([e.e(296),e.e(694),e.e(198),e.e(880),e.e(227),e.e(93)]).then(e.bind(e,93093));return{id:i_,diagram:t}},iA={id:i_,detector:(t,i)=>{var e;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&(null==(e=null==i?void 0:i.state)?void 0:e.defaultRenderer)==="dagre-wrapper")},loader:iZ},iw="journey",iq=async()=>{let{diagram:t}=await e.e(357).then(e.bind(e,39357));return{id:iw,diagram:t}},iI={id:iw,detector:t=>/^\s*journey/.test(t),loader:iq},iM=function(t,i){for(let e of i)t.attr(e[0],e[1])},iE=function(t,i,e){let r=new Map;return e?(r.set("width","100%"),r.set("style",`max-width: ${i}px;`)):(r.set("height",t),r.set("width",i)),r},iO=function(t,i,e,r){iM(t,iE(i,e,r))},iz=function(t,i,e,r){let o=i.node().getBBox(),a=o.width,s=o.height;T.info(`SVG bounds: ${a}x${s}`,o);let l=0,n=0;T.info(`Graph bounds: ${l}x${n}`,t),l=a+2*e,n=s+2*e,T.info(`Calculated bounds: ${l}x${n}`),iO(i,n,l,r);let h=`${o.x-e} ${o.y-e} ${o.width+2*e} ${o.height+2*e}`;i.attr("viewBox",h)},iW={},iD=(t,i)=>{void 0!==i&&(iW[t]=i)},iP=(t,i,e)=>{let r="";return t in iW&&iW[t]?r=iW[t](e):T.warn(`No theme found for ${t}`),` & { font-family: ${e.fontFamily}; font-size: ${e.fontSize}; fill: ${e.textColor} @@ -48,12 +48,12 @@ ${r} ${i} -`},ij="",i$="",iN="",iR=t=>_(t,tN()),iY=()=>{ij="",iN="",i$=""},iH=t=>{ij=iR(t).replace(/^\s+/g,"")},iV=()=>ij,iU=t=>{iN=iR(t).replace(/\n\s+/g,"\n")},iG=()=>iN,iX=t=>{i$=iR(t)},iJ=()=>i$,iK=Object.freeze(Object.defineProperty({__proto__:null,clear:iY,getAccDescription:iG,getAccTitle:iV,getDiagramTitle:iJ,setAccDescription:iU,setAccTitle:iH,setDiagramTitle:iX},Symbol.toStringTag,{value:"Module"})),iQ=tN,i0=t$,i1=tM,i2=t=>_(t,iQ()),i5=iz,i3=()=>iK,i6={},i4=(t,i,e)=>{var r;if(i6[t])throw Error(`Diagram ${t} already registered.`);i6[t]=i,e&&tl(t,e),iD(t,i.styles),null==(r=i.injectUtils)||r.call(i,T,B,iQ,i2,i5,i3(),()=>{})},i8=t=>{if(t in i6)return i6[t];throw new i9(t)};class i9 extends Error{constructor(t){super(`Diagram ${t} not found.`)}}let i7=t=>{var i;let{securityLevel:e}=iQ(),r=(0,n.Ys)("body");if("sandbox"===e){let e=(null==(i=(0,n.Ys)(`#i${t}`).node())?void 0:i.contentDocument)??document;r=(0,n.Ys)(e.body)}return r.select(`#${t}`)},et={draw:(t,i,e)=>{T.debug("renering svg for syntax error\n");let r=i7(i);r.attr("viewBox","0 0 2412 512"),iO(r,100,512,!0);let o=r.append("g");o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${e}`)}},ei={db:{},renderer:et,parser:{parser:{yy:{}},parse:()=>{}}},ee="flowchart-elk",er=async()=>{let{diagram:t}=await Promise.all([e.e(279),e.e(694),e.e(198),e.e(410),e.e(489)]).then(e.bind(e,46489));return{id:ee,diagram:t}},eo={id:ee,detector:(t,i)=>{var e;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&(null==(e=null==i?void 0:i.flowchart)?void 0:e.defaultRenderer)==="elk")},loader:er},ea="timeline",es=async()=>{let{diagram:t}=await e.e(669).then(e.bind(e,22669));return{id:ea,diagram:t}},el={id:ea,detector:t=>/^\s*timeline/.test(t),loader:es},en="mindmap",eh=async()=>{let{diagram:t}=await Promise.all([e.e(344),e.e(694),e.e(449)]).then(e.bind(e,22449));return{id:en,diagram:t}},ec={id:en,detector:t=>/^\s*mindmap/.test(t),loader:eh},ed="sankey",eu=async()=>{let{diagram:t}=await e.e(685).then(e.bind(e,36685));return{id:ed,diagram:t}},eg={id:ed,detector:t=>/^\s*sankey-beta/.test(t),loader:eu},ep=!1,eC=()=>{ep||(ep=!0,i4("error",ei,t=>"error"===t.toLowerCase().trim()),i4("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},t=>t.toLowerCase().trimStart().startsWith("---")),ts(tJ,iF,ik,t3,it,ir,io,ip,iy,eo,t5,t0,ec,el,t8,iA,iv,iI,il,eg,id))};class em{constructor(t,i={}){this.text=t,this.metadata=i,this.type="graph",this.text+="\n";let e=tN();try{this.type=ta(t,e)}catch(t){this.type="error",this.detectError=t}let r=i8(this.type);T.debug("Type "+this.type),this.db=r.db,this.renderer=r.renderer,this.parser=r.parser,this.parser.parser.yy=this.db,this.init=r.init,this.parse()}parse(){var t,i,e,r,o;if(this.detectError)throw this.detectError;null==(i=(t=this.db).clear)||i.call(t);let a=tN();null==(e=this.init)||e.call(this,a),this.metadata.title&&(null==(o=(r=this.db).setDiagramTitle)||o.call(r,this.metadata.title)),this.parser.parse(this.text)}async render(t,i){await this.renderer.draw(this.text,t,i,this)}getParser(){return this.parser}getType(){return this.type}}let ef=async(t,i={})=>{let e=ta(t,tN());try{i8(e)}catch(o){let t=tn(e);if(!t)throw new tr(`Diagram ${e} not found.`);let{id:i,diagram:r}=await t();i4(i,r)}return new em(t,i)},ey=[],ex=t=>{ey.push(t)},eb=()=>{ey.forEach(t=>{t()}),ey=[]},ek=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function eT(t){return null==t}var eB={isNothing:eT,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:eT(t)?[]:[t]},repeat:function(t,i){var e,r="";for(e=0;el&&(i=r-l+(a=" ... ").length),e-r>l&&(e=r+l-(s=" ...").length),{str:a+t.slice(i,e).replace(/\t/g,"→")+s,pos:r-i+a.length}}function ev(t,i){return eB.repeat(" ",i-t.length)+t}eS.prototype=Object.create(Error.prototype),eS.prototype.constructor=eS,eS.prototype.toString=function(t){return this.name+": "+eF(this,t)};var e_=function(t,i){if(i=Object.create(i||null),!t.buffer)return null;i.maxLength||(i.maxLength=79),"number"!=typeof i.indent&&(i.indent=1),"number"!=typeof i.linesBefore&&(i.linesBefore=3),"number"!=typeof i.linesAfter&&(i.linesAfter=2);for(var e=/\r?\n|\r|\0/g,r=[0],o=[],a=-1;s=e.exec(t.buffer);)o.push(s.index),r.push(s.index+s[0].length),t.position<=s.index&&a<0&&(a=r.length-2);a<0&&(a=r.length-1);var s,l,n,h="",c=Math.min(t.line+i.linesAfter,o.length).toString().length,d=i.maxLength-(i.indent+c+3);for(l=1;l<=i.linesBefore&&!(a-l<0);l++)n=eL(t.buffer,r[a-l],o[a-l],t.position-(r[a]-r[a-l]),d),h=eB.repeat(" ",i.indent)+ev((t.line-l+1).toString(),c)+" | "+n.str+"\n"+h;for(n=eL(t.buffer,r[a],o[a],t.position,d),h+=eB.repeat(" ",i.indent)+ev((t.line+1).toString(),c)+" | "+n.str+"\n"+eB.repeat("-",i.indent+c+3+n.pos)+"^\n",l=1;l<=i.linesAfter&&!(a+l>=o.length);l++)n=eL(t.buffer,r[a+l],o[a+l],t.position-(r[a]-r[a+l]),d),h+=eB.repeat(" ",i.indent)+ev((t.line+l+1).toString(),c)+" | "+n.str+"\n";return h.replace(/\n$/,"")},eZ=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],eA=["scalar","sequence","mapping"],ew=function(t,i){var e,r;if(Object.keys(i=i||{}).forEach(function(i){if(-1===eZ.indexOf(i))throw new eS('Unknown option "'+i+'" is met in definition of "'+t+'" YAML type.')}),this.options=i,this.tag=t,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(t){return t},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=(e=i.styleAliases||null,r={},null!==e&&Object.keys(e).forEach(function(t){e[t].forEach(function(i){r[String(i)]=t})}),r),-1===eA.indexOf(this.kind))throw new eS('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function eq(t,i){var e=[];return t[i].forEach(function(t){var i=e.length;e.forEach(function(e,r){e.tag===t.tag&&e.kind===t.kind&&e.multi===t.multi&&(i=r)}),e[i]=t}),e}function eI(t){return this.extend(t)}eI.prototype.extend=function(t){var i=[],e=[];if(t instanceof ew)e.push(t);else if(Array.isArray(t))e=e.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(i=i.concat(t.implicit)),t.explicit&&(e=e.concat(t.explicit));else throw new eS("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.forEach(function(t){if(!(t instanceof ew))throw new eS("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new eS("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new eS("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),e.forEach(function(t){if(!(t instanceof ew))throw new eS("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create(eI.prototype);return r.implicit=(this.implicit||[]).concat(i),r.explicit=(this.explicit||[]).concat(e),r.compiledImplicit=eq(r,"implicit"),r.compiledExplicit=eq(r,"explicit"),r.compiledTypeMap=function(){var t,i,e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}for(t=0,i=arguments.length;t=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),eW=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),eD=/^[-+]?[0-9]+e/,eP=new ew("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return!!(null!==t&&eW.test(t)&&"_"!==t[t.length-1])},construct:function(t){var i,e;return(e="-"===(i=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(i[0])>=0&&(i=i.slice(1)),".inf"===i)?1===e?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===i?NaN:e*parseFloat(i,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||eB.isNegativeZero(t))},represent:function(t,i){var e;if(isNaN(t))switch(i){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(i){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(i){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(eB.isNegativeZero(t))return"-0.0";return e=t.toString(10),eD.test(e)?e.replace("e",".e"):e},defaultStyle:"lowercase"}),ej=eM.extend({implicit:[eE,eO,ez,eP]}),e$=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),eN=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),eR=new ew("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==e$.exec(t)||null!==eN.exec(t))},construct:function(t){var i,e,r,o,a,s,l,n,h=0,c=null;if(null===(i=e$.exec(t))&&(i=eN.exec(t)),null===i)throw Error("Date resolve error");if(e=+i[1],r=+i[2]-1,o=+i[3],!i[4])return new Date(Date.UTC(e,r,o));if(a=+i[4],s=+i[5],l=+i[6],i[7]){for(h=i[7].slice(0,3);h.length<3;)h+="0";h=+h}return i[9]&&(c=(60*+i[10]+ +(i[11]||0))*6e4,"-"===i[9]&&(c=-c)),n=new Date(Date.UTC(e,r,o,a,s,l,h)),c&&n.setTime(n.getTime()-c),n},instanceOf:Date,represent:function(t){return t.toISOString()}}),eY=new ew("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),eH="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",eV=new ew("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var i,e,r=0,o=t.length;for(e=0;e64)){if(i<0)return!1;r+=6}return r%8==0},construct:function(t){var i,e,r=t.replace(/[\r\n=]/g,""),o=r.length,a=0,s=[];for(i=0;i>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|eH.indexOf(r.charAt(i));return 0==(e=o%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===e?(s.push(a>>10&255),s.push(a>>2&255)):12===e&&s.push(a>>4&255),new Uint8Array(s)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var i,e,r="",o=0,a=t.length;for(i=0;i>18&63]+eH[o>>12&63]+eH[o>>6&63]+eH[63&o]),o=(o<<8)+t[i];return 0==(e=a%3)?r+=eH[o>>18&63]+eH[o>>12&63]+eH[o>>6&63]+eH[63&o]:2===e?r+=eH[o>>10&63]+eH[o>>4&63]+eH[o<<2&63]+eH[64]:1===e&&(r+=eH[o>>2&63]+eH[o<<4&63]+eH[64]+eH[64]),r}}),eU=Object.prototype.hasOwnProperty,eG=Object.prototype.toString,eX=new ew("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var i,e,r,o,a,s=[];for(i=0,e=t.length;i1&&(t.result+=eB.repeat("\n",i-1))}function rx(t,i){var e,r,o=t.tag,a=t.anchor,s=[],l=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=s),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,rh(t,"tab characters must not be used in indentation")),45===r&&ri(t.input.charCodeAt(t.position+1)));){if(l=!0,t.position++,rm(t,!0,-1)&&t.lineIndent<=i){s.push(null),r=t.input.charCodeAt(t.position);continue}if(e=t.line,rb(t,i,3,!1,!0),s.push(t.result),rm(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===e||t.lineIndent>i)&&0!==r)rh(t,"bad indentation of a sequence entry");else if(t.lineIndenti?p=1:t.lineIndent===i?p=0:t.lineIndenti?p=1:t.lineIndent===i?p=0:t.lineIndenti)&&(f&&(s=t.line,l=t.lineStart,n=t.position),rb(t,i,4,!0,o)&&(f?C=t.result:m=t.result),f||(rp(t,u,g,p,C,m,s,l,n),p=C=m=null),rm(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>i)&&0!==h)rh(t,"bad indentation of a mapping entry");else if(t.lineIndent=0)0===a?rh(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):h?rh(t,"repeat of an indentation width identifier"):(c=i+a-1,h=!0);else break;if(rt(s)){do s=t.input.charCodeAt(++t.position);while(rt(s));if(35===s)do s=t.input.charCodeAt(++t.position);while(!e7(s)&&0!==s)}for(;0!==s;){for(rC(t),t.lineIndent=0,s=t.input.charCodeAt(t.position);(!h||t.lineIndentc&&(c=t.lineIndent),e7(s)){d++;continue}if(t.lineIndent0){for(o=s,a=0;o>0;o--)(s=function(t){var i;return 48<=t&&t<=57?t-48:97<=(i=32|t)&&i<=102?i-97+10:-1}(l=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+s:rh(t,"expected hexadecimal character");t.result+=(h=a)<=65535?String.fromCharCode(h):String.fromCharCode((h-65536>>10)+55296,(h-65536&1023)+56320),t.position++}else rh(t,"unknown escape sequence");e=r=t.position}else e7(l)?(ru(t,e,r,!0),ry(t,rm(t,!1,i)),e=r=t.position):t.position===t.lineStart&&rf(t)?rh(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}rh(t,"unexpected end of the stream within a double quoted scalar")}(t,u)?m=!0:function(t){var i,e,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),i=t.position;0!==r&&!ri(r)&&!re(r);)r=t.input.charCodeAt(++t.position);return t.position===i&&rh(t,"name of an alias node must contain at least one character"),e=t.input.slice(i,t.position),e2.call(t.anchorMap,e)||rh(t,'unidentified alias "'+e+'"'),t.result=t.anchorMap[e],rm(t,!0,-1),!0}(t)?(m=!0,(null!==t.tag||null!==t.anchor)&&rh(t,"alias node should not have any properties")):function(t,i,e){var r,o,a,s,l,n,h,c,d=t.kind,u=t.result;if(ri(c=t.input.charCodeAt(t.position))||re(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(ri(r=t.input.charCodeAt(t.position+1))||e&&re(r)))return!1;for(t.kind="scalar",t.result="",o=a=t.position,s=!1;0!==c;){if(58===c){if(ri(r=t.input.charCodeAt(t.position+1))||e&&re(r))break}else if(35===c){if(ri(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&rf(t)||e&&re(c))break;else if(e7(c)){if(l=t.line,n=t.lineStart,h=t.lineIndent,rm(t,!1,-1),t.lineIndent>=i){s=!0,c=t.input.charCodeAt(t.position);continue}t.position=a,t.line=l,t.lineStart=n,t.lineIndent=h;break}s&&(ru(t,o,a,!1),ry(t,t.line-l),o=a=t.position,s=!1),rt(c)||(a=t.position+1),c=t.input.charCodeAt(++t.position)}return ru(t,o,a,!1),!!t.result||(t.kind=d,t.result=u,!1)}(t,u,1===e)&&(m=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===p&&(m=l&&rx(t,g))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&rh(t,'unacceptable node kind for ! tag; it should be "scalar", not "'+t.kind+'"'),n=0,h=t.implicitTypes.length;n"),null!==t.result&&d.kind!==t.kind&&rh(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+d.kind+'", not "'+t.kind+'"'),d.resolve(t.result,t.tag)?(t.result=d.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):rh(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||m}var rk=function(t,i){var e=function(t,i){t=String(t),i=i||{},0!==t.length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var e=new rl(t,i),r=t.indexOf("\x00");for(-1!==r&&(e.position=r,rh(e,"null byte is not allowed in input")),e.input+="\x00";32===e.input.charCodeAt(e.position);)e.lineIndent+=1,e.position+=1;for(;e.position0)&&37===o);){for(s=!0,o=t.input.charCodeAt(++t.position),i=t.position;0!==o&&!ri(o);)o=t.input.charCodeAt(++t.position);for(e=t.input.slice(i,t.position),r=[],e.length<1&&rh(t,"directive name must not be less than one character in length");0!==o;){for(;rt(o);)o=t.input.charCodeAt(++t.position);if(35===o){do o=t.input.charCodeAt(++t.position);while(0!==o&&!e7(o));break}if(e7(o))break;for(i=t.position;0!==o&&!ri(o);)o=t.input.charCodeAt(++t.position);r.push(t.input.slice(i,t.position))}0!==o&&rC(t),e2.call(rd,e)?rd[e](t,e,r):rc(t,'unknown document directive "'+e+'"')}if(rm(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,rm(t,!0,-1)):s&&rh(t,"directives end mark is expected"),rb(t,t.lineIndent-1,4,!1,!0),rm(t,!0,-1),t.checkLineBreaks&&e3.test(t.input.slice(a,t.position))&&rc(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&rf(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,rm(t,!0,-1));return}t.positiont.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,i,e)=>"<"+i+e.replace(/="([^"]*)"/g,"='$1'")+">"),rB=t=>{let{text:i,metadata:e}=function(t){let i=t.match(tt);if(!i)return{text:t,metadata:{}};let e=rk(i[1],{schema:ej})??{};e="object"!=typeof e||Array.isArray(e)?{}:e;let r={};return e.displayMode&&(r.displayMode=e.displayMode.toString()),e.title&&(r.title=e.title.toString()),e.config&&(r.config=e.config),{text:t.slice(i[0].length),metadata:r}}(t),{displayMode:r,title:o,config:a={}}=e;return r&&(a.gantt||(a.gantt={}),a.gantt.displayMode=r),{title:o,config:a,text:i}},rF=t=>{let i=tq.detectInit(t)??{},e=tq.detectDirective(t,"wrap");return Array.isArray(e)?i.wrap=e.some(({type:t})=>{}):(null==e?void 0:e.type)==="wrap"&&(i.wrap=!0),{text:t.replace(ti,""),directive:i}},rS=["foreignobject"],rL=["dominant-baseline"];function rv(t){let i=function(t){let i=rB(rT(t)),e=rF(i.text),r=tw(i.config,e.directive);return{code:t=ek(e.text),title:i.title,config:r}}(t);return tH(),tY(i.config??{}),i}let r_=function(t){let i=t;return(i=(i=i.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){let i=t.substring(1,t.length-1);return/^\+?\d+$/.test(i)?"fl\xb0\xb0"+i+"\xb6\xdf":"fl\xb0"+i+"\xb6\xdf"})},rZ=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},rA=(t,i,e=[])=>` -.${t} ${i} { ${e.join(" !important; ")} !important; }`,rw=(t,i={})=>{var e;let r="";if(void 0!==t.themeCSS&&(r+=` +`},ij="",i$="",iR="",iN=t=>_(t,tR()),iY=()=>{ij="",iR="",i$=""},iH=t=>{ij=iN(t).replace(/^\s+/g,"")},iV=()=>ij,iU=t=>{iR=iN(t).replace(/\n\s+/g,"\n")},iG=()=>iR,iX=t=>{i$=iN(t)},iJ=()=>i$,iK=Object.freeze(Object.defineProperty({__proto__:null,clear:iY,getAccDescription:iG,getAccTitle:iV,getDiagramTitle:iJ,setAccDescription:iU,setAccTitle:iH,setDiagramTitle:iX},Symbol.toStringTag,{value:"Module"})),iQ=tR,i0=t$,i1=tM,i2=t=>_(t,iQ()),i5=iz,i3=()=>iK,i6={},i4=(t,i,e)=>{var r;if(i6[t])throw Error(`Diagram ${t} already registered.`);i6[t]=i,e&&tl(t,e),iD(t,i.styles),null==(r=i.injectUtils)||r.call(i,T,B,iQ,i2,i5,i3(),()=>{})},i8=t=>{if(t in i6)return i6[t];throw new i9(t)};class i9 extends Error{constructor(t){super(`Diagram ${t} not found.`)}}let i7=t=>{var i;let{securityLevel:e}=iQ(),r=(0,n.Ys)("body");if("sandbox"===e){let e=(null==(i=(0,n.Ys)(`#i${t}`).node())?void 0:i.contentDocument)??document;r=(0,n.Ys)(e.body)}return r.select(`#${t}`)},et={draw:(t,i,e)=>{T.debug("renering svg for syntax error\n");let r=i7(i);r.attr("viewBox","0 0 2412 512"),iO(r,100,512,!0);let o=r.append("g");o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${e}`)}},ei={db:{},renderer:et,parser:{parser:{yy:{}},parse:()=>{}}},ee="flowchart-elk",er=async()=>{let{diagram:t}=await Promise.all([e.e(279),e.e(694),e.e(198),e.e(410),e.e(489)]).then(e.bind(e,46489));return{id:ee,diagram:t}},eo={id:ee,detector:(t,i)=>{var e;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&(null==(e=null==i?void 0:i.flowchart)?void 0:e.defaultRenderer)==="elk")},loader:er},ea="timeline",es=async()=>{let{diagram:t}=await e.e(669).then(e.bind(e,22669));return{id:ea,diagram:t}},el={id:ea,detector:t=>/^\s*timeline/.test(t),loader:es},en="mindmap",eh=async()=>{let{diagram:t}=await Promise.all([e.e(344),e.e(694),e.e(449)]).then(e.bind(e,22449));return{id:en,diagram:t}},ec={id:en,detector:t=>/^\s*mindmap/.test(t),loader:eh},ed="sankey",eu=async()=>{let{diagram:t}=await e.e(685).then(e.bind(e,36685));return{id:ed,diagram:t}},eg={id:ed,detector:t=>/^\s*sankey-beta/.test(t),loader:eu},ep=!1,eC=()=>{ep||(ep=!0,i4("error",ei,t=>"error"===t.toLowerCase().trim()),i4("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},t=>t.toLowerCase().trimStart().startsWith("---")),ts(tJ,iF,ik,t3,it,ir,io,ip,iy,eo,t5,t0,ec,el,t8,iA,iv,iI,il,eg,id))};class em{constructor(t,i={}){this.text=t,this.metadata=i,this.type="graph",this.text+="\n";let e=tR();try{this.type=ta(t,e)}catch(t){this.type="error",this.detectError=t}let r=i8(this.type);T.debug("Type "+this.type),this.db=r.db,this.renderer=r.renderer,this.parser=r.parser,this.parser.parser.yy=this.db,this.init=r.init,this.parse()}parse(){var t,i,e,r,o;if(this.detectError)throw this.detectError;null==(i=(t=this.db).clear)||i.call(t);let a=tR();null==(e=this.init)||e.call(this,a),this.metadata.title&&(null==(o=(r=this.db).setDiagramTitle)||o.call(r,this.metadata.title)),this.parser.parse(this.text)}async render(t,i){await this.renderer.draw(this.text,t,i,this)}getParser(){return this.parser}getType(){return this.type}}let ef=async(t,i={})=>{let e=ta(t,tR());try{i8(e)}catch(o){let t=tn(e);if(!t)throw new tr(`Diagram ${e} not found.`);let{id:i,diagram:r}=await t();i4(i,r)}return new em(t,i)},ey=[],ex=t=>{ey.push(t)},eb=()=>{ey.forEach(t=>{t()}),ey=[]},ek=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();var eT={isObject:function(t){return"object"==typeof t&&null!==t},repeat:function(t,i){var e,r="";for(e=0;el&&(i=r-l+(a=" ... ").length),e-r>l&&(e=r+l-(s=" ...").length),{str:a+t.slice(i,e).replace(/\t/g,"→")+s,pos:r-i+a.length}}function eL(t,i){return eT.repeat(" ",i-t.length)+t}eF.prototype=Object.create(Error.prototype),eF.prototype.constructor=eF,eF.prototype.toString=function(t){return this.name+": "+eB(this,t)};var ev=function(t,i){if(i=Object.create(i||null),!t.buffer)return null;i.maxLength||(i.maxLength=79),"number"!=typeof i.indent&&(i.indent=1),"number"!=typeof i.linesBefore&&(i.linesBefore=3),"number"!=typeof i.linesAfter&&(i.linesAfter=2);for(var e=/\r?\n|\r|\0/g,r=[0],o=[],a=-1;s=e.exec(t.buffer);)o.push(s.index),r.push(s.index+s[0].length),t.position<=s.index&&a<0&&(a=r.length-2);a<0&&(a=r.length-1);var s,l,n,h="",c=Math.min(t.line+i.linesAfter,o.length).toString().length,d=i.maxLength-(i.indent+c+3);for(l=1;l<=i.linesBefore&&!(a-l<0);l++)n=eS(t.buffer,r[a-l],o[a-l],t.position-(r[a]-r[a-l]),d),h=eT.repeat(" ",i.indent)+eL((t.line-l+1).toString(),c)+" | "+n.str+"\n"+h;for(n=eS(t.buffer,r[a],o[a],t.position,d),h+=eT.repeat(" ",i.indent)+eL((t.line+1).toString(),c)+" | "+n.str+"\n"+eT.repeat("-",i.indent+c+3+n.pos)+"^\n",l=1;l<=i.linesAfter&&!(a+l>=o.length);l++)n=eS(t.buffer,r[a+l],o[a+l],t.position-(r[a]-r[a+l]),d),h+=eT.repeat(" ",i.indent)+eL((t.line+l+1).toString(),c)+" | "+n.str+"\n";return h.replace(/\n$/,"")},e_=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],eZ=["scalar","sequence","mapping"],eA=function(t,i){var e,r;if(Object.keys(i=i||{}).forEach(function(i){if(-1===e_.indexOf(i))throw new eF('Unknown option "'+i+'" is met in definition of "'+t+'" YAML type.')}),this.options=i,this.tag=t,this.kind=i.kind||null,this.resolve=i.resolve||function(){return!0},this.construct=i.construct||function(t){return t},this.instanceOf=i.instanceOf||null,this.predicate=i.predicate||null,this.represent=i.represent||null,this.representName=i.representName||null,this.defaultStyle=i.defaultStyle||null,this.multi=i.multi||!1,this.styleAliases=(e=i.styleAliases||null,r={},null!==e&&Object.keys(e).forEach(function(t){e[t].forEach(function(i){r[String(i)]=t})}),r),-1===eZ.indexOf(this.kind))throw new eF('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function ew(t,i){var e=[];return t[i].forEach(function(t){var i=e.length;e.forEach(function(e,r){e.tag===t.tag&&e.kind===t.kind&&e.multi===t.multi&&(i=r)}),e[i]=t}),e}function eq(t){return this.extend(t)}eq.prototype.extend=function(t){var i=[],e=[];if(t instanceof eA)e.push(t);else if(Array.isArray(t))e=e.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(i=i.concat(t.implicit)),t.explicit&&(e=e.concat(t.explicit));else throw new eF("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.forEach(function(t){if(!(t instanceof eA))throw new eF("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new eF("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new eF("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),e.forEach(function(t){if(!(t instanceof eA))throw new eF("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create(eq.prototype);return r.implicit=(this.implicit||[]).concat(i),r.explicit=(this.explicit||[]).concat(e),r.compiledImplicit=ew(r,"implicit"),r.compiledExplicit=ew(r,"explicit"),r.compiledTypeMap=function(){var t,i,e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(e.multi[t.kind].push(t),e.multi.fallback.push(t)):e[t.kind][t.tag]=e.fallback[t.tag]=t}for(t=0,i=arguments.length;t=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),ez=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),eW=/^[-+]?[0-9]+e/,eD=new eA("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return!!(null!==t&&ez.test(t)&&"_"!==t[t.length-1])},construct:function(t){var i,e;return(e="-"===(i=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(i[0])>=0&&(i=i.slice(1)),".inf"===i)?1===e?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===i?NaN:e*parseFloat(i,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||eT.isNegativeZero(t))},represent:function(t,i){var e;if(isNaN(t))switch(i){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(i){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(i){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(eT.isNegativeZero(t))return"-0.0";return e=t.toString(10),eW.test(e)?e.replace("e",".e"):e},defaultStyle:"lowercase"}),eP=eI.extend({implicit:[eM,eE,eO,eD]}),ej=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),e$=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),eR=new eA("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==ej.exec(t)||null!==e$.exec(t))},construct:function(t){var i,e,r,o,a,s,l,n,h=0,c=null;if(null===(i=ej.exec(t))&&(i=e$.exec(t)),null===i)throw Error("Date resolve error");if(e=+i[1],r=+i[2]-1,o=+i[3],!i[4])return new Date(Date.UTC(e,r,o));if(a=+i[4],s=+i[5],l=+i[6],i[7]){for(h=i[7].slice(0,3);h.length<3;)h+="0";h=+h}return i[9]&&(c=(60*+i[10]+ +(i[11]||0))*6e4,"-"===i[9]&&(c=-c)),n=new Date(Date.UTC(e,r,o,a,s,l,h)),c&&n.setTime(n.getTime()-c),n},instanceOf:Date,represent:function(t){return t.toISOString()}}),eN=new eA("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),eY="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",eH=new eA("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var i,e,r=0,o=t.length;for(e=0;e64)){if(i<0)return!1;r+=6}return r%8==0},construct:function(t){var i,e,r=t.replace(/[\r\n=]/g,""),o=r.length,a=0,s=[];for(i=0;i>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|eY.indexOf(r.charAt(i));return 0==(e=o%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===e?(s.push(a>>10&255),s.push(a>>2&255)):12===e&&s.push(a>>4&255),new Uint8Array(s)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var i,e,r="",o=0,a=t.length;for(i=0;i>18&63]+eY[o>>12&63]+eY[o>>6&63]+eY[63&o]),o=(o<<8)+t[i];return 0==(e=a%3)?r+=eY[o>>18&63]+eY[o>>12&63]+eY[o>>6&63]+eY[63&o]:2===e?r+=eY[o>>10&63]+eY[o>>4&63]+eY[o<<2&63]+eY[64]:1===e&&(r+=eY[o>>2&63]+eY[o<<4&63]+eY[64]+eY[64]),r}}),eV=Object.prototype.hasOwnProperty,eU=Object.prototype.toString,eG=new eA("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var i,e,r,o,a,s=[];for(i=0,e=t.length;i1&&(t.result+=eT.repeat("\n",i-1))}function ry(t,i){var e,r,o=t.tag,a=t.anchor,s=[],l=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=s),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,rn(t,"tab characters must not be used in indentation")),45===r&&rt(t.input.charCodeAt(t.position+1)));){if(l=!0,t.position++,rC(t,!0,-1)&&t.lineIndent<=i){s.push(null),r=t.input.charCodeAt(t.position);continue}if(e=t.line,rx(t,i,3,!1,!0),s.push(t.result),rC(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===e||t.lineIndent>i)&&0!==r)rn(t,"bad indentation of a sequence entry");else if(t.lineIndenti?p=1:t.lineIndent===i?p=0:t.lineIndenti?p=1:t.lineIndent===i?p=0:t.lineIndenti)&&(f&&(s=t.line,l=t.lineStart,n=t.position),rx(t,i,4,!0,o)&&(f?C=t.result:m=t.result),f||(rg(t,u,g,p,C,m,s,l,n),p=C=m=null),rC(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>i)&&0!==h)rn(t,"bad indentation of a mapping entry");else if(t.lineIndent=0)0===a?rn(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):h?rn(t,"repeat of an indentation width identifier"):(c=i+a-1,h=!0);else break;if(e7(s)){do s=t.input.charCodeAt(++t.position);while(e7(s));if(35===s)do s=t.input.charCodeAt(++t.position);while(!e9(s)&&0!==s)}for(;0!==s;){for(rp(t),t.lineIndent=0,s=t.input.charCodeAt(t.position);(!h||t.lineIndentc&&(c=t.lineIndent),e9(s)){d++;continue}if(t.lineIndent0){for(o=s,a=0;o>0;o--)(s=function(t){var i;return 48<=t&&t<=57?t-48:97<=(i=32|t)&&i<=102?i-97+10:-1}(l=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+s:rn(t,"expected hexadecimal character");t.result+=(h=a)<=65535?String.fromCharCode(h):String.fromCharCode((h-65536>>10)+55296,(h-65536&1023)+56320),t.position++}else rn(t,"unknown escape sequence");e=r=t.position}else e9(l)?(rd(t,e,r,!0),rf(t,rC(t,!1,i)),e=r=t.position):t.position===t.lineStart&&rm(t)?rn(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}rn(t,"unexpected end of the stream within a double quoted scalar")}(t,u)?m=!0:function(t){var i,e,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),i=t.position;0!==r&&!rt(r)&&!ri(r);)r=t.input.charCodeAt(++t.position);return t.position===i&&rn(t,"name of an alias node must contain at least one character"),e=t.input.slice(i,t.position),e1.call(t.anchorMap,e)||rn(t,'unidentified alias "'+e+'"'),t.result=t.anchorMap[e],rC(t,!0,-1),!0}(t)?(m=!0,(null!==t.tag||null!==t.anchor)&&rn(t,"alias node should not have any properties")):function(t,i,e){var r,o,a,s,l,n,h,c,d=t.kind,u=t.result;if(rt(c=t.input.charCodeAt(t.position))||ri(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c||(63===c||45===c)&&(rt(r=t.input.charCodeAt(t.position+1))||e&&ri(r)))return!1;for(t.kind="scalar",t.result="",o=a=t.position,s=!1;0!==c;){if(58===c){if(rt(r=t.input.charCodeAt(t.position+1))||e&&ri(r))break}else if(35===c){if(rt(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&rm(t)||e&&ri(c))break;else if(e9(c)){if(l=t.line,n=t.lineStart,h=t.lineIndent,rC(t,!1,-1),t.lineIndent>=i){s=!0,c=t.input.charCodeAt(t.position);continue}t.position=a,t.line=l,t.lineStart=n,t.lineIndent=h;break}s&&(rd(t,o,a,!1),rf(t,t.line-l),o=a=t.position,s=!1),e7(c)||(a=t.position+1),c=t.input.charCodeAt(++t.position)}return rd(t,o,a,!1),!!t.result||(t.kind=d,t.result=u,!1)}(t,u,1===e)&&(m=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===p&&(m=l&&ry(t,g))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&rn(t,'unacceptable node kind for ! tag; it should be "scalar", not "'+t.kind+'"'),n=0,h=t.implicitTypes.length;n"),null!==t.result&&d.kind!==t.kind&&rn(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+d.kind+'", not "'+t.kind+'"'),d.resolve(t.result,t.tag)?(t.result=d.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):rn(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||m}var rb=function(t,i){var e=function(t,i){t=String(t),i=i||{},0!==t.length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var e=new rs(t,i),r=t.indexOf("\0");for(-1!==r&&(e.position=r,rn(e,"null byte is not allowed in input")),e.input+="\0";32===e.input.charCodeAt(e.position);)e.lineIndent+=1,e.position+=1;for(;e.position0)&&37===o);){for(s=!0,o=t.input.charCodeAt(++t.position),i=t.position;0!==o&&!rt(o);)o=t.input.charCodeAt(++t.position);for(e=t.input.slice(i,t.position),r=[],e.length<1&&rn(t,"directive name must not be less than one character in length");0!==o;){for(;e7(o);)o=t.input.charCodeAt(++t.position);if(35===o){do o=t.input.charCodeAt(++t.position);while(0!==o&&!e9(o));break}if(e9(o))break;for(i=t.position;0!==o&&!rt(o);)o=t.input.charCodeAt(++t.position);r.push(t.input.slice(i,t.position))}0!==o&&rp(t),e1.call(rc,e)?rc[e](t,e,r):rh(t,'unknown document directive "'+e+'"')}if(rC(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,rC(t,!0,-1)):s&&rn(t,"directives end mark is expected"),rx(t,t.lineIndent-1,4,!1,!0),rC(t,!0,-1),t.checkLineBreaks&&e5.test(t.input.slice(a,t.position))&&rh(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&rm(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,rC(t,!0,-1));return}t.positiont.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,i,e)=>"<"+i+e.replace(/="([^"]*)"/g,"='$1'")+">"),rT=t=>{let{text:i,metadata:e}=function(t){let i=t.match(tt);if(!i)return{text:t,metadata:{}};let e=rb(i[1],{schema:eP})??{};e="object"!=typeof e||Array.isArray(e)?{}:e;let r={};return e.displayMode&&(r.displayMode=e.displayMode.toString()),e.title&&(r.title=e.title.toString()),e.config&&(r.config=e.config),{text:t.slice(i[0].length),metadata:r}}(t),{displayMode:r,title:o,config:a={}}=e;return r&&(a.gantt||(a.gantt={}),a.gantt.displayMode=r),{title:o,config:a,text:i}},rB=t=>{let i=tq.detectInit(t)??{},e=tq.detectDirective(t,"wrap");return Array.isArray(e)?i.wrap=e.some(({type:t})=>{}):(null==e?void 0:e.type)==="wrap"&&(i.wrap=!0),{text:t.replace(ti,""),directive:i}},rF=["foreignobject"],rS=["dominant-baseline"];function rL(t){let i=function(t){let i=rT(rk(t)),e=rB(i.text),r=tw(i.config,e.directive);return{code:t=ek(e.text),title:i.title,config:r}}(t);return tH(),tY(i.config??{}),i}let rv=function(t){let i=t;return(i=(i=i.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){let i=t.substring(1,t.length-1);return/^\+?\d+$/.test(i)?"fl\xb0\xb0"+i+"\xb6\xdf":"fl\xb0"+i+"\xb6\xdf"})},r_=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},rZ=(t,i,e=[])=>` +.${t} ${i} { ${e.join(" !important; ")} !important; }`,rA=(t,i={})=>{var e;let r="";if(void 0!==t.themeCSS&&(r+=` ${t.themeCSS}`),void 0!==t.fontFamily&&(r+=` :root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=` -:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!(0,b.Z)(i)){let o=t.htmlLabels||(null==(e=t.flowchart)?void 0:e.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(let t in i){let e=i[t];(0,b.Z)(e.styles)||o.forEach(t=>{r+=rA(e.id,t,e.styles)}),(0,b.Z)(e.textStyles)||(r+=rA(e.id,"tspan",e.textStyles))}}return r},rq=(t,i,e,r)=>{let o=iP(i,rw(t,e),t.themeVariables);return(0,y.q)((0,x.MY)(`${r}{${o}}`),y.P)},rI=(t="",i,e)=>{let r=t;return e||i||(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=(r=rZ(r)).replace(/
/g,"
")},rM=(t="",i)=>{var e,r;let o=(null==(r=null==(e=null==i?void 0:i.viewBox)?void 0:e.baseVal)?void 0:r.height)?i.viewBox.baseVal.height+"px":"100%",a=btoa(''+t+"");return``},rE=(t,i,e,r,o)=>{let a=t.append("div");a.attr("id",e),r&&a.attr("style",r);let s=a.append("svg").attr("id",i).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return o&&s.attr("xmlns:xlink",o),s.append("g"),t};function rO(t,i){return t.append("iframe").attr("id",i).attr("style","width: 100%; height: 100%;").attr("sandbox","")}let rz=(t,i,e,r)=>{var o,a,s;null==(o=t.getElementById(i))||o.remove(),null==(a=t.getElementById(e))||a.remove(),null==(s=t.getElementById(r))||s.remove()},rW=Object.freeze({render:async function(t,i,e){var r,o,a,s,l,c,d,u,g,p;let C,m;eC();let f=rv(i);i=f.code;let y=tN();T.debug(y),i.length>((null==y?void 0:y.maxTextSize)??5e4)&&(i="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let x="#"+t,b="i"+t,k="d"+t,B="#"+k,F=(0,n.Ys)("body"),S="sandbox"===y.securityLevel,L="loose"===y.securityLevel,v=y.fontFamily;if(void 0!==e){if(e&&(e.innerHTML=""),S){let t=rO((0,n.Ys)(e),b);(F=(0,n.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else F=(0,n.Ys)(e);rE(F,t,k,`font-family: ${v}`,"http://www.w3.org/1999/xlink")}else{if(rz(document,t,k,b),S){let t=rO((0,n.Ys)("body"),b);(F=(0,n.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else F=(0,n.Ys)("body");rE(F,t,k)}i=r_(i);try{C=await ef(i,{title:f.title})}catch(t){C=new em("error"),m=t}let _=F.select(B).node(),Z=C.type,A=_.firstChild,q=A.firstChild,I=rq(y,Z,null==(o=(r=C.renderer).getClasses)?void 0:o.call(r,i,C),x),M=document.createElement("style");M.innerHTML=I,A.insertBefore(M,q);try{await C.renderer.draw(i,t,tI,C)}catch(e){throw et.draw(i,t,tI),e}let E=F.select(`${B} svg`);d=Z,u=E,g=null==(s=(a=C.db).getAccTitle)?void 0:s.call(a),p=null==(c=(l=C.db).getAccDescription)?void 0:c.call(l),u.attr("role","graphics-document document"),""!==d&&u.attr("aria-roledescription",d),function(t,i,e,r){if(void 0!==t.insert){if(e){let i=`chart-desc-${r}`;t.attr("aria-describedby",i),t.insert("desc",":first-child").attr("id",i).text(e)}if(i){let e=`chart-title-${r}`;t.attr("aria-labelledby",e),t.insert("title",":first-child").attr("id",e).text(i)}}}(u,g,p,u.attr("id")),F.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let O=F.select(B).node().innerHTML;if(T.debug("config.arrowMarkerAbsolute",y.arrowMarkerAbsolute),O=rI(O,S,w(y.arrowMarkerAbsolute)),S?O=rM(O,F.select(B+" svg").node()):L||(O=h.sanitize(O,{ADD_TAGS:rS,ADD_ATTR:rL})),eb(),m)throw m;let z=S?"#"+b:B,W=(0,n.Ys)(z).node();return W&&"remove"in W&&W.remove(),{svg:O,bindFunctions:C.db.bindFunctions}},parse:async function(t,i){eC(),t=rv(t).code;try{await ef(t)}catch(t){if(null==i?void 0:i.suppressErrors)return!1;throw t}return!0},getDiagramFromText:ef,initialize:function(t={}){var i;(null==t?void 0:t.fontFamily)&&!(null==(i=t.themeVariables)?void 0:i.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),tP(t),(null==t?void 0:t.theme)&&t.theme in H?t.themeVariables=H[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=H.default.getThemeVariables(t.themeVariables)),B(("object"==typeof t?tD(t):tj()).logLevel),eC()},getConfig:tN,setConfig:t$,getSiteConfig:tj,updateSiteConfig:t=>(tE=tc(tE,t),tW(tE,tO),tE),reset:()=>{tH()},globalReset:()=>{tH(tM)},defaultConfig:tM});B(tN().logLevel),tH(tN());let rD=async()=>{T.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(to).map(async([t,{detector:i,loader:e}])=>{if(e)try{i8(t)}catch(r){try{let{diagram:t,id:r}=await e();i4(r,t,i)}catch(i){throw T.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete to[t],i}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let i of(T.error(`Failed to load ${t.length} external diagrams`),t))T.error(i);throw Error(`Failed to load ${t.length} external diagrams`)}},rP=(t,i,e)=>{(T.warn(t),"str"in t)?(e&&e(t.str,t.hash),i.push({...t,message:t.str,error:t})):(e&&e(t),t instanceof Error&&i.push({str:t.message,message:t.message,hash:t.name,error:t}))},rj=async function(t={querySelector:".mermaid"}){try{await r$(t)}catch(i){if("str"in i&&T.error(i.str),rK.parseError&&rK.parseError(i),!t.suppressErrors)throw T.error("Use the suppressErrors option to suppress these errors"),i}},r$=async function({postRenderCallback:t,querySelector:i,nodes:e}={querySelector:".mermaid"}){let r,o;let s=rW.getConfig();if(T.debug(`${t?"":"No "}Callback function found`),e)r=e;else if(i)r=document.querySelectorAll(i);else throw Error("Nodes and querySelector are both undefined");T.debug(`Found ${r.length} diagrams`),(null==s?void 0:s.startOnLoad)!==void 0&&(T.debug("Start On Load: "+(null==s?void 0:s.startOnLoad)),rW.updateSiteConfig({startOnLoad:null==s?void 0:s.startOnLoad}));let l=new tq.InitIDGenerator(s.deterministicIds,s.deterministicIDSeed),n=[];for(let i of Array.from(r)){/*! Check if previously processed */if(T.info("Rendering diagram: "+i.id),i.getAttribute("data-processed"))continue;i.setAttribute("data-processed","true");let e=`mermaid-${l.next()}`;o=i.innerHTML,o=(0,a.Z)(tq.entityDecode(o)).trim().replace(//gi,"
");let r=tq.detectInit(o);r&&T.debug("Detected early reinit: ",r);try{let{svg:r,bindFunctions:a}=await rJ(e,o,i);i.innerHTML=r,t&&await t(e),a&&a(i)}catch(t){rP(t,n,rK.parseError)}}if(n.length>0)throw n[0]},rN=function(t){rW.initialize(t)},rR=async function(t,i,e){T.warn("mermaid.init is deprecated. Please use run instead."),t&&rN(t);let r={postRenderCallback:e,querySelector:".mermaid"};"string"==typeof i?r.querySelector=i:i&&(i instanceof HTMLElement?r.nodes=[i]:r.nodes=i),await rj(r)},rY=async(t,{lazyLoad:i=!0}={})=>{ts(...t),!1===i&&await rD()},rH=function(){if(rK.startOnLoad){let{startOnLoad:t}=rW.getConfig();t&&rK.run().catch(t=>T.error("Mermaid failed to initialize",t))}};"undefined"!=typeof document&&/*! +`},rM=(t,i,e,r,o)=>{let a=t.append("div");a.attr("id",e),r&&a.attr("style",r);let s=a.append("svg").attr("id",i).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return o&&s.attr("xmlns:xlink",o),s.append("g"),t};function rE(t,i){return t.append("iframe").attr("id",i).attr("style","width: 100%; height: 100%;").attr("sandbox","")}let rO=(t,i,e,r)=>{var o,a,s;null==(o=t.getElementById(i))||o.remove(),null==(a=t.getElementById(e))||a.remove(),null==(s=t.getElementById(r))||s.remove()},rz=Object.freeze({render:async function(t,i,e){var r,o,a,s,l,c,d,u,g,p;let C,m;eC();let f=rL(i);i=f.code;let y=tR();T.debug(y),i.length>((null==y?void 0:y.maxTextSize)??5e4)&&(i="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let x="#"+t,b="i"+t,k="d"+t,B="#"+k,F=(0,n.Ys)("body"),S="sandbox"===y.securityLevel,L="loose"===y.securityLevel,v=y.fontFamily;if(void 0!==e){if(e&&(e.innerHTML=""),S){let t=rE((0,n.Ys)(e),b);(F=(0,n.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else F=(0,n.Ys)(e);rM(F,t,k,`font-family: ${v}`,"http://www.w3.org/1999/xlink")}else{if(rO(document,t,k,b),S){let t=rE((0,n.Ys)("body"),b);(F=(0,n.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else F=(0,n.Ys)("body");rM(F,t,k)}i=rv(i);try{C=await ef(i,{title:f.title})}catch(t){C=new em("error"),m=t}let _=F.select(B).node(),Z=C.type,A=_.firstChild,q=A.firstChild,I=rw(y,Z,null==(o=(r=C.renderer).getClasses)?void 0:o.call(r,i,C),x),M=document.createElement("style");M.innerHTML=I,A.insertBefore(M,q);try{await C.renderer.draw(i,t,tI,C)}catch(e){throw et.draw(i,t,tI),e}let E=F.select(`${B} svg`);d=Z,u=E,g=null==(s=(a=C.db).getAccTitle)?void 0:s.call(a),p=null==(c=(l=C.db).getAccDescription)?void 0:c.call(l),u.attr("role","graphics-document document"),""!==d&&u.attr("aria-roledescription",d),function(t,i,e,r){if(void 0!==t.insert){if(e){let i=`chart-desc-${r}`;t.attr("aria-describedby",i),t.insert("desc",":first-child").attr("id",i).text(e)}if(i){let e=`chart-title-${r}`;t.attr("aria-labelledby",e),t.insert("title",":first-child").attr("id",e).text(i)}}}(u,g,p,u.attr("id")),F.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let O=F.select(B).node().innerHTML;if(T.debug("config.arrowMarkerAbsolute",y.arrowMarkerAbsolute),O=rq(O,S,w(y.arrowMarkerAbsolute)),S?O=rI(O,F.select(B+" svg").node()):L||(O=h.sanitize(O,{ADD_TAGS:rF,ADD_ATTR:rS})),eb(),m)throw m;let z=S?"#"+b:B,W=(0,n.Ys)(z).node();return W&&"remove"in W&&W.remove(),{svg:O,bindFunctions:C.db.bindFunctions}},parse:async function(t,i){eC(),t=rL(t).code;try{await ef(t)}catch(t){if(null==i?void 0:i.suppressErrors)return!1;throw t}return!0},getDiagramFromText:ef,initialize:function(t={}){var i;(null==t?void 0:t.fontFamily)&&!(null==(i=t.themeVariables)?void 0:i.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),tP(t),(null==t?void 0:t.theme)&&t.theme in H?t.themeVariables=H[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=H.default.getThemeVariables(t.themeVariables)),B(("object"==typeof t?tD(t):tj()).logLevel),eC()},getConfig:tR,setConfig:t$,getSiteConfig:tj,updateSiteConfig:t=>(tE=tc(tE,t),tW(tE,tO),tE),reset:()=>{tH()},globalReset:()=>{tH(tM)},defaultConfig:tM});B(tR().logLevel),tH(tR());let rW=async()=>{T.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(to).map(async([t,{detector:i,loader:e}])=>{if(e)try{i8(t)}catch(r){try{let{diagram:t,id:r}=await e();i4(r,t,i)}catch(i){throw T.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete to[t],i}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let i of(T.error(`Failed to load ${t.length} external diagrams`),t))T.error(i);throw Error(`Failed to load ${t.length} external diagrams`)}},rD=(t,i,e)=>{(T.warn(t),"str"in t)?(e&&e(t.str,t.hash),i.push({...t,message:t.str,error:t})):(e&&e(t),t instanceof Error&&i.push({str:t.message,message:t.message,hash:t.name,error:t}))},rP=async function(t={querySelector:".mermaid"}){try{await rj(t)}catch(i){if("str"in i&&T.error(i.str),rJ.parseError&&rJ.parseError(i),!t.suppressErrors)throw T.error("Use the suppressErrors option to suppress these errors"),i}},rj=async function({postRenderCallback:t,querySelector:i,nodes:e}={querySelector:".mermaid"}){let r,o;let s=rz.getConfig();if(T.debug(`${t?"":"No "}Callback function found`),e)r=e;else if(i)r=document.querySelectorAll(i);else throw Error("Nodes and querySelector are both undefined");T.debug(`Found ${r.length} diagrams`),(null==s?void 0:s.startOnLoad)!==void 0&&(T.debug("Start On Load: "+(null==s?void 0:s.startOnLoad)),rz.updateSiteConfig({startOnLoad:null==s?void 0:s.startOnLoad}));let l=new tq.InitIDGenerator(s.deterministicIds,s.deterministicIDSeed),n=[];for(let i of Array.from(r)){/*! Check if previously processed */if(T.info("Rendering diagram: "+i.id),i.getAttribute("data-processed"))continue;i.setAttribute("data-processed","true");let e=`mermaid-${l.next()}`;o=i.innerHTML,o=(0,a.Z)(tq.entityDecode(o)).trim().replace(//gi,"
");let r=tq.detectInit(o);r&&T.debug("Detected early reinit: ",r);try{let{svg:r,bindFunctions:a}=await rX(e,o,i);i.innerHTML=r,t&&await t(e),a&&a(i)}catch(t){rD(t,n,rJ.parseError)}}if(n.length>0)throw n[0]},r$=function(t){rz.initialize(t)},rR=async function(t,i,e){T.warn("mermaid.init is deprecated. Please use run instead."),t&&r$(t);let r={postRenderCallback:e,querySelector:".mermaid"};"string"==typeof i?r.querySelector=i:i&&(i instanceof HTMLElement?r.nodes=[i]:r.nodes=i),await rP(r)},rN=async(t,{lazyLoad:i=!0}={})=>{ts(...t),!1===i&&await rW()},rY=function(){if(rJ.startOnLoad){let{startOnLoad:t}=rz.getConfig();t&&rJ.run().catch(t=>T.error("Mermaid failed to initialize",t))}};"undefined"!=typeof document&&/*! * Wait for document loaded before starting the execution - */window.addEventListener("load",rH,!1);let rV=[],rU=!1,rG=async()=>{if(!rU){for(rU=!0;rV.length>0;){let t=rV.shift();if(t)try{await t()}catch(t){T.error("Error executing queue",t)}}rU=!1}},rX=async(t,i)=>new Promise((e,r)=>{rV.push(()=>new Promise((o,a)=>{rW.parse(t,i).then(t=>{o(t),e(t)},t=>{var i;T.error("Error parsing",t),null==(i=rK.parseError)||i.call(rK,t),a(t),r(t)})})),rG().catch(r)}),rJ=(t,i,e)=>new Promise((r,o)=>{rV.push(()=>new Promise((a,s)=>{rW.render(t,i,e).then(t=>{a(t),r(t)},t=>{var i;T.error("Error parsing",t),null==(i=rK.parseError)||i.call(rK,t),s(t),o(t)})})),rG().catch(o)}),rK={startOnLoad:!0,mermaidAPI:rW,parse:rX,render:rJ,init:rR,run:rj,registerExternalDiagrams:rY,initialize:rN,parseError:void 0,contentLoaded:rH,setParseErrorHandler:function(t){rK.parseError=t},detectType:ta}}}]); \ No newline at end of file + */window.addEventListener("load",rY,!1);let rH=[],rV=!1,rU=async()=>{if(!rV){for(rV=!0;rH.length>0;){let t=rH.shift();if(t)try{await t()}catch(t){T.error("Error executing queue",t)}}rV=!1}},rG=async(t,i)=>new Promise((e,r)=>{rH.push(()=>new Promise((o,a)=>{rz.parse(t,i).then(t=>{o(t),e(t)},t=>{var i;T.error("Error parsing",t),null==(i=rJ.parseError)||i.call(rJ,t),a(t),r(t)})})),rU().catch(r)}),rX=(t,i,e)=>new Promise((r,o)=>{rH.push(()=>new Promise((a,s)=>{rz.render(t,i,e).then(t=>{a(t),r(t)},t=>{var i;T.error("Error parsing",t),null==(i=rJ.parseError)||i.call(rJ,t),s(t),o(t)})})),rU().catch(o)}),rJ={startOnLoad:!0,mermaidAPI:rz,parse:rG,render:rX,init:rR,run:rP,registerExternalDiagrams:rN,initialize:r$,parseError:void 0,contentLoaded:rY,setParseErrorHandler:function(t){rJ.parseError=t},detectType:ta}}}]); \ No newline at end of file diff --git a/_next/static/chunks/449.1a5f5ceadfad2ac3.js b/_next/static/chunks/449.1a5f5ceadfad2ac3.js new file mode 100644 index 0000000..0ceee65 --- /dev/null +++ b/_next/static/chunks/449.1a5f5ceadfad2ac3.js @@ -0,0 +1,88 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[449],{33519:function(t,e,i){var n;n=function(t){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=7)}([function(e,i){e.exports=t},function(t,e,i){"use strict";var n=i(0).FDLayoutConstants;function r(){}for(var o in n)r[o]=n[o];r.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,r.DEFAULT_RADIAL_SEPARATION=n.DEFAULT_EDGE_LENGTH,r.DEFAULT_COMPONENT_SEPERATION=60,r.TILE=!0,r.TILING_PADDING_VERTICAL=10,r.TILING_PADDING_HORIZONTAL=10,r.TREE_REDUCTION_ON_INCREMENTAL=!1,t.exports=r},function(t,e,i){"use strict";var n=i(0).FDLayoutEdge;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraph;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraphManager;function r(t){n.call(this,t)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).FDLayoutNode,r=i(0).IMath;function o(t,e,i,r){n.call(this,t,e,i,r)}for(var s in o.prototype=Object.create(n.prototype),n)o[s]=n[s];o.prototype.move=function(){var t=this.graphManager.getLayout();this.displacementX=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementX=t.coolingFactor*t.maxNodeDisplacement*r.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*r.sign(this.displacementY)),null==this.child?this.moveBy(this.displacementX,this.displacementY):0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),t.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,n=this.getChild().getNodes(),r=0;r0)this.positionNodesRadially(i);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(e){return t.has(e)});this.graphManager.setAllNodesToApplyGravitation(e),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},_.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0){if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(e){return t.has(e)});this.graphManager.setAllNodesToApplyGravitation(e),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0}this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,n=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,n),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},_.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i1)for(s=0;sn&&(n=Math.floor(s.y)),o=Math.floor(s.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new u(c.WORLD_CENTER_X-s.x/2,c.WORLD_CENTER_Y-s.y/2))},_.radialLayout=function(t,e,i){var n=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);_.branchRadialLayout(e,null,0,359,0,n);var r=y.calculateBounds(t),o=new E;o.setDeviceOrgX(r.getMinX()),o.setDeviceOrgY(r.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var s=0;s1;){var E=y[0];y.splice(0,1);var v=g.indexOf(E);v>=0&&g.splice(v,1),p--,u--}s=null!=e?(g.indexOf(y[0])+1)%p:0;for(var N=Math.abs(n-i)/u,m=s;d!=u;m=++m%p){var A=g[m].getOtherEnd(t);if(A!=e){var L=(i+d*N)%360,T=(L+N)%360;_.branchRadialLayout(A,t,L,T,r+o,o),d++}}},_.maxDiagonalInTree=function(t){for(var e=p.MIN_VALUE,i=0;ie&&(e=n)}return e},_.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},_.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],n=this.graphManager.getAllNodes(),r=0;r1){var n="DummyCompound_"+i;t.memberGroups[n]=e[i];var r=e[i][0].getParent(),o=new s(t.graphManager);o.id=n,o.paddingLeft=r.paddingLeft||0,o.paddingRight=r.paddingRight||0,o.paddingBottom=r.paddingBottom||0,o.paddingTop=r.paddingTop||0,t.idToDummyNode[n]=o;var a=t.getGraphManager().add(t.newGraph(),o),h=r.getChild();h.add(o);for(var l=0;l=0;t--){var e=this.compoundOrder[t],i=e.id,n=e.paddingLeft,r=e.paddingTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,n,r)}},_.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach(function(i){var n=t.idToDummyNode[i],r=n.paddingLeft,o=n.paddingTop;t.adjustLocations(e[i],n.rect.x,n.rect.y,r,o)})},_.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var n=i.getNodes(),r=0;r0)return this.toBeTiled[e]=!1,!1;if(null==o.getChild()){this.toBeTiled[o.id]=!1;continue}if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}return this.toBeTiled[e]=!0,!0},_.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,n=0;nh&&(h=c.rect.height)}i+=h+t.verticalPadding}},_.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(n){var r=e[n];i.tiledMemberPack[n]=i.tileNodes(t[n],r.paddingLeft+r.paddingRight),r.rect.width=i.tiledMemberPack[n].width,r.rect.height=i.tiledMemberPack[n].height})},_.prototype.tileNodes=function(t,e){var i={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:h.TILING_PADDING_VERTICAL,horizontalPadding:h.TILING_PADDING_HORIZONTAL};t.sort(function(t,e){return t.rect.width*t.rect.height>e.rect.width*e.rect.height?-1:t.rect.width*t.rect.height0&&(r+=t.horizontalPadding),t.rowWidth[i]=r,t.width0&&(o+=t.verticalPadding);var s=0;o>t.rowHeight[i]&&(s=t.rowHeight[i],t.rowHeight[i]=o,s=t.rowHeight[i]-s),t.height+=s,t.rows[i].push(e)},_.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,n=0;ni&&(e=n,i=t.rowWidth[n]);return e},_.prototype.canAddHorizontal=function(t,e,i){var n,r,o=this.getShortestRowIndex(t);if(o<0)return!0;var s=t.rowWidth[o];if(s+t.horizontalPadding+e<=t.width)return!0;var a=0;return t.rowHeight[o]0&&(a=i+t.verticalPadding-t.rowHeight[o]),n=t.width-s>=e+t.horizontalPadding?(t.height+a)/(s+e+t.horizontalPadding):(t.height+a)/t.width,a=i+t.verticalPadding,(r=t.widtho&&e!=i){n.splice(-1,1),t.rows[i].push(r),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var s=Number.MIN_VALUE,a=0;as&&(s=n[a].height);e>0&&(s+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=s,t.rowHeight[i]0)for(var u=s;u<=a;u++)g[0]+=this.grid[u][h-1].length+this.grid[u][h].length-1;if(a0)for(var u=h;u<=c;u++)g[3]+=this.grid[s-1][u].length+this.grid[s][u].length-1;for(var d=p.MAX_VALUE,f=0;f0&&(s=i.getGraphManager().add(i.newGraph(),o),this.processChildrenList(s,g,i))}},g.prototype.stop=function(){return this.stopped=!0,this};var d=function(t){t("layout","cose-bilkent",g)};"undefined"!=typeof cytoscape&&d(cytoscape),t.exports=d}])},t.exports=n(i(33519))},72666:function(t){var e;e=function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=26)}([function(t,e,i){"use strict";function n(){}n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(8),o=i(9);function s(t,e,i){n.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var a in s.prototype=Object.create(n.prototype),n)s[a]=n[a];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.prototype.getOtherEnd=function(t){if(this.source===t)return this.target;if(this.target===t)return this.source;throw"Node is not incident with this edge"},s.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),n=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==n)break;i=i.getOwner().getParent()}return null},s.prototype.updateLength=function(){var t=[,,,,];this.isOverlapingSourceAndTarget=r.getIntersection(this.target.getRect(),this.source.getRect(),t),this.isOverlapingSourceAndTarget||(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,i){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(13),s=i(0),a=i(16),h=i(4);function l(t,e,i,s){null==i&&null==s&&(s=e),n.call(this,s),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=r.MIN_VALUE,this.inclusionTreeDepth=r.MAX_VALUE,this.vGraphObject=s,this.edges=[],this.graphManager=t,null!=i&&null!=e?this.rect=new o(e.x,e.y,i.width,i.height):this.rect=new o}for(var c in l.prototype=Object.create(n.prototype),n)l[c]=n[c];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.prototype.setRect=function(t,e){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=e.width,this.rect.height=e.height},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach(function(n){if(n.target==t){if(n.source!=i)throw"Incorrect edge source!";e.push(n)}}),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach(function(n){if(!(n.source==i||n.target==i))throw"Incorrect edge source and/or target";(n.target==t||n.source==t)&&e.push(n)}),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach(function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}}),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child)for(var e=this.child.getNodes(),i=0;ie&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>i&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-i)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-i),this.setHeight(this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==r.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>s.WORLD_BOUNDARY?e=s.WORLD_BOUNDARY:e<-s.WORLD_BOUNDARY&&(e=-s.WORLD_BOUNDARY);var i=this.rect.y;i>s.WORLD_BOUNDARY?i=s.WORLD_BOUNDARY:i<-s.WORLD_BOUNDARY&&(i=-s.WORLD_BOUNDARY);var n=new h(e,i),r=t.inverseTransformPoint(n);this.setLocation(r.x,r.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){"use strict";function n(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(t){this.x=t},n.prototype.setY=function(t){this.y=t},n.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(0),s=i(6),a=i(3),h=i(1),l=i(13),c=i(12),g=i(11);function u(t,e,i){n.call(this,i),this.estimatedSize=r.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof s?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var d in u.prototype=Object.create(n.prototype),n)u[d]=n[d];u.prototype.getNodes=function(){return this.nodes},u.prototype.getEdges=function(){return this.edges},u.prototype.getGraphManager=function(){return this.graphManager},u.prototype.getParent=function(){return this.parent},u.prototype.getLeft=function(){return this.left},u.prototype.getRight=function(){return this.right},u.prototype.getTop=function(){return this.top},u.prototype.getBottom=function(){return this.bottom},u.prototype.isConnected=function(){return this.isConnected},u.prototype.add=function(t,e,i){if(null==e&&null==i){if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(t)>-1)throw"Node already in graph!";return t.owner=this,this.getNodes().push(t),t}if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(!(e.owner==i.owner&&e.owner==this))throw"Both owners must be this graph!";return e.owner!=i.owner?null:(t.source=e,t.target=i,t.isInterGraph=!1,this.getEdges().push(t),e.edges.push(t),i!=e&&i.edges.push(t),t)},u.prototype.remove=function(t){if(t instanceof a){if(null==t)throw"Node is null!";if(!(null!=t.owner&&t.owner==this))throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var e,i=t.edges.slice(),n=i.length,r=0;r-1&&l>-1))throw"Source and/or target doesn't know this edge!";e.source.edges.splice(s,1),e.target!=e.source&&e.target.edges.splice(l,1);var o=e.source.owner.getEdges().indexOf(e);if(-1==o)throw"Not in owner's edge list!";e.source.owner.getEdges().splice(o,1)}},u.prototype.updateLeftTop=function(){for(var t,e,i,n=r.MAX_VALUE,o=r.MAX_VALUE,s=this.getNodes(),a=s.length,h=0;ht&&(n=t),o>e&&(o=e)}return n==r.MAX_VALUE?null:(i=void 0!=s[0].getParent().paddingLeft?s[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=n-i,new c(this.left,this.top))},u.prototype.updateBounds=function(t){for(var e,i,n,o,s,a=r.MAX_VALUE,h=-r.MAX_VALUE,c=r.MAX_VALUE,g=-r.MAX_VALUE,u=this.nodes,d=u.length,p=0;pe&&(a=e),hn&&(c=n),ge&&(s=e),an&&(h=n),c=this.nodes.length){var h=0;r.forEach(function(t){t.owner==i&&h++}),h==this.nodes.length&&(this.isConnected=!0)}},t.exports=u},function(t,e,i){"use strict";var n,r=i(1);function o(t){n=i(5),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,n,r){if(null==i&&null==n&&null==r){if(null==t)throw"Graph is null!";if(null==e)throw"Parent node is null!";if(this.graphs.indexOf(t)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(t),null!=t.parent)throw"Already has a parent!";if(null!=e.child)throw"Already has a child!";return t.parent=e,e.child=t,t}r=i,n=e,i=t;var o=n.getOwner(),s=r.getOwner();if(!(null!=o&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(null!=s&&s.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==s)return i.isInterGraph=!1,o.add(i,n,r);if(i.isInterGraph=!0,i.source=n,i.target=r,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),!(null!=i.source&&null!=i.target))throw"Edge source and/or target is null!";if(!(-1==i.source.edges.indexOf(i)&&-1==i.target.edges.indexOf(i)))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof n){if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(t==this.rootGraph||null!=t.parent&&t.parent.graphManager==this))throw"Invalid parent node!";for(var e,i,o=[],s=(o=o.concat(t.getEdges())).length,a=0;a=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var s=o*i[0],a=i[1]/o;i[0]s?(i[0]=n,i[1]=h,i[2]=o,i[3]=v):ro?(i[0]=a,i[1]=r,i[2]=E,i[3]=s):no?(i[0]=c,i[1]=g):(i[0]=l,i[1]=h),L=!0):O===I&&(n>o?(i[0]=a,i[1]=h):(i[0]=u,i[1]=g),L=!0),-D===I?(o>n?(i[2]=_,i[3]=v):(i[2]=E,i[3]=y),T=!0):D===I&&(o>n?(i[2]=f,i[3]=y):(i[2]=N,i[3]=v),T=!0),L&&T)return!1;if(n>o?r>s?(w=this.getCardinalDirection(O,I,4),R=this.getCardinalDirection(D,I,2)):(w=this.getCardinalDirection(-O,I,3),R=this.getCardinalDirection(-D,I,1)):r>s?(w=this.getCardinalDirection(-O,I,1),R=this.getCardinalDirection(-D,I,3)):(w=this.getCardinalDirection(O,I,2),R=this.getCardinalDirection(D,I,4)),!L)switch(w){case 1:M=h,C=n+-p/I,i[0]=C,i[1]=M;break;case 2:C=u,M=r+d*I,i[0]=C,i[1]=M;break;case 3:M=g,C=n+p/I,i[0]=C,i[1]=M;break;case 4:C=c,M=r+-d*I,i[0]=C,i[1]=M}if(!T)switch(R){case 1:G=y,x=o+-A/I,i[2]=x,i[3]=G;break;case 2:x=N,G=s+m*I,i[2]=x,i[3]=G;break;case 3:G=v,x=o+A/I,i[2]=x,i[3]=G;break;case 4:x=_,G=s+-m*I,i[2]=x,i[3]=G}}return!1},r.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},r.getIntersection=function(t,e,i,r){if(null==r)return this.getIntersection2(t,e,i);var o=t.x,s=t.y,a=e.x,h=e.y,l=i.x,c=i.y,g=r.x,u=r.y,d=void 0,p=void 0,f=void 0,y=void 0,E=void 0,_=void 0,v=void 0;return(d=h-s,f=o-a,E=a*s-o*h,p=u-c,y=l-g,_=g*c-l*u,0==(v=d*y-p*f))?null:new n((f*_-y*E)/v,(p*E-d*_)/v)},r.angleOfVector=function(t,e,i,n){var r=void 0;return t!==i?(r=Math.atan((n-e)/(i-t)),i0?1:t<0?-1:0},n.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},n.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=n},function(t,e,i){"use strict";function n(){}n.MAX_VALUE=2147483647,n.MIN_VALUE=-2147483648,t.exports=n},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i0&&e;){for(a.push(l[0]);a.length>0&&e;){var c=a[0];a.splice(0,1),s.add(c);for(var g=c.getEdges(),o=0;o-1&&l.splice(f,1)}s=new Set,h=new Map}else t=[]}return t},u.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,n=this.graphManager.calcLowestCommonAncestor(t.source,t.target),r=0;r0){for(var r=this.edgeToDummyNodes.get(i),o=0;o=0&&e.splice(g,1),a.getNeighborsList().forEach(function(t){if(0>i.indexOf(t)){var e=n.get(t)-1;1==e&&l.push(t),n.set(t,e)}})}i=i.concat(l),(1==e.length||2==e.length)&&(r=!0,o=e[0])}return o},u.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=u},function(t,e,i){"use strict";function n(){}n.seed=1,n.x=0,n.nextDouble=function(){return n.x=1e4*Math.sin(n.seed++),n.x-Math.floor(n.x)},t.exports=n},function(t,e,i){"use strict";var n=i(4);function r(t,e){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}r.prototype.getWorldOrgX=function(){return this.lworldOrgX},r.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},r.prototype.getWorldOrgY=function(){return this.lworldOrgY},r.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},r.prototype.getWorldExtX=function(){return this.lworldExtX},r.prototype.setWorldExtX=function(t){this.lworldExtX=t},r.prototype.getWorldExtY=function(){return this.lworldExtY},r.prototype.setWorldExtY=function(t){this.lworldExtY=t},r.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},r.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},r.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},r.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},r.prototype.getDeviceExtX=function(){return this.ldeviceExtX},r.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},r.prototype.getDeviceExtY=function(){return this.ldeviceExtY},r.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},r.prototype.transformX=function(t){var e=0,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},r.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},r.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},r.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},r.prototype.inverseTransformPoint=function(t){return new n(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=r},function(t,e,i){"use strict";var n=i(15),r=i(7),o=i(0),s=i(8),a=i(9);function h(){n.call(this),this.useSmartIdealEdgeLengthCalculation=r.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=r.DEFAULT_EDGE_LENGTH,this.springConstant=r.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=r.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=r.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=r.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=r.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*r.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=r.MAX_ITERATIONS}for(var l in h.prototype=Object.create(n.prototype),n)h[l]=n[l];h.prototype.initParameters=function(){n.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,n,s,a,h=this.getGraphManager().getAllEdges(),l=0;lr.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*r.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-r.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>r.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(r.COOLING_ADAPTATION_FACTOR,1-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*(1-r.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i0)||void 0===arguments[0]||arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&s&&this.updateGrid(),o=new Set,t=0;t(h=e.getEstimatedSize()*this.gravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r,t.gravitationForceY=-this.gravityConstant*o):(s>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=2>Math.abs(this.totalDisplacement-this.oldTotalDisplacement)),t=this.totalDisplacement=a.length||l>=a[0].length)){for(var c=0;ct}}]),t}();t.exports=o},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,t),this.sequence1=e,this.sequence2=i,this.match_score=n,this.mismatch_penalty=r,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=Array(this.iMax);for(var s=0;s=0;i--){var n=this.listeners[i];n.event===t&&n.callback===e&&this.listeners.splice(i,1)}},r.emit=function(t,e){for(var i=0;i2&&L.push("'"+this.terminals_[N]+"'");O=g.showPosition?"Parse error on line "+(h+1)+":\n"+g.showPosition()+"\nExpecting "+L.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(O,{text:g.match,token:this.terminals_[y]||y,line:g.yylineno,loc:p,expected:L})}if(_[0]instanceof Array&&_.length>1)throw Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(_[0]){case 1:i.push(y),r.push(g.yytext),o.push(g.yylloc),i.push(_[1]),y=null,l=g.yyleng,a=g.yytext,h=g.yylineno,p=g.yylloc;break;case 2:if(m=this.productions_[_[1]][1],T.$=r[r.length-m],T._$={first_line:o[o.length-(m||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(m||1)].first_column,last_column:o[o.length-1].last_column},f&&(T._$.range=[o[o.length-(m||1)].range[0],o[o.length-1].range[1]]),void 0!==(v=this.performAction.apply(T,[a,l,h,u.yy,_[1],r,o].concat(c))))return v;m&&(i=i.slice(0,-1*m*2),r=r.slice(0,-1*m),o=o.slice(0,-1*m)),i.push(this.productions_[_[1]][0]),r.push(T.$),o.push(T._$),A=s[i[i.length-2]][i[i.length-1]],i.push(A);break;case 3:return!0}}return!0}};function _(){this.yy={}}return E.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,n,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var o in r)this[o]=r[o];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),o=0;oe[0].length)){if(e=i,n=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[o])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:return t.getLogger().trace("Found comment",e.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return t.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:t.getLogger().trace("end icon"),this.popState();break;case 10:return t.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return t.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 27:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return t.getLogger().trace("Long description:",e.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}},_.prototype=E,E.Parser=_,new _}();u.parser=u;let d=t=>(0,r.d)(t,(0,r.c)()),p=[],f=0,y={},E=function(t){for(let e=p.length-1;e>=0;e--)if(p[e].level{y[t]=e},N=t=>{switch(t){case _.DEFAULT:return"no-border";case _.RECT:return"rect";case _.ROUNDED_RECT:return"rounded-rect";case _.CIRCLE:return"circle";case _.CLOUD:return"cloud";case _.BANG:return"bang";case _.HEXAGON:return"hexgon";default:return"no-border"}},m=t=>y[t],A=Object.freeze(Object.defineProperty({__proto__:null,addNode:(t,e,i,n)=>{r.l.info("addNode",t,e,i,n);let o=(0,r.c)(),s={id:f++,nodeId:d(e),level:t,descr:d(i),type:n,children:[],width:(0,r.c)().mindmap.maxNodeWidth};switch(s.type){case _.ROUNDED_RECT:case _.RECT:case _.HEXAGON:s.padding=2*o.mindmap.padding;break;default:s.padding=o.mindmap.padding}let a=E(t);if(a)a.children.push(s),p.push(s);else if(0===p.length)p.push(s);else{let t=Error('There can be only one root. No parent could be found for ("'+s.descr+'")');throw t.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},t}},clear:()=>{p=[],f=0,y={}},decorateNode:t=>{let e=p[p.length-1];t&&t.icon&&(e.icon=d(t.icon)),t&&t.class&&(e.class=d(t.class))},getElementById:m,getLogger:()=>r.l,getMindmap:()=>p.length>0?p[0]:null,getNodeById:t=>p[t],getType:(t,e)=>{switch(r.l.debug("In get type",t,e),t){case"[":return _.RECT;case"(":return")"===e?_.ROUNDED_RECT:_.CLOUD;case"((":return _.CIRCLE;case")":return _.CLOUD;case"))":return _.BANG;case"{{":return _.HEXAGON;default:return _.DEFAULT}},nodeType:_,get parseError(){return n},sanitizeText:d,setElementForId:v,setErrorHandler:t=>{n=t},type2Str:N},Symbol.toStringTag,{value:"Module"})),L=function(t,e,i){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("d",`M0 ${e.height-5} v${-e.height+10} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+i).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},T=function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("height",e.height).attr("width",e.width)},O=function(t,e){let i=e.width,n=e.height,r=.15*i,o=.25*i,s=.35*i,a=.2*i;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("d",`M0 0 a${r},${r} 0 0,1 ${.25*i},${-1*i*.1} + a${s},${s} 1 0,1 ${.4*i},${-1*i*.1} + a${o},${o} 1 0,1 ${.35*i},${1*i*.2} + + a${r},${r} 1 0,1 ${.15*i},${1*n*.35} + a${a},${a} 1 0,1 ${-1*i*.15},${1*n*.65} + + a${o},${r} 1 0,1 ${-1*i*.25},${.15*i} + a${s},${s} 1 0,1 ${-1*i*.5},0 + a${r},${r} 1 0,1 ${-1*i*.25},${-1*i*.15} + + a${r},${r} 1 0,1 ${-1*i*.1},${-1*n*.35} + a${a},${a} 1 0,1 ${.1*i},${-1*n*.65} + + H0 V0 Z`)},D=function(t,e){let i=e.width,n=e.height,r=.15*i;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("d",`M0 0 a${r},${r} 1 0,0 ${.25*i},${-1*n*.1} + a${r},${r} 1 0,0 ${.25*i},0 + a${r},${r} 1 0,0 ${.25*i},0 + a${r},${r} 1 0,0 ${.25*i},${1*n*.1} + + a${r},${r} 1 0,0 ${.15*i},${1*n*.33} + a${.8*r},${.8*r} 1 0,0 0,${1*n*.34} + a${r},${r} 1 0,0 ${-1*i*.15},${1*n*.33} + + a${r},${r} 1 0,0 ${-1*i*.25},${.15*n} + a${r},${r} 1 0,0 ${-1*i*.25},0 + a${r},${r} 1 0,0 ${-1*i*.25},0 + a${r},${r} 1 0,0 ${-1*i*.25},${-1*n*.15} + + a${r},${r} 1 0,0 ${-1*i*.1},${-1*n*.33} + a${.8*r},${.8*r} 1 0,0 0,${-1*n*.34} + a${r},${r} 1 0,0 ${.1*i},${-1*n*.33} + + H0 V0 Z`)},I=function(t,e){t.append("circle").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("r",e.width/2)},w=function(t,e){var i;let n=e.height,r=n/4,o=e.width-e.padding+2*r;i=[{x:r,y:0},{x:o-r,y:0},{x:o,y:-n/2},{x:o-r,y:-n},{x:r,y:-n},{x:0,y:-n/2}],t.insert("polygon",":first-child").attr("points",i.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+(e.width-o)/2+", "+n+")")},R=function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("height",e.height).attr("rx",e.padding).attr("ry",e.padding).attr("width",e.width)},C=function(t,e,i,n){let r=n.htmlLabels,o=i%11,a=t.append("g");e.section=o;let h="section-"+o;o<0&&(h+=" section-root"),a.attr("class",(e.class?e.class+" ":"")+"mindmap-node "+h);let l=a.append("g"),c=a.append("g"),g=e.descr.replace(/()/g,"\n");(0,s.a)(c,g,{useHtmlLabels:r,width:e.width,classes:"mindmap-node-label"}),r||c.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");let u=c.node().getBBox(),d=n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;if(e.height=u.height+.55*d+e.padding,e.width=u.width+2*e.padding,e.icon){if(e.type===_.CIRCLE)e.height+=50,e.width+=50,a.append("foreignObject").attr("height","50px").attr("width",e.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+e.icon),c.attr("transform","translate("+e.width/2+", "+(e.height/2-1.5*e.padding)+")");else{e.width+=50;let t=e.height;e.height=Math.max(t,60);let i=Math.abs(e.height-t);a.append("foreignObject").attr("width","60px").attr("height",e.height).attr("style","text-align: center;margin-top:"+i/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+e.icon),c.attr("transform","translate("+(25+e.width/2)+", "+(i/2+e.padding/2)+")")}}else if(r){let t=(e.width-u.width)/2,i=(e.height-u.height)/2;c.attr("transform","translate("+t+", "+i+")")}else{let t=e.width/2,i=e.padding/2;c.attr("transform","translate("+t+", "+i+")")}switch(e.type){case _.DEFAULT:L(l,e,o);break;case _.ROUNDED_RECT:R(l,e);break;case _.RECT:T(l,e);break;case _.CIRCLE:l.attr("transform","translate("+e.width/2+", "+ +e.height/2+")"),I(l,e);break;case _.CLOUD:O(l,e);break;case _.BANG:D(l,e);break;case _.HEXAGON:w(l,e)}return v(e.id,a),e.height},M=function(t){let e=m(t.id),i=t.x||0,n=t.y||0;e.attr("transform","translate("+i+","+n+")")};a.use(h);let x=t=>{let e="";for(let e=0;e{let s;let h=(0,r.c)();h.htmlLabels=!1,r.l.debug("Rendering mindmap diagram\n"+t,n.parser);let l=(0,r.c)().securityLevel;"sandbox"===l&&(s=(0,o.Ys)("#i"+e));let c=("sandbox"===l?(0,o.Ys)(s.nodes()[0].contentDocument.body):(0,o.Ys)("body")).select("#"+e);c.append("g");let g=n.db.getMindmap(),u=c.append("g");u.attr("class","mindmap-edges");let d=c.append("g");d.attr("class","mindmap-nodes"),function t(e,i,n,r){C(e,i,n,r),i.children&&i.children.forEach((i,o)=>{t(e,i,n<0?o:n,r)})}(d,g,-1,h);let p=await new Promise(t=>{let e=(0,o.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),i=a({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});e.remove(),function t(e,i,n,r){i.add({group:"nodes",data:{id:e.id,labelText:e.descr,height:e.height,width:e.width,level:r,nodeId:e.id,padding:e.padding,type:e.type},position:{x:e.x,y:e.y}}),e.children&&e.children.forEach(o=>{t(o,i,n,r+1),i.add({group:"edges",data:{id:`${e.id}_${o.id}`,source:e.id,target:o.id,depth:r,section:o.section}})})}(g,i,h,0),i.nodes().forEach(function(t){t.layoutDimensions=()=>{let e=t.data();return{w:e.width,h:e.height}}}),i.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),i.ready(e=>{r.l.info("Ready",e),t(i)})});!function(t,e){e.edges().map((e,i)=>{let n=e.data();if(e[0]._private.bodyBounds){let o=e[0]._private.rscratch;r.l.trace("Edge: ",i,n),t.insert("path").attr("d",`M ${o.startX},${o.startY} L ${o.midX},${o.midY} L${o.endX},${o.endY} `).attr("class","edge section-edge-"+n.section+" edge-depth-"+n.depth)}})}(u,p),function(t){t.nodes().map((t,e)=>{let i=t.data();i.x=t.position().x,i.y=t.position().y,M(i);let n=m(i.nodeId);r.l.info("Id:",e,"Position: (",t.position().x,", ",t.position().y,")",i),n.attr("transform",`translate(${t.position().x-i.width/2}, ${t.position().y-i.height/2})`),n.attr("attr",`apa-${e})`)})}(p),(0,r.o)(void 0,c,h.mindmap.padding,h.mindmap.useMaxWidth)}},parser:u,styles:t=>` + .edge { + stroke-width: 3; + } + ${x(t)} + .section-root rect, .section-root path, .section-root circle, .section-root polygon { + fill: ${t.git0}; + } + .section-root text { + fill: ${t.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .mindmap-node-label { + dy: 1em; + alignment-baseline: middle; + text-anchor: middle; + dominant-baseline: middle; + text-align: center; + } +`}}}]); \ No newline at end of file diff --git a/_next/static/chunks/449.909cd1bc395415fa.js b/_next/static/chunks/449.909cd1bc395415fa.js deleted file mode 100644 index e041339..0000000 --- a/_next/static/chunks/449.909cd1bc395415fa.js +++ /dev/null @@ -1,88 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[449],{33519:function(t,e,i){var n;t.exports=(n=i(72666),function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=7)}([function(t,e){t.exports=n},function(t,e,i){"use strict";var n=i(0).FDLayoutConstants;function r(){}for(var o in n)r[o]=n[o];r.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,r.DEFAULT_RADIAL_SEPARATION=n.DEFAULT_EDGE_LENGTH,r.DEFAULT_COMPONENT_SEPERATION=60,r.TILE=!0,r.TILING_PADDING_VERTICAL=10,r.TILING_PADDING_HORIZONTAL=10,r.TREE_REDUCTION_ON_INCREMENTAL=!1,t.exports=r},function(t,e,i){"use strict";var n=i(0).FDLayoutEdge;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraph;function r(t,e,i){n.call(this,t,e,i)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).LGraphManager;function r(t){n.call(this,t)}for(var o in r.prototype=Object.create(n.prototype),n)r[o]=n[o];t.exports=r},function(t,e,i){"use strict";var n=i(0).FDLayoutNode,r=i(0).IMath;function o(t,e,i,r){n.call(this,t,e,i,r)}for(var s in o.prototype=Object.create(n.prototype),n)o[s]=n[s];o.prototype.move=function(){var t=this.graphManager.getLayout();this.displacementX=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementX=t.coolingFactor*t.maxNodeDisplacement*r.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*r.sign(this.displacementY)),null==this.child?this.moveBy(this.displacementX,this.displacementY):0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),t.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},o.prototype.propogateDisplacementToChildren=function(t,e){for(var i,n=this.getChild().getNodes(),r=0;r0)this.positionNodesRadially(i);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(e){return t.has(e)});this.graphManager.setAllNodesToApplyGravitation(e),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},_.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0){if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter(function(e){return t.has(e)});this.graphManager.setAllNodesToApplyGravitation(e),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0}this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var i=!this.isTreeGrowing&&!this.isGrowthFinished,n=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(i,n),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},_.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},i=0;i1)for(s=0;sn&&(n=Math.floor(s.y)),o=Math.floor(s.x+h.DEFAULT_COMPONENT_SEPERATION)}this.transform(new u(c.WORLD_CENTER_X-s.x/2,c.WORLD_CENTER_Y-s.y/2))},_.radialLayout=function(t,e,i){var n=Math.max(this.maxDiagonalInTree(t),h.DEFAULT_RADIAL_SEPARATION);_.branchRadialLayout(e,null,0,359,0,n);var r=y.calculateBounds(t),o=new E;o.setDeviceOrgX(r.getMinX()),o.setDeviceOrgY(r.getMinY()),o.setWorldOrgX(i.x),o.setWorldOrgY(i.y);for(var s=0;s1;){var E=y[0];y.splice(0,1);var v=g.indexOf(E);v>=0&&g.splice(v,1),p--,u--}s=null!=e?(g.indexOf(y[0])+1)%p:0;for(var N=Math.abs(n-i)/u,m=s;d!=u;m=++m%p){var A=g[m].getOtherEnd(t);if(A!=e){var L=(i+d*N)%360,T=(L+N)%360;_.branchRadialLayout(A,t,L,T,r+o,o),d++}}},_.maxDiagonalInTree=function(t){for(var e=p.MIN_VALUE,i=0;ie&&(e=n)}return e},_.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},_.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var i=[],n=this.graphManager.getAllNodes(),r=0;r1){var n="DummyCompound_"+i;t.memberGroups[n]=e[i];var r=e[i][0].getParent(),o=new s(t.graphManager);o.id=n,o.paddingLeft=r.paddingLeft||0,o.paddingRight=r.paddingRight||0,o.paddingBottom=r.paddingBottom||0,o.paddingTop=r.paddingTop||0,t.idToDummyNode[n]=o;var a=t.getGraphManager().add(t.newGraph(),o),h=r.getChild();h.add(o);for(var l=0;l=0;t--){var e=this.compoundOrder[t],i=e.id,n=e.paddingLeft,r=e.paddingTop;this.adjustLocations(this.tiledMemberPack[i],e.rect.x,e.rect.y,n,r)}},_.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach(function(i){var n=t.idToDummyNode[i],r=n.paddingLeft,o=n.paddingTop;t.adjustLocations(e[i],n.rect.x,n.rect.y,r,o)})},_.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var i=t.getChild();if(null==i)return this.toBeTiled[e]=!1,!1;for(var n=i.getNodes(),r=0;r0)return this.toBeTiled[e]=!1,!1;if(null==o.getChild()){this.toBeTiled[o.id]=!1;continue}if(!this.getToBeTiled(o))return this.toBeTiled[e]=!1,!1}return this.toBeTiled[e]=!0,!0},_.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),i=0,n=0;nh&&(h=c.rect.height)}i+=h+t.verticalPadding}},_.prototype.tileCompoundMembers=function(t,e){var i=this;this.tiledMemberPack=[],Object.keys(t).forEach(function(n){var r=e[n];i.tiledMemberPack[n]=i.tileNodes(t[n],r.paddingLeft+r.paddingRight),r.rect.width=i.tiledMemberPack[n].width,r.rect.height=i.tiledMemberPack[n].height})},_.prototype.tileNodes=function(t,e){var i={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:h.TILING_PADDING_VERTICAL,horizontalPadding:h.TILING_PADDING_HORIZONTAL};t.sort(function(t,e){return t.rect.width*t.rect.height>e.rect.width*e.rect.height?-1:t.rect.width*t.rect.height0&&(r+=t.horizontalPadding),t.rowWidth[i]=r,t.width0&&(o+=t.verticalPadding);var s=0;o>t.rowHeight[i]&&(s=t.rowHeight[i],t.rowHeight[i]=o,s=t.rowHeight[i]-s),t.height+=s,t.rows[i].push(e)},_.prototype.getShortestRowIndex=function(t){for(var e=-1,i=Number.MAX_VALUE,n=0;ni&&(e=n,i=t.rowWidth[n]);return e},_.prototype.canAddHorizontal=function(t,e,i){var n,r,o=this.getShortestRowIndex(t);if(o<0)return!0;var s=t.rowWidth[o];if(s+t.horizontalPadding+e<=t.width)return!0;var a=0;return t.rowHeight[o]0&&(a=i+t.verticalPadding-t.rowHeight[o]),n=t.width-s>=e+t.horizontalPadding?(t.height+a)/(s+e+t.horizontalPadding):(t.height+a)/t.width,a=i+t.verticalPadding,(r=t.widtho&&e!=i){n.splice(-1,1),t.rows[i].push(r),t.rowWidth[e]=t.rowWidth[e]-o,t.rowWidth[i]=t.rowWidth[i]+o,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var s=Number.MIN_VALUE,a=0;as&&(s=n[a].height);e>0&&(s+=t.verticalPadding);var h=t.rowHeight[e]+t.rowHeight[i];t.rowHeight[e]=s,t.rowHeight[i]0)for(var u=s;u<=a;u++)g[0]+=this.grid[u][h-1].length+this.grid[u][h].length-1;if(a0)for(var u=h;u<=c;u++)g[3]+=this.grid[s-1][u].length+this.grid[s][u].length-1;for(var d=p.MAX_VALUE,f=0;f0&&(s=i.getGraphManager().add(i.newGraph(),o),this.processChildrenList(s,g,i))}},g.prototype.stop=function(){return this.stopped=!0,this};var d=function(t){t("layout","cose-bilkent",g)};"undefined"!=typeof cytoscape&&d(cytoscape),t.exports=d}]))},72666:function(t){t.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=26)}([function(t,e,i){"use strict";function n(){}n.QUALITY=1,n.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,n.DEFAULT_INCREMENTAL=!1,n.DEFAULT_ANIMATION_ON_LAYOUT=!0,n.DEFAULT_ANIMATION_DURING_LAYOUT=!1,n.DEFAULT_ANIMATION_PERIOD=50,n.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,n.DEFAULT_GRAPH_MARGIN=15,n.NODE_DIMENSIONS_INCLUDE_LABELS=!1,n.SIMPLE_NODE_SIZE=40,n.SIMPLE_NODE_HALF_SIZE=n.SIMPLE_NODE_SIZE/2,n.EMPTY_COMPOUND_NODE_SIZE=40,n.MIN_EDGE_LENGTH=1,n.WORLD_BOUNDARY=1e6,n.INITIAL_WORLD_BOUNDARY=n.WORLD_BOUNDARY/1e3,n.WORLD_CENTER_X=1200,n.WORLD_CENTER_Y=900,t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(8),o=i(9);function s(t,e,i){n.call(this,i),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=i,this.bendpoints=[],this.source=t,this.target=e}for(var a in s.prototype=Object.create(n.prototype),n)s[a]=n[a];s.prototype.getSource=function(){return this.source},s.prototype.getTarget=function(){return this.target},s.prototype.isInterGraph=function(){return this.isInterGraph},s.prototype.getLength=function(){return this.length},s.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},s.prototype.getBendpoints=function(){return this.bendpoints},s.prototype.getLca=function(){return this.lca},s.prototype.getSourceInLca=function(){return this.sourceInLca},s.prototype.getTargetInLca=function(){return this.targetInLca},s.prototype.getOtherEnd=function(t){if(this.source===t)return this.target;if(this.target===t)return this.source;throw"Node is not incident with this edge"},s.prototype.getOtherEndInGraph=function(t,e){for(var i=this.getOtherEnd(t),n=e.getGraphManager().getRoot();;){if(i.getOwner()==e)return i;if(i.getOwner()==n)break;i=i.getOwner().getParent()}return null},s.prototype.updateLength=function(){var t=[,,,,];this.isOverlapingSourceAndTarget=r.getIntersection(this.target.getRect(),this.source.getRect(),t),this.isOverlapingSourceAndTarget||(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},s.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),1>Math.abs(this.lengthX)&&(this.lengthX=o.sign(this.lengthX)),1>Math.abs(this.lengthY)&&(this.lengthY=o.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=s},function(t,e,i){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(13),s=i(0),a=i(16),h=i(4);function l(t,e,i,s){null==i&&null==s&&(s=e),n.call(this,s),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=r.MIN_VALUE,this.inclusionTreeDepth=r.MAX_VALUE,this.vGraphObject=s,this.edges=[],this.graphManager=t,null!=i&&null!=e?this.rect=new o(e.x,e.y,i.width,i.height):this.rect=new o}for(var c in l.prototype=Object.create(n.prototype),n)l[c]=n[c];l.prototype.getEdges=function(){return this.edges},l.prototype.getChild=function(){return this.child},l.prototype.getOwner=function(){return this.owner},l.prototype.getWidth=function(){return this.rect.width},l.prototype.setWidth=function(t){this.rect.width=t},l.prototype.getHeight=function(){return this.rect.height},l.prototype.setHeight=function(t){this.rect.height=t},l.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},l.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},l.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},l.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},l.prototype.getRect=function(){return this.rect},l.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},l.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},l.prototype.setRect=function(t,e){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=e.width,this.rect.height=e.height},l.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},l.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},l.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},l.prototype.getEdgeListToNode=function(t){var e=[],i=this;return i.edges.forEach(function(n){if(n.target==t){if(n.source!=i)throw"Incorrect edge source!";e.push(n)}}),e},l.prototype.getEdgesBetween=function(t){var e=[],i=this;return i.edges.forEach(function(n){if(!(n.source==i||n.target==i))throw"Incorrect edge source and/or target";(n.target==t||n.source==t)&&e.push(n)}),e},l.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach(function(i){if(i.source==e)t.add(i.target);else{if(i.target!=e)throw"Incorrect incidency!";t.add(i.source)}}),t},l.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child)for(var e=this.child.getNodes(),i=0;ie&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>i&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-i)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-i),this.setHeight(this.labelHeight))}}},l.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==r.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},l.prototype.transform=function(t){var e=this.rect.x;e>s.WORLD_BOUNDARY?e=s.WORLD_BOUNDARY:e<-s.WORLD_BOUNDARY&&(e=-s.WORLD_BOUNDARY);var i=this.rect.y;i>s.WORLD_BOUNDARY?i=s.WORLD_BOUNDARY:i<-s.WORLD_BOUNDARY&&(i=-s.WORLD_BOUNDARY);var n=new h(e,i),r=t.inverseTransformPoint(n);this.setLocation(r.x,r.y)},l.prototype.getLeft=function(){return this.rect.x},l.prototype.getRight=function(){return this.rect.x+this.rect.width},l.prototype.getTop=function(){return this.rect.y},l.prototype.getBottom=function(){return this.rect.y+this.rect.height},l.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=l},function(t,e,i){"use strict";function n(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.setX=function(t){this.x=t},n.prototype.setY=function(t){this.y=t},n.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},n.prototype.getCopy=function(){return new n(this.x,this.y)},n.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=n},function(t,e,i){"use strict";var n=i(2),r=i(10),o=i(0),s=i(6),a=i(3),h=i(1),l=i(13),c=i(12),g=i(11);function u(t,e,i){n.call(this,i),this.estimatedSize=r.MIN_VALUE,this.margin=o.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof s?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var d in u.prototype=Object.create(n.prototype),n)u[d]=n[d];u.prototype.getNodes=function(){return this.nodes},u.prototype.getEdges=function(){return this.edges},u.prototype.getGraphManager=function(){return this.graphManager},u.prototype.getParent=function(){return this.parent},u.prototype.getLeft=function(){return this.left},u.prototype.getRight=function(){return this.right},u.prototype.getTop=function(){return this.top},u.prototype.getBottom=function(){return this.bottom},u.prototype.isConnected=function(){return this.isConnected},u.prototype.add=function(t,e,i){if(null==e&&null==i){if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(t)>-1)throw"Node already in graph!";return t.owner=this,this.getNodes().push(t),t}if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(i)>-1))throw"Source or target not in graph!";if(!(e.owner==i.owner&&e.owner==this))throw"Both owners must be this graph!";return e.owner!=i.owner?null:(t.source=e,t.target=i,t.isInterGraph=!1,this.getEdges().push(t),e.edges.push(t),i!=e&&i.edges.push(t),t)},u.prototype.remove=function(t){if(t instanceof a){if(null==t)throw"Node is null!";if(!(null!=t.owner&&t.owner==this))throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var e,i=t.edges.slice(),n=i.length,r=0;r-1&&l>-1))throw"Source and/or target doesn't know this edge!";e.source.edges.splice(s,1),e.target!=e.source&&e.target.edges.splice(l,1);var o=e.source.owner.getEdges().indexOf(e);if(-1==o)throw"Not in owner's edge list!";e.source.owner.getEdges().splice(o,1)}},u.prototype.updateLeftTop=function(){for(var t,e,i,n=r.MAX_VALUE,o=r.MAX_VALUE,s=this.getNodes(),a=s.length,h=0;ht&&(n=t),o>e&&(o=e)}return n==r.MAX_VALUE?null:(i=void 0!=s[0].getParent().paddingLeft?s[0].getParent().paddingLeft:this.margin,this.left=o-i,this.top=n-i,new c(this.left,this.top))},u.prototype.updateBounds=function(t){for(var e,i,n,o,s,a=r.MAX_VALUE,h=-r.MAX_VALUE,c=r.MAX_VALUE,g=-r.MAX_VALUE,u=this.nodes,d=u.length,p=0;pe&&(a=e),hn&&(c=n),ge&&(s=e),an&&(h=n),c=this.nodes.length){var h=0;r.forEach(function(t){t.owner==i&&h++}),h==this.nodes.length&&(this.isConnected=!0)}},t.exports=u},function(t,e,i){"use strict";var n,r=i(1);function o(t){n=i(5),this.layout=t,this.graphs=[],this.edges=[]}o.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),i=this.add(t,e);return this.setRootGraph(i),this.rootGraph},o.prototype.add=function(t,e,i,n,r){if(null==i&&null==n&&null==r){if(null==t)throw"Graph is null!";if(null==e)throw"Parent node is null!";if(this.graphs.indexOf(t)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(t),null!=t.parent)throw"Already has a parent!";if(null!=e.child)throw"Already has a child!";return t.parent=e,e.child=t,t}r=i,n=e,i=t;var o=n.getOwner(),s=r.getOwner();if(!(null!=o&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(null!=s&&s.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==s)return i.isInterGraph=!1,o.add(i,n,r);if(i.isInterGraph=!0,i.source=n,i.target=r,this.edges.indexOf(i)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(i),!(null!=i.source&&null!=i.target))throw"Edge source and/or target is null!";if(!(-1==i.source.edges.indexOf(i)&&-1==i.target.edges.indexOf(i)))throw"Edge already in source and/or target incidency list!";return i.source.edges.push(i),i.target.edges.push(i),i},o.prototype.remove=function(t){if(t instanceof n){if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(t==this.rootGraph||null!=t.parent&&t.parent.graphManager==this))throw"Invalid parent node!";for(var e,i,o=[],s=(o=o.concat(t.getEdges())).length,a=0;a=e.getRight()?i[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(i[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?i[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(i[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var o=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(o=1);var s=o*i[0],a=i[1]/o;i[0]s?(i[0]=n,i[1]=h,i[2]=o,i[3]=v):ro?(i[0]=a,i[1]=r,i[2]=E,i[3]=s):no?(i[0]=c,i[1]=g):(i[0]=l,i[1]=h),L=!0):O===I&&(n>o?(i[0]=a,i[1]=h):(i[0]=u,i[1]=g),L=!0),-D===I?(o>n?(i[2]=_,i[3]=v):(i[2]=E,i[3]=y),T=!0):D===I&&(o>n?(i[2]=f,i[3]=y):(i[2]=N,i[3]=v),T=!0),L&&T)return!1;if(n>o?r>s?(w=this.getCardinalDirection(O,I,4),R=this.getCardinalDirection(D,I,2)):(w=this.getCardinalDirection(-O,I,3),R=this.getCardinalDirection(-D,I,1)):r>s?(w=this.getCardinalDirection(-O,I,1),R=this.getCardinalDirection(-D,I,3)):(w=this.getCardinalDirection(O,I,2),R=this.getCardinalDirection(D,I,4)),!L)switch(w){case 1:M=h,C=n+-p/I,i[0]=C,i[1]=M;break;case 2:C=u,M=r+d*I,i[0]=C,i[1]=M;break;case 3:M=g,C=n+p/I,i[0]=C,i[1]=M;break;case 4:C=c,M=r+-d*I,i[0]=C,i[1]=M}if(!T)switch(R){case 1:b=y,x=o+-A/I,i[2]=x,i[3]=b;break;case 2:x=N,b=s+m*I,i[2]=x,i[3]=b;break;case 3:b=v,x=o+A/I,i[2]=x,i[3]=b;break;case 4:x=_,b=s+-m*I,i[2]=x,i[3]=b}}return!1},r.getCardinalDirection=function(t,e,i){return t>e?i:1+i%4},r.getIntersection=function(t,e,i,r){if(null==r)return this.getIntersection2(t,e,i);var o=t.x,s=t.y,a=e.x,h=e.y,l=i.x,c=i.y,g=r.x,u=r.y,d=void 0,p=void 0,f=void 0,y=void 0,E=void 0,_=void 0,v=void 0;return(d=h-s,f=o-a,E=a*s-o*h,p=u-c,y=l-g,_=g*c-l*u,0==(v=d*y-p*f))?null:new n((f*_-y*E)/v,(p*E-d*_)/v)},r.angleOfVector=function(t,e,i,n){var r=void 0;return t!==i?(r=Math.atan((n-e)/(i-t)),i0?1:t<0?-1:0},n.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},n.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=n},function(t,e,i){"use strict";function n(){}n.MAX_VALUE=2147483647,n.MIN_VALUE=-2147483648,t.exports=n},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i0&&e;){for(a.push(l[0]);a.length>0&&e;){var c=a[0];a.splice(0,1),s.add(c);for(var g=c.getEdges(),o=0;o-1&&l.splice(f,1)}s=new Set,h=new Map}else t=[]}return t},u.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],i=t.source,n=this.graphManager.calcLowestCommonAncestor(t.source,t.target),r=0;r0){for(var r=this.edgeToDummyNodes.get(i),o=0;o=0&&e.splice(g,1),a.getNeighborsList().forEach(function(t){if(0>i.indexOf(t)){var e=n.get(t)-1;1==e&&l.push(t),n.set(t,e)}})}i=i.concat(l),(1==e.length||2==e.length)&&(r=!0,o=e[0])}return o},u.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=u},function(t,e,i){"use strict";function n(){}n.seed=1,n.x=0,n.nextDouble=function(){return n.x=1e4*Math.sin(n.seed++),n.x-Math.floor(n.x)},t.exports=n},function(t,e,i){"use strict";var n=i(4);function r(t,e){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}r.prototype.getWorldOrgX=function(){return this.lworldOrgX},r.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},r.prototype.getWorldOrgY=function(){return this.lworldOrgY},r.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},r.prototype.getWorldExtX=function(){return this.lworldExtX},r.prototype.setWorldExtX=function(t){this.lworldExtX=t},r.prototype.getWorldExtY=function(){return this.lworldExtY},r.prototype.setWorldExtY=function(t){this.lworldExtY=t},r.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},r.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},r.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},r.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},r.prototype.getDeviceExtX=function(){return this.ldeviceExtX},r.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},r.prototype.getDeviceExtY=function(){return this.ldeviceExtY},r.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},r.prototype.transformX=function(t){var e=0,i=this.lworldExtX;return 0!=i&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/i),e},r.prototype.transformY=function(t){var e=0,i=this.lworldExtY;return 0!=i&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/i),e},r.prototype.inverseTransformX=function(t){var e=0,i=this.ldeviceExtX;return 0!=i&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/i),e},r.prototype.inverseTransformY=function(t){var e=0,i=this.ldeviceExtY;return 0!=i&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/i),e},r.prototype.inverseTransformPoint=function(t){return new n(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=r},function(t,e,i){"use strict";var n=i(15),r=i(7),o=i(0),s=i(8),a=i(9);function h(){n.call(this),this.useSmartIdealEdgeLengthCalculation=r.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=r.DEFAULT_EDGE_LENGTH,this.springConstant=r.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=r.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=r.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=r.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=r.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*r.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=r.MAX_ITERATIONS}for(var l in h.prototype=Object.create(n.prototype),n)h[l]=n[l];h.prototype.initParameters=function(){n.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},h.prototype.calcIdealEdgeLengths=function(){for(var t,e,i,n,s,a,h=this.getGraphManager().getAllEdges(),l=0;lr.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*r.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-r.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>r.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(r.COOLING_ADAPTATION_FACTOR,1-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*(1-r.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},h.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),i=0;i0)||void 0===arguments[0]||arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&s&&this.updateGrid(),o=new Set,t=0;t(h=e.getEstimatedSize()*this.gravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r,t.gravitationForceY=-this.gravityConstant*o):(s>(h=e.getEstimatedSize()*this.compoundGravityRangeFactor)||a>h)&&(t.gravitationForceX=-this.gravityConstant*r*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*o*this.compoundGravityConstant)},h.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=2>Math.abs(this.totalDisplacement-this.oldTotalDisplacement)),t=this.totalDisplacement=a.length||l>=a[0].length)){for(var c=0;ct}}]),t}();t.exports=o},function(t,e,i){"use strict";var n=function(){function t(t,e){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,t),this.sequence1=e,this.sequence2=i,this.match_score=n,this.mismatch_penalty=r,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=i.length+1,this.grid=Array(this.iMax);for(var s=0;s=0;i--){var n=this.listeners[i];n.event===t&&n.callback===e&&this.listeners.splice(i,1)}},r.emit=function(t,e){for(var i=0;i2&&L.push("'"+this.terminals_[N]+"'");O=g.showPosition?"Parse error on line "+(h+1)+":\n"+g.showPosition()+"\nExpecting "+L.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(O,{text:g.match,token:this.terminals_[y]||y,line:g.yylineno,loc:p,expected:L})}if(_[0]instanceof Array&&_.length>1)throw Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(_[0]){case 1:i.push(y),r.push(g.yytext),o.push(g.yylloc),i.push(_[1]),y=null,l=g.yyleng,a=g.yytext,h=g.yylineno,p=g.yylloc;break;case 2:if(m=this.productions_[_[1]][1],T.$=r[r.length-m],T._$={first_line:o[o.length-(m||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(m||1)].first_column,last_column:o[o.length-1].last_column},f&&(T._$.range=[o[o.length-(m||1)].range[0],o[o.length-1].range[1]]),void 0!==(v=this.performAction.apply(T,[a,l,h,u.yy,_[1],r,o].concat(c))))return v;m&&(i=i.slice(0,-1*m*2),r=r.slice(0,-1*m),o=o.slice(0,-1*m)),i.push(this.productions_[_[1]][0]),r.push(T.$),o.push(T._$),A=s[i[i.length-2]][i[i.length-1]],i.push(A);break;case 3:return!0}}return!0}};function _(){this.yy={}}return E.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,n,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var o in r)this[o]=r[o];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),o=0;oe[0].length)){if(e=i,n=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[o])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:return t.getLogger().trace("Found comment",e.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return t.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:t.getLogger().trace("end icon"),this.popState();break;case 10:return t.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return t.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 27:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return t.getLogger().trace("Long description:",e.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}},_.prototype=E,E.Parser=_,new _}();u.parser=u;let d=t=>(0,r.d)(t,(0,r.c)()),p=[],f=0,y={},E=function(t){for(let e=p.length-1;e>=0;e--)if(p[e].level{y[t]=e},N=t=>{switch(t){case _.DEFAULT:return"no-border";case _.RECT:return"rect";case _.ROUNDED_RECT:return"rounded-rect";case _.CIRCLE:return"circle";case _.CLOUD:return"cloud";case _.BANG:return"bang";case _.HEXAGON:return"hexgon";default:return"no-border"}},m=t=>y[t],A=Object.freeze(Object.defineProperty({__proto__:null,addNode:(t,e,i,n)=>{r.l.info("addNode",t,e,i,n);let o=(0,r.c)(),s={id:f++,nodeId:d(e),level:t,descr:d(i),type:n,children:[],width:(0,r.c)().mindmap.maxNodeWidth};switch(s.type){case _.ROUNDED_RECT:case _.RECT:case _.HEXAGON:s.padding=2*o.mindmap.padding;break;default:s.padding=o.mindmap.padding}let a=E(t);if(a)a.children.push(s),p.push(s);else if(0===p.length)p.push(s);else{let t=Error('There can be only one root. No parent could be found for ("'+s.descr+'")');throw t.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},t}},clear:()=>{p=[],f=0,y={}},decorateNode:t=>{let e=p[p.length-1];t&&t.icon&&(e.icon=d(t.icon)),t&&t.class&&(e.class=d(t.class))},getElementById:m,getLogger:()=>r.l,getMindmap:()=>p.length>0?p[0]:null,getNodeById:t=>p[t],getType:(t,e)=>{switch(r.l.debug("In get type",t,e),t){case"[":return _.RECT;case"(":return")"===e?_.ROUNDED_RECT:_.CLOUD;case"((":return _.CIRCLE;case")":return _.CLOUD;case"))":return _.BANG;case"{{":return _.HEXAGON;default:return _.DEFAULT}},nodeType:_,get parseError(){return n},sanitizeText:d,setElementForId:v,setErrorHandler:t=>{n=t},type2Str:N},Symbol.toStringTag,{value:"Module"})),L=function(t,e,i){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("d",`M0 ${e.height-5} v${-e.height+10} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+i).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},T=function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("height",e.height).attr("width",e.width)},O=function(t,e){let i=e.width,n=e.height,r=.15*i,o=.25*i,s=.35*i,a=.2*i;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("d",`M0 0 a${r},${r} 0 0,1 ${.25*i},${-1*i*.1} - a${s},${s} 1 0,1 ${.4*i},${-1*i*.1} - a${o},${o} 1 0,1 ${.35*i},${1*i*.2} - - a${r},${r} 1 0,1 ${.15*i},${1*n*.35} - a${a},${a} 1 0,1 ${-1*i*.15},${1*n*.65} - - a${o},${r} 1 0,1 ${-1*i*.25},${.15*i} - a${s},${s} 1 0,1 ${-1*i*.5},0 - a${r},${r} 1 0,1 ${-1*i*.25},${-1*i*.15} - - a${r},${r} 1 0,1 ${-1*i*.1},${-1*n*.35} - a${a},${a} 1 0,1 ${.1*i},${-1*n*.65} - - H0 V0 Z`)},D=function(t,e){let i=e.width,n=e.height,r=.15*i;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("d",`M0 0 a${r},${r} 1 0,0 ${.25*i},${-1*n*.1} - a${r},${r} 1 0,0 ${.25*i},0 - a${r},${r} 1 0,0 ${.25*i},0 - a${r},${r} 1 0,0 ${.25*i},${1*n*.1} - - a${r},${r} 1 0,0 ${.15*i},${1*n*.33} - a${.8*r},${.8*r} 1 0,0 0,${1*n*.34} - a${r},${r} 1 0,0 ${-1*i*.15},${1*n*.33} - - a${r},${r} 1 0,0 ${-1*i*.25},${.15*n} - a${r},${r} 1 0,0 ${-1*i*.25},0 - a${r},${r} 1 0,0 ${-1*i*.25},0 - a${r},${r} 1 0,0 ${-1*i*.25},${-1*n*.15} - - a${r},${r} 1 0,0 ${-1*i*.1},${-1*n*.33} - a${.8*r},${.8*r} 1 0,0 0,${-1*n*.34} - a${r},${r} 1 0,0 ${.1*i},${-1*n*.33} - - H0 V0 Z`)},I=function(t,e){t.append("circle").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("r",e.width/2)},w=function(t,e){let i=e.height,n=i/4,r=e.width-e.padding+2*n;t.insert("polygon",":first-child").attr("points",[{x:n,y:0},{x:r-n,y:0},{x:r,y:-i/2},{x:r-n,y:-i},{x:n,y:-i},{x:0,y:-i/2}].map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+(e.width-r)/2+", "+i+")")},R=function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+N(e.type)).attr("height",e.height).attr("rx",e.padding).attr("ry",e.padding).attr("width",e.width)},C={drawNode:function(t,e,i,n){let r=n.htmlLabels,o=i%11,a=t.append("g");e.section=o;let h="section-"+o;o<0&&(h+=" section-root"),a.attr("class",(e.class?e.class+" ":"")+"mindmap-node "+h);let l=a.append("g"),c=a.append("g"),g=e.descr.replace(/()/g,"\n");(0,s.a)(c,g,{useHtmlLabels:r,width:e.width,classes:"mindmap-node-label"}),r||c.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");let u=c.node().getBBox(),d=n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;if(e.height=u.height+.55*d+e.padding,e.width=u.width+2*e.padding,e.icon){if(e.type===_.CIRCLE)e.height+=50,e.width+=50,a.append("foreignObject").attr("height","50px").attr("width",e.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+e.icon),c.attr("transform","translate("+e.width/2+", "+(e.height/2-1.5*e.padding)+")");else{e.width+=50;let t=e.height;e.height=Math.max(t,60);let i=Math.abs(e.height-t);a.append("foreignObject").attr("width","60px").attr("height",e.height).attr("style","text-align: center;margin-top:"+i/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+e.icon),c.attr("transform","translate("+(25+e.width/2)+", "+(i/2+e.padding/2)+")")}}else if(r){let t=(e.width-u.width)/2,i=(e.height-u.height)/2;c.attr("transform","translate("+t+", "+i+")")}else{let t=e.width/2,i=e.padding/2;c.attr("transform","translate("+t+", "+i+")")}switch(e.type){case _.DEFAULT:L(l,e,o);break;case _.ROUNDED_RECT:R(l,e);break;case _.RECT:T(l,e);break;case _.CIRCLE:l.attr("transform","translate("+e.width/2+", "+ +e.height/2+")"),I(l,e);break;case _.CLOUD:O(l,e);break;case _.BANG:D(l,e);break;case _.HEXAGON:w(l,e)}return v(e.id,a),e.height},positionNode:function(t){let e=m(t.id),i=t.x||0,n=t.y||0;e.attr("transform","translate("+i+","+n+")")},drawEdge:function(t,e,i,n,r){let o=i.x+i.width/2,s=i.y+i.height/2,a=e.x+e.width/2,h=e.y+e.height/2,l=a>o?o+Math.abs(o-a)/2:o-Math.abs(o-a)/2,c=h>s?s+Math.abs(s-h)/2:s-Math.abs(s-h)/2;t.append("path").attr("d","TB"===i.direction||"BT"===i.direction?`M${o},${s} Q${o},${h>s?Math.abs(s-c)/2+s:-Math.abs(s-c)/2+s} ${l},${c} T${a},${h}`:`M${o},${s} Q${a>o?Math.abs(o-l)/2+o:-Math.abs(o-l)/2+o},${s} ${l},${c} T${a},${h}`).attr("class","edge section-edge-"+r%11+" edge-depth-"+n)}};a.use(h);let M=t=>{let e="";for(let e=0;e{let s;let h=(0,r.c)();h.htmlLabels=!1,r.l.debug("Rendering mindmap diagram\n"+t,n.parser);let l=(0,r.c)().securityLevel;"sandbox"===l&&(s=(0,o.Ys)("#i"+e));let c=("sandbox"===l?(0,o.Ys)(s.nodes()[0].contentDocument.body):(0,o.Ys)("body")).select("#"+e);c.append("g");let g=n.db.getMindmap(),u=c.append("g");u.attr("class","mindmap-edges");let d=c.append("g");d.attr("class","mindmap-nodes"),function t(e,i,n,r){C.drawNode(e,i,n,r),i.children&&i.children.forEach((i,o)=>{t(e,i,n<0?o:n,r)})}(d,g,-1,h);let p=await new Promise(t=>{let e=(0,o.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),i=a({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});e.remove(),function t(e,i,n,r){i.add({group:"nodes",data:{id:e.id,labelText:e.descr,height:e.height,width:e.width,level:r,nodeId:e.id,padding:e.padding,type:e.type},position:{x:e.x,y:e.y}}),e.children&&e.children.forEach(o=>{t(o,i,n,r+1),i.add({group:"edges",data:{id:`${e.id}_${o.id}`,source:e.id,target:o.id,depth:r,section:o.section}})})}(g,i,h,0),i.nodes().forEach(function(t){t.layoutDimensions=()=>{let e=t.data();return{w:e.width,h:e.height}}}),i.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),i.ready(e=>{r.l.info("Ready",e),t(i)})});!function(t,e){e.edges().map((e,i)=>{let n=e.data();if(e[0]._private.bodyBounds){let o=e[0]._private.rscratch;r.l.trace("Edge: ",i,n),t.insert("path").attr("d",`M ${o.startX},${o.startY} L ${o.midX},${o.midY} L${o.endX},${o.endY} `).attr("class","edge section-edge-"+n.section+" edge-depth-"+n.depth)}})}(u,p),function(t){t.nodes().map((t,e)=>{let i=t.data();i.x=t.position().x,i.y=t.position().y,C.positionNode(i);let n=m(i.nodeId);r.l.info("Id:",e,"Position: (",t.position().x,", ",t.position().y,")",i),n.attr("transform",`translate(${t.position().x-i.width/2}, ${t.position().y-i.height/2})`),n.attr("attr",`apa-${e})`)})}(p),(0,r.o)(void 0,c,h.mindmap.padding,h.mindmap.useMaxWidth)}},parser:u,styles:t=>` - .edge { - stroke-width: 3; - } - ${M(t)} - .section-root rect, .section-root path, .section-root circle, .section-root polygon { - fill: ${t.git0}; - } - .section-root text { - fill: ${t.gitBranchLabel0}; - } - .icon-container { - height:100%; - display: flex; - justify-content: center; - align-items: center; - } - .edge { - fill: none; - } - .mindmap-node-label { - dy: 1em; - alignment-baseline: middle; - text-anchor: middle; - dominant-baseline: middle; - text-align: center; - } -`}}}]); \ No newline at end of file diff --git a/_next/static/chunks/497088f4.0dfac81a667ab764.js b/_next/static/chunks/497088f4.0dfac81a667ab764.js new file mode 100644 index 0000000..58a5190 --- /dev/null +++ b/_next/static/chunks/497088f4.0dfac81a667ab764.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[279],{7243:function(n,t,e){var i;i=function(){return(function n(t,e,i){function r(a,u){if(!e[a]){if(!t[a]){if(c)return c(a,!0);var o=Error("Cannot find module '"+a+"'");throw o.code="MODULE_NOT_FOUND",o}var s=e[a]={exports:{}};t[a][0].call(s.exports,function(n){return r(t[a][1][n]||n)},s,s.exports,n,t,e,i)}return e[a].exports}for(var c=void 0,a=0;a0&&void 0!==arguments[0]?arguments[0]:{},i=e.defaultLayoutOptions,c=e.algorithms,u=e.workerFactory,o=e.workerUrl;if(r(this,n),this.defaultLayoutOptions=void 0===i?{}:i,this.initialized=!1,void 0===o&&void 0===u)throw Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var s=u;void 0!==o&&void 0===u&&(s=function(n){return new Worker(n)});var h=s(o);if("function"!=typeof h.postMessage)throw TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new a(h),this.worker.postMessage({cmd:"register",algorithms:void 0===c?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:c}).then(function(n){return t.initialized=!0}).catch(console.err)}return i(n,[{key:"layout",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.layoutOptions,i=void 0===e?this.defaultLayoutOptions:e,r=t.logging,c=t.measureExecutionTime;return n?this.worker.postMessage({cmd:"layout",graph:n,layoutOptions:i,options:{logging:void 0!==r&&r,measureExecutionTime:void 0!==c&&c}}):Promise.reject(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()}}]),n}();e.default=c;var a=function(){function n(t){var e=this;if(r(this,n),void 0===t)throw Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=t,this.worker.onmessage=function(n){setTimeout(function(){e.receive(e,n)},0)}}return i(n,[{key:"postMessage",value:function(n){var t=this.id||0;this.id=t+1,n.id=t;var e=this;return new Promise(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){var e=t.data,i=n.resolvers[e.id];i&&(delete n.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){var t=n.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(n.cause=t.cause.backingJsObject,this.convertGwtStyleError(n.cause)),delete n.__java$exception)}}}]),n}()},{}],2:[function(n,t,i){(function(n){(function(){"use strict";function e(){}function r(){}function c(){}function a(){}function u(){}function o(){}function s(){}function h(){}function f(){}function l(){}function b(){}function w(){}function d(){}function g(){}function p(){}function v(){}function m(){}function y(){}function k(){}function j(){}function E(){}function T(){}function M(){}function S(){}function P(){}function I(){}function C(){}function O(){}function A(){}function $(){}function N(){}function L(){}function D(){}function x(){}function R(){}function K(){}function F(){}function _(){}function H(){}function B(){}function q(){}function G(){}function z(){}function U(){}function X(){}function W(){}function V(){}function Q(){}function J(){}function Y(){}function Z(){}function nn(){}function nt(){}function ne(){}function ni(){}function nr(){}function nc(){}function na(){}function nu(){}function no(){}function ns(){}function nh(){}function nf(){}function nl(){}function nb(){}function nw(){}function nd(){}function ng(){}function np(){}function nv(){}function nm(){}function ny(){}function nk(){}function nj(){}function nE(){}function nT(){}function nM(){}function nS(){}function nP(){}function nI(){}function nC(){}function nO(){}function nA(){}function n$(){}function nN(){}function nL(){}function nD(){}function nx(){}function nR(){}function nK(){}function nF(){}function n_(){}function nH(){}function nB(){}function nq(){}function nG(){}function nz(){}function nU(){}function nX(){}function nW(){}function nV(){}function nQ(){}function nJ(){}function nY(){}function nZ(){}function n1(){}function n0(){}function n2(){}function n3(){}function n4(){}function n5(){}function n6(){}function n8(){}function n9(){}function n7(){}function tn(){}function tt(){}function te(){}function ti(){}function tr(){}function tc(){}function ta(){}function tu(){}function to(){}function ts(){}function th(){}function tf(){}function tl(){}function tb(){}function tw(){}function td(){}function tg(){}function tp(){}function tv(){}function tm(){}function ty(){}function tk(){}function tj(){}function tE(){}function tT(){}function tM(){}function tS(){}function tP(){}function tI(){}function tC(){}function tO(){}function tA(){}function t$(){}function tN(){}function tL(){}function tD(){}function tx(){}function tR(){}function tK(){}function tF(){}function t_(){}function tH(){}function tB(){}function tq(){}function tG(){}function tz(){}function tU(){}function tX(){}function tW(){}function tV(){}function tQ(){}function tJ(){}function tY(){}function tZ(){}function t1(){}function t0(){}function t2(){}function t3(){}function t4(){}function t5(){}function t6(){}function t8(){}function t9(){}function t7(){}function en(){}function et(){}function ee(){}function ei(){}function er(){}function ec(){}function ea(){}function eu(){}function eo(){}function es(){}function eh(){}function ef(){}function el(){}function eb(){}function ew(){}function ed(){}function eg(){}function ep(){}function ev(){}function em(){}function ey(){}function ek(){}function ej(){}function eE(){}function eT(){}function eM(){}function eS(){}function eP(){}function eI(){}function eC(){}function eO(){}function eA(){}function e$(){}function eN(){}function eL(){}function eD(){}function ex(){}function eR(){}function eK(){}function eF(){}function e_(){}function eH(){}function eB(){}function eq(){}function eG(){}function ez(){}function eU(){}function eX(){}function eW(){}function eV(){}function eQ(){}function eJ(){}function eY(){}function eZ(){}function e1(){}function e0(){}function e2(){}function e3(){}function e4(){}function e5(){}function e6(){}function e8(){}function e9(){}function e7(){}function it(){}function ie(){}function ii(){}function ir(){}function ic(){}function ia(){}function iu(){}function io(){}function is(){}function ih(){}function il(){}function ib(){}function iw(){}function id(){}function ig(){}function ip(){}function iv(){}function im(){}function iy(){}function ik(){}function ij(){}function iE(){}function iT(){}function iM(){}function iS(){}function iP(){}function iI(){}function iC(){}function iO(){}function iA(){}function i$(){}function iN(){}function iL(){}function iD(){}function ix(){}function iR(){}function iK(){}function iF(){}function i_(){}function iH(){}function iB(){}function iq(){}function iG(){}function iz(){}function iU(){}function iX(){}function iW(){}function iV(){}function iQ(){}function iJ(){}function iY(){}function iZ(){}function i1(){}function i0(){}function i2(){}function i3(){}function i4(){}function i5(){}function i6(){}function i8(){}function i9(){}function i7(){}function rn(){}function rt(){}function re(){}function ri(){}function rr(){}function rc(){}function ra(){}function ru(){}function ro(){}function rs(){}function rh(){}function rf(){}function rl(){}function rb(){}function rw(){}function rd(){}function rg(){}function rp(){}function rv(){}function rm(){}function ry(){}function rk(){}function rj(){}function rE(){}function rT(){}function rM(){}function rS(){}function rP(){}function rI(){}function rC(){}function rO(){}function rA(){}function r$(){}function rN(){}function rL(){}function rD(){}function rx(){}function rR(){}function rK(){}function rF(){}function r_(){}function rH(){}function rB(){}function rq(){}function rG(){}function rz(){}function rU(){}function rX(){}function rW(){}function rV(){}function rQ(){}function rJ(){}function rY(){}function rZ(){}function r1(){}function r0(){}function r2(){}function r3(){}function r4(){}function r5(){}function r6(){}function r8(){}function r9(){}function r7(){}function cn(){}function ct(){}function ce(){}function ci(){}function cr(){}function cc(){}function ca(){}function cu(){}function co(){}function cs(){}function ch(){}function cf(){}function cl(){}function cb(){}function cw(){}function cd(){}function cg(){}function cp(){}function cv(){}function cm(){}function cy(){}function ck(){}function cj(){}function cE(){}function cT(){}function cM(){}function cS(){}function cP(){}function cI(){}function cC(){}function cO(){}function cA(){}function c$(){}function cN(){}function cL(){}function cD(){}function cx(){}function cR(){}function cK(){}function cF(){}function c_(){}function cH(){}function cB(){}function cq(){}function cG(){}function cz(){}function cU(){}function cX(){}function cW(){}function cV(){}function cQ(){}function cJ(){}function cY(){}function cZ(){}function c1(){}function c0(){}function c2(){}function c3(){}function c4(){}function c5(){}function c6(){}function c8(){}function c9(){}function c7(){}function an(){}function at(){}function ae(){}function ai(){}function ar(){}function ac(){}function aa(){}function au(){}function ao(){}function as(){}function ah(){}function af(){}function al(){}function ab(){}function aw(){}function ad(){}function ag(){}function ap(){}function av(){}function am(){}function ay(){}function ak(){}function aj(){}function aE(){}function aT(){}function aM(){}function aS(){}function aP(){}function aI(){}function aC(){}function aO(){}function aA(){}function a$(){}function aN(){}function aL(){}function aD(){}function ax(){}function aR(){}function aK(){}function aF(){}function a_(){}function aH(){}function aB(){}function aq(){}function aG(){}function az(){}function aU(){}function aX(){}function aW(){}function aV(){}function aQ(){}function aJ(){}function aY(){}function aZ(){}function a1(){}function a0(){}function a2(){}function a3(){}function a4(){}function a5(){}function a6(){}function a8(){}function a9(){}function a7(){}function un(){}function ut(){}function ue(){}function ui(){}function ur(){}function uc(){}function ua(){}function uu(){}function uo(){}function us(){}function uh(){}function uf(){}function ul(){}function ub(){}function uw(){}function ud(){}function ug(){}function up(){}function uv(){}function um(){}function uy(){}function uk(){}function uj(){}function uE(){}function uT(){}function uM(){}function uS(){}function uP(){}function uI(){}function uC(){}function uO(){}function uA(){}function u$(){}function uN(){}function uL(){}function uD(){}function ux(){}function uR(){}function uK(){}function uF(){}function u_(){}function uH(){}function uB(){}function uq(){}function uG(){}function uz(){}function uU(){}function uX(){}function uW(){}function uV(){}function uQ(){}function uJ(){}function uY(){}function uZ(){}function u1(){}function u0(){}function u2(){}function u3(){}function u4(){}function u5(){}function u6(){}function u8(){}function u9(){}function u7(){}function on(){}function ot(){}function oe(){}function oi(){}function or(){}function oc(){}function oa(){}function ou(){}function oo(){}function os(){}function oh(){}function of(){}function ol(){}function ob(){}function ow(){}function od(){}function og(){}function op(){}function ov(){}function om(){}function oy(){}function ok(){}function oj(){}function oE(){}function oT(){}function oM(){}function oS(){}function oP(){}function oI(){}function oC(){}function oO(){}function oA(){}function o$(){}function oN(){}function oL(){}function oD(){}function ox(){}function oR(){}function oK(){}function oF(){}function o_(){}function oH(){}function oB(){}function oq(){}function oG(){}function oz(){}function oU(){}function oX(){}function oW(){}function oV(){}function oQ(){}function oJ(){}function oY(){}function oZ(){}function o1(){}function o0(){}function o2(){}function o3(){}function o4(){}function o5(){}function o6(){}function o8(){}function o9(){}function o7(){}function sn(){}function st(){}function se(){dJ()}function si(){XV()}function sr(){J2()}function sc(){nnt()}function sa(){nt5()}function su(){nab()}function so(){ZO()}function ss(){ZU()}function sh(){v4()}function sf(){v1()}function sl(){P7()}function sb(){v5()}function sw(){GD()}function sd(){v8()}function sg(){FC()}function sp(){q2()}function sv(){_E()}function sm(){DL()}function sy(){XQ()}function sk(){ntq()}function sj(){q3()}function sE(){Rg()}function sT(){nho()}function sM(){ZL()}function sS(){DD()}function sP(){ns8()}function sI(){D$()}function sC(){q4()}function sO(){UR()}function sA(){DF()}function s$(){_H()}function sN(){v9()}function sL(){nry()}function sD(){Zx()}function sx(){zd()}function sR(){ntA()}function sK(){naw()}function sF(){YF()}function s_(){nrw()}function sH(){z1()}function sB(){DR()}function sq(){nut()}function sG(){nrd()}function sz(){nrG()}function sU(){_q()}function sX(){nt$()}function sW(){nha()}function sV(){XY()}function sQ(){QQ()}function sJ(){noc()}function sY(){PX()}function sZ(){G9()}function s1(){nuP()}function s0(n){this.a=n}function s2(n){this.a=n}function s3(n){this.a=n}function s4(n){this.a=n}function s5(n){this.a=n}function s6(n){this.a=n}function s8(n){this.a=n}function s9(n){this.a=n}function s7(n){this.a=n}function hn(n){this.a=n}function ht(n){this.a=n}function he(n){this.a=n}function hi(n){this.a=n}function hr(n){this.a=n}function hc(n){this.a=n}function ha(n){this.a=n}function hu(n){this.a=n}function ho(n){this.a=n}function hs(n){this.a=n}function hh(n){this.a=n}function hf(n){this.a=n}function hl(n){this.b=n}function hb(n){this.c=n}function hw(n){this.a=n}function hd(n){this.a=n}function hg(n){this.a=n}function hp(n){this.a=n}function hv(n){this.a=n}function hm(n){this.a=n}function hy(n){this.a=n}function hk(n){this.a=n}function hj(n){this.a=n}function hE(n){this.a=n}function hT(n){this.a=n}function hM(n){this.a=n}function hS(n){this.a=n}function hP(n){this.a=n}function hI(n){this.a=n}function hC(n){this.a=n}function hO(n){this.a=n}function hA(){this.a=[]}function h$(n){this.d=n}function hN(n){this.a=n}function hL(n){this.a=n}function hD(n){this.a=n}function hx(n){this.a=n}function hR(n){this.a=n}function hK(n){this.a=n}function hF(n){this.a=n}function h_(n){this.a=n}function hH(n){this.a=n}function hB(n){this.a=n}function hq(n){this.a=n}function hG(n){this.a=n}function hz(n){this.a=n}function hU(n){this.a=n}function hX(n){this.b=n}function hW(n){this.b=n}function hV(n){this.b=n}function hQ(n){this.a=n}function hJ(n){this.a=n}function hY(n){this.a=n}function hZ(n){this.c=n}function h1(n){this.c=n}function h0(n){this.c=n}function h2(n){this.a=n}function h3(n){this.a=n}function h4(n){this.a=n}function h5(n){this.a=n}function h6(n){this.a=n}function h8(n){this.a=n}function h9(n){this.a=n}function h7(n){this.a=n}function fn(n){this.a=n}function ft(n){this.a=n}function fe(n){this.a=n}function fi(n){this.a=n}function fr(n){this.a=n}function fc(n){this.a=n}function fa(n){this.a=n}function fu(n){this.a=n}function fo(n){this.a=n}function fs(n){this.a=n}function fh(n){this.a=n}function ff(n){this.a=n}function fl(n){this.a=n}function fb(n){this.a=n}function fw(n){this.a=n}function fd(n){this.a=n}function fg(n){this.a=n}function fp(n){this.a=n}function fv(n){this.a=n}function fm(n){this.a=n}function fy(n){this.a=n}function fk(n){this.a=n}function fj(n){this.a=n}function fE(n){this.a=n}function fT(n){this.a=n}function fM(n){this.a=n}function fS(n){this.a=n}function fP(n){this.a=n}function fI(n){this.a=n}function fC(n){this.a=n}function fO(n){this.a=n}function fA(n){this.a=n}function f$(n){this.a=n}function fN(n){this.a=n}function fL(n){this.a=n}function fD(n){this.a=n}function fx(n){this.a=n}function fR(n){this.e=n}function fK(n){this.a=n}function fF(n){this.a=n}function f_(n){this.a=n}function fH(n){this.a=n}function fB(n){this.a=n}function fq(n){this.a=n}function fG(n){this.a=n}function fz(n){this.a=n}function fU(n){this.a=n}function fX(n){this.a=n}function fW(n){this.a=n}function fV(n){this.a=n}function fQ(n){this.a=n}function fJ(n){this.a=n}function fY(n){this.a=n}function fZ(n){this.a=n}function f1(n){this.a=n}function f0(n){this.a=n}function f2(n){this.a=n}function f3(n){this.a=n}function f4(n){this.a=n}function f5(n){this.a=n}function f6(n){this.a=n}function f8(n){this.a=n}function f9(n){this.a=n}function f7(n){this.a=n}function ln(n){this.a=n}function lt(n){this.a=n}function le(n){this.a=n}function li(n){this.a=n}function lr(n){this.a=n}function lc(n){this.a=n}function la(n){this.a=n}function lu(n){this.a=n}function lo(n){this.a=n}function ls(n){this.a=n}function lh(n){this.a=n}function lf(n){this.a=n}function ll(n){this.a=n}function lb(n){this.a=n}function lw(n){this.a=n}function ld(n){this.a=n}function lg(n){this.a=n}function lp(n){this.a=n}function lv(n){this.a=n}function lm(n){this.a=n}function ly(n){this.a=n}function lk(n){this.a=n}function lj(n){this.a=n}function lE(n){this.a=n}function lT(n){this.a=n}function lM(n){this.a=n}function lS(n){this.a=n}function lP(n){this.c=n}function lI(n){this.b=n}function lC(n){this.a=n}function lO(n){this.a=n}function lA(n){this.a=n}function l$(n){this.a=n}function lN(n){this.a=n}function lL(n){this.a=n}function lD(n){this.a=n}function lx(n){this.a=n}function lR(n){this.a=n}function lK(n){this.a=n}function lF(n){this.a=n}function l_(n){this.a=n}function lH(n){this.a=n}function lB(n){this.a=n}function lq(n){this.a=n}function lG(n){this.a=n}function lz(n){this.a=n}function lU(n){this.a=n}function lX(n){this.a=n}function lW(n){this.a=n}function lV(n){this.a=n}function lQ(n){this.a=n}function lJ(n){this.a=n}function lY(n){this.a=n}function lZ(n){this.a=n}function l1(n){this.a=n}function l0(n){this.a=n}function l2(n){this.a=n}function l3(n){this.a=n}function l4(n){this.a=n}function l5(n){this.a=n}function l6(n){this.a=n}function l8(n){this.a=n}function l9(n){this.a=n}function l7(n){this.a=n}function bn(n){this.a=n}function bt(n){this.a=n}function be(n){this.a=n}function bi(n){this.a=n}function br(n){this.a=n}function bc(n){this.a=n}function ba(n){this.a=n}function bu(n){this.a=n}function bo(n){this.a=n}function bs(n){this.a=n}function bh(n){this.a=n}function bf(n){this.a=n}function bl(n){this.a=n}function bb(n){this.a=n}function bw(n){this.a=n}function bd(n){this.a=n}function bg(n){this.a=n}function bp(n){this.a=n}function bv(n){this.a=n}function bm(n){this.a=n}function by(n){this.a=n}function bk(n){this.a=n}function bj(n){this.a=n}function bE(n){this.a=n}function bT(n){this.a=n}function bM(n){this.a=n}function bS(n){this.a=n}function bP(n){this.a=n}function bI(n){this.a=n}function bC(n){this.a=n}function bO(n){this.a=n}function bA(n){this.a=n}function b$(n){this.a=n}function bN(n){this.a=n}function bL(n){this.a=n}function bD(n){this.a=n}function bx(n){this.a=n}function bR(n){this.b=n}function bK(n){this.f=n}function bF(n){this.a=n}function b_(n){this.a=n}function bH(n){this.a=n}function bB(n){this.a=n}function bq(n){this.a=n}function bG(n){this.a=n}function bz(n){this.a=n}function bU(n){this.a=n}function bX(n){this.a=n}function bW(n){this.a=n}function bV(n){this.a=n}function bQ(n){this.b=n}function bJ(n){this.c=n}function bY(n){this.e=n}function bZ(n){this.a=n}function b1(n){this.a=n}function b0(n){this.a=n}function b2(n){this.a=n}function b3(n){this.a=n}function b4(n){this.d=n}function b5(n){this.a=n}function b6(n){this.a=n}function b8(n){this.e=n}function b9(){this.a=0}function b7(){Ek(this)}function wn(){Ey(this)}function wt(){AT(this)}function we(){Nt(this)}function wi(){}function wr(){this.c=nQ5}function wc(n){return n.a}function wa(n){return n.a}function wu(n){return n.a}function wo(n){return n.a}function ws(n){return n.a}function wh(){return null}function wf(){return null}function wl(n,t){n.b=t-n.b}function wb(n,t){n.a=t-n.a}function ww(n,t){n.e=t,t.b=n}function wd(n){PV(),this.a=n}function wg(n){PV(),this.a=n}function wp(n){PV(),this.a=n}function wv(n){$w(),this.a=n}function wm(){TZ.call(this)}function wy(){TZ.call(this)}function wk(){wm.call(this)}function wj(){wm.call(this)}function wE(){wm.call(this)}function wT(){wm.call(this)}function wM(){wm.call(this)}function wS(){wm.call(this)}function wP(){wm.call(this)}function wI(){wm.call(this)}function wC(){wm.call(this)}function wO(){wm.call(this)}function wA(){wm.call(this)}function w$(){this.a=this}function wN(){this.Bb|=256}function wL(){this.b=new jH}function wD(){wD=C,new wt}function wx(){wk.call(this)}function wR(n,t){zx(n.e,t)}function wK(n){niX(n.c,n.b)}function wF(n){var t;this.a=(t=nt1(n))>34028234663852886e22?nlc:t<-34028234663852886e22?nla:t}function w_(){this.a=new wt}function wH(){this.a=new wt}function wB(){this.a=new wn}function wq(){this.a=new wn}function wG(){this.a=new wn}function wz(){this.a=new nm}function wU(){this.a=new Fk}function wX(){this.a=new tt}function wW(){this.a=new vD}function wV(){this.a=new xC}function wQ(){this.a=new Du}function wJ(){this.a=new SV}function wY(){this.a=new wn}function wZ(){this.a=new wn}function w1(){this.a=new wn}function w0(){this.a=new wn}function w2(){this.d=new wn}function w3(){this.a=new w_}function w4(){this.a=new wt}function w5(){this.b=new wt}function w6(){this.b=new wn}function w8(){this.e=new wn}function w9(){this.d=new wn}function w7(){this.a=new sk}function dn(){wn.call(this)}function dt(){wB.call(this)}function de(){SY.call(this)}function di(){wZ.call(this)}function dr(){dc.call(this)}function dc(){wi.call(this)}function da(){wi.call(this)}function du(){da.call(this)}function ds(){Lh.call(this)}function dh(){Lh.call(this)}function df(){dB.call(this)}function dl(){dB.call(this)}function db(){dB.call(this)}function dw(){dq.call(this)}function dd(){vK.call(this)}function dg(){aQ.call(this)}function dp(){aQ.call(this)}function dv(){dW.call(this)}function dm(){dW.call(this)}function dy(){wt.call(this)}function dk(){wt.call(this)}function dj(){wt.call(this)}function dE(){w_.call(this)}function dT(){qZ.call(this)}function dM(){wN.call(this)}function dS(){Tw.call(this)}function dP(){Tw.call(this)}function dI(){wt.call(this)}function dC(){wt.call(this)}function dO(){wt.call(this)}function dA(){ui.call(this)}function d$(){ui.call(this)}function dN(){dA.call(this)}function dL(){o7.call(this)}function dD(n){BC.call(this,n)}function dx(n){BC.call(this,n)}function dR(n){s7.call(this,n)}function dK(n){vk.call(this,n)}function dF(n){dK.call(this,n)}function d_(n){vk.call(this,n)}function dH(){this.a=new vK}function dB(){this.a=new w_}function dq(){this.a=new wt}function dG(){this.a=new wn}function dz(){this.j=new wn}function dU(){this.a=new cJ}function dX(){this.a=new pq}function dW(){this.a=new ue}function dV(){dV=C,nTP=new g1}function dQ(){dQ=C,nTS=new gZ}function dJ(){dJ=C,nTM=new r}function dY(){dY=C,nTA=new TB}function dZ(n){dK.call(this,n)}function d1(n){dK.call(this,n)}function d0(n){R6.call(this,n)}function d2(n){R6.call(this,n)}function d3(n){PD.call(this,n)}function d4(n){nt4.call(this,n)}function d5(n){vT.call(this,n)}function d6(n){vS.call(this,n)}function d8(n){vS.call(this,n)}function d9(n){vS.call(this,n)}function d7(n){OI.call(this,n)}function gn(n){d7.call(this,n)}function gt(){hO.call(this,{})}function ge(n){Tl(),this.a=n}function gi(n){n.b=null,n.c=0}function gr(n){return new hC(n)}function gc(n){return new $h(n)}function ga(n){d7.call(this,n)}function gu(n){d7.call(this,n)}function go(n){d7.call(this,n)}function gs(n){OI.call(this,n)}function gh(n){zw(),this.a=n}function gf(n){PU(),this.a=n}function gl(n){Os(),this.f=n}function gb(n){Os(),this.f=n}function gw(n){d7.call(this,n)}function gd(n){d7.call(this,n)}function gg(n){d7.call(this,n)}function gp(n){d7.call(this,n)}function gv(n){d7.call(this,n)}function gm(n){return $D(n),n}function gy(n){return $D(n),n}function gk(n){return n.b==n.c}function gj(n){return!!n&&n.b}function gE(n){$D(n),this.a=n}function gT(n){Aw(n,n.length)}function gM(n){d7.call(this,n)}function gS(n){d7.call(this,n)}function gP(n){d7.call(this,n)}function gI(n){d7.call(this,n)}function gC(n){d7.call(this,n)}function gO(n){d7.call(this,n)}function gA(n){Md.call(this,n,0)}function g$(){D0.call(this,12,3)}function gN(){gN=C,nTx=new k}function gL(){gL=C,nTL=new e}function gD(){gD=C,nTF=new d}function gx(){gx=C,nTB=new p}function gR(){throw(new wP).e}function gK(){throw(new wP).e}function gF(){throw(new wP).e}function g_(){this.a=Sh(A1(nhC))}function gH(n){PV(),this.a=A1(n)}function gB(n,t){n.Td(t),t.Sd(n)}function gq(n){gu.call(this,n)}function gG(n){gd.call(this,n)}function gz(){hR.call(this,"")}function gU(){hR.call(this,"")}function gX(){hR.call(this,"")}function gW(){hR.call(this,"")}function gV(n){gu.call(this,n)}function gQ(n){hW.call(this,n)}function gJ(n){TQ.call(this,n)}function gY(n){gQ.call(this,n)}function gZ(){hr.call(this,null)}function g1(){hr.call(this,null)}function g0(){g0=C,Lv()}function g2(){g2=C,nMP=typeof Map===nhT&&Map.prototype.entries&&function(){try{return(new Map).entries().next().done}catch(n){return!1}}()?Map:function(){function n(){this.obj=this.createObject()}return n.prototype.createObject=function(n){return Object.create(null)},n.prototype.get=function(n){return this.obj[n]},n.prototype.set=function(n,t){this.obj[n]=t},n.prototype[nlM]=function(n){delete this.obj[n]},n.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},n.prototype.entries=function(){var n=this.keys(),t=this,e=0;return{next:function(){if(e>=n.length)return{done:!0};var i=n[e++];return{value:[i,t.get(i)],done:!1}}}},!function(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",t=Object.create(null);return void 0===t[n]&&0==Object.getOwnPropertyNames(t).length&&(t[n]=42,42===t[n]&&0!=Object.getOwnPropertyNames(t).length)}()&&(n.prototype.createObject=function(){return{}},n.prototype.get=function(n){return this.obj[":"+n]},n.prototype.set=function(n,t){this.obj[":"+n]=t},n.prototype[nlM]=function(n){delete this.obj[":"+n]},n.prototype.keys=function(){var n=[];for(var t in this.obj)58==t.charCodeAt(0)&&n.push(t.substring(1));return n}),n}()}function g3(n,t){return n.c=t,n}function g4(n,t){return n.b=t,n}function g5(n,t){return n.d=t,n}function g6(n,t){return n.e=t,n}function g8(n,t){return n.g=t,n}function g9(n,t){return n.a=t,n}function g7(n,t){return n.i=t,n}function pn(n,t){return n.j=t,n}function pt(n){Np.call(this,n)}function pe(n){Np.call(this,n)}function pi(n){P_.call(this,n)}function pr(n){Qt.call(this,n)}function pc(n){BO.call(this,n)}function pa(n){N_.call(this,n)}function pu(n){N_.call(this,n)}function po(){EV.call(this,"")}function ps(){this.a=0,this.b=0}function ph(){this.b=0,this.a=0}function pf(n){return n.e&&n.e()}function pl(n){return n?n.d:null}function pb(n){return Su(n),n.o}function pw(){pw=C,nVk=function(){var n,t;noc();try{if(t=Im(nnO((ml(),nQS),nyg),2014))return t}catch(t){if(Ti(t=Uu(t),102))n=t,OT((E$(),n));else throw t.e}return new a1}()}function pd(){var n,t,e,i,r,c,a,u,o,s,h,f;pd=C,nVj=nCH?Im(nrR((ml(),nQS),nyg),2016):(n=Im(Ti(Lz((ml(),nQS),nyg),555)?Lz(nQS,nyg):new nrn,555),nCH=!0,n.q||(n.q=!0,n.p=z_(n,0),n.a=z_(n,1),Gq(n.a,0),n.f=z_(n,2),Gq(n.f,1),GB(n.f,2),n.n=z_(n,3),GB(n.n,3),GB(n.n,4),GB(n.n,5),GB(n.n,6),n.g=z_(n,4),Gq(n.g,7),GB(n.g,8),n.c=z_(n,5),Gq(n.c,7),Gq(n.c,8),n.i=z_(n,6),Gq(n.i,9),Gq(n.i,10),Gq(n.i,11),Gq(n.i,12),GB(n.i,13),n.j=z_(n,7),Gq(n.j,9),n.d=z_(n,8),Gq(n.d,3),Gq(n.d,4),Gq(n.d,5),Gq(n.d,6),GB(n.d,7),GB(n.d,8),GB(n.d,9),GB(n.d,10),n.b=z_(n,9),GB(n.b,0),GB(n.b,1),n.e=z_(n,10),GB(n.e,1),GB(n.e,2),GB(n.e,3),GB(n.e,4),Gq(n.e,5),Gq(n.e,6),Gq(n.e,7),Gq(n.e,8),Gq(n.e,9),Gq(n.e,10),GB(n.e,11),n.k=z_(n,11),GB(n.k,0),GB(n.k,1),n.o=zH(n,12),n.s=zH(n,13)),n.r||(n.r=!0,GF(n,"graph"),G_(n,"graph"),GH(n,nyg),Ue(n.o,"T"),_P(Lw(n.a),n.p),_P(Lw(n.f),n.a),_P(Lw(n.n),n.f),_P(Lw(n.g),n.n),_P(Lw(n.c),n.n),_P(Lw(n.i),n.c),_P(Lw(n.j),n.c),_P(Lw(n.d),n.f),_P(Lw(n.e),n.a),xR(n.p,nSy,nbB,!0,!0,!1),f=Ug(h=XC(n.p,n.p,"setProperty")),c=NI(n.o),a=new wr,_P((c.d||(c.d=new Tg(nQd,c,1)),c.d),a),nnB(a,u=NC(f)),nnC(h,c,nyv),nnC(h,c=NC(f),nym),f=Ug(h=XC(n.p,null,"getProperty")),c=NI(n.o),a=NC(f),_P((c.d||(c.d=new Tg(nQd,c,1)),c.d),a),nnC(h,c,nyv),(s=ntl(h,c=NC(f),null))&&s.Fi(),h=XC(n.p,n.wb.e,"hasProperty"),c=NI(n.o),a=new wr,_P((c.d||(c.d=new Tg(nQd,c,1)),c.d),a),nnC(h,c,nyv),ZP(h=XC(n.p,n.p,"copyProperties"),n.p,nyy),h=XC(n.p,null,"getAllProperties"),c=NI(n.wb.P),a=NI(n.o),_P((c.d||(c.d=new Tg(nQd,c,1)),c.d),a),u=new wr,_P((a.d||(a.d=new Tg(nQd,a,1)),a.d),u),a=NI(n.wb.M),_P((c.d||(c.d=new Tg(nQd,c,1)),c.d),a),(o=ntl(h,c,null))&&o.Fi(),xR(n.a,nCP,nmJ,!0,!1,!0),ZS(Im(BX(N6(n.a),0),18),n.k,null,nyk,0,-1,nCP,!1,!1,!0,!0,!1,!1,!1),xR(n.f,nCC,nmZ,!0,!1,!0),ZS(Im(BX(N6(n.f),0),18),n.g,Im(BX(N6(n.g),0),18),"labels",0,-1,nCC,!1,!1,!0,!0,!1,!1,!1),G5(Im(BX(N6(n.f),1),34),n.wb._,nyj,null,0,1,nCC,!1,!1,!0,!1,!0,!1),xR(n.n,nCO,"ElkShape",!0,!1,!0),G5(Im(BX(N6(n.n),0),34),n.wb.t,nyE,nlg,1,1,nCO,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.n),1),34),n.wb.t,nyT,nlg,1,1,nCO,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.n),2),34),n.wb.t,"x",nlg,1,1,nCO,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.n),3),34),n.wb.t,"y",nlg,1,1,nCO,!1,!1,!0,!1,!0,!1),ZP(h=XC(n.n,null,"setDimensions"),n.wb.t,nyT),ZP(h,n.wb.t,nyE),ZP(h=XC(n.n,null,"setLocation"),n.wb.t,"x"),ZP(h,n.wb.t,"y"),xR(n.g,nCK,nm5,!1,!1,!0),ZS(Im(BX(N6(n.g),0),18),n.f,Im(BX(N6(n.f),0),18),nyM,0,1,nCK,!1,!1,!0,!1,!1,!1,!1),G5(Im(BX(N6(n.g),1),34),n.wb._,nyS,"",0,1,nCK,!1,!1,!0,!1,!0,!1),xR(n.c,nCA,nm1,!0,!1,!0),ZS(Im(BX(N6(n.c),0),18),n.d,Im(BX(N6(n.d),1),18),"outgoingEdges",0,-1,nCA,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.c),1),18),n.d,Im(BX(N6(n.d),2),18),"incomingEdges",0,-1,nCA,!1,!1,!0,!1,!0,!1,!1),xR(n.i,nCF,nm6,!1,!1,!0),ZS(Im(BX(N6(n.i),0),18),n.j,Im(BX(N6(n.j),0),18),"ports",0,-1,nCF,!1,!1,!0,!0,!1,!1,!1),ZS(Im(BX(N6(n.i),1),18),n.i,Im(BX(N6(n.i),2),18),nyP,0,-1,nCF,!1,!1,!0,!0,!1,!1,!1),ZS(Im(BX(N6(n.i),2),18),n.i,Im(BX(N6(n.i),1),18),nyM,0,1,nCF,!1,!1,!0,!1,!1,!1,!1),ZS(Im(BX(N6(n.i),3),18),n.d,Im(BX(N6(n.d),0),18),"containedEdges",0,-1,nCF,!1,!1,!0,!0,!1,!1,!1),G5(Im(BX(N6(n.i),4),34),n.wb.e,nyI,null,0,1,nCF,!0,!0,!1,!1,!0,!0),xR(n.j,nC_,nm8,!1,!1,!0),ZS(Im(BX(N6(n.j),0),18),n.i,Im(BX(N6(n.i),0),18),nyM,0,1,nC_,!1,!1,!0,!1,!1,!1,!1),xR(n.d,nC$,nm0,!1,!1,!0),ZS(Im(BX(N6(n.d),0),18),n.i,Im(BX(N6(n.i),3),18),"containingNode",0,1,nC$,!1,!1,!0,!1,!1,!1,!1),ZS(Im(BX(N6(n.d),1),18),n.c,Im(BX(N6(n.c),0),18),nyC,0,-1,nC$,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.d),2),18),n.c,Im(BX(N6(n.c),1),18),nyO,0,-1,nC$,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.d),3),18),n.e,Im(BX(N6(n.e),5),18),nyA,0,-1,nC$,!1,!1,!0,!0,!1,!1,!1),G5(Im(BX(N6(n.d),4),34),n.wb.e,"hyperedge",null,0,1,nC$,!0,!0,!1,!1,!0,!0),G5(Im(BX(N6(n.d),5),34),n.wb.e,nyI,null,0,1,nC$,!0,!0,!1,!1,!0,!0),G5(Im(BX(N6(n.d),6),34),n.wb.e,"selfloop",null,0,1,nC$,!0,!0,!1,!1,!0,!0),G5(Im(BX(N6(n.d),7),34),n.wb.e,"connected",null,0,1,nC$,!0,!0,!1,!1,!0,!0),xR(n.b,nCI,nmY,!1,!1,!0),G5(Im(BX(N6(n.b),0),34),n.wb.t,"x",nlg,1,1,nCI,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.b),1),34),n.wb.t,"y",nlg,1,1,nCI,!1,!1,!0,!1,!0,!1),ZP(h=XC(n.b,null,"set"),n.wb.t,"x"),ZP(h,n.wb.t,"y"),xR(n.e,nCN,nm2,!1,!1,!0),G5(Im(BX(N6(n.e),0),34),n.wb.t,"startX",null,0,1,nCN,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.e),1),34),n.wb.t,"startY",null,0,1,nCN,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.e),2),34),n.wb.t,"endX",null,0,1,nCN,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.e),3),34),n.wb.t,"endY",null,0,1,nCN,!1,!1,!0,!1,!0,!1),ZS(Im(BX(N6(n.e),4),18),n.b,null,ny$,0,-1,nCN,!1,!1,!0,!0,!1,!1,!1),ZS(Im(BX(N6(n.e),5),18),n.d,Im(BX(N6(n.d),3),18),nyM,0,1,nCN,!1,!1,!0,!1,!1,!1,!1),ZS(Im(BX(N6(n.e),6),18),n.c,null,nyN,0,1,nCN,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.e),7),18),n.c,null,nyL,0,1,nCN,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.e),8),18),n.e,Im(BX(N6(n.e),9),18),nyD,0,-1,nCN,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.e),9),18),n.e,Im(BX(N6(n.e),8),18),nyx,0,-1,nCN,!1,!1,!0,!1,!0,!1,!1),G5(Im(BX(N6(n.e),10),34),n.wb._,nyj,null,0,1,nCN,!1,!1,!0,!1,!0,!1),ZP(h=XC(n.e,null,"setStartLocation"),n.wb.t,"x"),ZP(h,n.wb.t,"y"),ZP(h=XC(n.e,null,"setEndLocation"),n.wb.t,"x"),ZP(h,n.wb.t,"y"),xR(n.k,nE1,"ElkPropertyToValueMapEntry",!1,!1,!1),c=NI(n.o),a=new wr,_P((c.d||(c.d=new Tg(nQd,c,1)),c.d),a),niY(Im(BX(N6(n.k),0),34),c,"key",nE1,!1,!1,!0,!1),G5(Im(BX(N6(n.k),1),34),n.s,nym,null,0,1,nE1,!1,!1,!0,!1,!0,!1),Ne(n.o,nCi,"IProperty",!0),Ne(n.s,nEX,"PropertyValue",!0),Wp(n,nyg)),ZM(n),Dp(nQS,nyg,n),n)}function pg(){pg=C,nQC=function(){var n,t;noc();try{if(t=Im(nnO((ml(),nQS),njE),1941))return t}catch(t){if(Ti(t=Uu(t),102))n=t,OT((E$(),n));else throw t.e}return new uS}()}function pp(){pp=C,nJL=function(){var n,t;Hu();try{if(t=Im(nnO((ml(),nQS),njZ),2024))return t}catch(t){if(Ti(t=Uu(t),102))n=t,OT((E$(),n));else throw t.e}return new os}()}function pv(){var n,t,e,i;pv=C,nJD=nJg?Im(nrR((ml(),nQS),njZ),1945):(jJ(nJl,new oj),jJ(nJb,new oN),jJ(nJw,new oG),jJ(nJd,new o0),jJ(nTh,new o5),jJ(Dg(nYx,1),new o6),jJ(nTt,new o8),jJ(nTe,new o9),jJ(nTh,new ol),jJ(nTh,new ob),jJ(nTh,new ow),jJ(nTr,new od),jJ(nTh,new og),jJ(nEZ,new op),jJ(nEZ,new ov),jJ(nTh,new om),jJ(nTc,new oy),jJ(nTh,new ok),jJ(nTh,new oE),jJ(nTh,new oT),jJ(nTh,new oM),jJ(nTh,new oS),jJ(Dg(nYx,1),new oP),jJ(nTh,new oI),jJ(nTh,new oC),jJ(nEZ,new oO),jJ(nEZ,new oA),jJ(nTh,new o$),jJ(nTa,new oL),jJ(nTh,new oD),jJ(nTu,new ox),jJ(nTh,new oR),jJ(nTh,new oK),jJ(nTh,new oF),jJ(nTh,new o_),jJ(nEZ,new oH),jJ(nEZ,new oB),jJ(nTh,new oq),jJ(nTh,new oz),jJ(nTh,new oU),jJ(nTh,new oX),jJ(nTh,new oW),jJ(nTh,new oV),jJ(nTo,new oQ),jJ(nTh,new oJ),jJ(nTh,new oY),jJ(nTh,new oZ),jJ(nTo,new o1),jJ(nTu,new o2),jJ(nTh,new o3),jJ(nTa,new o4),n=Im(Ti(Lz((ml(),nQS),njZ),586)?Lz(nQS,njZ):new $W,586),nJg=!0,n.N||(n.N=!0,n.b=z_(n,0),GB(n.b,0),GB(n.b,1),GB(n.b,2),n.bb=z_(n,1),GB(n.bb,0),GB(n.bb,1),n.fb=z_(n,2),GB(n.fb,3),GB(n.fb,4),Gq(n.fb,5),n.qb=z_(n,3),GB(n.qb,0),Gq(n.qb,1),Gq(n.qb,2),GB(n.qb,3),GB(n.qb,4),Gq(n.qb,5),GB(n.qb,6),n.a=zH(n,4),n.c=zH(n,5),n.d=zH(n,6),n.e=zH(n,7),n.f=zH(n,8),n.g=zH(n,9),n.i=zH(n,10),n.j=zH(n,11),n.k=zH(n,12),n.n=zH(n,13),n.o=zH(n,14),n.p=zH(n,15),n.q=zH(n,16),n.s=zH(n,17),n.r=zH(n,18),n.t=zH(n,19),n.u=zH(n,20),n.v=zH(n,21),n.w=zH(n,22),n.B=zH(n,23),n.A=zH(n,24),n.C=zH(n,25),n.D=zH(n,26),n.F=zH(n,27),n.G=zH(n,28),n.H=zH(n,29),n.J=zH(n,30),n.I=zH(n,31),n.K=zH(n,32),n.M=zH(n,33),n.L=zH(n,34),n.P=zH(n,35),n.Q=zH(n,36),n.R=zH(n,37),n.S=zH(n,38),n.T=zH(n,39),n.U=zH(n,40),n.V=zH(n,41),n.X=zH(n,42),n.W=zH(n,43),n.Y=zH(n,44),n.Z=zH(n,45),n.$=zH(n,46),n._=zH(n,47),n.ab=zH(n,48),n.cb=zH(n,49),n.db=zH(n,50),n.eb=zH(n,51),n.gb=zH(n,52),n.hb=zH(n,53),n.ib=zH(n,54),n.jb=zH(n,55),n.kb=zH(n,56),n.lb=zH(n,57),n.mb=zH(n,58),n.nb=zH(n,59),n.ob=zH(n,60),n.pb=zH(n,61)),(t=n).O||(t.O=!0,GF(t,"type"),G_(t,"ecore.xml.type"),GH(t,njZ),e=Im(nrR((ml(),nQS),njZ),1945),_P(Lw(t.fb),t.b),xR(t.b,nJl,"AnyType",!1,!1,!0),G5(Im(BX(N6(t.b),0),34),t.wb.D,njb,null,0,-1,nJl,!1,!1,!0,!1,!1,!1),G5(Im(BX(N6(t.b),1),34),t.wb.D,"any",null,0,-1,nJl,!0,!0,!0,!1,!1,!0),G5(Im(BX(N6(t.b),2),34),t.wb.D,"anyAttribute",null,0,-1,nJl,!1,!1,!0,!1,!1,!1),xR(t.bb,nJb,nj4,!1,!1,!0),G5(Im(BX(N6(t.bb),0),34),t.gb,"data",null,0,1,nJb,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(t.bb),1),34),t.gb,nyU,null,1,1,nJb,!1,!1,!0,!1,!0,!1),xR(t.fb,nJw,nj5,!1,!1,!0),G5(Im(BX(N6(t.fb),0),34),e.gb,"rawValue",null,0,1,nJw,!0,!0,!0,!1,!0,!0),G5(Im(BX(N6(t.fb),1),34),e.a,nym,null,0,1,nJw,!0,!0,!0,!1,!0,!0),ZS(Im(BX(N6(t.fb),2),18),t.wb.q,null,"instanceType",1,1,nJw,!1,!1,!0,!1,!1,!1,!1),xR(t.qb,nJd,nj6,!1,!1,!0),G5(Im(BX(N6(t.qb),0),34),t.wb.D,njb,null,0,-1,null,!1,!1,!0,!1,!1,!1),ZS(Im(BX(N6(t.qb),1),18),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),ZS(Im(BX(N6(t.qb),2),18),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),G5(Im(BX(N6(t.qb),3),34),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),G5(Im(BX(N6(t.qb),4),34),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),ZS(Im(BX(N6(t.qb),5),18),t.bb,null,nEk,0,-2,null,!0,!0,!0,!0,!1,!1,!0),G5(Im(BX(N6(t.qb),6),34),t.gb,nyS,null,0,-2,null,!0,!0,!0,!1,!1,!0),Ne(t.a,nEX,"AnySimpleType",!0),Ne(t.c,nTh,"AnyURI",!0),Ne(t.d,Dg(nYx,1),"Base64Binary",!0),Ne(t.e,nYL,"Boolean",!0),Ne(t.f,nTt,"BooleanObject",!0),Ne(t.g,nYx,"Byte",!0),Ne(t.i,nTe,"ByteObject",!0),Ne(t.j,nTh,"Date",!0),Ne(t.k,nTh,"DateTime",!0),Ne(t.n,nTf,"Decimal",!0),Ne(t.o,nYR,"Double",!0),Ne(t.p,nTr,"DoubleObject",!0),Ne(t.q,nTh,"Duration",!0),Ne(t.s,nEZ,"ENTITIES",!0),Ne(t.r,nEZ,"ENTITIESBase",!0),Ne(t.t,nTh,nEt,!0),Ne(t.u,nYK,"Float",!0),Ne(t.v,nTc,"FloatObject",!0),Ne(t.w,nTh,"GDay",!0),Ne(t.B,nTh,"GMonth",!0),Ne(t.A,nTh,"GMonthDay",!0),Ne(t.C,nTh,"GYear",!0),Ne(t.D,nTh,"GYearMonth",!0),Ne(t.F,Dg(nYx,1),"HexBinary",!0),Ne(t.G,nTh,"ID",!0),Ne(t.H,nTh,"IDREF",!0),Ne(t.J,nEZ,"IDREFS",!0),Ne(t.I,nEZ,"IDREFSBase",!0),Ne(t.K,nYN,"Int",!0),Ne(t.M,nTl,"Integer",!0),Ne(t.L,nTa,"IntObject",!0),Ne(t.P,nTh,"Language",!0),Ne(t.Q,nYD,"Long",!0),Ne(t.R,nTu,"LongObject",!0),Ne(t.S,nTh,"Name",!0),Ne(t.T,nTh,nEe,!0),Ne(t.U,nTl,"NegativeInteger",!0),Ne(t.V,nTh,nEl,!0),Ne(t.X,nEZ,"NMTOKENS",!0),Ne(t.W,nEZ,"NMTOKENSBase",!0),Ne(t.Y,nTl,"NonNegativeInteger",!0),Ne(t.Z,nTl,"NonPositiveInteger",!0),Ne(t.$,nTh,"NormalizedString",!0),Ne(t._,nTh,"NOTATION",!0),Ne(t.ab,nTh,"PositiveInteger",!0),Ne(t.cb,nTh,"QName",!0),Ne(t.db,nYF,"Short",!0),Ne(t.eb,nTo,"ShortObject",!0),Ne(t.gb,nTh,nfk,!0),Ne(t.hb,nTh,"Time",!0),Ne(t.ib,nTh,"Token",!0),Ne(t.jb,nYF,"UnsignedByte",!0),Ne(t.kb,nTo,"UnsignedByteObject",!0),Ne(t.lb,nYD,"UnsignedInt",!0),Ne(t.mb,nTu,"UnsignedIntObject",!0),Ne(t.nb,nTl,"UnsignedLong",!0),Ne(t.ob,nYN,"UnsignedShort",!0),Ne(t.pb,nTa,"UnsignedShortObject",!0),Wp(t,njZ),nrz((i=t).a,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"anySimpleType"])),nrz(i.b,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"anyType",njd,njb])),nrz(Im(BX(N6(i.b),0),34),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njU,nyQ,":mixed"])),nrz(Im(BX(N6(i.b),1),34),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njU,njY,nj1,nyQ,":1",nj9,"lax"])),nrz(Im(BX(N6(i.b),2),34),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njG,njY,nj1,nyQ,":2",nj9,"lax"])),nrz(i.c,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"anyURI",njJ,njX])),nrz(i.d,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"base64Binary",njJ,njX])),nrz(i.e,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nhk,njJ,njX])),nrz(i.f,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"boolean:Object",njM,nhk])),nrz(i.g,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,njt])),nrz(i.i,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"byte:Object",njM,njt])),nrz(i.j,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"date",njJ,njX])),nrz(i.k,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"dateTime",njJ,njX])),nrz(i.n,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"decimal",njJ,njX])),nrz(i.o,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nji,njJ,njX])),nrz(i.p,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"double:Object",njM,nji])),nrz(i.q,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"duration",njJ,njX])),nrz(i.s,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"ENTITIES",njM,nj7,nEn,"1"])),nrz(i.r,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nj7,njW,nEt])),nrz(i.t,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEt,njM,nEe])),nrz(i.u,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,njr,njJ,njX])),nrz(i.v,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"float:Object",njM,njr])),nrz(i.w,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"gDay",njJ,njX])),nrz(i.B,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"gMonth",njJ,njX])),nrz(i.A,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"gMonthDay",njJ,njX])),nrz(i.C,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"gYear",njJ,njX])),nrz(i.D,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"gYearMonth",njJ,njX])),nrz(i.F,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"hexBinary",njJ,njX])),nrz(i.G,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"ID",njM,nEe])),nrz(i.H,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"IDREF",njM,nEe])),nrz(i.J,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"IDREFS",njM,nEi,nEn,"1"])),nrz(i.I,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEi,njW,"IDREF"])),nrz(i.K,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,njc])),nrz(i.M,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEr])),nrz(i.L,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"int:Object",njM,njc])),nrz(i.P,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"language",njM,nEc,nEa,nEu])),nrz(i.Q,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nja])),nrz(i.R,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"long:Object",njM,nja])),nrz(i.S,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"Name",njM,nEc,nEa,nEo])),nrz(i.T,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEe,njM,"Name",nEa,nEs])),nrz(i.U,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"negativeInteger",njM,nEh,nEf,"-1"])),nrz(i.V,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEl,njM,nEc,nEa,"\\c+"])),nrz(i.X,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"NMTOKENS",njM,nEb,nEn,"1"])),nrz(i.W,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEb,njW,nEl])),nrz(i.Y,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEw,njM,nEr,nEd,"0"])),nrz(i.Z,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEh,njM,nEr,nEf,"0"])),nrz(i.$,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEg,njM,nhE,njJ,"replace"])),nrz(i._,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"NOTATION",njJ,njX])),nrz(i.ab,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"positiveInteger",njM,nEw,nEd,"1"])),nrz(i.bb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"processingInstruction_._type",njd,"empty"])),nrz(Im(BX(N6(i.bb),0),34),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njq,nyQ,"data"])),nrz(Im(BX(N6(i.bb),1),34),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njq,nyQ,nyU])),nrz(i.cb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"QName",njJ,njX])),nrz(i.db,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nju])),nrz(i.eb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"short:Object",njM,nju])),nrz(i.fb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"simpleAnyType",njd,njB])),nrz(Im(BX(N6(i.fb),0),34),njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,":3",njd,njB])),nrz(Im(BX(N6(i.fb),1),34),njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,":4",njd,njB])),nrz(Im(BX(N6(i.fb),2),18),njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,":5",njd,njB])),nrz(i.gb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nhE,njJ,"preserve"])),nrz(i.hb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"time",njJ,njX])),nrz(i.ib,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEc,njM,nEg,njJ,njX])),nrz(i.jb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEp,nEf,"255",nEd,"0"])),nrz(i.kb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"unsignedByte:Object",njM,nEp])),nrz(i.lb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEv,nEf,"4294967295",nEd,"0"])),nrz(i.mb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"unsignedInt:Object",njM,nEv])),nrz(i.nb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"unsignedLong",njM,nEw,nEf,nEm,nEd,"0"])),nrz(i.ob,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,nEy,nEf,"65535",nEd,"0"])),nrz(i.pb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"unsignedShort:Object",njM,nEy])),nrz(i.qb,njw,Um(Dg(nTh,1),nhJ,2,6,[nyQ,"",njd,njb])),nrz(Im(BX(N6(i.qb),0),34),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njU,nyQ,":mixed"])),nrz(Im(BX(N6(i.qb),1),18),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njq,nyQ,"xmlns:prefix"])),nrz(Im(BX(N6(i.qb),2),18),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njq,nyQ,"xsi:schemaLocation"])),nrz(Im(BX(N6(i.qb),3),34),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njz,nyQ,"cDATA",njV,njQ])),nrz(Im(BX(N6(i.qb),4),34),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njz,nyQ,"comment",njV,njQ])),nrz(Im(BX(N6(i.qb),5),18),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njz,nyQ,nEk,njV,njQ])),nrz(Im(BX(N6(i.qb),6),34),njw,Um(Dg(nTh,1),nhJ,2,6,[njd,njz,nyQ,nyS,njV,njQ]))),$J((mb(),nQI),n,new of),ZM(n),Dp(nQS,njZ,n),n)}function pm(){pm=C,nVQ=qK()}function py(){throw(new wP).e}function pk(){throw(new wP).e}function pj(){throw(new wP).e}function pE(){throw(new wP).e}function pT(){throw(new wP).e}function pM(){throw(new wP).e}function pS(n){this.a=new vL(n)}function pP(n){nsN(),function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(e=0,a=0,c=t.length,u=null,s=new gW,a1?xr(OR(h.a[1],32),xi(h.a[0],nlw)):xi(h.a[0],nlw),x8(VF(h.e,f))));for(r=0,n.d=s.a.length;rt?1:0}function Ez(n,t,e){return{l:n,m:t,h:e}}function EU(n){n.a=new A,n.c=new A}function EX(n){this.b=n,this.a=new wn}function EW(n){this.b=new n1,this.a=n}function EV(n){SJ.call(this),this.a=n}function EQ(){mP.call(this,"Range",2)}function EJ(){nnu(),this.a=new ncw(nPF)}function EY(n,t,e){return Q5(t,e,n.c)}function EZ(n){return new kp(n.c,n.d)}function E1(n){return new kp(n.a,n.b)}function E0(n){Dq(n,null),DG(n,null)}function E2(){Ml.call(this,null,null)}function E3(){Mb.call(this,null,null)}function E4(n){this.a=n,wt.call(this)}function E5(n){this.b=(NV(),new hZ(n))}function E6(n){n.j=_f(nTs,nhJ,310,0,0,1)}function E8(n,t){noK(n),n.Gc(Im(t,15))}function E9(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h;if(0==e.gc())return!1;if(mp(),c=(u=Im(t,66).Oj())?e:new BO(e.gc()),ncx(n.e,t)){if(t.hi())for(s=e.Kc();s.Ob();)!nuz(n,t,o=s.Pb(),Ti(t,99)&&(Im(t,18).Bb&nls)!=0)&&(r=RU(t,o),c.Hc(r)||c.Fc(r));else if(!u)for(s=e.Kc();s.Ob();)r=RU(t,o=s.Pb()),c.Fc(r)}else{if(e.gc()>1)throw new gd(nj2).e;for(a=0,h=ncT(n.e.Tg(),t),i=Im(n.g,119);a0&&(n.a/=e,n.b/=e),n.a*=t,n.b*=t,n}function I0(n,t,e,i,r){n.c=t,n.d=e,n.b=i,n.a=r}function I2(n,t){return KN(n,t,n.c.b,n.c),!0}function I3(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function I4(n){this.b=n,this.a=OC(this.b.a).Ed()}function I5(n,t){this.b=n,this.a=t,se.call(this)}function I6(n,t){this.a=n,this.b=t,se.call(this)}function I8(n,t){O1.call(this,t,1040),this.a=n}function I9(n){return 0==n||isNaN(n)?n:n<0?-1:1}function I7(n,t){return nn$(n,new yf(t.a,t.b))}function Cn(n){var t;return t=n.n,n.a.b+t.d+t.a}function Ct(n){var t;return t=n.n,n.e.b+t.d+t.a}function Ce(n){var t;return t=n.n,n.e.a+t.b+t.c}function Ci(n){return nhh(),++nYO,new CU(0,n)}function Cr(n){if(!n)throw new gw(null).e}function Cc(){Cc=C,NV(),nJI=new hQ(nj1)}function Ca(){Ca=C,new Yw((dV(),nTP),(dQ(),nTS))}function Cu(){Cu=C,nT0=_f(nTa,nhJ,19,256,0,1)}function Co(n,t,e,i){Qo.call(this,n,t,e,i,0,0)}function Cs(n){return n.e.c.length+n.g.c.length}function Ch(n){return n.e.c.length-n.g.c.length}function Cf(n){return n.b.c.length-n.e.c.length}function Cl(n){PW(),Iz.call(this,n),this.a=-1}function Cb(n,t){jr.call(this,n,t),this.a=this}function Cw(n,t){var e;return(e=AZ(n,t)).i=2,e}function Cd(n,t){return++n.j,n.Ti(t)}function Cg(n,t,e){return n.a=-1,Mf(n,t.g,e),n}function Cp(n,t,e){var i;return new Pw((0>=n?new vx:0>(i=n-1)?new vx:new Sg(null,new Kq(i+1,i))).Ie(),e,t)}function Cv(n,t,e,i,r,c){return function n(t,e,i,r,c,a,u){var o,s,h,f,l;if(f=c[a],l=Zi(o=(h=a==u-1)?r:0,f),10!=r&&Um(Dg(t,u-a),e[a],i[a],o,l),!h)for(++a,s=0;s=0;t--)if(Pv(n[t].d,"Sz")||Pv(n[t].d,"ez")){n.length>=t+1&&n.splice(0,t+1);break}return n}(nTR.ce(n)))),t=n.j,e=0,i=t.length;e>19!=0)return"-"+n(Uq(t));for(i=t,r="";!(0==i.l&&0==i.m&&0==i.h);){if(i=noz(i,K1(nf7),!0),e=""+px(nTG),!(0==i.l&&0==i.m&&0==i.h))for(c=9-e.length;c>0;c--)e="0"+e;r=e+r}return r}(n)}function Ox(n){if(n.e.j!=n.d)throw(new wI).e}function OR(n,t){return zA(ntZ(j4(n)?zz(n):n,t))}function OK(n,t){return zA(nrh(j4(n)?zz(n):n,t))}function OF(n,t){var e,i,r,c,a,u;return zA((e=j4(n)?zz(n):n,i=63&t,r=e.h&nf5,i<22?(u=r>>>i,a=e.m>>i|r<<22-i,c=e.l>>i|e.m<<22-i):i<44?(u=0,a=r>>>i-22,c=e.m>>i-22|e.h<<44-i):(u=0,a=0,c=r>>>i-44),Ez(c&nf4,a&nf4,u&nf5)))}function O_(n,t){return Vv(($D(n),n),($D(t),t))}function OH(n,t){return A1(t),n.a.Ad(t)&&!n.b.Ad(t)}function OB(n,t){return WQ(n,($D(t),new fn(t)))}function Oq(n,t){return WQ(n,($D(t),new ft(t)))}function OG(n){return zn(),0!=Im(n,11).e.c.length}function Oz(n){return zn(),0!=Im(n,11).g.c.length}function OU(n,t,e){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(0!=t.e.c.length&&0!=e.e.c.length){if((i=Im(CA(t.e,0),17).c.i)==(a=Im(CA(e.e,0),17).c.i))return EG(Im(ntP(Im(CA(t.e,0),17),(nhu(),nDj)),19).a,Im(ntP(Im(CA(e.e,0),17),nDj),19).a);for(h=n.a,f=0,l=h.length;fu?1:0:(n.b&&(n.b._b(c)&&(r=Im(n.b.xc(c),19).a),n.b._b(o)&&(u=Im(n.b.xc(o),19).a)),ru?1:0):0!=t.e.c.length&&0!=e.g.c.length?1:-1}(n,Im(t,11),Im(e,11))}function OX(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function OW(n,t){if(n<0||n>=t)throw(new wx).e}function OV(n,t,e){return nc0(),zf(n,t)&&zf(n,e)}function OQ(n){return nis(),!n.Hc(nWS)&&!n.Hc(nWI)}function OJ(n){return new kp(n.c+n.b/2,n.d+n.a/2)}function OY(n,t){return t.kh()?WO(n.b,Im(t,49)):t}function OZ(n,t){this.e=n,this.d=(64&t)!=0?t|nhY:t}function O1(n,t){this.c=0,this.d=n,this.b=64|t|nhY}function O0(n){this.b=new Fq(11),this.a=(NQ(),n)}function O2(n){this.b=null,this.a=(NQ(),n||nMj)}function O3(n){this.a=Yh(n.a),this.b=new PH(n.b)}function O4(n){this.b=n,Mv.call(this,n),Th(this)}function O5(n){this.b=n,My.call(this,n),Tf(this)}function O6(n,t,e){this.a=n,Pe.call(this,t,e,5,6)}function O8(n,t,e,i){this.b=n,Tg.call(this,t,e,i)}function O9(n,t,e,i,r){_R.call(this,n,t,e,i,r,-1)}function O7(n,t,e,i,r){_K.call(this,n,t,e,i,r,-1)}function An(n,t,e,i){Tg.call(this,n,t,e),this.b=i}function At(n,t,e,i){Iq.call(this,n,t,e),this.b=i}function Ae(n){ji.call(this,n,!1),this.a=!1}function Ai(n,t){this.b=n,hb.call(this,n.b),this.a=t}function Ar(n,t){$w(),vv.call(this,n,WD(new gE(t)))}function Ac(n,t){return nhh(),++nYO,new $j(n,t,0)}function Aa(n,t){return nhh(),++nYO,new $j(6,n,t)}function Au(n,t){return jw(t)?Ln(n,t):!!Lj(n.f,t)}function Ao(n,t){for($D(t);n.Ob();)t.td(n.Pb())}function As(n,t,e){nc4(),this.e=n,this.d=t,this.a=e}function Ah(n,t,e,i){var r;(r=n.i).i=t,r.a=e,r.b=i}function Af(n){var t;for(t=n;t.f;)t=t.f;return t}function Al(n){var t;return MK(null!=(t=U3(n))),t}function Ab(n,t){var e;return Fg(t,e=n.a.gc()),e-t}function Aw(n,t){var e;for(e=0;en||n>t)throw new gq("fromIndex: 0, toIndex: "+n+nl$+t).e}(t=n.length,n.length),new I8(n,t)))}function AS(n){return new OM(new T$(n.a.length,n.a))}function AP(n){return typeof n===nhy||typeof n===nhT}function AI(n,t){return 0>WM(n,t)?-1:WM(n,t)>0?1:0}function AC(n,t,e){return function n(t,e,i){var r,c,a,u,o,s,h,f;return WY(i,t.b)||(t.b=i,a=new nQ,u=Im(Kc(Nw(new CN(null,new D6(i.f,16)),a),HT(new V,new Q,new ni,new nr,Um(Dg(nMz,1),nfh,132,0,[(XW(),nM3),nM2]))),21),t.e=!0,t.f=!0,t.c=!0,t.d=!0,c=u.Hc((Yr(),nPP)),r=u.Hc(nPI),c&&!r&&(t.f=!1),!c&&r&&(t.d=!1),c=u.Hc(nPS),r=u.Hc(nPC),c&&!r&&(t.c=!1),c||!r||(t.e=!1)),f=Im(t.a.Ce(e,i),46),s=Im(f.a,19).a,h=Im(f.b,19).a,o=!1,s<0?t.c||(o=!0):t.e||(o=!0),h<0?t.d||(o=!0):t.f||(o=!0),o?n(t,f,i):f}(n,Im(t,46),Im(e,167))}function AO(n,t){return Im(OA(OC(n.a)).Xb(t),42).cd()}function AA(n,t){this.d=n,Td.call(this,n),this.e=t}function A$(n){this.d=($D(n),n),this.a=0,this.c=nh0}function AN(n,t){b8.call(this,1),this.a=n,this.b=t}function AL(n,t){return Hs(n.slice(0,t),n)}function AD(n,t,e){var i;for(i=0;i=14&&e<=16);case 11:return null!=t&&typeof t===nhT;case 12:return null!=t&&(typeof t===nhy||typeof t==nhT);case 0:return Ya(t,n.__elementTypeId$);case 2:return AP(t)&&t.im!==I;case 1:return AP(t)&&t.im!==I||Ya(t,n.__elementTypeId$);default:return!0}}(n,e)),n[t]=e}function $e(n,t){var e;return x1(t,e=n.a.gc()),e-1-t}function $i(n,t){return n.a+=String.fromCharCode(t),n}function $r(n,t){return n.a+=String.fromCharCode(t),n}function $c(n,t){for($D(t);n.c0){J4(n,e,0),e.a+=String.fromCharCode(i),J4(n,e,r=function(n,t){var e,i;for(D5(t,n.length),e=n.charCodeAt(t),i=t+1;i0;)n=n<<1|(n<0?1:0);return n}function $5(n,t){return jf(n)===jf(t)||null!=n&&WY(n,t)}function $6(n,t){return C9(n.a,t)?n.b[Im(t,22).g]:null}function $8(n,t){var e;n.u.Hc((nis(),nWS))&&function(n,t){var e,i,r,c;for(e=(c=Im($6(n.b,t),124)).a,r=Im(Im(Fl(n.r,t),21),84).Kc();r.Ob();)(i=Im(r.Pb(),111)).c&&(e.a=nTv.Math.max(e.a,Ce(i.c)));if(e.a>0)switch(t.g){case 2:c.n.c=n.s;break;case 4:c.n.b=n.s}}(n,t),n.C&&((e=Im($6(n.b,t),124).n).d=n.C.d,e.a=n.C.a)}function $9(n,t){return D5(t,n.length),n.charCodeAt(t)}function $7(){d7.call(this,"There is no more element.")}function Nn(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function Nt(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function Ne(n,t,e,i){return zl(n,t,e,!1),Ve(n,i),n}function Ni(n){return n.n||(n.n=new An(nCK,n,1,7)),n.n}function Nr(n){return n.c||(n.c=new An(nC_,n,9,9)),n.c}function Nc(n){var t,e,i,r,c;return n.e==nj0&&(e=n.g,t=(r=(i=n.b).Hh(e.a))&&null!=(c=Sh(Q_((r.b||(r.b=new M2((nhl(),nQQ),nQE,r)),r.b),nyQ)))?c:i.ne(),n.e=t),n.e}function Na(n){var t,e,i,r,c;return n.f==nj0&&(e=n.g,t=(r=(i=n.b).Hh(e.a))?Pv(njQ,c=Sh(Q_((r.b||(r.b=new M2((nhl(),nQQ),nQE,r)),r.b),njV)))?OE(e,BU(i.Hj())):c:null,n.f=t),n.f}function Nu(n){var t;return(t=n.b)||(n.b=t=new ht(n)),t}function No(n){var t;for(t=n.Kc();t.Ob();)t.Pb(),t.Qb()}function Ns(n){if(Qe(n.d),n.d.d!=n.c)throw(new wI).e}function Nh(n,t){this.b=n,this.c=t,this.a=new vR(this.b)}function Nf(n,t,e){this.a=nfM,this.d=n,this.b=t,this.c=e}function Nl(n,t){this.d=($D(n),n),this.a=16449,this.c=t}function Nb(n,t){return V$(n),new CN(n,new _Y(t,n.a))}function Nw(n,t){return V$(n),new CN(n,new FM(t,n.a))}function Nd(n,t){return V$(n),new Sd(n,new FE(t,n.a))}function Ng(n,t){return V$(n),new Sg(n,new FT(t,n.a))}function Np(n){this.a=new wn,this.e=_f(nYN,nhJ,48,n,0,2)}function Nv(n,t,e,i){this.a=n,this.e=t,this.d=e,this.c=i}function Nm(n,t,e,i){this.a=n,this.c=t,this.b=e,this.d=i}function Ny(n,t,e,i){this.c=n,this.b=t,this.a=e,this.d=i}function Nk(n,t,e,i){this.c=n,this.b=t,this.d=e,this.a=i}function Nj(n,t,e,i){this.c=n,this.d=t,this.b=e,this.a=i}function NE(n,t,e,i){this.a=n,this.d=t,this.c=e,this.b=i}function NT(n,t,e,i){vl.call(this,n,t),this.a=e,this.b=i}function NM(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function NS(n,t,e){var i;return i=nsF(n),t.Kh(e,i)}function NP(n,t){var e,i;return i=LU(e=n/t),e>i&&++i,i}function NI(n){var t;return B1(t=new wr,n),t}function NC(n){var t;return ntH(t=new wr,n),t}function NO(n){var t,e;return(t=Ti(e=ntP(n,(nhu(),nDE)),160)?function n(t){var e,i,r;return(i=t.zg())?Ti(e=t.Ug(),160)&&null!=(r=n(Im(e,160)))?r+"."+i:i:null}(Im(e,160)):null)?t:null}function NA(n){return n.b||(n.b=new An(nC$,n,12,3)),n.b}function N$(n,t,e){e.a?qf(n,t.b-n.f/2):qh(n,t.a-n.g/2)}function NN(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function NL(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function ND(n,t,e,i){this.e=n,this.a=t,this.c=e,this.d=i}function Nx(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function NR(n,t,e,i){Ex(),Fr.call(this,t,e,i),this.a=n}function NK(n,t,e,i){Ex(),Fr.call(this,t,e,i),this.a=n}function NF(n,t){this.a=n,Sw.call(this,n,Im(n.d,15).Zc(t))}function N_(n){this.f=n,this.c=this.f.e,n.f>0&&nno(this)}function NH(n,t,e,i){this.b=n,this.c=i,jL.call(this,t,e)}function NB(n){return MK(n.b0?(nTv.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in Error()),n=new w,nTR=t?new j:n}function Lm(n,t){var e;return e=pb(n.gm),null==t?e:e+": "+t}function Ly(n,t){var e;return Kt(e=n.b.Qc(t),n.b.gc()),e}function Lk(n,t){if(null==n)throw new gv(t).e;return n}function Lj(n,t){var e,i;return X8(n,t,(e=null==t?0:n.b.se(t),null==(i=n.a.get(e))?[]:i))}function LE(n,t,e,i,r,c,a){return new R4(n.e,t,e,i,r,c,a)}function LT(n,t,e,i,r,c){this.a=n,qY.call(this,t,e,i,r,c)}function LM(n,t,e,i,r,c){this.a=n,qY.call(this,t,e,i,r,c)}function LS(n,t){this.g=n,this.d=Um(Dg(nPV,1),nw9,10,0,[t])}function LP(n,t){this.e=n,this.a=nEX,this.b=naE(t),this.c=t}function LI(n,t){SY.call(this),B_(this),this.a=n,this.c=t}function LC(n,t,e,i){$t(n.c[t.g],e.g,i),$t(n.c[e.g],t.g,i)}function LO(n,t,e,i){$t(n.c[t.g],t.g,e),$t(n.b[t.g],t.g,i)}function LA(n,t,e,i){return e>=0?n.jh(t,e,i):n.Sg(null,e,i)}function L$(n){return 0==n.b.b?n.a.$e():IF(n.b)}function LN(n){return jf(n.a)===jf((G9(),nQ4))&&function(n){var t,e,i,r,c,a,u,o,s,h;for(o=0,t=new uu,e=new uu,s=Pv(njb,(r=nus(n.b,njw))?Sh(Q_((r.b||(r.b=new M2((nhl(),nQQ),nQE,r)),r.b),njd)):null);o=0?n.sh(i,e):nr2(n,t,e)}function LJ(n,t,e){Dl(),n&&$J(nVV,n,t),n&&$J(nVW,n,e)}function LY(n,t,e){this.i=new wn,this.b=n,this.g=t,this.a=e}function LZ(n,t,e){this.c=new wn,this.e=n,this.f=t,this.b=e}function L1(n,t,e){this.a=new wn,this.e=n,this.f=t,this.c=e}function L0(n,t){E6(this),this.f=t,this.g=n,Nz(this),this._d()}function L2(n,t){var e;e=n.q.getHours(),n.q.setDate(t),nu3(n,e)}function L3(n,t){var e;for(A1(t),e=n.a;e;e=e.c)t.Od(e.g,e.i)}function L4(n){var t;return Xe(t=new pS(Bv(n.length)),n),t}function L5(n,t){var e,i,r,c;if(null==t)throw(new wS).e;return e=t,r=n.a,e=String(e),r.hasOwnProperty(e)&&(i=r[e]),(c=(UF(),nTq)[typeof i])?c(i):Wu(typeof i)}function L6(n){return n.Db>>16!=3?null:Im(n.Cb,33)}function L8(n){return n.Db>>16!=9?null:Im(n.Cb,33)}function L9(n){return n.Db>>16!=6?null:Im(n.Cb,79)}function L7(n){return n.Db>>16!=7?null:Im(n.Cb,235)}function Dn(n){return n.Db>>16!=7?null:Im(n.Cb,160)}function Dt(n){return n.Db>>16!=11?null:Im(n.Cb,33)}function De(n,t){var e;return(e=n.Yg(t))>=0?n.lh(e):niE(n,t)}function Di(n,t){var e;return nty(e=new CC(t),n),new PH(e)}function Dr(n){var t;return t=n.d,t=n.si(n.f),_P(n,t),t.Ob()}function Dc(n,t){return n.b+=t.b,n.c+=t.c,n.d+=t.d,n.a+=t.a,n}function Da(n,t){return nTv.Math.abs(n)>16!=3?null:Im(n.Cb,147)}function Dw(n){return n.Db>>16!=6?null:Im(n.Cb,235)}function Dd(n){return n.Db>>16!=17?null:Im(n.Cb,26)}function Dg(n,t){var e=n.a=n.a||[];return e[t]||(e[t]=n.le(t))}function Dp(n,t,e){return null==t?neQ(n.f,null,e):VH(n.g,t,e)}function Dv(n,t,e,i,r,c){return new HE(n.e,t,n.aj(),e,i,r,c)}function Dm(n,t,e){return n.a=MT(n.a,0,t)+""+e+jm(n.a,t),n}function Dy(n){return Tz(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function Dk(n){return Tz(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function Dj(n,t){n.d&&Hh(n.d.e,n),n.d=t,n.d&&IE(n.d.e,n)}function DE(n,t){n.c&&Hh(n.c.g,n),n.c=t,n.c&&IE(n.c.g,n)}function DT(n,t){n.c&&Hh(n.c.a,n),n.c=t,n.c&&IE(n.c.a,n)}function DM(n,t){n.i&&Hh(n.i.j,n),n.i=t,n.i&&IE(n.i.j,n)}function DS(n,t,e){this.a=t,this.c=n,this.b=(A1(e),new PH(e))}function DP(n,t,e){this.a=t,this.c=n,this.b=(A1(e),new PH(e))}function DI(n,t){this.a=n,this.c=E1(this.a),this.b=new Lf(t)}function DC(n,t){if(n<0||n>t)throw new gu(nlG+n+nlz+t).e}function DO(n,t){return C7(n.a,t)?Ap(n,Im(t,22).g,null):null}function DA(){DA=C,nT$=X7((dY(),Um(Dg(nE3,1),nfh,538,0,[nTA])))}function D$(){D$=C,nHc=Ob(new Rf,(ntI(),nAm),(nhs(),n$V))}function DN(){DN=C,nHa=Ob(new Rf,(ntI(),nAm),(nhs(),n$V))}function DL(){DL=C,nHo=Ob(new Rf,(ntI(),nAm),(nhs(),n$V))}function DD(){DD=C,nHS=Cg(new Rf,(ntI(),nAm),(nhs(),n$k))}function Dx(){Dx=C,nHO=Cg(new Rf,(ntI(),nAm),(nhs(),n$k))}function DR(){DR=C,nHA=Cg(new Rf,(ntI(),nAm),(nhs(),n$k))}function DK(){DK=C,nHK=Cg(new Rf,(ntI(),nAm),(nhs(),n$k))}function DF(){DF=C,nB3=Ob(new Rf,(ZD(),nBr),(neO(),nBa))}function D_(n,t,e,i){this.c=n,this.d=i,Dq(this,t),DG(this,e)}function DH(n){this.c=new vK,this.b=n.b,this.d=n.c,this.a=n.a}function DB(n){this.a=nTv.Math.cos(n),this.b=nTv.Math.sin(n)}function Dq(n,t){n.a&&Hh(n.a.k,n),n.a=t,n.a&&IE(n.a.k,n)}function DG(n,t){n.b&&Hh(n.b.f,n),n.b=t,n.b&&IE(n.b.f,n)}function Dz(n,t){var e,i;e=n.b,i=n.c,Im(e.b,65),BR(e.a,new Ii(n,i,e)),Im(n.b.b,65),t&&Im(t.b,65).b}function DU(n,t){Ti(n.Cb,88)&&ne2(KJ(Im(n.Cb,88)),4),GF(n,t)}function DX(n,t){Ti(n.Cb,179)&&(Im(n.Cb,179).tb=null),GF(n,t)}function DW(n,t){return mp(),Hz(t)?new Cb(t,n):new jr(t,n)}function DV(n){var t;return pg(),B1(t=new wr,n),t}function DQ(n){var t;return pg(),B1(t=new wr,n),t}function DJ(n,t){var e;return e=new $o(n),t.c[t.c.length]=e,e}function DY(n,t){var e;return(e=Im(WK(NY(n.a),t),14))?e.gc():0}function DZ(n){return V$(n),NQ(),NQ(),B$(n,nME)}function D1(n){for(var t;;)if(t=n.Pb(),!n.Ob())return t}function D0(n,t){d_.call(this,new vL(Bv(n))),qz(t,nhQ),this.a=t}function D2(n,t,e){W4(t,e,n.gc()),this.c=n,this.a=t,this.b=e-t}function D3(n,t,e){var i;W4(t,e,n.c.length),i=e-t,pR(n.c,t,i)}function D4(n,t){if(n<0||n>=t)throw new gu(nlG+n+nlz+t).e}function D5(n,t){if(n<0||n>=t)throw new gV(nlG+n+nlz+t).e}function D6(n,t){this.b=($D(n),n),this.a=(t&nlu)==0?64|t|nhY:t}function D8(n){var t,e;Ek(this),t=this.a,e=U0(nTv.Math.max(8,n))<<1,t.length=e}function D9(n){return Xt(Um(Dg(nCa,1),nhJ,8,0,[n.i.n,n.n,n.a]))}function D7(n,t,e){var i;(i=new cs).b=t,i.a=e,++t.b,IE(n.d,i)}function xn(n,t){var e,i;return i=Ab(n,t),e=n.a.Zc(i),new vp(n,e)}function xt(n){var t;return n.d==(KY(),nJT)&&(t=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d;if((e=t.Hh(n.a))&&null!=(u=Sh(Q_((e.b||(e.b=new M2((nhl(),nQQ),nQE,e)),e.b),nyV))))switch(r=T2(u,ntd(35)),i=t.Hj(),-1==r?(a=OE(n,BU(i)),c=u):0==r?(a=null,c=u.substr(1)):(a=u.substr(0,r),c=u.substr(r+1)),$H(HC(n,t))){case 2:case 3:return!(!(h=nrC(n,i,o=a,s=c))&&(h=(d=nrR(n.b,o))&&(w=Im(noI(HI(n,d),""),26))?nrC(n,w,o,s):null))||noW(n,i,h)?h:null;case 0:case 4:case 5:case 6:return!(!(b=nrO(n,i,f=a,l=c))&&(b=Vs(n,f,l)))||noW(n,i,b)?b:null}return null}(n.g,n.b),n.d=t),n.d}function xe(n){return MK(n.a0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function x_(n){return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function xH(n){return Cp(n.e.Hd().gc()*n.c.Hd().gc(),16,new s4(n))}function xB(n){return Im(JD(n,_f(nPU,nw8,17,n.c.length,0,1)),474)}function xq(n){return Im(JD(n,_f(nPV,nw9,10,n.c.length,0,1)),193)}function xG(n,t,e){A1(n),function(n){var t,e,i;for(NV(),E_(n.c,n.a),i=new h1(n.c);i.anvN?E_(s,t.b):r<=nvN&&r>nvL?E_(s,t.d):r<=nvL&&r>nvD?E_(s,t.c):r<=nvD&&E_(s,t.a),a=n(t,s,a);return c}(n,e,0)}function xW(n,t,e,i){var r;(r=new al).a=t,r.b=e,r.c=i,I2(n.a,r)}function xV(n,t,e,i){var r;(r=new al).a=t,r.b=e,r.c=i,I2(n.b,r)}function xQ(n){var t,e;return e=function n(t,e){var i,r,c,a,u,o,s,h;if(!e)return null;if(i=(a=e.Tg())?BU(a).Nh().Jh(a):null){for(JR(t,e,i),s=0,h=(null==(c=e.Tg()).i&&nuq(c),c.i).length;s=0&&s1||-1==u?(a=Im(o,15),c.Wb(function(t,e){var i,r,c;for(r=new Fq(e.gc()),i=e.Kc();i.Ob();)(c=n(t,Im(i.Pb(),56)))&&(r.c[r.c.length]=c);return r}(t,a))):c.Wb(n(t,Im(o,56))))}(t,u,e,i));e.kh()&&Im(i,49).vh(Im(e,49).qh())}return i}(t=new AX,n),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(f=new $P(new h7(n));f.b!=f.c.a.d;)for(d=0,u=Im((h=_M(f)).d,56),t=Im(h.e,56),y=(null==(a=u.Tg()).i&&nuq(a),a.i).length;d=0&&d1||-1==b){if(f=Im(w,69),l=Im(h,69),f.dc())l.$b();else for(a=!!YI(t),c=0,u=n.a?f.Kc():f.Zh();u.Ob();)s=Im(u.Pb(),56),(r=Im(HX(n,s),56))?(a?-1==(o=l.Xc(r))?l.Xh(c,r):c!=o&&l.ji(c,r):l.Xh(c,r),++c):n.b&&!a&&(l.Xh(c,s),++c)}else null==w?h.Wb(null):null==(r=HX(n,w))?n.b&&!YI(t)&&h.Wb(w):h.Wb(r)}}(n,o,u,t);else if(mp(),Im(s,66).Oj()&&(e=Im(s?Im(t,49).xh(s):null,153)))for(g=0,b=Im(u.ah(s),153),i=e.gc(),w=b.gc();g=t)throw new gu(function(n,t){if(n<0)return naT(nhO,Um(Dg(nEX,1),nhA,1,5,["index",Va(n)]));if(t<0)throw new gd(nh$+t).e;return naT("%s (%s) must be less than size (%s)",Um(Dg(nEX,1),nhA,1,5,["index",Va(n),Va(t)]))}(n,t)).e;return n}function x0(n,t,e){if(n<0||te){var i,r,c;throw new gu((i=n,r=t,c=e,i<0||i>c?neX(i,c,"start index"):r<0||r>c?neX(r,c,"end index"):naT("end index (%s) must not be less than start index (%s)",Um(Dg(nEX,1),nhA,1,5,[Va(r),Va(i)])))).e}}function x2(n,t){if(Av(n.a,t),t.d)throw new d7(nlJ).e;t.d=n}function x3(n,t){if(t.$modCount!=n.$modCount)throw(new wI).e}function x4(n,t){return!!Ti(t,42)&&Y4(n.a,Im(t,42))}function x5(n,t){return!!Ti(t,42)&&Y4(n.a,Im(t,42))}function x6(n,t){return!!Ti(t,42)&&Y4(n.a,Im(t,42))}function x8(n){return j4(n)?-0==n?0:n:function(n){if(0>nnn(n,(HD(),nTW))){var t;return-((t=Uq(n)).l+t.m*nf8+t.h*nf9)}return n.l+n.m*nf8+n.h*nf9}(n)}function x9(n){var t;return $R(n),t=new F,pC(n.a,new fl(t)),t}function x7(n){var t;return $R(n),t=new K,pC(n.a,new ff(t)),t}function Rn(n,t){this.a=n,h$.call(this,n),DC(t,n.gc()),this.b=t}function Rt(n){this.e=n,this.b=this.e.a.entries(),this.a=[]}function Re(n){return new Fq((qz(n,nfl),Bp(VK(VK(5,n),n/10|0))))}function Ri(n){return Im(JD(n,_f(nPY,nw7,11,n.c.length,0,1)),1943)}function Rr(n,t){(function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;if(v=0,0==t.f.b)for(g=new h1(n);g.a0}function RP(n){return MK(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function RI(n,t){$D(t),$t(n.a,n.c,t),n.c=n.c+1&n.a.length-1,Zy(n)}function RC(n,t){$D(t),n.b=n.b-1&n.a.length-1,$t(n.a,n.b,t),Zy(n)}function RO(n,t){var e;for(e=n.j.c.length;e0&&now(n.g,0,t,0,n.i),t}function RR(n,t){var e;return mv(),!(e=Im($a(nVZ,n),55))||e.wj(t)}function RK(n){var t;for(t=0;n.Ob();)n.Pb(),t=VK(t,1);return Bp(t)}function RF(n,t){var e;return e=new gW,n.xd(e),e.a+="..",t.yd(e),e.a}function R_(n,t,e){return nuz(n,t,e,Ti(t,99)&&(Im(t,18).Bb&nls)!=0)}function RH(n,t){return n==(ntY(),nAV)&&t==nAV?4:n==nAV||t==nAV?8:32}function RB(n,t){return jf(t)===jf(n)?"(this Map)":null==t?nhL:V7(t)}function Rq(n,t,e){var i;return i=Jo(e),$J(n.b,i,t),$J(n.c,t,e),t}function RG(n,t){var e;for(e=t;e;)MG(n,e.i,e.j),e=Dt(e);return n}function Rz(n,t){var e;return e=Lt(Iy(new Hp(n,t))),CM(new Hp(n,t)),e}function RU(n,t){var e;return mp(),function(n,t){var e;if(null!=t&&!n.c.Yj().wj(t))throw e=Ti(t,56)?Im(t,56).Tg().zb:pb(Xp(t)),new gw(nyn+n.c.ne()+"'s type '"+n.c.Yj().ne()+"' does not permit a value of type '"+e+"'").e}(e=Im(n,66).Mj(),t),e.Ok(t)}function RX(n,t,e){n.i=0,n.e=0,t!=e&&(Xf(n,t,e),Xh(n,t,e))}function RW(n,t){var e;e=n.q.getHours(),n.q.setFullYear(t+nfH),nu3(n,e)}function RV(n,t,e){e=e?e.ee()(e):void 0,n.a[t]=e}function RQ(n){if(n<0)throw new gp("Negative array size: "+n).e}function RJ(n){return n.n||(KJ(n),n.n=new Og(n,nQd,n),Lw(n)),n.n}function RY(n){return MK(n.a0;)i+=n.a[e],e-=e&-e;return i}function KO(n,t){var e;for(e=t;e;)MG(n,-e.i,-e.j),e=Dt(e);return n}function KA(n,t){var e,i;for($D(t),i=n.Kc();i.Ob();)e=i.Pb(),t.td(e)}function K$(n,t){var e;return new vw(e=t.cd(),n.e.pc(e,Im(t.dd(),14)))}function KN(n,t,e,i){var r;(r=new A).c=t,r.b=e,r.a=i,i.b=e.a=r,++n.b}function KL(n,t,e){var i;return D4(t,n.c.length),i=n.c[t],n.c[t]=e,i}function KD(n){return n.c&&n.d?xh(n.c)+"->"+xh(n.d):"e_"+T9(n)}function Kx(n,t){return(V$(n),pL(new CN(n,new _Y(t,n.a)))).sd(nM5)}function KR(n){return!!n.c&&!!n.d&&!!n.c.i&&n.c.i==n.d.i}function KK(n){if(!n.c.Sb())throw(new wO).e;return n.a=!0,n.c.Ub()}function KF(n){n.i=0,mA(n.b,null),mA(n.c,null),n.a=null,n.e=null,++n.g}function K_(n){mS.call(this,null==n?nhL:V7(n),Ti(n,78)?Im(n,78):null)}function KH(n){nhi(),this.b=new g$,this.a=new vK,XP(this,n),I2(this.a,n)}function KB(){Ey(this),this.b=new kp(nlc,nlc),this.a=new kp(nla,nla)}function Kq(n,t){this.c=0,this.b=t,jN.call(this,n,17493),this.a=this.c}function KG(n){Kz(),nMB||(this.c=n,this.e=!0,this.a=new wn)}function Kz(){Kz=C,nMB=!0,nM_=!1,nMH=!1,nMG=!1,nMq=!1}function KU(n,t){return!!Ti(t,149)&&Pv(n.c,Im(t,149).c)}function KX(n,t){var e;return e=0,n&&(e+=n.f.a/2),t&&(e+=t.f.a/2),e}function KW(n,t){return Im(HX(n.d,t),23)||Im(HX(n.e,t),23)}function KV(n){this.b=n,Td.call(this,n),this.a=Im(zF(this.b.a,4),126)}function KQ(n){this.b=n,Mm.call(this,n),this.a=Im(zF(this.b.a,4),126)}function KJ(n){return n.t||(n.t=new bz(n),Vf(new gf(n),0,n.t)),n.t}function KY(){KY=C,pg(),nJE=new wN,nJT=new dT}function KZ(n){var t;return!n.c&&Ti(t=n.r,88)&&(n.c=Im(t,26)),n.c}function K1(n){return Ez(n&nf4,n>>22&nf4,n<0?nf5:0)}function K0(n,t){var e;return!!(e=XS(n,t.cd()))&&$5(e.e,t.dd())}function K2(n,t){return 0==t||0==n.e?n:t>0?Q1(n,t):ncN(n,-t)}function K3(n,t){return 0==t||0==n.e?n:t>0?ncN(n,t):Q1(n,-t)}function K4(n){if(nrc(n))return n.c=n.a,n.a.Pb();throw(new wO).e}function K5(n){var t,e;return t=n.c.i,e=n.d.i,t.k==(ntY(),nAU)&&e.k==nAU}function K6(n){var t;return z5(t=new Ls,n),UU(t,(ns8(),nKV),null),t}function K8(n,t,e){var i;return(i=n.Yg(t))>=0?n._g(i,e,!0):niO(n,t,e)}function K9(n,t,e,i){var r;for(r=0;rt)throw new gu(neX(n,t,"index")).e;return n}function Fp(n,t,e,i){var r;return function(n,t,e,i,r){var c,a;for(a=0,c=0;a=0,"Initial capacity must not be negative")}function FG(){FG=C,nSJ=X7((BH(),Um(Dg(nSf,1),nfh,232,0,[nSW,nSV,nSQ])))}function Fz(){Fz=C,nS0=X7((_1(),Um(Dg(nSw,1),nfh,461,0,[nSZ,nSY,nS1])))}function FU(){FU=C,nS5=X7((H$(),Um(Dg(nSg,1),nfh,462,0,[nS4,nS3,nS2])))}function FX(){FX=C,nM4=X7((XW(),Um(Dg(nMz,1),nfh,132,0,[nM0,nM2,nM3])))}function FW(){FW=C,nAf=X7((HA(),Um(Dg(nPK,1),nfh,379,0,[nAs,nAo,nAh])))}function FV(){FV=C,nAH=X7((W3(),Um(Dg(nPz,1),nfh,423,0,[nA_,nAF,nAK])))}function FQ(){FQ=C,nNZ=X7((q5(),Um(Dg(nIn,1),nfh,314,0,[nNJ,nNQ,nNY])))}function FJ(){FJ=C,nN3=X7((q_(),Um(Dg(nIt,1),nfh,337,0,[nN1,nN2,nN0])))}function FY(){FY=C,nLa=X7((UK(),Um(Dg(nIr,1),nfh,450,0,[nLr,nLi,nLc])))}function FZ(){FZ=C,nNC=X7((GL(),Um(Dg(nP6,1),nfh,361,0,[nNI,nNP,nNS])))}function F1(){F1=C,nLV=X7((HN(),Um(Dg(nIf,1),nfh,303,0,[nLX,nLW,nLU])))}function F0(){F0=C,nLz=X7((z0(),Um(Dg(nIh,1),nfh,292,0,[nLq,nLG,nLB])))}function F2(){F2=C,n_v=X7((Wf(),Um(Dg(nId,1),nfh,378,0,[n_d,n_g,n_p])))}function F3(){F3=C,n_Z=X7((zp(),Um(Dg(nIj,1),nfh,375,0,[n_Q,n_J,n_Y])))}function F4(){F4=C,n_B=X7((U1(),Um(Dg(nIm,1),nfh,339,0,[n__,n_F,n_H])))}function F5(){F5=C,n_V=X7((qF(),Um(Dg(nIk,1),nfh,452,0,[n_W,n_U,n_X])))}function F6(){F6=C,nHr=X7((UE(),Um(Dg(nIS,1),nfh,377,0,[nHe,nHi,nHt])))}function F8(){F8=C,n_6=X7((XJ(),Um(Dg(nIT,1),nfh,336,0,[n_3,n_4,n_5])))}function F9(){F9=C,nHn=X7((G7(),Um(Dg(nIM,1),nfh,338,0,[n_7,n_8,n_9])))}function F7(){F7=C,nHm=X7((qH(),Um(Dg(nIC,1),nfh,454,0,[nHg,nHp,nHv])))}function _n(){_n=C,nqr=X7((V0(),Um(Dg(nIW,1),nfh,442,0,[nqi,nqt,nqe])))}function _t(){_t=C,nqf=X7((XX(),Um(Dg(nIQ,1),nfh,380,0,[nqo,nqs,nqh])))}function _e(){_e=C,nqQ=X7((VZ(),Um(Dg(nI1,1),nfh,381,0,[nqW,nqV,nqX])))}function _i(){_i=C,nqU=X7((zg(),Um(Dg(nIY,1),nfh,293,0,[nqG,nqz,nqq])))}function _r(){_r=C,nGP=X7((V1(),Um(Dg(nI3,1),nfh,437,0,[nGT,nGM,nGS])))}function _c(){_c=C,nX5=X7((WN(),Um(Dg(nCw,1),nfh,334,0,[nX3,nX2,nX4])))}function _a(){_a=C,nXx=X7((BB(),Um(Dg(nCf,1),nfh,272,0,[nXN,nXL,nXD])))}function _u(n,t){return n.o||(n.o=new _x((nsZ(),nVA),nCq,n,0)),QF(n.o,t)}function _o(n){return n.g||(n.g=new a2),n.g.c||(n.g.c=new bG(n)),n.g.c}function _s(n,t,e){var i,r;if(null!=e)for(i=0;i=r){for(a=1;ae||t=0?n._g(e,!0,!0):niO(n,t,!0)}function _H(){_H=C,nB4=Jd(Jd(mu(new Rf,(ZD(),nBe)),(neO(),nBf)),nBu)}function _B(n){return(A1(n),Ti(n,198))?Im(n,198):new hf(n)}function _q(){var n,t,e,i;_q=C,nzv=new au,nzy=new ao,n=(nha(),nU7),t=nzv,e=nUB,i=nzy,$1(),nzm=new d4(Um(Dg(nE1,1),nh7,42,0,[(Yq(n,t),new vw(n,t)),(Yq(e,i),new vw(e,i))]))}function _G(){_G=C,nqc=new ki("LEAF_NUMBER",0),nqa=new ki("NODE_SIZE",1)}function _z(n){n.a=_f(nYN,nfB,25,n.b+1,15,1),n.c=_f(nYN,nfB,25,n.b,15,1),n.d=0}function _U(n,t){if(null==n.g||t>=n.i)throw new jX(t,n.i).e;return n.g[t]}function _X(n,t,e){if(XH(n,e),null!=e&&!n.wj(e))throw(new wj).e;return e}function _W(n){var t;if(n.Ek())for(t=n.i-1;t>=0;--t)BX(n,t);return Rx(n)}function _V(n,t,e,i){NQ(),i=i||nMj,function n(t,e,i,r,c,a){var u,o,s;if(r-i<7){!function(n,t,e,i){var r,c,a;for(r=t+1;rt&&i.ue(n[c-1],n[c])>0;--c)a=n[c],$t(n,c,n[c-1]),$t(n,c-1,a)}(e,i,r,a);return}if(s=(o=i+c)+((u=r+c)-o>>1),n(e,t,o,s,-c,a),n(e,t,s,u,-c,a),0>=a.ue(t[s-1],t[s])){for(;i=i||t=u.ue(n[t],n[o])?$t(r,c++,n[t++]):$t(r,c++,n[o++])}(t,o,s,u,e,i,r,a)}(n.slice(t,e),n,t,e,-t,i)}function _Q(n,t,e,i,r){return t<0?niO(n,e,i):Im(e,66).Nj().Pj(n,n.yh(),t,i,r)}function _J(n,t){if(t.a)throw new d7(nlJ).e;Av(n.a,t),t.a=n,n.j||(n.j=t)}function _Y(n,t){jL.call(this,t.rd(),-16449&t.qd()),$D(n),this.a=n,this.c=t}function _Z(n,t){var e,i;return i=t/n.c.Hd().gc()|0,e=t%n.c.Hd().gc(),FF(n,i,e)}function _1(){_1=C,nSZ=new mQ(nbp,0),nSY=new mQ(nbw,1),nS1=new mQ(nbv,2)}function _0(){_0=C,nMW=new mP("All",0),nMV=new Ev,nMQ=new EQ,nMJ=new Em}function _2(){_2=C,nMY=X7((_0(),Um(Dg(nMR,1),nfh,297,0,[nMW,nMV,nMQ,nMJ])))}function _3(){_3=C,nAO=X7((Uj(),Um(Dg(nPG,1),nfh,405,0,[nAS,nAC,nAP,nAI])))}function _4(){_4=C,nPM=X7((zZ(),Um(Dg(nSv,1),nfh,406,0,[nPT,nPk,nPj,nPE])))}function _5(){_5=C,nPO=X7((Yr(),Um(Dg(nSm,1),nfh,323,0,[nPP,nPS,nPI,nPC])))}function _6(){_6=C,nC5=X7((Yc(),Um(Dg(nPL,1),nfh,394,0,[nC2,nC0,nC3,nC4])))}function _8(){_8=C,nBc=X7((ZD(),Um(Dg(nIH,1),nfh,393,0,[nBt,nBe,nBi,nBr])))}function _9(){_9=C,nNe=X7((Uy(),Um(Dg(nP2,1),nfh,360,0,[nNt,n$7,nNn,n$9])))}function _7(){_7=C,nqB=X7((Y6(),Um(Dg(nIJ,1),nfh,340,0,[nqH,nqF,nq_,nqK])))}function Hn(){Hn=C,nNd=X7((Uk(),Um(Dg(nP4,1),nfh,411,0,[nNf,nNl,nNb,nNw])))}function Ht(){Ht=C,n_E=X7((Yp(),Um(Dg(nIg,1),nfh,197,0,[n_k,n_j,n_y,n_m])))}function He(){He=C,nVv=X7((XU(),Um(Dg(nCM,1),nfh,396,0,[nVd,nVg,nVw,nVp])))}function Hi(){Hi=C,nWn=X7((ZR(),Um(Dg(nCd,1),nfh,285,0,[nX7,nX6,nX8,nX9])))}function Hr(){Hr=C,nXH=X7((VY(),Um(Dg(nCl,1),nfh,218,0,[nX_,nXK,nXR,nXF])))}function Hc(){Hc=C,nVb=X7((QI(),Um(Dg(nCE,1),nfh,311,0,[nVl,nVs,nVf,nVh])))}function Ha(){Ha=C,nW9=X7((QJ(),Um(Dg(nCk,1),nfh,374,0,[nW6,nW8,nW5,nW4])))}function Hu(){Hu=C,noc(),nJ8=nlc,nJ6=nla,nJ7=new h_(nlc),nJ9=new h_(nla)}function Ho(){Ho=C,nLd=new yS(nwY,0),nLw=new yS("IMPROVE_STRAIGHTNESS",1)}function Hs(n,t){return 10!=HJ(t)&&Um(Xp(t),t.hm,t.__elementTypeId$,HJ(t),n),n}function Hh(n,t){var e;return -1!=(e=Hb(n,t,0))&&(Ff(n,e),!0)}function Hf(n,t){var e;return(e=Im(Fv(n.e,t),387))?(I3(e),e.e):null}function Hl(n){var t;return j4(n)&&!isNaN(t=0-n)?t:zA(Uq(n))}function Hb(n,t,e){for(;e0?(n.f[o.p]=f/(o.e.c.length+o.g.c.length),n.c=nTv.Math.min(n.c,n.f[o.p]),n.b=nTv.Math.max(n.b,n.f[o.p])):a&&(n.f[o.p]=f)}}(n,t,e),0==n.a.c.length||function(n,t){var e,i,r,c,a,u,o,s,h,f,l;for(s=n.e[t.c.p][t.p]+1,o=t.c.a.c.length+1,u=new h1(n.a);u.a=0?Yo(n,e,!0,!0):niO(n,t,!0)}function HH(n,t){var e,i;return v6(),e=RM(n),i=RM(t),!!e&&!!i&&!Yt(e.k,i.k)}function HB(n){(this.q?this.q:(NV(),NV(),nMm)).Ac(n.q?n.q:(NV(),NV(),nMm))}function Hq(n,t,e){var i;return i=n.g[t],Ts(n,t,n.oi(t,e)),n.gi(t,e,i),n.ci(),i}function HG(n,t){var e;return(e=n.Xc(t))>=0&&(n.$c(e),!0)}function Hz(n){var t;return n.d!=n.r&&(t=Z9(n),n.e=!!t&&t.Cj()==nk9,n.d=t),n.e}function HU(n,t){var e;for(A1(n),A1(t),e=!1;t.Ob();)e|=n.Fc(t.Pb());return e}function HX(n,t){var e;return(e=Im($a(n.e,t),387))?(Tr(n,e),e.e):null}function HW(n){var t,e;return(t=n/60|0,0==(e=n%60))?""+t:""+t+":"+e}function HV(n,t){var e;return V$(n),e=new PP(new FM(t,n.a)),new CN(n,e)}function HQ(n,t){var e=n.a[t],i=(UF(),nTq)[typeof e];return i?i(e):Wu(typeof e)}function HJ(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function HY(n){var t;return null!=(t=0==n.b.c.length?null:CA(n.b,0))&&Gy(n,0),t}function HZ(n,t){for(;t[0]=0;)++t[0]}function H1(n,t){this.e=t,this.a=z8(n),this.a<54?this.f=x8(n):this.c=JK(n)}function H0(n,t,e,i){nhh(),b8.call(this,26),this.c=n,this.a=t,this.d=e,this.b=i}function H2(n,t,e){var i,r;for(r=0,i=10;rt.d&&(o=t,t=e,e=o),e.d<63)?function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;return(u=(i=n.d)+(c=t.d),o=n.e!=t.e?-1:1,2==u)?(l=CZ(h=VF(xi(n.a[0],nlw),xi(t.a[0],nlw))),0==(f=CZ(OF(h,32)))?new F_(o,l):new As(o,2,Um(Dg(nYN,1),nfB,25,15,[l,f]))):(e=n.a,r=t.a,b=a=_f(nYN,nfB,25,u,15,1),0!=i&&0!=c&&(1==i?b[c]=Ym(b,r,c,e[0]):1==c?b[i]=Ym(b,e,i,r[0]):function(n,t,e,i,r){var c,a,u,o;if(jf(n)===jf(t)&&i==r){nuu(n,i,e);return}for(u=0;u0?nhM:0>WM(n,nfp)?nfp:CZ(n)}function Bv(n){return n<3?(qz(n,nfu),n+1):n=0&&t=-.01&&n.a<=nbE&&(n.a=0),n.b>=-.01&&n.b<=nbE&&(n.b=0),n}function Bj(n,t){return t==(Pz(),Pz(),nMC)?n.toLocaleLowerCase():n.toLowerCase()}function BE(n){return((2&n.i)!=0?"interface ":(1&n.i)!=0?"":"class ")+(Su(n),n.o)}function BT(n){var t;t=new dS,_P((n.q||(n.q=new An(nQg,n,11,10)),n.q),t)}function BM(n){this.g=n,this.f=new wn,this.a=nTv.Math.min(this.g.c.c,this.g.d.c)}function BS(n){this.b=new wn,this.a=new wn,this.c=new wn,this.d=new wn,this.e=n}function BP(n,t){this.a=new wt,this.e=new wt,this.b=(Wf(),n_p),this.c=n,this.b=t}function BI(n,t,e){SY.call(this),B_(this),this.a=n,this.c=e,this.b=t.d,this.f=t.e}function BC(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=(dY(),nTA)}function BO(n){if(n<0)throw new gd("Illegal Capacity: "+n).e;this.g=this.ri(n)}function BA(n){var t;MR(!!n.c),t=n.c.a,BK(n.d,n.c),n.b==n.c?n.b=t:--n.a,n.c=null}function B$(n,t){var e;return V$(n),e=new NH(n,n.a.rd(),4|n.a.qd(),t),new CN(n,e)}function BN(n,t){var e;for(e=n.Kc();e.Ob();)UU(Im(e.Pb(),70),(nhu(),nDd),t)}function BL(n,t,e,i,r,c){var a;DE(a=K6(i),r),Dj(a,c),niP(n.a,i,new P1(a,t,e.f))}function BD(n,t){var e;if(!(e=ncp(n.Tg(),t)))throw new gd(nyn+t+nyi).e;return e}function Bx(n,t){var e;for(e=n;Dt(e);)if((e=Dt(e))==t)return!0;return!1}function BR(n,t){var e,i,r,c;for($D(t),i=n.c,r=0,c=i.length;r>16!=6?null:Im(ni9(n),235))&&!t.kh()&&(n.w=t),t)}function BX(n,t){if(null==n.g||t>=n.i)throw new jX(t,n.i).e;return n.li(t,n.g[t])}function BW(n,t){var e,i,r,c;for(i=n.d,r=0,c=i.length;r=14&&t<=16)),n}function BY(n,t,e){var i=function(){return n.apply(i,arguments)};return t.apply(i,e),i}function BZ(n,t,e){var i,r;i=t;do r=gy(n.p[i.p])+e,n.p[i.p]=r,i=n.a[i.p];while(i!=t)}function B1(n,t){var e,i,r,c,a;i=n.a,r=null,a=n.a,n.a=t,(4&n.Db)!=0&&(1&n.Db)==0&&(c=new O9(n,1,5,a,n.a),r?nnQ(r,c):r=c),e=r,i==t||n.e||(e=nsg(n,t,e)),e&&e.Fi()}function B0(n,t){return ED(),qR(nfg),nTv.Math.abs(n-t)<=nfg||n==t||isNaN(n)&&isNaN(t)}function B2(n,t){return ED(),qR(nfg),nTv.Math.abs(n-t)<=nfg||n==t||isNaN(n)&&isNaN(t)}function B3(n,t){var e;return(e=G1(n,t,CZ(VF(nfr,$4(CZ(VF(null==t?0:Xg(t),nfc)),15)))))?e.i:null}function B4(){B4=C,nAJ=X7((ntY(),Um(Dg(nPQ,1),nfh,267,0,[nAV,nAW,nAU,nAQ,nAX,nAz])))}function B5(){B5=C,nUn=X7((nnF(),Um(Dg(nCs,1),nfh,291,0,[nz7,nz9,nz8,nz5,nz4,nz6])))}function B6(){B6=C,nzz=X7((Yv(),Um(Dg(nCo,1),nfh,248,0,[nzF,nzB,nzq,nzG,nz_,nzH])))}function B8(){B8=C,nNU=X7((neC(),Um(Dg(nP9,1),nfh,227,0,[nNB,nNG,nNH,nNq,nNz,nN_])))}function B9(){B9=C,nLO=X7((ntW(),Um(Dg(nIo,1),nfh,275,0,[nLI,nLM,nLC,nLP,nLS,nLT])))}function B7(){B7=C,nLE=X7((nnS(),Um(Dg(nIu,1),nfh,274,0,[nLy,nLm,nLj,nLv,nLk,nLp])))}function qn(){qn=C,n_w=X7((ntt(),Um(Dg(nIw,1),nfh,313,0,[n_l,n_h,n_o,n_s,n_b,n_f])))}function qt(){qt=C,nLb=X7((nt0(),Um(Dg(nIc,1),nfh,276,0,[nLo,nLu,nLh,nLs,nLl,nLf])))}function qe(){qe=C,nBl=X7((neO(),Um(Dg(nIG,1),nfh,327,0,[nBf,nBu,nBs,nBo,nBh,nBa])))}function qi(){qi=C,nWO=X7((nis(),Um(Dg(nCm,1),nfh,273,0,[nWI,nWS,nWP,nWM,nWT,nWC])))}function qr(){qr=C,nXW=X7((ntg(),Um(Dg(nCb,1),nfh,312,0,[nXU,nXG,nXX,nXB,nXz,nXq])))}function qc(n,t){var e;e=n.a,n.a=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,0,e,n.a))}function qa(n,t){var e;e=n.b,n.b=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,1,e,n.b))}function qu(n,t){var e;e=n.b,n.b=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,3,e,n.b))}function qo(n,t){var e;e=n.f,n.f=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,3,e,n.f))}function qs(n,t){var e;e=n.g,n.g=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,4,e,n.g))}function qh(n,t){var e;e=n.i,n.i=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,5,e,n.i))}function qf(n,t){var e;e=n.j,n.j=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,6,e,n.j))}function ql(n,t){var e;e=n.j,n.j=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,1,e,n.j))}function qb(n,t){var e;e=n.c,n.c=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,4,e,n.c))}function qw(n,t){var e;e=n.k,n.k=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,2,e,n.k))}function qd(n,t){var e;e=n.d,n.d=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R3(n,2,e,n.d))}function qg(n,t){var e;e=n.s,n.s=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R3(n,4,e,n.s))}function qp(n,t){var e;e=n.t,n.t=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R3(n,5,e,n.t))}function qv(n,t){var e;e=n.F,n.F=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,5,e,t))}function qm(n,t){var e;return(e=Im($a((mv(),nVZ),n),55))?e.xj(t):_f(nEX,nhA,1,t,5,1)}function qy(n,t){var e;return t in n.a&&(e=L5(n,t).he())?e.a:null}function qk(n,t,e){if(XH(n,e),!n.Bk()&&null!=e&&!n.wj(e))throw(new wj).e;return e}function qj(n,t){return n.n=t,n.n?(n.f=new wn,n.e=new wn):(n.f=null,n.e=null),n}function qE(n,t,e,i,r,c){var a;return qA(e,a=AZ(n,t)),a.i=r?8:0,a.f=i,a.e=r,a.g=c,a}function qT(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=e}function qM(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=e}function qS(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=e}function qP(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=e}function qI(n,t,e,i,r){this.d=t,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=e}function qC(n,t){var e,i,r;for(i=0,r=t.length;i=0),0>(t=n.d,e=n.c,(r=t.a.length-1,i=e-t.b&r,c=t.c-e&r,MD(i<(t.c-t.b&r)),i>=c)?(function(n,t){var e,i;for(e=n.a.length-1,n.c=n.c-1&e;t!=n.c;)i=t+1&e,$t(n.a,t,n.a[i]),t=i;$t(n.a,n.c,null)}(t,e),-1):(function(n,t){var e,i;for(e=n.a.length-1;t!=n.b;)i=t-1&e,$t(n.a,t,n.a[i]),t=i;$t(n.a,n.b,null),n.b=n.b+1&e}(t,e),1))&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function qx(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(n.c||(n.c=Wa(n.f)),n.c).e}function qR(n){if(!(n>=0))throw new gd("tolerance ("+n+") must be >= 0").e;return n}function qK(){return!nzk&&XA(nzk=new naj,Um(Dg(nSa,1),nhA,130,0,[new sW])),nzk}function qF(){qF=C,n_W=new yH(nbj,0),n_U=new yH("INPUT",1),n_X=new yH("OUTPUT",2)}function q_(){q_=C,nN1=new yk("ARD",0),nN2=new yk("MSD",1),nN0=new yk("MANUAL",2)}function qH(){qH=C,nHg=new yX("BARYCENTER",0),nHp=new yX(ndd,1),nHv=new yX(ndg,2)}function qB(n,t){var e;if(e=n.gc(),t<0||t>e)throw new Pt(t,e).e;return new PS(n,t)}function qq(n,t){var e;return Ti(t,42)?n.c.Mc(t):(e=QF(n,t),Ja(n,t),e)}function qG(n,t,e){return Ww(n,t),GF(n,e),qg(n,0),qp(n,1),Vi(n,!0),Vn(n,!0),n}function qz(n,t){if(n<0)throw new gd(t+" cannot be negative but was: "+n).e;return n}function qU(n,t){var e,i;for(e=0,i=n.gc();e0&&n.c0&&0!=n.g&&Gu(n.i,t/n.r*n.i.d))}function Go(n,t){return ncx(n.e,t)?(mp(),Hz(t)?new Cb(t,n):new jr(t,n)):new ju(t,n)}function Gs(n,t){var e;return(e=G0(n.a,t,CZ(VF(nfr,$4(CZ(VF(null==t?0:Xg(t),nfc)),15)))))?e.g:null}function Gh(n){var t;return(t=U0(n=nTv.Math.max(n,2)),n>t)?(t<<=1)>0?t:nfo:t}function Gf(n){switch(TG(3!=n.e),n.e){case 2:return!1;case 0:return!0}return n.e=3,n.d=n.Yb(),2!=n.e&&(n.e=0,!0)}function Gl(n,t){var e;return!!Ti(t,8)&&(e=Im(t,8),n.a==e.a&&n.b==e.b)}function Gb(n,t,e){var i,r;return r=t>>5,i=31&t,xi(OF(n.n[e][r],CZ(OR(i,1))),3)}function Gw(n,t){var e;e=n.b,n.b=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,21,e,n.b))}function Gd(n,t){var e;e=n.d,n.d=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,11,e,n.d))}function Gg(n,t){var e;e=n.j,n.j=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,13,e,n.j))}function Gp(n,t,e){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?e-1:e,r=qj(IZ(new dH,i),n.n),c=n.j,r.j=c,a=n.k,r.k=a,I2(n.a,r),r.i=n,n.d=t,r)}function ze(n,t,e){this.g=n,this.d=t,this.e=e,this.a=new wn,function(n){var t,e,i,r;for(r=WJ(n.d,n.e).Kc();r.Ob();)for(i=Im(r.Pb(),11),e=new h1(n.e==(nsR(),nWJ)?i.e:i.g);e.a0&&(this.g=this.ri(this.i+(this.i/8|0)+1),n.Qc(this.g))}function zr(n,t){IW.call(this,nQT,n,t),this.b=this,this.a=ncT(n.Tg(),Bm(this.e.Tg(),this.c))}function zc(n,t){var e,i;for($D(t),i=t.vc().Kc();i.Ob();)e=Im(i.Pb(),42),n.zc(e.cd(),e.dd())}function za(n){var t;if(-2==n.b){if(0==n.e)t=-1;else for(t=0;0==n.a[t];t++);n.b=t}return n.b}function zu(n){switch(n.g){case 2:return nsR(),nWJ;case 4:return nsR(),nWA;default:return n}}function zo(n){switch(n.g){case 1:return nsR(),nWV;case 3:return nsR(),nW$;default:return n}}function zs(n,t){var e;return TX(),jw(n)?Fb(n,Sh(t)):jb(n)?O_(n,Ss(t)):jl(n)?(e=So(t),$D(n),$D(e),TX(),n==e?0:n?1:-1):n.wd(t)}function zh(n,t){t.q=n,n.d=nTv.Math.max(n.d,t.r),n.b+=t.d+(0==n.a.c.length?0:n.c),IE(n.a,t)}function zf(n,t){var e,i,r,c;return r=n.c,e=n.c+n.b,c=n.d,i=n.d+n.a,t.a>r&&t.ac&&t.b=0x7fffffffffffffff?(HD(),nTz):(r=!1,t<0&&(r=!0,t=-t),i=0,t>=nf9&&(i=LU(t/nf9),t-=i*nf9),e=0,t>=nf8&&(e=LU(t/nf8),t-=e*nf8),c=Ez(LU(t),e,i),r&&Xn(c),c))}function zx(n,t){var e,i,r;if(null!=(e=n.Jg())&&n.Mg())for(i=0,r=e.length;i1||n.Ob())return++n.a,n.g=0,t=n.i,n.Ob(),t;throw(new wO).e}function zz(n){var t,e,i;return e=0,(i=n)<0&&(i+=nf9,e=nf5),t=LU(i/nf8),Ez(LU(i-t*nf8),t,e)}function zU(n){var t,e,i;for(i=0,e=new vR(n.a);e.a0||!o&&0==l)||e.Fc(r),(h=r.a[1])&&n(t,e,i,h,c,a,u,o))}(n,e=new wn,t,n.b,null,!1,null,!1),this.a=new Rn(e,0)}function zW(n,t){this.b=n,this.e=t,this.d=t.j,this.f=(mp(),Im(n,66).Oj()),this.k=ncT(t.e.Tg(),n)}function zV(n,t,e){this.b=($D(n),n),this.d=($D(t),t),this.e=($D(e),e),this.c=this.d+""+this.e}function zQ(){this.a=Im(JZ((nab(),nO$)),19).a,this.c=gy(Ss(JZ(nOW))),this.b=gy(Ss(JZ(nOG)))}function zJ(){zJ=C,nWh=X7((nrS(),Um(Dg(nCg,1),nfh,93,0,[nWe,nWt,nWr,nWs,nWo,nWu,nWc,nWa,nWi])))}function zY(){zY=C,nSX=X7((nau(),Um(Dg(nSu,1),nfh,250,0,[nSU,nSH,nSB,nS_,nSG,nSz,nSq,nSF,nSK])))}function zZ(){zZ=C,nPT=new mY("UP",0),nPk=new mY(nbC,1),nPj=new mY(nbp,2),nPE=new mY(nbv,3)}function z1(){z1=C,Df(),nBL=new jU(nvs,nBD=nBJ),xL(),nB$=new jU(nvh,nBN=nB0)}function z0(){z0=C,nLq=new yO("ONE_SIDED",0),nLG=new yO("TWO_SIDED",1),nLB=new yO("OFF",2)}function z2(n){n.r=new w_,n.w=new w_,n.t=new wn,n.i=new wn,n.d=new w_,n.a=new Et,n.c=new wt}function z3(n){this.n=new wn,this.e=new vK,this.j=new vK,this.k=new wn,this.f=new wn,this.p=n}function z4(n,t){n.c&&(na8(n,t,!0),vF(new CN(null,new D6(t,16)),new lC(n))),na8(n,t,!1)}function z5(n,t){var e;return t&&((e=t.Ve()).dc()||(n.q?zc(n.q,e):n.q=new jD(e))),n}function z6(n,t){var e;return void 0===(e=n.a.get(t))?++n.d:(function(n,t){n[nlM].call(n,t)}(n.a,t),--n.c,Li(n.b)),e}function z8(n){var t;return 0>WM(n,0)&&(n=ID(n)),64-(0!=(t=CZ(OK(n,32)))?niI(t):niI(CZ(n))+32)}function z9(n){var t;return t=Im(ntP(n,(nhu(),nDr)),61),n.k==(ntY(),nAU)&&(t==(nsR(),nWJ)||t==nWA)}function z7(n,t,e){var i,r,c,a;i=(a=$N(n)).d,r=a.c,c=n.n,t&&(c.a=c.a-i.b-r.a),e&&(c.b=c.b-i.d-r.b)}function Un(n,t,e,i,r){$t(n.c[t.g],e.g,i),$t(n.c[e.g],t.g,i),$t(n.b[t.g],e.g,r),$t(n.b[e.g],t.g,r)}function Ut(n,t,e,i){return 1==e?(n.n||(n.n=new An(nCK,n,1,7)),Ye(n.n,t,i)):ntQ(n,t,e,i)}function Ue(n,t){var e;return GF(e=new uM,t),_P((n.A||(n.A=new Tv(nQm,n,7)),n.A),e),e}function Ui(n){var t;return(!n.a||(1&n.Bb)==0&&n.a.kh())&&Ti(t=Z9(n),148)&&(n.a=Im(t,148)),n.a}function Ur(n,t){var e,i;for($D(t),i=t.Kc();i.Ob();)if(e=i.Pb(),!n.Hc(e))return!1;return!0}function Uc(n,t){var e,i,r;return e=n.l-t.l,i=n.m-t.m+(e>>22),r=n.h-t.h+(i>>22),Ez(e&nf4,i&nf4,r&nf5)}function Ua(n){var t;return n<128?((t=(Cj(),nT1)[n])||(t=nT1[n]=new hF(n)),t):new hF(n)}function Uu(n){var t,e;return Ti(n,78)?n:((t=n&&n.__java$exception)||(e=t=new Wo(n),Lv(),nTR.be(e)),t)}function Uo(n){if(Ti(n,186))return Im(n,118);if(n)return null;throw new gv(nyJ).e}function Us(n,t){if(null==t)return!1;for(;n.a!=n.b;)if(WY(t,Wj(n)))return!0;return!1}function Uh(n){return!!n.a.Ob()||n.a==n.d&&(n.a=new Rt(n.e.f),n.a.Ob())}function Uf(n,t){var e;return 0!=(e=t.Pc()).length&&(IO(n.c,n.c.length,e),!0)}function Ul(n,t){var e;for(e=new h1(n.b);e.a=0,"Negative initial capacity"),IH(t>=0,"Non-positive load factor"),AT(this)}function UH(n,t,e){return!(n>=128)&&(n<64?jv(xi(OR(1,n),e),0):jv(xi(OR(1,n-64),t),0))}function UB(n){var t,e,i;return e=n.n,i=n.o,t=n.d,new Nj(e.a-t.b,e.b-t.d,i.a+(t.b+t.c),i.b+(t.d+t.a))}function Uq(n){var t,e,i;return t=~n.l+1&nf4,e=~n.m+(0==t?1:0)&nf4,i=~n.h+(0==t&&0==e?1:0)&nf5,Ez(t,e,i)}function UG(n,t,e){var i;if(t>(i=n.gc()))throw new Pt(t,i).e;return n.hi()&&(e=Di(n,e)),n.Vh(t,e)}function Uz(n,t,e){return null==e?(n.q||(n.q=new wt),Fv(n.q,t)):(n.q||(n.q=new wt),$J(n.q,t,e)),n}function UU(n,t,e){return null==e?(n.q||(n.q=new wt),Fv(n.q,t)):(n.q||(n.q=new wt),$J(n.q,t,e)),n}function UX(n){var t,e;return z5(e=new Fy,n),UU(e,(GA(),nOY),n),function(n,t,e){var i,r,c,a,u;for(i=0,c=new Td((n.a||(n.a=new An(nCF,n,10,11)),n.a));c.e!=c.i.gc();)r=Im(J1(c),33),a="",0==(r.n||(r.n=new An(nCK,r,1,7)),r.n).i||(a=Im(BX((r.n||(r.n=new An(nCK,r,1,7)),r.n),0),137).a),z5(u=new $s(a),r),UU(u,(GA(),nOY),r),u.b=i++,u.d.a=r.i+r.g/2,u.d.b=r.j+r.f/2,u.e.a=nTv.Math.max(r.g,1),u.e.b=nTv.Math.max(r.f,1),IE(t.e,u),neQ(e.f,r,u),Im(nrM(r,(nab(),nO_)),98),nn2()}(n,e,t=new wt),function(n,t,e){var i,r,c,a,u,o,h,f,l,b;for(o=new Td((n.a||(n.a=new An(nCF,n,10,11)),n.a));o.e!=o.i.gc();)for(r=new OM(Tx(nrZ(u=Im(J1(o),33)).a.Kc(),new s));nrc(r);){if((i=Im(K4(r),79)).b||(i.b=new Ph(nCA,i,4,7)),!(i.b.i<=1&&(i.c||(i.c=new Ph(nCA,i,5,8)),i.c.i<=1)))throw new gC("Graph must not contain hyperedges.").e;if(!ni5(i)&&u!=ntr(Im(BX((i.c||(i.c=new Ph(nCA,i,5,8)),i.c),0),82)))for(z5(h=new SX,i),UU(h,(GA(),nOY),i),l=Im(jh(Lj(e.f,u)),144),h.c=l,b=Im($a(e,ntr(Im(BX((i.c||(i.c=new Ph(nCA,i,5,8)),i.c),0),82))),144),h.d=b,IE(t.c,h),a=new Td((i.n||(i.n=new An(nCK,i,1,7)),i.n));a.e!=a.i.gc();)z5(f=new Kn(h,(c=Im(J1(a),137)).a),c),UU(f,nOY,c),f.e.a=nTv.Math.max(c.g,1),f.e.b=nTv.Math.max(c.f,1),not(f),IE(t.d,f)}}(n,e,t),e}function UW(n,t){var e,i,r,c;for(c=0,e=!1,i=n.a[t].length;cu)}(n.f,e,i)&&(function(n,t,e){var i,r;ntj(n.e,t,e,(nsR(),nWJ)),ntj(n.i,t,e,nWA),n.a&&(r=Im(ntP(t,(nhu(),nDE)),11),i=Im(ntP(e,nDE),11),xw(n.g,r,i))}(n.f,n.a[t][e],n.a[t][i]),a=(c=n.a[t])[i],c[i]=c[e],c[e]=a,r=!0),r}(n,t,c,r);return e}function UV(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)YZ(n,c,a)||naI(n,c,a,!0,!1)}function UQ(n,t){this.b=n,jW.call(this,(Im(BX(N6(($g(),nQO).o),10),18),t.i),t.g),this.a=(G9(),nQ4)}function UJ(n,t){this.c=n,this.d=t,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function UY(){++nEU,this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function UZ(n,t,e){this.q=new nTv.Date,this.q.setFullYear(n+nfH,t,e),this.q.setHours(0,0,0,0),nu3(this,0)}function U1(){U1=C,n__=new yF(nwY,0),n_F=new yF("NODES_AND_EDGES",1),n_H=new yF("PREFER_EDGES",2)}function U0(n){var t;if(n<0)return nfp;if(0==n)return 0;for(t=nfo;(t&n)==0;t>>=1);return t}function U2(n){var t,e;return 32==(e=niI(n.h))?32==(t=niI(n.m))?niI(n.l)+32:t+20-10:e-12}function U3(n){var t;return null==(t=n.a[n.b])?null:($t(n.a,n.b,null),n.b=n.b+1&n.a.length-1,t)}function U4(n){var t,e;return t=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,e=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,t||e}function U5(n,t,e){var i,r;return i=new _g(t,e),r=new B,n.b=function n(t,e,i,r){var c,a;return e?(0==(c=t.a.ue(i.d,e.d))?(r.d=SH(e,i.e),r.b=!0):(a=c<0?0:1,e.a[a]=n(t,e.a[a],i,r),gj(e.a[a])&&(gj(e.a[1-a])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):gj(e.a[a].a[a])?e=Gk(e,1-a):gj(e.a[a].a[1-a])&&(e=xU(e,1-a)))),e):i}(n,n.b,i,r),r.b||++n.c,n.b.b=!1,r.d}function U6(n,t,e){var i,r,c,a;for(a=WJ(t,e),c=0,r=a.Kc();r.Ob();)i=Im(r.Pb(),11),$J(n.c,i,Va(c++))}function U8(n){var t,e;for(e=new h1(n.a.b);e.ae&&(e=n[t]);return e}function Xr(n,t,e){var i;return ncC(n,t,i=new wn,(nsR(),nWA),!0,!1),ncC(n,e,i,nWJ,!1,!1),i}function Xc(n,t,e){var i,r;return r=Ra(t,"labels"),function(n,t,e){var i,r,c,a;if(e)for(r=((i=new OP(e.a.length)).b-i.a)*i.c<0?(my(),nhm):new TA(i);r.Ob();)(c=Ru(e,Im(r.Pb(),19).a))&&(a=function(n,t){var e;return pw(),e=new a0,t&&ncd(e,t),q7(e,n),e}(Rs(c,nyS),t),$J(n.f,a,c),nyF in c.a&&q6(a,Rs(c,nyF)),nti(c,a),ne0(c,a))}((i=new kY(n,e)).a,i.b,r),r}function Xa(n,t){var e;for(e=0;e1||t>=0&&n.b<3)}function Xw(n){var t,e;for(t=new dd,e=Jz(n,0);e.b!=e.d.c;)Mq(t,0,new Ee(Im(RP(e),8)));return t}function Xd(n){var t,e;for(t=new h1(n.a.b);t.a=0&&n[i]===t[i];i--);return i<0?0:0>WM(xi(n[i],nlw),xi(t[i],nlw))?-1:1}function XD(n,t){var e,i;return i=Im(zF(n.a,4),126),e=_f(nCV,nkB,415,t,0,1),null!=i&&now(i,0,e,0,i.length),e}function Xx(n,t){var e;return e=new nas((256&n.f)!=0,n.i,n.a,n.d,(16&n.f)!=0,n.j,n.g,t),null!=n.e||(e.c=n),e}function XR(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)if(YZ(n,c,a))return!0;return!1}function XK(n,t,e){var i,r,c,a;for($D(e),a=!1,c=n.Zc(t),r=e.Kc();r.Ob();)i=r.Pb(),c.Rb(i),a=!0;return a}function XF(n,t,e){var i,r;for(r=e.Kc();r.Ob();)if(i=Im(r.Pb(),42),n.re(t,i.dd()))return!0;return!1}function X_(n,t,e){return n.d[t.p][e.p]||(function(n,t,e){var i,r;if(n.e)switch(n.b){case 1:(i=n.c).i=0,i.e=0,t!=e&&Xh(i,t,e);break;case 0:(r=n.c).i=0,r.e=0,t!=e&&Xf(r,t,e)}else RX(n.c,t,e);n.a[t.p][e.p]=n.c.i,n.a[e.p][t.p]=n.c.e}(n,t,e),n.d[t.p][e.p]=!0,n.d[e.p][t.p]=!0),n.a[t.p][e.p]}function XH(n,t){if(!n.ai()&&null==t)throw new gd("The 'no null' constraint is violated").e;return t}function XB(n,t){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),Ga(n,null==t?null:($D(t),t)),n.C&&n.yk(null)}function Xq(n){switch(n.i){case 2:return!0;case 1:return!1;case -1:++n.c;default:return n.pl()}}function XG(n){switch(n.i){case -2:return!0;case -1:return!1;case 1:--n.c;default:return n.ql()}}function Xz(n){L0.call(this,"The given string does not match the expected format for individual spacings.",n)}function XU(){XU=C,nVd=new kH("ELK",0),nVg=new kH("JSON",1),nVw=new kH("DOT",2),nVp=new kH("SVG",3)}function XX(){XX=C,nqo=new kr(nwY,0),nqs=new kr("RADIAL_COMPACTION",1),nqh=new kr("WEDGE_COMPACTION",2)}function XW(){XW=C,nM0=new mI("CONCURRENT",0),nM2=new mI("IDENTITY_FINISH",1),nM3=new mI("UNORDERED",2)}function XV(){XV=C,vV(),nC7=new jU(nbZ,nOn=nC6),nC9=new bR(nb1),nOt=new bR(nb0),nOe=new bR(nb2)}function XQ(){XQ=C,nNa=new e1,nNu=new e0,nNc=new e2,nNr=new e3,$D(new e4),nNi=new D}function XJ(){XJ=C,n_3=new yG("CONSERVATIVE",0),n_4=new yG("CONSERVATIVE_SOFT",1),n_5=new yG("SLOPPY",2)}function XY(){XY=C,nX1=new ES(15),nXZ=new EM((nha(),nUU),nX1),nX0=nXc,nXV=nUc,nXQ=nUR,nXY=nU_,nXJ=nUF}function XZ(n,t,e){var i,r;for(i=new vK,r=Jz(e,0);r.b!=r.d.c;)I2(i,new Ee(Im(RP(r),8)));XK(n,t,i)}function X1(n){var t,e;return(n.a||(n.a=new An(nQw,n,9,5)),0!=(t=n.a).i)?(e=Im(BX(t,0),678)).b?e.b:e.a:null}function X0(n,t){var e,i;if(0!=(i=n.c[t]))for(n.c[t]=0,n.d-=i,e=t+1;e0)return OW(t-1,n.a.c.length),Ff(n.a,t-1);throw(new wC).e}function X3(n,t,e){if(n>t)throw new gd(nlH+n+nlB+t).e;if(n<0||t>e)throw new gq(nlH+n+nlq+t+nl$+e).e}function X4(n){if(!n.a||(8&n.a.i)==0)throw new gg("Enumeration class expected for layout option "+n.f).e}function X5(n){var t;++n.j,0==n.i?n.g=null:n.invt?n-e>nvt:e-n>nvt)}function Wr(n,t){return!n||t&&!n.j||Ti(n,124)&&0==Im(n,124).a.b?0:n.Re()}function Wc(n,t){return!n||t&&!n.k||Ti(n,124)&&0==Im(n,124).a.a?0:n.Se()}function Wa(n){return(nc4(),n<0)?-1!=n?new Yn(-1,-n):nMo:n<=10?nMh[LU(n)]:new Yn(1,n)}function Wu(n){throw UF(),new gn("Unexpected typeof result '"+n+"'; please report this bug to the GWT team").e}function Wo(n){gL(),E6(this),Nz(this),this.e=n,nc$(this,n),this.g=null==n?nhL:V7(n),this.a="",this.b=n,this.a=""}function Ws(){this.a=new c4,this.f=new l0(this),this.b=new l2(this),this.i=new l3(this),this.e=new l4(this)}function Wh(){dZ.call(this,new _p(Bv(16))),qz(2,nhQ),this.b=2,this.a=new $z(null,null,0,null),ww(this.a,this.a)}function Wf(){Wf=C,n_d=new yL("DUMMY_NODE_OVER",0),n_g=new yL("DUMMY_NODE_UNDER",1),n_p=new yL("EQUAL",2)}function Wl(){Wl=C,nAE=L4(Um(Dg(nCh,1),nfh,103,0,[(W2(),nXI),nXC])),nAT=L4(Um(Dg(nCh,1),nfh,103,0,[nXA,nXP]))}function Wb(n){return(nsR(),nWq).Hc(n.j)?gy(Ss(ntP(n,(nhu(),nDH)))):Xt(Um(Dg(nCa,1),nhJ,8,0,[n.i.n,n.n,n.a])).b}function Ww(n,t){var e,i;e=n.nk(t,null),i=null,t&&(pg(),B1(i=new wr,n.r)),(e=ntl(n,i,e))&&e.Fi()}function Wd(n,t){var e,i,r;return i=!1,e=t.q.d,t.dr&&(nnx(t.q,r),i=e!=t.q.d)),i}function Wg(n,t){var e,i,r,c,a,u,o;return u=t.i,o=t.j,i=(e=n.f).i,r=e.j,c=u-i,a=o-r,nTv.Math.sqrt(c*c+a*a)}function Wp(n,t){var e;return(e=Js(n))||(nVK||(nVK=new ub),noC(),_P((e=new b4(function n(t){var e,i,r,c,a,u,o;return(noC(),e=-1==(r=jZ(t,ntd(35)))?t:t.substr(0,r),i=-1==r?null:t.substr(r+1),a=nV2,c=Im(null==e?jh(Lj(a.f,null)):mT(a.g,e),281))?null!=i&&(c=Xx(c,($D(i),i))):(c=function(t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d;if(u=!0,l=null,r=null,c=null,e=!1,w=nV1,h=null,a=null,(s=JL(t,o=0,nQn,nQt))=0&&Pv(t.substr(o,2),"//")?(o+=2,s=JL(t,o,nQe,nQi),r=t.substr(o,s-o),o=s):null!=l&&(o==t.length||(D5(o,t.length),47!=t.charCodeAt(o)))&&(u=!1,-1==(s=T3(t,ntd(35),o))&&(s=t.length),r=t.substr(o,s-o),o=s);if(!i&&o0&&58==$9(f,f.length-1)&&(c=f,o=s)),o0&&(D5(0,i.length),47!=i.charCodeAt(0))))throw new gd("invalid opaquePart: "+i).e;if(t&&!(null!=e&&vA(nV0,e.toLowerCase()))&&!(null==i||!Qi(i,nQe,nQi))||t&&null!=e&&vA(nV0,e.toLowerCase())&&!function(t){var e;if(null!=t&&t.length>0&&33==$9(t,t.length-1))try{return e=n(MT(t,0,t.length-1)),null==e.e}catch(n){if(!Ti(n=Uu(n),32))throw n.e}return!1}(i))throw new gd(nkX+i).e;if(!(null==r||(u=r.length)>0&&(D5(u-1,r.length),58==r.charCodeAt(u-1))&&!Qi(r,nQe,nQi)))throw new gd("invalid device: "+r).e;if(!function(n){var t,e;if(null==n)return!1;for(t=0,e=n.length;t=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}function W$(n){var t,e,i,r;if(null!=n){for(e=0;e0&&XP(Im(CA(n.a,n.a.c.length-1),570),t)||IE(n.a,new KH(t))}function WB(n){var t;return t=new gX,t.a+="VerticalSegment ",jS(t,n.e),t.a+=" ",jP(t,TD(new g_,new h1(n.k))),t.a}function Wq(n){var t;return(64&n.Db)!=0?nrL(n):(t=new TW(nrL(n)),t.a+=" (name: ",jT(t,n.zb),t.a+=")",t.a)}function WG(n,t,e){var i,r;return r=n.sb,n.sb=t,(4&n.Db)!=0&&(1&n.Db)==0&&(i=new O9(n,1,4,r,t),e?e.Ei(i):e=i),e}function Wz(n,t){var e,i;for(e=0,i=V_(n,t).Kc();i.Ob();)e+=null!=ntP(Im(i.Pb(),11),(nhu(),nDA))?1:0;return e}function WU(n,t,e){var i,r,c;for(i=0,c=Jz(n,0);c.b!=c.d.c&&!((r=gy(Ss(RP(c))))>e);)r>=t&&++i;return i}function WX(n,t,e){var i,r;return r=n.r,n.r=t,(4&n.Db)!=0&&(1&n.Db)==0&&(i=new O9(n,1,8,r,n.r),e?e.Ei(i):e=i),e}function WW(n,t){var e,i;return(i=(e=Im(t,676)).vk())||e.wk(i=Ti(t,88)?new jt(n,Im(t,26)):new x$(n,Im(t,148))),i}function WV(n,t,e){var i;n.qi(n.i+1),i=n.oi(t,e),t!=n.i&&now(n.g,t,n.g,t+1,n.i-t),$t(n.g,t,i),++n.i,n.bi(t,e),n.ci()}function WQ(n,t){var e;return(e=new nu,n.a.sd(e))?(Tl(),new ge($D(Hw(n,e.a,t)))):($R(n),Tl(),Tl(),nMO)}function WJ(n,t){switch(t.g){case 2:case 1:return V_(n,t);case 3:case 4:return zI(V_(n,t))}return NV(),NV(),nMv}function WY(n,t){return jw(n)?Pv(n,t):jb(n)?Pp(n,t):jl(n)?($D(n),jf(n)===jf(t)):Ok(n)?n.Fb(t):Ot(n)?jf(n)===jf(t):xf(n,t)}function WZ(n,t){var e;0!=n.c.length&&(j9(e=Im(JD(n,_f(nPV,nw9,10,n.c.length,0,1)),193),new eo),niC(e,t))}function W1(n,t){var e;0!=n.c.length&&(j9(e=Im(JD(n,_f(nPV,nw9,10,n.c.length,0,1)),193),new es),niC(e,t))}function W0(n,t,e,i){switch(t){case 1:return n.n||(n.n=new An(nCK,n,1,7)),n.n;case 2:return n.k}return ZT(n,t,e,i)}function W2(){W2=C,nXO=new ky(nbj,0),nXC=new ky(nbv,1),nXI=new ky(nbp,2),nXP=new ky(nbC,3),nXA=new ky("UP",4)}function W3(){W3=C,nA_=new m3(nwY,0),nAF=new m3("INSIDE_PORT_SIDE_GROUPS",1),nAK=new m3("FORCE_MODEL_ORDER",2)}function W4(n,t,e){if(n<0||t>e)throw new gu(nlH+n+nlq+t+", size: "+e).e;if(n>t)throw new gd(nlH+n+nlB+t).e}function W5(n,t,e){if(t<0)nic(n,e);else{if(!e.Ij())throw new gd(nyn+e.ne()+nyt).e;Im(e,66).Nj().Vj(n,n.yh(),t)}}function W6(n,t,e,i,r,c){this.e=new wn,this.f=(qF(),n_W),IE(this.e,n),this.d=t,this.a=e,this.b=i,this.f=r,this.c=c}function W8(n,t){var e,i;for(i=new Td(n);i.e!=i.i.gc();)if(e=Im(J1(i),26),jf(t)===jf(e))return!0;return!1}function W9(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function W7(n){var t;return(64&n.Db)!=0?nrL(n):(t=new TW(nrL(n)),t.a+=" (source: ",jT(t,n.d),t.a+=")",t.a)}function Vn(n,t){var e;e=(256&n.Bb)!=0,t?n.Bb|=256:n.Bb&=-257,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,2,e,t))}function Vt(n,t){var e;e=(256&n.Bb)!=0,t?n.Bb|=256:n.Bb&=-257,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,8,e,t))}function Ve(n,t){var e;e=(256&n.Bb)!=0,t?n.Bb|=256:n.Bb&=-257,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,8,e,t))}function Vi(n,t){var e;e=(512&n.Bb)!=0,t?n.Bb|=512:n.Bb&=-513,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,3,e,t))}function Vr(n,t){var e;e=(512&n.Bb)!=0,t?n.Bb|=512:n.Bb&=-513,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,9,e,t))}function Vc(n,t){var e;return -1==n.b&&n.a&&(e=n.a.Gj(),n.b=e?n.c.Xg(n.a.aj(),e):Qj(n.c.Tg(),n.a)),n.c.Og(n.b,t)}function Va(n){var t,e;return n>-129&&n<128?(t=n+128,(e=(Cu(),nT0)[t])||(e=nT0[t]=new hH(n)),e):new hH(n)}function Vu(n){var t,e;return n>-129&&n<128?(t=n+128,(e=(Ck(),nT9)[t])||(e=nT9[t]=new hq(n)),e):new hq(n)}function Vo(n){var t;return n.k==(ntY(),nAU)&&((t=Im(ntP(n,(nhu(),nDr)),61))==(nsR(),nW$)||t==nWV)}function Vs(n,t,e){var i,r;return(r=nrR(n.b,t))&&(i=Im(noI(HI(n,r),""),26))?nrO(n,i,t,e):null}function Vh(n,t){var e,i;for(i=new Td(n);i.e!=i.i.gc();)if(e=Im(J1(i),138),jf(t)===jf(e))return!0;return!1}function Vf(n,t,e){var i;if(t>(i=n.gc()))throw new Pt(t,i).e;if(n.hi()&&n.Hc(e))throw new gd(ny0).e;n.Xh(t,e)}function Vl(n){var t,e;for(e=n.p.a.ec().Kc();e.Ob();)if((t=Im(e.Pb(),213)).f&&n.b[t.c]<-.0000000001)return t;return null}function Vb(n,t){switch(n.b.g){case 0:case 1:return t;case 2:case 3:return new Nj(t.d,0,t.a,t.b);default:return null}}function Vw(n){switch(n.g){case 2:return nXC;case 1:return nXI;case 4:return nXP;case 3:return nXA;default:return nXO}}function Vd(n){switch(n.g){case 1:return nWJ;case 2:return nW$;case 3:return nWA;case 4:return nWV;default:return nWQ}}function Vg(n){switch(n.g){case 1:return nWV;case 2:return nWJ;case 3:return nW$;case 4:return nWA;default:return nWQ}}function Vp(n){switch(n.g){case 1:return nWA;case 2:return nWV;case 3:return nWJ;case 4:return nW$;default:return nWQ}}function Vv(n,t){return nt?1:n==t?0==n?Vv(1/n,1/t):0:isNaN(n)?isNaN(t)?0:1:-1}function Vm(n,t,e){var i,r;return n.ej()?(r=n.fj(),i=niS(n,t,e),n.$i(n.Zi(7,Va(e),i,t,r)),i):niS(n,t,e)}function Vy(n,t){var e,i,r,c;null==n.d?(++n.e,--n.f):(r=t.cd(),i=((e=t.Sh())&nhM)%n.d.length,c=nrx(n,i,e,r),++n.e,--n.f,Im(n.d[i].$c(c),133).dd())}function Vk(n,t){var e;e=(n.Bb&nyp)!=0,t?n.Bb|=nyp:n.Bb&=-1025,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,10,e,t))}function Vj(n,t){var e;e=(n.Bb&nlu)!=0,t?n.Bb|=nlu:n.Bb&=-4097,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,12,e,t))}function VE(n,t){var e;e=(n.Bb&nk7)!=0,t?n.Bb|=nk7:n.Bb&=-8193,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,15,e,t))}function VT(n,t){var e;e=(n.Bb&njn)!=0,t?n.Bb|=njn:n.Bb&=-2049,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,11,e,t))}function VM(n,t){var e,i,r,c;for(i=new h1(t);i.a>10)+nlh&nfI,t[1]=(1023&n)+56320&nfI,Je(t,0,t.length)}function VA(n){var t;return(t=Im(ntP(n,(ns8(),nKE)),103))==(W2(),nXO)?gy(Ss(ntP(n,nKn)))>=1?nXC:nXP:t}function V$(n){if(n.c)V$(n.c);else if(n.d)throw new gg("Stream already terminated, can't be modified or used").e}function VN(n){var t;return(64&n.Db)!=0?nrL(n):(t=new TW(nrL(n)),t.a+=" (identifier: ",jT(t,n.k),t.a+=")",t.a)}function VL(n,t,e){var i;return pw(),qc(i=new aY,t),qa(i,e),n&&_P((n.a||(n.a=new Tg(nCI,n,5)),n.a),i),i}function VD(n,t,e,i){var r,c,a,u;return $D(i),$D(e),null==(c=null==(r=n.xc(t))?e:(a=Im(r,15),u=Im(e,14),a.Gc(u),a))?n.Bc(t):n.zc(t,c),c}function Vx(n){var t,e,i,r;return Gv(e=new PR(t=Im(pf((r=(i=n.gm).f)==nE2?i:r),9),Im(Sz(t,t.length),9),0),n),e}function VR(n,t){var e;return j4(n)&&j4(t)&&nln<(e=n-t)&&e>22),u=i.h+r.h+(a>>22),Ez(c&nf4,a&nf4,u&nf5)))}function VF(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;return j4(n)&&j4(t)&&nln<(e=n*t)&&e>13|(15&i.m)<<9,u=i.m>>4&8191,o=i.m>>17|(255&i.h)<<5,s=(1048320&i.h)>>8,h=8191&r.l,f=r.l>>13|(15&r.m)<<9,l=r.m>>4&8191,b=r.m>>17|(255&r.h)<<5,w=(1048320&r.h)>>8,v=c*h,m=a*h,y=u*h,k=o*h,j=s*h,0!=f&&(m+=c*f,y+=a*f,k+=u*f,j+=o*f),0!=l&&(y+=c*l,k+=a*l,j+=u*l),0!=b&&(k+=c*b,j+=a*b),0!=w&&(j+=c*w),d=(v&nf4)+((511&m)<<13),g=(v>>22)+(m>>9)+((262143&y)<<4)+((31&k)<<17),p=(y>>18)+(k>>5)+((4095&j)<<8),g+=d>>22,d&=nf4,p+=g>>22,Ez(d,g&=nf4,p&=nf5)))}function V_(n,t){var e;return n.i||nii(n),(e=Im($6(n.g,t),46))?new D2(n.j,Im(e.a,19).a,Im(e.b,19).a):(NV(),NV(),nMv)}function VH(n,t,e){var i;return i=n.a.get(t),n.a.set(t,void 0===e?null:e),void 0===i?(++n.c,Li(n.b)):++n.d,i}function VB(){var n,t,e;nn7(),e=nMD+++Date.now(),n=LU(nTv.Math.floor(e*nlC))&nlA,t=LU(e-n*nlO),this.a=1502^n,this.b=t^nlI}function Vq(n){var t,e;for(t=new wn,e=new h1(n.j);e.a>1&1431655765,n=((n=(n>>2&858993459)+(858993459&n))>>4)+n&252645135,n+=n>>8,63&(n+=n>>16)}function VX(n){var t,e,i,r,c;for(t=new SK(n.Hd().gc()),r=0,i=_B(n.Hd().Kc());i.Ob();)e=i.Pb(),c=Va(r++),IE(t.a,($1(),Yq(e,c),new vw(e,c)));return function(n){var t,e,i;switch($1(),n.c.length){case 0:return nTC;case 1:return e=(t=Im(nit(new h1(n)),42)).cd(),i=t.dd(),$1(),Yq(e,i),new $X(e,i);default:return new d4(Im(JD(n,_f(nE1,nh7,42,n.c.length,0,1)),165))}}(t.a)}function VW(n,t){0==n.n.c.length&&IE(n.n,new LZ(n.s,n.t,n.i)),IE(n.b,t),YJ(Im(CA(n.n,n.n.c.length-1),211),t),nuH(n,t)}function VV(n){return(n.c!=n.b.b||n.i!=n.g.b)&&(n.a.c=_f(nEX,nhA,1,0,5,1),Uf(n.a,n.b),Uf(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function VQ(n,t){var e,i;for(i=0,e=Im(t.Kb(n),20).Kc();e.Ob();)gm(So(ntP(Im(e.Pb(),17),(nhu(),nDx))))||++i;return i}function VJ(){VJ=C,nDJ=new yR(nwY,0),nDX=new yR("FIRST",1),nDW=new yR(ndy,2),nDV=new yR("LAST",3),nDQ=new yR(ndk,4)}function VY(){VY=C,nX_=new kj(nbj,0),nXK=new kj("POLYLINE",1),nXR=new kj("ORTHOGONAL",2),nXF=new kj("SPLINES",3)}function VZ(){VZ=C,nqW=new ku("ASPECT_RATIO_DRIVEN",0),nqV=new ku("MAX_SCALE_DRIVEN",1),nqX=new ku("AREA_DRIVEN",2)}function V1(){V1=C,nGT=new ks("P1_STRUCTURE",0),nGM=new ks("P2_PROCESSING_ORDER",1),nGS=new ks("P3_EXECUTION",2)}function V0(){V0=C,nqi=new ke("OVERLAP_REMOVAL",0),nqt=new ke("COMPACTION",1),nqe=new ke("GRAPH_SIZE_CALCULATION",2)}function V2(n,t){return ED(),qR(nfg),nTv.Math.abs(n-t)<=nfg||n==t||isNaN(n)&&isNaN(t)?0:nt?1:j1(isNaN(n),isNaN(t))}function V3(n,t){var e,i;for(e=Jz(n,0);e.b!=e.d.c;){if($D(i=Ss(RP(e))),i==t)return;if(i>t){xK(e);break}}AK(e,t)}function V4(n,t){var e,i,r,c,a;if(e=t.f,JR(n.c.d,e,t),null!=t.g)for(r=t.g,c=0,a=r.length;c>>0).toString(16):n.toString()}function Qn(n){var t;this.a=new PR(t=Im(n.e&&n.e(),9),Im(Sz(t,t.length),9),0),this.b=_f(nEX,nhA,1,this.a.a.length,5,1)}function Qt(n){var t,e,i;for(this.a=new j7,i=new h1(n);i.a0&&(i+=r,++e);return e>1&&(i+=n.d*(e-1)),i}function Qc(n){var t,e,i;for(i=new gz,i.a+="[",t=0,e=n.gc();t0&&this.b>0&&CK(this.c,this.b,this.a)}function Qs(n){QS(),this.c=Fs(Um(Dg(nCt,1),nhA,831,0,[n_c])),this.b=new wt,this.a=n,$J(this.b,n_a,1),BR(n_u,new bi(this))}function Qh(n,t){var e;return n.d?Au(n.b,t)?Im($a(n.b,t),51):(e=t.Kf(),$J(n.b,t,e),e):t.Kf()}function Qf(n,t){var e;return jf(n)===jf(t)||!!Ti(t,91)&&(e=Im(t,91),n.e==e.e&&n.d==e.d&&function(n,t){var e;for(e=n.d-1;e>=0&&n.a[e]===t[e];e--);return e<0}(n,e.a))}function Ql(n){switch(nsR(),n.g){case 4:return nW$;case 1:return nWA;case 3:return nWV;case 2:return nWJ;default:return nWQ}}function Qb(n,t){switch(t){case 3:return 0!=n.f;case 4:return 0!=n.g;case 5:return 0!=n.i;case 6:return 0!=n.j}return zB(n,t)}function Qw(n){switch(n.g){case 0:return new cX;case 1:return new cQ;default:throw new gd(ndp+(null!=n.f?n.f:""+n.g)).e}}function Qd(n){switch(n.g){case 0:return new dq;case 1:return new dw;default:throw new gd(nvQ+(null!=n.f?n.f:""+n.g)).e}}function Qg(n,t,e){var i,r;for(r=n.Kc();r.Ob();)if(i=r.Pb(),jf(t)===jf(i)||null!=t&&WY(t,i))return e&&r.Qb(),!0;return!1}function Qp(n,t,e){var i,r;if(++n.j,e.dc())return!1;for(r=e.Kc();r.Ob();)i=r.Pb(),n.Hi(t,n.oi(t,i)),++t;return!0}function Qv(n,t){var e;if(!t)return!1;for(e=0;eu.d&&(h=u.d+u.a+s));e.c.d=h,t.a.zc(e,t),o=nTv.Math.max(o,e.c.d+e.c.a)}return o}(n),vF(new CN(null,new D6(n.d,16)),new fM(n)),t}function Qk(n){var t;return(64&n.Db)!=0?Wq(n):(t=new TW(Wq(n)),t.a+=" (instanceClassName: ",jT(t,n.D),t.a+=")",t.a)}function Qj(n,t){var e,i,r;if(null==n.i&&nuq(n),e=n.i,-1!=(i=t.aj())){for(r=e.length;i>1,this.k=t-1>>1}function Q$(n){var t,e,i,r;for(e=0,r=0,i=n.length;e0&&(t.lengthn.i&&$t(t,n.i,null),t}function QL(n,t,e){var i,r,c;return n.ej()?(i=n.i,c=n.fj(),WV(n,i,t),r=n.Zi(3,null,t,i,c),e?e.Ei(r):e=r):WV(n,n.i,t),e}function QD(n){var t;return SE(),t=new Ee(Im(n.e.We((nha(),nU_)),8)),n.B.Hc((na9(),nVt))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function Qx(n){return Yp(),(n.q?n.q:(NV(),NV(),nMm))._b((ns8(),nFr))?Im(ntP(n,nFr),197):Im(ntP($N(n),nFc),197)}function QR(n,t){var e,i;return i=null,MB(n,(ns8(),nFU))&&(e=Im(ntP(n,nFU),94)).Xe(t)&&(i=e.We(t)),null==i&&(i=ntP($N(n),t)),i}function QK(n,t){var e,i,r;return!!Ti(t,42)&&(i=(e=Im(t,42)).cd(),$A(r=WK(n.Rc(),i),e.dd())&&(null!=r||n.Rc()._b(i)))}function QF(n,t){var e,i;return n.f>0&&(n.qj(),i=((e=null==t?0:Xg(t))&nhM)%n.d.length,-1!=nrx(n,i,e,t))}function Q_(n,t){var e,i,r;return n.f>0&&(n.qj(),r=((i=null==t?0:Xg(t))&nhM)%n.d.length,e=niA(n,r,i,t))?e.dd():null}function QH(n,t){var e,i,r,c;for(r=0,c=ncT(n.e.Tg(),t),e=Im(n.g,119);r>5,t&=31,function(n,t,e,i){var r,c,a;if(0==i)now(t,0,n,e,n.length-e);else for(a=32-i,n[n.length-1]=0,c=n.length-1;c>e;c--)n[c]|=t[c-e-1]>>>a,n[c-1]=t[c-e-1]<=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function Q3(n,t,e){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(t,c.d),e&&0==i)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function Q4(n,t,e,i,r){var c,a,u;for(a=r;t.b!=t.c;)c=Im(Al(t),10),u=Im(V_(c,i).Xb(0),11),n.d[u.p]=a++,e.c[e.c.length]=u;return a}function Q5(n,t,e){var i,r,c,a,u;return a=n.k,u=t.k,r=Ss(QR(n,i=e[a.g][u.g])),c=Ss(QR(t,i)),nTv.Math.max(($D(r),r),($D(c),c))}function Q6(n,t,e){var i,r,c;for(r=Im($a(n.b,e),177),i=0,c=new h1(t.j);c.at?1:j1(isNaN(n),isNaN(t)))<0}function Jn(n,t){return ED(),ED(),qR(nfg),(nTv.Math.abs(n-t)<=nfg||n==t||isNaN(n)&&isNaN(t)?0:nt?1:j1(isNaN(n),isNaN(t)))<=0}function Jt(n,t){for(var e=0;!t[e]||""==t[e];)e++;for(var i=t[e++];enll)return e.fh();if((i=e.Zg())||e==n)break}return i}function Jh(n){return(Dl(),Ti(n,156))?Im($a(nVW,nTw),288).vg(n):Au(nVW,Xp(n))?Im($a(nVW,Xp(n)),288).vg(n):null}function Jf(n,t){return n.e>t.e?1:n.et.d?n.e:n.d=48&&n<48+nTv.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function Jb(n,t){var e;return jf(t)===jf(n)||!!Ti(t,21)&&(e=Im(t,21)).gc()==n.gc()&&n.Ic(e)}function Jw(n){switch(n.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function Jd(n,t){if(n.a<0)throw new gg("Did not call before(...) or after(...) before calling add(...).").e;return Mf(n,n.a,t),n}function Jg(n,t,e){var i;(n.Db&t)!=0?null==e?function(n,t){var e,i,r,c,a,u,o;if(1==(i=VU(254&n.Db)))n.Eb=null;else if(c=BJ(n.Eb),2==i)r=Zn(n,t),n.Eb=c[0==r?1:0];else{for(e=2,a=_f(nEX,nhA,1,i-1,5,1),u=0,o=0;e<=128;e<<=1)e==t?++u:(n.Db&e)!=0&&(a[o++]=c[u++]);n.Eb=a}n.Db&=~t}(n,t):-1==(i=Zn(n,t))?n.Eb=e:$t(BJ(n.Eb),i,e):null!=e&&function(n,t,e){var i,r,c,a,u,o;if(0==(r=VU(254&n.Db)))n.Eb=e;else{if(1==r)a=_f(nEX,nhA,1,2,5,1),0==Zn(n,t)?(a[0]=e,a[1]=n.Eb):(a[0]=n.Eb,a[1]=e);else for(i=2,a=_f(nEX,nhA,1,r+1,5,1),c=BJ(n.Eb),u=0,o=0;i<=128;i<<=1)i==t?a[o++]=e:(n.Db&i)!=0&&(a[o++]=c[u++]);n.Eb=a}n.Db|=t}(n,t,e)}function Jp(n){var t;return(32&n.Db)==0&&0!=(t=AW(Im(zF(n,16),26)||n.zh())-AW(n.zh()))&&Jg(n,32,_f(nEX,nhA,1,t,5,1)),n}function Jv(n,t,e){t.b=nTv.Math.max(t.b,-e.a),t.c=nTv.Math.max(t.c,e.a-n.a),t.d=nTv.Math.max(t.d,-e.b),t.a=nTv.Math.max(t.a,e.b-n.b)}function Jm(n,t){return $D(n),null!=t&&(!!Pv(n,t)||n.length==t.length&&Pv(n.toLowerCase(),t.toLowerCase()))}function Jy(n){var t,e;return WM(n,-129)>0&&0>WM(n,128)?(t=CZ(n)+128,(e=(Cy(),nT3)[t])||(e=nT3[t]=new hB(n)),e):new hB(n)}function Jk(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=Sh(Q_((e.b||(e.b=new M2((nhl(),nQQ),nQE,e)),e.b),nyQ)))?i:t.ne()}function Jj(n,t,e){this.c=n,this.f=new wn,this.e=new ps,this.j=new CE,this.n=new CE,this.b=t,this.g=new Nj(t.c,t.d,t.b,t.a),this.a=e}function JE(n){var t,e,i;for(e=0,this.a=new j7,this.d=new w_,this.e=0,i=n.length;ek&&(b.c=k-b.b),IE(j.d,new Or(b,Vb(j,b))),p=t==nW$?nTv.Math.max(p,w.b+o.b.rf().b):nTv.Math.min(p,w.b));for(p+=t==nW$?n.t:-n.t,(v=Qy((j.e=p,j)))>0&&(Im($6(n.b,t),124).a.b=v),s=f.Kc();s.Ob();)(o=Im(s.Pb(),111)).c&&!(o.c.d.c.length<=0)&&(b=o.c.i,b.c-=o.e.a,b.d-=o.e.b)}(n,t):nsA(n,t):n.u.Hc(nWI)&&(e?function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if(2>=(s=Im(Im(Fl(n.r,t),21),84)).gc()||t==(nsR(),nWA)||t==(nsR(),nWJ)){nsU(n,t);return}for(w=n.u.Hc((nis(),nWC)),e=t==(nsR(),nW$)?(zZ(),nPT):(zZ(),nPk),g=t==nW$?(H$(),nS2):(H$(),nS4),p=P9(e),v=n.s,p.a=v,d=t==nW$?nlc:nla,o=s.Kc();o.Ob();)(a=Im(o.Pb(),111)).c&&!(a.c.d.c.length<=0)&&(b=a.b.rf(),l=a.e,(f=(h=a.c).i).b=(r=h.n,h.e.a+r.b+r.c),f.a=(c=h.n,h.e.b+c.d+c.a),w?(f.c=l.a-(i=h.n,h.e.a+i.b+i.c)-n.s,w=!1):f.c=l.a+b.a+n.s,Lk(g,nbm),h.f=g,_I(h,(_1(),nS1)),IE(p.d,new Or(f,Vb(p,f))),d=t==nW$?nTv.Math.min(d,l.b):nTv.Math.max(d,l.b+a.b.rf().b));for(d+=t==nW$?-n.t:n.t,Qy((p.e=d,p)),u=s.Kc();u.Ob();)(a=Im(u.Pb(),111)).c&&!(a.c.d.c.length<=0)&&(f=a.c.i,f.c-=a.e.a,f.d-=a.e.b)}(n,t):nsU(n,t))}function JO(n,t){var e,i;if(++n.j,null!=t&&function(n,t){var e,i,r;if(jf(n)===jf(t))return!0;if(null==n||null==t||n.length!=t.length)return!1;for(e=0;e=(r=n.length))return r;for(t=t>0?t:0;ti&&$t(t,i,null),t}function Jx(n,t){var e,i;for(i=n.a.length,t.lengthi&&$t(t,i,null),t}function JR(n,t,e){var i,r,c;return(r=Im($a(n.e,t),387))?(c=SH(r,e),Tr(n,r),c):(i=new IC(n,t,e),$J(n.e,t,i),LB(i),null)}function JK(n){return(nc4(),0>WM(n,0))?0!=WM(n,-1)?new nnH(-1,Hl(n)):nMo:0>=WM(n,10)?nMh[CZ(n)]:new nnH(1,n)}function JF(){return nhf(),Um(Dg(nSp,1),nfh,159,0,[nPd,nPw,nPg,nPa,nPc,nPu,nPh,nPs,nPo,nPb,nPl,nPf,nPi,nPe,nPr,nPn,nS7,nPt,nS8,nS6,nS9,nPp])}function J_(n){var t;this.d=new wn,this.j=new ps,this.g=new ps,t=n.g.b,this.f=Im(ntP($N(t),(ns8(),nKE)),103),this.e=gy(Ss(JQ(t,nFX)))}function JH(n){this.b=new wn,this.e=new wn,this.d=n,this.a=!pL(Nb(new CN(null,new A$(new Fm(n.b))),new fe(new rr))).sd((vQ(),nM5))}function JB(){JB=C,nzM=new kb("PARENTS",0),nzT=new kb("NODES",1),nzj=new kb("EDGES",2),nzS=new kb("PORTS",3),nzE=new kb("LABELS",4)}function Jq(){Jq=C,nWb=new kP("DISTRIBUTED",0),nWd=new kP("JUSTIFIED",1),nWf=new kP("BEGIN",2),nWl=new kP(nbw,3),nWw=new kP("END",4)}function JG(n){switch(n.g){case 1:return W2(),nXA;case 4:return W2(),nXI;case 2:return W2(),nXC;case 3:return W2(),nXP}return W2(),nXO}function Jz(n,t){var e,i;if(DC(t,n.b),t>=n.b>>1)for(i=n.c,e=n.b;e>t;--e)i=i.b;else for(e=0,i=n.a.a;e=64&&t<128&&(r=xr(r,OR(1,t-64)));return r}function JQ(n,t){var e,i;return i=null,MB(n,(nha(),nXp))&&(e=Im(ntP(n,nXp),94)).Xe(t)&&(i=e.We(t)),null==i&&$N(n)&&(i=ntP($N(n),t)),i}function JJ(n,t){var e,i,r;(i=(r=t.d.i).k)!=(ntY(),nAV)&&i!=nAz&&nrc(e=new OM(Tx(Vz(r).a.Kc(),new s)))&&$J(n.k,t,Im(K4(e),17))}function JY(n,t){var e,i,r;return i=Bm(n.Tg(),t),(e=t-n.Ah())<0?(r=n.Yg(i))>=0?n.lh(r):niE(n,i):e<0?niE(n,i):Im(i,66).Nj().Sj(n,n.yh(),e)}function JZ(n){var t;if(!Ti(n.a,4))return n.a;if(null==(t=Jh(n.a)))throw new gg(nmw+n.b+"'. "+nmh+(Su(nCW),nCW.k)+nmf).e;return t}function J1(n){var t;try{return t=n.i.Xb(n.e),n.mj(),n.g=n.e++,t}catch(t){if(Ti(t=Uu(t),73))throw n.mj(),(new wO).e;throw t.e}}function J0(n){var t;try{return t=n.c.ki(n.e),n.mj(),n.g=n.e++,t}catch(t){if(Ti(t=Uu(t),73))throw n.mj(),(new wO).e;throw t.e}}function J2(){J2=C,nha(),nOw=nXb,nOo=nUm,nOi=nUr,nOs=nUU,nnt(),nOl=nSL,nOf=nS$,nOb=nSx,nOh=nSA,XV(),nOc=nC7,nOr=nC9,nOa=nOt,nOu=nOe}function J3(n){switch(v3(),this.c=new wn,this.d=n,n.g){case 0:case 2:this.a=$Y(nAx),this.b=nlc;break;case 3:case 1:this.a=nAx,this.b=nla}}function J4(n,t,e){var i;t.a.length>0&&(IE(n.b,new IT(t.a,e)),0<(i=t.a.length)?t.a=t.a.substr(0,0):0>i&&(t.a+=Te(_f(nY$,nfS,25,-i,15,1))))}function J5(n,t){var e,i,r;for(e=n.o,r=Im(Im(Fl(n.r,t),21),84).Kc();r.Ob();)(i=Im(r.Pb(),111)).e.a=function(n,t){var e;return(e=n.b).Xe((nha(),nU5))?e.Hf()==(nsR(),nWJ)?-e.rf().a-gy(Ss(e.We(nU5))):t+gy(Ss(e.We(nU5))):e.Hf()==(nsR(),nWJ)?-e.rf().a:t}(i,e.a),i.e.b=e.b*gy(Ss(i.b.We(nPy)))}function J6(n){var t;return t=new gX,t.a+="n",n.k!=(ntY(),nAV)&&jP(jP((t.a+="(",t),MP(n.k).toLowerCase()),")"),jP((t.a+="_",t),Zk(n)),t.a}function J8(n,t,e,i){var r;return e>=0?n.hh(t,e,i):(n.eh()&&(i=(r=n.Vg())>=0?n.Qg(i):n.eh().ih(n,-1-r,null,i)),n.Sg(t,e,i))}function J9(n,t){switch(t){case 7:n.e||(n.e=new Ph(nC$,n,7,4)),noK(n.e);return;case 8:n.d||(n.d=new Ph(nC$,n,8,5)),noK(n.d);return}QM(n,t)}function J7(n,t){var e;e=n.Zc(t);try{return e.Pb()}catch(n){if(Ti(n=Uu(n),109))throw new gu("Can't get element "+t).e;throw n.e}}function Yn(n,t){(this.e=n,t=0&&(e.d=n.t);break;case 3:n.t>=0&&(e.a=n.t)}n.C&&(e.b=n.C.b,e.c=n.C.c)}function Yr(){Yr=C,nPP=new mz(nbA,0),nPS=new mz(nb$,1),nPI=new mz(nbN,2),nPC=new mz(nbL,3),nPP.a=!1,nPS.a=!0,nPI.a=!1,nPC.a=!0}function Yc(){Yc=C,nC2=new mG(nbA,0),nC0=new mG(nb$,1),nC3=new mG(nbN,2),nC4=new mG(nbL,3),nC2.a=!1,nC0.a=!0,nC3.a=!1,nC4.a=!0}function Ya(n,t){return jw(n)?!!nTT[t]:n.hm?!!n.hm[t]:jb(n)?!!nTE[t]:!!jl(n)&&!!nTj[t]}function Yu(n,t,e){return null==e?(n.o||(n.o=new _x((nsZ(),nVA),nCq,n,0)),Ja(n.o,t)):(n.o||(n.o=new _x((nsZ(),nVA),nCq,n,0)),nnb(n.o,t,e)),n}function Yo(n,t,e,i){var r,c,a;return c=Bm(n.Tg(),t),(r=t-n.Ah())<0?(a=n.Yg(c))>=0?n._g(a,e,!0):niO(n,c,e):Im(c,66).Nj().Pj(n,n.yh(),r,e,i)}function Ys(n){switch(typeof n){case nhE:return Yj(n);case nhj:return LU(n);case nhk:return TX(),n?1231:1237;default:return null==n?0:T9(n)}}function Yh(n){var t,e;if(null==n)return null;for(t=0,e=_f(nPV,nhJ,193,n.length,0,2);t=0)return i;if(n.Fk()){for(e=0;e=(r=n.gc()))throw new Pt(t,r).e;if(n.hi()&&(i=n.Xc(e))>=0&&i!=t)throw new gd(ny0).e;return n.mi(t,e)}function Yw(n,t){if(this.a=Im(A1(n),245),this.b=Im(A1(t),245),n.vd(t)>0||n==(dQ(),nTS)||t==(dV(),nTP))throw new gd("Invalid range: "+RF(n,t)).e}function Yd(n){var t,e;for(this.b=new wn,this.c=n,this.a=!1,e=new h1(n.a);e.a0),(t&-t)==t)return LU(t*nr_(n,31)*4656612873077393e-25);do i=(e=nr_(n,31))%t;while(e-i+(t-1)<0);return LU(i)}function Yj(n){var t,i,r;return(PG(),null!=(r=nM8[i=":"+n]))?LU(($D(r),r)):(t=null==(r=nM6[i])?function(n){var t,e,i,r;for(t=0,r=(i=n.length)-4,e=0;e0)for(i=new PH(Im(Fl(n.a,c),21)),NV(),E_(i,new fD(t)),r=new Rn(c.b,0);r.b(o=null==n.d?0:n.d.length)))return 0;for(c=0,h=n.d,n.d=_f(nCU,nkG,63,2*o+4,0,1);cnp9;){for(c=t,a=0;nTv.Math.abs(t-c)0),r.a.Xb(r.c=--r.b),function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(u=0,f=function(n,t){var e,i,r;for(r=new Rn(n.e,0),e=0;r.bnp9);)i>-.000001&&++e;return e}(n,e);u0),i.a.Xb(i.c=--i.b),h>f+u&&$I(i);for(c=new h1(l);c.a0),i.a.Xb(i.c=--i.b)}}(n,n.b-a,c,i,r),MK(r.b0),i.a.Xb(i.c=--i.b)}if(!n.d)for(e=0;e102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function Yq(n,t){if(null==n)throw new gv("null key in entry: null="+t).e;if(null==t)throw new gv("null value in entry: "+n+"=null").e}function YG(n,t){var e;return e=Um(Dg(nYR,1),nlf,25,15,[Wr(n.a[0],t),Wr(n.a[1],t),Wr(n.a[2],t)]),n.d&&(e[0]=nTv.Math.max(e[0],e[2]),e[2]=e[0]),e}function Yz(n,t){var e;return e=Um(Dg(nYR,1),nlf,25,15,[Wc(n.a[0],t),Wc(n.a[1],t),Wc(n.a[2],t)]),n.d&&(e[0]=nTv.Math.max(e[0],e[2]),e[2]=e[0]),e}function YU(){YU=C,nN5=new yj("GREEDY",0),nN4=new yj(ndL,1),nN8=new yj(ndN,2),nN9=new yj("MODEL_ORDER",3),nN6=new yj("GREEDY_MODEL_ORDER",4)}function YX(n){var t;if(t=function(n){var t;for(A1(n),PQ(!0,"numberToAdvance must be nonnegative"),t=0;t<0&&nrc(n);t++)K4(n);return t}(n),!nrc(n))throw new gu("position (0) must be less than the number of elements that remained ("+t+")").e;return K4(n)}function YW(n,t,e){try{return YZ(n,t+n.j,e+n.k)}catch(n){if(Ti(n=Uu(n),73))throw new gu(n.g+nb_+t+nhC+e+").").e;throw n.e}}function YV(n){switch(n.g){case 1:return nsR(),nWJ;case 4:return nsR(),nW$;case 3:return nsR(),nWA;case 2:return nsR(),nWV;default:return nsR(),nWQ}}function YQ(n,t){var e,i;for(i=V_(n,t).Kc();i.Ob();)if(null!=ntP(e=Im(i.Pb(),11),(nhu(),nDA))||Mh(new Fm(e.b)))return!0;return!1}function YJ(n,t){return qh(t,n.e+n.d+(0==n.c.c.length?0:n.b)),qf(t,n.f),n.a=nTv.Math.max(n.a,t.f),n.d+=t.g+(0==n.c.c.length?0:n.b),IE(n.c,t),!0}function YY(n,t){var e,i,r,c,a;for(e=t.gc(),n.qi(n.i+e),c=t.Kc(),a=n.i,n.i+=e,i=a;ic&&$t(t,c,null),t}function Y4(n,t){var e,i,r;return e=t.cd(),r=t.dd(),i=n.xc(e),!!((jf(r)===jf(i)||null!=r&&WY(r,i))&&(null!=i||n._b(e)))}function Y5(n,t,e,i){var r,c,a;this.a=t,this.c=i,a=new kp(-(r=n.a).c,-r.d),this.b=a,S9(this.b,e),c=i/2,t.a?Mz(this.b,0,c):Mz(this.b,c,0),IE(n.c,this)}function Y6(){Y6=C,nqH=new kc(nwY,0),nqF=new kc(ndD,1),nq_=new kc("EDGE_LENGTH_BY_POSITION",2),nqK=new kc("CROSSING_MINIMIZATION_BY_POSITION",3)}function Y8(n,t){var e,i;if(e=Im(B3(n.g,t),33))return e;if(i=Im(B3(n.j,t),118))return i;throw new gS("Referenced shape does not exist: "+t).e}function Y9(n,t,e,i,r,c){var a,u,o,s,h;for(h=0,a=function(n,t,e){var i,r;switch(i=(r=n.b).d,t.g){case 1:return-i.d-e;case 2:return r.o.a+i.c+e;case 3:return r.o.b+i.a+e;case 4:return-i.b-e;default:return -1}}(t,e,c),u=e==(nsR(),nW$)||e==nWJ?-1:1,s=n[e.g];h0&&(o+=r),s[h]=a,a+=u*(o+i)}function Y7(n){var t,e,i;for(t=0,i=n.f,n.n=_f(nYR,nlf,25,i,15,1),n.d=_f(nYR,nlf,25,i,15,1);t0?n.c:0),++r;n.b=i,n.d=c}function Zu(n,t){var e;return e=Um(Dg(nYR,1),nlf,25,15,[Yy(n,(BH(),nSW),t),Yy(n,nSV,t),Yy(n,nSQ,t)]),n.f&&(e[0]=nTv.Math.max(e[0],e[2]),e[2]=e[0]),e}function Zo(n){var t;MB(n,(ns8(),nK7))&&((t=Im(ntP(n,nK7),21)).Hc((nrS(),nWe))?(t.Mc(nWe),t.Fc(nWr)):t.Hc(nWr)&&(t.Mc(nWr),t.Fc(nWe)))}function Zs(n){var t;MB(n,(ns8(),nK7))&&((t=Im(ntP(n,nK7),21)).Hc((nrS(),nWs))?(t.Mc(nWs),t.Fc(nWu)):t.Hc(nWu)&&(t.Mc(nWu),t.Fc(nWs)))}function Zh(n,t,e,i){var r,c;for(r=t;r0&&(r.b+=t),r}function Zd(n,t){var e,i,r;for(r=new ps,i=n.Kc();i.Ob();)naL(e=Im(i.Pb(),37),0,r.b),r.b+=e.f.b+t,r.a=nTv.Math.max(r.a,e.f.a);return r.a>0&&(r.a+=t),r}function Zg(n){var t,e,i;for(i=nhM,e=new h1(n.a);e.a0&&(n.a[K.p]=X++)}for(C=0,Y=0,$=e.length;C<$;++C){for(S=e[C],N=0,F=new h1(S.j);F.a0;){for(MK(B.b>0),H=0,u=new h1((K=Im(B.a.Xb(B.c=--B.b),11)).e);u.a0&&(K.j==(nsR(),nW$)?(n.a[K.p]=Y,++Y):(n.a[K.p]=Y+N+D,++D))}Y+=D}for(P=0,_=new wt,b=new j7,O=t.length;Ps.b&&(s.b=q)):K.i.c==U&&(qs.c&&(s.c=q));for(_V(w,0,w.length,null),J=_f(nYN,nfB,25,w.length,15,1),i=_f(nYN,nfB,25,Y+1,15,1),g=0;g0;)j%2>0&&(r+=nt[j+1]),j=(j-1)/2|0,++nt[j];for(m=0,T=_f(nI$,nhA,362,2*w.length,0,1);mn.d[r.p]&&(e+=KC(n.b,i)*Im(a.b,19).a,RC(n.a,Va(i)));for(;!gk(n.a);)H3(n.b,Im(Al(n.a),19).a)}return e}(o,s))),c}(n,i,t);return e}function Zv(){ncS(),this.c=new wn,this.i=new wn,this.e=new j7,this.f=new j7,this.g=new j7,this.j=new wn,this.a=new wn,this.b=new wt,this.k=new wt}function Zm(n,t){var e;return n.Db>>16==6?n.Cb.ih(n,5,nCR,t):(e=YI(Im(Bm(Im(zF(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Zy(n){var t,e,i;n.b==n.c&&((i=n.a.length,e=U0(nTv.Math.max(8,i))<<1,0!=n.b)?(t=Sz(n.a,e),Gp(n,t,i),n.a=t,n.b=0):n.a.length=e,n.c=i)}function Zk(n){var t;return 0!=n.b.c.length&&Im(CA(n.b,0),70).a?Im(CA(n.b,0),70).a:null!=(t=NO(n))?t:""+(n.c?Hb(n.c.a,n,0):-1)}function Zj(n){var t;return 0!=n.f.c.length&&Im(CA(n.f,0),70).a?Im(CA(n.f,0),70).a:null!=(t=NO(n))?t:""+(n.i?Hb(n.i.j,n,0):-1)}function ZE(n){var t,e,i,r,c;for(c=0,r=nla,i=0,e=new h1(n.a);e.a0?n.c:0),r=nTv.Math.max(r,t.d),++i;n.e=c,n.b=r}function ZT(n,t,e,i){return 0==t?i?(n.o||(n.o=new _x((nsZ(),nVA),nCq,n,0)),n.o):(n.o||(n.o=new _x((nsZ(),nVA),nCq,n,0)),_o(n.o)):Yo(n,t,e,i)}function ZM(n){var t,e;if(n.rb)for(t=0,e=n.rb.i;t=n.i)throw new jX(t,n.i).e;return++n.j,e=n.g[t],(i=n.i-t-1)>0&&now(n.g,t+1,n.g,t,i),$t(n.g,--n.i,null),n.fi(t,e),n.ci(),e}function ZC(n,t){var e;return n.Db>>16==17?n.Cb.ih(n,21,nQf,t):(e=YI(Im(Bm(Im(zF(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ZO(){ZO=C,nO4=new jU(nwx,(TX(),!1)),nO1=new jU(nwR,100),HA(),nO0=new jU(nwK,nO2=nAs),nO3=new jU(nwF,nww),nO5=new jU(nw_,Va(nhM))}function ZA(n,t,e){var i,r,c,a,u,o;for(o=0,i=n.a[t],r=0,c=i.length;re.a.c.length))throw new gd("index must be >= 0 and <= layer node count").e;n.c&&Hh(n.c.a,n),n.c=e,e&&C4(e.a,t,n)}function Z_(n,t){var e,i,r;for(i=new OM(Tx(Vq(n).a.Kc(),new s));nrc(i);)return e=Im(K4(i),17),new s2(A1((r=Im(t.Kb(e),10)).n.b+r.o.b/2));return dJ(),dJ(),nTM}function ZH(n,t){this.c=new wt,this.a=n,this.b=t,this.d=Im(ntP(n,(nhu(),nDF)),304),jf(ntP(n,(ns8(),nFn)))===jf((Ho(),nLw))?this.e=new dh:this.e=new ds}function ZB(n,t){var e,i;return i=null,n.Xe((nha(),nXp))&&(e=Im(n.We(nXp),94)).Xe(t)&&(i=e.We(t)),null==i&&n.yf()&&(i=n.yf().We(t)),null==i&&(i=JZ(t)),i}function Zq(n,t){var e,i;e=n.Zc(t);try{return i=e.Pb(),e.Qb(),i}catch(n){if(Ti(n=Uu(n),109))throw new gu("Can't remove element "+t).e;throw n.e}}function ZG(n,t){var e,i,r;if(0==(e=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;for(o=0,a=new nna,s=Um(Dg(nYN,1),nfB,25,15,[0]),r=-1,c=0,i=0;o0){if(r<0&&h.a&&(r=o,c=s[0],i=0),r>=0){if(u=h.b,o==r&&0==(u-=i++))return 0;if(!ns_(t,s,h,u,a)){o=r-1,s[0]=c;continue}}else if(r=-1,!ns_(t,s,h,0,a))return 0}else{if(r=-1,32==$9(h.c,0)){if(f=s[0],HZ(t,s),s[0]>f)continue}else if(l=h.c,(b=s[0])>=0&&Pv(t.substr(b,l.length),l)){s[0]+=h.c.length;continue}return 0}return!function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>nfp&&RW(t,n.p-nfH),a=t.q.getDate(),L2(t,1),n.k>=0&&(o=n.k,s=t.q.getHours(),t.q.setMonth(o),nu3(t,s)),n.c>=0?L2(t,n.c):n.k>=0?(i=35-new UZ(t.q.getFullYear()-nfH,t.q.getMonth(),35).q.getDate(),L2(t,nTv.Math.min(i,a))):L2(t,a),n.f<0&&(n.f=t.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),h=24==n.f&&n.g?0:n.f,t.q.setHours(h),nu3(t,h),n.j>=0&&(f=n.j,l=t.q.getHours()+(f/60|0),t.q.setMinutes(f),nu3(t,l)),n.n>=0&&(b=n.n,w=t.q.getHours()+(b/3600|0),t.q.setSeconds(b),nu3(t,w)),n.i>=0&&jA(t,VK(VF(nnm(zD(t.q.getTime()),nfP),nfP),n.i)),n.a&&(RW(r=new vP,r.q.getFullYear()-nfH-80),0>WM(zD(t.q.getTime()),zD(r.q.getTime()))&&RW(t,r.q.getFullYear()-nfH+100)),n.d>=0){if(-1==n.c)(e=(7+n.d-t.q.getDay())%7)>3&&(e-=7),u=t.q.getMonth(),L2(t,t.q.getDate()+e),t.q.getMonth()!=u&&L2(t,t.q.getDate()+(e>0?-7:7));else if(t.q.getDay()!=n.d)return!1}return n.o>nfp&&(c=t.q.getTimezoneOffset(),jA(t,VK(zD(t.q.getTime()),(n.o-c)*60*nfP))),!0}(a,e)?0:s[0]}(n,t,r=new UZ((i=new vP).q.getFullYear()-nfH,i.q.getMonth(),i.q.getDate())))||e=t.b.c.length||(n(t,2*e+1),(i=2*e+2)>16==6?n.Cb.ih(n,6,nC$,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nsZ(),nVS),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ZQ(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,1,nCC,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nsZ(),nVI),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ZJ(n,t){var e;return n.Db>>16==9?n.Cb.ih(n,9,nCF,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nsZ(),nVO),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ZY(n,t){var e;return n.Db>>16==5?n.Cb.ih(n,9,nQb,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nhl(),nQK),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ZZ(n,t){var e;return n.Db>>16==3?n.Cb.ih(n,0,nCL,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nhl(),nQA),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z1(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,6,nCR,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nhl(),nQX),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z0(){this.a=new a6,this.g=new YA,this.j=new YA,this.b=new wt,this.d=new YA,this.i=new YA,this.k=new wt,this.c=new wt,this.e=new wt,this.f=new wt}function Z2(n,t){var e,i;if(t){if(t==n)return!0;for(e=0,i=Im(t,49).eh();i&&i!=t;i=i.eh()){if(++e>nll)return Z2(n,i);if(i==n)return!0}}return!1}function Z3(n,t){var e,i,r;for(Hh(n.a,t),n.e-=t.r+(0==n.a.c.length?0:n.c),r=nvg,i=new h1(n.a);i.a>16==3?n.Cb.ih(n,12,nCF,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nsZ(),nVM),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z5(n,t){var e;return n.Db>>16==11?n.Cb.ih(n,10,nCF,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nsZ(),nVC),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z6(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,11,nQf,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nhl(),nQz),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z8(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,12,nQg,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nhl(),nQW),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z9(n){var t;return(1&n.Bb)==0&&n.r&&n.r.kh()&&(t=Im(n.r,49),n.r=Im(WO(n,t),138),n.r!=t&&(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,9,8,t,n.r))),n.r}function Z7(n,t,e){var i;return i=Um(Dg(nYR,1),nlf,25,15,[ntv(n,(BH(),nSW),t,e),ntv(n,nSV,t,e),ntv(n,nSQ,t,e)]),n.f&&(i[0]=nTv.Math.max(i[0],i[2]),i[2]=i[0]),i}function nnn(n,t){var e,i,r,c,a,u;return(a=n.h>>19)!=(u=t.h>>19)?u-a:(i=n.h)!=(c=t.h)?i-c:(e=n.m)!=(r=t.m)?e-r:n.l-t.l}function nnt(){nnt=C,nau(),nSx=new jU(nbr,nSR=nSG),H7(),nSL=new jU(nbc,nSD=nSC),JU(),nS$=new jU(nba,nSN=nSS),nSA=new jU(nbu,(TX(),!0))}function nne(n,t,e){var i,r;i=t*e,Ti(n.g,145)?(r=RM(n)).f.d?r.f.a||(n.d.a+=i+nbE):(n.d.d-=i+nbE,n.d.a+=i+nbE):Ti(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function nni(n,t,e){var i,r,c,a,u;for(r=n[e.g],u=new h1(t.d);u.a(r=i.length)&&ra&&(u=a/i),r>c&&(o=c/r),To(n,nTv.Math.min(u,o)),n}function nna(){vP.call(this),this.e=-1,this.a=!1,this.p=nfp,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=nfp}function nnu(){nnu=C,nAl=Ob(Cg(Cg(Cg(new Rf,(ntI(),nAv),(nhs(),n$S)),nAv,n$O),nAm,n$R),nAm,n$w),nAw=Cg(Cg(new Rf,nAv,n$r),nAv,n$d),nAb=Ob(new Rf,nAm,n$p)}function nno(n){var t;if(n.f.qj(),-1!=n.b){if(++n.b,t=n.f.d[n.a],n.b0&&(a=(c&nhM)%n.d.length,r=niA(n,a,c,t)))?r.ed(e):(i=n.tj(c,t,e),n.c.Fc(i),null)}function nnw(n,t){var e,i,r,c;switch(WW(n,t)._k()){case 3:case 2:for(r=0,c=(e=noo(t)).i;r=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}(n,n)/WA(2.718281828459045,n));throw new gd("The input must be positive").e}function nnv(n,t){var e;if(n.ni()&&null!=t){for(e=0;e0&&(t.c[e.c.p][e.p].d+=nr_(t.i,24)*nlC*.07000000029802322-.03500000014901161,t.c[e.c.p][e.p].a=t.c[e.c.p][e.p].d/t.c[e.c.p][e.p].b)}})(n,i=Im(xe(r),10),e)}function nnE(n,t,e){var i,r;(i=WU(t.j,e.s,e.c)+WU(e.e,t.s,t.c))==(r=WU(e.j,t.s,t.c)+WU(t.e,e.s,e.c))?i>0&&(n.b+=2,n.a+=i):(n.b+=1,n.a+=nTv.Math.min(i,r))}function nnT(n,t){var e;if(e=!1,jw(t)&&(e=!0,$v(n,new $h(Sh(t)))),!e&&Ti(t,236)&&(e=!0,$v(n,new hC(PN(Im(t,236))))),!e)throw new gs(nyK).e}function nnM(n){var t,e;switch(Im(ntP($N(n),(ns8(),nKW)),420).g){case 0:return t=n.n,e=n.o,new kp(t.a+e.a/2,t.b+e.b/2);case 1:return new Ee(n.n);default:return null}}function nnS(){nnS=C,nLy=new yP(nwY,0),nLm=new yP("LEFTUP",1),nLj=new yP("RIGHTUP",2),nLv=new yP("LEFTDOWN",3),nLk=new yP("RIGHTDOWN",4),nLp=new yP("BALANCED",5)}function nnP(n,t,e){switch(t){case 1:n.n||(n.n=new An(nCK,n,1,7)),noK(n.n),n.n||(n.n=new An(nCK,n,1,7)),AJ(n.n,Im(e,14));return;case 2:q6(n,Sh(e));return}Xy(n,t,e)}function nnI(n,t,e){switch(t){case 3:qo(n,gy(Ss(e)));return;case 4:qs(n,gy(Ss(e)));return;case 5:qh(n,gy(Ss(e)));return;case 6:qf(n,gy(Ss(e)));return}nnP(n,t,e)}function nnC(n,t,e){var i,r;(i=ntl(r=new dP,t,null))&&i.Fi(),GF(r,e),_P((n.c||(n.c=new An(nQp,n,12,10)),n.c),r),qg(r,0),qp(r,1),Vi(r,!0),Vn(r,!0)}function nnO(n,t){var e,i;return Ti(e=mT(n.g,t),235)?((i=Im(e,235)).Qh(),i.Nh()):Ti(e,498)?i=Im(e,1938).b:null}function nnA(n){if(-1==n.g)throw(new wM).e;n.mj();try{n.i.$c(n.g),n.f=n.i.j,n.g0&&ZA(this,this.c-1,(nsR(),nWA)),this.c0&&n[0].length>0&&(this.c=gm(So(ntP($N(n[0][0]),(nhu(),nDw))))),this.a=_f(nIP,nhJ,2018,n.length,0,2),this.b=_f(nII,nhJ,2019,n.length,0,2),this.d=new Wh}function nn2(){nn2=C,nWj=new kI(nbj,0),nWk=new kI("FREE",1),nWy=new kI("FIXED_SIDE",2),nWp=new kI("FIXED_ORDER",3),nWm=new kI("FIXED_RATIO",4),nWv=new kI("FIXED_POS",5)}function nn3(n){var t,e,i;for(i=new zV(nhC,"{","}"),e=n.vc().Kc();e.Ob();)Fd(i,RB(n,(t=Im(e.Pb(),42)).cd())+"="+RB(n,t.dd()));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function nn4(n,t){var e,i,r;for(e=null,r=Im(t.Kb(n),20).Kc();r.Ob();)if(i=Im(r.Pb(),17),e){if((i.c.i==n?i.d.i:i.c.i)!=e)return!1}else e=i.c.i==n?i.d.i:i.c.i;return!0}function nn5(n,t){var e,i,r,c;for(i=new h1(nci(n,!1,t));i.a=0;t--)nML[t]=i,i*=.5;for(n=24,e=1;n>=0;n--)nMN[n]=e,e*=.5}function ntn(n,t){var e,i,r;Av(n.f,t)&&(t.b=n,i=t.c,-1!=Hb(n.j,i,0)||IE(n.j,i),r=t.d,-1!=Hb(n.j,r,0)||IE(n.j,r),0!=(e=t.a.b).c.length&&(n.i||(n.i=new J_(n)),function(n,t){var e,i;for(i=new h1(t);i.a1&&(n.j.b+=n.e)):(n.j.a+=e.a,n.j.b=nTv.Math.max(n.j.b,e.b),n.d.c.length>1&&(n.j.a+=n.e))}(n,e)}(n.i,e)))}function ntt(){ntt=C,n_l=new yN(npW,0),n_h=new yN("LONGEST_PATH",1),n_o=new yN("COFFMAN_GRAHAM",2),n_s=new yN(ndN,3),n_b=new yN("STRETCH_WIDTH",4),n_f=new yN("MIN_WIDTH",5)}function nte(n){var t;this.d=new wt,this.c=n.c,this.e=n.d,this.b=n.b,this.f=new CX(n.e),this.a=n.a,n.f?this.g=n.f:this.g=new PR(t=Im(pf(nCG),9),Im(Sz(t,t.length),9),0)}function nti(n,t){var e,i,r,c;(r=Ro(n,"layoutOptions"))||(r=Ro(n,nyk)),r&&(e=null,(c=r)&&(i=GI(c,_f(nTh,nhJ,2,0,6,1)),e=new vy(c,i)),e&&KA(e,new kQ(c,t)))}function ntr(n){if(Ti(n,239))return Im(n,33);if(Ti(n,186))return L8(Im(n,118));if(n)throw new gM("Only support nodes and ports.").e;throw new gv(nyJ).e}function ntc(n,t,e){if(n.b)throw new gg("The task is already done.").e;return null==n.p&&(n.p=t,n.r=e,n.k&&(n.o=(vI(),VF(zD(Date.now()),nfP))),!0)}function nta(n){var t;return t=new gt,null!=n.tg()&&IY(t,nyF,n.tg()),null!=n.ne()&&IY(t,nyQ,n.ne()),null!=n.sg()&&IY(t,"description",n.sg()),t}function ntu(n,t,e){var i,r,c;return c=n.q,n.q=t,(4&n.Db)!=0&&(1&n.Db)==0&&(r=new O9(n,1,9,c,t),e?e.Ei(r):e=r),t?(i=t.c)!=n.r&&(e=n.nk(i,e)):n.r&&(e=n.nk(null,e)),e}function nto(n,t){var e,i,r,c,a;for(c=new wn,r=0,i=t.Kc();i.Ob();){for(e=Va(Im(i.Pb(),19).a+r);e.a=n.f)break;c.c[c.c.length]=e}return c}function nts(n){var t,e,i,r;for(t=null,r=new h1(n.wf());r.a0&&now(n.g,t,n.g,t+i,u),a=e.Kc(),n.i+=i,r=0;rc&&(h=Bj(e[u],nMI),Pv(s.substr(0,h.length),h))&&(r=u,c=o);return r>=0&&(i[0]=t+c),r}function ntd(n){var t,e;return n>=nls?(t=nlh+(n-nls>>10&1023)&nfI,e=56320+(n-nls&1023)&nfI,String.fromCharCode(t)+""+String.fromCharCode(e)):String.fromCharCode(n&nfI)}function ntg(){ntg=C,nXU=new kE(nwY,0),nXG=new kE("DIRECTED",1),nXX=new kE("UNDIRECTED",2),nXB=new kE("ASSOCIATION",3),nXz=new kE("GENERALIZATION",4),nXq=new kE("DEPENDENCY",5)}function ntp(n,t){var e,i;for($D(t),i=n.b.c.length,IE(n.b,t);i>0;){if(e=i,i=(i-1)/2|0,0>=n.a.ue(CA(n.b,i),t))return KL(n.b,e,t),!0;KL(n.b,e,CA(n.b,i))}return KL(n.b,i,t),!0}function ntv(n,t,e,i){var r,c;if(r=0,e)r=Wc(n.a[e.g][t.g],i);else for(c=0;c=nfP?"error":"warn",n.a),n.b&&function n(t,e,i,r,c){var a,u,o,s,h,f;for(function(n,t){(t||null==console.groupCollapsed?null!=console.group?console.group:console.log:console.groupCollapsed).call(console,n)}(r+Lm(i,i.$d()),c),$m(e,(h=i.e)&&(h.stack||((f=i[nfT])&&0!=f.length?" "+f.join("\n "):""))),(a=i.f)&&n(t,e,a,"Caused by: ",!1),null==i.k&&(i.k=_f(nE5,nhJ,78,0,0,1)),u=i.k,o=0,s=u.length;o=(r=n.Vi())||t<0)throw new gu(ny2+t+ny3+r).e;if(e>=r||e<0)throw new gu(ny4+e+ny3+r).e;return t!=e?(c=n.Ti(e),n.Hi(t,c),i=c):i=n.Oi(e),i}function ntK(n){var t,e,i;for(i=new zV(nhC,"[","]"),e=n.Kc();e.Ob();)Fd(i,jf(t=e.Pb())===jf(n)?"(this Collection)":null==t?nhL:V7(t));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function ntF(n,t){var e,i;if(i=!1,2>t.gc())return!1;for(e=0;e=n.charCodeAt(i));)++i;for(t=e;t>i&&(D5(t-1,n.length),32>=n.charCodeAt(t-1));)--t;return i>0||tSy(n.d).c?(n.i+=n.g.c,QV(n.d)):Sy(n.d).c>Sy(n.g).c?(n.e+=n.d.c,QV(n.g)):(n.i+=CD(n.g),n.e+=CD(n.d),QV(n.g),QV(n.d))}function ntU(n,t,e,i){n.a.d=nTv.Math.min(t,e),n.a.a=nTv.Math.max(t,i)-n.a.d,tu&&(o=u/i),r>c&&(s=c/r),a=nTv.Math.min(o,s),n.a+=a*(t.a-n.a),n.b+=a*(t.b-n.b)}function ntQ(n,t,e,i){return 0==e?(n.o||(n.o=new _x((nsZ(),nVA),nCq,n,0)),PC(n.o,t,i)):Im(Bm(Im(zF(n,16),26)||n.zh(),e),66).Nj().Rj(n,Jp(n),e-AW(n.zh()),t,i)}function ntJ(n,t){var e;t!=n.sb?(e=null,n.sb&&(e=Im(n.sb,49).ih(n,1,nCD,e)),t&&(e=Im(t,49).gh(n,1,nCD,e)),(e=WG(n,t,e))&&e.Fi()):(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,4,t,t))}function ntY(){ntY=C,nAV=new m4("NORMAL",0),nAW=new m4("LONG_EDGE",1),nAU=new m4("EXTERNAL_PORT",2),nAQ=new m4("NORTH_SOUTH_PORT",3),nAX=new m4("LABEL",4),nAz=new m4("BREAKING_POINT",5)}function ntZ(n,t){var e,i,r;return(t&=63)<22?(e=n.l<>22-t,r=n.h<>22-t):t<44?(e=0,i=n.l<>44-t):(e=0,i=0,r=n.l<1&&(n.e.b+=n.a)):(n.e.a+=e.a,n.e.b=nTv.Math.max(n.e.b,e.b),n.d.c.length>1&&(n.e.a+=n.a))}function nea(n,t,e,i,r){if(ii&&(n.a=i),n.br&&(n.b=r),n}function neu(n,t,e,i){var r,c;if(t.k==(ntY(),nAW)){for(c=new OM(Tx(VG(t).a.Kc(),new s));nrc(c);)if((r=Im(K4(c),17)).c.i.k==nAW&&n.c.a[r.c.i.c.p]==i&&n.c.a[t.c.p]==e)return!0}return!1}function neo(n,t,e,i){var r;this.b=i,this.e=n==(qH(),nHp),r=t[e],this.d=Cv(nYL,[nhJ,nbf],[177,25],16,[r.length,r.length],2),this.a=Cv(nYN,[nhJ,nfB],[48,25],15,[r.length,r.length],2),this.c=new nn1(t,e)}function nes(n,t){var e,i,r;Av(n.d,t),e=new cM,$J(n.c,t,e),e.f=Wb(t.c),e.a=Wb(t.d),e.d=(ncS(),(r=t.c.i.k)==(ntY(),nAV)||r==nAz),e.e=(i=t.d.i.k)==nAV||i==nAz,e.b=t.c.j==(nsR(),nWJ),e.c=t.d.j==nWA}function neh(n){var t;return(64&n.Db)!=0?nt3(n):(t=new TV(nm5),n.a&&jP(jP((t.a+=' "',t),n.a),'"'),jP(pN(jP(pN(jP(pN(jP(pN((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function nef(n,t,e){var i,r,c,a,u;for(a=0,u=ncT(n.e.Tg(),t),r=Im(n.g,119),i=0;a=0?n.Bh(r):nic(n,i);else throw new gd(nyn+i.ne()+nyt).e}else throw new gd(nyr+t+nyc).e}else W5(n,e,i)}function ney(n){var t,e;if(e=null,t=!1,Ti(n,204)&&(t=!0,e=Im(n,204).a),!t&&Ti(n,258)&&(t=!0,e=""+Im(n,258).a),!t&&Ti(n,483)&&(t=!0,e=""+Im(n,483).a),!t)throw new gs(nyK).e;return e}function nek(n,t){var e,i;if(!n.f)return t.Ob();for(;t.Ob();)if(Ti(i=(e=Im(t.Pb(),72)).ak(),99)&&(Im(i,18).Bb&nya)!=0&&(!n.e||i.Gj()!=nCP||0!=i.aj())&&null!=e.dd())return t.Ub(),!0;return!1}function nej(n,t){var e,i;if(!n.f)return t.Sb();for(;t.Sb();)if(Ti(i=(e=Im(t.Ub(),72)).ak(),99)&&(Im(i,18).Bb&nya)!=0&&(!n.e||i.Gj()!=nCP||0!=i.aj())&&null!=e.dd())return t.Pb(),!0;return!1}function neE(n,t,e){var i,r,c,a,u,o;for(a=0,o=ncT(n.e.Tg(),t),i=0,u=n.i,r=Im(n.g,119);a=(r/2|0))for(this.e=i?i.c:null,this.d=r;e++0;)Dy(this);this.b=t,this.a=null}function neN(n,t){var e,i;if(e=Im($6(n.b,t),124),Im(Im(Fl(n.r,t),21),84).dc()){e.n.b=0,e.n.c=0;return}e.n.b=n.C.b,e.n.c=n.C.c,n.A.Hc((QJ(),nW8))&&nav(n,t),i=function(n,t){var e,i,r;for(r=0,i=Im(Im(Fl(n.r,t),21),84).Kc();i.Ob();)r+=(e=Im(i.Pb(),111)).d.b+e.b.rf().a+e.d.c,i.Ob()&&(r+=n.w);return r}(n,t),nc3(n,t)==(Jq(),nWb)&&(i+=2*n.w),e.a.a=i}function neL(n,t){var e,i;if(e=Im($6(n.b,t),124),Im(Im(Fl(n.r,t),21),84).dc()){e.n.d=0,e.n.a=0;return}e.n.d=n.C.d,e.n.a=n.C.a,n.A.Hc((QJ(),nW8))&&nam(n,t),i=function(n,t){var e,i,r;for(r=0,i=Im(Im(Fl(n.r,t),21),84).Kc();i.Ob();)r+=(e=Im(i.Pb(),111)).d.d+e.b.rf().b+e.d.a,i.Ob()&&(r+=n.w);return r}(n,t),nc3(n,t)==(Jq(),nWb)&&(i+=2*n.w),e.a.b=i}function neD(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w;return u=n.a,f=n.b,o=t.a,l=t.b,s=e.a,b=e.b,h=i.a,w=i.b,c=u*l-f*o,a=s*w-b*h,r=(u-o)*(b-w)-(f-l)*(s-h),new kp((c*(s-h)-a*(u-o))/r,(c*(b-w)-a*(f-l))/r)}function nex(n,t){var e,i,r;if(!n.d[t.p]){for(n.d[t.p]=!0,n.a[t.p]=!0,i=new OM(Tx(Vz(t).a.Kc(),new s));nrc(i);)KR(e=Im(K4(i),17))||(r=e.d.i,n.a[r.p]?IE(n.b,e):nex(n,r));n.a[t.p]=!1}}function neR(n,t,e){var i;switch(i=0,Im(ntP(t,(ns8(),nKY)),163).g){case 2:i=-(2*e)+n.a,++n.a;break;case 1:i=-e;break;case 3:i=e;break;case 4:i=2*e+n.b,++n.b}return MB(t,(nhu(),nDj))&&(i+=Im(ntP(t,nDj),19).a),i}function neK(n){var t,e;return Im(nrM(n,(nha(),nUR)),21).Hc((QJ(),nW4))?(e=Im(nrM(n,nUB),21),t=new Ee(Im(nrM(n,nU_),8)),e.Hc((na9(),nVt))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t):new ps}function neF(n){var t,e,i;if(!n.b){for(i=new uf,e=new Mm(non(n));e.e!=e.i.gc();)((t=Im(J0(e),18)).Bb&nya)!=0&&_P(i,t);X5(i),n.b=new jW((Im(BX(N6(($g(),nQO).o),8),18),i.i),i.g),KJ(n).b&=-9}return n.b}function ne_(n){var t,e,i,r,c,a,u;if(NV(),Ti(n,54))for(c=0,r=n.gc()-1;cnTv.Math.abs(i-r))}function neq(n,t,e){var i,r,c,a;if(null!=(c=Im(zF(n.a,8),1936)))for(i=0,r=c.length;ie.a&&(i.Hc((nnF(),nz4))?r=(t.a-e.a)/2:i.Hc(nz6)&&(r=t.a-e.a)),t.b>e.b&&(i.Hc((nnF(),nz9))?c=(t.b-e.b)/2:i.Hc(nz8)&&(c=t.b-e.b)),ntE(n,r,c)}function nez(n,t,e,i,r,c,a,u,o,s,h,f,l){Ti(n.Cb,88)&&ne2(KJ(Im(n.Cb,88)),4),GF(n,e),n.f=a,Vj(n,u),VT(n,o),Vk(n,s),VE(n,h),Vi(n,f),VS(n,l),Vn(n,!0),qg(n,r),n.ok(c),Ww(n,t),null!=i&&(n.i=null,Gg(n,i))}function neU(n){var t,e;if(!n.f)return n.n>0;for(;n.n>0;){if(Ti(e=(t=Im(n.k.Xb(n.n-1),72)).ak(),99)&&(Im(e,18).Bb&nya)!=0&&(!n.e||e.Gj()!=nCP||0!=e.aj())&&null!=t.dd())return!0;--n.n}return!1}function neX(n,t,e){if(n<0)return naT(nhO,Um(Dg(nEX,1),nhA,1,5,[e,Va(n)]));if(t<0)throw new gd(nh$+t).e;return naT("%s (%s) must not be greater than size (%s)",Um(Dg(nEX,1),nhA,1,5,[e,Va(n),Va(t)]))}function neW(n,t){var e,i,r;for(r=new wn,i=new h1(n.c.a.b);i.a=0?n.sh(c,e):nr2(n,r,e);else throw new gd(nyn+r.ne()+nyt).e}else throw new gd(nyr+t+nyc).e}else V5(n,i,r,e)}function neQ(n,t,e){var i,r,c,a;if(a=null==t?0:n.b.se(t),0==(r=null==(i=n.a.get(a))?[]:i).length)n.a.set(a,r);else if(c=X8(n,t,r))return c.ed(e);return $t(r,r.length,new mN(t,e)),++n.c,Li(n.b),null}function neJ(n,t){var e;return xY(n.a),Ak(n.a,(GN(),nB9),nB9),Ak(n.a,nB7,nB7),Cg(e=new Rf,nB7,(V0(),nqi)),jf(nrM(t,(Zx(),nqT)))!==jf((XX(),nqo))&&Cg(e,nB7,nqt),Cg(e,nB7,nqe),zM(n.a.a,e),noU(n.a,t)}function neY(n){if(!n)return gx(),nTB;var t=n.valueOf?n.valueOf():n;if(t!==n){var e=nTq[typeof t];return e?e(t):Wu(typeof t)}return n instanceof Array||n instanceof nTv.Array?new hP(n):new hO(n)}function neZ(n,t,e){var i,r,c;switch(c=n.o,(r=(i=Im($6(n.p,e),244)).i).b=nid(i),r.a=niw(i),r.b=nTv.Math.max(r.b,c.a),r.b>c.a&&!t&&(r.b=c.a),r.c=-(r.b-c.a)/2,e.g){case 1:r.d=-r.a;break;case 3:r.d=c.b}nu_(i),nuG(i)}function ne1(n,t,e){var i,r,c;switch(c=n.o,(r=(i=Im($6(n.p,e),244)).i).b=nid(i),r.a=niw(i),r.a=nTv.Math.max(r.a,c.b),r.a>c.b&&!t&&(r.a=c.b),r.d=-(r.a-c.b)/2,e.g){case 4:r.c=-r.b;break;case 2:r.c=c.a}nu_(i),nuG(i)}function ne0(n,t){var e,i,r,c;return e=qy(n,"x"),qh(new bm(t).a,null==e||PL(($D(e),e))||isNaN(($D(e),e))?0:($D(e),e)),i=qy(n,"y"),qf(new by(t).a,null==i||PL(($D(i),i))||isNaN(($D(i),i))?0:($D(i),i)),r=qy(n,nyT),qs(new bk(t).a,null==r||PL(($D(r),r))||isNaN(($D(r),r))?0:($D(r),r)),c=qy(n,nyE),qo(new bj(t).a,null==c||PL(($D(c),c))||isNaN(($D(c),c))?0:($D(c),c)),c}function ne2(n,t){nag(n,t),(1&n.b)!=0&&(n.a.a=null),(2&n.b)!=0&&(n.a.f=null),(4&n.b)!=0&&(n.a.g=null,n.a.i=null),(16&n.b)!=0&&(n.a.d=null,n.a.e=null),(8&n.b)!=0&&(n.a.b=null),(32&n.b)!=0&&(n.a.j=null,n.a.c=null)}function ne3(n,t){var e,i,r,c,a,u;for(e=n.b.c.length,r=CA(n.b,t);2*t+1n.a.ue(CA(n.b,a),CA(n.b,c))&&(u=a),i=u,!(0>n.a.ue(r,CA(n.b,i))));)KL(n.b,t,CA(n.b,i)),t=i;KL(n.b,t,r)}function ne4(n,t,e,i,r,c){var a,u,o,s;for(jf(n)===jf(e)&&(n=n.slice(t,t+r),t=0),u=t,o=t+r;u0)for(a=n.c.d,r=To(S7(new kp((u=n.d.d).a,u.b),a),1/(i+1)),c=new kp(a.a,a.b),e=new h1(n.a);e.a(D4(c+1,t.c.length),Im(t.c[c+1],19)).a-i&&++u,IE(r,(D4(c+u,t.c.length),Im(t.c[c+u],19))),a+=(D4(c+u,t.c.length),Im(t.c[c+u],19)).a-i,++e;e=0?n._g(e,!0,!0):niO(n,r,!0),153),Im(i,215).ol(t);else throw new gd(nyn+t.ne()+nyt).e}function nia(n){var t,e;return n>-140737488355328&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),e=LU(nTv.Math.floor(nTv.Math.log(n)/.6931471805599453)),(!t||n!=nTv.Math.pow(2,e))&&++e,e):z8(zD(n))}function niu(n,t){var e,i,r,c;return z5(i=new Y$(n),t),UU(i,(nhu(),nDi),t),UU(i,(ns8(),nFE),(nn2(),nWv)),UU(i,nR9,(Yv(),nzH)),ntY(),c=nAU,i.k=c,DM(e=new nt9,i),ne9(e,(nsR(),nWJ)),DM(r=new nt9,i),ne9(r,nWA),i}function nio(n){switch(n.g){case 0:return new gh((qH(),nHg));case 1:return new sC;case 2:return new sx;default:throw new gd("No implementation is available for the crossing minimizer "+(null!=n.f?n.f:""+n.g)).e}}function nis(){nis=C,nWI=new kC("OUTSIDE",0),nWS=new kC("INSIDE",1),nWP=new kC("NEXT_TO_PORT_IF_POSSIBLE",2),nWM=new kC("ALWAYS_SAME_SIDE",3),nWT=new kC("ALWAYS_OTHER_SAME_SIDE",4),nWC=new kC("SPACE_EFFICIENT",5)}function nih(n,t){var e,i,r;for(r=nhM,i=new h1(VV(t));i.a=(c=a.gc()))a.$b();else for(i=0,r=a.Kc();i0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}else a=(u=G2(Nd(Nb(AM(n.a),new nE),new nT))).a?u.b:0;return a>0?a+n.n.d+n.n.a:0}function nid(n){var t,e,i,r,c,a,u;if(a=0,0==n.b)a=(u=G2(Nd(Nb(AM(n.a),new nk),new nj))).a?u.b:0;else{for(i=0,c=Yz(n,!0),t=0,r=c.length;i0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}return a>0?a+n.n.b+n.n.c:0}function nig(n){var t,e;return e=new gX,e.a+="e_",null!=(t=0!=n.b.c.length&&Im(CA(n.b,0),70).a?Im(CA(n.b,0),70).a:NO(n))&&(e.a+=""+t),n.c&&n.d&&(jP((e.a+=" ",e),Zj(n.c)),jP(jS((e.a+="[",e),n.c.i),"]"),jP((e.a+=nw4,e),Zj(n.d)),jP(jS((e.a+="[",e),n.d.i),"]")),e.a}function nip(n){switch(n.g){case 0:return new sA;case 1:return new s$;case 2:return new sO;case 3:return new sN;default:throw new gd("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)).e}}function niv(n,t,e,i,r){var c;switch(c=0,r.g){case 1:c=nTv.Math.max(0,t.b+n.b-(e.b+i));break;case 3:c=nTv.Math.max(0,-n.b-i);break;case 2:c=nTv.Math.max(0,-n.a-i);break;case 4:c=nTv.Math.max(0,t.a+n.a-(e.a+i))}return c}function nim(n){var t,e;switch(n.b){case -1:return!0;case 0:if((e=n.t)>1||-1==e||(t=Z9(n))&&(mp(),t.Cj()==nk9))return n.b=-1,!0;return n.b=1,!1;default:return!1}}function niy(n,t){var e,i,r,c;if(nhe(n),0!=n.c||123!=n.a)throw new gO(nhd((E$(),nkl))).e;if(c=112==t,i=n.d,(e=MM(n.i,125,i))<0)throw new gO(nhd((E$(),nkb))).e;return r=MT(n.i,i,e),n.d=e+1,_C(r,c,(512&n.e)==512)}function nik(n,t,e,i,r){var c,a,u,o;return jf(o=Sn(n,Im(r,56)))!==jf(r)?(u=Im(n.g[e],72),Ts(n,e,nn6(n,e,c=RU(t,o))),Ea(n.e)&&(nnQ(a=LE(n,9,c.ak(),r,o,i,!1),new HE(n.e,9,n.c,u,c,i,!1)),Hk(a)),o):r}function nij(n,t){var e,i,r,c;try{return r=n.a,Mx(!!(c=($D(r),r).g)),$D(t),c(t)}catch(r){if(Ti(r=Uu(r),32)){try{if(i=nue(t,nfp,nhM),e=pf(n.a),i>=0&&i=0?n._g(e,!0,!0):niO(n,r,!0),153),Im(i,215).ll(t);throw new gd(nyn+t.ne()+nyi).e}function niT(n,t){var e,i,r;if(r=0,(i=t[0])>=n.length)return -1;for(D5(i,n.length),e=n.charCodeAt(i);e>=48&&e<=57&&(r=10*r+(e-48),!(++i>=n.length));)D5(i,n.length),e=n.charCodeAt(i);return i>t[0]?t[0]=i:r=-1,r}function niM(n){var t,e,i;for(t=null,e=AS(qO(Um(Dg(nEJ,1),nhA,20,0,[(n.b||(n.b=new Ph(nCA,n,4,7)),n.b),(n.c||(n.c=new Ph(nCA,n,5,8)),n.c)])));nrc(e);)if(i=ntr(Im(K4(e),82)),t){if(t!=i)return!1}else t=i;return!0}function niS(n,t,e){var i;if(++n.j,t>=n.i)throw new gu(ny2+t+ny3+n.i).e;if(e>=n.i)throw new gu(ny4+e+ny3+n.i).e;return i=n.g[e],t!=e&&(t>16))>>16&16),n>>=t,e+=t=(i=n-256)>>16&8,n<<=t,e+=t=(i=n-nlu)>>16&4,n<<=t,e+=t=(i=n-nhY)>>16&2,n<<=t,e+2-(t=(i=n>>14)&~(i>>1)))}function niC(n,t){var e,i,r,c,a,u,o,s;for(u=1,s=gy(Ss(ntP(t,(ns8(),nF0)))),o=n[0].n.a+n[0].o.a+n[0].d.c+s;u=0?n._g(i,!0,!0):niO(n,c,!0),153),Im(r,215).hl(t,e);throw new gd(nyn+t.ne()+nyi).e}function niA(n,t,e,i){var r,c,a,u,o;if(r=n.d[t]){if(c=r.g,o=r.i,null!=i){for(u=0;u>5,r=31&i,(a=_f(nYN,nfB,25,c+1,15,1))[c]=1<1;t>>=1)(1&t)!=0&&(i=H8(i,e)),e=1==e.d?H8(e,e):new JT(nuu(e.a,e.d,_f(nYN,nfB,25,e.d<<1,15,1)));return H8(i,e)}(n,t)}function niN(n){var t,e,i,r;for(v2(),this.b=nAM,this.c=(W2(),nXO),this.f=(v0(),nAj),this.a=n,r=new tg,this.e=r,ncl(this),i=new h1(n.b);i.a=null.jm()?(nrV(n),niD(n)):t.Ob()}function nix(n){if(this.a=n,n.c.i.k==(ntY(),nAU))this.c=n.c,this.d=Im(ntP(n.c.i,(nhu(),nDr)),61);else if(n.d.i.k==nAU)this.c=n.d,this.d=Im(ntP(n.d.i,(nhu(),nDr)),61);else throw new gd("Edge "+n+" is not an external edge.").e}function niR(n,t){var e,i,r;r=n.b,n.b=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,3,r,n.b)),t?t!=n&&(GF(n,t.zb),qd(n,t.d),Gr(n,null==(e=null==(i=t.c)?t.zb:i)||Pv(e,t.zb)?null:e)):(GF(n,null),qd(n,0),Gr(n,null))}function niK(n){var t,e;if(!n.f)return n.n0?Ql(e):Vg(Ql(e)),Yu(t,nFI,r)}function niU(n,t){var e,i,r,c;n.ej()?(e=n.Vi(),c=n.fj(),++n.j,n.Hi(e,n.oi(e,t)),i=n.Zi(3,null,t,e,c),n.bj()&&(r=n.cj(t,null))?(r.Ei(i),r.Fi()):n.$i(i)):($y(n,t),n.bj()&&(r=n.cj(t,null))&&r.Fi())}function niX(n,t){var e,i,r,c,a;for(a=ncT(n.e.Tg(),t),r=new a7,e=Im(n.g,119),c=n.i;--c>=0;)i=e[c],a.rl(i.ak())&&_P(r,i);!nsW(n,r)&&Ea(n.e)&&wR(n,t.$j()?LE(n,6,t,(NV(),nMv),null,-1,!1):LE(n,t.Kj()?2:1,t,null,null,-1,!1))}function niW(){var n,t;for(t=0,niW=C,nMg=_f(nTl,nhJ,91,32,0,1),nMp=_f(nTl,nhJ,91,32,0,1),n=1;t<=18;t++)nMg[t]=JK(n),nMp[t]=JK(OR(n,t)),n=VF(n,5);for(;t=0?n.Qg(null):n.eh().ih(n,-1-t,null,null),n.Rg(Im(r,49),e),i&&i.Fi(),n.Lg()&&n.Mg()&&e>-1&&zx(n,new O9(n,9,e,c,r)),r):c}function ni7(n){var t,e,i,r,c,a,u;for(e=0,c=0,r=n.f.e;e>5)>=n.d)return n.e<0;if(e=n.a[r],t=1<<(31&t),n.e<0){if(r<(i=za(n)))return!1;e=i==r?-e:~e}return(e&t)!=0}function nri(n,t){var e,i,r,c,a,u,o;if(c=t.e){for(a=0,e=ni9(c),i=Im(n.g,674);a>16)),15).Xc(c))>t,c=n.m>>t|e<<22-t,r=n.l>>t|n.m<<22-t):t<44?(a=i?nf5:0,c=e>>t-22,r=n.m>>t-22|e<<44-t):(a=i?nf5:0,c=i?nf4:0,r=e>>t-44),Ez(r&nf4,c&nf4,a&nf5)}function nrf(n){var t,e,i,r,c,a;for(this.c=new wn,this.d=n,i=nlc,r=nlc,t=nla,e=nla,a=Jz(n,0);a.b!=a.d.c;)c=Im(RP(a),8),i=nTv.Math.min(i,c.a),r=nTv.Math.min(r,c.b),t=nTv.Math.max(t,c.a),e=nTv.Math.max(e,c.b);this.a=new Nj(i,r,t-i,e-r)}function nrl(n,t){var e,i,r,c;for(i=new h1(n.b);i.a=2)for(t=Ss((e=r.Kc()).Pb());e.Ob();)c=t,t=Ss(e.Pb()),i=nTv.Math.min(i,($D(t),t-($D(c),c)));return i}function nrj(n,t){var e;if(0!=n.c.length){if(2==n.c.length)nuS((D4(0,n.c.length),Im(n.c[0],10)),(ZR(),nX6)),nuS((D4(1,n.c.length),Im(n.c[1],10)),nX8);else for(e=new h1(n);e.a0&&r0)?Im(CA(e.a,i-1),10):null}(c,i))&&(s=n.g[o.p],a=gy(n.p[s.p])+gy(n.d[o.p])+o.o.b+o.d.a,r=nTv.Math.min(r,u-(a+EY(n.k,c,o))));while(t!=c);return r}(n.a,i.i,r,n.c),BZ(n.a,i.i,-e),e>0):r<0&&-r0)}function nrI(n){var t,e,i,r,c,a,u;for(i=nlc,e=nla,t=new h1(n.e.b);t.a=0;t-=2)for(e=0;e<=t;e+=2)(n.b[e]>n.b[e+2]||n.b[e]===n.b[e+2]&&n.b[e+1]>n.b[e+3])&&(i=n.b[e+2],n.b[e+2]=n.b[e],n.b[e]=i,i=n.b[e+3],n.b[e+3]=n.b[e+1],n.b[e+1]=i);n.c=!0}}function nrN(n,t){var e,i,r,c,a,u;for(c=(1==t?nAT:nAE).a.ec().Kc();c.Ob();)for(r=Im(c.Pb(),103),u=Im(Fl(n.f.c,r),21).Kc();u.Ob();)switch(a=Im(u.Pb(),46),i=Im(a.b,81),e=Im(a.a,189).c,r.g){case 2:case 1:i.g.d+=e;break;case 4:case 3:i.g.c+=e}}function nrL(n){var t;return t=new TV(pb(n.gm)),t.a+="@",jP(t,(Xg(n)>>>0).toString(16)),n.kh()?(t.a+=" (eProxyURI: ",jS(t,n.qh()),n.$g()&&(t.a+=" eClass: ",jS(t,n.$g())),t.a+=")"):n.$g()&&(t.a+=" (eClass: ",jS(t,n.$g()),t.a+=")"),t.a}function nrD(n){var t,e,i;if(n.e)throw new gg((Su(nSi),nlZ+nSi.k+nl1)).e;for(n.d==(W2(),nXO)&&nsj(n,nXI),e=new h1(n.a.a);e.a0&&t.ue((D4(r-1,n.c.length),Im(n.c[r-1],10)),c)>0;)KL(n,r,(D4(r-1,n.c.length),Im(n.c[r-1],10))),--r;D4(r,n.c.length),n.c[r]=c}e.a=new wt,e.b=new wt}function nrF(n,t,e){var i;if((n.c-n.b&n.a.length-1)==2)t==(nsR(),nW$)||t==nWA?(BN(Im(U3(n),15),(ZR(),nX6)),BN(Im(U3(n),15),nX8)):(BN(Im(U3(n),15),(ZR(),nX8)),BN(Im(U3(n),15),nX6));else for(i=new Nn(n);i.a!=i.b;)BN(Im(Wj(i),15),e)}function nr_(n,t){var e,i,r,c;return(r=n.a*nlI+1502*n.b,c=n.b*nlI+11,r+=e=nTv.Math.floor(c*nlC),c-=e*nlO,r%=nlO,n.a=r,n.b=c,t<=24)?nTv.Math.floor(n.a*nMN[t]):((i=n.a*(1<=2147483648&&(i-=nld),i)}function nrH(n,t,e){var i,r,c,a;xu(n,t)>xu(n,e)?(i=V_(e,(nsR(),nWA)),n.d=i.dc()?0:Cs(Im(i.Xb(0),11)),a=V_(t,nWJ),n.b=a.dc()?0:Cs(Im(a.Xb(0),11))):(r=V_(e,(nsR(),nWJ)),n.d=r.dc()?0:Cs(Im(r.Xb(0),11)),c=V_(t,nWA),n.b=c.dc()?0:Cs(Im(c.Xb(0),11)))}function nrB(n){var t,e,i,r,c,a,u;if(n&&(t=n.Hh(njE))&&null!=(a=Sh(Q_((t.b||(t.b=new M2((nhl(),nQQ),nQE,t)),t.b),"conversionDelegates")))){for(u=new wn,i=naX(a,"\\w+"),r=0,c=i.length;r>1,this.k=u-1>>1,function(n){var t,e,i,r,c,a,u;for(u=0,e=EI(n.e),c=To(Mz(E1(EP(n.e)),n.d*n.a,n.c*n.b),-.5),t=e.a-c.a,r=e.b-c.b;u0&&function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(s=t.c,r=EI(n.e),f=To(Mz(E1(EP(n.e)),n.d*n.a,n.c*n.b),-.5),e=r.a-f.a,i=r.b-f.b,e=(a=t.a).c-e,i=a.d-i,o=new h1(s);o.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&I2(t,i.b));for(r=new h1(n.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&I2(e,i.a))}function nrV(n){var t,e,i;if(null==n.g&&(n.d=n.si(n.f),_P(n,n.d),n.c))return n.f;if(i=(t=Im(n.g[n.i-1],47)).Pb(),n.e=t,(e=n.si(i)).Ob())n.d=e,_P(n,e);else for(n.d=null;!t.Ob()&&($t(n.g,--n.i,null),0!=n.i);)t=Im(n.g[n.i-1],47);return i}function nrQ(n){var t,e,i,r,c,a;for(t=0,e=new h1(n.a);e.a=0?n._g(i,!0,!0):niO(n,c,!0),153),Im(r,215).ml(t,e)}else throw new gd(nyn+t.ne()+nyt).e}function nr3(n){var t,e,i,r;if(!n.j){if(r=new ul,null==(t=nQ2).a.zc(n,t)){for(i=new Td(Lw(n));i.e!=i.i.gc();)AJ(r,nr3(e=Im(J1(i),26))),_P(r,e);t.a.Bc(n)}X5(r),n.j=new jW((Im(BX(N6(($g(),nQO).o),11),18),r.i),r.g),KJ(n).b&=-33}return n.j}function nr4(n,t){var e,i,r,c,a;for(r=t.a&n.f,c=null,i=n.b[r];;i=i.b){if(i==t){c?c.b=t.b:n.b[r]=t.b;break}c=i}for(a=t.f&n.f,c=null,e=n.c[a];;e=e.d){if(e==t){c?c.d=t.d:n.c[a]=t.d;break}c=e}t.e?t.e.c=t.c:n.a=t.c,t.c?t.c.e=t.e:n.e=t.e,--n.i,++n.g}function nr5(n,t){var e,i,r,c;for(MK((c=new Rn(n,0)).b0),c.a.Xb(c.c=--c.b),SB(c,r),MK(c.b>16!=6&&t){if(Z2(n,t))throw new gd(nyh+niQ(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ZV(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=J8(t,n,6,i)),(i=SS(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,6,t,t))}function nr9(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=9&&t){if(Z2(n,t))throw new gd(nyh+naO(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ZJ(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=J8(t,n,9,i)),(i=SP(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,9,t,t))}function nr7(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(Z2(n,t))throw new gd(nyh+nop(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Z4(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=J8(t,n,12,i)),(i=SM(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,3,t,t))}function ncn(n){var t,e,i,r,c;if(i=Z9(n),null==(c=n.j)&&i)return n.$j()?null:i.zj();if(Ti(i,148)){if((e=i.Aj())&&(r=e.Nh())!=n.i){if((t=Im(i,148)).Ej())try{n.g=r.Kh(t,c)}catch(t){if(Ti(t=Uu(t),78))n.g=null;else throw t.e}n.i=r}return n.g}return null}function nct(n){var t;return IE(t=new wn,new mH(new kp(n.c,n.d),new kp(n.c+n.b,n.d))),IE(t,new mH(new kp(n.c,n.d),new kp(n.c,n.d+n.a))),IE(t,new mH(new kp(n.c+n.b,n.d+n.a),new kp(n.c+n.b,n.d))),IE(t,new mH(new kp(n.c+n.b,n.d+n.a),new kp(n.c,n.d+n.a))),t}function nce(n,t){var e,i,r,c,a,u;for(r=0,a=new h1(t.a);a.a0&&w.a<=0){o.c=_f(nEX,nhA,1,0,5,1),o.c[o.c.length]=w;break}(b=w.i-w.d)>=u&&(b>u&&(o.c=_f(nEX,nhA,1,0,5,1),u=b),o.c[o.c.length]=w)}0!=o.c.length&&(a=Im(CA(o,Yk(r,o.c.length)),112),LW(m.a,a),a.g=h++,nuF(a,t,e,i),o.c=_f(nEX,nhA,1,0,5,1))}for(g=n.c.length+1,l=new h1(n);l.ai.b.g&&(c.c[c.c.length]=i);return c}function ncr(){ncr=C,nGm=new ko("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),nGv=new ko("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),nGk=new ko("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),nGy=new ko("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),nGj=new ko("WHOLE_DRAWING",4)}function ncc(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=11&&t){if(Z2(n,t))throw new gd(nyh+naC(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Z5(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=J8(t,n,10,i)),(i=S8(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,11,t,t))}function nca(n,t,e){return nc0(),!(zf(n,t)&&zf(n,e))&&(nsk(new kp(n.c,n.d),new kp(n.c+n.b,n.d),t,e)||nsk(new kp(n.c+n.b,n.d),new kp(n.c+n.b,n.d+n.a),t,e)||nsk(new kp(n.c+n.b,n.d+n.a),new kp(n.c,n.d+n.a),t,e)||nsk(new kp(n.c,n.d+n.a),new kp(n.c,n.d),t,e))}function ncu(n,t){var e,i,r,c;if(!n.dc()){for(e=0,i=n.gc();e>16!=7&&t){if(Z2(n,t))throw new gd(nyh+neh(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ZQ(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Im(t,49).gh(n,1,nCC,i)),(i=Ow(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,7,t,t))}function ncg(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(Z2(n,t))throw new gd(nyh+W7(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ZZ(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Im(t,49).gh(n,0,nCL,i)),(i=Od(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,3,t,t))}function ncp(n,t){var e,i,r,c,a;if((null==n.i&&nuq(n),n.i).length,!n.p){for(a=new vL((3*n.g.i/2|0)+1),r=new Mm(n.g);r.e!=r.i.gc();)c=(i=Im(J0(r),170)).ne(),(e=Im(null==c?neQ(a.f,null,i):VH(a.g,c,i),170))&&(null==c?neQ(a.f,null,e):VH(a.g,c,e));n.p=a}return Im(Lz(n.p,t),170)}function ncv(n,t,e,i){var r,c,a,u;for(a=(u=t.e).length,c=t.q._f(u,e?0:a-1,e)|nap(n,u[e?0:a-1],e,i),r=e?1:a-2;e?r=0;r+=e?1:-1)c|=t.c.Sf(u,r,e,i&&!gm(So(ntP(t.j,(nhu(),nDa))))&&!gm(So(ntP(t.j,(nhu(),nDR))))),c|=t.q._f(u,r,e),c|=nap(n,u[r],e,i);return Av(n.c,t),c}function ncm(n,t,e){var i,r,c,a,u,o,s,h;for(o=Ri(n.j),s=0,h=o.length;so-n.b&&uo-n.a&&u=0&&!YZ(n,h,f);)--f;r[h]=f}for(b=0;b=0&&!YZ(n,u,w);)--u;c[w]=u}for(o=0;ot[l]&&li[o]&&naI(n,o,l,!1,!0)}(c),IE(this.b,c),r+=c.o,i+=c.p;this.b.c.length>0&&(r+=(c=Im(CA(this.b,0),167)).o,i+=c.p),r*=2,i*=2,t>1?r=LU(nTv.Math.ceil(r*t)):i=LU(nTv.Math.ceil(i/t)),this.a=new QA(r,i)}function ncI(n,t,e,i,r,c){var a,u,o,s,h,f,l,b,w,d,g;for(s=i,t.j&&t.o?(w=(l=Im($a(n.f,t.A),57)).d.c+l.d.b,--s):w=t.a.c+t.a.b,h=r,e.q&&e.o?(o=(l=Im($a(n.f,e.C),57)).d.c,++h):o=e.a.c,d=o-w,b=w+(u=d/nTv.Math.max(2,h-s)),f=s;f=0;a+=r?1:-1){for(u=t[a],o=i==(nsR(),nWA)?r?V_(u,i):zI(V_(u,i)):r?zI(V_(u,i)):V_(u,i),c&&(n.c[u.p]=o.gc()),f=o.Kc();f.Ob();)h=Im(f.Pb(),11),n.d[h.p]=s++;Uf(e,o)}}function ncO(n,t,e){var i,r,c,a,u,o;for(i=gy(Ss(n.b.Kc().Pb())),u=gy(Ss(function(n){if(n){if(n.dc())throw(new wO).e;return n.Xb(n.gc()-1)}return D1(n.Kc())}(t.b))),o=S9(To(E1(n.a),u-e),To(E1(t.a),e-i)),To(o,1/(u-i)),this.a=o,this.b=new wn,c=!0,(r=n.b.Kc()).Pb();r.Ob();)a=gy(Ss(r.Pb())),c&&a-e>np9&&(this.b.Fc(e),c=!1),this.b.Fc(a);c&&this.b.Fc(e)}function ncA(n,t){var e,i,r;if(UM(),e=KW(qK(),t.tg())){if(i=e.j,Ti(n,239))return((r=Im(n,33)).a||(r.a=new An(nCF,r,10,11)),r.a.i>0)?T8(i,(JB(),nzT))||T8(i,nzM):T8(i,(JB(),nzT));if(Ti(n,352))return T8(i,(JB(),nzj));if(Ti(n,186))return T8(i,(JB(),nzS));if(Ti(n,354))return T8(i,(JB(),nzE))}return!0}function nc$(n,t){if(t instanceof Object)try{if(t.__java$exception=n,-1!=navigator.userAgent.toLowerCase().indexOf("msie")&&$doc.documentMode<9)return;Object.defineProperties(t,{cause:{get:function(){var t=n.Zd();return t&&t.Xd()}},suppressed:{get:function(){return n.Yd()}}})}catch(n){}}function ncN(n,t){var e,i,r,c,a;if(i=t>>5,t&=31,i>=n.d)return n.e<0?(nc4(),nMo):(nc4(),nMb);if(function(n,t,e,i,r){var c,a,u;for(a=0,c=!0;a>>r|e[a+i+1]<>>r,++a}}(r=_f(nYN,nfB,25,(c=n.d-i)+1,15,1),c,n.a,i,t),n.e<0){for(e=0;e0&&n.a[e]<<32-t!=0){for(e=0;e=0)&&(!(e=noW((neS(),nJk),r,t))||((i=e.Zj())>1||-1==i)&&3!=$H(HC(nJk,e))))}function ncR(n,t,e){var i,r,c,a,u,o,s;if(o=n.length,(c=n[e?o-1:0])[0].k==(ntY(),nAU))for(s=c.length,r=e?0:s-1,u=t.j,i=0;i>24}(n));break;case 2:n.g=Ua(function(n){if(2!=n.p)throw(new wM).e;return CZ(n.f)&nfI}(n));break;case 3:n.g=function(n){if(3!=n.p)throw(new wM).e;return n.e}(n);break;case 4:n.g=new h_(function(n){if(4!=n.p)throw(new wM).e;return n.e}(n));break;case 6:n.g=Jy(function(n){if(6!=n.p)throw(new wM).e;return n.f}(n));break;case 5:n.g=Va(function(n){if(5!=n.p)throw(new wM).e;return CZ(n.f)}(n));break;case 7:n.g=Vu(function(n){if(7!=n.p)throw(new wM).e;return CZ(n.f)<<16>>16}(n))}return n.g}function ncF(n){if(null==n.n)switch(n.p){case 0:n.n=!function(n){if(0!=n.p)throw(new wM).e;return jv(n.k,0)}(n)?(TX(),nTV):(TX(),nTQ);break;case 1:n.n=H4(function(n){if(1!=n.p)throw(new wM).e;return CZ(n.k)<<24>>24}(n));break;case 2:n.n=Ua(function(n){if(2!=n.p)throw(new wM).e;return CZ(n.k)&nfI}(n));break;case 3:n.n=function(n){if(3!=n.p)throw(new wM).e;return n.j}(n);break;case 4:n.n=new h_(function(n){if(4!=n.p)throw(new wM).e;return n.j}(n));break;case 6:n.n=Jy(function(n){if(6!=n.p)throw(new wM).e;return n.k}(n));break;case 5:n.n=Va(function(n){if(5!=n.p)throw(new wM).e;return CZ(n.k)}(n));break;case 7:n.n=Vu(function(n){if(7!=n.p)throw(new wM).e;return CZ(n.k)<<16>>16}(n))}return n.n}function nc_(n){var t,e,i,r,c,a;for(r=new h1(n.a.a);r.a0&&(e[0]+=n.d,a-=e[0]),e[2]>0&&(e[2]+=n.d,a-=e[2]),c=nTv.Math.max(0,a),e[1]=nTv.Math.max(e[1],a),K7(n,nSV,r.c+i.b+e[0]-(e[1]-a)/2,e),t==nSV&&(n.c.b=c,n.c.c=r.c+i.b+(c-a)/2)}function ncG(){this.c=_f(nYR,nlf,25,(nsR(),Um(Dg(nCy,1),nwZ,61,0,[nWQ,nW$,nWA,nWV,nWJ])).length,15,1),this.b=_f(nYR,nlf,25,Um(Dg(nCy,1),nwZ,61,0,[nWQ,nW$,nWA,nWV,nWJ]).length,15,1),this.a=_f(nYR,nlf,25,Um(Dg(nCy,1),nwZ,61,0,[nWQ,nW$,nWA,nWV,nWJ]).length,15,1),mO(this.c,nlc),mO(this.b,nla),mO(this.a,nla)}function ncz(n,t,e){var i,r,c,a;if(t<=e?(r=t,c=e):(r=e,c=t),i=0,null==n.b)n.b=_f(nYN,nfB,25,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(i=n.b.length,n.b[i-1]+1==r){n.b[i-1]=c;return}a=_f(nYN,nfB,25,i+2,15,1),now(n.b,0,a,0,i),n.b=a,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||nr$(n)}}function ncU(n,t,e,i,r){var c,a,u;if(n.d&&n.d.lg(r),YD(n,e,Im(r.Xb(0),33),!1)||YD(n,i,Im(r.Xb(r.gc()-1),33),!0)||ntF(n,r))return!0;for(u=r.Kc();u.Ob();)for(a=Im(u.Pb(),33),c=t.Kc();c.Ob();)if(nan(n,a,Im(c.Pb(),33)))return!0;return!1}function ncX(n,t,e){var i,r;if(0==(n.a||(n.a=new An(nCN,n,6,6)),n.a).i)return UA(n);if(i=Im(BX((n.a||(n.a=new An(nCN,n,6,6)),n.a),0),202),t&&(noK((i.a||(i.a=new Tg(nCI,i,5)),i.a)),ql(i,0),qw(i,0),qu(i,0),qb(i,0)),e)for(n.a||(n.a=new An(nCN,n,6,6)),r=n.a;r.i>1;)ncQ(r,r.i-1);return i}function ncW(n,t){var e,i,r,c,a,u,o;for(e=new b7,c=new h1(n.b);c.an.d[a.p]&&(e+=KC(n.b,c),RC(n.a,Va(c)));for(;!gk(n.a);)H3(n.b,Im(Al(n.a),19).a)}return e}function ncQ(n,t){var e,i,r,c;return n.ej()?(i=null,r=n.fj(),n.ij()&&(i=n.kj(n.pi(t),null)),e=n.Zi(4,c=ZI(n,t),null,t,r),n.bj()&&null!=c?(i=n.dj(c,i))?(i.Ei(e),i.Fi()):n.$i(e):i?(i.Ei(e),i.Fi()):n.$i(e)):(c=ZI(n,t),n.bj()&&null!=c&&(i=n.dj(c,null))&&i.Fi()),c}function ncJ(){ncJ=C,nL$=new yC("COMMENTS",0),nLL=new yC("EXTERNAL_PORTS",1),nLD=new yC("HYPEREDGES",2),nLx=new yC("HYPERNODES",3),nLR=new yC("NON_FREE_PORTS",4),nLK=new yC("NORTH_SOUTH_PORTS",5),nL_=new yC(ndx,6),nLA=new yC("CENTER_LABELS",7),nLN=new yC("END_LABELS",8),nLF=new yC("PARTITIONS",9)}function ncY(n){var t,e,i,r,c;for(r=new wn,t=new CI((n.a||(n.a=new An(nCF,n,10,11)),n.a)),i=new OM(Tx(nrZ(n).a.Kc(),new s));nrc(i);)!Ti(BX(((e=Im(K4(i),79)).b||(e.b=new Ph(nCA,e,4,7)),e.b),0),186)&&(c=ntr(Im(BX((e.c||(e.c=new Ph(nCA,e,5,8)),e.c),0),82)),t.a._b(c)||(r.c[r.c.length]=c));return r}function ncZ(n,t){var e,i,r;Dt(n)&&(r=Im(ntP(t,(ns8(),nFu)),174),jf(nrM(n,nFE))===jf((nn2(),nWj))&&Yu(n,nFE,nWk),mo(),i=nsM(new gl(Dt(n)),new Mw(Dt(n)?new gl(Dt(n)):null,n),!1,!0),Gv(r,(QJ(),nW4)),(e=Im(ntP(t,nFs),8)).a=nTv.Math.max(i.a,e.a),e.b=nTv.Math.max(i.b,e.b))}function nc1(){nc1=C,nNA=new NT(nbA,0,(nsR(),nW$),nW$),nNL=new NT(nbN,1,nWV,nWV),nNO=new NT(nb$,2,nWA,nWA),nNR=new NT(nbL,3,nWJ,nWJ),nNN=new NT("NORTH_WEST_CORNER",4,nWJ,nW$),nN$=new NT("NORTH_EAST_CORNER",5,nW$,nWA),nNx=new NT("SOUTH_WEST_CORNER",6,nWV,nWJ),nND=new NT("SOUTH_EAST_CORNER",7,nWA,nWV)}function nc0(){nc0=C,nzK=Um(Dg(nYD,1),nlo,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),nTv.Math.pow(2,-65)}function nc2(n,t){var e,i,r,c,a;if(0==n.c.length)return new k_(Va(0),Va(0));for(e=(D4(0,n.c.length),Im(n.c[0],11)).j,a=0,c=t.g,i=t.g+1;a=48;e--)nYe[e]=e-48<<24>>24;for(i=70;i>=65;i--)nYe[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)nYe[r]=r-97+10<<24>>24;for(c=0;c<10;c++)nYi[c]=48+c&nfI;for(n=10;n<=15;n++)nYi[n]=65+n-10&nfI}function nan(n,t,e){var i,r,c,a,u,o,s,h;return u=t.i-n.g/2,o=e.i-n.g/2,s=t.j-n.g/2,h=e.j-n.g/2,c=t.g+n.g/2,a=e.g+n.g/2,i=t.f+n.g/2,r=e.f+n.g/2,u=0;--i)for(r=0,t=e[i];r=n.a||!nn4(t,e))return -1;if(RT(Im(i.Kb(t),20)))return 1;for(r=0,a=Im(i.Kb(t),20).Kc();a.Ob();)if(-1==(u=nai(n,(c=Im(a.Pb(),17)).c.i==t?c.d.i:c.c.i,e,i))||(r=nTv.Math.max(r,u))>n.c-1)return -1;return r+1}function nar(n,t){var e,i,r,c,a,u;if(jf(t)===jf(n))return!0;if(!Ti(t,15)||(i=Im(t,15),u=n.gc(),i.gc()!=u))return!1;if(a=i.Kc(),n.ni()){for(e=0;e0){if(n.qj(),null!=t){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw new gG("Invalid hexadecimal").e}}function nau(){nau=C,nSU=new mW("SPIRAL",0),nSH=new mW("LINE_BY_LINE",1),nSB=new mW("MANHATTAN",2),nS_=new mW("JITTER",3),nSG=new mW("QUADRANTS_LINE_BY_LINE",4),nSz=new mW("QUADRANTS_MANHATTAN",5),nSq=new mW("QUADRANTS_JITTER",6),nSF=new mW("COMBINE_LINE_BY_LINE_MANHATTAN",7),nSK=new mW("COMBINE_JITTER_MANHATTAN",8)}function nao(n,t,e,i){var r,c,a,u,o,h;for(o=nnk(n,e),h=nnk(t,e),r=!1;o&&h;)if(i||function(n,t,e){var i,r,c,a,u;for(c=n.c,u=e?t:n,i=e?n:t,r=u.p+1;r=t.length)throw new gu("Greedy SwitchDecider: Free layer not in graph.").e;this.c=t[n],this.e=new Px(i),GS(this.e,this.c,(nsR(),nWJ)),this.i=new Px(i),GS(this.i,this.c,nWA),this.f=new CQ(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(ntY(),nAU),this.a&&(a=t.length,f=(s=this.d.p).e,l=s.r,this.g=new Px(l),u=(h=this.d.o.c.p)>0?f[h-1]:_f(nPV,nw9,10,0,0,1),o=f[h],b=h0&&t0?c.a?e>(u=c.b.rf().a)&&(r=(e-u)/2,c.d.b=r,c.d.c=r):c.d.c=n.s+e:OQ(n.u)&&((i=nts(c.b)).c<0&&(c.d.b=-i.c),i.c+i.b>c.b.rf().a&&(c.d.c=i.c+i.b-c.b.rf().a))}(n,t),r=null,o=null,u){for(o=r=Im((c=a.Kc()).Pb(),111);c.Ob();)o=Im(c.Pb(),111);r.d.b=0,o.d.c=0,h&&!r.a&&(r.d.c=0)}f&&(function(n){var t,e,i,r,c;for(t=0,e=0,c=n.Kc();c.Ob();)i=Im(c.Pb(),111),t=nTv.Math.max(t,i.d.b),e=nTv.Math.max(e,i.d.c);for(r=n.Kc();r.Ob();)(i=Im(r.Pb(),111)).d.b=t,i.d.c=e}(a),u&&(r.d.b=0,o.d.c=0))}function nam(n,t){var e,i,r,c,a,u,o,s,h,f;if(a=Im(Im(Fl(n.r,t),21),84),u=n.u.Hc((nis(),nWI)),e=n.u.Hc(nWM),i=n.u.Hc(nWT),o=n.u.Hc(nWC),f=n.B.Hc((na9(),nVu)),s=!e&&!i&&(o||2==a.gc()),function(n,t){var e,i,r,c,a,u,o;for(u=Im(Im(Fl(n.r,t),21),84).Kc();u.Ob();)(i=(a=Im(u.Pb(),111)).c?Ct(a.c):0)>0?a.a?i>(o=a.b.rf().b)&&(n.v||1==a.c.d.c.length?(c=(i-o)/2,a.d.d=c,a.d.a=c):(e=(Im(CA(a.c.d,0),181).rf().b-o)/2,a.d.d=nTv.Math.max(0,e),a.d.a=i-e-o)):a.d.a=n.t+i:OQ(n.u)&&((r=nts(a.b)).d<0&&(a.d.d=-r.d),r.d+r.a>a.b.rf().b&&(a.d.a=r.d+r.a-a.b.rf().b))}(n,t),h=null,r=null,u){for(r=h=Im((c=a.Kc()).Pb(),111);c.Ob();)r=Im(c.Pb(),111);h.d.d=0,r.d.a=0,s&&!h.a&&(h.d.a=0)}f&&(function(n){var t,e,i,r,c;for(e=0,t=0,c=n.Kc();c.Ob();)i=Im(c.Pb(),111),e=nTv.Math.max(e,i.d.d),t=nTv.Math.max(t,i.d.a);for(r=n.Kc();r.Ob();)(i=Im(r.Pb(),111)).d.d=e,i.d.a=t}(a),u&&(h.d.d=0,r.d.a=0))}function nay(n){var t;return(64&n.Db)!=0?niJ(n):(t=new TW(niJ(n)),t.a+=" (changeable: ",p$(t,(n.Bb&nyp)!=0),t.a+=", volatile: ",p$(t,(n.Bb&njn)!=0),t.a+=", transient: ",p$(t,(n.Bb&nlu)!=0),t.a+=", defaultValueLiteral: ",jT(t,n.j),t.a+=", unsettable: ",p$(t,(n.Bb&nk7)!=0),t.a+=", derived: ",p$(t,(n.Bb&nhY)!=0),t.a+=")",t.a)}function nak(n,t,e,i){var r,c,a,u,o,s;if(null==e){for(u=0,r=Im(n.g,119);u1||-1==a)&&(c|=16),(r.Bb&nya)!=0&&(c|=64)),(e.Bb&nls)!=0&&(c|=njn),c|=nyp):Ti(t,457)?c|=512:(i=t.Bj())&&(1&i.i)!=0&&(c|=256),(512&n.Bb)!=0&&(c|=128),c}function naT(n,t){var e,i,r,c,a;for(r=0,n=null==n?nhL:($D(n),n);r>>0).toString(16)),Kz(),i=nMB?new KG(null):function n(t,e){var i,r,c,a,u;return(i=Im(Lz(t.a,e),512))?i:(r=new KG(e),Kz(),a=n(t,MT(c=nMB?null:r.c,0,nTv.Math.max(0,T2(c,ntd(46))))),!nMB&&a&&(r.d=a),0==(nMB?null:r.c).length&&(u=new U,nMB||IE(r.a,u)),Dp(t.a,nMB?null:r.c,r),r)}(function(){var n,t,e,i,r;return!nM1&&(nM1=new wH,e=n=new KG(""),vX(),i=nMZ,nMB||(e.b=i),t=nM1,0==((Kz(),nMB)?null:n.c).length&&(r=new U,nMB||IE(n.a,r)),Dp(t.a,nMB?null:n.c,n)),nM1}(),"com.google.common.base.Strings"),vX(),r="Exception during lenientFormat for "+e,(nM_?(function(n){var t,e;if(n.b)return n.b;for(e=nMB?null:n.d;e;){if(t=nMB?null:e.b)return t;e=nMB?null:e.d}vX()}(i),0):nMH?(vX(),0):nMG?(vX(),0):!nMq||(vX(),1))||((c=new Pq(r)).b=t,function(n,t){var e,i,r,c,a,u,o;for(i=XI(n),c=0,u=i.length;c";throw a.e}}(t[r]);for(e=new gW,a=0,i=0;in.d[u.p]&&(e+=KC(n.b,c),RC(n.a,Va(c)))):++a;for(e+=n.b.d*a;!gk(n.a);)H3(n.b,Im(Al(n.a),19).a)}return e}function naS(n){var t,e,i,r,c,a,u;for(u=new wt,i=new h1(n.a.b);i.a=n.o)throw(new wx).e;u=t>>5,a=31&t,c=OR(1,CZ(OR(a,1))),r?n.n[e][u]=xr(n.n[e][u],c):n.n[e][u]=xi(n.n[e][u],ID(c)),c=OR(c,1),i?n.n[e][u]=xr(n.n[e][u],c):n.n[e][u]=xi(n.n[e][u],ID(c))}catch(i){if(Ti(i=Uu(i),320))throw new gu(nbR+n.o+"*"+n.p+nbK+t+nhC+e+nbF).e;throw i.e}}function naC(n){var t,e,i;return(64&n.Db)!=0?nt3(n):(t=new TV(nm6),(e=n.k)?jP(jP((t.a+=' "',t),e),'"'):(n.n||(n.n=new An(nCK,n,1,7)),n.n.i>0&&(i=(n.n||(n.n=new An(nCK,n,1,7)),Im(BX(n.n,0),137)).a)&&jP(jP((t.a+=' "',t),i),'"')),jP(pN(jP(pN(jP(pN(jP(pN((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function naO(n){var t,e,i;return(64&n.Db)!=0?nt3(n):(t=new TV(nm8),(e=n.k)?jP(jP((t.a+=' "',t),e),'"'):(n.n||(n.n=new An(nCK,n,1,7)),n.n.i>0&&(i=(n.n||(n.n=new An(nCK,n,1,7)),Im(BX(n.n,0),137)).a)&&jP(jP((t.a+=' "',t),i),'"')),jP(pN(jP(pN(jP(pN(jP(pN((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function naA(n,t){var e,i,r,c,a,u;if(null==t||0==t.length)return null;if(!(r=Im(Lz(n.a,t),149))){for(i=new hG(new hx(n.b).a.vc().Kc());i.a.Ob();)if(c=Im(i.a.Pb(),42),a=(e=Im(c.dd(),149)).c,u=t.length,Pv(a.substr(a.length-u,u),t)&&(t.length==a.length||46==$9(a,a.length-t.length-1))){if(r)return null;r=e}r&&Dp(n.a,t,r)}return r}function na$(n){var t,e,i;!MB(n,(ns8(),nK7))||(i=Im(ntP(n,nK7),21)).dc()||(e=new PR(t=Im(pf(nCg),9),Im(Sz(t,t.length),9),0),i.Hc((nrS(),nWc))?Gv(e,nWc):Gv(e,nWa),i.Hc(nWi)||Gv(e,nWi),i.Hc(nWe)?Gv(e,nWs):i.Hc(nWt)?Gv(e,nWo):i.Hc(nWr)&&Gv(e,nWu),i.Hc(nWs)?Gv(e,nWe):i.Hc(nWo)?Gv(e,nWt):i.Hc(nWu)&&Gv(e,nWr),UU(n,nK7,e))}function naN(n,t,e,i,r){var c,a,u,o,s,h,f;if(!(Ti(t,239)||Ti(t,354)||Ti(t,186)))throw new gd("Method only works for ElkNode-, ElkLabel and ElkPort-objects.").e;return a=n.a/2,o=t.i+i-a,h=t.j+r-a,s=o+t.g+n.a,f=h+t.f+n.a,I2(c=new dd,new kp(o,h)),I2(c,new kp(o,f)),I2(c,new kp(s,f)),I2(c,new kp(s,h)),z5(u=new nrf(c),t),e&&$J(n.b,t,u),u}function naL(n,t,e){var i,r,c,a,u,o,s,h;for(c=new kp(t,e),s=new h1(n.a);s.a0&&++s;++o}return s}(o.e,h)+u*function(n){var t,e,i,r,c,a,u,o,s,h,f;for(o=0,h=-1,f=0,s=n.length;o0&&++f;++h}return f}(o.e)),f+=Zp(o.d,o.e)+s,r=new h1(o.b);r.a0){for(r=o.length;r>0&&""==o[r-1];)--r;r=e)return ned(n,t,i.p),!0;return!1}(n,e)||(r.c[r.c.length]=e);return r}(n,t)).c.length)for(E_(r,new eN),e=r.c.length,i=0;i=s&&(o=i);o&&(h=nTv.Math.max(h,o.a.o.a)),h>l&&(f=s,l=h)}return f}(n,r,i))}(n,t);else for(i=t.Kc();i.Ob();){switch((e=Im(i.Pb(),286)).d.g){case 5:ned(n,e,function(n,t){var e,i,r;for(e=0,r=(i=function(n,t){var e,i,r,c,a,u,o,s,h,f,l;for(r=2*gy(Ss(ntP(o=$N(t.a),(ns8(),nFz)))),h=gy(Ss(ntP(o,nFY))),s=nTv.Math.max(r,h),c=_f(nYR,nlf,25,t.f-t.c+1,15,1),i=-s,e=0,u=t.b.Kc();u.Ob();)a=Im(u.Pb(),10),i+=n.a[a.c.p]+s,c[e++]=i;for(i+=n.a[t.a.c.p]+s,c[e++]=i,l=new h1(t.e);l.a=r)return t.c+e;return t.c+t.b.gc()}(n,e));break;case 0:ned(n,e,(r=(e.f-e.c+1-1)/2|0,e.c+r));break;case 4:ned(n,e,function(n,t){var e,i;for(e=(i=t.c)+1;e<=t.f;e++)n.a[e]>n.a[i]&&(i=e);return i}(n,e));break;case 2:QP(e),ned(n,e,nnX(e)?e.c:e.f);break;case 1:QP(e),ned(n,e,nnX(e)?e.f:e.c)}!function(n){var t;for(GD(),t=Im(K4(new OM(Tx(VG(n).a.Kc(),new s))),17).c.i;t.k==(ntY(),nAW);)UU(t,(nhu(),nDg),(TX(),!0)),t=Im(K4(new OM(Tx(VG(t).a.Kc(),new s))),17).c.i}(e.a)}}}function na4(n,t,e,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v;for(u=(i+r)/2+c,d=e*nTv.Math.cos(u),g=e*nTv.Math.sin(u),p=d-t.g/2,v=g-t.f/2,qh(t,p),qf(t,v),f=n.a.jg(t),(w=2*nTv.Math.acos(e/e+n.c))=40)&&function(n){var t,e,i,r,c,a,u;for(n.o=new b7,i=new vK,a=new h1(n.e.a);a.a0,u=V6(t,c),e?Mo(u.b,t):Mo(u.g,t),1==VV(u).c.length&&KN(i,u,i.c.b,i.c),r=new k_(c,t),RC(n.o,r),Hh(n.e.a,c))}(n),function(n){var t,e,i,r,c,a,u,o,s,h;for(s=n.e.a.c.length,c=new h1(n.e.a);c.a0){for(gT(n.c);function n(t,e){var i,r,c,a;for(c=1,e.j=!0,a=null,r=new h1(VV(e));r.a0&&I2(n.f,c)):(n.c[a]-=s+1,n.c[a]<=0&&n.a[a]>0&&I2(n.e,c))))}function na8(n,t,e){var i,r,c,a,u,o,s,h,f;for(c=new Fq(t.c.length),s=new h1(t);s.a0&&0==e.c&&(t||(t=new wn),t.c[t.c.length]=e);if(t)for(;0!=t.c.length;){if((e=Im(Ff(t,0),233)).b&&e.b.c.length>0){for(e.b||(e.b=new wn),c=new h1(e.b);c.aHb(n,e,0))return new k_(r,e)}else if(gy(Tu(r.g,r.d[0]).a)>gy(Tu(e.g,e.d[0]).a))return new k_(r,e)}for(u=(e.e||(e.e=new wn),e.e).Kc();u.Ob();)(a=Im(u.Pb(),233)).b||(a.b=new wn),DC(0,(o=a.b).c.length),m$(o.c,0,e),a.c==o.c.length&&(t.c[t.c.length]=a)}return null}(c);)(function(n,t,e,i){var r,c,a,u,o,s;for(a=new no5(n,t,e),o=new Rn(i,0),r=!1;o.bgy(Tu(a.g,a.d[0]).a)?(MK(o.b>0),o.a.Xb(o.c=--o.b),SB(o,a),r=!0):u.e&&u.e.gc()>0&&(c=(u.e||(u.e=new wn),u.e).Mc(t),s=(u.e||(u.e=new wn),u.e).Mc(e),(c||s)&&((u.e||(u.e=new wn),u.e).Fc(a),++a.c));r||(i.c[i.c.length]=a)})(n,Im(f.a,233),Im(f.b,233),c);for(t.c=_f(nEX,nhA,1,0,5,1),r=new h1(c);r.a0&&(D5(0,n.length),45==n.charCodeAt(0)||(D5(0,n.length),43==n.charCodeAt(0)))?1:0;ie)throw new gG(nlr+n+'"').e;return u}function nui(n){switch(n){case 100:return nhw(nEM,!0);case 68:return nhw(nEM,!1);case 119:return nhw(nES,!0);case 87:return nhw(nES,!1);case 115:return nhw(nEP,!0);case 83:return nhw(nEP,!1);case 99:return nhw(nEI,!0);case 67:return nhw(nEI,!1);case 105:return nhw(nEC,!0);case 73:return nhw(nEC,!1);default:throw new d7(nET+n.toString(16)).e}}function nur(n,t,e,i,r){e&&(!i||(n.c-n.b&n.a.length-1)>1)&&1==t&&Im(n.a[n.b],10).k==(ntY(),nAX)?nuS(Im(n.a[n.b],10),(ZR(),nX6)):i&&(!e||(n.c-n.b&n.a.length-1)>1)&&1==t&&Im(n.a[n.c-1&n.a.length-1],10).k==(ntY(),nAX)?nuS(Im(n.a[n.c-1&n.a.length-1],10),(ZR(),nX8)):(n.c-n.b&n.a.length-1)==2?(nuS(Im(U3(n),10),(ZR(),nX6)),nuS(Im(U3(n),10),nX8)):function(n,t){var e,i,r,c,a,u,o,s,h;for(o=Mj(n.c-n.b&n.a.length-1),s=null,h=null,c=new Nn(n);c.a!=c.b;)r=Im(Wj(c),10),e=(u=Im(ntP(r,(nhu(),nDv)),11))?u.i:null,i=(a=Im(ntP(r,nDm),11))?a.i:null,(s!=e||h!=i)&&(nrj(o,t),s=e,h=i),o.c[o.c.length]=r;nrj(o,t)}(n,r),RZ(n)}function nuc(n,t,e,i){var r,c,a,u,o;return a=n.eh(),o=n.Zg(),r=null,o?t&&(naz(n,t,e).Bb&nls)==0?(i=Ye(o.Vk(),n,i),n.uh(null),r=t.fh()):o=null:(a&&(o=a.fh()),t&&(r=t.fh())),o!=r&&o&&o.Zk(n),u=n.Vg(),n.Rg(t,e),o!=r&&r&&r.Yk(n),n.Lg()&&n.Mg()&&(a&&u>=0&&u!=e&&(c=new O9(n,1,u,a,null),i?i.Ei(c):i=c),e>=0&&(c=new O9(n,1,e,u==e?a:null,t),i?i.Ei(c):i=c)),i}function nua(n){var t,e,i,r;if(null==n.b){if(i=new gz,null!=n.i&&(jT(i,n.i),i.a+=":"),(256&n.f)!=0){for((256&n.f)!=0&&null!=n.a&&(null!=(r=n.i)&&vA(nV0,r.toLowerCase())||(i.a+="//"),jT(i,n.a)),null!=n.d&&(i.a+="/",jT(i,n.d)),(16&n.f)!=0&&(i.a+="/"),t=0,e=n.j.length;t>>31;0!=i&&(n[e]=i)}(e,e,t<<1),i=0,r=0,a=0;r0){if(r=Im(n.Ab.g,1934),null==t){for(c=0;ce.s&&ua)return nsR(),nWA;break;case 4:case 3:if(h<0)return nsR(),nW$;if(h+e>c)return nsR(),nWV}return(o=(s+u/2)/a)+(i=(h+e/2)/c)<=1&&o-i<=0?(nsR(),nWJ):o+i>=1&&o-i>=0?(nsR(),nWA):i<.5?(nsR(),nW$):(nsR(),nWV)}function nud(n,t,e,i,r,c,a){var u,o,s,h,f;for(f=new Et,o=t.Kc();o.Ob();)for(h=new h1(Im(o.Pb(),839).wf());h.an.b/2+t.b/2||(r=nTv.Math.abs(n.d+n.a/2-(t.d+t.a/2)))>n.a/2+t.a/2)?1:0==e&&0==r?0:0==e?c/r+1:0==r?i/e+1:nTv.Math.min(i/e,c/r)+1}function nup(n,t){var e,i,r,c,a,u;return(r=qx(n))!=(u=qx(t))?rt.f?1:0:(i=n.e-t.e,(e=(n.d>0?n.d:nTv.Math.floor((n.a-1)*nlb)+1)-(t.d>0?t.d:nTv.Math.floor((t.a-1)*nlb)+1))>i+1)?r:e0&&(a=H8(a,nu6(i))),Jf(c,a))}function nuv(n,t){var e,i,r,c;if(XQ(),c=Im(ntP(n.i,(ns8(),nFE)),98),0!=n.j.g-t.j.g||!(c==(nn2(),nWp)||c==nWm||c==nWv))return 0;if(c==(nn2(),nWp)&&(e=Im(ntP(n,nFT),19),i=Im(ntP(t,nFT),19),e&&i&&0!=(r=e.a-i.a)))return r;switch(n.j.g){case 1:return Vv(n.n.a,t.n.a);case 2:return Vv(n.n.b,t.n.b);case 3:return Vv(t.n.a,n.n.a);case 4:return Vv(t.n.b,n.n.b);default:throw new gg(nw6).e}}function num(n){var t,e,i,r,c;for(IE(c=new Fq((n.a||(n.a=new Tg(nCI,n,5)),n.a).i+2),new kp(n.j,n.k)),vF(new CN(null,(n.a||(n.a=new Tg(nCI,n,5)),new D6(n.a,16))),new bc(c)),IE(c,new kp(n.b,n.c)),t=1;t0&&(UN(o,!1,(W2(),nXI)),UN(o,!0,nXC)),BR(t.g,new yc(n,e)),$J(n.g,t,e)}function nuk(){var n;for(n=2,nuk=C,nT4=Um(Dg(nYN,1),nfB,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),nT5=_f(nYN,nfB,25,37,15,1),nT6=Um(Dg(nYN,1),nfB,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),nT8=_f(nYD,nlo,25,37,14,1);n<=36;n++)nT5[n]=LU(nTv.Math.pow(n,nT4[n])),nT8[n]=nnm(nh0,nT5[n])}function nuj(n,t){var e,i,r,c;for(r=t.d?n.a.c==(LR(),nHN)?VG(t.b):Vz(t.b):n.a.c==(LR(),nH$)?VG(t.b):Vz(t.b),c=!1,i=new OM(Tx(r.a.Kc(),new s));nrc(i);)if(e=Im(K4(i),17),!(!gm(n.a.f[n.a.g[t.b.p].p])&&!KR(e)&&e.c.i.c==e.d.i.c||gm(n.a.n[n.a.g[t.b.p].p])||gm(n.a.n[n.a.g[t.b.p].p]))&&(c=!0,v$(n.b,n.a.g[function(n,t){if(n.c.i==t)return n.d.i;if(n.d.i==t)return n.c.i;throw new gd("Node "+t+" is neither source nor target of edge "+n).e}(e,t.b).p])))return t.c=!0,t.a=e,t;return t.c=c,t.a=null,t}function nuE(n,t,e){var i,r,c,a,u,o,s;if(0==(i=e.gc()))return!1;if(n.ej()){if(o=n.fj(),Qp(n,t,e),a=1==i?n.Zi(3,null,e.Kc().Pb(),t,o):n.Zi(5,null,e,t,o),n.bj()){for(u=i<100?null:new pc(i),c=t+i,r=t;r0){for(a=0;a>16==-15&&n.Cb.nh()&&Hk(new _R(n.Cb,9,13,e,n.c,Yl(HO(Im(n.Cb,59)),n))):Ti(n.Cb,88)&&n.Db>>16==-23&&n.Cb.nh()&&(Ti(t=n.c,88)||(nhl(),t=nQG),Ti(e,88)||(nhl(),e=nQG),Hk(new _R(n.Cb,9,10,e,t,Yl(RJ(Im(n.Cb,26)),n)))))),n.c}function nuC(n,t){var e,i,r;i=0!=nr_(n.d,1),(gm(So(ntP(t.j,(nhu(),nDa))))||gm(So(ntP(t.j,nDR))))&&jf(ntP(t.j,(ns8(),nKh)))!==jf((U1(),n__))?i=gm(So(ntP(t.j,nDa))):t.c.Tf(t.e,i),ncv(n,t,i,!0),gm(So(ntP(t.j,nDR)))&&UU(t.j,nDR,(TX(),!1)),gm(So(ntP(t.j,nDa)))&&(UU(t.j,nDa,(TX(),!1)),UU(t.j,nDR,!0)),e=neH(n,t);do{if(GR(n),0==e)return 0;i=!i,r=e,ncv(n,t,i,!1),e=neH(n,t)}while(r>e);return r}function nuO(n,t,e,i){var r,c,a,u,o,s,h,f;if(ncx(n.e,t)){for(s=0,f=ncT(n.e.Tg(),t),c=Im(n.g,119),h=null,o=-1,u=-1,r=0;snll)return n(i);if(r=i,i==t)throw new gg("There is a cycle in the containment hierarchy of "+t).e}return r}(n),160),UU(i,nzR,jj(a.We(nzR)))),UU(i,(nhu(),nDE),n),UU(i,nDu,new PR(t=Im(pf(nIs),9),Im(Sz(t,t.length),9),0)),r=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;for(m=f=new nsI(n),y=!(t==(W2(),nXA)||t==nXP),nal(m,!0),BR(m.e.wf(),new PZ(m,!0,y)),h=f.a,l=new da,BH(),r=Um(Dg(nSf,1),nfh,232,0,[nSW,nSV,nSQ]),a=0,o=r.length;a0&&(l.d+=h.n.d,l.d+=h.d),l.a>0&&(l.a+=h.n.a,l.a+=h.d),l.b>0&&(l.b+=h.n.b,l.b+=h.d),l.c>0&&(l.c+=h.n.c,l.c+=h.d),l}((Dt(n)&&(mo(),new gl(Dt(n))),mo(),new Mw(Dt(n)?new gl(Dt(n)):null,n)),nXC),c=Im(ntP(i,nFl),116),Dc(e=i.d,c),Dc(e,r),i}function nuN(n,t){var e,i,r,c;return i=nTv.Math.abs(OJ(n.b).a-OJ(t.b).a),c=nTv.Math.abs(OJ(n.b).b-OJ(t.b).b),e=1,r=1,i>n.b.b/2+t.b.b/2&&(e=1-nTv.Math.min(nTv.Math.abs(n.b.c-(t.b.c+t.b.b)),nTv.Math.abs(n.b.c+n.b.b-t.b.c))/i),c>n.b.a/2+t.b.a/2&&(r=1-nTv.Math.min(nTv.Math.abs(n.b.d-(t.b.d+t.b.a)),nTv.Math.abs(n.b.d+n.b.a-t.b.d))/c),(1-nTv.Math.min(e,r))*nTv.Math.sqrt(i*i+c*c)}function nuL(n,t){var e,i;if(null!=t){if(i=Zb(n)){if((1&i.i)==0)return mv(),!(e=Im($a(nVZ,i),55))||e.wj(t);if(i==nYL)return jl(t);if(i==nYN)return Ti(t,19);if(i==nYK)return Ti(t,155);if(i==nYx)return Ti(t,217);else if(i==nY$)return Ti(t,172);else if(i==nYR)return jb(t);else if(i==nYF)return Ti(t,184);else if(i==nYD)return Ti(t,162)}else if(Ti(t,56))return n.uk(Im(t,56))}return!1}function nuD(){var n,t,e,i,r,c,a,u,o;for(t=0,nuD=C,nYn=_f(nYx,nyw,25,255,15,1),nYt=_f(nY$,nfS,25,64,15,1);t<255;t++)nYn[t]=-1;for(e=90;e>=65;e--)nYn[e]=e-65<<24>>24;for(i=122;i>=97;i--)nYn[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)nYn[r]=r-48+52<<24>>24;for(c=0,nYn[43]=62,nYn[47]=63;c<=25;c++)nYt[c]=65+c&nfI;for(a=26,o=0;a<=51;++a,o++)nYt[a]=97+o&nfI;for(n=52,u=0;n<=61;++n,u++)nYt[n]=48+u&nfI;nYt[62]=43,nYt[63]=47}function nux(n,t){var e,i,r,c,a,u,o;if(!L8(n))throw new gg(nmU).e;if(c=(i=L8(n)).g,r=i.f,c<=0&&r<=0)return nsR(),nWQ;switch(u=n.i,o=n.j,t.g){case 2:case 1:if(u<0)return nsR(),nWJ;if(u+n.g>c)return nsR(),nWA;break;case 4:case 3:if(o<0)return nsR(),nW$;if(o+n.f>r)return nsR(),nWV}return(a=(u+n.g/2)/c)+(e=(o+n.f/2)/r)<=1&&a-e<=0?(nsR(),nWJ):a+e>=1&&a-e>=0?(nsR(),nWA):e<.5?(nsR(),nW$):(nsR(),nWV)}function nuR(n){var t,e,i,r,c;if(nhh(),4!=n.e&&5!=n.e)throw new gd("Token#complementRanges(): must be RANGE: "+n.e).e;for(nr$(n),noA(n),i=n.b.length+2,0==n.b[0]&&(i-=2),(e=n.b[n.b.length-1])==nEE&&(i-=2),++nYO,(r=new xv(4)).b=_f(nYN,nfB,25,i,15,1),c=0,n.b[0]>0&&(r.b[c++]=0,r.b[c++]=n.b[0]-1),t=1;t0&&(s=o,h=o.d-r.d,s.d=h,r.c==(FO(),nH1)&&(f=o,l=o.a-r.d,f.a=l),o.d<=0&&o.i>0&&KN(t,o,t.c.b,t.c));for(c=new h1(n.f);c.a0&&(b=u,w=u.i-r.d,b.i=w,r.c==(FO(),nH1)&&(d=u,g=u.b-r.d,d.b=g),u.i<=0&&u.d>0&&KN(e,u,e.c.b,e.c))}function nu_(n){var t,e,i,r,c,a,u,o,s,h,f,l,b;if(e=n.i,t=n.n,0==n.b)for(b=e.c+t.b,l=e.b-t.b-t.c,a=n.a,o=0,h=a.length;o0&&(f-=i[0]+n.c,i[0]+=n.c),i[2]>0&&(f-=i[2]+n.c),i[1]=nTv.Math.max(i[1],f),Of(n.a[1],e.c+t.b+i[0]-(i[1]-f)/2,i[1]);for(c=n.a,u=0,s=c.length;u0?(n.n.c.length-1)*n.i:0,e=new h1(n.n);e.a1)for(i=Jz(r,0);i.b!=i.d.c;)for(e=Im(RP(i),231),c=0,u=new h1(e.e);u.a0&&(t[0]+=n.c,f-=t[0]),t[2]>0&&(f-=t[2]+n.c),t[1]=nTv.Math.max(t[1],f),Ol(n.a[1],i.d+e.d+t[0]-(t[1]-f)/2,t[1]);else for(w=i.d+e.d,b=i.a-e.d-e.a,a=n.a,o=0,h=a.length;o=0&&c!=e)throw new gd(ny0).e;for(o=0,r=0;o>>0).toString(16),t.length-2,t.length):n>=nls?"\\v"+MT(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&nfI)}return e}function nuZ(n,t){var e,i,r,c,a,u,o,s,h,f;if(a=n.e,0==(o=t.e))return n;if(0==a)return 0==t.e?t:new As(-t.e,t.d,t.a);if((c=n.d)+(u=t.d)==2)return e=xi(n.a[0],nlw),i=xi(t.a[0],nlw),a<0&&(e=Hl(e)),o<0&&(i=Hl(i)),JK(VR(e,i));if(-1==(r=c!=u?c>u?1:-1:XL(n.a,t.a,c)))f=-o,h=a==o?Fp(t.a,u,n.a,c):_h(t.a,u,n.a,c);else if(f=a,a==o){if(0==r)return nc4(),nMb;h=Fp(n.a,c,t.a,u)}else h=_h(n.a,c,t.a,u);return xF(s=new As(f,h.length,h)),s}function nu1(n){var t,e,i,r,c,a;for(this.e=new wn,this.a=new wn,e=n.b-1;e<3;e++)Mq(n,0,Im(J7(n,0),8));if(n.b<4)throw new gd("At (least dimension + 1) control points are necessary!").e;for(this.b=3,this.d=!0,this.c=!1,function(n,t){var e,i,r,c;if(t<2*n.b)throw new gd("The knot vector must have at least two time the dimension elements.").e;for(i=0,n.f=1;i0&&(u=a/60|0,o=a%60,i=n.q.getDate(),n.q.getHours()+u>=24&&++i,r=new nTv.Date(n.q.getFullYear(),n.q.getMonth(),i,t+u,n.q.getMinutes()+o,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(r.getTime()))),c=n.q.getTime(),n.q.setTime(c+36e5),n.q.getHours()!=t&&n.q.setTime(c)}function nu4(n){var t,e,i,r,c;if(!n.d){if(c=new uh,null==(t=nQ2).a.zc(n,t)){for(e=new Td(Lw(n));e.e!=e.i.gc();)AJ(c,nu4(Im(J1(e),26)));t.a.Bc(n),t.a.gc()}for(r=c.i,n.q||(n.q=new An(nQg,n,11,10)),i=new Td(n.q);i.e!=i.i.gc();++r)Im(J1(i),399);AJ(c,(n.q||(n.q=new An(nQg,n,11,10)),n.q)),X5(c),n.d=new jW((Im(BX(N6(($g(),nQO).o),9),18),c.i),c.g),n.e=Im(c.g,673),null==n.e&&(n.e=nQ3),KJ(n).b&=-17}return n.d}function nu5(n,t,e,i){var r,c,a,u,o,s;if(s=ncT(n.e.Tg(),t),o=0,r=Im(n.g,119),mp(),Im(t,66).Oj()){for(a=0;a1e6)throw new ga("power of ten too big").e;if(n<=nhM)return K2(ni$(nMg[1],t),t);for(r=i=ni$(nMg[1],nhM),e=zD(n-nhM),t=LU(n%nhM);WM(e,nhM)>0;)r=H8(r,i),e=VR(e,nhM);for(r=K2(r=H8(r,ni$(nMg[1],t)),nhM),e=zD(n-nhM);WM(e,nhM)>0;)r=K2(r,nhM),e=VR(e,nhM);return K2(r,t)}function nu8(n){var t,e,i,r,c,a,u,o;for(a=new h1(n.a);a.as&&i>s)h=u,s=gy(t.p[u.p])+gy(t.d[u.p])+u.o.b+u.d.a;else{r=!1,e.n&&IJ(e,"bk node placement breaks on "+u+" which should have been after "+h);break}if(!r)break}return e.n&&IJ(e,t+" is feasible: "+r),r}function non(n){var t,e,i,r,c,a;if(!n.f){if(a=new uo,c=new uo,null==(t=nQ2).a.zc(n,t)){for(r=new Td(Lw(n));r.e!=r.i.gc();)AJ(a,non(Im(J1(r),26)));t.a.Bc(n),t.a.gc()}for(n.s||(n.s=new An(nQo,n,21,17)),i=new Td(n.s);i.e!=i.i.gc();)Ti(e=Im(J1(i),170),99)&&_P(c,Im(e,18));X5(c),n.r=new IX(n,(Im(BX(N6(($g(),nQO).o),6),18),c.i),c.g),AJ(a,n.r),X5(a),n.f=new jW((Im(BX(N6(nQO.o),5),18),a.i),a.g),KJ(n).b&=-3}return n.f}function not(n){var t,e,i,r,c,a,u,o;e=gm(So(ntP(n,(nab(),nOO)))),c=n.a.c.d,u=n.a.d.d,e?(a=To(S7(new kp(u.a,u.b),c),.5),o=To(E1(n.e),.5),t=S7(S9(new kp(c.a,c.b),a),o),MU(n.d,t)):(r=gy(Ss(ntP(n.a,nOX))),i=n.d,c.a>=u.a?c.b>=u.b?(i.a=u.a+(c.a-u.a)/2+r,i.b=u.b+(c.b-u.b)/2-r-n.e.b):(i.a=u.a+(c.a-u.a)/2+r,i.b=c.b+(u.b-c.b)/2+r):c.b>=u.b?(i.a=c.a+(u.a-c.a)/2+r,i.b=u.b+(c.b-u.b)/2+r):(i.a=c.a+(u.a-c.a)/2+r,i.b=c.b+(u.b-c.b)/2-r-n.e.b))}function noe(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(null==n)return null;if(0==(c=n.length))return"";for(o=_f(nY$,nfS,25,c,15,1),_b(0,c,n.length),_b(0,c,o.length),Ax(n,0,c,o,0),e=null,u=t,r=0,a=0;r0?MT(e.a,0,c-1):"":n.substr(0,c-1):e?e.a:n}function noi(n){var t,e;mc(n,new nte(((((t=new as).c=nb4,t).d="ELK DisCo",t).b="Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out.",e=new n4,t.e=e,t))),xV(n,nb4,nb5,JZ(nOw)),xV(n,nb4,nb6,JZ(nOo)),xV(n,nb4,nb8,JZ(nOi)),xV(n,nb4,nb9,JZ(nOs)),xV(n,nb4,nbc,JZ(nOl)),xV(n,nb4,nba,JZ(nOf)),xV(n,nb4,nbr,JZ(nOb)),xV(n,nb4,nbu,JZ(nOh)),xV(n,nb4,nbZ,JZ(nOc)),xV(n,nb4,nb1,JZ(nOr)),xV(n,nb4,nb0,JZ(nOa)),xV(n,nb4,nb2,JZ(nOu))}function nor(n,t,e,i){var r,c,a,u,o,s,h,f,l;if(f=c=new Y$(n),ntY(),l=nAQ,f.k=l,UU(c,(ns8(),nFE),(nn2(),nWv)),r=0,t){for(UU(a=new nt9,(nhu(),nDE),t),UU(c,nDE,t.i),ne9(a,(nsR(),nWJ)),DM(a,c),s=0,h=(o=xB(t.e)).length;s=0&&f<=1&&l>=0&&l<=1?S9(new kp(n.a,n.b),To(new kp(t.a,t.b),f)):null:0!=s?null:(c=_k(n,r=S9(new kp(e.a,e.b),To(new kp(i.a,i.b),.5))),a=_k(S9(new kp(n.a,n.b),t),r),u=.5*nTv.Math.sqrt(i.a*i.a+i.b*i.b),c0?n.i:0)>t&&o>0&&(c=0,a+=o+n.i,r=nTv.Math.max(r,l),i+=o+n.i,o=0,l=0,e&&(++f,IE(n.n,new LZ(n.s,a,n.i))),u=0),l+=s.g+(u>0?n.i:0),o=nTv.Math.max(o,s.f),e&&YJ(Im(CA(n.n,f),211),s),c+=s.g+(u>0?n.i:0),++u;return r=nTv.Math.max(r,l),i+=o,e&&(n.r=r,n.d=i,ZE(n.j)),new Nj(n.s,n.t,r,i)}function now(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;if(vI(),Am(n,"src"),Am(e,"dest"),l=Xp(n),o=Xp(e),I_((4&l.i)!=0,"srcType is not an array"),I_((4&o.i)!=0,"destType is not an array"),f=l.c,a=o.c,I_((1&f.i)!=0?f==a:(1&a.i)==0,"Array types don't match"),b=n.length,s=e.length,t<0||i<0||r<0||t+r>b||i+r>s)throw(new wk).e;if((1&f.i)==0&&l!=o){if(h=BJ(n),c=BJ(e),jf(n)===jf(e)&&ti;)$t(c,u,h[--t]);else for(u=i+r;i0&&ne4(n,t,e,i,r,!0)}function nod(){nod=C,nMw=Um(Dg(nYN,1),nfB,25,15,[nfp,1162261467,nfo,1220703125,362797056,1977326743,nfo,387420489,nf7,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,nfo,1291467969,1544804416,1838265625,60466176]),nMd=Um(Dg(nYN,1),nfB,25,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function nog(n,t){var e,i,r,c,a;if(a=Im(t,136),nr$(n),nr$(a),null!=a.b){if(n.c=!0,null==n.b){n.b=_f(nYN,nfB,25,a.b.length,15,1),now(a.b,0,n.b,0,a.b.length);return}for(e=0,c=_f(nYN,nfB,25,n.b.length+a.b.length,15,1),i=0,r=0;e=n.b.length?(c[r++]=a.b[i++],c[r++]=a.b[i++]):i>=a.b.length?(c[r++]=n.b[e++],c[r++]=n.b[e++]):a.b[i]0&&(r=(n.n||(n.n=new An(nCK,n,1,7)),Im(BX(n.n,0),137)).a)&&jP(jP((t.a+=' "',t),r),'"')),n.b||(n.b=new Ph(nCA,n,4,7)),(e=!(n.b.i<=1&&(n.c||(n.c=new Ph(nCA,n,5,8)),n.c.i<=1)))?t.a+=" [":t.a+=" ",jP(t,TD(new g_,new Td(n.b))),e&&(t.a+="]"),t.a+=nw4,e&&(t.a+="["),jP(t,TD(new g_,new Td(n.c))),e&&(t.a+="]"),t.a)}function nov(n,t,e,i){var r,c,a,u,o,s;if(c=VA(i),(gm(So(ntP(i,(ns8(),nK6))))||gm(So(ntP(n,nKG))))&&!Ec(Im(ntP(n,nFE),98)))r=Ql(c),u=nuh(n,e,e==(qF(),n_X)?r:Vg(r));else switch(DM(u=new nt9,n),t?((s=u.n).a=t.a-n.n.a,s.b=t.b-n.n.b,nea(s,0,0,n.o.a,n.o.b),ne9(u,nuw(u,c))):(r=Ql(c),ne9(u,e==(qF(),n_X)?r:Vg(r))),a=Im(ntP(i,(nhu(),nDu)),21),o=u.j,c.g){case 2:case 1:(o==(nsR(),nW$)||o==nWV)&&a.Fc((ncJ(),nLK));break;case 4:case 3:(o==(nsR(),nWA)||o==nWJ)&&a.Fc((ncJ(),nLK))}return u}function nom(n,t,e){var i,r,c,a,u,o,s;return nTv.Math.abs(t.s-t.c)s?new D_((FO(),nH0),e,t,o-s):o>0&&s>0&&(new D_((FO(),nH0),t,e,0),new D_(nH0,e,t,0))),c)}function noy(n,t){var e,i,r,c,a;for(a=new XE(new hN(n.f.b).a);a.b;){if(r=Im((c=BQ(a)).cd(),594),1==t){if(r.gf()!=(W2(),nXA)&&r.gf()!=nXP)continue}else if(r.gf()!=(W2(),nXI)&&r.gf()!=nXC)continue;switch(i=Im(Im(c.dd(),46).b,81),e=Im(Im(c.dd(),46).a,189).c,r.gf().g){case 2:i.g.c=n.e.a,i.g.b=nTv.Math.max(1,i.g.b+e);break;case 1:i.g.c=i.g.c+e,i.g.b=nTv.Math.max(1,i.g.b-e);break;case 4:i.g.d=n.e.b,i.g.a=nTv.Math.max(1,i.g.a+e);break;case 3:i.g.d=i.g.d+e,i.g.a=nTv.Math.max(1,i.g.a-e)}}}function nok(n){var t,e;mc(n,new nte(((((t=new as).c=nvZ,t).d="ELK SPOrE Compaction",t).b="ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree.",e=new c5,t.e=e,t))),xV(n,nvZ,nv1,JZ(nGY)),xV(n,nvZ,nv0,JZ(nGV)),xV(n,nvZ,nv2,JZ(nGW)),xV(n,nvZ,nv3,JZ(nGU)),xV(n,nvZ,nv4,JZ(nGX)),xV(n,nvZ,nb9,nGz),xV(n,nvZ,nwy,8),xV(n,nvZ,nv5,JZ(nGJ)),xV(n,nvZ,nv6,JZ(nGH)),xV(n,nvZ,nv8,JZ(nGB)),xV(n,nvZ,npm,(TX(),!1))}function noj(n,t,e){var i,r,c,a,u,o,s,h;if(i=n.a.o==(Dh(),nHx)?nlc:nla,!(u=nuj(n,new y2(t,e))).a&&u.c)I2(n.d,u);else if(u.a)return r=u.a.c,o=u.a.d,e?(s=n.a.c==(LR(),nHN)?o:r,c=n.a.c==nHN?r:o,a=n.a.g[c.i.p],h=gy(n.a.p[a.p])+gy(n.a.d[c.i.p])+c.n.b+c.a.b-gy(n.a.d[s.i.p])-s.n.b-s.a.b):(s=n.a.c==(LR(),nH$)?o:r,c=n.a.c==nH$?r:o,h=gy(n.a.p[n.a.g[c.i.p].p])+gy(n.a.d[c.i.p])+c.n.b+c.a.b-gy(n.a.d[s.i.p])-s.n.b-s.a.b),n.a.n[n.a.g[r.i.p].p]=(TX(),!0),n.a.n[n.a.g[o.i.p].p]=!0,h;return i}function noE(n,t,e){var i,r,c,a,u,o,s;if(ncx(n.e,t))mp(),niX((u=Im(t,66).Oj()?new Cb(t,n):new jr(t,n)).c,u.b),E9(u,Im(e,14));else{for(c=0,s=ncT(n.e.Tg(),t),i=Im(n.g,119);cn.o.b||(e=V_(n,nWA),t.d+t.a+(e.gc()-1)*r>n.o.b)))}function noS(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(a=n.e,o=t.e,0==a)return t;if(0==o)return n;if((c=n.d)+(u=t.d)==2)return(e=xi(n.a[0],nlw),i=xi(t.a[0],nlw),a==o)?(w=CZ(h=VK(e,i)),0==(b=CZ(OF(h,32)))?new F_(a,w):new As(a,2,Um(Dg(nYN,1),nfB,25,15,[w,b]))):JK(a<0?VR(i,e):VR(e,i));if(a==o)l=a,f=c>=u?_h(n.a,c,t.a,u):_h(t.a,u,n.a,c);else{if(0==(r=c!=u?c>u?1:-1:XL(n.a,t.a,c)))return nc4(),nMb;1==r?(l=a,f=Fp(n.a,c,t.a,u)):(l=o,f=Fp(t.a,u,n.a,c))}return xF(s=new As(l,f.length,f)),s}function noP(n,t,e,i,r,c,a){var u,o,s,h,f,l,b,w,d,g,p,v,m,y;return f=gm(So(ntP(t,(ns8(),nK8)))),l=null,c==(qF(),n_U)&&i.c.i==e?l=i.c:c==n_X&&i.d.i==e&&(l=i.d),(s=a)&&f&&!l?(IE(s.e,i),b=nTv.Math.max(gy(Ss(ntP(s.d,nKR))),gy(Ss(ntP(i,nKR)))),UU(s.d,nKR,b)):(nsR(),h=nWQ,l?h=l.j:Ec(Im(ntP(e,nFE),98))&&(h=c==n_U?nWJ:nWA),w=h,d=null,v=c==(qF(),n_U)?i.c:i.d,p=VA(t),v.i==e?(d=Im($a(n.b,v),10))||(UU(d=nsQ(v,Im(ntP(e,(ns8(),nFE)),98),w,function(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(r=gm(So(ntP(u=n.i,(ns8(),nKz)))),h=0,i=0,s=new h1(n.g);s.a=t.i?(++t.i,IE(t.a,Va(1)),IE(t.b,f)):(r=t.c[e.p][1],KL(t.a,h,Va(Im(CA(t.a,h),19).a+1-r)),KL(t.b,h,gy(Ss(CA(t.b,h)))+f-r*t.e)),(t.q==(nco(),n_A)&&(Im(CA(t.a,h),19).a>t.j||Im(CA(t.a,h-1),19).a>t.j)||t.q==n_L&&(gy(Ss(CA(t.b,h)))>t.k||gy(Ss(CA(t.b,h-1)))>t.k))&&(o=!1),a=new OM(Tx(VG(e).a.Kc(),new s));nrc(a);)u=Im(K4(a),17).c.i,t.f[u.p]==h&&(c+=Im((l=n(t,u)).a,19).a,o=o&&gm(So(l.b)));return t.f[e.p]=h,new k_(Va(c+=t.c[e.p][0]),(TX(),!!o))}(n,Im(xe(h),10)),e=!0,(n.q==(nco(),n_A)||n.q==n_L)&&(e=gm(So(l.b))),Im(l.a,19).a<0&&e?(++b,o=LG(n.f,n.f.length),n.d=n.d+Im(l.a,19).a,w+=c-n.d,c=n.d+Im(l.a,19).a,a=n.i,i=xa(n.a),r=xa(n.b)):(n.f=LG(o,o.length),n.d=c,n.a=(A1(i),i?new PH(i):Iy(new h1(i))),n.b=(A1(r),r?new PH(r):Iy(new h1(r))),n.i=a);++u,f=0!=b&&gm(So(t.Kb(new k_(Va(w),Va(u)))))}while(f)}function noA(n){var t,e,i,r;if(null!=n.b&&!(n.b.length<=2)&&!n.a){for(t=0,r=0;r=n.b[r+1])r+=2;else if(e=nls?jT(e,VO(i)):$i(e,i&nfI),++nYO,c=new LF(10,null,0),u=n.a,o=c,OW(s=a-1,u.a.c.length),KL(u.a,s,o)):(c.bm().length,jT(e=new gU,c.bm())),0==t.e?(i=t._l())>=nls?jT(e,VO(i)):$i(e,i&nfI):jT(e,t.bm()),Im(c,521).b=e.a}}function nox(n){var t,e,i,r,c;return null!=n.g?n.g:n.a<32?(n.g=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(nod(),(u=0>WM(n,0))&&(n=Hl(n)),0==WM(n,0))switch(t){case 0:return"0";case 1:return nlg;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return f=new gX,t<0?f.a+="0E+":f.a+="0E",f.a+=t==nfp?"2147483648":""+-t,f.a}s=_f(nY$,nfS,25,19,15,1),e=18,b=n;do o=b,b=nnm(b,10),s[--e]=CZ(VK(48,VR(o,VF(b,10))))&nfI;while(0!=WM(b,0));if(i=VR(VR(VR(18,e),t),1),0==t)return u&&(s[--e]=45),Je(s,e,18-e);if(t>0&&WM(i,-6)>=0){if(WM(i,0)>=0){for(r=e+CZ(i),a=17;a>=r;a--)s[a+1]=s[a];return s[++r]=46,u&&(s[--e]=45),Je(s,e,18-e+1)}for(c=2;0>WM(c,VK(Hl(i),1));c++)s[--e]=48;return s[--e]=46,s[--e]=48,u&&(s[--e]=45),Je(s,e,18-e)}return l=e+1,h=new gW,u&&(h.a+="-"),18-l>=1?($r(h,s[e]),h.a+=".",h.a+=Je(s,e+1,18-e-1)):h.a+=Je(s,e,18-e),h.a+="E",WM(i,0)>0&&(h.a+="+"),h.a+=""+OD(i),h.a}(zD(n.f),LU(n.e)),n.g):(r=ns9((n.c||(n.c=Wa(n.f)),n.c),0),0==n.e)?r:(t=(n.c||(n.c=Wa(n.f)),n.c).e<0?2:1,e=r.length,i=-n.e+e-t,c=new gX,c.a+=""+r,n.e>0&&i>=-6?i>=0?Dm(c,e-LU(n.e),"."):(c.a=MT(c.a,0,t-1)+"0."+jm(c.a,t-1),Dm(c,t+1,Je(nMt,0,-LU(i)-1))):(e-t>=1&&(Dm(c,t,"."),++e),Dm(c,e,"E"),i>0&&Dm(c,++e,"+"),Dm(c,++e,""+OD(zD(i)))),n.g=c.a,n.g)}function noR(n){var t,e,i,r,c,a;for(BR(n.a,new nY),e=new h1(n.a);e.a=nTv.Math.abs(i.b)?(i.b=0,c.d+c.a>a.d&&c.da.c&&c.c=V2(t.b.c,c.b.c+c.b.b)&&0>=V2(c.b.c,t.b.c+t.b.b)&&0>=V2(t.b.d,c.b.d+c.b.a)&&0>=V2(c.b.d,t.b.d+t.b.a)){if(0==V2(c.b.c,t.b.c+t.b.b)&&r.a<0||0==V2(c.b.c+c.b.b,t.b.c)&&r.a>0||0==V2(c.b.d,t.b.d+t.b.a)&&r.b<0||0==V2(c.b.d+c.b.a,t.b.d)&&r.b>0){o=0;break}}else o=nTv.Math.min(o,ne8(t,c,r));o=nTv.Math.min(o,n(t,a,o,r))}return o}(Im(t.b,65),e,i,r)),a=new h1(t.a);a.a0){if(t=new jc(n.i,n.g),c=(e=n.i)<100?null:new pc(e),n.ij())for(i=0;i0){for(u=n.g,s=n.i,Fo(n),c=s<100?null:new pc(s),i=0;i4){if(!n.wj(t))return!1;if(n.rk()){if(u=(e=(i=Im(t,49)).Ug())==n.e&&(n.Dk()?i.Og(i.Vg(),n.zk())==n.Ak():-1-i.Vg()==n.aj()),n.Ek()&&!u&&!e&&i.Zg()){for(r=0;r0){if(t=new zi(n.Gi()),c=(e=h)<100?null:new pc(e),SI(n,e,t.g),r=1==e?n.Zi(4,BX(t,0),null,0,o):n.Zi(6,t,null,-1,o),n.bj()){for(i=new Td(t);i.e!=i.i.gc();)c=n.dj(J1(i),c);c?(c.Ei(r),c.Fi()):n.$i(r)}else c?(c.Ei(r),c.Fi()):n.$i(r)}else SI(n,n.Vi(),n.Wi()),n.$i(n.Zi(6,(NV(),nMv),null,-1,o))}else if(n.bj()){if((h=n.Vi())>0){for(u=n.Wi(),s=h,SI(n,h,u),c=s<100?null:new pc(s),i=0;i.5?g-=2*c*(b-.5):b<.5&&(g+=2*r*(.5-b)),g<(i=a.d.b)&&(g=i),w=a.d.c,g>d.a-w-s&&(g=d.a-w-s),a.n.a=t+g}}function noG(n,t){var e,i,r,c,a,u,o,s,h;return(s="",0==t.length)?n.de(nfM,nfE,-1,-1):(Pv((h=ntB(t)).substr(0,3),"at ")&&(h=h.substr(3)),-1==(a=(h=h.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(a=h.indexOf("@"))?(s=h,h=""):(s=ntB(h.substr(a+1)),h=ntB(h.substr(0,a))):(e=h.indexOf(")",a),s=h.substr(a+1,e-(a+1)),h=ntB(h.substr(0,a))),-1!=(a=jZ(h,ntd(46)))&&(h=h.substr(a+1)),(0==h.length||Pv(h,"Anonymous function"))&&(h=nfE),u=T2(s,ntd(58)),r=Pj(s,ntd(58),u-1),o=-1,i=-1,c=nfM,-1!=u&&-1!=r&&(c=s.substr(0,r),o=ME(s.substr(r+1,u-(r+1))),i=ME(s.substr(u+1))),n.de(c,h,o,i))}function noz(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(0==t.l&&0==t.m&&0==t.h)throw new ga("divide by zero").e;if(0==n.l&&0==n.m&&0==n.h)return e&&(nTG=Ez(0,0,0)),Ez(0,0,0);if(t.h==nf6&&0==t.m&&0==t.l)return(s=n).h==nf6&&0==s.m&&0==s.l?(e&&(nTG=Ez(0,0,0)),j2((HD(),nTX))):(e&&(nTG=Ez(s.l,s.m,s.h)),Ez(0,0,0));if(o=!1,t.h>>19!=0&&(t=Uq(t),o=!o),a=((l=(h=t).l)&l-1)!=0||((b=h.m)&b-1)!=0||((f=h.h)&f-1)!=0||0==f&&0==b&&0==l?-1:0==f&&0==b&&0!=l?qW(l):0==f&&0!=b&&0==l?qW(b)+22:0!=f&&0==b&&0==l?qW(f)+44:-1,c=!1,r=!1,i=!1,n.h==nf6&&0==n.m&&0==n.l){if(r=!0,c=!0,-1!=a)return u=nrh(n,a),o&&Xn(u),e&&(nTG=Ez(0,0,0)),u;n=j2((HD(),nTz)),i=!0,o=!o}else n.h>>19!=0&&(c=!0,n=Uq(n),i=!0,o=!o);return -1!=a?(w=n,d=o,g=c,p=nrh(w,a),d&&Xn(p),e&&(v=w,a<=22?(m=v.l&(1<nnn(n,t)?(e&&(nTG=c?Uq(n):Ez(n.l,n.m,n.h)),Ez(0,0,0)):function(n,t,e,i,r,c){var a,u,o,s,h,f,l,b,w;for(o=U2(t)-U2(n),a=ntZ(t,o),u=Ez(0,0,0);o>=0&&((w=n.h-a.h)<0||(l=n.l-a.l,(w+=(b=n.m-a.m+(l>>22))>>22)<0||(n.l=l&nf4,n.m=b&nf4,n.h=w&nf5,0))||(o<22?u.l|=1<>>1,a.m=s>>>1|(1&h)<<21,a.l=f>>>1|(1&s)<<21,--o;return e&&Xn(u),c&&(i?(nTG=Uq(n),r&&(nTG=Uc(nTG,(HD(),nTX)))):nTG=Ez(n.l,n.m,n.h)),u}(i?n:Ez(n.l,n.m,n.h),t,o,c,r,e)}function noU(n,t){var e,i,r,c,a,u,o,s,h,f,l;if(n.e&&n.c.c=0)return r=function(n,t){var e;if(Ti(e=ncp(n.Tg(),t),99))return Im(e,18);throw new gd(nyn+t+"' is not a valid reference").e}(n,t.substr(1,c-1)),function(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(s=0,o=new wn,f=t.length,a=U7(e);s=0?n._g(s,!1,!0):niO(n,e,!1),58);e:for(c=f.Kc();c.Ob();){for(h=0,r=Im(c.Pb(),56);h=0){i=Im(K8(n,BD(n,t.substr(1,e-1)),!1),58),o=0;try{o=nue(t.substr(e+1),nfp,nhM)}catch(n){if(Ti(n=Uu(n),127))throw new Hj(n).e;throw n.e}if(o=0)return e;switch($H(HC(n,e))){case 2:if(Pv("",WW(n,e.Hj()).ne())){if(o=Na(HC(n,e)),u=Nc(HC(n,e)),h=nrC(n,t,o,u))return h;for(a=0,f=(r=naW(n,t)).gc();a-2;default:return!1}switch(t=n.gj(),n.p){case 0:return null!=t&&gm(So(t))!=jv(n.k,0);case 1:return null!=t&&Im(t,217).a!=CZ(n.k)<<24>>24;case 2:return null!=t&&Im(t,172).a!=(CZ(n.k)&nfI);case 6:return null!=t&&jv(Im(t,162).a,n.k);case 5:return null!=t&&Im(t,19).a!=CZ(n.k);case 7:return null!=t&&Im(t,184).a!=CZ(n.k)<<16>>16;case 3:return null!=t&&gy(Ss(t))!=n.j;case 4:return null!=t&&Im(t,155).a!=n.j;default:return null==t?null!=n.n:!WY(t,n.n)}}function no1(n,t,e){var i,r,c,a;return n.Fk()&&n.Ek()&&jf(a=OY(n,Im(e,56)))!==jf(e)?(n.Oi(t),n.Ui(t,_X(n,t,a)),n.rk()&&(r=Im(e,49),c=n.Dk()?n.Bk()?r.ih(n.b,YI(Im(Bm(Ld(n.b),n.aj()),18)).n,Im(Bm(Ld(n.b),n.aj()).Yj(),26).Bj(),null):r.ih(n.b,Qj(r.Tg(),YI(Im(Bm(Ld(n.b),n.aj()),18))),null,null):r.ih(n.b,-1-n.aj(),null,null),Im(a,49).eh()||(i=Im(a,49),c=n.Dk()?n.Bk()?i.gh(n.b,YI(Im(Bm(Ld(n.b),n.aj()),18)).n,Im(Bm(Ld(n.b),n.aj()).Yj(),26).Bj(),c):i.gh(n.b,Qj(i.Tg(),YI(Im(Bm(Ld(n.b),n.aj()),18))),null,c):i.gh(n.b,-1-n.aj(),null,c)),c&&c.Fi()),Ea(n.b)&&n.$i(n.Zi(9,e,a,t,!1)),a):e}function no0(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;for(h=gy(Ss(ntP(n,(ns8(),nFG)))),i=gy(Ss(ntP(n,nF4))),UU(l=new az,nFG,h+i),p=(s=t).d,d=s.c.i,v=s.d.i,g=j5(d.c),m=j5(v.c),r=new wn,f=g;f<=m;f++)k=u=new Y$(n),ntY(),j=nAW,k.k=j,UU(u,(nhu(),nDE),s),UU(u,nFE,(nn2(),nWv)),UU(u,nFU,l),b=Im(CA(n.b,f),29),f==g?ZF(u,b.a.c.length-e,b):DT(u,b),(y=gy(Ss(ntP(s,nKR))))<0&&UU(s,nKR,y=0),u.o.b=y,w=nTv.Math.floor(y/2),ne9(a=new nt9,(nsR(),nWJ)),DM(a,u),a.n.b=w,ne9(o=new nt9,nWA),DM(o,u),o.n.b=w,Dj(s,a),z5(c=new Ls,s),UU(c,nKV,null),DE(c,o),Dj(c,p),function(n,t,e){var i;(i=t.c.i).k==(ntY(),nAW)?(UU(n,(nhu(),nDv),Im(ntP(i,nDv),11)),UU(n,nDm,Im(ntP(i,nDm),11))):(UU(n,(nhu(),nDv),t.c),UU(n,nDm,e.d))}(u,s,c),r.c[r.c.length]=c,s=c;return r}function no2(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(u=Im(nen(n,(nsR(),nWJ)).Kc().Pb(),11).e,f=Im(nen(n,nWA).Kc().Pb(),11).g,a=u.c.length,g=D9(Im(CA(n.j,0),11));a-- >0;){for(D4(0,u.c.length),b=Im(u.c[0],17),D4(0,f.c.length),r=Hb((i=Im(f.c[0],17)).d.e,i,0),p=i.d,b.d&&Hh(b.d.e,b),b.d=p,b.d&&C4(b.d.e,r,b),DE(i,null),Dj(i,null),l=b.a,t&&I2(l,new Ee(g)),e=Jz(i.a,0);e.b!=e.d.c;)I2(l,new Ee(Im(RP(e),8)));for(d=b.b,h=new h1(i.b);h.a0&&(a=nTv.Math.max(a,G8(n.C.b+i.d.b,r))),h=i,f=r,l=c;n.C&&n.C.c>0&&(b=l+n.C.c,s&&(b+=h.d.c),a=nTv.Math.max(a,(ED(),qR(nbE),nTv.Math.abs(f-1)<=nbE||1==f||isNaN(f)&&isNaN(1)?0:b/(1-f)))),e.n.b=0,e.a.a=a}function no4(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(e=Im($6(n.b,t),124),(o=Im(Im(Fl(n.r,t),21),84)).dc()){e.n.d=0,e.n.a=0;return}for(s=n.u.Hc((nis(),nWS)),a=0,n.A.Hc((QJ(),nW8))&&nam(n,t),u=o.Kc(),h=null,l=0,f=0;u.Ob();)c=gy(Ss((i=Im(u.Pb(),111)).b.We((Ma(),nPy)))),r=i.b.rf().b,h?(b=f+h.d.a+n.w+i.d.d,a=nTv.Math.max(a,(ED(),qR(nbE),nTv.Math.abs(l-c)<=nbE||l==c||isNaN(l)&&isNaN(c)?0:b/(c-l)))):n.C&&n.C.d>0&&(a=nTv.Math.max(a,G8(n.C.d+i.d.d,c))),h=i,l=c,f=r;n.C&&n.C.a>0&&(b=f+n.C.a,s&&(b+=h.d.a),a=nTv.Math.max(a,(ED(),qR(nbE),nTv.Math.abs(l-1)<=nbE||1==l||isNaN(l)&&isNaN(1)?0:b/(1-l)))),e.n.d=0,e.a.b=a}function no5(n,t,e){var i,r,c,a,u,o;for(a=0,this.g=n,u=t.d.length,o=e.d.length,this.d=_f(nPV,nw9,10,u+o,0,1);a0?BW(this,this.f/this.a):null!=Tu(t.g,t.d[0]).a&&null!=Tu(e.g,e.d[0]).a?BW(this,(gy(Tu(t.g,t.d[0]).a)+gy(Tu(e.g,e.d[0]).a))/2):null!=Tu(t.g,t.d[0]).a?BW(this,Tu(t.g,t.d[0]).a):null!=Tu(e.g,e.d[0]).a&&BW(this,Tu(e.g,e.d[0]).a)}function no6(n){var t;this.a=n,t=(ntY(),Um(Dg(nPQ,1),nfh,267,0,[nAV,nAW,nAU,nAQ,nAX,nAz])).length,this.b=Cv(nCi,[nhJ,npX],[593,146],0,[t,t],2),this.c=Cv(nCi,[nhJ,npX],[593,146],0,[t,t],2),LO(this,nAV,(ns8(),nFJ),nFY),Un(this,nAV,nAW,nFG,nFz),LC(this,nAV,nAQ,nFG),LC(this,nAV,nAU,nFG),Un(this,nAV,nAX,nFJ,nFY),LO(this,nAW,nFH,nFB),LC(this,nAW,nAQ,nFH),LC(this,nAW,nAU,nFH),Un(this,nAW,nAX,nFG,nFz),EC(this,nAQ,nFH),LC(this,nAQ,nAU,nFH),LC(this,nAQ,nAX,nFW),EC(this,nAU,nF0),Un(this,nAU,nAX,nFQ,nFV),LO(this,nAX,nFH,nFH),LO(this,nAz,nFH,nFB),Un(this,nAz,nAV,nFG,nFz),Un(this,nAz,nAX,nFG,nFz),Un(this,nAz,nAW,nFG,nFz)}function no8(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;if(l=new Ee(n.o),p=t.a/l.a,u=t.b/l.b,d=t.a-l.a,c=t.b-l.b,e)for(r=jf(ntP(n,(ns8(),nFE)))===jf((nn2(),nWv)),w=new h1(n.j);w.a=1&&(g-a>0&&f>=0?(o.n.a+=d,o.n.b+=c*a):g-a<0&&h>=0&&(o.n.a+=d*g,o.n.b+=c));n.o.a=t.a,n.o.b=t.b,UU(n,(ns8(),nFu),(QJ(),new PR(i=Im(pf(nCk),9),Im(Sz(i,i.length),9),0)))}function no9(n){var t,e,i,r,c,a,u,o,s,h;for(i=new wn,a=new h1(n.e.a);a.a=u&&r<=o)u<=r&&c<=o?(e[s++]=r,e[s++]=c,i+=2):u<=r?(e[s++]=r,e[s++]=o,n.b[i]=o+1,a+=2):c<=o?(e[s++]=u,e[s++]=c,i+=2):(e[s++]=u,e[s++]=o,n.b[i]=o+1);else if(oV_(n.a.o,(nsR(),nWA)).gc()&&2>V_(n.a.o,nWJ).gc())return!0;if(n.a.c.Rf())return!1;for(y=0,m=0,v=new wn,o=n.a.e,h=0,f=o.length;h=e}(this.k)}function nsi(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,k;for(f=new wt,a=new wn,nir(n,e,n.d.fg(),a,f),nir(n,i,n.d.gg(),a,f),n.b=.2*(d=nrk(HV(new CN(null,new D6(a,16)),new cO)),g=nrk(HV(new CN(null,new D6(a,16)),new cA)),nTv.Math.min(d,g)),c=0,u=0;u=2&&(p=nci(a,!0,l),n.e||(n.e=new lY(n)),v=n.e,m=n.b,0!=p.c.length&&(k=function(n,t){var e,i,r,c,a,u,o,s;for(e=new wn,r=HV(new CN(null,new D6(n,16)),new cP),c=HV(new CN(null,new D6(n,16)),new cI),$R((V$(a=Nd(function(n){var t,e,i,r,c,a,u;for(a=0,t=336,e=0,r=new SR(n.length),u=n.length;aWM(xc(n,t),0)|WM(xc(n,e),0)>=0)?e:VK(nh0,xc(OF(e,63),1))}(e,i.rd());return Im(Im(function n(t,e){return t.c?n(t.c,e):IE(t.b,e),t}(new CN(null,ntb(new D6(($w(),QE(r.a)),16),new y,t,e)),new hS(n)),670),833)}(Um(Dg(nMU,1),nhA,833,0,[r,c])),new cC)),u=new II(a,a.a.e,4|a.a.d),o=new Sd(a,u))),s=_f(nYR,nlf,25,0,15,1),pC(o.a,new fh(s)),i=1;i=2*t&&IE(e,new It(s[i-1]+t,s[i]-t));return e}(a,m),vF(B$(new CN(null,new D6(function(n){var t,e,i,r,c,a,u;for(c=new j7,e=new h1(n);e.a2&&u.e.b+u.j.b<=2&&(r=u,i=a),c.a.zc(r,c),r.q=i);return c}(p),1)),new cS),new NE(v,a,k,m)))),nn5(a,l),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(o=new wn,a=new wn,c=new h1(n);c.a-1){for(r=new h1(a);r.a0||(p=nTv.Math.min(u.o,i.o-1),u.o=p,v=u.i-1,u.i=v,0!=u.i||(a.c[a.c.length]=u))}}(a),b=-1,h=new h1(a);h.agy(Ss(ntP(t,(ns8(),nFH))))&&UU(t,nFH,2),Im(ntP(t,nKE),103)==(W2(),nXO)&&UU(t,nKE,VA(t)),0==(e=Im(ntP(t,nFD),19)).a?UU(t,(nhu(),nDL),new VB):UU(t,(nhu(),nDL),new Ka(e.a)),null==So(ntP(t,nFe))&&UU(t,nFe,(TX(),jf(ntP(t,nKO))===jf((VY(),nXR)))),vF(new CN(null,new D6(t.a,16)),new fN(n)),vF(HV(new CN(null,new D6(t.b,16)),new tu),new fL(n)),i=new no6(t),UU(t,(nhu(),nDF),i),xY(n.a),Ak(n.a,(ntI(),nAd),Im(ntP(t,nKk),246)),Ak(n.a,nAg,Im(ntP(t,nK4),246)),Ak(n.a,nAp,Im(ntP(t,nKy),246)),Ak(n.a,nAv,Im(ntP(t,nFa),246)),Ak(n.a,nAm,(a=Im(ntP(t,nKO),218),EA(),C9(nHF.a,a)||((u=new cf).a=a,S_(nHF,a,u)),Im($6(nHF,a),635))),r=n.a,c=function(n){var t,e,i,r,c,a,u;switch(e=Im(ntP(n,(nhu(),nDu)),21),t=Eo(nAl),Im(ntP(n,(ns8(),nK_)),334)==(WN(),nX2)&&zM(t,nAb),gm(So(ntP(n,nKK)))?Cg(t,(ntI(),nAd),(nhs(),n$W)):Cg(t,(ntI(),nAp),(nhs(),n$W)),null!=ntP(n,(FI(),nzR))&&zM(t,nAw),(gm(So(ntP(n,nKX)))||gm(So(ntP(n,nKF))))&&Ob(t,(ntI(),nAm),(nhs(),n$o)),Im(ntP(n,nKE),103).g){case 2:case 3:case 4:Ob(Cg(t,(ntI(),nAd),(nhs(),n$h)),nAm,n$s)}switch(e.Hc((ncJ(),nL$))&&Ob(Cg(Cg(t,(ntI(),nAd),(nhs(),n$u)),nAv,n$c),nAm,n$a),jf(ntP(n,nK3))!==jf((nco(),n_x))&&Cg(t,(ntI(),nAp),(nhs(),n$_)),e.Hc(nLF)&&(Cg(t,(ntI(),nAd),(nhs(),n$U)),Cg(t,nAg,n$G),Cg(t,nAp,n$z)),jf(ntP(n,nKr))!==jf((ntW(),nLI))&&jf(ntP(n,nKO))!==jf((VY(),nXK))&&Ob(t,(ntI(),nAm),(nhs(),n$E)),gm(So(ntP(n,nKB)))&&Cg(t,(ntI(),nAp),(nhs(),n$j)),gm(So(ntP(n,nKm)))&&Cg(t,(ntI(),nAp),(nhs(),n$1)),(jf(ntP(n,(ns8(),nK_)))===jf((WN(),nX2))?n.e||jf(ntP(n,nKw))===jf((z0(),nLB)):(a=Im(ntP(n,nKd),292),u=gm(So(ntP(n,nKm)))||jf(ntP(n,nKy))===jf((q5(),nNQ)),r=Im(ntP(n,nKb),19).a,c=n.a.c.length,u||a==(z0(),nLB)||0!=r&&!(r>c)))||(i=(jf(ntP(n,nK_))===jf(nX2)?Im(ntP(n,nKw),292):Im(ntP(n,nKd),292))==(z0(),nLq)?(nhs(),n$q):(nhs(),n$3),Cg(t,(ntI(),nAv),i)),Im(ntP(n,n_e),377).g){case 1:Cg(t,(ntI(),nAv),(nhs(),n$0));break;case 2:Ob(Cg(Cg(t,(ntI(),nAp),(nhs(),n$t)),nAv,n$e),nAm,n$i)}return jf(ntP(n,nKh))!==jf((U1(),n__))&&Cg(t,(ntI(),nAp),(nhs(),n$2)),t}(t),zM(r.a,c),UU(t,nDN,noU(n.a,t))}function nsc(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(s=nlc,h=nlc,u=nla,o=nla,l=new h1(t.i);l.a=u&&r<=o)u<=r&&c<=o?i+=2:u<=r?(n.b[i]=o+1,a+=2):c<=o?(e[s++]=r,e[s++]=u-1,i+=2):(e[s++]=r,e[s++]=u-1,n.b[i]=o+1,a+=2);else if(o0?1:0;c.a[r]!=e;)c=c.a[r],r=n.a.ue(e.d,c.d)>0?1:0;c.a[r]=i,i.b=e.b,i.a[0]=e.a[0],i.a[1]=e.a[1],e.a[0]=null,e.a[1]=null}(n,o,a,h=new _g(f.d,f.e)),l==a&&(l=h)),l.a[l.a[1]==f?1:0]=f.a[f.a[0]?0:1],--n.c),n.b=o.a[1],n.b&&(n.b.b=!1),e.b}function nsb(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(e)for(i=-1,h=new Rn(t,0);h.b0?r-=864e5:r+=864e5,o=new Sf(VK(zD(t.q.getTime()),r))),h=new gW,s=n.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(a=c+1;a=-1900?1:0,e>=4?jP(n,Um(Dg(nTh,1),nhJ,2,6,[nfq,nfG])[a]):jP(n,Um(Dg(nTh,1),nhJ,2,6,["BC","AD"])[a]);break;case 121:!function(n,t,e){var i;switch((i=e.q.getFullYear()-nfH+nfH)<0&&(i=-i),t){case 1:n.a+=i;break;case 2:H2(n,i%100,2);break;default:H2(n,i,t)}}(n,e,i);break;case 77:!function(n,t,e){var i;switch(i=e.q.getMonth(),t){case 5:jP(n,Um(Dg(nTh,1),nhJ,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:jP(n,Um(Dg(nTh,1),nhJ,2,6,[nfC,nfO,nfA,nf$,nfN,nfL,nfD,nfx,nfR,nfK,nfF,nf_])[i]);break;case 3:jP(n,Um(Dg(nTh,1),nhJ,2,6,["Jan","Feb","Mar","Apr",nfN,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:H2(n,i+1,t)}}(n,e,i);break;case 107:0==(u=r.q.getHours())?H2(n,24,e):H2(n,u,e);break;case 83:0>WM(b=zD(r.q.getTime()),0)?(w=nfP-CZ(QU(Hl(b),nfP)))==nfP&&(w=0):w=CZ(QU(b,nfP)),1==e?$r(n,48+(w=nTv.Math.min((w+50)/100|0,9))&nfI):2==e?H2(n,w=nTv.Math.min((w+5)/10|0,99),2):(H2(n,w,3),e>3&&H2(n,0,e-3));break;case 69:o=i.q.getDay(),5==e?jP(n,Um(Dg(nTh,1),nhJ,2,6,["S","M","T","W","T","F","S"])[o]):4==e?jP(n,Um(Dg(nTh,1),nhJ,2,6,[nfz,nfU,nfX,nfW,nfV,nfQ,nfJ])[o]):jP(n,Um(Dg(nTh,1),nhJ,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[o]);break;case 97:r.q.getHours()>=12&&24>r.q.getHours()?jP(n,Um(Dg(nTh,1),nhJ,2,6,["AM","PM"])[1]):jP(n,Um(Dg(nTh,1),nhJ,2,6,["AM","PM"])[0]);break;case 104:0==(s=r.q.getHours()%12)?H2(n,12,e):H2(n,s,e);break;case 75:H2(n,r.q.getHours()%12,e);break;case 72:H2(n,r.q.getHours(),e);break;case 99:h=i.q.getDay(),5==e?jP(n,Um(Dg(nTh,1),nhJ,2,6,["S","M","T","W","T","F","S"])[h]):4==e?jP(n,Um(Dg(nTh,1),nhJ,2,6,[nfz,nfU,nfX,nfW,nfV,nfQ,nfJ])[h]):3==e?jP(n,Um(Dg(nTh,1),nhJ,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[h]):H2(n,h,1);break;case 76:f=i.q.getMonth(),5==e?jP(n,Um(Dg(nTh,1),nhJ,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[f]):4==e?jP(n,Um(Dg(nTh,1),nhJ,2,6,[nfC,nfO,nfA,nf$,nfN,nfL,nfD,nfx,nfR,nfK,nfF,nf_])[f]):3==e?jP(n,Um(Dg(nTh,1),nhJ,2,6,["Jan","Feb","Mar","Apr",nfN,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[f]):H2(n,f+1,e);break;case 81:l=i.q.getMonth()/3|0,e<4?jP(n,Um(Dg(nTh,1),nhJ,2,6,["Q1","Q2","Q3","Q4"])[l]):jP(n,Um(Dg(nTh,1),nhJ,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[l]);break;case 100:H2(n,i.q.getDate(),e);break;case 109:H2(n,r.q.getMinutes(),e);break;case 115:H2(n,r.q.getSeconds(),e);break;case 122:e<4?jP(n,c.c[0]):jP(n,c.c[1]);break;case 118:jP(n,c.b);break;case 90:e<3?jP(n,(g=-c.a,d=Um(Dg(nY$,1),nfS,25,15,[43,48,48,48,48]),g<0&&(d[0]=45,g=-g),d[1]=d[1]+((g/60|0)/10|0)&nfI,d[2]=d[2]+(g/60|0)%10&nfI,d[3]=d[3]+(g%60/10|0)&nfI,d[4]=d[4]+g%10&nfI,Je(d,0,d.length))):3==e?jP(n,(v=-c.a,p=Um(Dg(nY$,1),nfS,25,15,[43,48,48,58,48,48]),v<0&&(p[0]=45,v=-v),p[1]=p[1]+((v/60|0)/10|0)&nfI,p[2]=p[2]+(v/60|0)%10&nfI,p[4]=p[4]+(v%60/10|0)&nfI,p[5]=p[5]+v%10&nfI,Je(p,0,p.length))):jP(n,(m=c.a,y=Um(Dg(nY$,1),nfS,25,15,[71,77,84,45,48,48,58,48,48]),m<=0&&(y[3]=43,m=-m),y[4]=y[4]+((m/60|0)/10|0)&nfI,y[5]=y[5]+(m/60|0)%10&nfI,y[7]=y[7]+(m%60/10|0)&nfI,y[8]=y[8]+m%10&nfI,Je(y,0,y.length)));break;default:return 0}})(h,i,a-c,u,o,e),c=a}else if(39==i){if(++c=s)throw new gd("Missing trailing '").e;a+12?(Uf(o=new wn,new D2(b,1,b.b)),z5(w=new nrf(nht(o,d+n.a)),t),e.c[e.c.length]=w):w=i?Im($a(n.b,ntN(t)),266):Im($a(n.b,ntx(t)),266),a=ntN(t),i&&(a=ntx(t)),g=a,m=nwt,Yc(),v=nC2,m=nTv.Math.abs(l.b),(p=nTv.Math.abs(g.f-l.b))>16==-10?e=Im(n.Cb,284).nk(t,e):n.Db>>16==-15&&(t||(nhl(),t=nQH),u||(nhl(),u=nQH),n.Cb.nh()&&(a=new HE(n.Cb,1,13,u,t,Yl(HO(Im(n.Cb,59)),n),!1),e?e.Ei(a):e=a));else if(Ti(n.Cb,88))n.Db>>16==-23&&(Ti(t,88)||(nhl(),t=nQG),Ti(u,88)||(nhl(),u=nQG),n.Cb.nh()&&(a=new HE(n.Cb,1,10,u,t,Yl(RJ(Im(n.Cb,26)),n),!1),e?e.Ei(a):e=a));else if(Ti(n.Cb,444))for((c=Im(n.Cb,836)).b||(c.b=new b1(new dC)),r=new b0(new XE(new hN(c.b.a).a));r.a.b;)e=nsg(i=Im(BQ(r.a).cd(),87),nr0(i,c),e)}return e}function nsp(n){var t,e,i,r,c,a,u,o,s,h,f,l;if((l=Im(nrM(n,(nha(),nUR)),21)).dc())return null;if(u=0,a=0,l.Hc((QJ(),nW6))){for(h=Im(nrM(n,nU6),98),i=2,e=2,r=2,c=2,t=Dt(n)?Im(nrM(Dt(n),nUl),103):Im(nrM(n,nUl),103),s=new Td((n.c||(n.c=new An(nC_,n,9,9)),n.c));s.e!=s.i.gc();)if(o=Im(J1(s),118),(f=Im(nrM(o,nXi),61))==(nsR(),nWQ)&&(f=nux(o,t),Yu(o,nXi,f)),h==(nn2(),nWv))switch(f.g){case 1:i=nTv.Math.max(i,o.i+o.g);break;case 2:e=nTv.Math.max(e,o.j+o.f);break;case 3:r=nTv.Math.max(r,o.i+o.g);break;case 4:c=nTv.Math.max(c,o.j+o.f)}else switch(f.g){case 1:i+=o.g+2;break;case 2:e+=o.f+2;break;case 3:r+=o.g+2;break;case 4:c+=o.f+2}u=nTv.Math.max(i,r),a=nTv.Math.max(e,c)}return nsH(n,u,a,!0,!0)}function nsv(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;for(v=Im(Kc(B$(Nb(new CN(null,new D6(t.d,16)),new lv(e)),new lm(e)),_D(new H,new _,new ne,Um(Dg(nMz,1),nfh,132,0,[(XW(),nM2)]))),15),f=nhM,h=nfp,o=new h1(t.b.j);o.a0&&(s=n.n.a/c);break;case 2:case 4:(r=n.i.o.b)>0&&(s=n.n.b/r)}UU(n,(nhu(),nD$),s)}if(o=n.o,a=n.a,i)a.a=i.a,a.b=i.b,n.d=!0;else if(t!=nWk&&t!=nWj&&u!=nWQ)switch(u.g){case 1:a.a=o.a/2;break;case 2:a.a=o.a,a.b=o.b/2;break;case 3:a.a=o.a/2,a.b=o.b;break;case 4:a.b=o.b/2}else a.a=o.a/2,a.b=o.b/2}(s,c,r,Im(nrM(t,nFk),8)),o=new Td((t.n||(t.n=new An(nCK,t,1,7)),t.n));o.e!=o.i.gc();)!gm(So(nrM(u=Im(J1(o),137),nFf)))&&u.a&&IE(s.f,WE(u));switch(r.g){case 2:case 1:(s.j==(nsR(),nW$)||s.j==nWV)&&i.Fc((ncJ(),nLK));break;case 4:case 3:(s.j==(nsR(),nWA)||s.j==nWJ)&&i.Fc((ncJ(),nLK))}}(n,a,s,o,i,h);for(c=new Td((t.n||(t.n=new An(nCK,t,1,7)),t.n));c.e!=c.i.gc();)!gm(So(nrM(r=Im(J1(c),137),nFf)))&&r.a&&IE(s.b,WE(r));return gm(So(ntP(s,nKt)))&&o.Fc((ncJ(),nL$)),gm(So(ntP(s,nKG)))&&(o.Fc((ncJ(),nLx)),o.Fc(nLD),UU(s,nFE,nWk)),s}function nsy(n,t){var e,i,r,c,a,u,o;if(Ti(n.Ug(),160)?(nsy(Im(n.Ug(),160),t),t.a+=" > "):t.a+="Root ",Pv((e=n.Tg().zb).substr(0,3),"Elk")?jP(t,e.substr(3)):t.a+=""+e,r=n.zg()){jP((t.a+=" ",t),r);return}if(Ti(n,354)&&(o=Im(n,137).a)){jP((t.a+=" ",t),o);return}for(c=new Td(n.Ag());c.e!=c.i.gc();)if(o=Im(J1(c),137).a){jP((t.a+=" ",t),o);return}if(Ti(n,352)&&((i=Im(n,79)).b||(i.b=new Ph(nCA,i,4,7)),0!=i.b.i&&(i.c||(i.c=new Ph(nCA,i,5,8)),0!=i.c.i))){for(t.a+=" (",a=new Mv((i.b||(i.b=new Ph(nCA,i,4,7)),i.b));a.e!=a.i.gc();)a.e>0&&(t.a+=nhC),nsy(Im(J1(a),160),t);for(t.a+=nw4,u=new Mv((i.c||(i.c=new Ph(nCA,i,5,8)),i.c));u.e!=u.i.gc();)u.e>0&&(t.a+=nhC),nsy(Im(J1(u),160),t);t.a+=")"}}function nsk(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;return u=S7(new kp(t.a,t.b),n),o=S7(new kp(i.a,i.b),e),s=n.a,b=n.b,f=e.a,d=e.b,h=u.a,w=u.b,r=(l=o.a)*w-h*(g=o.b),ED(),qR(np3),!(nTv.Math.abs(0-r)<=np3||0==r||isNaN(0)&&isNaN(r))&&(c=1/r*((s-f)*w-(b-d)*h),a=-(1/r*(-(s-f)*g+(b-d)*l)),qR(np3),(nTv.Math.abs(0-c)<=np3||0==c||isNaN(0)&&isNaN(c)?0:0c?1:j1(isNaN(0),isNaN(c)))<0&&(qR(np3),(nTv.Math.abs(c-1)<=np3||1==c||isNaN(c)&&isNaN(1)?0:c<1?-1:c>1?1:j1(isNaN(c),isNaN(1)))<0)&&(qR(np3),(nTv.Math.abs(0-a)<=np3||0==a||isNaN(0)&&isNaN(a)?0:0a?1:j1(isNaN(0),isNaN(a)))<0)&&(qR(np3),(nTv.Math.abs(a-1)<=np3||1==a||isNaN(a)&&isNaN(1)?0:a<1?-1:a>1?1:j1(isNaN(a),isNaN(1)))<0))}function nsj(n,t){var e;if(n.e)throw new gg((Su(nSi),nlZ+nSi.k+nl1)).e;if(!T8(n.a.e,t))throw new d7(nl0+t+nl2).e;if(t==n.d)return n;switch(e=n.d,n.d=t,e.g){case 0:switch(t.g){case 2:Zr(n);break;case 1:U9(n),Zr(n);break;case 4:nnN(n),Zr(n);break;case 3:nnN(n),U9(n),Zr(n)}break;case 2:switch(t.g){case 1:U9(n),naS(n);break;case 4:nnN(n),Zr(n);break;case 3:nnN(n),U9(n),Zr(n)}break;case 1:switch(t.g){case 2:U9(n),naS(n);break;case 4:U9(n),nnN(n),Zr(n);break;case 3:U9(n),nnN(n),U9(n),Zr(n)}break;case 4:switch(t.g){case 2:nnN(n),Zr(n);break;case 1:nnN(n),U9(n),Zr(n);break;case 3:U9(n),naS(n)}break;case 3:switch(t.g){case 2:U9(n),nnN(n),Zr(n);break;case 1:U9(n),nnN(n),U9(n),Zr(n);break;case 4:U9(n),naS(n)}}return n}function nsE(n,t){var e;if(n.d)throw new gg((Su(nPH),nlZ+nPH.k+nl1)).e;if(!T8(n.a.c,t))throw new d7(nl0+t+nl2).e;if(t==n.c)return n;switch(e=n.c,n.c=t,e.g){case 0:switch(t.g){case 2:Xd(n);break;case 1:U8(n),Xd(n);break;case 4:nnL(n),Xd(n);break;case 3:nnL(n),U8(n),Xd(n)}break;case 2:switch(t.g){case 1:U8(n),naP(n);break;case 4:nnL(n),Xd(n);break;case 3:nnL(n),U8(n),Xd(n)}break;case 1:switch(t.g){case 2:U8(n),naP(n);break;case 4:U8(n),nnL(n),Xd(n);break;case 3:U8(n),nnL(n),U8(n),Xd(n)}break;case 4:switch(t.g){case 2:nnL(n),Xd(n);break;case 1:nnL(n),U8(n),Xd(n);break;case 3:U8(n),naP(n)}break;case 3:switch(t.g){case 2:U8(n),nnL(n),Xd(n);break;case 1:U8(n),nnL(n),U8(n),Xd(n);break;case 4:U8(n),naP(n)}}return n}function nsT(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w;for(l=e.d,f=e.c,a=(c=new kp(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a)).b,s=new h1(n.a);s.ai.d,i.d=nTv.Math.max(i.d,t),u&&e&&(i.d=nTv.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:e=t>i.a,i.a=nTv.Math.max(i.a,t),u&&e&&(i.a=nTv.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:e=t>i.c,i.c=nTv.Math.max(i.c,t),u&&e&&(i.c=nTv.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:e=t>i.b,i.b=nTv.Math.max(i.b,t),u&&e&&(i.b=nTv.Math.max(i.b,i.c),i.c=i.b+r)}}}(u),function(n){switch(n.q.g){case 5:nnd(n,(nsR(),nW$)),nnd(n,nWV);break;case 4:no3(n,(nsR(),nW$)),no3(n,nWV);break;default:neN(n,(nsR(),nW$)),neN(n,nWV)}}(u),function(n){switch(n.q.g){case 5:nng(n,(nsR(),nWA)),nng(n,nWJ);break;case 4:no4(n,(nsR(),nWA)),no4(n,nWJ);break;default:neL(n,(nsR(),nWA)),neL(n,nWJ)}}(u),function(n){var t,e,i,r,c,a,u;if(!n.A.dc()){if(n.A.Hc((QJ(),nW6))&&(Im($6(n.b,(nsR(),nW$)),124).k=!0,Im($6(n.b,nWV),124).k=!0,t=n.q!=(nn2(),nWm)&&n.q!=nWv,Im($6(n.b,nWA),124).j=t,Im($6(n.b,nWJ),124).j=t,n.g.j=t,n.A.Hc(nW8)&&(Im($6(n.b,nW$),124).j=!0,Im($6(n.b,nWV),124).j=!0,Im($6(n.b,nWA),124).k=!0,Im($6(n.b,nWJ),124).k=!0,n.g.k=!0)),n.A.Hc(nW5))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,u=n.B.Hc((na9(),nVr)),r=JF(),c=0,a=r.length;cnTv.Math.abs(p-d))continue;p1)for(l=new noF(b,v,i),KA(v,new y5(n,l)),a.c[a.c.length]=l,h=v.a.ec().Kc();h.Ob();)Hh(c,Im(h.Pb(),46).b);if(u.a.gc()>1)for(l=new noF(b,u,i),KA(u,new y6(n,l)),a.c[a.c.length]=l,h=u.a.ec().Kc();h.Ob();)Hh(c,Im(h.Pb(),46).b)}}function nsP(n){var t,e;mc(n,new nte(((((t=new as).c=nvO,t).d="ELK Radial",t).b='A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.',e=new cU,t.e=e,t.a=nvO,t))),xV(n,nvO,npB,JZ(nqN)),xV(n,nvO,nwy,JZ(nqx)),xV(n,nvO,nwC,JZ(nqS)),xV(n,nvO,nwq,JZ(nqP)),xV(n,nvO,nwI,JZ(nqI)),xV(n,nvO,nwO,JZ(nqM)),xV(n,nvO,nwP,JZ(nqC)),xV(n,nvO,nwA,JZ(nq$)),xV(n,nvO,nvS,JZ(nqE)),xV(n,nvO,nvM,JZ(nqT)),xV(n,nvO,nvC,JZ(nqO)),xV(n,nvO,nvE,JZ(nqA)),xV(n,nvO,nvT,JZ(nqL)),xV(n,nvO,nvP,JZ(nqD)),xV(n,nvO,nvI,JZ(nqR))}function nsI(n){var t,e,i,r,c,a,u,o;if(this.r=(e=new nM,i=new nS,new Ll(Im(A1(e),62),Im(A1(i),62))),this.b=new Qn(Im(A1(nCy),290)),this.p=new Qn(Im(A1(nCy),290)),this.i=new Qn(Im(A1(nSp),290)),this.e=n,this.o=new Ee(n.rf()),this.D=n.Df()||gm(So(n.We((nha(),nUM)))),this.A=Im(n.We((nha(),nUR)),21),this.B=Im(n.We(nUB),21),this.q=Im(n.We(nU6),98),this.u=Im(n.We(nXn),21),u=this.u,nis(),zU(LX(C6(nWS,Um(Dg(nCm,1),nfh,273,0,[nWI])),u))>1||zU(LX(C6(nWM,Um(Dg(nCm,1),nfh,273,0,[nWT,nWC])),u))>1)throw new gI("Invalid port label placement: "+this.u).e;if(this.v=gm(So(n.We(nXe))),this.j=Im(n.We(nUD),21),o=this.j,nrS(),zU(LX(C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWa])),o))>1||zU(LX(C6(nWe,Um(Dg(nCg,1),nfh,93,0,[nWt,nWr])),o))>1||zU(LX(C6(nWs,Um(Dg(nCg,1),nfh,93,0,[nWo,nWu])),o))>1)throw new gI("Invalid node label placement: "+this.j).e;this.n=Im(ZB(n,nUN),116),this.k=gy(Ss(ZB(n,nXm))),this.d=gy(Ss(ZB(n,nXv))),this.w=gy(Ss(ZB(n,nXS))),this.s=gy(Ss(ZB(n,nXy))),this.t=gy(Ss(ZB(n,nXk))),this.C=Im(ZB(n,nXT),142),this.c=2*this.d,t=!this.B.Hc((na9(),nW7)),this.f=new JM(0,t,0),this.g=new JM(1,t,0),r=this.f,BH(),c=nSV,a=this.g,r.a[c.g]=a}function nsC(n){var t,e,i,r,c,a,u,o,s,h,f;if(null==n)throw new gG(nhL).e;if(s=n,c=n.length,o=!1,c>0&&(D5(0,n.length),(45==(t=n.charCodeAt(0))||43==t)&&(n=n.substr(1),--c,o=45==t)),0==c)throw new gG(nlr+s+'"').e;for(;n.length>0&&(D5(0,n.length),48==n.charCodeAt(0));)n=n.substr(1),--c;if(c>(nuk(),nT6)[10])throw new gG(nlr+s+'"').e;for(r=0;r0&&(f=-parseInt(n.substr(0,i),10),n=n.substr(i),c-=i,e=!1);c>=a;){if(i=parseInt(n.substr(0,a),10),n=n.substr(a),c-=a,e)e=!1;else{if(0>WM(f,u))throw new gG(nlr+s+'"').e;f=VF(f,h)}f=VR(f,i)}if(WM(f,0)>0||!o&&0>WM(f=Hl(f),0))throw new gG(nlr+s+'"').e;return f}function nsO(n,t){var e,i,r,c,a,u,o;if(Cc(),this.a=new E4(this),this.b=n,this.c=t,this.f=Aj(HC((neS(),nJk),t)),this.f.dc()){if((u=nnw(nJk,n))==t)for(this.e=!0,this.d=new wn,this.f=new a5,this.f.Fc(njZ),Im(noI(HI(nJk,BU(n)),""),26)==n&&this.f.Fc(OE(nJk,BU(n))),r=naV(nJk,n).Kc();r.Ob();)switch(i=Im(r.Pb(),170),$H(HC(nJk,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(Aj(HC(nJk,i)))}else if(mp(),Im(t,66).Oj())for(a=0,this.e=!0,this.f=null,this.d=new wn,o=(null==n.i&&nuq(n),n.i).length;a=0&&a0&&(Im($6(n.b,t),124).a.b=e)}function ns$(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=t.length)>0&&(D5(0,t.length),64!=(u=t.charCodeAt(0)))){if(37==u&&(h=t.lastIndexOf("%"),o=!1,0!=h&&(h==f-1||(D5(h+1,t.length),o=46==t.charCodeAt(h+1))))){if(v=Pv("%",a=t.substr(1,h-1))?null:nsF(a),i=0,o)try{i=nue(t.substr(h+2),nfp,nhM)}catch(n){if(Ti(n=Uu(n),127))throw new Hj(n).e;throw n.e}for(d=GC(n.Wg());d.Ob();)if(Ti(b=zG(d),510)&&(p=(r=Im(b,590)).d,(null==v?null==p:Pv(v,p))&&0==i--))return r;return null}if(l=-1==(s=t.lastIndexOf("."))?t:t.substr(0,s),e=0,-1!=s)try{e=nue(t.substr(s+1),nfp,nhM)}catch(n){if(Ti(n=Uu(n),127))l=t;else throw n.e}for(l=Pv("%",l)?null:nsF(l),w=GC(n.Wg());w.Ob();)if(Ti(b=zG(w),191)&&(g=(c=Im(b,191)).ne(),(null==l?null==g:Pv(l,g))&&0==e--))return c;return null}return noX(n,t)}function nsN(){var n,t,e;for(nsN=C,new H1(1,0),new H1(10,0),new H1(0,0),nMn=_f(nTf,nhJ,240,11,0,1),nMt=_f(nY$,nfS,25,100,15,1),nMi=_f(nYN,nfB,25,(nMe=Um(Dg(nYR,1),nlf,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9])).length,15,1),nMc=_f(nYN,nfB,25,(nMr=Um(Dg(nYR,1),nlf,25,15,[1,10,100,nfP,1e4,nll,1e6,1e7,1e8,nf7,1e10,1e11,1e12,1e13,1e14,1e15,1e16])).length,15,1),nMa=_f(nTf,nhJ,240,11,0,1),n=0;nr+2&&UH((D5(r+1,n.length),n.charCodeAt(r+1)),nV9,nV7)&&UH((D5(r+2,n.length),n.charCodeAt(r+2)),nV9,nV7)){if(D5(r+1,n.length),s=n.charCodeAt(r+1),D5(r+2,n.length),h=n.charCodeAt(r+2),e=(W9(s)<<4|W9(h))&nfI,r+=2,i>0?(192&e)==128?t[u++]=e<<24>>24:i=0:e>=128&&((224&e)==192?(t[u++]=e<<24>>24,i=2):(240&e)==224?(t[u++]=e<<24>>24,i=3):(248&e)==240&&(t[u++]=e<<24>>24,i=4)),i>0){if(u==i){switch(u){case 2:$r(o,((31&t[0])<<6|63&t[1])&nfI);break;case 3:$r(o,((15&t[0])<<12|(63&t[1])<<6|63&t[2])&nfI)}u=0,i=0}}else{for(c=0;c0){if(a+i>n.length)return!1;u=niT(n.substr(0,a+i),t)}else u=niT(n,t)}switch(c){case 71:return u=ntw(n,a,Um(Dg(nTh,1),nhJ,2,6,[nfq,nfG]),t),r.e=u,!0;case 77:return h=n,f=t,l=r,b=u,w=a,b<0?((b=ntw(h,w,Um(Dg(nTh,1),nhJ,2,6,[nfC,nfO,nfA,nf$,nfN,nfL,nfD,nfx,nfR,nfK,nfF,nf_]),f))<0&&(b=ntw(h,w,Um(Dg(nTh,1),nhJ,2,6,["Jan","Feb","Mar","Apr",nfN,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),f)),!(b<0)&&(l.k=b,!0)):b>0&&(l.k=b-1,!0);case 76:return d=n,g=t,p=r,v=u,m=a,v<0?((v=ntw(d,m,Um(Dg(nTh,1),nhJ,2,6,[nfC,nfO,nfA,nf$,nfN,nfL,nfD,nfx,nfR,nfK,nfF,nf_]),g))<0&&(v=ntw(d,m,Um(Dg(nTh,1),nhJ,2,6,["Jan","Feb","Mar","Apr",nfN,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),g)),!(v<0)&&(p.k=v,!0)):v>0&&(p.k=v-1,!0);case 69:return(o=ntw(n,a,Um(Dg(nTh,1),nhJ,2,6,[nfz,nfU,nfX,nfW,nfV,nfQ,nfJ]),t))<0&&(o=ntw(n,a,Um(Dg(nTh,1),nhJ,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(o<0)&&(r.d=o,!0);case 99:return(s=ntw(n,a,Um(Dg(nTh,1),nhJ,2,6,[nfz,nfU,nfX,nfW,nfV,nfQ,nfJ]),t))<0&&(s=ntw(n,a,Um(Dg(nTh,1),nhJ,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(s<0)&&(r.d=s,!0);case 97:return u=ntw(n,a,Um(Dg(nTh,1),nhJ,2,6,["AM","PM"]),t),r.b=u,!0;case 121:return function(n,t,e,i,r,c){var a,u,o;if(u=32,i<0){if(t[0]>=n.length||43!=(u=$9(n,t[0]))&&45!=u||(++t[0],(i=niT(n,t))<0))return!1;45==u&&(i=-i)}return 32==u&&t[0]-e==2&&2==r.b&&(a=(o=(new vP).q.getFullYear()-nfH+nfH-80)%100,c.a=i==a,i+=(o/100|0)*100+(i3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}(u,a,t[0],r);case 104:12==u&&(u=0);case 75:case 72:if(u<0)return!1;return r.f=u,r.g=!1,!0;case 107:if(u<0)return!1;return r.f=u,r.g=!0,!0;case 109:if(u<0)return!1;return r.j=u,!0;case 115:if(u<0)return!1;return r.n=u,!0;case 90:if(a=0&&Pv(n.substr(a,3),"GMT")?t[0]=a+3:a>=0&&Pv(n.substr(a,3),"UTC")&&(t[0]=a+3),function(n,t,e){var i,r,c,a;if(t[0]>=n.length)return e.o=0,!0;switch($9(n,t[0])){case 43:r=1;break;case 45:r=-1;break;default:return e.o=0,!0}if(++t[0],c=t[0],0==(a=niT(n,t))&&t[0]==c)return!1;if(t[0]=1&&(k-s>0&&w>=0?(qh(f,f.i+y),qf(f,f.j+o*s)):k-s<0&&b>=0&&(qh(f,f.i+y*k),qf(f,f.j+o)));return Yu(n,(nha(),nUR),(QJ(),new PR(c=Im(pf(nCk),9),Im(Sz(c,c.length),9),0))),new kp(j,h)}function nsB(n){var t,e,i,r,c,a,u,o,s,h,f;if(h=Dt(ntr(Im(BX((n.b||(n.b=new Ph(nCA,n,4,7)),n.b),0),82)))==Dt(ntr(Im(BX((n.c||(n.c=new Ph(nCA,n,5,8)),n.c),0),82))),a=new ps,(t=Im(nrM(n,(XY(),nXV)),74))&&t.b>=2){if(0==(n.a||(n.a=new An(nCN,n,6,6)),n.a).i)pw(),e=new aZ,_P((n.a||(n.a=new An(nCN,n,6,6)),n.a),e);else if((n.a||(n.a=new An(nCN,n,6,6)),n.a).i>1)for(f=new Mv((n.a||(n.a=new An(nCN,n,6,6)),n.a));f.e!=f.i.gc();)nnA(f);nuX(t,Im(BX((n.a||(n.a=new An(nCN,n,6,6)),n.a),0),202))}if(h)for(i=new Td((n.a||(n.a=new An(nCN,n,6,6)),n.a));i.e!=i.i.gc();)for(o=new Td(((e=Im(J1(i),202)).a||(e.a=new Tg(nCI,e,5)),e.a));o.e!=o.i.gc();)u=Im(J1(o),469),a.a=nTv.Math.max(a.a,u.a),a.b=nTv.Math.max(a.b,u.b);for(c=new Td((n.n||(n.n=new An(nCK,n,1,7)),n.n));c.e!=c.i.gc();)r=Im(J1(c),137),(s=Im(nrM(r,nX0),8))&&Ef(r,s.a,s.b),h&&(a.a=nTv.Math.max(a.a,r.i+r.g),a.b=nTv.Math.max(a.b,r.j+r.f));return a}function nsq(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;if(1==n.gc())return Im(n.Xb(0),231);if(0>=n.gc())return new Fy;for(r=n.Kc();r.Ob();){for(e=Im(r.Pb(),231),w=0,h=nhM,f=nhM,o=nfp,s=nfp,b=new h1(e.e);b.au&&(m=0,y+=a+p,a=0),function(n,t,e,i){var r,c,a,u,o,s,h,f;for(S7(u=new kp(e,i),Im(ntP(t,(GA(),nOJ)),8)),f=new h1(t.e);f.a0&&(r=Im(CA(g.c.a,j-1),10),a=n.i[r.p],T=nTv.Math.ceil(EY(n.n,r,g)),c=k.a.e-g.d.d-(a.a.e+r.o.b+r.d.a)-T),s=nlc,j0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)<0,w=m.a.e.e-m.a.a-(m.b.e.e-m.b.a)<0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)>0,b=m.a.e.e+m.b.aE.b.e.e+E.a.a,y=0,!d&&!w&&(l?c+f>0?y=f:s-i>0&&(y=i):b&&(c+u>0?y=u:s-v>0&&(y=v))),k.a.e+=y,k.b&&(k.d.e+=y),!1))}function nsz(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(i=new Nj(t.qf().a,t.qf().b,t.rf().a,t.rf().b),r=new Et,n.c)for(a=new h1(t.wf());a.a=2&&(w=Im(d.Kc().Pb(),111),b=n.u.Hc((nis(),nWM)),g=n.u.Hc(nWC),!w.a&&!b&&(2==d.gc()||g)),e=n.u.Hc((nis(),nWT)),o=s.Kc();o.Ob();)if((u=Im(o.Pb(),111)).c&&!(u.c.d.c.length<=0)){switch(l=u.b.rf(),(f=(h=u.c).i).b=(c=h.n,h.e.a+c.b+c.c),f.a=(r=h.n,h.e.b+r.d+r.a),t.g){case 1:u.a?(f.c=(l.a-f.b)/2,_I(h,(_1(),nSY))):a||e?(f.c=-f.b-n.s,_I(h,(_1(),nS1))):(f.c=l.a+n.s,_I(h,(_1(),nSZ))),f.d=-f.a-n.t,ST(h,(H$(),nS2));break;case 3:u.a?(f.c=(l.a-f.b)/2,_I(h,(_1(),nSY))):a||e?(f.c=-f.b-n.s,_I(h,(_1(),nS1))):(f.c=l.a+n.s,_I(h,(_1(),nSZ))),f.d=l.b+n.t,ST(h,(H$(),nS4));break;case 2:u.a?(i=n.v?f.a:Im(CA(h.d,0),181).rf().b,f.d=(l.b-i)/2,ST(h,(H$(),nS3))):a||e?(f.d=-f.a-n.t,ST(h,(H$(),nS2))):(f.d=l.b+n.t,ST(h,(H$(),nS4))),f.c=l.a+n.s,_I(h,(_1(),nSZ));break;case 4:u.a?(i=n.v?f.a:Im(CA(h.d,0),181).rf().b,f.d=(l.b-i)/2,ST(h,(H$(),nS3))):a||e?(f.d=-f.a-n.t,ST(h,(H$(),nS2))):(f.d=l.b+n.t,ST(h,(H$(),nS4))),f.c=-f.b-n.s,_I(h,(_1(),nS1))}a=!1}}function nsX(n,t){var e,i,r,c,a,u,o,s,h,f,l;if(nhh(),0==vO(nYa)){for(a=0,f=_f(nYA,nhJ,117,nYo.length,0,1);as&&(i.a+=Te(_f(nY$,nfS,25,-s,15,1))),i.a+="Is",jZ(o,ntd(32))>=0)for(r=0;r0){for(r=0,l=h<100?null:new pc(h),w=(s=new zi(t)).g,g=_f(nYN,nfB,25,h,15,1),i=0,m=new BO(h);r=0;)if(null!=b?WY(b,w[o]):jf(b)===jf(w[o])){g.length<=i&&now(g,0,g=_f(nYN,nfB,25,2*g.length,15,1),0,i),g[i++]=r,_P(m,w[o]);break i}if(jf(b)===jf(u))break}}if(s=m,w=m.g,h=i,i>g.length&&now(g,0,g=_f(nYN,nfB,25,i,15,1),0,i),i>0){for(c=0,v=!0;c=0;)ZI(n,g[a]);if(i!=h){for(r=h;--r>=i;)ZI(s,r);now(g,0,g=_f(nYN,nfB,25,i,15,1),0,i)}t=s}}}else for(t=function(n,t){var e,i,r;if(t.dc())return Si(),Si(),nVY;for(e=new SL(n,t.gc()),r=new Td(n);r.e!=r.i.gc();)i=J1(r),t.Hc(i)&&_P(e,i);return e}(n,t),r=n.i;--r>=0;)t.Hc(n.g[r])&&(ZI(n,r),v=!0);if(!v)return!1;if(null!=g){for(f=1==(e=t.gc())?Dv(n,4,t.Kc().Pb(),null,g[0],d):Dv(n,6,t,g,g[0],d),l=e<100?null:new pc(e),r=t.Kc();r.Ob();)l=PO(n,Im(b=r.Pb(),72),l);l?(l.Ei(f),l.Fi()):zx(n.e,f)}else{for(l=(y=t.gc())<100?null:new pc(y),r=t.Kc();r.Ob();)l=PO(n,Im(b=r.Pb(),72),l);l&&l.Fi()}return!0}function nsV(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(Au(n.a,t)){if(v$(Im($a(n.a,t),53),e))return 1}else $J(n.a,t,new w_);if(Au(n.a,e)){if(v$(Im($a(n.a,e),53),t))return -1}else $J(n.a,e,new w_);if(Au(n.e,t)){if(v$(Im($a(n.e,t),53),e))return -1}else $J(n.e,t,new w_);if(Au(n.e,e)){if(v$(Im($a(n.a,e),53),t))return 1}else $J(n.e,e,new w_);if(n.c==(U1(),n_H)||!MB(t,(nhu(),nDj))||!MB(e,(nhu(),nDj))){if(o=Im(T5(Ki(Xl(Nb(new CN(null,new D6(t.j,16)),new rE)),new rT)),11),h=Im(T5(Ki(Xl(Nb(new CN(null,new D6(e.j,16)),new rM)),new rS)),11),o&&h){if(u=o.i,s=h.i,u&&u==s){for(l=new h1(u.j);l.a(a=nnD(n,e))?naF(n,t,e):naF(n,e,t),ra?1:0}return(i=Im(ntP(t,(nhu(),nDj)),19).a)>(c=Im(ntP(e,nDj),19).a)?naF(n,t,e):naF(n,e,t),ic?1:0}function nsQ(n,t,e,i,r,c,a,u,o){var s,h,f,l,b,w,d,g,p,v,m;switch((b=e,g=h=new Y$(o),ntY(),p=nAU,g.k=p,UU(h,(nhu(),nDc),a),UU(h,(ns8(),nFE),(nn2(),nWv)),d=gy(Ss(n.We(nFj))),UU(h,nFj,d),DM(f=new nt9,h),t!=nWk&&t!=nWj||(b=i>=0?Ql(u):Vg(Ql(u)),n.Ye(nFI,b)),s=new ps,l=!1,n.Xe(nFk))?(MU(s,Im(n.We(nFk),8)),l=!0):(v=a.a/2,m=a.b/2,s.a=v,s.b=m),b.g){case 4:UU(h,nKY,(VJ(),nDW)),UU(h,nL9,(UK(),nLc)),h.o.b=a.b,d<0&&(h.o.a=-d),ne9(f,(nsR(),nWA)),l||(s.a=a.a),s.a-=a.a;break;case 2:UU(h,nKY,(VJ(),nDQ)),UU(h,nL9,(UK(),nLi)),h.o.b=a.b,d<0&&(h.o.a=-d),ne9(f,(nsR(),nWJ)),l||(s.a=0);break;case 1:UU(h,nDf,(HN(),nLW)),h.o.a=a.a,d<0&&(h.o.b=-d),ne9(f,(nsR(),nWV)),l||(s.b=a.b),s.b-=a.b;break;case 3:UU(h,nDf,(HN(),nLU)),h.o.a=a.a,d<0&&(h.o.b=-d),ne9(f,(nsR(),nW$)),l||(s.b=0)}if(MU(f.n,s),UU(h,nFk,s),t==nWp||t==nWm||t==nWv){if(w=0,t==nWp&&n.Xe(nFT))switch(b.g){case 1:case 2:w=Im(n.We(nFT),19).a;break;case 3:case 4:w=-Im(n.We(nFT),19).a}else switch(b.g){case 4:case 2:w=c.b,t==nWm&&(w/=r.b);break;case 1:case 3:w=c.a,t==nWm&&(w/=r.a)}UU(h,nD$,w)}return UU(h,nDr,b),h}function nsJ(n,t,e,i,r,c,a){var u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O;for(d=0,S=0,s=new h1(n.b);s.ad&&(c&&(jO(j,b),jO(T,Va(h.b-1)),IE(n.d,w),u.c=_f(nEX,nhA,1,0,5,1)),C=e.b,O+=b+t,b=0,f=nTv.Math.max(f,e.b+e.c+I)),u.c[u.c.length]=o,function n(t,e,i){var r;if(t.c)qh(t.c,t.c.i+e),qf(t.c,t.c.j+i);else for(r=new h1(t.b);r.ao&&(f=0,l+=u+t,u=0),naL(c,f,l),e=nTv.Math.max(e,f+s.a),u=nTv.Math.max(u,s.b),f+=s.a+t;return new kp(e+t,l+u+t)}(Ms(n,(nsR(),nWR)),t),w=Zw(Ms(n,nWK),t),y=Zw(Ms(n,nWU),t),T=Zd(Ms(n,nWW),t),l=Zd(Ms(n,nWN),t),v=Zw(Ms(n,nWz),t),d=Zw(Ms(n,nWF),t),j=Zw(Ms(n,nWX),t),k=Zw(Ms(n,nWL),t),M=Zd(Ms(n,nWx),t),p=Zw(Ms(n,nWq),t),m=Zw(Ms(n,nWB),t),E=Zw(Ms(n,nWD),t),S=Zd(Ms(n,nWG),t),b=Zd(Ms(n,nW_),t),g=Zw(Ms(n,nWH),t),e=Xi(Um(Dg(nYR,1),nlf,25,15,[v.a,T.a,j.a,S.a])),i=Xi(Um(Dg(nYR,1),nlf,25,15,[w.a,f.a,y.a,g.a])),r=p.a,c=Xi(Um(Dg(nYR,1),nlf,25,15,[d.a,l.a,k.a,b.a])),s=Xi(Um(Dg(nYR,1),nlf,25,15,[v.b,w.b,d.b,m.b])),o=Xi(Um(Dg(nYR,1),nlf,25,15,[T.b,f.b,l.b,g.b])),h=M.b,u=Xi(Um(Dg(nYR,1),nlf,25,15,[j.b,y.b,k.b,E.b])),_O(Ms(n,nWR),e+r,s+h),_O(Ms(n,nWH),e+r,s+h),_O(Ms(n,nWK),e+r,0),_O(Ms(n,nWU),e+r,s+h+o),_O(Ms(n,nWW),0,s+h),_O(Ms(n,nWN),e+r+i,s+h),_O(Ms(n,nWF),e+r+i,0),_O(Ms(n,nWX),0,s+h+o),_O(Ms(n,nWL),e+r+i,s+h+o),_O(Ms(n,nWx),0,s),_O(Ms(n,nWq),e,0),_O(Ms(n,nWD),0,s+h+o),_O(Ms(n,nW_),e+r+i,0),(a=new ps).a=Xi(Um(Dg(nYR,1),nlf,25,15,[e+i+r+c,M.a,m.a,E.a])),a.b=Xi(Um(Dg(nYR,1),nlf,25,15,[s+o+h+u,p.b,S.b,b.b])),a}function nsZ(){nsZ=C,pd(),nVN=nVj.a,Im(BX(N6(nVj.a),0),18),nVP=nVj.f,Im(BX(N6(nVj.f),0),18),Im(BX(N6(nVj.f),1),34),nV$=nVj.n,Im(BX(N6(nVj.n),0),34),Im(BX(N6(nVj.n),1),34),Im(BX(N6(nVj.n),2),34),Im(BX(N6(nVj.n),3),34),nVI=nVj.g,Im(BX(N6(nVj.g),0),18),Im(BX(N6(nVj.g),1),34),nVT=nVj.c,Im(BX(N6(nVj.c),0),18),Im(BX(N6(nVj.c),1),18),nVC=nVj.i,Im(BX(N6(nVj.i),0),18),Im(BX(N6(nVj.i),1),18),Im(BX(N6(nVj.i),2),18),Im(BX(N6(nVj.i),3),18),Im(BX(N6(nVj.i),4),34),nVO=nVj.j,Im(BX(N6(nVj.j),0),18),nVM=nVj.d,Im(BX(N6(nVj.d),0),18),Im(BX(N6(nVj.d),1),18),Im(BX(N6(nVj.d),2),18),Im(BX(N6(nVj.d),3),18),Im(BX(N6(nVj.d),4),34),Im(BX(N6(nVj.d),5),34),Im(BX(N6(nVj.d),6),34),Im(BX(N6(nVj.d),7),34),nVE=nVj.b,Im(BX(N6(nVj.b),0),34),Im(BX(N6(nVj.b),1),34),nVS=nVj.e,Im(BX(N6(nVj.e),0),34),Im(BX(N6(nVj.e),1),34),Im(BX(N6(nVj.e),2),34),Im(BX(N6(nVj.e),3),34),Im(BX(N6(nVj.e),4),18),Im(BX(N6(nVj.e),5),18),Im(BX(N6(nVj.e),6),18),Im(BX(N6(nVj.e),7),18),Im(BX(N6(nVj.e),8),18),Im(BX(N6(nVj.e),9),18),Im(BX(N6(nVj.e),10),34),nVA=nVj.k,Im(BX(N6(nVj.k),0),34),Im(BX(N6(nVj.k),1),34)}function ns1(n){var t,e,i,r,c;switch(t=n.c){case 11:return n.Ml();case 12:return n.Ol();case 14:return n.Ql();case 15:return n.Tl();case 16:return n.Rl();case 17:return n.Ul();case 21:return nhe(n),nhh(),nhh(),nYl;case 10:switch(n.a){case 65:return n.yl();case 90:return n.Dl();case 122:return n.Kl();case 98:return n.El();case 66:return n.zl();case 60:return n.Jl();case 62:return n.Hl()}}switch(c=function(n){var t,e,i,r,c;switch(t=n.c,c=null,t){case 6:return n.Vl();case 13:return n.Wl();case 23:return n.Nl();case 22:return n.Sl();case 18:return n.Pl();case 8:nhe(n),nhh(),c=nYf;break;case 9:return n.vl(!0);case 19:return n.wl();case 10:switch(n.a){case 100:case 68:case 119:case 87:case 115:case 83:return c=n.ul(n.a),nhe(n),c;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:(e=n.tl())=48&&t<=57){for(i=t-48;r=48&&t<=57;)if((i=10*i+t-48)<0)throw new gO(nhd((E$(),nkx))).e}else throw new gO(nhd((E$(),nk$))).e;if(e=i,44==t){if(r>=n.j)throw new gO(nhd((E$(),nkL))).e;if((t=$9(n.i,r++))>=48&&t<=57){for(e=t-48;r=48&&t<=57;)if((e=10*e+t-48)<0)throw new gO(nhd((E$(),nkx))).e;if(i>e)throw new gO(nhd((E$(),nkD))).e}else e=-1}if(125!=t)throw new gO(nhd((E$(),nkN))).e;n.sl(r)?(nhh(),nhh(),++nYO,c=new R0(9,c),n.d=r+1):(nhh(),nhh(),++nYO,c=new R0(3,c),n.d=r),c.dm(i),c.cm(e),nhe(n)}}return c}function ns0(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P;for(w=new Fq(t.b),v=new Fq(t.b),l=new Fq(t.b),j=new Fq(t.b),d=new Fq(t.b),k=Jz(t,0);k.b!=k.d.c;)for(u=new h1((m=Im(RP(k),11)).g);u.a0,g=m.g.c.length>0,s&&g?l.c[l.c.length]=m:s?w.c[w.c.length]=m:g&&(v.c[v.c.length]=m);for(b=new h1(w);b.aV2(_k(d.d,k),_k(d.d,d.a))&&(r.c[r.c.length]=d);for(e.c=_f(nEX,nhA,1,0,5,1),g=new h1(r);g.a=u.b.c)&&(u.b=t),(!u.c||t.c<=u.c.c)&&(u.d=u.c,u.c=t),(!u.e||t.d>=u.e.d)&&(u.e=t),(!u.f||t.d<=u.f.d)&&(u.f=t);return i=new J3((Uj(),nAS)),xz(n,nAL,new gE(Um(Dg(nPB,1),nhA,369,0,[i]))),a=new J3(nAC),xz(n,nAN,new gE(Um(Dg(nPB,1),nhA,369,0,[a]))),r=new J3(nAP),xz(n,nA$,new gE(Um(Dg(nPB,1),nhA,369,0,[r]))),c=new J3(nAI),xz(n,nAA,new gE(Um(Dg(nPB,1),nhA,369,0,[c]))),nr5(i.c,nAS),nr5(r.c,nAP),nr5(c.c,nAI),nr5(a.c,nAC),u.a.c=_f(nEX,nhA,1,0,5,1),Uf(u.a,i.c),Uf(u.a,zI(r.c)),Uf(u.a,c.c),Uf(u.a,zI(a.c)),u}(h)),xz(y.a,nAD,new gE(Um(Dg(nPB,1),nhA,369,0,[k]))),k.d&&IE(k.f,k.d),k.f),e}(n,Im(f.Pb(),37)),IE(u.a,i),i.a=!Im(ntP(i.c,(nhu(),nDt)),21).dc()|i.a;for(n.b=(Wl(),(T=new ts).f=new qV(e),T.b=function(n,t){var e,i,r,c,a,u,o,s,h,f,l;for(n.a=new $u((f=Im(nCh.e&&nCh.e(),9),l=Im(AL(f,f.length),9),new PR(f,l,f.length))),i=new h1(t.a);i.anfg)&&u<10);l=n.c,b=new tf,l.e=b,nsn(n),nsE(w=n.c,(W2(),nXI)),w.d=!0,function(n){var t,e,i,r,c,a,u,o;for(c=new h1(n.a.b);c.a=0;o--)g=function(n){var t,e,i;return WM(n,0)>=0?(e=nnm(n,nf7),i=QU(n,nf7)):(e=nnm(t=OF(n,1),5e8),i=VK(OR(i=QU(t,5e8),1),xi(n,1))),xr(OR(i,32),xi(e,nlw))}(VK(OR(j,32),xi(M[o],nlw))),M[o]=CZ(g),j=CZ(OK(g,32));p=CZ(j),d=e;do m[--e]=48+p%10&nfI;while(0!=(p=p/10|0)&&0!=e);for(u=0,i=9-d+e;u0;u++)m[--e]=48;for(h=S-1;0==M[h];h--)if(0==h)break r;S=h+1}for(;48==m[e];)++e}if(l=E<0,c=v-e-t-1,0==t)return l&&(m[--e]=45),Je(m,e,v-e);if(t>0&&c>=-6){if(c>=0){for(s=e+c,f=v-1;f>=s;f--)m[f+1]=m[f];return m[++s]=46,l&&(m[--e]=45),Je(m,e,v-e+1)}for(h=2;h<-c+1;h++)m[--e]=48;return m[--e]=46,m[--e]=48,l&&(m[--e]=45),Je(m,e,v-e)}return T=e+1,y=new gW,l&&(y.a+="-"),v-T>=1?($r(y,m[e]),y.a+=".",y.a+=Je(m,e+1,v-e-1)):y.a+=Je(m,e,v-e),y.a+="E",c>0&&(y.a+="+"),y.a+=""+c,y.a}function ns7(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;switch(n.c=t,n.g=new wt,mo(),Qa(new fE(new gl(n.c))),p=Sh(nrM(n.c,(ntA(),nGU))),a=Im(nrM(n.c,nGW),316),m=Im(nrM(n.c,nGV),429),r=Im(nrM(n.c,nGH),482),v=Im(nrM(n.c,nGX),430),n.j=gy(Ss(nrM(n.c,nGQ))),c=n.a,a.g){case 0:c=n.a;break;case 1:c=n.b;break;case 2:c=n.i;break;case 3:c=n.e;break;case 4:c=n.f;break;default:throw new gd(nvQ+(null!=a.f?a.f:""+a.g)).e}if(n.d=new LY(c,m,r),UU(n.d,(zj(),nCZ),So(nrM(n.c,nGq))),n.d.c=gm(So(nrM(n.c,nGB))),0==N8(n.c).i)return n.d;for(s=new Td(N8(n.c));s.e!=s.i.gc();){for(f=(o=Im(J1(s),33)).g/2,h=o.f/2,y=new kp(o.i+f,o.j+h);Au(n.g,y);)MG(y,(nTv.Math.random()-.5)*nww,(nTv.Math.random()-.5)*nww);b=Im(nrM(o,(nha(),nUA)),142),w=new DI(y,new Nj(y.a-f-n.j/2-b.b,y.b-h-n.j/2-b.d,o.g+n.j+(b.b+b.c),o.f+n.j+(b.d+b.a))),IE(n.d.i,w),$J(n.g,y,new k_(w,o))}switch(v.g){case 0:if(null==p)n.d.d=Im(CA(n.d.i,0),65);else for(g=new h1(n.d.i);g.a1&&KN(h,p,h.c.b,h.c),BA(r)));p=v}return h}function nht(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(i=new wn,u=new wn,g=t/2,b=n.gc(),r=Im(n.Xb(0),8),p=Im(n.Xb(1),8),IE(i,(D4(0,(w=nrT(r.a,r.b,p.a,p.b,g)).c.length),Im(w.c[0],8))),IE(u,(D4(1,w.c.length),Im(w.c[1],8))),s=2;s=0;o--)I2(e,(D4(o,a.c.length),Im(a.c[o],8)));return e}function nhe(n){var t,e,i;if(n.d>=n.j){n.a=-1,n.c=1;return}if(t=$9(n.i,n.d++),n.a=t,1==n.b){switch(t){case 92:if(i=10,n.d>=n.j)throw new gO(nhd((E$(),nkt))).e;n.a=$9(n.i,n.d++);break;case 45:(512&n.e)==512&&n.d=n.j||63!=$9(n.i,n.d))break;if(++n.d>=n.j)throw new gO(nhd((E$(),nke))).e;switch(t=$9(n.i,n.d++)){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(n.d>=n.j)throw new gO(nhd((E$(),nke))).e;if(61==(t=$9(n.i,n.d++)))i=16;else if(33==t)i=17;else throw new gO(nhd((E$(),nki))).e;break;case 35:for(;n.d=n.j)throw new gO(nhd((E$(),nkt))).e;n.a=$9(n.i,n.d++);break;default:i=0}n.c=i}function nhi(){nhi=C,ns5(),niP(nAB=new LK,(nsR(),nWK),nWR),niP(nAB,nWW,nWR),niP(nAB,nWF,nWR),niP(nAB,nWz,nWR),niP(nAB,nWG,nWR),niP(nAB,nWB,nWR),niP(nAB,nWz,nWK),niP(nAB,nWR,nWN),niP(nAB,nWK,nWN),niP(nAB,nWW,nWN),niP(nAB,nWF,nWN),niP(nAB,nWq,nWN),niP(nAB,nWz,nWN),niP(nAB,nWG,nWN),niP(nAB,nWB,nWN),niP(nAB,nWx,nWN),niP(nAB,nWR,nWU),niP(nAB,nWK,nWU),niP(nAB,nWN,nWU),niP(nAB,nWW,nWU),niP(nAB,nWF,nWU),niP(nAB,nWq,nWU),niP(nAB,nWz,nWU),niP(nAB,nWx,nWU),niP(nAB,nWX,nWU),niP(nAB,nWG,nWU),niP(nAB,nW_,nWU),niP(nAB,nWB,nWU),niP(nAB,nWK,nWW),niP(nAB,nWF,nWW),niP(nAB,nWz,nWW),niP(nAB,nWB,nWW),niP(nAB,nWK,nWF),niP(nAB,nWW,nWF),niP(nAB,nWz,nWF),niP(nAB,nWF,nWF),niP(nAB,nWG,nWF),niP(nAB,nWR,nWL),niP(nAB,nWK,nWL),niP(nAB,nWN,nWL),niP(nAB,nWU,nWL),niP(nAB,nWW,nWL),niP(nAB,nWF,nWL),niP(nAB,nWq,nWL),niP(nAB,nWz,nWL),niP(nAB,nWX,nWL),niP(nAB,nWx,nWL),niP(nAB,nWB,nWL),niP(nAB,nWG,nWL),niP(nAB,nWH,nWL),niP(nAB,nWR,nWX),niP(nAB,nWK,nWX),niP(nAB,nWN,nWX),niP(nAB,nWW,nWX),niP(nAB,nWF,nWX),niP(nAB,nWq,nWX),niP(nAB,nWz,nWX),niP(nAB,nWx,nWX),niP(nAB,nWB,nWX),niP(nAB,nW_,nWX),niP(nAB,nWH,nWX),niP(nAB,nWK,nWx),niP(nAB,nWW,nWx),niP(nAB,nWF,nWx),niP(nAB,nWz,nWx),niP(nAB,nWX,nWx),niP(nAB,nWB,nWx),niP(nAB,nWG,nWx),niP(nAB,nWR,nWD),niP(nAB,nWK,nWD),niP(nAB,nWN,nWD),niP(nAB,nWW,nWD),niP(nAB,nWF,nWD),niP(nAB,nWq,nWD),niP(nAB,nWz,nWD),niP(nAB,nWx,nWD),niP(nAB,nWB,nWD),niP(nAB,nWK,nWG),niP(nAB,nWN,nWG),niP(nAB,nWU,nWG),niP(nAB,nWF,nWG),niP(nAB,nWR,nW_),niP(nAB,nWK,nW_),niP(nAB,nWU,nW_),niP(nAB,nWW,nW_),niP(nAB,nWF,nW_),niP(nAB,nWq,nW_),niP(nAB,nWz,nW_),niP(nAB,nWz,nWH),niP(nAB,nWF,nWH),niP(nAB,nWx,nWR),niP(nAB,nWx,nWW),niP(nAB,nWx,nWN),niP(nAB,nWq,nWR),niP(nAB,nWq,nWK),niP(nAB,nWq,nWU)}function nhr(n,t){switch(n.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new N2(n.b,n.a,t,n.c);case 1:return new Tp(n.a,t,Qj(t.Tg(),n.c));case 43:return new Tm(n.a,t,Qj(t.Tg(),n.c));case 3:return new Tg(n.a,t,Qj(t.Tg(),n.c));case 45:return new Tv(n.a,t,Qj(t.Tg(),n.c));case 41:return new _x(Im(Z9(n.c),26),n.a,t,Qj(t.Tg(),n.c));case 50:return new qJ(Im(Z9(n.c),26),n.a,t,Qj(t.Tg(),n.c));case 5:return new Pi(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 47:return new Pr(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 7:return new An(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 49:return new Pe(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 9:return new TT(n.a,t,Qj(t.Tg(),n.c));case 11:return new TE(n.a,t,Qj(t.Tg(),n.c));case 13:return new Tj(n.a,t,Qj(t.Tg(),n.c));case 15:return new IW(n.a,t,Qj(t.Tg(),n.c));case 17:return new TM(n.a,t,Qj(t.Tg(),n.c));case 19:return new Tk(n.a,t,Qj(t.Tg(),n.c));case 21:return new Ty(n.a,t,Qj(t.Tg(),n.c));case 23:return new Iq(n.a,t,Qj(t.Tg(),n.c));case 25:return new Pf(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 27:return new Ph(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 29:return new Po(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 31:return new Pc(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 33:return new Ps(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 35:return new Pu(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 37:return new Pa(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 39:return new At(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 40:return new zr(t,Qj(t.Tg(),n.c));default:throw new d7("Unknown feature style: "+n.e).e}}function nhc(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(naD(t),o=Im(BX((t.b||(t.b=new Ph(nCA,t,4,7)),t.b),0),82),h=Im(BX((t.c||(t.c=new Ph(nCA,t,5,8)),t.c),0),82),u=ntr(o),s=ntr(h),a=0==(t.a||(t.a=new An(nCN,t,6,6)),t.a).i?null:Im(BX((t.a||(t.a=new An(nCN,t,6,6)),t.a),0),202),j=Im($a(n.a,u),10),S=Im($a(n.a,s),10),E=null,P=null,Ti(o,186)&&(Ti(k=Im($a(n.a,o),299),11)?E=Im(k,11):Ti(k,10)&&(j=Im(k,10),E=Im(CA(j.j,0),11))),Ti(h,186)&&(Ti(M=Im($a(n.a,h),299),11)?P=Im(M,11):Ti(M,10)&&(S=Im(M,10),P=Im(CA(S.j,0),11))),!j||!S)throw new gC("The source or the target of edge "+t+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN.").e;for(z5(d=new Ls,t),UU(d,(nhu(),nDE),t),UU(d,(ns8(),nKV),null),b=Im(ntP(i,nDu),21),j==S&&b.Fc((ncJ(),nL_)),E||(qF(),y=n_X,T=null,a&&Ec(Im(ntP(j,nFE),98))&&(RG(T=new kp(a.j,a.k),L6(t)),KO(T,e),Bx(s,u)&&(y=n_U,S9(T,j.n))),E=nov(j,T,y,i)),P||(qF(),y=n_U,I=null,a&&Ec(Im(ntP(S,nFE),98))&&(RG(I=new kp(a.b,a.c),L6(t)),KO(I,e)),P=nov(S,I,y,$N(S))),DE(d,E),Dj(d,P),(E.e.c.length>1||E.g.c.length>1||P.e.c.length>1||P.g.c.length>1)&&b.Fc((ncJ(),nLD)),l=new Td((t.n||(t.n=new An(nCK,t,1,7)),t.n));l.e!=l.i.gc();)if(!gm(So(nrM(f=Im(J1(l),137),nFf)))&&f.a)switch(g=WE(f),IE(d.b,g),Im(ntP(g,nKI),272).g){case 1:case 2:b.Fc((ncJ(),nLN));break;case 0:b.Fc((ncJ(),nLA)),UU(g,nKI,(BB(),nXN))}if(c=Im(ntP(i,nKy),314),p=Im(ntP(i,nFa),315),r=c==(q5(),nNQ)||p==(YN(),n_M),a&&0!=(a.a||(a.a=new Tg(nCI,a,5)),a.a).i&&r){for(v=nei(a),w=new dd,m=Jz(v,0);m.b!=m.d.c;)I2(w,new Ee(Im(RP(m),8)));UU(d,nDT,w)}return d}function nha(){var n,t;nha=C,nUt=new bR(nmy),nXo=new bR(nmk),Yv(),nUe=new jU(npy,nUi=nzF),new b9,nUr=new jU(nb8,null),nUc=new bR(nmj),nnF(),nUs=new jU(npN,nUh=C6(nz7,Um(Dg(nCs,1),nfh,291,0,[nz5]))),nUf=new jU(npm,(TX(),!1)),W2(),nUl=new jU(npT,nUb=nXO),VY(),nUp=new jU(ng2,nUv=nX_),nUk=new jU(nvX,!1),WN(),nUj=new jU(ngJ,nUE=nX3),nUU=new jU(nb9,nUX=new ES(12)),nUP=new jU(nwT,!1),nUI=new jU(npz,!1),nUz=new jU(nwP,!1),nn2(),nU6=new jU(nwM,nU8=nWj),nXc=new bR(npB),nXa=new bR(nwm),nXu=new bR(nwj),nXh=new bR(nwE),nUC=new jU(npL,nUO=new dd),nUo=new jU(npR,!1),nUT=new jU(npK,!1),new bR(nmE),nUA=new jU(npq,nU$=new dc),nUG=new jU(npp,!1),new b9,nXs=new jU(nmT,1),new jU(nmM,!0),Va(0),new jU(nmS,Va(100)),new jU(nmP,!1),Va(0),new jU(nmI,Va(4e3)),Va(0),new jU(nmC,Va(400)),new jU(nmO,!1),new jU(nmA,!1),new jU(nm$,!0),new jU(nmN,!1),QI(),nUa=new jU(nmm,nUu=nVl),nXf=new jU(npc,10),nXl=new jU(npa,10),nXb=new jU(nb5,20),nXw=new jU(npu,10),nXd=new jU(nwk,2),nXg=new jU(npo,10),nXv=new jU(nps,0),nXm=new jU(npl,5),nXy=new jU(nph,1),nXk=new jU(npf,1),nXj=new jU(nwy,20),nXE=new jU(npb,10),nXS=new jU(npw,10),nXp=new bR(npd),nXT=new jU(npG,nXM=new En),nUQ=new bR(npH),nUW=new jU(np_,nUV=!1),nUN=new jU(npM,nUL=new ES(5)),nrS(),nUD=new jU(nwO,nUx=new PR(t=Im(pf(nCg),9),Im(Sz(t,t.length),9),0)),Jq(),nUY=new jU(npI,nUZ=nWb),nU0=new bR(npC),nU2=new bR(npO),nU3=new bR(npA),nU1=new bR(np$),nUR=new jU(nwC,nUK=new PR(n=Im(pf(nCk),9),Im(Sz(n,n.length),9),0)),nUB=new jU(nwI,nUq=Vx((na9(),nVt))),nU_=new jU(nwq,nUH=new kp(0,0)),nUF=new jU(npE,!1),BB(),nUd=new jU(npD,nUg=nXN),nUw=new jU(nwS,!1),new bR(nmL),Va(1),new jU(nmD,null),nU4=new bR(npF),nU9=new bR(npx),nsR(),nXi=new jU(npv,nXr=nWQ),nU5=new bR(npg),nis(),nXn=new jU(nwA,nXt=Vx(nWI)),nU7=new jU(npS,!1),nXe=new jU(npP,!0),nUM=new jU(npk,!1),nUS=new jU(npj,!1),nUm=new jU(nb6,1),ntg(),new jU(nmx,nUy=nXU),nUJ=!0}function nhu(){var n,t;nhu=C,nDE=new bR(nw$),nL4=new bR("coordinateOrigin"),nDN=new bR("processors"),nL3=new SA("compoundNode",(TX(),!1)),nDh=new SA("insideConnections",!1),nDT=new bR("originalBendpoints"),nDM=new bR("originalDummyNodePosition"),nDS=new bR("originalLabelEdge"),nDD=new bR("representedLabels"),nL7=new bR("endLabels"),nDn=new bR("endLabel.origin"),nDd=new SA("labelSide",(ZR(),nX7)),nDk=new SA("maxEdgeThickness",0),nDx=new SA("reversed",!1),nDL=new bR(nwN),nDv=new SA("longEdgeSource",null),nDm=new SA("longEdgeTarget",null),nDp=new SA("longEdgeHasLabelDummies",!1),nDg=new SA("longEdgeBeforeLabelDummy",!1),nL9=new SA("edgeConstraint",(UK(),nLr)),nDl=new bR("inLayerLayoutUnit"),nDf=new SA("inLayerConstraint",(HN(),nLX)),nDb=new SA("inLayerSuccessorConstraint",new wn),nDw=new SA("inLayerSuccessorConstraintBetweenNonDummies",!1),nDA=new bR("portDummy"),nL5=new SA("crossingHint",Va(0)),nDu=new SA("graphProperties",new PR(t=Im(pf(nIs),9),Im(Sz(t,t.length),9),0)),nDr=new SA("externalPortSide",(nsR(),nWQ)),nDc=new SA("externalPortSize",new ps),nDe=new bR("externalPortReplacedDummies"),nDi=new bR("externalPortReplacedDummy"),nDt=new SA("externalPortConnections",new PR(n=Im(pf(nCy),9),Im(Sz(n,n.length),9),0)),nD$=new SA(nbP,0),nLZ=new bR("barycenterAssociates"),nDU=new bR("TopSideComments"),nL1=new bR("BottomSideComments"),nL2=new bR("CommentConnectionPort"),nDs=new SA("inputCollect",!1),nDC=new SA("outputCollect",!1),nL8=new SA("cyclic",!1),nL6=new bR("crossHierarchyMap"),nDz=new bR("targetOffset"),new SA("splineLabelSize",new ps),nDF=new bR("spacings"),nDO=new SA("partitionConstraint",!1),nL0=new bR("breakingPoint.info"),nDq=new bR("splines.survivingEdge"),nDB=new bR("splines.route.start"),nD_=new bR("splines.edgeChain"),nDI=new bR("originalPortConstraints"),nDK=new bR("selfLoopHolder"),nDH=new bR("splines.nsPortY"),nDj=new bR("modelOrder"),nDy=new bR("longEdgeTargetNode"),nDa=new SA(ndR,!1),nDR=new SA(ndR,!1),nDo=new bR("layerConstraints.hiddenNodes"),nDP=new bR("layerConstraints.opposidePort"),nDG=new bR("targetNode.modelOrder")}function nho(){nho=C,Bt(),nxE=new jU(ndK,nxT=nLn),nxH=new jU(ndF,(TX(),!1)),Rd(),nxU=new jU(nd_,nxX=nLQ),nRt=new jU(ndH,!1),nRe=new jU(ndB,!0),nDZ=new jU(ndq,!1),HL(),nRk=new jU(ndG,nRj=n_q),Va(1),nRO=new jU(ndz,Va(7)),nRA=new jU(ndU,!1),nxB=new jU(ndX,!1),YU(),nxk=new jU(ndW,nxj=nN5),ntt(),nx7=new jU(ndV,nRn=n_l),VJ(),nxZ=new jU(ndQ,nx1=nDJ),Va(-1),nxY=new jU(ndJ,Va(-1)),Va(-1),nx0=new jU(ndY,Va(-1)),Va(-1),nx2=new jU(ndZ,Va(4)),Va(-1),nx4=new jU(nd1,Va(2)),nco(),nx8=new jU(nd0,nx9=n_x),Va(0),nx6=new jU(nd2,Va(0)),nxQ=new jU(nd3,Va(nhM)),q5(),nxm=new jU(nd4,nxy=nNJ),nxr=new jU(nd5,!1),nxb=new jU(nd6,.1),nxp=new jU(nd8,!1),Va(-1),nxd=new jU(nd9,Va(-1)),Va(-1),nxg=new jU(nd7,Va(-1)),Va(0),nxc=new jU(ngn,Va(40)),z0(),nxh=new jU(ngt,nxf=nLG),nxa=new jU(nge,nxu=nLB),YN(),nRm=new jU(ngi,nRy=n_T),nRs=new bR(ngr),Ho(),nRi=new jU(ngc,nRr=nLw),nnS(),nRa=new jU(nga,nRu=nLy),new b9,nRl=new jU(ngu,.3),nRw=new bR(ngo),Yp(),nRd=new jU(ngs,nRg=n_k),zp(),nxA=new jU(ngh,nx$=n_J),FA(),nxN=new jU(ngf,nxL=n_0),XJ(),nxD=new jU(ngl,nxx=n_5),nxK=new jU(ngb,.2),nxC=new jU(ngw,2),nRS=new jU(ngd,null),nRI=new jU(ngg,10),nRP=new jU(ngp,10),nRC=new jU(ngv,20),Va(0),nRE=new jU(ngm,Va(0)),Va(0),nRT=new jU(ngy,Va(0)),Va(0),nRM=new jU(ngk,Va(0)),nD1=new jU(ngj,!1),ntW(),nD3=new jU(ngE,nD4=nLI),_j(),nD0=new jU(ngT,nD2=nNW),nxG=new jU(ngM,!1),Va(0),nxq=new jU(ngS,Va(16)),Va(0),nxz=new jU(ngP,Va(5)),UE(),nRZ=new jU(ngI,nR1=nHe),nR$=new jU(ngC,10),nRD=new jU(ngO,1),q_(),nRq=new jU(ngA,nRG=nN2),nRK=new bR(ng$),nRH=Va(1),Va(0),nR_=new jU(ngN,nRH),G7(),nR4=new jU(ngL,nR5=n_8),nR0=new bR(ngD),nRV=new jU(ngx,!0),nRX=new jU(ngR,2),nRJ=new jU(ngK,!0),nt0(),nxP=new jU(ngF,nxI=nLf),neC(),nxM=new jU(ng_,nxS=nNB),U1(),nxe=new jU(ngH,nxi=n__),nxt=new jU(ngB,!1),W3(),nD5=new jU(ngq,nD6=nA_),Wf(),nD7=new jU(ngG,nxn=n_d),nD8=new jU(ngz,0),nD9=new jU(ngU,0),nxV=nN8,nxW=nNQ,nx3=n_f,nx5=n_f,nxJ=n_o,WN(),nxw=nX2,nxv=nNJ,nxl=nNJ,nxo=nNJ,nxs=nX2,nRh=n_P,nRf=n_T,nRc=n_T,nRo=n_T,nRb=n_S,nRv=n_P,nRp=n_P,VY(),nxR=nXF,nxF=nXF,nx_=n_5,nxO=nXK,nRN=nHi,nRL=nHt,nRx=nHi,nRR=nHt,nRz=nHi,nRU=nHt,nRF=nN0,nRB=nN2,nR6=nHi,nR8=nHt,nR2=nHi,nR3=nHt,nRQ=nHt,nRW=nHt,nRY=nHt}function nhs(){nhs=C,n$h=new m6("DIRECTION_PREPROCESSOR",0),n$u=new m6("COMMENT_PREPROCESSOR",1),n$f=new m6("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),n$P=new m6("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),n$U=new m6("PARTITION_PREPROCESSOR",4),n$A=new m6("LABEL_DUMMY_INSERTER",5),n$Y=new m6("SELF_LOOP_PREPROCESSOR",6),n$x=new m6("LAYER_CONSTRAINT_PREPROCESSOR",7),n$G=new m6("PARTITION_MIDPROCESSOR",8),n$j=new m6("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),n$_=new m6("NODE_PROMOTION",10),n$D=new m6("LAYER_CONSTRAINT_POSTPROCESSOR",11),n$z=new m6("PARTITION_POSTPROCESSOR",12),n$v=new m6("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),n$1=new m6("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),n$t=new m6("BREAKING_POINT_INSERTER",15),n$F=new m6("LONG_EDGE_SPLITTER",16),n$W=new m6("PORT_SIDE_PROCESSOR",17),n$I=new m6("INVERTED_PORT_PROCESSOR",18),n$X=new m6("PORT_LIST_SORTER",19),n$2=new m6("SORT_BY_INPUT_ORDER_OF_MODEL",20),n$B=new m6("NORTH_SOUTH_PORT_PREPROCESSOR",21),n$e=new m6("BREAKING_POINT_PROCESSOR",22),n$q=new m6(ndd,23),n$3=new m6(ndg,24),n$Q=new m6("SELF_LOOP_PORT_RESTORER",25),n$0=new m6("SINGLE_EDGE_GRAPH_WRAPPER",26),n$C=new m6("IN_LAYER_CONSTRAINT_PROCESSOR",27),n$d=new m6("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),n$O=new m6("LABEL_AND_NODE_SIZE_PROCESSOR",29),n$S=new m6("INNERMOST_NODE_MARGIN_CALCULATOR",30),n$Z=new m6("SELF_LOOP_ROUTER",31),n$c=new m6("COMMENT_NODE_MARGIN_CALCULATOR",32),n$b=new m6("END_LABEL_PREPROCESSOR",33),n$N=new m6("LABEL_DUMMY_SWITCHER",34),n$r=new m6("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),n$L=new m6("LABEL_SIDE_SELECTOR",36),n$T=new m6("HYPEREDGE_DUMMY_MERGER",37),n$m=new m6("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),n$R=new m6("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),n$k=new m6("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),n$o=new m6("CONSTRAINTS_POSTPROCESSOR",41),n$a=new m6("COMMENT_POSTPROCESSOR",42),n$M=new m6("HYPERNODE_PROCESSOR",43),n$y=new m6("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),n$K=new m6("LONG_EDGE_JOINER",45),n$J=new m6("SELF_LOOP_POSTPROCESSOR",46),n$i=new m6("BREAKING_POINT_REMOVER",47),n$H=new m6("NORTH_SOUTH_PORT_POSTPROCESSOR",48),n$E=new m6("HORIZONTAL_COMPACTOR",49),n$$=new m6("LABEL_DUMMY_REMOVER",50),n$g=new m6("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),n$w=new m6("END_LABEL_SORTER",52),n$V=new m6("REVERSED_EDGE_RESTORER",53),n$l=new m6("END_LABEL_POSTPROCESSOR",54),n$p=new m6("HIERARCHICAL_NODE_RESIZER",55),n$s=new m6("DIRECTION_POSTPROCESSOR",56)}function nhh(){nhh=C,nYl=new b8(7),++nYO,nYb=new CU(8,94),++nYO,new CU(8,64),++nYO,nYw=new CU(8,36),++nYO,nYy=new CU(8,65),++nYO,nYk=new CU(8,122),++nYO,nYj=new CU(8,90),++nYO,nYM=new CU(8,98),++nYO,nYv=new CU(8,66),++nYO,nYE=new CU(8,60),++nYO,nYS=new CU(8,62),nYf=new b8(11),++nYO,ncz(nYh=new xv(4),48,57),++nYO,ncz(nYT=new xv(4),48,57),ncz(nYT,65,90),ncz(nYT,95,95),ncz(nYT,97,122),++nYO,ncz(nYm=new xv(4),9,9),ncz(nYm,10,10),ncz(nYm,12,12),ncz(nYm,13,13),ncz(nYm,32,32),nYd=nuR(nYh),nYp=nuR(nYT),nYg=nuR(nYm),nYa=new wt,nYu=new wt,nYo=Um(Dg(nTh,1),nhJ,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),nYc=Um(Dg(nTh,1),nhJ,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",nE$,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),nYs=Um(Dg(nYN,1),nfB,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function nhf(){nhf=C,nPd=new G6("OUT_T_L",0,(_1(),nSZ),(H$(),nS2),(BH(),nSW),nSW,Um(Dg(nEY,1),nhA,21,0,[C6((nrS(),nWa),Um(Dg(nCg,1),nfh,93,0,[nWs,nWe]))])),nPw=new G6("OUT_T_C",1,nSY,nS2,nSW,nSV,Um(Dg(nEY,1),nhA,21,0,[C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWs,nWt])),C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWs,nWt,nWi]))])),nPg=new G6("OUT_T_R",2,nS1,nS2,nSW,nSQ,Um(Dg(nEY,1),nhA,21,0,[C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWs,nWr]))])),nPa=new G6("OUT_B_L",3,nSZ,nS4,nSQ,nSW,Um(Dg(nEY,1),nhA,21,0,[C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWu,nWe]))])),nPc=new G6("OUT_B_C",4,nSY,nS4,nSQ,nSV,Um(Dg(nEY,1),nhA,21,0,[C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWu,nWt])),C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWu,nWt,nWi]))])),nPu=new G6("OUT_B_R",5,nS1,nS4,nSQ,nSQ,Um(Dg(nEY,1),nhA,21,0,[C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWu,nWr]))])),nPh=new G6("OUT_L_T",6,nS1,nS4,nSW,nSW,Um(Dg(nEY,1),nhA,21,0,[C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWe,nWs,nWi]))])),nPs=new G6("OUT_L_C",7,nS1,nS3,nSV,nSW,Um(Dg(nEY,1),nhA,21,0,[C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWe,nWo])),C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWe,nWo,nWi]))])),nPo=new G6("OUT_L_B",8,nS1,nS2,nSQ,nSW,Um(Dg(nEY,1),nhA,21,0,[C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWe,nWu,nWi]))])),nPb=new G6("OUT_R_T",9,nSZ,nS4,nSW,nSQ,Um(Dg(nEY,1),nhA,21,0,[C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWr,nWs,nWi]))])),nPl=new G6("OUT_R_C",10,nSZ,nS3,nSV,nSQ,Um(Dg(nEY,1),nhA,21,0,[C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWr,nWo])),C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWr,nWo,nWi]))])),nPf=new G6("OUT_R_B",11,nSZ,nS2,nSQ,nSQ,Um(Dg(nEY,1),nhA,21,0,[C6(nWa,Um(Dg(nCg,1),nfh,93,0,[nWr,nWu,nWi]))])),nPi=new G6("IN_T_L",12,nSZ,nS4,nSW,nSW,Um(Dg(nEY,1),nhA,21,0,[C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWs,nWe])),C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWs,nWe,nWi]))])),nPe=new G6("IN_T_C",13,nSY,nS4,nSW,nSV,Um(Dg(nEY,1),nhA,21,0,[C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWs,nWt])),C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWs,nWt,nWi]))])),nPr=new G6("IN_T_R",14,nS1,nS4,nSW,nSQ,Um(Dg(nEY,1),nhA,21,0,[C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWs,nWr])),C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWs,nWr,nWi]))])),nPn=new G6("IN_C_L",15,nSZ,nS3,nSV,nSW,Um(Dg(nEY,1),nhA,21,0,[C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWo,nWe])),C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWo,nWe,nWi]))])),nS7=new G6("IN_C_C",16,nSY,nS3,nSV,nSV,Um(Dg(nEY,1),nhA,21,0,[C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWo,nWt])),C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWo,nWt,nWi]))])),nPt=new G6("IN_C_R",17,nS1,nS3,nSV,nSQ,Um(Dg(nEY,1),nhA,21,0,[C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWo,nWr])),C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWo,nWr,nWi]))])),nS8=new G6("IN_B_L",18,nSZ,nS2,nSQ,nSW,Um(Dg(nEY,1),nhA,21,0,[C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWu,nWe])),C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWu,nWe,nWi]))])),nS6=new G6("IN_B_C",19,nSY,nS2,nSQ,nSV,Um(Dg(nEY,1),nhA,21,0,[C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWu,nWt])),C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWu,nWt,nWi]))])),nS9=new G6("IN_B_R",20,nS1,nS2,nSQ,nSQ,Um(Dg(nEY,1),nhA,21,0,[C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWu,nWr])),C6(nWc,Um(Dg(nCg,1),nfh,93,0,[nWu,nWr,nWi]))])),nPp=new G6(nbj,21,null,null,null,null,Um(Dg(nEY,1),nhA,21,0,[]))}function nhl(){nhl=C,nQ$=($g(),nQO).b,Im(BX(N6(nQO.b),0),34),Im(BX(N6(nQO.b),1),18),nQA=nQO.a,Im(BX(N6(nQO.a),0),34),Im(BX(N6(nQO.a),1),18),Im(BX(N6(nQO.a),2),18),Im(BX(N6(nQO.a),3),18),Im(BX(N6(nQO.a),4),18),nQN=nQO.o,Im(BX(N6(nQO.o),0),34),Im(BX(N6(nQO.o),1),34),nQD=Im(BX(N6(nQO.o),2),18),Im(BX(N6(nQO.o),3),18),Im(BX(N6(nQO.o),4),18),Im(BX(N6(nQO.o),5),18),Im(BX(N6(nQO.o),6),18),Im(BX(N6(nQO.o),7),18),Im(BX(N6(nQO.o),8),18),Im(BX(N6(nQO.o),9),18),Im(BX(N6(nQO.o),10),18),Im(BX(N6(nQO.o),11),18),Im(BX(N6(nQO.o),12),18),Im(BX(N6(nQO.o),13),18),Im(BX(N6(nQO.o),14),18),Im(BX(N6(nQO.o),15),18),Im(BX(N5(nQO.o),0),59),Im(BX(N5(nQO.o),1),59),Im(BX(N5(nQO.o),2),59),Im(BX(N5(nQO.o),3),59),Im(BX(N5(nQO.o),4),59),Im(BX(N5(nQO.o),5),59),Im(BX(N5(nQO.o),6),59),Im(BX(N5(nQO.o),7),59),Im(BX(N5(nQO.o),8),59),Im(BX(N5(nQO.o),9),59),nQL=nQO.p,Im(BX(N6(nQO.p),0),34),Im(BX(N6(nQO.p),1),34),Im(BX(N6(nQO.p),2),34),Im(BX(N6(nQO.p),3),34),Im(BX(N6(nQO.p),4),18),Im(BX(N6(nQO.p),5),18),Im(BX(N5(nQO.p),0),59),Im(BX(N5(nQO.p),1),59),nQx=nQO.q,Im(BX(N6(nQO.q),0),34),nQR=nQO.v,Im(BX(N6(nQO.v),0),18),Im(BX(N5(nQO.v),0),59),Im(BX(N5(nQO.v),1),59),Im(BX(N5(nQO.v),2),59),nQK=nQO.w,Im(BX(N6(nQO.w),0),34),Im(BX(N6(nQO.w),1),34),Im(BX(N6(nQO.w),2),34),Im(BX(N6(nQO.w),3),18),nQF=nQO.B,Im(BX(N6(nQO.B),0),18),Im(BX(N5(nQO.B),0),59),Im(BX(N5(nQO.B),1),59),Im(BX(N5(nQO.B),2),59),nQB=nQO.Q,Im(BX(N6(nQO.Q),0),18),Im(BX(N5(nQO.Q),0),59),nQq=nQO.R,Im(BX(N6(nQO.R),0),34),nQG=nQO.S,Im(BX(N5(nQO.S),0),59),Im(BX(N5(nQO.S),1),59),Im(BX(N5(nQO.S),2),59),Im(BX(N5(nQO.S),3),59),Im(BX(N5(nQO.S),4),59),Im(BX(N5(nQO.S),5),59),Im(BX(N5(nQO.S),6),59),Im(BX(N5(nQO.S),7),59),Im(BX(N5(nQO.S),8),59),Im(BX(N5(nQO.S),9),59),Im(BX(N5(nQO.S),10),59),Im(BX(N5(nQO.S),11),59),Im(BX(N5(nQO.S),12),59),Im(BX(N5(nQO.S),13),59),Im(BX(N5(nQO.S),14),59),nQz=nQO.T,Im(BX(N6(nQO.T),0),18),Im(BX(N6(nQO.T),2),18),nQU=Im(BX(N6(nQO.T),3),18),Im(BX(N6(nQO.T),4),18),Im(BX(N5(nQO.T),0),59),Im(BX(N5(nQO.T),1),59),Im(BX(N6(nQO.T),1),18),nQX=nQO.U,Im(BX(N6(nQO.U),0),34),Im(BX(N6(nQO.U),1),34),Im(BX(N6(nQO.U),2),18),Im(BX(N6(nQO.U),3),18),Im(BX(N6(nQO.U),4),18),Im(BX(N6(nQO.U),5),18),Im(BX(N5(nQO.U),0),59),nQW=nQO.V,Im(BX(N6(nQO.V),0),18),nQV=nQO.W,Im(BX(N6(nQO.W),0),34),Im(BX(N6(nQO.W),1),34),Im(BX(N6(nQO.W),2),34),Im(BX(N6(nQO.W),3),18),Im(BX(N6(nQO.W),4),18),Im(BX(N6(nQO.W),5),18),nQJ=nQO.bb,Im(BX(N6(nQO.bb),0),34),Im(BX(N6(nQO.bb),1),34),Im(BX(N6(nQO.bb),2),34),Im(BX(N6(nQO.bb),3),34),Im(BX(N6(nQO.bb),4),34),Im(BX(N6(nQO.bb),5),34),Im(BX(N6(nQO.bb),6),34),Im(BX(N6(nQO.bb),7),18),Im(BX(N5(nQO.bb),0),59),Im(BX(N5(nQO.bb),1),59),nQY=nQO.eb,Im(BX(N6(nQO.eb),0),34),Im(BX(N6(nQO.eb),1),34),Im(BX(N6(nQO.eb),2),34),Im(BX(N6(nQO.eb),3),34),Im(BX(N6(nQO.eb),4),34),Im(BX(N6(nQO.eb),5),34),Im(BX(N6(nQO.eb),6),18),Im(BX(N6(nQO.eb),7),18),nQQ=nQO.ab,Im(BX(N6(nQO.ab),0),34),Im(BX(N6(nQO.ab),1),34),nQ_=nQO.H,Im(BX(N6(nQO.H),0),18),Im(BX(N6(nQO.H),1),18),Im(BX(N6(nQO.H),2),18),Im(BX(N6(nQO.H),3),18),Im(BX(N6(nQO.H),4),18),Im(BX(N6(nQO.H),5),18),Im(BX(N5(nQO.H),0),59),nQZ=nQO.db,Im(BX(N6(nQO.db),0),18),nQH=nQO.M}function nhb(n){var t,e,i;mc(n,new nte(((((t=new as).c=nda,t).d="ELK Layered",t).b="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 orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level.",e=new rB,t.e=e,t.a=nda,i=C6((nrt(),nVU),Um(Dg(nCG,1),nfh,237,0,[nVq,nVG,nVB,nVz,nV_,nVF])),t.f=i,t))),xV(n,nda,npc,JZ(nFK)),xV(n,nda,npa,JZ(nFF)),xV(n,nda,nb5,JZ(nF_)),xV(n,nda,npu,JZ(nFH)),xV(n,nda,nwk,JZ(nFq)),xV(n,nda,npo,JZ(nFG)),xV(n,nda,nps,JZ(nFX)),xV(n,nda,nph,JZ(nFV)),xV(n,nda,npf,JZ(nFQ)),xV(n,nda,npl,JZ(nFW)),xV(n,nda,nwy,JZ(nFJ)),xV(n,nda,npb,JZ(nFZ)),xV(n,nda,npw,JZ(nF0)),xV(n,nda,npd,JZ(nFU)),xV(n,nda,ngd,JZ(nFR)),xV(n,nda,ngp,JZ(nFB)),xV(n,nda,ngg,JZ(nFz)),xV(n,nda,ngv,JZ(nFY)),xV(n,nda,nwm,Va(0)),xV(n,nda,ngm,JZ(nF$)),xV(n,nda,ngy,JZ(nFN)),xV(n,nda,ngk,JZ(nFL)),xV(n,nda,ngI,JZ(n_e)),xV(n,nda,ngC,JZ(nF4)),xV(n,nda,ngO,JZ(nF5)),xV(n,nda,ngA,JZ(nF9)),xV(n,nda,ng$,JZ(nF6)),xV(n,nda,ngN,JZ(nF8)),xV(n,nda,ngL,JZ(n_r)),xV(n,nda,ngD,JZ(n_i)),xV(n,nda,ngx,JZ(n_n)),xV(n,nda,ngR,JZ(nF7)),xV(n,nda,ngK,JZ(n_t)),xV(n,nda,ngo,JZ(nFr)),xV(n,nda,ngs,JZ(nFc)),xV(n,nda,ngl,JZ(nKD)),xV(n,nda,ngb,JZ(nKx)),xV(n,nda,nb9,nFb),xV(n,nda,ng2,nKA),xV(n,nda,npg,0),xV(n,nda,nwj,Va(1)),xV(n,nda,nb8,nwp),xV(n,nda,npp,JZ(nFf)),xV(n,nda,nwM,JZ(nFE)),xV(n,nda,npv,JZ(nFI)),xV(n,nda,npm,JZ(nKj)),xV(n,nda,npy,JZ(nR9)),xV(n,nda,ngJ,JZ(nK_)),xV(n,nda,nwE,(TX(),!0)),xV(n,nda,npk,JZ(nKz)),xV(n,nda,npj,JZ(nKU)),xV(n,nda,nwC,JZ(nFu)),xV(n,nda,nwI,JZ(nFh)),xV(n,nda,npE,JZ(nFo)),xV(n,nda,npT,nKM),xV(n,nda,nwO,JZ(nK7)),xV(n,nda,npM,JZ(nK9)),xV(n,nda,nwA,JZ(nFS)),xV(n,nda,npS,JZ(nFM)),xV(n,nda,npP,JZ(nFP)),xV(n,nda,npI,nFg),xV(n,nda,npC,JZ(nFv)),xV(n,nda,npO,JZ(nFm)),xV(n,nda,npA,JZ(nFy)),xV(n,nda,np$,JZ(nFp)),xV(n,nda,ndU,JZ(nF3)),xV(n,nda,ndV,JZ(nK4)),xV(n,nda,nd0,JZ(nK3)),xV(n,nda,ndz,JZ(nF2)),xV(n,nda,ndQ,JZ(nKY)),xV(n,nda,ndW,JZ(nKk)),xV(n,nda,nd4,JZ(nKy)),xV(n,nda,nd5,JZ(nKl)),xV(n,nda,ngn,JZ(nKb)),xV(n,nda,ngt,JZ(nKd)),xV(n,nda,nge,JZ(nKw)),xV(n,nda,nd8,JZ(nKm)),xV(n,nda,ndH,JZ(nK6)),xV(n,nda,ndB,JZ(nK8)),xV(n,nda,nd_,JZ(nKW)),xV(n,nda,ngi,JZ(nFa)),xV(n,nda,nga,JZ(nFt)),xV(n,nda,ndF,JZ(nKK)),xV(n,nda,ngu,JZ(nFi)),xV(n,nda,ngh,JZ(nKN)),xV(n,nda,ngf,JZ(nKL)),xV(n,nda,npN,JZ(nKf)),xV(n,nda,ngc,JZ(nFn)),xV(n,nda,ngE,JZ(nKr)),xV(n,nda,ngT,JZ(nKi)),xV(n,nda,ngj,JZ(nKe)),xV(n,nda,ngM,JZ(nKB)),xV(n,nda,ngS,JZ(nKH)),xV(n,nda,ngP,JZ(nKq)),xV(n,nda,nwq,JZ(nFs)),xV(n,nda,npL,JZ(nKV)),xV(n,nda,nb6,JZ(nKR)),xV(n,nda,npD,JZ(nKI)),xV(n,nda,nwS,JZ(nKP)),xV(n,nda,nd6,JZ(nKg)),xV(n,nda,npx,JZ(nFT)),xV(n,nda,npR,JZ(nKt)),xV(n,nda,npK,JZ(nKG)),xV(n,nda,npF,JZ(nFk)),xV(n,nda,np_,JZ(nFw)),xV(n,nda,npH,JZ(nFd)),xV(n,nda,ndZ,JZ(nK1)),xV(n,nda,nd1,JZ(nK0)),xV(n,nda,npB,JZ(nFO)),xV(n,nda,ndq,JZ(nR7)),xV(n,nda,nd2,JZ(nK2)),xV(n,nda,ngF,JZ(nKC)),xV(n,nda,ng_,JZ(nKS)),xV(n,nda,npq,JZ(nK5)),xV(n,nda,nd3,JZ(nKQ)),xV(n,nda,ngr,JZ(nFe)),xV(n,nda,npG,JZ(nF1)),xV(n,nda,ndK,JZ(nKT)),xV(n,nda,ndG,JZ(nFC)),xV(n,nda,ngw,JZ(nK$)),xV(n,nda,ndJ,JZ(nKJ)),xV(n,nda,nd9,JZ(nKp)),xV(n,nda,npz,JZ(nKX)),xV(n,nda,ndY,JZ(nKZ)),xV(n,nda,nd7,JZ(nKv)),xV(n,nda,ngH,JZ(nKh)),xV(n,nda,ngG,JZ(nKo)),xV(n,nda,ngz,JZ(nKa)),xV(n,nda,ngU,JZ(nKu)),xV(n,nda,ngB,JZ(nKs)),xV(n,nda,ngq,JZ(nKc)),xV(n,nda,ndX,JZ(nKF))}function nhw(n,t){var e;return nJp||(nJp=new wt,nJv=new wt,nhh(),nhh(),++nYO,QY(e=new xv(4)," \n\r\r "),Dp(nJp,nEP,e),Dp(nJv,nEP,nuR(e)),++nYO,QY(e=new xv(4),nEO),Dp(nJp,nEM,e),Dp(nJv,nEM,nuR(e)),++nYO,QY(e=new xv(4),nEO),Dp(nJp,nEM,e),Dp(nJv,nEM,nuR(e)),++nYO,QY(e=new xv(4),nEA),nog(e,Im(Lz(nJp,nEM),117)),Dp(nJp,nES,e),Dp(nJv,nES,nuR(e)),++nYO,QY(e=new xv(4),"-.0:AZ__az\xb7\xb7\xc0\xd6\xd8\xf6\xf8ıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),Dp(nJp,nEI,e),Dp(nJv,nEI,nuR(e)),++nYO,QY(e=new xv(4),nEA),ncz(e,95,95),ncz(e,58,58),Dp(nJp,nEC,e),Dp(nJv,nEC,nuR(e))),t?Im(Lz(nJp,n),136):Im(Lz(nJv,n),136)}function nhd(n){return Pv("_UI_EMFDiagnostic_marker",n)?"EMF Problem":Pv("_UI_CircularContainment_diagnostic",n)?"An object may not circularly contain itself":Pv(ny7,n)?"Wrong character.":Pv(nkn,n)?"Invalid reference number.":Pv(nkt,n)?"A character is required after \\.":Pv(nke,n)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":Pv(nki,n)?"'(?<' or '(? toIndex: ",nlq=", toIndex: ",nlG="Index: ",nlz=", Size: ",nlU="org.eclipse.elk.alg.common",nlX={62:1},nlW="org.eclipse.elk.alg.common.compaction",nlV="Scanline/EventHandler",nlQ="org.eclipse.elk.alg.common.compaction.oned",nlJ="CNode belongs to another CGroup.",nlY="ISpacingsHandler/1",nlZ="The ",nl1=" instance has been finished already.",nl0="The direction ",nl2=" is not supported by the CGraph instance.",nl3="OneDimensionalCompactor",nl4="OneDimensionalCompactor/lambda$0$Type",nl5="Quadruplet",nl6="ScanlineConstraintCalculator",nl8="ScanlineConstraintCalculator/ConstraintsScanlineHandler",nl9="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",nl7="ScanlineConstraintCalculator/Timestamp",nbn="ScanlineConstraintCalculator/lambda$0$Type",nbt={169:1,45:1},nbe="org.eclipse.elk.alg.common.compaction.options",nbi="org.eclipse.elk.core.data",nbr="org.eclipse.elk.polyomino.traversalStrategy",nbc="org.eclipse.elk.polyomino.lowLevelSort",nba="org.eclipse.elk.polyomino.highLevelSort",nbu="org.eclipse.elk.polyomino.fill",nbo={130:1},nbs="polyomino",nbh="org.eclipse.elk.alg.common.networksimplex",nbf={177:1,3:1,4:1},nbl="org.eclipse.elk.alg.common.nodespacing",nbb="org.eclipse.elk.alg.common.nodespacing.cellsystem",nbw="CENTER",nbd={212:1,326:1},nbg={3:1,4:1,5:1,595:1},nbp="LEFT",nbv="RIGHT",nbm="Vertical alignment cannot be null",nby="BOTTOM",nbk="org.eclipse.elk.alg.common.nodespacing.internal",nbj="UNDEFINED",nbE=.01,nbT="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",nbM="LabelPlacer/lambda$0$Type",nbS="LabelPlacer/lambda$1$Type",nbP="portRatioOrPosition",nbI="org.eclipse.elk.alg.common.overlaps",nbC="DOWN",nbO="org.eclipse.elk.alg.common.polyomino",nbA="NORTH",nb$="EAST",nbN="SOUTH",nbL="WEST",nbD="org.eclipse.elk.alg.common.polyomino.structures",nbx="Direction",nbR="Grid is only of size ",nbK=". Requested point (",nbF=") is out of bounds.",nb_=" Given center based coordinates were (",nbH="org.eclipse.elk.graph.properties",nbB="IPropertyHolder",nbq={3:1,94:1,134:1},nbG="org.eclipse.elk.alg.common.spore",nbz="org.eclipse.elk.alg.common.utils",nbU={209:1},nbX="org.eclipse.elk.core",nbW="Connected Components Compaction",nbV="org.eclipse.elk.alg.disco",nbQ="org.eclipse.elk.alg.disco.graph",nbJ="org.eclipse.elk.alg.disco.options",nbY="CompactionStrategy",nbZ="org.eclipse.elk.disco.componentCompaction.strategy",nb1="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",nb0="org.eclipse.elk.disco.debug.discoGraph",nb2="org.eclipse.elk.disco.debug.discoPolys",nb3="componentCompaction",nb4="org.eclipse.elk.disco",nb5="org.eclipse.elk.spacing.componentComponent",nb6="org.eclipse.elk.edge.thickness",nb8="org.eclipse.elk.aspectRatio",nb9="org.eclipse.elk.padding",nb7="org.eclipse.elk.alg.disco.transform",nwn=1.5707963267948966,nwt=17976931348623157e292,nwe={3:1,4:1,5:1,192:1},nwi={3:1,6:1,4:1,5:1,106:1,120:1},nwr="org.eclipse.elk.alg.force",nwc="ComponentsProcessor",nwa="ComponentsProcessor/1",nwu="org.eclipse.elk.alg.force.graph",nwo="Component Layout",nws="org.eclipse.elk.alg.force.model",nwh="org.eclipse.elk.force.model",nwf="org.eclipse.elk.force.iterations",nwl="org.eclipse.elk.force.repulsivePower",nwb="org.eclipse.elk.force.temperature",nww=.001,nwd="org.eclipse.elk.force.repulsion",nwg="org.eclipse.elk.alg.force.options",nwp=1.600000023841858,nwv="org.eclipse.elk.force",nwm="org.eclipse.elk.priority",nwy="org.eclipse.elk.spacing.nodeNode",nwk="org.eclipse.elk.spacing.edgeLabel",nwj="org.eclipse.elk.randomSeed",nwE="org.eclipse.elk.separateConnectedComponents",nwT="org.eclipse.elk.interactive",nwM="org.eclipse.elk.portConstraints",nwS="org.eclipse.elk.edgeLabels.inline",nwP="org.eclipse.elk.omitNodeMicroLayout",nwI="org.eclipse.elk.nodeSize.options",nwC="org.eclipse.elk.nodeSize.constraints",nwO="org.eclipse.elk.nodeLabels.placement",nwA="org.eclipse.elk.portLabels.placement",nw$="origin",nwN="random",nwL="boundingBox.upLeft",nwD="boundingBox.lowRight",nwx="org.eclipse.elk.stress.fixed",nwR="org.eclipse.elk.stress.desiredEdgeLength",nwK="org.eclipse.elk.stress.dimension",nwF="org.eclipse.elk.stress.epsilon",nw_="org.eclipse.elk.stress.iterationLimit",nwH="org.eclipse.elk.stress",nwB="ELK Stress",nwq="org.eclipse.elk.nodeSize.minimum",nwG="org.eclipse.elk.alg.force.stress",nwz="Layered layout",nwU="org.eclipse.elk.alg.layered",nwX="org.eclipse.elk.alg.layered.compaction.components",nwW="org.eclipse.elk.alg.layered.compaction.oned",nwV="org.eclipse.elk.alg.layered.compaction.oned.algs",nwQ="org.eclipse.elk.alg.layered.compaction.recthull",nwJ="org.eclipse.elk.alg.layered.components",nwY="NONE",nwZ={3:1,6:1,4:1,9:1,5:1,122:1},nw1={3:1,6:1,4:1,5:1,141:1,106:1,120:1},nw0="org.eclipse.elk.alg.layered.compound",nw2={51:1},nw3="org.eclipse.elk.alg.layered.graph",nw4=" -> ",nw5="Not supported by LGraph",nw6="Port side is undefined",nw8={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},nw9={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},nw7={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},ndn="([{\"' \r\n",ndt=")]}\"' \r\n",nde="The given string contains parts that cannot be parsed as numbers.",ndi="org.eclipse.elk.core.math",ndr={3:1,4:1,142:1,207:1,414:1},ndc={3:1,4:1,116:1,207:1,414:1},nda="org.eclipse.elk.layered",ndu="org.eclipse.elk.alg.layered.graph.transform",ndo="ElkGraphImporter",nds="ElkGraphImporter/lambda$0$Type",ndh="ElkGraphImporter/lambda$1$Type",ndf="ElkGraphImporter/lambda$2$Type",ndl="ElkGraphImporter/lambda$4$Type",ndb="Node margin calculation",ndw="org.eclipse.elk.alg.layered.intermediate",ndd="ONE_SIDED_GREEDY_SWITCH",ndg="TWO_SIDED_GREEDY_SWITCH",ndp="No implementation is available for the layout processor ",ndv="IntermediateProcessorStrategy",ndm="Node '",ndy="FIRST_SEPARATE",ndk="LAST_SEPARATE",ndj="Odd port side processing",ndE="org.eclipse.elk.alg.layered.intermediate.compaction",ndT="org.eclipse.elk.alg.layered.intermediate.greedyswitch",ndM="org.eclipse.elk.alg.layered.p3order.counting",ndS={225:1},ndP="org.eclipse.elk.alg.layered.intermediate.loops",ndI="org.eclipse.elk.alg.layered.intermediate.loops.ordering",ndC="org.eclipse.elk.alg.layered.intermediate.loops.routing",ndO="org.eclipse.elk.alg.layered.intermediate.preserveorder",ndA="org.eclipse.elk.alg.layered.intermediate.wrapping",nd$="org.eclipse.elk.alg.layered.options",ndN="INTERACTIVE",ndL="DEPTH_FIRST",ndD="EDGE_LENGTH",ndx="SELF_LOOPS",ndR="firstTryWithInitialOrder",ndK="org.eclipse.elk.layered.directionCongruency",ndF="org.eclipse.elk.layered.feedbackEdges",nd_="org.eclipse.elk.layered.interactiveReferencePoint",ndH="org.eclipse.elk.layered.mergeEdges",ndB="org.eclipse.elk.layered.mergeHierarchyEdges",ndq="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",ndG="org.eclipse.elk.layered.portSortingStrategy",ndz="org.eclipse.elk.layered.thoroughness",ndU="org.eclipse.elk.layered.unnecessaryBendpoints",ndX="org.eclipse.elk.layered.generatePositionAndLayerIds",ndW="org.eclipse.elk.layered.cycleBreaking.strategy",ndV="org.eclipse.elk.layered.layering.strategy",ndQ="org.eclipse.elk.layered.layering.layerConstraint",ndJ="org.eclipse.elk.layered.layering.layerChoiceConstraint",ndY="org.eclipse.elk.layered.layering.layerId",ndZ="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",nd1="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",nd0="org.eclipse.elk.layered.layering.nodePromotion.strategy",nd2="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",nd3="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",nd4="org.eclipse.elk.layered.crossingMinimization.strategy",nd5="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",nd6="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",nd8="org.eclipse.elk.layered.crossingMinimization.semiInteractive",nd9="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",nd7="org.eclipse.elk.layered.crossingMinimization.positionId",ngn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",ngt="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",nge="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",ngi="org.eclipse.elk.layered.nodePlacement.strategy",ngr="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",ngc="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",nga="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",ngu="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",ngo="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",ngs="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",ngh="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",ngf="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",ngl="org.eclipse.elk.layered.edgeRouting.splines.mode",ngb="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",ngw="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",ngd="org.eclipse.elk.layered.spacing.baseValue",ngg="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",ngp="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",ngv="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",ngm="org.eclipse.elk.layered.priority.direction",ngy="org.eclipse.elk.layered.priority.shortness",ngk="org.eclipse.elk.layered.priority.straightness",ngj="org.eclipse.elk.layered.compaction.connectedComponents",ngE="org.eclipse.elk.layered.compaction.postCompaction.strategy",ngT="org.eclipse.elk.layered.compaction.postCompaction.constraints",ngM="org.eclipse.elk.layered.highDegreeNodes.treatment",ngS="org.eclipse.elk.layered.highDegreeNodes.threshold",ngP="org.eclipse.elk.layered.highDegreeNodes.treeHeight",ngI="org.eclipse.elk.layered.wrapping.strategy",ngC="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",ngO="org.eclipse.elk.layered.wrapping.correctionFactor",ngA="org.eclipse.elk.layered.wrapping.cutting.strategy",ng$="org.eclipse.elk.layered.wrapping.cutting.cuts",ngN="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",ngL="org.eclipse.elk.layered.wrapping.validify.strategy",ngD="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",ngx="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",ngR="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",ngK="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",ngF="org.eclipse.elk.layered.edgeLabels.sideSelection",ng_="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",ngH="org.eclipse.elk.layered.considerModelOrder.strategy",ngB="org.eclipse.elk.layered.considerModelOrder.noModelOrder",ngq="org.eclipse.elk.layered.considerModelOrder.components",ngG="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",ngz="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",ngU="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",ngX="layering",ngW="layering.minWidth",ngV="layering.nodePromotion",ngQ="crossingMinimization",ngJ="org.eclipse.elk.hierarchyHandling",ngY="crossingMinimization.greedySwitch",ngZ="nodePlacement",ng1="nodePlacement.bk",ng0="edgeRouting",ng2="org.eclipse.elk.edgeRouting",ng3="spacing",ng4="priority",ng5="compaction",ng6="compaction.postCompaction",ng8="Specifies whether and how post-process compaction is applied.",ng9="highDegreeNodes",ng7="wrapping",npn="wrapping.cutting",npt="wrapping.validify",npe="wrapping.multiEdge",npi="edgeLabels",npr="considerModelOrder",npc="org.eclipse.elk.spacing.commentComment",npa="org.eclipse.elk.spacing.commentNode",npu="org.eclipse.elk.spacing.edgeEdge",npo="org.eclipse.elk.spacing.edgeNode",nps="org.eclipse.elk.spacing.labelLabel",nph="org.eclipse.elk.spacing.labelPortHorizontal",npf="org.eclipse.elk.spacing.labelPortVertical",npl="org.eclipse.elk.spacing.labelNode",npb="org.eclipse.elk.spacing.nodeSelfLoop",npw="org.eclipse.elk.spacing.portPort",npd="org.eclipse.elk.spacing.individual",npg="org.eclipse.elk.port.borderOffset",npp="org.eclipse.elk.noLayout",npv="org.eclipse.elk.port.side",npm="org.eclipse.elk.debugMode",npy="org.eclipse.elk.alignment",npk="org.eclipse.elk.insideSelfLoops.activate",npj="org.eclipse.elk.insideSelfLoops.yo",npE="org.eclipse.elk.nodeSize.fixedGraphSize",npT="org.eclipse.elk.direction",npM="org.eclipse.elk.nodeLabels.padding",npS="org.eclipse.elk.portLabels.nextToPortIfPossible",npP="org.eclipse.elk.portLabels.treatAsGroup",npI="org.eclipse.elk.portAlignment.default",npC="org.eclipse.elk.portAlignment.north",npO="org.eclipse.elk.portAlignment.south",npA="org.eclipse.elk.portAlignment.west",np$="org.eclipse.elk.portAlignment.east",npN="org.eclipse.elk.contentAlignment",npL="org.eclipse.elk.junctionPoints",npD="org.eclipse.elk.edgeLabels.placement",npx="org.eclipse.elk.port.index",npR="org.eclipse.elk.commentBox",npK="org.eclipse.elk.hypernode",npF="org.eclipse.elk.port.anchor",np_="org.eclipse.elk.partitioning.activate",npH="org.eclipse.elk.partitioning.partition",npB="org.eclipse.elk.position",npq="org.eclipse.elk.margins",npG="org.eclipse.elk.spacing.portsSurrounding",npz="org.eclipse.elk.interactiveLayout",npU="org.eclipse.elk.core.util",npX={3:1,4:1,5:1,593:1},npW="NETWORK_SIMPLEX",npV={123:1,51:1},npQ="org.eclipse.elk.alg.layered.p1cycles",npJ="org.eclipse.elk.alg.layered.p2layers",npY={402:1,225:1},npZ={832:1,3:1,4:1},np1="org.eclipse.elk.alg.layered.p3order",np0="org.eclipse.elk.alg.layered.p4nodes",np2={3:1,4:1,5:1,840:1},np3=1e-5,np4="org.eclipse.elk.alg.layered.p4nodes.bk",np5="org.eclipse.elk.alg.layered.p5edges",np6="org.eclipse.elk.alg.layered.p5edges.orthogonal",np8="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",np9=1e-6,np7="org.eclipse.elk.alg.layered.p5edges.splines",nvn=.09999999999999998,nvt=1e-8,nve=4.71238898038469,nvi=3.141592653589793,nvr="org.eclipse.elk.alg.mrtree",nvc="org.eclipse.elk.alg.mrtree.graph",nva="org.eclipse.elk.alg.mrtree.intermediate",nvu="Set neighbors in level",nvo="DESCENDANTS",nvs="org.eclipse.elk.mrtree.weighting",nvh="org.eclipse.elk.mrtree.searchOrder",nvf="org.eclipse.elk.alg.mrtree.options",nvl="org.eclipse.elk.mrtree",nvb="org.eclipse.elk.tree",nvw="org.eclipse.elk.alg.radial",nvd=6.283185307179586,nvg=5e-324,nvp="org.eclipse.elk.alg.radial.intermediate",nvv="org.eclipse.elk.alg.radial.intermediate.compaction",nvm={3:1,4:1,5:1,106:1},nvy="org.eclipse.elk.alg.radial.intermediate.optimization",nvk="No implementation is available for the layout option ",nvj="org.eclipse.elk.alg.radial.options",nvE="org.eclipse.elk.radial.orderId",nvT="org.eclipse.elk.radial.radius",nvM="org.eclipse.elk.radial.compactor",nvS="org.eclipse.elk.radial.compactionStepSize",nvP="org.eclipse.elk.radial.sorter",nvI="org.eclipse.elk.radial.wedgeCriteria",nvC="org.eclipse.elk.radial.optimizationCriteria",nvO="org.eclipse.elk.radial",nvA="org.eclipse.elk.alg.radial.p1position.wedge",nv$="org.eclipse.elk.alg.radial.sorting",nvN=5.497787143782138,nvL=3.9269908169872414,nvD=2.356194490192345,nvx="org.eclipse.elk.alg.rectpacking",nvR="org.eclipse.elk.alg.rectpacking.firstiteration",nvK="org.eclipse.elk.alg.rectpacking.options",nvF="org.eclipse.elk.rectpacking.optimizationGoal",nv_="org.eclipse.elk.rectpacking.lastPlaceShift",nvH="org.eclipse.elk.rectpacking.currentPosition",nvB="org.eclipse.elk.rectpacking.desiredPosition",nvq="org.eclipse.elk.rectpacking.onlyFirstIteration",nvG="org.eclipse.elk.rectpacking.rowCompaction",nvz="org.eclipse.elk.rectpacking.expandToAspectRatio",nvU="org.eclipse.elk.rectpacking.targetWidth",nvX="org.eclipse.elk.expandNodes",nvW="org.eclipse.elk.rectpacking",nvV="org.eclipse.elk.alg.rectpacking.util",nvQ="No implementation available for ",nvJ="org.eclipse.elk.alg.spore",nvY="org.eclipse.elk.alg.spore.options",nvZ="org.eclipse.elk.sporeCompaction",nv1="org.eclipse.elk.underlyingLayoutAlgorithm",nv0="org.eclipse.elk.processingOrder.treeConstruction",nv2="org.eclipse.elk.processingOrder.spanningTreeCostFunction",nv3="org.eclipse.elk.processingOrder.preferredRoot",nv4="org.eclipse.elk.processingOrder.rootSelection",nv5="org.eclipse.elk.structure.structureExtractionStrategy",nv6="org.eclipse.elk.compaction.compactionStrategy",nv8="org.eclipse.elk.compaction.orthogonal",nv9="org.eclipse.elk.overlapRemoval.maxIterations",nv7="org.eclipse.elk.overlapRemoval.runScanline",nmn="processingOrder",nmt="overlapRemoval",nme="org.eclipse.elk.sporeOverlap",nmi="org.eclipse.elk.alg.spore.p1structure",nmr="org.eclipse.elk.alg.spore.p2processingorder",nmc="org.eclipse.elk.alg.spore.p3execution",nma="Invalid index: ",nmu="org.eclipse.elk.core.alg",nmo={331:1},nms={288:1},nmh="Make sure its type is registered with the ",nmf=" utility class.",nml="true",nmb="false",nmw="Couldn't clone property '",nmd=.05,nmg="org.eclipse.elk.core.options",nmp=1.2999999523162842,nmv="org.eclipse.elk.box",nmm="org.eclipse.elk.box.packingMode",nmy="org.eclipse.elk.algorithm",nmk="org.eclipse.elk.resolvedAlgorithm",nmj="org.eclipse.elk.bendPoints",nmE="org.eclipse.elk.labelManager",nmT="org.eclipse.elk.scaleFactor",nmM="org.eclipse.elk.animate",nmS="org.eclipse.elk.animTimeFactor",nmP="org.eclipse.elk.layoutAncestors",nmI="org.eclipse.elk.maxAnimTime",nmC="org.eclipse.elk.minAnimTime",nmO="org.eclipse.elk.progressBar",nmA="org.eclipse.elk.validateGraph",nm$="org.eclipse.elk.validateOptions",nmN="org.eclipse.elk.zoomToFit",nmL="org.eclipse.elk.font.name",nmD="org.eclipse.elk.font.size",nmx="org.eclipse.elk.edge.type",nmR="partitioning",nmK="nodeLabels",nmF="portAlignment",nm_="nodeSize",nmH="port",nmB="portLabels",nmq="insideSelfLoops",nmG="org.eclipse.elk.fixed",nmz="org.eclipse.elk.random",nmU="port must have a parent node to calculate the port side",nmX="The edge needs to have exactly one edge section. Found: ",nmW="org.eclipse.elk.core.util.adapters",nmV="org.eclipse.emf.ecore",nmQ="org.eclipse.elk.graph",nmJ="EMapPropertyHolder",nmY="ElkBendPoint",nmZ="ElkGraphElement",nm1="ElkConnectableShape",nm0="ElkEdge",nm2="ElkEdgeSection",nm3="EModelElement",nm4="ENamedElement",nm5="ElkLabel",nm6="ElkNode",nm8="ElkPort",nm9={92:1,90:1},nm7="org.eclipse.emf.common.notify.impl",nyn="The feature '",nyt="' is not a valid changeable feature",nye="Expecting null",nyi="' is not a valid feature",nyr="The feature ID",nyc=" is not a valid feature ID",nya=32768,nyu={105:1,92:1,90:1,56:1,49:1,97:1},nyo="org.eclipse.emf.ecore.impl",nys="org.eclipse.elk.graph.impl",nyh="Recursive containment not allowed for ",nyf="The datatype '",nyl="' is not a valid classifier",nyb="The value '",nyw={190:1,3:1,4:1},nyd="The class '",nyg="http://www.eclipse.org/elk/ElkGraph",nyp=1024,nyv="property",nym="value",nyy="source",nyk="properties",nyj="identifier",nyE="height",nyT="width",nyM="parent",nyS="text",nyP="children",nyI="hierarchical",nyC="sources",nyO="targets",nyA="sections",ny$="bendPoints",nyN="outgoingShape",nyL="incomingShape",nyD="outgoingSections",nyx="incomingSections",nyR="org.eclipse.emf.common.util",nyK="Severe implementation error in the Json to ElkGraph importer.",nyF="id",ny_="org.eclipse.elk.graph.json",nyH="Unhandled parameter types: ",nyB="startPoint",nyq="An edge must have at least one source and one target (edge id: '",nyG="Referenced edge section does not exist: ",nyz=" (edge id: '",nyU="target",nyX="sourcePoint",nyW="targetPoint",nyV="group",nyQ="name",nyJ="connectableShape cannot be null",nyY="edge cannot be null",nyZ="Passed edge is not 'simple'.",ny1="org.eclipse.elk.graph.util",ny0="The 'no duplicates' constraint is violated",ny2="targetIndex=",ny3=", size=",ny4="sourceIndex=",ny5={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},ny6={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},ny8="logging",ny9="measureExecutionTime",ny7="parser.parse.1",nkn="parser.parse.2",nkt="parser.next.1",nke="parser.next.2",nki="parser.next.3",nkr="parser.next.4",nkc="parser.factor.1",nka="parser.factor.2",nku="parser.factor.3",nko="parser.factor.4",nks="parser.factor.5",nkh="parser.factor.6",nkf="parser.atom.1",nkl="parser.atom.2",nkb="parser.atom.3",nkw="parser.atom.4",nkd="parser.atom.5",nkg="parser.cc.1",nkp="parser.cc.2",nkv="parser.cc.3",nkm="parser.cc.5",nky="parser.cc.6",nkk="parser.cc.7",nkj="parser.cc.8",nkE="parser.ope.1",nkT="parser.ope.2",nkM="parser.ope.3",nkS="parser.descape.1",nkP="parser.descape.2",nkI="parser.descape.3",nkC="parser.descape.4",nkO="parser.descape.5",nkA="parser.process.1",nk$="parser.quantifier.1",nkN="parser.quantifier.2",nkL="parser.quantifier.3",nkD="parser.quantifier.4",nkx="parser.quantifier.5",nkR="org.eclipse.emf.common.notify",nkK={415:1,672:1},nkF={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},nk_={366:1,143:1},nkH="index=",nkB={3:1,4:1,5:1,126:1},nkq={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},nkG={3:1,6:1,4:1,5:1,192:1},nkz={3:1,4:1,5:1,165:1,367:1},nkU=";/?:@&=+$,",nkX="invalid authority: ",nkW="EAnnotation",nkV="ETypedElement",nkQ="EStructuralFeature",nkJ="EAttribute",nkY="EClassifier",nkZ="EEnumLiteral",nk1="EGenericType",nk0="EOperation",nk2="EParameter",nk3="EReference",nk4="ETypeParameter",nk5="org.eclipse.emf.ecore.util",nk6={76:1},nk8={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},nk9="org.eclipse.emf.ecore.util.FeatureMap$Entry",nk7=8192,njn=2048,njt="byte",nje="char",nji="double",njr="float",njc="int",nja="long",nju="short",njo="java.lang.Object",njs={3:1,4:1,5:1,247:1},njh={3:1,4:1,5:1,673:1},njf={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},njl={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},njb="mixed",njw="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",njd="kind",njg={3:1,4:1,5:1,674:1},njp={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},njv={20:1,28:1,52:1,14:1,15:1,58:1,69:1},njm={47:1,125:1,279:1},njy={72:1,332:1},njk="The value of type '",njj="' must be of type '",njE="http://www.eclipse.org/emf/2002/Ecore",njT="constraints",njM="baseType",njS="getEStructuralFeature",njP="getFeatureID",njI="feature",njC="getOperationID",njO="operation",njA="defaultValue",nj$="eTypeParameters",njN="isInstance",njL="getEEnumLiteral",njD="eContainingClass",njx={55:1},njR={3:1,4:1,5:1,119:1},njK="org.eclipse.emf.ecore.resource",njF={92:1,90:1,591:1,1935:1},nj_="org.eclipse.emf.ecore.resource.impl",njH="unspecified",njB="simple",njq="attribute",njG="attributeWildcard",njz="element",njU="elementWildcard",njX="collapse",njW="itemType",njV="namespace",njQ="##targetNamespace",njJ="whiteSpace",njY="wildcards",njZ="http://www.eclipse.org/emf/2003/XMLType",nj1="##any",nj0="uninitialized",nj2="The multiplicity constraint is violated",nj3="org.eclipse.emf.ecore.xml.type",nj4="ProcessingInstruction",nj5="SimpleAnyType",nj6="XMLTypeDocumentRoot",nj8="org.eclipse.emf.ecore.xml.type.impl",nj9="processing",nj7="ENTITIES_._base",nEn="minLength",nEt="ENTITY",nEe="NCName",nEi="IDREFS_._base",nEr="integer",nEc="token",nEa="pattern",nEu="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",nEo="\\i\\c*",nEs="[\\i-[:]][\\c-[:]]*",nEh="nonPositiveInteger",nEf="maxInclusive",nEl="NMTOKEN",nEb="NMTOKENS_._base",nEw="nonNegativeInteger",nEd="minInclusive",nEg="normalizedString",nEp="unsignedByte",nEv="unsignedInt",nEm="18446744073709551615",nEy="unsignedShort",nEk="processingInstruction",nEj="org.eclipse.emf.ecore.xml.type.internal",nEE=1114111,nET="Internal Error: shorthands: \\u",nEM="xml:isDigit",nES="xml:isWord",nEP="xml:isSpace",nEI="xml:isNameChar",nEC="xml:isInitialNameChar",nEO="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",nEA="AZaz\xc0\xd6\xd8\xf6\xf8ıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",nE$="Private Use",nEN="ASSIGNED",nEL="\0\x7f\x80\xffĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",nED="UNASSIGNED",nEx={3:1,117:1},nER="org.eclipse.emf.ecore.xml.type.util",nEK={3:1,4:1,5:1,368:1},nEF="org.eclipse.xtext.xbase.lib",nE_="Cannot add elements to a Range",nEH="Cannot set elements in a Range",nEB="Cannot remove elements from a Range",nEq="locale",nEG="default",nEz="user.agent";nTv.goog=nTv.goog||{},nTv.goog.global=nTv.goog.global||nTv,nTy={},Array.isArray||(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)}),Date.now||(Date.now=function(){return(new Date).getTime()}),nrr(1,null,{},e),nTm.Fb=function(n){return jf(this)===jf(n)},nTm.Gb=function(){return this.gm},nTm.Hb=function(){return T9(this)},nTm.Ib=function(){return pb(Xp(this))+"@"+(Xg(this)>>>0).toString(16)},nTm.equals=function(n){return this.Fb(n)},nTm.hashCode=function(){return this.Hb()},nTm.toString=function(){return this.Ib()},nrr(290,1,{290:1,2026:1},UY),nTm.le=function(n){var t;return(t=new UY).i=4,n>1?t.c=Dg(this,n-1):t.c=this,t},nTm.me=function(){return Su(this),this.b},nTm.ne=function(){return pb(this)},nTm.oe=function(){return Su(this),this.k},nTm.pe=function(){return(4&this.i)!=0},nTm.qe=function(){return(1&this.i)!=0},nTm.Ib=function(){return BE(this)},nTm.i=0;var nEU=1,nEX=AY(nhS,"Object",1),nEW=AY(nhS,"Class",290);nrr(1998,1,nhP),AY(nhI,"Optional",1998),nrr(1170,1998,nhP,r),nTm.Fb=function(n){return n===this},nTm.Hb=function(){return 2040732332},nTm.Ib=function(){return"Optional.absent()"},nTm.Jb=function(n){return A1(n),dJ(),nTM},AY(nhI,"Absent",1170),nrr(628,1,{},g_),AY(nhI,"Joiner",628);var nEV=Cw(nhI,"Predicate");nrr(582,1,{169:1,582:1,3:1,45:1},s0),nTm.Mb=function(n){return Xa(this,n)},nTm.Lb=function(n){return Xa(this,n)},nTm.Fb=function(n){var t;return!!Ti(n,582)&&(t=Im(n,582),nrp(this.a,t.a))},nTm.Hb=function(){return Xu(this.a)+306654252},nTm.Ib=function(){return function(n){var t,e,i,r;for(t=$r(jP(new TV("Predicates."),"and"),40),e=!0,r=new h$(n);r.b0},nTm.Pb=function(){if(this.c>=this.d)throw(new wO).e;return this.Xb(this.c++)},nTm.Tb=function(){return this.c},nTm.Ub=function(){if(this.c<=0)throw(new wO).e;return this.Xb(--this.c)},nTm.Vb=function(){return this.c-1},nTm.c=0,nTm.d=0,AY(nhx,"AbstractIndexedListIterator",386),nrr(699,198,nhD),nTm.Ob=function(){return Gf(this)},nTm.Pb=function(){return Hg(this)},nTm.e=1,AY(nhx,"AbstractIterator",699),nrr(1986,1,{224:1}),nTm.Zb=function(){return this.f||(this.f=this.ac())},nTm.Fb=function(n){return X$(this,n)},nTm.Hb=function(){return Xg(this.Zb())},nTm.dc=function(){return 0==this.gc()},nTm.ec=function(){return ON(this)},nTm.Ib=function(){return V7(this.Zb())},AY(nhx,"AbstractMultimap",1986),nrr(726,1986,nhK),nTm.$b=function(){qX(this)},nTm._b=function(n){return this.c._b(n)},nTm.ac=function(){return new vb(this,this.c)},nTm.ic=function(n){return this.hc()},nTm.bc=function(){return new TS(this,this.c)},nTm.jc=function(){return this.mc(this.hc())},nTm.kc=function(){return new dx(this)},nTm.lc=function(){return ntb(this.c.vc().Nc(),new a,64,this.d)},nTm.cc=function(n){return Fl(this,n)},nTm.fc=function(n){return Wv(this,n)},nTm.gc=function(){return this.d},nTm.mc=function(n){return NV(),new hW(n)},nTm.nc=function(){return new dD(this)},nTm.oc=function(){return ntb(this.c.Cc().Nc(),new c,64,this.d)},nTm.pc=function(n,t){return new FH(this,n,t,null)},nTm.d=0,AY(nhx,"AbstractMapBasedMultimap",726),nrr(1631,726,nhK),nTm.hc=function(){return new Fq(this.a)},nTm.jc=function(){return NV(),NV(),nMv},nTm.cc=function(n){return Im(Fl(this,n),15)},nTm.fc=function(n){return Im(Wv(this,n),15)},nTm.Zb=function(){return NY(this)},nTm.Fb=function(n){return X$(this,n)},nTm.qc=function(n){return Im(Fl(this,n),15)},nTm.rc=function(n){return Im(Wv(this,n),15)},nTm.mc=function(n){return Lt(Im(n,15))},nTm.pc=function(n,t){return Rk(this,n,Im(t,15),null)},AY(nhx,"AbstractListMultimap",1631),nrr(732,1,nhF),nTm.Nb=function(n){Ao(this,n)},nTm.Ob=function(){return this.c.Ob()||this.e.Ob()},nTm.Pb=function(){var n;return this.e.Ob()||(n=Im(this.c.Pb(),42),this.b=n.cd(),this.a=Im(n.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},nTm.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},AY(nhx,"AbstractMapBasedMultimap/Itr",732),nrr(1099,732,nhF,dD),nTm.sc=function(n,t){return t},AY(nhx,"AbstractMapBasedMultimap/1",1099),nrr(1100,1,{},c),nTm.Kb=function(n){return Im(n,14).Nc()},AY(nhx,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),nrr(1101,732,nhF,dx),nTm.sc=function(n,t){return new vw(n,t)},AY(nhx,"AbstractMapBasedMultimap/2",1101);var nEQ=Cw(nh_,"Map");nrr(1967,1,nhH),nTm.wc=function(n){zS(this,n)},nTm.yc=function(n,t,e){return VD(this,n,t,e)},nTm.$b=function(){this.vc().$b()},nTm.tc=function(n){return Y4(this,n)},nTm._b=function(n){return!!nnJ(this,n,!1)},nTm.uc=function(n){var t,e;for(t=this.vc().Kc();t.Ob();)if(e=Im(t.Pb(),42).dd(),jf(n)===jf(e)||null!=n&&WY(n,e))return!0;return!1},nTm.Fb=function(n){var t,e,i;if(n===this)return!0;if(!Ti(n,83)||(i=Im(n,83),this.gc()!=i.gc()))return!1;for(e=i.vc().Kc();e.Ob();)if(t=Im(e.Pb(),42),!this.tc(t))return!1;return!0},nTm.xc=function(n){return jh(nnJ(this,n,!1))},nTm.Hb=function(){return UO(this.vc())},nTm.dc=function(){return 0==this.gc()},nTm.ec=function(){return new hL(this)},nTm.zc=function(n,t){throw new gM("Put not supported on this map").e},nTm.Ac=function(n){zc(this,n)},nTm.Bc=function(n){return jh(nnJ(this,n,!0))},nTm.gc=function(){return this.vc().gc()},nTm.Ib=function(){return nn3(this)},nTm.Cc=function(){return new hx(this)},AY(nh_,"AbstractMap",1967),nrr(1987,1967,nhH),nTm.bc=function(){return new vj(this)},nTm.vc=function(){return O$(this)},nTm.ec=function(){return this.g||(this.g=this.bc())},nTm.Cc=function(){return this.i||(this.i=new vE(this))},AY(nhx,"Maps/ViewCachingAbstractMap",1987),nrr(389,1987,nhH,vb),nTm.xc=function(n){var t;return(t=Im(WK(this.d,n),14))?this.e.pc(n,t):null},nTm.Bc=function(n){var t,e;return(t=Im(this.d.Bc(n),14))?((e=this.e.hc()).Gc(t),this.e.d-=t.gc(),t.$b(),e):null},nTm.$b=function(){this.d==this.e.c?this.e.$b():CM(new CS(this))},nTm._b=function(n){return W_(this.d,n)},nTm.Ec=function(){return new s6(this)},nTm.Dc=function(){return this.Ec()},nTm.Fb=function(n){return this===n||WY(this.d,n)},nTm.Hb=function(){return Xg(this.d)},nTm.ec=function(){return this.e.ec()},nTm.gc=function(){return this.d.gc()},nTm.Ib=function(){return V7(this.d)},AY(nhx,"AbstractMapBasedMultimap/AsMap",389);var nEJ=Cw(nhS,"Iterable");nrr(28,1,nhB),nTm.Jc=function(n){KA(this,n)},nTm.Lc=function(){return this.Oc()},nTm.Nc=function(){return new D6(this,0)},nTm.Oc=function(){return new CN(null,this.Nc())},nTm.Fc=function(n){throw new gM("Add not supported on this collection").e},nTm.Gc=function(n){return Gz(this,n)},nTm.$b=function(){No(this)},nTm.Hc=function(n){return Qg(this,n,!1)},nTm.Ic=function(n){return Ur(this,n)},nTm.dc=function(){return 0==this.gc()},nTm.Mc=function(n){return Qg(this,n,!0)},nTm.Pc=function(){return Oj(this)},nTm.Qc=function(n){return Y3(this,n)},nTm.Ib=function(){return ntK(this)},AY(nh_,"AbstractCollection",28);var nEY=Cw(nh_,"Set");nrr(1965,28,nhq),nTm.Nc=function(){return new D6(this,1)},nTm.Fb=function(n){return Jb(this,n)},nTm.Hb=function(){return UO(this)},AY(nh_,"AbstractSet",1965),nrr(1970,1965,nhq),AY(nhx,"Sets/ImprovedAbstractSet",1970),nrr(1971,1970,nhq),nTm.$b=function(){this.Rc().$b()},nTm.Hc=function(n){return QK(this,n)},nTm.dc=function(){return this.Rc().dc()},nTm.Mc=function(n){var t;return!!this.Hc(n)&&(t=Im(n,42),this.Rc().ec().Mc(t.cd()))},nTm.gc=function(){return this.Rc().gc()},AY(nhx,"Maps/EntrySet",1971),nrr(1097,1971,nhq,s6),nTm.Hc=function(n){return WF(this.a.d.vc(),n)},nTm.Kc=function(){return new CS(this.a)},nTm.Rc=function(){return this.a},nTm.Mc=function(n){var t,e,i,r,c;return!!WF(this.a.d.vc(),n)&&(t=Im(n,42),e=this.a.e,i=t.cd(),(r=Im(function(n,t){A1(n);try{return n.Bc(t)}catch(n){if(Ti(n=Uu(n),205)||Ti(n,173))return null;throw n.e}}(e.c,i),14))&&(c=r.gc(),r.$b(),e.d-=c),!0)},nTm.Nc=function(){return Ip(this.a.d.vc().Nc(),new s8(this.a))},AY(nhx,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),nrr(1098,1,{},s8),nTm.Kb=function(n){return K$(this.a,Im(n,42))},AY(nhx,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),nrr(730,1,nhF,CS),nTm.Nb=function(n){Ao(this,n)},nTm.Pb=function(){var n;return n=Im(this.b.Pb(),42),this.a=Im(n.dd(),14),K$(this.c,n)},nTm.Ob=function(){return this.b.Ob()},nTm.Qb=function(){zL(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},AY(nhx,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),nrr(532,1970,nhq,vj),nTm.$b=function(){this.b.$b()},nTm.Hc=function(n){return this.b._b(n)},nTm.Jc=function(n){A1(n),this.b.wc(new hk(n))},nTm.dc=function(){return this.b.dc()},nTm.Kc=function(){return new d6(this.b.vc().Kc())},nTm.Mc=function(n){return!!this.b._b(n)&&(this.b.Bc(n),!0)},nTm.gc=function(){return this.b.gc()},AY(nhx,"Maps/KeySet",532),nrr(318,532,nhq,TS),nTm.$b=function(){CM(new p9(this,this.b.vc().Kc()))},nTm.Ic=function(n){return this.b.ec().Ic(n)},nTm.Fb=function(n){return this===n||WY(this.b.ec(),n)},nTm.Hb=function(){return Xg(this.b.ec())},nTm.Kc=function(){return new p9(this,this.b.vc().Kc())},nTm.Mc=function(n){var t,e;return e=0,(t=Im(this.b.Bc(n),14))&&(e=t.gc(),t.$b(),this.a.d-=e),e>0},nTm.Nc=function(){return this.b.ec().Nc()},AY(nhx,"AbstractMapBasedMultimap/KeySet",318),nrr(731,1,nhF,p9),nTm.Nb=function(n){Ao(this,n)},nTm.Ob=function(){return this.c.Ob()},nTm.Pb=function(){return this.a=Im(this.c.Pb(),42),this.a.cd()},nTm.Qb=function(){var n;zL(!!this.a),n=Im(this.a.dd(),14),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},AY(nhx,"AbstractMapBasedMultimap/KeySet/1",731),nrr(491,389,{83:1,161:1},Sl),nTm.bc=function(){return this.Sc()},nTm.ec=function(){return this.Tc()},nTm.Sc=function(){return new p6(this.c,this.Uc())},nTm.Tc=function(){return this.b||(this.b=this.Sc())},nTm.Uc=function(){return Im(this.d,161)},AY(nhx,"AbstractMapBasedMultimap/SortedAsMap",491),nrr(542,491,nhG,Sb),nTm.bc=function(){return new p8(this.a,Im(Im(this.d,161),171))},nTm.Sc=function(){return new p8(this.a,Im(Im(this.d,161),171))},nTm.ec=function(){return Im(this.b||(this.b=new p8(this.a,Im(Im(this.d,161),171))),271)},nTm.Tc=function(){return Im(this.b||(this.b=new p8(this.a,Im(Im(this.d,161),171))),271)},nTm.Uc=function(){return Im(Im(this.d,161),171)},AY(nhx,"AbstractMapBasedMultimap/NavigableAsMap",542),nrr(490,318,nhz,p6),nTm.Nc=function(){return this.b.ec().Nc()},AY(nhx,"AbstractMapBasedMultimap/SortedKeySet",490),nrr(388,490,nhU,p8),AY(nhx,"AbstractMapBasedMultimap/NavigableKeySet",388),nrr(541,28,nhB,FH),nTm.Fc=function(n){var t,e;return Qe(this),e=this.d.dc(),(t=this.d.Fc(n))&&(++this.f.d,e&&SG(this)),t},nTm.Gc=function(n){var t,e,i;return!n.dc()&&(Qe(this),i=this.d.gc(),(t=this.d.Gc(n))&&(e=this.d.gc(),this.f.d+=e-i,0==i&&SG(this)),t)},nTm.$b=function(){var n;Qe(this),0!=(n=this.d.gc())&&(this.d.$b(),this.f.d-=n,Oe(this))},nTm.Hc=function(n){return Qe(this),this.d.Hc(n)},nTm.Ic=function(n){return Qe(this),this.d.Ic(n)},nTm.Fb=function(n){return n===this||(Qe(this),WY(this.d,n))},nTm.Hb=function(){return Qe(this),Xg(this.d)},nTm.Kc=function(){return Qe(this),new IM(this)},nTm.Mc=function(n){var t;return Qe(this),(t=this.d.Mc(n))&&(--this.f.d,Oe(this)),t},nTm.gc=function(){return jy(this)},nTm.Nc=function(){return Qe(this),this.d.Nc()},nTm.Ib=function(){return Qe(this),V7(this.d)},AY(nhx,"AbstractMapBasedMultimap/WrappedCollection",541);var nEZ=Cw(nh_,"List");nrr(728,541,{20:1,28:1,14:1,15:1},OS),nTm.ad=function(n){GG(this,n)},nTm.Nc=function(){return Qe(this),this.d.Nc()},nTm.Vc=function(n,t){var e;Qe(this),e=this.d.dc(),Im(this.d,15).Vc(n,t),++this.a.d,e&&SG(this)},nTm.Wc=function(n,t){var e,i,r;return!t.dc()&&(Qe(this),r=this.d.gc(),(e=Im(this.d,15).Wc(n,t))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&SG(this)),e)},nTm.Xb=function(n){return Qe(this),Im(this.d,15).Xb(n)},nTm.Xc=function(n){return Qe(this),Im(this.d,15).Xc(n)},nTm.Yc=function(){return Qe(this),new ER(this)},nTm.Zc=function(n){return Qe(this),new NF(this,n)},nTm.$c=function(n){var t;return Qe(this),t=Im(this.d,15).$c(n),--this.a.d,Oe(this),t},nTm._c=function(n,t){return Qe(this),Im(this.d,15)._c(n,t)},nTm.bd=function(n,t){return Qe(this),Rk(this.a,this.e,Im(this.d,15).bd(n,t),this.b?this.b:this)},AY(nhx,"AbstractMapBasedMultimap/WrappedList",728),nrr(1096,728,{20:1,28:1,14:1,15:1,54:1},MH),AY(nhx,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),nrr(620,1,nhF,IM),nTm.Nb=function(n){Ao(this,n)},nTm.Ob=function(){return Ns(this),this.b.Ob()},nTm.Pb=function(){return Ns(this),this.b.Pb()},nTm.Qb=function(){TF(this)},AY(nhx,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),nrr(729,620,nhX,ER,NF),nTm.Qb=function(){TF(this)},nTm.Rb=function(n){var t;t=0==jy(this.a),(Ns(this),Im(this.b,125)).Rb(n),++this.a.a.d,t&&SG(this.a)},nTm.Sb=function(){return(Ns(this),Im(this.b,125)).Sb()},nTm.Tb=function(){return(Ns(this),Im(this.b,125)).Tb()},nTm.Ub=function(){return(Ns(this),Im(this.b,125)).Ub()},nTm.Vb=function(){return(Ns(this),Im(this.b,125)).Vb()},nTm.Wb=function(n){(Ns(this),Im(this.b,125)).Wb(n)},AY(nhx,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),nrr(727,541,nhz,Sv),nTm.Nc=function(){return Qe(this),this.d.Nc()},AY(nhx,"AbstractMapBasedMultimap/WrappedSortedSet",727),nrr(1095,727,nhU,Eg),AY(nhx,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),nrr(1094,541,nhq,Sm),nTm.Nc=function(){return Qe(this),this.d.Nc()},AY(nhx,"AbstractMapBasedMultimap/WrappedSet",1094),nrr(1103,1,{},a),nTm.Kb=function(n){var t,e;return e=(t=Im(n,42)).cd(),Ip(Im(t.dd(),14).Nc(),new s9(e))},AY(nhx,"AbstractMapBasedMultimap/lambda$1$Type",1103),nrr(1102,1,{},s9),nTm.Kb=function(n){return new vw(this.a,n)},AY(nhx,"AbstractMapBasedMultimap/lambda$2$Type",1102);var nE1=Cw(nh_,"Map/Entry");nrr(345,1,nhW),nTm.Fb=function(n){var t;return!!Ti(n,42)&&(t=Im(n,42),$A(this.cd(),t.cd())&&$A(this.dd(),t.dd()))},nTm.Hb=function(){var n,t;return n=this.cd(),t=this.dd(),(null==n?0:Xg(n))^(null==t?0:Xg(t))},nTm.ed=function(n){throw(new wP).e},nTm.Ib=function(){return this.cd()+"="+this.dd()},AY(nhx,nhV,345),nrr(1988,28,nhB),nTm.$b=function(){this.fd().$b()},nTm.Hc=function(n){var t,e,i,r,c;return!!Ti(n,42)&&(t=Im(n,42),e=this.fd(),i=t.cd(),r=t.dd(),!!(c=Im(e.Zb().xc(i),14))&&c.Hc(r))},nTm.Mc=function(n){var t;return!!Ti(n,42)&&(t=Im(n,42),xD(this.fd(),t.cd(),t.dd()))},nTm.gc=function(){return this.fd().d},AY(nhx,"Multimaps/Entries",1988),nrr(733,1988,nhB,s7),nTm.Kc=function(){return this.a.kc()},nTm.fd=function(){return this.a},nTm.Nc=function(){return this.a.lc()},AY(nhx,"AbstractMultimap/Entries",733),nrr(734,733,nhq,dR),nTm.Nc=function(){return this.a.lc()},nTm.Fb=function(n){return ner(this,n)},nTm.Hb=function(){return GU(this)},AY(nhx,"AbstractMultimap/EntrySet",734),nrr(735,28,nhB,hn),nTm.$b=function(){this.a.$b()},nTm.Hc=function(n){return function(n,t){var e;for(e=n.Zb().Cc().Kc();e.Ob();)if(Im(e.Pb(),14).Hc(t))return!0;return!1}(this.a,n)},nTm.Kc=function(){return this.a.nc()},nTm.gc=function(){return this.a.d},nTm.Nc=function(){return this.a.oc()},AY(nhx,"AbstractMultimap/Values",735),nrr(1989,28,{835:1,20:1,28:1,14:1}),nTm.Jc=function(n){A1(n),Nu(this).Jc(new hy(n))},nTm.Nc=function(){var n;return ntb(n=Nu(this).Nc(),new m,64|1296&n.qd(),this.a.d)},nTm.Fc=function(n){return gK(),!0},nTm.Gc=function(n){var t;return A1(this),A1(n),Ti(n,543)?!Nu(t=Im(n,835)).dc()&&(A1(new v),Nu(t).Jc(new l),!0):!n.dc()&&HU(this,n.Kc())},nTm.Hc=function(n){var t;return((t=Im(WK(NY(this.a),n),14))?t.gc():0)>0},nTm.Fb=function(n){return function(n,t){var e,i,r;if(t===n)return!0;if(Ti(t,543)){if(r=Im(t,835),n.a.d!=r.a.d||Nu(n).gc()!=Nu(r).gc())return!1;for(i=Nu(r).Kc();i.Ob();)if(DY(n,(e=Im(i.Pb(),416)).a.cd())!=Im(e.a.dd(),14).gc())return!1;return!0}return!1}(this,n)},nTm.Hb=function(){return Xg(Nu(this))},nTm.dc=function(){return Nu(this).dc()},nTm.Mc=function(n){return nib(this,n,1)>0},nTm.Ib=function(){return V7(Nu(this))},AY(nhx,"AbstractMultiset",1989),nrr(1991,1970,nhq),nTm.$b=function(){qX(this.a.a)},nTm.Hc=function(n){var t;return!!Ti(n,492)&&(t=Im(n,416),!(0>=Im(t.a.dd(),14).gc())&&DY(this.a,t.a.cd())==Im(t.a.dd(),14).gc())},nTm.Mc=function(n){var t,e,i,r,c,a,u,o,s;return!!Ti(n,492)&&(t=(e=Im(n,416)).a.cd(),0!=(i=Im(e.a.dd(),14).gc()))&&(r=this.a,c=t,qz(a=i,"oldCount"),qz(0,"newCount"),((u=Im(WK(NY(r.a),c),14))?u.gc():0)==a&&(qz(0,"count"),(s=-((o=Im(WK(NY(r.a),c),14))?o.gc():0))>0?gK():s<0&&nib(r,c,-s),!0))},AY(nhx,"Multisets/EntrySet",1991),nrr(1109,1991,nhq,ht),nTm.Kc=function(){return new d9(O$(NY(this.a.a)).Kc())},nTm.gc=function(){return NY(this.a.a).gc()},AY(nhx,"AbstractMultiset/EntrySet",1109),nrr(619,726,nhK),nTm.hc=function(){return this.gd()},nTm.jc=function(){return this.hd()},nTm.cc=function(n){return this.jd(n)},nTm.fc=function(n){return this.kd(n)},nTm.Zb=function(){return this.f||(this.f=this.ac())},nTm.hd=function(){return NV(),NV(),nMy},nTm.Fb=function(n){return X$(this,n)},nTm.jd=function(n){return Im(Fl(this,n),21)},nTm.kd=function(n){return Im(Wv(this,n),21)},nTm.mc=function(n){return NV(),new gQ(Im(n,21))},nTm.pc=function(n,t){return new Sm(this,n,Im(t,21))},AY(nhx,"AbstractSetMultimap",619),nrr(1657,619,nhK),nTm.hc=function(){return new pI(this.b)},nTm.gd=function(){return new pI(this.b)},nTm.jc=function(){return A9(new pI(this.b))},nTm.hd=function(){return A9(new pI(this.b))},nTm.cc=function(n){return Im(Im(Fl(this,n),21),84)},nTm.jd=function(n){return Im(Im(Fl(this,n),21),84)},nTm.fc=function(n){return Im(Im(Wv(this,n),21),84)},nTm.kd=function(n){return Im(Im(Wv(this,n),21),84)},nTm.mc=function(n){return Ti(n,271)?A9(Im(n,271)):(NV(),new TY(Im(n,84)))},nTm.Zb=function(){return this.f||(this.f=Ti(this.c,171)?new Sb(this,Im(this.c,171)):Ti(this.c,161)?new Sl(this,Im(this.c,161)):new vb(this,this.c))},nTm.pc=function(n,t){return Ti(t,271)?new Eg(this,n,Im(t,271)):new Sv(this,n,Im(t,84))},AY(nhx,"AbstractSortedSetMultimap",1657),nrr(1658,1657,nhK),nTm.Zb=function(){return Im(Im(this.f||(this.f=Ti(this.c,171)?new Sb(this,Im(this.c,171)):Ti(this.c,161)?new Sl(this,Im(this.c,161)):new vb(this,this.c)),161),171)},nTm.ec=function(){return Im(Im(this.i||(this.i=Ti(this.c,171)?new p8(this,Im(this.c,171)):Ti(this.c,161)?new p6(this,Im(this.c,161)):new TS(this,this.c)),84),271)},nTm.bc=function(){return Ti(this.c,171)?new p8(this,Im(this.c,171)):Ti(this.c,161)?new p6(this,Im(this.c,161)):new TS(this,this.c)},AY(nhx,"AbstractSortedKeySortedSetMultimap",1658),nrr(2010,1,{1947:1}),nTm.Fb=function(n){var t;return n===this||!!Ti(n,664)&&(t=Im(n,1947),Jb(this.g||(this.g=new he(this)),t.g||(t.g=new he(t))))},nTm.Hb=function(){return UO(this.g||(this.g=new he(this)))},nTm.Ib=function(){return nn3(this.f||(this.f=new TO(this)))},AY(nhx,"AbstractTable",2010),nrr(665,1965,nhq,he),nTm.$b=function(){gF()},nTm.Hc=function(n){var t,e;return!!Ti(n,468)&&(t=Im(n,682),!!(e=Im(WK(A2(this.a),jd(t.c.e,t.b)),83))&&WF(e.vc(),new vw(jd(t.c.c,t.a),FF(t.c,t.b,t.a))))},nTm.Kc=function(){var n;return new TP(n=this.a,n.e.Hd().gc()*n.c.Hd().gc())},nTm.Mc=function(n){var t,e;return!!Ti(n,468)&&(t=Im(n,682),!!(e=Im(WK(A2(this.a),jd(t.c.e,t.b)),83))&&function(n,t){A1(n);try{return n.Mc(t)}catch(n){if(Ti(n=Uu(n),205)||Ti(n,173))return!1;throw n.e}}(e.vc(),new vw(jd(t.c.c,t.a),FF(t.c,t.b,t.a))))},nTm.gc=function(){return CR(this.a)},nTm.Nc=function(){var n;return Cp((n=this.a).e.Hd().gc()*n.c.Hd().gc(),273,new s3(n))},AY(nhx,"AbstractTable/CellSet",665),nrr(1928,28,nhB,hi),nTm.$b=function(){gF()},nTm.Hc=function(n){return function(n,t){var e,i,r,c,a,u,o;for(a=n.a,u=0,o=a.length;u0?n:t),WM(e=this.b,0)>0?e:0},nTm.Nb=function(n){this.d&&(this.d.Nb(n),this.d=null),this.c.Nb(new p7(this.e,n)),this.b=0},nTm.sd=function(n){for(;;){if(this.d&&this.d.sd(n))return jv(this.b,nh0)&&(this.b=VR(this.b,1)),!0;if(this.d=null,!this.c.sd(new ve(this,this.e)))return!1}},nTm.a=0,nTm.b=0,AY(nhx,"CollectSpliterators/1FlatMapSpliterator",1123),nrr(1124,1,nh1,ve),nTm.td=function(n){var t,e;t=this.a,e=this.b,t.d=Im(e.Kb(n),164)},AY(nhx,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),nrr(1125,1,nh1,p7),nTm.td=function(n){!function(n,t,e){Im(n.Kb(e),164).Nb(t)}(this.b,this.a,n)},AY(nhx,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),nrr(1117,1,nhZ,Pw),nTm.qd=function(){return 16464|this.b},nTm.rd=function(){return this.a.rd()},nTm.Nb=function(n){this.a.xe(new vr(n,this.c))},nTm.sd=function(n){return this.a.ye(new vi(n,this.c))},nTm.b=0,AY(nhx,"CollectSpliterators/1WithCharacteristics",1117),nrr(1118,1,nh2,vi),nTm.ud=function(n){this.a.td(this.b.ld(n))},AY(nhx,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),nrr(1119,1,nh2,vr),nTm.ud=function(n){this.a.td(this.b.ld(n))},AY(nhx,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),nrr(245,1,nh3),nTm.wd=function(n){return this.vd(Im(n,245))},nTm.vd=function(n){var t;return n==(dV(),nTP)?1:n==(dQ(),nTS)?-1:(Ca(),0!=(t=zs(this.a,n.a)))?t:Ti(this,519)==Ti(n,519)?0:Ti(this,519)?1:-1},nTm.zd=function(){return this.a},nTm.Fb=function(n){return Q9(this,n)},AY(nhx,"Cut",245),nrr(1761,245,nh3,gZ),nTm.vd=function(n){return n==this?0:1},nTm.xd=function(n){throw(new wy).e},nTm.yd=function(n){n.a+="+∞)"},nTm.zd=function(){throw new gg(nh4).e},nTm.Hb=function(){return vI(),Ys(this)},nTm.Ad=function(n){return!1},nTm.Ib=function(){return"+∞"},AY(nhx,"Cut/AboveAll",1761),nrr(519,245,{245:1,519:1,3:1,35:1},T_),nTm.xd=function(n){jS((n.a+="(",n),this.a)},nTm.yd=function(n){$r(jS(n,this.a),93)},nTm.Hb=function(){return~Xg(this.a)},nTm.Ad=function(n){return Ca(),0>zs(this.a,n)},nTm.Ib=function(){return"/"+this.a+"\\"},AY(nhx,"Cut/AboveValue",519),nrr(1760,245,nh3,g1),nTm.vd=function(n){return n==this?0:-1},nTm.xd=function(n){n.a+="(-∞"},nTm.yd=function(n){throw(new wy).e},nTm.zd=function(){throw new gg(nh4).e},nTm.Hb=function(){return vI(),Ys(this)},nTm.Ad=function(n){return!0},nTm.Ib=function(){return"-∞"},AY(nhx,"Cut/BelowAll",1760),nrr(1762,245,nh3,TH),nTm.xd=function(n){jS((n.a+="[",n),this.a)},nTm.yd=function(n){$r(jS(n,this.a),41)},nTm.Hb=function(){return Xg(this.a)},nTm.Ad=function(n){return Ca(),0>=zs(this.a,n)},nTm.Ib=function(){return"\\"+this.a+"/"},AY(nhx,"Cut/BelowValue",1762),nrr(537,1,nh5),nTm.Jc=function(n){KA(this,n)},nTm.Ib=function(){return function(n){var t,e;for(e=$r(new gX,91),t=!0;n.Ob();)t||(e.a+=nhC),t=!1,jS(e,n.Pb());return(e.a+="]",e).a}(Im(N4(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},AY(nhx,"FluentIterable",537),nrr(433,537,nh5,jG),nTm.Kc=function(){return new OM(Tx(this.a.Kc(),new s))},AY(nhx,"FluentIterable/2",433),nrr(1046,537,nh5,jz),nTm.Kc=function(){return AS(this)},AY(nhx,"FluentIterable/3",1046),nrr(708,386,nhR,T$),nTm.Xb=function(n){return this.a[n].Kc()},AY(nhx,"FluentIterable/3/1",708),nrr(1972,1,{}),nTm.Ib=function(){return V7(this.Bd().b)},AY(nhx,"ForwardingObject",1972),nrr(1973,1972,nh6),nTm.Bd=function(){return this.Cd()},nTm.Jc=function(n){KA(this,n)},nTm.Lc=function(){return this.Oc()},nTm.Nc=function(){return new D6(this,0)},nTm.Oc=function(){return new CN(null,this.Nc())},nTm.Fc=function(n){return this.Cd(),pk()},nTm.Gc=function(n){return this.Cd(),pj()},nTm.$b=function(){this.Cd(),pE()},nTm.Hc=function(n){return this.Cd().Hc(n)},nTm.Ic=function(n){return this.Cd().Ic(n)},nTm.dc=function(){return this.Cd().b.dc()},nTm.Kc=function(){return this.Cd().Kc()},nTm.Mc=function(n){return this.Cd(),pT()},nTm.gc=function(){return this.Cd().b.gc()},nTm.Pc=function(){return this.Cd().Pc()},nTm.Qc=function(n){return this.Cd().Qc(n)},AY(nhx,"ForwardingCollection",1973),nrr(1980,28,nh8),nTm.Kc=function(){return this.Ed()},nTm.Fc=function(n){throw(new wP).e},nTm.Gc=function(n){throw(new wP).e},nTm.$b=function(){throw(new wP).e},nTm.Hc=function(n){return null!=n&&Qg(this,n,!1)},nTm.Dd=function(){switch(this.gc()){case 0:return $w(),$w(),nTI;case 1:return $w(),new CT(A1(this.Ed().Pb()));default:return new Ar(this,this.Pc())}},nTm.Mc=function(n){throw(new wP).e},AY(nhx,"ImmutableCollection",1980),nrr(712,1980,nh8,wd),nTm.Kc=function(){return _B(this.a.Kc())},nTm.Hc=function(n){return null!=n&&this.a.Hc(n)},nTm.Ic=function(n){return this.a.Ic(n)},nTm.dc=function(){return this.a.dc()},nTm.Ed=function(){return _B(this.a.Kc())},nTm.gc=function(){return this.a.gc()},nTm.Pc=function(){return this.a.Pc()},nTm.Qc=function(n){return this.a.Qc(n)},nTm.Ib=function(){return V7(this.a)},AY(nhx,"ForwardingImmutableCollection",712),nrr(152,1980,nh9),nTm.Kc=function(){return this.Ed()},nTm.Yc=function(){return this.Fd(0)},nTm.Zc=function(n){return this.Fd(n)},nTm.ad=function(n){GG(this,n)},nTm.Nc=function(){return new D6(this,16)},nTm.bd=function(n,t){return this.Gd(n,t)},nTm.Vc=function(n,t){throw(new wP).e},nTm.Wc=function(n,t){throw(new wP).e},nTm.Fb=function(n){return function(n,t){var e,i,r;if(jf(t)===jf(A1(n)))return!0;if(!Ti(t,15)||(i=Im(t,15),(r=n.gc())!=i.gc()))return!1;if(!Ti(i,54))return function(n,t){for(var e,i;n.Ob();)if(!t.Ob()||(e=n.Pb(),i=t.Pb(),!(jf(e)===jf(i)||null!=e&&WY(e,i))))return!1;return!t.Ob()}(n.Kc(),i.Kc());for(e=0;e(a=n.b.length)&&a=0?"+":"")+(e/60|0),t=j0(nTv.Math.abs(e)%60),(ntM(),nMM)[this.q.getDay()]+" "+nMS[this.q.getMonth()]+" "+j0(this.q.getDate())+" "+j0(this.q.getHours())+":"+j0(this.q.getMinutes())+":"+j0(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var nTn=AY(nh_,"Date",199);nrr(1915,199,nf2,nna),nTm.a=!1,nTm.b=0,nTm.c=0,nTm.d=0,nTm.e=0,nTm.f=0,nTm.g=!1,nTm.i=0,nTm.j=0,nTm.k=0,nTm.n=0,nTm.o=0,nTm.p=0,AY("com.google.gwt.i18n.shared.impl","DateRecord",1915),nrr(1966,1,{}),nTm.fe=function(){return null},nTm.ge=function(){return null},nTm.he=function(){return null},nTm.ie=function(){return null},nTm.je=function(){return null},AY(nf3,"JSONValue",1966),nrr(216,1966,{216:1},hA,hP),nTm.Fb=function(n){return!!Ti(n,216)&&xf(this.a,Im(n,216).a)},nTm.ee=function(){return wc},nTm.Hb=function(){return N7(this.a)},nTm.fe=function(){return this},nTm.Ib=function(){var n,t,e;for(t=0,e=new TV("["),n=this.a.length;t0&&(e.a+=","),jS(e,HQ(this,t));return e.a+="]",e.a},AY(nf3,"JSONArray",216),nrr(483,1966,{483:1},hI),nTm.ee=function(){return wa},nTm.ge=function(){return this},nTm.Ib=function(){return TX(),""+this.a},nTm.a=!1,AY(nf3,"JSONBoolean",483),nrr(985,60,nfm,gn),AY(nf3,"JSONException",985),nrr(1023,1966,{},p),nTm.ee=function(){return wf},nTm.Ib=function(){return nhL},AY(nf3,"JSONNull",1023),nrr(258,1966,{258:1},hC),nTm.Fb=function(n){return!!Ti(n,258)&&this.a==Im(n,258).a},nTm.ee=function(){return wu},nTm.Hb=function(){return j3(this.a)},nTm.he=function(){return this},nTm.Ib=function(){return this.a+""},nTm.a=0,AY(nf3,"JSONNumber",258),nrr(183,1966,{183:1},gt,hO),nTm.Fb=function(n){return!!Ti(n,183)&&xf(this.a,Im(n,183).a)},nTm.ee=function(){return wo},nTm.Hb=function(){return N7(this.a)},nTm.ie=function(){return this},nTm.Ib=function(){var n,t,e,i,r,c;for(e=0,c=new TV("{"),n=!0,i=(r=GI(this,_f(nTh,nhJ,2,0,6,1))).length;e=0?":"+this.c:"")+")"},nTm.c=0;var nTs=AY(nhS,"StackTraceElement",310);nTT={3:1,475:1,35:1,2:1};var nTh=AY(nhS,nfk,2);nrr(107,418,{475:1},gz,gU,TW),AY(nhS,"StringBuffer",107),nrr(100,418,{475:1},gX,gW,TV),AY(nhS,"StringBuilder",100),nrr(687,73,nle,gV),AY(nhS,"StringIndexOutOfBoundsException",687),nrr(2043,1,{}),nrr(844,1,{},L),nTm.Kb=function(n){return Im(n,78).e},AY(nhS,"Throwable/lambda$0$Type",844),nrr(41,60,{3:1,102:1,60:1,78:1,41:1},wP,gM),AY(nhS,"UnsupportedOperationException",41),nrr(240,236,{3:1,35:1,236:1,240:1},H1,pP),nTm.wd=function(n){return nup(this,Im(n,240))},nTm.ke=function(){return nt1(nox(this))},nTm.Fb=function(n){var t;return this===n||!!Ti(n,240)&&(t=Im(n,240),this.e==t.e&&0==nup(this,t))},nTm.Hb=function(){var n;return 0!=this.b||(this.a<54?(n=zD(this.f),this.b=CZ(xi(n,-1)),this.b=33*this.b+CZ(xi(OK(n,32),-1)),this.b=17*this.b+LU(this.e)):this.b=17*Wk(this.c)+LU(this.e)),this.b},nTm.Ib=function(){return nox(this)},nTm.a=0,nTm.b=0,nTm.d=0,nTm.e=0,nTm.f=0;var nTf=AY("java.math","BigDecimal",240);nrr(91,236,{3:1,35:1,236:1,91:1},Yn,F_,As,nnH,JT,Ep),nTm.wd=function(n){return Jf(this,Im(n,91))},nTm.ke=function(){return nt1(ns9(this,0))},nTm.Fb=function(n){return Qf(this,n)},nTm.Hb=function(){return Wk(this)},nTm.Ib=function(){return ns9(this,0)},nTm.b=-2,nTm.c=0,nTm.d=0,nTm.e=0;var nTl=AY("java.math","BigInteger",91);nrr(488,1967,nhH),nTm.$b=function(){AT(this)},nTm._b=function(n){return Au(this,n)},nTm.uc=function(n){return XF(this,n,this.g)||XF(this,n,this.f)},nTm.vc=function(){return new hN(this)},nTm.xc=function(n){return $a(this,n)},nTm.zc=function(n,t){return $J(this,n,t)},nTm.Bc=function(n){return Fv(this,n)},nTm.gc=function(){return vO(this)},AY(nh_,"AbstractHashMap",488),nrr(261,1965,nhq,hN),nTm.$b=function(){this.a.$b()},nTm.Hc=function(n){return x5(this,n)},nTm.Kc=function(){return new XE(this.a)},nTm.Mc=function(n){var t;return!!x5(this,n)&&(t=Im(n,42).cd(),this.a.Bc(t),!0)},nTm.gc=function(){return this.a.gc()},AY(nh_,"AbstractHashMap/EntrySet",261),nrr(262,1,nhF,XE),nTm.Nb=function(n){Ao(this,n)},nTm.Pb=function(){return BQ(this)},nTm.Ob=function(){return this.b},nTm.Qb=function(){_T(this)},nTm.b=!1,AY(nh_,"AbstractHashMap/EntrySetIterator",262),nrr(417,1,nhF,h$),nTm.Nb=function(n){Ao(this,n)},nTm.Ob=function(){return mE(this)},nTm.Pb=function(){return NB(this)},nTm.Qb=function(){$I(this)},nTm.b=0,nTm.c=-1,AY(nh_,"AbstractList/IteratorImpl",417),nrr(96,417,nhX,Rn),nTm.Qb=function(){$I(this)},nTm.Rb=function(n){SB(this,n)},nTm.Sb=function(){return this.b>0},nTm.Tb=function(){return this.b},nTm.Ub=function(){return MK(this.b>0),this.a.Xb(this.c=--this.b)},nTm.Vb=function(){return this.b-1},nTm.Wb=function(n){MR(-1!=this.c),this.a._c(this.c,n)},AY(nh_,"AbstractList/ListIteratorImpl",96),nrr(219,52,nff,D2),nTm.Vc=function(n,t){DC(n,this.b),this.c.Vc(this.a+n,t),++this.b},nTm.Xb=function(n){return D4(n,this.b),this.c.Xb(this.a+n)},nTm.$c=function(n){var t;return D4(n,this.b),t=this.c.$c(this.a+n),--this.b,t},nTm._c=function(n,t){return D4(n,this.b),this.c._c(this.a+n,t)},nTm.gc=function(){return this.b},nTm.a=0,nTm.b=0,AY(nh_,"AbstractList/SubList",219),nrr(384,1965,nhq,hL),nTm.$b=function(){this.a.$b()},nTm.Hc=function(n){return this.a._b(n)},nTm.Kc=function(){return new hD(this.a.vc().Kc())},nTm.Mc=function(n){return!!this.a._b(n)&&(this.a.Bc(n),!0)},nTm.gc=function(){return this.a.gc()},AY(nh_,"AbstractMap/1",384),nrr(691,1,nhF,hD),nTm.Nb=function(n){Ao(this,n)},nTm.Ob=function(){return this.a.Ob()},nTm.Pb=function(){return Im(this.a.Pb(),42).cd()},nTm.Qb=function(){this.a.Qb()},AY(nh_,"AbstractMap/1/1",691),nrr(226,28,nhB,hx),nTm.$b=function(){this.a.$b()},nTm.Hc=function(n){return this.a.uc(n)},nTm.Kc=function(){return new hG(this.a.vc().Kc())},nTm.gc=function(){return this.a.gc()},AY(nh_,"AbstractMap/2",226),nrr(294,1,nhF,hG),nTm.Nb=function(n){Ao(this,n)},nTm.Ob=function(){return this.a.Ob()},nTm.Pb=function(){return Im(this.a.Pb(),42).dd()},nTm.Qb=function(){this.a.Qb()},AY(nh_,"AbstractMap/2/1",294),nrr(484,1,{484:1,42:1}),nTm.Fb=function(n){var t;return!!Ti(n,42)&&(t=Im(n,42),$5(this.d,t.cd())&&$5(this.e,t.dd()))},nTm.cd=function(){return this.d},nTm.dd=function(){return this.e},nTm.Hb=function(){return EE(this.d)^EE(this.e)},nTm.ed=function(n){return SH(this,n)},nTm.Ib=function(){return this.d+"="+this.e},AY(nh_,"AbstractMap/AbstractEntry",484),nrr(383,484,{484:1,383:1,42:1},mN),AY(nh_,"AbstractMap/SimpleEntry",383),nrr(1984,1,nlp),nTm.Fb=function(n){var t;return!!Ti(n,42)&&(t=Im(n,42),$5(this.cd(),t.cd())&&$5(this.dd(),t.dd()))},nTm.Hb=function(){return EE(this.cd())^EE(this.dd())},nTm.Ib=function(){return this.cd()+"="+this.dd()},AY(nh_,nhV,1984),nrr(1992,1967,nhG),nTm.tc=function(n){return K0(this,n)},nTm._b=function(n){return!!XS(this,n)},nTm.vc=function(){return new hX(this)},nTm.xc=function(n){return jh(XS(this,n))},nTm.ec=function(){return new hz(this)},AY(nh_,"AbstractNavigableMap",1992),nrr(739,1965,nhq,hX),nTm.Hc=function(n){return Ti(n,42)&&K0(this.b,Im(n,42))},nTm.Kc=function(){return new S5(this.b)},nTm.Mc=function(n){var t;return!!Ti(n,42)&&(t=Im(n,42),_m(this.b,t))},nTm.gc=function(){return this.b.c},AY(nh_,"AbstractNavigableMap/EntrySet",739),nrr(493,1965,nhU,hz),nTm.Nc=function(){return new mM(this)},nTm.$b=function(){gi(this.a)},nTm.Hc=function(n){return!!XS(this.a,n)},nTm.Kc=function(){return new hU(new S5(new Mc(this.a).b))},nTm.Mc=function(n){return!!XS(this.a,n)&&(LW(this.a,n),!0)},nTm.gc=function(){return this.a.c},AY(nh_,"AbstractNavigableMap/NavigableKeySet",493),nrr(494,1,nhF,hU),nTm.Nb=function(n){Ao(this,n)},nTm.Ob=function(){return mE(this.a.a)},nTm.Pb=function(){return MA(this.a).cd()},nTm.Qb=function(){PB(this.a)},AY(nh_,"AbstractNavigableMap/NavigableKeySet/1",494),nrr(2004,28,nhB),nTm.Fc=function(n){return _w(ntp(this,n)),!0},nTm.Gc=function(n){return $D(n),IH(n!=this,"Can't add a queue to itself"),Gz(this,n)},nTm.$b=function(){for(;null!=HY(this););},AY(nh_,"AbstractQueue",2004),nrr(302,28,{4:1,20:1,28:1,14:1},b7,D8),nTm.Fc=function(n){return RI(this,n),!0},nTm.$b=function(){RZ(this)},nTm.Hc=function(n){return Us(new Nn(this),n)},nTm.dc=function(){return gk(this)},nTm.Kc=function(){return new Nn(this)},nTm.Mc=function(n){var t;return!!Us(t=new Nn(this),n)&&(qD(t),!0)},nTm.gc=function(){return this.c-this.b&this.a.length-1},nTm.Nc=function(){return new D6(this,272)},nTm.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&$t(n,t,null),n},nTm.b=0,nTm.c=0,AY(nh_,"ArrayDeque",302),nrr(446,1,nhF,Nn),nTm.Nb=function(n){Ao(this,n)},nTm.Ob=function(){return this.a!=this.b},nTm.Pb=function(){return Wj(this)},nTm.Qb=function(){qD(this)},nTm.a=0,nTm.b=0,nTm.c=-1,AY(nh_,"ArrayDeque/IteratorImpl",446),nrr(12,52,nlv,wn,Fq,PH),nTm.Vc=function(n,t){C4(this,n,t)},nTm.Fc=function(n){return IE(this,n)},nTm.Wc=function(n,t){return X6(this,n,t)},nTm.Gc=function(n){return Uf(this,n)},nTm.$b=function(){this.c=_f(nEX,nhA,1,0,5,1)},nTm.Hc=function(n){return -1!=Hb(this,n,0)},nTm.Jc=function(n){BR(this,n)},nTm.Xb=function(n){return CA(this,n)},nTm.Xc=function(n){return Hb(this,n,0)},nTm.dc=function(){return 0==this.c.length},nTm.Kc=function(){return new h1(this)},nTm.$c=function(n){return Ff(this,n)},nTm.Mc=function(n){return Hh(this,n)},nTm.Ud=function(n,t){D3(this,n,t)},nTm._c=function(n,t){return KL(this,n,t)},nTm.gc=function(){return this.c.length},nTm.ad=function(n){E_(this,n)},nTm.Pc=function(){return MS(this)},nTm.Qc=function(n){return JD(this,n)};var nTb=AY(nh_,"ArrayList",12);nrr(7,1,nhF,h1),nTm.Nb=function(n){Ao(this,n)},nTm.Ob=function(){return EH(this)},nTm.Pb=function(){return xe(this)},nTm.Qb=function(){AE(this)},nTm.a=0,nTm.b=-1,AY(nh_,"ArrayList/1",7),nrr(2013,nTv.Function,{},E),nTm.te=function(n,t){return Vv(n,t)},nrr(154,52,nlm,gE),nTm.Hc=function(n){return -1!=qU(this,n)},nTm.Jc=function(n){var t,e,i,r;for($D(n),e=this.a,i=0,r=e.length;i=this.a.ue(n,t)?t:n},AY(nlD,"BinaryOperator/lambda$0$Type",966),nrr(967,1,{},ft),nTm.Ce=function(n,t){return 0>=this.a.ue(n,t)?n:t},AY(nlD,"BinaryOperator/lambda$1$Type",967),nrr(846,1,{},q),nTm.Kb=function(n){return n},AY(nlD,"Function/lambda$0$Type",846),nrr(431,1,nfw,fe),nTm.Mb=function(n){return!this.a.Mb(n)},AY(nlD,"Predicate/lambda$2$Type",431),nrr(572,1,{572:1});var nMF=AY(nlx,"Handler",572);nrr(2007,1,nhP),nTm.ne=function(){return"DUMMY"},nTm.Ib=function(){return this.ne()},AY(nlx,"Level",2007),nrr(1621,2007,nhP,z),nTm.ne=function(){return"INFO"},AY(nlx,"Level/LevelInfo",1621),nrr(1640,1,{},wH),AY(nlx,"LogManager",1640),nrr(1780,1,nhP,Pq),nTm.b=null,AY(nlx,"LogRecord",1780),nrr(512,1,{512:1},KG),nTm.e=!1;var nM_=!1,nMH=!1,nMB=!1,nMq=!1,nMG=!1;AY(nlx,"Logger",512),nrr(819,572,{572:1},U),AY(nlx,"SimpleConsoleLogHandler",819),nrr(132,22,{3:1,35:1,22:1,132:1},mI);var nMz=qE(nlF,"Collector/Characteristics",132,nE2,function(){return XW(),Um(Dg(nMz,1),nfh,132,0,[nM0,nM2,nM3])},function(n){return XW(),H5((FX(),nM4),n)});nrr(744,1,{},Ag),AY(nlF,"CollectorImpl",744),nrr(1060,1,{},X),nTm.Ce=function(n,t){var e,i,r;return e=Im(n,206),(i=Im(t,206)).a&&(r=i.a.a.length,e.a?jP(e.a,e.b):e.a=new TV(e.d),xx(e.a,i.a,i.d.length,r)),e},AY(nlF,"Collectors/10methodref$merge$Type",1060),nrr(1061,1,{},W),nTm.Kb=function(n){return x_(Im(n,206))},AY(nlF,"Collectors/11methodref$toString$Type",1061),nrr(1062,1,{},fi),nTm.Kb=function(n){return TX(),!!jK(n)},AY(nlF,"Collectors/12methodref$test$Type",1062),nrr(251,1,{},_),nTm.Od=function(n,t){Im(n,14).Fc(t)},AY(nlF,"Collectors/20methodref$add$Type",251),nrr(253,1,{},H),nTm.Ee=function(){return new wn},AY(nlF,"Collectors/21methodref$ctor$Type",253),nrr(346,1,{},V),nTm.Ee=function(){return new w_},AY(nlF,"Collectors/23methodref$ctor$Type",346),nrr(347,1,{},Q),nTm.Od=function(n,t){Av(Im(n,53),t)},AY(nlF,"Collectors/24methodref$add$Type",347),nrr(1055,1,{},J),nTm.Ce=function(n,t){var e,i;return e=Im(n,15),i=Im(t,14),e.Gc(i),e},AY(nlF,"Collectors/4methodref$addAll$Type",1055),nrr(1059,1,{},Y),nTm.Od=function(n,t){Fd(Im(n,206),Im(t,475))},AY(nlF,"Collectors/9methodref$add$Type",1059),nrr(1058,1,{},IS),nTm.Ee=function(){return new zV(this.a,this.b,this.c)},AY(nlF,"Collectors/lambda$15$Type",1058),nrr(1063,1,{},Z),nTm.Ee=function(){var n;return JR(n=new R7,(TX(),!1),new wn),JR(n,!0,new wn),n},AY(nlF,"Collectors/lambda$22$Type",1063),nrr(1064,1,{},fr),nTm.Ee=function(){return Um(Dg(nEX,1),nhA,1,5,[this.a])},AY(nlF,"Collectors/lambda$25$Type",1064),nrr(1065,1,{},fc),nTm.Od=function(n,t){var e;this.a,$t(e=BJ(n),0,CL(e[0],Jy(1)))},AY(nlF,"Collectors/lambda$26$Type",1065),nrr(1066,1,{},fa),nTm.Ce=function(n,t){var e,i;return this.a,e=BJ(n),i=BJ(t),$t(e,0,CL(e[0],i[0])),e},AY(nlF,"Collectors/lambda$27$Type",1066),nrr(1067,1,{},nn),nTm.Kb=function(n){return BJ(n)[0]},AY(nlF,"Collectors/lambda$28$Type",1067),nrr(713,1,{},nt),nTm.Ce=function(n,t){return CL(n,t)},AY(nlF,"Collectors/lambda$4$Type",713),nrr(252,1,{},ne),nTm.Ce=function(n,t){var e,i;return e=Im(n,14),i=Im(t,14),e.Gc(i),e},AY(nlF,"Collectors/lambda$42$Type",252),nrr(348,1,{},ni),nTm.Ce=function(n,t){var e;return Gz(e=Im(n,53),Im(t,53)),e},AY(nlF,"Collectors/lambda$50$Type",348),nrr(349,1,{},nr),nTm.Kb=function(n){return Im(n,53)},AY(nlF,"Collectors/lambda$51$Type",349),nrr(1054,1,{},fu),nTm.Od=function(n,t){var e,i,r;this.a,e=Im(n,83),TX(),i=!!jK(t),(r=Im(e.xc(i),15))||(r=new wn,e.zc(i,r)),r.Fc(t)},AY(nlF,"Collectors/lambda$7$Type",1054),nrr(1056,1,{},nc),nTm.Ce=function(n,t){return function(n,t,e){var i,r;for(r=t.vc().Kc();r.Ob();)i=Im(r.Pb(),42),n.yc(i.cd(),i.dd(),e);return n}(Im(n,83),Im(t,83),new J)},AY(nlF,"Collectors/lambda$8$Type",1056),nrr(1057,1,{},fo),nTm.Kb=function(n){return function(n,t){var e,i,r;for(r=new wt,i=t.vc().Kc();i.Ob();)$J(r,(e=Im(i.Pb(),42)).cd(),function(n,t){var e,i,r;for(e=n.c.Ee(),r=t.Kc();r.Ob();)i=r.Pb(),n.a.Od(e,i);return n.b.Kb(e)}(n,Im(e.dd(),15)));return r}(this.a,Im(n,83))},AY(nlF,"Collectors/lambda$9$Type",1057),nrr(539,1,{}),nTm.He=function(){$x(this)},nTm.d=!1,AY(nlF,"TerminatableStream",539),nrr(812,539,nl_,Sd),nTm.He=function(){$x(this)},AY(nlF,"DoubleStreamImpl",812),nrr(1784,721,nhZ,II),nTm.ye=function(n){var t,e;return t=Im(n,182),this.a||(e=_f(nYR,nlf,25,0,15,1),pC(this.b.a,new fs(e)),e.sort(BY(E.prototype.te,E,[])),this.a=new PI(e,this.d)),FD(this.a,t)},nTm.a=null,AY(nlF,"DoubleStreamImpl/2",1784),nrr(1785,1,nlj,fs),nTm.we=function(n){var t;(t=this.a)[t.length]=n},AY(nlF,"DoubleStreamImpl/2/lambda$0$Type",1785),nrr(1782,1,nlj,fh),nTm.we=function(n){var t;(t=this.a)[t.length]=n},AY(nlF,"DoubleStreamImpl/lambda$0$Type",1782),nrr(1783,1,nlj,ff),nTm.we=function(n){Qz(this.a,n)},AY(nlF,"DoubleStreamImpl/lambda$2$Type",1783),nrr(1358,720,nhZ,Kq),nTm.ye=function(n){var t;return t=Im(n,196),this.a<=this.b&&(t.ud(this.a++),!0)},nTm.a=0,nTm.b=0,nTm.c=0,AY(nlF,"IntStream/5",1358),nrr(787,539,nl_,Sg),nTm.He=function(){$x(this)},nTm.Ie=function(){return $R(this),this.a},AY(nlF,"IntStreamImpl",787),nrr(788,539,nl_,vx),nTm.He=function(){$x(this)},nTm.Ie=function(){return $R(this),Tb(),nMX},AY(nlF,"IntStreamImpl/Empty",788),nrr(1463,1,nh2,fl),nTm.ud=function(n){zC(this.a,n)},AY(nlF,"IntStreamImpl/lambda$4$Type",1463);var nMU=Cw(nlF,"Stream");nrr(30,539,{525:1,670:1,833:1},CN),nTm.He=function(){$x(this)},AY(nlF,"StreamImpl",30),nrr(845,1,{},na),nTm.ld=function(n){return IK(n)},AY(nlF,"StreamImpl/0methodref$lambda$2$Type",845),nrr(1084,540,nhZ,PP),nTm.sd=function(n){for(;function(n){for(;!n.a;)if(!Pk(n.c,new fb(n)))return!1;return!0}(this);){if(this.a.sd(n))return!0;$x(this.b),this.b=null,this.a=null}return!1},AY(nlF,"StreamImpl/1",1084),nrr(1085,1,nh1,fb),nTm.td=function(n){var t,e;t=this.a,(e=Im(n,833))&&(t.b=e,t.a=($R(e),e.a))},AY(nlF,"StreamImpl/1/lambda$0$Type",1085),nrr(1086,1,nfw,fw),nTm.Mb=function(n){return Av(this.a,n)},AY(nlF,"StreamImpl/1methodref$add$Type",1086),nrr(1087,540,nhZ,NH),nTm.sd=function(n){var t;return this.a||(t=new wn,this.b.a.Nb(new fd(t)),NV(),E_(t,this.c),this.a=new D6(t,16)),Bg(this.a,n)},nTm.a=null,AY(nlF,"StreamImpl/5",1087),nrr(1088,1,nh1,fd),nTm.td=function(n){IE(this.a,n)},AY(nlF,"StreamImpl/5/2methodref$add$Type",1088),nrr(722,540,nhZ,_Y),nTm.sd=function(n){for(this.b=!1;!this.b&&this.c.sd(new mR(this,n)););return this.b},nTm.b=!1,AY(nlF,"StreamImpl/FilterSpliterator",722),nrr(1079,1,nh1,mR),nTm.td=function(n){var t,e;t=this.a,e=this.b,t.a.Mb(n)&&(t.b=!0,e.td(n))},AY(nlF,"StreamImpl/FilterSpliterator/lambda$0$Type",1079),nrr(1075,721,nhZ,FE),nTm.ye=function(n){var t;return t=Im(n,182),this.b.sd(new mK(this,t))},AY(nlF,"StreamImpl/MapToDoubleSpliterator",1075),nrr(1078,1,nh1,mK),nTm.td=function(n){!function(n,t,e){t.we(n.a.Fe(e))}(this.a,this.b,n)},AY(nlF,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1078),nrr(1074,720,nhZ,FT),nTm.ye=function(n){var t;return t=Im(n,196),this.b.sd(new mF(this,t))},AY(nlF,"StreamImpl/MapToIntSpliterator",1074),nrr(1077,1,nh1,mF),nTm.td=function(n){!function(n,t,e){t.ud(n.a.Ge(e))}(this.a,this.b,n)},AY(nlF,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1077),nrr(719,540,nhZ,FM),nTm.sd=function(n){return Pk(this,n)},AY(nlF,"StreamImpl/MapToObjSpliterator",719),nrr(1076,1,nh1,m_),nTm.td=function(n){!function(n,t,e){t.td(n.a.Kb(e))}(this.a,this.b,n)},AY(nlF,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1076),nrr(618,1,nh1,nu),nTm.td=function(n){this.a=n},AY(nlF,"StreamImpl/ValueConsumer",618),nrr(1080,1,nh1,no),nTm.td=function(n){vQ()},AY(nlF,"StreamImpl/lambda$0$Type",1080),nrr(1081,1,nh1,ns),nTm.td=function(n){vQ()},AY(nlF,"StreamImpl/lambda$1$Type",1081),nrr(1082,1,{},fg),nTm.Ce=function(n,t){var e;return e=this.a,vQ(),e.a.Od(n,t),n},AY(nlF,"StreamImpl/lambda$4$Type",1082),nrr(1083,1,nh1,mD),nTm.td=function(n){var t,e,i;t=this.b,e=this.a,vQ(),i=e.Ce(t.a,n),t.a=i},AY(nlF,"StreamImpl/lambda$5$Type",1083),nrr(1089,1,nh1,fp),nTm.td=function(n){!function(n,t){var e;try{t.Vd()}catch(t){if(Ti(t=Uu(t),78))e=t,n.c[n.c.length]=e;else throw t.e}}(this.a,Im(n,365))},AY(nlF,"TerminatableStream/lambda$0$Type",1089),nrr(2041,1,{}),nrr(1914,1,{},nh),AY("javaemul.internal","ConsoleLogger",1914),nrr(2038,1,{});var nMX,nMW,nMV,nMQ,nMJ,nMY,nMZ,nM1,nM0,nM2,nM3,nM4,nM5,nM6,nM8,nM9=0,nM7=0;nrr(1768,1,nh1,nf),nTm.td=function(n){Im(n,308)},AY(nlU,"BowyerWatsonTriangulation/lambda$0$Type",1768),nrr(1769,1,nh1,fv),nTm.td=function(n){Gz(this.a,Im(n,308).e)},AY(nlU,"BowyerWatsonTriangulation/lambda$1$Type",1769),nrr(1770,1,nh1,nl),nTm.td=function(n){Im(n,168)},AY(nlU,"BowyerWatsonTriangulation/lambda$2$Type",1770),nrr(1765,1,nlX,fm),nTm.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,168),r=Im(t,168),O_(Ss(jh(Lj(e.f,i))),Ss(jh(Lj(e.f,r))))},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nlU,"NaiveMinST/lambda$0$Type",1765),nrr(499,1,{},fy),AY(nlU,"NodeMicroLayout",499),nrr(168,1,{168:1},mH),nTm.Fb=function(n){var t;return!!Ti(n,168)&&(t=Im(n,168),$5(this.a,t.a)&&$5(this.b,t.b)||$5(this.a,t.b)&&$5(this.b,t.a))},nTm.Hb=function(){return EE(this.a)+EE(this.b)};var nSn=AY(nlU,"TEdge",168);nrr(308,1,{308:1},nuV),nTm.Fb=function(n){var t;return!!Ti(n,308)&&HP(this,(t=Im(n,308)).a)&&HP(this,t.b)&&HP(this,t.c)},nTm.Hb=function(){return EE(this.a)+EE(this.b)+EE(this.c)},AY(nlU,"TTriangle",308),nrr(221,1,{221:1},EX),AY(nlU,"Tree",221),nrr(1254,1,{},DS),AY(nlW,"Scanline",1254);var nSt=Cw(nlW,nlV);nrr(1692,1,{},BS),AY(nlQ,"CGraph",1692),nrr(307,1,{307:1},Du),nTm.b=0,nTm.c=0,nTm.d=0,nTm.g=0,nTm.i=0,nTm.k=nla,AY(nlQ,"CGroup",307),nrr(815,1,{},wQ),AY(nlQ,"CGroup/CGroupBuilder",815),nrr(57,1,{57:1},SV),nTm.Ib=function(){return this.j?Sh(this.j.Kb(this)):(Su(nSe),nSe.o+"@"+(T9(this)>>>0).toString(16))},nTm.f=0,nTm.i=nla;var nSe=AY(nlQ,"CNode",57);nrr(814,1,{},wJ),AY(nlQ,"CNode/CNodeBuilder",814),nrr(1525,1,{},nb),nTm.Oe=function(n,t){return 0},nTm.Pe=function(n,t){return 0},AY(nlQ,nlY,1525),nrr(1790,1,{},nw),nTm.Le=function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;for(s=nlc,i=new h1(n.a.b);i.ae.d.c||e.d.c==r.d.c&&e.d.bo?1:j1(isNaN(u),isNaN(o)))>0)&&Q7(r.d.d,e.d.d+e.d.a+a)&&e.c.Fc(r))},AY(nlQ,"QuadraticConstraintCalculation",1791),nrr(522,1,{522:1},we),nTm.a=!1,nTm.b=!1,nTm.c=!1,nTm.d=!1,AY(nlQ,nl5,522),nrr(803,1,{},Oa),nTm.Me=function(n){this.c=n,neW(this,new nv)},AY(nlQ,nl6,803),nrr(1718,1,{679:1},La),nTm.Ke=function(n){var t,e,i;(t=Im(n,464)).a?function(n,t){var e,i,r,c,a;if(!AR(n.b,t.b))throw new gg("Invalid hitboxes for scanline constraint calculation.").e;(Uw(t.b,Im((i=n.b,r=t.b,pl(Q3(i.a,r,!0))),57))||Uw(t.b,Im((c=n.b,a=t.b,pl(Q2(c.a,a,!0))),57)))&&(vI(),t.b),n.a[t.b.f]=Im(Py(n.b,t.b),57),(e=Im(Pm(n.b,t.b),57))&&(n.a[e.f]=t.b)}(this,t):((e=Im(Py(this.b,t.b),57))&&e==this.a[t.b.f]&&e.a&&e.a!=t.b.a&&e.c.Fc(t.b),(i=Im(Pm(this.b,t.b),57))&&this.a[i.f]==t.b&&i.a&&i.a!=t.b.a&&t.b.c.Fc(i),T6(this.b,t.b))},AY(nlQ,nl8,1718),nrr(1719,1,nlX,ng),nTm.ue=function(n,t){var e,i;return e=Im(n,57),i=Im(t,57),Vv(e.d.c+e.d.b/2,i.d.c+i.d.b/2)},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nlQ,nl9,1719),nrr(464,1,{464:1},mx),nTm.a=!1,AY(nlQ,nl7,464),nrr(1720,1,nlX,np),nTm.ue=function(n,t){return function(n,t){var e,i,r;if(i=n.b.d.d,n.a||(i+=n.b.d.a),r=t.b.d.d,t.a||(r+=t.b.d.a),0==(e=Vv(i,r))){if(!n.a&&t.a)return -1;if(!t.a&&n.a)return 1}return e}(Im(n,464),Im(t,464))},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nlQ,nbn,1720),nrr(1721,1,nbt,nv),nTm.Lb=function(n){return Im(n,57),!0},nTm.Fb=function(n){return this===n},nTm.Mb=function(n){return Im(n,57),!0},AY(nlQ,"ScanlineConstraintCalculator/lambda$1$Type",1721),nrr(428,22,{3:1,35:1,22:1,428:1},mU);var nSr=qE(nbe,"HighLevelSortingCriterion",428,nE2,function(){return JU(),Um(Dg(nSr,1),nfh,428,0,[nSS,nSM])},function(n){return JU(),H5((Ku(),nSP),n)});nrr(427,22,{3:1,35:1,22:1,427:1},mX);var nSc=qE(nbe,"LowLevelSortingCriterion",427,nE2,function(){return H7(),Um(Dg(nSc,1),nfh,427,0,[nSI,nSC])},function(n){return H7(),H5((Ko(),nSO),n)}),nSa=Cw(nbi,"ILayoutMetaDataProvider");nrr(853,1,nbo,sc),nTm.Qe=function(n){V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nbr),nbs),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),nSR),(neT(),nzO)),nSu),Vx((JB(),nzM))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nbc),nbs),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),nSD),nzO),nSc),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nba),nbs),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),nSN),nzO),nSr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nbu),nbs),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(TX(),!0)),nzI),nTt),Vx(nzM))))},AY(nbe,"PolyominoOptions",853),nrr(250,22,{3:1,35:1,22:1,250:1},mW);var nSu=qE(nbe,"TraversalStrategy",250,nE2,function(){return nau(),Um(Dg(nSu,1),nfh,250,0,[nSU,nSH,nSB,nS_,nSG,nSz,nSq,nSF,nSK])},function(n){return nau(),H5((zY(),nSX),n)});nrr(213,1,{213:1},nm),nTm.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},nTm.a=1,nTm.b=0,nTm.c=0,nTm.f=!1,nTm.g=0;var nSo=AY(nbh,"NEdge",213);nrr(176,1,{},wz),AY(nbh,"NEdge/NEdgeBuilder",176),nrr(653,1,{},wq),AY(nbh,"NGraph",653),nrr(121,1,{121:1},Fk),nTm.c=-1,nTm.d=0,nTm.e=0,nTm.i=-1,nTm.j=!1;var nSs=AY(nbh,"NNode",121);nrr(795,1,nly,wG),nTm.Jc=function(n){KA(this,n)},nTm.Lc=function(){return new CN(null,new D6(this,16))},nTm.ad=function(n){GG(this,n)},nTm.Nc=function(){return new D6(this,16)},nTm.Oc=function(){return new CN(null,new D6(this,16))},nTm.Vc=function(n,t){++this.b,C4(this.a,n,t)},nTm.Fc=function(n){return Mu(this,n)},nTm.Wc=function(n,t){return++this.b,X6(this.a,n,t)},nTm.Gc=function(n){return++this.b,Uf(this.a,n)},nTm.$b=function(){++this.b,this.a.c=_f(nEX,nhA,1,0,5,1)},nTm.Hc=function(n){return -1!=Hb(this.a,n,0)},nTm.Ic=function(n){return Ur(this.a,n)},nTm.Xb=function(n){return CA(this.a,n)},nTm.Xc=function(n){return Hb(this.a,n,0)},nTm.dc=function(){return 0==this.a.c.length},nTm.Kc=function(){return _B(new h1(this.a))},nTm.Yc=function(){throw(new wP).e},nTm.Zc=function(n){throw(new wP).e},nTm.$c=function(n){return++this.b,Ff(this.a,n)},nTm.Mc=function(n){return Mo(this,n)},nTm._c=function(n,t){return++this.b,KL(this.a,n,t)},nTm.gc=function(){return this.a.c.length},nTm.bd=function(n,t){return new D2(this.a,n,t)},nTm.Pc=function(){return MS(this.a)},nTm.Qc=function(n){return JD(this.a,n)},nTm.b=0,AY(nbh,"NNode/ChangeAwareArrayList",795),nrr(269,1,{},wU),AY(nbh,"NNode/NNodeBuilder",269),nrr(1630,1,{},ny),nTm.a=!1,nTm.f=nhM,nTm.j=0,AY(nbh,"NetworkSimplex",1630),nrr(1294,1,nh1,fj),nTm.td=function(n){nsM(this.a,Im(n,680),!0,!1)},AY(nbl,"NodeLabelAndSizeCalculator/lambda$0$Type",1294),nrr(558,1,{},fE),nTm.b=!0,nTm.c=!0,nTm.d=!0,nTm.e=!0,AY(nbl,"NodeMarginCalculator",558),nrr(212,1,{212:1}),nTm.j=!1,nTm.k=!1;var nSh=AY(nbb,"Cell",212);nrr(124,212,{124:1,212:1},S4),nTm.Re=function(){return Cn(this)},nTm.Se=function(){var n;return n=this.n,this.a.a+n.b+n.c},AY(nbb,"AtomicCell",124),nrr(232,22,{3:1,35:1,22:1,232:1},mV);var nSf=qE(nbb,"ContainerArea",232,nE2,function(){return BH(),Um(Dg(nSf,1),nfh,232,0,[nSW,nSV,nSQ])},function(n){return BH(),H5((FG(),nSJ),n)});nrr(326,212,nbd),AY(nbb,"ContainerCell",326),nrr(1473,326,nbd,QO),nTm.Re=function(){var n;return n=0,this.e?this.b?n=this.b.b:this.a[1][1]&&(n=this.a[1][1].Re()):n=Qr(this,Zu(this,!0)),n>0?n+this.n.d+this.n.a:0},nTm.Se=function(){var n,t,e,i,r;if(r=0,this.e)this.b?r=this.b.a:this.a[1][1]&&(r=this.a[1][1].Se());else if(this.g)r=Qr(this,Z7(this,null,!0));else for(BH(),t=Um(Dg(nSf,1),nfh,232,0,[nSW,nSV,nSQ]),e=0,i=t.length;e0?r+this.n.b+this.n.c:0},nTm.Te=function(){var n,t,e,i,r;if(this.g)for(n=Z7(this,null,!1),BH(),e=Um(Dg(nSf,1),nfh,232,0,[nSW,nSV,nSQ]),i=0,r=e.length;i0&&(i[0]+=this.d,e-=i[0]),i[2]>0&&(i[2]+=this.d,e-=i[2]),this.c.a=nTv.Math.max(0,e),this.c.d=t.d+n.d+(this.c.a-e)/2,i[1]=nTv.Math.max(i[1],e),K9(this,nSV,t.d+n.d+i[0]-(i[1]-e)/2,i)},nTm.b=null,nTm.d=0,nTm.e=!1,nTm.f=!1,nTm.g=!1;var nSl=0,nSb=0;AY(nbb,"GridContainerCell",1473),nrr(461,22,{3:1,35:1,22:1,461:1},mQ);var nSw=qE(nbb,"HorizontalLabelAlignment",461,nE2,function(){return _1(),Um(Dg(nSw,1),nfh,461,0,[nSZ,nSY,nS1])},function(n){return _1(),H5((Fz(),nS0),n)});nrr(306,212,{212:1,306:1},LH,BI,LI),nTm.Re=function(){return Ct(this)},nTm.Se=function(){return Ce(this)},nTm.a=0,nTm.c=!1;var nSd=AY(nbb,"LabelCell",306);nrr(244,326,{212:1,326:1,244:1},JM),nTm.Re=function(){return niw(this)},nTm.Se=function(){return nid(this)},nTm.Te=function(){nu_(this)},nTm.Ue=function(){nuG(this)},nTm.b=0,nTm.c=0,nTm.d=!1,AY(nbb,"StripContainerCell",244),nrr(1626,1,nfw,nk),nTm.Mb=function(n){var t;return!!(t=Im(n,212))&&t.k},AY(nbb,"StripContainerCell/lambda$0$Type",1626),nrr(1627,1,{},nj),nTm.Fe=function(n){return Im(n,212).Se()},AY(nbb,"StripContainerCell/lambda$1$Type",1627),nrr(1628,1,nfw,nE),nTm.Mb=function(n){var t;return!!(t=Im(n,212))&&t.j},AY(nbb,"StripContainerCell/lambda$2$Type",1628),nrr(1629,1,{},nT),nTm.Fe=function(n){return Im(n,212).Re()},AY(nbb,"StripContainerCell/lambda$3$Type",1629),nrr(462,22,{3:1,35:1,22:1,462:1},mJ);var nSg=qE(nbb,"VerticalLabelAlignment",462,nE2,function(){return H$(),Um(Dg(nSg,1),nfh,462,0,[nS4,nS3,nS2])},function(n){return H$(),H5((FU(),nS5),n)});nrr(789,1,{},nsI),nTm.c=0,nTm.d=0,nTm.k=0,nTm.s=0,nTm.t=0,nTm.v=!1,nTm.w=0,nTm.D=!1,AY(nbk,"NodeContext",789),nrr(1471,1,nlX,nM),nTm.ue=function(n,t){var e,i;return e=Im(n,61),i=Im(t,61),EG(e.g,i.g)},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nbk,"NodeContext/0methodref$comparePortSides$Type",1471),nrr(1472,1,nlX,nS),nTm.ue=function(n,t){return function(n,t){var e,i,r;if(i=n.b.Hf(),r=t.b.Hf(),0!=(e=EG(i.g,r.g)))return e;switch(n.b.Hf().g){case 1:case 2:return EG(n.b.sf(),t.b.sf());case 3:case 4:return EG(t.b.sf(),n.b.sf())}return 0}(Im(n,111),Im(t,111))},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nbk,"NodeContext/1methodref$comparePortContexts$Type",1472),nrr(159,22,{3:1,35:1,22:1,159:1},G6);var nSp=qE(nbk,"NodeLabelLocation",159,nE2,JF,function(n){return nhf(),H5((jF(),nPv),n)});nrr(111,1,{111:1},niq),nTm.a=!1,AY(nbk,"PortContext",111),nrr(1476,1,nh1,nP),nTm.td=function(n){pK(Im(n,306))},AY(nbT,nbM,1476),nrr(1477,1,nfw,nI),nTm.Mb=function(n){return!!Im(n,111).c},AY(nbT,nbS,1477),nrr(1478,1,nh1,nC),nTm.td=function(n){pK(Im(n,111).c)},AY(nbT,"LabelPlacer/lambda$2$Type",1478),nrr(1475,1,nh1,nA),nTm.td=function(n){SE(),function(n){n.b.tf(n.e)}(Im(n,111))},AY(nbT,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),nrr(790,1,nh1,PZ),nTm.td=function(n){var t,e,i,r,c;t=this.b,e=this.c,i=this.a,(c=function(n){var t,e,i,r;for(nhf(),e=JF(),i=0,r=e.length;i0?AC(this.a,e,i):AC(this.b,e,i)},AY(nbO,"SuccessorCombination",777),nrr(644,1,{},nU),nTm.Ce=function(n,t){var e,i,r,c,a,u;return e=Im(n,46),Im(t,167),a=Im(e.a,19).a,u=Im(e.b,19).a,r=a,c=u,i=nTv.Math.max(nTv.Math.abs(a),nTv.Math.abs(u)),a<=0&&a==u?(r=0,c=u-1):a==-i&&u!=i?(r=u,c=a,u>=0&&++r):(r=-u,c=a),new k_(Va(r),Va(c))},AY(nbO,"SuccessorJitter",644),nrr(643,1,{},nX),nTm.Ce=function(n,t){var e;return function(n){var t,e;if(t=Im(n.a,19).a,e=Im(n.b,19).a,t>=0){if(t==e)return new k_(Va(-t-1),Va(-t-1));if(t==-e)return new k_(Va(-t),Va(e+1))}return nTv.Math.abs(t)>nTv.Math.abs(e)?t<0?new k_(Va(-t),Va(e)):new k_(Va(-t),Va(e+1)):new k_(Va(t+1),Va(e))}((e=Im(n,46),Im(t,167),e))},AY(nbO,"SuccessorLineByLine",643),nrr(568,1,{},nW),nTm.Ce=function(n,t){var e,i,r,c,a;return e=Im(n,46),Im(t,167),c=Im(e.a,19).a,a=Im(e.b,19).a,i=c,r=a,0==c&&0==a?r-=1:-1==c&&a<=0?(i=0,r-=2):c<=0&&a>0?(i-=1,r-=1):c>=0&&a<0?(i+=1,r+=1):c>0&&a>=0?(i-=1,r+=1):(i+=1,r-=1),new k_(Va(i),Va(r))},AY(nbO,"SuccessorManhattan",568),nrr(1356,1,{},nV),nTm.Ce=function(n,t){var e,i,r,c;return e=Im(n,46),Im(t,167),(r=Im(e.a,19).a,c=Im(e.b,19).a,i=nTv.Math.max(nTv.Math.abs(r),nTv.Math.abs(c)),r=-i&&c==i?new k_(Va(r-1),Va(c)):new k_(Va(r),Va(c-1))},AY(nbO,"SuccessorMaxNormWindingInMathPosSense",1356),nrr(400,1,{},fS),nTm.Ce=function(n,t){return AC(this,n,t)},nTm.c=!1,nTm.d=!1,nTm.e=!1,nTm.f=!1,AY(nbO,"SuccessorQuadrantsGeneric",400),nrr(1357,1,{},nQ),nTm.Kb=function(n){return Im(n,324).a},AY(nbO,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),nrr(323,22,{3:1,35:1,22:1,323:1},mz),nTm.a=!1;var nSm=qE(nbD,nbx,323,nE2,function(){return Yr(),Um(Dg(nSm,1),nfh,323,0,[nPP,nPS,nPI,nPC])},function(n){return Yr(),H5((_5(),nPO),n)});nrr(1298,1,{}),nTm.Ib=function(){var n,t,e,i,r,c,a,u;for(r=0,e=" ",n=Va(0);r8?0:a+1);for(e+="\n",n=Va(0),c=0;c8?0:u+1),i=0;iV2(c.b.c,e.b.c+e.b.b)&&0>V2(e.b.c,c.b.c+c.b.b))a=n.b.a,u=t.b,Av(a.a,new mH(u.a,e.a)),r=!0;else if(r)break}(this,t):T6(this.a,t.b)},AY(nbG,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),nrr(1252,1,nlX,nZ),nTm.ue=function(n,t){var e,i,r;return e=Im(n,65),i=Im(t,65),0!=(r=Vv(e.b.c,i.b.c))||0!=(r=Vv(e.a.a,i.a.a))?r:Vv(e.a.b,i.a.b)},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nbG,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),nrr(440,1,{440:1},mq),nTm.a=!1,AY(nbG,"ScanlineOverlapCheck/Timestamp",440),nrr(1253,1,nlX,n1),nTm.ue=function(n,t){return function(n,t){var e,i,r;if(i=n.b.b.d,n.a||(i+=n.b.b.a),r=t.b.b.d,t.a||(r+=t.b.b.a),0==(e=Vv(i,r))){if(!n.a&&t.a)return -1;if(!t.a&&n.a)return 1}return e}(Im(n,440),Im(t,440))},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nbG,"ScanlineOverlapCheck/lambda$0$Type",1253),nrr(550,1,{},n0),AY(nbz,"SVGImage",550),nrr(324,1,{324:1},P2),nTm.Ib=function(){return"("+this.a+nhC+this.b+nhC+this.c+")"},AY(nbz,"UniqueTriple",324),nrr(209,1,nbU),AY(nbX,"AbstractLayoutProvider",209),nrr(1132,209,nbU,n2),nTm.Ze=function(n,t){var e,i,r,c,a,u;(ntc(t,nbW,1),this.a=gy(Ss(nrM(n,(J2(),nOw)))),_u(n,nOr)&&(i=Sh(nrM(n,nOr)),(e=naA(qK(),i))&&Im(L$(e.f),209).Ze(n,zt(t,1))),r=new R1(this.a),this.b=function(n,t){var e,i,r,c,a,u,o,h,f,l,b,w,d,g,p,v,m,y,k;for(n.e=t,u=function(n){var t,e,i,r;for(NW(),nOp=new wn,nOg=new wt,nOd=new wn,n.a||(n.a=new An(nCF,n,10,11)),function(n){var t,e,i,r,c,a,u,o,h,f;for(t=new wt,a=new Td(n);a.e!=a.i.gc();){for(c=Im(J1(a),33),e=new w_,$J(nOg,c,e),f=new n5,i=Im(Kc(new CN(null,new A$(new OM(Tx(nrY(c).a.Kc(),new s)))),C8(f,_D(new H,new _,new ne,Um(Dg(nMz,1),nfh,132,0,[(XW(),nM2)])))),83),q$(e,Im(i.xc((TX(),!0)),14),new n6),r=Im(Kc(Nb(Im(i.xc(!1),15).Lc(),new n8),_D(new H,new _,new ne,Um(Dg(nMz,1),nfh,132,0,[nM2]))),15).Kc();r.Ob();)(h=ntL(Im(r.Pb(),79)))&&((u=Im(jh(Lj(t.f,h)),21))||(u=ncL(h),neQ(t.f,h,u)),Gz(e,u));for(i=Im(Kc(new CN(null,new A$(new OM(Tx(nrZ(c).a.Kc(),new s)))),C8(f,_D(new H,new _,new ne,Um(Dg(nMz,1),nfh,132,0,[nM2])))),83),q$(e,Im(i.xc(!0),14),new n9),o=Im(Kc(Nb(Im(i.xc(!1),15).Lc(),new n7),_D(new H,new _,new ne,Um(Dg(nMz,1),nfh,132,0,[nM2]))),15).Kc();o.Ob();)(h=ntD(Im(o.Pb(),79)))&&((u=Im(jh(Lj(t.f,h)),21))||(u=ncL(h),neQ(t.f,h,u)),Gz(e,u))}}(t=n.a),r=new Td(t);r.e!=r.i.gc();)i=Im(J1(r),33),-1==Hb(nOp,i,0)&&(e=new wn,IE(nOd,e),function n(t,e){var i,r,c;if(IE(nOp,t),e.Fc(t),i=Im($a(nOg,t),21))for(c=i.Kc();c.Ob();)r=Im(c.Pb(),33),-1!=Hb(nOp,r,0)||n(r,e)}(i,e));return nOd}(t),y=new wn,i=new h1(u);i.a1?c.e*=gy(c.a):c.f/=gy(c.a),function(n){var t,e;for(t=n.b.a.a.ec().Kc();t.Ob();)e=new nrU(Im(t.Pb(),561),n.e,n.f),IE(n.g,e)}(c),function(n){var t,e;for(t=new h1(n.g);t.a=0&&s>=0&&o0&&qh(p,y*j),k>0&&qf(p,k*E);for(zS(n.b,new tn),t=new wn,u=new XE(new hN(n.c).a);u.b;)i=Im((a=BQ(u)).cd(),79),e=Im(a.dd(),395).a,r=ncX(i,!1,!1),nuX(f=nn8(ntN(i),nei(r),e),r),(m=ntL(i))&&-1==Hb(t,m,0)&&(t.c[t.c.length]=m,N$(m,(MK(0!=f.b),Im(f.a.a.c,8)),e));for(g=new XE(new hN(n.d).a);g.b;)i=Im((d=BQ(g)).cd(),79),e=Im(d.dd(),395).a,r=ncX(i,!1,!1),f=nn8(ntx(i),Xw(nei(r)),e),nuX(f=Xw(f),r),(m=ntD(i))&&-1==Hb(t,m,0)&&(t.c[t.c.length]=m,N$(m,(MK(0!=f.b),Im(f.c.b.c,8)),e))}(r),Yu(n,nOa,this.b),nee(t)},nTm.a=0,AY(nbV,"DisCoLayoutProvider",1132),nrr(1244,1,{},n3),nTm.c=!1,nTm.e=0,nTm.f=0,AY(nbV,"DisCoPolyominoCompactor",1244),nrr(561,1,{561:1},CW),nTm.b=!0,AY(nbQ,"DCComponent",561),nrr(394,22,{3:1,35:1,22:1,394:1},mG),nTm.a=!1;var nPL=qE(nbQ,"DCDirection",394,nE2,function(){return Yc(),Um(Dg(nPL,1),nfh,394,0,[nC2,nC0,nC3,nC4])},function(n){return Yc(),H5((_6(),nC5),n)});nrr(266,134,{3:1,266:1,94:1,134:1},nrf),AY(nbQ,"DCElement",266),nrr(395,1,{395:1},Y5),nTm.c=0,AY(nbQ,"DCExtension",395),nrr(755,134,nbq,pr),AY(nbQ,"DCGraph",755),nrr(481,22,{3:1,35:1,22:1,481:1},M_);var nPD=qE(nbJ,nbY,481,nE2,function(){return vV(),Um(Dg(nPD,1),nfh,481,0,[nC6])},function(n){return vV(),H5((Ry(),nC8),n)});nrr(854,1,nbo,si),nTm.Qe=function(n){V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nbZ),nb3),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),nOn),(neT(),nzO)),nPD),Vx((JB(),nzM))))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nb1),nb3),"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."),nzL),nTh),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nb0),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),nzN),nEX),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nb2),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),nzN),nEX),Vx(nzM)))),noi((new sr,n))},AY(nbJ,"DisCoMetaDataProvider",854),nrr(998,1,nbo,sr),nTm.Qe=function(n){noi(n)},AY(nbJ,"DisCoOptions",998),nrr(999,1,{},n4),nTm.$e=function(){return new n2},nTm._e=function(n){},AY(nbJ,"DisCoOptions/DiscoFactory",999),nrr(562,167,{321:1,167:1,562:1},nrU),nTm.a=0,nTm.b=0,nTm.c=0,nTm.d=0,AY("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),nrr(1268,1,nfw,n5),nTm.Mb=function(n){return jK(n)},AY(nb7,"ElkGraphComponentsProcessor/lambda$0$Type",1268),nrr(1269,1,{},n6),nTm.Kb=function(n){return NW(),ntN(Im(n,79))},AY(nb7,"ElkGraphComponentsProcessor/lambda$1$Type",1269),nrr(1270,1,nfw,n8),nTm.Mb=function(n){var t;return t=Im(n,79),NW(),ntN(t)==Dt(ntx(t))},AY(nb7,"ElkGraphComponentsProcessor/lambda$2$Type",1270),nrr(1271,1,{},n9),nTm.Kb=function(n){return NW(),ntx(Im(n,79))},AY(nb7,"ElkGraphComponentsProcessor/lambda$3$Type",1271),nrr(1272,1,nfw,n7),nTm.Mb=function(n){var t;return t=Im(n,79),NW(),ntx(t)==Dt(ntN(t))},AY(nb7,"ElkGraphComponentsProcessor/lambda$4$Type",1272),nrr(1273,1,nfw,fI),nTm.Mb=function(n){var t,e;return t=this.a,e=Im(n,79),NW(),t==Dt(ntN(e))||t==Dt(ntx(e))},AY(nb7,"ElkGraphComponentsProcessor/lambda$5$Type",1273),nrr(1274,1,{},fC),nTm.Kb=function(n){var t,e;return t=this.a,e=Im(n,79),NW(),t==ntN(e)?ntx(e):ntN(e)},AY(nb7,"ElkGraphComponentsProcessor/lambda$6$Type",1274),nrr(1241,1,{},R1),nTm.a=0,AY(nb7,"ElkGraphTransformer",1241),nrr(1242,1,{},tn),nTm.Od=function(n,t){var e,i,r,c,a,u;e=Im(n,160),i=Im(t,266),this.a=i.b.d,Ti(e,352)?(KA(a=nei(c=ncX(Im(e,79),!1,!1)),r=new fO(this)),nuX(a,c),null!=e.We((nha(),nUC))&&KA(Im(e.We(nUC),74),r)):((u=Im(e,470)).Hg(u.Dg()+this.a.a),u.Ig(u.Eg()+this.a.b))},AY(nb7,"ElkGraphTransformer/OffsetApplier",1242),nrr(1243,1,nh1,fO),nTm.td=function(n){MG(Im(n,8),this.a.a.a,this.a.a.b)},AY(nb7,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),nrr(753,1,{},tt),AY(nwr,nwc,753),nrr(1232,1,nlX,te),nTm.ue=function(n,t){var e,i,r,c,a;return e=Im(n,231),i=Im(t,231),0==(r=Im(ntP(i,(nab(),nOB)),19).a-Im(ntP(e,nOB),19).a)?(c=S7(E1(Im(ntP(e,(GA(),nOQ)),8)),Im(ntP(e,nOJ),8)),a=S7(E1(Im(ntP(i,nOQ),8)),Im(ntP(i,nOJ),8)),Vv(c.a*c.b,a.a*a.b)):r},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nwr,nwa,1232),nrr(740,209,nbU,wX),nTm.Ze=function(n,t){nr1(this,n,t)},AY(nwr,"ForceLayoutProvider",740),nrr(357,134,{3:1,357:1,94:1,134:1}),AY(nwu,"FParticle",357),nrr(559,357,{3:1,559:1,357:1,94:1,134:1},Az),nTm.Ib=function(){var n;return this.a?(n=Hb(this.a.a,this,0))>=0?"b"+n+"["+KD(this.a)+"]":"b["+KD(this.a)+"]":"b_"+T9(this)},AY(nwu,"FBendpoint",559),nrr(282,134,{3:1,282:1,94:1,134:1},SX),nTm.Ib=function(){return KD(this)},AY(nwu,"FEdge",282),nrr(231,134,{3:1,231:1,94:1,134:1},Fy);var nPx=AY(nwu,"FGraph",231);nrr(447,357,{3:1,447:1,357:1,94:1,134:1},Kn),nTm.Ib=function(){return null==this.b||0==this.b.length?"l["+KD(this.a)+"]":"l_"+this.b},AY(nwu,"FLabel",447),nrr(144,357,{3:1,144:1,357:1,94:1,134:1},$s),nTm.Ib=function(){return xh(this)},nTm.b=0,AY(nwu,"FNode",144),nrr(2003,1,{}),nTm.bf=function(n){nuM(this,n)},nTm.cf=function(){Zc(this)},nTm.d=0,AY(nws,"AbstractForceModel",2003),nrr(631,2003,{631:1},zQ),nTm.af=function(n,t){var e,i,r,c,a,u;return nie(this.f,n,t),r=S7(E1(t.d),n.d),c=nTv.Math.sqrt(r.a*r.a+r.b*r.b),i=nTv.Math.max(0,c-$C(n.e)/2-$C(t.e)/2),To(r,((e=Xo(this.e,n,t))>0?-(a=this.c,i>0?nTv.Math.log(i/a):-100)*e:(u=this.b,(i>0?u/(i*i):100*u)*Im(ntP(n,(nab(),nOB)),19).a))/c),r},nTm.bf=function(n){nuM(this,n),this.a=Im(ntP(n,(nab(),nO$)),19).a,this.c=gy(Ss(ntP(n,nOW))),this.b=gy(Ss(ntP(n,nOG)))},nTm.df=function(n){return n0?o*o/u:o*o*100)*Im(ntP(n,(nab(),nOB)),19).a,(e=Xo(this.e,n,t))>0&&(c-=i*i/this.a*e),To(r,c*this.b/a),r},nTm.bf=function(n){var t,e,i,r,c,a,u;for(nuM(this,n),this.b=gy(Ss(ntP(n,(nab(),nOV)))),this.c=this.b/Im(ntP(n,nO$),19).a,i=n.e.c.length,c=0,r=0,u=new h1(n.e);u.a0},nTm.a=0,nTm.b=0,nTm.c=0,AY(nws,"FruchtermanReingoldModel",632),nrr(849,1,nbo,sa),nTm.Qe=function(n){V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwh),""),"Force Model"),"Determines the model for force calculation."),nOy),(neT(),nzO)),nPR),Vx((JB(),nzM))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwf),""),"Iterations"),"The number of iterations on the force model."),Va(300)),nz$),nTa),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwl),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Va(0)),nz$),nTa),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwb),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),nww),nzC),nTr),Vx(nzM)))),xW(n,nwb,nwh,nOM),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwd),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),nzC),nTr),Vx(nzM)))),xW(n,nwd,nwh,nOj),nsL((new su,n))},AY(nwg,"ForceMetaDataProvider",849),nrr(424,22,{3:1,35:1,22:1,424:1},mZ);var nPR=qE(nwg,"ForceModelStrategy",424,nE2,function(){return Bn(),Um(Dg(nPR,1),nfh,424,0,[nOS,nOP])},function(n){return Bn(),H5((Ks(),nOI),n)});nrr(988,1,nbo,su),nTm.Qe=function(n){nsL(n)},AY(nwg,"ForceOptions",988),nrr(989,1,{},ti),nTm.$e=function(){return new wX},nTm._e=function(n){},AY(nwg,"ForceOptions/ForceFactory",989),nrr(850,1,nbo,so),nTm.Qe=function(n){V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwx),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(TX(),!1)),(neT(),nzI)),nTt),Vx((JB(),nzT))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwR),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),nzC),nTr),C6(nzM,Um(Dg(nCr,1),nfh,175,0,[nzj]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwK),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),nO2),nzO),nPK),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwF),""),"Stress Epsilon"),"Termination criterion for the iterative process."),nww),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nw_),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Va(nhM)),nz$),nTa),Vx(nzM)))),nsh((new ss,n))},AY(nwg,"StressMetaDataProvider",850),nrr(992,1,nbo,ss),nTm.Qe=function(n){nsh(n)},AY(nwg,"StressOptions",992),nrr(993,1,{},tr),nTm.$e=function(){return new SW},nTm._e=function(n){},AY(nwg,"StressOptions/StressFactory",993),nrr(1128,209,nbU,SW),nTm.Ze=function(n,t){var e,i,r,c;for(ntc(t,nwB,1),gm(So(nrM(n,(ZU(),nAn))))?gm(So(nrM(n,nAa)))||Lq(new fy((mo(),new gl(n)))):nr1(new wX,n,zt(t,1)),i=UX(n),c=(e=nuB(this.a,i)).Kc();c.Ob();)(r=Im(c.Pb(),231)).e.c.length<=1||(function(n,t){var e,i,r,c,a,u,o,s,h;if(!(t.e.c.length<=1)){for(n.f=t,n.d=Im(ntP(n.f,(ZU(),nO8)),379),n.g=Im(ntP(n.f,nAt),19).a,n.e=gy(Ss(ntP(n.f,nO9))),n.c=gy(Ss(ntP(n.f,nO6))),Aq(n.b),r=new h1(n.f.c);r.a0&&(r=e),a=new h1(n.f.e);a.a0&&n.d!=(HA(),nAh)&&(u+=a*(i.d.a+n.a[t.b][i.b]*(t.d.a-i.d.a)/e)),e>0&&n.d!=(HA(),nAo)&&(o+=a*(i.d.b+n.a[t.b][i.b]*(t.d.b-i.d.b)/e)));switch(n.d.g){case 1:return new kp(u/c,t.d.b);case 2:return new kp(t.d.a,o/c);default:return new kp(u/c,o/c)}}(n,c),S9(jR(c.d),i));e=ni7(n)}while(u=t++,o=r,s=e,0!=o&&!((o-s)/o=n.g))}}(this.b),BR(r.d,new tc));nsK(i=nsq(e)),nee(t)},AY(nwG,"StressLayoutProvider",1128),nrr(1129,1,nh1,tc),nTm.td=function(n){not(Im(n,447))},AY(nwG,"StressLayoutProvider/lambda$0$Type",1129),nrr(990,1,{},wL),nTm.c=0,nTm.e=0,nTm.g=0,AY(nwG,"StressMajorization",990),nrr(379,22,{3:1,35:1,22:1,379:1},m1);var nPK=qE(nwG,"StressMajorization/Dimension",379,nE2,function(){return HA(),Um(Dg(nPK,1),nfh,379,0,[nAs,nAo,nAh])},function(n){return HA(),H5((FW(),nAf),n)});nrr(991,1,nlX,fA),nTm.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,144),r=Im(t,144),Vv(e[i.b],e[r.b])},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nwG,"StressMajorization/lambda$0$Type",991),nrr(1229,1,{},xC),AY(nwU,"ElkLayered",1229),nrr(1230,1,nh1,ta),nTm.td=function(n){!function(n){var t;if((t=Im(ntP(n,(ns8(),nKy)),314))==(q5(),nNJ))throw new gC("The hierarchy aware processor "+t+" in child node "+n+" is only allowed if the root node specifies the same hierarchical processor.").e}(Im(n,37))},AY(nwU,"ElkLayered/lambda$0$Type",1230),nrr(1231,1,nh1,f$),nTm.td=function(n){var t;t=this.a,UU(Im(n,37),(ns8(),nKw),t)},AY(nwU,"ElkLayered/lambda$1$Type",1231),nrr(1263,1,{},EJ),AY(nwU,"GraphConfigurator",1263),nrr(759,1,nh1,fN),nTm.td=function(n){ntX(this.a,Im(n,10))},AY(nwU,"GraphConfigurator/lambda$0$Type",759),nrr(760,1,{},tu),nTm.Kb=function(n){return nnu(),new CN(null,new D6(Im(n,29).a,16))},AY(nwU,"GraphConfigurator/lambda$1$Type",760),nrr(761,1,nh1,fL),nTm.td=function(n){ntX(this.a,Im(n,10))},AY(nwU,"GraphConfigurator/lambda$2$Type",761),nrr(1127,209,nbU,wV),nTm.Ze=function(n,t){var e,i,r;e=function(n,t){var e,i,r;if(r=nu$(t),vF(new CN(null,(t.c||(t.c=new An(nC_,t,9,9)),new D6(t.c,16))),new fB(r)),function(n,t){var e,i,r,c,a,u,o,s,h,f,l;for(a=gm(So(nrM(n,(ns8(),nKz)))),l=Im(nrM(n,nFS),21),o=!1,s=!1,f=new Td((n.c||(n.c=new An(nC_,n,9,9)),n.c));f.e!=f.i.gc()&&(!o||!s);){for(c=Im(J1(f),118),u=0,r=AS(qO(Um(Dg(nEJ,1),nhA,20,0,[(c.d||(c.d=new Ph(nC$,c,8,5)),c.d),(c.e||(c.e=new Ph(nC$,c,7,4)),c.e)])));nrc(r)&&(i=Im(K4(r),79),h=a&&niM(i)&&gm(So(nrM(i,nKU))),e=noH((i.b||(i.b=new Ph(nCA,i,4,7)),i.b),c)?n==Dt(ntr(Im(BX((i.c||(i.c=new Ph(nCA,i,5,8)),i.c),0),82))):n==Dt(ntr(Im(BX((i.b||(i.b=new Ph(nCA,i,4,7)),i.b),0),82))),!((h||e)&&++u>1)););u>0?o=!0:l.Hc((nis(),nWS))&&(c.n||(c.n=new An(nCK,c,1,7)),c.n).i>0&&(o=!0),u>1&&(s=!0)}o&&t.Fc((ncJ(),nLL)),s&&t.Fc((ncJ(),nLD))}(t,i=Im(ntP(r,(nhu(),nDu)),21)),i.Hc((ncJ(),nLL)))for(e=new Td((t.c||(t.c=new An(nC_,t,9,9)),t.c));e.e!=e.i.gc();)(function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(o=new kp(i.i+i.g/2,i.j+i.f/2),l=no$(i),b=Im(nrM(t,(ns8(),nFE)),98),d=Im(nrM(i,nFI),61),g=JX(i),p=nFj,QF(g.a,p)||(w=0==i.i&&0==i.j?0:function(n,t){var e;if(!L8(n))throw new gg(nmU).e;switch(e=L8(n),t.g){case 1:return-(n.j+n.f);case 2:return n.i-e.g;case 3:return n.j-e.f;case 4:return-(n.i+n.g)}return 0}(i,d),Yu(i,nFj,w)),UU(r=nsQ(i,b,d,l,new kp(t.g,t.f),o,new kp(i.g,i.f),Im(ntP(e,nKE),103),e),(nhu(),nDE),i),v=c=Im(CA(r.j,0),11),m=function(n){var t,e,i,r,c;for(c=L8(n),r=new Td((n.e||(n.e=new Ph(nC$,n,7,4)),n.e));r.e!=r.i.gc();)if(i=Im(J1(r),79),!Bx(ntr(Im(BX((i.c||(i.c=new Ph(nCA,i,5,8)),i.c),0),82)),c))return!0;for(e=new Td((n.d||(n.d=new Ph(nC$,n,8,5)),n.d));e.e!=e.i.gc();)if(t=Im(J1(e),79),!Bx(ntr(Im(BX((t.b||(t.b=new Ph(nCA,t,4,7)),t.b),0),82)),c))return!0;return!1}(i),v.c=m,UU(r,nFS,(nis(),Vx(nWI))),h=Im(nrM(t,nFS),174).Hc(nWS),u=new Td((i.n||(i.n=new An(nCK,i,1,7)),i.n));u.e!=u.i.gc();)if(!gm(So(nrM(a=Im(J1(u),137),nFf)))&&a.a&&(f=WE(a),IE(c.f,f),!h))switch(s=0,OQ(Im(nrM(t,nFS),21))&&(s=niv(new kp(a.i,a.j),new kp(a.g,a.f),new kp(i.g,i.f),0,d)),d.g){case 2:case 4:f.o.a=s;break;case 1:case 3:f.o.b=s}UU(r,nFV,Ss(nrM(Dt(t),nFV))),UU(r,nFQ,Ss(nrM(Dt(t),nFQ))),UU(r,nFX,Ss(nrM(Dt(t),nFX))),IE(e.a,r),$J(n.a,i,r)})(n,t,r,Im(J1(e),118));return 0!=Im(nrM(t,(ns8(),nFu)),174).gc()&&ncZ(t,r),gm(So(ntP(r,nFw)))&&i.Fc(nLF),MB(r,nFR)&&function(n,t){XT(n).td(t)}(new Qs(gy(Ss(ntP(r,nFR)))),r),jf(nrM(t,nK_))===jf((WN(),nX2))?function(n,t,e){var i,r,c,a,u,o,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S;for(a=new vK,y=Im(ntP(e,(ns8(),nKE)),103),d=0,Gz(a,(t.a||(t.a=new An(nCF,t,10,11)),t.a));0!=a.b;)h=Im(0==a.b?null:(MK(0!=a.b),BK(a,a.a.a)),33),(jf(nrM(t,nKh))!==jf((U1(),n__))||jf(nrM(t,nKk))===jf((YU(),nN9))||jf(nrM(t,nKk))===jf((YU(),nN6))||gm(So(nrM(t,nKl)))||jf(nrM(t,nKc))!==jf((W3(),nA_)))&&!gm(So(nrM(h,nKs)))&&Yu(h,(nhu(),nDj),Va(d++)),!gm(So(nrM(h,nFf)))&&(l=0!=(h.a||(h.a=new An(nCF,h,10,11)),h.a).i,w=function(n){var t,e;if(gm(So(nrM(n,(ns8(),nKz))))){for(e=new OM(Tx(nrZ(n).a.Kc(),new s));nrc(e);)if(niM(t=Im(K4(e),79))&&gm(So(nrM(t,nKU))))return!0}return!1}(h),b=jf(nrM(h,nK_))===jf((WN(),nX2)),S=!_u(h,(nha(),nUt))||Pv(Sh(nrM(h,nUt)),nda),v=null,S&&b&&(l||w)&&(UU(v=nu$(h),nKE,y),MB(v,nFR)&&function(n,t){XT(n).td(t)}(new Qs(gy(Ss(ntP(v,nFR)))),v),0!=Im(nrM(h,nFu),174).gc()&&(f=v,vF(new CN(null,(h.c||(h.c=new An(nC_,h,9,9)),new D6(h.c,16))),new fq(f)),ncZ(h,v))),k=e,(j=Im($a(n.a,Dt(h)),10))&&(k=j.e),p=nsm(n,h,k),v&&(p.e=v,v.e=p,Gz(a,(h.a||(h.a=new An(nCF,h,10,11)),h.a))));for(d=0,KN(a,t,a.c.b,a.c);0!=a.b;){for(o=new Td(((c=Im(0==a.b?null:(MK(0!=a.b),BK(a,a.a.a)),33)).b||(c.b=new An(nC$,c,12,3)),c.b));o.e!=o.i.gc();)naD(u=Im(J1(o),79)),(jf(nrM(t,nKh))!==jf((U1(),n__))||jf(nrM(t,nKk))===jf((YU(),nN9))||jf(nrM(t,nKk))===jf((YU(),nN6))||gm(So(nrM(t,nKl)))||jf(nrM(t,nKc))!==jf((W3(),nA_)))&&Yu(u,(nhu(),nDj),Va(d++)),T=ntr(Im(BX((u.b||(u.b=new Ph(nCA,u,4,7)),u.b),0),82)),M=ntr(Im(BX((u.c||(u.c=new Ph(nCA,u,5,8)),u.c),0),82)),gm(So(nrM(u,nFf)))||gm(So(nrM(T,nFf)))||gm(So(nrM(M,nFf)))||(g=niM(u)&&gm(So(nrM(T,nKz)))&&gm(So(nrM(u,nKU))),m=c,g||Bx(M,T)?m=T:Bx(T,M)&&(m=M),k=e,(j=Im($a(n.a,m),10))&&(k=j.e),UU(nhc(n,u,m,k),(nhu(),nL4),function(n,t,e,i){var r,c,a,u,o;return(u=ntr(Im(BX((t.b||(t.b=new Ph(nCA,t,4,7)),t.b),0),82)),o=ntr(Im(BX((t.c||(t.c=new Ph(nCA,t,5,8)),t.c),0),82)),Dt(u)==Dt(o)||Bx(o,u))?null:(a=L6(t))==e?i:(c=Im($a(n.a,a),10))&&(r=c.e)?r:null}(n,u,t,e)));if(b=jf(nrM(c,nK_))===jf((WN(),nX2)))for(r=new Td((c.a||(c.a=new An(nCF,c,10,11)),c.a));r.e!=r.i.gc();)S=!_u(i=Im(J1(r),33),(nha(),nUt))||Pv(Sh(nrM(i,nUt)),nda),E=jf(nrM(i,nK_))===jf(nX2),S&&E&&KN(a,i,a.c.b,a.c)}}(n,t,r):function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;for(f=0,r=new Td((t.a||(t.a=new An(nCF,t,10,11)),t.a));r.e!=r.i.gc();)gm(So(nrM(i=Im(J1(r),33),(ns8(),nFf))))||((jf(nrM(t,nKh))!==jf((U1(),n__))||jf(nrM(t,nKk))===jf((YU(),nN9))||jf(nrM(t,nKk))===jf((YU(),nN6))||gm(So(nrM(t,nKl)))||jf(nrM(t,nKc))!==jf((W3(),nA_)))&&!gm(So(nrM(i,nKs)))&&(Yu(i,(nhu(),nDj),Va(f)),++f),nsm(n,i,e));for(f=0,s=new Td((t.b||(t.b=new An(nC$,t,12,3)),t.b));s.e!=s.i.gc();)u=Im(J1(s),79),(jf(nrM(t,(ns8(),nKh)))!==jf((U1(),n__))||jf(nrM(t,nKk))===jf((YU(),nN9))||jf(nrM(t,nKk))===jf((YU(),nN6))||gm(So(nrM(t,nKl)))||jf(nrM(t,nKc))!==jf((W3(),nA_)))&&(Yu(u,(nhu(),nDj),Va(f)),++f),w=ntN(u),d=ntx(u),h=gm(So(nrM(w,nKz))),b=!gm(So(nrM(u,nFf))),l=h&&niM(u)&&gm(So(nrM(u,nKU))),c=Dt(w)==t&&Dt(w)==Dt(d),a=(Dt(w)==t&&d==t)^(Dt(d)==t&&w==t),b&&!l&&(a||c)&&nhc(n,u,t,e);if(Dt(t))for(o=new Td(NA(Dt(t)));o.e!=o.i.gc();)(w=ntN(u=Im(J1(o),79)))==t&&niM(u)&&(l=gm(So(nrM(w,(ns8(),nKz))))&&gm(So(nrM(u,nKU))))&&nhc(n,u,t,e)}(n,t,r),r}(new w4,n),jf(nrM(n,(ns8(),nK_)))===jf((WN(),nX2))?(i=this.a,(r=t)||(r=IZ(new dH,0)),ntc(r,nwz,2),YE(i.b,e,zt(r,1)),function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w;for(o=function(n){var t,e,i,r,c;for(t=new b7,e=new b7,RC(t,n),RC(e,n);e.b!=e.c;)for(c=new h1(Im(Al(e),37).a);c.anww,M=nTv.Math.abs(l.b-w.b)>nww,(!e&&T&&M||e&&(T||M))&&I2(g.a,y)),Gz(g.a,i),0==i.b?l=y:(MK(0!=i.b),l=Im(i.c.b.c,8)),function(n,t,e){var i,r;(r=Im(ntP(n,(ns8(),nKV)),74))&&(XZ(i=new dd,0,r),BV(i,e),Gz(t,i))}(b,f,d),G4(r)==E&&($N(E.i)!=r.a&&neP(d=new ps,$N(E.i),v),UU(g,nDz,d)),function(n,t,e){var i,r;for(r=new Rn(n.b,0);r.bt.a&&(i.Hc((nnF(),nz4))?n.c.a+=(e.a-t.a)/2:i.Hc(nz6)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((nnF(),nz9))?n.c.b+=(e.b-t.b)/2:i.Hc(nz8)&&(n.c.b+=e.b-t.b)),Im(ntP(n,(nhu(),nDu)),21).Hc((ncJ(),nLL))&&(e.a>t.a||e.b>t.b))for(u=new h1(n.a);u.a0&&(IE(this.c,new IB(t.c,t.d,this.d)),this.b=t.d)},nTm.b=0,AY(nwQ,"RectilinearConvexHull/MaximalElementsEventHandler",574),nrr(1644,1,nlX,tb),nTm.ue=function(n,t){var e,i;return e=Ss(n),i=Ss(t),v3(),Vv(($D(e),e),($D(i),i))},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nwQ,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),nrr(1643,1,{369:1},BM),nTm.Ke=function(n){var t,e,i,r,c;t=Im(n,140),this.d&&(t.c!=this.e.c||(i=this.e.b,r=t.b,Uj(),i==nAS&&r==nAP||i==nAS&&r==nAI||i==nAC&&r==nAI||i==nAC&&r==nAP))&&(IE(this.f,this.d),this.a=this.d.c+this.d.b,this.d=null,this.e=null),(c=t.b)==nAS||c==nAP?this.c=t:this.b=t,(t.b==(Uj(),nAS)&&!t.a||t.b==nAP&&t.a||t.b==nAI&&t.a||t.b==nAC&&!t.a)&&this.c&&this.b&&(e=new Nj(this.a,this.c.d,t.c-this.a,this.b.d-this.c.d),this.d=e,this.e=t)},nTm.a=0,nTm.b=null,nTm.c=null,nTm.d=null,nTm.e=null,AY(nwQ,"RectilinearConvexHull/RectangleEventHandler",1643),nrr(1645,1,nlX,tw),nTm.ue=function(n,t){var e,i;return e=Im(n,140),i=Im(t,140),H9(),e.c==i.c?Vv(i.d,e.d):Vv(e.c,i.c)},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nwQ,"RectilinearConvexHull/lambda$0$Type",1645),nrr(1646,1,nlX,tl),nTm.ue=function(n,t){var e,i;return e=Im(n,140),i=Im(t,140),H9(),e.c==i.c?Vv(e.d,i.d):Vv(e.c,i.c)},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nwQ,"RectilinearConvexHull/lambda$1$Type",1646),nrr(1647,1,nlX,tm),nTm.ue=function(n,t){var e,i;return e=Im(n,140),i=Im(t,140),H9(),e.c==i.c?Vv(i.d,e.d):Vv(i.c,e.c)},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nwQ,"RectilinearConvexHull/lambda$2$Type",1647),nrr(1648,1,nlX,ty),nTm.ue=function(n,t){var e,i;return e=Im(n,140),i=Im(t,140),H9(),e.c==i.c?Vv(e.d,i.d):Vv(i.c,e.c)},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nwQ,"RectilinearConvexHull/lambda$3$Type",1648),nrr(1649,1,nlX,tk),nTm.ue=function(n,t){return function(n,t){var e,i,r,c;if(H9(),n.c!=t.c)return Vv(n.c,t.c);if(n.b==t.b||(i=n.b,r=t.b,Uj(),i==nAS&&r==nAC||i==nAC&&r==nAS||i==nAI&&r==nAP||i==nAP&&r==nAI)){if(e=(c=n.b)==nAS||c==nAC?1:-1,n.a&&!t.a)return e;if(!n.a&&t.a)return-e}return EG(n.b.g,t.b.g)}(Im(n,140),Im(t,140))},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nwQ,"RectilinearConvexHull/lambda$4$Type",1649),nrr(1650,1,{},DP),AY(nwQ,"Scanline",1650),nrr(2005,1,{}),AY(nwJ,"AbstractGraphPlacer",2005),nrr(325,1,{325:1},MJ),nTm.mf=function(n){return!!this.nf(n)&&(niP(this.b,Im(ntP(n,(nhu(),nDt)),21),n),!0)},nTm.nf=function(n){var t,e,i;for(t=Im(ntP(n,(nhu(),nDt)),21),i=Im(Fl(nAR,t),21).Kc();i.Ob();)if(e=Im(i.Pb(),21),!Im(Fl(this.b,e),15).dc())return!1;return!0},AY(nwJ,"ComponentGroup",325),nrr(765,2005,{},wZ),nTm.of=function(n){var t;for(t=new h1(this.a);t.ac?1:0},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nwJ,"ComponentsProcessor/lambda$0$Type",1265),nrr(570,325,{325:1,570:1},KH),nTm.mf=function(n){return XP(this,n)},nTm.nf=function(n){return ncs(this,n)},AY(nwJ,"ModelOrderComponentGroup",570),nrr(1291,2005,{},tT),nTm.lf=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(1==n.gc()){(v=Im(n.Xb(0),37))!=t&&(t.a.c=_f(nEX,nhA,1,0,5,1),naY(t,v,0,0),z5(t,v),NG(t.d,v.d),t.f.a=v.f.a,t.f.b=v.f.b);return}if(n.dc()){t.a.c=_f(nEX,nhA,1,0,5,1),t.f.a=0,t.f.b=0;return}if(jf(ntP(t,(ns8(),nKc)))===jf((W3(),nA_))){for(o=n.Kc();o.Ob();){for(a=Im(o.Pb(),37),g=0,w=new h1(a.a);w.al&&(y=0,k+=f+r,f=0),d=a.c,naL(a,y+d.a,k+d.b),jR(d),e=nTv.Math.max(e,y+p.a),f=nTv.Math.max(f,p.b),y+=p.a+r;if(t.f.a=e,t.f.b=k+f,gm(So(ntP(c,nKe)))){for(ns6(i=new tj,n,r),h=n.Kc();h.Ob();)S9(jR(Im(h.Pb(),37).c),i.e);S9(jR(t.f),i.a)}_A(t,n)},AY(nwJ,"SimpleRowGraphPlacer",1291),nrr(1292,1,nlX,tM),nTm.ue=function(n,t){var e,i,r;return e=Im(n,37),0==(r=(i=Im(t,37)).p-e.p)?Vv(e.f.a*e.f.b,i.f.a*i.f.b):r},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nwJ,"SimpleRowGraphPlacer/1",1292),nrr(1262,1,nbt,tS),nTm.Lb=function(n){var t;return!!(t=Im(ntP(Im(n,243).b,(ns8(),nKV)),74))&&0!=t.b},nTm.Fb=function(n){return this===n},nTm.Mb=function(n){var t;return!!(t=Im(ntP(Im(n,243).b,(ns8(),nKV)),74))&&0!=t.b},AY(nw0,"CompoundGraphPostprocessor/1",1262),nrr(1261,1,nw2,w5),nTm.pf=function(n,t){YE(this,Im(n,37),t)},AY(nw0,"CompoundGraphPreprocessor",1261),nrr(441,1,{441:1},W6),nTm.c=!1,AY(nw0,"CompoundGraphPreprocessor/ExternalPort",441),nrr(243,1,{243:1},P1),nTm.Ib=function(){return MP(this.c)+":"+nig(this.b)},AY(nw0,"CrossHierarchyEdge",243),nrr(763,1,nlX,fD),nTm.ue=function(n,t){var e,i,r,c;return e=Im(n,243),i=Im(t,243),e.c==(qF(),n_X)&&i.c==n_U?-1:e.c==n_U&&i.c==n_X?1:(r=Wt(e.a,this.a),c=Wt(i.a,this.a),e.c==n_X?c-r:r-c)},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nw0,"CrossHierarchyEdgeComparator",763),nrr(299,134,{3:1,299:1,94:1,134:1}),nTm.p=0,AY(nw3,"LGraphElement",299),nrr(17,299,{3:1,17:1,299:1,94:1,134:1},Ls),nTm.Ib=function(){return nig(this)};var nPU=AY(nw3,"LEdge",17);nrr(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},qQ),nTm.Jc=function(n){KA(this,n)},nTm.Kc=function(){return new h1(this.b)},nTm.Ib=function(){return 0==this.b.c.length?"G-unlayered"+ntK(this.a):0==this.a.c.length?"G-layered"+ntK(this.b):"G[layerless"+ntK(this.a)+", layers"+ntK(this.b)+"]"};var nPX=AY(nw3,"LGraph",37);nrr(657,1,{}),nTm.qf=function(){return this.e.n},nTm.We=function(n){return ntP(this.e,n)},nTm.rf=function(){return this.e.o},nTm.sf=function(){return this.e.p},nTm.Xe=function(n){return MB(this.e,n)},nTm.tf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},nTm.uf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},nTm.vf=function(n){this.e.p=n},AY(nw3,"LGraphAdapters/AbstractLShapeAdapter",657),nrr(577,1,{839:1},fx),nTm.wf=function(){var n,t;if(!this.b)for(this.b=Mj(this.a.b.c.length),t=new h1(this.a.b);t.a0&&Wy((D5(t-1,n.length),n.charCodeAt(t-1)),ndt);)--t;if(r> ",n),Zj(e)),jP(jS((n.a+="[",n),e.i),"]")),n.a},nTm.c=!0,nTm.d=!1;var nPY=AY(nw3,"LPort",11);nrr(397,1,nh5,fK),nTm.Jc=function(n){KA(this,n)},nTm.Kc=function(){return new fF(new h1(this.a.e))},AY(nw3,"LPort/1",397),nrr(1290,1,nhF,fF),nTm.Nb=function(n){Ao(this,n)},nTm.Pb=function(){return Im(xe(this.a),17).c},nTm.Ob=function(){return EH(this.a)},nTm.Qb=function(){AE(this.a)},AY(nw3,"LPort/1/1",1290),nrr(359,1,nh5,f_),nTm.Jc=function(n){KA(this,n)},nTm.Kc=function(){return new fH(new h1(this.a.g))},AY(nw3,"LPort/2",359),nrr(762,1,nhF,fH),nTm.Nb=function(n){Ao(this,n)},nTm.Pb=function(){return Im(xe(this.a),17).d},nTm.Ob=function(){return EH(this.a)},nTm.Qb=function(){AE(this.a)},AY(nw3,"LPort/2/1",762),nrr(1283,1,nh5,ya),nTm.Jc=function(n){KA(this,n)},nTm.Kc=function(){return new Fm(this)},AY(nw3,"LPort/CombineIter",1283),nrr(201,1,nhF,Fm),nTm.Nb=function(n){Ao(this,n)},nTm.Qb=function(){py()},nTm.Ob=function(){return Mh(this)},nTm.Pb=function(){return EH(this.a)?xe(this.a):xe(this.b)},AY(nw3,"LPort/CombineIter/1",201),nrr(1285,1,nbt,tC),nTm.Lb=function(n){return OG(n)},nTm.Fb=function(n){return this===n},nTm.Mb=function(n){return zn(),0!=Im(n,11).e.c.length},AY(nw3,"LPort/lambda$0$Type",1285),nrr(1284,1,nbt,tO),nTm.Lb=function(n){return Oz(n)},nTm.Fb=function(n){return this===n},nTm.Mb=function(n){return zn(),0!=Im(n,11).g.c.length},AY(nw3,"LPort/lambda$1$Type",1284),nrr(1286,1,nbt,tA),nTm.Lb=function(n){return zn(),Im(n,11).j==(nsR(),nW$)},nTm.Fb=function(n){return this===n},nTm.Mb=function(n){return zn(),Im(n,11).j==(nsR(),nW$)},AY(nw3,"LPort/lambda$2$Type",1286),nrr(1287,1,nbt,t$),nTm.Lb=function(n){return zn(),Im(n,11).j==(nsR(),nWA)},nTm.Fb=function(n){return this===n},nTm.Mb=function(n){return zn(),Im(n,11).j==(nsR(),nWA)},AY(nw3,"LPort/lambda$3$Type",1287),nrr(1288,1,nbt,tN),nTm.Lb=function(n){return zn(),Im(n,11).j==(nsR(),nWV)},nTm.Fb=function(n){return this===n},nTm.Mb=function(n){return zn(),Im(n,11).j==(nsR(),nWV)},AY(nw3,"LPort/lambda$4$Type",1288),nrr(1289,1,nbt,tL),nTm.Lb=function(n){return zn(),Im(n,11).j==(nsR(),nWJ)},nTm.Fb=function(n){return this===n},nTm.Mb=function(n){return zn(),Im(n,11).j==(nsR(),nWJ)},AY(nw3,"LPort/lambda$5$Type",1289),nrr(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},$o),nTm.Jc=function(n){KA(this,n)},nTm.Kc=function(){return new h1(this.a)},nTm.Ib=function(){return"L_"+Hb(this.b.b,this,0)+ntK(this.a)},AY(nw3,"Layer",29),nrr(1342,1,{},w4),AY(ndu,ndo,1342),nrr(1346,1,{},tD),nTm.Kb=function(n){return ntr(Im(n,82))},AY(ndu,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),nrr(1349,1,{},tx),nTm.Kb=function(n){return ntr(Im(n,82))},AY(ndu,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),nrr(1343,1,nh1,fB),nTm.td=function(n){niz(this.a,Im(n,118))},AY(ndu,nds,1343),nrr(1344,1,nh1,fq),nTm.td=function(n){niz(this.a,Im(n,118))},AY(ndu,ndh,1344),nrr(1345,1,{},tR),nTm.Kb=function(n){var t;return new CN(null,new D6(((t=Im(n,79)).c||(t.c=new Ph(nCA,t,5,8)),t.c),16))},AY(ndu,ndf,1345),nrr(1347,1,nfw,fG),nTm.Mb=function(n){var t;return t=this.a,Bx(Im(n,33),L8(t))},AY(ndu,ndl,1347),nrr(1348,1,{},tK),nTm.Kb=function(n){var t;return new CN(null,new D6(((t=Im(n,79)).b||(t.b=new Ph(nCA,t,4,7)),t.b),16))},AY(ndu,"ElkGraphImporter/lambda$5$Type",1348),nrr(1350,1,nfw,fz),nTm.Mb=function(n){var t;return t=this.a,Bx(Im(n,33),L8(t))},AY(ndu,"ElkGraphImporter/lambda$7$Type",1350),nrr(1351,1,nfw,tF),nTm.Mb=function(n){var t;return niM(t=Im(n,79))&&gm(So(nrM(t,(ns8(),nKU))))},AY(ndu,"ElkGraphImporter/lambda$8$Type",1351),nrr(1278,1,{},sf),AY(ndu,"ElkGraphLayoutTransferrer",1278),nrr(1279,1,nfw,fU),nTm.Mb=function(n){var t,e;return t=this.a,e=Im(n,17),v1(),!zR(e.d.i,t)},AY(ndu,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),nrr(1280,1,nh1,fX),nTm.td=function(n){v1(),IE(this.a,Im(n,17))},AY(ndu,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),nrr(1281,1,nfw,fW),nTm.Mb=function(n){var t,e;return t=this.a,e=Im(n,17),v1(),zR(e.d.i,t)},AY(ndu,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),nrr(1282,1,nh1,fV),nTm.td=function(n){v1(),IE(this.a,Im(n,17))},AY(ndu,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),nrr(1485,1,nw2,t_),nTm.pf=function(n,t){var e;e=Im(n,37),ntc(t,ndb,1),vF(HV(new CN(null,new D6(e.b,16)),new tH),new tB),nee(t)},AY(ndw,"CommentNodeMarginCalculator",1485),nrr(1486,1,{},tH),nTm.Kb=function(n){return new CN(null,new D6(Im(n,29).a,16))},AY(ndw,"CommentNodeMarginCalculator/lambda$0$Type",1486),nrr(1487,1,nh1,tB),nTm.td=function(n){!function(n){var t,e,i,r,c,a,u,o,s,h,f,l;if(u=n.d,f=Im(ntP(n,(nhu(),nDU)),15),t=Im(ntP(n,nL1),15),f||t){if(c=gy(Ss(QR(n,(ns8(),nFK)))),a=gy(Ss(QR(n,nFF))),l=0,f){for(s=0,r=f.Kc();r.Ob();)i=Im(r.Pb(),10),s=nTv.Math.max(s,i.o.b),l+=i.o.a;l+=c*(f.gc()-1),u.d+=s+a}if(e=0,t){for(s=0,r=t.Kc();r.Ob();)i=Im(r.Pb(),10),s=nTv.Math.max(s,i.o.b),e+=i.o.a;e+=c*(t.gc()-1),u.a+=s+a}(o=nTv.Math.max(l,e))>n.o.a&&(h=(o-n.o.a)/2,u.b=nTv.Math.max(u.b,h),u.c=nTv.Math.max(u.c,h))}}(Im(n,10))},AY(ndw,"CommentNodeMarginCalculator/lambda$1$Type",1487),nrr(1488,1,nw2,tq),nTm.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o;for(ntc(t,"Comment post-processing",1),c=new h1(n.b);c.a=i.o.b/2}(p?(g=Im(ntP(i,(nhu(),nDU)),15))?l?c=g:(r=Im(ntP(i,nL1),15))?c=g.gc()<=r.gc()?g:r:(c=new wn,UU(i,nL1,c)):(c=new wn,UU(i,nDU,c)):(r=Im(ntP(i,(nhu(),nL1)),15))?f?c=r:(g=Im(ntP(i,nDU),15))?c=r.gc()<=g.gc()?r:g:(c=new wn,UU(i,nDU,c)):(c=new wn,UU(i,nL1,c)),c.Fc(n),UU(n,(nhu(),nL2),e),t.d==e)?(Dj(t,null),e.e.c.length+e.g.c.length==0&&DM(e,null),(v=Im(ntP(e,(nhu(),nDA)),10))&&(Hh((m=v.c).a,v),0==m.a.c.length&&Hh($N(v).b,m))):(DE(t,null),e.e.c.length+e.g.c.length==0&&DM(e,null)),Nq(t.a)})(u,i,s,s.i),AE(o)}t.n&&IJ(t,"Found "+e+" comment boxes"),nee(t)}(Im(n,37),t)},AY(ndw,"CommentPreprocessor",1489),nrr(1490,1,nw2,tz),nTm.pf=function(n,t){!function(n,t){var e,i,r,c,a,u;for(ntc(t,"Constraints Postprocessor",1),a=0,c=new h1(n.b);c.a0||h.j==nWJ&&h.e.c.length-h.g.c.length<0)){t=!1;break}for(r=new h1(h.g);r.a=2})(i=Im(xe(r),11))&&(t||(function(n){var t,e,i,r,c;for(e=0,t=new h1(n.b);t.a=t.d.a.gc()){a=new kp((c=t.a.c)+(t.a.c+t.a.b-c)/2,t.b),I2(Im(t.d.a.ec().Kc().Pb(),17).a,a);continue}if((r=Im($a(t.c,e),459)).b||r.c){!function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;s=e.a.c,a=e.a.c+e.a.b,l=(c=Im($a(e.c,t),459)).f,b=c.a,u=c.b?new kp(a,l):new kp(s,l),h=c.c?new kp(s,b):new kp(a,b),r=s,e.p||(r+=n.c),r+=e.F+e.v*n.b,o=new kp(r,l),f=new kp(r,b),qN(t.a,Um(Dg(nCa,1),nhJ,8,0,[u,o])),e.d.a.gc()>1&&(i=new kp(r,e.b),I2(t.a,i)),qN(t.a,Um(Dg(nCa,1),nhJ,8,0,[f,h]))}(n,e,t);continue}n.d==(XJ(),n_5)&&(r.d||r.e)&&function(n,t){var e,i,r,c;return n.a==(ntW(),nLI)||(r=t.a.c,e=t.a.c+t.a.b,(!t.j||(c=(i=t.A).c.c.a-i.o.a/2,!(r-(i.n.a+i.o.a)>c)))&&(!t.q||(c=(i=t.C).c.c.a-i.o.a/2,!(i.n.a-e>c))))}(n,t)&&1>=t.d.a.gc()?function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;u=Im($a(t.c,n),459),g=t.a.c,o=t.a.c+t.a.b,a=(E=u.f)<(T=u.a),b=new kp(g,E),p=new kp(o,T),w=new kp(r=(g+o)/2,E),v=new kp(r,T),c=function(n,t,e){var i,r,c;if(i=0,r=0,n.c)for(c=new h1(n.d.i.j);c.an))return 0==t||t==n?1:0==n?0:nnp(n)/(nnp(t)*nnp(n-t));throw new gd("k must be smaller than n").e}(r,i)*WA(1-n,r-i)*WA(n,i),a+=c.a*e,u+=c.b*e;return new kp(a,u)}(i,n);return e}(Um(Dg(nCa,1),nhJ,8,0,[y,k,j])),f=!1,(d=t.B.i)&&d.c&&u.d&&((s=a&&d.p0)?s&&(h=d.p,a?++h:--h,f=!(nca(i=UB(Im(CA(d.c.a,h),10)),y,e[0])||OV(i,y,e[0]))):f=!0),l=!1,(m=t.D.i)&&m.c&&u.e&&(a&&m.p>0||!a&&m.p1&&(i=new kp(r,e.b),I2(t.a,i)),qN(t.a,Um(Dg(nCa,1),nhJ,8,0,[f,h]))}(n,e,t)}t.k&&KA(t.d,new ee)}}(this.a,Im(n,128))},AY(ndw,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),nrr(1509,1,nh1,ee),nTm.td=function(n){ne_(Im(n,17).a)},AY(ndw,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),nrr(792,1,nw2,fZ),nTm.pf=function(n,t){!function(n,t,e){var i,r;for(ntc(e,"Graph transformation ("+n.a+")",1),r=xa(t.a),i=new h1(t.b);i.at.a&&(i.Hc((nnF(),nz4))?n.c.a+=(e.a-t.a)/2:i.Hc(nz6)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((nnF(),nz9))?n.c.b+=(e.b-t.b)/2:i.Hc(nz8)&&(n.c.b+=e.b-t.b)),Im(ntP(n,(nhu(),nDu)),21).Hc((ncJ(),nLL))&&(e.a>t.a||e.b>t.b))for(a=new h1(n.a);a.a0&&(n.a=u+(l-1)*r,t.c.b+=n.a,t.f.b+=n.a),0!=b.a.gc()&&(l=nsi(new AU(1,r),t,b,w,t.f.b+u-t.c.b))>0&&(t.f.b+=u+(l-1)*r)}(this,e,i),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(m=new wn,f=new h1(n.b);f.a0&&na7((D4(0,i.c.length),Im(i.c[0],29)),e),i.c.length>1&&na7(Im(CA(i,i.c.length-1),29),e),nee(t)},AY(ndw,"HierarchicalPortPositionProcessor",1517),nrr(1518,1,nw2,sl),nTm.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(n.b=t,n.a=Im(ntP(t,(ns8(),nKH)),19).a,n.c=Im(ntP(t,nKq),19).a,0==n.c&&(n.c=nhM),d=new Rn(t.b,0);d.b=n.a&&(i=function(n,t){var e,i,r,c,a,u,o,h;for(e=new ef,r=new OM(Tx(VG(t).a.Kc(),new s));nrc(r);)if(!KR(i=Im(K4(r),17))&&nn4(u=i.c.i,n$n)){if(-1==(h=nai(n,u,n$n,nA7)))continue;e.b=nTv.Math.max(e.b,h),e.a||(e.a=new wn),IE(e.a,u)}for(a=new OM(Tx(Vz(t).a.Kc(),new s));nrc(a);)if(!KR(c=Im(K4(a),17))&&nn4(o=c.d.i,nA7)){if(-1==(h=nai(n,o,nA7,n$n)))continue;e.d=nTv.Math.max(e.d,h),e.c||(e.c=new wn),IE(e.c,o)}return e}(n,p),f=nTv.Math.max(f,i.b),m=nTv.Math.max(m,i.d),IE(u,new k_(p,i)));for(h=0,j=new wn;h0),d.a.Xb(d.c=--d.b),SB(d,E=new $o(n.b)),MK(d.b1&&(a=nTv.Math.min(a,nTv.Math.abs(Im(J7(u.a,1),8).b-h.b)))));else for(w=new h1(t.j);w.ar&&(c=l.a-r,a=nhM,i.c=_f(nEX,nhA,1,0,5,1),r=l.a),l.a>=r&&(i.c[i.c.length]=u,u.a.b>1&&(a=nTv.Math.min(a,nTv.Math.abs(Im(J7(u.a,u.a.b-2),8).b-l.b)))));if(0!=i.c.length&&c>t.o.a/2&&a>t.o.b/2){for(DM(b=new nt9,t),ne9(b,(nsR(),nW$)),b.n.a=t.o.a/2,DM(d=new nt9,t),ne9(d,nWV),d.n.a=t.o.a/2,d.n.b=t.o.b,o=new h1(i);o.a=s.b?DE(u,d):DE(u,b)):(s=Im((MK(0!=(g=u.a).b),BK(g,g.c.b)),8),(0==u.a.b?D9(u.c):Im(MC(u.a),8)).b>=s.b?Dj(u,d):Dj(u,b)),(f=Im(ntP(u,(ns8(),nKV)),74))&&Qg(f,s,!0);t.n.a=r-t.o.a/2}}(n,c,r<=o)}nee(t)}(Im(n,37),t)},AY(ndw,"HypernodesProcessor",1530),nrr(1531,1,nw2,em),nTm.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o,s,h;for(ntc(t,"Layer constraint edge reversal",1),a=new h1(n.b);a.a0&&IE(n.p,f),IE(n.o,f);t-=i,w=o+t,h+=t*n.e,KL(n.a,u,Va(w)),KL(n.b,u,h),n.j=nTv.Math.max(n.j,w),n.k=nTv.Math.max(n.k,h),n.d+=t,t+=g}}(n),n.q=Im(ntP(t,(ns8(),nK3)),260),f=Im(ntP(n.g,nK2),19).a,c=new eB,n.q.g){case 2:case 1:default:noO(n,c);break;case 3:for(n.q=(nco(),n_R),noO(n,c),o=0,u=new h1(n.a);u.an.j&&(n.q=n_A,noO(n,c));break;case 4:for(n.q=(nco(),n_R),noO(n,c),h=0,r=new h1(n.b);r.an.k&&(n.q=n_L,noO(n,c));break;case 6:b=LU(nTv.Math.ceil(n.f.length*f/100)),noO(n,new f4(b));break;case 5:l=LU(nTv.Math.ceil(n.d*f/100)),noO(n,new f5(l))}(function(n,t){var e,i,r,c,a,u;for(e=0,r=new wn;e<=n.i;e++)(i=new $o(t)).p=n.i-e,r.c[r.c.length]=i;for(u=new h1(n.o);u.a=2){for(b=!0,e=Im(xe(h=new h1(r.j)),11),f=null;h.a0&&c>0?a.p=t++:i>0?a.p=e++:c>0?a.p=r++:a.p=e++}NV(),E_(n.j,new ez)}(h),UU(h,(nhu(),nDl),h),w.c=_f(nEX,nhA,1,0,5,1),m.c=_f(nEX,nhA,1,0,5,1),e=new wn,GW(v=new vK,nen(h,(nsR(),nW$))),ns0(n,v,w,m,e),u=g,c=new h1(w);c.a0)},AY(ndw,"PartitionPreprocessor/lambda$2$Type",1577),nrr(1578,1,nh1,eZ),nTm.td=function(n){var t,e;nuQ(t=Im(n,17),!0),e=nfP,MB(t,(ns8(),nF$))&&(e+=Im(ntP(t,nF$),19).a),UU(t,nF$,Va(e))},AY(ndw,"PartitionPreprocessor/lambda$3$Type",1578),nrr(1579,1,nw2,sy),nTm.pf=function(n,t){!function(n,t){var e,i,r,c,a,u;for(ntc(t,"Port order processing",1),u=Im(ntP(n,(ns8(),nFC)),421),e=new h1(n.b);e.a0);e++);if(e>0&&e0);t++);return t>0&&es&&(o=e,h=r,s=i);t.a=h,t.c=o}(n,r)}!function(n){var t,e;for(t=n.a.d.j,e=n.c.d.j;t!=e;)Gv(n.b,t),t=Vp(t);Gv(n.b,t)}(r)}n.a=null}(t.a,i),function(n){var t,e;for(function(n){var t,e,i,r,c,a,u,o,s,h,f;for(e=null,u=null,(r=Im(ntP(n.b,(ns8(),nKL)),376))==(FA(),n_1)&&(e=new wn,u=new wn),a=new h1(n.d);a.a=a)}(o,s),t[o.i.c][s.i.c]=i,t[s.i.c][o.i.c]=i);return t}(i),function(n,t,e){var i,r,c,a,u,o,s;for(s=t.d,n.a=new Fq(s.c.length),n.c=new wt,u=new h1(s);u.a0&&UN(o,!0,(W2(),nXC)),a.k==(ntY(),nAU)&&Nt(o),$J(n.f,a,t)}}(c),function(n){var t,e,i;switch((t=Im(ntP(n.d,(ns8(),nKO)),218)).g){case 2:e=function(n){var t,e,i,r,c,a,u,o,h,f,l,b,w,d,g;for(d=new wn,l=new h1(n.d.b);l.ar.d.d+r.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))),i.b!=i.d.c&&(t=e);f&&(c=Im($a(n.f,a.d.i),57),t.bc.d.d+c.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))}for(u=new OM(Tx(VG(b).a.Kc(),new s));nrc(u);)0!=(a=Im(K4(u),17)).a.b&&(t=Im(MC(a.a),8),a.d.j==(nsR(),nW$)&&((g=new nu9(t,new kp(t.a,r.d.d),r,a)).f.a=!0,g.a=a.d,d.c[d.c.length]=g),a.d.j==nWV&&((g=new nu9(t,new kp(t.a,r.d.d+r.d.a),r,a)).f.d=!0,g.a=a.d,d.c[d.c.length]=g))}return d}(n);break;case 3:i=new wn,vF(Nb(Nw(HV(HV(new CN(null,new D6(n.d.b,16)),new i1),new i0),new i2),new iH),new lw(i)),e=i;break;default:throw new gg("Compaction not supported for "+t+" edges.").e}(function(n,t){var e,i,r,c,a,u,o,s,h;if(0!=t.c.length){for(NV(),C3(t.c,t.c.length,null),i=Im(xe(r=new h1(t)),145);r.a=n.gc())return null;for(e=t;et.d.c){if((b=n.c[t.a.d])==(g=n.c[f.a.d]))continue;nck(vB(vH(vq(v_(new wz,1),100),b),g))}}}}}(this),function(n){var t,e,i,r,c,a,u;for(c=new vK,r=new h1(n.d.a);r.a1)for(t=Mt((e=new wU,++n.b,e),n.d),u=Jz(c,0);u.b!=u.d.c;)a=Im(RP(u),121),nck(vB(vH(vq(v_(new wz,1),0),t),a))}(this),na5(P8(this.d),new dH),r=new h1(this.a.a.b);r.a=d&&(IE(c,Va(h)),v=nTv.Math.max(v,m[h-1]-f),u+=w,g+=m[h-1]-g,f=m[h-1],w=o[h]),w=nTv.Math.max(w,o[h]),++h;u+=w}(b=nTv.Math.min(1/v,1/t.b/u))>i&&(i=b,e=c)}return e},nTm.Wf=function(){return!1},AY(ndA,"MSDCutIndexHeuristic",802),nrr(1617,1,nw2,r_),nTm.pf=function(n,t){!function(n,t){var e,i,r,c;if(ntc(t,"Path-Like Graph Wrapping",1),0==n.b.c.length||(null==(r=new nrb(n)).i&&(r.i=GY(r,new rD)),e=gy(r.i)*r.f/(null==r.i&&(r.i=GY(r,new rD)),gy(r.i)),r.b>e)){nee(t);return}switch(Im(ntP(n,(ns8(),nF9)),337).g){case 2:c=new rK;break;case 0:c=new rI;break;default:c=new rF}if(i=c.Vf(n,r),!c.Wf())switch(Im(ntP(n,n_r),338).g){case 2:i=ne7(r,i);break;case 1:i=nto(r,i)}(function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(!e.dc()){for(a=0,h=0,l=Im((i=e.Kc()).Pb(),19).a;a=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),Va(-1)),nz$),nTa),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ndY),ngX),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Va(-1)),nz$),nTa),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ndZ),ngW),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),Va(4)),nz$),nTa),Vx(nzM)))),xW(n,ndZ,ndV,nx3),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd1),ngW),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),Va(2)),nz$),nTa),Vx(nzM)))),xW(n,nd1,ndV,nx5),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd0),ngV),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),nx9),nzO),nIv),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd2),ngV),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Va(0)),nz$),nTa),Vx(nzM)))),xW(n,nd2,nd0,null),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd3),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Va(nhM)),nz$),nTa),Vx(nzM)))),xW(n,nd3,ndV,nxJ),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd4),ngQ),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),nxy),nzO),nIn),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd5),ngQ),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd6),ngQ),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),nzC),nTr),Vx(nzM)))),xW(n,nd6,ngJ,nxw),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd8),ngQ),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),nzI),nTt),Vx(nzM)))),xW(n,nd8,nd4,nxv),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd9),ngQ),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),Va(-1)),nz$),nTa),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd7),ngQ),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Va(-1)),nz$),nTa),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngn),ngY),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),Va(40)),nz$),nTa),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngt),ngY),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),nxf),nzO),nIh),Vx(nzM)))),xW(n,ngt,nd4,nxl),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nge),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),nxu),nzO),nIh),Vx(nzM)))),xW(n,nge,nd4,nxo),xW(n,nge,ngJ,nxs),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngi),ngZ),"Node Placement Strategy"),"Strategy for node placement."),nRy),nzO),nIp),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,ngr),ngZ),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),nzI),nTt),Vx(nzM)))),xW(n,ngr,ngi,nRh),xW(n,ngr,ngi,nRf),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngc),ng1),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),nRr),nzO),nIa),Vx(nzM)))),xW(n,ngc,ngi,nRc),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nga),ng1),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),nRu),nzO),nIu),Vx(nzM)))),xW(n,nga,ngi,nRo),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngu),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),nzC),nTr),Vx(nzM)))),xW(n,ngu,ngi,nRb),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,ngo),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),nzO),nIg),Vx(nzT)))),xW(n,ngo,ngi,nRv),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngs),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),nRg),nzO),nIg),Vx(nzM)))),xW(n,ngs,ngi,nRp),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngh),ng0),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),nx$),nzO),nIj),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngf),ng0),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),nxL),nzO),nIE),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngl),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),nxx),nzO),nIT),Vx(nzM)))),xW(n,ngl,ng2,nxR),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngb),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),nzC),nTr),Vx(nzM)))),xW(n,ngb,ng2,nxF),xW(n,ngb,ngl,nx_),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngw),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),nzC),nTr),Vx(nzM)))),xW(n,ngw,ng2,nxO),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,ngd),ng3),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngg),ng3),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngp),ng3),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngv),ng3),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngm),ng4),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),Va(0)),nz$),nTa),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngy),ng4),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Va(0)),nz$),nTa),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngk),ng4),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),Va(0)),nz$),nTa),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngj),ng5),nbW),"Tries to further compact components (disconnected sub-graphs)."),!1),nzI),nTt),Vx(nzM)))),xW(n,ngj,nwE,!0),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngE),ng6),"Post Compaction Strategy"),ng8),nD4),nzO),nIo),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngT),ng6),"Post Compaction Constraint Calculation"),ng8),nD2),nzO),nP7),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngM),ng9),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngS),ng9),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Va(16)),nz$),nTa),Vx(nzM)))),xW(n,ngS,ngM,!0),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngP),ng9),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Va(5)),nz$),nTa),Vx(nzM)))),xW(n,ngP,ngM,!0),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngI),ng7),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),nR1),nzO),nIS),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngC),ng7),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),nzC),nTr),Vx(nzM)))),xW(n,ngC,ngI,nRN),xW(n,ngC,ngI,nRL),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngO),ng7),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),nzC),nTr),Vx(nzM)))),xW(n,ngO,ngI,nRx),xW(n,ngO,ngI,nRR),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngA),npn),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),nRG),nzO),nIt),Vx(nzM)))),xW(n,ngA,ngI,nRz),xW(n,ngA,ngI,nRU),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,ng$),npn),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),nzN),nEZ),Vx(nzM)))),xW(n,ng$,ngA,nRF),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngN),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),nRH),nz$),nTa),Vx(nzM)))),xW(n,ngN,ngA,nRB),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngL),npt),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),nR5),nzO),nIM),Vx(nzM)))),xW(n,ngL,ngI,nR6),xW(n,ngL,ngI,nR8),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,ngD),npt),"Valid Indices for Wrapping"),null),nzN),nEZ),Vx(nzM)))),xW(n,ngD,ngI,nR2),xW(n,ngD,ngI,nR3),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngx),npe),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),nzI),nTt),Vx(nzM)))),xW(n,ngx,ngI,nRQ),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngR),npe),"Distance Penalty When Improving Cuts"),null),2),nzC),nTr),Vx(nzM)))),xW(n,ngR,ngI,nRW),xW(n,ngR,ngx,!0),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngK),npe),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),nzI),nTt),Vx(nzM)))),xW(n,ngK,ngI,nRY),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngF),npi),"Edge Label Side Selection"),"Method to decide on edge label sides."),nxI),nzO),nIc),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ng_),npi),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),nxS),nzO),nP9),C6(nzM,Um(Dg(nCr,1),nfh,175,0,[nzE]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngH),npr),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),nxi),nzO),nIm),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngB),npr),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),nzI),nTt),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngq),npr),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),nD6),nzO),nPz),Vx(nzM)))),xW(n,ngq,nwE,null),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngG),npr),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),nxn),nzO),nId),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngz),npr),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),nzC),nTr),Vx(nzM)))),xW(n,ngz,ngH,null),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngU),npr),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),nzC),nTr),Vx(nzM)))),xW(n,ngU,ngH,null),nhb((new sP,n))},AY(nd$,"LayeredMetaDataProvider",848),nrr(986,1,nbo,sP),nTm.Qe=function(n){nhb(n)},AY(nd$,"LayeredOptions",986),nrr(987,1,{},rB),nTm.$e=function(){return new wV},nTm._e=function(n){},AY(nd$,"LayeredOptions/LayeredFactory",987),nrr(1372,1,{}),nTm.a=0,AY(npU,"ElkSpacings/AbstractSpacingsBuilder",1372),nrr(779,1372,{},Qs),AY(nd$,"LayeredSpacings/LayeredSpacingsBuilder",779),nrr(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},yN),nTm.Kf=function(){return nrX(this)},nTm.Xf=function(){return nrX(this)};var nIw=qE(nd$,"LayeringStrategy",313,nE2,function(){return ntt(),Um(Dg(nIw,1),nfh,313,0,[n_l,n_h,n_o,n_s,n_b,n_f])},function(n){return ntt(),H5((qn(),n_w),n)});nrr(378,22,{3:1,35:1,22:1,378:1},yL);var nId=qE(nd$,"LongEdgeOrderingStrategy",378,nE2,function(){return Wf(),Um(Dg(nId,1),nfh,378,0,[n_d,n_g,n_p])},function(n){return Wf(),H5((F2(),n_v),n)});nrr(197,22,{3:1,35:1,22:1,197:1},yD);var nIg=qE(nd$,"NodeFlexibility",197,nE2,function(){return Yp(),Um(Dg(nIg,1),nfh,197,0,[n_k,n_j,n_y,n_m])},function(n){return Yp(),H5((Ht(),n_E),n)});nrr(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},yx),nTm.Kf=function(){return nrv(this)},nTm.Xf=function(){return nrv(this)};var nIp=qE(nd$,"NodePlacementStrategy",315,nE2,function(){return YN(),Um(Dg(nIp,1),nfh,315,0,[n_I,n_M,n_S,n_T,n_P])},function(n){return YN(),H5((Bi(),n_C),n)});nrr(260,22,{3:1,35:1,22:1,260:1},yK);var nIv=qE(nd$,"NodePromotionStrategy",260,nE2,function(){return nco(),Um(Dg(nIv,1),nfh,260,0,[n_x,n_A,n_L,n_$,n_N,n_O,n_D,n_R])},function(n){return nco(),H5((zv(),n_K),n)});nrr(339,22,{3:1,35:1,22:1,339:1},yF);var nIm=qE(nd$,"OrderingStrategy",339,nE2,function(){return U1(),Um(Dg(nIm,1),nfh,339,0,[n__,n_F,n_H])},function(n){return U1(),H5((F4(),n_B),n)});nrr(421,22,{3:1,35:1,22:1,421:1},y_);var nIy=qE(nd$,"PortSortingStrategy",421,nE2,function(){return HL(),Um(Dg(nIy,1),nfh,421,0,[n_q,n_G])},function(n){return HL(),H5((Kw(),n_z),n)});nrr(452,22,{3:1,35:1,22:1,452:1},yH);var nIk=qE(nd$,"PortType",452,nE2,function(){return qF(),Um(Dg(nIk,1),nfh,452,0,[n_W,n_U,n_X])},function(n){return qF(),H5((F5(),n_V),n)});nrr(375,22,{3:1,35:1,22:1,375:1},yB);var nIj=qE(nd$,"SelfLoopDistributionStrategy",375,nE2,function(){return zp(),Um(Dg(nIj,1),nfh,375,0,[n_Q,n_J,n_Y])},function(n){return zp(),H5((F3(),n_Z),n)});nrr(376,22,{3:1,35:1,22:1,376:1},yq);var nIE=qE(nd$,"SelfLoopOrderingStrategy",376,nE2,function(){return FA(),Um(Dg(nIE,1),nfh,376,0,[n_0,n_1])},function(n){return FA(),H5((Kb(),n_2),n)});nrr(304,1,{304:1},no6),AY(nd$,"Spacings",304),nrr(336,22,{3:1,35:1,22:1,336:1},yG);var nIT=qE(nd$,"SplineRoutingMode",336,nE2,function(){return XJ(),Um(Dg(nIT,1),nfh,336,0,[n_3,n_4,n_5])},function(n){return XJ(),H5((F8(),n_6),n)});nrr(338,22,{3:1,35:1,22:1,338:1},yz);var nIM=qE(nd$,"ValidifyStrategy",338,nE2,function(){return G7(),Um(Dg(nIM,1),nfh,338,0,[n_7,n_8,n_9])},function(n){return G7(),H5((F9(),nHn),n)});nrr(377,22,{3:1,35:1,22:1,377:1},yU);var nIS=qE(nd$,"WrappingStrategy",377,nE2,function(){return UE(),Um(Dg(nIS,1),nfh,377,0,[nHe,nHi,nHt])},function(n){return UE(),H5((F6(),nHr),n)});nrr(1383,1,npV,sI),nTm.Yf=function(n){return Im(n,37),nHc},nTm.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,s,h;for(ntc(e,"Depth-first cycle removal",1),o=(s=t.a).c.length,n.c=new wn,n.d=_f(nYL,nbf,25,o,16,1),n.a=_f(nYL,nbf,25,o,16,1),n.b=new wn,c=0,u=new h1(s);u.a0?S+1:1);for(c=new h1(k.g);c.a0?S+1:1)}0==n.c[o]?I2(n.e,w):0==n.a[o]&&I2(n.f,w),++o}for(b=-1,l=1,h=new wn,n.d=Im(ntP(t,(nhu(),nDL)),230);A>0;){for(;0!=n.e.b;)I=Im(IF(n.e),10),n.b[I.p]=b--,na6(n,I),--A;for(;0!=n.f.b;)C=Im(IF(n.f),10),n.b[C.p]=l++,na6(n,C),--A;if(A>0){for(f=nfp,p=new h1(v);p.a=f&&(m>f&&(h.c=_f(nEX,nhA,1,0,5,1),f=m),h.c[h.c.length]=w);s=n.Zf(h),n.b[s.p]=l++,na6(n,s),--A}}for(o=0,P=v.c.length+1;on.b[O]&&(nuQ(i,!0),UU(t,nL8,(TX(),!0)));n.a=null,n.c=null,n.b=null,Nq(n.f),Nq(n.e),nee(e)}(this,Im(n,37),t)},nTm.Zf=function(n){return Im(CA(n,Yk(this.d,n.c.length)),10)},AY(npQ,"GreedyCycleBreaker",782),nrr(1386,782,npV,k3),nTm.Zf=function(n){var t,e,i,r;for(r=null,t=nhM,i=new h1(n);i.a0&&function n(t,e,i){var r,c,a,u;for(e.p=-1,u=QT(e,(qF(),n_X)).Kc();u.Ob();)for(c=new h1(Im(u.Pb(),11).g);c.a0&&n(t,a,i));e.p=0}(n,u,h);for(r=new h1(h);r.a=j||!function(n,t){var e;for(e=new OM(Tx(Vz(n).a.Kc(),new s));nrc(e);)if(Im(K4(e),17).d.i.c==t)return!1;return!0}(v,i))&&(i=DJ(t,f)),DT(v,i),c=new OM(Tx(VG(v).a.Kc(),new s));nrc(c);)r=Im(K4(c),17),n.a[r.p]||(g=r.c.i,--n.e[g.p],0==n.e[g.p]&&_w(ntp(w,g)));for(h=f.c.length-1;h>=0;--h)IE(t.b,(D4(h,f.c.length),Im(f.c[h],29)));t.a.c=_f(nEX,nhA,1,0,5,1),nee(e)}(this,Im(n,37),t)},AY(npJ,"CoffmanGrahamLayerer",1389),nrr(1390,1,nlX,lj),nTm.ue=function(n,t){return function(n,t,e){var i,r,c,a,u,o;for(i=Im(Fl(n.c,t),15),r=Im(Fl(n.c,e),15),c=i.Zc(i.gc()),a=r.Zc(r.gc());c.Sb()&&a.Sb();)if((u=Im(c.Ub(),19))!=(o=Im(a.Ub(),19)))return EG(u.a,o.a);return c.Ob()||a.Ob()?c.Ob()?1:-1:0}(this.a,Im(n,10),Im(t,10))},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(npJ,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1390),nrr(1391,1,nlX,lE),nTm.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,10),r=Im(t,10),-EG(e.f[i.p],e.f[r.p])},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(npJ,"CoffmanGrahamLayerer/lambda$1$Type",1391),nrr(1392,1,npV,rq),nTm.Yf=function(n){return Im(n,37),Cg(Cg(Cg(new Rf,(ntI(),nAd),(nhs(),n$P)),nAg,n$x),nAp,n$D)},nTm.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(ntc(e,"Interactive node layering",1),i=new wn,b=new h1(t.a);b.a=o){MK(p.b>0),p.a.Xb(p.c=--p.b);break}d.a>s&&(r?(Uf(r.b,d.b),r.a=nTv.Math.max(r.a,d.a),$I(p)):(IE(d.b,f),d.c=nTv.Math.min(d.c,s),d.a=nTv.Math.max(d.a,o),r=d))}r||((r=new w6).c=s,r.a=o,SB(p,r),IE(r.b,f))}for(u=t.b,h=0,g=new h1(i);g.a=0)return r;for(c=1,a=new h1(e.j);a.a=d&&n.e[o.p]>b*n.b||v>=e*d)&&(f.c[f.c.length]=u,u=new wn,Gz(a,c),c.a.$b(),s-=h,l=nTv.Math.max(l,s*n.b+w),s+=v,p=v,v=0,h=0,w=0);return new k_(l,f)}(n,I,i,T,E)).a)),p=(b=Im(S.b,15)).gc(),(v1)for(d=_f(nYN,nfB,25,n.b.b.c.length,15,1),f=0,h=new h1(n.b.b);h.ai.p?-1:0},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(npJ,"StretchWidthLayerer/1",1394),nrr(402,1,npY),nTm.Nf=function(n,t,e,i,r,c){},nTm._f=function(n,t,e){return nun(this,n,t,e)},nTm.Mf=function(){this.g=_f(nYK,npZ,25,this.d,15,1),this.f=_f(nYK,npZ,25,this.d,15,1)},nTm.Of=function(n,t){this.e[n]=_f(nYN,nfB,25,t[n].length,15,1)},nTm.Pf=function(n,t,e){e[n][t].p=t,this.e[n][t]=t},nTm.Qf=function(n,t,e,i){Im(CA(i[n][t].j,e),11).p=this.d++},nTm.b=0,nTm.c=0,nTm.d=0,AY(np1,"AbstractBarycenterPortDistributor",402),nrr(1633,1,nlX,lM),nTm.ue=function(n,t){var e,i,r,c,a,u,o;return e=this.a,i=Im(n,11),r=Im(t,11),(u=i.j)!=(o=r.j)?u.g-o.g:(c=e.f[i.p],a=e.f[r.p],0==c&&0==a?0:0==c?-1:0==a?1:Vv(c,a))},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(np1,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),nrr(817,1,ndS,Rw),nTm.Nf=function(n,t,e,i,r,c){},nTm.Pf=function(n,t,e){},nTm.Qf=function(n,t,e,i){},nTm.Lf=function(){return!1},nTm.Mf=function(){this.c=this.e.a,this.g=this.f.g},nTm.Of=function(n,t){t[n][0].c.p=n},nTm.Rf=function(){return!1},nTm.ag=function(n,t,e,i){e?nns(this,n):(nnj(this,n,i),nsb(this,n,t)),n.c.length>1&&(gm(So(ntP($N((D4(0,n.c.length),Im(n.c[0],10))),(ns8(),nKl))))?nrK(n,this.d,Im(this,660)):(NV(),E_(n,this.d)),z4(this.e,n))},nTm.Sf=function(n,t,e,i){var r,c,a,u,o,s,h;for(t!=CF(e,n.length)&&(c=n[t-(e?1:-1)],FK(this.f,c,e?(qF(),n_X):(qF(),n_U))),r=n[t][0],h=!i||r.k==(ntY(),nAU),s=Fs(n[t]),this.ag(s,h,!1,e),a=0,o=new h1(s);o.a"),n=14&&u<=16)?e.a._b(r)?(i.a?jP(i.a,i.b):i.a=new TV(i.d),jM(i.a,"[...]")):Fd(i,n(BJ(r),new CI(e))):Ti(r,177)?Fd(i,function(n){var t,e,i,r;if(null==n)return nhL;for(e=0,r=new zV(nhC,"[","]"),i=n.length;e0?Ds(this.a,n[t-1],n[t]):!e&&tc})(n,Im(u.Xb(c),11),Im(u.Xb(c+1),11),i)&&(a=!0,xw(n.a,Im(u.Xb(c),11),Im(u.Xb(c+1),11)),o=Im(u.Xb(c+1),11),u._c(c+1,Im(u.Xb(c),11)),u._c(c,o),r=!0);while(r);return a}(n,u,f,l));return r}(this,n,t,e)},nTm.Mf=function(){this.d=_f(nYN,nfB,25,this.c,15,1),this.a=new Px(this.d)},nTm.Pf=function(n,t,e){var i;i=e[n][t],this.c+=i.j.c.length},nTm.c=0,AY(np1,"GreedyPortDistributor",1832),nrr(1401,1,npV,sC),nTm.Yf=function(n){var t,e;return t=Im(n,37),e=Eo(nHw),Im(ntP(t,(nhu(),nDu)),21).Hc((ncJ(),nLR))&&Cg(e,(ntI(),nAp),(nhs(),n$X)),e},nTm.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(ntc(t,"Interactive crossing minimization",1),a=0,c=new h1(n.b);c.a0&&(e+=o.n.a+o.o.a/2,++f),b=new h1(o.j);b.a0&&(e/=f),g=_f(nYR,nlf,25,i.a.c.length,15,1),u=0,s=new h1(i.a);s.a=2){for(a=Im(RP(o=Jz(e,0)),8),u=Im(RP(o),8);u.a0&&(t.td(e),e.i&&function(n){var t;n.g&&(ncR((t=n.c.Rf()?n.f:n.a).a,n.o,!0),ncR(t.a,n.o,!1),UU(n.o,(ns8(),nFE),(nn2(),nWp)))}(e))}(r,a),function(n){var t,e,i;for(i=new h1(n.b);i.ar.p?(ne9(c,nWV),c.d&&(u=c.o.b,t=c.a.b,c.a.b=u-t)):c.j==nWV&&r.p>n.p&&(ne9(c,nW$),c.d&&(u=c.o.b,t=c.a.b,c.a.b=-(u-t)));break}return r}(e=Im(xe(i),10)),l.a.zc(f,l),l.a.zc(e,l)}for(o=l.a.ec().Kc();o.Ob();)u=Im(o.Pb(),10),NV(),E_(u.j,(XQ(),nNi)),u.i=!0,nii(u)}(t,e.j)}(n),nee(e)}(this,Im(n,37),t)},nTm.e=0,AY(np1,"LayerSweepCrossingMinimizer",507),nrr(1398,1,nh1,lA),nTm.td=function(n){!function(n,t){var e,i,r,c,a;if(Tc(n.d,CZ(xi(OK(a=n.e,24),nlA)),CZ(xi(a,nlA))),n.c.a.$b(),0!=gy(Ss(ntP(t.j,(ns8(),nKa))))||0!=gy(Ss(ntP(t.j,nKa))))for(e=nwt,jf(ntP(t.j,nKh))!==jf((U1(),n__))&&UU(t.j,(nhu(),nDa),(TX(),!0)),c=Im(ntP(t.j,nF2),19).a,r=0;re);return r}(n,t))1&&(gm(So(ntP($N((D4(0,n.c.length),Im(n.c[0],10))),(ns8(),nKl))))?nrK(n,this.d,this):(NV(),E_(n,this.d)),gm(So(ntP($N((D4(0,n.c.length),Im(n.c[0],10))),nKl)))||z4(this.e,n))},AY(np1,"ModelOrderBarycenterHeuristic",660),nrr(1803,1,nlX,lL),nTm.ue=function(n,t){var e,i,r,c,a,u,o,s;return 0!=(c=function(n,t,e){if(Au(n.a,t)){if(v$(Im($a(n.a,t),53),e))return 1}else $J(n.a,t,new w_);if(Au(n.a,e)){if(v$(Im($a(n.a,e),53),t))return -1}else $J(n.a,e,new w_);if(Au(n.b,t)){if(v$(Im($a(n.b,t),53),e))return -1}else $J(n.b,t,new w_);if(Au(n.b,e)){if(v$(Im($a(n.b,e),53),t))return 1}else $J(n.b,e,new w_);return 0}(e=this.a,i=Im(n,10),r=Im(t,10)))?c:MB(i,(nhu(),nDj))&&MB(r,nDj)?((a=EG(Im(ntP(i,nDj),19).a,Im(ntP(r,nDj),19).a))<0?na_(e,i,r):a>0&&na_(e,r,i),a):(u=e.c[i.c.p][i.p],o=e.c[r.c.p][r.p],null!=u.a&&null!=o.a)?((s=O_(u.a,o.a))<0?na_(e,i,r):s>0&&na_(e,r,i),s):null!=u.a?(na_(e,i,r),-1):null!=o.a?(na_(e,r,i),1):0},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(np1,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),nrr(1403,1,npV,sx),nTm.Yf=function(n){var t;return Im(n,37),Cg(t=Eo(nHy),(ntI(),nAp),(nhs(),n$X)),t},nTm.pf=function(n,t){ntc((Im(n,37),t),"No crossing minimization",1),nee(t)},AY(np1,"NoCrossingMinimizer",1403),nrr(796,402,npY,pe),nTm.$f=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;switch(f=this.g,e.g){case 1:for(r=0,c=0,h=new h1(n.j);h.a1&&(r.j==(nsR(),nWA)?this.b[n]=!0:r.j==nWJ&&n>0&&(this.b[n-1]=!0))},nTm.f=0,AY(ndM,"AllCrossingsCounter",1798),nrr(587,1,{},GM),nTm.b=0,nTm.d=0,AY(ndM,"BinaryIndexedTree",587),nrr(524,1,{},Px),AY(ndM,"CrossingsCounter",524),nrr(1906,1,nlX,lD),nTm.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,11),r=Im(t,11),EG(e.d[i.p],e.d[r.p])},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(ndM,"CrossingsCounter/lambda$0$Type",1906),nrr(1907,1,nlX,lx),nTm.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,11),r=Im(t,11),EG(e.d[i.p],e.d[r.p])},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(ndM,"CrossingsCounter/lambda$1$Type",1907),nrr(1908,1,nlX,lR),nTm.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,11),r=Im(t,11),EG(e.d[i.p],e.d[r.p])},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(ndM,"CrossingsCounter/lambda$2$Type",1908),nrr(1909,1,nlX,lK),nTm.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,11),r=Im(t,11),EG(e.d[i.p],e.d[r.p])},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(ndM,"CrossingsCounter/lambda$3$Type",1909),nrr(1910,1,nh1,lF),nTm.td=function(n){var t,e;t=this.a,e=Im(n,11),Ix(),IE(t,new k_(e,Va(e.e.c.length+e.g.c.length)))},AY(ndM,"CrossingsCounter/lambda$4$Type",1910),nrr(1911,1,nfw,l_),nTm.Mb=function(n){var t,e;return t=this.a,e=Im(n,11),Ix(),e!=t},AY(ndM,"CrossingsCounter/lambda$5$Type",1911),nrr(1912,1,nh1,lH),nTm.td=function(n){k1(this,n)},AY(ndM,"CrossingsCounter/lambda$6$Type",1912),nrr(1913,1,nh1,yV),nTm.td=function(n){var t;Ix(),RC(this.b,(t=this.a,Im(n,11),t))},AY(ndM,"CrossingsCounter/lambda$7$Type",1913),nrr(826,1,nbt,rV),nTm.Lb=function(n){return Ix(),MB(Im(n,11),(nhu(),nDA))},nTm.Fb=function(n){return this===n},nTm.Mb=function(n){return Ix(),MB(Im(n,11),(nhu(),nDA))},AY(ndM,"CrossingsCounter/lambda$8$Type",826),nrr(1905,1,{},lB),AY(ndM,"HyperedgeCrossingsCounter",1905),nrr(467,1,{35:1,467:1},S1),nTm.wd=function(n){var t;return t=Im(n,467),this.et.e?1:this.ft.f?1:Xg(this)-Xg(t)},nTm.b=0,nTm.c=0,nTm.e=0,nTm.f=0;var nIA=AY(ndM,"HyperedgeCrossingsCounter/Hyperedge",467);nrr(362,1,{35:1,362:1},Nm),nTm.wd=function(n){return function(n,t){if(n.ct.c)return 1;if(n.bt.b)return 1;if(n.a!=t.a)return Xg(n.a)-Xg(t.a);if(n.d==(KI(),nHT)&&t.d==nHE)return -1;if(n.d==nHE&&t.d==nHT)return 1;return 0}(this,Im(n,362))},nTm.b=0,nTm.c=0;var nI$=AY(ndM,"HyperedgeCrossingsCounter/HyperedgeCorner",362);nrr(523,22,{3:1,35:1,22:1,523:1},yW);var nIN=qE(ndM,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,nE2,function(){return KI(),Um(Dg(nIN,1),nfh,523,0,[nHT,nHE])},function(n){return KI(),H5((Kv(),nHM),n)});nrr(1405,1,npV,sS),nTm.Yf=function(n){return Im(ntP(Im(n,37),(nhu(),nDu)),21).Hc((ncJ(),nLL))?nHS:null},nTm.pf=function(n,t){!function(n,t,e){var i;for(ntc(e,"Interactive node placement",1),n.a=Im(ntP(t,(nhu(),nDF)),304),i=new h1(t.b);i.a=0)return!1;if(e.p=i.b,IE(i.e,e),r==(ntY(),nAW)||r==nAQ){for(c=new h1(e.j);c.a=0){for(o=null,u=new Rn(h.a,s+1);u.b0&&o[i]&&(w=EY(n.b,o[i],r)),d=nTv.Math.max(d,r.c.c.b+w);for(c=new h1(h.e);c.a=s&&k>=g&&(l+=w.n.b+d.n.b+d.a.b-y,++u));if(e)for(a=new h1(v.e);a.a=s&&k>=g&&(l+=w.n.b+d.n.b+d.a.b-y,++u))}u>0&&(j+=l/u,++b)}b>0?(t.a=r*j/b,t.g=b):(t.a=0,t.g=0)}(n,w,c,f,i),E+=nTv.Math.abs(w.a);do u=function(n,t){var e,i,r,c,a,u,o,s,h,f;for(e=!1,h=nfg*gy(Ss(ntP(t,(ns8(),nFJ)))),i=new h1(t.b);i.ac.n.b-c.d.d+o.a+h&&(f=u.g+o.g,o.a=(o.g*o.a+u.g*u.a)/f,o.g=f,u.f=o,e=!0)),r=c,u=o;return e}(n,t);while(u);for(d=n.a,p=0,m=d.length;pk)?(o=2,a=nhM):(o=0==o?1:0,a=E):(b=E>=a||a-E0?(h=Im(CA(f.c.a,c-1),10),E=EY(n.b,f,h),d=f.n.b-f.d.d-(h.n.b+h.o.b+h.d.a+E)):d=f.n.b-f.d.d,o=nTv.Math.min(d,o),c=o.c.c.length?RH((ntY(),nAV),nAW):RH((ntY(),nAW),nAW))*2,r=e.a.g,e.a.g=nTv.Math.max(r,r+(s-r)),c=e.b.g,e.b.g=nTv.Math.max(c,c+(s-c)),i=t}}(n),nee(c)),function(n){var t,e,i;for(e=0,i=new h1(n.a);i.a1&&function(n,t){var e,i,r;for(e=Mt(new wU,n),r=new h1(t);r.a1},AY(np0,"NetworkSimplexPlacer/lambda$18$Type",1431),nrr(1432,1,nh1,Nk),nTm.td=function(n){var t,e,i,r,c;t=this.c,e=this.b,i=this.d,r=this.a,c=Im(n,401),Dx(),nck(vB(vH(v_(vq(new wz,0),c.d.e-t),e),c.d)),nck(vB(vH(v_(vq(new wz,0),i-c.a.e),c.a),r))},nTm.c=0,nTm.d=0,AY(np0,"NetworkSimplexPlacer/lambda$19$Type",1432),nrr(1415,1,{},r8),nTm.Kb=function(n){return Dx(),new CN(null,new D6(Im(n,29).a,16))},AY(np0,"NetworkSimplexPlacer/lambda$2$Type",1415),nrr(1433,1,nh1,lU),nTm.td=function(n){var t,e;t=this.a,e=Im(n,11),Dx(),e.n.b+=t},nTm.a=0,AY(np0,"NetworkSimplexPlacer/lambda$20$Type",1433),nrr(1434,1,{},r9),nTm.Kb=function(n){return Dx(),new CN(null,new D6(Im(n,29).a,16))},AY(np0,"NetworkSimplexPlacer/lambda$21$Type",1434),nrr(1435,1,nh1,lX),nTm.td=function(n){var t,e;t=this.a,e=Im(n,10),t.j[e.p]=function(n){var t,e,i,r;for(t=0,e=0,r=new h1(n.j);r.a1||e>1)return 2;return t+e==1?2:0}(e)},AY(np0,"NetworkSimplexPlacer/lambda$22$Type",1435),nrr(1436,1,nfw,r7),nTm.Mb=function(n){return Sj(n)},AY(np0,"NetworkSimplexPlacer/lambda$23$Type",1436),nrr(1437,1,{},cn),nTm.Kb=function(n){return Dx(),new CN(null,new D6(Im(n,29).a,16))},AY(np0,"NetworkSimplexPlacer/lambda$24$Type",1437),nrr(1438,1,nfw,lW),nTm.Mb=function(n){var t,e;return t=this.a,e=Im(n,10),2==t.j[e.p]},AY(np0,"NetworkSimplexPlacer/lambda$25$Type",1438),nrr(1439,1,nh1,yY),nTm.td=function(n){!function(n,t,e){var i,r,c;for(r=new OM(Tx(Vq(e).a.Kc(),new s));nrc(r);)KR(i=Im(K4(r),17))||!KR(i)&&i.c.i.c==i.d.i.c||!((c=function n(t,e,i,r){var c,a,u;if(u=nny(e,i),r.c[r.c.length]=e,-1==t.j[u.p]||2==t.j[u.p]||t.a[e.p])return r;for(t.j[u.p]=-1,a=new OM(Tx(Vq(u).a.Kc(),new s));nrc(a);)if(!KR(c=Im(K4(a),17))&&!(!KR(c)&&c.c.i.c==c.d.i.c)&&c!=e)return n(t,c,u,r);return r}(n,i,e,new dn)).c.length>1)||(t.c[t.c.length]=c)}(this.a,this.b,Im(n,10))},AY(np0,"NetworkSimplexPlacer/lambda$26$Type",1439),nrr(1440,1,nfw,ct),nTm.Mb=function(n){return Dx(),!KR(Im(n,17))},AY(np0,"NetworkSimplexPlacer/lambda$27$Type",1440),nrr(1441,1,nfw,ce),nTm.Mb=function(n){return Dx(),!KR(Im(n,17))},AY(np0,"NetworkSimplexPlacer/lambda$28$Type",1441),nrr(1442,1,{},lV),nTm.Ce=function(n,t){var e;return function(n,t,e){var i,r,c,a,u,o,s,h;for(o=new wn,u=new h1(t.a);u.a0),c=Im(s.a.Xb(s.c=--s.b),17);c!=i&&s.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,MK(s.b>0),c=Im(s.a.Xb(s.c=--s.b),17);s.b>0&&$I(s)}}(this.a,Im(n,29),e=Im(t,29)),e},AY(np0,"NetworkSimplexPlacer/lambda$29$Type",1442),nrr(1416,1,{},ci),nTm.Kb=function(n){return Dx(),new CN(null,new A$(new OM(Tx(Vz(Im(n,10)).a.Kc(),new s))))},AY(np0,"NetworkSimplexPlacer/lambda$3$Type",1416),nrr(1417,1,nfw,cr),nTm.Mb=function(n){var t;return Dx(),t=Im(n,17),Dx(),!KR(t)&&!(!KR(t)&&t.c.i.c==t.d.i.c)},AY(np0,"NetworkSimplexPlacer/lambda$4$Type",1417),nrr(1418,1,nh1,lQ),nTm.td=function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b;t=this.a,e=Im(n,17),i=Mt(new wU,t.f),o=t.i[e.c.i.p],l=t.i[e.d.i.p],u=e.c,f=e.d,a=u.a.b,h=f.a.b,o.b||(a+=u.n.b),l.b||(h+=f.n.b),s=LU(nTv.Math.max(0,a-h)),c=LU(nTv.Math.max(0,h-a)),b=nTv.Math.max(1,Im(ntP(e,(ns8(),nFL)),19).a)*RH(e.c.i.k,e.d.i.k),r=new yQ(nck(vB(vH(v_(vq(new wz,b),c),i),Im($a(t.k,e.c),121))),nck(vB(vH(v_(vq(new wz,b),s),i),Im($a(t.k,e.d),121)))),t.c[e.p]=r},AY(np0,"NetworkSimplexPlacer/lambda$5$Type",1418),nrr(1419,1,{},cc),nTm.Kb=function(n){return Dx(),new CN(null,new D6(Im(n,29).a,16))},AY(np0,"NetworkSimplexPlacer/lambda$6$Type",1419),nrr(1420,1,nfw,ca),nTm.Mb=function(n){return Dx(),Im(n,10).k==(ntY(),nAV)},AY(np0,"NetworkSimplexPlacer/lambda$7$Type",1420),nrr(1421,1,{},cu),nTm.Kb=function(n){return Dx(),new CN(null,new A$(new OM(Tx(Vq(Im(n,10)).a.Kc(),new s))))},AY(np0,"NetworkSimplexPlacer/lambda$8$Type",1421),nrr(1422,1,nfw,co),nTm.Mb=function(n){var t;return Dx(),!KR(t=Im(n,17))&&t.c.i.c==t.d.i.c},AY(np0,"NetworkSimplexPlacer/lambda$9$Type",1422),nrr(1404,1,npV,sB),nTm.Yf=function(n){return Im(ntP(Im(n,37),(nhu(),nDu)),21).Hc((ncJ(),nLL))?nHA:null},nTm.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o,s,h,f;for(ntc(t,"Simple node placement",1),f=Im(ntP(n,(nhu(),nDF)),304),u=0,c=new h1(n.b);c.aa&&(a=r,h.c=_f(nEX,nhA,1,0,5,1)),r==a&&IE(h,new k_(e.c.i,e)));NV(),E_(h,n.c),C4(n.b,u.p,h)}}(l,n),l.f=Mj(l.d),function(n,t){var e,i,r,c,a,u,o,h;for(c=new h1(t.b);c.aa&&(a=r,h.c=_f(nEX,nhA,1,0,5,1)),r==a&&IE(h,new k_(e.d.i,e)));NV(),E_(h,n.c),C4(n.f,u.p,h)}}(l,n),l}(t),i=Im(ntP(t,(ns8(),nFt)),274),w=gm(So(ntP(t,nFe))),n.d=i==(nnS(),nLy)&&!w||i==nLp,function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;if(!((d=t.b.c.length)<3)){for(b=_f(nYN,nfB,25,d,15,1),f=0,h=new h1(t.b);h.aa)&&Av(n.b,Im(g.b,17));++u}c=a}}}(n,t),k=null,j=null,p=null,v=null,qz(4,nfs),g=new Fq(4),Im(ntP(t,nFt),274).g){case 3:p=new na2(t,n.c.d,(Dh(),nHD),(LR(),nH$)),g.c[g.c.length]=p;break;case 1:v=new na2(t,n.c.d,(Dh(),nHx),(LR(),nH$)),g.c[g.c.length]=v;break;case 4:k=new na2(t,n.c.d,(Dh(),nHD),(LR(),nHN)),g.c[g.c.length]=k;break;case 2:j=new na2(t,n.c.d,(Dh(),nHx),(LR(),nHN)),g.c[g.c.length]=j;break;default:p=new na2(t,n.c.d,(Dh(),nHD),(LR(),nH$)),v=new na2(t,n.c.d,nHx,nH$),k=new na2(t,n.c.d,nHD,nHN),j=new na2(t,n.c.d,nHx,nHN),g.c[g.c.length]=k,g.c[g.c.length]=j,g.c[g.c.length]=p,g.c[g.c.length]=v}for(r=new yZ(t,n.c),u=new h1(g);u.a0){if(i=f.gc(),s=LU(nTv.Math.floor((i+1)/2))-1,r=LU(nTv.Math.ceil((i+1)/2))-1,t.o==nHx)for(h=r;h>=s;h--)t.a[y.p]==y&&(d=Im(f.Xb(h),46),w=Im(d.a,10),!v$(e,d.b)&&b>n.b.e[w.p]&&(t.a[w.p]=y,t.g[y.p]=t.g[w.p],t.a[y.p]=t.g[y.p],t.f[t.g[y.p].p]=(TX(),!!(gm(t.f[t.g[y.p].p])&y.k==(ntY(),nAW))),b=n.b.e[w.p]));else for(h=s;h<=r;h++)t.a[y.p]==y&&(p=Im(f.Xb(h),46),g=Im(p.a,10),!v$(e,p.b)&&b0||i.o==nHx&&cnla||t.o==nHD&&sj[o]&&(w=o),h=new h1(n.a.b);h.anrI(c))&&(l=c);for(l||(D4(0,g.c.length),l=Im(g.c[0],180)),d=new h1(t.b);d.a0?(b=(w-1)*e,u&&(b+=i),h&&(b+=i),!(b0&&(y-=w),noq(a,y),f=0,b=new h1(a.a);b.a1,h=new Fm(b.b);EH(h.a)||EH(h.b);)l=(o=Im(EH(h.a)?xe(h.a):xe(h.b),17)).c==b?o.d:o.c,nTv.Math.abs(Xt(Um(Dg(nCa,1),nhJ,8,0,[l.i.n,l.n,l.a])).b-a.b)>1&&function(n,t,e,i,r){var c,a;(KR(t)||t.c.i.c!=t.d.i.c)&&Gl(Xt(Um(Dg(nCa,1),nhJ,8,0,[r.i.n,r.n,r.a])),e)||KR(t)||(t.c==r?Mq(t.a,0,new Ee(e)):I2(t.a,new Ee(e)),i&&!v$(n.a,e)&&((a=Im(ntP(t,(ns8(),nKV)),74))||(a=new dd,UU(t,nKV,a)),KN(a,c=new Ee(e),a.c.b,a.c),Av(n.a,c)))}(n,o,a,c,b)}}(n,l,y,p)}f=nTv.Math.max(f,h)}u.b0),u.a.Xb(u.c=--u.b)),o=.4*i*f,!c&&u.b"+this.b+" ("+(null!=(n=this.c).f?n.f:""+n.g)+")"},nTm.d=0,AY(np6,"HyperEdgeSegmentDependency",129),nrr(520,22,{3:1,35:1,22:1,520:1},y3);var nIF=qE(np6,"HyperEdgeSegmentDependency/DependencyType",520,nE2,function(){return FO(),Um(Dg(nIF,1),nfh,520,0,[nH0,nH1])},function(n){return FO(),H5((Kp(),nH2),n)});nrr(1815,1,{},lY),AY(np6,"HyperEdgeSegmentSplitter",1815),nrr(1816,1,{},ph),nTm.a=0,nTm.b=0,AY(np6,"HyperEdgeSegmentSplitter/AreaRating",1816),nrr(329,1,{329:1},It),nTm.a=0,nTm.b=0,nTm.c=0,AY(np6,"HyperEdgeSegmentSplitter/FreeArea",329),nrr(1817,1,nlX,cS),nTm.ue=function(n,t){var e,i;return e=Im(n,112),i=Im(t,112),Vv(e.c-e.s,i.c-i.s)},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(np6,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),nrr(1818,1,nh1,NE),nTm.td=function(n){var t,e,i,r,c,a;t=this.a,e=this.d,i=this.c,r=this.b,a=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(a=0,c=-1,u=-1;an.c));a++)r.a>=n.s&&(c<0&&(c=a),u=a);return o=(n.s+n.c)/2,c>=0&&(o=((D4(i=function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d;if(ew.b)?0:1)||(r=a,c=u);return e}(n,t,c,u),t.c.length),s=Im(t.c[i],329)).c+s.a)/2,D4(i,t.c.length),d=Im(t.c[i],329),Ff(t,i),d.b/2>=e&&(h=i,b=(g=(d.c+d.a)/2)-e,d.c<=g-e&&(f=new It(d.c,b),C4(t,h++,f)),(w=g+e)<=d.a&&(l=new It(w,d.a),DC(h,t.c.length),m$(t.c,h,l)))),o}(c=Im(n,112),i,r),IE(e,function(n,t){for(n.r=new z3(n.p),n.r.r=n,Gz(n.r.j,n.j),Nq(n.j),I2(n.j,t),I2(n.r.e,t),AB(n),AB(n.r);0!=n.f.c.length;)E0(Im(CA(n.f,0),129));for(;0!=n.k.c.length;)E0(Im(CA(n.k,0),129));return n.r}(c,a)),function(n,t,e){var i,r,c,a;for(c=t.q,a=t.r,new D_((FO(),nH1),t,c,1),new D_(nH1,c,a,1),r=new h1(e);r.anww&&(c=h,r=n,i=new kp(f,c),I2(a.a,i),nul(this,a,r,i,!1),(l=n.r)&&(i=new kp(b=gy(Ss(J7(l.e,0))),c),I2(a.a,i),nul(this,a,r,i,!1),c=t+l.o*e,r=l,i=new kp(b,c),I2(a.a,i),nul(this,a,r,i,!1)),i=new kp(d,c),I2(a.a,i),nul(this,a,r,i,!1)))},nTm.eg=function(n){return n.i.n.a+n.n.a+n.a.a},nTm.fg=function(){return nsR(),nWV},nTm.gg=function(){return nsR(),nW$},AY(np8,"NorthToSouthRoutingStrategy",1807),nrr(1808,661,{},dl),nTm.dg=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;if(!n.r||n.q)for(h=t-n.o*e,s=new h1(n.n);s.anww&&(c=h,r=n,i=new kp(f,c),I2(a.a,i),nul(this,a,r,i,!1),(l=n.r)&&(i=new kp(b=gy(Ss(J7(l.e,0))),c),I2(a.a,i),nul(this,a,r,i,!1),c=t-l.o*e,r=l,i=new kp(b,c),I2(a.a,i),nul(this,a,r,i,!1)),i=new kp(d,c),I2(a.a,i),nul(this,a,r,i,!1)))},nTm.eg=function(n){return n.i.n.a+n.n.a+n.a.a},nTm.fg=function(){return nsR(),nW$},nTm.gg=function(){return nsR(),nWV},AY(np8,"SouthToNorthRoutingStrategy",1808),nrr(1806,661,{},db),nTm.dg=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;if(!n.r||n.q)for(h=t+n.o*e,s=new h1(n.n);s.anww&&(c=h,r=n,i=new kp(c,f),I2(a.a,i),nul(this,a,r,i,!0),(l=n.r)&&(i=new kp(c,b=gy(Ss(J7(l.e,0)))),I2(a.a,i),nul(this,a,r,i,!0),c=t+l.o*e,r=l,i=new kp(c,b),I2(a.a,i),nul(this,a,r,i,!0)),i=new kp(c,d),I2(a.a,i),nul(this,a,r,i,!0)))},nTm.eg=function(n){return n.i.n.b+n.n.b+n.a.b},nTm.fg=function(){return nsR(),nWA},nTm.gg=function(){return nsR(),nWJ},AY(np8,"WestToEastRoutingStrategy",1806),nrr(813,1,{},nu1),nTm.Ib=function(){return ntK(this.a)},nTm.b=0,nTm.c=!1,nTm.d=!1,nTm.f=0,AY(np7,"NubSpline",813),nrr(407,1,{407:1},ncO,LD),AY(np7,"NubSpline/PolarCP",407),nrr(1453,1,npV,Zv),nTm.Yf=function(n){var t,e,i;return t=Im(n,37),zM(e=new Rf,nH3),(i=Im(ntP(t,(nhu(),nDu)),21)).Hc((ncJ(),nL_))&&zM(e,nH8),i.Hc(nLA)&&zM(e,nH4),i.Hc(nLK)&&zM(e,nH6),i.Hc(nLN)&&zM(e,nH5),e},nTm.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C;if(ntc(e,"Spline edge routing",1),0==t.b.c.length){t.f.a=0,nee(e);return}v=gy(Ss(ntP(t,(ns8(),nFY)))),u=gy(Ss(ntP(t,nFz))),a=gy(Ss(ntP(t,nFB))),T=Im(ntP(t,nKD),336)==(XJ(),n_5),E=gy(Ss(ntP(t,nKx))),n.d=t,n.j.c=_f(nEX,nhA,1,0,5,1),n.a.c=_f(nEX,nhA,1,0,5,1),AT(n.k),f=jg((o=Im(CA(t.b,0),29)).a,(ncM(),nHY)),l=jg((d=Im(CA(t.b,t.b.c.length-1),29)).a,nHY),g=new h1(t.b),p=null,I=0;do{for(function(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(n.e.a.$b(),n.f.a.$b(),n.c.c=_f(nEX,nhA,1,0,5,1),n.i.c=_f(nEX,nhA,1,0,5,1),n.g.a.$b(),t)for(a=new h1(t.a);a.at.f)&&!(t.g>n.f)){for(e=0,i=0,a=n.w.a.ec().Kc();a.Ob();)r=Im(a.Pb(),11),Wi(Xt(Um(Dg(nCa,1),nhJ,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++e;for(u=n.r.a.ec().Kc();u.Ob();)r=Im(u.Pb(),11),Wi(Xt(Um(Dg(nCa,1),nhJ,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--e;for(o=t.w.a.ec().Kc();o.Ob();)r=Im(o.Pb(),11),Wi(Xt(Um(Dg(nCa,1),nhJ,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=t.r.a.ec().Kc();c.Ob();)r=Im(c.Pb(),11),Wi(Xt(Um(Dg(nCa,1),nhJ,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;e=w&&(v>w&&(b.c=_f(nEX,nhA,1,0,5,1),w=v),b.c[b.c.length]=a);0!=b.c.length&&(l=Im(CA(b,Yk(t,b.c.length)),128),P.a.Bc(l),l.s=d++,nrW(l,M,j),b.c=_f(nEX,nhA,1,0,5,1))}for(y=n.c.length+1,u=new h1(n);u.aS.s&&($I(e),Hh(S.i,i),i.c>0&&(i.a=S,IE(S.t,i),i.b=E,IE(E.i,i)))})(n.i,Im(ntP(n.d,(nhu(),nDL)),230)),function(n){var t,e,i,r,c,a,u,o,s;for(o=new vK,a=new vK,r=new h1(n);r.a-1){for(i=Jz(a,0);i.b!=i.d.c;)(e=Im(RP(i),128)).v=c;for(;0!=a.b;)for(t=new h1((e=Im(Zq(a,0),128)).i);t.a0?(h=0,p&&(h+=u),h+=(M-1)*a,m&&(h+=u),T&&m&&(h=nTv.Math.max(h,function(n,t,e,i){var r,c,a,u,o,h,f,l;for(u=0,h=new h1(n.a);h.a("+this.c+") "+this.b},nTm.c=0,AY(np7,"SplineEdgeRouter/Dependency",268),nrr(455,22,{3:1,35:1,22:1,455:1},y4);var nI_=qE(np7,"SplineEdgeRouter/SideToProcess",455,nE2,function(){return Lx(),Um(Dg(nI_,1),nfh,455,0,[nH9,nH7])},function(n){return Lx(),H5((Kk(),nBn),n)});nrr(1454,1,nfw,cT),nTm.Mb=function(n){return ncS(),!Im(n,128).o},AY(np7,"SplineEdgeRouter/lambda$0$Type",1454),nrr(1455,1,{},cE),nTm.Ge=function(n){return ncS(),Im(n,128).v+1},AY(np7,"SplineEdgeRouter/lambda$1$Type",1455),nrr(1456,1,nh1,y5),nTm.td=function(n){var t,e,i;t=this.a,e=this.b,i=Im(n,46),$J(t.b,Im(i.b,17),e)},AY(np7,"SplineEdgeRouter/lambda$2$Type",1456),nrr(1457,1,nh1,y6),nTm.td=function(n){var t,e,i;t=this.a,e=this.b,i=Im(n,46),$J(t.b,Im(i.b,17),e)},AY(np7,"SplineEdgeRouter/lambda$3$Type",1457),nrr(128,1,{35:1,128:1},neB,noF),nTm.wd=function(n){var t;return t=Im(n,128),this.s-t.s},nTm.b=0,nTm.e=!1,nTm.f=0,nTm.g=0,nTm.j=!1,nTm.k=!1,nTm.n=0,nTm.o=!1,nTm.p=!1,nTm.q=!1,nTm.s=0,nTm.u=0,nTm.v=0,nTm.F=0,AY(np7,"SplineSegment",128),nrr(459,1,{459:1},cM),nTm.a=0,nTm.b=!1,nTm.c=!1,nTm.d=!1,nTm.e=!1,nTm.f=0,AY(np7,"SplineSegment/EdgeInformation",459),nrr(1234,1,{},cm),AY(nvr,nwc,1234),nrr(1235,1,nlX,cy),nTm.ue=function(n,t){var e,i,r,c,a;return e=Im(n,135),i=Im(t,135),0==(r=Im(ntP(i,(nrw(),nBU)),19).a-Im(ntP(e,nBU),19).a)?(c=S7(E1(Im(ntP(e,(noV(),nBb)),8)),Im(ntP(e,nBw),8)),a=S7(E1(Im(ntP(i,nBb),8)),Im(ntP(i,nBw),8)),Vv(c.a*c.b,a.a*a.b)):r},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nvr,nwa,1235),nrr(1233,1,{},pH),AY(nvr,"MrTree",1233),nrr(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},y8),nTm.Kf=function(){return nip(this)},nTm.Xf=function(){return nip(this)};var nIH=qE(nvr,"TreeLayoutPhases",393,nE2,function(){return ZD(),Um(Dg(nIH,1),nfh,393,0,[nBt,nBe,nBi,nBr])},function(n){return ZD(),H5((_8(),nBc),n)});nrr(1130,209,nbU,S3),nTm.Ze=function(n,t){var e,i,r,c,a,u,o,h;for(gm(So(nrM(n,(nrw(),nBB))))||Lq(new fy((mo(),new gl(n)))),z5(a=new FP,n),UU(a,(noV(),nBE),n),function(n,t,e){var i,r,c,a,u;for(c=0,r=new Td((n.a||(n.a=new An(nCF,n,10,11)),n.a));r.e!=r.i.gc();)i=Im(J1(r),33),a="",0==(i.n||(i.n=new An(nCK,i,1,7)),i.n).i||(a=Im(BX((i.n||(i.n=new An(nCK,i,1,7)),i.n),0),137).a),z5(u=new Xk(c++,t,a),i),UU(u,(noV(),nBE),i),u.e.b=i.j+i.f/2,u.f.a=nTv.Math.max(i.g,1),u.e.a=i.i+i.g/2,u.f.b=nTv.Math.max(i.f,1),I2(t.b,u),neQ(e.f,i,u)}(n,a,u=new wt),function(n,t,e){var i,r,c,a,u,o,h;for(a=new Td((n.a||(n.a=new An(nCF,n,10,11)),n.a));a.e!=a.i.gc();)for(r=new OM(Tx(nrZ(c=Im(J1(a),33)).a.Kc(),new s));nrc(r);)ni5(i=Im(K4(r),79))||ni5(i)||niM(i)||(o=Im(jh(Lj(e.f,c)),86),h=Im($a(e,ntr(Im(BX((i.c||(i.c=new Ph(nCA,i,5,8)),i.c),0),82))),86),o&&h&&(UU(u=new N3(o,h),(noV(),nBE),i),z5(u,i),I2(o.d,u),I2(h.b,u),I2(t.a,u)))}(n,a,u),c=a,r=function(n,t){var e,i,r,c,a,u,o;if(null==(o=So(ntP(t,(nrw(),nBW))))||($D(o),o)){for(function(n,t){var e,i,r,c,a;for(r=t.b.b,n.a=_f(nEZ,nwe,15,r,0,1),n.b=_f(nYL,nbf,25,r,16,1),a=Jz(t.b,0);a.b!=a.d.c;)c=Im(RP(a),86),n.a[c.g]=new vK;for(i=Jz(t.a,0);i.b!=i.d.c;)e=Im(RP(i),188),n.a[e.b.g].Fc(e),n.a[e.c.g].Fc(e)}(n,t),r=new wn,u=Jz(t.b,0);u.b!=u.d.c;)(e=function n(t,e,i){var r,c,a;if(!t.b[e.g]){for(t.b[e.g]=!0,(r=i)||(r=new FP),I2(r.b,e),a=t.a[e.g].Kc();a.Ob();)(c=Im(a.Pb(),188)).b!=e&&n(t,c.b,r),c.c!=e&&n(t,c.c,r),I2(r.a,c);return r}return null}(n,Im(RP(u),86),null))&&(z5(e,t),r.c[r.c.length]=e);if(n.a=null,n.b=null,r.c.length>1)for(i=new h1(r);i.af&&(S=0,P+=h+j,h=0),function(n,t,e,i){var r,c,a,u,o,s;for(S7(u=new kp(e,i),Im(ntP(t,(noV(),nBw)),8)),s=Jz(t.b,0);s.b!=s.d.c;)S9((o=Im(RP(s),86)).e,u),I2(n.b,o);for(a=Jz(t.a,0);a.b!=a.d.c;){for(r=Jz((c=Im(RP(a),188)).a,0);r.b!=r.d.c;)S9(Im(RP(r),8),u);I2(n.a,c)}}(y,a,S,P),t=nTv.Math.max(t,S+k.a),h=nTv.Math.max(h,k.b),S+=k.a+j;for(m=new wt,e=new wt,T=new h1(n);T.a"+xs(this.c):"e_"+Xg(this)},AY(nvc,"TEdge",188),nrr(135,134,{3:1,135:1,94:1,134:1},FP),nTm.Ib=function(){var n,t,e,i,r;for(r=null,i=Jz(this.b,0);i.b!=i.d.c;)r+=(null==(e=Im(RP(i),86)).c||0==e.c.length?"n_"+e.g:"n_"+e.c)+"\n";for(t=Jz(this.a,0);t.b!=t.d.c;)r+=((n=Im(RP(t),188)).b&&n.c?xs(n.b)+"->"+xs(n.c):"e_"+Xg(n))+"\n";return r};var nIB=AY(nvc,"TGraph",135);nrr(633,502,{3:1,502:1,633:1,94:1,134:1}),AY(nvc,"TShape",633),nrr(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},Xk),nTm.Ib=function(){return xs(this)};var nIq=AY(nvc,"TNode",86);nrr(255,1,nh5,lZ),nTm.Jc=function(n){KA(this,n)},nTm.Kc=function(){return new l1(Jz(this.a.d,0))},AY(nvc,"TNode/2",255),nrr(358,1,nhF,l1),nTm.Nb=function(n){Ao(this,n)},nTm.Pb=function(){return Im(RP(this.a),188).c},nTm.Ob=function(){return pD(this.a)},nTm.Qb=function(){BA(this.a)},AY(nvc,"TNode/2/1",358),nrr(1840,1,nw2,S2),nTm.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,s,h;for(ntc(e,"Processor compute fanout",1),AT(n.b),AT(n.a),u=null,c=Jz(t.b,0);!u&&c.b!=c.d.c;)gm(So(ntP(s=Im(RP(c),86),(noV(),nBC))))&&(u=s);for(KN(o=new vK,u,o.c.b,o.c),function n(t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;if(0!=e.b){for(b=new vK,u=null,w=null,r=LU(nTv.Math.floor(nTv.Math.log(e.b)*nTv.Math.LOG10E)+1),o=0,m=Jz(e,0);m.b!=m.d.c;)for(p=Im(RP(m),86),jf(w)!==jf(ntP(p,(noV(),nBv)))&&(w=Sh(ntP(p,nBv)),o=0),u=null!=w?w+xo(o++,r):xo(o++,r),UU(p,nBv,u),g=new l1(Jz(new lZ(p).a.d,0));pD(g.a);)KN(b,d=Im(RP(g.a),188).c,b.c.b,b.c),UU(d,nBv,u);for(a=0,l=new wt;anvd&&(a-=nvd),f=(s=Im(nrM(c,nXc),8)).a,b=s.b+e,(u=nTv.Math.atan2(b,f))<0&&(u+=nvd),(u+=i)>nvd&&(u-=nvd),ED(),qR(1e-10),1e-10>=nTv.Math.abs(a-u)||a==u||isNaN(a)&&isNaN(u)?0:au?1:j1(isNaN(a),isNaN(u))},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},nTm.a=0,nTm.b=0,AY(nvw,"RadialUtil/lambda$0$Type",549),nrr(1375,1,nw2,c_),nTm.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(ntc(t,"Calculate Graph Size",1),t.n&&n&&xb(t,xQ(n),(XU(),nVd)),u=nwt,o=nwt,c=nvg,a=nvg,f=new Td((n.a||(n.a=new An(nCF,n,10,11)),n.a));f.e!=f.i.gc();)w=(s=Im(J1(f),33)).i,d=s.j,p=s.g,i=s.f,r=Im(nrM(s,(nha(),nUA)),142),u=nTv.Math.min(u,w-r.b),o=nTv.Math.min(o,d-r.d),c=nTv.Math.max(c,w+p+r.c),a=nTv.Math.max(a,d+i+r.a);for(l=new kp(u-(b=Im(nrM(n,(nha(),nUU)),116)).b,o-b.d),h=new Td((n.a||(n.a=new An(nCF,n,10,11)),n.a));h.e!=h.i.gc();)qh(s=Im(J1(h),33),s.i-l.a),qf(s,s.j-l.b);g=c-u+(b.b+b.c),e=a-o+(b.d+b.a),qs(n,g),qo(n,e),t.n&&n&&xb(t,xQ(n),(XU(),nVd))}(Im(n,33),t)},AY(nvp,"CalculateGraphSize",1375),nrr(442,22,{3:1,35:1,22:1,442:1,234:1},ke),nTm.Kf=function(){switch(this.g){case 0:return new cz;case 1:return new cF;case 2:return new c_;default:throw new gd(ndp+(null!=this.f?this.f:""+this.g)).e}};var nIW=qE(nvp,ndv,442,nE2,function(){return V0(),Um(Dg(nIW,1),nfh,442,0,[nqi,nqt,nqe])},function(n){return V0(),H5((_n(),nqr),n)});nrr(645,1,{}),nTm.e=1,nTm.g=0,AY(nvv,"AbstractRadiusExtensionCompaction",645),nrr(1772,645,{},Sr),nTm.hg=function(n){var t,e,i,r,c,a,u,o,s,h,f;for(this.c=Im(nrM(n,(Se(),nB8)),33),h=this.c,this.f=h,this.d=YT(Im(nrM(n,(Zx(),nqD)),293)),(o=Im(nrM(n,nqE),19))&&(f=o.a,this.e=f),$D(u=Ss(nrM(n,(nha(),nXj)))),this.g=u,s=ncY(this.c),this.d&&this.d.lg(s),function(n,t){var e,i,r;for(i=new h1(t);i.a1&&(o=s.mg(o,n.a,u));return 1==o.c.length?Im(CA(o,o.c.length-1),220):2==o.c.length?function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;return(c=n.f,f=t.f,a=c==(ncr(),nGv)||c==nGy,l=f==nGv||f==nGy,u=c==nGm||c==nGk,b=f==nGm||f==nGk,o=c==nGm||c==nGv,w=f==nGm||f==nGv,a&&l)?n.f==nGy?n:t:u&&b?n.f==nGk?n:t:o&&w?(c==nGm?(h=n,s=t):(h=t,s=n),d=e.j+e.f,g=h.e+i.f,p=nTv.Math.max(d,g)-nTv.Math.min(e.j,h.e),r=(h.d+i.g-e.i)*p,v=e.i+e.g,m=s.d+i.g,r<=(nTv.Math.max(v,m)-nTv.Math.min(e.i,s.d))*(s.e+i.f-e.j)?n.f==nGm?n:t:n.f==nGv?n:t):n}((D4(0,o.c.length),Im(o.c[0],220)),(D4(1,o.c.length),Im(o.c[1],220)),a,c):null}(n,o,s,h,f,w,u,i),qh(w,r.d),qf(w,r.e),d=nGj,r.f=d,c=r,u=w,l.c[l.c.length]=w;return c}(new Ie(e,b,g),j,v,y),t.n&&t.n&&n&&xb(t,xQ(n),(XU(),nVd))):r=new Co(e,E,0,(ncr(),nGj)),p.a+=y.b+y.c,p.b+=y.d+y.a,m||(GO(j),r=function(n,t,e,i,r,c,a){var u,o,s,h,f,l,b,w,d,g,p,v;if(g=function(n,t,e){var i,r,c,a,u,o,s,h;for(h=new wn,s=new xI(0,e),c=0,qL(s,new Xj(0,0,s,e)),r=0,o=new Td(n);o.e!=o.i.gc();)u=Im(J1(o),33),i=Im(CA(s.a,s.a.c.length-1),187),r+u.g+(0==Im(CA(s.a,0),187).b.c.length?0:e)>t&&(r=0,c+=s.b+e,h.c[h.c.length]=s,i=new Xj(0,(s=new xI(c,e)).f,s,e),qL(s,i),r=0),0==i.b.c.length||u.f>=i.o&&u.f<=i.f||.5*i.a<=u.f&&1.5*i.a>=u.f?VW(i,u):(a=new Xj(i.s+i.r+e,s.f,s,e),qL(s,a),VW(a,u)),r=u.i+u.g;return h.c[h.c.length]=s,h}(t,e,n.g),r.n&&r.n&&c&&xb(r,xQ(c),(XU(),nVd)),n.b)for(d=0;d=t.o&&e.f<=t.f||.5*t.a<=e.f&&1.5*t.a>=e.f){if((c=Im(CA(t.n,t.n.c.length-1),211)).e+c.d+e.g+r<=i&&(Im(CA(t.n,t.n.c.length-1),211).f-n.f+e.f<=n.b||1==n.a.c.length))return VW(t,e),!0;if(t.s+e.g<=i&&(t.t+t.d+e.f+r<=n.b||1==n.a.c.length))return IE(t.b,e),a=Im(CA(t.n,t.n.c.length-1),211),IE(t.n,new LZ(t.s,a.f+a.a+t.i,t.i)),YJ(Im(CA(t.n,t.n.c.length-1),211),e),nuH(t,e),!0}return!1}(n,t,c,i,r)&&(a=!0,function(n,t){var e,i;for(Hh(n.b,t),i=new h1(n.n);i.a0?n.i:0)),++t;for(function(n,t){var e;for($D(t),e=new h1(n);e.as&&0==(D4(s,t.c.length),Im(t.c[s],200)).a.c.length;)Hh(t,(D4(s,t.c.length),t.c[s]));if(!o){--c;continue}if(function(n,t,e,i,r,c,a,u){var o,s,h;return h=!1,s=c-e.s,o=e.t-t.f+nob(e,s,!1).a,!(i.g+u>s)&&(o+u+nob(i,s,!1).a<=t.b&&(_N(e,c-e.s),e.c=!0,_N(i,c-e.s),YM(i,e.s,e.t+e.d+u),i.k=!0,zh(e.q,i),h=!0,r&&(qL(t,i),i.j=t,n.c.length>a&&(Z3((D4(a,n.c.length),Im(n.c[a],200)),i),0==(D4(a,n.c.length),Im(n.c[a],200)).a.c.length&&Ff(n,a)))),h)}(t,h,r,o,l,e,s,i)){f=!0;continue}if(l){if(function(n,t,e,i,r,c,a){var u,o,s,h,f;return h=!1,u=nch(e.q,t.f+t.b-e.q.f),!((f=r-(e.q.e+u-a))=(D4(c,n.c.length),Im(n.c[c],200)).e,(!((s=nob(i,f,!1).a)>t.b)||!!o)&&((o||s<=t.b)&&(o&&s>t.b?(e.d=s,_N(e,net(e,s))):(nnx(e.q,u),e.c=!0),_N(i,r-(e.s+e.r)),YM(i,e.q.e+e.q.d,t.f),qL(t,i),n.c.length>c&&(Z3((D4(c,n.c.length),Im(n.c[c],200)),i),0==(D4(c,n.c.length),Im(n.c[c],200)).a.c.length&&Ff(n,c)),h=!0),h))}(t,h,r,o,e,s,i)){f=!0;continue}if(Wd(h,r)){r.c=!0,f=!0;continue}}else if(Wd(h,r)){r.c=!0,f=!0;continue}if(f)continue}if(Wd(h,r)){r.c=!0,f=!0,o&&(o.k=!1);continue}Za(r.q)}}(d,g,e,n.g),function(n,t){var e,i,r,c,a;for(i=0,r=0,e=0,a=new h1(t.d);a.a0?n.g:0),++e;t.b=i,t.e=r}(n,h),r.n&&c&&xb(r,xQ(c),(XU(),nVd));else for(w=new h1(g);w.a0?n.g:0),++e;n.c=r,n.d=i}(n,g),r.n&&r.n&&c&&xb(r,xQ(c),(XU(),nVd)),v=nTv.Math.max(n.d,i.a-(a.b+a.c)),u=(f=nTv.Math.max(n.c,i.b-(a.d+a.a)))-n.c,n.e&&n.f&&(v/fc?1:0},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nvx,"RectPackingLayoutProvider/lambda$0$Type",1137),nrr(1256,1,{},Ie),nTm.a=0,nTm.c=!1,AY(nvR,"AreaApproximation",1256);var nIZ=Cw(nvR,"BestCandidateFilter");nrr(638,1,{526:1},c1),nTm.mg=function(n,t,e){var i,r,c,a,u,o;for(o=new wn,c=nlc,u=new h1(n);u.a0?1:j1(isNaN(f),isNaN(0)))>=0^(qR(np3),(nTv.Math.abs(d)<=np3||0==d||isNaN(d)&&isNaN(0)?0:d<0?-1:d>0?1:j1(isNaN(d),isNaN(0)))>=0)?nTv.Math.max(d,f):(qR(np3),(nTv.Math.abs(f)<=np3||0==f||isNaN(f)&&isNaN(0)?0:f<0?-1:f>0?1:j1(isNaN(f),isNaN(0)))>0)?nTv.Math.sqrt(d*d+f*f):-nTv.Math.sqrt(d*d+f*f))>=0)?e:(u=$C(S7(new kp(a.c+a.b/2,a.d+a.a/2),new kp(c.c+c.b/2,c.d+c.a/2))),-(nug(c,a)-1)*u)},AY(nvJ,ndl,1249),nrr(1133,209,nbU,pB),nTm.Ze=function(n,t){var e,i,r,c,a,u,o,s,h,f;for(_u(n,(ntA(),nGY))&&(f=Sh(nrM(n,(YF(),nzh))),(c=naA(qK(),f))&&Im(L$(c.f),209).Ze(n,zt(t,1))),Yu(n,nGX,(F$(),nG$)),Yu(n,nGW,(nt7(),nGR)),Yu(n,nGV,(UT(),nzw)),a=Im(nrM(n,(YF(),nza)),19).a,ntc(t,"Overlap removal",1),gm(So(nrM(n,nzc))),o=new l5(u=new w_),e=ns7(i=new Ws,n),s=!0,r=0;r1)for(i=new h1(n.a);i.a1&&(t.a=!0),a=Im(i.b,65),u=S9(E1(Im(e.b,65).c),To(S7(E1(Im(i.b,65).a),Im(e.b,65).a),c)),Oi(a,S7(new kp(u.a,u.b),a.c)),Dz(t,e),n(t,i)}(this,e.f),UU(e,nC1,(TX(),!!this.a)),nee(t)},nTm.a=!1,AY(nmc,"GrowTreePhase",785),nrr(786,1,nh1,Ii),nTm.td=function(n){var t,e,i,r;t=this.a,e=this.b,i=this.c,r=Im(n,221),Im(i.b,65),Im(i.b,65),Im(r.b,65),Im(r.b,65),Im(r.b,65),BR(r.a,new Ii(t,e,r))},AY(nmc,"GrowTreePhase/lambda$0$Type",786),nrr(1448,1,npV,c7),nTm.Yf=function(n){return Im(n,300),new Rf},nTm.pf=function(n,t){var e,i,r,c,a,u,o;e=this,i=Im(n,300),ntc(r=t,"Shrinking tree compaction",1),gm(So(ntP(i,(zj(),nCZ))))&&(c=i.f,a=new n0,Im(c.b,65),Im(c.b,65),Im(c.b,65),BR(c.a,new Ir(e,a,c))),u=i.f,o=i.c,nP$=new n0,nPN=o,Im((nPA=u).b,65),_l(nPA,nP$,null),noR(nPA),nee(r)},AY(nmc,"ShrinkTreeCompactionPhase",1448),nrr(784,1,nh1,Ir),nTm.td=function(n){var t,e,i,r,c;t=this.a,e=this.b,i=this.c,r=Im(n,221),Im(i.b,65),Im(i.b,65),Im(r.b,65),Im(r.b,65),I1(c=S7(E1(Im(i.b,65).c),Im(r.b,65).c),ne8(Im(i.b,65),Im(r.b,65),c)),Im(r.b,65),Im(r.b,65),Im(r.b,65).c.a,c.a,Im(r.b,65).c.b,c.b,Im(r.b,65),BR(r.a,new Ir(t,e,r))},AY(nmc,"ShrinkTreeCompactionPhase/lambda$0$Type",784);var nCn=Cw(npU,"IGraphElementVisitor");nrr(860,1,{527:1},xO),nTm.og=function(n){var t;t=new nJ,n&&z5(t,Im($a(this.a,nCC),94)),Ti(n,470)&&z5(t,Im($a(this.a,nCO),94)),Ti(n,354)?z5(t,Im($a(this.a,nCK),94)):(Ti(n,82)&&z5(t,Im($a(this.a,nCA),94)),Ti(n,239))?z5(t,Im($a(this.a,nCF),94)):Ti(n,186)?z5(t,Im($a(this.a,nC_),94)):Ti(n,352)&&z5(t,Im($a(this.a,nC$),94)),z5(t,Im($a(this.b,n),94)),function(n,t,e){var i,r,c,a,u;for(a=n.c,c=(e.q?e.q:(NV(),NV(),nMm)).vc().Kc();c.Ob();)r=Im(c.Pb(),42),pL(Nb(new CN(null,new D6(a,16)),new fe(new kd(t,r)))).sd((vQ(),nM5))||(Ti(u=r.dd(),4)&&null!=(i=Jh(u))&&(u=i),t.Ye(Im(r.cd(),146),u))}(this,n,t)},AY(nbX,"LayoutConfigurator",860);var nCt=Cw(nbX,"LayoutConfigurator/IPropertyHolderOptionFilter");nrr(932,1,{1933:1},an),nTm.pg=function(n,t){return UM(),!n.Xe(t)},AY(nbX,"LayoutConfigurator/lambda$0$Type",932),nrr(933,1,{1933:1},at),nTm.pg=function(n,t){return ncA(n,t)},AY(nbX,"LayoutConfigurator/lambda$1$Type",933),nrr(931,1,{831:1},ae),nTm.qg=function(n,t){return UM(),!n.Xe(t)},AY(nbX,"LayoutConfigurator/lambda$2$Type",931),nrr(934,1,nfw,kd),nTm.Mb=function(n){var t,e,i;return t=this.a,e=this.b,i=Im(n,1933),UM(),i.pg(t,Im(e.cd(),146))},AY(nbX,"LayoutConfigurator/lambda$3$Type",934),nrr(858,1,{},ai),AY(nbX,"RecursiveGraphLayoutEngine",858),nrr(296,60,nfm,wA,gI),AY(nbX,"UnsupportedConfigurationException",296),nrr(453,60,nfm,gC),AY(nbX,"UnsupportedGraphException",453),nrr(754,1,{}),AY(npU,"AbstractRandomListAccessor",754),nrr(500,754,{},ncw),nTm.rg=function(){return null},nTm.d=!0,nTm.e=!0,nTm.f=0,AY(nmu,"AlgorithmAssembler",500),nrr(1236,1,nfw,ar),nTm.Mb=function(n){return!!Im(n,123)},AY(nmu,"AlgorithmAssembler/lambda$0$Type",1236),nrr(1237,1,{},l7),nTm.Kb=function(n){var t;return t=this.a,Im(n,123).Yf(t)},AY(nmu,"AlgorithmAssembler/lambda$1$Type",1237),nrr(1238,1,nfw,ac),nTm.Mb=function(n){return!!Im(n,80)},AY(nmu,"AlgorithmAssembler/lambda$2$Type",1238),nrr(1239,1,nh1,bn),nTm.td=function(n){zM(this.a,Im(n,80))},AY(nmu,"AlgorithmAssembler/lambda$3$Type",1239),nrr(1240,1,nh1,kg),nTm.td=function(n){var t;t=this.a,IE(this.b,Qh(t,Im(n,234)))},AY(nmu,"AlgorithmAssembler/lambda$4$Type",1240),nrr(1355,1,nlX,aa),nTm.ue=function(n,t){var e,i,r,c;return e=Im(n,234),i=Im(t,234),Xp(e),Xp(i),r=Im(e,22),c=Im(i,22),r.g-c.g},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nmu,"EnumBasedFactoryComparator",1355),nrr(80,754,{80:1},Rf),nTm.rg=function(){return new w_},nTm.a=0,AY(nmu,"LayoutProcessorConfiguration",80),nrr(1013,1,{527:1},sU),nTm.og=function(n){zS(nzm,new bt(n))},AY(nbi,"DeprecatedLayoutOptionReplacer",1013),nrr(1014,1,nh1,au),nTm.td=function(n){var t;t=Im(n,160),_q(),Im(t.We((nha(),nXn)),174).Fc((nis(),nWP)),t.Ye(nU7,null)},AY(nbi,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1014),nrr(1015,1,nh1,ao),nTm.td=function(n){var t;t=Im(n,160),_q(),Im(t.We((nha(),nUB)),174).Hc((na9(),nVa))&&(Im(t.We(nXn),174).Fc((nis(),nWC)),Im(t.We(nUB),174).Mc(nVa))},AY(nbi,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1015),nrr(1016,1,{},bt),nTm.Od=function(n,t){var e,i,r;e=this.a,i=Im(n,146),r=Im(t,38),_q(),e.Xe(i)&&r.td(e)},AY(nbi,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1016),nrr(149,1,{686:1,149:1},nte),nTm.Fb=function(n){return KU(this,n)},nTm.sg=function(){return this.b},nTm.tg=function(){return this.c},nTm.ne=function(){return this.e},nTm.Hb=function(){return Yj(this.c)},nTm.Ib=function(){return"Layout Algorithm: "+this.c};var nCe=AY(nbi,"LayoutAlgorithmData",149);nrr(263,1,{},as),AY(nbi,"LayoutAlgorithmData/Builder",263),nrr(1017,1,{527:1},ah),nTm.og=function(n){Ti(n,239)&&!gm(So(n.We((nha(),nUG))))&&function(n){var t,e;if(!zT(t=Sh(nrM(n,(nha(),nUt))),n)&&!_u(n,nXo)&&(0!=(n.a||(n.a=new An(nCF,n,10,11)),n.a).i||gm(So(nrM(n,nUM))))){if(null==t||0==ntB(t).length){if(!zT(nda,n))throw nsy(n,e=jP(jP(new TV("Unable to load default layout algorithm "),nda)," for unconfigured node ")),new gI(e.a).e}else throw nsy(n,e=jP(jP(new TV("Layout algorithm '"),t),"' not found for ")),new gI(e.a).e}}(Im(n,33))},AY(nbi,"LayoutAlgorithmResolver",1017),nrr(229,1,{686:1,229:1},DH),nTm.Fb=function(n){return!!Ti(n,229)&&Pv(this.b,Im(n,229).b)},nTm.sg=function(){return this.a},nTm.tg=function(){return this.b},nTm.ne=function(){return this.d},nTm.Hb=function(){return Yj(this.b)},nTm.Ib=function(){return"Layout Type: "+this.b},AY(nbi,"LayoutCategoryData",229),nrr(344,1,{},af),AY(nbi,"LayoutCategoryData/Builder",344),nrr(867,1,{},naj),AY(nbi,"LayoutMetaDataService",867),nrr(868,1,{},$l),AY(nbi,"LayoutMetaDataService/Registry",868),nrr(478,1,{478:1},al),AY(nbi,"LayoutMetaDataService/Registry/Triple",478),nrr(869,1,nmo,ab),nTm.ug=function(){return new ps},AY(nbi,"LayoutMetaDataService/lambda$0$Type",869),nrr(870,1,nms,aw),nTm.vg=function(n){return E1(Im(n,8))},AY(nbi,"LayoutMetaDataService/lambda$1$Type",870),nrr(879,1,nmo,ad),nTm.ug=function(){return new wn},AY(nbi,"LayoutMetaDataService/lambda$10$Type",879),nrr(880,1,nms,ag),nTm.vg=function(n){return new PH(Im(n,12))},AY(nbi,"LayoutMetaDataService/lambda$11$Type",880),nrr(881,1,nmo,ap),nTm.ug=function(){return new vK},AY(nbi,"LayoutMetaDataService/lambda$12$Type",881),nrr(882,1,nms,av),nTm.vg=function(n){return Ij(Im(n,68))},AY(nbi,"LayoutMetaDataService/lambda$13$Type",882),nrr(883,1,nmo,am),nTm.ug=function(){return new w_},AY(nbi,"LayoutMetaDataService/lambda$14$Type",883),nrr(884,1,nms,ay),nTm.vg=function(n){return N9(Im(n,53))},AY(nbi,"LayoutMetaDataService/lambda$15$Type",884),nrr(885,1,nmo,ak),nTm.ug=function(){return new j7},AY(nbi,"LayoutMetaDataService/lambda$16$Type",885),nrr(886,1,nms,aj),nTm.vg=function(n){return Kr(Im(n,53))},AY(nbi,"LayoutMetaDataService/lambda$17$Type",886),nrr(887,1,nmo,aE),nTm.ug=function(){return new wW},AY(nbi,"LayoutMetaDataService/lambda$18$Type",887),nrr(888,1,nms,aT),nTm.vg=function(n){return Ik(Im(n,208))},AY(nbi,"LayoutMetaDataService/lambda$19$Type",888),nrr(871,1,nmo,aM),nTm.ug=function(){return new dd},AY(nbi,"LayoutMetaDataService/lambda$2$Type",871),nrr(872,1,nms,aS),nTm.vg=function(n){return new pi(Im(n,74))},AY(nbi,"LayoutMetaDataService/lambda$3$Type",872),nrr(873,1,nmo,aP),nTm.ug=function(){return new dc},AY(nbi,"LayoutMetaDataService/lambda$4$Type",873),nrr(874,1,nms,aI),nTm.vg=function(n){return new PY(Im(n,142))},AY(nbi,"LayoutMetaDataService/lambda$5$Type",874),nrr(875,1,nmo,aO),nTm.ug=function(){return new da},AY(nbi,"LayoutMetaDataService/lambda$6$Type",875),nrr(876,1,nms,aA),nTm.vg=function(n){return new PJ(Im(n,116))},AY(nbi,"LayoutMetaDataService/lambda$7$Type",876),nrr(877,1,nmo,a$),nTm.ug=function(){return new az},AY(nbi,"LayoutMetaDataService/lambda$8$Type",877),nrr(878,1,nms,aN),nTm.vg=function(n){return new HB(Im(n,373))},AY(nbi,"LayoutMetaDataService/lambda$9$Type",878);var nCi=Cw(nbH,"IProperty");nrr(23,1,{35:1,686:1,23:1,146:1},neg),nTm.wd=function(n){var t;return t=Im(n,146),Fb(this.f,t.tg())},nTm.Fb=function(n){return Ti(n,23)?Pv(this.f,Im(n,23).f):Ti(n,146)&&Pv(this.f,Im(n,146).tg())},nTm.wg=function(){var n;if(!Ti(this.b,4))return this.b;if(null==(n=Jh(this.b)))throw new gg(nmw+this.f+"'. Make sure it's type is registered with the "+(Su(nCW),nCW.k)+nmf).e;return n},nTm.sg=function(){return this.d},nTm.tg=function(){return this.f},nTm.ne=function(){return this.i},nTm.Hb=function(){return Yj(this.f)},nTm.Ib=function(){return"Layout Option: "+this.f},AY(nbi,"LayoutOptionData",23),nrr(24,1,{},aL),AY(nbi,"LayoutOptionData/Builder",24),nrr(175,22,{3:1,35:1,22:1,175:1},kb);var nCr=qE(nbi,"LayoutOptionData/Target",175,nE2,function(){return JB(),Um(Dg(nCr,1),nfh,175,0,[nzM,nzT,nzj,nzS,nzE])},function(n){return JB(),H5((Bu(),nzP),n)});nrr(277,22,{3:1,35:1,22:1,277:1},kw);var nCc=qE(nbi,"LayoutOptionData/Type",277,nE2,function(){return neT(),Um(Dg(nCc,1),nfh,277,0,[nzD,nzI,nz$,nzL,nzC,nzO,nzA,nzN])},function(n){return neT(),H5((zy(),nzx),n)});nrr(110,1,{110:1},Et,Nj,Lf),nTm.Fb=function(n){var t;return!!(null!=n&&Ti(n,110))&&(t=Im(n,110),$5(this.c,t.c)&&$5(this.d,t.d)&&$5(this.b,t.b)&&$5(this.a,t.a))},nTm.Hb=function(){return X9(Um(Dg(nEX,1),nhA,1,5,[this.c,this.d,this.b,this.a]))},nTm.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},nTm.a=0,nTm.b=0,nTm.c=0,nTm.d=0,AY(ndi,"ElkRectangle",110),nrr(8,1,{3:1,4:1,8:1,414:1},ps,DB,kp,Ee),nTm.Fb=function(n){return Gl(this,n)},nTm.Hb=function(){var n,t;return j3(this.a)+(n=j3(this.b),q1(),(t=nT2)[n>>>28]|t[n>>24&15]<<4|t[n>>20&15]<<8|t[n>>16&15]<<12|t[n>>12&15]<<16|t[n>>8&15]<<20|t[n>>4&15]<<24|t[15&n]<<28)},nTm.Jf=function(n){var t,e,i;for(e=0;e0&&Wm((D5(t-1,n.length),n.charCodeAt(t-1)),ndt);)--t;if(e>=t)throw new gd("The given string does not contain any numbers.").e;if(2!=(i=naX(n.substr(e,t-e),",|;|\r|\n")).length)throw new gd("Exactly two numbers are expected, "+i.length+" were found.").e;try{this.a=nt1(ntB(i[0])),this.b=nt1(ntB(i[1]))}catch(n){if(Ti(n=Uu(n),127))throw new gd(nde+n).e;throw n.e}},nTm.Ib=function(){return"("+this.a+","+this.b+")"},nTm.a=0,nTm.b=0;var nCa=AY(ndi,"KVector",8);nrr(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},dd,pi,MQ),nTm.Pc=function(){return function(n){var t,e,i;for(t=0,i=_f(nCa,nhJ,8,n.b,0,1),e=Jz(n,0);e.b!=e.d.c;)i[t++]=Im(RP(e),8);return i}(this)},nTm.Jf=function(n){var t,e,i,r,c;e=naX(n,",|;|\\(|\\)|\\[|\\]|\\{|\\}| | |\n"),Nq(this);try{for(t=0,r=0,i=0,c=0;t0&&(r%2==0?i=nt1(e[t]):c=nt1(e[t]),r>0&&r%2!=0&&I2(this,new kp(i,c)),++r),++t}catch(n){if(Ti(n=Uu(n),127))throw new gd("The given string does not match the expected format for vectors."+n).e;throw n.e}},nTm.Ib=function(){var n,t,e;for(n=new TV("("),t=Jz(this,0);t.b!=t.d.c;)jP(n,(e=Im(RP(t),8)).a+","+e.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var nCu=AY(ndi,"KVectorChain",74);nrr(248,22,{3:1,35:1,22:1,248:1},kv);var nCo=qE(nmg,"Alignment",248,nE2,function(){return Yv(),Um(Dg(nCo,1),nfh,248,0,[nzF,nzB,nzq,nzG,nz_,nzH])},function(n){return Yv(),H5((B6(),nzz),n)});nrr(979,1,nbo,sX),nTm.Qe=function(n){nub(n)},AY(nmg,"BoxLayouterOptions",979),nrr(980,1,{},aC),nTm.$e=function(){return new aK},nTm._e=function(n){},AY(nmg,"BoxLayouterOptions/BoxFactory",980),nrr(291,22,{3:1,35:1,22:1,291:1},km);var nCs=qE(nmg,"ContentAlignment",291,nE2,function(){return nnF(),Um(Dg(nCs,1),nfh,291,0,[nz7,nz9,nz8,nz5,nz4,nz6])},function(n){return nnF(),H5((B5(),nUn),n)});nrr(684,1,nbo,sW),nTm.Qe=function(n){var t,e,i,r,c,a,u;V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmy),""),"Layout Algorithm"),"Select a specific layout algorithm."),(neT(),nzL)),nTh),Vx((JB(),nzM))))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmk),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),nzN),nCe),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npy),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),nUi),nzO),nCo),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nb8),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmj),""),"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."),nzN),nCu),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npN),""),"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."),nUh),nzA),nCs),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npm),""),"Debug Mode"),"Whether additional debug information shall be generated."),(TX(),!1)),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npT),""),nbx),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),nUb),nzO),nCh),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ng2),""),"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."),nUv),nzO),nCl),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nvX),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngJ),""),"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`."),nUE),nzO),nCw),C6(nzM,Um(Dg(nCr,1),nfh,175,0,[nzT]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nb9),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),nUX),nzN),nPJ),C6(nzM,Um(Dg(nCr,1),nfh,175,0,[nzT]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwT),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npz),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwP),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwM),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),nU8),nzO),nCv),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npB),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),nzN),nCa),C6(nzT,Um(Dg(nCr,1),nfh,175,0,[nzS,nzE]))))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nwm),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),nz$),nTa),C6(nzT,Um(Dg(nCr,1),nfh,175,0,[nzj]))))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nwj),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),nz$),nTa),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nwE),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npL),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),nUO),nzN),nCu),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npR),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),nzI),nTt),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npK),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),nzI),nTt),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmE),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),nzN),nY_),C6(nzM,Um(Dg(nCr,1),nfh,175,0,[nzE]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npq),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),nU$),nzN),nPW),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npp),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),nzI),nTt),C6(nzT,Um(Dg(nCr,1),nfh,175,0,[nzj,nzS,nzE]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmT),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),nzC),nTr),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmM),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmS),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),Va(100)),nz$),nTa),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmP),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmI),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Va(4e3)),nz$),nTa),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmC),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Va(400)),nz$),nTa),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmO),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmA),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nm$),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmN),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmm),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),nUu),nzO),nCE),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npc),ng3),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npa),ng3),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nb5),ng3),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npu),ng3),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwk),ng3),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npo),ng3),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nps),ng3),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npl),ng3),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nph),ng3),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npf),ng3),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwy),ng3),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npb),ng3),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),nzC),nTr),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npw),ng3),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),nzC),nTr),C6(nzM,Um(Dg(nCr,1),nfh,175,0,[nzT]))))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npd),ng3),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),nzN),nCT),C6(nzT,Um(Dg(nCr,1),nfh,175,0,[nzj,nzS,nzE]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npG),ng3),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),nXM),nzN),nPW),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npH),nmR),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),nz$),nTa),C6(nzM,Um(Dg(nCr,1),nfh,175,0,[nzT]))))),xW(n,npH,np_,nUJ),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,np_),nmR),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),nUV),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npM),nmK),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),nUL),nzN),nPJ),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwO),nmK),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),nUx),nzA),nCg),C6(nzT,Um(Dg(nCr,1),nfh,175,0,[nzE]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npI),nmF),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),nUZ),nzO),nCp),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npC),nmF),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),nzO),nCp),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npO),nmF),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),nzO),nCp),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npA),nmF),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),nzO),nCp),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,np$),nmF),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),nzO),nCp),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwC),nm_),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),nUK),nzA),nCk),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwI),nm_),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),nUq),nzA),nCj),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwq),nm_),"Node Size Minimum"),"The minimal size to which a node can be reduced."),nUH),nzN),nCa),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npE),nm_),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),nzI),nTt),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npD),npi),"Edge Label Placement"),"Gives a hint on where to put edge labels."),nUg),nzO),nCf),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwS),npi),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),nzI),nTt),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmL),"font"),"Font Name"),"Font name used for a label."),nzL),nTh),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmD),"font"),"Font Size"),"Font size used for a label."),nz$),nTa),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npF),nmH),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),nzN),nCa),Vx(nzS)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npx),nmH),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),nz$),nTa),Vx(nzS)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npv),nmH),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),nXr),nzO),nCy),Vx(nzS)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npg),nmH),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),nzC),nTr),Vx(nzS)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwA),nmB),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),nXt),nzA),nCm),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npS),nmB),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),nzI),nTt),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npP),nmB),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),nzI),nTt),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npk),nmq),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),nzI),nTt),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npj),nmq),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),nzI),nTt),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nb6),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),nzC),nTr),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmx),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),nUy),nzO),nCb),Vx(nzj)))),ma(n,new DH(((((t=new af).b=nda,t).c="Layered",t).a='The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.',t))),ma(n,new DH(((((e=new af).b="org.eclipse.elk.orthogonal",e).c="Orthogonal",e).a='Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.',e))),ma(n,new DH(((((i=new af).b=nwv,i).c="Force",i).a="Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984.",i))),ma(n,new DH(((((r=new af).b="org.eclipse.elk.circle",r).c="Circle",r).a="Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph.",r))),ma(n,new DH(((((c=new af).b=nvb,c).c="Tree",c).a="Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type.",c))),ma(n,new DH(((((a=new af).b="org.eclipse.elk.planar",a).c="Planar",a).a="Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable.",a))),ma(n,new DH(((((u=new af).b=nvO,u).c="Radial",u).a="Radial layout algorithms usually position the nodes of the graph on concentric circles.",u))),naq((new sV,n)),nub((new sX,n)),nc9((new sQ,n))},AY(nmg,"CoreOptions",684),nrr(103,22,{3:1,35:1,22:1,103:1},ky);var nCh=qE(nmg,nbx,103,nE2,function(){return W2(),Um(Dg(nCh,1),nfh,103,0,[nXO,nXC,nXI,nXP,nXA])},function(n){return W2(),H5((Bh(),nX$),n)});nrr(272,22,{3:1,35:1,22:1,272:1},kk);var nCf=qE(nmg,"EdgeLabelPlacement",272,nE2,function(){return BB(),Um(Dg(nCf,1),nfh,272,0,[nXN,nXL,nXD])},function(n){return BB(),H5((_a(),nXx),n)});nrr(218,22,{3:1,35:1,22:1,218:1},kj);var nCl=qE(nmg,"EdgeRouting",218,nE2,function(){return VY(),Um(Dg(nCl,1),nfh,218,0,[nX_,nXK,nXR,nXF])},function(n){return VY(),H5((Hr(),nXH),n)});nrr(312,22,{3:1,35:1,22:1,312:1},kE);var nCb=qE(nmg,"EdgeType",312,nE2,function(){return ntg(),Um(Dg(nCb,1),nfh,312,0,[nXU,nXG,nXX,nXB,nXz,nXq])},function(n){return ntg(),H5((qr(),nXW),n)});nrr(977,1,nbo,sV),nTm.Qe=function(n){naq(n)},AY(nmg,"FixedLayouterOptions",977),nrr(978,1,{},aq),nTm.$e=function(){return new ax},nTm._e=function(n){},AY(nmg,"FixedLayouterOptions/FixedFactory",978),nrr(334,22,{3:1,35:1,22:1,334:1},kT);var nCw=qE(nmg,"HierarchyHandling",334,nE2,function(){return WN(),Um(Dg(nCw,1),nfh,334,0,[nX3,nX2,nX4])},function(n){return WN(),H5((_c(),nX5),n)});nrr(285,22,{3:1,35:1,22:1,285:1},kM);var nCd=qE(nmg,"LabelSide",285,nE2,function(){return ZR(),Um(Dg(nCd,1),nfh,285,0,[nX7,nX6,nX8,nX9])},function(n){return ZR(),H5((Hi(),nWn),n)});nrr(93,22,{3:1,35:1,22:1,93:1},kS);var nCg=qE(nmg,"NodeLabelPlacement",93,nE2,function(){return nrS(),Um(Dg(nCg,1),nfh,93,0,[nWe,nWt,nWr,nWs,nWo,nWu,nWc,nWa,nWi])},function(n){return nrS(),H5((zJ(),nWh),n)});nrr(249,22,{3:1,35:1,22:1,249:1},kP);var nCp=qE(nmg,"PortAlignment",249,nE2,function(){return Jq(),Um(Dg(nCp,1),nfh,249,0,[nWb,nWd,nWf,nWl,nWw])},function(n){return Jq(),H5((Bf(),nWg),n)});nrr(98,22,{3:1,35:1,22:1,98:1},kI);var nCv=qE(nmg,"PortConstraints",98,nE2,function(){return nn2(),Um(Dg(nCv,1),nfh,98,0,[nWj,nWk,nWy,nWp,nWm,nWv])},function(n){return nn2(),H5((Bq(),nWE),n)});nrr(273,22,{3:1,35:1,22:1,273:1},kC);var nCm=qE(nmg,"PortLabelPlacement",273,nE2,function(){return nis(),Um(Dg(nCm,1),nfh,273,0,[nWI,nWS,nWP,nWM,nWT,nWC])},function(n){return nis(),H5((qi(),nWO),n)});nrr(61,22,{3:1,35:1,22:1,61:1},kO);var nCy=qE(nmg,"PortSide",61,nE2,function(){return nsR(),Um(Dg(nCy,1),nwZ,61,0,[nWQ,nW$,nWA,nWV,nWJ])},function(n){return nsR(),H5((Bl(),nWY),n)});nrr(981,1,nbo,sQ),nTm.Qe=function(n){nc9(n)},AY(nmg,"RandomLayouterOptions",981),nrr(982,1,{},aG),nTm.$e=function(){return new aW},nTm._e=function(n){},AY(nmg,"RandomLayouterOptions/RandomFactory",982),nrr(374,22,{3:1,35:1,22:1,374:1},kA);var nCk=qE(nmg,"SizeConstraint",374,nE2,function(){return QJ(),Um(Dg(nCk,1),nfh,374,0,[nW6,nW8,nW5,nW4])},function(n){return QJ(),H5((Ha(),nW9),n)});nrr(259,22,{3:1,35:1,22:1,259:1},k$);var nCj=qE(nmg,"SizeOptions",259,nE2,function(){return na9(),Um(Dg(nCj,1),nfh,259,0,[nVt,nVi,nVn,nVr,nVc,nVu,nVa,nVe,nW7])},function(n){return na9(),H5((Ux(),nVo),n)});nrr(370,1,{1949:1},dH),nTm.b=!1,nTm.c=0,nTm.d=-1,nTm.e=null,nTm.f=null,nTm.g=-1,nTm.j=!1,nTm.k=!1,nTm.n=!1,nTm.o=0,nTm.q=0,nTm.r=0,AY(npU,"BasicProgressMonitor",370),nrr(972,209,nbU,aK),nTm.Ze=function(n,t){var e,i,r,c,a,u,o,s;(ntc(t,"Box layout",2),$D(s=Ss(nrM(n,(nt$(),nz3)))),r=Im(nrM(n,nz1),116),e=gm(So(nrM(n,nzV))),i=gm(So(nrM(n,nzQ))),0===Im(nrM(n,nzX),311).g)?(c=new PH((n.a||(n.a=new An(nCF,n,10,11)),n.a)),NV(),E_(c,new be(i)),a=neK(n),(null==(u=Ss(nrM(n,nzU)))||($D(u),u<=0))&&(u=1.3),nsH(n,(o=function(n,t,e,i,r,c,a){var u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O;for(b=0,S=0,o=new h1(n);o.ab&&(c&&(jO(j,l),jO(T,Va(s.b-1))),C=e.b,O+=l+t,l=0,h=nTv.Math.max(h,e.b+e.c+I)),qh(u,C),qf(u,O),h=nTv.Math.max(h,C+I+e.c),l=nTv.Math.max(l,f),C+=I+t;if(h=nTv.Math.max(h,i),(P=O+l+e.a)2*c?(h=new Bz(f),s=CH(a)/C_(a),o=nsJ(h,t,new da,e,i,r,s),S9(jR(h.e),o),f.c=_f(nEX,nhA,1,0,5,1),c=0,f.c[f.c.length]=h,f.c[f.c.length]=a,c=CH(h)*C_(h)+CH(a)*C_(a)):(f.c[f.c.length]=a,c+=CH(a)*C_(a));return f}(a,t,u.a,u.b,($D(r),i));break;case 1:h=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(NV(),E_(n,new aF),a=Ij(n),b=new wn,l=new wn,u=null,o=0;0!=a.b;)c=Im(0==a.b?null:(MK(0!=a.b),BK(a,a.a.a)),157),!u||CH(u)*C_(u)/21&&(o>CH(u)*C_(u)/2||0==a.b)&&(f=new Bz(l),h=CH(u)/C_(u),s=nsJ(f,t,new da,e,i,r,h),S9(jR(f.e),s),u=f,b.c[b.c.length]=f,o=0,l.c=_f(nEX,nhA,1,0,5,1)));return Uf(b,l),b}(a,t,u.a,u.b,($D(r),i));break;default:h=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(u=_f(nYR,nlf,25,n.c.length,15,1),Zz(l=new O0(new a_),n),s=0,b=new wn;0!=l.b.c.length;)if(a=Im(0==l.b.c.length?null:CA(l.b,0),157),s>1&&CH(a)*C_(a)/2>u[0]){for(c=0;cu[c];)++c;f=new Bz(new D2(b,0,c+1)),h=CH(a)/C_(a),o=nsJ(f,t,new da,e,i,r,h),S9(jR(f.e),o),_w(ntp(l,f)),Zz(l,new D2(b,c+1,b.c.length)),b.c=_f(nEX,nhA,1,0,5,1),s=0,C5(u,u.length,0)}else null!=(0==l.b.c.length?null:CA(l.b,0))&&Gy(l,0),s>0&&(u[s]=u[s-1]),u[s]+=CH(a)*C_(a),++s,b.c[b.c.length]=a;return b}(a,t,u.a,u.b,($D(r),i))}nsH(n,(s=nsJ(new Bz(h),t,e,u.a,u.b,i,($D(r),r))).a,s.b,!1,!0)}(n,s,r,e),nee(t)},AY(npU,"BoxLayoutProvider",972),nrr(973,1,nlX,be),nTm.ue=function(n,t){var e,i,r,c,a;return e=Im(n,33),i=Im(t,33),((c=Im(nrM(e,(nt$(),nz2)),19))||(c=Va(0)),(a=Im(nrM(i,nz2),19))||(a=Va(0)),c.a>a.a)?-1:c.a0&&w.b>0&&nsH(g,w.a,w.b,!0,!0)),l=nTv.Math.max(l,g.i+g.g),b=nTv.Math.max(b,g.j+g.f),h=new Td((g.n||(g.n=new An(nCK,g,1,7)),g.n));h.e!=h.i.gc();)u=Im(J1(h),137),(T=Im(nrM(u,nX0),8))&&Ef(u,T.a,T.b),l=nTv.Math.max(l,g.i+u.i+u.g),b=nTv.Math.max(b,g.j+u.j+u.f);for(k=new Td((g.c||(g.c=new An(nC_,g,9,9)),g.c));k.e!=k.i.gc();)for(y=Im(J1(k),118),(T=Im(nrM(y,nX0),8))&&Ef(y,T.a,T.b),j=g.i+y.i,E=g.j+y.j,l=nTv.Math.max(l,j+y.g),b=nTv.Math.max(b,E+y.f),o=new Td((y.n||(y.n=new An(nCK,y,1,7)),y.n));o.e!=o.i.gc();)u=Im(J1(o),137),(T=Im(nrM(u,nX0),8))&&Ef(u,T.a,T.b),l=nTv.Math.max(l,j+u.i+u.g),b=nTv.Math.max(b,E+u.j+u.f);for(r=new OM(Tx(nrZ(g).a.Kc(),new s));nrc(r);)f=nsB(e=Im(K4(r),79)),l=nTv.Math.max(l,f.a),b=nTv.Math.max(b,f.b);for(i=new OM(Tx(nrY(g).a.Kc(),new s));nrc(i);)Dt(ntN(e=Im(K4(i),79)))!=n&&(f=nsB(e),l=nTv.Math.max(l,f.a),b=nTv.Math.max(b,f.b))}if(c==(VY(),nXR))for(p=new Td((n.a||(n.a=new An(nCF,n,10,11)),n.a));p.e!=p.i.gc();)for(i=new OM(Tx(nrZ(g=Im(J1(p),33)).a.Kc(),new s));nrc(i);)0==(a=function(n){var t;if(1!=(n.a||(n.a=new An(nCN,n,6,6)),n.a).i)throw new gd(nmX+(n.a||(n.a=new An(nCN,n,6,6)),n.a).i).e;return t=new dd,Uo(Im(BX((n.b||(n.b=new Ph(nCA,n,4,7)),n.b),0),82))&&Gz(t,nhn(n,Uo(Im(BX((n.b||(n.b=new Ph(nCA,n,4,7)),n.b),0),82)),!1)),Uo(Im(BX((n.c||(n.c=new Ph(nCA,n,5,8)),n.c),0),82))&&Gz(t,nhn(n,Uo(Im(BX((n.c||(n.c=new Ph(nCA,n,5,8)),n.c),0),82)),!0)),t}(e=Im(K4(i),79))).b?Yu(e,nUC,null):Yu(e,nUC,a);gm(So(nrM(n,(XY(),nXJ))))||(d=l+(m=Im(nrM(n,nXZ),116)).b+m.c,nsH(n,d,b+m.d+m.a,!0,!0)),nee(t)},AY(npU,"FixedLayoutProvider",1138),nrr(373,134,{3:1,414:1,373:1,94:1,134:1},az,HB),nTm.Jf=function(n){var t,e,i,r,c,a,u;if(n)try{for(r=0,c=(a=naX(n,";,;")).length;r>16&nfI|t^i<<16},nTm.Kc=function(){return new ba(this)},nTm.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+V7(this.b)+")":null==this.b?"pair("+V7(this.a)+",null)":"pair("+V7(this.a)+","+V7(this.b)+")"},AY(npU,"Pair",46),nrr(983,1,nhF,ba),nTm.Nb=function(n){Ao(this,n)},nTm.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},nTm.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw(new wO).e},nTm.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),(new wM).e},nTm.b=!1,nTm.c=!1,AY(npU,"Pair/1",983),nrr(448,1,{448:1},NM),nTm.Fb=function(n){return $5(this.a,Im(n,448).a)&&$5(this.c,Im(n,448).c)&&$5(this.d,Im(n,448).d)&&$5(this.b,Im(n,448).b)},nTm.Hb=function(){return X9(Um(Dg(nEX,1),nhA,1,5,[this.a,this.c,this.d,this.b]))},nTm.Ib=function(){return"("+this.a+nhC+this.c+nhC+this.d+nhC+this.b+")"},AY(npU,"Quadruple",448),nrr(1126,209,nbU,aW),nTm.Ze=function(n,t){var e,i,r,c,a;if(ntc(t,"Random Layout",1),0==(n.a||(n.a=new An(nCF,n,10,11)),n.a).i){nee(t);return}i=(r=Im(nrM(n,(QQ(),nW2)),19))&&0!=r.a?new Ka(r.a):new VB,$D(c=Ss(nrM(n,nWZ))),$D(a=Ss(nrM(n,nW3))),e=Im(nrM(n,nW1),116),function(n,t,e,i,r){var c,a,u,o,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(m=0,d=0,w=0,b=1,v=new Td((n.a||(n.a=new An(nCF,n,10,11)),n.a));v.e!=v.i.gc();)b+=RK(new OM(Tx(nrZ(g=Im(J1(v),33)).a.Kc(),new s))),E=g.g,d=nTv.Math.max(d,E),l=g.f,w=nTv.Math.max(w,l),m+=E*l;for(a=m+2*i*i*b*(n.a||(n.a=new An(nCF,n,10,11)),n.a).i,c=nTv.Math.sqrt(a),o=nTv.Math.max(c*e,d),u=nTv.Math.max(c/e,w),p=new Td((n.a||(n.a=new An(nCF,n,10,11)),n.a));p.e!=p.i.gc();)g=Im(J1(p),33),T=r.b+(nr_(t,26)*nlS+nr_(t,27)*nlP)*(o-g.g),M=r.b+(nr_(t,26)*nlS+nr_(t,27)*nlP)*(u-g.f),qh(g,T),qf(g,M);for(j=o+(r.b+r.c),k=u+(r.d+r.a),y=new Td((n.a||(n.a=new An(nCF,n,10,11)),n.a));y.e!=y.i.gc();)for(f=new OM(Tx(nrZ(Im(J1(y),33)).a.Kc(),new s));nrc(f);)ni5(h=Im(K4(f),79))||function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A,$,N,L;if(m=(p=Im(BX((n.b||(n.b=new Ph(nCA,n,4,7)),n.b),0),82)).Dg(),y=p.Eg(),v=p.Cg()/2,b=p.Bg()/2,Ti(p,186)&&(m+=L8(g=Im(p,118)).i+L8(g).i),m+=v,y+=b,P=(M=Im(BX((n.b||(n.b=new Ph(nCA,n,4,7)),n.b),0),82)).Dg(),I=M.Eg(),S=M.Cg()/2,k=M.Bg()/2,Ti(M,186)&&(P+=L8(T=Im(M,118)).i+L8(T).i),P+=S,I+=k,0==(n.a||(n.a=new An(nCN,n,6,6)),n.a).i)pw(),u=new aZ,_P((n.a||(n.a=new An(nCN,n,6,6)),n.a),u);else if((n.a||(n.a=new An(nCN,n,6,6)),n.a).i>1)for(l=new Mv((n.a||(n.a=new An(nCN,n,6,6)),n.a));l.e!=l.i.gc();)nnA(l);for(a=Im(BX((n.a||(n.a=new An(nCN,n,6,6)),n.a),0),202),w=P,P>m+v?w=m+v:Py+b?d=y+b:Im-v&&wy-b&&dP+S?j=P+S:mI+k?E=I+k:yP-S&&jI-k&&Ee&&(h=e-1),(f=$+nr_(t,24)*nlC*s-s/2)<0?f=1:f>i&&(f=i-1),pw(),qc(r=new aY,h),qa(r,f),_P((a.a||(a.a=new Tg(nCI,a,5)),a.a),r)}(h,t,j,k);nsH(n,j+=r.b+r.c,k+=r.d+r.a,!1,!0)}(n,i,c,a,e),nee(t)},AY(npU,"RandomLayoutProvider",1126),nrr(553,1,{}),nTm.qf=function(){return new kp(this.f.i,this.f.j)},nTm.We=function(n){return Lg(n,(nha(),nU5))?nrM(this.f,nVy):nrM(this.f,n)},nTm.rf=function(){return new kp(this.f.g,this.f.f)},nTm.sf=function(){return this.g},nTm.Xe=function(n){return _u(this.f,n)},nTm.tf=function(n){qh(this.f,n.a),qf(this.f,n.b)},nTm.uf=function(n){qs(this.f,n.a),qo(this.f,n.b)},nTm.vf=function(n){this.g=n},nTm.g=0,AY(nmW,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),nrr(554,1,{839:1},bu),nTm.wf=function(){var n,t;if(!this.b)for(this.b=Re(Ni(this.a).i),t=new Td(Ni(this.a));t.e!=t.i.gc();)n=Im(J1(t),137),IE(this.b,new gb(n));return this.b},nTm.b=null,AY(nmW,"ElkGraphAdapters/ElkEdgeAdapter",554),nrr(301,553,{},gl),nTm.xf=function(){return Zl(this)},nTm.a=null,AY(nmW,"ElkGraphAdapters/ElkGraphAdapter",301),nrr(630,553,{181:1},gb),AY(nmW,"ElkGraphAdapters/ElkLabelAdapter",630),nrr(629,553,{680:1},Mw),nTm.wf=function(){return function(n){var t,e;if(!n.b)for(n.b=Re(Im(n.f,33).Ag().i),e=new Td(Im(n.f,33).Ag());e.e!=e.i.gc();)t=Im(J1(e),137),IE(n.b,new gb(t));return n.b}(this)},nTm.Af=function(){var n;return(n=Im(nrM(this.f,(nha(),nUA)),142))||(n=new dc),n},nTm.Cf=function(){return function(n){var t,e;if(!n.e)for(n.e=Re(Nr(Im(n.f,33)).i),e=new Td(Nr(Im(n.f,33)));e.e!=e.i.gc();)t=Im(J1(e),118),IE(n.e,new bK(t));return n.e}(this)},nTm.Ef=function(n){var t;t=new PY(n),Yu(this.f,(nha(),nUA),t)},nTm.Ff=function(n){Yu(this.f,(nha(),nUU),new PJ(n))},nTm.yf=function(){return this.d},nTm.zf=function(){var n,t;if(!this.a)for(this.a=new wn,t=new OM(Tx(nrY(Im(this.f,33)).a.Kc(),new s));nrc(t);)n=Im(K4(t),79),IE(this.a,new bu(n));return this.a},nTm.Bf=function(){var n,t;if(!this.c)for(this.c=new wn,t=new OM(Tx(nrZ(Im(this.f,33)).a.Kc(),new s));nrc(t);)n=Im(K4(t),79),IE(this.c,new bu(n));return this.c},nTm.Df=function(){return 0!=N8(Im(this.f,33)).i||gm(So(Im(this.f,33).We((nha(),nUM))))},nTm.Gf=function(){var n;mo(),n=nVm,PT(Im(Im(this.f,33).We((nha(),nU6)),98))&&function(n,t){var e,i,r;for(Si(),_V(i=_W(n),0,i.length,t),e=0;e=0?this.Qg(t):this.eh().ih(this,-1-e,null,t),t=this.Sg(null,-1,t))),this.uh(n),t},nTm.xh=function(n){var t,e,i,r,c,a,u;if((c=Qj(e=this.Tg(),n))>=(t=this.Ah()))return Im(n,66).Nj().Uj(this,this.yh(),c-t);if(c<=-1){if(a=noW((neS(),nJk),e,n)){if(mp(),Im(a,66).Oj()||(a=xt(HC(nJk,a))),r=Im((i=this.Yg(a))>=0?this._g(i,!0,!0):niO(this,a,!0),153),(u=a.Zj())>1||-1==u)return Im(Im(r,215).hl(n,!1),76)}else throw new gd(nyn+n.ne()+nyi).e}else if(n.$j())return Im((i=this.Yg(n))>=0?this._g(i,!1,!0):niO(this,n,!1),76);return new k9(this,n)},nTm.yh=function(){return HK(this)},nTm.zh=function(){return($g(),nQO).S},nTm.Ah=function(){return AW(this.zh())},nTm.Bh=function(n){nem(this,n)},nTm.Ib=function(){return nrL(this)},AY(nyo,"BasicEObjectImpl",97),nrr(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),nTm.Ch=function(n){return HF(this)[n]},nTm.Dh=function(n,t){$t(HF(this),n,t)},nTm.Eh=function(n){$t(HF(this),n,null)},nTm.Jg=function(){return Im(zF(this,4),126)},nTm.Kg=function(){throw(new wP).e},nTm.Lg=function(){return(4&this.Db)!=0},nTm.Pg=function(){throw(new wP).e},nTm.Fh=function(n){Jg(this,2,n)},nTm.Rg=function(n,t){this.Db=t<<16|255&this.Db,this.Fh(n)},nTm.Tg=function(){return Ld(this)},nTm.Vg=function(){return this.Db>>16},nTm.Wg=function(){var n;return mw(),null==(n=LN(nuq(Im(zF(this,16),26)||this.zh())))?nQ6:new Ml(this,n)},nTm.Mg=function(){return(1&this.Db)==0},nTm.Zg=function(){return Im(zF(this,128),1935)},nTm.$g=function(){return Im(zF(this,16),26)},nTm.dh=function(){return(32&this.Db)!=0},nTm.eh=function(){return Im(zF(this,2),49)},nTm.kh=function(){return(64&this.Db)!=0},nTm.ph=function(){throw(new wP).e},nTm.qh=function(){return Im(zF(this,64),281)},nTm.th=function(n){Jg(this,16,n)},nTm.uh=function(n){Jg(this,128,n)},nTm.vh=function(n){Jg(this,64,n)},nTm.yh=function(){return Jp(this)},nTm.Db=0,AY(nyo,"MinimalEObjectImpl",114),nrr(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),nTm.Fh=function(n){this.Cb=n},nTm.eh=function(){return this.Cb},AY(nyo,"MinimalEObjectImpl/Container",115),nrr(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),nTm._g=function(n,t,e){return ZT(this,n,t,e)},nTm.jh=function(n,t,e){return ntQ(this,n,t,e)},nTm.lh=function(n){return xl(this,n)},nTm.sh=function(n,t){Xy(this,n,t)},nTm.zh=function(){return nsZ(),nVN},nTm.Bh=function(n){U$(this,n)},nTm.Ve=function(){return JX(this)},nTm.We=function(n){return nrM(this,n)},nTm.Xe=function(n){return _u(this,n)},nTm.Ye=function(n,t){return Yu(this,n,t)},AY(nys,"EMapPropertyHolderImpl",1985),nrr(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},aY),nTm._g=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return Yo(this,n,t,e)},nTm.lh=function(n){switch(n){case 0:return 0!=this.a;case 1:return 0!=this.b}return JY(this,n)},nTm.sh=function(n,t){switch(n){case 0:qc(this,gy(Ss(t)));return;case 1:qa(this,gy(Ss(t)));return}neV(this,n,t)},nTm.zh=function(){return nsZ(),nVE},nTm.Bh=function(n){switch(n){case 0:qc(this,0);return;case 1:qa(this,0);return}nem(this,n)},nTm.Ib=function(){var n;return(64&this.Db)!=0?nrL(this):(n=new TW(nrL(this)),n.a+=" (x: ",pA(n,this.a),n.a+=", y: ",pA(n,this.b),n.a+=")",n.a)},nTm.a=0,nTm.b=0,AY(nys,"ElkBendPointImpl",567),nrr(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),nTm._g=function(n,t,e){return W0(this,n,t,e)},nTm.hh=function(n,t,e){return nth(this,n,t,e)},nTm.jh=function(n,t,e){return Ut(this,n,t,e)},nTm.lh=function(n){return zB(this,n)},nTm.sh=function(n,t){nnP(this,n,t)},nTm.zh=function(){return nsZ(),nVP},nTm.Bh=function(n){WL(this,n)},nTm.zg=function(){return this.k},nTm.Ag=function(){return Ni(this)},nTm.Ib=function(){return VN(this)},nTm.k=null,AY(nys,"ElkGraphElementImpl",723),nrr(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),nTm._g=function(n,t,e){return V9(this,n,t,e)},nTm.lh=function(n){return Qb(this,n)},nTm.sh=function(n,t){nnI(this,n,t)},nTm.zh=function(){return nsZ(),nV$},nTm.Bh=function(n){QM(this,n)},nTm.Bg=function(){return this.f},nTm.Cg=function(){return this.g},nTm.Dg=function(){return this.i},nTm.Eg=function(){return this.j},nTm.Fg=function(n,t){Eh(this,n,t)},nTm.Gg=function(n,t){Ef(this,n,t)},nTm.Hg=function(n){qh(this,n)},nTm.Ig=function(n){qf(this,n)},nTm.Ib=function(){return nt3(this)},nTm.f=0,nTm.g=0,nTm.i=0,nTm.j=0,AY(nys,"ElkShapeImpl",724),nrr(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),nTm._g=function(n,t,e){return Y_(this,n,t,e)},nTm.hh=function(n,t,e){return nnf(this,n,t,e)},nTm.jh=function(n,t,e){return nnl(this,n,t,e)},nTm.lh=function(n){return Xs(this,n)},nTm.sh=function(n,t){nrg(this,n,t)},nTm.zh=function(){return nsZ(),nVT},nTm.Bh=function(n){J9(this,n)},nTm.xg=function(){return this.d||(this.d=new Ph(nC$,this,8,5)),this.d},nTm.yg=function(){return this.e||(this.e=new Ph(nC$,this,7,4)),this.e},AY(nys,"ElkConnectableShapeImpl",725),nrr(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},aJ),nTm.Qg=function(n){return Z4(this,n)},nTm._g=function(n,t,e){switch(n){case 3:return L6(this);case 4:return this.b||(this.b=new Ph(nCA,this,4,7)),this.b;case 5:return this.c||(this.c=new Ph(nCA,this,5,8)),this.c;case 6:return this.a||(this.a=new An(nCN,this,6,6)),this.a;case 7:return TX(),this.b||(this.b=new Ph(nCA,this,4,7)),!(this.b.i<=1)||(this.c||(this.c=new Ph(nCA,this,5,8)),!(this.c.i<=1));case 8:return TX(),!!ni5(this);case 9:return TX(),!!niM(this);case 10:return TX(),this.b||(this.b=new Ph(nCA,this,4,7)),0!=this.b.i&&(this.c||(this.c=new Ph(nCA,this,5,8)),0!=this.c.i)}return W0(this,n,t,e)},nTm.hh=function(n,t,e){var i;switch(t){case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?Z4(this,e):this.Cb.ih(this,-1-i,null,e)),SM(this,Im(n,33),e);case 4:return this.b||(this.b=new Ph(nCA,this,4,7)),QL(this.b,n,e);case 5:return this.c||(this.c=new Ph(nCA,this,5,8)),QL(this.c,n,e);case 6:return this.a||(this.a=new An(nCN,this,6,6)),QL(this.a,n,e)}return nth(this,n,t,e)},nTm.jh=function(n,t,e){switch(t){case 3:return SM(this,null,e);case 4:return this.b||(this.b=new Ph(nCA,this,4,7)),Ye(this.b,n,e);case 5:return this.c||(this.c=new Ph(nCA,this,5,8)),Ye(this.c,n,e);case 6:return this.a||(this.a=new An(nCN,this,6,6)),Ye(this.a,n,e)}return Ut(this,n,t,e)},nTm.lh=function(n){switch(n){case 3:return!!L6(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return this.b||(this.b=new Ph(nCA,this,4,7)),!(this.b.i<=1&&(this.c||(this.c=new Ph(nCA,this,5,8)),this.c.i<=1));case 8:return ni5(this);case 9:return niM(this);case 10:return this.b||(this.b=new Ph(nCA,this,4,7)),0!=this.b.i&&(this.c||(this.c=new Ph(nCA,this,5,8)),0!=this.c.i)}return zB(this,n)},nTm.sh=function(n,t){switch(n){case 3:nr7(this,Im(t,33));return;case 4:this.b||(this.b=new Ph(nCA,this,4,7)),noK(this.b),this.b||(this.b=new Ph(nCA,this,4,7)),AJ(this.b,Im(t,14));return;case 5:this.c||(this.c=new Ph(nCA,this,5,8)),noK(this.c),this.c||(this.c=new Ph(nCA,this,5,8)),AJ(this.c,Im(t,14));return;case 6:this.a||(this.a=new An(nCN,this,6,6)),noK(this.a),this.a||(this.a=new An(nCN,this,6,6)),AJ(this.a,Im(t,14));return}nnP(this,n,t)},nTm.zh=function(){return nsZ(),nVM},nTm.Bh=function(n){switch(n){case 3:nr7(this,null);return;case 4:this.b||(this.b=new Ph(nCA,this,4,7)),noK(this.b);return;case 5:this.c||(this.c=new Ph(nCA,this,5,8)),noK(this.c);return;case 6:this.a||(this.a=new An(nCN,this,6,6)),noK(this.a);return}WL(this,n)},nTm.Ib=function(){return nop(this)},AY(nys,"ElkEdgeImpl",352),nrr(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},aZ),nTm.Qg=function(n){return ZV(this,n)},nTm._g=function(n,t,e){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return this.a||(this.a=new Tg(nCI,this,5)),this.a;case 6:return L9(this);case 7:if(t)return YP(this);return this.i;case 8:if(t)return YS(this);return this.f;case 9:return this.g||(this.g=new Ph(nCN,this,9,10)),this.g;case 10:return this.e||(this.e=new Ph(nCN,this,10,9)),this.e;case 11:return this.d}return ZT(this,n,t,e)},nTm.hh=function(n,t,e){var i;switch(t){case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?ZV(this,e):this.Cb.ih(this,-1-i,null,e)),SS(this,Im(n,79),e);case 9:return this.g||(this.g=new Ph(nCN,this,9,10)),QL(this.g,n,e);case 10:return this.e||(this.e=new Ph(nCN,this,10,9)),QL(this.e,n,e)}return Im(Bm(Im(zF(this,16),26)||(nsZ(),nVS),t),66).Nj().Qj(this,Jp(this),t-AW((nsZ(),nVS)),n,e)},nTm.jh=function(n,t,e){switch(t){case 5:return this.a||(this.a=new Tg(nCI,this,5)),Ye(this.a,n,e);case 6:return SS(this,null,e);case 9:return this.g||(this.g=new Ph(nCN,this,9,10)),Ye(this.g,n,e);case 10:return this.e||(this.e=new Ph(nCN,this,10,9)),Ye(this.e,n,e)}return ntQ(this,n,t,e)},nTm.lh=function(n){switch(n){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!L9(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return xl(this,n)},nTm.sh=function(n,t){switch(n){case 1:ql(this,gy(Ss(t)));return;case 2:qw(this,gy(Ss(t)));return;case 3:qu(this,gy(Ss(t)));return;case 4:qb(this,gy(Ss(t)));return;case 5:this.a||(this.a=new Tg(nCI,this,5)),noK(this.a),this.a||(this.a=new Tg(nCI,this,5)),AJ(this.a,Im(t,14));return;case 6:nr8(this,Im(t,79));return;case 7:q9(this,Im(t,82));return;case 8:q8(this,Im(t,82));return;case 9:this.g||(this.g=new Ph(nCN,this,9,10)),noK(this.g),this.g||(this.g=new Ph(nCN,this,9,10)),AJ(this.g,Im(t,14));return;case 10:this.e||(this.e=new Ph(nCN,this,10,9)),noK(this.e),this.e||(this.e=new Ph(nCN,this,10,9)),AJ(this.e,Im(t,14));return;case 11:Gd(this,Sh(t));return}Xy(this,n,t)},nTm.zh=function(){return nsZ(),nVS},nTm.Bh=function(n){switch(n){case 1:ql(this,0);return;case 2:qw(this,0);return;case 3:qu(this,0);return;case 4:qb(this,0);return;case 5:this.a||(this.a=new Tg(nCI,this,5)),noK(this.a);return;case 6:nr8(this,null);return;case 7:q9(this,null);return;case 8:q8(this,null);return;case 9:this.g||(this.g=new Ph(nCN,this,9,10)),noK(this.g);return;case 10:this.e||(this.e=new Ph(nCN,this,10,9)),noK(this.e);return;case 11:Gd(this,null);return}U$(this,n)},nTm.Ib=function(){return niQ(this)},nTm.b=0,nTm.c=0,nTm.d=null,nTm.j=0,nTm.k=0,AY(nys,"ElkEdgeSectionImpl",439),nrr(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),nTm._g=function(n,t,e){return 0==n?(this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab):_Q(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t,e)},nTm.hh=function(n,t,e){return 0==t?(this.Ab||(this.Ab=new An(nQa,this,0,3)),QL(this.Ab,n,e)):Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Qj(this,Jp(this),t-AW(this.zh()),n,e)},nTm.jh=function(n,t,e){return 0==t?(this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e)):Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Rj(this,Jp(this),t-AW(this.zh()),n,e)},nTm.lh=function(n){return 0==n?!!this.Ab&&0!=this.Ab.i:RL(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTm.oh=function(n){return ns$(this,n)},nTm.sh=function(n,t){if(0===n){this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return}V5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t)},nTm.uh=function(n){Jg(this,128,n)},nTm.zh=function(){return nhl(),nQB},nTm.Bh=function(n){if(0===n){this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return}W5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTm.Gh=function(){this.Bb|=1},nTm.Hh=function(n){return nus(this,n)},nTm.Bb=0,AY(nyo,"EModelElementImpl",150),nrr(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},sJ),nTm.Ih=function(n,t){return nso(this,n,t)},nTm.Jh=function(n){var t,e,i,r;if(this.a!=BU(n)||(256&n.Bb)!=0)throw new gd(nyd+n.zb+nyl).e;for(e=Lw(n);0!=RJ(e.a).i;){if(Zb(t=Im(no1(e,0,Ti(r=Im(BX(RJ(e.a),0),87).c,88)?Im(r,26):(nhl(),nQG)),26)))return Im(i=BU(t).Nh().Jh(t),49).th(n),i;e=Lw(t)}return(null!=n.D?n.D:n.B)=="java.util.Map$Entry"?new Cl(n):new Iz(n)},nTm.Kh=function(n,t){return ns4(this,n,t)},nTm._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.a}return _Q(this,n-AW((nhl(),nQF)),Bm(Im(zF(this,16),26)||nQF,n),t,e)},nTm.hh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),QL(this.Ab,n,e);case 1:return this.a&&(e=Im(this.a,49).ih(this,4,nCR,e)),WP(this,Im(n,235),e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQF),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQF)),n,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 1:return WP(this,null,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQF),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQF)),n,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return RL(this,n-AW((nhl(),nQF)),Bm(Im(zF(this,16),26)||nQF,n))},nTm.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:nt_(this,Im(t,235));return}V5(this,n-AW((nhl(),nQF)),Bm(Im(zF(this,16),26)||nQF,n),t)},nTm.zh=function(){return nhl(),nQF},nTm.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:nt_(this,null);return}W5(this,n-AW((nhl(),nQF)),Bm(Im(zF(this,16),26)||nQF,n))},AY(nyo,"EFactoryImpl",704),nrr(nyp,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},a1),nTm.Ih=function(n,t){switch(n.yj()){case 12:return Im(t,146).tg();case 13:return V7(t);default:throw new gd(nyf+n.ne()+nyl).e}},nTm.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=BU(n))?Yl(t.Mh(),n):-1),n.G){case 4:return new a0;case 6:return new dg;case 7:return new dp;case 8:return new aJ;case 9:return new aY;case 10:return new aZ;case 11:return new a3;default:throw new gd(nyd+n.zb+nyl).e}},nTm.Kh=function(n,t){switch(n.yj()){case 13:case 12:return null;default:throw new gd(nyf+n.ne()+nyl).e}},AY(nys,"ElkGraphFactoryImpl",nyp),nrr(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),nTm.Wg=function(){var n;return null==(n=LN(nuq(Im(zF(this,16),26)||this.zh())))?(mw(),mw(),nQ6):new MY(this,n)},nTm._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.ne()}return _Q(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return RL(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTm.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:this.Lh(Sh(t));return}V5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t)},nTm.zh=function(){return nhl(),nQq},nTm.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:this.Lh(null);return}W5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTm.ne=function(){return this.zb},nTm.Lh=function(n){GF(this,n)},nTm.Ib=function(){return Wq(this)},nTm.zb=null,AY(nyo,"ENamedElementImpl",438),nrr(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},Lb),nTm.Qg=function(n){return Z1(this,n)},nTm._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return this.rb||(this.rb=new O6(this,nQh,this)),this.rb;case 6:return this.vb||(this.vb=new Pe(nCR,this,6,7)),this.vb;case 7:if(t)return this.Db>>16==7?Im(this.Cb,235):null;return L7(this)}return _Q(this,n-AW((nhl(),nQX)),Bm(Im(zF(this,16),26)||nQX,n),t,e)},nTm.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),QL(this.Ab,n,e);case 4:return this.sb&&(e=Im(this.sb,49).ih(this,1,nCD,e)),WG(this,Im(n,471),e);case 5:return this.rb||(this.rb=new O6(this,nQh,this)),QL(this.rb,n,e);case 6:return this.vb||(this.vb=new Pe(nCR,this,6,7)),QL(this.vb,n,e);case 7:return this.Cb&&(e=(i=this.Db>>16)>=0?Z1(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,7,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQX),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQX)),n,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 4:return WG(this,null,e);case 5:return this.rb||(this.rb=new O6(this,nQh,this)),Ye(this.rb,n,e);case 6:return this.vb||(this.vb=new Pe(nCR,this,6,7)),Ye(this.vb,n,e);case 7:return nuc(this,null,7,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQX),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQX)),n,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!L7(this)}return RL(this,n-AW((nhl(),nQX)),Bm(Im(zF(this,16),26)||nQX,n))},nTm.oh=function(n){return function(n,t){var e,i,r,c,a,u;if(!n.tb){for(n.rb||(n.rb=new O6(n,nQh,n)),u=new vL((c=n.rb).i),r=new Td(c);r.e!=r.i.gc();)a=(i=Im(J1(r),138)).ne(),(e=Im(null==a?neQ(u.f,null,i):VH(u.g,a,i),138))&&(null==a?neQ(u.f,null,e):VH(u.g,a,e));n.tb=u}return Im(Lz(n.tb,t),138)}(this,n)||ns$(this,n)},nTm.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:GF(this,Sh(t));return;case 2:GH(this,Sh(t));return;case 3:G_(this,Sh(t));return;case 4:ntJ(this,Im(t,471));return;case 5:this.rb||(this.rb=new O6(this,nQh,this)),noK(this.rb),this.rb||(this.rb=new O6(this,nQh,this)),AJ(this.rb,Im(t,14));return;case 6:this.vb||(this.vb=new Pe(nCR,this,6,7)),noK(this.vb),this.vb||(this.vb=new Pe(nCR,this,6,7)),AJ(this.vb,Im(t,14));return}V5(this,n-AW((nhl(),nQX)),Bm(Im(zF(this,16),26)||nQX,n),t)},nTm.vh=function(n){var t,e;if(n&&this.rb)for(e=new Td(this.rb);e.e!=e.i.gc();)Ti(t=J1(e),351)&&(Im(t,351).w=null);Jg(this,64,n)},nTm.zh=function(){return nhl(),nQX},nTm.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:GF(this,null);return;case 2:GH(this,null);return;case 3:G_(this,null);return;case 4:ntJ(this,null);return;case 5:this.rb||(this.rb=new O6(this,nQh,this)),noK(this.rb);return;case 6:this.vb||(this.vb=new Pe(nCR,this,6,7)),noK(this.vb);return}W5(this,n-AW((nhl(),nQX)),Bm(Im(zF(this,16),26)||nQX,n))},nTm.Gh=function(){ZM(this)},nTm.Mh=function(){return this.rb||(this.rb=new O6(this,nQh,this)),this.rb},nTm.Nh=function(){return this.sb},nTm.Oh=function(){return this.ub},nTm.Ph=function(){return this.xb},nTm.Qh=function(){return this.yb},nTm.Rh=function(n){this.ub=n},nTm.Ib=function(){var n;return(64&this.Db)!=0?Wq(this):(n=new TW(Wq(this)),n.a+=" (nsURI: ",jT(n,this.yb),n.a+=", nsPrefix: ",jT(n,this.xb),n.a+=")",n.a)},nTm.xb=null,nTm.yb=null,AY(nyo,"EPackageImpl",179),nrr(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},nrn),nTm.q=!1,nTm.r=!1;var nCH=!1;AY(nys,"ElkGraphPackageImpl",555),nrr(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},a0),nTm.Qg=function(n){return ZQ(this,n)},nTm._g=function(n,t,e){switch(n){case 7:return Dn(this);case 8:return this.a}return V9(this,n,t,e)},nTm.hh=function(n,t,e){var i;return 7===t?(this.Cb&&(e=(i=this.Db>>16)>=0?ZQ(this,e):this.Cb.ih(this,-1-i,null,e)),Ow(this,Im(n,160),e)):nth(this,n,t,e)},nTm.jh=function(n,t,e){return 7==t?Ow(this,null,e):Ut(this,n,t,e)},nTm.lh=function(n){switch(n){case 7:return!!Dn(this);case 8:return!Pv("",this.a)}return Qb(this,n)},nTm.sh=function(n,t){switch(n){case 7:ncd(this,Im(t,160));return;case 8:q7(this,Sh(t));return}nnI(this,n,t)},nTm.zh=function(){return nsZ(),nVI},nTm.Bh=function(n){switch(n){case 7:ncd(this,null);return;case 8:q7(this,"");return}QM(this,n)},nTm.Ib=function(){return neh(this)},nTm.a="",AY(nys,"ElkLabelImpl",354),nrr(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},dg),nTm.Qg=function(n){return Z5(this,n)},nTm._g=function(n,t,e){switch(n){case 9:return this.c||(this.c=new An(nC_,this,9,9)),this.c;case 10:return this.a||(this.a=new An(nCF,this,10,11)),this.a;case 11:return Dt(this);case 12:return this.b||(this.b=new An(nC$,this,12,3)),this.b;case 13:return TX(),this.a||(this.a=new An(nCF,this,10,11)),this.a.i>0}return Y_(this,n,t,e)},nTm.hh=function(n,t,e){var i;switch(t){case 9:return this.c||(this.c=new An(nC_,this,9,9)),QL(this.c,n,e);case 10:return this.a||(this.a=new An(nCF,this,10,11)),QL(this.a,n,e);case 11:return this.Cb&&(e=(i=this.Db>>16)>=0?Z5(this,e):this.Cb.ih(this,-1-i,null,e)),S8(this,Im(n,33),e);case 12:return this.b||(this.b=new An(nC$,this,12,3)),QL(this.b,n,e)}return nnf(this,n,t,e)},nTm.jh=function(n,t,e){switch(t){case 9:return this.c||(this.c=new An(nC_,this,9,9)),Ye(this.c,n,e);case 10:return this.a||(this.a=new An(nCF,this,10,11)),Ye(this.a,n,e);case 11:return S8(this,null,e);case 12:return this.b||(this.b=new An(nC$,this,12,3)),Ye(this.b,n,e)}return nnl(this,n,t,e)},nTm.lh=function(n){switch(n){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!Dt(this);case 12:return!!this.b&&0!=this.b.i;case 13:return this.a||(this.a=new An(nCF,this,10,11)),this.a.i>0}return Xs(this,n)},nTm.sh=function(n,t){switch(n){case 9:this.c||(this.c=new An(nC_,this,9,9)),noK(this.c),this.c||(this.c=new An(nC_,this,9,9)),AJ(this.c,Im(t,14));return;case 10:this.a||(this.a=new An(nCF,this,10,11)),noK(this.a),this.a||(this.a=new An(nCF,this,10,11)),AJ(this.a,Im(t,14));return;case 11:ncc(this,Im(t,33));return;case 12:this.b||(this.b=new An(nC$,this,12,3)),noK(this.b),this.b||(this.b=new An(nC$,this,12,3)),AJ(this.b,Im(t,14));return}nrg(this,n,t)},nTm.zh=function(){return nsZ(),nVC},nTm.Bh=function(n){switch(n){case 9:this.c||(this.c=new An(nC_,this,9,9)),noK(this.c);return;case 10:this.a||(this.a=new An(nCF,this,10,11)),noK(this.a);return;case 11:ncc(this,null);return;case 12:this.b||(this.b=new An(nC$,this,12,3)),noK(this.b);return}J9(this,n)},nTm.Ib=function(){return naC(this)},AY(nys,"ElkNodeImpl",239),nrr(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},dp),nTm.Qg=function(n){return ZJ(this,n)},nTm._g=function(n,t,e){return 9==n?L8(this):Y_(this,n,t,e)},nTm.hh=function(n,t,e){var i;return 9===t?(this.Cb&&(e=(i=this.Db>>16)>=0?ZJ(this,e):this.Cb.ih(this,-1-i,null,e)),SP(this,Im(n,33),e)):nnf(this,n,t,e)},nTm.jh=function(n,t,e){return 9==t?SP(this,null,e):nnl(this,n,t,e)},nTm.lh=function(n){return 9==n?!!L8(this):Xs(this,n)},nTm.sh=function(n,t){if(9===n){nr9(this,Im(t,33));return}nrg(this,n,t)},nTm.zh=function(){return nsZ(),nVO},nTm.Bh=function(n){if(9===n){nr9(this,null);return}J9(this,n)},nTm.Ib=function(){return naO(this)},AY(nys,"ElkPortImpl",186);var nCB=Cw(nyR,"BasicEMap/Entry");nrr(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},a3),nTm.Fb=function(n){return this===n},nTm.cd=function(){return this.b},nTm.Hb=function(){return T9(this)},nTm.Uh=function(n){Gn(this,Im(n,146))},nTm._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return Yo(this,n,t,e)},nTm.lh=function(n){switch(n){case 0:return!!this.b;case 1:return null!=this.c}return JY(this,n)},nTm.sh=function(n,t){switch(n){case 0:Gn(this,Im(t,146));return;case 1:Gi(this,t);return}neV(this,n,t)},nTm.zh=function(){return nsZ(),nVA},nTm.Bh=function(n){switch(n){case 0:Gn(this,null);return;case 1:Gi(this,null);return}nem(this,n)},nTm.Sh=function(){var n;return -1==this.a&&(n=this.b,this.a=n?Xg(n):0),this.a},nTm.dd=function(){return this.c},nTm.Th=function(n){this.a=n},nTm.ed=function(n){var t;return t=this.c,Gi(this,n),t},nTm.Ib=function(){var n;return(64&this.Db)!=0?nrL(this):(jP(jP(jP(n=new gX,this.b?this.b.tg():nhL),nw4),T4(this.c)),n.a)},nTm.a=-1,nTm.c=null;var nCq=AY(nys,"ElkPropertyToValueMapEntryImpl",1092);nrr(984,1,{},a6),AY(ny_,"JsonAdapter",984),nrr(210,60,nfm,gS),AY(ny_,"JsonImportException",210),nrr(857,1,{},Z0),AY(ny_,"JsonImporter",857),nrr(891,1,{},kB),AY(ny_,"JsonImporter/lambda$0$Type",891),nrr(892,1,{},kq),AY(ny_,"JsonImporter/lambda$1$Type",892),nrr(900,1,{},bo),AY(ny_,"JsonImporter/lambda$10$Type",900),nrr(902,1,{},kG),AY(ny_,"JsonImporter/lambda$11$Type",902),nrr(903,1,{},kz),AY(ny_,"JsonImporter/lambda$12$Type",903),nrr(909,1,{},NL),AY(ny_,"JsonImporter/lambda$13$Type",909),nrr(908,1,{},NN),AY(ny_,"JsonImporter/lambda$14$Type",908),nrr(904,1,{},kU),AY(ny_,"JsonImporter/lambda$15$Type",904),nrr(905,1,{},kX),AY(ny_,"JsonImporter/lambda$16$Type",905),nrr(906,1,{},kW),AY(ny_,"JsonImporter/lambda$17$Type",906),nrr(907,1,{},kV),AY(ny_,"JsonImporter/lambda$18$Type",907),nrr(912,1,{},bs),AY(ny_,"JsonImporter/lambda$19$Type",912),nrr(893,1,{},bh),AY(ny_,"JsonImporter/lambda$2$Type",893),nrr(910,1,{},bf),AY(ny_,"JsonImporter/lambda$20$Type",910),nrr(911,1,{},bl),AY(ny_,"JsonImporter/lambda$21$Type",911),nrr(915,1,{},bb),AY(ny_,"JsonImporter/lambda$22$Type",915),nrr(913,1,{},bw),AY(ny_,"JsonImporter/lambda$23$Type",913),nrr(914,1,{},bd),AY(ny_,"JsonImporter/lambda$24$Type",914),nrr(917,1,{},bg),AY(ny_,"JsonImporter/lambda$25$Type",917),nrr(916,1,{},bp),AY(ny_,"JsonImporter/lambda$26$Type",916),nrr(918,1,nh1,kQ),nTm.td=function(n){var t,e,i,r,c;t=this.b,e=this.a,r=L5(t,i=Sh(n)),c=null,r&&(c=ney(r)),JN(e,i,c)},AY(ny_,"JsonImporter/lambda$27$Type",918),nrr(919,1,nh1,kJ),nTm.td=function(n){var t,e,i,r,c;t=this.b,e=this.a,r=L5(t,i=Sh(n)),c=null,r&&(c=ney(r)),JN(e,i,c)},AY(ny_,"JsonImporter/lambda$28$Type",919),nrr(920,1,{},kY),AY(ny_,"JsonImporter/lambda$29$Type",920),nrr(896,1,{},bv),AY(ny_,"JsonImporter/lambda$3$Type",896),nrr(921,1,{},kZ),AY(ny_,"JsonImporter/lambda$30$Type",921),nrr(922,1,{},bm),AY(ny_,"JsonImporter/lambda$31$Type",922),nrr(923,1,{},by),AY(ny_,"JsonImporter/lambda$32$Type",923),nrr(924,1,{},bk),AY(ny_,"JsonImporter/lambda$33$Type",924),nrr(925,1,{},bj),AY(ny_,"JsonImporter/lambda$34$Type",925),nrr(859,1,{},bE),AY(ny_,"JsonImporter/lambda$35$Type",859),nrr(929,1,{},Ic),AY(ny_,"JsonImporter/lambda$36$Type",929),nrr(926,1,nh1,bT),nTm.td=function(n){var t,e,i;t=this.a,e=Im(n,469),N1(i=new gt,"x",e.a),N1(i,"y",e.b),$v(t,i)},AY(ny_,"JsonImporter/lambda$37$Type",926),nrr(927,1,nh1,k5),nTm.td=function(n){var t;t=this.a,nnT(this.b,neA(t,Im(n,202)))},AY(ny_,"JsonImporter/lambda$38$Type",927),nrr(928,1,nh1,k6),nTm.td=function(n){var t;t=this.a,nnT(this.b,neA(t,Im(n,202)))},AY(ny_,"JsonImporter/lambda$39$Type",928),nrr(894,1,{},bM),AY(ny_,"JsonImporter/lambda$4$Type",894),nrr(930,1,nh1,bS),nTm.td=function(n){var t,e,i;t=this.a,e=Im(n,8),N1(i=new gt,"x",e.a),N1(i,"y",e.b),$v(t,i)},AY(ny_,"JsonImporter/lambda$40$Type",930),nrr(895,1,{},bP),AY(ny_,"JsonImporter/lambda$5$Type",895),nrr(899,1,{},bI),AY(ny_,"JsonImporter/lambda$6$Type",899),nrr(897,1,{},bC),AY(ny_,"JsonImporter/lambda$7$Type",897),nrr(898,1,{},bO),AY(ny_,"JsonImporter/lambda$8$Type",898),nrr(901,1,{},bA),AY(ny_,"JsonImporter/lambda$9$Type",901),nrr(948,1,nh1,b$),nTm.td=function(n){$v(this.a,new $h(Sh(n)))},AY(ny_,"JsonMetaDataConverter/lambda$0$Type",948),nrr(949,1,nh1,bN),nTm.td=function(n){var t;$v(this.a,new $h(null!=(t=Im(n,237)).f?t.f:""+t.g))},AY(ny_,"JsonMetaDataConverter/lambda$1$Type",949),nrr(950,1,nh1,bL),nTm.td=function(n){var t,e;t=this.a,null!=(e=Im(n,149)).c&&$v(t,new $h(e.c))},AY(ny_,"JsonMetaDataConverter/lambda$2$Type",950),nrr(951,1,nh1,bD),nTm.td=function(n){var t;$v(this.a,new $h(null!=(t=Im(n,175)).f?t.f:""+t.g))},AY(ny_,"JsonMetaDataConverter/lambda$3$Type",951),nrr(237,22,{3:1,35:1,22:1,237:1},k4);var nCG=qE(nbH,"GraphFeature",237,nE2,function(){return nrt(),Um(Dg(nCG,1),nfh,237,0,[nVU,nVq,nVG,nVB,nVz,nV_,nVF,nVH])},function(n){return nrt(),H5((zk(),nVX),n)});nrr(13,1,{35:1,146:1},bR,SA,jU,EM),nTm.wd=function(n){var t;return t=Im(n,146),Fb(this.b,t.tg())},nTm.Fb=function(n){return Lg(this,n)},nTm.wg=function(){return JZ(this)},nTm.tg=function(){return this.b},nTm.Hb=function(){return Yj(this.b)},nTm.Ib=function(){return this.b},AY(nbH,"Property",13),nrr(818,1,nlX,bx),nTm.ue=function(n,t){var e,i,r,c;return e=Im(n,94),i=Im(t,94),r=Im(e.We(this.a),35),c=Im(i.We(this.a),35),null!=r&&null!=c?zs(r,c):null!=r?-1:null!=c?1:0},nTm.Fb=function(n){return this===n},nTm.ve=function(){return new h6(this)},AY(nbH,"PropertyHolderComparator",818),nrr(695,1,nhF,bF),nTm.Nb=function(n){Ao(this,n)},nTm.Pb=function(){return function(n){var t;if(!n.a)throw(new $7).e;return t=n.a,n.a=Dt(n.a),t}(this)},nTm.Qb=function(){py()},nTm.Ob=function(){return!!this.a},AY(ny1,"ElkGraphUtil/AncestorIterator",695);var nCz=Cw(nyR,"EList");nrr(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),nTm.Vc=function(n,t){Vf(this,n,t)},nTm.Fc=function(n){return _P(this,n)},nTm.Wc=function(n,t){return UG(this,n,t)},nTm.Gc=function(n){return AJ(this,n)},nTm.Zh=function(){return new Mm(this)},nTm.$h=function(){return new My(this)},nTm._h=function(n){return qB(this,n)},nTm.ai=function(){return!0},nTm.bi=function(n,t){},nTm.ci=function(){},nTm.di=function(n,t){_s(this,n,t)},nTm.ei=function(n,t,e){},nTm.fi=function(n,t){},nTm.gi=function(n,t,e){},nTm.Fb=function(n){return nar(this,n)},nTm.Hb=function(){return Up(this)},nTm.hi=function(){return!1},nTm.Kc=function(){return new Td(this)},nTm.Yc=function(){return new Mv(this)},nTm.Zc=function(n){var t;if(t=this.gc(),n<0||n>t)throw new Pt(n,t).e;return new AA(this,n)},nTm.ji=function(n,t){this.ii(n,this.Xc(t))},nTm.Mc=function(n){return HG(this,n)},nTm.li=function(n,t){return t},nTm._c=function(n,t){return Yb(this,n,t)},nTm.Ib=function(){return Qc(this)},nTm.ni=function(){return!0},nTm.oi=function(n,t){return XH(this,t)},AY(nyR,"AbstractEList",67),nrr(63,67,ny5,a7,BO,zi),nTm.Vh=function(n,t){return ntf(this,n,t)},nTm.Wh=function(n){return YY(this,n)},nTm.Xh=function(n,t){WV(this,n,t)},nTm.Yh=function(n){Fu(this,n)},nTm.pi=function(n){return _U(this,n)},nTm.$b=function(){Fo(this)},nTm.Hc=function(n){return nnv(this,n)},nTm.Xb=function(n){return BX(this,n)},nTm.qi=function(n){var t,e,i;++this.j,n>(e=null==this.g?0:this.g.length)&&(i=this.g,(t=e+(e/2|0)+4)=0&&(this.$c(t),!0)},nTm.mi=function(n,t){return this.Ui(n,this.oi(n,t))},nTm.gc=function(){return this.Vi()},nTm.Pc=function(){return this.Wi()},nTm.Qc=function(n){return this.Xi(n)},nTm.Ib=function(){return this.Yi()},AY(nyR,"DelegatingEList",1995),nrr(1996,1995,nkF),nTm.Vh=function(n,t){return nuE(this,n,t)},nTm.Wh=function(n){return this.Vh(this.Vi(),n)},nTm.Xh=function(n,t){ni8(this,n,t)},nTm.Yh=function(n){niU(this,n)},nTm.ai=function(){return!this.bj()},nTm.$b=function(){noB(this)},nTm.Zi=function(n,t,e,i,r){return new LT(this,n,t,e,i,r)},nTm.$i=function(n){zx(this.Ai(),n)},nTm._i=function(){return null},nTm.aj=function(){return -1},nTm.Ai=function(){return null},nTm.bj=function(){return!1},nTm.cj=function(n,t){return t},nTm.dj=function(n,t){return t},nTm.ej=function(){return!1},nTm.fj=function(){return!this.Ri()},nTm.ii=function(n,t){var e,i;return this.ej()?(i=this.fj(),e=ntR(this,n,t),this.$i(this.Zi(7,Va(t),e,n,i)),e):ntR(this,n,t)},nTm.$c=function(n){var t,e,i,r;return this.ej()?(e=null,i=this.fj(),t=this.Zi(4,r=Cd(this,n),null,n,i),this.bj()&&r?(e=this.dj(r,e))?(e.Ei(t),e.Fi()):this.$i(t):e?(e.Ei(t),e.Fi()):this.$i(t)):(r=Cd(this,n),this.bj()&&r&&(e=this.dj(r,null))&&e.Fi()),r},nTm.mi=function(n,t){return nuT(this,n,t)},AY(nm7,"DelegatingNotifyingListImpl",1996),nrr(143,1,nk_),nTm.Ei=function(n){return nnQ(this,n)},nTm.Fi=function(){Hk(this)},nTm.xi=function(){return this.d},nTm._i=function(){return null},nTm.gj=function(){return null},nTm.yi=function(n){return -1},nTm.zi=function(){return ncK(this)},nTm.Ai=function(){return null},nTm.Bi=function(){return ncF(this)},nTm.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},nTm.hj=function(){return!1},nTm.Di=function(n){var t,e,i,r,c,a,u,o;switch(this.d){case 1:case 2:switch(n.xi()){case 1:case 2:if(jf(n.Ai())===jf(this.Ai())&&this.yi(null)==n.yi(null))return this.g=n.zi(),1==n.xi()&&(this.d=1),!0}case 4:if(4===n.xi()&&jf(n.Ai())===jf(this.Ai())&&this.yi(null)==n.yi(null))return(a=noZ(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=n.Ci(),this.d=6,o=new BO(2),c<=i)?(_P(o,this.n),_P(o,n.Bi()),this.g=Um(Dg(nYN,1),nfB,25,15,[this.o=c,i+1])):(_P(o,n.Bi()),_P(o,this.n),this.g=Um(Dg(nYN,1),nfB,25,15,[this.o=i,c])),this.n=o,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===n.xi()&&jf(n.Ai())===jf(this.Ai())&&this.yi(null)==n.yi(null)){for(a=noZ(this),i=n.Ci(),e=_f(nYN,nfB,25,(u=Im(this.g,48)).length+1,15,1),t=0;t>>0).toString(16)),e.a+=" (eventType: ",this.d){case 1:e.a+="SET";break;case 2:e.a+="UNSET";break;case 3:e.a+="ADD";break;case 5:e.a+="ADD_MANY";break;case 4:e.a+="REMOVE";break;case 6:e.a+="REMOVE_MANY";break;case 7:e.a+="MOVE";break;case 8:e.a+="REMOVING_ADAPTER";break;case 9:e.a+="RESOLVE";break;default:i=this.d,e.a+=i}if(naB(this)&&(e.a+=", touch: true"),e.a+=", position: ",r=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,e.a+=r,e.a+=", notifier: ",jE(e,this.Ai()),e.a+=", feature: ",jE(e,this._i()),e.a+=", oldValue: ",jE(e,ncF(this)),e.a+=", newValue: ",6==this.d&&Ti(this.g,48)){for(t=Im(this.g,48),e.a+="[",n=0;n10?(this.b&&this.c.j==this.a||(this.b=new CI(this),this.a=this.j),v$(this.b,n)):nnv(this,n)},nTm.ni=function(){return!0},nTm.a=0,AY(nyR,"AbstractEList/1",953),nrr(295,73,nle,Pt),AY(nyR,"AbstractEList/BasicIndexOutOfBoundsException",295),nrr(40,1,nhF,Td),nTm.Nb=function(n){Ao(this,n)},nTm.mj=function(){if(this.i.j!=this.f)throw(new wI).e},nTm.nj=function(){return J1(this)},nTm.Ob=function(){return this.e!=this.i.gc()},nTm.Pb=function(){return this.nj()},nTm.Qb=function(){nnA(this)},nTm.e=0,nTm.f=0,nTm.g=-1,AY(nyR,"AbstractEList/EIterator",40),nrr(278,40,nhX,Mv,AA),nTm.Qb=function(){nnA(this)},nTm.Rb=function(n){Qq(this,n)},nTm.oj=function(){var n;try{return n=this.d.Xb(--this.e),this.mj(),this.g=this.e,n}catch(n){if(Ti(n=Uu(n),73))throw this.mj(),(new wO).e;throw n.e}},nTm.pj=function(n){Y2(this,n)},nTm.Sb=function(){return 0!=this.e},nTm.Tb=function(){return this.e},nTm.Ub=function(){return this.oj()},nTm.Vb=function(){return this.e-1},nTm.Wb=function(n){this.pj(n)},AY(nyR,"AbstractEList/EListIterator",278),nrr(341,40,nhF,Mm),nTm.nj=function(){return J0(this)},nTm.Qb=function(){throw(new wP).e},AY(nyR,"AbstractEList/NonResolvingEIterator",341),nrr(385,278,nhX,My,PS),nTm.Rb=function(n){throw(new wP).e},nTm.nj=function(){var n;try{return n=this.c.ki(this.e),this.mj(),this.g=this.e++,n}catch(n){if(Ti(n=Uu(n),73))throw this.mj(),(new wO).e;throw n.e}},nTm.oj=function(){var n;try{return n=this.c.ki(--this.e),this.mj(),this.g=this.e,n}catch(n){if(Ti(n=Uu(n),73))throw this.mj(),(new wO).e;throw n.e}},nTm.Qb=function(){throw(new wP).e},nTm.Wb=function(n){throw(new wP).e},AY(nyR,"AbstractEList/NonResolvingEListIterator",385),nrr(1982,67,nkq),nTm.Vh=function(n,t){var e,i,r,c,a,u,o,s,h;if(0==(i=t.gc()))return++this.j,!1;for(e=XD(this,(s=null==(o=Im(zF(this.a,4),126))?0:o.length)+i),(h=s-n)>0&&now(o,n,e,n+i,h),u=t.Kc(),c=0;ce)throw new Pt(n,e).e;return new $G(this,n)},nTm.$b=function(){var n,t;++this.j,t=null==(n=Im(zF(this.a,4),126))?0:n.length,JO(this,null),_s(this,t,n)},nTm.Hc=function(n){var t,e,i,r;if(null!=(t=Im(zF(this.a,4),126))){if(null!=n){for(i=0,r=(e=t).length;i=(e=null==(t=Im(zF(this.a,4),126))?0:t.length))throw new Pt(n,e).e;return t[n]},nTm.Xc=function(n){var t,e,i;if(null!=(t=Im(zF(this.a,4),126))){if(null!=n){for(e=0,i=t.length;ee)throw new Pt(n,e).e;return new $q(this,n)},nTm.ii=function(n,t){var e,i,r;if(n>=(r=null==(e=Q8(this))?0:e.length))throw new gu(ny2+n+ny3+r).e;if(t>=r)throw new gu(ny4+t+ny3+r).e;return i=e[t],n!=t&&(n=(a=null==(e=Im(zF(n.a,4),126))?0:e.length))throw new Pt(t,a).e;return r=e[t],1==a?i=null:(now(e,0,i=_f(nCV,nkB,415,a-1,0,1),0,t),(c=a-t-1)>0&&now(e,t+1,i,t,c)),JO(n,i),neq(n,t,r),r}(this,n)},nTm.mi=function(n,t){var e,i;return i=(e=Q8(this))[n],$t(e,n,XH(this,t)),JO(this,e),i},nTm.gc=function(){var n;return null==(n=Im(zF(this.a,4),126))?0:n.length},nTm.Pc=function(){var n,t,e;return t=_f(nCV,nkB,415,e=null==(n=Im(zF(this.a,4),126))?0:n.length,0,1),e>0&&now(n,0,t,0,e),t},nTm.Qc=function(n){var t,e;return(e=null==(t=Im(zF(this.a,4),126))?0:t.length)>0&&(n.lengthe&&$t(n,e,null),n},AY(nyR,"ArrayDelegatingEList",1982),nrr(1038,40,nhF,KV),nTm.mj=function(){if(this.b.j!=this.f||jf(Im(zF(this.b.a,4),126))!==jf(this.a))throw(new wI).e},nTm.Qb=function(){nnA(this),this.a=Im(zF(this.b.a,4),126)},AY(nyR,"ArrayDelegatingEList/EIterator",1038),nrr(706,278,nhX,O4,$q),nTm.mj=function(){if(this.b.j!=this.f||jf(Im(zF(this.b.a,4),126))!==jf(this.a))throw(new wI).e},nTm.pj=function(n){Y2(this,n),this.a=Im(zF(this.b.a,4),126)},nTm.Qb=function(){nnA(this),this.a=Im(zF(this.b.a,4),126)},AY(nyR,"ArrayDelegatingEList/EListIterator",706),nrr(1039,341,nhF,KQ),nTm.mj=function(){if(this.b.j!=this.f||jf(Im(zF(this.b.a,4),126))!==jf(this.a))throw(new wI).e},AY(nyR,"ArrayDelegatingEList/NonResolvingEIterator",1039),nrr(707,385,nhX,O5,$G),nTm.mj=function(){if(this.b.j!=this.f||jf(Im(zF(this.b.a,4),126))!==jf(this.a))throw(new wI).e},AY(nyR,"ArrayDelegatingEList/NonResolvingEListIterator",707),nrr(606,295,nle,jX),AY(nyR,"BasicEList/BasicIndexOutOfBoundsException",606),nrr(696,63,ny5,jc),nTm.Vc=function(n,t){throw(new wP).e},nTm.Fc=function(n){throw(new wP).e},nTm.Wc=function(n,t){throw(new wP).e},nTm.Gc=function(n){throw(new wP).e},nTm.$b=function(){throw(new wP).e},nTm.qi=function(n){throw(new wP).e},nTm.Kc=function(){return this.Zh()},nTm.Yc=function(){return this.$h()},nTm.Zc=function(n){return this._h(n)},nTm.ii=function(n,t){throw(new wP).e},nTm.ji=function(n,t){throw(new wP).e},nTm.$c=function(n){throw(new wP).e},nTm.Mc=function(n){throw(new wP).e},nTm._c=function(n,t){throw(new wP).e},AY(nyR,"BasicEList/UnmodifiableEList",696),nrr(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),nTm.Vc=function(n,t){!function(n,t,e){n.c.Vc(t,Im(e,133))}(this,n,Im(t,42))},nTm.Fc=function(n){var t;return t=Im(n,42),this.c.Fc(Im(t,133))},nTm.Jc=function(n){KA(this,n)},nTm.Xb=function(n){return Im(BX(this.c,n),133)},nTm.ii=function(n,t){return Im(this.c.ii(n,t),42)},nTm.ji=function(n,t){!function(n,t,e){n.c.ji(t,Im(e,133))}(this,n,Im(t,42))},nTm.Lc=function(){return new CN(null,new D6(this,16))},nTm.$c=function(n){return Im(this.c.$c(n),42)},nTm._c=function(n,t){var e;return e=Im(t,42),Im(this.c._c(n,Im(e,133)),42)},nTm.ad=function(n){GG(this,n)},nTm.Nc=function(){return new D6(this,16)},nTm.Oc=function(){return new CN(null,new D6(this,16))},nTm.Wc=function(n,t){return this.c.Wc(n,t)},nTm.Gc=function(n){return this.c.Gc(n)},nTm.$b=function(){this.c.$b()},nTm.Hc=function(n){return this.c.Hc(n)},nTm.Ic=function(n){return Ur(this.c,n)},nTm.qj=function(){var n,t;if(null==this.d){for(this.d=_f(nCU,nkG,63,2*this.f+1,0,1),t=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)YC(this,Im(n.nj(),133));this.e=t}},nTm.Fb=function(n){return PM(this,n)},nTm.Hb=function(){return Up(this.c)},nTm.Xc=function(n){return this.c.Xc(n)},nTm.rj=function(){this.c=new b_(this)},nTm.dc=function(){return 0==this.f},nTm.Kc=function(){return this.c.Kc()},nTm.Yc=function(){return this.c.Yc()},nTm.Zc=function(n){return this.c.Zc(n)},nTm.sj=function(){return _o(this)},nTm.tj=function(n,t,e){return new Ia(n,t,e)},nTm.uj=function(){return new ut},nTm.Mc=function(n){return qq(this,n)},nTm.gc=function(){return this.f},nTm.bd=function(n,t){return new D2(this.c,n,t)},nTm.Pc=function(){return this.c.Pc()},nTm.Qc=function(n){return this.c.Qc(n)},nTm.Ib=function(){return Qc(this.c)},nTm.e=0,nTm.f=0,AY(nyR,"BasicEMap",705),nrr(1033,63,ny5,b_),nTm.bi=function(n,t){var e;e=Im(t,133),YC(this.a,e)},nTm.ei=function(n,t,e){++(Im(t,133),this).a.e},nTm.fi=function(n,t){var e;e=Im(t,133),Vy(this.a,e)},nTm.gi=function(n,t,e){var i,r;i=Im(t,133),r=Im(e,133),Vy(this.a,r),YC(this.a,i)},nTm.di=function(n,t){zO(this.a)},AY(nyR,"BasicEMap/1",1033),nrr(1034,63,ny5,ut),nTm.ri=function(n){return _f(nCJ,nkz,612,n,0,1)},AY(nyR,"BasicEMap/2",1034),nrr(1035,1965,nhq,bH),nTm.$b=function(){this.a.c.$b()},nTm.Hc=function(n){return QF(this.a,n)},nTm.Kc=function(){return 0==this.a.f?(Si(),nVY.a):new pa(this.a)},nTm.Mc=function(n){var t;return t=this.a.f,Ja(this.a,n),this.a.f!=t},nTm.gc=function(){return this.a.f},AY(nyR,"BasicEMap/3",1035),nrr(1036,28,nhB,bB),nTm.$b=function(){this.a.c.$b()},nTm.Hc=function(n){return nac(this.a,n)},nTm.Kc=function(){return 0==this.a.f?(Si(),nVY.a):new pu(this.a)},nTm.gc=function(){return this.a.f},AY(nyR,"BasicEMap/4",1036),nrr(1037,1965,nhq,bq),nTm.$b=function(){this.a.c.$b()},nTm.Hc=function(n){var t,e,i,r,c,a,u,o,s;if(this.a.f>0&&Ti(n,42)&&(this.a.qj(),r=null==(u=(o=Im(n,42)).cd())?0:Xg(u),c=SO(this.a,r),t=this.a.d[c])){for(a=0,e=Im(t.g,367),s=t.i;a0&&Ti(e,42)&&(t.a.qj(),a=null==(s=(h=Im(e,42)).cd())?0:Xg(s),u=SO(t.a,a),i=t.a.d[u])){for(o=0,r=Im(i.g,367),f=i.i;o"+this.c},nTm.a=0;var nCJ=AY(nyR,"BasicEMap/EntryImpl",612);nrr(536,1,{},a2),AY(nyR,"BasicEMap/View",536),nrr(768,1,{}),nTm.Fb=function(n){return nrp((NV(),nMv),n)},nTm.Hb=function(){return Xu((NV(),nMv))},nTm.Ib=function(){return ntK((NV(),nMv))},AY(nyR,"ECollections/BasicEmptyUnmodifiableEList",768),nrr(1312,1,nhX,ue),nTm.Nb=function(n){Ao(this,n)},nTm.Rb=function(n){throw(new wP).e},nTm.Ob=function(){return!1},nTm.Sb=function(){return!1},nTm.Pb=function(){throw(new wO).e},nTm.Tb=function(){return 0},nTm.Ub=function(){throw(new wO).e},nTm.Vb=function(){return -1},nTm.Qb=function(){throw(new wP).e},nTm.Wb=function(n){throw(new wP).e},AY(nyR,"ECollections/BasicEmptyUnmodifiableEList/1",1312),nrr(1310,768,{20:1,14:1,15:1,58:1},dv),nTm.Vc=function(n,t){pG()},nTm.Fc=function(n){return pz()},nTm.Wc=function(n,t){return pU()},nTm.Gc=function(n){return pX()},nTm.$b=function(){pW()},nTm.Hc=function(n){return!1},nTm.Ic=function(n){return!1},nTm.Jc=function(n){KA(this,n)},nTm.Xb=function(n){return jx((NV(),n)),null},nTm.Xc=function(n){return -1},nTm.dc=function(){return!0},nTm.Kc=function(){return this.a},nTm.Yc=function(){return this.a},nTm.Zc=function(n){return this.a},nTm.ii=function(n,t){return pV()},nTm.ji=function(n,t){pQ()},nTm.Lc=function(){return new CN(null,new D6(this,16))},nTm.$c=function(n){return pJ()},nTm.Mc=function(n){return pY()},nTm._c=function(n,t){return pZ()},nTm.gc=function(){return 0},nTm.ad=function(n){GG(this,n)},nTm.Nc=function(){return new D6(this,16)},nTm.Oc=function(){return new CN(null,new D6(this,16))},nTm.bd=function(n,t){return NV(),new D2(nMv,n,t)},nTm.Pc=function(){return Oj((NV(),nMv))},nTm.Qc=function(n){return NV(),Y3(nMv,n)},AY(nyR,"ECollections/EmptyUnmodifiableEList",1310),nrr(1311,768,{20:1,14:1,15:1,58:1,589:1},dm),nTm.Vc=function(n,t){pG()},nTm.Fc=function(n){return pz()},nTm.Wc=function(n,t){return pU()},nTm.Gc=function(n){return pX()},nTm.$b=function(){pW()},nTm.Hc=function(n){return!1},nTm.Ic=function(n){return!1},nTm.Jc=function(n){KA(this,n)},nTm.Xb=function(n){return jx((NV(),n)),null},nTm.Xc=function(n){return -1},nTm.dc=function(){return!0},nTm.Kc=function(){return this.a},nTm.Yc=function(){return this.a},nTm.Zc=function(n){return this.a},nTm.ii=function(n,t){return pV()},nTm.ji=function(n,t){pQ()},nTm.Lc=function(){return new CN(null,new D6(this,16))},nTm.$c=function(n){return pJ()},nTm.Mc=function(n){return pY()},nTm._c=function(n,t){return pZ()},nTm.gc=function(){return 0},nTm.ad=function(n){GG(this,n)},nTm.Nc=function(){return new D6(this,16)},nTm.Oc=function(){return new CN(null,new D6(this,16))},nTm.bd=function(n,t){return NV(),new D2(nMv,n,t)},nTm.Pc=function(){return Oj((NV(),nMv))},nTm.Qc=function(n){return NV(),Y3(nMv,n)},nTm.sj=function(){return NV(),NV(),nMm},AY(nyR,"ECollections/EmptyUnmodifiableEMap",1311);var nCY=Cw(nyR,"Enumerator");nrr(281,1,{281:1},nas),nTm.Fb=function(n){var t,e,i;return this===n||!!Ti(n,281)&&(t=Im(n,281),this.f==t.f&&(e=this.i,i=t.i,null==e?null==i:Jm(e,i))&&C0(this.a,(256&this.f)!=0?(256&t.f)!=0?t.a:null:(256&t.f)!=0?null:t.a)&&C0(this.d,t.d)&&C0(this.g,t.g)&&C0(this.e,t.e)&&function(n,t){var e,i;if(n.j.length!=t.j.length)return!1;for(e=0,i=n.j.length;e=0?n.Bh(e):nic(n,t)},AY(nyo,"BasicEObjectImpl/4",1027),nrr(1983,1,{108:1}),nTm.bk=function(n){this.e=0==n?nQ1:_f(nEX,nhA,1,n,5,1)},nTm.Ch=function(n){return this.e[n]},nTm.Dh=function(n,t){this.e[n]=t},nTm.Eh=function(n){this.e[n]=null},nTm.ck=function(){return this.c},nTm.dk=function(){throw(new wP).e},nTm.ek=function(){throw(new wP).e},nTm.fk=function(){return this.d},nTm.gk=function(){return null!=this.e},nTm.hk=function(n){this.c=n},nTm.ik=function(n){throw(new wP).e},nTm.jk=function(n){throw(new wP).e},nTm.kk=function(n){this.d=n},AY(nyo,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),nrr(185,1983,{108:1},sY),nTm.dk=function(){return this.a},nTm.ek=function(){return this.b},nTm.ik=function(n){this.a=n},nTm.jk=function(n){this.b=n},AY(nyo,"BasicEObjectImpl/EPropertiesHolderImpl",185),nrr(506,97,nyu,ui),nTm.Kg=function(){return this.f},nTm.Pg=function(){return this.k},nTm.Rg=function(n,t){this.g=n,this.i=t},nTm.Tg=function(){return(2&this.j)==0?this.zh():this.ph().ck()},nTm.Vg=function(){return this.i},nTm.Mg=function(){return(1&this.j)!=0},nTm.eh=function(){return this.g},nTm.kh=function(){return(4&this.j)!=0},nTm.ph=function(){return this.k||(this.k=new sY),this.k},nTm.th=function(n){this.ph().hk(n),n?this.j|=2:this.j&=-3},nTm.vh=function(n){this.ph().jk(n),n?this.j|=4:this.j&=-5},nTm.zh=function(){return($g(),nQO).S},nTm.i=0,nTm.j=1,AY(nyo,"EObjectImpl",506),nrr(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},Iz),nTm.Ch=function(n){return this.e[n]},nTm.Dh=function(n,t){this.e[n]=t},nTm.Eh=function(n){this.e[n]=null},nTm.Tg=function(){return this.d},nTm.Yg=function(n){return Qj(this.d,n)},nTm.$g=function(){return this.d},nTm.dh=function(){return null!=this.e},nTm.ph=function(){return this.k||(this.k=new ur),this.k},nTm.th=function(n){this.d=n},nTm.yh=function(){var n;return null==this.e&&(n=AW(this.d),this.e=0==n?nQ0:_f(nEX,nhA,1,n,5,1)),this},nTm.Ah=function(){return 0},AY(nyo,"DynamicEObjectImpl",780),nrr(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},Cl),nTm.Fb=function(n){return this===n},nTm.Hb=function(){return T9(this)},nTm.th=function(n){this.d=n,this.b=ncp(n,"key"),this.c=ncp(n,nym)},nTm.Sh=function(){var n;return -1==this.a&&(n=H_(this,this.b),this.a=null==n?0:Xg(n)),this.a},nTm.cd=function(){return H_(this,this.b)},nTm.dd=function(){return H_(this,this.c)},nTm.Th=function(n){this.a=n},nTm.Uh=function(n){LQ(this,this.b,n)},nTm.ed=function(n){var t;return t=H_(this,this.c),LQ(this,this.c,n),t},nTm.a=0,AY(nyo,"DynamicEObjectImpl/BasicEMapEntry",1376),nrr(1377,1,{108:1},ur),nTm.bk=function(n){throw(new wP).e},nTm.Ch=function(n){throw(new wP).e},nTm.Dh=function(n,t){throw(new wP).e},nTm.Eh=function(n){throw(new wP).e},nTm.ck=function(){throw(new wP).e},nTm.dk=function(){return this.a},nTm.ek=function(){return this.b},nTm.fk=function(){return this.c},nTm.gk=function(){throw(new wP).e},nTm.hk=function(n){throw(new wP).e},nTm.ik=function(n){this.a=n},nTm.jk=function(n){this.b=n},nTm.kk=function(n){this.c=n},AY(nyo,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),nrr(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},uc),nTm.Qg=function(n){return ZZ(this,n)},nTm._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.d;case 2:return e?(this.b||(this.b=new M2((nhl(),nQQ),nQE,this)),this.b):(this.b||(this.b=new M2((nhl(),nQQ),nQE,this)),_o(this.b));case 3:return Db(this);case 4:return this.a||(this.a=new Tg(nCS,this,4)),this.a;case 5:return this.c||(this.c=new Tk(nCS,this,5)),this.c}return _Q(this,n-AW((nhl(),nQA)),Bm(Im(zF(this,16),26)||nQA,n),t,e)},nTm.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),QL(this.Ab,n,e);case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?ZZ(this,e):this.Cb.ih(this,-1-i,null,e)),Od(this,Im(n,147),e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQA),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQA)),n,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 2:return this.b||(this.b=new M2((nhl(),nQQ),nQE,this)),PC(this.b,n,e);case 3:return Od(this,null,e);case 4:return this.a||(this.a=new Tg(nCS,this,4)),Ye(this.a,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQA),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQA)),n,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!Db(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return RL(this,n-AW((nhl(),nQA)),Bm(Im(zF(this,16),26)||nQA,n))},nTm.sh=function(n,t){var e;switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:Gc(this,null==(e=Sh(t))?null:($D(e),e));return;case 2:this.b||(this.b=new M2((nhl(),nQQ),nQE,this)),zP(this.b,t);return;case 3:ncg(this,Im(t,147));return;case 4:this.a||(this.a=new Tg(nCS,this,4)),noK(this.a),this.a||(this.a=new Tg(nCS,this,4)),AJ(this.a,Im(t,14));return;case 5:this.c||(this.c=new Tk(nCS,this,5)),noK(this.c),this.c||(this.c=new Tk(nCS,this,5)),AJ(this.c,Im(t,14));return}V5(this,n-AW((nhl(),nQA)),Bm(Im(zF(this,16),26)||nQA,n),t)},nTm.zh=function(){return nhl(),nQA},nTm.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:Gc(this,null);return;case 2:this.b||(this.b=new M2((nhl(),nQQ),nQE,this)),this.b.c.$b();return;case 3:ncg(this,null);return;case 4:this.a||(this.a=new Tg(nCS,this,4)),noK(this.a);return;case 5:this.c||(this.c=new Tk(nCS,this,5)),noK(this.c);return}W5(this,n-AW((nhl(),nQA)),Bm(Im(zF(this,16),26)||nQA,n))},nTm.Ib=function(){return W7(this)},nTm.d=null,AY(nyo,"EAnnotationImpl",510),nrr(151,705,nk8,_x),nTm.Xh=function(n,t){!function(n,t,e){Im(n.c,69).Xh(t,e)}(this,n,Im(t,42))},nTm.lk=function(n,t){var e;return e=Im(n,42),Im(this.c,69).lk(e,t)},nTm.pi=function(n){return Im(Im(this.c,69).pi(n),133)},nTm.Zh=function(){return Im(this.c,69).Zh()},nTm.$h=function(){return Im(this.c,69).$h()},nTm._h=function(n){return Im(this.c,69)._h(n)},nTm.mk=function(n,t){return PC(this,n,t)},nTm.Wj=function(n){return Im(this.c,76).Wj(n)},nTm.rj=function(){},nTm.fj=function(){return Im(this.c,76).fj()},nTm.tj=function(n,t,e){var i;return(i=Im(BU(this.b).Nh().Jh(this.b),133)).Th(n),i.Uh(t),i.ed(e),i},nTm.uj=function(){return new b5(this)},nTm.Wb=function(n){zP(this,n)},nTm.Xj=function(){Im(this.c,76).Xj()},AY(nk5,"EcoreEMap",151),nrr(158,151,nk8,M2),nTm.qj=function(){var n,t,e,i,r;if(null==this.d){for(r=_f(nCU,nkG,63,2*this.f+1,0,1),e=this.c.Kc();e.e!=e.i.gc();)i=((t=Im(e.nj(),133)).Sh()&nhM)%r.length,(n=r[i])||(n=r[i]=new b5(this)),n.Fc(t);this.d=r}},AY(nyo,"EAnnotationImpl/1",158),nrr(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),nTm._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),!!this.$j();case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q}return _Q(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 9:return AQ(this,e)}return Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Rj(this,Jp(this),t-AW(this.zh()),n,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i)}return RL(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTm.sh=function(n,t){var e;switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:this.Lh(Sh(t));return;case 2:Vn(this,gm(So(t)));return;case 3:Vi(this,gm(So(t)));return;case 4:qg(this,Im(t,19).a);return;case 5:this.ok(Im(t,19).a);return;case 8:Ww(this,Im(t,138));return;case 9:(e=ntl(this,Im(t,87),null))&&e.Fi();return}V5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t)},nTm.zh=function(){return nhl(),nQY},nTm.Bh=function(n){var t;switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:this.Lh(null);return;case 2:Vn(this,!0);return;case 3:Vi(this,!0);return;case 4:qg(this,0);return;case 5:this.ok(1);return;case 8:Ww(this,null);return;case 9:(t=ntl(this,null,null))&&t.Fi();return}W5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTm.Gh=function(){Z9(this),this.Bb|=1},nTm.Yj=function(){return Z9(this)},nTm.Zj=function(){return this.t},nTm.$j=function(){var n;return(n=this.t)>1||-1==n},nTm.hi=function(){return(512&this.Bb)!=0},nTm.nk=function(n,t){return WX(this,n,t)},nTm.ok=function(n){qp(this,n)},nTm.Ib=function(){return niJ(this)},nTm.s=0,nTm.t=1,AY(nyo,"ETypedElementImpl",284),nrr(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),nTm.Qg=function(n){return ZC(this,n)},nTm._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),!!this.$j();case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q;case 10:return TX(),(this.Bb&nyp)!=0;case 11:return TX(),(this.Bb&njn)!=0;case 12:return TX(),(this.Bb&nlu)!=0;case 13:return this.j;case 14:return ncn(this);case 15:return TX(),(this.Bb&nk7)!=0;case 16:return TX(),(this.Bb&nhY)!=0;case 17:return Dd(this)}return _Q(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t,e)},nTm.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),QL(this.Ab,n,e);case 17:return this.Cb&&(e=(i=this.Db>>16)>=0?ZC(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,17,e)}return Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Qj(this,Jp(this),t-AW(this.zh()),n,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 9:return AQ(this,e);case 17:return nuc(this,null,17,e)}return Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Rj(this,Jp(this),t-AW(this.zh()),n,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i);case 10:return(this.Bb&nyp)==0;case 11:return(this.Bb&njn)!=0;case 12:return(this.Bb&nlu)!=0;case 13:return null!=this.j;case 14:return null!=ncn(this);case 15:return(this.Bb&nk7)!=0;case 16:return(this.Bb&nhY)!=0;case 17:return!!Dd(this)}return RL(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTm.sh=function(n,t){var e;switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DU(this,Sh(t));return;case 2:Vn(this,gm(So(t)));return;case 3:Vi(this,gm(So(t)));return;case 4:qg(this,Im(t,19).a);return;case 5:this.ok(Im(t,19).a);return;case 8:Ww(this,Im(t,138));return;case 9:(e=ntl(this,Im(t,87),null))&&e.Fi();return;case 10:Vk(this,gm(So(t)));return;case 11:VT(this,gm(So(t)));return;case 12:Vj(this,gm(So(t)));return;case 13:jo(this,Sh(t));return;case 15:VE(this,gm(So(t)));return;case 16:VS(this,gm(So(t)));return}V5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t)},nTm.zh=function(){return nhl(),nQJ},nTm.Bh=function(n){var t;switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,88)&&ne2(KJ(Im(this.Cb,88)),4),GF(this,null);return;case 2:Vn(this,!0);return;case 3:Vi(this,!0);return;case 4:qg(this,0);return;case 5:this.ok(1);return;case 8:Ww(this,null);return;case 9:(t=ntl(this,null,null))&&t.Fi();return;case 10:Vk(this,!0);return;case 11:VT(this,!1);return;case 12:Vj(this,!1);return;case 13:this.i=null,Gg(this,null);return;case 15:VE(this,!1);return;case 16:VS(this,!1);return}W5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTm.Gh=function(){Nc(HC((neS(),nJk),this)),Z9(this),this.Bb|=1},nTm.Gj=function(){return this.f},nTm.zj=function(){return ncn(this)},nTm.Hj=function(){return Dd(this)},nTm.Lj=function(){return null},nTm.pk=function(){return this.k},nTm.aj=function(){return this.n},nTm.Mj=function(){return nnK(this)},nTm.Nj=function(){var n,t,e,i,r,c,a,u,o;return this.p||((null==(e=Dd(this)).i&&nuq(e),e.i).length,(i=this.Lj())&&AW(Dd(i)),n=(a=(r=Z9(this)).Bj())?(1&a.i)!=0?a==nYL?nTt:a==nYN?nTa:a==nYK?nTc:a==nYR?nTr:a==nYD?nTu:a==nYF?nTo:a==nYx?nTe:nTi:a:null,t=ncn(this),u=r.zj(),function(n){var t,e,i;for(e=(function(n){var t,e,i,r,c,a,u;if((t=n.Hh(njE))&&null!=(u=Sh(Q_((t.b||(t.b=new M2((nhl(),nQQ),nQE,t)),t.b),"settingDelegates")))){for(e=new wn,r=naX(u,"\\w+"),c=0,a=r.length;c1||-1==o?this.sk()?(this.Bb&nk7)!=0?n?this.p=new ND(25,n,this,i):this.p=new R5(24,this,i):n?this.p=new ND(27,n,this,i):this.p=new R5(26,this,i):(this.Bb&nk7)!=0?n?this.p=new ND(29,n,this,i):this.p=new R5(28,this,i):n?this.p=new ND(31,n,this,i):this.p=new R5(30,this,i):this.sk()?(this.Bb&nk7)!=0?n?this.p=new ND(33,n,this,i):this.p=new R5(32,this,i):n?this.p=new ND(35,n,this,i):this.p=new R5(34,this,i):(this.Bb&nk7)!=0?n?this.p=new ND(37,n,this,i):this.p=new R5(36,this,i):n?this.p=new ND(39,n,this,i):this.p=new R5(38,this,i):this.sk()?(this.Bb&nk7)!=0?n?this.p=new Iu(17,n,this):this.p=new LP(16,this):n?this.p=new Iu(19,n,this):this.p=new LP(18,this):(this.Bb&nk7)!=0?n?this.p=new Iu(21,n,this):this.p=new LP(20,this):n?this.p=new Iu(23,n,this):this.p=new LP(22,this):this.qk()?this.sk()?this.p=new Io(Im(r,26),this,i):this.p=new L_(Im(r,26),this,i):Ti(r,148)?n==nQk?this.p=new LP(40,this):(this.Bb&nk7)!=0?n?this.p=new Om(t,u,this,(QC(),a==nYN?nJr:a==nYL?nQ7:a==nYD?nJc:a==nYK?nJi:a==nYR?nJe:a==nYF?nJu:a==nYx?nJn:a==nY$?nJt:nJa)):this.p=new NK(Im(r,148),t,u,this):n?this.p=new Ov(t,u,this,(QC(),a==nYN?nJr:a==nYL?nQ7:a==nYD?nJc:a==nYK?nJi:a==nYR?nJe:a==nYF?nJu:a==nYx?nJn:a==nY$?nJt:nJa)):this.p=new NR(Im(r,148),t,u,this):this.rk()?i?(this.Bb&nk7)!=0?this.sk()?this.p=new Iw(Im(r,26),this,i):this.p=new Ib(Im(r,26),this,i):this.sk()?this.p=new Il(Im(r,26),this,i):this.p=new Is(Im(r,26),this,i):(this.Bb&nk7)!=0?this.sk()?this.p=new M6(Im(r,26),this):this.p=new M5(Im(r,26),this):this.sk()?this.p=new M4(Im(r,26),this):this.p=new M3(Im(r,26),this):this.sk()?i?(this.Bb&nk7)!=0?this.p=new Id(Im(r,26),this,i):this.p=new Ih(Im(r,26),this,i):(this.Bb&nk7)!=0?this.p=new M9(Im(r,26),this):this.p=new M8(Im(r,26),this):i?(this.Bb&nk7)!=0?this.p=new Ig(Im(r,26),this,i):this.p=new If(Im(r,26),this,i):(this.Bb&nk7)!=0?this.p=new M7(Im(r,26),this):this.p=new Cq(Im(r,26),this)),this.p},nTm.Ij=function(){return(this.Bb&nyp)!=0},nTm.qk=function(){return!1},nTm.rk=function(){return!1},nTm.Jj=function(){return(this.Bb&nhY)!=0},nTm.Oj=function(){return Hz(this)},nTm.sk=function(){return!1},nTm.Kj=function(){return(this.Bb&nk7)!=0},nTm.tk=function(n){this.k=n},nTm.Lh=function(n){DU(this,n)},nTm.Ib=function(){return nay(this)},nTm.e=!1,nTm.n=0,AY(nyo,"EStructuralFeatureImpl",449),nrr(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},dT),nTm._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),!!nim(this);case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q;case 10:return TX(),(this.Bb&nyp)!=0;case 11:return TX(),(this.Bb&njn)!=0;case 12:return TX(),(this.Bb&nlu)!=0;case 13:return this.j;case 14:return ncn(this);case 15:return TX(),(this.Bb&nk7)!=0;case 16:return TX(),(this.Bb&nhY)!=0;case 17:return Dd(this);case 18:return TX(),(this.Bb&nya)!=0;case 19:if(t)return Ui(this);return FN(this)}return _Q(this,n-AW((nhl(),nQ$)),Bm(Im(zF(this,16),26)||nQ$,n),t,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return nim(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i);case 10:return(this.Bb&nyp)==0;case 11:return(this.Bb&njn)!=0;case 12:return(this.Bb&nlu)!=0;case 13:return null!=this.j;case 14:return null!=ncn(this);case 15:return(this.Bb&nk7)!=0;case 16:return(this.Bb&nhY)!=0;case 17:return!!Dd(this);case 18:return(this.Bb&nya)!=0;case 19:return!!FN(this)}return RL(this,n-AW((nhl(),nQ$)),Bm(Im(zF(this,16),26)||nQ$,n))},nTm.sh=function(n,t){var e,i;switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DU(this,Sh(t));return;case 2:Vn(this,gm(So(t)));return;case 3:Vi(this,gm(So(t)));return;case 4:qg(this,Im(t,19).a);return;case 5:i=Im(t,19).a,this.b=0,qp(this,i);return;case 8:Ww(this,Im(t,138));return;case 9:(e=ntl(this,Im(t,87),null))&&e.Fi();return;case 10:Vk(this,gm(So(t)));return;case 11:VT(this,gm(So(t)));return;case 12:Vj(this,gm(So(t)));return;case 13:jo(this,Sh(t));return;case 15:VE(this,gm(So(t)));return;case 16:VS(this,gm(So(t)));return;case 18:VP(this,gm(So(t)));return}V5(this,n-AW((nhl(),nQ$)),Bm(Im(zF(this,16),26)||nQ$,n),t)},nTm.zh=function(){return nhl(),nQ$},nTm.Bh=function(n){var t;switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,88)&&ne2(KJ(Im(this.Cb,88)),4),GF(this,null);return;case 2:Vn(this,!0);return;case 3:Vi(this,!0);return;case 4:qg(this,0);return;case 5:this.b=0,qp(this,1);return;case 8:Ww(this,null);return;case 9:(t=ntl(this,null,null))&&t.Fi();return;case 10:Vk(this,!0);return;case 11:VT(this,!1);return;case 12:Vj(this,!1);return;case 13:this.i=null,Gg(this,null);return;case 15:VE(this,!1);return;case 16:VS(this,!1);return;case 18:VP(this,!1);return}W5(this,n-AW((nhl(),nQ$)),Bm(Im(zF(this,16),26)||nQ$,n))},nTm.Gh=function(){Ui(this),Nc(HC((neS(),nJk),this)),Z9(this),this.Bb|=1},nTm.$j=function(){return nim(this)},nTm.nk=function(n,t){return this.b=0,this.a=null,WX(this,n,t)},nTm.ok=function(n){this.b=0,qp(this,n)},nTm.Ib=function(){var n;return(64&this.Db)!=0?nay(this):(n=new TW(nay(this)),n.a+=" (iD: ",p$(n,(this.Bb&nya)!=0),n.a+=")",n.a)},nTm.b=0,AY(nyo,"EAttributeImpl",322),nrr(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),nTm.uk=function(n){return n.Tg()==this},nTm.Qg=function(n){return Zm(this,n)},nTm.Rg=function(n,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=n},nTm._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return Zb(this);case 4:return this.zj();case 5:return this.F;case 6:if(t)return BU(this);return Dw(this);case 7:return this.A||(this.A=new Tv(nQm,this,7)),this.A}return _Q(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t,e)},nTm.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),QL(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Zm(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,6,e)}return Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Qj(this,Jp(this),t-AW(this.zh()),n,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 6:return nuc(this,null,6,e);case 7:return this.A||(this.A=new Tv(nQm,this,7)),Ye(this.A,n,e)}return Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Rj(this,Jp(this),t-AW(this.zh()),n,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!Zb(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Dw(this);case 7:return!!this.A&&0!=this.A.i}return RL(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTm.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DX(this,Sh(t));return;case 2:Ew(this,Sh(t));return;case 5:noJ(this,Sh(t));return;case 7:this.A||(this.A=new Tv(nQm,this,7)),noK(this.A),this.A||(this.A=new Tv(nQm,this,7)),AJ(this.A,Im(t,14));return}V5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t)},nTm.zh=function(){return nhl(),nQL},nTm.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,179)&&(Im(this.Cb,179).tb=null),GF(this,null);return;case 2:XB(this,null),qv(this,this.D);return;case 5:noJ(this,null);return;case 7:this.A||(this.A=new Tv(nQm,this,7)),noK(this.A);return}W5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTm.yj=function(){var n;return -1==this.G&&(this.G=(n=BU(this))?Yl(n.Mh(),this):-1),this.G},nTm.zj=function(){return null},nTm.Aj=function(){return BU(this)},nTm.vk=function(){return this.v},nTm.Bj=function(){return Zb(this)},nTm.Cj=function(){return null!=this.D?this.D:this.B},nTm.Dj=function(){return this.F},nTm.wj=function(n){return nuL(this,n)},nTm.wk=function(n){this.v=n},nTm.xk=function(n){GQ(this,n)},nTm.yk=function(n){this.C=n},nTm.Lh=function(n){DX(this,n)},nTm.Ib=function(){return Qk(this)},nTm.C=null,nTm.D=null,nTm.G=-1,AY(nyo,"EClassifierImpl",351),nrr(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},sZ),nTm.uk=function(n){var t;return(t=n.Tg())==this||nnv(nr3(t),this)},nTm._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return Zb(this);case 4:return null;case 5:return this.F;case 6:if(t)return BU(this);return Dw(this);case 7:return this.A||(this.A=new Tv(nQm,this,7)),this.A;case 8:return TX(),(256&this.Bb)!=0;case 9:return TX(),(512&this.Bb)!=0;case 10:return Lw(this);case 11:return this.q||(this.q=new An(nQg,this,11,10)),this.q;case 12:return noo(this);case 13:return non(this);case 14:return non(this),this.r;case 15:return noo(this),this.k;case 16:return neF(this);case 17:return nu4(this);case 18:return nuq(this);case 19:return nr3(this);case 20:return noo(this),this.o;case 21:return this.s||(this.s=new An(nQo,this,21,17)),this.s;case 22:return RJ(this);case 23:return nat(this)}return _Q(this,n-AW((nhl(),nQN)),Bm(Im(zF(this,16),26)||nQN,n),t,e)},nTm.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),QL(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Zm(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,6,e);case 11:return this.q||(this.q=new An(nQg,this,11,10)),QL(this.q,n,e);case 21:return this.s||(this.s=new An(nQo,this,21,17)),QL(this.s,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQN),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQN)),n,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 6:return nuc(this,null,6,e);case 7:return this.A||(this.A=new Tv(nQm,this,7)),Ye(this.A,n,e);case 11:return this.q||(this.q=new An(nQg,this,11,10)),Ye(this.q,n,e);case 21:return this.s||(this.s=new An(nQo,this,21,17)),Ye(this.s,n,e);case 22:return Ye(RJ(this),n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQN),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQN)),n,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!Zb(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Dw(this);case 7:return!!this.A&&0!=this.A.i;case 8:return(256&this.Bb)!=0;case 9:return(512&this.Bb)!=0;case 10:return!!this.u&&0!=RJ(this.u.a).i&&!(this.n&&Yx(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=noo(this).i;case 13:return 0!=non(this).i;case 14:return non(this),0!=this.r.i;case 15:return noo(this),0!=this.k.i;case 16:return 0!=neF(this).i;case 17:return 0!=nu4(this).i;case 18:return 0!=nuq(this).i;case 19:return 0!=nr3(this).i;case 20:return noo(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&Yx(this.n);case 23:return 0!=nat(this).i}return RL(this,n-AW((nhl(),nQN)),Bm(Im(zF(this,16),26)||nQN,n))},nTm.oh=function(n){return(null==this.i||this.q&&0!=this.q.i?null:ncp(this,n))||ns$(this,n)},nTm.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DX(this,Sh(t));return;case 2:Ew(this,Sh(t));return;case 5:noJ(this,Sh(t));return;case 7:this.A||(this.A=new Tv(nQm,this,7)),noK(this.A),this.A||(this.A=new Tv(nQm,this,7)),AJ(this.A,Im(t,14));return;case 8:Vt(this,gm(So(t)));return;case 9:Vr(this,gm(So(t)));return;case 10:noB(Lw(this)),AJ(Lw(this),Im(t,14));return;case 11:this.q||(this.q=new An(nQg,this,11,10)),noK(this.q),this.q||(this.q=new An(nQg,this,11,10)),AJ(this.q,Im(t,14));return;case 21:this.s||(this.s=new An(nQo,this,21,17)),noK(this.s),this.s||(this.s=new An(nQo,this,21,17)),AJ(this.s,Im(t,14));return;case 22:noK(RJ(this)),AJ(RJ(this),Im(t,14));return}V5(this,n-AW((nhl(),nQN)),Bm(Im(zF(this,16),26)||nQN,n),t)},nTm.zh=function(){return nhl(),nQN},nTm.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,179)&&(Im(this.Cb,179).tb=null),GF(this,null);return;case 2:XB(this,null),qv(this,this.D);return;case 5:noJ(this,null);return;case 7:this.A||(this.A=new Tv(nQm,this,7)),noK(this.A);return;case 8:Vt(this,!1);return;case 9:Vr(this,!1);return;case 10:this.u&&noB(this.u);return;case 11:this.q||(this.q=new An(nQg,this,11,10)),noK(this.q);return;case 21:this.s||(this.s=new An(nQo,this,21,17)),noK(this.s);return;case 22:this.n&&noK(this.n);return}W5(this,n-AW((nhl(),nQN)),Bm(Im(zF(this,16),26)||nQN,n))},nTm.Gh=function(){var n,t,e;if(noo(this),non(this),neF(this),nu4(this),nuq(this),nr3(this),nat(this),Fo(((e=KJ(this)).c||(e.c=new uT),e.c)),this.s)for(n=0,t=this.s.i;n=0;--t)BX(this,t);return QN(this,n)},nTm.Xj=function(){noK(this)},nTm.oi=function(n,t){return qk(this,n,t)},AY(nk5,"EcoreEList",622),nrr(496,622,njl,Iq),nTm.ai=function(){return!1},nTm.aj=function(){return this.c},nTm.bj=function(){return!1},nTm.Fk=function(){return!0},nTm.hi=function(){return!0},nTm.li=function(n,t){return t},nTm.ni=function(){return!1},nTm.c=0,AY(nk5,"EObjectEList",496),nrr(85,496,njl,Tg),nTm.bj=function(){return!0},nTm.Dk=function(){return!1},nTm.rk=function(){return!0},AY(nk5,"EObjectContainmentEList",85),nrr(545,85,njl,Tp),nTm.ci=function(){this.b=!0},nTm.fj=function(){return this.b},nTm.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.b,this.b=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.b=!1},nTm.b=!1,AY(nk5,"EObjectContainmentEList/Unsettable",545),nrr(1140,545,njl,Og),nTm.ii=function(n,t){var e,i;return e=Im(Vm(this,n,t),87),Ea(this.e)&&wR(this,new _K(this.a,7,(nhl(),nQD),Va(t),Ti(i=e.c,88)?Im(i,26):nQG,n)),e},nTm.jj=function(n,t){var e,i,r,c;return e=Im(n,87),i=t,r=new HE(this.e,3,10,null,Ti(c=e.c,88)?Im(c,26):(nhl(),nQG),Yl(this,e),!1),i?i.Ei(r):i=r,i},nTm.kj=function(n,t){var e,i,r,c;return e=Im(n,87),i=t,r=new HE(this.e,4,10,Ti(c=e.c,88)?Im(c,26):(nhl(),nQG),null,Yl(this,e),!1),i?i.Ei(r):i=r,i},nTm.lj=function(n,t,e){var i,r,c,a,u,o;return i=Im(n,87),r=Im(t,87),c=e,a=new HE(this.e,1,10,Ti(o=i.c,88)?Im(o,26):(nhl(),nQG),Ti(u=r.c,88)?Im(u,26):(nhl(),nQG),Yl(this,i),!1),c?c.Ei(a):c=a,c},nTm.Zi=function(n,t,e,i,r){switch(n){case 3:return Dv(this,n,t,e,i,this.i>1);case 5:return Dv(this,n,t,e,i,this.i-Im(e,15).gc()>0);default:return new HE(this.e,n,this.c,t,e,i,!0)}},nTm.ij=function(){return!0},nTm.fj=function(){return Yx(this)},nTm.Xj=function(){noK(this)},AY(nyo,"EClassImpl/1",1140),nrr(1154,1153,nkK),nTm.ui=function(n){var t,e,i,r,c,a,u;if(8!=(e=n.xi())){if(0==(i=function(n){switch(n.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return -1}(n)))switch(e){case 1:case 9:null!=(u=n.Bi())&&((t=KJ(Im(u,473))).c||(t.c=new uT),HG(t.c,n.Ai())),null!=(a=n.zi())&&(1&(r=Im(a,473)).Bb)==0&&((t=KJ(r)).c||(t.c=new uT),_P(t.c,Im(n.Ai(),26)));break;case 3:null!=(a=n.zi())&&(1&(r=Im(a,473)).Bb)==0&&((t=KJ(r)).c||(t.c=new uT),_P(t.c,Im(n.Ai(),26)));break;case 5:if(null!=(a=n.zi()))for(c=Im(a,14).Kc();c.Ob();)(1&(r=Im(c.Pb(),473)).Bb)==0&&((t=KJ(r)).c||(t.c=new uT),_P(t.c,Im(n.Ai(),26)));break;case 4:null!=(u=n.Bi())&&(1&(r=Im(u,473)).Bb)==0&&((t=KJ(r)).c||(t.c=new uT),HG(t.c,n.Ai()));break;case 6:if(null!=(u=n.Bi()))for(c=Im(u,14).Kc();c.Ob();)(1&(r=Im(c.Pb(),473)).Bb)==0&&((t=KJ(r)).c||(t.c=new uT),HG(t.c,n.Ai()))}this.Hk(i)}},nTm.Hk=function(n){nag(this,n)},nTm.b=63,AY(nyo,"ESuperAdapter",1154),nrr(1155,1154,nkK,bz),nTm.Hk=function(n){ne2(this,n)},AY(nyo,"EClassImpl/10",1155),nrr(1144,696,njl),nTm.Vh=function(n,t){return ntf(this,n,t)},nTm.Wh=function(n){return YY(this,n)},nTm.Xh=function(n,t){WV(this,n,t)},nTm.Yh=function(n){Fu(this,n)},nTm.pi=function(n){return _U(this,n)},nTm.mi=function(n,t){return Hq(this,n,t)},nTm.lk=function(n,t){throw(new wP).e},nTm.Zh=function(){return new Mm(this)},nTm.$h=function(){return new My(this)},nTm._h=function(n){return qB(this,n)},nTm.mk=function(n,t){throw(new wP).e},nTm.Wj=function(n){return this},nTm.fj=function(){return 0!=this.i},nTm.Wb=function(n){throw(new wP).e},nTm.Xj=function(){throw(new wP).e},AY(nk5,"EcoreEList/UnmodifiableEList",1144),nrr(319,1144,njl,jW),nTm.ni=function(){return!1},AY(nk5,"EcoreEList/UnmodifiableEList/FastCompare",319),nrr(1147,319,njl,UQ),nTm.Xc=function(n){var t,e;if(Ti(n,170)&&-1!=(t=Im(n,170).aj())){for(e=this.i;t4){if(!this.wj(n))return!1;if(this.rk()){if(a=(t=(e=Im(n,49)).Ug())==this.b&&(this.Dk()?e.Og(e.Vg(),Im(Bm(Ld(this.b),this.aj()).Yj(),26).Bj())==YI(Im(Bm(Ld(this.b),this.aj()),18)).n:-1-e.Vg()==this.aj()),this.Ek()&&!a&&!t&&e.Zg()){for(i=0;i1||-1==e)},nTm.Dk=function(){var n;return!!Ti(n=Bm(Ld(this.b),this.aj()),99)&&!!YI(Im(n,18))},nTm.Ek=function(){var n;return!!Ti(n=Bm(Ld(this.b),this.aj()),99)&&(Im(n,18).Bb&nls)!=0},nTm.Xc=function(n){var t,e,i;if((e=this.Qi(n))>=0)return e;if(this.Fk()){for(t=0,i=this.Vi();t=0;--n)no1(this,n,this.Oi(n));return this.Wi()},nTm.Qc=function(n){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)no1(this,t,this.Oi(t));return this.Xi(n)},nTm.Xj=function(){noB(this)},nTm.oi=function(n,t){return _X(this,n,t)},AY(nk5,"DelegatingEcoreEList",742),nrr(1150,742,njp,SD),nTm.Hi=function(n,t){var e;e=Im(t,26),Vf(RJ(this.a),n,DV(e))},nTm.Ii=function(n){var t;t=Im(n,26),_P(RJ(this.a),DV(t))},nTm.Oi=function(n){var t;return Ti(t=Im(BX(RJ(this.a),n),87).c,88)?Im(t,26):(nhl(),nQG)},nTm.Ti=function(n){var t;return Ti(t=Im(ncQ(RJ(this.a),n),87).c,88)?Im(t,26):(nhl(),nQG)},nTm.Ui=function(n,t){var e,i,r,c;return e=Im(t,26),((64&(c=Ti(r=(i=Im(BX(RJ(this.a),n),87)).c,88)?Im(r,26):(nhl(),nQG)).Db)!=0?WO(this.b,c):c)==e?nuI(i):B1(i,e),c},nTm.ai=function(){return!1},nTm.Zi=function(n,t,e,i,r){return null},nTm.Ji=function(){return new bX(this)},nTm.Ki=function(){noK(RJ(this.a))},nTm.Li=function(n){return W8(this,n)},nTm.Mi=function(n){var t;for(t=n.Kc();t.Ob();)if(!W8(this,t.Pb()))return!1;return!0},nTm.Ni=function(n){var t,e,i;if(Ti(n,15)&&(i=Im(n,15)).gc()==RJ(this.a).i){for(t=i.Kc(),e=new Td(this);t.Ob();)if(jf(t.Pb())!==jf(J1(e)))return!1;return!0}return!1},nTm.Pi=function(){var n,t,e,i;for(t=1,n=new Td(RJ(this.a));n.e!=n.i.gc();)t=31*t+((e=Ti(i=Im(J1(n),87).c,88)?Im(i,26):(nhl(),nQG))?T9(e):0);return t},nTm.Qi=function(n){var t,e,i,r;for(i=0,e=new Td(RJ(this.a));e.e!=e.i.gc();){if(t=Im(J1(e),87),jf(n)===jf(Ti(r=t.c,88)?Im(r,26):(nhl(),nQG)))return i;++i}return -1},nTm.Ri=function(){return 0==RJ(this.a).i},nTm.Si=function(){return null},nTm.Vi=function(){return RJ(this.a).i},nTm.Wi=function(){var n,t,e,i,r;for(r=_f(nEX,nhA,1,RJ(this.a).i,5,1),e=0,t=new Td(RJ(this.a));t.e!=t.i.gc();)n=Im(J1(t),87),r[e++]=Ti(i=n.c,88)?Im(i,26):(nhl(),nQG);return r},nTm.Xi=function(n){var t,e,i,r,c;for(c=RJ(this.a).i,n.lengthc&&$t(n,c,null),e=0,t=new Td(RJ(this.a));t.e!=t.i.gc();)i=Ti(r=Im(J1(t),87).c,88)?Im(r,26):(nhl(),nQG),$t(n,e++,i);return n},nTm.Yi=function(){var n,t,e,i,r;for(r=new gz,r.a+="[",n=RJ(this.a),t=0,i=RJ(this.a).i;t>16)>=0?Zm(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,6,e);case 9:return this.a||(this.a=new An(nQw,this,9,5)),QL(this.a,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQR),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQR)),n,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 6:return nuc(this,null,6,e);case 7:return this.A||(this.A=new Tv(nQm,this,7)),Ye(this.A,n,e);case 9:return this.a||(this.a=new An(nQw,this,9,5)),Ye(this.a,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQR),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQR)),n,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!Zb(this);case 4:return!!X1(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Dw(this);case 7:return!!this.A&&0!=this.A.i;case 8:return(256&this.Bb)==0;case 9:return!!this.a&&0!=this.a.i}return RL(this,n-AW((nhl(),nQR)),Bm(Im(zF(this,16),26)||nQR,n))},nTm.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DX(this,Sh(t));return;case 2:Ew(this,Sh(t));return;case 5:noJ(this,Sh(t));return;case 7:this.A||(this.A=new Tv(nQm,this,7)),noK(this.A),this.A||(this.A=new Tv(nQm,this,7)),AJ(this.A,Im(t,14));return;case 8:Ve(this,gm(So(t)));return;case 9:this.a||(this.a=new An(nQw,this,9,5)),noK(this.a),this.a||(this.a=new An(nQw,this,9,5)),AJ(this.a,Im(t,14));return}V5(this,n-AW((nhl(),nQR)),Bm(Im(zF(this,16),26)||nQR,n),t)},nTm.zh=function(){return nhl(),nQR},nTm.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,179)&&(Im(this.Cb,179).tb=null),GF(this,null);return;case 2:XB(this,null),qv(this,this.D);return;case 5:noJ(this,null);return;case 7:this.A||(this.A=new Tv(nQm,this,7)),noK(this.A);return;case 8:Ve(this,!0);return;case 9:this.a||(this.a=new An(nQw,this,9,5)),noK(this.a);return}W5(this,n-AW((nhl(),nQR)),Bm(Im(zF(this,16),26)||nQR,n))},nTm.Gh=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?Im(this.Cb,671):null}return _Q(this,n-AW((nhl(),nQK)),Bm(Im(zF(this,16),26)||nQK,n),t,e)},nTm.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),QL(this.Ab,n,e);case 5:return this.Cb&&(e=(i=this.Db>>16)>=0?ZY(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,5,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQK),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQK)),n,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 5:return nuc(this,null,5,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQK),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQK)),n,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!!(this.Db>>16==5?Im(this.Cb,671):null)}return RL(this,n-AW((nhl(),nQK)),Bm(Im(zF(this,16),26)||nQK,n))},nTm.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:GF(this,Sh(t));return;case 2:qd(this,Im(t,19).a);return;case 3:niR(this,Im(t,1940));return;case 4:Gr(this,Sh(t));return}V5(this,n-AW((nhl(),nQK)),Bm(Im(zF(this,16),26)||nQK,n),t)},nTm.zh=function(){return nhl(),nQK},nTm.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:GF(this,null);return;case 2:qd(this,0);return;case 3:niR(this,null);return;case 4:Gr(this,null);return}W5(this,n-AW((nhl(),nQK)),Bm(Im(zF(this,16),26)||nQK,n))},nTm.Ib=function(){var n;return null==(n=this.c)?this.zb:n},nTm.b=null,nTm.c=null,nTm.d=0,AY(nyo,"EEnumLiteralImpl",573);var nQj=Cw(nyo,"EFactoryImpl/InternalEDateTimeFormat");nrr(489,1,{2015:1},bW),AY(nyo,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),nrr(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},wr),nTm.Sg=function(n,t,e){var i;return e=nuc(this,n,t,e),this.e&&Ti(n,170)&&(i=nr0(this,this.e))!=this.c&&(e=nsg(this,i,e)),e},nTm._g=function(n,t,e){switch(n){case 0:return this.f;case 1:return this.d||(this.d=new Tg(nQd,this,1)),this.d;case 2:if(t)return nuI(this);return this.c;case 3:return this.b;case 4:return this.e;case 5:if(t)return YH(this);return this.a}return _Q(this,n-AW((nhl(),nQ_)),Bm(Im(zF(this,16),26)||nQ_,n),t,e)},nTm.jh=function(n,t,e){switch(t){case 0:return WC(this,null,e);case 1:return this.d||(this.d=new Tg(nQd,this,1)),Ye(this.d,n,e);case 3:return WI(this,null,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQ_),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQ_)),n,e)},nTm.lh=function(n){switch(n){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return RL(this,n-AW((nhl(),nQ_)),Bm(Im(zF(this,16),26)||nQ_,n))},nTm.sh=function(n,t){switch(n){case 0:nnq(this,Im(t,87));return;case 1:this.d||(this.d=new Tg(nQd,this,1)),noK(this.d),this.d||(this.d=new Tg(nQd,this,1)),AJ(this.d,Im(t,14));return;case 3:nnB(this,Im(t,87));return;case 4:ntH(this,Im(t,836));return;case 5:B1(this,Im(t,138));return}V5(this,n-AW((nhl(),nQ_)),Bm(Im(zF(this,16),26)||nQ_,n),t)},nTm.zh=function(){return nhl(),nQ_},nTm.Bh=function(n){switch(n){case 0:nnq(this,null);return;case 1:this.d||(this.d=new Tg(nQd,this,1)),noK(this.d);return;case 3:nnB(this,null);return;case 4:ntH(this,null);return;case 5:B1(this,null);return}W5(this,n-AW((nhl(),nQ_)),Bm(Im(zF(this,16),26)||nQ_,n))},nTm.Ib=function(){var n;return n=new TV(nrL(this)),n.a+=" (expression: ",function n(t,e){var i,r,c,a,u,o,s;if(t.a){if(o=t.a.ne(),s=null,null!=o?e.a+=""+o:null!=(u=t.a.Dj())&&(-1!=(a=jZ(u,ntd(91)))?(s=u.substr(a),e.a+=""+MT(null==u?nhL:($D(u),u),0,a)):e.a+=""+u),t.d&&0!=t.d.i){for(c=!0,e.a+="<",r=new Td(t.d);r.e!=r.i.gc();)i=Im(J1(r),87),c?c=!1:e.a+=nhC,n(i,e);e.a+=">"}null!=s&&(e.a+=""+s)}else t.e?null!=(o=t.e.zb)&&(e.a+=""+o):(e.a+="?",t.b?(e.a+=" super ",n(t.b,e)):t.f&&(e.a+=" extends ",n(t.f,e)))}(this,n),n.a+=")",n.a},AY(nyo,"EGenericTypeImpl",241),nrr(1969,1964,njv),nTm.Xh=function(n,t){(function(n,t,e){n.Zc(t).Rb(e)})(this,n,t)},nTm.lk=function(n,t){return function(n,t,e){n.Zc(t).Rb(e)}(this,this.gc(),n),t},nTm.pi=function(n){return J7(this.Gi(),n)},nTm.Zh=function(){return this.$h()},nTm.Gi=function(){return new b3(this)},nTm.$h=function(){return this._h(0)},nTm._h=function(n){return this.Gi().Zc(n)},nTm.mk=function(n,t){return Qg(this,n,!0),t},nTm.ii=function(n,t){var e;return e=Zq(this,t),this.Zc(n).Rb(e),e},nTm.ji=function(n,t){Qg(this,t,!0),this.Zc(n).Rb(t)},AY(nk5,"AbstractSequentialInternalEList",1969),nrr(486,1969,njv,Ml),nTm.pi=function(n){return J7(this.Gi(),n)},nTm.Zh=function(){return null==this.b?(md(),md(),nQ8):this.Jk()},nTm.Gi=function(){return new jQ(this.a,this.b)},nTm.$h=function(){return null==this.b?(md(),md(),nQ8):this.Jk()},nTm._h=function(n){var t,e;if(null==this.b){if(n<0||n>1)throw new gu(nkH+n+", size=0").e;return md(),md(),nQ8}for(t=0,e=this.Jk();t0;)if(t=this.c[--this.d],(!this.e||t.Gj()!=nCP||0!=t.aj())&&(!this.Mk()||this.b.mh(t))){if(c=this.b.bh(t,this.Lk()),this.f=(mp(),Im(t,66).Oj()),this.f||t.$j()){if(this.Lk()?(i=Im(c,15),this.k=i):(i=Im(c,69),this.k=this.j=i),Ti(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?nej(this,this.p):neU(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((n=Im(r,72)).ak(),e=n.dd()):e=r,this.i=e,this.g=-3,!0}else if(null!=c)return this.k=null,this.p=null,e=c,this.i=e,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}},nTm.Pb=function(){return zG(this)},nTm.Tb=function(){return this.a},nTm.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw(new wO).e},nTm.Vb=function(){return this.a-1},nTm.Qb=function(){throw(new wP).e},nTm.Lk=function(){return!1},nTm.Wb=function(n){throw(new wP).e},nTm.Mk=function(){return!0},nTm.a=0,nTm.d=0,nTm.f=!1,nTm.g=0,nTm.n=0,nTm.o=0,AY(nk5,"EContentsEList/FeatureIteratorImpl",279),nrr(697,279,njm,MZ),nTm.Lk=function(){return!0},AY(nk5,"EContentsEList/ResolvingFeatureIteratorImpl",697),nrr(1157,697,njm,M0),nTm.Mk=function(){return!1},AY(nyo,"ENamedElementImpl/1/1",1157),nrr(1158,279,njm,M1),nTm.Mk=function(){return!1},AY(nyo,"ENamedElementImpl/1/2",1158),nrr(36,143,nk_,R2,R3,O9,_R,HE,Fi,qT,xm,qM,xy,Fn,xk,qI,xj,Ft,xE,qS,xT,O7,_K,N0,qP,xM,Fe,xS),nTm._i=function(){return _S(this)},nTm.gj=function(){var n;return(n=_S(this))?n.zj():null},nTm.yi=function(n){return -1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,n)},nTm.Ai=function(){return this.c},nTm.hj=function(){var n;return!!(n=_S(this))&&n.Kj()},nTm.b=-1,AY(nyo,"ENotificationImpl",36),nrr(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},dS),nTm.Qg=function(n){return Z6(this,n)},nTm._g=function(n,t,e){var i;switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),(i=this.t)>1||-1==i;case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q;case 10:return this.Db>>16==10?Im(this.Cb,26):null;case 11:return this.d||(this.d=new Tv(nQm,this,11)),this.d;case 12:return this.c||(this.c=new An(nQp,this,12,10)),this.c;case 13:return this.a||(this.a=new Sx(this,this)),this.a;case 14:return HO(this)}return _Q(this,n-AW((nhl(),nQz)),Bm(Im(zF(this,16),26)||nQz,n),t,e)},nTm.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),QL(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?Z6(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,10,e);case 12:return this.c||(this.c=new An(nQp,this,12,10)),QL(this.c,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQz),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQz)),n,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 9:return AQ(this,e);case 10:return nuc(this,null,10,e);case 11:return this.d||(this.d=new Tv(nQm,this,11)),Ye(this.d,n,e);case 12:return this.c||(this.c=new An(nQp,this,12,10)),Ye(this.c,n,e);case 14:return Ye(HO(this),n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQz),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQz)),n,e)},nTm.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i);case 10:return!!(this.Db>>16==10?Im(this.Cb,26):null);case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!!this.a&&0!=HO(this.a.a).i&&!(this.b&&YR(this.b));case 14:return!!this.b&&YR(this.b)}return RL(this,n-AW((nhl(),nQz)),Bm(Im(zF(this,16),26)||nQz,n))},nTm.sh=function(n,t){var e;switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:GF(this,Sh(t));return;case 2:Vn(this,gm(So(t)));return;case 3:Vi(this,gm(So(t)));return;case 4:qg(this,Im(t,19).a);return;case 5:qp(this,Im(t,19).a);return;case 8:Ww(this,Im(t,138));return;case 9:(e=ntl(this,Im(t,87),null))&&e.Fi();return;case 11:this.d||(this.d=new Tv(nQm,this,11)),noK(this.d),this.d||(this.d=new Tv(nQm,this,11)),AJ(this.d,Im(t,14));return;case 12:this.c||(this.c=new An(nQp,this,12,10)),noK(this.c),this.c||(this.c=new An(nQp,this,12,10)),AJ(this.c,Im(t,14));return;case 13:this.a||(this.a=new Sx(this,this)),noB(this.a),this.a||(this.a=new Sx(this,this)),AJ(this.a,Im(t,14));return;case 14:noK(HO(this)),AJ(HO(this),Im(t,14));return}V5(this,n-AW((nhl(),nQz)),Bm(Im(zF(this,16),26)||nQz,n),t)},nTm.zh=function(){return nhl(),nQz},nTm.Bh=function(n){var t;switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:GF(this,null);return;case 2:Vn(this,!0);return;case 3:Vi(this,!0);return;case 4:qg(this,0);return;case 5:qp(this,1);return;case 8:Ww(this,null);return;case 9:(t=ntl(this,null,null))&&t.Fi();return;case 11:this.d||(this.d=new Tv(nQm,this,11)),noK(this.d);return;case 12:this.c||(this.c=new An(nQp,this,12,10)),noK(this.c);return;case 13:this.a&&noB(this.a);return;case 14:this.b&&noK(this.b);return}W5(this,n-AW((nhl(),nQz)),Bm(Im(zF(this,16),26)||nQz,n))},nTm.Gh=function(){var n,t;if(this.c)for(n=0,t=this.c.i;nr&&$t(n,r,null),e=0,t=new Td(HO(this.a));t.e!=t.i.gc();)i=Im(J1(t),87).c||(nhl(),nQH),$t(n,e++,i);return n},nTm.Yi=function(){var n,t,e,i;for(i=new gz,i.a+="[",n=HO(this.a),t=0,e=HO(this.a).i;t1);case 5:return Dv(this,n,t,e,i,this.i-Im(e,15).gc()>0);default:return new HE(this.e,n,this.c,t,e,i,!0)}},nTm.ij=function(){return!0},nTm.fj=function(){return YR(this)},nTm.Xj=function(){noK(this)},AY(nyo,"EOperationImpl/2",1341),nrr(498,1,{1938:1,498:1},k7),AY(nyo,"EPackageImpl/1",498),nrr(16,85,njl,An),nTm.zk=function(){return this.d},nTm.Ak=function(){return this.b},nTm.Dk=function(){return!0},nTm.b=0,AY(nk5,"EObjectContainmentWithInverseEList",16),nrr(353,16,njl,Pe),nTm.Ek=function(){return!0},nTm.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk5,"EObjectContainmentWithInverseEList/Resolving",353),nrr(298,353,njl,O6),nTm.ci=function(){this.a.tb=null},AY(nyo,"EPackageImpl/2",298),nrr(1228,1,{},ub),AY(nyo,"EPackageImpl/3",1228),nrr(718,43,nlE,dI),nTm._b=function(n){return jw(n)?Ln(this,n):!!Lj(this.f,n)},AY(nyo,"EPackageRegistryImpl",718),nrr(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},dP),nTm.Qg=function(n){return Z8(this,n)},nTm._g=function(n,t,e){var i;switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),(i=this.t)>1||-1==i;case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q;case 10:return this.Db>>16==10?Im(this.Cb,59):null}return _Q(this,n-AW((nhl(),nQW)),Bm(Im(zF(this,16),26)||nQW,n),t,e)},nTm.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),QL(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?Z8(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,10,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQW),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQW)),n,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 9:return AQ(this,e);case 10:return nuc(this,null,10,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQW),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQW)),n,e)},nTm.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i);case 10:return!!(this.Db>>16==10?Im(this.Cb,59):null)}return RL(this,n-AW((nhl(),nQW)),Bm(Im(zF(this,16),26)||nQW,n))},nTm.zh=function(){return nhl(),nQW},AY(nyo,"EParameterImpl",509),nrr(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},Sc),nTm._g=function(n,t,e){var i,r;switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),(r=this.t)>1||-1==r;case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q;case 10:return TX(),(this.Bb&nyp)!=0;case 11:return TX(),(this.Bb&njn)!=0;case 12:return TX(),(this.Bb&nlu)!=0;case 13:return this.j;case 14:return ncn(this);case 15:return TX(),(this.Bb&nk7)!=0;case 16:return TX(),(this.Bb&nhY)!=0;case 17:return Dd(this);case 18:return TX(),(this.Bb&nya)!=0;case 19:return TX(),!!(i=YI(this))&&(i.Bb&nya)!=0;case 20:return TX(),(this.Bb&nls)!=0;case 21:if(t)return YI(this);return this.b;case 22:if(t)return U7(this);return KZ(this);case 23:return this.a||(this.a=new Tk(nQs,this,23)),this.a}return _Q(this,n-AW((nhl(),nQV)),Bm(Im(zF(this,16),26)||nQV,n),t,e)},nTm.lh=function(n){var t,e;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i);case 10:return(this.Bb&nyp)==0;case 11:return(this.Bb&njn)!=0;case 12:return(this.Bb&nlu)!=0;case 13:return null!=this.j;case 14:return null!=ncn(this);case 15:return(this.Bb&nk7)!=0;case 16:return(this.Bb&nhY)!=0;case 17:return!!Dd(this);case 18:return(this.Bb&nya)!=0;case 19:return!!(t=YI(this))&&(t.Bb&nya)!=0;case 20:return(this.Bb&nls)==0;case 21:return!!this.b;case 22:return!!KZ(this);case 23:return!!this.a&&0!=this.a.i}return RL(this,n-AW((nhl(),nQV)),Bm(Im(zF(this,16),26)||nQV,n))},nTm.sh=function(n,t){var e;switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DU(this,Sh(t));return;case 2:Vn(this,gm(So(t)));return;case 3:Vi(this,gm(So(t)));return;case 4:qg(this,Im(t,19).a);return;case 5:qp(this,Im(t,19).a);return;case 8:Ww(this,Im(t,138));return;case 9:(e=ntl(this,Im(t,87),null))&&e.Fi();return;case 10:Vk(this,gm(So(t)));return;case 11:VT(this,gm(So(t)));return;case 12:Vj(this,gm(So(t)));return;case 13:jo(this,Sh(t));return;case 15:VE(this,gm(So(t)));return;case 16:VS(this,gm(So(t)));return;case 18:VI(this,gm(So(t))),Ti(this.Cb,88)&&ne2(KJ(Im(this.Cb,88)),2);return;case 20:VC(this,gm(So(t)));return;case 21:Gw(this,Im(t,18));return;case 23:this.a||(this.a=new Tk(nQs,this,23)),noK(this.a),this.a||(this.a=new Tk(nQs,this,23)),AJ(this.a,Im(t,14));return}V5(this,n-AW((nhl(),nQV)),Bm(Im(zF(this,16),26)||nQV,n),t)},nTm.zh=function(){return nhl(),nQV},nTm.Bh=function(n){var t;switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,88)&&ne2(KJ(Im(this.Cb,88)),4),GF(this,null);return;case 2:Vn(this,!0);return;case 3:Vi(this,!0);return;case 4:qg(this,0);return;case 5:qp(this,1);return;case 8:Ww(this,null);return;case 9:(t=ntl(this,null,null))&&t.Fi();return;case 10:Vk(this,!0);return;case 11:VT(this,!1);return;case 12:Vj(this,!1);return;case 13:this.i=null,Gg(this,null);return;case 15:VE(this,!1);return;case 16:VS(this,!1);return;case 18:VI(this,!1),Ti(this.Cb,88)&&ne2(KJ(Im(this.Cb,88)),2);return;case 20:VC(this,!0);return;case 21:Gw(this,null);return;case 23:this.a||(this.a=new Tk(nQs,this,23)),noK(this.a);return}W5(this,n-AW((nhl(),nQV)),Bm(Im(zF(this,16),26)||nQV,n))},nTm.Gh=function(){U7(this),Nc(HC((neS(),nJk),this)),Z9(this),this.Bb|=1},nTm.Lj=function(){return YI(this)},nTm.qk=function(){var n;return!!(n=YI(this))&&(n.Bb&nya)!=0},nTm.rk=function(){return(this.Bb&nya)!=0},nTm.sk=function(){return(this.Bb&nls)!=0},nTm.nk=function(n,t){return this.c=null,WX(this,n,t)},nTm.Ib=function(){var n;return(64&this.Db)!=0?nay(this):(n=new TW(nay(this)),n.a+=" (containment: ",p$(n,(this.Bb&nya)!=0),n.a+=", resolveProxies: ",p$(n,(this.Bb&nls)!=0),n.a+=")",n.a)},AY(nyo,"EReferenceImpl",99),nrr(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},uw),nTm.Fb=function(n){return this===n},nTm.cd=function(){return this.b},nTm.dd=function(){return this.c},nTm.Hb=function(){return T9(this)},nTm.Uh=function(n){var t;Gt(this,null==(t=Sh(n))?null:($D(t),t))},nTm.ed=function(n){var t,e;return t=Sh(n),e=this.c,Ge(this,t),e},nTm._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return _Q(this,n-AW((nhl(),nQQ)),Bm(Im(zF(this,16),26)||nQQ,n),t,e)},nTm.lh=function(n){switch(n){case 0:return null!=this.b;case 1:return null!=this.c}return RL(this,n-AW((nhl(),nQQ)),Bm(Im(zF(this,16),26)||nQQ,n))},nTm.sh=function(n,t){var e;switch(n){case 0:Gt(this,null==(e=Sh(t))?null:($D(e),e));return;case 1:Ge(this,Sh(t));return}V5(this,n-AW((nhl(),nQQ)),Bm(Im(zF(this,16),26)||nQQ,n),t)},nTm.zh=function(){return nhl(),nQQ},nTm.Bh=function(n){switch(n){case 0:Gt(this,null);return;case 1:Ge(this,null);return}W5(this,n-AW((nhl(),nQQ)),Bm(Im(zF(this,16),26)||nQQ,n))},nTm.Sh=function(){var n;return -1==this.a&&(n=this.b,this.a=null==n?0:Yj(n)),this.a},nTm.Th=function(n){this.a=n},nTm.Ib=function(){var n;return(64&this.Db)!=0?nrL(this):(n=new TW(nrL(this)),n.a+=" (key: ",jT(n,this.b),n.a+=", value: ",jT(n,this.c),n.a+=")",n.a)},nTm.a=-1,nTm.b=null,nTm.c=null;var nQE=AY(nyo,"EStringToStringMapEntryImpl",548),nQT=Cw(nk5,"FeatureMap/Entry/Internal");nrr(565,1,njy),nTm.Ok=function(n){return this.Pk(Im(n,49))},nTm.Pk=function(n){return this.Ok(n)},nTm.Fb=function(n){var t,e;return this===n||!!Ti(n,72)&&(t=Im(n,72)).ak()==this.c&&(null==(e=this.dd())?null==t.dd():WY(e,t.dd()))},nTm.ak=function(){return this.c},nTm.Hb=function(){var n;return n=this.dd(),Xg(this.c)^(null==n?0:Xg(n))},nTm.Ib=function(){var n,t;return t=BU((n=this.c).Hj()).Ph(),n.ne(),(null!=t&&0!=t.length?t+":"+n.ne():n.ne())+"="+this.dd()},AY(nyo,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),nrr(776,565,njy,S$),nTm.Pk=function(n){return new S$(this.c,n)},nTm.dd=function(){return this.a},nTm.Qk=function(n,t,e){var i,r,c;return i=this.a,r=e,i&&(c=Qj(n.Tg(),this.c),r=i.gh(n,-1-(-1==c?t:c),null,r)),r},nTm.Rk=function(n,t,e){var i,r,c;return i=this.a,r=e,i&&(c=Qj(n.Tg(),this.c),r=i.ih(n,-1-(-1==c?t:c),null,r)),r},AY(nyo,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),nrr(1314,1,{},jn),nTm.Pj=function(n,t,e,i,r){return Im(__(n,this.b),215).nl(this.a).Wj(i)},nTm.Qj=function(n,t,e,i,r){return Im(__(n,this.b),215).el(this.a,i,r)},nTm.Rj=function(n,t,e,i,r){return Im(__(n,this.b),215).fl(this.a,i,r)},nTm.Sj=function(n,t,e){return Im(__(n,this.b),215).nl(this.a).fj()},nTm.Tj=function(n,t,e,i){Im(__(n,this.b),215).nl(this.a).Wb(i)},nTm.Uj=function(n,t,e){return Im(__(n,this.b),215).nl(this.a)},nTm.Vj=function(n,t,e){Im(__(n,this.b),215).nl(this.a).Xj()},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),nrr(89,1,{},Iu,ND,LP,R5),nTm.Pj=function(n,t,e,i,r){var c;if(null==(c=t.Ch(e))&&t.Dh(e,c=nhr(this,n)),!r)switch(this.e){case 50:case 41:return Im(c,589).sj();case 40:return Im(c,215).kl()}return c},nTm.Qj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))&&t.Dh(e,c=nhr(this,n)),Im(c,69).lk(i,r)},nTm.Rj=function(n,t,e,i,r){var c;return null!=(c=t.Ch(e))&&(r=Im(c,69).mk(i,r)),r},nTm.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&Im(i,76).fj()},nTm.Tj=function(n,t,e,i){var r;(r=Im(t.Ch(e),76))||t.Dh(e,r=nhr(this,n)),r.Wb(i)},nTm.Uj=function(n,t,e){var i;return(null==(i=t.Ch(e))&&t.Dh(e,i=nhr(this,n)),Ti(i,76))?Im(i,76):new bZ(Im(t.Ch(e),15))},nTm.Vj=function(n,t,e){var i;(i=Im(t.Ch(e),76))||t.Dh(e,i=nhr(this,n)),i.Xj()},nTm.b=0,nTm.e=0,AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),nrr(504,1,{}),nTm.Qj=function(n,t,e,i,r){throw(new wP).e},nTm.Rj=function(n,t,e,i,r){throw(new wP).e},nTm.Uj=function(n,t,e){return new Nx(this,n,t,e)},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),nrr(1331,1,nk6,Nx),nTm.Wj=function(n){return this.a.Pj(this.c,this.d,this.b,n,!0)},nTm.fj=function(){return this.a.Sj(this.c,this.d,this.b)},nTm.Wb=function(n){this.a.Tj(this.c,this.d,this.b,n)},nTm.Xj=function(){this.a.Vj(this.c,this.d,this.b)},nTm.b=0,AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),nrr(769,504,{},L_),nTm.Pj=function(n,t,e,i,r){return naz(n,n.eh(),n.Vg())==this.b?this.sk()&&i?ni9(n):n.eh():null},nTm.Qj=function(n,t,e,i,r){var c,a;return n.eh()&&(r=(c=n.Vg())>=0?n.Qg(r):n.eh().ih(n,-1-c,null,r)),a=Qj(n.Tg(),this.e),n.Sg(i,a,r)},nTm.Rj=function(n,t,e,i,r){var c;return c=Qj(n.Tg(),this.e),n.Sg(null,c,r)},nTm.Sj=function(n,t,e){var i;return i=Qj(n.Tg(),this.e),!!n.eh()&&n.Vg()==i},nTm.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!nuL(this.a,i))throw new gw(njk+(Ti(i,56)?nn_(Im(i,56).Tg()):BE(Xp(i)))+njj+this.a+"'").e;if(r=n.eh(),a=Qj(n.Tg(),this.e),jf(i)!==jf(r)||n.Vg()!=a&&null!=i){if(Z2(n,Im(i,56)))throw new gd(nyh+n.Ib()).e;o=null,r&&(o=(c=n.Vg())>=0?n.Qg(o):n.eh().ih(n,-1-c,null,o)),(u=Im(i,49))&&(o=u.gh(n,Qj(u.Tg(),this.b),null,o)),(o=n.Sg(u,a,o))&&o.Fi()}else n.Lg()&&n.Mg()&&zx(n,new O9(n,1,a,i,i))},nTm.Vj=function(n,t,e){var i,r,c;n.eh()?(c=(i=n.Vg())>=0?n.Qg(null):n.eh().ih(n,-1-i,null,null),r=Qj(n.Tg(),this.e),(c=n.Sg(null,r,c))&&c.Fi()):n.Lg()&&n.Mg()&&zx(n,new O7(n,1,this.e,null,null))},nTm.sk=function(){return!1},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),nrr(1315,769,{},Io),nTm.sk=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),nrr(563,504,{}),nTm.Pj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))?this.b:jf(c)===jf(nQ9)?null:c},nTm.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&(jf(i)===jf(nQ9)||!WY(i,this.b))},nTm.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=null==(c=t.Ch(e))?this.b:jf(c)===jf(nQ9)?null:c,null==i?null!=this.c?(t.Dh(e,null),i=this.b):null!=this.b?t.Dh(e,nQ9):t.Dh(e,null):(this.Sk(i),t.Dh(e,i)),zx(n,this.d.Tk(n,1,this.e,r,i))):null==i?null!=this.c?t.Dh(e,null):null!=this.b?t.Dh(e,nQ9):t.Dh(e,null):(this.Sk(i),t.Dh(e,i))},nTm.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=null==(r=t.Ch(e))?this.b:jf(r)===jf(nQ9)?null:r,t.Eh(e),zx(n,this.d.Tk(n,1,this.e,i,this.b))):t.Eh(e)},nTm.Sk=function(n){throw(new wE).e},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),nrr(1316,1,{},ud),nTm.Tk=function(n,t,e,i,r){return new O7(n,t,e,i,r)},nTm.Uk=function(n,t,e,i,r,c){return new N0(n,t,e,i,r,c)},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",1316),nrr(1332,1316,{},ug),nTm.Tk=function(n,t,e,i,r){return new Fe(n,t,e,gm(So(i)),gm(So(r)))},nTm.Uk=function(n,t,e,i,r,c){return new xS(n,t,e,gm(So(i)),gm(So(r)),c)},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),nrr(1333,1316,{},up),nTm.Tk=function(n,t,e,i,r){return new qT(n,t,e,Im(i,217).a,Im(r,217).a)},nTm.Uk=function(n,t,e,i,r,c){return new xm(n,t,e,Im(i,217).a,Im(r,217).a,c)},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),nrr(1334,1316,{},uv),nTm.Tk=function(n,t,e,i,r){return new qM(n,t,e,Im(i,172).a,Im(r,172).a)},nTm.Uk=function(n,t,e,i,r,c){return new xy(n,t,e,Im(i,172).a,Im(r,172).a,c)},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),nrr(1335,1316,{},um),nTm.Tk=function(n,t,e,i,r){return new Fn(n,t,e,gy(Ss(i)),gy(Ss(r)))},nTm.Uk=function(n,t,e,i,r,c){return new xk(n,t,e,gy(Ss(i)),gy(Ss(r)),c)},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),nrr(1336,1316,{},uy),nTm.Tk=function(n,t,e,i,r){return new qI(n,t,e,Im(i,155).a,Im(r,155).a)},nTm.Uk=function(n,t,e,i,r,c){return new xj(n,t,e,Im(i,155).a,Im(r,155).a,c)},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),nrr(1337,1316,{},uk),nTm.Tk=function(n,t,e,i,r){return new Ft(n,t,e,Im(i,19).a,Im(r,19).a)},nTm.Uk=function(n,t,e,i,r,c){return new xE(n,t,e,Im(i,19).a,Im(r,19).a,c)},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),nrr(1338,1316,{},uj),nTm.Tk=function(n,t,e,i,r){return new qS(n,t,e,Im(i,162).a,Im(r,162).a)},nTm.Uk=function(n,t,e,i,r,c){return new xT(n,t,e,Im(i,162).a,Im(r,162).a,c)},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),nrr(1339,1316,{},uE),nTm.Tk=function(n,t,e,i,r){return new qP(n,t,e,Im(i,184).a,Im(r,184).a)},nTm.Uk=function(n,t,e,i,r,c){return new xM(n,t,e,Im(i,184).a,Im(r,184).a,c)},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),nrr(1317,563,{},NR),nTm.Sk=function(n){if(!this.a.wj(n))throw new gw(njk+Xp(n)+njj+this.a+"'").e},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),nrr(1318,563,{},Ov),nTm.Sk=function(n){},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),nrr(770,563,{}),nTm.Sj=function(n,t,e){return null!=t.Ch(e)},nTm.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=!0,null==(c=t.Ch(e))?(r=!1,c=this.b):jf(c)===jf(nQ9)&&(c=null),null==i?null!=this.c?(t.Dh(e,null),i=this.b):t.Dh(e,nQ9):(this.Sk(i),t.Dh(e,i)),zx(n,this.d.Uk(n,1,this.e,c,i,!r))):null==i?null!=this.c?t.Dh(e,null):t.Dh(e,nQ9):(this.Sk(i),t.Dh(e,i))},nTm.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=!0,null==(r=t.Ch(e))?(i=!1,r=this.b):jf(r)===jf(nQ9)&&(r=null),t.Eh(e),zx(n,this.d.Uk(n,2,this.e,r,this.b,i))):t.Eh(e)},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),nrr(1319,770,{},NK),nTm.Sk=function(n){if(!this.a.wj(n))throw new gw(njk+Xp(n)+njj+this.a+"'").e},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),nrr(1320,770,{},Om),nTm.Sk=function(n){},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),nrr(398,504,{},Cq),nTm.Pj=function(n,t,e,i,r){var c,a,u,o,s;if(s=t.Ch(e),this.Kj()&&jf(s)===jf(nQ9))return null;if(!this.sk()||!i||null==s)return s;if((u=Im(s,49)).kh()&&(o=WO(n,u),u!=o)){if(!nuL(this.a,o))throw new gw(njk+Xp(o)+njj+this.a+"'").e;t.Dh(e,s=o),this.rk()&&(c=Im(o,49),a=u.ih(n,this.b?Qj(u.Tg(),this.b):-1-Qj(n.Tg(),this.e),null,null),c.eh()||(a=c.gh(n,this.b?Qj(c.Tg(),this.b):-1-Qj(n.Tg(),this.e),null,a)),a&&a.Fi()),n.Lg()&&n.Mg()&&zx(n,new O7(n,9,this.e,u,o))}return s},nTm.Qj=function(n,t,e,i,r){var c,a;return jf(a=t.Ch(e))===jf(nQ9)&&(a=null),t.Dh(e,i),this.bj()?jf(a)!==jf(i)&&null!=a&&(r=(c=Im(a,49)).ih(n,Qj(c.Tg(),this.b),null,r)):this.rk()&&null!=a&&(r=Im(a,49).ih(n,-1-Qj(n.Tg(),this.e),null,r)),n.Lg()&&n.Mg()&&(r||(r=new pc(4)),r.Ei(new O7(n,1,this.e,a,i))),r},nTm.Rj=function(n,t,e,i,r){var c;return jf(c=t.Ch(e))===jf(nQ9)&&(c=null),t.Eh(e),n.Lg()&&n.Mg()&&(r||(r=new pc(4)),this.Kj()?r.Ei(new O7(n,2,this.e,c,null)):r.Ei(new O7(n,1,this.e,c,null))),r},nTm.Sj=function(n,t,e){return null!=t.Ch(e)},nTm.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!nuL(this.a,i))throw new gw(njk+(Ti(i,56)?nn_(Im(i,56).Tg()):BE(Xp(i)))+njj+this.a+"'").e;u=null!=(o=t.Ch(e)),this.Kj()&&jf(o)===jf(nQ9)&&(o=null),a=null,this.bj()?jf(o)!==jf(i)&&(null!=o&&(a=(r=Im(o,49)).ih(n,Qj(r.Tg(),this.b),null,a)),null!=i&&(a=(r=Im(i,49)).gh(n,Qj(r.Tg(),this.b),null,a))):this.rk()&&jf(o)!==jf(i)&&(null!=o&&(a=Im(o,49).ih(n,-1-Qj(n.Tg(),this.e),null,a)),null!=i&&(a=Im(i,49).gh(n,-1-Qj(n.Tg(),this.e),null,a))),null==i&&this.Kj()?t.Dh(e,nQ9):t.Dh(e,i),n.Lg()&&n.Mg()?(c=new N0(n,1,this.e,o,i,this.Kj()&&!u),a?(a.Ei(c),a.Fi()):zx(n,c)):a&&a.Fi()},nTm.Vj=function(n,t,e){var i,r,c,a,u;a=null!=(u=t.Ch(e)),this.Kj()&&jf(u)===jf(nQ9)&&(u=null),c=null,null!=u&&(this.bj()?c=(i=Im(u,49)).ih(n,Qj(i.Tg(),this.b),null,c):this.rk()&&(c=Im(u,49).ih(n,-1-Qj(n.Tg(),this.e),null,c))),t.Eh(e),n.Lg()&&n.Mg()?(r=new N0(n,this.Kj()?2:1,this.e,u,null,a),c?(c.Ei(r),c.Fi()):zx(n,r)):c&&c.Fi()},nTm.bj=function(){return!1},nTm.rk=function(){return!1},nTm.sk=function(){return!1},nTm.Kj=function(){return!1},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),nrr(564,398,{},M3),nTm.rk=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),nrr(1323,564,{},M4),nTm.sk=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),nrr(772,564,{},M5),nTm.Kj=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),nrr(1325,772,{},M6),nTm.sk=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),nrr(640,564,{},Is),nTm.bj=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),nrr(1324,640,{},Il),nTm.sk=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),nrr(773,640,{},Ib),nTm.Kj=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),nrr(1326,773,{},Iw),nTm.sk=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),nrr(641,398,{},M8),nTm.sk=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),nrr(1327,641,{},M9),nTm.Kj=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),nrr(774,641,{},Ih),nTm.bj=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),nrr(1328,774,{},Id),nTm.Kj=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),nrr(1321,398,{},M7),nTm.Kj=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),nrr(771,398,{},If),nTm.bj=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),nrr(1322,771,{},Ig),nTm.Kj=function(){return!0},AY(nyo,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),nrr(775,565,njy,$E),nTm.Pk=function(n){return new $E(this.a,this.c,n)},nTm.dd=function(){return this.b},nTm.Qk=function(n,t,e){var i,r;return i=this.b,r=e,i&&(r=i.gh(n,Qj(i.Tg(),this.c.Lj()),null,r)),r},nTm.Rk=function(n,t,e){var i,r;return i=this.b,r=e,i&&(r=i.ih(n,Qj(i.Tg(),this.c.Lj()),null,r)),r},AY(nyo,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),nrr(1329,1,nk6,bZ),nTm.Wj=function(n){return this.a},nTm.fj=function(){return Ti(this.a,95)?Im(this.a,95).fj():!this.a.dc()},nTm.Wb=function(n){this.a.$b(),this.a.Gc(Im(n,15))},nTm.Xj=function(){Ti(this.a,95)?Im(this.a,95).Xj():this.a.$b()},AY(nyo,"EStructuralFeatureImpl/SettingMany",1329),nrr(1330,565,njy,R8),nTm.Ok=function(n){return new SN((noQ(),nJ5),this.b.Ih(this.a,n))},nTm.dd=function(){return null},nTm.Qk=function(n,t,e){return e},nTm.Rk=function(n,t,e){return e},AY(nyo,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),nrr(642,565,njy,SN),nTm.Ok=function(n){return new SN(this.c,n)},nTm.dd=function(){return this.a},nTm.Qk=function(n,t,e){return e},nTm.Rk=function(n,t,e){return e},AY(nyo,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),nrr(391,497,ny5,uT),nTm.ri=function(n){return _f(nQf,nhA,26,n,0,1)},nTm.ni=function(){return!1},AY(nyo,"ESuperAdapter/1",391),nrr(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},uM),nTm._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.a||(this.a=new CG(this,nQd,this)),this.a}return _Q(this,n-AW((nhl(),nQZ)),Bm(Im(zF(this,16),26)||nQZ,n),t,e)},nTm.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQa,this,0,3)),Ye(this.Ab,n,e);case 2:return this.a||(this.a=new CG(this,nQd,this)),Ye(this.a,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQZ),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQZ)),n,e)},nTm.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return RL(this,n-AW((nhl(),nQZ)),Bm(Im(zF(this,16),26)||nQZ,n))},nTm.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQa,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:GF(this,Sh(t));return;case 2:this.a||(this.a=new CG(this,nQd,this)),noK(this.a),this.a||(this.a=new CG(this,nQd,this)),AJ(this.a,Im(t,14));return}V5(this,n-AW((nhl(),nQZ)),Bm(Im(zF(this,16),26)||nQZ,n),t)},nTm.zh=function(){return nhl(),nQZ},nTm.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQa,this,0,3)),noK(this.Ab);return;case 1:GF(this,null);return;case 2:this.a||(this.a=new CG(this,nQd,this)),noK(this.a);return}W5(this,n-AW((nhl(),nQZ)),Bm(Im(zF(this,16),26)||nQZ,n))},AY(nyo,"ETypeParameterImpl",444),nrr(445,85,njl,CG),nTm.cj=function(n,t){return function(n,t,e){var i,r;for(e=J8(t,n.e,-1-n.c,e),r=new b0(new XE(new hN($_(n.a).a).a));r.a.b;)e=nsg(i=Im(BQ(r.a).cd(),87),nr0(i,n.a),e);return e}(this,Im(n,87),t)},nTm.dj=function(n,t){return function(n,t,e){var i,r;for(e=LA(t,n.e,-1-n.c,e),r=new b0(new XE(new hN($_(n.a).a).a));r.a.b;)e=nsg(i=Im(BQ(r.a).cd(),87),nr0(i,n.a),e);return e}(this,Im(n,87),t)},AY(nyo,"ETypeParameterImpl/1",445),nrr(634,43,nlE,dC),nTm.ec=function(){return new b1(this)},AY(nyo,"ETypeParameterImpl/2",634),nrr(556,1965,nhq,b1),nTm.Fc=function(n){return Pn(this,Im(n,87))},nTm.Gc=function(n){var t,e,i;for(i=!1,e=n.Kc();e.Ob();)t=Im(e.Pb(),87),null==$J(this.a,t,"")&&(i=!0);return i},nTm.$b=function(){AT(this.a)},nTm.Hc=function(n){return Au(this.a,n)},nTm.Kc=function(){return new b0(new XE(new hN(this.a).a))},nTm.Mc=function(n){return Fx(this,n)},nTm.gc=function(){return vO(this.a)},AY(nyo,"ETypeParameterImpl/2/1",556),nrr(557,1,nhF,b0),nTm.Nb=function(n){Ao(this,n)},nTm.Pb=function(){return Im(BQ(this.a).cd(),87)},nTm.Ob=function(){return this.a.b},nTm.Qb=function(){_T(this.a)},AY(nyo,"ETypeParameterImpl/2/1/1",557),nrr(1276,43,nlE,dO),nTm._b=function(n){return jw(n)?Ln(this,n):!!Lj(this.f,n)},nTm.xc=function(n){var t;return Ti(t=jw(n)?Lz(this,n):jh(Lj(this.f,n)),837)?(t=Im(t,837)._j(),$J(this,Im(n,235),t),t):null!=t?t:null==n?(mg(),nJM):null},AY(nyo,"EValidatorRegistryImpl",1276),nrr(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},uS),nTm.Ih=function(n,t){var e,i,r;switch(n.yj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==t?null:V7(t);case 25:return null==t?null:function(n,t){var e,i,r,c,a;if(null==n)return null;for(i=0,a=_f(nY$,nfS,25,2*t,15,1),r=0;i>4&15,c=15&n[i],a[r++]=nVx[e],a[r++]=nVx[c];return Je(a,0,a.length)}(e=Im(t,190),e.length);case 27:case 28:return Ti(t,172)?""+Im(t,172).a:null==t?null:V7(t);case 29:return null==t?null:(i=nVD[0],r=Im(t,199),nsw(i.a,r,null));case 41:return null==t?"":pb(Im(t,290));case 42:return V7(t);case 50:return Sh(t);default:throw new gd(nyf+n.ne()+nyl).e}},nTm.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=BU(n))?Yl(t.Mh(),n):-1),n.G){case 0:return new dT;case 1:return new uc;case 2:return new sZ;case 4:return new wN;case 5:return new dM;case 6:return new w$;case 7:return new sJ;case 10:return new ui;case 11:return new dS;case 12:return new Lb;case 13:return new dP;case 14:return new Sc;case 17:return new uw;case 18:return new wr;case 19:return new uM;default:throw new gd(nyd+n.zb+nyl).e}},nTm.Kh=function(n,t){switch(n.yj()){case 20:return null==t?null:new pP(t);case 21:return null==t?null:new Ep(t);case 23:case 22:return null==t?null:function(n){if(Jm(nml,n))return TX(),nTQ;if(Jm(nmb,n))return TX(),nTV;throw new gd("Expecting true or false").e}(t);case 26:case 24:return null==t?null:H4(nue(t,-128,127)<<24>>24);case 25:return function(n){var t,e,i,r,c,a,u;if(null==n)return null;for(a=_f(nYx,nyw,25,r=((u=n.length)+1)/2|0,15,1),u%2!=0&&(a[--r]=naa((D5(u-1,n.length),n.charCodeAt(u-1)))),e=0,i=0;e>24;return a}(t);case 27:return function(n){var t;if(null==n)return null;t=0;try{t=nue(n,nfp,nhM)&nfI}catch(e){if(Ti(e=Uu(e),127))t=HR(n)[0];else throw e.e}return Ua(t)}(t);case 28:return function(n){var t;if(null==n)return null;t=0;try{t=nue(n,nfp,nhM)&nfI}catch(e){if(Ti(e=Uu(e),127))t=HR(n)[0];else throw e.e}return Ua(t)}(t);case 29:return function(n){var t,e,i;if(null==n)return null;for(e=0,t=null;e>16);case 50:return t;default:throw new gd(nyf+n.ne()+nyl).e}},AY(nyo,"EcoreFactoryImpl",1313),nrr(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},$V),nTm.gb=!1,nTm.hb=!1;var nQM,nQS,nQP,nQI,nQC,nQO,nQA,nQ$,nQN,nQL,nQD,nQx,nQR,nQK,nQF,nQ_,nQH,nQB,nQq,nQG,nQz,nQU,nQX,nQW,nQV,nQQ,nQJ,nQY,nQZ,nQ1,nQ0,nQ2,nQ3,nQ4,nQ5,nQ6,nQ8,nQ9,nQ7,nJn,nJt,nJe,nJi,nJr,nJc,nJa,nJu,nJo,nJs=!1;AY(nyo,"EcorePackageImpl",547),nrr(1184,1,{837:1},uP),nTm._j=function(){return TU(),nJS},AY(nyo,"EcorePackageImpl/1",1184),nrr(1193,1,njx,uI),nTm.wj=function(n){return Ti(n,147)},nTm.xj=function(n){return _f(nCL,nhA,147,n,0,1)},AY(nyo,"EcorePackageImpl/10",1193),nrr(1194,1,njx,uC),nTm.wj=function(n){return Ti(n,191)},nTm.xj=function(n){return _f(nCx,nhA,191,n,0,1)},AY(nyo,"EcorePackageImpl/11",1194),nrr(1195,1,njx,uO),nTm.wj=function(n){return Ti(n,56)},nTm.xj=function(n){return _f(nCS,nhA,56,n,0,1)},AY(nyo,"EcorePackageImpl/12",1195),nrr(1196,1,njx,uA),nTm.wj=function(n){return Ti(n,399)},nTm.xj=function(n){return _f(nQg,njh,59,n,0,1)},AY(nyo,"EcorePackageImpl/13",1196),nrr(1197,1,njx,u$),nTm.wj=function(n){return Ti(n,235)},nTm.xj=function(n){return _f(nCR,nhA,235,n,0,1)},AY(nyo,"EcorePackageImpl/14",1197),nrr(1198,1,njx,uN),nTm.wj=function(n){return Ti(n,509)},nTm.xj=function(n){return _f(nQp,nhA,2017,n,0,1)},AY(nyo,"EcorePackageImpl/15",1198),nrr(1199,1,njx,uL),nTm.wj=function(n){return Ti(n,99)},nTm.xj=function(n){return _f(nQv,njs,18,n,0,1)},AY(nyo,"EcorePackageImpl/16",1199),nrr(1200,1,njx,uD),nTm.wj=function(n){return Ti(n,170)},nTm.xj=function(n){return _f(nQo,njs,170,n,0,1)},AY(nyo,"EcorePackageImpl/17",1200),nrr(1201,1,njx,ux),nTm.wj=function(n){return Ti(n,472)},nTm.xj=function(n){return _f(nQu,nhA,472,n,0,1)},AY(nyo,"EcorePackageImpl/18",1201),nrr(1202,1,njx,uR),nTm.wj=function(n){return Ti(n,548)},nTm.xj=function(n){return _f(nQE,nkz,548,n,0,1)},AY(nyo,"EcorePackageImpl/19",1202),nrr(1185,1,njx,uK),nTm.wj=function(n){return Ti(n,322)},nTm.xj=function(n){return _f(nQs,njs,34,n,0,1)},AY(nyo,"EcorePackageImpl/2",1185),nrr(1203,1,njx,uF),nTm.wj=function(n){return Ti(n,241)},nTm.xj=function(n){return _f(nQd,njg,87,n,0,1)},AY(nyo,"EcorePackageImpl/20",1203),nrr(1204,1,njx,u_),nTm.wj=function(n){return Ti(n,444)},nTm.xj=function(n){return _f(nQm,nhA,836,n,0,1)},AY(nyo,"EcorePackageImpl/21",1204),nrr(1205,1,njx,uH),nTm.wj=function(n){return jl(n)},nTm.xj=function(n){return _f(nTt,nhJ,476,n,8,1)},AY(nyo,"EcorePackageImpl/22",1205),nrr(1206,1,njx,uB),nTm.wj=function(n){return Ti(n,190)},nTm.xj=function(n){return _f(nYx,nhJ,190,n,0,2)},AY(nyo,"EcorePackageImpl/23",1206),nrr(1207,1,njx,uq),nTm.wj=function(n){return Ti(n,217)},nTm.xj=function(n){return _f(nTe,nhJ,217,n,0,1)},AY(nyo,"EcorePackageImpl/24",1207),nrr(1208,1,njx,uG),nTm.wj=function(n){return Ti(n,172)},nTm.xj=function(n){return _f(nTi,nhJ,172,n,0,1)},AY(nyo,"EcorePackageImpl/25",1208),nrr(1209,1,njx,uz),nTm.wj=function(n){return Ti(n,199)},nTm.xj=function(n){return _f(nTn,nhJ,199,n,0,1)},AY(nyo,"EcorePackageImpl/26",1209),nrr(1210,1,njx,uU),nTm.wj=function(n){return!1},nTm.xj=function(n){return _f(nYH,nhA,2110,n,0,1)},AY(nyo,"EcorePackageImpl/27",1210),nrr(1211,1,njx,uX),nTm.wj=function(n){return jb(n)},nTm.xj=function(n){return _f(nTr,nhJ,333,n,7,1)},AY(nyo,"EcorePackageImpl/28",1211),nrr(1212,1,njx,uW),nTm.wj=function(n){return Ti(n,58)},nTm.xj=function(n){return _f(nCz,nwe,58,n,0,1)},AY(nyo,"EcorePackageImpl/29",1212),nrr(1186,1,njx,uV),nTm.wj=function(n){return Ti(n,510)},nTm.xj=function(n){return _f(nQa,{3:1,4:1,5:1,1934:1},590,n,0,1)},AY(nyo,"EcorePackageImpl/3",1186),nrr(1213,1,njx,uQ),nTm.wj=function(n){return Ti(n,573)},nTm.xj=function(n){return _f(nCY,nhA,1940,n,0,1)},AY(nyo,"EcorePackageImpl/30",1213),nrr(1214,1,njx,uJ),nTm.wj=function(n){return Ti(n,153)},nTm.xj=function(n){return _f(nJf,nwe,153,n,0,1)},AY(nyo,"EcorePackageImpl/31",1214),nrr(1215,1,njx,uY),nTm.wj=function(n){return Ti(n,72)},nTm.xj=function(n){return _f(nQk,njR,72,n,0,1)},AY(nyo,"EcorePackageImpl/32",1215),nrr(1216,1,njx,uZ),nTm.wj=function(n){return Ti(n,155)},nTm.xj=function(n){return _f(nTc,nhJ,155,n,0,1)},AY(nyo,"EcorePackageImpl/33",1216),nrr(1217,1,njx,u1),nTm.wj=function(n){return Ti(n,19)},nTm.xj=function(n){return _f(nTa,nhJ,19,n,0,1)},AY(nyo,"EcorePackageImpl/34",1217),nrr(1218,1,njx,u0),nTm.wj=function(n){return Ti(n,290)},nTm.xj=function(n){return _f(nEW,nhA,290,n,0,1)},AY(nyo,"EcorePackageImpl/35",1218),nrr(1219,1,njx,u2),nTm.wj=function(n){return Ti(n,162)},nTm.xj=function(n){return _f(nTu,nhJ,162,n,0,1)},AY(nyo,"EcorePackageImpl/36",1219),nrr(1220,1,njx,u3),nTm.wj=function(n){return Ti(n,83)},nTm.xj=function(n){return _f(nEQ,nhA,83,n,0,1)},AY(nyo,"EcorePackageImpl/37",1220),nrr(1221,1,njx,u4),nTm.wj=function(n){return Ti(n,591)},nTm.xj=function(n){return _f(nJh,nhA,591,n,0,1)},AY(nyo,"EcorePackageImpl/38",1221),nrr(1222,1,njx,u5),nTm.wj=function(n){return!1},nTm.xj=function(n){return _f(nYB,nhA,2111,n,0,1)},AY(nyo,"EcorePackageImpl/39",1222),nrr(1187,1,njx,u6),nTm.wj=function(n){return Ti(n,88)},nTm.xj=function(n){return _f(nQf,nhA,26,n,0,1)},AY(nyo,"EcorePackageImpl/4",1187),nrr(1223,1,njx,u8),nTm.wj=function(n){return Ti(n,184)},nTm.xj=function(n){return _f(nTo,nhJ,184,n,0,1)},AY(nyo,"EcorePackageImpl/40",1223),nrr(1224,1,njx,u9),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nyo,"EcorePackageImpl/41",1224),nrr(1225,1,njx,u7),nTm.wj=function(n){return Ti(n,588)},nTm.xj=function(n){return _f(nCX,nhA,588,n,0,1)},AY(nyo,"EcorePackageImpl/42",1225),nrr(1226,1,njx,on),nTm.wj=function(n){return!1},nTm.xj=function(n){return _f(nYq,nhJ,2112,n,0,1)},AY(nyo,"EcorePackageImpl/43",1226),nrr(1227,1,njx,ot),nTm.wj=function(n){return Ti(n,42)},nTm.xj=function(n){return _f(nE1,nh7,42,n,0,1)},AY(nyo,"EcorePackageImpl/44",1227),nrr(1188,1,njx,oe),nTm.wj=function(n){return Ti(n,138)},nTm.xj=function(n){return _f(nQh,nhA,138,n,0,1)},AY(nyo,"EcorePackageImpl/5",1188),nrr(1189,1,njx,oi),nTm.wj=function(n){return Ti(n,148)},nTm.xj=function(n){return _f(nQl,nhA,148,n,0,1)},AY(nyo,"EcorePackageImpl/6",1189),nrr(1190,1,njx,or),nTm.wj=function(n){return Ti(n,457)},nTm.xj=function(n){return _f(nQb,nhA,671,n,0,1)},AY(nyo,"EcorePackageImpl/7",1190),nrr(1191,1,njx,oc),nTm.wj=function(n){return Ti(n,573)},nTm.xj=function(n){return _f(nQw,nhA,678,n,0,1)},AY(nyo,"EcorePackageImpl/8",1191),nrr(1192,1,njx,oa),nTm.wj=function(n){return Ti(n,471)},nTm.xj=function(n){return _f(nCD,nhA,471,n,0,1)},AY(nyo,"EcorePackageImpl/9",1192),nrr(1025,1982,nkq,gf),nTm.bi=function(n,t){!function(n,t){var e,i,r;if(t.vi(n.a),null!=(r=Im(zF(n.a,8),1936)))for(e=0,i=r.length;e0){if(D5(0,n.length),47==n.charCodeAt(0)){for(t=1,c=new Fq(4),r=1;t0)try{i=nue(t,nfp,nhM)}catch(n){if(Ti(n=Uu(n),127))throw new Hj(n).e;throw n.e}return n.a||(n.a=new b2(n)),i<(e=n.a).i&&i>=0?Im(BX(e,i),56):null}(n,0==(r=t.c.length)?"":(D4(0,t.c.length),Sh(t.c[0])));i0&&(n=n.substr(0,e))}return function(n,t){var e,i,r,c,a,u;for(c=null,r=new Ae((n.a||(n.a=new b2(n)),n.a));niD(r);)if(noo(a=(e=Im(nrV(r),56)).Tg()),null!=(i=(u=a.o)&&e.mh(u)?Pg(Ui(u),e.ah(u)):null)&&Pv(i,t)){c=e;break}return c}(this,n)},nTm.Xk=function(){return this.c},nTm.Ib=function(){return pb(this.gm)+"@"+(Xg(this)>>>0).toString(16)+" uri='"+this.d+"'"},nTm.b=!1,AY(nj_,"ResourceImpl",781),nrr(1379,781,njF,b4),AY(nj_,"BinaryResourceImpl",1379),nrr(1169,694,ny6),nTm.si=function(n){var t;return Ti(n,56)?(t=Im(n,56),this.a?t.Wg().Kc():Im(t.Wg(),69).Zh()):Ti(n,591)?new Td(Im(n,591).Vk()):jf(n)===jf(this.f)?Im(n,14).Kc():(Si(),nVY.a)},nTm.Ob=function(){return niD(this)},nTm.a=!1,AY(nk5,"EcoreUtil/ContentTreeIterator",1169),nrr(1380,1169,ny6,Ae),nTm.si=function(n){return jf(n)===jf(this.f)?Im(n,15).Kc():new Rh(Im(n,56))},AY(nj_,"ResourceImpl/5",1380),nrr(648,1994,njf,b2),nTm.Hc=function(n){return this.i<=4?nnv(this,n):Ti(n,49)&&Im(n,49).Zg()==this.a},nTm.bi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},nTm.di=function(n,t){0==n?this.a.b||(this.a.b=!0):_s(this,n,t)},nTm.fi=function(n,t){},nTm.gi=function(n,t,e){},nTm.aj=function(){return 2},nTm.Ai=function(){return this.a},nTm.bj=function(){return!0},nTm.cj=function(n,t){return t=Im(n,49).wh(this.a,t)},nTm.dj=function(n,t){return Im(n,49).wh(null,t)},nTm.ej=function(){return!1},nTm.hi=function(){return!0},nTm.ri=function(n){return _f(nCS,nhA,56,n,0,1)},nTm.ni=function(){return!1},AY(nj_,"ResourceImpl/ContentsEList",648),nrr(957,1964,nff,b3),nTm.Zc=function(n){return this.a._h(n)},nTm.gc=function(){return this.a.gc()},AY(nk5,"AbstractSequentialInternalEList/1",957),nrr(624,1,{},IV),AY(nk5,"BasicExtendedMetaData",624),nrr(1160,1,{},jt),nTm.$k=function(){return null},nTm._k=function(){var n;return -2==this.a&&(n=function(n,t){var e,i,r;if((e=t.Hh(n.a))&&null!=(r=Q_((e.b||(e.b=new M2((nhl(),nQQ),nQE,e)),e.b),njd))){for(i=1;i<(neS(),nJm).length;++i)if(Pv(nJm[i],r))return i}return 0}(this.d,this.b),this.a=n),this.a},nTm.al=function(){return null},nTm.bl=function(){return NV(),NV(),nMv},nTm.ne=function(){var n;return this.c==nj0&&(n=Jk(this.d,this.b),this.c=n),this.c},nTm.cl=function(){return 0},nTm.a=-2,nTm.c=nj0,AY(nk5,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),nrr(1161,1,{},x$),nTm.$k=function(){var n,t,e,i,r,c,a,u,o;return this.a==(KY(),nJE)&&(t=this.f,n=(r=(e=this.b).Hh(t.a))&&(r.b||(r.b=new M2((nhl(),nQQ),nQE,r)),null!=(i=Sh(Q_(r.b,njM))))&&Ti(a=-1==(c=i.lastIndexOf("#"))?(u=e.Aj(),o=i,noI(HI(t,u),o)):0==c?_F(t,null,i.substr(1)):_F(t,i.substr(0,c),i.substr(c+1)),148)?Im(a,148):null,this.a=n),this.a},nTm._k=function(){return 0},nTm.al=function(){var n,t,e,i,r,c,a,u,o;return this.c==(KY(),nJE)&&(t=this.f,n=(i=(e=this.b).Hh(t.a))&&(i.b||(i.b=new M2((nhl(),nQQ),nQE,i)),null!=(c=Sh(Q_(i.b,njW))))&&Ti(a=-1==(r=c.lastIndexOf("#"))?(u=e.Aj(),o=c,noI(HI(t,u),o)):0==r?_F(t,null,c.substr(1)):_F(t,c.substr(0,r),c.substr(r+1)),148)?Im(a,148):null,this.c=n),this.c},nTm.bl=function(){var n;return this.d||(n=function(n,t){var e,i,r,c,a,u,o,s,h;if((e=t.Hh(n.a))&&null!=(o=Sh(Q_((e.b||(e.b=new M2((nhl(),nQQ),nQE,e)),e.b),"memberTypes")))){for(s=new wn,c=naX(o,"\\w"),a=0,u=c.length;ae?t:e;s<=f;++s)s==e?u=i++:(c=r[s],h=w.rl(c.ak()),s==t&&(o=s!=f||h?i:i-1),h&&++i);return l=Im(Vm(n,t,e),72),u!=o&&wR(n,new _K(n.e,7,a,Va(u),b.dd(),o)),l}return Im(Vm(n,t,e),72)}(this,n,t)},nTm.li=function(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(Ti(a=e.ak(),99)&&(Im(a,18).Bb&nls)!=0&&(l=Im(e.dd(),49),(d=WO(n.e,l))!=l)){if(Ts(n,t,nn6(n,t,h=RU(a,d))),f=null,Ea(n.e)&&(i=noW((neS(),nJk),n.e.Tg(),a))!=Bm(n.e.Tg(),n.c)){for(o=0,g=ncT(n.e.Tg(),a),u=0,c=Im(n.g,119);o=0;)if(t=n[this.c],this.k.rl(t.ak()))return this.j=this.f?t:t.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},AY(nk5,"BasicFeatureMap/FeatureEIterator",410),nrr(662,410,nhX,jV),nTm.Lk=function(){return!0},AY(nk5,"BasicFeatureMap/ResolvingFeatureEIterator",662),nrr(955,486,njv,E2),nTm.Gi=function(){return this},AY(nk5,"EContentsEList/1",955),nrr(956,486,njv,jQ),nTm.Lk=function(){return!1},AY(nk5,"EContentsEList/2",956),nrr(954,279,njm,E3),nTm.Nk=function(n){},nTm.Ob=function(){return!1},nTm.Sb=function(){return!1},AY(nk5,"EContentsEList/FeatureIteratorImpl/1",954),nrr(825,585,njl,Tj),nTm.ci=function(){this.a=!0},nTm.fj=function(){return this.a},nTm.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.a,this.a=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.a=!1},nTm.a=!1,AY(nk5,"EDataTypeEList/Unsettable",825),nrr(1849,585,njl,TE),nTm.hi=function(){return!0},AY(nk5,"EDataTypeUniqueEList",1849),nrr(1850,825,njl,TT),nTm.hi=function(){return!0},AY(nk5,"EDataTypeUniqueEList/Unsettable",1850),nrr(139,85,njl,Tv),nTm.Ek=function(){return!0},nTm.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk5,"EObjectContainmentEList/Resolving",139),nrr(1163,545,njl,Tm),nTm.Ek=function(){return!0},nTm.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk5,"EObjectContainmentEList/Unsettable/Resolving",1163),nrr(748,16,njl,Pi),nTm.ci=function(){this.a=!0},nTm.fj=function(){return this.a},nTm.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.a,this.a=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.a=!1},nTm.a=!1,AY(nk5,"EObjectContainmentWithInverseEList/Unsettable",748),nrr(1173,748,njl,Pr),nTm.Ek=function(){return!0},nTm.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk5,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),nrr(743,496,njl,Ty),nTm.ci=function(){this.a=!0},nTm.fj=function(){return this.a},nTm.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.a,this.a=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.a=!1},nTm.a=!1,AY(nk5,"EObjectEList/Unsettable",743),nrr(328,496,njl,Tk),nTm.Ek=function(){return!0},nTm.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk5,"EObjectResolvingEList",328),nrr(1641,743,njl,TM),nTm.Ek=function(){return!0},nTm.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk5,"EObjectResolvingEList/Unsettable",1641),nrr(1381,1,{},ou),AY(nk5,"EObjectValidator",1381),nrr(546,496,njl,At),nTm.zk=function(){return this.d},nTm.Ak=function(){return this.b},nTm.bj=function(){return!0},nTm.Dk=function(){return!0},nTm.b=0,AY(nk5,"EObjectWithInverseEList",546),nrr(1176,546,njl,Pc),nTm.Ck=function(){return!0},AY(nk5,"EObjectWithInverseEList/ManyInverse",1176),nrr(625,546,njl,Pa),nTm.ci=function(){this.a=!0},nTm.fj=function(){return this.a},nTm.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.a,this.a=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.a=!1},nTm.a=!1,AY(nk5,"EObjectWithInverseEList/Unsettable",625),nrr(1175,625,njl,Po),nTm.Ck=function(){return!0},AY(nk5,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),nrr(749,546,njl,Pu),nTm.Ek=function(){return!0},nTm.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk5,"EObjectWithInverseResolvingEList",749),nrr(31,749,njl,Ph),nTm.Ck=function(){return!0},AY(nk5,"EObjectWithInverseResolvingEList/ManyInverse",31),nrr(750,625,njl,Ps),nTm.Ek=function(){return!0},nTm.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk5,"EObjectWithInverseResolvingEList/Unsettable",750),nrr(1174,750,njl,Pf),nTm.Ck=function(){return!0},AY(nk5,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),nrr(1164,622,njl),nTm.ai=function(){return(1792&this.b)==0},nTm.ci=function(){this.b|=1},nTm.Bk=function(){return(4&this.b)!=0},nTm.bj=function(){return(40&this.b)!=0},nTm.Ck=function(){return(16&this.b)!=0},nTm.Dk=function(){return(8&this.b)!=0},nTm.Ek=function(){return(this.b&njn)!=0},nTm.rk=function(){return(32&this.b)!=0},nTm.Fk=function(){return(this.b&nyp)!=0},nTm.wj=function(n){return this.d?RR(this.d,n):this.ak().Yj().wj(n)},nTm.fj=function(){return(2&this.b)!=0?(1&this.b)!=0:0!=this.i},nTm.hi=function(){return(128&this.b)!=0},nTm.Xj=function(){var n;noK(this),(2&this.b)!=0&&(Ea(this.e)?(n=(1&this.b)!=0,this.b&=-2,wR(this,new Fi(this.e,2,Qj(this.e.Tg(),this.ak()),n,!1))):this.b&=-2)},nTm.ni=function(){return(1536&this.b)==0},nTm.b=0,AY(nk5,"EcoreEList/Generic",1164),nrr(1165,1164,njl,N2),nTm.ak=function(){return this.a},AY(nk5,"EcoreEList/Dynamic",1165),nrr(747,63,ny5,b5),nTm.ri=function(n){return qm(this.a.a,n)},AY(nk5,"EcoreEMap/1",747),nrr(746,85,njl,O8),nTm.bi=function(n,t){YC(this.b,Im(t,133))},nTm.di=function(n,t){zO(this.b)},nTm.ei=function(n,t,e){var i;++(i=this.b,Im(t,133),i).e},nTm.fi=function(n,t){Vy(this.b,Im(t,133))},nTm.gi=function(n,t,e){var i;Vy(this.b,Im(e,133)),jf(e)===jf(t)&&Im(e,133).Th(null==(i=Im(t,133).cd())?0:Xg(i)),YC(this.b,Im(t,133))},AY(nk5,"EcoreEMap/DelegateEObjectContainmentEList",746),nrr(1171,151,nk8,qJ),AY(nk5,"EcoreEMap/Unsettable",1171),nrr(1172,746,njl,Pl),nTm.ci=function(){this.a=!0},nTm.fj=function(){return this.a},nTm.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.a,this.a=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.a=!1},nTm.a=!1,AY(nk5,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),nrr(1168,228,nlE,AX),nTm.a=!1,nTm.b=!1,AY(nk5,"EcoreUtil/Copier",1168),nrr(745,1,nhF,Rh),nTm.Nb=function(n){Ao(this,n)},nTm.Ob=function(){return QB(this)},nTm.Pb=function(){var n;return QB(this),n=this.b,this.b=null,n},nTm.Qb=function(){this.a.Qb()},AY(nk5,"EcoreUtil/ProperContentIterator",745),nrr(1382,1381,{},s1),AY(nk5,"EcoreValidator",1382),Cw(nk5,"FeatureMapUtil/Validator"),nrr(1260,1,{1942:1},oo),nTm.rl=function(n){return!0},AY(nk5,"FeatureMapUtil/1",1260),nrr(757,1,{1942:1},nsO),nTm.rl=function(n){var t,e;return this.c==n||(null!=(t=So($a(this.a,n)))?t==(TX(),nTQ):(this.f==nJI?(e=$H(HC((neS(),nJk),n)),this.e?4==e&&n!=(niB(),nJ$)&&n!=(niB(),nJC)&&n!=(niB(),nJO)&&n!=(niB(),nJA):2==e):this.d&&(this.d.Hc(n)||this.d.Hc(xt(HC((neS(),nJk),n)))||this.d.Hc(noW((neS(),nJk),this.b,n)))||this.f&&ncu((neS(),this.f),Na(HC(nJk,n)))&&(e=$H(HC(nJk,n)),this.e?4==e:2==e))?(Fa(this.a,n,(TX(),nTQ)),!0):(Fa(this.a,n,(TX(),nTV)),!1))},nTm.e=!1,AY(nk5,"FeatureMapUtil/BasicValidator",757),nrr(758,43,nlE,E4),AY(nk5,"FeatureMapUtil/BasicValidator/Cache",758),nrr(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},jr),nTm.Vc=function(n,t){ncD(this.c,this.b,n,t)},nTm.Fc=function(n){return naZ(this.c,this.b,n)},nTm.Wc=function(n,t){return function(n,t,e,i){var r,c,a,u,o,s,h,f;if(0==i.gc())return!1;if(mp(),a=(o=Im(t,66).Oj())?i:new BO(i.gc()),ncx(n.e,t)){if(t.hi())for(h=i.Kc();h.Ob();)nuz(n,t,s=h.Pb(),Ti(t,99)&&(Im(t,18).Bb&nls)!=0)||(c=RU(t,s),a.Fc(c));else if(!o)for(h=i.Kc();h.Ob();)c=RU(t,s=h.Pb()),a.Fc(c)}else{for(u=0,f=ncT(n.e.Tg(),t),r=Im(n.g,119);u1)throw new gd(nj2).e;o||(c=RU(t,i.Kc().Pb()),a.Fc(c))}return UG(n,neE(n,t,e),a)}(this.c,this.b,n,t)},nTm.Gc=function(n){return E9(this,n)},nTm.Xh=function(n,t){var e,i;e=this.c,i=this.b,e.j=-1,ni1(e,neE(e,i,n),(mp(),Im(i,66).Mj().Ok(t)))},nTm.lk=function(n,t){return nak(this.c,this.b,n,t)},nTm.pi=function(n){return nof(this.c,this.b,n,!1)},nTm.Zh=function(){var n;return n=this.c,new zW(this.b,n)},nTm.$h=function(){var n;return n=this.c,new zW(this.b,n)},nTm._h=function(n){return function(n,t,e){var i,r;for(i=0,r=new zW(t,n);i>24,s=(3&t)<<24>>24,b=(-128&t)==0?t>>2<<24>>24:(t>>2^192)<<24>>24,w=(-128&e)==0?e>>4<<24>>24:(e>>4^240)<<24>>24,d=(-128&i)==0?i>>6<<24>>24:(i>>6^252)<<24>>24,c[a++]=nYt[b],c[a++]=nYt[w|s<<4],c[a++]=nYt[h<<2|d],c[a++]=nYt[63&i];return 8==u?(s=(3&(t=n[r]))<<24>>24,b=(-128&t)==0?t>>2<<24>>24:(t>>2^192)<<24>>24,c[a++]=nYt[b],c[a++]=nYt[s<<4],c[a++]=61,c[a++]=61):16==u&&(t=n[r],h=(15&(e=n[r+1]))<<24>>24,s=(3&t)<<24>>24,b=(-128&t)==0?t>>2<<24>>24:(t>>2^192)<<24>>24,w=(-128&e)==0?e>>4<<24>>24:(e>>4^240)<<24>>24,c[a++]=nYt[b],c[a++]=nYt[w|s<<4],c[a++]=nYt[h<<2],c[a++]=61),Je(c,0,c.length)}(e);case 12:case 47:case 49:case 11:return nso(this,n,t);case 13:return null==t?null:function(n){var t,e,i,r,c,a,u,o;if(i=ns9((n.c||(n.c=Wa(n.f)),n.c),0),0==n.e||0==n.a&&-1!=n.f&&n.e<0)return i;if(t=0>qx(n)?1:0,e=n.e,i.length,nTv.Math.abs(LU(n.e)),r=new gW,1==t&&(r.a+="-"),n.e>0){if((e-=i.length-t)>=0){for(r.a+="0.";e>nMt.length;e-=nMt.length)CO(r,nMt);c=nMt,a=LU(e),r.a+=Je(c,0,a),jP(r,i.substr(t))}else e=t-e,jP(r,MT(i,t,LU(e))),r.a+=".",jP(r,jm(i,LU(e)))}else{for(jP(r,i.substr(t));e<-nMt.length;e+=nMt.length)CO(r,nMt);u=nMt,o=LU(-e),r.a+=Je(u,0,o)}return r.a}(Im(t,240));case 15:case 14:return null==t?null:(i=gy(Ss(t)))==nlc?"INF":i==nla?"-INF":""+i;case 17:return nnG((noQ(),t));case 18:return nnG(t);case 21:case 20:return null==t?null:(r=Im(t,155).a)==nlc?"INF":r==nla?"-INF":""+r;case 27:return null==(c=Im(t,190))?null:function(n){var t,e,i,r;if(nc7(),null==n)return null;for(e=0,t=_f(nY$,nfS,25,2*(i=n.length),15,1);e>4],t[2*e+1]=nYi[15&r];return Je(t,0,t.length)}(c);case 30:return Ze((noQ(),Im(t,15)));case 31:return Ze(Im(t,15));case 40:case 59:case 48:return null==(noQ(),t)?null:V7(t);case 42:return nnz((noQ(),t));case 43:return nnz(t);default:throw new gd(nyf+n.ne()+nyl).e}},nTm.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=BU(n))?Yl(t.Mh(),n):-1),n.G){case 0:return new dA;case 1:return new oh;case 2:return new dN;case 3:return new d$;default:throw new gd(nyd+n.zb+nyl).e}},nTm.Kh=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;switch(n.yj()){case 5:case 52:case 4:return t;case 6:return function(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(nuD(),null==n||(w=function(n){var t,e,i;for(t=0,i=0,e=n.length;t>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24}return p3(a=c[h++])&&p3(u=c[h++])?(t=nYn[a],e=nYn[u],o=c[h++],s=c[h++],-1==nYn[o]||-1==nYn[s])?61==o&&61==s?(15&e)!=0?null:(now(f,0,g=_f(nYx,nyw,25,3*b+1,15,1),0,3*b),g[l]=(t<<2|e>>4)<<24>>24,g):61==o||61!=s?null:(3&(i=nYn[o]))!=0?null:(now(f,0,g=_f(nYx,nyw,25,3*b+2,15,1),0,3*b),g[l++]=(t<<2|e>>4)<<24>>24,g[l]=((15&e)<<4|i>>2&15)<<24>>24,g):(i=nYn[o],r=nYn[s],f[l++]=(t<<2|e>>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24,f):null}(noe(n,!0))))throw new gP("Invalid base64Binary value: '"+n+"'").e;return t}(t);case 8:case 7:return null==t?null:function(n){if(Pv(nml,n=noe(n,!0))||Pv("1",n))return TX(),nTQ;if(Pv(nmb,n)||Pv("0",n))return TX(),nTV;throw new gP("Invalid boolean value: '"+n+"'").e}(t);case 9:return null==t?null:H4(nue((i=noe(t,!0)).length>0&&(D5(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==t?null:H4(nue((r=noe(t,!0)).length>0&&(D5(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return Sh(ns4(this,(noQ(),nJ_),t));case 12:return Sh(ns4(this,(noQ(),nJH),t));case 13:return null==t?null:new pP(noe(t,!0));case 15:case 14:return function(n){var t,e,i;if(null==n)return null;if(Pv((i=noe(n,!0)).substr(i.length-3,3),"INF")){if(4==(e=i.length)){if(D5(0,i.length),43==(t=i.charCodeAt(0)))return nJ8;if(45==t)return nJ6}else if(3==e)return nJ8}return nt1(i)}(t);case 16:return Sh(ns4(this,(noQ(),nJB),t));case 17:return Ji((noQ(),t));case 18:return Ji(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return noe(t,!0);case 21:case 20:return function(n){var t,e,i;if(null==n)return null;if(Pv((i=noe(n,!0)).substr(i.length-3,3),"INF")){if(4==(e=i.length)){if(D5(0,i.length),43==(t=i.charCodeAt(0)))return nJ7;if(45==t)return nJ9}else if(3==e)return nJ7}return new wF(i)}(t);case 22:return Sh(ns4(this,(noQ(),nJq),t));case 23:return Sh(ns4(this,(noQ(),nJG),t));case 24:return Sh(ns4(this,(noQ(),nJz),t));case 25:return Sh(ns4(this,(noQ(),nJU),t));case 26:return Sh(ns4(this,(noQ(),nJX),t));case 27:return function(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u;if(nc7(),null==n||(r=n.length)%2!=0)return null;for(i=0,t=HR(n),e=_f(nYx,nyw,25,c=r/2|0,15,1);i>24}return e}(noe(n,!0))))throw new gP("Invalid hexBinary value: '"+n+"'").e;return t}(t);case 30:return Jr((noQ(),t));case 31:return Jr(t);case 32:return null==t?null:Va(nue((h=noe(t,!0)).length>0&&(D5(0,h.length),43==h.charCodeAt(0))?h.substr(1):h,nfp,nhM));case 33:return null==t?null:new Ep((f=noe(t,!0)).length>0&&(D5(0,f.length),43==f.charCodeAt(0))?f.substr(1):f);case 34:return null==t?null:Va(nue((l=noe(t,!0)).length>0&&(D5(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,nfp,nhM));case 36:return null==t?null:Jy(nsC((b=noe(t,!0)).length>0&&(D5(0,b.length),43==b.charCodeAt(0))?b.substr(1):b));case 37:return null==t?null:Jy(nsC((w=noe(t,!0)).length>0&&(D5(0,w.length),43==w.charCodeAt(0))?w.substr(1):w));case 40:return null==(noQ(),t)?null:new Ep((v=noe(t,!0)).length>0&&(D5(0,v.length),43==v.charCodeAt(0))?v.substr(1):v);case 42:return Jc((noQ(),t));case 43:return Jc(t);case 44:return null==t?null:new Ep((d=noe(t,!0)).length>0&&(D5(0,d.length),43==d.charCodeAt(0))?d.substr(1):d);case 45:return null==t?null:new Ep((g=noe(t,!0)).length>0&&(D5(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 46:return noe(t,!1);case 47:return Sh(ns4(this,(noQ(),nJW),t));case 59:case 48:return null==(noQ(),t)?null:new Ep((m=noe(t,!0)).length>0&&(D5(0,m.length),43==m.charCodeAt(0))?m.substr(1):m);case 49:return Sh(ns4(this,(noQ(),nJQ),t));case 50:return null==t?null:Vu(nue((p=noe(t,!0)).length>0&&(D5(0,p.length),43==p.charCodeAt(0))?p.substr(1):p,-32768,32767)<<16>>16);case 51:return null==t?null:Vu(nue((c=noe(t,!0)).length>0&&(D5(0,c.length),43==c.charCodeAt(0))?c.substr(1):c,-32768,32767)<<16>>16);case 53:return Sh(ns4(this,(noQ(),nJZ),t));case 55:return null==t?null:Vu(nue((a=noe(t,!0)).length>0&&(D5(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,-32768,32767)<<16>>16);case 56:return null==t?null:Vu(nue((u=noe(t,!0)).length>0&&(D5(0,u.length),43==u.charCodeAt(0))?u.substr(1):u,-32768,32767)<<16>>16);case 57:return null==t?null:Jy(nsC((o=noe(t,!0)).length>0&&(D5(0,o.length),43==o.charCodeAt(0))?o.substr(1):o));case 58:return null==t?null:Jy(nsC((s=noe(t,!0)).length>0&&(D5(0,s.length),43==s.charCodeAt(0))?s.substr(1):s));case 60:return null==t?null:Va(nue((e=noe(t,!0)).length>0&&(D5(0,e.length),43==e.charCodeAt(0))?e.substr(1):e,nfp,nhM));case 61:return null==t?null:Va(nue(noe(t,!0),nfp,nhM));default:throw new gd(nyf+n.ne()+nyl).e}},AY(nj8,"XMLTypeFactoryImpl",1919),nrr(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},$W),nTm.N=!1,nTm.O=!1;var nJg=!1;AY(nj8,"XMLTypePackageImpl",586),nrr(1852,1,{837:1},of),nTm._j=function(){return nuP(),nhv},AY(nj8,"XMLTypePackageImpl/1",1852),nrr(1861,1,njx,ol),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/10",1861),nrr(1862,1,njx,ob),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/11",1862),nrr(1863,1,njx,ow),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/12",1863),nrr(1864,1,njx,od),nTm.wj=function(n){return jb(n)},nTm.xj=function(n){return _f(nTr,nhJ,333,n,7,1)},AY(nj8,"XMLTypePackageImpl/13",1864),nrr(1865,1,njx,og),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/14",1865),nrr(1866,1,njx,op),nTm.wj=function(n){return Ti(n,15)},nTm.xj=function(n){return _f(nEZ,nwe,15,n,0,1)},AY(nj8,"XMLTypePackageImpl/15",1866),nrr(1867,1,njx,ov),nTm.wj=function(n){return Ti(n,15)},nTm.xj=function(n){return _f(nEZ,nwe,15,n,0,1)},AY(nj8,"XMLTypePackageImpl/16",1867),nrr(1868,1,njx,om),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/17",1868),nrr(1869,1,njx,oy),nTm.wj=function(n){return Ti(n,155)},nTm.xj=function(n){return _f(nTc,nhJ,155,n,0,1)},AY(nj8,"XMLTypePackageImpl/18",1869),nrr(1870,1,njx,ok),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/19",1870),nrr(1853,1,njx,oj),nTm.wj=function(n){return Ti(n,843)},nTm.xj=function(n){return _f(nJl,nhA,843,n,0,1)},AY(nj8,"XMLTypePackageImpl/2",1853),nrr(1871,1,njx,oE),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/20",1871),nrr(1872,1,njx,oT),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/21",1872),nrr(1873,1,njx,oM),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/22",1873),nrr(1874,1,njx,oS),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/23",1874),nrr(1875,1,njx,oP),nTm.wj=function(n){return Ti(n,190)},nTm.xj=function(n){return _f(nYx,nhJ,190,n,0,2)},AY(nj8,"XMLTypePackageImpl/24",1875),nrr(1876,1,njx,oI),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/25",1876),nrr(1877,1,njx,oC),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/26",1877),nrr(1878,1,njx,oO),nTm.wj=function(n){return Ti(n,15)},nTm.xj=function(n){return _f(nEZ,nwe,15,n,0,1)},AY(nj8,"XMLTypePackageImpl/27",1878),nrr(1879,1,njx,oA),nTm.wj=function(n){return Ti(n,15)},nTm.xj=function(n){return _f(nEZ,nwe,15,n,0,1)},AY(nj8,"XMLTypePackageImpl/28",1879),nrr(1880,1,njx,o$),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/29",1880),nrr(1854,1,njx,oN),nTm.wj=function(n){return Ti(n,667)},nTm.xj=function(n){return _f(nJb,nhA,2021,n,0,1)},AY(nj8,"XMLTypePackageImpl/3",1854),nrr(1881,1,njx,oL),nTm.wj=function(n){return Ti(n,19)},nTm.xj=function(n){return _f(nTa,nhJ,19,n,0,1)},AY(nj8,"XMLTypePackageImpl/30",1881),nrr(1882,1,njx,oD),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/31",1882),nrr(1883,1,njx,ox),nTm.wj=function(n){return Ti(n,162)},nTm.xj=function(n){return _f(nTu,nhJ,162,n,0,1)},AY(nj8,"XMLTypePackageImpl/32",1883),nrr(1884,1,njx,oR),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/33",1884),nrr(1885,1,njx,oK),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/34",1885),nrr(1886,1,njx,oF),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/35",1886),nrr(1887,1,njx,o_),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/36",1887),nrr(1888,1,njx,oH),nTm.wj=function(n){return Ti(n,15)},nTm.xj=function(n){return _f(nEZ,nwe,15,n,0,1)},AY(nj8,"XMLTypePackageImpl/37",1888),nrr(1889,1,njx,oB),nTm.wj=function(n){return Ti(n,15)},nTm.xj=function(n){return _f(nEZ,nwe,15,n,0,1)},AY(nj8,"XMLTypePackageImpl/38",1889),nrr(1890,1,njx,oq),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/39",1890),nrr(1855,1,njx,oG),nTm.wj=function(n){return Ti(n,668)},nTm.xj=function(n){return _f(nJw,nhA,2022,n,0,1)},AY(nj8,"XMLTypePackageImpl/4",1855),nrr(1891,1,njx,oz),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/40",1891),nrr(1892,1,njx,oU),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/41",1892),nrr(1893,1,njx,oX),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/42",1893),nrr(1894,1,njx,oW),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/43",1894),nrr(1895,1,njx,oV),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/44",1895),nrr(1896,1,njx,oQ),nTm.wj=function(n){return Ti(n,184)},nTm.xj=function(n){return _f(nTo,nhJ,184,n,0,1)},AY(nj8,"XMLTypePackageImpl/45",1896),nrr(1897,1,njx,oJ),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/46",1897),nrr(1898,1,njx,oY),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/47",1898),nrr(1899,1,njx,oZ),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/48",1899),nrr(nfH,1,njx,o1),nTm.wj=function(n){return Ti(n,184)},nTm.xj=function(n){return _f(nTo,nhJ,184,n,0,1)},AY(nj8,"XMLTypePackageImpl/49",nfH),nrr(1856,1,njx,o0),nTm.wj=function(n){return Ti(n,669)},nTm.xj=function(n){return _f(nJd,nhA,2023,n,0,1)},AY(nj8,"XMLTypePackageImpl/5",1856),nrr(1901,1,njx,o2),nTm.wj=function(n){return Ti(n,162)},nTm.xj=function(n){return _f(nTu,nhJ,162,n,0,1)},AY(nj8,"XMLTypePackageImpl/50",1901),nrr(1902,1,njx,o3),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/51",1902),nrr(1903,1,njx,o4),nTm.wj=function(n){return Ti(n,19)},nTm.xj=function(n){return _f(nTa,nhJ,19,n,0,1)},AY(nj8,"XMLTypePackageImpl/52",1903),nrr(1857,1,njx,o5),nTm.wj=function(n){return jw(n)},nTm.xj=function(n){return _f(nTh,nhJ,2,n,6,1)},AY(nj8,"XMLTypePackageImpl/6",1857),nrr(1858,1,njx,o6),nTm.wj=function(n){return Ti(n,190)},nTm.xj=function(n){return _f(nYx,nhJ,190,n,0,2)},AY(nj8,"XMLTypePackageImpl/7",1858),nrr(1859,1,njx,o8),nTm.wj=function(n){return jl(n)},nTm.xj=function(n){return _f(nTt,nhJ,476,n,8,1)},AY(nj8,"XMLTypePackageImpl/8",1859),nrr(1860,1,njx,o9),nTm.wj=function(n){return Ti(n,217)},nTm.xj=function(n){return _f(nTe,nhJ,217,n,0,1)},AY(nj8,"XMLTypePackageImpl/9",1860),nrr(50,60,nfm,gO),AY(nEj,"RegEx/ParseException",50),nrr(820,1,{},o7),nTm.sl=function(n){return n16*e)throw new gO(nhd((E$(),nkP))).e;e=16*e+r}if(125!=this.a)throw new gO(nhd((E$(),nkI))).e;if(e>nEE)throw new gO(nhd((E$(),nkC))).e;n=e}else{if(r=0,0!=this.c||(r=YB(this.a))<0||(e=r,nhe(this),0!=this.c||(r=YB(this.a))<0))throw new gO(nhd((E$(),nkS))).e;n=e=16*e+r}break;case 117:if(i=0,nhe(this),0!=this.c||(i=YB(this.a))<0||(t=i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0))throw new gO(nhd((E$(),nkS))).e;n=t=16*t+i;break;case 118:if(nhe(this),0!=this.c||(i=YB(this.a))<0||(t=i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0))throw new gO(nhd((E$(),nkS))).e;if((t=16*t+i)>nEE)throw new gO(nhd((E$(),"parser.descappe.4"))).e;n=t;break;case 65:case 90:case 122:throw new gO(nhd((E$(),nkO))).e}return n},nTm.ul=function(n){var t;switch(n){case 100:t=(32&this.e)==32?nsX("Nd",!0):(nhh(),nYh);break;case 68:t=(32&this.e)==32?nsX("Nd",!1):(nhh(),nYd);break;case 119:t=(32&this.e)==32?nsX("IsWord",!0):(nhh(),nYT);break;case 87:t=(32&this.e)==32?nsX("IsWord",!1):(nhh(),nYp);break;case 115:t=(32&this.e)==32?nsX("IsSpace",!0):(nhh(),nYm);break;case 83:t=(32&this.e)==32?nsX("IsSpace",!1):(nhh(),nYg);break;default:throw new d7(nET+n.toString(16)).e}return t},nTm.vl=function(n){var t,e,i,r,c,a,u,o,s,h,f;for(this.b=1,nhe(this),t=null,0==this.c&&94==this.a?(nhe(this),n?(nhh(),nhh(),++nYO,s=new xv(5)):(nhh(),nhh(),++nYO,ncz(t=new xv(4),0,nEE),++nYO,s=new xv(4))):(nhh(),nhh(),++nYO,s=new xv(4)),r=!0;1!=(f=this.c)&&(0!=f||93!=this.a||r);){if(r=!1,e=this.a,i=!1,10==f)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:nog(s,this.ul(e)),i=!0;break;case 105:case 73:case 99:case 67:(e=this.Ll(s,e))<0&&(i=!0);break;case 112:case 80:if(!(h=niy(this,e)))throw new gO(nhd((E$(),nkd))).e;nog(s,h),i=!0;break;default:e=this.tl()}else if(20==f){if((c=MM(this.i,58,this.d))<0)throw new gO(nhd((E$(),nkg))).e;if(a=!0,94==$9(this.i,this.d)&&(++this.d,a=!1),!(u=_C(MT(this.i,this.d,c),a,(512&this.e)==512)))throw new gO(nhd((E$(),nkv))).e;if(nog(s,u),i=!0,c+1>=this.j||93!=$9(this.i,c+1))throw new gO(nhd((E$(),nkg))).e;this.d=c+2}if(nhe(this),!i){if(0!=this.c||45!=this.a)ncz(s,e,e);else{if(nhe(this),1==(f=this.c))throw new gO(nhd((E$(),nkp))).e;0==f&&93==this.a?(ncz(s,e,e),ncz(s,45,45)):(o=this.a,10==f&&(o=this.tl()),nhe(this),ncz(s,e,o))}}(this.e&nyp)==nyp&&0==this.c&&44==this.a&&nhe(this)}if(1==this.c)throw new gO(nhd((E$(),nkp))).e;return t&&(nsf(t,s),s=t),nr$(s),noA(s),this.b=0,nhe(this),s},nTm.wl=function(){var n,t,e,i;for(e=this.vl(!1);7!=(i=this.c);)if(n=this.a,0==i&&(45==n||38==n)||4==i){if(nhe(this),9!=this.c)throw new gO(nhd((E$(),nkE))).e;if(t=this.vl(!1),4==i)nog(e,t);else if(45==n)nsf(e,t);else if(38==n)nst(e,t);else throw new d7("ASSERT").e}else throw new gO(nhd((E$(),nkT))).e;return nhe(this),e},nTm.xl=function(){var n,t,e,i;return n=this.a-48,nhh(),nhh(),++nYO,t=new LF(12,null,n),this.g||(this.g=new wB),e=this.g,i=new b6(n),IE(e.a,i),nhe(this),t},nTm.yl=function(){return nhe(this),nhh(),nYy},nTm.zl=function(){return nhe(this),nhh(),nYv},nTm.Al=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Bl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Cl=function(){var n,t;return nhe(this),(nhh(),nYI)?nYI:(t=nsX("M",!0),++nYO,n=new R0(3,t),nYI=n=C1(nsX("M",!1),n))},nTm.Dl=function(){return nhe(this),nhh(),nYj},nTm.El=function(){return nhe(this),nhh(),nYM},nTm.Fl=function(){var n;if(this.d>=this.j||(65504&(n=$9(this.i,this.d++)))!=64)throw new gO(nhd((E$(),nkf))).e;return nhe(this),nhh(),nhh(),++nYO,new CU(0,n-64)},nTm.Gl=function(){return nhe(this),function(){var n,t,e,i,r,c;if(nhh(),nYC)return nYC;for(++nYO,nog(n=new xv(4),nsX(nEN,!0)),nsf(n,nsX("M",!0)),nsf(n,nsX("C",!0)),++nYO,c=new xv(4),i=0;i<11;i++)ncz(c,i,i);return++nYO,nog(t=new xv(4),nsX("M",!0)),ncz(t,4448,4607),ncz(t,65438,65439),++nYO,noD(r=new EO(2),n),noD(r,nYl),++nYO,(e=new EO(2)).$l(C1(c,nsX("L",!0))),e.$l(t),++nYO,e=new R0(3,e),++nYO,nYC=e=new AN(r,e)}()},nTm.Hl=function(){return nhe(this),nhh(),nYS},nTm.Il=function(){var n;return nhh(),nhh(),++nYO,n=new CU(0,105),nhe(this),n},nTm.Jl=function(){return nhe(this),nhh(),nYE},nTm.Kl=function(){return nhe(this),nhh(),nYk},nTm.Ll=function(n,t){return this.tl()},nTm.Ml=function(){return nhe(this),nhh(),nYb},nTm.Nl=function(){var n,t,e,i,r,c,a;if(this.d+1>=this.j)throw new gO(nhd((E$(),nko))).e;if(i=-1,t=null,49<=(n=$9(this.i,this.d))&&n<=57){if(i=n-48,this.g||(this.g=new wB),c=this.g,a=new b6(i),IE(c.a,a),++this.d,41!=$9(this.i,this.d))throw new gO(nhd((E$(),nkc))).e;++this.d}else switch(63==n&&--this.d,nhe(this),(t=ns1(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw new gO(nhd((E$(),nkc))).e;break;default:throw new gO(nhd((E$(),nks))).e}if(nhe(this),r=Ju(this),e=null,2==r.e){if(2!=r.em())throw new gO(nhd((E$(),nkh))).e;e=r.am(1),r=r.am(0)}if(7!=this.c)throw new gO(nhd((E$(),nkc))).e;return nhe(this),nhh(),nhh(),++nYO,new H0(i,t,r,e)},nTm.Ol=function(){return nhe(this),nhh(),nYw},nTm.Pl=function(){var n;if(nhe(this),n=Ac(24,Ju(this)),7!=this.c)throw new gO(nhd((E$(),nkc))).e;return nhe(this),n},nTm.Ql=function(){var n;if(nhe(this),n=Ac(20,Ju(this)),7!=this.c)throw new gO(nhd((E$(),nkc))).e;return nhe(this),n},nTm.Rl=function(){var n;if(nhe(this),n=Ac(22,Ju(this)),7!=this.c)throw new gO(nhd((E$(),nkc))).e;return nhe(this),n},nTm.Sl=function(){var n,t,e,i,r;for(n=0,e=0,t=-1;this.d=this.j)throw new gO(nhd((E$(),nka))).e;if(45==t){for(++this.d;this.d=this.j)throw new gO(nhd((E$(),nka))).e}if(58==t){if(++this.d,nhe(this),i=$n(Ju(this),n,e),7!=this.c)throw new gO(nhd((E$(),nkc))).e;nhe(this)}else if(41==t)++this.d,nhe(this),i=$n(Ju(this),n,e);else throw new gO(nhd((E$(),nku))).e;return i},nTm.Tl=function(){var n;if(nhe(this),n=Ac(21,Ju(this)),7!=this.c)throw new gO(nhd((E$(),nkc))).e;return nhe(this),n},nTm.Ul=function(){var n;if(nhe(this),n=Ac(23,Ju(this)),7!=this.c)throw new gO(nhd((E$(),nkc))).e;return nhe(this),n},nTm.Vl=function(){var n,t;if(nhe(this),n=this.f++,t=Aa(Ju(this),n),7!=this.c)throw new gO(nhd((E$(),nkc))).e;return nhe(this),t},nTm.Wl=function(){var n;if(nhe(this),n=Aa(Ju(this),0),7!=this.c)throw new gO(nhd((E$(),nkc))).e;return nhe(this),n},nTm.Xl=function(n){return(nhe(this),5==this.c)?(nhe(this),C1(n,(nhh(),nhh(),++nYO,new R0(9,n)))):C1(n,(nhh(),nhh(),++nYO,new R0(3,n)))},nTm.Yl=function(n){var t;return nhe(this),nhh(),nhh(),++nYO,t=new EO(2),5==this.c?(nhe(this),noD(t,nYl),noD(t,n)):(noD(t,n),noD(t,nYl)),t},nTm.Zl=function(n){return(nhe(this),5==this.c)?(nhe(this),nhh(),nhh(),++nYO,new R0(9,n)):(nhh(),nhh(),++nYO,new R0(3,n))},nTm.a=0,nTm.b=0,nTm.c=0,nTm.d=0,nTm.e=0,nTm.f=1,nTm.g=null,nTm.j=0,AY(nEj,"RegEx/RegexParser",820),nrr(1824,820,{},dL),nTm.sl=function(n){return!1},nTm.tl=function(){return nae(this)},nTm.ul=function(n){return nui(n)},nTm.vl=function(n){return function n(t){var e,i,r,c,a,u,o,s;for(t.b=1,nhe(t),e=null,0==t.c&&94==t.a?(nhe(t),nhh(),nhh(),++nYO,ncz(e=new xv(4),0,nEE)):(nhh(),nhh()),++nYO,u=new xv(4),c=!0;1!=(s=t.c);){if(0==s&&93==t.a&&!c){e&&(nsf(e,u),u=e);break}if(i=t.a,r=!1,10==s)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:nog(u,nui(i)),r=!0;break;case 105:case 73:case 99:case 67:nog(u,nui(i)),(i=-1)<0&&(r=!0);break;case 112:case 80:if(!(o=niy(t,i)))throw new gO(nhd((E$(),nkd))).e;nog(u,o),r=!0;break;default:i=nae(t)}else if(24==s&&!c){if(e&&(nsf(e,u),u=e),nsf(u,n(t)),0!=t.c||93!=t.a)throw new gO(nhd((E$(),nkm))).e;break}if(nhe(t),!r){if(0==s){if(91==i)throw new gO(nhd((E$(),nky))).e;if(93==i)throw new gO(nhd((E$(),nkk))).e;if(45==i&&!c&&93!=t.a)throw new gO(nhd((E$(),nkj))).e}if(0!=t.c||45!=t.a||45==i&&c)ncz(u,i,i);else{if(nhe(t),1==(s=t.c))throw new gO(nhd((E$(),nkp))).e;if(0==s&&93==t.a)ncz(u,i,i),ncz(u,45,45);else if(0==s&&93==t.a||24==s)throw new gO(nhd((E$(),nkj))).e;else{if(a=t.a,0==s){if(91==a)throw new gO(nhd((E$(),nky))).e;if(93==a)throw new gO(nhd((E$(),nkk))).e;if(45==a)throw new gO(nhd((E$(),nkj))).e}else 10==s&&(a=nae(t));if(nhe(t),i>a)throw new gO(nhd((E$(),nkM))).e;ncz(u,i,a)}}}c=!1}if(1==t.c)throw new gO(nhd((E$(),nkp))).e;return nr$(u),noA(u),t.b=0,nhe(t),u}(this)},nTm.wl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.xl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.yl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.zl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Al=function(){return nhe(this),nui(67)},nTm.Bl=function(){return nhe(this),nui(73)},nTm.Cl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Dl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.El=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Fl=function(){return nhe(this),nui(99)},nTm.Gl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Hl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Il=function(){return nhe(this),nui(105)},nTm.Jl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Kl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Ll=function(n,t){return nog(n,nui(t)),-1},nTm.Ml=function(){return nhe(this),nhh(),nhh(),++nYO,new CU(0,94)},nTm.Nl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Ol=function(){return nhe(this),nhh(),nhh(),++nYO,new CU(0,36)},nTm.Pl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Ql=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Rl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Sl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Tl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Ul=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Vl=function(){var n;if(nhe(this),n=Aa(Ju(this),0),7!=this.c)throw new gO(nhd((E$(),nkc))).e;return nhe(this),n},nTm.Wl=function(){throw new gO(nhd((E$(),nkA))).e},nTm.Xl=function(n){return nhe(this),C1(n,(nhh(),nhh(),++nYO,new R0(3,n)))},nTm.Yl=function(n){var t;return nhe(this),nhh(),nhh(),++nYO,noD(t=new EO(2),n),noD(t,nYl),t},nTm.Zl=function(n){return nhe(this),nhh(),nhh(),++nYO,new R0(3,n)};var nJp=null,nJv=null;AY(nEj,"RegEx/ParserForXMLSchema",1824),nrr(117,1,nEx,b8),nTm.$l=function(n){throw new d7("Not supported.").e},nTm._l=function(){return -1},nTm.am=function(n){return null},nTm.bm=function(){return null},nTm.cm=function(n){},nTm.dm=function(n){},nTm.em=function(){return 0},nTm.Ib=function(){return this.fm(0)},nTm.fm=function(n){return 11==this.e?".":""},nTm.e=0;var nJm,nJy,nJk,nJj,nJE,nJT,nJM,nJS,nJP,nJI,nJC,nJO,nJA,nJ$,nJN,nJL,nJD,nJx,nJR,nJK,nJF,nJ_,nJH,nJB,nJq,nJG,nJz,nJU,nJX,nJW,nJV,nJQ,nJJ,nJY,nJZ,nJ1,nJ0,nJ2,nJ3,nJ4,nJ5,nJ6,nJ8,nJ9,nJ7,nYn,nYt,nYe,nYi,nYr,nYc,nYa,nYu,nYo,nYs,nYh,nYf,nYl,nYb,nYw,nYd,nYg,nYp,nYv,nYm,nYy,nYk,nYj,nYE,nYT,nYM,nYS,nYP=null,nYI=null,nYC=null,nYO=0,nYA=AY(nEj,"RegEx/Token",117);nrr(136,117,{3:1,136:1,117:1},xv),nTm.fm=function(n){var t,e,i;if(4==this.e){if(this==nYf)e=".";else if(this==nYh)e="\\d";else if(this==nYT)e="\\w";else if(this==nYm)e="\\s";else{for(i=new gz,i.a+="[",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?jT(i,nuY(this.b[t])):(jT(i,nuY(this.b[t])),i.a+="-",jT(i,nuY(this.b[t+1])));i.a+="]",e=i.a}}else if(this==nYd)e="\\D";else if(this==nYp)e="\\W";else if(this==nYg)e="\\S";else{for(i=new gz,i.a+="[^",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?jT(i,nuY(this.b[t])):(jT(i,nuY(this.b[t])),i.a+="-",jT(i,nuY(this.b[t+1])));i.a+="]",e=i.a}return e},nTm.a=!1,nTm.c=!1,AY(nEj,"RegEx/RangeToken",136),nrr(584,1,{584:1},b6),nTm.a=0,AY(nEj,"RegEx/RegexParser/ReferencePosition",584),nrr(583,1,{3:1,583:1},p0),nTm.Fb=function(n){var t;return!!(null!=n&&Ti(n,583))&&(t=Im(n,583),Pv(this.b,t.b)&&this.a==t.a)},nTm.Hb=function(){return Yj(this.b+"/"+ncE(this.a))},nTm.Ib=function(){return this.c.fm(this.a)},nTm.a=0,AY(nEj,"RegEx/RegularExpression",583),nrr(223,117,nEx,CU),nTm._l=function(){return this.a},nTm.fm=function(n){var t,e;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:e="\\"+SU(this.a&nfI);break;case 12:e="\\f";break;case 10:e="\\n";break;case 13:e="\\r";break;case 9:e="\\t";break;case 27:e="\\e";break;default:e=this.a>=nls?"\\v"+MT(t="0"+(this.a>>>0).toString(16),t.length-6,t.length):""+SU(this.a&nfI)}break;case 8:e=this==nYb||this==nYw?""+SU(this.a&nfI):"\\"+SU(this.a&nfI);break;default:e=null}return e},nTm.a=0,AY(nEj,"RegEx/Token/CharToken",223),nrr(309,117,nEx,R0),nTm.am=function(n){return this.a},nTm.cm=function(n){this.b=n},nTm.dm=function(n){this.c=n},nTm.em=function(){return 1},nTm.fm=function(n){var t;if(3==this.e){if(this.c<0&&this.b<0)t=this.a.fm(n)+"*";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.fm(n)+"{"+this.c+",}";else throw new d7("Token#toString(): CLOSURE "+this.c+nhC+this.b).e}else if(this.c<0&&this.b<0)t=this.a.fm(n)+"*?";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.fm(n)+"{"+this.c+",}?";else throw new d7("Token#toString(): NONGREEDYCLOSURE "+this.c+nhC+this.b).e;return t},nTm.b=0,nTm.c=0,AY(nEj,"RegEx/Token/ClosureToken",309),nrr(821,117,nEx,AN),nTm.am=function(n){return 0==n?this.a:this.b},nTm.em=function(){return 2},nTm.fm=function(n){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+?":this.a.fm(n)+""+this.b.fm(n)},AY(nEj,"RegEx/Token/ConcatToken",821),nrr(1822,117,nEx,H0),nTm.am=function(n){if(0==n)return this.d;if(1==n)return this.b;throw new d7("Internal Error: "+n).e},nTm.em=function(){return this.b?2:1},nTm.fm=function(n){var t;return t=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},nTm.c=0,AY(nEj,"RegEx/Token/ConditionToken",1822),nrr(1823,117,nEx,xp),nTm.am=function(n){return this.b},nTm.em=function(){return 1},nTm.fm=function(n){return"(?"+(0==this.a?"":ncE(this.a))+(0==this.c?"":ncE(this.c))+":"+this.b.fm(n)+")"},nTm.a=0,nTm.c=0,AY(nEj,"RegEx/Token/ModifierToken",1823),nrr(822,117,nEx,$j),nTm.am=function(n){return this.a},nTm.em=function(){return 1},nTm.fm=function(n){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.fm(n)+")":"("+this.a.fm(n)+")";break;case 20:t="(?="+this.a.fm(n)+")";break;case 21:t="(?!"+this.a.fm(n)+")";break;case 22:t="(?<="+this.a.fm(n)+")";break;case 23:t="(?"+this.a.fm(n)+")"}return t},nTm.b=0,AY(nEj,"RegEx/Token/ParenToken",822),nrr(521,117,{3:1,117:1,521:1},LF),nTm.bm=function(){return this.b},nTm.fm=function(n){return 12==this.e?"\\"+this.a:function(n){var t,e,i,r;for(i=0,r=n.length,t=null;i=0?(!t&&(t=new gU,i>0&&jT(t,n.substr(0,i))),t.a+="\\",$i(t,e&nfI)):t&&$i(t,e&nfI);return t?t.a:n}(this.b)},nTm.a=0,AY(nEj,"RegEx/Token/StringToken",521),nrr(465,117,nEx,EO),nTm.$l=function(n){noD(this,n)},nTm.am=function(n){return Im($O(this.a,n),117)},nTm.em=function(){return this.a?this.a.a.c.length:0},nTm.fm=function(n){var t,e,i,r,c;if(1==this.e){if(2==this.a.a.c.length)t=Im($O(this.a,0),117),r=3==(e=Im($O(this.a,1),117)).e&&e.am(0)==t?t.fm(n)+"+":9==e.e&&e.am(0)==t?t.fm(n)+"+?":t.fm(n)+""+e.fm(n);else{for(i=0,c=new gz;i=n.c.b:n.a<=n.c.b))throw(new wO).e;return t=n.a,n.a+=n.c.c,++n.b,Va(t)}(this)},nTm.Ub=function(){return function(n){if(n.b<=0)throw(new wO).e;return--n.b,n.a-=n.c.c,Va(n.a)}(this)},nTm.Wb=function(n){Im(n,19),function(){throw new gM(nEH).e}()},nTm.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},nTm.Sb=function(){return this.b>0},nTm.Tb=function(){return this.b},nTm.Vb=function(){return this.b-1},nTm.Qb=function(){throw new gM(nEB).e},nTm.a=0,nTm.b=0,AY(nEF,"ExclusiveRange/RangeIterator",254);var nY$=$B(nje,"C"),nYN=$B(njc,"I"),nYL=$B(nhk,"Z"),nYD=$B(nja,"J"),nYx=$B(njt,"B"),nYR=$B(nji,"D"),nYK=$B(njr,"F"),nYF=$B(nju,"S"),nY_=Cw("org.eclipse.elk.core.labels","ILabelManager"),nYH=Cw(nyR,"DiagnosticChain"),nYB=Cw(njK,"ResourceSet"),nYq=AY(nyR,"InvocationTargetException",null),nYG=(g0(),function(n){return g0(),function(){return function(n,t,e){var i,r;0!=nE8&&(r=Date.now?Date.now():(new Date).getTime())-nE9>2e3&&(nE9=r,nE7=nTv.setTimeout(p4,10)),i=0==nE8++&&(function(n){var t,e;if(n.a){e=null;do t=n.a,n.a=null,e=neb(t,e);while(n.a);n.a=e}}((gN(),nTx)),!0);try{return n.apply(t,e)}finally{(function(n){if(n&&function(n){var t,e;if(n.b){e=null;do t=n.b,n.b=null,e=neb(t,e);while(n.b);n.b=e}}((gN(),nTx)),--nE8,n&&-1!=nE7){var t;t=nE7,nTv.clearTimeout(t),nE7=-1}})(i)}}(n,this,arguments)}}),nYz=nYz=function(n,t,e,i){p5();var r=nTk;function c(){for(var n=0;n0&&u.b>0;)if(MK(a.b>0),e=Im(a.a.Xb(a.c=--a.b),33),MK(u.b>0),e==Im(u.a.Xb(u.c=--u.b),33))c=e;else break;return c}(t,e)))return null}return t}(a))}((i=new kq(t,a)).a,i.b,r),c=Ra(e,nyP),function(t,e){var i,r,c;if(e)for(c=((i=new OP(e.a.length)).b-i.a)*i.c<0?(my(),nhm):new TA(i);c.Ob();)(r=Ru(e,Im(c.Pb(),19).a))&&n(t,r)}(new bh(t).a,c)}(u,a),i&&(o=function(n){var t,e,i,r,c,a,u,o,s;for(o=c=new xO,UM(),s=nzg,IE(o.c,s),r=GI(n,_f(nTh,nhJ,2,0,6,1)),i=new h$(new gE(new vy(n,r).b));i.b0&&void 0!==arguments[0]?arguments[0]:{};!function(n,t){if(!(n instanceof t))throw TypeError("Cannot call a class as a function")}(this,e);var i=Object.assign({},t),r=!1;try{n.resolve("web-worker"),r=!0}catch(n){}if(t.workerUrl){if(r){var c=n("web-worker");i.workerFactory=function(n){return new c(n)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.")}if(!i.workerFactory){var a=n("./elk-worker.min.js").Worker;i.workerFactory=function(n){return new a(n)}}return function(n,t){if(!n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:n}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i))}return function(n,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(e,t),e}(n("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=i,i.default=i},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(n,t,e){t.exports=Worker},{}]},{},[3])(3)},n.exports=i()}}]); \ No newline at end of file diff --git a/_next/static/chunks/497088f4.604cd7657a6d5bf7.js b/_next/static/chunks/497088f4.604cd7657a6d5bf7.js deleted file mode 100644 index b3df109..0000000 --- a/_next/static/chunks/497088f4.604cd7657a6d5bf7.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[279],{7243:function(n,t,e){n.exports=(function n(t,e,i){function r(a,u){if(!e[a]){if(!t[a]){if(c)return c(a,!0);var o=Error("Cannot find module '"+a+"'");throw o.code="MODULE_NOT_FOUND",o}var s=e[a]={exports:{}};t[a][0].call(s.exports,function(n){return r(t[a][1][n]||n)},s,s.exports,n,t,e,i)}return e[a].exports}for(var c=void 0,a=0;a0&&void 0!==arguments[0]?arguments[0]:{},i=e.defaultLayoutOptions,c=e.algorithms,u=e.workerFactory,o=e.workerUrl;if(r(this,n),this.defaultLayoutOptions=void 0===i?{}:i,this.initialized=!1,void 0===o&&void 0===u)throw Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var s=u;void 0!==o&&void 0===u&&(s=function(n){return new Worker(n)});var h=s(o);if("function"!=typeof h.postMessage)throw TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new a(h),this.worker.postMessage({cmd:"register",algorithms:void 0===c?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:c}).then(function(n){return t.initialized=!0}).catch(console.err)}return i(n,[{key:"layout",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.layoutOptions,i=void 0===e?this.defaultLayoutOptions:e,r=t.logging,c=t.measureExecutionTime;return n?this.worker.postMessage({cmd:"layout",graph:n,layoutOptions:i,options:{logging:void 0!==r&&r,measureExecutionTime:void 0!==c&&c}}):Promise.reject(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()}}]),n}();e.default=c;var a=function(){function n(t){var e=this;if(r(this,n),void 0===t)throw Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=t,this.worker.onmessage=function(n){setTimeout(function(){e.receive(e,n)},0)}}return i(n,[{key:"postMessage",value:function(n){var t=this.id||0;this.id=t+1,n.id=t;var e=this;return new Promise(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){var e=t.data,i=n.resolvers[e.id];i&&(delete n.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){var t=n.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(n.cause=t.cause.backingJsObject,this.convertGwtStyleError(n.cause)),delete n.__java$exception)}}}]),n}()},{}],2:[function(n,t,i){(function(n){(function(){"use strict";function e(){}function r(){}function c(){}function a(){}function u(){}function o(){}function s(){}function h(){}function f(){}function l(){}function b(){}function w(){}function d(){}function g(){}function p(){}function v(){}function m(){}function y(){}function k(){}function j(){}function E(){}function T(){}function M(){}function S(){}function P(){}function I(){}function C(){}function O(){}function A(){}function $(){}function N(){}function L(){}function D(){}function x(){}function R(){}function K(){}function F(){}function _(){}function H(){}function B(){}function q(){}function G(){}function z(){}function U(){}function X(){}function W(){}function V(){}function Q(){}function J(){}function Y(){}function Z(){}function nn(){}function nt(){}function ne(){}function ni(){}function nr(){}function nc(){}function na(){}function nu(){}function no(){}function ns(){}function nh(){}function nf(){}function nl(){}function nb(){}function nw(){}function nd(){}function ng(){}function np(){}function nv(){}function nm(){}function ny(){}function nk(){}function nj(){}function nE(){}function nT(){}function nM(){}function nS(){}function nP(){}function nI(){}function nC(){}function nO(){}function nA(){}function n$(){}function nN(){}function nL(){}function nD(){}function nx(){}function nR(){}function nK(){}function nF(){}function n_(){}function nH(){}function nB(){}function nq(){}function nG(){}function nz(){}function nU(){}function nX(){}function nW(){}function nV(){}function nQ(){}function nJ(){}function nY(){}function nZ(){}function n1(){}function n0(){}function n2(){}function n3(){}function n4(){}function n5(){}function n6(){}function n8(){}function n9(){}function n7(){}function tn(){}function tt(){}function te(){}function ti(){}function tr(){}function tc(){}function ta(){}function tu(){}function to(){}function ts(){}function th(){}function tf(){}function tl(){}function tb(){}function tw(){}function td(){}function tg(){}function tp(){}function tv(){}function tm(){}function ty(){}function tk(){}function tj(){}function tE(){}function tT(){}function tM(){}function tS(){}function tP(){}function tI(){}function tC(){}function tO(){}function tA(){}function t$(){}function tN(){}function tL(){}function tD(){}function tx(){}function tR(){}function tK(){}function tF(){}function t_(){}function tH(){}function tB(){}function tq(){}function tG(){}function tz(){}function tU(){}function tX(){}function tW(){}function tV(){}function tQ(){}function tJ(){}function tY(){}function tZ(){}function t1(){}function t0(){}function t2(){}function t3(){}function t4(){}function t5(){}function t6(){}function t8(){}function t9(){}function t7(){}function en(){}function et(){}function ee(){}function ei(){}function er(){}function ec(){}function ea(){}function eu(){}function eo(){}function es(){}function eh(){}function ef(){}function el(){}function eb(){}function ew(){}function ed(){}function eg(){}function ep(){}function ev(){}function em(){}function ey(){}function ek(){}function ej(){}function eE(){}function eT(){}function eM(){}function eS(){}function eP(){}function eI(){}function eC(){}function eO(){}function eA(){}function e$(){}function eN(){}function eL(){}function eD(){}function ex(){}function eR(){}function eK(){}function eF(){}function e_(){}function eH(){}function eB(){}function eq(){}function eG(){}function ez(){}function eU(){}function eX(){}function eW(){}function eV(){}function eQ(){}function eJ(){}function eY(){}function eZ(){}function e1(){}function e0(){}function e2(){}function e3(){}function e4(){}function e5(){}function e6(){}function e8(){}function e9(){}function e7(){}function it(){}function ie(){}function ii(){}function ir(){}function ic(){}function ia(){}function iu(){}function io(){}function is(){}function ih(){}function il(){}function ib(){}function iw(){}function id(){}function ig(){}function ip(){}function iv(){}function im(){}function iy(){}function ik(){}function ij(){}function iE(){}function iT(){}function iM(){}function iS(){}function iP(){}function iI(){}function iC(){}function iO(){}function iA(){}function i$(){}function iN(){}function iL(){}function iD(){}function ix(){}function iR(){}function iK(){}function iF(){}function i_(){}function iH(){}function iB(){}function iq(){}function iG(){}function iz(){}function iU(){}function iX(){}function iW(){}function iV(){}function iQ(){}function iJ(){}function iY(){}function iZ(){}function i1(){}function i0(){}function i2(){}function i3(){}function i4(){}function i5(){}function i6(){}function i8(){}function i9(){}function i7(){}function rn(){}function rt(){}function re(){}function ri(){}function rr(){}function rc(){}function ra(){}function ru(){}function ro(){}function rs(){}function rh(){}function rf(){}function rl(){}function rb(){}function rw(){}function rd(){}function rg(){}function rp(){}function rv(){}function rm(){}function ry(){}function rk(){}function rj(){}function rE(){}function rT(){}function rM(){}function rS(){}function rP(){}function rI(){}function rC(){}function rO(){}function rA(){}function r$(){}function rN(){}function rL(){}function rD(){}function rx(){}function rR(){}function rK(){}function rF(){}function r_(){}function rH(){}function rB(){}function rq(){}function rG(){}function rz(){}function rU(){}function rX(){}function rW(){}function rV(){}function rQ(){}function rJ(){}function rY(){}function rZ(){}function r1(){}function r0(){}function r2(){}function r3(){}function r4(){}function r5(){}function r6(){}function r8(){}function r9(){}function r7(){}function cn(){}function ct(){}function ce(){}function ci(){}function cr(){}function cc(){}function ca(){}function cu(){}function co(){}function cs(){}function ch(){}function cf(){}function cl(){}function cb(){}function cw(){}function cd(){}function cg(){}function cp(){}function cv(){}function cm(){}function cy(){}function ck(){}function cj(){}function cE(){}function cT(){}function cM(){}function cS(){}function cP(){}function cI(){}function cC(){}function cO(){}function cA(){}function c$(){}function cN(){}function cL(){}function cD(){}function cx(){}function cR(){}function cK(){}function cF(){}function c_(){}function cH(){}function cB(){}function cq(){}function cG(){}function cz(){}function cU(){}function cX(){}function cW(){}function cV(){}function cQ(){}function cJ(){}function cY(){}function cZ(){}function c1(){}function c0(){}function c2(){}function c3(){}function c4(){}function c5(){}function c6(){}function c8(){}function c9(){}function c7(){}function an(){}function at(){}function ae(){}function ai(){}function ar(){}function ac(){}function aa(){}function au(){}function ao(){}function as(){}function ah(){}function af(){}function al(){}function ab(){}function aw(){}function ad(){}function ag(){}function ap(){}function av(){}function am(){}function ay(){}function ak(){}function aj(){}function aE(){}function aT(){}function aM(){}function aS(){}function aP(){}function aI(){}function aC(){}function aO(){}function aA(){}function a$(){}function aN(){}function aL(){}function aD(){}function ax(){}function aR(){}function aK(){}function aF(){}function a_(){}function aH(){}function aB(){}function aq(){}function aG(){}function az(){}function aU(){}function aX(){}function aW(){}function aV(){}function aQ(){}function aJ(){}function aY(){}function aZ(){}function a1(){}function a0(){}function a2(){}function a3(){}function a4(){}function a5(){}function a6(){}function a8(){}function a9(){}function a7(){}function un(){}function ut(){}function ue(){}function ui(){}function ur(){}function uc(){}function ua(){}function uu(){}function uo(){}function us(){}function uh(){}function uf(){}function ul(){}function ub(){}function uw(){}function ud(){}function ug(){}function up(){}function uv(){}function um(){}function uy(){}function uk(){}function uj(){}function uE(){}function uT(){}function uM(){}function uS(){}function uP(){}function uI(){}function uC(){}function uO(){}function uA(){}function u$(){}function uN(){}function uL(){}function uD(){}function ux(){}function uR(){}function uK(){}function uF(){}function u_(){}function uH(){}function uB(){}function uq(){}function uG(){}function uz(){}function uU(){}function uX(){}function uW(){}function uV(){}function uQ(){}function uJ(){}function uY(){}function uZ(){}function u1(){}function u0(){}function u2(){}function u3(){}function u4(){}function u5(){}function u6(){}function u8(){}function u9(){}function u7(){}function on(){}function ot(){}function oe(){}function oi(){}function or(){}function oc(){}function oa(){}function ou(){}function oo(){}function os(){}function oh(){}function of(){}function ol(){}function ob(){}function ow(){}function od(){}function og(){}function op(){}function ov(){}function om(){}function oy(){}function ok(){}function oj(){}function oE(){}function oT(){}function oM(){}function oS(){}function oP(){}function oI(){}function oC(){}function oO(){}function oA(){}function o$(){}function oN(){}function oL(){}function oD(){}function ox(){}function oR(){}function oK(){}function oF(){}function o_(){}function oH(){}function oB(){}function oq(){}function oG(){}function oz(){}function oU(){}function oX(){}function oW(){}function oV(){}function oQ(){}function oJ(){}function oY(){}function oZ(){}function o1(){}function o0(){}function o2(){}function o3(){}function o4(){}function o5(){}function o6(){}function o8(){}function o9(){}function o7(){}function sn(){}function st(){}function se(){dJ()}function si(){XV()}function sr(){J2()}function sc(){nnt()}function sa(){nt5()}function su(){nab()}function so(){ZO()}function ss(){ZU()}function sh(){v4()}function sf(){v1()}function sl(){P7()}function sb(){v5()}function sw(){GD()}function sd(){v8()}function sg(){FC()}function sp(){q2()}function sv(){_E()}function sm(){DL()}function sy(){XQ()}function sk(){ntq()}function sj(){q3()}function sE(){Rg()}function sT(){nho()}function sM(){ZL()}function sS(){DD()}function sP(){ns8()}function sI(){D$()}function sC(){q4()}function sO(){UR()}function sA(){DF()}function s$(){_H()}function sN(){v9()}function sL(){nry()}function sD(){Zx()}function sx(){zd()}function sR(){ntA()}function sK(){naw()}function sF(){YF()}function s_(){nrw()}function sH(){z1()}function sB(){DR()}function sq(){nut()}function sG(){nrd()}function sz(){nrG()}function sU(){_q()}function sX(){nt$()}function sW(){nha()}function sV(){XY()}function sQ(){QQ()}function sJ(){noc()}function sY(){PX()}function sZ(){G9()}function s1(){nuP()}function s0(n){this.a=n}function s2(n){this.a=n}function s3(n){this.a=n}function s4(n){this.a=n}function s5(n){this.a=n}function s6(n){this.a=n}function s8(n){this.a=n}function s9(n){this.a=n}function s7(n){this.a=n}function hn(n){this.a=n}function ht(n){this.a=n}function he(n){this.a=n}function hi(n){this.a=n}function hr(n){this.a=n}function hc(n){this.a=n}function ha(n){this.a=n}function hu(n){this.a=n}function ho(n){this.a=n}function hs(n){this.a=n}function hh(n){this.a=n}function hf(n){this.a=n}function hl(n){this.b=n}function hb(n){this.c=n}function hw(n){this.a=n}function hd(n){this.a=n}function hg(n){this.a=n}function hp(n){this.a=n}function hv(n){this.a=n}function hm(n){this.a=n}function hy(n){this.a=n}function hk(n){this.a=n}function hj(n){this.a=n}function hE(n){this.a=n}function hT(n){this.a=n}function hM(n){this.a=n}function hS(n){this.a=n}function hP(n){this.a=n}function hI(n){this.a=n}function hC(n){this.a=n}function hO(n){this.a=n}function hA(){this.a=[]}function h$(n){this.d=n}function hN(n){this.a=n}function hL(n){this.a=n}function hD(n){this.a=n}function hx(n){this.a=n}function hR(n){this.a=n}function hK(n){this.a=n}function hF(n){this.a=n}function h_(n){this.a=n}function hH(n){this.a=n}function hB(n){this.a=n}function hq(n){this.a=n}function hG(n){this.a=n}function hz(n){this.a=n}function hU(n){this.a=n}function hX(n){this.b=n}function hW(n){this.b=n}function hV(n){this.b=n}function hQ(n){this.a=n}function hJ(n){this.a=n}function hY(n){this.a=n}function hZ(n){this.c=n}function h1(n){this.c=n}function h0(n){this.c=n}function h2(n){this.a=n}function h3(n){this.a=n}function h4(n){this.a=n}function h5(n){this.a=n}function h6(n){this.a=n}function h8(n){this.a=n}function h9(n){this.a=n}function h7(n){this.a=n}function fn(n){this.a=n}function ft(n){this.a=n}function fe(n){this.a=n}function fi(n){this.a=n}function fr(n){this.a=n}function fc(n){this.a=n}function fa(n){this.a=n}function fu(n){this.a=n}function fo(n){this.a=n}function fs(n){this.a=n}function fh(n){this.a=n}function ff(n){this.a=n}function fl(n){this.a=n}function fb(n){this.a=n}function fw(n){this.a=n}function fd(n){this.a=n}function fg(n){this.a=n}function fp(n){this.a=n}function fv(n){this.a=n}function fm(n){this.a=n}function fy(n){this.a=n}function fk(n){this.a=n}function fj(n){this.a=n}function fE(n){this.a=n}function fT(n){this.a=n}function fM(n){this.a=n}function fS(n){this.a=n}function fP(n){this.a=n}function fI(n){this.a=n}function fC(n){this.a=n}function fO(n){this.a=n}function fA(n){this.a=n}function f$(n){this.a=n}function fN(n){this.a=n}function fL(n){this.a=n}function fD(n){this.a=n}function fx(n){this.a=n}function fR(n){this.e=n}function fK(n){this.a=n}function fF(n){this.a=n}function f_(n){this.a=n}function fH(n){this.a=n}function fB(n){this.a=n}function fq(n){this.a=n}function fG(n){this.a=n}function fz(n){this.a=n}function fU(n){this.a=n}function fX(n){this.a=n}function fW(n){this.a=n}function fV(n){this.a=n}function fQ(n){this.a=n}function fJ(n){this.a=n}function fY(n){this.a=n}function fZ(n){this.a=n}function f1(n){this.a=n}function f0(n){this.a=n}function f2(n){this.a=n}function f3(n){this.a=n}function f4(n){this.a=n}function f5(n){this.a=n}function f6(n){this.a=n}function f8(n){this.a=n}function f9(n){this.a=n}function f7(n){this.a=n}function ln(n){this.a=n}function lt(n){this.a=n}function le(n){this.a=n}function li(n){this.a=n}function lr(n){this.a=n}function lc(n){this.a=n}function la(n){this.a=n}function lu(n){this.a=n}function lo(n){this.a=n}function ls(n){this.a=n}function lh(n){this.a=n}function lf(n){this.a=n}function ll(n){this.a=n}function lb(n){this.a=n}function lw(n){this.a=n}function ld(n){this.a=n}function lg(n){this.a=n}function lp(n){this.a=n}function lv(n){this.a=n}function lm(n){this.a=n}function ly(n){this.a=n}function lk(n){this.a=n}function lj(n){this.a=n}function lE(n){this.a=n}function lT(n){this.a=n}function lM(n){this.a=n}function lS(n){this.a=n}function lP(n){this.c=n}function lI(n){this.b=n}function lC(n){this.a=n}function lO(n){this.a=n}function lA(n){this.a=n}function l$(n){this.a=n}function lN(n){this.a=n}function lL(n){this.a=n}function lD(n){this.a=n}function lx(n){this.a=n}function lR(n){this.a=n}function lK(n){this.a=n}function lF(n){this.a=n}function l_(n){this.a=n}function lH(n){this.a=n}function lB(n){this.a=n}function lq(n){this.a=n}function lG(n){this.a=n}function lz(n){this.a=n}function lU(n){this.a=n}function lX(n){this.a=n}function lW(n){this.a=n}function lV(n){this.a=n}function lQ(n){this.a=n}function lJ(n){this.a=n}function lY(n){this.a=n}function lZ(n){this.a=n}function l1(n){this.a=n}function l0(n){this.a=n}function l2(n){this.a=n}function l3(n){this.a=n}function l4(n){this.a=n}function l5(n){this.a=n}function l6(n){this.a=n}function l8(n){this.a=n}function l9(n){this.a=n}function l7(n){this.a=n}function bn(n){this.a=n}function bt(n){this.a=n}function be(n){this.a=n}function bi(n){this.a=n}function br(n){this.a=n}function bc(n){this.a=n}function ba(n){this.a=n}function bu(n){this.a=n}function bo(n){this.a=n}function bs(n){this.a=n}function bh(n){this.a=n}function bf(n){this.a=n}function bl(n){this.a=n}function bb(n){this.a=n}function bw(n){this.a=n}function bd(n){this.a=n}function bg(n){this.a=n}function bp(n){this.a=n}function bv(n){this.a=n}function bm(n){this.a=n}function by(n){this.a=n}function bk(n){this.a=n}function bj(n){this.a=n}function bE(n){this.a=n}function bT(n){this.a=n}function bM(n){this.a=n}function bS(n){this.a=n}function bP(n){this.a=n}function bI(n){this.a=n}function bC(n){this.a=n}function bO(n){this.a=n}function bA(n){this.a=n}function b$(n){this.a=n}function bN(n){this.a=n}function bL(n){this.a=n}function bD(n){this.a=n}function bx(n){this.a=n}function bR(n){this.b=n}function bK(n){this.f=n}function bF(n){this.a=n}function b_(n){this.a=n}function bH(n){this.a=n}function bB(n){this.a=n}function bq(n){this.a=n}function bG(n){this.a=n}function bz(n){this.a=n}function bU(n){this.a=n}function bX(n){this.a=n}function bW(n){this.a=n}function bV(n){this.a=n}function bQ(n){this.b=n}function bJ(n){this.c=n}function bY(n){this.e=n}function bZ(n){this.a=n}function b1(n){this.a=n}function b0(n){this.a=n}function b2(n){this.a=n}function b3(n){this.a=n}function b4(n){this.d=n}function b5(n){this.a=n}function b6(n){this.a=n}function b8(n){this.e=n}function b9(){this.a=0}function b7(){Ek(this)}function wn(){Ey(this)}function wt(){AT(this)}function we(){Nt(this)}function wi(){}function wr(){this.c=nQ4}function wc(n){return n.a}function wa(n){return n.a}function wu(n){return n.a}function wo(n){return n.a}function ws(n){return n.a}function wh(){return null}function wf(){return null}function wl(n,t){n.b=t-n.b}function wb(n,t){n.a=t-n.a}function ww(n,t){n.e=t,t.b=n}function wd(n){PV(),this.a=n}function wg(n){PV(),this.a=n}function wp(n){PV(),this.a=n}function wv(n){$w(),this.a=n}function wm(){TZ.call(this)}function wy(){TZ.call(this)}function wk(){wm.call(this)}function wj(){wm.call(this)}function wE(){wm.call(this)}function wT(){wm.call(this)}function wM(){wm.call(this)}function wS(){wm.call(this)}function wP(){wm.call(this)}function wI(){wm.call(this)}function wC(){wm.call(this)}function wO(){wm.call(this)}function wA(){wm.call(this)}function w$(){this.a=this}function wN(){this.Bb|=256}function wL(){this.b=new jH}function wD(){wD=C,new wt}function wx(){wk.call(this)}function wR(n,t){zx(n.e,t)}function wK(n){niX(n.c,n.b)}function wF(n){var t;this.a=(t=nt1(n))>34028234663852886e22?nlr:t<-34028234663852886e22?nlc:t}function w_(){this.a=new wt}function wH(){this.a=new wt}function wB(){this.a=new wn}function wq(){this.a=new wn}function wG(){this.a=new wn}function wz(){this.a=new nm}function wU(){this.a=new Fk}function wX(){this.a=new tt}function wW(){this.a=new vD}function wV(){this.a=new xC}function wQ(){this.a=new Du}function wJ(){this.a=new SV}function wY(){this.a=new wn}function wZ(){this.a=new wn}function w1(){this.a=new wn}function w0(){this.a=new wn}function w2(){this.d=new wn}function w3(){this.a=new w_}function w4(){this.a=new wt}function w5(){this.b=new wt}function w6(){this.b=new wn}function w8(){this.e=new wn}function w9(){this.d=new wn}function w7(){this.a=new sk}function dn(){wn.call(this)}function dt(){wB.call(this)}function de(){SY.call(this)}function di(){wZ.call(this)}function dr(){dc.call(this)}function dc(){wi.call(this)}function da(){wi.call(this)}function du(){da.call(this)}function ds(){Lh.call(this)}function dh(){Lh.call(this)}function df(){dB.call(this)}function dl(){dB.call(this)}function db(){dB.call(this)}function dw(){dq.call(this)}function dd(){vK.call(this)}function dg(){aQ.call(this)}function dp(){aQ.call(this)}function dv(){dW.call(this)}function dm(){dW.call(this)}function dy(){wt.call(this)}function dk(){wt.call(this)}function dj(){wt.call(this)}function dE(){w_.call(this)}function dT(){qZ.call(this)}function dM(){wN.call(this)}function dS(){Tw.call(this)}function dP(){Tw.call(this)}function dI(){wt.call(this)}function dC(){wt.call(this)}function dO(){wt.call(this)}function dA(){ui.call(this)}function d$(){ui.call(this)}function dN(){dA.call(this)}function dL(){o7.call(this)}function dD(n){BC.call(this,n)}function dx(n){BC.call(this,n)}function dR(n){s7.call(this,n)}function dK(n){vk.call(this,n)}function dF(n){dK.call(this,n)}function d_(n){vk.call(this,n)}function dH(){this.a=new vK}function dB(){this.a=new w_}function dq(){this.a=new wt}function dG(){this.a=new wn}function dz(){this.j=new wn}function dU(){this.a=new cJ}function dX(){this.a=new pq}function dW(){this.a=new ue}function dV(){dV=C,nTS=new g1}function dQ(){dQ=C,nTM=new gZ}function dJ(){dJ=C,nTT=new r}function dY(){dY=C,nTO=new TB}function dZ(n){dK.call(this,n)}function d1(n){dK.call(this,n)}function d0(n){R6.call(this,n)}function d2(n){R6.call(this,n)}function d3(n){PD.call(this,n)}function d4(n){nt4.call(this,n)}function d5(n){vT.call(this,n)}function d6(n){vS.call(this,n)}function d8(n){vS.call(this,n)}function d9(n){vS.call(this,n)}function d7(n){OI.call(this,n)}function gn(n){d7.call(this,n)}function gt(){hO.call(this,{})}function ge(n){Tl(),this.a=n}function gi(n){n.b=null,n.c=0}function gr(n){return new hC(n)}function gc(n){return new $h(n)}function ga(n){d7.call(this,n)}function gu(n){d7.call(this,n)}function go(n){d7.call(this,n)}function gs(n){OI.call(this,n)}function gh(n){zw(),this.a=n}function gf(n){PU(),this.a=n}function gl(n){Os(),this.f=n}function gb(n){Os(),this.f=n}function gw(n){d7.call(this,n)}function gd(n){d7.call(this,n)}function gg(n){d7.call(this,n)}function gp(n){d7.call(this,n)}function gv(n){d7.call(this,n)}function gm(n){return $D(n),n}function gy(n){return $D(n),n}function gk(n){return n.b==n.c}function gj(n){return!!n&&n.b}function gE(n){$D(n),this.a=n}function gT(n){Aw(n,n.length)}function gM(n){d7.call(this,n)}function gS(n){d7.call(this,n)}function gP(n){d7.call(this,n)}function gI(n){d7.call(this,n)}function gC(n){d7.call(this,n)}function gO(n){d7.call(this,n)}function gA(n){Md.call(this,n,0)}function g$(){D0.call(this,12,3)}function gN(){gN=C,nTD=new k}function gL(){gL=C,nTN=new e}function gD(){gD=C,nTK=new d}function gx(){gx=C,nTH=new p}function gR(){throw(new wP).e}function gK(){throw(new wP).e}function gF(){throw(new wP).e}function g_(){this.a=Sh(A1(nhI))}function gH(n){PV(),this.a=A1(n)}function gB(n,t){n.Td(t),t.Sd(n)}function gq(n){gu.call(this,n)}function gG(n){gd.call(this,n)}function gz(){hR.call(this,"")}function gU(){hR.call(this,"")}function gX(){hR.call(this,"")}function gW(){hR.call(this,"")}function gV(n){gu.call(this,n)}function gQ(n){hW.call(this,n)}function gJ(n){TQ.call(this,n)}function gY(n){gQ.call(this,n)}function gZ(){hr.call(this,null)}function g1(){hr.call(this,null)}function g0(){g0=C,Lv()}function g2(){g2=C,nMS=typeof Map===nhE&&Map.prototype.entries&&function(){try{return(new Map).entries().next().done}catch(n){return!1}}()?Map:function(){function n(){this.obj=this.createObject()}return n.prototype.createObject=function(n){return Object.create(null)},n.prototype.get=function(n){return this.obj[n]},n.prototype.set=function(n,t){this.obj[n]=t},n.prototype[nlT]=function(n){delete this.obj[n]},n.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},n.prototype.entries=function(){var n=this.keys(),t=this,e=0;return{next:function(){if(e>=n.length)return{done:!0};var i=n[e++];return{value:[i,t.get(i)],done:!1}}}},!function(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",t=Object.create(null);return void 0===t[n]&&0==Object.getOwnPropertyNames(t).length&&(t[n]=42,42===t[n]&&0!=Object.getOwnPropertyNames(t).length)}()&&(n.prototype.createObject=function(){return{}},n.prototype.get=function(n){return this.obj[":"+n]},n.prototype.set=function(n,t){this.obj[":"+n]=t},n.prototype[nlT]=function(n){delete this.obj[":"+n]},n.prototype.keys=function(){var n=[];for(var t in this.obj)58==t.charCodeAt(0)&&n.push(t.substring(1));return n}),n}()}function g3(n,t){return n.c=t,n}function g4(n,t){return n.b=t,n}function g5(n,t){return n.d=t,n}function g6(n,t){return n.e=t,n}function g8(n,t){return n.g=t,n}function g9(n,t){return n.a=t,n}function g7(n,t){return n.i=t,n}function pn(n,t){return n.j=t,n}function pt(n){Np.call(this,n)}function pe(n){Np.call(this,n)}function pi(n){P_.call(this,n)}function pr(n){Qt.call(this,n)}function pc(n){BO.call(this,n)}function pa(n){N_.call(this,n)}function pu(n){N_.call(this,n)}function po(){EV.call(this,"")}function ps(){this.a=0,this.b=0}function ph(){this.b=0,this.a=0}function pf(n){return n.e&&n.e()}function pl(n){return n?n.d:null}function pb(n){return Su(n),n.o}function pw(){pw=C,nVy=function(){var n,t;noc();try{if(t=Im(nnO((ml(),nQM),nyd),2014))return t}catch(t){if(Ti(t=Uu(t),102))n=t,OT((E$(),n));else throw t.e}return new a1}()}function pd(){var n,t,e,i,r,c,a,u,o,s,h,f;pd=C,nVk=nC_?Im(nrR((ml(),nQM),nyd),2016):(n=Im(Ti(Lz((ml(),nQM),nyd),555)?Lz(nQM,nyd):new nrn,555),nC_=!0,n.q||(n.q=!0,n.p=z_(n,0),n.a=z_(n,1),Gq(n.a,0),n.f=z_(n,2),Gq(n.f,1),GB(n.f,2),n.n=z_(n,3),GB(n.n,3),GB(n.n,4),GB(n.n,5),GB(n.n,6),n.g=z_(n,4),Gq(n.g,7),GB(n.g,8),n.c=z_(n,5),Gq(n.c,7),Gq(n.c,8),n.i=z_(n,6),Gq(n.i,9),Gq(n.i,10),Gq(n.i,11),Gq(n.i,12),GB(n.i,13),n.j=z_(n,7),Gq(n.j,9),n.d=z_(n,8),Gq(n.d,3),Gq(n.d,4),Gq(n.d,5),Gq(n.d,6),GB(n.d,7),GB(n.d,8),GB(n.d,9),GB(n.d,10),n.b=z_(n,9),GB(n.b,0),GB(n.b,1),n.e=z_(n,10),GB(n.e,1),GB(n.e,2),GB(n.e,3),GB(n.e,4),Gq(n.e,5),Gq(n.e,6),Gq(n.e,7),Gq(n.e,8),Gq(n.e,9),Gq(n.e,10),GB(n.e,11),n.k=z_(n,11),GB(n.k,0),GB(n.k,1),n.o=zH(n,12),n.s=zH(n,13)),n.r||(n.r=!0,GF(n,"graph"),G_(n,"graph"),GH(n,nyd),Ue(n.o,"T"),_P(Lw(n.a),n.p),_P(Lw(n.f),n.a),_P(Lw(n.n),n.f),_P(Lw(n.g),n.n),_P(Lw(n.c),n.n),_P(Lw(n.i),n.c),_P(Lw(n.j),n.c),_P(Lw(n.d),n.f),_P(Lw(n.e),n.a),xR(n.p,nSm,nbH,!0,!0,!1),f=Ug(h=XC(n.p,n.p,"setProperty")),c=NI(n.o),a=new wr,_P((c.d||(c.d=new Tg(nQw,c,1)),c.d),a),nnB(a,u=NC(f)),nnC(h,c,nyp),nnC(h,c=NC(f),nyv),f=Ug(h=XC(n.p,null,"getProperty")),c=NI(n.o),a=NC(f),_P((c.d||(c.d=new Tg(nQw,c,1)),c.d),a),nnC(h,c,nyp),(s=ntl(h,c=NC(f),null))&&s.Fi(),h=XC(n.p,n.wb.e,"hasProperty"),c=NI(n.o),a=new wr,_P((c.d||(c.d=new Tg(nQw,c,1)),c.d),a),nnC(h,c,nyp),ZP(h=XC(n.p,n.p,"copyProperties"),n.p,nym),h=XC(n.p,null,"getAllProperties"),c=NI(n.wb.P),a=NI(n.o),_P((c.d||(c.d=new Tg(nQw,c,1)),c.d),a),u=new wr,_P((a.d||(a.d=new Tg(nQw,a,1)),a.d),u),a=NI(n.wb.M),_P((c.d||(c.d=new Tg(nQw,c,1)),c.d),a),(o=ntl(h,c,null))&&o.Fi(),xR(n.a,nCS,nmQ,!0,!1,!0),ZS(Im(BX(N6(n.a),0),18),n.k,null,nyy,0,-1,nCS,!1,!1,!0,!0,!1,!1,!1),xR(n.f,nCI,nmY,!0,!1,!0),ZS(Im(BX(N6(n.f),0),18),n.g,Im(BX(N6(n.g),0),18),"labels",0,-1,nCI,!1,!1,!0,!0,!1,!1,!1),G5(Im(BX(N6(n.f),1),34),n.wb._,nyk,null,0,1,nCI,!1,!1,!0,!1,!0,!1),xR(n.n,nCC,"ElkShape",!0,!1,!0),G5(Im(BX(N6(n.n),0),34),n.wb.t,nyj,nld,1,1,nCC,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.n),1),34),n.wb.t,nyE,nld,1,1,nCC,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.n),2),34),n.wb.t,"x",nld,1,1,nCC,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.n),3),34),n.wb.t,"y",nld,1,1,nCC,!1,!1,!0,!1,!0,!1),ZP(h=XC(n.n,null,"setDimensions"),n.wb.t,nyE),ZP(h,n.wb.t,nyj),ZP(h=XC(n.n,null,"setLocation"),n.wb.t,"x"),ZP(h,n.wb.t,"y"),xR(n.g,nCR,nm4,!1,!1,!0),ZS(Im(BX(N6(n.g),0),18),n.f,Im(BX(N6(n.f),0),18),nyT,0,1,nCR,!1,!1,!0,!1,!1,!1,!1),G5(Im(BX(N6(n.g),1),34),n.wb._,nyM,"",0,1,nCR,!1,!1,!0,!1,!0,!1),xR(n.c,nCO,nmZ,!0,!1,!0),ZS(Im(BX(N6(n.c),0),18),n.d,Im(BX(N6(n.d),1),18),"outgoingEdges",0,-1,nCO,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.c),1),18),n.d,Im(BX(N6(n.d),2),18),"incomingEdges",0,-1,nCO,!1,!1,!0,!1,!0,!1,!1),xR(n.i,nCK,nm5,!1,!1,!0),ZS(Im(BX(N6(n.i),0),18),n.j,Im(BX(N6(n.j),0),18),"ports",0,-1,nCK,!1,!1,!0,!0,!1,!1,!1),ZS(Im(BX(N6(n.i),1),18),n.i,Im(BX(N6(n.i),2),18),nyS,0,-1,nCK,!1,!1,!0,!0,!1,!1,!1),ZS(Im(BX(N6(n.i),2),18),n.i,Im(BX(N6(n.i),1),18),nyT,0,1,nCK,!1,!1,!0,!1,!1,!1,!1),ZS(Im(BX(N6(n.i),3),18),n.d,Im(BX(N6(n.d),0),18),"containedEdges",0,-1,nCK,!1,!1,!0,!0,!1,!1,!1),G5(Im(BX(N6(n.i),4),34),n.wb.e,nyP,null,0,1,nCK,!0,!0,!1,!1,!0,!0),xR(n.j,nCF,nm6,!1,!1,!0),ZS(Im(BX(N6(n.j),0),18),n.i,Im(BX(N6(n.i),0),18),nyT,0,1,nCF,!1,!1,!0,!1,!1,!1,!1),xR(n.d,nCA,nm1,!1,!1,!0),ZS(Im(BX(N6(n.d),0),18),n.i,Im(BX(N6(n.i),3),18),"containingNode",0,1,nCA,!1,!1,!0,!1,!1,!1,!1),ZS(Im(BX(N6(n.d),1),18),n.c,Im(BX(N6(n.c),0),18),nyI,0,-1,nCA,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.d),2),18),n.c,Im(BX(N6(n.c),1),18),nyC,0,-1,nCA,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.d),3),18),n.e,Im(BX(N6(n.e),5),18),nyO,0,-1,nCA,!1,!1,!0,!0,!1,!1,!1),G5(Im(BX(N6(n.d),4),34),n.wb.e,"hyperedge",null,0,1,nCA,!0,!0,!1,!1,!0,!0),G5(Im(BX(N6(n.d),5),34),n.wb.e,nyP,null,0,1,nCA,!0,!0,!1,!1,!0,!0),G5(Im(BX(N6(n.d),6),34),n.wb.e,"selfloop",null,0,1,nCA,!0,!0,!1,!1,!0,!0),G5(Im(BX(N6(n.d),7),34),n.wb.e,"connected",null,0,1,nCA,!0,!0,!1,!1,!0,!0),xR(n.b,nCP,nmJ,!1,!1,!0),G5(Im(BX(N6(n.b),0),34),n.wb.t,"x",nld,1,1,nCP,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.b),1),34),n.wb.t,"y",nld,1,1,nCP,!1,!1,!0,!1,!0,!1),ZP(h=XC(n.b,null,"set"),n.wb.t,"x"),ZP(h,n.wb.t,"y"),xR(n.e,nC$,nm0,!1,!1,!0),G5(Im(BX(N6(n.e),0),34),n.wb.t,"startX",null,0,1,nC$,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.e),1),34),n.wb.t,"startY",null,0,1,nC$,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.e),2),34),n.wb.t,"endX",null,0,1,nC$,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(n.e),3),34),n.wb.t,"endY",null,0,1,nC$,!1,!1,!0,!1,!0,!1),ZS(Im(BX(N6(n.e),4),18),n.b,null,nyA,0,-1,nC$,!1,!1,!0,!0,!1,!1,!1),ZS(Im(BX(N6(n.e),5),18),n.d,Im(BX(N6(n.d),3),18),nyT,0,1,nC$,!1,!1,!0,!1,!1,!1,!1),ZS(Im(BX(N6(n.e),6),18),n.c,null,ny$,0,1,nC$,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.e),7),18),n.c,null,nyN,0,1,nC$,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.e),8),18),n.e,Im(BX(N6(n.e),9),18),nyL,0,-1,nC$,!1,!1,!0,!1,!0,!1,!1),ZS(Im(BX(N6(n.e),9),18),n.e,Im(BX(N6(n.e),8),18),nyD,0,-1,nC$,!1,!1,!0,!1,!0,!1,!1),G5(Im(BX(N6(n.e),10),34),n.wb._,nyk,null,0,1,nC$,!1,!1,!0,!1,!0,!1),ZP(h=XC(n.e,null,"setStartLocation"),n.wb.t,"x"),ZP(h,n.wb.t,"y"),ZP(h=XC(n.e,null,"setEndLocation"),n.wb.t,"x"),ZP(h,n.wb.t,"y"),xR(n.k,nEZ,"ElkPropertyToValueMapEntry",!1,!1,!1),c=NI(n.o),a=new wr,_P((c.d||(c.d=new Tg(nQw,c,1)),c.d),a),niY(Im(BX(N6(n.k),0),34),c,"key",nEZ,!1,!1,!0,!1),G5(Im(BX(N6(n.k),1),34),n.s,nyv,null,0,1,nEZ,!1,!1,!0,!1,!0,!1),Ne(n.o,nCe,"IProperty",!0),Ne(n.s,nEU,"PropertyValue",!0),Wp(n,nyd)),ZM(n),Dp(nQM,nyd,n),n)}function pg(){pg=C,nQI=function(){var n,t;noc();try{if(t=Im(nnO((ml(),nQM),njj),1941))return t}catch(t){if(Ti(t=Uu(t),102))n=t,OT((E$(),n));else throw t.e}return new uS}()}function pp(){pp=C,nJN=function(){var n,t;Hu();try{if(t=Im(nnO((ml(),nQM),njY),2024))return t}catch(t){if(Ti(t=Uu(t),102))n=t,OT((E$(),n));else throw t.e}return new os}()}function pv(){var n,t,e,i;pv=C,nJL=nJd?Im(nrR((ml(),nQM),njY),1945):(jJ(nJf,new oj),jJ(nJl,new oN),jJ(nJb,new oG),jJ(nJw,new o0),jJ(nTs,new o5),jJ(Dg(nYD,1),new o6),jJ(nTn,new o8),jJ(nTt,new o9),jJ(nTs,new ol),jJ(nTs,new ob),jJ(nTs,new ow),jJ(nTi,new od),jJ(nTs,new og),jJ(nEY,new op),jJ(nEY,new ov),jJ(nTs,new om),jJ(nTr,new oy),jJ(nTs,new ok),jJ(nTs,new oE),jJ(nTs,new oT),jJ(nTs,new oM),jJ(nTs,new oS),jJ(Dg(nYD,1),new oP),jJ(nTs,new oI),jJ(nTs,new oC),jJ(nEY,new oO),jJ(nEY,new oA),jJ(nTs,new o$),jJ(nTc,new oL),jJ(nTs,new oD),jJ(nTa,new ox),jJ(nTs,new oR),jJ(nTs,new oK),jJ(nTs,new oF),jJ(nTs,new o_),jJ(nEY,new oH),jJ(nEY,new oB),jJ(nTs,new oq),jJ(nTs,new oz),jJ(nTs,new oU),jJ(nTs,new oX),jJ(nTs,new oW),jJ(nTs,new oV),jJ(nTu,new oQ),jJ(nTs,new oJ),jJ(nTs,new oY),jJ(nTs,new oZ),jJ(nTu,new o1),jJ(nTa,new o2),jJ(nTs,new o3),jJ(nTc,new o4),n=Im(Ti(Lz((ml(),nQM),njY),586)?Lz(nQM,njY):new $W,586),nJd=!0,n.N||(n.N=!0,n.b=z_(n,0),GB(n.b,0),GB(n.b,1),GB(n.b,2),n.bb=z_(n,1),GB(n.bb,0),GB(n.bb,1),n.fb=z_(n,2),GB(n.fb,3),GB(n.fb,4),Gq(n.fb,5),n.qb=z_(n,3),GB(n.qb,0),Gq(n.qb,1),Gq(n.qb,2),GB(n.qb,3),GB(n.qb,4),Gq(n.qb,5),GB(n.qb,6),n.a=zH(n,4),n.c=zH(n,5),n.d=zH(n,6),n.e=zH(n,7),n.f=zH(n,8),n.g=zH(n,9),n.i=zH(n,10),n.j=zH(n,11),n.k=zH(n,12),n.n=zH(n,13),n.o=zH(n,14),n.p=zH(n,15),n.q=zH(n,16),n.s=zH(n,17),n.r=zH(n,18),n.t=zH(n,19),n.u=zH(n,20),n.v=zH(n,21),n.w=zH(n,22),n.B=zH(n,23),n.A=zH(n,24),n.C=zH(n,25),n.D=zH(n,26),n.F=zH(n,27),n.G=zH(n,28),n.H=zH(n,29),n.J=zH(n,30),n.I=zH(n,31),n.K=zH(n,32),n.M=zH(n,33),n.L=zH(n,34),n.P=zH(n,35),n.Q=zH(n,36),n.R=zH(n,37),n.S=zH(n,38),n.T=zH(n,39),n.U=zH(n,40),n.V=zH(n,41),n.X=zH(n,42),n.W=zH(n,43),n.Y=zH(n,44),n.Z=zH(n,45),n.$=zH(n,46),n._=zH(n,47),n.ab=zH(n,48),n.cb=zH(n,49),n.db=zH(n,50),n.eb=zH(n,51),n.gb=zH(n,52),n.hb=zH(n,53),n.ib=zH(n,54),n.jb=zH(n,55),n.kb=zH(n,56),n.lb=zH(n,57),n.mb=zH(n,58),n.nb=zH(n,59),n.ob=zH(n,60),n.pb=zH(n,61)),(t=n).O||(t.O=!0,GF(t,"type"),G_(t,"ecore.xml.type"),GH(t,njY),e=Im(nrR((ml(),nQM),njY),1945),_P(Lw(t.fb),t.b),xR(t.b,nJf,"AnyType",!1,!1,!0),G5(Im(BX(N6(t.b),0),34),t.wb.D,njl,null,0,-1,nJf,!1,!1,!0,!1,!1,!1),G5(Im(BX(N6(t.b),1),34),t.wb.D,"any",null,0,-1,nJf,!0,!0,!0,!1,!1,!0),G5(Im(BX(N6(t.b),2),34),t.wb.D,"anyAttribute",null,0,-1,nJf,!1,!1,!0,!1,!1,!1),xR(t.bb,nJl,nj3,!1,!1,!0),G5(Im(BX(N6(t.bb),0),34),t.gb,"data",null,0,1,nJl,!1,!1,!0,!1,!0,!1),G5(Im(BX(N6(t.bb),1),34),t.gb,nyz,null,1,1,nJl,!1,!1,!0,!1,!0,!1),xR(t.fb,nJb,nj4,!1,!1,!0),G5(Im(BX(N6(t.fb),0),34),e.gb,"rawValue",null,0,1,nJb,!0,!0,!0,!1,!0,!0),G5(Im(BX(N6(t.fb),1),34),e.a,nyv,null,0,1,nJb,!0,!0,!0,!1,!0,!0),ZS(Im(BX(N6(t.fb),2),18),t.wb.q,null,"instanceType",1,1,nJb,!1,!1,!0,!1,!1,!1,!1),xR(t.qb,nJw,nj5,!1,!1,!0),G5(Im(BX(N6(t.qb),0),34),t.wb.D,njl,null,0,-1,null,!1,!1,!0,!1,!1,!1),ZS(Im(BX(N6(t.qb),1),18),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),ZS(Im(BX(N6(t.qb),2),18),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),G5(Im(BX(N6(t.qb),3),34),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),G5(Im(BX(N6(t.qb),4),34),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),ZS(Im(BX(N6(t.qb),5),18),t.bb,null,nEy,0,-2,null,!0,!0,!0,!0,!1,!1,!0),G5(Im(BX(N6(t.qb),6),34),t.gb,nyM,null,0,-2,null,!0,!0,!0,!1,!1,!0),Ne(t.a,nEU,"AnySimpleType",!0),Ne(t.c,nTs,"AnyURI",!0),Ne(t.d,Dg(nYD,1),"Base64Binary",!0),Ne(t.e,nYN,"Boolean",!0),Ne(t.f,nTn,"BooleanObject",!0),Ne(t.g,nYD,"Byte",!0),Ne(t.i,nTt,"ByteObject",!0),Ne(t.j,nTs,"Date",!0),Ne(t.k,nTs,"DateTime",!0),Ne(t.n,nTh,"Decimal",!0),Ne(t.o,nYx,"Double",!0),Ne(t.p,nTi,"DoubleObject",!0),Ne(t.q,nTs,"Duration",!0),Ne(t.s,nEY,"ENTITIES",!0),Ne(t.r,nEY,"ENTITIESBase",!0),Ne(t.t,nTs,nEn,!0),Ne(t.u,nYR,"Float",!0),Ne(t.v,nTr,"FloatObject",!0),Ne(t.w,nTs,"GDay",!0),Ne(t.B,nTs,"GMonth",!0),Ne(t.A,nTs,"GMonthDay",!0),Ne(t.C,nTs,"GYear",!0),Ne(t.D,nTs,"GYearMonth",!0),Ne(t.F,Dg(nYD,1),"HexBinary",!0),Ne(t.G,nTs,"ID",!0),Ne(t.H,nTs,"IDREF",!0),Ne(t.J,nEY,"IDREFS",!0),Ne(t.I,nEY,"IDREFSBase",!0),Ne(t.K,nY$,"Int",!0),Ne(t.M,nTf,"Integer",!0),Ne(t.L,nTc,"IntObject",!0),Ne(t.P,nTs,"Language",!0),Ne(t.Q,nYL,"Long",!0),Ne(t.R,nTa,"LongObject",!0),Ne(t.S,nTs,"Name",!0),Ne(t.T,nTs,nEt,!0),Ne(t.U,nTf,"NegativeInteger",!0),Ne(t.V,nTs,nEf,!0),Ne(t.X,nEY,"NMTOKENS",!0),Ne(t.W,nEY,"NMTOKENSBase",!0),Ne(t.Y,nTf,"NonNegativeInteger",!0),Ne(t.Z,nTf,"NonPositiveInteger",!0),Ne(t.$,nTs,"NormalizedString",!0),Ne(t._,nTs,"NOTATION",!0),Ne(t.ab,nTs,"PositiveInteger",!0),Ne(t.cb,nTs,"QName",!0),Ne(t.db,nYK,"Short",!0),Ne(t.eb,nTu,"ShortObject",!0),Ne(t.gb,nTs,nfy,!0),Ne(t.hb,nTs,"Time",!0),Ne(t.ib,nTs,"Token",!0),Ne(t.jb,nYK,"UnsignedByte",!0),Ne(t.kb,nTu,"UnsignedByteObject",!0),Ne(t.lb,nYL,"UnsignedInt",!0),Ne(t.mb,nTa,"UnsignedIntObject",!0),Ne(t.nb,nTf,"UnsignedLong",!0),Ne(t.ob,nY$,"UnsignedShort",!0),Ne(t.pb,nTc,"UnsignedShortObject",!0),Wp(t,njY),nrz((i=t).a,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"anySimpleType"])),nrz(i.b,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"anyType",njw,njl])),nrz(Im(BX(N6(i.b),0),34),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njz,nyV,":mixed"])),nrz(Im(BX(N6(i.b),1),34),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njz,njJ,njZ,nyV,":1",nj8,"lax"])),nrz(Im(BX(N6(i.b),2),34),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njq,njJ,njZ,nyV,":2",nj8,"lax"])),nrz(i.c,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"anyURI",njQ,njU])),nrz(i.d,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"base64Binary",njQ,njU])),nrz(i.e,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nhy,njQ,njU])),nrz(i.f,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"boolean:Object",njT,nhy])),nrz(i.g,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,njn])),nrz(i.i,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"byte:Object",njT,njn])),nrz(i.j,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"date",njQ,njU])),nrz(i.k,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"dateTime",njQ,njU])),nrz(i.n,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"decimal",njQ,njU])),nrz(i.o,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nje,njQ,njU])),nrz(i.p,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"double:Object",njT,nje])),nrz(i.q,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"duration",njQ,njU])),nrz(i.s,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"ENTITIES",njT,nj9,nj7,"1"])),nrz(i.r,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nj9,njX,nEn])),nrz(i.t,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEn,njT,nEt])),nrz(i.u,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nji,njQ,njU])),nrz(i.v,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"float:Object",njT,nji])),nrz(i.w,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"gDay",njQ,njU])),nrz(i.B,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"gMonth",njQ,njU])),nrz(i.A,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"gMonthDay",njQ,njU])),nrz(i.C,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"gYear",njQ,njU])),nrz(i.D,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"gYearMonth",njQ,njU])),nrz(i.F,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"hexBinary",njQ,njU])),nrz(i.G,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"ID",njT,nEt])),nrz(i.H,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"IDREF",njT,nEt])),nrz(i.J,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"IDREFS",njT,nEe,nj7,"1"])),nrz(i.I,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEe,njX,"IDREF"])),nrz(i.K,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,njr])),nrz(i.M,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEi])),nrz(i.L,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"int:Object",njT,njr])),nrz(i.P,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"language",njT,nEr,nEc,nEa])),nrz(i.Q,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,njc])),nrz(i.R,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"long:Object",njT,njc])),nrz(i.S,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"Name",njT,nEr,nEc,nEu])),nrz(i.T,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEt,njT,"Name",nEc,nEo])),nrz(i.U,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"negativeInteger",njT,nEs,nEh,"-1"])),nrz(i.V,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEf,njT,nEr,nEc,"\\c+"])),nrz(i.X,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"NMTOKENS",njT,nEl,nj7,"1"])),nrz(i.W,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEl,njX,nEf])),nrz(i.Y,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEb,njT,nEi,nEw,"0"])),nrz(i.Z,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEs,njT,nEi,nEh,"0"])),nrz(i.$,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEd,njT,nhj,njQ,"replace"])),nrz(i._,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"NOTATION",njQ,njU])),nrz(i.ab,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"positiveInteger",njT,nEb,nEw,"1"])),nrz(i.bb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"processingInstruction_._type",njw,"empty"])),nrz(Im(BX(N6(i.bb),0),34),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njB,nyV,"data"])),nrz(Im(BX(N6(i.bb),1),34),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njB,nyV,nyz])),nrz(i.cb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"QName",njQ,njU])),nrz(i.db,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nja])),nrz(i.eb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"short:Object",njT,nja])),nrz(i.fb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"simpleAnyType",njw,njH])),nrz(Im(BX(N6(i.fb),0),34),njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,":3",njw,njH])),nrz(Im(BX(N6(i.fb),1),34),njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,":4",njw,njH])),nrz(Im(BX(N6(i.fb),2),18),njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,":5",njw,njH])),nrz(i.gb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nhj,njQ,"preserve"])),nrz(i.hb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"time",njQ,njU])),nrz(i.ib,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEr,njT,nEd,njQ,njU])),nrz(i.jb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEg,nEh,"255",nEw,"0"])),nrz(i.kb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"unsignedByte:Object",njT,nEg])),nrz(i.lb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEp,nEh,"4294967295",nEw,"0"])),nrz(i.mb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"unsignedInt:Object",njT,nEp])),nrz(i.nb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"unsignedLong",njT,nEb,nEh,nEv,nEw,"0"])),nrz(i.ob,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,nEm,nEh,"65535",nEw,"0"])),nrz(i.pb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"unsignedShort:Object",njT,nEm])),nrz(i.qb,njb,Um(Dg(nTs,1),nhQ,2,6,[nyV,"",njw,njl])),nrz(Im(BX(N6(i.qb),0),34),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njz,nyV,":mixed"])),nrz(Im(BX(N6(i.qb),1),18),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njB,nyV,"xmlns:prefix"])),nrz(Im(BX(N6(i.qb),2),18),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njB,nyV,"xsi:schemaLocation"])),nrz(Im(BX(N6(i.qb),3),34),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njG,nyV,"cDATA",njW,njV])),nrz(Im(BX(N6(i.qb),4),34),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njG,nyV,"comment",njW,njV])),nrz(Im(BX(N6(i.qb),5),18),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njG,nyV,nEy,njW,njV])),nrz(Im(BX(N6(i.qb),6),34),njb,Um(Dg(nTs,1),nhQ,2,6,[njw,njG,nyV,nyM,njW,njV]))),$J((mb(),nQP),n,new of),ZM(n),Dp(nQM,njY,n),n)}function pm(){pm=C,nVV=qK()}function py(){throw(new wP).e}function pk(){throw(new wP).e}function pj(){throw(new wP).e}function pE(){throw(new wP).e}function pT(){throw(new wP).e}function pM(){throw(new wP).e}function pS(n){this.a=new vL(n)}function pP(n){nsN(),function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(e=0,a=0,c=t.length,u=null,s=new gW,a1?xr(OR(h.a[1],32),xi(h.a[0],nlb)):xi(h.a[0],nlb),x8(VF(h.e,f))));for(r=0,n.d=s.a.length;rt?1:0}function Ez(n,t,e){return{l:n,m:t,h:e}}function EU(n){n.a=new A,n.c=new A}function EX(n){this.b=n,this.a=new wn}function EW(n){this.b=new n1,this.a=n}function EV(n){SJ.call(this),this.a=n}function EQ(){mP.call(this,"Range",2)}function EJ(){nnu(),this.a=new ncw(nPK)}function EY(n,t,e){return Q5(t,e,n.c)}function EZ(n){return new kp(n.c,n.d)}function E1(n){return new kp(n.a,n.b)}function E0(n){Dq(n,null),DG(n,null)}function E2(){Ml.call(this,null,null)}function E3(){Mb.call(this,null,null)}function E4(n){this.a=n,wt.call(this)}function E5(n){this.b=(NV(),new hZ(n))}function E6(n){n.j=_f(nTo,nhQ,310,0,0,1)}function E8(n,t){noK(n),n.Gc(Im(t,15))}function E9(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h;if(0==e.gc())return!1;if(mp(),c=(u=Im(t,66).Oj())?e:new BO(e.gc()),ncx(n.e,t)){if(t.hi())for(s=e.Kc();s.Ob();)!nuz(n,t,o=s.Pb(),Ti(t,99)&&(Im(t,18).Bb&nlo)!=0)&&(r=RU(t,o),c.Hc(r)||c.Fc(r));else if(!u)for(s=e.Kc();s.Ob();)r=RU(t,o=s.Pb()),c.Fc(r)}else{if(e.gc()>1)throw new gd(nj0).e;for(a=0,h=ncT(n.e.Tg(),t),i=Im(n.g,119);a0&&(n.a/=e,n.b/=e),n.a*=t,n.b*=t,n}function I0(n,t,e,i,r){n.c=t,n.d=e,n.b=i,n.a=r}function I2(n,t){return KN(n,t,n.c.b,n.c),!0}function I3(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function I4(n){this.b=n,this.a=OC(this.b.a).Ed()}function I5(n,t){this.b=n,this.a=t,se.call(this)}function I6(n,t){this.a=n,this.b=t,se.call(this)}function I8(n,t){O1.call(this,t,1040),this.a=n}function I9(n){return 0==n||isNaN(n)?n:n<0?-1:1}function I7(n,t){return nn$(n,new yf(t.a,t.b))}function Cn(n){var t;return t=n.n,n.a.b+t.d+t.a}function Ct(n){var t;return t=n.n,n.e.b+t.d+t.a}function Ce(n){var t;return t=n.n,n.e.a+t.b+t.c}function Ci(n){return nhh(),++nYC,new CU(0,n)}function Cr(n){if(!n)throw new gw(null).e}function Cc(){Cc=C,NV(),nJP=new hQ(njZ)}function Ca(){Ca=C,new Yw((dV(),nTS),(dQ(),nTM))}function Cu(){Cu=C,nT1=_f(nTc,nhQ,19,256,0,1)}function Co(n,t,e,i){Qo.call(this,n,t,e,i,0,0)}function Cs(n){return n.e.c.length+n.g.c.length}function Ch(n){return n.e.c.length-n.g.c.length}function Cf(n){return n.b.c.length-n.e.c.length}function Cl(n){PW(),Iz.call(this,n),this.a=-1}function Cb(n,t){jr.call(this,n,t),this.a=this}function Cw(n,t){var e;return(e=AZ(n,t)).i=2,e}function Cd(n,t){return++n.j,n.Ti(t)}function Cg(n,t,e){return n.a=-1,Mf(n,t.g,e),n}function Cp(n,t,e){var i;return new Pw((0>=n?new vx:0>(i=n-1)?new vx:new Sg(null,new Kq(i+1,i))).Ie(),e,t)}function Cv(n,t,e,i,r,c){return function n(t,e,i,r,c,a,u){var o,s,h,f,l;if(f=c[a],l=Zi(o=(h=a==u-1)?r:0,f),10!=r&&Um(Dg(t,u-a),e[a],i[a],o,l),!h)for(++a,s=0;s=0;t--)if(Pv(n[t].d,"Sz")||Pv(n[t].d,"ez")){n.length>=t+1&&n.splice(0,t+1);break}return n}(nTx.ce(n)))),t=n.j,e=0,i=t.length;e>19!=0)return"-"+n(Uq(t));for(i=t,r="";!(0==i.l&&0==i.m&&0==i.h);){if(i=noz(i,K1(nf9),!0),e=""+px(nTq),!(0==i.l&&0==i.m&&0==i.h))for(c=9-e.length;c>0;c--)e="0"+e;r=e+r}return r}(n)}function Ox(n){if(n.e.j!=n.d)throw(new wI).e}function OR(n,t){return zA(ntZ(j4(n)?zz(n):n,t))}function OK(n,t){return zA(nrh(j4(n)?zz(n):n,t))}function OF(n,t){var e,i,r,c,a,u;return zA((e=j4(n)?zz(n):n,i=63&t,r=e.h&nf4,i<22?(u=r>>>i,a=e.m>>i|r<<22-i,c=e.l>>i|e.m<<22-i):i<44?(u=0,a=r>>>i-22,c=e.m>>i-22|e.h<<44-i):(u=0,a=0,c=r>>>i-44),Ez(c&nf3,a&nf3,u&nf4)))}function O_(n,t){return Vv(($D(n),n),($D(t),t))}function OH(n,t){return A1(t),n.a.Ad(t)&&!n.b.Ad(t)}function OB(n,t){return WQ(n,($D(t),new fn(t)))}function Oq(n,t){return WQ(n,($D(t),new ft(t)))}function OG(n){return zn(),0!=Im(n,11).e.c.length}function Oz(n){return zn(),0!=Im(n,11).g.c.length}function OU(n,t,e){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(0!=t.e.c.length&&0!=e.e.c.length){if((i=Im(CA(t.e,0),17).c.i)==(a=Im(CA(e.e,0),17).c.i))return EG(Im(ntP(Im(CA(t.e,0),17),(nhu(),nDk)),19).a,Im(ntP(Im(CA(e.e,0),17),nDk),19).a);for(h=n.a,f=0,l=h.length;fu?1:0:(n.b&&(n.b._b(c)&&(r=Im(n.b.xc(c),19).a),n.b._b(o)&&(u=Im(n.b.xc(o),19).a)),ru?1:0):0!=t.e.c.length&&0!=e.g.c.length?1:-1}(n,Im(t,11),Im(e,11))}function OX(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function OW(n,t){if(n<0||n>=t)throw(new wx).e}function OV(n,t,e){return nc0(),zf(n,t)&&zf(n,e)}function OQ(n){return nis(),!n.Hc(nWM)&&!n.Hc(nWP)}function OJ(n){return new kp(n.c+n.b/2,n.d+n.a/2)}function OY(n,t){return t.kh()?WO(n.b,Im(t,49)):t}function OZ(n,t){this.e=n,this.d=(64&t)!=0?t|nhJ:t}function O1(n,t){this.c=0,this.d=n,this.b=64|t|nhJ}function O0(n){this.b=new Fq(11),this.a=(NQ(),n)}function O2(n){this.b=null,this.a=(NQ(),n||nMk)}function O3(n){this.a=Yh(n.a),this.b=new PH(n.b)}function O4(n){this.b=n,Mv.call(this,n),Th(this)}function O5(n){this.b=n,My.call(this,n),Tf(this)}function O6(n,t,e){this.a=n,Pe.call(this,t,e,5,6)}function O8(n,t,e,i){this.b=n,Tg.call(this,t,e,i)}function O9(n,t,e,i,r){_R.call(this,n,t,e,i,r,-1)}function O7(n,t,e,i,r){_K.call(this,n,t,e,i,r,-1)}function An(n,t,e,i){Tg.call(this,n,t,e),this.b=i}function At(n,t,e,i){Iq.call(this,n,t,e),this.b=i}function Ae(n){ji.call(this,n,!1),this.a=!1}function Ai(n,t){this.b=n,hb.call(this,n.b),this.a=t}function Ar(n,t){$w(),vv.call(this,n,WD(new gE(t)))}function Ac(n,t){return nhh(),++nYC,new $j(n,t,0)}function Aa(n,t){return nhh(),++nYC,new $j(6,n,t)}function Au(n,t){return jw(t)?Ln(n,t):!!Lj(n.f,t)}function Ao(n,t){for($D(t);n.Ob();)t.td(n.Pb())}function As(n,t,e){nc4(),this.e=n,this.d=t,this.a=e}function Ah(n,t,e,i){var r;(r=n.i).i=t,r.a=e,r.b=i}function Af(n){var t;for(t=n;t.f;)t=t.f;return t}function Al(n){var t;return MK(null!=(t=U3(n))),t}function Ab(n,t){var e;return Fg(t,e=n.a.gc()),e-t}function Aw(n,t){var e;for(e=0;en||n>t)throw new gq("fromIndex: 0, toIndex: "+n+nlA+t).e}(t=n.length,n.length),new I8(n,t)))}function AS(n){return new OM(new T$(n.a.length,n.a))}function AP(n){return typeof n===nhm||typeof n===nhE}function AI(n,t){return 0>WM(n,t)?-1:WM(n,t)>0?1:0}function AC(n,t,e){return function n(t,e,i){var r,c,a,u,o,s,h,f;return WY(i,t.b)||(t.b=i,a=new nQ,u=Im(Kc(Nw(new CN(null,new D6(i.f,16)),a),HT(new V,new Q,new ni,new nr,Um(Dg(nMG,1),nfs,132,0,[(XW(),nM2),nM0]))),21),t.e=!0,t.f=!0,t.c=!0,t.d=!0,c=u.Hc((Yr(),nPS)),r=u.Hc(nPP),c&&!r&&(t.f=!1),!c&&r&&(t.d=!1),c=u.Hc(nPM),r=u.Hc(nPI),c&&!r&&(t.c=!1),c||!r||(t.e=!1)),f=Im(t.a.Ce(e,i),46),s=Im(f.a,19).a,h=Im(f.b,19).a,o=!1,s<0?t.c||(o=!0):t.e||(o=!0),h<0?t.d||(o=!0):t.f||(o=!0),o?n(t,f,i):f}(n,Im(t,46),Im(e,167))}function AO(n,t){return Im(OA(OC(n.a)).Xb(t),42).cd()}function AA(n,t){this.d=n,Td.call(this,n),this.e=t}function A$(n){this.d=($D(n),n),this.a=0,this.c=nh1}function AN(n,t){b8.call(this,1),this.a=n,this.b=t}function AL(n,t){return Hs(n.slice(0,t),n)}function AD(n,t,e){var i;for(i=0;i=14&&e<=16);case 11:return null!=t&&typeof t===nhE;case 12:return null!=t&&(typeof t===nhm||typeof t==nhE);case 0:return Ya(t,n.__elementTypeId$);case 2:return AP(t)&&t.im!==I;case 1:return AP(t)&&t.im!==I||Ya(t,n.__elementTypeId$);default:return!0}}(n,e)),n[t]=e}function $e(n,t){var e;return x1(t,e=n.a.gc()),e-1-t}function $i(n,t){return n.a+=String.fromCharCode(t),n}function $r(n,t){return n.a+=String.fromCharCode(t),n}function $c(n,t){for($D(t);n.c0){J4(n,e,0),e.a+=String.fromCharCode(i),J4(n,e,r=function(n,t){var e,i;for(D5(t,n.length),e=n.charCodeAt(t),i=t+1;i0;)n=n<<1|(n<0?1:0);return n}function $5(n,t){return jf(n)===jf(t)||null!=n&&WY(n,t)}function $6(n,t){return C9(n.a,t)?n.b[Im(t,22).g]:null}function $8(n,t){var e;n.u.Hc((nis(),nWM))&&function(n,t){var e,i,r,c;for(e=(c=Im($6(n.b,t),124)).a,r=Im(Im(Fl(n.r,t),21),84).Kc();r.Ob();)(i=Im(r.Pb(),111)).c&&(e.a=nTp.Math.max(e.a,Ce(i.c)));if(e.a>0)switch(t.g){case 2:c.n.c=n.s;break;case 4:c.n.b=n.s}}(n,t),n.C&&((e=Im($6(n.b,t),124).n).d=n.C.d,e.a=n.C.a)}function $9(n,t){return D5(t,n.length),n.charCodeAt(t)}function $7(){d7.call(this,"There is no more element.")}function Nn(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function Nt(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function Ne(n,t,e,i){return zl(n,t,e,!1),Ve(n,i),n}function Ni(n){return n.n||(n.n=new An(nCR,n,1,7)),n.n}function Nr(n){return n.c||(n.c=new An(nCF,n,9,9)),n.c}function Nc(n){var t,e,i,r,c;return n.e==nj1&&(e=n.g,t=(r=(i=n.b).Hh(e.a))&&null!=(c=Sh(Q_((r.b||(r.b=new M2((nhl(),nQV),nQj,r)),r.b),nyV)))?c:i.ne(),n.e=t),n.e}function Na(n){var t,e,i,r,c;return n.f==nj1&&(e=n.g,t=(r=(i=n.b).Hh(e.a))?Pv(njV,c=Sh(Q_((r.b||(r.b=new M2((nhl(),nQV),nQj,r)),r.b),njW)))?OE(e,BU(i.Hj())):c:null,n.f=t),n.f}function Nu(n){var t;return(t=n.b)||(n.b=t=new ht(n)),t}function No(n){var t;for(t=n.Kc();t.Ob();)t.Pb(),t.Qb()}function Ns(n){if(Qe(n.d),n.d.d!=n.c)throw(new wI).e}function Nh(n,t){this.b=n,this.c=t,this.a=new vR(this.b)}function Nf(n,t,e){this.a=nfT,this.d=n,this.b=t,this.c=e}function Nl(n,t){this.d=($D(n),n),this.a=16449,this.c=t}function Nb(n,t){return V$(n),new CN(n,new _Y(t,n.a))}function Nw(n,t){return V$(n),new CN(n,new FM(t,n.a))}function Nd(n,t){return V$(n),new Sd(n,new FE(t,n.a))}function Ng(n,t){return V$(n),new Sg(n,new FT(t,n.a))}function Np(n){this.a=new wn,this.e=_f(nY$,nhQ,48,n,0,2)}function Nv(n,t,e,i){this.a=n,this.e=t,this.d=e,this.c=i}function Nm(n,t,e,i){this.a=n,this.c=t,this.b=e,this.d=i}function Ny(n,t,e,i){this.c=n,this.b=t,this.a=e,this.d=i}function Nk(n,t,e,i){this.c=n,this.b=t,this.d=e,this.a=i}function Nj(n,t,e,i){this.c=n,this.d=t,this.b=e,this.a=i}function NE(n,t,e,i){this.a=n,this.d=t,this.c=e,this.b=i}function NT(n,t,e,i){vl.call(this,n,t),this.a=e,this.b=i}function NM(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function NS(n,t,e){var i;return i=nsF(n),t.Kh(e,i)}function NP(n,t){var e,i;return i=LU(e=n/t),e>i&&++i,i}function NI(n){var t;return B1(t=new wr,n),t}function NC(n){var t;return ntH(t=new wr,n),t}function NO(n){var t,e;return(t=Ti(e=ntP(n,(nhu(),nDj)),160)?function n(t){var e,i,r;return(i=t.zg())?Ti(e=t.Ug(),160)&&null!=(r=n(Im(e,160)))?r+"."+i:i:null}(Im(e,160)):null)?t:null}function NA(n){return n.b||(n.b=new An(nCA,n,12,3)),n.b}function N$(n,t,e){e.a?qf(n,t.b-n.f/2):qh(n,t.a-n.g/2)}function NN(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function NL(n,t,e,i){this.a=n,this.b=t,this.c=e,this.d=i}function ND(n,t,e,i){this.e=n,this.a=t,this.c=e,this.d=i}function Nx(n,t,e,i){this.a=n,this.c=t,this.d=e,this.b=i}function NR(n,t,e,i){Ex(),Fr.call(this,t,e,i),this.a=n}function NK(n,t,e,i){Ex(),Fr.call(this,t,e,i),this.a=n}function NF(n,t){this.a=n,Sw.call(this,n,Im(n.d,15).Zc(t))}function N_(n){this.f=n,this.c=this.f.e,n.f>0&&nno(this)}function NH(n,t,e,i){this.b=n,this.c=i,jL.call(this,t,e)}function NB(n){return MK(n.b0?(nTp.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in Error()),n=new w,nTx=t?new j:n}function Lm(n,t){var e;return e=pb(n.gm),null==t?e:e+": "+t}function Ly(n,t){var e;return Kt(e=n.b.Qc(t),n.b.gc()),e}function Lk(n,t){if(null==n)throw new gv(t).e;return n}function Lj(n,t){var e,i;return X8(n,t,(e=null==t?0:n.b.se(t),null==(i=n.a.get(e))?[]:i))}function LE(n,t,e,i,r,c,a){return new R4(n.e,t,e,i,r,c,a)}function LT(n,t,e,i,r,c){this.a=n,qY.call(this,t,e,i,r,c)}function LM(n,t,e,i,r,c){this.a=n,qY.call(this,t,e,i,r,c)}function LS(n,t){this.g=n,this.d=Um(Dg(nPW,1),nw8,10,0,[t])}function LP(n,t){this.e=n,this.a=nEU,this.b=naE(t),this.c=t}function LI(n,t){SY.call(this),B_(this),this.a=n,this.c=t}function LC(n,t,e,i){$t(n.c[t.g],e.g,i),$t(n.c[e.g],t.g,i)}function LO(n,t,e,i){$t(n.c[t.g],t.g,e),$t(n.b[t.g],t.g,i)}function LA(n,t,e,i){return e>=0?n.jh(t,e,i):n.Sg(null,e,i)}function L$(n){return 0==n.b.b?n.a.$e():IF(n.b)}function LN(n){return jf(n.a)===jf((G9(),nQ3))&&function(n){var t,e,i,r,c,a,u,o,s,h;for(o=0,t=new uu,e=new uu,s=Pv(njl,(r=nus(n.b,njb))?Sh(Q_((r.b||(r.b=new M2((nhl(),nQV),nQj,r)),r.b),njw)):null);o=0?n.sh(i,e):nr2(n,t,e)}function LJ(n,t,e){Dl(),n&&$J(nVW,n,t),n&&$J(nVX,n,e)}function LY(n,t,e){this.i=new wn,this.b=n,this.g=t,this.a=e}function LZ(n,t,e){this.c=new wn,this.e=n,this.f=t,this.b=e}function L1(n,t,e){this.a=new wn,this.e=n,this.f=t,this.c=e}function L0(n,t){E6(this),this.f=t,this.g=n,Nz(this),this._d()}function L2(n,t){var e;e=n.q.getHours(),n.q.setDate(t),nu3(n,e)}function L3(n,t){var e;for(A1(t),e=n.a;e;e=e.c)t.Od(e.g,e.i)}function L4(n){var t;return Xe(t=new pS(Bv(n.length)),n),t}function L5(n,t){var e,i,r,c;if(null==t)throw(new wS).e;return e=t,r=n.a,e=String(e),r.hasOwnProperty(e)&&(i=r[e]),(c=(UF(),nTB)[typeof i])?c(i):Wu(typeof i)}function L6(n){return n.Db>>16!=3?null:Im(n.Cb,33)}function L8(n){return n.Db>>16!=9?null:Im(n.Cb,33)}function L9(n){return n.Db>>16!=6?null:Im(n.Cb,79)}function L7(n){return n.Db>>16!=7?null:Im(n.Cb,235)}function Dn(n){return n.Db>>16!=7?null:Im(n.Cb,160)}function Dt(n){return n.Db>>16!=11?null:Im(n.Cb,33)}function De(n,t){var e;return(e=n.Yg(t))>=0?n.lh(e):niE(n,t)}function Di(n,t){var e;return nty(e=new CC(t),n),new PH(e)}function Dr(n){var t;return t=n.d,t=n.si(n.f),_P(n,t),t.Ob()}function Dc(n,t){return n.b+=t.b,n.c+=t.c,n.d+=t.d,n.a+=t.a,n}function Da(n,t){return nTp.Math.abs(n)>16!=3?null:Im(n.Cb,147)}function Dw(n){return n.Db>>16!=6?null:Im(n.Cb,235)}function Dd(n){return n.Db>>16!=17?null:Im(n.Cb,26)}function Dg(n,t){var e=n.a=n.a||[];return e[t]||(e[t]=n.le(t))}function Dp(n,t,e){return null==t?neQ(n.f,null,e):VH(n.g,t,e)}function Dv(n,t,e,i,r,c){return new HE(n.e,t,n.aj(),e,i,r,c)}function Dm(n,t,e){return n.a=MT(n.a,0,t)+""+e+jm(n.a,t),n}function Dy(n){return Tz(n.c),n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function Dk(n){return Tz(n.e),n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function Dj(n,t){n.d&&Hh(n.d.e,n),n.d=t,n.d&&IE(n.d.e,n)}function DE(n,t){n.c&&Hh(n.c.g,n),n.c=t,n.c&&IE(n.c.g,n)}function DT(n,t){n.c&&Hh(n.c.a,n),n.c=t,n.c&&IE(n.c.a,n)}function DM(n,t){n.i&&Hh(n.i.j,n),n.i=t,n.i&&IE(n.i.j,n)}function DS(n,t,e){this.a=t,this.c=n,this.b=(A1(e),new PH(e))}function DP(n,t,e){this.a=t,this.c=n,this.b=(A1(e),new PH(e))}function DI(n,t){this.a=n,this.c=E1(this.a),this.b=new Lf(t)}function DC(n,t){if(n<0||n>t)throw new gu(nlq+n+nlG+t).e}function DO(n,t){return C7(n.a,t)?Ap(n,Im(t,22).g,null):null}function DA(){DA=C,nTA=X7((dY(),Um(Dg(nE2,1),nfs,538,0,[nTO])))}function D$(){D$=C,nHr=Ob(new Rf,(ntI(),nAv),(nhs(),n$W))}function DN(){DN=C,nHc=Ob(new Rf,(ntI(),nAv),(nhs(),n$W))}function DL(){DL=C,nHu=Ob(new Rf,(ntI(),nAv),(nhs(),n$W))}function DD(){DD=C,nHM=Cg(new Rf,(ntI(),nAv),(nhs(),n$y))}function Dx(){Dx=C,nHC=Cg(new Rf,(ntI(),nAv),(nhs(),n$y))}function DR(){DR=C,nHO=Cg(new Rf,(ntI(),nAv),(nhs(),n$y))}function DK(){DK=C,nHR=Cg(new Rf,(ntI(),nAv),(nhs(),n$y))}function DF(){DF=C,nB2=Ob(new Rf,(ZD(),nBi),(neO(),nBc))}function D_(n,t,e,i){this.c=n,this.d=i,Dq(this,t),DG(this,e)}function DH(n){this.c=new vK,this.b=n.b,this.d=n.c,this.a=n.a}function DB(n){this.a=nTp.Math.cos(n),this.b=nTp.Math.sin(n)}function Dq(n,t){n.a&&Hh(n.a.k,n),n.a=t,n.a&&IE(n.a.k,n)}function DG(n,t){n.b&&Hh(n.b.f,n),n.b=t,n.b&&IE(n.b.f,n)}function Dz(n,t){var e,i;e=n.b,i=n.c,Im(e.b,65),BR(e.a,new Ii(n,i,e)),Im(n.b.b,65),t&&Im(t.b,65).b}function DU(n,t){Ti(n.Cb,88)&&ne2(KJ(Im(n.Cb,88)),4),GF(n,t)}function DX(n,t){Ti(n.Cb,179)&&(Im(n.Cb,179).tb=null),GF(n,t)}function DW(n,t){return mp(),Hz(t)?new Cb(t,n):new jr(t,n)}function DV(n){var t;return pg(),B1(t=new wr,n),t}function DQ(n){var t;return pg(),B1(t=new wr,n),t}function DJ(n,t){var e;return e=new $o(n),t.c[t.c.length]=e,e}function DY(n,t){var e;return(e=Im(WK(NY(n.a),t),14))?e.gc():0}function DZ(n){return V$(n),NQ(),NQ(),B$(n,nMj)}function D1(n){for(var t;;)if(t=n.Pb(),!n.Ob())return t}function D0(n,t){d_.call(this,new vL(Bv(n))),qz(t,nhV),this.a=t}function D2(n,t,e){W4(t,e,n.gc()),this.c=n,this.a=t,this.b=e-t}function D3(n,t,e){var i;W4(t,e,n.c.length),i=e-t,pR(n.c,t,i)}function D4(n,t){if(n<0||n>=t)throw new gu(nlq+n+nlG+t).e}function D5(n,t){if(n<0||n>=t)throw new gV(nlq+n+nlG+t).e}function D6(n,t){this.b=($D(n),n),this.a=(t&nla)==0?64|t|nhJ:t}function D8(n){var t,e;Ek(this),t=this.a,e=U0(nTp.Math.max(8,n))<<1,t.length=e}function D9(n){return Xt(Um(Dg(nCc,1),nhQ,8,0,[n.i.n,n.n,n.a]))}function D7(n,t,e){var i;(i=new cs).b=t,i.a=e,++t.b,IE(n.d,i)}function xn(n,t){var e,i;return i=Ab(n,t),e=n.a.Zc(i),new vp(n,e)}function xt(n){var t;return n.d==(KY(),nJE)&&(t=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d;if((e=t.Hh(n.a))&&null!=(u=Sh(Q_((e.b||(e.b=new M2((nhl(),nQV),nQj,e)),e.b),nyW))))switch(r=T2(u,ntd(35)),i=t.Hj(),-1==r?(a=OE(n,BU(i)),c=u):0==r?(a=null,c=u.substr(1)):(a=u.substr(0,r),c=u.substr(r+1)),$H(HC(n,t))){case 2:case 3:return!(!(h=nrC(n,i,o=a,s=c))&&(h=(d=nrR(n.b,o))&&(w=Im(noI(HI(n,d),""),26))?nrC(n,w,o,s):null))||noW(n,i,h)?h:null;case 0:case 4:case 5:case 6:return!(!(b=nrO(n,i,f=a,l=c))&&(b=Vs(n,f,l)))||noW(n,i,b)?b:null}return null}(n.g,n.b),n.d=t),n.d}function xe(n){return MK(n.a0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function x_(n){return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function xH(n){return Cp(n.e.Hd().gc()*n.c.Hd().gc(),16,new s4(n))}function xB(n){return Im(JD(n,_f(nPz,nw6,17,n.c.length,0,1)),474)}function xq(n){return Im(JD(n,_f(nPW,nw8,10,n.c.length,0,1)),193)}function xG(n,t,e){A1(n),function(n){var t,e,i;for(NV(),E_(n.c,n.a),i=new h1(n.c);i.anv$?E_(s,t.b):r<=nv$&&r>nvN?E_(s,t.d):r<=nvN&&r>nvL?E_(s,t.c):r<=nvL&&E_(s,t.a),a=n(t,s,a);return c}(n,e,0)}function xW(n,t,e,i){var r;(r=new al).a=t,r.b=e,r.c=i,I2(n.a,r)}function xV(n,t,e,i){var r;(r=new al).a=t,r.b=e,r.c=i,I2(n.b,r)}function xQ(n){var t,e;return e=function n(t,e){var i,r,c,a,u,o,s,h;if(!e)return null;if(i=(a=e.Tg())?BU(a).Nh().Jh(a):null){for(JR(t,e,i),s=0,h=(null==(c=e.Tg()).i&&nuq(c),c.i).length;s=0&&s1||-1==u?(a=Im(o,15),c.Wb(function(t,e){var i,r,c;for(r=new Fq(e.gc()),i=e.Kc();i.Ob();)(c=n(t,Im(i.Pb(),56)))&&(r.c[r.c.length]=c);return r}(t,a))):c.Wb(n(t,Im(o,56))))}(t,u,e,i));e.kh()&&Im(i,49).vh(Im(e,49).qh())}return i}(t=new AX,n),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;for(f=new $P(new h7(n));f.b!=f.c.a.d;)for(d=0,u=Im((h=_M(f)).d,56),t=Im(h.e,56),y=(null==(a=u.Tg()).i&&nuq(a),a.i).length;d=0&&d1||-1==b){if(f=Im(w,69),l=Im(h,69),f.dc())l.$b();else for(a=!!YI(t),c=0,u=n.a?f.Kc():f.Zh();u.Ob();)s=Im(u.Pb(),56),(r=Im(HX(n,s),56))?(a?-1==(o=l.Xc(r))?l.Xh(c,r):c!=o&&l.ji(c,r):l.Xh(c,r),++c):n.b&&!a&&(l.Xh(c,s),++c)}else null==w?h.Wb(null):null==(r=HX(n,w))?n.b&&!YI(t)&&h.Wb(w):h.Wb(r)}}(n,o,u,t);else if(mp(),Im(s,66).Oj()&&(e=Im(s?Im(t,49).xh(s):null,153)))for(g=0,b=Im(u.ah(s),153),i=e.gc(),w=b.gc();g=t)throw new gu(function(n,t){if(n<0)return naT(nhC,Um(Dg(nEU,1),nhO,1,5,["index",Va(n)]));if(t<0)throw new gd(nhA+t).e;return naT("%s (%s) must be less than size (%s)",Um(Dg(nEU,1),nhO,1,5,["index",Va(n),Va(t)]))}(n,t)).e;return n}function x0(n,t,e){if(n<0||te){var i,r,c;throw new gu((i=n,r=t,c=e,i<0||i>c?neX(i,c,"start index"):r<0||r>c?neX(r,c,"end index"):naT("end index (%s) must not be less than start index (%s)",Um(Dg(nEU,1),nhO,1,5,[Va(r),Va(i)])))).e}}function x2(n,t){if(Av(n.a,t),t.d)throw new d7(nlQ).e;t.d=n}function x3(n,t){if(t.$modCount!=n.$modCount)throw(new wI).e}function x4(n,t){return!!Ti(t,42)&&Y4(n.a,Im(t,42))}function x5(n,t){return!!Ti(t,42)&&Y4(n.a,Im(t,42))}function x6(n,t){return!!Ti(t,42)&&Y4(n.a,Im(t,42))}function x8(n){return j4(n)?-0==n?0:n:function(n){if(0>nnn(n,(HD(),nTX))){var t;return-((t=Uq(n)).l+t.m*nf6+t.h*nf8)}return n.l+n.m*nf6+n.h*nf8}(n)}function x9(n){var t;return $R(n),t=new F,pC(n.a,new fl(t)),t}function x7(n){var t;return $R(n),t=new K,pC(n.a,new ff(t)),t}function Rn(n,t){this.a=n,h$.call(this,n),DC(t,n.gc()),this.b=t}function Rt(n){this.e=n,this.b=this.e.a.entries(),this.a=[]}function Re(n){return new Fq((qz(n,nff),Bp(VK(VK(5,n),n/10|0))))}function Ri(n){return Im(JD(n,_f(nPJ,nw9,11,n.c.length,0,1)),1943)}function Rr(n,t){(function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;if(v=0,0==t.f.b)for(g=new h1(n);g.a0}function RP(n){return MK(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function RI(n,t){$D(t),$t(n.a,n.c,t),n.c=n.c+1&n.a.length-1,Zy(n)}function RC(n,t){$D(t),n.b=n.b-1&n.a.length-1,$t(n.a,n.b,t),Zy(n)}function RO(n,t){var e;for(e=n.j.c.length;e0&&now(n.g,0,t,0,n.i),t}function RR(n,t){var e;return mv(),!(e=Im($a(nVY,n),55))||e.wj(t)}function RK(n){var t;for(t=0;n.Ob();)n.Pb(),t=VK(t,1);return Bp(t)}function RF(n,t){var e;return e=new gW,n.xd(e),e.a+="..",t.yd(e),e.a}function R_(n,t,e){return nuz(n,t,e,Ti(t,99)&&(Im(t,18).Bb&nlo)!=0)}function RH(n,t){return n==(ntY(),nAW)&&t==nAW?4:n==nAW||t==nAW?8:32}function RB(n,t){return jf(t)===jf(n)?"(this Map)":null==t?nhN:V7(t)}function Rq(n,t,e){var i;return i=Jo(e),$J(n.b,i,t),$J(n.c,t,e),t}function RG(n,t){var e;for(e=t;e;)MG(n,e.i,e.j),e=Dt(e);return n}function Rz(n,t){var e;return e=Lt(Iy(new Hp(n,t))),CM(new Hp(n,t)),e}function RU(n,t){var e;return mp(),function(n,t){var e;if(null!=t&&!n.c.Yj().wj(t))throw e=Ti(t,56)?Im(t,56).Tg().zb:pb(Xp(t)),new gw(nm7+n.c.ne()+"'s type '"+n.c.Yj().ne()+"' does not permit a value of type '"+e+"'").e}(e=Im(n,66).Mj(),t),e.Ok(t)}function RX(n,t,e){n.i=0,n.e=0,t!=e&&(Xf(n,t,e),Xh(n,t,e))}function RW(n,t){var e;e=n.q.getHours(),n.q.setFullYear(t+nf_),nu3(n,e)}function RV(n,t,e){e=e?e.ee()(e):void 0,n.a[t]=e}function RQ(n){if(n<0)throw new gp("Negative array size: "+n).e}function RJ(n){return n.n||(KJ(n),n.n=new Og(n,nQw,n),Lw(n)),n.n}function RY(n){return MK(n.a0;)i+=n.a[e],e-=e&-e;return i}function KO(n,t){var e;for(e=t;e;)MG(n,-e.i,-e.j),e=Dt(e);return n}function KA(n,t){var e,i;for($D(t),i=n.Kc();i.Ob();)e=i.Pb(),t.td(e)}function K$(n,t){var e;return new vw(e=t.cd(),n.e.pc(e,Im(t.dd(),14)))}function KN(n,t,e,i){var r;(r=new A).c=t,r.b=e,r.a=i,i.b=e.a=r,++n.b}function KL(n,t,e){var i;return D4(t,n.c.length),i=n.c[t],n.c[t]=e,i}function KD(n){return n.c&&n.d?xh(n.c)+"->"+xh(n.d):"e_"+T9(n)}function Kx(n,t){return(V$(n),pL(new CN(n,new _Y(t,n.a)))).sd(nM4)}function KR(n){return!!n.c&&!!n.d&&!!n.c.i&&n.c.i==n.d.i}function KK(n){if(!n.c.Sb())throw(new wO).e;return n.a=!0,n.c.Ub()}function KF(n){n.i=0,mA(n.b,null),mA(n.c,null),n.a=null,n.e=null,++n.g}function K_(n){mS.call(this,null==n?nhN:V7(n),Ti(n,78)?Im(n,78):null)}function KH(n){nhi(),this.b=new g$,this.a=new vK,XP(this,n),I2(this.a,n)}function KB(){Ey(this),this.b=new kp(nlr,nlr),this.a=new kp(nlc,nlc)}function Kq(n,t){this.c=0,this.b=t,jN.call(this,n,17493),this.a=this.c}function KG(n){Kz(),nMH||(this.c=n,this.e=!0,this.a=new wn)}function Kz(){Kz=C,nMH=!0,nMF=!1,nM_=!1,nMq=!1,nMB=!1}function KU(n,t){return!!Ti(t,149)&&Pv(n.c,Im(t,149).c)}function KX(n,t){var e;return e=0,n&&(e+=n.f.a/2),t&&(e+=t.f.a/2),e}function KW(n,t){return Im(HX(n.d,t),23)||Im(HX(n.e,t),23)}function KV(n){this.b=n,Td.call(this,n),this.a=Im(zF(this.b.a,4),126)}function KQ(n){this.b=n,Mm.call(this,n),this.a=Im(zF(this.b.a,4),126)}function KJ(n){return n.t||(n.t=new bz(n),Vf(new gf(n),0,n.t)),n.t}function KY(){KY=C,pg(),nJj=new wN,nJE=new dT}function KZ(n){var t;return!n.c&&Ti(t=n.r,88)&&(n.c=Im(t,26)),n.c}function K1(n){return Ez(n&nf3,n>>22&nf3,n<0?nf4:0)}function K0(n,t){var e;return!!(e=XS(n,t.cd()))&&$5(e.e,t.dd())}function K2(n,t){return 0==t||0==n.e?n:t>0?Q1(n,t):ncN(n,-t)}function K3(n,t){return 0==t||0==n.e?n:t>0?ncN(n,t):Q1(n,-t)}function K4(n){if(nrc(n))return n.c=n.a,n.a.Pb();throw(new wO).e}function K5(n){var t,e;return t=n.c.i,e=n.d.i,t.k==(ntY(),nAz)&&e.k==nAz}function K6(n){var t;return z5(t=new Ls,n),UU(t,(ns8(),nKW),null),t}function K8(n,t,e){var i;return(i=n.Yg(t))>=0?n._g(i,e,!0):niO(n,t,e)}function K9(n,t,e,i){var r;for(r=0;rt)throw new gu(neX(n,t,"index")).e;return n}function Fp(n,t,e,i){var r;return function(n,t,e,i,r){var c,a;for(a=0,c=0;a=0,"Initial capacity must not be negative")}function FG(){FG=C,nSQ=X7((BH(),Um(Dg(nSh,1),nfs,232,0,[nSX,nSW,nSV])))}function Fz(){Fz=C,nS1=X7((_1(),Um(Dg(nSb,1),nfs,461,0,[nSY,nSJ,nSZ])))}function FU(){FU=C,nS4=X7((H$(),Um(Dg(nSd,1),nfs,462,0,[nS3,nS2,nS0])))}function FX(){FX=C,nM3=X7((XW(),Um(Dg(nMG,1),nfs,132,0,[nM1,nM0,nM2])))}function FW(){FW=C,nAh=X7((HA(),Um(Dg(nPR,1),nfs,379,0,[nAo,nAu,nAs])))}function FV(){FV=C,nA_=X7((W3(),Um(Dg(nPG,1),nfs,423,0,[nAF,nAK,nAR])))}function FQ(){FQ=C,nNY=X7((q5(),Um(Dg(nP7,1),nfs,314,0,[nNQ,nNV,nNJ])))}function FJ(){FJ=C,nN2=X7((q_(),Um(Dg(nIn,1),nfs,337,0,[nNZ,nN0,nN1])))}function FY(){FY=C,nLc=X7((UK(),Um(Dg(nIi,1),nfs,450,0,[nLi,nLe,nLr])))}function FZ(){FZ=C,nNI=X7((GL(),Um(Dg(nP5,1),nfs,361,0,[nNP,nNS,nNM])))}function F1(){F1=C,nLW=X7((HN(),Um(Dg(nIh,1),nfs,303,0,[nLU,nLX,nLz])))}function F0(){F0=C,nLG=X7((z0(),Um(Dg(nIs,1),nfs,292,0,[nLB,nLq,nLH])))}function F2(){F2=C,n_p=X7((Wf(),Um(Dg(nIw,1),nfs,378,0,[n_w,n_d,n_g])))}function F3(){F3=C,n_Y=X7((zp(),Um(Dg(nIk,1),nfs,375,0,[n_V,n_Q,n_J])))}function F4(){F4=C,n_H=X7((U1(),Um(Dg(nIv,1),nfs,339,0,[n_F,n_K,n__])))}function F5(){F5=C,n_W=X7((qF(),Um(Dg(nIy,1),nfs,452,0,[n_X,n_z,n_U])))}function F6(){F6=C,nHi=X7((UE(),Um(Dg(nIM,1),nfs,377,0,[nHt,nHe,nHn])))}function F8(){F8=C,n_5=X7((XJ(),Um(Dg(nIE,1),nfs,336,0,[n_2,n_3,n_4])))}function F9(){F9=C,n_7=X7((G7(),Um(Dg(nIT,1),nfs,338,0,[n_9,n_6,n_8])))}function F7(){F7=C,nHv=X7((qH(),Um(Dg(nII,1),nfs,454,0,[nHd,nHg,nHp])))}function _n(){_n=C,nqi=X7((V0(),Um(Dg(nIX,1),nfs,442,0,[nqe,nqn,nqt])))}function _t(){_t=C,nqh=X7((XX(),Um(Dg(nIV,1),nfs,380,0,[nqu,nqo,nqs])))}function _e(){_e=C,nqV=X7((VZ(),Um(Dg(nIZ,1),nfs,381,0,[nqX,nqW,nqU])))}function _i(){_i=C,nqz=X7((zg(),Um(Dg(nIJ,1),nfs,293,0,[nqq,nqG,nqB])))}function _r(){_r=C,nGS=X7((V1(),Um(Dg(nI2,1),nfs,437,0,[nGE,nGT,nGM])))}function _c(){_c=C,nX4=X7((WN(),Um(Dg(nCb,1),nfs,334,0,[nX2,nX0,nX3])))}function _a(){_a=C,nXD=X7((BB(),Um(Dg(nCh,1),nfs,272,0,[nX$,nXN,nXL])))}function _u(n,t){return n.o||(n.o=new _x((nsZ(),nVO),nCB,n,0)),QF(n.o,t)}function _o(n){return n.g||(n.g=new a2),n.g.c||(n.g.c=new bG(n)),n.g.c}function _s(n,t,e){var i,r;if(null!=e)for(i=0;i=r){for(a=1;ae||t=0?n._g(e,!0,!0):niO(n,t,!0)}function _H(){_H=C,nB3=Jd(Jd(mu(new Rf,(ZD(),nBt)),(neO(),nBh)),nBa)}function _B(n){return(A1(n),Ti(n,198))?Im(n,198):new hf(n)}function _q(){var n,t,e,i;_q=C,nzp=new au,nzm=new ao,n=(nha(),nU9),t=nzp,e=nUH,i=nzm,$1(),nzv=new d4(Um(Dg(nEZ,1),nh9,42,0,[(Yq(n,t),new vw(n,t)),(Yq(e,i),new vw(e,i))]))}function _G(){_G=C,nqr=new ki("LEAF_NUMBER",0),nqc=new ki("NODE_SIZE",1)}function _z(n){n.a=_f(nY$,nfH,25,n.b+1,15,1),n.c=_f(nY$,nfH,25,n.b,15,1),n.d=0}function _U(n,t){if(null==n.g||t>=n.i)throw new jX(t,n.i).e;return n.g[t]}function _X(n,t,e){if(XH(n,e),null!=e&&!n.wj(e))throw(new wj).e;return e}function _W(n){var t;if(n.Ek())for(t=n.i-1;t>=0;--t)BX(n,t);return Rx(n)}function _V(n,t,e,i){NQ(),i=i||nMk,function n(t,e,i,r,c,a){var u,o,s;if(r-i<7){!function(n,t,e,i){var r,c,a;for(r=t+1;rt&&i.ue(n[c-1],n[c])>0;--c)a=n[c],$t(n,c,n[c-1]),$t(n,c-1,a)}(e,i,r,a);return}if(s=(o=i+c)+((u=r+c)-o>>1),n(e,t,o,s,-c,a),n(e,t,s,u,-c,a),0>=a.ue(t[s-1],t[s])){for(;i=i||t=u.ue(n[t],n[o])?$t(r,c++,n[t++]):$t(r,c++,n[o++])}(t,o,s,u,e,i,r,a)}(n.slice(t,e),n,t,e,-t,i)}function _Q(n,t,e,i,r){return t<0?niO(n,e,i):Im(e,66).Nj().Pj(n,n.yh(),t,i,r)}function _J(n,t){if(t.a)throw new d7(nlQ).e;Av(n.a,t),t.a=n,n.j||(n.j=t)}function _Y(n,t){jL.call(this,t.rd(),-16449&t.qd()),$D(n),this.a=n,this.c=t}function _Z(n,t){var e,i;return i=t/n.c.Hd().gc()|0,e=t%n.c.Hd().gc(),FF(n,i,e)}function _1(){_1=C,nSY=new mQ(nbg,0),nSJ=new mQ(nbb,1),nSZ=new mQ(nbp,2)}function _0(){_0=C,nMX=new mP("All",0),nMW=new Ev,nMV=new EQ,nMQ=new Em}function _2(){_2=C,nMJ=X7((_0(),Um(Dg(nMx,1),nfs,297,0,[nMX,nMW,nMV,nMQ])))}function _3(){_3=C,nAC=X7((Uj(),Um(Dg(nPq,1),nfs,405,0,[nAM,nAI,nAS,nAP])))}function _4(){_4=C,nPT=X7((zZ(),Um(Dg(nSp,1),nfs,406,0,[nPE,nPy,nPk,nPj])))}function _5(){_5=C,nPC=X7((Yr(),Um(Dg(nSv,1),nfs,323,0,[nPS,nPM,nPP,nPI])))}function _6(){_6=C,nC4=X7((Yc(),Um(Dg(nPN,1),nfs,394,0,[nC0,nC1,nC2,nC3])))}function _8(){_8=C,nBr=X7((ZD(),Um(Dg(nI_,1),nfs,393,0,[nBn,nBt,nBe,nBi])))}function _9(){_9=C,nNt=X7((Uy(),Um(Dg(nP0,1),nfs,360,0,[nNn,n$9,n$7,n$8])))}function _7(){_7=C,nqH=X7((Y6(),Um(Dg(nIQ,1),nfs,340,0,[nq_,nqK,nqF,nqR])))}function Hn(){Hn=C,nNw=X7((Uk(),Um(Dg(nP3,1),nfs,411,0,[nNh,nNf,nNl,nNb])))}function Ht(){Ht=C,n_j=X7((Yp(),Um(Dg(nId,1),nfs,197,0,[n_y,n_k,n_m,n_v])))}function He(){He=C,nVp=X7((XU(),Um(Dg(nCT,1),nfs,396,0,[nVw,nVd,nVb,nVg])))}function Hi(){Hi=C,nX7=X7((ZR(),Um(Dg(nCw,1),nfs,285,0,[nX9,nX5,nX6,nX8])))}function Hr(){Hr=C,nX_=X7((VY(),Um(Dg(nCf,1),nfs,218,0,[nXF,nXR,nXx,nXK])))}function Hc(){Hc=C,nVl=X7((QI(),Um(Dg(nCj,1),nfs,311,0,[nVf,nVo,nVh,nVs])))}function Ha(){Ha=C,nW8=X7((QJ(),Um(Dg(nCy,1),nfs,374,0,[nW5,nW6,nW4,nW3])))}function Hu(){Hu=C,noc(),nJ6=nlr,nJ5=nlc,nJ9=new h_(nlr),nJ8=new h_(nlc)}function Ho(){Ho=C,nLw=new yS(nwJ,0),nLb=new yS("IMPROVE_STRAIGHTNESS",1)}function Hs(n,t){return 10!=HJ(t)&&Um(Xp(t),t.hm,t.__elementTypeId$,HJ(t),n),n}function Hh(n,t){var e;return -1!=(e=Hb(n,t,0))&&(Ff(n,e),!0)}function Hf(n,t){var e;return(e=Im(Fv(n.e,t),387))?(I3(e),e.e):null}function Hl(n){var t;return j4(n)&&!isNaN(t=0-n)?t:zA(Uq(n))}function Hb(n,t,e){for(;e0?(n.f[o.p]=f/(o.e.c.length+o.g.c.length),n.c=nTp.Math.min(n.c,n.f[o.p]),n.b=nTp.Math.max(n.b,n.f[o.p])):a&&(n.f[o.p]=f)}}(n,t,e),0==n.a.c.length||function(n,t){var e,i,r,c,a,u,o,s,h,f,l;for(s=n.e[t.c.p][t.p]+1,o=t.c.a.c.length+1,u=new h1(n.a);u.a=0?Yo(n,e,!0,!0):niO(n,t,!0)}function HH(n,t){var e,i;return v6(),e=RM(n),i=RM(t),!!e&&!!i&&!Yt(e.k,i.k)}function HB(n){(this.q?this.q:(NV(),NV(),nMv)).Ac(n.q?n.q:(NV(),NV(),nMv))}function Hq(n,t,e){var i;return i=n.g[t],Ts(n,t,n.oi(t,e)),n.gi(t,e,i),n.ci(),i}function HG(n,t){var e;return(e=n.Xc(t))>=0&&(n.$c(e),!0)}function Hz(n){var t;return n.d!=n.r&&(t=Z9(n),n.e=!!t&&t.Cj()==nk8,n.d=t),n.e}function HU(n,t){var e;for(A1(n),A1(t),e=!1;t.Ob();)e|=n.Fc(t.Pb());return e}function HX(n,t){var e;return(e=Im($a(n.e,t),387))?(Tr(n,e),e.e):null}function HW(n){var t,e;return(t=n/60|0,0==(e=n%60))?""+t:""+t+":"+e}function HV(n,t){var e;return V$(n),e=new PP(new FM(t,n.a)),new CN(n,e)}function HQ(n,t){var e=n.a[t],i=(UF(),nTB)[typeof e];return i?i(e):Wu(typeof e)}function HJ(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function HY(n){var t;return null!=(t=0==n.b.c.length?null:CA(n.b,0))&&Gy(n,0),t}function HZ(n,t){for(;t[0]=0;)++t[0]}function H1(n,t){this.e=t,this.a=z8(n),this.a<54?this.f=x8(n):this.c=JK(n)}function H0(n,t,e,i){nhh(),b8.call(this,26),this.c=n,this.a=t,this.d=e,this.b=i}function H2(n,t,e){var i,r;for(r=0,i=10;rt.d&&(o=t,t=e,e=o),e.d<63)?function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;return(u=(i=n.d)+(c=t.d),o=n.e!=t.e?-1:1,2==u)?(l=CZ(h=VF(xi(n.a[0],nlb),xi(t.a[0],nlb))),0==(f=CZ(OF(h,32)))?new F_(o,l):new As(o,2,Um(Dg(nY$,1),nfH,25,15,[l,f]))):(e=n.a,r=t.a,b=a=_f(nY$,nfH,25,u,15,1),0!=i&&0!=c&&(1==i?b[c]=Ym(b,r,c,e[0]):1==c?b[i]=Ym(b,e,i,r[0]):function(n,t,e,i,r){var c,a,u,o;if(jf(n)===jf(t)&&i==r){nuu(n,i,e);return}for(u=0;u0?nhT:0>WM(n,nfg)?nfg:CZ(n)}function Bv(n){return n<3?(qz(n,nfa),n+1):n=0&&t=-.01&&n.a<=nbj&&(n.a=0),n.b>=-.01&&n.b<=nbj&&(n.b=0),n}function Bj(n,t){return t==(Pz(),Pz(),nMI)?n.toLocaleLowerCase():n.toLowerCase()}function BE(n){return((2&n.i)!=0?"interface ":(1&n.i)!=0?"":"class ")+(Su(n),n.o)}function BT(n){var t;t=new dS,_P((n.q||(n.q=new An(nQd,n,11,10)),n.q),t)}function BM(n){this.g=n,this.f=new wn,this.a=nTp.Math.min(this.g.c.c,this.g.d.c)}function BS(n){this.b=new wn,this.a=new wn,this.c=new wn,this.d=new wn,this.e=n}function BP(n,t){this.a=new wt,this.e=new wt,this.b=(Wf(),n_g),this.c=n,this.b=t}function BI(n,t,e){SY.call(this),B_(this),this.a=n,this.c=e,this.b=t.d,this.f=t.e}function BC(n){this.d=n,this.c=n.c.vc().Kc(),this.b=null,this.a=null,this.e=(dY(),nTO)}function BO(n){if(n<0)throw new gd("Illegal Capacity: "+n).e;this.g=this.ri(n)}function BA(n){var t;MR(!!n.c),t=n.c.a,BK(n.d,n.c),n.b==n.c?n.b=t:--n.a,n.c=null}function B$(n,t){var e;return V$(n),e=new NH(n,n.a.rd(),4|n.a.qd(),t),new CN(n,e)}function BN(n,t){var e;for(e=n.Kc();e.Ob();)UU(Im(e.Pb(),70),(nhu(),nDw),t)}function BL(n,t,e,i,r,c){var a;DE(a=K6(i),r),Dj(a,c),niP(n.a,i,new P1(a,t,e.f))}function BD(n,t){var e;if(!(e=ncp(n.Tg(),t)))throw new gd(nm7+t+nye).e;return e}function Bx(n,t){var e;for(e=n;Dt(e);)if((e=Dt(e))==t)return!0;return!1}function BR(n,t){var e,i,r,c;for($D(t),i=n.c,r=0,c=i.length;r>16!=6?null:Im(ni9(n),235))&&!t.kh()&&(n.w=t),t)}function BX(n,t){if(null==n.g||t>=n.i)throw new jX(t,n.i).e;return n.li(t,n.g[t])}function BW(n,t){var e,i,r,c;for(i=n.d,r=0,c=i.length;r=14&&t<=16)),n}function BY(n,t,e){var i=function(){return n.apply(i,arguments)};return t.apply(i,e),i}function BZ(n,t,e){var i,r;i=t;do r=gy(n.p[i.p])+e,n.p[i.p]=r,i=n.a[i.p];while(i!=t)}function B1(n,t){var e,i,r,c,a;i=n.a,r=null,a=n.a,n.a=t,(4&n.Db)!=0&&(1&n.Db)==0&&(c=new O9(n,1,5,a,n.a),r?nnQ(r,c):r=c),e=r,i==t||n.e||(e=nsg(n,t,e)),e&&e.Fi()}function B0(n,t){return ED(),qR(nfd),nTp.Math.abs(n-t)<=nfd||n==t||isNaN(n)&&isNaN(t)}function B2(n,t){return ED(),qR(nfd),nTp.Math.abs(n-t)<=nfd||n==t||isNaN(n)&&isNaN(t)}function B3(n,t){var e;return(e=G1(n,t,CZ(VF(nfi,$4(CZ(VF(null==t?0:Xg(t),nfr)),15)))))?e.i:null}function B4(){B4=C,nAQ=X7((ntY(),Um(Dg(nPV,1),nfs,267,0,[nAW,nAX,nAz,nAV,nAU,nAG])))}function B5(){B5=C,nz7=X7((nnF(),Um(Dg(nCo,1),nfs,291,0,[nz9,nz8,nz6,nz4,nz3,nz5])))}function B6(){B6=C,nzG=X7((Yv(),Um(Dg(nCu,1),nfs,248,0,[nzK,nzH,nzB,nzq,nzF,nz_])))}function B8(){B8=C,nNz=X7((neC(),Um(Dg(nP8,1),nfs,227,0,[nNH,nNq,nN_,nNB,nNG,nNF])))}function B9(){B9=C,nLC=X7((ntW(),Um(Dg(nIu,1),nfs,275,0,[nLP,nLT,nLI,nLS,nLM,nLE])))}function B7(){B7=C,nLj=X7((nnS(),Um(Dg(nIa,1),nfs,274,0,[nLm,nLv,nLk,nLp,nLy,nLg])))}function qn(){qn=C,n_b=X7((ntt(),Um(Dg(nIb,1),nfs,313,0,[n_f,n_s,n_u,n_o,n_l,n_h])))}function qt(){qt=C,nLl=X7((nt0(),Um(Dg(nIr,1),nfs,276,0,[nLu,nLa,nLs,nLo,nLf,nLh])))}function qe(){qe=C,nBf=X7((neO(),Um(Dg(nIq,1),nfs,327,0,[nBh,nBa,nBo,nBu,nBs,nBc])))}function qi(){qi=C,nWC=X7((nis(),Um(Dg(nCv,1),nfs,273,0,[nWP,nWM,nWS,nWT,nWE,nWI])))}function qr(){qr=C,nXX=X7((ntg(),Um(Dg(nCl,1),nfs,312,0,[nXz,nXq,nXU,nXH,nXG,nXB])))}function qc(n,t){var e;e=n.a,n.a=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,0,e,n.a))}function qa(n,t){var e;e=n.b,n.b=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,1,e,n.b))}function qu(n,t){var e;e=n.b,n.b=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,3,e,n.b))}function qo(n,t){var e;e=n.f,n.f=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,3,e,n.f))}function qs(n,t){var e;e=n.g,n.g=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,4,e,n.g))}function qh(n,t){var e;e=n.i,n.i=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,5,e,n.i))}function qf(n,t){var e;e=n.j,n.j=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,6,e,n.j))}function ql(n,t){var e;e=n.j,n.j=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,1,e,n.j))}function qb(n,t){var e;e=n.c,n.c=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,4,e,n.c))}function qw(n,t){var e;e=n.k,n.k=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R2(n,2,e,n.k))}function qd(n,t){var e;e=n.d,n.d=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R3(n,2,e,n.d))}function qg(n,t){var e;e=n.s,n.s=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R3(n,4,e,n.s))}function qp(n,t){var e;e=n.t,n.t=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new R3(n,5,e,n.t))}function qv(n,t){var e;e=n.F,n.F=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,5,e,t))}function qm(n,t){var e;return(e=Im($a((mv(),nVY),n),55))?e.xj(t):_f(nEU,nhO,1,t,5,1)}function qy(n,t){var e;return t in n.a&&(e=L5(n,t).he())?e.a:null}function qk(n,t,e){if(XH(n,e),!n.Bk()&&null!=e&&!n.wj(e))throw(new wj).e;return e}function qj(n,t){return n.n=t,n.n?(n.f=new wn,n.e=new wn):(n.f=null,n.e=null),n}function qE(n,t,e,i,r,c){var a;return qA(e,a=AZ(n,t)),a.i=r?8:0,a.f=i,a.e=r,a.g=c,a}function qT(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=e}function qM(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=e}function qS(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=e}function qP(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=e}function qI(n,t,e,i,r){this.d=t,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=e}function qC(n,t){var e,i,r;for(i=0,r=t.length;i=0),0>(t=n.d,e=n.c,(r=t.a.length-1,i=e-t.b&r,c=t.c-e&r,MD(i<(t.c-t.b&r)),i>=c)?(function(n,t){var e,i;for(e=n.a.length-1,n.c=n.c-1&e;t!=n.c;)i=t+1&e,$t(n.a,t,n.a[i]),t=i;$t(n.a,n.c,null)}(t,e),-1):(function(n,t){var e,i;for(e=n.a.length-1;t!=n.b;)i=t-1&e,$t(n.a,t,n.a[i]),t=i;$t(n.a,n.b,null),n.b=n.b+1&e}(t,e),1))&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function qx(n){return n.a<54?n.f<0?-1:n.f>0?1:0:(n.c||(n.c=Wa(n.f)),n.c).e}function qR(n){if(!(n>=0))throw new gd("tolerance ("+n+") must be >= 0").e;return n}function qK(){return!nzy&&XA(nzy=new naj,Um(Dg(nSc,1),nhO,130,0,[new sW])),nzy}function qF(){qF=C,n_X=new yH(nbk,0),n_z=new yH("INPUT",1),n_U=new yH("OUTPUT",2)}function q_(){q_=C,nNZ=new yk("ARD",0),nN0=new yk("MSD",1),nN1=new yk("MANUAL",2)}function qH(){qH=C,nHd=new yX("BARYCENTER",0),nHg=new yX(ndw,1),nHp=new yX(ndd,2)}function qB(n,t){var e;if(e=n.gc(),t<0||t>e)throw new Pt(t,e).e;return new PS(n,t)}function qq(n,t){var e;return Ti(t,42)?n.c.Mc(t):(e=QF(n,t),Ja(n,t),e)}function qG(n,t,e){return Ww(n,t),GF(n,e),qg(n,0),qp(n,1),Vi(n,!0),Vn(n,!0),n}function qz(n,t){if(n<0)throw new gd(t+" cannot be negative but was: "+n).e;return n}function qU(n,t){var e,i;for(e=0,i=n.gc();e0&&n.c0&&0!=n.g&&Gu(n.i,t/n.r*n.i.d))}function Go(n,t){return ncx(n.e,t)?(mp(),Hz(t)?new Cb(t,n):new jr(t,n)):new ju(t,n)}function Gs(n,t){var e;return(e=G0(n.a,t,CZ(VF(nfi,$4(CZ(VF(null==t?0:Xg(t),nfr)),15)))))?e.g:null}function Gh(n){var t;return(t=U0(n=nTp.Math.max(n,2)),n>t)?(t<<=1)>0?t:nfu:t}function Gf(n){switch(TG(3!=n.e),n.e){case 2:return!1;case 0:return!0}return n.e=3,n.d=n.Yb(),2!=n.e&&(n.e=0,!0)}function Gl(n,t){var e;return!!Ti(t,8)&&(e=Im(t,8),n.a==e.a&&n.b==e.b)}function Gb(n,t,e){return xi(OF(n.n[e][t>>5],CZ(OR(31&t,1))),3)}function Gw(n,t){var e;e=n.b,n.b=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,21,e,n.b))}function Gd(n,t){var e;e=n.d,n.d=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,11,e,n.d))}function Gg(n,t){var e;e=n.j,n.j=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,13,e,n.j))}function Gp(n,t,e){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?i-1:i),e.n),c=e.j,r.j=c,a=e.k,r.k=a,I2(n.a,r),r.i=n,n.d=t,r)}function ze(n,t,e){this.g=n,this.d=t,this.e=e,this.a=new wn,function(n){var t,e,i,r;for(r=WJ(n.d,n.e).Kc();r.Ob();)for(i=Im(r.Pb(),11),e=new h1(n.e==(nsR(),nWQ)?i.e:i.g);e.a0&&(this.g=this.ri(this.i+(this.i/8|0)+1),n.Qc(this.g))}function zr(n,t){IW.call(this,nQE,n,t),this.b=this,this.a=ncT(n.Tg(),Bm(this.e.Tg(),this.c))}function zc(n,t){var e,i;for($D(t),i=t.vc().Kc();i.Ob();)e=Im(i.Pb(),42),n.zc(e.cd(),e.dd())}function za(n){var t;if(-2==n.b){if(0==n.e)t=-1;else for(t=0;0==n.a[t];t++);n.b=t}return n.b}function zu(n){switch(n.g){case 2:return nsR(),nWQ;case 4:return nsR(),nWO;default:return n}}function zo(n){switch(n.g){case 1:return nsR(),nWW;case 3:return nsR(),nWA;default:return n}}function zs(n,t){var e;return TX(),jw(n)?Fb(n,Sh(t)):jb(n)?O_(n,Ss(t)):jl(n)?(e=So(t),$D(n),$D(e),TX(),n==e?0:n?1:-1):n.wd(t)}function zh(n,t){t.q=n,n.d=nTp.Math.max(n.d,t.r),n.b+=t.d+(0==n.a.c.length?0:n.c),IE(n.a,t)}function zf(n,t){var e,i,r,c;return r=n.c,e=n.c+n.b,c=n.d,i=n.d+n.a,t.a>r&&t.ac&&t.b=0x7fffffffffffffff?(HD(),nTG):(r=!1,t<0&&(r=!0,t=-t),i=0,t>=nf8&&(i=LU(t/nf8),t-=i*nf8),e=0,t>=nf6&&(e=LU(t/nf6),t-=e*nf6),c=Ez(LU(t),e,i),r&&Xn(c),c))}function zx(n,t){var e,i,r;if(null!=(e=n.Jg())&&n.Mg())for(i=0,r=e.length;i1||n.Ob())return++n.a,n.g=0,t=n.i,n.Ob(),t;throw(new wO).e}function zz(n){var t,e,i;return e=0,(i=n)<0&&(i+=nf8,e=nf4),t=LU(i/nf6),Ez(LU(i-t*nf6),t,e)}function zU(n){var t,e,i;for(i=0,e=new vR(n.a);e.a0||!o&&0==l)||e.Fc(r),(h=r.a[1])&&n(t,e,i,h,c,a,u,o))}(n,e=new wn,t,n.b,null,!1,null,!1),this.a=new Rn(e,0)}function zW(n,t){this.b=n,this.e=t,this.d=t.j,this.f=(mp(),Im(n,66).Oj()),this.k=ncT(t.e.Tg(),n)}function zV(n,t,e){this.b=($D(n),n),this.d=($D(t),t),this.e=($D(e),e),this.c=this.d+""+this.e}function zQ(){this.a=Im(JZ((nab(),nOA)),19).a,this.c=gy(Ss(JZ(nOX))),this.b=gy(Ss(JZ(nOq)))}function zJ(){zJ=C,nWs=X7((nrS(),Um(Dg(nCd,1),nfs,93,0,[nWt,nWn,nWi,nWo,nWu,nWa,nWr,nWc,nWe])))}function zY(){zY=C,nSU=X7((nau(),Um(Dg(nSa,1),nfs,250,0,[nSz,nS_,nSH,nSF,nSq,nSG,nSB,nSK,nSR])))}function zZ(){zZ=C,nPE=new mY("UP",0),nPy=new mY(nbI,1),nPk=new mY(nbg,2),nPj=new mY(nbp,3)}function z1(){z1=C,Df(),nBN=new jU(nvo,nBL=nBQ),xL(),nBA=new jU(nvs,nB$=nB1)}function z0(){z0=C,nLB=new yO("ONE_SIDED",0),nLq=new yO("TWO_SIDED",1),nLH=new yO("OFF",2)}function z2(n){n.r=new w_,n.w=new w_,n.t=new wn,n.i=new wn,n.d=new w_,n.a=new Et,n.c=new wt}function z3(n){this.n=new wn,this.e=new vK,this.j=new vK,this.k=new wn,this.f=new wn,this.p=n}function z4(n,t){n.c&&(na8(n,t,!0),vF(new CN(null,new D6(t,16)),new lC(n))),na8(n,t,!1)}function z5(n,t){var e;return t&&((e=t.Ve()).dc()||(n.q?zc(n.q,e):n.q=new jD(e))),n}function z6(n,t){var e;return void 0===(e=n.a.get(t))?++n.d:(function(n,t){n[nlT].call(n,t)}(n.a,t),--n.c,Li(n.b)),e}function z8(n){var t;return 0>WM(n,0)&&(n=ID(n)),64-(0!=(t=CZ(OK(n,32)))?niI(t):niI(CZ(n))+32)}function z9(n){var t;return t=Im(ntP(n,(nhu(),nDi)),61),n.k==(ntY(),nAz)&&(t==(nsR(),nWQ)||t==nWO)}function z7(n,t,e){var i,r,c,a;i=(a=$N(n)).d,r=a.c,c=n.n,t&&(c.a=c.a-i.b-r.a),e&&(c.b=c.b-i.d-r.b)}function Un(n,t,e,i,r){$t(n.c[t.g],e.g,i),$t(n.c[e.g],t.g,i),$t(n.b[t.g],e.g,r),$t(n.b[e.g],t.g,r)}function Ut(n,t,e,i){return 1==e?(n.n||(n.n=new An(nCR,n,1,7)),Ye(n.n,t,i)):ntQ(n,t,e,i)}function Ue(n,t){var e;return GF(e=new uM,t),_P((n.A||(n.A=new Tv(nQv,n,7)),n.A),e),e}function Ui(n){var t;return(!n.a||(1&n.Bb)==0&&n.a.kh())&&Ti(t=Z9(n),148)&&(n.a=Im(t,148)),n.a}function Ur(n,t){var e,i;for($D(t),i=t.Kc();i.Ob();)if(e=i.Pb(),!n.Hc(e))return!1;return!0}function Uc(n,t){var e,i,r;return e=n.l-t.l,i=n.m-t.m+(e>>22),r=n.h-t.h+(i>>22),Ez(e&nf3,i&nf3,r&nf4)}function Ua(n){var t;return n<128?((t=(Cj(),nTZ)[n])||(t=nTZ[n]=new hF(n)),t):new hF(n)}function Uu(n){var t,e;return Ti(n,78)?n:((t=n&&n.__java$exception)||(e=t=new Wo(n),Lv(),nTx.be(e)),t)}function Uo(n){if(Ti(n,186))return Im(n,118);if(n)return null;throw new gv(nyQ).e}function Us(n,t){if(null==t)return!1;for(;n.a!=n.b;)if(WY(t,Wj(n)))return!0;return!1}function Uh(n){return!!n.a.Ob()||n.a==n.d&&(n.a=new Rt(n.e.f),n.a.Ob())}function Uf(n,t){var e;return 0!=(e=t.Pc()).length&&(IO(n.c,n.c.length,e),!0)}function Ul(n,t){var e;for(e=new h1(n.b);e.a=0,"Negative initial capacity"),IH(t>=0,"Non-positive load factor"),AT(this)}function UH(n,t,e){return!(n>=128)&&(n<64?jv(xi(OR(1,n),e),0):jv(xi(OR(1,n-64),t),0))}function UB(n){var t,e,i;return e=n.n,i=n.o,t=n.d,new Nj(e.a-t.b,e.b-t.d,i.a+(t.b+t.c),i.b+(t.d+t.a))}function Uq(n){var t,e,i;return t=~n.l+1&nf3,e=~n.m+(0==t?1:0)&nf3,i=~n.h+(0==t&&0==e?1:0)&nf4,Ez(t,e,i)}function UG(n,t,e){var i;if(t>(i=n.gc()))throw new Pt(t,i).e;return n.hi()&&(e=Di(n,e)),n.Vh(t,e)}function Uz(n,t,e){return null==e?(n.q||(n.q=new wt),Fv(n.q,t)):(n.q||(n.q=new wt),$J(n.q,t,e)),n}function UU(n,t,e){return null==e?(n.q||(n.q=new wt),Fv(n.q,t)):(n.q||(n.q=new wt),$J(n.q,t,e)),n}function UX(n){var t,e;return z5(e=new Fy,n),UU(e,(GA(),nOJ),n),function(n,t,e){var i,r,c,a,u;for(i=0,c=new Td((n.a||(n.a=new An(nCK,n,10,11)),n.a));c.e!=c.i.gc();)r=Im(J1(c),33),a="",0==(r.n||(r.n=new An(nCR,r,1,7)),r.n).i||(a=Im(BX((r.n||(r.n=new An(nCR,r,1,7)),r.n),0),137).a),z5(u=new $s(a),r),UU(u,(GA(),nOJ),r),u.b=i++,u.d.a=r.i+r.g/2,u.d.b=r.j+r.f/2,u.e.a=nTp.Math.max(r.g,1),u.e.b=nTp.Math.max(r.f,1),IE(t.e,u),neQ(e.f,r,u),Im(nrM(r,(nab(),nOF)),98),nn2()}(n,e,t=new wt),function(n,t,e){var i,r,c,a,u,o,h,f,l,b;for(o=new Td((n.a||(n.a=new An(nCK,n,10,11)),n.a));o.e!=o.i.gc();)for(r=new OM(Tx(nrZ(u=Im(J1(o),33)).a.Kc(),new s));nrc(r);){if((i=Im(K4(r),79)).b||(i.b=new Ph(nCO,i,4,7)),!(i.b.i<=1&&(i.c||(i.c=new Ph(nCO,i,5,8)),i.c.i<=1)))throw new gC("Graph must not contain hyperedges.").e;if(!ni5(i)&&u!=ntr(Im(BX((i.c||(i.c=new Ph(nCO,i,5,8)),i.c),0),82)))for(z5(h=new SX,i),UU(h,(GA(),nOJ),i),l=Im(jh(Lj(e.f,u)),144),h.c=l,b=Im($a(e,ntr(Im(BX((i.c||(i.c=new Ph(nCO,i,5,8)),i.c),0),82))),144),h.d=b,IE(t.c,h),a=new Td((i.n||(i.n=new An(nCR,i,1,7)),i.n));a.e!=a.i.gc();)z5(f=new Kn(h,(c=Im(J1(a),137)).a),c),UU(f,nOJ,c),f.e.a=nTp.Math.max(c.g,1),f.e.b=nTp.Math.max(c.f,1),not(f),IE(t.d,f)}}(n,e,t),e}function UW(n,t){var e,i,r,c;for(c=0,e=!1,i=n.a[t].length;cu)}(n.f,e,i)&&(function(n,t,e){var i,r;ntj(n.e,t,e,(nsR(),nWQ)),ntj(n.i,t,e,nWO),n.a&&(r=Im(ntP(t,(nhu(),nDj)),11),i=Im(ntP(e,nDj),11),xw(n.g,r,i))}(n.f,n.a[t][e],n.a[t][i]),a=(c=n.a[t])[i],c[i]=c[e],c[e]=a,r=!0),r}(n,t,c,r);return e}function UV(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)YZ(n,c,a)||naI(n,c,a,!0,!1)}function UQ(n,t){this.b=n,jW.call(this,(Im(BX(N6(($g(),nQC).o),10),18),t.i),t.g),this.a=(G9(),nQ3)}function UJ(n,t){this.c=n,this.d=t,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function UY(){++nEz,this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function UZ(n,t,e){this.q=new nTp.Date,this.q.setFullYear(n+nf_,t,e),this.q.setHours(0,0,0,0),nu3(this,0)}function U1(){U1=C,n_F=new yF(nwJ,0),n_K=new yF("NODES_AND_EDGES",1),n__=new yF("PREFER_EDGES",2)}function U0(n){var t;if(n<0)return nfg;if(0==n)return 0;for(t=nfu;(t&n)==0;t>>=1);return t}function U2(n){var t,e;return 32==(e=niI(n.h))?32==(t=niI(n.m))?niI(n.l)+32:t+20-10:e-12}function U3(n){var t;return null==(t=n.a[n.b])?null:($t(n.a,n.b,null),n.b=n.b+1&n.a.length-1,t)}function U4(n){var t,e;return t=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,e=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,t||e}function U5(n,t,e){var i,r;return i=new _g(t,e),r=new B,n.b=function n(t,e,i,r){var c,a;return e?(0==(c=t.a.ue(i.d,e.d))?(r.d=SH(e,i.e),r.b=!0):(a=c<0?0:1,e.a[a]=n(t,e.a[a],i,r),gj(e.a[a])&&(gj(e.a[1-a])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):gj(e.a[a].a[a])?e=Gk(e,1-a):gj(e.a[a].a[1-a])&&(e=xU(e,1-a)))),e):i}(n,n.b,i,r),r.b||++n.c,n.b.b=!1,r.d}function U6(n,t,e){var i,r,c,a;for(a=WJ(t,e),c=0,r=a.Kc();r.Ob();)i=Im(r.Pb(),11),$J(n.c,i,Va(c++))}function U8(n){var t,e;for(e=new h1(n.a.b);e.ae&&(e=n[t]);return e}function Xr(n,t,e){var i;return ncC(n,t,i=new wn,(nsR(),nWO),!0,!1),ncC(n,e,i,nWQ,!1,!1),i}function Xc(n,t,e){var i,r;return r=Ra(t,"labels"),function(n,t,e){var i,r,c,a;if(e)for(r=((i=new OP(e.a.length)).b-i.a)*i.c<0?(my(),nhv):new TA(i);r.Ob();)(c=Ru(e,Im(r.Pb(),19).a))&&(a=function(n,t){var e;return pw(),e=new a0,t&&ncd(e,t),q7(e,n),e}(Rs(c,nyM),t),$J(n.f,a,c),nyK in c.a&&q6(a,Rs(c,nyK)),nti(c,a),ne0(c,a))}((i=new kY(n,e)).a,i.b,r),r}function Xa(n,t){var e;for(e=0;e1||t>=0&&n.b<3)}function Xw(n){var t,e;for(t=new dd,e=Jz(n,0);e.b!=e.d.c;)Mq(t,0,new Ee(Im(RP(e),8)));return t}function Xd(n){var t,e;for(t=new h1(n.a.b);t.a=0&&n[i]===t[i];i--);return i<0?0:0>WM(xi(n[i],nlb),xi(t[i],nlb))?-1:1}function XD(n,t){var e,i;return i=Im(zF(n.a,4),126),e=_f(nCW,nkH,415,t,0,1),null!=i&&now(i,0,e,0,i.length),e}function Xx(n,t){var e;return e=new nas((256&n.f)!=0,n.i,n.a,n.d,(16&n.f)!=0,n.j,n.g,t),null!=n.e||(e.c=n),e}function XR(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)if(YZ(n,c,a))return!0;return!1}function XK(n,t,e){var i,r,c,a;for($D(e),a=!1,c=n.Zc(t),r=e.Kc();r.Ob();)i=r.Pb(),c.Rb(i),a=!0;return a}function XF(n,t,e){var i,r;for(r=e.Kc();r.Ob();)if(i=Im(r.Pb(),42),n.re(t,i.dd()))return!0;return!1}function X_(n,t,e){return n.d[t.p][e.p]||(function(n,t,e){var i,r;if(n.e)switch(n.b){case 1:(i=n.c).i=0,i.e=0,t!=e&&Xh(i,t,e);break;case 0:(r=n.c).i=0,r.e=0,t!=e&&Xf(r,t,e)}else RX(n.c,t,e);n.a[t.p][e.p]=n.c.i,n.a[e.p][t.p]=n.c.e}(n,t,e),n.d[t.p][e.p]=!0,n.d[e.p][t.p]=!0),n.a[t.p][e.p]}function XH(n,t){if(!n.ai()&&null==t)throw new gd("The 'no null' constraint is violated").e;return t}function XB(n,t){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),Ga(n,null==t?null:($D(t),t)),n.C&&n.yk(null)}function Xq(n){switch(n.i){case 2:return!0;case 1:return!1;case -1:++n.c;default:return n.pl()}}function XG(n){switch(n.i){case -2:return!0;case -1:return!1;case 1:--n.c;default:return n.ql()}}function Xz(n){L0.call(this,"The given string does not match the expected format for individual spacings.",n)}function XU(){XU=C,nVw=new kH("ELK",0),nVd=new kH("JSON",1),nVb=new kH("DOT",2),nVg=new kH("SVG",3)}function XX(){XX=C,nqu=new kr(nwJ,0),nqo=new kr("RADIAL_COMPACTION",1),nqs=new kr("WEDGE_COMPACTION",2)}function XW(){XW=C,nM1=new mI("CONCURRENT",0),nM0=new mI("IDENTITY_FINISH",1),nM2=new mI("UNORDERED",2)}function XV(){XV=C,vV(),nC9=new jU(nbY,nC7=nC5),nC8=new bR(nbZ),nOn=new bR(nb1),nOt=new bR(nb0)}function XQ(){XQ=C,nNc=new e1,nNa=new e0,nNr=new e2,nNi=new e3,$D(new e4),nNe=new D}function XJ(){XJ=C,n_2=new yG("CONSERVATIVE",0),n_3=new yG("CONSERVATIVE_SOFT",1),n_4=new yG("SLOPPY",2)}function XY(){XY=C,nXZ=new ES(15),nXY=new EM((nha(),nUz),nXZ),nX1=nXr,nXW=nUr,nXV=nUx,nXJ=nUF,nXQ=nUK}function XZ(n,t,e){var i,r;for(i=new vK,r=Jz(e,0);r.b!=r.d.c;)I2(i,new Ee(Im(RP(r),8)));XK(n,t,i)}function X1(n){var t,e;return(n.a||(n.a=new An(nQb,n,9,5)),0!=(t=n.a).i)?(e=Im(BX(t,0),678)).b?e.b:e.a:null}function X0(n,t){var e,i;if(0!=(i=n.c[t]))for(n.c[t]=0,n.d-=i,e=t+1;e0)return OW(t-1,n.a.c.length),Ff(n.a,t-1);throw(new wC).e}function X3(n,t,e){if(n>t)throw new gd(nl_+n+nlH+t).e;if(n<0||t>e)throw new gq(nl_+n+nlB+t+nlA+e).e}function X4(n){if(!n.a||(8&n.a.i)==0)throw new gg("Enumeration class expected for layout option "+n.f).e}function X5(n){var t;++n.j,0==n.i?n.g=null:n.invn?n-e>nvn:e-n>nvn)}function Wr(n,t){return!n||t&&!n.j||Ti(n,124)&&0==Im(n,124).a.b?0:n.Re()}function Wc(n,t){return!n||t&&!n.k||Ti(n,124)&&0==Im(n,124).a.a?0:n.Se()}function Wa(n){return(nc4(),n<0)?-1!=n?new Yn(-1,-n):nMu:n<=10?nMs[LU(n)]:new Yn(1,n)}function Wu(n){throw UF(),new gn("Unexpected typeof result '"+n+"'; please report this bug to the GWT team").e}function Wo(n){gL(),E6(this),Nz(this),this.e=n,nc$(this,n),this.g=null==n?nhN:V7(n),this.a="",this.b=n,this.a=""}function Ws(){this.a=new c4,this.f=new l0(this),this.b=new l2(this),this.i=new l3(this),this.e=new l4(this)}function Wh(){dZ.call(this,new _p(Bv(16))),qz(2,nhV),this.b=2,this.a=new $z(null,null,0,null),ww(this.a,this.a)}function Wf(){Wf=C,n_w=new yL("DUMMY_NODE_OVER",0),n_d=new yL("DUMMY_NODE_UNDER",1),n_g=new yL("EQUAL",2)}function Wl(){Wl=C,nAj=L4(Um(Dg(nCs,1),nfs,103,0,[(W2(),nXP),nXI])),nAE=L4(Um(Dg(nCs,1),nfs,103,0,[nXO,nXS]))}function Wb(n){return(nsR(),nWB).Hc(n.j)?gy(Ss(ntP(n,(nhu(),nD_)))):Xt(Um(Dg(nCc,1),nhQ,8,0,[n.i.n,n.n,n.a])).b}function Ww(n,t){var e,i;e=n.nk(t,null),i=null,t&&(pg(),B1(i=new wr,n.r)),(e=ntl(n,i,e))&&e.Fi()}function Wd(n,t){var e,i,r;return i=!1,e=t.q.d,t.dr&&(nnx(t.q,r),i=e!=t.q.d)),i}function Wg(n,t){var e,i,r,c,a,u,o;return u=t.i,o=t.j,i=(e=n.f).i,r=e.j,c=u-i,a=o-r,nTp.Math.sqrt(c*c+a*a)}function Wp(n,t){var e;return(e=Js(n))||(nVR||(nVR=new ub),noC(),_P((e=new b4(function n(t){var e,i,r,c,a,u,o;return(noC(),e=-1==(r=jZ(t,ntd(35)))?t:t.substr(0,r),i=-1==r?null:t.substr(r+1),a=nV0,c=Im(null==e?jh(Lj(a.f,null)):mT(a.g,e),281))?null!=i&&(c=Xx(c,($D(i),i))):(c=function(t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d;if(u=!0,l=null,r=null,c=null,e=!1,w=nVZ,h=null,a=null,(s=JL(t,o=0,nV7,nQn))=0&&Pv(t.substr(o,2),"//")?(o+=2,s=JL(t,o,nQt,nQe),r=t.substr(o,s-o),o=s):null!=l&&(o==t.length||(D5(o,t.length),47!=t.charCodeAt(o)))&&(u=!1,-1==(s=T3(t,ntd(35),o))&&(s=t.length),r=t.substr(o,s-o),o=s);if(!i&&o0&&58==$9(f,f.length-1)&&(c=f,o=s)),o0&&(D5(0,i.length),47!=i.charCodeAt(0))))throw new gd("invalid opaquePart: "+i).e;if(t&&!(null!=e&&vA(nV1,e.toLowerCase()))&&!(null==i||!Qi(i,nQt,nQe))||t&&null!=e&&vA(nV1,e.toLowerCase())&&!function(t){var e;if(null!=t&&t.length>0&&33==$9(t,t.length-1))try{return e=n(MT(t,0,t.length-1)),null==e.e}catch(n){if(!Ti(n=Uu(n),32))throw n.e}return!1}(i))throw new gd(nkU+i).e;if(!(null==r||(u=r.length)>0&&(D5(u-1,r.length),58==r.charCodeAt(u-1))&&!Qi(r,nQt,nQe)))throw new gd("invalid device: "+r).e;if(!function(n){var t,e;if(null==n)return!1;for(t=0,e=n.length;t=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}function W$(n){var t,e,i,r;if(null!=n){for(e=0;e0&&XP(Im(CA(n.a,n.a.c.length-1),570),t)||IE(n.a,new KH(t))}function WB(n){var t;return t=new gX,t.a+="VerticalSegment ",jS(t,n.e),t.a+=" ",jP(t,TD(new g_,new h1(n.k))),t.a}function Wq(n){var t;return(64&n.Db)!=0?nrL(n):(t=new TW(nrL(n)),t.a+=" (name: ",jT(t,n.zb),t.a+=")",t.a)}function WG(n,t,e){var i,r;return r=n.sb,n.sb=t,(4&n.Db)!=0&&(1&n.Db)==0&&(i=new O9(n,1,4,r,t),e?e.Ei(i):e=i),e}function Wz(n,t){var e,i;for(e=0,i=V_(n,t).Kc();i.Ob();)e+=null!=ntP(Im(i.Pb(),11),(nhu(),nDO))?1:0;return e}function WU(n,t,e){var i,r,c;for(i=0,c=Jz(n,0);c.b!=c.d.c&&!((r=gy(Ss(RP(c))))>e);)r>=t&&++i;return i}function WX(n,t,e){var i,r;return r=n.r,n.r=t,(4&n.Db)!=0&&(1&n.Db)==0&&(i=new O9(n,1,8,r,n.r),e?e.Ei(i):e=i),e}function WW(n,t){var e,i;return(i=(e=Im(t,676)).vk())||e.wk(i=Ti(t,88)?new jt(n,Im(t,26)):new x$(n,Im(t,148))),i}function WV(n,t,e){var i;n.qi(n.i+1),i=n.oi(t,e),t!=n.i&&now(n.g,t,n.g,t+1,n.i-t),$t(n.g,t,i),++n.i,n.bi(t,e),n.ci()}function WQ(n,t){var e;return(e=new nu,n.a.sd(e))?(Tl(),new ge($D(Hw(n,e.a,t)))):($R(n),Tl(),Tl(),nMC)}function WJ(n,t){switch(t.g){case 2:case 1:return V_(n,t);case 3:case 4:return zI(V_(n,t))}return NV(),NV(),nMp}function WY(n,t){return jw(n)?Pv(n,t):jb(n)?Pp(n,t):jl(n)?($D(n),jf(n)===jf(t)):Ok(n)?n.Fb(t):Ot(n)?jf(n)===jf(t):xf(n,t)}function WZ(n,t){var e;0!=n.c.length&&(j9(e=Im(JD(n,_f(nPW,nw8,10,n.c.length,0,1)),193),new eo),niC(e,t))}function W1(n,t){var e;0!=n.c.length&&(j9(e=Im(JD(n,_f(nPW,nw8,10,n.c.length,0,1)),193),new es),niC(e,t))}function W0(n,t,e,i){switch(t){case 1:return n.n||(n.n=new An(nCR,n,1,7)),n.n;case 2:return n.k}return ZT(n,t,e,i)}function W2(){W2=C,nXC=new ky(nbk,0),nXI=new ky(nbp,1),nXP=new ky(nbg,2),nXS=new ky(nbI,3),nXO=new ky("UP",4)}function W3(){W3=C,nAF=new m3(nwJ,0),nAK=new m3("INSIDE_PORT_SIDE_GROUPS",1),nAR=new m3("FORCE_MODEL_ORDER",2)}function W4(n,t,e){if(n<0||t>e)throw new gu(nl_+n+nlB+t+", size: "+e).e;if(n>t)throw new gd(nl_+n+nlH+t).e}function W5(n,t,e){if(t<0)nic(n,e);else{if(!e.Ij())throw new gd(nm7+e.ne()+nyn).e;Im(e,66).Nj().Vj(n,n.yh(),t)}}function W6(n,t,e,i,r,c){this.e=new wn,this.f=(qF(),n_X),IE(this.e,n),this.d=t,this.a=e,this.b=i,this.f=r,this.c=c}function W8(n,t){var e,i;for(i=new Td(n);i.e!=i.i.gc();)if(e=Im(J1(i),26),jf(t)===jf(e))return!0;return!1}function W9(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function W7(n){var t;return(64&n.Db)!=0?nrL(n):(t=new TW(nrL(n)),t.a+=" (source: ",jT(t,n.d),t.a+=")",t.a)}function Vn(n,t){var e;e=(256&n.Bb)!=0,t?n.Bb|=256:n.Bb&=-257,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,2,e,t))}function Vt(n,t){var e;e=(256&n.Bb)!=0,t?n.Bb|=256:n.Bb&=-257,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,8,e,t))}function Ve(n,t){var e;e=(256&n.Bb)!=0,t?n.Bb|=256:n.Bb&=-257,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,8,e,t))}function Vi(n,t){var e;e=(512&n.Bb)!=0,t?n.Bb|=512:n.Bb&=-513,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,3,e,t))}function Vr(n,t){var e;e=(512&n.Bb)!=0,t?n.Bb|=512:n.Bb&=-513,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,9,e,t))}function Vc(n,t){var e;return -1==n.b&&n.a&&(e=n.a.Gj(),n.b=e?n.c.Xg(n.a.aj(),e):Qj(n.c.Tg(),n.a)),n.c.Og(n.b,t)}function Va(n){var t,e;return n>-129&&n<128?(t=n+128,(e=(Cu(),nT1)[t])||(e=nT1[t]=new hH(n)),e):new hH(n)}function Vu(n){var t,e;return n>-129&&n<128?(t=n+128,(e=(Ck(),nT8)[t])||(e=nT8[t]=new hq(n)),e):new hq(n)}function Vo(n){var t;return n.k==(ntY(),nAz)&&((t=Im(ntP(n,(nhu(),nDi)),61))==(nsR(),nWA)||t==nWW)}function Vs(n,t,e){var i,r;return(r=nrR(n.b,t))&&(i=Im(noI(HI(n,r),""),26))?nrO(n,i,t,e):null}function Vh(n,t){var e,i;for(i=new Td(n);i.e!=i.i.gc();)if(e=Im(J1(i),138),jf(t)===jf(e))return!0;return!1}function Vf(n,t,e){var i;if(t>(i=n.gc()))throw new Pt(t,i).e;if(n.hi()&&n.Hc(e))throw new gd(ny1).e;n.Xh(t,e)}function Vl(n){var t,e;for(e=n.p.a.ec().Kc();e.Ob();)if((t=Im(e.Pb(),213)).f&&n.b[t.c]<-.0000000001)return t;return null}function Vb(n,t){switch(n.b.g){case 0:case 1:return t;case 2:case 3:return new Nj(t.d,0,t.a,t.b);default:return null}}function Vw(n){switch(n.g){case 2:return nXI;case 1:return nXP;case 4:return nXS;case 3:return nXO;default:return nXC}}function Vd(n){switch(n.g){case 1:return nWQ;case 2:return nWA;case 3:return nWO;case 4:return nWW;default:return nWV}}function Vg(n){switch(n.g){case 1:return nWW;case 2:return nWQ;case 3:return nWA;case 4:return nWO;default:return nWV}}function Vp(n){switch(n.g){case 1:return nWO;case 2:return nWW;case 3:return nWQ;case 4:return nWA;default:return nWV}}function Vv(n,t){return nt?1:n==t?0==n?Vv(1/n,1/t):0:isNaN(n)?isNaN(t)?0:1:-1}function Vm(n,t,e){var i,r;return n.ej()?(r=n.fj(),i=niS(n,t,e),n.$i(n.Zi(7,Va(e),i,t,r)),i):niS(n,t,e)}function Vy(n,t){var e,i,r,c;null==n.d?(++n.e,--n.f):(r=t.cd(),i=((e=t.Sh())&nhT)%n.d.length,c=nrx(n,i,e,r),++n.e,--n.f,Im(n.d[i].$c(c),133).dd())}function Vk(n,t){var e;e=(n.Bb&nyg)!=0,t?n.Bb|=nyg:n.Bb&=-1025,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,10,e,t))}function Vj(n,t){var e;e=(n.Bb&nla)!=0,t?n.Bb|=nla:n.Bb&=-4097,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,12,e,t))}function VE(n,t){var e;e=(n.Bb&nk9)!=0,t?n.Bb|=nk9:n.Bb&=-8193,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,15,e,t))}function VT(n,t){var e;e=(n.Bb&nk7)!=0,t?n.Bb|=nk7:n.Bb&=-2049,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new Fi(n,1,11,e,t))}function VM(n,t){var e,i,r,c;for(i=new h1(t);i.a>10)+nls&nfP,t[1]=(1023&n)+56320&nfP,Je(t,0,t.length)}function VA(n){var t;return(t=Im(ntP(n,(ns8(),nKj)),103))==(W2(),nXC)?gy(Ss(ntP(n,nR7)))>=1?nXI:nXS:t}function V$(n){if(n.c)V$(n.c);else if(n.d)throw new gg("Stream already terminated, can't be modified or used").e}function VN(n){var t;return(64&n.Db)!=0?nrL(n):(t=new TW(nrL(n)),t.a+=" (identifier: ",jT(t,n.k),t.a+=")",t.a)}function VL(n,t,e){var i;return pw(),qc(i=new aY,t),qa(i,e),n&&_P((n.a||(n.a=new Tg(nCP,n,5)),n.a),i),i}function VD(n,t,e,i){var r,c,a,u;return $D(i),$D(e),null==(c=null==(r=n.xc(t))?e:(a=Im(r,15),u=Im(e,14),a.Gc(u),a))?n.Bc(t):n.zc(t,c),c}function Vx(n){var t,e,i,r;return Gv(e=new PR(t=Im(pf((r=(i=n.gm).f)==nE0?i:r),9),Im(Sz(t,t.length),9),0),n),e}function VR(n,t){var e;return j4(n)&&j4(t)&&nf7<(e=n-t)&&e>22),u=i.h+r.h+(a>>22),Ez(c&nf3,a&nf3,u&nf4)))}function VF(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;return j4(n)&&j4(t)&&nf7<(e=n*t)&&e>13|(15&i.m)<<9,u=i.m>>4&8191,o=i.m>>17|(255&i.h)<<5,s=(1048320&i.h)>>8,h=8191&r.l,f=r.l>>13|(15&r.m)<<9,l=r.m>>4&8191,b=r.m>>17|(255&r.h)<<5,w=(1048320&r.h)>>8,v=c*h,m=a*h,y=u*h,k=o*h,j=s*h,0!=f&&(m+=c*f,y+=a*f,k+=u*f,j+=o*f),0!=l&&(y+=c*l,k+=a*l,j+=u*l),0!=b&&(k+=c*b,j+=a*b),0!=w&&(j+=c*w),d=(v&nf3)+((511&m)<<13),g=(v>>22)+(m>>9)+((262143&y)<<4)+((31&k)<<17),p=(y>>18)+(k>>5)+((4095&j)<<8),g+=d>>22,d&=nf3,p+=g>>22,Ez(d,g&=nf3,p&=nf4)))}function V_(n,t){var e;return n.i||nii(n),(e=Im($6(n.g,t),46))?new D2(n.j,Im(e.a,19).a,Im(e.b,19).a):(NV(),NV(),nMp)}function VH(n,t,e){var i;return i=n.a.get(t),n.a.set(t,void 0===e?null:e),void 0===i?(++n.c,Li(n.b)):++n.d,i}function VB(){var n,t,e;nn7(),e=nML+++Date.now(),n=LU(nTp.Math.floor(e*nlI))&nlO,t=LU(e-n*nlC),this.a=1502^n,this.b=t^nlP}function Vq(n){var t,e;for(t=new wn,e=new h1(n.j);e.a>1&1431655765,n=((n=(n>>2&858993459)+(858993459&n))>>4)+n&252645135,n+=n>>8,63&(n+=n>>16)}function VX(n){var t,e,i,r,c;for(t=new SK(n.Hd().gc()),r=0,i=_B(n.Hd().Kc());i.Ob();)e=i.Pb(),c=Va(r++),IE(t.a,($1(),Yq(e,c),new vw(e,c)));return function(n){var t,e,i;switch($1(),n.c.length){case 0:return nTI;case 1:return e=(t=Im(nit(new h1(n)),42)).cd(),i=t.dd(),$1(),Yq(e,i),new $X(e,i);default:return new d4(Im(JD(n,_f(nEZ,nh9,42,n.c.length,0,1)),165))}}(t.a)}function VW(n,t){0==n.n.c.length&&IE(n.n,new LZ(n.s,n.t,n.i)),IE(n.b,t),YJ(Im(CA(n.n,n.n.c.length-1),211),t),nuH(n,t)}function VV(n){return(n.c!=n.b.b||n.i!=n.g.b)&&(n.a.c=_f(nEU,nhO,1,0,5,1),Uf(n.a,n.b),Uf(n.a,n.g),n.c=n.b.b,n.i=n.g.b),n.a}function VQ(n,t){var e,i;for(i=0,e=Im(t.Kb(n),20).Kc();e.Ob();)gm(So(ntP(Im(e.Pb(),17),(nhu(),nDD))))||++i;return i}function VJ(){VJ=C,nDQ=new yR(nwJ,0),nDU=new yR("FIRST",1),nDX=new yR(ndm,2),nDW=new yR("LAST",3),nDV=new yR(ndy,4)}function VY(){VY=C,nXF=new kj(nbk,0),nXR=new kj("POLYLINE",1),nXx=new kj("ORTHOGONAL",2),nXK=new kj("SPLINES",3)}function VZ(){VZ=C,nqX=new ku("ASPECT_RATIO_DRIVEN",0),nqW=new ku("MAX_SCALE_DRIVEN",1),nqU=new ku("AREA_DRIVEN",2)}function V1(){V1=C,nGE=new ks("P1_STRUCTURE",0),nGT=new ks("P2_PROCESSING_ORDER",1),nGM=new ks("P3_EXECUTION",2)}function V0(){V0=C,nqe=new ke("OVERLAP_REMOVAL",0),nqn=new ke("COMPACTION",1),nqt=new ke("GRAPH_SIZE_CALCULATION",2)}function V2(n,t){return ED(),qR(nfd),nTp.Math.abs(n-t)<=nfd||n==t||isNaN(n)&&isNaN(t)?0:nt?1:j1(isNaN(n),isNaN(t))}function V3(n,t){var e,i;for(e=Jz(n,0);e.b!=e.d.c;){if($D(i=Ss(RP(e))),i==t)return;if(i>t){xK(e);break}}AK(e,t)}function V4(n,t){var e,i,r,c,a;if(e=t.f,JR(n.c.d,e,t),null!=t.g)for(r=t.g,c=0,a=r.length;c>>0).toString(16):n.toString()}function Qn(n){var t;this.a=new PR(t=Im(n.e&&n.e(),9),Im(Sz(t,t.length),9),0),this.b=_f(nEU,nhO,1,this.a.a.length,5,1)}function Qt(n){var t,e,i;for(this.a=new j7,i=new h1(n);i.a0&&(i+=r,++e);return e>1&&(i+=n.d*(e-1)),i}function Qc(n){var t,e,i;for(i=new gz,i.a+="[",t=0,e=n.gc();t0&&this.b>0&&CK(this.c,this.b,this.a)}function Qs(n){QS(),this.c=Fs(Um(Dg(nCn,1),nhO,831,0,[n_r])),this.b=new wt,this.a=n,$J(this.b,n_c,1),BR(n_a,new bi(this))}function Qh(n,t){var e;return n.d?Au(n.b,t)?Im($a(n.b,t),51):(e=t.Kf(),$J(n.b,t,e),e):t.Kf()}function Qf(n,t){var e;return jf(n)===jf(t)||!!Ti(t,91)&&(e=Im(t,91),n.e==e.e&&n.d==e.d&&function(n,t){var e;for(e=n.d-1;e>=0&&n.a[e]===t[e];e--);return e<0}(n,e.a))}function Ql(n){switch(nsR(),n.g){case 4:return nWA;case 1:return nWO;case 3:return nWW;case 2:return nWQ;default:return nWV}}function Qb(n,t){switch(t){case 3:return 0!=n.f;case 4:return 0!=n.g;case 5:return 0!=n.i;case 6:return 0!=n.j}return zB(n,t)}function Qw(n){switch(n.g){case 0:return new cX;case 1:return new cQ;default:throw new gd(ndg+(null!=n.f?n.f:""+n.g)).e}}function Qd(n){switch(n.g){case 0:return new dq;case 1:return new dw;default:throw new gd(nvV+(null!=n.f?n.f:""+n.g)).e}}function Qg(n,t,e){var i,r;for(r=n.Kc();r.Ob();)if(i=r.Pb(),jf(t)===jf(i)||null!=t&&WY(t,i))return e&&r.Qb(),!0;return!1}function Qp(n,t,e){var i,r;if(++n.j,e.dc())return!1;for(r=e.Kc();r.Ob();)i=r.Pb(),n.Hi(t,n.oi(t,i)),++t;return!0}function Qv(n,t){var e;if(!t)return!1;for(e=0;eu.d&&(h=u.d+u.a+s));e.c.d=h,t.a.zc(e,t),o=nTp.Math.max(o,e.c.d+e.c.a)}return o}(n),vF(new CN(null,new D6(n.d,16)),new fM(n)),t}function Qk(n){var t;return(64&n.Db)!=0?Wq(n):(t=new TW(Wq(n)),t.a+=" (instanceClassName: ",jT(t,n.D),t.a+=")",t.a)}function Qj(n,t){var e,i,r;if(null==n.i&&nuq(n),e=n.i,-1!=(i=t.aj())){for(r=e.length;i>1,this.k=t-1>>1}function Q$(n){var t,e,i,r;for(e=0,r=0,i=n.length;e0&&(t.lengthn.i&&$t(t,n.i,null),t}function QL(n,t,e){var i,r,c;return n.ej()?(i=n.i,c=n.fj(),WV(n,i,t),r=n.Zi(3,null,t,i,c),e?e.Ei(r):e=r):WV(n,n.i,t),e}function QD(n){var t;return SE(),t=new Ee(Im(n.e.We((nha(),nUF)),8)),n.B.Hc((na9(),nVn))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function Qx(n){return Yp(),(n.q?n.q:(NV(),NV(),nMv))._b((ns8(),nFi))?Im(ntP(n,nFi),197):Im(ntP($N(n),nFr),197)}function QR(n,t){var e,i;return i=null,MB(n,(ns8(),nFz))&&(e=Im(ntP(n,nFz),94)).Xe(t)&&(i=e.We(t)),null==i&&(i=ntP($N(n),t)),i}function QK(n,t){var e,i,r;return!!Ti(t,42)&&(i=(e=Im(t,42)).cd(),$A(r=WK(n.Rc(),i),e.dd())&&(null!=r||n.Rc()._b(i)))}function QF(n,t){var e,i;return n.f>0&&(n.qj(),i=((e=null==t?0:Xg(t))&nhT)%n.d.length,-1!=nrx(n,i,e,t))}function Q_(n,t){var e,i,r;return n.f>0&&(n.qj(),r=((i=null==t?0:Xg(t))&nhT)%n.d.length,e=niA(n,r,i,t))?e.dd():null}function QH(n,t){var e,i,r,c;for(r=0,c=ncT(n.e.Tg(),t),e=Im(n.g,119);r>5,t&=31,function(n,t,e,i){var r,c,a;if(0==i)now(t,0,n,e,n.length-e);else for(a=32-i,n[n.length-1]=0,c=n.length-1;c>e;c--)n[c]|=t[c-e-1]>>>a,n[c-1]=t[c-e-1]<=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function Q3(n,t,e){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.ue(t,c.d),e&&0==i)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function Q4(n,t,e,i,r){var c,a,u;for(a=r;t.b!=t.c;)c=Im(Al(t),10),u=Im(V_(c,i).Xb(0),11),n.d[u.p]=a++,e.c[e.c.length]=u;return a}function Q5(n,t,e){var i,r,c,a,u;return a=n.k,u=t.k,r=Ss(QR(n,i=e[a.g][u.g])),c=Ss(QR(t,i)),nTp.Math.max(($D(r),r),($D(c),c))}function Q6(n,t,e){var i,r,c;for(r=Im($a(n.b,e),177),i=0,c=new h1(t.j);c.at?1:j1(isNaN(n),isNaN(t)))<0}function Jn(n,t){return ED(),ED(),qR(nfd),(nTp.Math.abs(n-t)<=nfd||n==t||isNaN(n)&&isNaN(t)?0:nt?1:j1(isNaN(n),isNaN(t)))<=0}function Jt(n,t){for(var e=0;!t[e]||""==t[e];)e++;for(var i=t[e++];enlf)return e.fh();if((i=e.Zg())||e==n)break}return i}function Jh(n){return(Dl(),Ti(n,156))?Im($a(nVX,nTb),288).vg(n):Au(nVX,Xp(n))?Im($a(nVX,Xp(n)),288).vg(n):null}function Jf(n,t){return n.e>t.e?1:n.et.d?n.e:n.d=48&&n<48+nTp.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function Jb(n,t){var e;return jf(t)===jf(n)||!!Ti(t,21)&&(e=Im(t,21)).gc()==n.gc()&&n.Ic(e)}function Jw(n){switch(n.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function Jd(n,t){if(n.a<0)throw new gg("Did not call before(...) or after(...) before calling add(...).").e;return Mf(n,n.a,t),n}function Jg(n,t,e){var i;(n.Db&t)!=0?null==e?function(n,t){var e,i,r,c,a,u,o;if(1==(i=VU(254&n.Db)))n.Eb=null;else if(c=BJ(n.Eb),2==i)r=Zn(n,t),n.Eb=c[0==r?1:0];else{for(e=2,a=_f(nEU,nhO,1,i-1,5,1),u=0,o=0;e<=128;e<<=1)e==t?++u:(n.Db&e)!=0&&(a[o++]=c[u++]);n.Eb=a}n.Db&=~t}(n,t):-1==(i=Zn(n,t))?n.Eb=e:$t(BJ(n.Eb),i,e):null!=e&&function(n,t,e){var i,r,c,a,u,o;if(0==(r=VU(254&n.Db)))n.Eb=e;else{if(1==r)a=_f(nEU,nhO,1,2,5,1),0==Zn(n,t)?(a[0]=e,a[1]=n.Eb):(a[0]=n.Eb,a[1]=e);else for(i=2,a=_f(nEU,nhO,1,r+1,5,1),c=BJ(n.Eb),u=0,o=0;i<=128;i<<=1)i==t?a[o++]=e:(n.Db&i)!=0&&(a[o++]=c[u++]);n.Eb=a}n.Db|=t}(n,t,e)}function Jp(n){var t;return(32&n.Db)==0&&0!=(t=AW(Im(zF(n,16),26)||n.zh())-AW(n.zh()))&&Jg(n,32,_f(nEU,nhO,1,t,5,1)),n}function Jv(n,t,e){t.b=nTp.Math.max(t.b,-e.a),t.c=nTp.Math.max(t.c,e.a-n.a),t.d=nTp.Math.max(t.d,-e.b),t.a=nTp.Math.max(t.a,e.b-n.b)}function Jm(n,t){return $D(n),null!=t&&(!!Pv(n,t)||n.length==t.length&&Pv(n.toLowerCase(),t.toLowerCase()))}function Jy(n){var t,e;return WM(n,-129)>0&&0>WM(n,128)?(t=CZ(n)+128,(e=(Cy(),nT2)[t])||(e=nT2[t]=new hB(n)),e):new hB(n)}function Jk(n,t){var e,i;return(e=t.Hh(n.a))&&null!=(i=Sh(Q_((e.b||(e.b=new M2((nhl(),nQV),nQj,e)),e.b),nyV)))?i:t.ne()}function Jj(n,t,e){this.c=n,this.f=new wn,this.e=new ps,this.j=new CE,this.n=new CE,this.b=t,this.g=new Nj(t.c,t.d,t.b,t.a),this.a=e}function JE(n){var t,e,i;for(e=0,this.a=new j7,this.d=new w_,this.e=0,i=n.length;ek&&(b.c=k-b.b),IE(j.d,new Or(b,Vb(j,b))),p=t==nWA?nTp.Math.max(p,w.b+o.b.rf().b):nTp.Math.min(p,w.b));for(p+=t==nWA?n.t:-n.t,(v=Qy((j.e=p,j)))>0&&(Im($6(n.b,t),124).a.b=v),s=f.Kc();s.Ob();)(o=Im(s.Pb(),111)).c&&!(o.c.d.c.length<=0)&&(b=o.c.i,b.c-=o.e.a,b.d-=o.e.b)}(n,t):nsA(n,t):n.u.Hc(nWP)&&(e?function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if(2>=(s=Im(Im(Fl(n.r,t),21),84)).gc()||t==(nsR(),nWO)||t==(nsR(),nWQ)){nsU(n,t);return}for(w=n.u.Hc((nis(),nWI)),e=t==(nsR(),nWA)?(zZ(),nPE):(zZ(),nPy),g=t==nWA?(H$(),nS0):(H$(),nS3),p=P9(e),v=n.s,p.a=v,d=t==nWA?nlr:nlc,o=s.Kc();o.Ob();)(a=Im(o.Pb(),111)).c&&!(a.c.d.c.length<=0)&&(b=a.b.rf(),l=a.e,(f=(h=a.c).i).b=(r=h.n,h.e.a+r.b+r.c),f.a=(c=h.n,h.e.b+c.d+c.a),w?(f.c=l.a-(i=h.n,h.e.a+i.b+i.c)-n.s,w=!1):f.c=l.a+b.a+n.s,Lk(g,nbv),h.f=g,_I(h,(_1(),nSZ)),IE(p.d,new Or(f,Vb(p,f))),d=t==nWA?nTp.Math.min(d,l.b):nTp.Math.max(d,l.b+a.b.rf().b));for(d+=t==nWA?-n.t:n.t,Qy((p.e=d,p)),u=s.Kc();u.Ob();)(a=Im(u.Pb(),111)).c&&!(a.c.d.c.length<=0)&&(f=a.c.i,f.c-=a.e.a,f.d-=a.e.b)}(n,t):nsU(n,t))}function JO(n,t){var e,i;if(++n.j,null!=t&&function(n,t){var e,i,r;if(jf(n)===jf(t))return!0;if(null==n||null==t||n.length!=t.length)return!1;for(e=0;e=(r=n.length))return r;for(t=t>0?t:0;ti&&$t(t,i,null),t}function Jx(n,t){var e,i;for(i=n.a.length,t.lengthi&&$t(t,i,null),t}function JR(n,t,e){var i,r,c;return(r=Im($a(n.e,t),387))?(c=SH(r,e),Tr(n,r),c):(i=new IC(n,t,e),$J(n.e,t,i),LB(i),null)}function JK(n){return(nc4(),0>WM(n,0))?0!=WM(n,-1)?new nnH(-1,Hl(n)):nMu:0>=WM(n,10)?nMs[CZ(n)]:new nnH(1,n)}function JF(){return nhf(),Um(Dg(nSg,1),nfs,159,0,[nPw,nPb,nPd,nPc,nPr,nPa,nPs,nPo,nPu,nPl,nPf,nPh,nPe,nPt,nPi,nS7,nS9,nPn,nS6,nS5,nS8,nPg])}function J_(n){var t;this.d=new wn,this.j=new ps,this.g=new ps,t=n.g.b,this.f=Im(ntP($N(t),(ns8(),nKj)),103),this.e=gy(Ss(JQ(t,nFU)))}function JH(n){this.b=new wn,this.e=new wn,this.d=n,this.a=!pL(Nb(new CN(null,new A$(new Fm(n.b))),new fe(new rr))).sd((vQ(),nM4))}function JB(){JB=C,nzT=new kb("PARENTS",0),nzE=new kb("NODES",1),nzk=new kb("EDGES",2),nzM=new kb("PORTS",3),nzj=new kb("LABELS",4)}function Jq(){Jq=C,nWl=new kP("DISTRIBUTED",0),nWw=new kP("JUSTIFIED",1),nWh=new kP("BEGIN",2),nWf=new kP(nbb,3),nWb=new kP("END",4)}function JG(n){switch(n.g){case 1:return W2(),nXO;case 4:return W2(),nXP;case 2:return W2(),nXI;case 3:return W2(),nXS}return W2(),nXC}function Jz(n,t){var e,i;if(DC(t,n.b),t>=n.b>>1)for(i=n.c,e=n.b;e>t;--e)i=i.b;else for(e=0,i=n.a.a;e=64&&t<128&&(r=xr(r,OR(1,t-64)));return r}function JQ(n,t){var e,i;return i=null,MB(n,(nha(),nXg))&&(e=Im(ntP(n,nXg),94)).Xe(t)&&(i=e.We(t)),null==i&&$N(n)&&(i=ntP($N(n),t)),i}function JJ(n,t){var e,i,r;(i=(r=t.d.i).k)!=(ntY(),nAW)&&i!=nAG&&nrc(e=new OM(Tx(Vz(r).a.Kc(),new s)))&&$J(n.k,t,Im(K4(e),17))}function JY(n,t){var e,i,r;return i=Bm(n.Tg(),t),(e=t-n.Ah())<0?(r=n.Yg(i))>=0?n.lh(r):niE(n,i):e<0?niE(n,i):Im(i,66).Nj().Sj(n,n.yh(),e)}function JZ(n){var t;if(!Ti(n.a,4))return n.a;if(null==(t=Jh(n.a)))throw new gg(nmb+n.b+"'. "+nms+(Su(nCX),nCX.k)+nmh).e;return t}function J1(n){var t;try{return t=n.i.Xb(n.e),n.mj(),n.g=n.e++,t}catch(t){if(Ti(t=Uu(t),73))throw n.mj(),(new wO).e;throw t.e}}function J0(n){var t;try{return t=n.c.ki(n.e),n.mj(),n.g=n.e++,t}catch(t){if(Ti(t=Uu(t),73))throw n.mj(),(new wO).e;throw t.e}}function J2(){J2=C,nha(),nOb=nXl,nOu=nUv,nOe=nUi,nOo=nUz,nnt(),nOf=nSN,nOh=nSA,nOl=nSD,nOs=nSO,XV(),nOr=nC9,nOi=nC8,nOc=nOn,nOa=nOt}function J3(n){switch(v3(),this.c=new wn,this.d=n,n.g){case 0:case 2:this.a=$Y(nAD),this.b=nlr;break;case 3:case 1:this.a=nAD,this.b=nlc}}function J4(n,t,e){var i;t.a.length>0&&(IE(n.b,new IT(t.a,e)),0<(i=t.a.length)?t.a=t.a.substr(0,0):0>i&&(t.a+=Te(_f(nYA,nfM,25,-i,15,1))))}function J5(n,t){var e,i,r;for(e=n.o,r=Im(Im(Fl(n.r,t),21),84).Kc();r.Ob();)(i=Im(r.Pb(),111)).e.a=function(n,t){var e;return(e=n.b).Xe((nha(),nU4))?e.Hf()==(nsR(),nWQ)?-e.rf().a-gy(Ss(e.We(nU4))):t+gy(Ss(e.We(nU4))):e.Hf()==(nsR(),nWQ)?-e.rf().a:t}(i,e.a),i.e.b=e.b*gy(Ss(i.b.We(nPm)))}function J6(n){var t;return t=new gX,t.a+="n",n.k!=(ntY(),nAW)&&jP(jP((t.a+="(",t),MP(n.k).toLowerCase()),")"),jP((t.a+="_",t),Zk(n)),t.a}function J8(n,t,e,i){var r;return e>=0?n.hh(t,e,i):(n.eh()&&(i=(r=n.Vg())>=0?n.Qg(i):n.eh().ih(n,-1-r,null,i)),n.Sg(t,e,i))}function J9(n,t){switch(t){case 7:n.e||(n.e=new Ph(nCA,n,7,4)),noK(n.e);return;case 8:n.d||(n.d=new Ph(nCA,n,8,5)),noK(n.d);return}QM(n,t)}function J7(n,t){var e;e=n.Zc(t);try{return e.Pb()}catch(n){if(Ti(n=Uu(n),109))throw new gu("Can't get element "+t).e;throw n.e}}function Yn(n,t){(this.e=n,t=0&&(e.d=n.t);break;case 3:n.t>=0&&(e.a=n.t)}n.C&&(e.b=n.C.b,e.c=n.C.c)}function Yr(){Yr=C,nPS=new mz(nbO,0),nPM=new mz(nbA,1),nPP=new mz(nb$,2),nPI=new mz(nbN,3),nPS.a=!1,nPM.a=!0,nPP.a=!1,nPI.a=!0}function Yc(){Yc=C,nC0=new mG(nbO,0),nC1=new mG(nbA,1),nC2=new mG(nb$,2),nC3=new mG(nbN,3),nC0.a=!1,nC1.a=!0,nC2.a=!1,nC3.a=!0}function Ya(n,t){return jw(n)?!!nTE[t]:n.hm?!!n.hm[t]:jb(n)?!!nTj[t]:!!jl(n)&&!!nTk[t]}function Yu(n,t,e){return null==e?(n.o||(n.o=new _x((nsZ(),nVO),nCB,n,0)),Ja(n.o,t)):(n.o||(n.o=new _x((nsZ(),nVO),nCB,n,0)),nnb(n.o,t,e)),n}function Yo(n,t,e,i){var r,c,a;return c=Bm(n.Tg(),t),(r=t-n.Ah())<0?(a=n.Yg(c))>=0?n._g(a,e,!0):niO(n,c,e):Im(c,66).Nj().Pj(n,n.yh(),r,e,i)}function Ys(n){switch(typeof n){case nhj:return Yj(n);case nhk:return LU(n);case nhy:return TX(),n?1231:1237;default:return null==n?0:T9(n)}}function Yh(n){var t,e;if(null==n)return null;for(t=0,e=_f(nPW,nhQ,193,n.length,0,2);t=0)return i;if(n.Fk()){for(e=0;e=(r=n.gc()))throw new Pt(t,r).e;if(n.hi()&&(i=n.Xc(e))>=0&&i!=t)throw new gd(ny1).e;return n.mi(t,e)}function Yw(n,t){if(this.a=Im(A1(n),245),this.b=Im(A1(t),245),n.vd(t)>0||n==(dQ(),nTM)||t==(dV(),nTS))throw new gd("Invalid range: "+RF(n,t)).e}function Yd(n){var t,e;for(this.b=new wn,this.c=n,this.a=!1,e=new h1(n.a);e.a0),(t&-t)==t)return LU(t*nr_(n,31)*4656612873077393e-25);do i=(e=nr_(n,31))%t;while(e-i+(t-1)<0);return LU(i)}function Yj(n){var t,i,r;return(PG(),null!=(r=nM6[i=":"+n]))?LU(($D(r),r)):(t=null==(r=nM5[i])?function(n){var t,e,i,r;for(t=0,r=(i=n.length)-4,e=0;e0)for(i=new PH(Im(Fl(n.a,c),21)),NV(),E_(i,new fD(t)),r=new Rn(c.b,0);r.b(o=null==n.d?0:n.d.length)))return 0;for(c=0,h=n.d,n.d=_f(nCz,nkq,63,2*o+4,0,1);cnp8;){for(c=t,a=0;nTp.Math.abs(t-c)0),r.a.Xb(r.c=--r.b),function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(u=0,f=function(n,t){var e,i,r;for(r=new Rn(n.e,0),e=0;r.bnp8);)i>-.000001&&++e;return e}(n,e);u0),i.a.Xb(i.c=--i.b),h>f+u&&$I(i);for(c=new h1(l);c.a0),i.a.Xb(i.c=--i.b)}}(n,n.b-a,c,i,r),MK(r.b0),i.a.Xb(i.c=--i.b)}if(!n.d)for(e=0;e102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function Yq(n,t){if(null==n)throw new gv("null key in entry: null="+t).e;if(null==t)throw new gv("null value in entry: "+n+"=null").e}function YG(n,t){var e;return e=Um(Dg(nYx,1),nlh,25,15,[Wr(n.a[0],t),Wr(n.a[1],t),Wr(n.a[2],t)]),n.d&&(e[0]=nTp.Math.max(e[0],e[2]),e[2]=e[0]),e}function Yz(n,t){var e;return e=Um(Dg(nYx,1),nlh,25,15,[Wc(n.a[0],t),Wc(n.a[1],t),Wc(n.a[2],t)]),n.d&&(e[0]=nTp.Math.max(e[0],e[2]),e[2]=e[0]),e}function YU(){YU=C,nN4=new yj("GREEDY",0),nN3=new yj(ndN,1),nN6=new yj(nd$,2),nN8=new yj("MODEL_ORDER",3),nN5=new yj("GREEDY_MODEL_ORDER",4)}function YX(n){var t;if(t=function(n){var t;for(A1(n),PQ(!0,"numberToAdvance must be nonnegative"),t=0;t<0&&nrc(n);t++)K4(n);return t}(n),!nrc(n))throw new gu("position (0) must be less than the number of elements that remained ("+t+")").e;return K4(n)}function YW(n,t,e){try{return YZ(n,t+n.j,e+n.k)}catch(n){if(Ti(n=Uu(n),73))throw new gu(n.g+nbF+t+nhI+e+").").e;throw n.e}}function YV(n){switch(n.g){case 1:return nsR(),nWQ;case 4:return nsR(),nWA;case 3:return nsR(),nWO;case 2:return nsR(),nWW;default:return nsR(),nWV}}function YQ(n,t){var e,i;for(i=V_(n,t).Kc();i.Ob();)if(null!=ntP(e=Im(i.Pb(),11),(nhu(),nDO))||Mh(new Fm(e.b)))return!0;return!1}function YJ(n,t){return qh(t,n.e+n.d+(0==n.c.c.length?0:n.b)),qf(t,n.f),n.a=nTp.Math.max(n.a,t.f),n.d+=t.g+(0==n.c.c.length?0:n.b),IE(n.c,t),!0}function YY(n,t){var e,i,r,c,a;for(e=t.gc(),n.qi(n.i+e),c=t.Kc(),a=n.i,n.i+=e,i=a;ic&&$t(t,c,null),t}function Y4(n,t){var e,i,r;return e=t.cd(),r=t.dd(),i=n.xc(e),!!((jf(r)===jf(i)||null!=r&&WY(r,i))&&(null!=i||n._b(e)))}function Y5(n,t,e,i){var r,c,a;this.a=t,this.c=i,a=new kp(-(r=n.a).c,-r.d),this.b=a,S9(this.b,e),c=i/2,t.a?Mz(this.b,0,c):Mz(this.b,c,0),IE(n.c,this)}function Y6(){Y6=C,nq_=new kc(nwJ,0),nqK=new kc(ndL,1),nqF=new kc("EDGE_LENGTH_BY_POSITION",2),nqR=new kc("CROSSING_MINIMIZATION_BY_POSITION",3)}function Y8(n,t){var e,i;if(e=Im(B3(n.g,t),33))return e;if(i=Im(B3(n.j,t),118))return i;throw new gS("Referenced shape does not exist: "+t).e}function Y9(n,t,e,i,r,c){var a,u,o,s,h;for(h=0,a=function(n,t,e){var i,r;switch(i=(r=n.b).d,t.g){case 1:return-i.d-e;case 2:return r.o.a+i.c+e;case 3:return r.o.b+i.a+e;case 4:return-i.b-e;default:return -1}}(t,e,c),u=e==(nsR(),nWA)||e==nWQ?-1:1,s=n[e.g];h0&&(o+=r),s[h]=a,a+=u*(o+i)}function Y7(n){var t,e,i;for(t=0,i=n.f,n.n=_f(nYx,nlh,25,i,15,1),n.d=_f(nYx,nlh,25,i,15,1);t0?n.c:0),++r;n.b=i,n.d=c}function Zu(n,t){var e;return e=Um(Dg(nYx,1),nlh,25,15,[Yy(n,(BH(),nSX),t),Yy(n,nSW,t),Yy(n,nSV,t)]),n.f&&(e[0]=nTp.Math.max(e[0],e[2]),e[2]=e[0]),e}function Zo(n){var t;MB(n,(ns8(),nK9))&&((t=Im(ntP(n,nK9),21)).Hc((nrS(),nWt))?(t.Mc(nWt),t.Fc(nWi)):t.Hc(nWi)&&(t.Mc(nWi),t.Fc(nWt)))}function Zs(n){var t;MB(n,(ns8(),nK9))&&((t=Im(ntP(n,nK9),21)).Hc((nrS(),nWo))?(t.Mc(nWo),t.Fc(nWa)):t.Hc(nWa)&&(t.Mc(nWa),t.Fc(nWo)))}function Zh(n,t,e,i){var r,c;for(r=t;r0&&(r.b+=t),r}function Zd(n,t){var e,i,r;for(r=new ps,i=n.Kc();i.Ob();)naL(e=Im(i.Pb(),37),0,r.b),r.b+=e.f.b+t,r.a=nTp.Math.max(r.a,e.f.a);return r.a>0&&(r.a+=t),r}function Zg(n){var t,e,i;for(i=nhT,e=new h1(n.a);e.a0&&(n.a[K.p]=X++)}for(C=0,Y=0,$=e.length;C<$;++C){for(S=e[C],N=0,F=new h1(S.j);F.a0;){for(MK(B.b>0),H=0,u=new h1((K=Im(B.a.Xb(B.c=--B.b),11)).e);u.a0&&(K.j==(nsR(),nWA)?(n.a[K.p]=Y,++Y):(n.a[K.p]=Y+N+D,++D))}Y+=D}for(P=0,_=new wt,b=new j7,O=t.length;Ps.b&&(s.b=q)):K.i.c==U&&(qs.c&&(s.c=q));for(_V(w,0,w.length,null),J=_f(nY$,nfH,25,w.length,15,1),i=_f(nY$,nfH,25,Y+1,15,1),g=0;g0;)j%2>0&&(r+=nt[j+1]),j=(j-1)/2|0,++nt[j];for(m=0,T=_f(nIA,nhO,362,2*w.length,0,1);mn.d[r.p]&&(e+=KC(n.b,i)*Im(a.b,19).a,RC(n.a,Va(i)));for(;!gk(n.a);)H3(n.b,Im(Al(n.a),19).a)}return e}(o,s))),c}(n,i,t);return e}function Zv(){ncS(),this.c=new wn,this.i=new wn,this.e=new j7,this.f=new j7,this.g=new j7,this.j=new wn,this.a=new wn,this.b=new wt,this.k=new wt}function Zm(n,t){var e;return n.Db>>16==6?n.Cb.ih(n,5,nCx,t):(e=YI(Im(Bm(Im(zF(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Zy(n){var t,e,i;n.b==n.c&&((i=n.a.length,e=U0(nTp.Math.max(8,i))<<1,0!=n.b)?(t=Sz(n.a,e),Gp(n,t,i),n.a=t,n.b=0):n.a.length=e,n.c=i)}function Zk(n){var t;return 0!=n.b.c.length&&Im(CA(n.b,0),70).a?Im(CA(n.b,0),70).a:null!=(t=NO(n))?t:""+(n.c?Hb(n.c.a,n,0):-1)}function Zj(n){var t;return 0!=n.f.c.length&&Im(CA(n.f,0),70).a?Im(CA(n.f,0),70).a:null!=(t=NO(n))?t:""+(n.i?Hb(n.i.j,n,0):-1)}function ZE(n){var t,e,i,r,c;for(c=0,r=nlc,i=0,e=new h1(n.a);e.a0?n.c:0),r=nTp.Math.max(r,t.d),++i;n.e=c,n.b=r}function ZT(n,t,e,i){return 0==t?i?(n.o||(n.o=new _x((nsZ(),nVO),nCB,n,0)),n.o):(n.o||(n.o=new _x((nsZ(),nVO),nCB,n,0)),_o(n.o)):Yo(n,t,e,i)}function ZM(n){var t,e;if(n.rb)for(t=0,e=n.rb.i;t=n.i)throw new jX(t,n.i).e;return++n.j,e=n.g[t],(i=n.i-t-1)>0&&now(n.g,t+1,n.g,t,i),$t(n.g,--n.i,null),n.fi(t,e),n.ci(),e}function ZC(n,t){var e;return n.Db>>16==17?n.Cb.ih(n,21,nQh,t):(e=YI(Im(Bm(Im(zF(n,16),26)||n.zh(),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ZO(){ZO=C,nO3=new jU(nwD,(TX(),!1)),nOZ=new jU(nwx,100),HA(),nO1=new jU(nwR,nO0=nAo),nO2=new jU(nwK,nwb),nO4=new jU(nwF,Va(nhT))}function ZA(n,t,e){var i,r,c,a,u,o;for(o=0,i=n.a[t],r=0,c=i.length;re.a.c.length))throw new gd("index must be >= 0 and <= layer node count").e;n.c&&Hh(n.c.a,n),n.c=e,e&&C4(e.a,t,n)}function Z_(n,t){var e,i,r;for(i=new OM(Tx(Vq(n).a.Kc(),new s));nrc(i);)return e=Im(K4(i),17),new s2(A1((r=Im(t.Kb(e),10)).n.b+r.o.b/2));return dJ(),dJ(),nTT}function ZH(n,t){this.c=new wt,this.a=n,this.b=t,this.d=Im(ntP(n,(nhu(),nDK)),304),jf(ntP(n,(ns8(),nK7)))===jf((Ho(),nLb))?this.e=new dh:this.e=new ds}function ZB(n,t){var e,i;return i=null,n.Xe((nha(),nXg))&&(e=Im(n.We(nXg),94)).Xe(t)&&(i=e.We(t)),null==i&&n.yf()&&(i=n.yf().We(t)),null==i&&(i=JZ(t)),i}function Zq(n,t){var e,i;e=n.Zc(t);try{return i=e.Pb(),e.Qb(),i}catch(n){if(Ti(n=Uu(n),109))throw new gu("Can't remove element "+t).e;throw n.e}}function ZG(n,t){var e,i,r;if(0==(e=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;for(o=0,a=new nna,s=Um(Dg(nY$,1),nfH,25,15,[0]),r=-1,c=0,i=0;o0){if(r<0&&h.a&&(r=o,c=s[0],i=0),r>=0){if(u=h.b,o==r&&0==(u-=i++))return 0;if(!ns_(t,s,h,u,a)){o=r-1,s[0]=c;continue}}else if(r=-1,!ns_(t,s,h,0,a))return 0}else{if(r=-1,32==$9(h.c,0)){if(f=s[0],HZ(t,s),s[0]>f)continue}else if(l=h.c,(b=s[0])>=0&&Pv(t.substr(b,l.length),l)){s[0]+=h.c.length;continue}return 0}return!function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>nfg&&RW(t,n.p-nf_),a=t.q.getDate(),L2(t,1),n.k>=0&&(o=n.k,s=t.q.getHours(),t.q.setMonth(o),nu3(t,s)),n.c>=0?L2(t,n.c):n.k>=0?(i=35-new UZ(t.q.getFullYear()-nf_,t.q.getMonth(),35).q.getDate(),L2(t,nTp.Math.min(i,a))):L2(t,a),n.f<0&&(n.f=t.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),h=24==n.f&&n.g?0:n.f,t.q.setHours(h),nu3(t,h),n.j>=0&&(f=n.j,l=t.q.getHours()+(f/60|0),t.q.setMinutes(f),nu3(t,l)),n.n>=0&&(b=n.n,w=t.q.getHours()+(b/3600|0),t.q.setSeconds(b),nu3(t,w)),n.i>=0&&jA(t,VK(VF(nnm(zD(t.q.getTime()),nfS),nfS),n.i)),n.a&&(RW(r=new vP,r.q.getFullYear()-nf_-80),0>WM(zD(t.q.getTime()),zD(r.q.getTime()))&&RW(t,r.q.getFullYear()-nf_+100)),n.d>=0){if(-1==n.c)(e=(7+n.d-t.q.getDay())%7)>3&&(e-=7),u=t.q.getMonth(),L2(t,t.q.getDate()+e),t.q.getMonth()!=u&&L2(t,t.q.getDate()+(e>0?-7:7));else if(t.q.getDay()!=n.d)return!1}return n.o>nfg&&(c=t.q.getTimezoneOffset(),jA(t,VK(zD(t.q.getTime()),(n.o-c)*60*nfS))),!0}(a,e)?0:s[0]}(n,t,r=new UZ((i=new vP).q.getFullYear()-nf_,i.q.getMonth(),i.q.getDate())))||e=t.b.c.length||(n(t,2*e+1),(i=2*e+2)>16==6?n.Cb.ih(n,6,nCA,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nsZ(),nVM),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ZQ(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,1,nCI,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nsZ(),nVP),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ZJ(n,t){var e;return n.Db>>16==9?n.Cb.ih(n,9,nCK,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nsZ(),nVC),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ZY(n,t){var e;return n.Db>>16==5?n.Cb.ih(n,9,nQl,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nhl(),nQR),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function ZZ(n,t){var e;return n.Db>>16==3?n.Cb.ih(n,0,nCN,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nhl(),nQO),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z1(n,t){var e;return n.Db>>16==7?n.Cb.ih(n,6,nCx,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nhl(),nQU),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z0(){this.a=new a6,this.g=new YA,this.j=new YA,this.b=new wt,this.d=new YA,this.i=new YA,this.k=new wt,this.c=new wt,this.e=new wt,this.f=new wt}function Z2(n,t){var e,i;if(t){if(t==n)return!0;for(e=0,i=Im(t,49).eh();i&&i!=t;i=i.eh()){if(++e>nlf)return Z2(n,i);if(i==n)return!0}}return!1}function Z3(n,t){var e,i,r;for(Hh(n.a,t),n.e-=t.r+(0==n.a.c.length?0:n.c),r=nvd,i=new h1(n.a);i.a>16==3?n.Cb.ih(n,12,nCK,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nsZ(),nVT),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z5(n,t){var e;return n.Db>>16==11?n.Cb.ih(n,10,nCK,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nsZ(),nVI),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z6(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,11,nQh,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nhl(),nQG),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z8(n,t){var e;return n.Db>>16==10?n.Cb.ih(n,12,nQd,t):(e=YI(Im(Bm(Im(zF(n,16),26)||(nhl(),nQX),n.Db>>16),18)),n.Cb.ih(n,e.n,e.f,t))}function Z9(n){var t;return(1&n.Bb)==0&&n.r&&n.r.kh()&&(t=Im(n.r,49),n.r=Im(WO(n,t),138),n.r!=t&&(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,9,8,t,n.r))),n.r}function Z7(n,t,e){var i;return i=Um(Dg(nYx,1),nlh,25,15,[ntv(n,(BH(),nSX),t,e),ntv(n,nSW,t,e),ntv(n,nSV,t,e)]),n.f&&(i[0]=nTp.Math.max(i[0],i[2]),i[2]=i[0]),i}function nnn(n,t){var e,i,r,c,a,u;return(a=n.h>>19)!=(u=t.h>>19)?u-a:(i=n.h)!=(c=t.h)?i-c:(e=n.m)!=(r=t.m)?e-r:n.l-t.l}function nnt(){nnt=C,nau(),nSD=new jU(nbi,nSx=nSq),H7(),nSN=new jU(nbr,nSL=nSI),JU(),nSA=new jU(nbc,nS$=nSM),nSO=new jU(nba,(TX(),!0))}function nne(n,t,e){var i,r;i=t*e,Ti(n.g,145)?(r=RM(n)).f.d?r.f.a||(n.d.a+=i+nbj):(n.d.d-=i+nbj,n.d.a+=i+nbj):Ti(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function nni(n,t,e){var i,r,c,a,u;for(r=n[e.g],u=new h1(t.d);u.a(r=i.length)&&ra&&(u=a/i),r>c&&(o=c/r),To(n,nTp.Math.min(u,o)),n}function nna(){vP.call(this),this.e=-1,this.a=!1,this.p=nfg,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=nfg}function nnu(){nnu=C,nAf=Ob(Cg(Cg(Cg(new Rf,(ntI(),nAp),(nhs(),n$M)),nAp,n$C),nAv,n$x),nAv,n$b),nAb=Cg(Cg(new Rf,nAp,n$i),nAp,n$w),nAl=Ob(new Rf,nAv,n$g)}function nno(n){var t;if(n.f.qj(),-1!=n.b){if(++n.b,t=n.f.d[n.a],n.b0&&(a=(c&nhT)%n.d.length,r=niA(n,a,c,t)))?r.ed(e):(i=n.tj(c,t,e),n.c.Fc(i),null)}function nnw(n,t){var e,i,r,c;switch(WW(n,t)._k()){case 3:case 2:for(r=0,c=(e=noo(t)).i;r=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}(n,n)/WA(2.718281828459045,n));throw new gd("The input must be positive").e}function nnv(n,t){var e;if(n.ni()&&null!=t){for(e=0;e0&&(t.c[e.c.p][e.p].d+=nr_(t.i,24)*nlI*.07000000029802322-.03500000014901161,t.c[e.c.p][e.p].a=t.c[e.c.p][e.p].d/t.c[e.c.p][e.p].b)}}(n,i=Im(xe(r),10),e)}function nnE(n,t,e){var i,r;(i=WU(t.j,e.s,e.c)+WU(e.e,t.s,t.c))==(r=WU(e.j,t.s,t.c)+WU(t.e,e.s,e.c))?i>0&&(n.b+=2,n.a+=i):(n.b+=1,n.a+=nTp.Math.min(i,r))}function nnT(n,t){var e;if(e=!1,jw(t)&&(e=!0,$v(n,new $h(Sh(t)))),!e&&Ti(t,236)&&(e=!0,$v(n,new hC(PN(Im(t,236))))),!e)throw new gs(nyR).e}function nnM(n){var t,e;switch(Im(ntP($N(n),(ns8(),nKX)),420).g){case 0:return t=n.n,e=n.o,new kp(t.a+e.a/2,t.b+e.b/2);case 1:return new Ee(n.n);default:return null}}function nnS(){nnS=C,nLm=new yP(nwJ,0),nLv=new yP("LEFTUP",1),nLk=new yP("RIGHTUP",2),nLp=new yP("LEFTDOWN",3),nLy=new yP("RIGHTDOWN",4),nLg=new yP("BALANCED",5)}function nnP(n,t,e){switch(t){case 1:n.n||(n.n=new An(nCR,n,1,7)),noK(n.n),n.n||(n.n=new An(nCR,n,1,7)),AJ(n.n,Im(e,14));return;case 2:q6(n,Sh(e));return}Xy(n,t,e)}function nnI(n,t,e){switch(t){case 3:qo(n,gy(Ss(e)));return;case 4:qs(n,gy(Ss(e)));return;case 5:qh(n,gy(Ss(e)));return;case 6:qf(n,gy(Ss(e)));return}nnP(n,t,e)}function nnC(n,t,e){var i,r;(i=ntl(r=new dP,t,null))&&i.Fi(),GF(r,e),_P((n.c||(n.c=new An(nQg,n,12,10)),n.c),r),qg(r,0),qp(r,1),Vi(r,!0),Vn(r,!0)}function nnO(n,t){var e,i;return Ti(e=mT(n.g,t),235)?((i=Im(e,235)).Qh(),i.Nh()):Ti(e,498)?i=Im(e,1938).b:null}function nnA(n){if(-1==n.g)throw(new wM).e;n.mj();try{n.i.$c(n.g),n.f=n.i.j,n.g0&&ZA(this,this.c-1,(nsR(),nWO)),this.c0&&n[0].length>0&&(this.c=gm(So(ntP($N(n[0][0]),(nhu(),nDb))))),this.a=_f(nIS,nhQ,2018,n.length,0,2),this.b=_f(nIP,nhQ,2019,n.length,0,2),this.d=new Wh}function nn2(){nn2=C,nWk=new kI(nbk,0),nWy=new kI("FREE",1),nWm=new kI("FIXED_SIDE",2),nWg=new kI("FIXED_ORDER",3),nWv=new kI("FIXED_RATIO",4),nWp=new kI("FIXED_POS",5)}function nn3(n){var t,e,i;for(i=new zV(nhI,"{","}"),e=n.vc().Kc();e.Ob();)Fd(i,RB(n,(t=Im(e.Pb(),42)).cd())+"="+RB(n,t.dd()));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function nn4(n,t){var e,i,r;for(e=null,r=Im(t.Kb(n),20).Kc();r.Ob();)if(i=Im(r.Pb(),17),e){if((i.c.i==n?i.d.i:i.c.i)!=e)return!1}else e=i.c.i==n?i.d.i:i.c.i;return!0}function nn5(n,t){var e,i,r,c;for(i=new h1(nci(n,!1,t));i.a=0;t--)nMN[t]=i,i*=.5;for(n=24,e=1;n>=0;n--)nM$[n]=e,e*=.5}function ntn(n,t){var e,i,r;Av(n.f,t)&&(t.b=n,i=t.c,-1!=Hb(n.j,i,0)||IE(n.j,i),r=t.d,-1!=Hb(n.j,r,0)||IE(n.j,r),0!=(e=t.a.b).c.length&&(n.i||(n.i=new J_(n)),function(n,t){var e,i;for(i=new h1(t);i.a1&&(n.j.b+=n.e)):(n.j.a+=e.a,n.j.b=nTp.Math.max(n.j.b,e.b),n.d.c.length>1&&(n.j.a+=n.e))}(n,e)}(n.i,e)))}function ntt(){ntt=C,n_f=new yN(npX,0),n_s=new yN("LONGEST_PATH",1),n_u=new yN("COFFMAN_GRAHAM",2),n_o=new yN(nd$,3),n_l=new yN("STRETCH_WIDTH",4),n_h=new yN("MIN_WIDTH",5)}function nte(n){var t;this.d=new wt,this.c=n.c,this.e=n.d,this.b=n.b,this.f=new CX(n.e),this.a=n.a,n.f?this.g=n.f:this.g=new PR(t=Im(pf(nCq),9),Im(Sz(t,t.length),9),0)}function nti(n,t){var e,i,r,c;(r=Ro(n,"layoutOptions"))||(r=Ro(n,nyy)),r&&(e=null,(c=r)&&(i=GI(c,_f(nTs,nhQ,2,0,6,1)),e=new vy(c,i)),e&&KA(e,new kQ(c,t)))}function ntr(n){if(Ti(n,239))return Im(n,33);if(Ti(n,186))return L8(Im(n,118));if(n)throw new gM("Only support nodes and ports.").e;throw new gv(nyQ).e}function ntc(n,t,e){if(n.b)throw new gg("The task is already done.").e;return null==n.p&&(n.p=t,n.r=e,n.k&&(n.o=(vI(),VF(zD(Date.now()),nfS))),!0)}function nta(n){var t;return t=new gt,null!=n.tg()&&IY(t,nyK,n.tg()),null!=n.ne()&&IY(t,nyV,n.ne()),null!=n.sg()&&IY(t,"description",n.sg()),t}function ntu(n,t,e){var i,r,c;return c=n.q,n.q=t,(4&n.Db)!=0&&(1&n.Db)==0&&(r=new O9(n,1,9,c,t),e?e.Ei(r):e=r),t?(i=t.c)!=n.r&&(e=n.nk(i,e)):n.r&&(e=n.nk(null,e)),e}function nto(n,t){var e,i,r,c,a;for(c=new wn,r=0,i=t.Kc();i.Ob();){for(e=Va(Im(i.Pb(),19).a+r);e.a=n.f)break;c.c[c.c.length]=e}return c}function nts(n){var t,e,i,r;for(t=null,r=new h1(n.wf());r.a0&&now(n.g,t,n.g,t+i,u),a=e.Kc(),n.i+=i,r=0;rc&&(h=Bj(e[u],nMP),Pv(s.substr(0,h.length),h))&&(r=u,c=o);return r>=0&&(i[0]=t+c),r}function ntd(n){var t,e;return n>=nlo?(t=nls+(n-nlo>>10&1023)&nfP,e=56320+(n-nlo&1023)&nfP,String.fromCharCode(t)+""+String.fromCharCode(e)):String.fromCharCode(n&nfP)}function ntg(){ntg=C,nXz=new kE(nwJ,0),nXq=new kE("DIRECTED",1),nXU=new kE("UNDIRECTED",2),nXH=new kE("ASSOCIATION",3),nXG=new kE("GENERALIZATION",4),nXB=new kE("DEPENDENCY",5)}function ntp(n,t){var e,i;for($D(t),i=n.b.c.length,IE(n.b,t);i>0;){if(e=i,i=(i-1)/2|0,0>=n.a.ue(CA(n.b,i),t))return KL(n.b,e,t),!0;KL(n.b,e,CA(n.b,i))}return KL(n.b,i,t),!0}function ntv(n,t,e,i){var r,c;if(r=0,e)r=Wc(n.a[e.g][t.g],i);else for(c=0;c=nfS?"error":"warn",n.a),n.b&&function n(t,e,i,r,c){var a,u,o,s,h,f;for(function(n,t){(t||null==console.groupCollapsed?null!=console.group?console.group:console.log:console.groupCollapsed).call(console,n)}(r+Lm(i,i.$d()),c),$m(e,(h=i.e)&&(h.stack||((f=i[nfE])&&0!=f.length?" "+f.join("\n "):""))),(a=i.f)&&n(t,e,a,"Caused by: ",!1),null==i.k&&(i.k=_f(nE4,nhQ,78,0,0,1)),u=i.k,o=0,s=u.length;o=(r=n.Vi())||t<0)throw new gu(ny0+t+ny2+r).e;if(e>=r||e<0)throw new gu(ny3+e+ny2+r).e;return t!=e?(c=n.Ti(e),n.Hi(t,c),i=c):i=n.Oi(e),i}function ntK(n){var t,e,i;for(i=new zV(nhI,"[","]"),e=n.Kc();e.Ob();)Fd(i,jf(t=e.Pb())===jf(n)?"(this Collection)":null==t?nhN:V7(t));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function ntF(n,t){var e,i;if(i=!1,2>t.gc())return!1;for(e=0;e=n.charCodeAt(i));)++i;for(t=e;t>i&&(D5(t-1,n.length),32>=n.charCodeAt(t-1));)--t;return i>0||tSy(n.d).c?(n.i+=n.g.c,QV(n.d)):Sy(n.d).c>Sy(n.g).c?(n.e+=n.d.c,QV(n.g)):(n.i+=CD(n.g),n.e+=CD(n.d),QV(n.g),QV(n.d))}function ntU(n,t,e,i){n.a.d=nTp.Math.min(t,e),n.a.a=nTp.Math.max(t,i)-n.a.d,tu&&(o=u/i),r>c&&(s=c/r),a=nTp.Math.min(o,s),n.a+=a*(t.a-n.a),n.b+=a*(t.b-n.b)}function ntQ(n,t,e,i){return 0==e?(n.o||(n.o=new _x((nsZ(),nVO),nCB,n,0)),PC(n.o,t,i)):Im(Bm(Im(zF(n,16),26)||n.zh(),e),66).Nj().Rj(n,Jp(n),e-AW(n.zh()),t,i)}function ntJ(n,t){var e;t!=n.sb?(e=null,n.sb&&(e=Im(n.sb,49).ih(n,1,nCL,e)),t&&(e=Im(t,49).gh(n,1,nCL,e)),(e=WG(n,t,e))&&e.Fi()):(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,4,t,t))}function ntY(){ntY=C,nAW=new m4("NORMAL",0),nAX=new m4("LONG_EDGE",1),nAz=new m4("EXTERNAL_PORT",2),nAV=new m4("NORTH_SOUTH_PORT",3),nAU=new m4("LABEL",4),nAG=new m4("BREAKING_POINT",5)}function ntZ(n,t){var e,i,r;return(t&=63)<22?(e=n.l<>22-t,r=n.h<>22-t):t<44?(e=0,i=n.l<>44-t):(e=0,i=0,r=n.l<1&&(n.e.b+=n.a)):(n.e.a+=e.a,n.e.b=nTp.Math.max(n.e.b,e.b),n.d.c.length>1&&(n.e.a+=n.a))}function nea(n,t,e,i,r){if(ii&&(n.a=i),n.br&&(n.b=r),n}function neu(n,t,e,i){var r,c;if(t.k==(ntY(),nAX)){for(c=new OM(Tx(VG(t).a.Kc(),new s));nrc(c);)if((r=Im(K4(c),17)).c.i.k==nAX&&n.c.a[r.c.i.c.p]==i&&n.c.a[t.c.p]==e)return!0}return!1}function neo(n,t,e,i){var r;this.b=i,this.e=n==(qH(),nHg),r=t[e],this.d=Cv(nYN,[nhQ,nbh],[177,25],16,[r.length,r.length],2),this.a=Cv(nY$,[nhQ,nfH],[48,25],15,[r.length,r.length],2),this.c=new nn1(t,e)}function nes(n,t){var e,i,r;Av(n.d,t),e=new cM,$J(n.c,t,e),e.f=Wb(t.c),e.a=Wb(t.d),e.d=(ncS(),(r=t.c.i.k)==(ntY(),nAW)||r==nAG),e.e=(i=t.d.i.k)==nAW||i==nAG,e.b=t.c.j==(nsR(),nWQ),e.c=t.d.j==nWO}function neh(n){var t;return(64&n.Db)!=0?nt3(n):(t=new TV(nm4),n.a&&jP(jP((t.a+=' "',t),n.a),'"'),jP(pN(jP(pN(jP(pN(jP(pN((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function nef(n,t,e){var i,r,c,a,u;for(a=0,u=ncT(n.e.Tg(),t),r=Im(n.g,119),i=0;a=0?n.Bh(r):nic(n,i);else throw new gd(nm7+i.ne()+nyn).e}else throw new gd(nyi+t+nyr).e}else W5(n,e,i)}function ney(n){var t,e;if(e=null,t=!1,Ti(n,204)&&(t=!0,e=Im(n,204).a),!t&&Ti(n,258)&&(t=!0,e=""+Im(n,258).a),!t&&Ti(n,483)&&(t=!0,e=""+Im(n,483).a),!t)throw new gs(nyR).e;return e}function nek(n,t){var e,i;if(!n.f)return t.Ob();for(;t.Ob();)if(Ti(i=(e=Im(t.Pb(),72)).ak(),99)&&(Im(i,18).Bb&nyc)!=0&&(!n.e||i.Gj()!=nCS||0!=i.aj())&&null!=e.dd())return t.Ub(),!0;return!1}function nej(n,t){var e,i;if(!n.f)return t.Sb();for(;t.Sb();)if(Ti(i=(e=Im(t.Ub(),72)).ak(),99)&&(Im(i,18).Bb&nyc)!=0&&(!n.e||i.Gj()!=nCS||0!=i.aj())&&null!=e.dd())return t.Pb(),!0;return!1}function neE(n,t,e){var i,r,c,a,u,o;for(a=0,o=ncT(n.e.Tg(),t),i=0,u=n.i,r=Im(n.g,119);a=(r/2|0))for(this.e=i?i.c:null,this.d=r;e++0;)Dy(this);this.b=t,this.a=null}function neN(n,t){var e,i;if(e=Im($6(n.b,t),124),Im(Im(Fl(n.r,t),21),84).dc()){e.n.b=0,e.n.c=0;return}e.n.b=n.C.b,e.n.c=n.C.c,n.A.Hc((QJ(),nW6))&&nav(n,t),i=function(n,t){var e,i,r;for(r=0,i=Im(Im(Fl(n.r,t),21),84).Kc();i.Ob();)r+=(e=Im(i.Pb(),111)).d.b+e.b.rf().a+e.d.c,i.Ob()&&(r+=n.w);return r}(n,t),nc3(n,t)==(Jq(),nWl)&&(i+=2*n.w),e.a.a=i}function neL(n,t){var e,i;if(e=Im($6(n.b,t),124),Im(Im(Fl(n.r,t),21),84).dc()){e.n.d=0,e.n.a=0;return}e.n.d=n.C.d,e.n.a=n.C.a,n.A.Hc((QJ(),nW6))&&nam(n,t),i=function(n,t){var e,i,r;for(r=0,i=Im(Im(Fl(n.r,t),21),84).Kc();i.Ob();)r+=(e=Im(i.Pb(),111)).d.d+e.b.rf().b+e.d.a,i.Ob()&&(r+=n.w);return r}(n,t),nc3(n,t)==(Jq(),nWl)&&(i+=2*n.w),e.a.b=i}function neD(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w;return u=n.a,f=n.b,o=t.a,l=t.b,s=e.a,b=e.b,h=i.a,w=i.b,c=u*l-f*o,a=s*w-b*h,r=(u-o)*(b-w)-(f-l)*(s-h),new kp((c*(s-h)-a*(u-o))/r,(c*(b-w)-a*(f-l))/r)}function nex(n,t){var e,i,r;if(!n.d[t.p]){for(n.d[t.p]=!0,n.a[t.p]=!0,i=new OM(Tx(Vz(t).a.Kc(),new s));nrc(i);)KR(e=Im(K4(i),17))||(r=e.d.i,n.a[r.p]?IE(n.b,e):nex(n,r));n.a[t.p]=!1}}function neR(n,t,e){var i;switch(i=0,Im(ntP(t,(ns8(),nKJ)),163).g){case 2:i=-(2*e)+n.a,++n.a;break;case 1:i=-e;break;case 3:i=e;break;case 4:i=2*e+n.b,++n.b}return MB(t,(nhu(),nDk))&&(i+=Im(ntP(t,nDk),19).a),i}function neK(n){var t,e;return Im(nrM(n,(nha(),nUx)),21).Hc((QJ(),nW3))?(e=Im(nrM(n,nUH),21),t=new Ee(Im(nrM(n,nUF),8)),e.Hc((na9(),nVn))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t):new ps}function neF(n){var t,e,i;if(!n.b){for(i=new uf,e=new Mm(non(n));e.e!=e.i.gc();)((t=Im(J0(e),18)).Bb&nyc)!=0&&_P(i,t);X5(i),n.b=new jW((Im(BX(N6(($g(),nQC).o),8),18),i.i),i.g),KJ(n).b&=-9}return n.b}function ne_(n){var t,e,i,r,c,a,u;if(NV(),Ti(n,54))for(c=0,r=n.gc()-1;cnTp.Math.abs(i-r))}function neq(n,t,e){var i,r,c,a;if(null!=(c=Im(zF(n.a,8),1936)))for(i=0,r=c.length;ie.a&&(i.Hc((nnF(),nz3))?r=(t.a-e.a)/2:i.Hc(nz5)&&(r=t.a-e.a)),t.b>e.b&&(i.Hc((nnF(),nz8))?c=(t.b-e.b)/2:i.Hc(nz6)&&(c=t.b-e.b)),ntE(n,r,c)}function nez(n,t,e,i,r,c,a,u,o,s,h,f,l){Ti(n.Cb,88)&&ne2(KJ(Im(n.Cb,88)),4),GF(n,e),n.f=a,Vj(n,u),VT(n,o),Vk(n,s),VE(n,h),Vi(n,f),VS(n,l),Vn(n,!0),qg(n,r),n.ok(c),Ww(n,t),null!=i&&(n.i=null,Gg(n,i))}function neU(n){var t,e;if(!n.f)return n.n>0;for(;n.n>0;){if(Ti(e=(t=Im(n.k.Xb(n.n-1),72)).ak(),99)&&(Im(e,18).Bb&nyc)!=0&&(!n.e||e.Gj()!=nCS||0!=e.aj())&&null!=t.dd())return!0;--n.n}return!1}function neX(n,t,e){if(n<0)return naT(nhC,Um(Dg(nEU,1),nhO,1,5,[e,Va(n)]));if(t<0)throw new gd(nhA+t).e;return naT("%s (%s) must not be greater than size (%s)",Um(Dg(nEU,1),nhO,1,5,[e,Va(n),Va(t)]))}function neW(n,t){var e,i,r;for(r=new wn,i=new h1(n.c.a.b);i.a=0?n.sh(c,e):nr2(n,r,e);else throw new gd(nm7+r.ne()+nyn).e}else throw new gd(nyi+t+nyr).e}else V5(n,i,r,e)}function neQ(n,t,e){var i,r,c,a;if(a=null==t?0:n.b.se(t),0==(r=null==(i=n.a.get(a))?[]:i).length)n.a.set(a,r);else if(c=X8(n,t,r))return c.ed(e);return $t(r,r.length,new mN(t,e)),++n.c,Li(n.b),null}function neJ(n,t){var e;return xY(n.a),Ak(n.a,(GN(),nB8),nB8),Ak(n.a,nB9,nB9),Cg(e=new Rf,nB9,(V0(),nqe)),jf(nrM(t,(Zx(),nqE)))!==jf((XX(),nqu))&&Cg(e,nB9,nqn),Cg(e,nB9,nqt),zM(n.a.a,e),noU(n.a,t)}function neY(n){if(!n)return gx(),nTH;var t=n.valueOf?n.valueOf():n;if(t!==n){var e=nTB[typeof t];return e?e(t):Wu(typeof t)}return n instanceof Array||n instanceof nTp.Array?new hP(n):new hO(n)}function neZ(n,t,e){var i,r,c;switch(c=n.o,(r=(i=Im($6(n.p,e),244)).i).b=nid(i),r.a=niw(i),r.b=nTp.Math.max(r.b,c.a),r.b>c.a&&!t&&(r.b=c.a),r.c=-(r.b-c.a)/2,e.g){case 1:r.d=-r.a;break;case 3:r.d=c.b}nu_(i),nuG(i)}function ne1(n,t,e){var i,r,c;switch(c=n.o,(r=(i=Im($6(n.p,e),244)).i).b=nid(i),r.a=niw(i),r.a=nTp.Math.max(r.a,c.b),r.a>c.b&&!t&&(r.a=c.b),r.d=-(r.a-c.b)/2,e.g){case 4:r.c=-r.b;break;case 2:r.c=c.a}nu_(i),nuG(i)}function ne0(n,t){var e,i,r,c;return e=qy(n,"x"),qh(new bm(t).a,null==e||PL(($D(e),e))||isNaN(($D(e),e))?0:($D(e),e)),i=qy(n,"y"),qf(new by(t).a,null==i||PL(($D(i),i))||isNaN(($D(i),i))?0:($D(i),i)),r=qy(n,nyE),qs(new bk(t).a,null==r||PL(($D(r),r))||isNaN(($D(r),r))?0:($D(r),r)),c=qy(n,nyj),qo(new bj(t).a,null==c||PL(($D(c),c))||isNaN(($D(c),c))?0:($D(c),c)),c}function ne2(n,t){nag(n,t),(1&n.b)!=0&&(n.a.a=null),(2&n.b)!=0&&(n.a.f=null),(4&n.b)!=0&&(n.a.g=null,n.a.i=null),(16&n.b)!=0&&(n.a.d=null,n.a.e=null),(8&n.b)!=0&&(n.a.b=null),(32&n.b)!=0&&(n.a.j=null,n.a.c=null)}function ne3(n,t){var e,i,r,c,a,u;for(e=n.b.c.length,r=CA(n.b,t);2*t+1n.a.ue(CA(n.b,a),CA(n.b,c))&&(u=a),i=u,!(0>n.a.ue(r,CA(n.b,i))));)KL(n.b,t,CA(n.b,i)),t=i;KL(n.b,t,r)}function ne4(n,t,e,i,r,c){var a,u,o,s;for(jf(n)===jf(e)&&(n=n.slice(t,t+r),t=0),u=t,o=t+r;u0)for(a=n.c.d,r=To(S7(new kp((u=n.d.d).a,u.b),a),1/(i+1)),c=new kp(a.a,a.b),e=new h1(n.a);e.a(D4(c+1,t.c.length),Im(t.c[c+1],19)).a-i&&++u,IE(r,(D4(c+u,t.c.length),Im(t.c[c+u],19))),a+=(D4(c+u,t.c.length),Im(t.c[c+u],19)).a-i,++e;e=0?n._g(e,!0,!0):niO(n,r,!0),153),Im(i,215).ol(t);else throw new gd(nm7+t.ne()+nyn).e}function nia(n){var t,e;return n>-140737488355328&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),e=LU(nTp.Math.floor(nTp.Math.log(n)/.6931471805599453)),(!t||n!=nTp.Math.pow(2,e))&&++e,e):z8(zD(n))}function niu(n,t){var e,i,r,c;return z5(i=new Y$(n),t),UU(i,(nhu(),nDe),t),UU(i,(ns8(),nFj),(nn2(),nWp)),UU(i,nR8,(Yv(),nz_)),ntY(),c=nAz,i.k=c,DM(e=new nt9,i),ne9(e,(nsR(),nWQ)),DM(r=new nt9,i),ne9(r,nWO),i}function nio(n){switch(n.g){case 0:return new gh((qH(),nHd));case 1:return new sC;case 2:return new sx;default:throw new gd("No implementation is available for the crossing minimizer "+(null!=n.f?n.f:""+n.g)).e}}function nis(){nis=C,nWP=new kC("OUTSIDE",0),nWM=new kC("INSIDE",1),nWS=new kC("NEXT_TO_PORT_IF_POSSIBLE",2),nWT=new kC("ALWAYS_SAME_SIDE",3),nWE=new kC("ALWAYS_OTHER_SAME_SIDE",4),nWI=new kC("SPACE_EFFICIENT",5)}function nih(n,t){var e,i,r;for(r=nhT,i=new h1(VV(t));i.a=(c=a.gc()))a.$b();else for(i=0,r=a.Kc();i0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}else a=(u=G2(Nd(Nb(AM(n.a),new nE),new nT))).a?u.b:0;return a>0?a+n.n.d+n.n.a:0}function nid(n){var t,e,i,r,c,a,u;if(a=0,0==n.b)a=(u=G2(Nd(Nb(AM(n.a),new nk),new nj))).a?u.b:0;else{for(i=0,c=Yz(n,!0),t=0,r=c.length;i0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}return a>0?a+n.n.b+n.n.c:0}function nig(n){var t,e;return e=new gX,e.a+="e_",null!=(t=0!=n.b.c.length&&Im(CA(n.b,0),70).a?Im(CA(n.b,0),70).a:NO(n))&&(e.a+=""+t),n.c&&n.d&&(jP((e.a+=" ",e),Zj(n.c)),jP(jS((e.a+="[",e),n.c.i),"]"),jP((e.a+=nw3,e),Zj(n.d)),jP(jS((e.a+="[",e),n.d.i),"]")),e.a}function nip(n){switch(n.g){case 0:return new sA;case 1:return new s$;case 2:return new sO;case 3:return new sN;default:throw new gd("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)).e}}function niv(n,t,e,i,r){var c;switch(c=0,r.g){case 1:c=nTp.Math.max(0,t.b+n.b-(e.b+i));break;case 3:c=nTp.Math.max(0,-n.b-i);break;case 2:c=nTp.Math.max(0,-n.a-i);break;case 4:c=nTp.Math.max(0,t.a+n.a-(e.a+i))}return c}function nim(n){var t,e;switch(n.b){case -1:return!0;case 0:if((e=n.t)>1||-1==e||(t=Z9(n))&&(mp(),t.Cj()==nk8))return n.b=-1,!0;return n.b=1,!1;default:return!1}}function niy(n,t){var e,i,r;if(nhe(n),0!=n.c||123!=n.a)throw new gO(nhd((E$(),nkf))).e;if(i=n.d,(e=MM(n.i,125,i))<0)throw new gO(nhd((E$(),nkl))).e;return r=MT(n.i,i,e),n.d=e+1,_C(r,112==t,(512&n.e)==512)}function nik(n,t,e,i,r){var c,a,u,o;return jf(o=Sn(n,Im(r,56)))!==jf(r)?(u=Im(n.g[e],72),Ts(n,e,nn6(n,e,c=RU(t,o))),Ea(n.e)&&(nnQ(a=LE(n,9,c.ak(),r,o,i,!1),new HE(n.e,9,n.c,u,c,i,!1)),Hk(a)),o):r}function nij(n,t){var e,i,r,c;try{return r=n.a,Mx(!!(c=($D(r),r).g)),$D(t),c(t)}catch(r){if(Ti(r=Uu(r),32)){try{if(i=nue(t,nfg,nhT),e=pf(n.a),i>=0&&i=0?n._g(e,!0,!0):niO(n,r,!0),153),Im(i,215).ll(t);throw new gd(nm7+t.ne()+nye).e}function niT(n,t){var e,i,r;if(r=0,(i=t[0])>=n.length)return -1;for(D5(i,n.length),e=n.charCodeAt(i);e>=48&&e<=57&&(r=10*r+(e-48),!(++i>=n.length));)D5(i,n.length),e=n.charCodeAt(i);return i>t[0]?t[0]=i:r=-1,r}function niM(n){var t,e,i;for(t=null,e=AS(qO(Um(Dg(nEQ,1),nhO,20,0,[(n.b||(n.b=new Ph(nCO,n,4,7)),n.b),(n.c||(n.c=new Ph(nCO,n,5,8)),n.c)])));nrc(e);)if(i=ntr(Im(K4(e),82)),t){if(t!=i)return!1}else t=i;return!0}function niS(n,t,e){var i;if(++n.j,t>=n.i)throw new gu(ny0+t+ny2+n.i).e;if(e>=n.i)throw new gu(ny3+e+ny2+n.i).e;return i=n.g[e],t!=e&&(t>16))>>16&16),n>>=t,e+=t=(i=n-256)>>16&8,n<<=t,e+=t=(i=n-nla)>>16&4,n<<=t,e+=t=(i=n-nhJ)>>16&2,n<<=t,e+2-(t=(i=n>>14)&~(i>>1)))}function niC(n,t){var e,i,r,c,a,u,o,s;for(u=1,s=gy(Ss(ntP(t,(ns8(),nF1)))),o=n[0].n.a+n[0].o.a+n[0].d.c+s;u=0?n._g(i,!0,!0):niO(n,c,!0),153),Im(r,215).hl(t,e);throw new gd(nm7+t.ne()+nye).e}function niA(n,t,e,i){var r,c,a,u,o;if(r=n.d[t]){if(c=r.g,o=r.i,null!=i){for(u=0;u>5)+1,15,1))[r]=1<<(31&i),new As(1,r+1,c)),ni$(K3(n,e),t))}return function(n,t){var e,i;for(niW(),nc4(),i=nMo,e=n;t>1;t>>=1)(1&t)!=0&&(i=H8(i,e)),e=1==e.d?H8(e,e):new JT(nuu(e.a,e.d,_f(nY$,nfH,25,e.d<<1,15,1)));return H8(i,e)}(n,t)}function niN(n){var t,e,i,r;for(v2(),this.b=nAT,this.c=(W2(),nXC),this.f=(v0(),nAk),this.a=n,r=new tg,this.e=r,ncl(this),i=new h1(n.b);i.a=null.jm()?(nrV(n),niD(n)):t.Ob()}function nix(n){if(this.a=n,n.c.i.k==(ntY(),nAz))this.c=n.c,this.d=Im(ntP(n.c.i,(nhu(),nDi)),61);else if(n.d.i.k==nAz)this.c=n.d,this.d=Im(ntP(n.d.i,(nhu(),nDi)),61);else throw new gd("Edge "+n+" is not an external edge.").e}function niR(n,t){var e,i,r;r=n.b,n.b=t,(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,3,r,n.b)),t?t!=n&&(GF(n,t.zb),qd(n,t.d),Gr(n,null==(e=null==(i=t.c)?t.zb:i)||Pv(e,t.zb)?null:e)):(GF(n,null),qd(n,0),Gr(n,null))}function niK(n){var t,e;if(!n.f)return n.n0?Ql(e):Vg(Ql(e)),Yu(t,nFP,r)}function niU(n,t){var e,i,r,c;n.ej()?(e=n.Vi(),c=n.fj(),++n.j,n.Hi(e,n.oi(e,t)),i=n.Zi(3,null,t,e,c),n.bj()&&(r=n.cj(t,null))?(r.Ei(i),r.Fi()):n.$i(i)):($y(n,t),n.bj()&&(r=n.cj(t,null))&&r.Fi())}function niX(n,t){var e,i,r,c,a;for(a=ncT(n.e.Tg(),t),r=new a7,e=Im(n.g,119),c=n.i;--c>=0;)i=e[c],a.rl(i.ak())&&_P(r,i);!nsW(n,r)&&Ea(n.e)&&wR(n,t.$j()?LE(n,6,t,(NV(),nMp),null,-1,!1):LE(n,t.Kj()?2:1,t,null,null,-1,!1))}function niW(){var n,t;for(t=0,niW=C,nMd=_f(nTf,nhQ,91,32,0,1),nMg=_f(nTf,nhQ,91,32,0,1),n=1;t<=18;t++)nMd[t]=JK(n),nMg[t]=JK(OR(n,t)),n=VF(n,5);for(;t=0?n.Qg(null):n.eh().ih(n,-1-t,null,null),n.Rg(Im(r,49),e),i&&i.Fi(),n.Lg()&&n.Mg()&&e>-1&&zx(n,new O9(n,9,e,c,r)),r):c}function ni7(n){var t,e,i,r,c,a,u;for(e=0,c=0,r=n.f.e;e>5)>=n.d)return n.e<0;if(e=n.a[r],t=1<<(31&t),n.e<0){if(r<(i=za(n)))return!1;e=i==r?-e:~e}return(e&t)!=0}function nri(n,t){var e,i,r,c,a,u,o;if(c=t.e){for(a=0,e=ni9(c),i=Im(n.g,674);a>16)),15).Xc(c))>t,c=n.m>>t|e<<22-t,r=n.l>>t|n.m<<22-t):t<44?(a=i?nf4:0,c=e>>t-22,r=n.m>>t-22|e<<44-t):(a=i?nf4:0,c=i?nf3:0,r=e>>t-44),Ez(r&nf3,c&nf3,a&nf4)}function nrf(n){var t,e,i,r,c,a;for(this.c=new wn,this.d=n,i=nlr,r=nlr,t=nlc,e=nlc,a=Jz(n,0);a.b!=a.d.c;)c=Im(RP(a),8),i=nTp.Math.min(i,c.a),r=nTp.Math.min(r,c.b),t=nTp.Math.max(t,c.a),e=nTp.Math.max(e,c.b);this.a=new Nj(i,r,t-i,e-r)}function nrl(n,t){var e,i,r,c;for(i=new h1(n.b);i.a=2)for(t=Ss((e=r.Kc()).Pb());e.Ob();)c=t,t=Ss(e.Pb()),i=nTp.Math.min(i,($D(t),t-($D(c),c)));return i}function nrj(n,t){var e;if(0!=n.c.length){if(2==n.c.length)nuS((D4(0,n.c.length),Im(n.c[0],10)),(ZR(),nX5)),nuS((D4(1,n.c.length),Im(n.c[1],10)),nX6);else for(e=new h1(n);e.a0&&r0)?Im(CA(e.a,i-1),10):null}(c,i))&&(s=n.g[o.p],a=gy(n.p[s.p])+gy(n.d[o.p])+o.o.b+o.d.a,r=nTp.Math.min(r,u-(a+EY(n.k,c,o))));while(t!=c);return r}(n.a,i.i,r,n.c),BZ(n.a,i.i,-e),e>0):r<0&&-r0)}function nrI(n){var t,e,i,r,c,a,u;for(i=nlr,e=nlc,t=new h1(n.e.b);t.a=0;t-=2)for(e=0;e<=t;e+=2)(n.b[e]>n.b[e+2]||n.b[e]===n.b[e+2]&&n.b[e+1]>n.b[e+3])&&(i=n.b[e+2],n.b[e+2]=n.b[e],n.b[e]=i,i=n.b[e+3],n.b[e+3]=n.b[e+1],n.b[e+1]=i);n.c=!0}}function nrN(n,t){var e,i,r,c,a,u;for(c=(1==t?nAE:nAj).a.ec().Kc();c.Ob();)for(r=Im(c.Pb(),103),u=Im(Fl(n.f.c,r),21).Kc();u.Ob();)switch(a=Im(u.Pb(),46),i=Im(a.b,81),e=Im(a.a,189).c,r.g){case 2:case 1:i.g.d+=e;break;case 4:case 3:i.g.c+=e}}function nrL(n){var t;return t=new TV(pb(n.gm)),t.a+="@",jP(t,(Xg(n)>>>0).toString(16)),n.kh()?(t.a+=" (eProxyURI: ",jS(t,n.qh()),n.$g()&&(t.a+=" eClass: ",jS(t,n.$g())),t.a+=")"):n.$g()&&(t.a+=" (eClass: ",jS(t,n.$g()),t.a+=")"),t.a}function nrD(n){var t,e,i;if(n.e)throw new gg((Su(nSe),nlY+nSe.k+nlZ)).e;for(n.d==(W2(),nXC)&&nsj(n,nXP),e=new h1(n.a.a);e.a0&&t.ue((D4(r-1,n.c.length),Im(n.c[r-1],10)),c)>0;)KL(n,r,(D4(r-1,n.c.length),Im(n.c[r-1],10))),--r;D4(r,n.c.length),n.c[r]=c}e.a=new wt,e.b=new wt}function nrF(n,t,e){var i;if((n.c-n.b&n.a.length-1)==2)t==(nsR(),nWA)||t==nWO?(BN(Im(U3(n),15),(ZR(),nX5)),BN(Im(U3(n),15),nX6)):(BN(Im(U3(n),15),(ZR(),nX6)),BN(Im(U3(n),15),nX5));else for(i=new Nn(n);i.a!=i.b;)BN(Im(Wj(i),15),e)}function nr_(n,t){var e,i,r,c;return(r=n.a*nlP+1502*n.b,c=n.b*nlP+11,r+=e=nTp.Math.floor(c*nlI),c-=e*nlC,r%=nlC,n.a=r,n.b=c,t<=24)?nTp.Math.floor(n.a*nM$[t]):((i=n.a*(1<=2147483648&&(i-=nlw),i)}function nrH(n,t,e){var i,r,c,a;xu(n,t)>xu(n,e)?(i=V_(e,(nsR(),nWO)),n.d=i.dc()?0:Cs(Im(i.Xb(0),11)),a=V_(t,nWQ),n.b=a.dc()?0:Cs(Im(a.Xb(0),11))):(r=V_(e,(nsR(),nWQ)),n.d=r.dc()?0:Cs(Im(r.Xb(0),11)),c=V_(t,nWO),n.b=c.dc()?0:Cs(Im(c.Xb(0),11)))}function nrB(n){var t,e,i,r,c,a,u;if(n&&(t=n.Hh(njj))&&null!=(a=Sh(Q_((t.b||(t.b=new M2((nhl(),nQV),nQj,t)),t.b),"conversionDelegates")))){for(u=new wn,i=naX(a,"\\w+"),r=0,c=i.length;r>1,this.k=u-1>>1,function(n){var t,e,i,r,c,a,u;for(u=0,e=EI(n.e),c=To(Mz(E1(EP(n.e)),n.d*n.a,n.c*n.b),-.5),t=e.a-c.a,r=e.b-c.b;u0&&function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(s=t.c,r=EI(n.e),f=To(Mz(E1(EP(n.e)),n.d*n.a,n.c*n.b),-.5),e=r.a-f.a,i=r.b-f.b,e=(a=t.a).c-e,i=a.d-i,o=new h1(s);o.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&I2(t,i.b));for(r=new h1(n.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&I2(e,i.a))}function nrV(n){var t,e,i;if(null==n.g&&(n.d=n.si(n.f),_P(n,n.d),n.c))return n.f;if(i=(t=Im(n.g[n.i-1],47)).Pb(),n.e=t,(e=n.si(i)).Ob())n.d=e,_P(n,e);else for(n.d=null;!t.Ob()&&($t(n.g,--n.i,null),0!=n.i);)t=Im(n.g[n.i-1],47);return i}function nrQ(n){var t,e,i,r,c,a;for(t=0,e=new h1(n.a);e.a=0?n._g(i,!0,!0):niO(n,c,!0),153),Im(r,215).ml(t,e)}else throw new gd(nm7+t.ne()+nyn).e}function nr3(n){var t,e,i,r;if(!n.j){if(r=new ul,null==(t=nQ0).a.zc(n,t)){for(i=new Td(Lw(n));i.e!=i.i.gc();)AJ(r,nr3(e=Im(J1(i),26))),_P(r,e);t.a.Bc(n)}X5(r),n.j=new jW((Im(BX(N6(($g(),nQC).o),11),18),r.i),r.g),KJ(n).b&=-33}return n.j}function nr4(n,t){var e,i,r,c,a;for(r=t.a&n.f,c=null,i=n.b[r];;i=i.b){if(i==t){c?c.b=t.b:n.b[r]=t.b;break}c=i}for(a=t.f&n.f,c=null,e=n.c[a];;e=e.d){if(e==t){c?c.d=t.d:n.c[a]=t.d;break}c=e}t.e?t.e.c=t.c:n.a=t.c,t.c?t.c.e=t.e:n.e=t.e,--n.i,++n.g}function nr5(n,t){var e,i,r,c;for(MK((c=new Rn(n,0)).b0),c.a.Xb(c.c=--c.b),SB(c,r),MK(c.b>16!=6&&t){if(Z2(n,t))throw new gd(nys+niQ(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ZV(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=J8(t,n,6,i)),(i=SS(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,6,t,t))}function nr9(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=9&&t){if(Z2(n,t))throw new gd(nys+naO(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ZJ(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=J8(t,n,9,i)),(i=SP(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,9,t,t))}function nr7(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(Z2(n,t))throw new gd(nys+nop(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Z4(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=J8(t,n,12,i)),(i=SM(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,3,t,t))}function ncn(n){var t,e,i,r,c;if(i=Z9(n),null==(c=n.j)&&i)return n.$j()?null:i.zj();if(Ti(i,148)){if((e=i.Aj())&&(r=e.Nh())!=n.i){if((t=Im(i,148)).Ej())try{n.g=r.Kh(t,c)}catch(t){if(Ti(t=Uu(t),78))n.g=null;else throw t.e}n.i=r}return n.g}return null}function nct(n){var t;return IE(t=new wn,new mH(new kp(n.c,n.d),new kp(n.c+n.b,n.d))),IE(t,new mH(new kp(n.c,n.d),new kp(n.c,n.d+n.a))),IE(t,new mH(new kp(n.c+n.b,n.d+n.a),new kp(n.c+n.b,n.d))),IE(t,new mH(new kp(n.c+n.b,n.d+n.a),new kp(n.c,n.d+n.a))),t}function nce(n,t){var e,i,r,c,a,u;for(r=0,a=new h1(t.a);a.a0&&w.a<=0){o.c=_f(nEU,nhO,1,0,5,1),o.c[o.c.length]=w;break}(b=w.i-w.d)>=u&&(b>u&&(o.c=_f(nEU,nhO,1,0,5,1),u=b),o.c[o.c.length]=w)}0!=o.c.length&&(a=Im(CA(o,Yk(r,o.c.length)),112),LW(m.a,a),a.g=h++,nuF(a,t,e,i),o.c=_f(nEU,nhO,1,0,5,1))}for(g=n.c.length+1,l=new h1(n);l.ai.b.g&&(c.c[c.c.length]=i);return c}function ncr(){ncr=C,nGv=new ko("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),nGp=new ko("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),nGy=new ko("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),nGm=new ko("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),nGk=new ko("WHOLE_DRAWING",4)}function ncc(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=11&&t){if(Z2(n,t))throw new gd(nys+naC(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Z5(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=J8(t,n,10,i)),(i=S8(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,11,t,t))}function nca(n,t,e){return nc0(),!(zf(n,t)&&zf(n,e))&&(nsk(new kp(n.c,n.d),new kp(n.c+n.b,n.d),t,e)||nsk(new kp(n.c+n.b,n.d),new kp(n.c+n.b,n.d+n.a),t,e)||nsk(new kp(n.c+n.b,n.d+n.a),new kp(n.c,n.d+n.a),t,e)||nsk(new kp(n.c,n.d+n.a),new kp(n.c,n.d),t,e))}function ncu(n,t){var e,i,r,c;if(!n.dc()){for(e=0,i=n.gc();e>16!=7&&t){if(Z2(n,t))throw new gd(nys+neh(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ZQ(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Im(t,49).gh(n,1,nCI,i)),(i=Ow(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,7,t,t))}function ncg(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(Z2(n,t))throw new gd(nys+W7(n)).e;i=null,n.Cb&&(i=(e=n.Db>>16)>=0?ZZ(n,i):n.Cb.ih(n,-1-e,null,i)),t&&(i=Im(t,49).gh(n,0,nCN,i)),(i=Od(n,t,i))&&i.Fi()}else(4&n.Db)!=0&&(1&n.Db)==0&&zx(n,new O9(n,1,3,t,t))}function ncp(n,t){var e,i,r,c,a;if((null==n.i&&nuq(n),n.i).length,!n.p){for(a=new vL((3*n.g.i/2|0)+1),r=new Mm(n.g);r.e!=r.i.gc();)c=(i=Im(J0(r),170)).ne(),(e=Im(null==c?neQ(a.f,null,i):VH(a.g,c,i),170))&&(null==c?neQ(a.f,null,e):VH(a.g,c,e));n.p=a}return Im(Lz(n.p,t),170)}function ncv(n,t,e,i){var r,c,a,u;for(a=(u=t.e).length,c=t.q._f(u,e?0:a-1,e)|nap(n,u[e?0:a-1],e,i),r=e?1:a-2;e?r=0;r+=e?1:-1)c|=t.c.Sf(u,r,e,i&&!gm(So(ntP(t.j,(nhu(),nDc))))&&!gm(So(ntP(t.j,(nhu(),nDx))))),c|=t.q._f(u,r,e),c|=nap(n,u[r],e,i);return Av(n.c,t),c}function ncm(n,t,e){var i,r,c,a,u,o,s,h;for(o=Ri(n.j),s=0,h=o.length;so-n.b&&uo-n.a&&u=0&&!YZ(n,h,f);)--f;r[h]=f}for(b=0;b=0&&!YZ(n,u,w);)--u;c[w]=u}for(o=0;ot[l]&&li[o]&&naI(n,o,l,!1,!0)}(c),IE(this.b,c),r+=c.o,i+=c.p;this.b.c.length>0&&(r+=(c=Im(CA(this.b,0),167)).o,i+=c.p),r*=2,i*=2,t>1?r=LU(nTp.Math.ceil(r*t)):i=LU(nTp.Math.ceil(i/t)),this.a=new QA(r,i)}function ncI(n,t,e,i,r,c){var a,u,o,s,h,f,l,b,w,d,g;for(s=i,t.j&&t.o?(w=(l=Im($a(n.f,t.A),57)).d.c+l.d.b,--s):w=t.a.c+t.a.b,h=r,e.q&&e.o?(o=(l=Im($a(n.f,e.C),57)).d.c,++h):o=e.a.c,d=o-w,b=w+(u=d/nTp.Math.max(2,h-s)),f=s;f=0;a+=r?1:-1){for(u=t[a],o=i==(nsR(),nWO)?r?V_(u,i):zI(V_(u,i)):r?zI(V_(u,i)):V_(u,i),c&&(n.c[u.p]=o.gc()),f=o.Kc();f.Ob();)h=Im(f.Pb(),11),n.d[h.p]=s++;Uf(e,o)}}function ncO(n,t,e){var i,r,c,a,u,o;for(i=gy(Ss(n.b.Kc().Pb())),u=gy(Ss(function(n){if(n){if(n.dc())throw(new wO).e;return n.Xb(n.gc()-1)}return D1(n.Kc())}(t.b))),o=S9(To(E1(n.a),u-e),To(E1(t.a),e-i)),To(o,1/(u-i)),this.a=o,this.b=new wn,c=!0,(r=n.b.Kc()).Pb();r.Ob();)a=gy(Ss(r.Pb())),c&&a-e>np8&&(this.b.Fc(e),c=!1),this.b.Fc(a);c&&this.b.Fc(e)}function ncA(n,t){var e,i,r;if(UM(),e=KW(qK(),t.tg())){if(i=e.j,Ti(n,239))return((r=Im(n,33)).a||(r.a=new An(nCK,r,10,11)),r.a.i>0)?T8(i,(JB(),nzE))||T8(i,nzT):T8(i,(JB(),nzE));if(Ti(n,352))return T8(i,(JB(),nzk));if(Ti(n,186))return T8(i,(JB(),nzM));if(Ti(n,354))return T8(i,(JB(),nzj))}return!0}function nc$(n,t){if(t instanceof Object)try{if(t.__java$exception=n,-1!=navigator.userAgent.toLowerCase().indexOf("msie")&&$doc.documentMode<9)return;Object.defineProperties(t,{cause:{get:function(){var t=n.Zd();return t&&t.Xd()}},suppressed:{get:function(){return n.Yd()}}})}catch(n){}}function ncN(n,t){var e,i,r,c,a;if(i=t>>5,t&=31,i>=n.d)return n.e<0?(nc4(),nMu):(nc4(),nMl);if(function(n,t,e,i,r){var c,a,u;for(a=0,c=!0;a>>r|e[a+i+1]<>>r,++a}}(r=_f(nY$,nfH,25,(c=n.d-i)+1,15,1),c,n.a,i,t),n.e<0){for(e=0;e0&&n.a[e]<<32-t!=0){for(e=0;e=0)&&(!(e=noW((neS(),nJy),r,t))||((i=e.Zj())>1||-1==i)&&3!=$H(HC(nJy,e))))}function ncR(n,t,e){var i,r,c,a,u,o,s;if(o=n.length,(c=n[e?o-1:0])[0].k==(ntY(),nAz))for(s=c.length,r=e?0:s-1,u=t.j,i=0;i>24}(n));break;case 2:n.g=Ua(function(n){if(2!=n.p)throw(new wM).e;return CZ(n.f)&nfP}(n));break;case 3:n.g=function(n){if(3!=n.p)throw(new wM).e;return n.e}(n);break;case 4:n.g=new h_(function(n){if(4!=n.p)throw(new wM).e;return n.e}(n));break;case 6:n.g=Jy(function(n){if(6!=n.p)throw(new wM).e;return n.f}(n));break;case 5:n.g=Va(function(n){if(5!=n.p)throw(new wM).e;return CZ(n.f)}(n));break;case 7:n.g=Vu(function(n){if(7!=n.p)throw(new wM).e;return CZ(n.f)<<16>>16}(n))}return n.g}function ncF(n){if(null==n.n)switch(n.p){case 0:n.n=!function(n){if(0!=n.p)throw(new wM).e;return jv(n.k,0)}(n)?(TX(),nTW):(TX(),nTV);break;case 1:n.n=H4(function(n){if(1!=n.p)throw(new wM).e;return CZ(n.k)<<24>>24}(n));break;case 2:n.n=Ua(function(n){if(2!=n.p)throw(new wM).e;return CZ(n.k)&nfP}(n));break;case 3:n.n=function(n){if(3!=n.p)throw(new wM).e;return n.j}(n);break;case 4:n.n=new h_(function(n){if(4!=n.p)throw(new wM).e;return n.j}(n));break;case 6:n.n=Jy(function(n){if(6!=n.p)throw(new wM).e;return n.k}(n));break;case 5:n.n=Va(function(n){if(5!=n.p)throw(new wM).e;return CZ(n.k)}(n));break;case 7:n.n=Vu(function(n){if(7!=n.p)throw(new wM).e;return CZ(n.k)<<16>>16}(n))}return n.n}function nc_(n){var t,e,i,r,c,a;for(r=new h1(n.a.a);r.a0&&(e[0]+=n.d,a-=e[0]),e[2]>0&&(e[2]+=n.d,a-=e[2]),c=nTp.Math.max(0,a),e[1]=nTp.Math.max(e[1],a),K7(n,nSW,r.c+i.b+e[0]-(e[1]-a)/2,e),t==nSW&&(n.c.b=c,n.c.c=r.c+i.b+(c-a)/2)}function ncG(){this.c=_f(nYx,nlh,25,(nsR(),Um(Dg(nCm,1),nwY,61,0,[nWV,nWA,nWO,nWW,nWQ])).length,15,1),this.b=_f(nYx,nlh,25,Um(Dg(nCm,1),nwY,61,0,[nWV,nWA,nWO,nWW,nWQ]).length,15,1),this.a=_f(nYx,nlh,25,Um(Dg(nCm,1),nwY,61,0,[nWV,nWA,nWO,nWW,nWQ]).length,15,1),mO(this.c,nlr),mO(this.b,nlc),mO(this.a,nlc)}function ncz(n,t,e){var i,r,c,a;if(t<=e?(r=t,c=e):(r=e,c=t),i=0,null==n.b)n.b=_f(nY$,nfH,25,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(i=n.b.length,n.b[i-1]+1==r){n.b[i-1]=c;return}a=_f(nY$,nfH,25,i+2,15,1),now(n.b,0,a,0,i),n.b=a,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||nr$(n)}}function ncU(n,t,e,i,r){var c,a,u;if(n.d&&n.d.lg(r),YD(n,e,Im(r.Xb(0),33),!1)||YD(n,i,Im(r.Xb(r.gc()-1),33),!0)||ntF(n,r))return!0;for(u=r.Kc();u.Ob();)for(a=Im(u.Pb(),33),c=t.Kc();c.Ob();)if(nan(n,a,Im(c.Pb(),33)))return!0;return!1}function ncX(n,t,e){var i,r;if(0==(n.a||(n.a=new An(nC$,n,6,6)),n.a).i)return UA(n);if(i=Im(BX((n.a||(n.a=new An(nC$,n,6,6)),n.a),0),202),t&&(noK((i.a||(i.a=new Tg(nCP,i,5)),i.a)),ql(i,0),qw(i,0),qu(i,0),qb(i,0)),e)for(n.a||(n.a=new An(nC$,n,6,6)),r=n.a;r.i>1;)ncQ(r,r.i-1);return i}function ncW(n,t){var e,i,r,c,a,u,o;for(e=new b7,c=new h1(n.b);c.an.d[a.p]&&(e+=KC(n.b,c),RC(n.a,Va(c)));for(;!gk(n.a);)H3(n.b,Im(Al(n.a),19).a)}return e}function ncQ(n,t){var e,i,r,c;return n.ej()?(i=null,r=n.fj(),n.ij()&&(i=n.kj(n.pi(t),null)),e=n.Zi(4,c=ZI(n,t),null,t,r),n.bj()&&null!=c?(i=n.dj(c,i))?(i.Ei(e),i.Fi()):n.$i(e):i?(i.Ei(e),i.Fi()):n.$i(e)):(c=ZI(n,t),n.bj()&&null!=c&&(i=n.dj(c,null))&&i.Fi()),c}function ncJ(){ncJ=C,nLA=new yC("COMMENTS",0),nLN=new yC("EXTERNAL_PORTS",1),nLL=new yC("HYPEREDGES",2),nLD=new yC("HYPERNODES",3),nLx=new yC("NON_FREE_PORTS",4),nLR=new yC("NORTH_SOUTH_PORTS",5),nLF=new yC(ndD,6),nLO=new yC("CENTER_LABELS",7),nL$=new yC("END_LABELS",8),nLK=new yC("PARTITIONS",9)}function ncY(n){var t,e,i,r,c;for(r=new wn,t=new CI((n.a||(n.a=new An(nCK,n,10,11)),n.a)),i=new OM(Tx(nrZ(n).a.Kc(),new s));nrc(i);)!Ti(BX(((e=Im(K4(i),79)).b||(e.b=new Ph(nCO,e,4,7)),e.b),0),186)&&(c=ntr(Im(BX((e.c||(e.c=new Ph(nCO,e,5,8)),e.c),0),82)),t.a._b(c)||(r.c[r.c.length]=c));return r}function ncZ(n,t){var e,i,r;Dt(n)&&(r=Im(ntP(t,(ns8(),nFa)),174),jf(nrM(n,nFj))===jf((nn2(),nWk))&&Yu(n,nFj,nWy),mo(),i=nsM(new gl(Dt(n)),new Mw(Dt(n)?new gl(Dt(n)):null,n),!1,!0),Gv(r,(QJ(),nW3)),(e=Im(ntP(t,nFo),8)).a=nTp.Math.max(i.a,e.a),e.b=nTp.Math.max(i.b,e.b))}function nc1(){nc1=C,nNO=new NT(nbO,0,(nsR(),nWA),nWA),nNN=new NT(nb$,1,nWW,nWW),nNC=new NT(nbA,2,nWO,nWO),nNx=new NT(nbN,3,nWQ,nWQ),nN$=new NT("NORTH_WEST_CORNER",4,nWQ,nWA),nNA=new NT("NORTH_EAST_CORNER",5,nWA,nWO),nND=new NT("SOUTH_WEST_CORNER",6,nWW,nWQ),nNL=new NT("SOUTH_EAST_CORNER",7,nWO,nWW)}function nc0(){nc0=C,nzR=Um(Dg(nYL,1),nlu,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),nTp.Math.pow(2,-65)}function nc2(n,t){var e,i,r,c,a;if(0==n.c.length)return new k_(Va(0),Va(0));for(e=(D4(0,n.c.length),Im(n.c[0],11)).j,a=0,c=t.g,i=t.g+1;a=48;e--)nYt[e]=e-48<<24>>24;for(i=70;i>=65;i--)nYt[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)nYt[r]=r-97+10<<24>>24;for(c=0;c<10;c++)nYe[c]=48+c&nfP;for(n=10;n<=15;n++)nYe[n]=65+n-10&nfP}function nan(n,t,e){var i,r,c,a,u,o,s,h;return u=t.i-n.g/2,o=e.i-n.g/2,s=t.j-n.g/2,h=e.j-n.g/2,c=t.g+n.g/2,a=e.g+n.g/2,i=t.f+n.g/2,r=e.f+n.g/2,u=0;--i)for(r=0,t=e[i];r=n.a||!nn4(t,e))return -1;if(RT(Im(i.Kb(t),20)))return 1;for(r=0,a=Im(i.Kb(t),20).Kc();a.Ob();)if(-1==(u=nai(n,(c=Im(a.Pb(),17)).c.i==t?c.d.i:c.c.i,e,i))||(r=nTp.Math.max(r,u))>n.c-1)return -1;return r+1}function nar(n,t){var e,i,r,c,a,u;if(jf(t)===jf(n))return!0;if(!Ti(t,15)||(i=Im(t,15),u=n.gc(),i.gc()!=u))return!1;if(a=i.Kc(),n.ni()){for(e=0;e0){if(n.qj(),null!=t){for(c=0;c>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw new gG("Invalid hexadecimal").e}}function nau(){nau=C,nSz=new mW("SPIRAL",0),nS_=new mW("LINE_BY_LINE",1),nSH=new mW("MANHATTAN",2),nSF=new mW("JITTER",3),nSq=new mW("QUADRANTS_LINE_BY_LINE",4),nSG=new mW("QUADRANTS_MANHATTAN",5),nSB=new mW("QUADRANTS_JITTER",6),nSK=new mW("COMBINE_LINE_BY_LINE_MANHATTAN",7),nSR=new mW("COMBINE_JITTER_MANHATTAN",8)}function nao(n,t,e,i){var r,c,a,u,o,h;for(o=nnk(n,e),h=nnk(t,e),r=!1;o&&h;)if(i||function(n,t,e){var i,r,c,a;for(c=n.c,i=e?n:t,r=(e?t:n).p+1;r=t.length)throw new gu("Greedy SwitchDecider: Free layer not in graph.").e;this.c=t[n],this.e=new Px(i),GS(this.e,this.c,(nsR(),nWQ)),this.i=new Px(i),GS(this.i,this.c,nWO),this.f=new CQ(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(ntY(),nAz),this.a&&(a=t.length,f=(s=this.d.p).e,l=s.r,this.g=new Px(l),u=(h=this.d.o.c.p)>0?f[h-1]:_f(nPW,nw8,10,0,0,1),o=f[h],b=h0&&t0?c.a?e>(u=c.b.rf().a)&&(r=(e-u)/2,c.d.b=r,c.d.c=r):c.d.c=n.s+e:OQ(n.u)&&((i=nts(c.b)).c<0&&(c.d.b=-i.c),i.c+i.b>c.b.rf().a&&(c.d.c=i.c+i.b-c.b.rf().a))}(n,t),r=null,o=null,u){for(o=r=Im((c=a.Kc()).Pb(),111);c.Ob();)o=Im(c.Pb(),111);r.d.b=0,o.d.c=0,h&&!r.a&&(r.d.c=0)}f&&(function(n){var t,e,i,r,c;for(t=0,e=0,c=n.Kc();c.Ob();)i=Im(c.Pb(),111),t=nTp.Math.max(t,i.d.b),e=nTp.Math.max(e,i.d.c);for(r=n.Kc();r.Ob();)(i=Im(r.Pb(),111)).d.b=t,i.d.c=e}(a),u&&(r.d.b=0,o.d.c=0))}function nam(n,t){var e,i,r,c,a,u,o,s,h,f;if(a=Im(Im(Fl(n.r,t),21),84),u=n.u.Hc((nis(),nWP)),e=n.u.Hc(nWT),i=n.u.Hc(nWE),o=n.u.Hc(nWI),f=n.B.Hc((na9(),nVa)),s=!e&&!i&&(o||2==a.gc()),function(n,t){var e,i,r,c,a,u,o;for(u=Im(Im(Fl(n.r,t),21),84).Kc();u.Ob();)(i=(a=Im(u.Pb(),111)).c?Ct(a.c):0)>0?a.a?i>(o=a.b.rf().b)&&(n.v||1==a.c.d.c.length?(c=(i-o)/2,a.d.d=c,a.d.a=c):(e=(Im(CA(a.c.d,0),181).rf().b-o)/2,a.d.d=nTp.Math.max(0,e),a.d.a=i-e-o)):a.d.a=n.t+i:OQ(n.u)&&((r=nts(a.b)).d<0&&(a.d.d=-r.d),r.d+r.a>a.b.rf().b&&(a.d.a=r.d+r.a-a.b.rf().b))}(n,t),h=null,r=null,u){for(r=h=Im((c=a.Kc()).Pb(),111);c.Ob();)r=Im(c.Pb(),111);h.d.d=0,r.d.a=0,s&&!h.a&&(h.d.a=0)}f&&(function(n){var t,e,i,r,c;for(e=0,t=0,c=n.Kc();c.Ob();)i=Im(c.Pb(),111),e=nTp.Math.max(e,i.d.d),t=nTp.Math.max(t,i.d.a);for(r=n.Kc();r.Ob();)(i=Im(r.Pb(),111)).d.d=e,i.d.a=t}(a),u&&(h.d.d=0,r.d.a=0))}function nay(n){var t;return(64&n.Db)!=0?niJ(n):(t=new TW(niJ(n)),t.a+=" (changeable: ",p$(t,(n.Bb&nyg)!=0),t.a+=", volatile: ",p$(t,(n.Bb&nk7)!=0),t.a+=", transient: ",p$(t,(n.Bb&nla)!=0),t.a+=", defaultValueLiteral: ",jT(t,n.j),t.a+=", unsettable: ",p$(t,(n.Bb&nk9)!=0),t.a+=", derived: ",p$(t,(n.Bb&nhJ)!=0),t.a+=")",t.a)}function nak(n,t,e,i){var r,c,a,u,o,s;if(null==e){for(u=0,r=Im(n.g,119);u1||-1==a)&&(c|=16),(r.Bb&nyc)!=0&&(c|=64)),(e.Bb&nlo)!=0&&(c|=nk7),c|=nyg):Ti(t,457)?c|=512:(i=t.Bj())&&(1&i.i)!=0&&(c|=256),(512&n.Bb)!=0&&(c|=128),c}function naT(n,t){var e,i,r,c,a;for(r=0,n=null==n?nhN:($D(n),n);r>>0).toString(16)),Kz(),i=nMH?new KG(null):function n(t,e){var i,r,c,a,u;return(i=Im(Lz(t.a,e),512))?i:(r=new KG(e),Kz(),a=n(t,MT(c=nMH?null:r.c,0,nTp.Math.max(0,T2(c,ntd(46))))),!nMH&&a&&(r.d=a),0==(nMH?null:r.c).length&&(u=new U,nMH||IE(r.a,u)),Dp(t.a,nMH?null:r.c,r),r)}(function(){var n,t,e,i,r;return!nMZ&&(nMZ=new wH,e=n=new KG(""),vX(),i=nMY,nMH||(e.b=i),t=nMZ,0==((Kz(),nMH)?null:n.c).length&&(r=new U,nMH||IE(n.a,r)),Dp(t.a,nMH?null:n.c,n)),nMZ}(),"com.google.common.base.Strings"),vX(),r="Exception during lenientFormat for "+e,(nMF?(function(n){var t,e;if(n.b)return n.b;for(e=nMH?null:n.d;e;){if(t=nMH?null:e.b)return t;e=nMH?null:e.d}vX()}(i),0):nM_?(vX(),0):nMq?(vX(),0):!nMB||(vX(),1))||((c=new Pq(r)).b=t,function(n,t){var e,i,r,c,a,u,o;for(i=XI(n),c=0,u=i.length;c";throw a.e}}(t[r]);for(e=new gW,a=0,i=0;in.d[u.p]&&(e+=KC(n.b,c),RC(n.a,Va(c)))):++a;for(e+=n.b.d*a;!gk(n.a);)H3(n.b,Im(Al(n.a),19).a)}return e}function naS(n){var t,e,i,r,c,a,u;for(u=new wt,i=new h1(n.a.b);i.a=n.o)throw(new wx).e;a=t>>5,c=OR(1,CZ(OR(31&t,1))),r?n.n[e][a]=xr(n.n[e][a],c):n.n[e][a]=xi(n.n[e][a],ID(c)),c=OR(c,1),i?n.n[e][a]=xr(n.n[e][a],c):n.n[e][a]=xi(n.n[e][a],ID(c))}catch(i){if(Ti(i=Uu(i),320))throw new gu(nbx+n.o+"*"+n.p+nbR+t+nhI+e+nbK).e;throw i.e}}function naC(n){var t,e,i;return(64&n.Db)!=0?nt3(n):(t=new TV(nm5),(e=n.k)?jP(jP((t.a+=' "',t),e),'"'):(n.n||(n.n=new An(nCR,n,1,7)),n.n.i>0&&(i=(n.n||(n.n=new An(nCR,n,1,7)),Im(BX(n.n,0),137)).a)&&jP(jP((t.a+=' "',t),i),'"')),jP(pN(jP(pN(jP(pN(jP(pN((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function naO(n){var t,e,i;return(64&n.Db)!=0?nt3(n):(t=new TV(nm6),(e=n.k)?jP(jP((t.a+=' "',t),e),'"'):(n.n||(n.n=new An(nCR,n,1,7)),n.n.i>0&&(i=(n.n||(n.n=new An(nCR,n,1,7)),Im(BX(n.n,0),137)).a)&&jP(jP((t.a+=' "',t),i),'"')),jP(pN(jP(pN(jP(pN(jP(pN((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function naA(n,t){var e,i,r,c,a,u;if(null==t||0==t.length)return null;if(!(r=Im(Lz(n.a,t),149))){for(i=new hG(new hx(n.b).a.vc().Kc());i.a.Ob();)if(c=Im(i.a.Pb(),42),a=(e=Im(c.dd(),149)).c,u=t.length,Pv(a.substr(a.length-u,u),t)&&(t.length==a.length||46==$9(a,a.length-t.length-1))){if(r)return null;r=e}r&&Dp(n.a,t,r)}return r}function na$(n){var t,e,i;!MB(n,(ns8(),nK9))||(i=Im(ntP(n,nK9),21)).dc()||(e=new PR(t=Im(pf(nCd),9),Im(Sz(t,t.length),9),0),i.Hc((nrS(),nWr))?Gv(e,nWr):Gv(e,nWc),i.Hc(nWe)||Gv(e,nWe),i.Hc(nWt)?Gv(e,nWo):i.Hc(nWn)?Gv(e,nWu):i.Hc(nWi)&&Gv(e,nWa),i.Hc(nWo)?Gv(e,nWt):i.Hc(nWu)?Gv(e,nWn):i.Hc(nWa)&&Gv(e,nWi),UU(n,nK9,e))}function naN(n,t,e,i,r){var c,a,u,o,s,h,f;if(!(Ti(t,239)||Ti(t,354)||Ti(t,186)))throw new gd("Method only works for ElkNode-, ElkLabel and ElkPort-objects.").e;return a=n.a/2,o=t.i+i-a,h=t.j+r-a,s=o+t.g+n.a,f=h+t.f+n.a,I2(c=new dd,new kp(o,h)),I2(c,new kp(o,f)),I2(c,new kp(s,f)),I2(c,new kp(s,h)),z5(u=new nrf(c),t),e&&$J(n.b,t,u),u}function naL(n,t,e){var i,r,c,a,u,o,s,h;for(c=new kp(t,e),s=new h1(n.a);s.a0&&++s;++o}return s}(o.e,h)+u*function(n){var t,e,i,r,c,a,u,o,s,h,f;for(o=0,h=-1,f=0,s=n.length;o0&&++f;++h}return f}(o.e)),f+=Zp(o.d,o.e)+s,r=new h1(o.b);r.a0){for(r=o.length;r>0&&""==o[r-1];)--r;r=e)return ned(n,t,i.p),!0;return!1}(n,e)||(r.c[r.c.length]=e);return r}(n,t)).c.length)for(E_(r,new eN),e=r.c.length,i=0;i=s&&(o=i);o&&(h=nTp.Math.max(h,o.a.o.a)),h>l&&(f=s,l=h)}return f}(n,r,i))}(n,t);else for(i=t.Kc();i.Ob();){switch((e=Im(i.Pb(),286)).d.g){case 5:ned(n,e,function(n,t){var e,i,r;for(e=0,r=(i=function(n,t){var e,i,r,c,a,u,o,s,h,f,l;for(r=2*gy(Ss(ntP(o=$N(t.a),(ns8(),nFG)))),h=gy(Ss(ntP(o,nFJ))),s=nTp.Math.max(r,h),c=_f(nYx,nlh,25,t.f-t.c+1,15,1),i=-s,e=0,u=t.b.Kc();u.Ob();)a=Im(u.Pb(),10),i+=n.a[a.c.p]+s,c[e++]=i;for(i+=n.a[t.a.c.p]+s,c[e++]=i,l=new h1(t.e);l.a=r)return t.c+e;return t.c+t.b.gc()}(n,e));break;case 0:ned(n,e,(r=(e.f-e.c+1-1)/2|0,e.c+r));break;case 4:ned(n,e,function(n,t){var e,i;for(e=(i=t.c)+1;e<=t.f;e++)n.a[e]>n.a[i]&&(i=e);return i}(n,e));break;case 2:QP(e),ned(n,e,nnX(e)?e.c:e.f);break;case 1:QP(e),ned(n,e,nnX(e)?e.f:e.c)}!function(n){var t;for(GD(),t=Im(K4(new OM(Tx(VG(n).a.Kc(),new s))),17).c.i;t.k==(ntY(),nAX);)UU(t,(nhu(),nDd),(TX(),!0)),t=Im(K4(new OM(Tx(VG(t).a.Kc(),new s))),17).c.i}(e.a)}}}function na4(n,t,e,i,r,c){var a,u,o,s,h,f,l,b,w,d,g,p,v;for(u=(i+r)/2+c,d=e*nTp.Math.cos(u),g=e*nTp.Math.sin(u),p=d-t.g/2,v=g-t.f/2,qh(t,p),qf(t,v),f=n.a.jg(t),(w=2*nTp.Math.acos(e/e+n.c))=40)&&function(n){var t,e,i,r,c,a,u;for(n.o=new b7,i=new vK,a=new h1(n.e.a);a.a0,u=V6(t,c),e?Mo(u.b,t):Mo(u.g,t),1==VV(u).c.length&&KN(i,u,i.c.b,i.c),r=new k_(c,t),RC(n.o,r),Hh(n.e.a,c))}(n),function(n){var t,e,i,r,c,a,u,o,s,h;for(s=n.e.a.c.length,c=new h1(n.e.a);c.a0){for(gT(n.c);function n(t,e){var i,r,c,a;for(c=1,e.j=!0,a=null,r=new h1(VV(e));r.a0&&I2(n.f,c)):(n.c[a]-=s+1,n.c[a]<=0&&n.a[a]>0&&I2(n.e,c))))}function na8(n,t,e){var i,r,c,a,u,o,s,h,f;for(c=new Fq(t.c.length),s=new h1(t);s.a0&&0==e.c&&(t||(t=new wn),t.c[t.c.length]=e);if(t)for(;0!=t.c.length;){if((e=Im(Ff(t,0),233)).b&&e.b.c.length>0){for(e.b||(e.b=new wn),c=new h1(e.b);c.aHb(n,e,0))return new k_(r,e)}else if(gy(Tu(r.g,r.d[0]).a)>gy(Tu(e.g,e.d[0]).a))return new k_(r,e)}for(u=(e.e||(e.e=new wn),e.e).Kc();u.Ob();)(a=Im(u.Pb(),233)).b||(a.b=new wn),DC(0,(o=a.b).c.length),m$(o.c,0,e),a.c==o.c.length&&(t.c[t.c.length]=a)}return null}(c);)!function(n,t,e,i){var r,c,a,u,o,s;for(a=new no5(n,t,e),o=new Rn(i,0),r=!1;o.bgy(Tu(a.g,a.d[0]).a)?(MK(o.b>0),o.a.Xb(o.c=--o.b),SB(o,a),r=!0):u.e&&u.e.gc()>0&&(c=(u.e||(u.e=new wn),u.e).Mc(t),s=(u.e||(u.e=new wn),u.e).Mc(e),(c||s)&&((u.e||(u.e=new wn),u.e).Fc(a),++a.c));r||(i.c[i.c.length]=a)}(n,Im(f.a,233),Im(f.b,233),c);for(t.c=_f(nEU,nhO,1,0,5,1),r=new h1(c);r.a0&&(D5(0,n.length),45==n.charCodeAt(0)||(D5(0,n.length),43==n.charCodeAt(0)))?1:0;ie)throw new gG(nli+n+'"').e;return a}function nui(n){switch(n){case 100:return nhw(nET,!0);case 68:return nhw(nET,!1);case 119:return nhw(nEM,!0);case 87:return nhw(nEM,!1);case 115:return nhw(nES,!0);case 83:return nhw(nES,!1);case 99:return nhw(nEP,!0);case 67:return nhw(nEP,!1);case 105:return nhw(nEI,!0);case 73:return nhw(nEI,!1);default:throw new d7(nEE+n.toString(16)).e}}function nur(n,t,e,i,r){e&&(!i||(n.c-n.b&n.a.length-1)>1)&&1==t&&Im(n.a[n.b],10).k==(ntY(),nAU)?nuS(Im(n.a[n.b],10),(ZR(),nX5)):i&&(!e||(n.c-n.b&n.a.length-1)>1)&&1==t&&Im(n.a[n.c-1&n.a.length-1],10).k==(ntY(),nAU)?nuS(Im(n.a[n.c-1&n.a.length-1],10),(ZR(),nX6)):(n.c-n.b&n.a.length-1)==2?(nuS(Im(U3(n),10),(ZR(),nX5)),nuS(Im(U3(n),10),nX6)):function(n,t){var e,i,r,c,a,u,o,s,h;for(o=Mj(n.c-n.b&n.a.length-1),s=null,h=null,c=new Nn(n);c.a!=c.b;)r=Im(Wj(c),10),e=(u=Im(ntP(r,(nhu(),nDp)),11))?u.i:null,i=(a=Im(ntP(r,nDv),11))?a.i:null,(s!=e||h!=i)&&(nrj(o,t),s=e,h=i),o.c[o.c.length]=r;nrj(o,t)}(n,r),RZ(n)}function nuc(n,t,e,i){var r,c,a,u,o;return a=n.eh(),o=n.Zg(),r=null,o?t&&(naz(n,t,e).Bb&nlo)==0?(i=Ye(o.Vk(),n,i),n.uh(null),r=t.fh()):o=null:(a&&(o=a.fh()),t&&(r=t.fh())),o!=r&&o&&o.Zk(n),u=n.Vg(),n.Rg(t,e),o!=r&&r&&r.Yk(n),n.Lg()&&n.Mg()&&(a&&u>=0&&u!=e&&(c=new O9(n,1,u,a,null),i?i.Ei(c):i=c),e>=0&&(c=new O9(n,1,e,u==e?a:null,t),i?i.Ei(c):i=c)),i}function nua(n){var t,e,i,r;if(null==n.b){if(i=new gz,null!=n.i&&(jT(i,n.i),i.a+=":"),(256&n.f)!=0){for((256&n.f)!=0&&null!=n.a&&(null!=(r=n.i)&&vA(nV1,r.toLowerCase())||(i.a+="//"),jT(i,n.a)),null!=n.d&&(i.a+="/",jT(i,n.d)),(16&n.f)!=0&&(i.a+="/"),t=0,e=n.j.length;t>>31;0!=i&&(n[e]=i)}(e,e,t<<1),i=0,r=0,a=0;r0){if(r=Im(n.Ab.g,1934),null==t){for(c=0;ce.s&&ua)return nsR(),nWO;break;case 4:case 3:if(h<0)return nsR(),nWA;if(h+e>c)return nsR(),nWW}return(o=(s+u/2)/a)+(i=(h+e/2)/c)<=1&&o-i<=0?(nsR(),nWQ):o+i>=1&&o-i>=0?(nsR(),nWO):i<.5?(nsR(),nWA):(nsR(),nWW)}function nud(n,t,e,i,r,c,a){var u,o,s,h,f;for(f=new Et,o=t.Kc();o.Ob();)for(h=new h1(Im(o.Pb(),839).wf());h.an.b/2+t.b/2||(r=nTp.Math.abs(n.d+n.a/2-(t.d+t.a/2)))>n.a/2+t.a/2)?1:0==e&&0==r?0:0==e?c/r+1:0==r?i/e+1:nTp.Math.min(i/e,c/r)+1}function nup(n,t){var e,i,r,c,a,u;return(r=qx(n))!=(u=qx(t))?rt.f?1:0:(i=n.e-t.e,(e=(n.d>0?n.d:nTp.Math.floor((n.a-1)*nll)+1)-(t.d>0?t.d:nTp.Math.floor((t.a-1)*nll)+1))>i+1)?r:e0&&(a=H8(a,nu6(i))),Jf(c,a))}function nuv(n,t){var e,i,r,c;if(XQ(),c=Im(ntP(n.i,(ns8(),nFj)),98),0!=n.j.g-t.j.g||!(c==(nn2(),nWg)||c==nWv||c==nWp))return 0;if(c==(nn2(),nWg)&&(e=Im(ntP(n,nFE),19),i=Im(ntP(t,nFE),19),e&&i&&0!=(r=e.a-i.a)))return r;switch(n.j.g){case 1:return Vv(n.n.a,t.n.a);case 2:return Vv(n.n.b,t.n.b);case 3:return Vv(t.n.a,n.n.a);case 4:return Vv(t.n.b,n.n.b);default:throw new gg(nw5).e}}function num(n){var t,e,i,r,c;for(IE(c=new Fq((n.a||(n.a=new Tg(nCP,n,5)),n.a).i+2),new kp(n.j,n.k)),vF(new CN(null,(n.a||(n.a=new Tg(nCP,n,5)),new D6(n.a,16))),new bc(c)),IE(c,new kp(n.b,n.c)),t=1;t0&&(UN(o,!1,(W2(),nXP)),UN(o,!0,nXI)),BR(t.g,new yc(n,e)),$J(n.g,t,e)}function nuk(){var n;for(n=2,nuk=C,nT3=Um(Dg(nY$,1),nfH,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),nT4=_f(nY$,nfH,25,37,15,1),nT5=Um(Dg(nY$,1),nfH,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),nT6=_f(nYL,nlu,25,37,14,1);n<=36;n++)nT4[n]=LU(nTp.Math.pow(n,nT3[n])),nT6[n]=nnm(nh1,nT4[n])}function nuj(n,t){var e,i,r,c;for(r=t.d?n.a.c==(LR(),nH$)?VG(t.b):Vz(t.b):n.a.c==(LR(),nHA)?VG(t.b):Vz(t.b),c=!1,i=new OM(Tx(r.a.Kc(),new s));nrc(i);)if(e=Im(K4(i),17),!(!gm(n.a.f[n.a.g[t.b.p].p])&&!KR(e)&&e.c.i.c==e.d.i.c||gm(n.a.n[n.a.g[t.b.p].p])||gm(n.a.n[n.a.g[t.b.p].p]))&&(c=!0,v$(n.b,n.a.g[function(n,t){if(n.c.i==t)return n.d.i;if(n.d.i==t)return n.c.i;throw new gd("Node "+t+" is neither source nor target of edge "+n).e}(e,t.b).p])))return t.c=!0,t.a=e,t;return t.c=c,t.a=null,t}function nuE(n,t,e){var i,r,c,a,u,o,s;if(0==(i=e.gc()))return!1;if(n.ej()){if(o=n.fj(),Qp(n,t,e),a=1==i?n.Zi(3,null,e.Kc().Pb(),t,o):n.Zi(5,null,e,t,o),n.bj()){for(u=i<100?null:new pc(i),c=t+i,r=t;r0){for(a=0;a>16==-15&&n.Cb.nh()&&Hk(new _R(n.Cb,9,13,e,n.c,Yl(HO(Im(n.Cb,59)),n))):Ti(n.Cb,88)&&n.Db>>16==-23&&n.Cb.nh()&&(Ti(t=n.c,88)||(nhl(),t=nQq),Ti(e,88)||(nhl(),e=nQq),Hk(new _R(n.Cb,9,10,e,t,Yl(RJ(Im(n.Cb,26)),n)))))),n.c}function nuC(n,t){var e,i,r;i=0!=nr_(n.d,1),(gm(So(ntP(t.j,(nhu(),nDc))))||gm(So(ntP(t.j,nDx))))&&jf(ntP(t.j,(ns8(),nKs)))!==jf((U1(),n_F))?i=gm(So(ntP(t.j,nDc))):t.c.Tf(t.e,i),ncv(n,t,i,!0),gm(So(ntP(t.j,nDx)))&&UU(t.j,nDx,(TX(),!1)),gm(So(ntP(t.j,nDc)))&&(UU(t.j,nDc,(TX(),!1)),UU(t.j,nDx,!0)),e=neH(n,t);do{if(GR(n),0==e)return 0;i=!i,r=e,ncv(n,t,i,!1),e=neH(n,t)}while(r>e);return r}function nuO(n,t,e,i){var r,c,a,u,o,s,h,f;if(ncx(n.e,t)){for(s=0,f=ncT(n.e.Tg(),t),c=Im(n.g,119),h=null,o=-1,u=-1,r=0;snlf)return n(i);if(r=i,i==t)throw new gg("There is a cycle in the containment hierarchy of "+t).e}return r}(n),160),UU(i,nzx,jj(a.We(nzx)))),UU(i,(nhu(),nDj),n),UU(i,nDa,new PR(t=Im(pf(nIo),9),Im(Sz(t,t.length),9),0)),r=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;for(m=f=new nsI(n),y=!(t==(W2(),nXO)||t==nXS),nal(m,!0),BR(m.e.wf(),new PZ(m,!0,y)),h=f.a,l=new da,BH(),r=Um(Dg(nSh,1),nfs,232,0,[nSX,nSW,nSV]),a=0,o=r.length;a0&&(l.d+=h.n.d,l.d+=h.d),l.a>0&&(l.a+=h.n.a,l.a+=h.d),l.b>0&&(l.b+=h.n.b,l.b+=h.d),l.c>0&&(l.c+=h.n.c,l.c+=h.d),l}((Dt(n)&&(mo(),new gl(Dt(n))),mo(),new Mw(Dt(n)?new gl(Dt(n)):null,n)),nXI),c=Im(ntP(i,nFf),116),Dc(e=i.d,c),Dc(e,r),i}function nuN(n,t){var e,i,r,c;return i=nTp.Math.abs(OJ(n.b).a-OJ(t.b).a),c=nTp.Math.abs(OJ(n.b).b-OJ(t.b).b),e=1,r=1,i>n.b.b/2+t.b.b/2&&(e=1-nTp.Math.min(nTp.Math.abs(n.b.c-(t.b.c+t.b.b)),nTp.Math.abs(n.b.c+n.b.b-t.b.c))/i),c>n.b.a/2+t.b.a/2&&(r=1-nTp.Math.min(nTp.Math.abs(n.b.d-(t.b.d+t.b.a)),nTp.Math.abs(n.b.d+n.b.a-t.b.d))/c),(1-nTp.Math.min(e,r))*nTp.Math.sqrt(i*i+c*c)}function nuL(n,t){var e,i;if(null!=t){if(i=Zb(n)){if((1&i.i)==0)return mv(),!(e=Im($a(nVY,i),55))||e.wj(t);if(i==nYN)return jl(t);if(i==nY$)return Ti(t,19);if(i==nYR)return Ti(t,155);if(i==nYD)return Ti(t,217);else if(i==nYA)return Ti(t,172);else if(i==nYx)return jb(t);else if(i==nYK)return Ti(t,184);else if(i==nYL)return Ti(t,162)}else if(Ti(t,56))return n.uk(Im(t,56))}return!1}function nuD(){var n,t,e,i,r,c,a,u,o;for(t=0,nuD=C,nJ7=_f(nYD,nyb,25,255,15,1),nYn=_f(nYA,nfM,25,64,15,1);t<255;t++)nJ7[t]=-1;for(e=90;e>=65;e--)nJ7[e]=e-65<<24>>24;for(i=122;i>=97;i--)nJ7[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)nJ7[r]=r-48+52<<24>>24;for(c=0,nJ7[43]=62,nJ7[47]=63;c<=25;c++)nYn[c]=65+c&nfP;for(a=26,o=0;a<=51;++a,o++)nYn[a]=97+o&nfP;for(n=52,u=0;n<=61;++n,u++)nYn[n]=48+u&nfP;nYn[62]=43,nYn[63]=47}function nux(n,t){var e,i,r,c,a,u,o;if(!L8(n))throw new gg(nmz).e;if(c=(i=L8(n)).g,r=i.f,c<=0&&r<=0)return nsR(),nWV;switch(u=n.i,o=n.j,t.g){case 2:case 1:if(u<0)return nsR(),nWQ;if(u+n.g>c)return nsR(),nWO;break;case 4:case 3:if(o<0)return nsR(),nWA;if(o+n.f>r)return nsR(),nWW}return(a=(u+n.g/2)/c)+(e=(o+n.f/2)/r)<=1&&a-e<=0?(nsR(),nWQ):a+e>=1&&a-e>=0?(nsR(),nWO):e<.5?(nsR(),nWA):(nsR(),nWW)}function nuR(n){var t,e,i,r,c;if(nhh(),4!=n.e&&5!=n.e)throw new gd("Token#complementRanges(): must be RANGE: "+n.e).e;for(nr$(n),noA(n),i=n.b.length+2,0==n.b[0]&&(i-=2),(e=n.b[n.b.length-1])==nEj&&(i-=2),++nYC,(r=new xv(4)).b=_f(nY$,nfH,25,i,15,1),c=0,n.b[0]>0&&(r.b[c++]=0,r.b[c++]=n.b[0]-1),t=1;t0&&(s=o,h=o.d-r.d,s.d=h,r.c==(FO(),nHZ)&&(f=o,l=o.a-r.d,f.a=l),o.d<=0&&o.i>0&&KN(t,o,t.c.b,t.c));for(c=new h1(n.f);c.a0&&(b=u,w=u.i-r.d,b.i=w,r.c==(FO(),nHZ)&&(d=u,g=u.b-r.d,d.b=g),u.i<=0&&u.d>0&&KN(e,u,e.c.b,e.c))}function nu_(n){var t,e,i,r,c,a,u,o,s,h,f,l,b;if(e=n.i,t=n.n,0==n.b)for(b=e.c+t.b,l=e.b-t.b-t.c,a=n.a,o=0,h=a.length;o0&&(f-=i[0]+n.c,i[0]+=n.c),i[2]>0&&(f-=i[2]+n.c),i[1]=nTp.Math.max(i[1],f),Of(n.a[1],e.c+t.b+i[0]-(i[1]-f)/2,i[1]);for(c=n.a,u=0,s=c.length;u0?(n.n.c.length-1)*n.i:0,e=new h1(n.n);e.a1)for(i=Jz(r,0);i.b!=i.d.c;)for(e=Im(RP(i),231),c=0,u=new h1(e.e);u.a0&&(t[0]+=n.c,f-=t[0]),t[2]>0&&(f-=t[2]+n.c),t[1]=nTp.Math.max(t[1],f),Ol(n.a[1],i.d+e.d+t[0]-(t[1]-f)/2,t[1]);else for(w=i.d+e.d,b=i.a-e.d-e.a,a=n.a,o=0,h=a.length;o=0&&c!=e)throw new gd(ny1).e;for(o=0,r=0;o>>0).toString(16),t.length-2,t.length):n>=nlo?"\\v"+MT(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&nfP)}return e}function nuZ(n,t){var e,i,r,c,a,u,o,s,h,f;if(a=n.e,0==(o=t.e))return n;if(0==a)return 0==t.e?t:new As(-t.e,t.d,t.a);if((c=n.d)+(u=t.d)==2)return e=xi(n.a[0],nlb),i=xi(t.a[0],nlb),a<0&&(e=Hl(e)),o<0&&(i=Hl(i)),JK(VR(e,i));if(-1==(r=c!=u?c>u?1:-1:XL(n.a,t.a,c)))f=-o,h=a==o?Fp(t.a,u,n.a,c):_h(t.a,u,n.a,c);else if(f=a,a==o){if(0==r)return nc4(),nMl;h=Fp(n.a,c,t.a,u)}else h=_h(n.a,c,t.a,u);return xF(s=new As(f,h.length,h)),s}function nu1(n){var t,e,i,r,c,a;for(this.e=new wn,this.a=new wn,e=n.b-1;e<3;e++)Mq(n,0,Im(J7(n,0),8));if(n.b<4)throw new gd("At (least dimension + 1) control points are necessary!").e;for(this.b=3,this.d=!0,this.c=!1,function(n,t){var e,i,r,c;if(t<2*n.b)throw new gd("The knot vector must have at least two time the dimension elements.").e;for(i=0,n.f=1;i0)&&(u=a/60|0,i=n.q.getDate(),n.q.getHours()+u>=24&&++i,r=new nTp.Date(n.q.getFullYear(),n.q.getMonth(),i,t+u,n.q.getMinutes()+a%60,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(r.getTime())),c=n.q.getTime(),n.q.setTime(c+36e5),n.q.getHours()!=t&&n.q.setTime(c)}function nu4(n){var t,e,i,r,c;if(!n.d){if(c=new uh,null==(t=nQ0).a.zc(n,t)){for(e=new Td(Lw(n));e.e!=e.i.gc();)AJ(c,nu4(Im(J1(e),26)));t.a.Bc(n),t.a.gc()}for(r=c.i,n.q||(n.q=new An(nQd,n,11,10)),i=new Td(n.q);i.e!=i.i.gc();++r)Im(J1(i),399);AJ(c,(n.q||(n.q=new An(nQd,n,11,10)),n.q)),X5(c),n.d=new jW((Im(BX(N6(($g(),nQC).o),9),18),c.i),c.g),n.e=Im(c.g,673),null==n.e&&(n.e=nQ2),KJ(n).b&=-17}return n.d}function nu5(n,t,e,i){var r,c,a,u,o,s;if(s=ncT(n.e.Tg(),t),o=0,r=Im(n.g,119),mp(),Im(t,66).Oj()){for(a=0;a1e6)throw new ga("power of ten too big").e;if(n<=nhT)return K2(ni$(nMd[1],t),t);for(r=i=ni$(nMd[1],nhT),e=zD(n-nhT),t=LU(n%nhT);WM(e,nhT)>0;)r=H8(r,i),e=VR(e,nhT);for(r=K2(r=H8(r,ni$(nMd[1],t)),nhT),e=zD(n-nhT);WM(e,nhT)>0;)r=K2(r,nhT),e=VR(e,nhT);return K2(r,t)}function nu8(n){var t,e,i,r,c,a,u,o;for(a=new h1(n.a);a.as&&i>s)h=u,s=gy(t.p[u.p])+gy(t.d[u.p])+u.o.b+u.d.a;else{r=!1,e.n&&IJ(e,"bk node placement breaks on "+u+" which should have been after "+h);break}if(!r)break}return e.n&&IJ(e,t+" is feasible: "+r),r}function non(n){var t,e,i,r,c,a;if(!n.f){if(a=new uo,c=new uo,null==(t=nQ0).a.zc(n,t)){for(r=new Td(Lw(n));r.e!=r.i.gc();)AJ(a,non(Im(J1(r),26)));t.a.Bc(n),t.a.gc()}for(n.s||(n.s=new An(nQu,n,21,17)),i=new Td(n.s);i.e!=i.i.gc();)Ti(e=Im(J1(i),170),99)&&_P(c,Im(e,18));X5(c),n.r=new IX(n,(Im(BX(N6(($g(),nQC).o),6),18),c.i),c.g),AJ(a,n.r),X5(a),n.f=new jW((Im(BX(N6(nQC.o),5),18),a.i),a.g),KJ(n).b&=-3}return n.f}function not(n){var t,e,i,r,c,a,u,o;e=gm(So(ntP(n,(nab(),nOC)))),c=n.a.c.d,u=n.a.d.d,e?(a=To(S7(new kp(u.a,u.b),c),.5),o=To(E1(n.e),.5),t=S7(S9(new kp(c.a,c.b),a),o),MU(n.d,t)):(r=gy(Ss(ntP(n.a,nOU))),i=n.d,c.a>=u.a?c.b>=u.b?(i.a=u.a+(c.a-u.a)/2+r,i.b=u.b+(c.b-u.b)/2-r-n.e.b):(i.a=u.a+(c.a-u.a)/2+r,i.b=c.b+(u.b-c.b)/2+r):c.b>=u.b?(i.a=c.a+(u.a-c.a)/2+r,i.b=u.b+(c.b-u.b)/2+r):(i.a=c.a+(u.a-c.a)/2+r,i.b=c.b+(u.b-c.b)/2-r-n.e.b))}function noe(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(null==n)return null;if(0==(c=n.length))return"";for(o=_f(nYA,nfM,25,c,15,1),_b(0,c,n.length),_b(0,c,o.length),Ax(n,0,c,o,0),e=null,u=t,r=0,a=0;r0?MT(e.a,0,c-1):"":n.substr(0,c-1):e?e.a:n}function noi(n){var t,e;mc(n,new nte(((((t=new as).c=nb3,t).d="ELK DisCo",t).b="Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out.",e=new n4,t.e=e,t))),xV(n,nb3,nb4,JZ(nOb)),xV(n,nb3,nb5,JZ(nOu)),xV(n,nb3,nb6,JZ(nOe)),xV(n,nb3,nb8,JZ(nOo)),xV(n,nb3,nbr,JZ(nOf)),xV(n,nb3,nbc,JZ(nOh)),xV(n,nb3,nbi,JZ(nOl)),xV(n,nb3,nba,JZ(nOs)),xV(n,nb3,nbY,JZ(nOr)),xV(n,nb3,nbZ,JZ(nOi)),xV(n,nb3,nb1,JZ(nOc)),xV(n,nb3,nb0,JZ(nOa))}function nor(n,t,e,i){var r,c,a,u,o,s,h,f,l;if(f=c=new Y$(n),ntY(),l=nAV,f.k=l,UU(c,(ns8(),nFj),(nn2(),nWp)),r=0,t){for(UU(a=new nt9,(nhu(),nDj),t),UU(c,nDj,t.i),ne9(a,(nsR(),nWQ)),DM(a,c),s=0,h=(o=xB(t.e)).length;s=0&&f<=1&&l>=0&&l<=1?S9(new kp(n.a,n.b),To(new kp(t.a,t.b),f)):null:0!=s?null:(c=_k(n,r=S9(new kp(e.a,e.b),To(new kp(i.a,i.b),.5))),a=_k(S9(new kp(n.a,n.b),t),r),u=.5*nTp.Math.sqrt(i.a*i.a+i.b*i.b),c0?n.i:0)>t&&o>0&&(c=0,a+=o+n.i,r=nTp.Math.max(r,l),i+=o+n.i,o=0,l=0,e&&(++f,IE(n.n,new LZ(n.s,a,n.i))),u=0),l+=s.g+(u>0?n.i:0),o=nTp.Math.max(o,s.f),e&&YJ(Im(CA(n.n,f),211),s),c+=s.g+(u>0?n.i:0),++u;return r=nTp.Math.max(r,l),i+=o,e&&(n.r=r,n.d=i,ZE(n.j)),new Nj(n.s,n.t,r,i)}function now(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;if(vI(),Am(n,"src"),Am(e,"dest"),l=Xp(n),o=Xp(e),I_((4&l.i)!=0,"srcType is not an array"),I_((4&o.i)!=0,"destType is not an array"),f=l.c,a=o.c,I_((1&f.i)!=0?f==a:(1&a.i)==0,"Array types don't match"),b=n.length,s=e.length,t<0||i<0||r<0||t+r>b||i+r>s)throw(new wk).e;if((1&f.i)==0&&l!=o){if(h=BJ(n),c=BJ(e),jf(n)===jf(e)&&ti;)$t(c,u,h[--t]);else for(u=i+r;i0&&ne4(n,t,e,i,r,!0)}function nod(){nod=C,nMb=Um(Dg(nY$,1),nfH,25,15,[nfg,1162261467,nfu,1220703125,362797056,1977326743,nfu,387420489,nf9,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,nfu,1291467969,1544804416,1838265625,60466176]),nMw=Um(Dg(nY$,1),nfH,25,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function nog(n,t){var e,i,r,c,a;if(a=Im(t,136),nr$(n),nr$(a),null!=a.b){if(n.c=!0,null==n.b){n.b=_f(nY$,nfH,25,a.b.length,15,1),now(a.b,0,n.b,0,a.b.length);return}for(e=0,c=_f(nY$,nfH,25,n.b.length+a.b.length,15,1),i=0,r=0;e=n.b.length?(c[r++]=a.b[i++],c[r++]=a.b[i++]):i>=a.b.length?(c[r++]=n.b[e++],c[r++]=n.b[e++]):a.b[i]0&&(r=(n.n||(n.n=new An(nCR,n,1,7)),Im(BX(n.n,0),137)).a)&&jP(jP((t.a+=' "',t),r),'"')),n.b||(n.b=new Ph(nCO,n,4,7)),(e=!(n.b.i<=1&&(n.c||(n.c=new Ph(nCO,n,5,8)),n.c.i<=1)))?t.a+=" [":t.a+=" ",jP(t,TD(new g_,new Td(n.b))),e&&(t.a+="]"),t.a+=nw3,e&&(t.a+="["),jP(t,TD(new g_,new Td(n.c))),e&&(t.a+="]"),t.a)}function nov(n,t,e,i){var r,c,a,u,o,s;if(c=VA(i),(gm(So(ntP(i,(ns8(),nK5))))||gm(So(ntP(n,nKq))))&&!Ec(Im(ntP(n,nFj),98)))r=Ql(c),u=nuh(n,e,e==(qF(),n_U)?r:Vg(r));else switch(DM(u=new nt9,n),t?((s=u.n).a=t.a-n.n.a,s.b=t.b-n.n.b,nea(s,0,0,n.o.a,n.o.b),ne9(u,nuw(u,c))):(r=Ql(c),ne9(u,e==(qF(),n_U)?r:Vg(r))),a=Im(ntP(i,(nhu(),nDa)),21),o=u.j,c.g){case 2:case 1:(o==(nsR(),nWA)||o==nWW)&&a.Fc((ncJ(),nLR));break;case 4:case 3:(o==(nsR(),nWO)||o==nWQ)&&a.Fc((ncJ(),nLR))}return u}function nom(n,t,e){var i,r,c,a,u,o,s;return nTp.Math.abs(t.s-t.c)s?new D_((FO(),nH1),e,t,o-s):o>0&&s>0&&(new D_((FO(),nH1),t,e,0),new D_(nH1,e,t,0))),c)}function noy(n,t){var e,i,r,c,a;for(a=new XE(new hN(n.f.b).a);a.b;){if(r=Im((c=BQ(a)).cd(),594),1==t){if(r.gf()!=(W2(),nXO)&&r.gf()!=nXS)continue}else if(r.gf()!=(W2(),nXP)&&r.gf()!=nXI)continue;switch(i=Im(Im(c.dd(),46).b,81),e=Im(Im(c.dd(),46).a,189).c,r.gf().g){case 2:i.g.c=n.e.a,i.g.b=nTp.Math.max(1,i.g.b+e);break;case 1:i.g.c=i.g.c+e,i.g.b=nTp.Math.max(1,i.g.b-e);break;case 4:i.g.d=n.e.b,i.g.a=nTp.Math.max(1,i.g.a+e);break;case 3:i.g.d=i.g.d+e,i.g.a=nTp.Math.max(1,i.g.a-e)}}}function nok(n){var t,e;mc(n,new nte(((((t=new as).c=nvY,t).d="ELK SPOrE Compaction",t).b="ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree.",e=new c5,t.e=e,t))),xV(n,nvY,nvZ,JZ(nGJ)),xV(n,nvY,nv1,JZ(nGW)),xV(n,nvY,nv0,JZ(nGX)),xV(n,nvY,nv2,JZ(nGz)),xV(n,nvY,nv3,JZ(nGU)),xV(n,nvY,nb8,nGG),xV(n,nvY,nwm,8),xV(n,nvY,nv4,JZ(nGQ)),xV(n,nvY,nv5,JZ(nG_)),xV(n,nvY,nv6,JZ(nGH)),xV(n,nvY,npv,(TX(),!1))}function noj(n,t,e){var i,r,c,a,u,o,s,h;if(i=n.a.o==(Dh(),nHD)?nlr:nlc,!(u=nuj(n,new y2(t,e))).a&&u.c)I2(n.d,u);else if(u.a)return r=u.a.c,o=u.a.d,e?(s=n.a.c==(LR(),nH$)?o:r,c=n.a.c==nH$?r:o,a=n.a.g[c.i.p],h=gy(n.a.p[a.p])+gy(n.a.d[c.i.p])+c.n.b+c.a.b-gy(n.a.d[s.i.p])-s.n.b-s.a.b):(s=n.a.c==(LR(),nHA)?o:r,c=n.a.c==nHA?r:o,h=gy(n.a.p[n.a.g[c.i.p].p])+gy(n.a.d[c.i.p])+c.n.b+c.a.b-gy(n.a.d[s.i.p])-s.n.b-s.a.b),n.a.n[n.a.g[r.i.p].p]=(TX(),!0),n.a.n[n.a.g[o.i.p].p]=!0,h;return i}function noE(n,t,e){var i,r,c,a,u,o,s;if(ncx(n.e,t))mp(),niX((u=Im(t,66).Oj()?new Cb(t,n):new jr(t,n)).c,u.b),E9(u,Im(e,14));else{for(c=0,s=ncT(n.e.Tg(),t),i=Im(n.g,119);cn.o.b||(e=V_(n,nWO),t.d+t.a+(e.gc()-1)*r>n.o.b)))}function noS(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w;if(a=n.e,o=t.e,0==a)return t;if(0==o)return n;if((c=n.d)+(u=t.d)==2)return(e=xi(n.a[0],nlb),i=xi(t.a[0],nlb),a==o)?(w=CZ(h=VK(e,i)),0==(b=CZ(OF(h,32)))?new F_(a,w):new As(a,2,Um(Dg(nY$,1),nfH,25,15,[w,b]))):JK(a<0?VR(i,e):VR(e,i));if(a==o)l=a,f=c>=u?_h(n.a,c,t.a,u):_h(t.a,u,n.a,c);else{if(0==(r=c!=u?c>u?1:-1:XL(n.a,t.a,c)))return nc4(),nMl;1==r?(l=a,f=Fp(n.a,c,t.a,u)):(l=o,f=Fp(t.a,u,n.a,c))}return xF(s=new As(l,f.length,f)),s}function noP(n,t,e,i,r,c,a){var u,o,s,h,f,l,b,w,d,g,p,v,m,y;return f=gm(So(ntP(t,(ns8(),nK6)))),l=null,c==(qF(),n_z)&&i.c.i==e?l=i.c:c==n_U&&i.d.i==e&&(l=i.d),(s=a)&&f&&!l?(IE(s.e,i),b=nTp.Math.max(gy(Ss(ntP(s.d,nKx))),gy(Ss(ntP(i,nKx)))),UU(s.d,nKx,b)):(nsR(),h=nWV,l?h=l.j:Ec(Im(ntP(e,nFj),98))&&(h=c==n_z?nWQ:nWO),w=h,d=null,v=c==(qF(),n_z)?i.c:i.d,p=VA(t),v.i==e?(d=Im($a(n.b,v),10))||(UU(d=nsQ(v,Im(ntP(e,(ns8(),nFj)),98),w,function(n){var t,e,i,r,c,a,u,o,s,h,f,l;for(r=gm(So(ntP(u=n.i,(ns8(),nKG)))),h=0,i=0,s=new h1(n.g);s.a=t.i?(++t.i,IE(t.a,Va(1)),IE(t.b,f)):(r=t.c[e.p][1],KL(t.a,h,Va(Im(CA(t.a,h),19).a+1-r)),KL(t.b,h,gy(Ss(CA(t.b,h)))+f-r*t.e)),(t.q==(nco(),n_O)&&(Im(CA(t.a,h),19).a>t.j||Im(CA(t.a,h-1),19).a>t.j)||t.q==n_N&&(gy(Ss(CA(t.b,h)))>t.k||gy(Ss(CA(t.b,h-1)))>t.k))&&(o=!1),a=new OM(Tx(VG(e).a.Kc(),new s));nrc(a);)u=Im(K4(a),17).c.i,t.f[u.p]==h&&(c+=Im((l=n(t,u)).a,19).a,o=o&&gm(So(l.b)));return t.f[e.p]=h,new k_(Va(c+=t.c[e.p][0]),(TX(),!!o))}(n,Im(xe(h),10)),e=!0,(n.q==(nco(),n_O)||n.q==n_N)&&(e=gm(So(l.b))),Im(l.a,19).a<0&&e?(++b,o=LG(n.f,n.f.length),n.d=n.d+Im(l.a,19).a,w+=c-n.d,c=n.d+Im(l.a,19).a,a=n.i,i=xa(n.a),r=xa(n.b)):(n.f=LG(o,o.length),n.d=c,n.a=(A1(i),i?new PH(i):Iy(new h1(i))),n.b=(A1(r),r?new PH(r):Iy(new h1(r))),n.i=a);++u,f=0!=b&&gm(So(t.Kb(new k_(Va(w),Va(u)))))}while(f)}function noA(n){var t,e,i,r;if(null!=n.b&&!(n.b.length<=2)&&!n.a){for(t=0,r=0;r=n.b[r+1])r+=2;else if(e=nlo?jT(e,VO(i)):$i(e,i&nfP),++nYC,c=new LF(10,null,0),u=n.a,o=c,OW(s=a-1,u.a.c.length),KL(u.a,s,o)):(c.bm().length,jT(e=new gU,c.bm())),0==t.e?(i=t._l())>=nlo?jT(e,VO(i)):$i(e,i&nfP):jT(e,t.bm()),Im(c,521).b=e.a}}function nox(n){var t,e,i,r,c;return null!=n.g?n.g:n.a<32?(n.g=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(nod(),(u=0>WM(n,0))&&(n=Hl(n)),0==WM(n,0))switch(t){case 0:return"0";case 1:return nld;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return f=new gX,t<0?f.a+="0E+":f.a+="0E",f.a+=t==nfg?"2147483648":""+-t,f.a}s=_f(nYA,nfM,25,19,15,1),e=18,b=n;do o=b,b=nnm(b,10),s[--e]=CZ(VK(48,VR(o,VF(b,10))))&nfP;while(0!=WM(b,0));if(i=VR(VR(VR(18,e),t),1),0==t)return u&&(s[--e]=45),Je(s,e,18-e);if(t>0&&WM(i,-6)>=0){if(WM(i,0)>=0){for(r=e+CZ(i),a=17;a>=r;a--)s[a+1]=s[a];return s[++r]=46,u&&(s[--e]=45),Je(s,e,18-e+1)}for(c=2;0>WM(c,VK(Hl(i),1));c++)s[--e]=48;return s[--e]=46,s[--e]=48,u&&(s[--e]=45),Je(s,e,18-e)}return l=e+1,h=new gW,u&&(h.a+="-"),18-l>=1?($r(h,s[e]),h.a+=".",h.a+=Je(s,e+1,18-e-1)):h.a+=Je(s,e,18-e),h.a+="E",WM(i,0)>0&&(h.a+="+"),h.a+=""+OD(i),h.a}(zD(n.f),LU(n.e)),n.g):(r=ns9((n.c||(n.c=Wa(n.f)),n.c),0),0==n.e)?r:(t=(n.c||(n.c=Wa(n.f)),n.c).e<0?2:1,e=r.length,i=-n.e+e-t,c=new gX,c.a+=""+r,n.e>0&&i>=-6?i>=0?Dm(c,e-LU(n.e),"."):(c.a=MT(c.a,0,t-1)+"0."+jm(c.a,t-1),Dm(c,t+1,Je(nMn,0,-LU(i)-1))):(e-t>=1&&(Dm(c,t,"."),++e),Dm(c,e,"E"),i>0&&Dm(c,++e,"+"),Dm(c,++e,""+OD(zD(i)))),n.g=c.a,n.g)}function noR(n){var t,e,i,r,c,a;for(BR(n.a,new nY),e=new h1(n.a);e.a=nTp.Math.abs(i.b)?(i.b=0,c.d+c.a>a.d&&c.da.c&&c.c=V2(t.b.c,c.b.c+c.b.b)&&0>=V2(c.b.c,t.b.c+t.b.b)&&0>=V2(t.b.d,c.b.d+c.b.a)&&0>=V2(c.b.d,t.b.d+t.b.a)){if(0==V2(c.b.c,t.b.c+t.b.b)&&r.a<0||0==V2(c.b.c+c.b.b,t.b.c)&&r.a>0||0==V2(c.b.d,t.b.d+t.b.a)&&r.b<0||0==V2(c.b.d+c.b.a,t.b.d)&&r.b>0){o=0;break}}else o=nTp.Math.min(o,ne8(t,c,r));o=nTp.Math.min(o,n(t,a,o,r))}return o}(Im(t.b,65),e,i,r)),a=new h1(t.a);a.a0){if(t=new jc(n.i,n.g),c=(e=n.i)<100?null:new pc(e),n.ij())for(i=0;i0){for(u=n.g,s=n.i,Fo(n),c=s<100?null:new pc(s),i=0;i4){if(!n.wj(t))return!1;if(n.rk()){if(u=(e=(i=Im(t,49)).Ug())==n.e&&(n.Dk()?i.Og(i.Vg(),n.zk())==n.Ak():-1-i.Vg()==n.aj()),n.Ek()&&!u&&!e&&i.Zg()){for(r=0;r0){if(t=new zi(n.Gi()),c=(e=h)<100?null:new pc(e),SI(n,e,t.g),r=1==e?n.Zi(4,BX(t,0),null,0,o):n.Zi(6,t,null,-1,o),n.bj()){for(i=new Td(t);i.e!=i.i.gc();)c=n.dj(J1(i),c);c?(c.Ei(r),c.Fi()):n.$i(r)}else c?(c.Ei(r),c.Fi()):n.$i(r)}else SI(n,n.Vi(),n.Wi()),n.$i(n.Zi(6,(NV(),nMp),null,-1,o))}else if(n.bj()){if((h=n.Vi())>0){for(u=n.Wi(),s=h,SI(n,h,u),c=s<100?null:new pc(s),i=0;i.5?g-=2*c*(b-.5):b<.5&&(g+=2*r*(.5-b)),g<(i=a.d.b)&&(g=i),w=a.d.c,g>d.a-w-s&&(g=d.a-w-s),a.n.a=t+g}}function noG(n,t){var e,i,r,c,a,u,o,s,h;return(s="",0==t.length)?n.de(nfT,nfj,-1,-1):(Pv((h=ntB(t)).substr(0,3),"at ")&&(h=h.substr(3)),-1==(a=(h=h.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(a=h.indexOf("@"))?(s=h,h=""):(s=ntB(h.substr(a+1)),h=ntB(h.substr(0,a))):(e=h.indexOf(")",a),s=h.substr(a+1,e-(a+1)),h=ntB(h.substr(0,a))),-1!=(a=jZ(h,ntd(46)))&&(h=h.substr(a+1)),(0==h.length||Pv(h,"Anonymous function"))&&(h=nfj),u=T2(s,ntd(58)),r=Pj(s,ntd(58),u-1),o=-1,i=-1,c=nfT,-1!=u&&-1!=r&&(c=s.substr(0,r),o=ME(s.substr(r+1,u-(r+1))),i=ME(s.substr(u+1))),n.de(c,h,o,i))}function noz(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(0==t.l&&0==t.m&&0==t.h)throw new ga("divide by zero").e;if(0==n.l&&0==n.m&&0==n.h)return e&&(nTq=Ez(0,0,0)),Ez(0,0,0);if(t.h==nf5&&0==t.m&&0==t.l)return(s=n).h==nf5&&0==s.m&&0==s.l?(e&&(nTq=Ez(0,0,0)),j2((HD(),nTU))):(e&&(nTq=Ez(s.l,s.m,s.h)),Ez(0,0,0));if(o=!1,t.h>>19!=0&&(t=Uq(t),o=!o),a=((l=(h=t).l)&l-1)!=0||((b=h.m)&b-1)!=0||((f=h.h)&f-1)!=0||0==f&&0==b&&0==l?-1:0==f&&0==b&&0!=l?qW(l):0==f&&0!=b&&0==l?qW(b)+22:0!=f&&0==b&&0==l?qW(f)+44:-1,c=!1,r=!1,i=!1,n.h==nf5&&0==n.m&&0==n.l){if(r=!0,c=!0,-1!=a)return u=nrh(n,a),o&&Xn(u),e&&(nTq=Ez(0,0,0)),u;n=j2((HD(),nTG)),i=!0,o=!o}else n.h>>19!=0&&(c=!0,n=Uq(n),i=!0,o=!o);return -1!=a?(w=n,d=o,g=c,p=nrh(w,a),d&&Xn(p),e&&(v=w,a<=22?(m=v.l&(1<nnn(n,t)?(e&&(nTq=c?Uq(n):Ez(n.l,n.m,n.h)),Ez(0,0,0)):function(n,t,e,i,r,c){var a,u,o,s,h,f,l,b,w;for(o=U2(t)-U2(n),a=ntZ(t,o),u=Ez(0,0,0);o>=0&&((w=n.h-a.h)<0||(l=n.l-a.l,(w+=(b=n.m-a.m+(l>>22))>>22)<0||(n.l=l&nf3,n.m=b&nf3,n.h=w&nf4,0))||(o<22?u.l|=1<>>1,a.m=s>>>1|(1&h)<<21,a.l=f>>>1|(1&s)<<21,--o;return e&&Xn(u),c&&(i?(nTq=Uq(n),r&&(nTq=Uc(nTq,(HD(),nTU)))):nTq=Ez(n.l,n.m,n.h)),u}(i?n:Ez(n.l,n.m,n.h),t,o,c,r,e)}function noU(n,t){var e,i,r,c,a,u,o,s,h,f,l;if(n.e&&n.c.c=0)return r=function(n,t){var e;if(Ti(e=ncp(n.Tg(),t),99))return Im(e,18);throw new gd(nm7+t+"' is not a valid reference").e}(n,t.substr(1,c-1)),function(n,t,e){var i,r,c,a,u,o,s,h,f,l;for(s=0,o=new wn,f=t.length,a=U7(e);s=0?n._g(s,!1,!0):niO(n,e,!1),58);e:for(c=f.Kc();c.Ob();){for(h=0,r=Im(c.Pb(),56);h=0){i=Im(K8(n,BD(n,t.substr(1,e-1)),!1),58),o=0;try{o=nue(t.substr(e+1),nfg,nhT)}catch(n){if(Ti(n=Uu(n),127))throw new Hj(n).e;throw n.e}if(o=0)return e;switch($H(HC(n,e))){case 2:if(Pv("",WW(n,e.Hj()).ne())){if(o=Na(HC(n,e)),u=Nc(HC(n,e)),h=nrC(n,t,o,u))return h;for(a=0,f=(r=naW(n,t)).gc();a-2;default:return!1}switch(t=n.gj(),n.p){case 0:return null!=t&&gm(So(t))!=jv(n.k,0);case 1:return null!=t&&Im(t,217).a!=CZ(n.k)<<24>>24;case 2:return null!=t&&Im(t,172).a!=(CZ(n.k)&nfP);case 6:return null!=t&&jv(Im(t,162).a,n.k);case 5:return null!=t&&Im(t,19).a!=CZ(n.k);case 7:return null!=t&&Im(t,184).a!=CZ(n.k)<<16>>16;case 3:return null!=t&&gy(Ss(t))!=n.j;case 4:return null!=t&&Im(t,155).a!=n.j;default:return null==t?null!=n.n:!WY(t,n.n)}}function no1(n,t,e){var i,r,c,a;return n.Fk()&&n.Ek()&&jf(a=OY(n,Im(e,56)))!==jf(e)?(n.Oi(t),n.Ui(t,_X(n,t,a)),n.rk()&&(r=Im(e,49),c=n.Dk()?n.Bk()?r.ih(n.b,YI(Im(Bm(Ld(n.b),n.aj()),18)).n,Im(Bm(Ld(n.b),n.aj()).Yj(),26).Bj(),null):r.ih(n.b,Qj(r.Tg(),YI(Im(Bm(Ld(n.b),n.aj()),18))),null,null):r.ih(n.b,-1-n.aj(),null,null),Im(a,49).eh()||(i=Im(a,49),c=n.Dk()?n.Bk()?i.gh(n.b,YI(Im(Bm(Ld(n.b),n.aj()),18)).n,Im(Bm(Ld(n.b),n.aj()).Yj(),26).Bj(),c):i.gh(n.b,Qj(i.Tg(),YI(Im(Bm(Ld(n.b),n.aj()),18))),null,c):i.gh(n.b,-1-n.aj(),null,c)),c&&c.Fi()),Ea(n.b)&&n.$i(n.Zi(9,e,a,t,!1)),a):e}function no0(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j;for(h=gy(Ss(ntP(n,(ns8(),nFq)))),i=gy(Ss(ntP(n,nF3))),UU(l=new az,nFq,h+i),p=(s=t).d,d=s.c.i,v=s.d.i,g=j5(d.c),m=j5(v.c),r=new wn,f=g;f<=m;f++)k=u=new Y$(n),ntY(),j=nAX,k.k=j,UU(u,(nhu(),nDj),s),UU(u,nFj,(nn2(),nWp)),UU(u,nFz,l),b=Im(CA(n.b,f),29),f==g?ZF(u,b.a.c.length-e,b):DT(u,b),(y=gy(Ss(ntP(s,nKx))))<0&&UU(s,nKx,y=0),u.o.b=y,w=nTp.Math.floor(y/2),ne9(a=new nt9,(nsR(),nWQ)),DM(a,u),a.n.b=w,ne9(o=new nt9,nWO),DM(o,u),o.n.b=w,Dj(s,a),z5(c=new Ls,s),UU(c,nKW,null),DE(c,o),Dj(c,p),function(n,t,e){var i;(i=t.c.i).k==(ntY(),nAX)?(UU(n,(nhu(),nDp),Im(ntP(i,nDp),11)),UU(n,nDv,Im(ntP(i,nDv),11))):(UU(n,(nhu(),nDp),t.c),UU(n,nDv,e.d))}(u,s,c),r.c[r.c.length]=c,s=c;return r}function no2(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(u=Im(nen(n,(nsR(),nWQ)).Kc().Pb(),11).e,f=Im(nen(n,nWO).Kc().Pb(),11).g,a=u.c.length,g=D9(Im(CA(n.j,0),11));a-- >0;){for(D4(0,u.c.length),b=Im(u.c[0],17),D4(0,f.c.length),r=Hb((i=Im(f.c[0],17)).d.e,i,0),p=i.d,b.d&&Hh(b.d.e,b),b.d=p,b.d&&C4(b.d.e,r,b),DE(i,null),Dj(i,null),l=b.a,t&&I2(l,new Ee(g)),e=Jz(i.a,0);e.b!=e.d.c;)I2(l,new Ee(Im(RP(e),8)));for(d=b.b,h=new h1(i.b);h.a0&&(a=nTp.Math.max(a,G8(n.C.b+i.d.b,r))),h=i,f=r,l=c;n.C&&n.C.c>0&&(b=l+n.C.c,s&&(b+=h.d.c),a=nTp.Math.max(a,(ED(),qR(nbj),nTp.Math.abs(f-1)<=nbj||1==f||isNaN(f)&&isNaN(1)?0:b/(1-f)))),e.n.b=0,e.a.a=a}function no4(n,t){var e,i,r,c,a,u,o,s,h,f,l,b;if(e=Im($6(n.b,t),124),(o=Im(Im(Fl(n.r,t),21),84)).dc()){e.n.d=0,e.n.a=0;return}for(s=n.u.Hc((nis(),nWM)),a=0,n.A.Hc((QJ(),nW6))&&nam(n,t),u=o.Kc(),h=null,l=0,f=0;u.Ob();)c=gy(Ss((i=Im(u.Pb(),111)).b.We((Ma(),nPm)))),r=i.b.rf().b,h?(b=f+h.d.a+n.w+i.d.d,a=nTp.Math.max(a,(ED(),qR(nbj),nTp.Math.abs(l-c)<=nbj||l==c||isNaN(l)&&isNaN(c)?0:b/(c-l)))):n.C&&n.C.d>0&&(a=nTp.Math.max(a,G8(n.C.d+i.d.d,c))),h=i,l=c,f=r;n.C&&n.C.a>0&&(b=f+n.C.a,s&&(b+=h.d.a),a=nTp.Math.max(a,(ED(),qR(nbj),nTp.Math.abs(l-1)<=nbj||1==l||isNaN(l)&&isNaN(1)?0:b/(1-l)))),e.n.d=0,e.a.b=a}function no5(n,t,e){var i,r,c,a,u,o;for(a=0,this.g=n,u=t.d.length,o=e.d.length,this.d=_f(nPW,nw8,10,u+o,0,1);a0?BW(this,this.f/this.a):null!=Tu(t.g,t.d[0]).a&&null!=Tu(e.g,e.d[0]).a?BW(this,(gy(Tu(t.g,t.d[0]).a)+gy(Tu(e.g,e.d[0]).a))/2):null!=Tu(t.g,t.d[0]).a?BW(this,Tu(t.g,t.d[0]).a):null!=Tu(e.g,e.d[0]).a&&BW(this,Tu(e.g,e.d[0]).a)}function no6(n){var t;this.a=n,t=(ntY(),Um(Dg(nPV,1),nfs,267,0,[nAW,nAX,nAz,nAV,nAU,nAG])).length,this.b=Cv(nCe,[nhQ,npU],[593,146],0,[t,t],2),this.c=Cv(nCe,[nhQ,npU],[593,146],0,[t,t],2),LO(this,nAW,(ns8(),nFQ),nFJ),Un(this,nAW,nAX,nFq,nFG),LC(this,nAW,nAV,nFq),LC(this,nAW,nAz,nFq),Un(this,nAW,nAU,nFQ,nFJ),LO(this,nAX,nF_,nFH),LC(this,nAX,nAV,nF_),LC(this,nAX,nAz,nF_),Un(this,nAX,nAU,nFq,nFG),EC(this,nAV,nF_),LC(this,nAV,nAz,nF_),LC(this,nAV,nAU,nFX),EC(this,nAz,nF1),Un(this,nAz,nAU,nFV,nFW),LO(this,nAU,nF_,nF_),LO(this,nAG,nF_,nFH),Un(this,nAG,nAW,nFq,nFG),Un(this,nAG,nAU,nFq,nFG),Un(this,nAG,nAX,nFq,nFG)}function no8(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;if(l=new Ee(n.o),p=t.a/l.a,u=t.b/l.b,d=t.a-l.a,c=t.b-l.b,e)for(r=jf(ntP(n,(ns8(),nFj)))===jf((nn2(),nWp)),w=new h1(n.j);w.a=1&&(g-a>0&&f>=0?(o.n.a+=d,o.n.b+=c*a):g-a<0&&h>=0&&(o.n.a+=d*g,o.n.b+=c));n.o.a=t.a,n.o.b=t.b,UU(n,(ns8(),nFa),(QJ(),new PR(i=Im(pf(nCy),9),Im(Sz(i,i.length),9),0)))}function no9(n){var t,e,i,r,c,a,u,o,s,h;for(i=new wn,a=new h1(n.e.a);a.a=u&&r<=o)u<=r&&c<=o?(e[s++]=r,e[s++]=c,i+=2):u<=r?(e[s++]=r,e[s++]=o,n.b[i]=o+1,a+=2):c<=o?(e[s++]=u,e[s++]=c,i+=2):(e[s++]=u,e[s++]=o,n.b[i]=o+1);else if(oV_(n.a.o,(nsR(),nWO)).gc()&&2>V_(n.a.o,nWQ).gc())return!0;if(n.a.c.Rf())return!1;for(y=0,m=0,v=new wn,o=n.a.e,h=0,f=o.length;h=e}(this.k)}function nsi(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,k;for(f=new wt,a=new wn,nir(n,e,n.d.fg(),a,f),nir(n,i,n.d.gg(),a,f),n.b=.2*(d=nrk(HV(new CN(null,new D6(a,16)),new cO)),g=nrk(HV(new CN(null,new D6(a,16)),new cA)),nTp.Math.min(d,g)),c=0,u=0;u=2&&(p=nci(a,!0,l),n.e||(n.e=new lY(n)),v=n.e,m=n.b,0!=p.c.length&&(k=function(n,t){var e,i,r,c,a,u,o,s;for(e=new wn,r=HV(new CN(null,new D6(n,16)),new cP),c=HV(new CN(null,new D6(n,16)),new cI),$R((V$(a=Nd(function(n){var t,e,i,r,c,a,u;for(a=0,t=336,e=0,r=new SR(n.length),u=n.length;aWM(xc(n,t),0)|WM(xc(n,e),0)>=0)?e:VK(nh1,xc(OF(e,63),1))}(e,i.rd());return Im(Im(function n(t,e){return t.c?n(t.c,e):IE(t.b,e),t}(new CN(null,ntb(new D6(($w(),QE(r.a)),16),new y,t,e)),new hS(n)),670),833)}(Um(Dg(nMz,1),nhO,833,0,[r,c])),new cC)),u=new II(a,a.a.e,4|a.a.d),o=new Sd(a,u))),s=_f(nYx,nlh,25,0,15,1),pC(o.a,new fh(s)),i=1;i=2*t&&IE(e,new It(s[i-1]+t,s[i]-t));return e}(a,m),vF(B$(new CN(null,new D6(function(n){var t,e,i,r,c,a,u;for(c=new j7,e=new h1(n);e.a2&&u.e.b+u.j.b<=2&&(r=u,i=a),c.a.zc(r,c),r.q=i);return c}(p),1)),new cS),new NE(v,a,k,m)))),nn5(a,l),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(o=new wn,a=new wn,c=new h1(n);c.a-1){for(r=new h1(a);r.a0||(p=nTp.Math.min(u.o,i.o-1),u.o=p,v=u.i-1,u.i=v,0!=u.i||(a.c[a.c.length]=u))}}(a),b=-1,h=new h1(a);h.agy(Ss(ntP(t,(ns8(),nF_))))&&UU(t,nF_,2),Im(ntP(t,nKj),103)==(W2(),nXC)&&UU(t,nKj,VA(t)),0==(e=Im(ntP(t,nFL),19)).a?UU(t,(nhu(),nDN),new VB):UU(t,(nhu(),nDN),new Ka(e.a)),null==So(ntP(t,nFt))&&UU(t,nFt,(TX(),jf(ntP(t,nKC))===jf((VY(),nXx)))),vF(new CN(null,new D6(t.a,16)),new fN(n)),vF(HV(new CN(null,new D6(t.b,16)),new tu),new fL(n)),i=new no6(t),UU(t,(nhu(),nDK),i),xY(n.a),Ak(n.a,(ntI(),nAw),Im(ntP(t,nKy),246)),Ak(n.a,nAd,Im(ntP(t,nK3),246)),Ak(n.a,nAg,Im(ntP(t,nKm),246)),Ak(n.a,nAp,Im(ntP(t,nFc),246)),Ak(n.a,nAv,(a=Im(ntP(t,nKC),218),EA(),C9(nHK.a,a)||((u=new cf).a=a,S_(nHK,a,u)),Im($6(nHK,a),635))),r=n.a,c=function(n){var t,e,i,r,c,a,u;switch(e=Im(ntP(n,(nhu(),nDa)),21),t=Eo(nAf),Im(ntP(n,(ns8(),nKF)),334)==(WN(),nX0)&&zM(t,nAl),gm(So(ntP(n,nKR)))?Cg(t,(ntI(),nAw),(nhs(),n$X)):Cg(t,(ntI(),nAg),(nhs(),n$X)),null!=ntP(n,(FI(),nzx))&&zM(t,nAb),(gm(So(ntP(n,nKU)))||gm(So(ntP(n,nKK))))&&Ob(t,(ntI(),nAv),(nhs(),n$u)),Im(ntP(n,nKj),103).g){case 2:case 3:case 4:Ob(Cg(t,(ntI(),nAw),(nhs(),n$s)),nAv,n$o)}switch(e.Hc((ncJ(),nLA))&&Ob(Cg(Cg(t,(ntI(),nAw),(nhs(),n$a)),nAp,n$r),nAv,n$c),jf(ntP(n,nK2))!==jf((nco(),n_D))&&Cg(t,(ntI(),nAg),(nhs(),n$F)),e.Hc(nLK)&&(Cg(t,(ntI(),nAw),(nhs(),n$z)),Cg(t,nAd,n$q),Cg(t,nAg,n$G)),jf(ntP(n,nKi))!==jf((ntW(),nLP))&&jf(ntP(n,nKC))!==jf((VY(),nXR))&&Ob(t,(ntI(),nAv),(nhs(),n$j)),gm(So(ntP(n,nKH)))&&Cg(t,(ntI(),nAg),(nhs(),n$k)),gm(So(ntP(n,nKv)))&&Cg(t,(ntI(),nAg),(nhs(),n$Z)),(jf(ntP(n,(ns8(),nKF)))===jf((WN(),nX0))?n.e||jf(ntP(n,nKb))===jf((z0(),nLH)):(a=Im(ntP(n,nKw),292),u=gm(So(ntP(n,nKv)))||jf(ntP(n,nKm))===jf((q5(),nNV)),r=Im(ntP(n,nKl),19).a,c=n.a.c.length,u||a==(z0(),nLH)||0!=r&&!(r>c)))||(i=(jf(ntP(n,nKF))===jf(nX0)?Im(ntP(n,nKb),292):Im(ntP(n,nKw),292))==(z0(),nLB)?(nhs(),n$B):(nhs(),n$2),Cg(t,(ntI(),nAp),i)),Im(ntP(n,n_t),377).g){case 1:Cg(t,(ntI(),nAp),(nhs(),n$1));break;case 2:Ob(Cg(Cg(t,(ntI(),nAg),(nhs(),n$n)),nAp,n$t),nAv,n$e)}return jf(ntP(n,nKs))!==jf((U1(),n_F))&&Cg(t,(ntI(),nAg),(nhs(),n$0)),t}(t),zM(r.a,c),UU(t,nD$,noU(n.a,t))}function nsc(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;for(s=nlr,h=nlr,u=nlc,o=nlc,l=new h1(t.i);l.a=u&&r<=o)u<=r&&c<=o?i+=2:u<=r?(n.b[i]=o+1,a+=2):c<=o?(e[s++]=r,e[s++]=u-1,i+=2):(e[s++]=r,e[s++]=u-1,n.b[i]=o+1,a+=2);else if(o0?1:0;c.a[r]!=e;)c=c.a[r],r=n.a.ue(e.d,c.d)>0?1:0;c.a[r]=i,i.b=e.b,i.a[0]=e.a[0],i.a[1]=e.a[1],e.a[0]=null,e.a[1]=null}(n,o,a,h=new _g(f.d,f.e)),l==a&&(l=h)),l.a[l.a[1]==f?1:0]=f.a[f.a[0]?0:1],--n.c),n.b=o.a[1],n.b&&(n.b.b=!1),e.b}function nsb(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(e)for(i=-1,h=new Rn(t,0);h.b0?r-=864e5:r+=864e5,o=new Sf(VK(zD(t.q.getTime()),r))),h=new gW,s=n.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(a=c+1;a=-1900?1:0,e>=4?jP(n,Um(Dg(nTs,1),nhQ,2,6,[nfB,nfq])[a]):jP(n,Um(Dg(nTs,1),nhQ,2,6,["BC","AD"])[a]);break;case 121:!function(n,t,e){var i;switch((i=e.q.getFullYear()-nf_+nf_)<0&&(i=-i),t){case 1:n.a+=i;break;case 2:H2(n,i%100,2);break;default:H2(n,i,t)}}(n,e,i);break;case 77:!function(n,t,e){var i;switch(i=e.q.getMonth(),t){case 5:jP(n,Um(Dg(nTs,1),nhQ,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:jP(n,Um(Dg(nTs,1),nhQ,2,6,[nfI,nfC,nfO,nfA,nf$,nfN,nfL,nfD,nfx,nfR,nfK,nfF])[i]);break;case 3:jP(n,Um(Dg(nTs,1),nhQ,2,6,["Jan","Feb","Mar","Apr",nf$,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:H2(n,i+1,t)}}(n,e,i);break;case 107:0==(u=r.q.getHours())?H2(n,24,e):H2(n,u,e);break;case 83:0>WM(b=zD(r.q.getTime()),0)?(w=nfS-CZ(QU(Hl(b),nfS)))==nfS&&(w=0):w=CZ(QU(b,nfS)),1==e?$r(n,48+(w=nTp.Math.min((w+50)/100|0,9))&nfP):2==e?H2(n,w=nTp.Math.min((w+5)/10|0,99),2):(H2(n,w,3),e>3&&H2(n,0,e-3));break;case 69:o=i.q.getDay(),5==e?jP(n,Um(Dg(nTs,1),nhQ,2,6,["S","M","T","W","T","F","S"])[o]):4==e?jP(n,Um(Dg(nTs,1),nhQ,2,6,[nfG,nfz,nfU,nfX,nfW,nfV,nfQ])[o]):jP(n,Um(Dg(nTs,1),nhQ,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[o]);break;case 97:r.q.getHours()>=12&&24>r.q.getHours()?jP(n,Um(Dg(nTs,1),nhQ,2,6,["AM","PM"])[1]):jP(n,Um(Dg(nTs,1),nhQ,2,6,["AM","PM"])[0]);break;case 104:0==(s=r.q.getHours()%12)?H2(n,12,e):H2(n,s,e);break;case 75:H2(n,r.q.getHours()%12,e);break;case 72:H2(n,r.q.getHours(),e);break;case 99:h=i.q.getDay(),5==e?jP(n,Um(Dg(nTs,1),nhQ,2,6,["S","M","T","W","T","F","S"])[h]):4==e?jP(n,Um(Dg(nTs,1),nhQ,2,6,[nfG,nfz,nfU,nfX,nfW,nfV,nfQ])[h]):3==e?jP(n,Um(Dg(nTs,1),nhQ,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[h]):H2(n,h,1);break;case 76:f=i.q.getMonth(),5==e?jP(n,Um(Dg(nTs,1),nhQ,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[f]):4==e?jP(n,Um(Dg(nTs,1),nhQ,2,6,[nfI,nfC,nfO,nfA,nf$,nfN,nfL,nfD,nfx,nfR,nfK,nfF])[f]):3==e?jP(n,Um(Dg(nTs,1),nhQ,2,6,["Jan","Feb","Mar","Apr",nf$,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[f]):H2(n,f+1,e);break;case 81:l=i.q.getMonth()/3|0,e<4?jP(n,Um(Dg(nTs,1),nhQ,2,6,["Q1","Q2","Q3","Q4"])[l]):jP(n,Um(Dg(nTs,1),nhQ,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[l]);break;case 100:H2(n,i.q.getDate(),e);break;case 109:H2(n,r.q.getMinutes(),e);break;case 115:H2(n,r.q.getSeconds(),e);break;case 122:e<4?jP(n,c.c[0]):jP(n,c.c[1]);break;case 118:jP(n,c.b);break;case 90:e<3?jP(n,(g=-c.a,d=Um(Dg(nYA,1),nfM,25,15,[43,48,48,48,48]),g<0&&(d[0]=45,g=-g),d[1]=d[1]+((g/60|0)/10|0)&nfP,d[2]=d[2]+(g/60|0)%10&nfP,d[3]=d[3]+(g%60/10|0)&nfP,d[4]=d[4]+g%10&nfP,Je(d,0,d.length))):3==e?jP(n,(v=-c.a,p=Um(Dg(nYA,1),nfM,25,15,[43,48,48,58,48,48]),v<0&&(p[0]=45,v=-v),p[1]=p[1]+((v/60|0)/10|0)&nfP,p[2]=p[2]+(v/60|0)%10&nfP,p[4]=p[4]+(v%60/10|0)&nfP,p[5]=p[5]+v%10&nfP,Je(p,0,p.length))):jP(n,(m=c.a,y=Um(Dg(nYA,1),nfM,25,15,[71,77,84,45,48,48,58,48,48]),m<=0&&(y[3]=43,m=-m),y[4]=y[4]+((m/60|0)/10|0)&nfP,y[5]=y[5]+(m/60|0)%10&nfP,y[7]=y[7]+(m%60/10|0)&nfP,y[8]=y[8]+m%10&nfP,Je(y,0,y.length)));break;default:return 0}})(h,i,a-c,u,o,e),c=a}else if(39==i){if(++c=s)throw new gd("Missing trailing '").e;a+12?(Uf(o=new wn,new D2(b,1,b.b)),z5(w=new nrf(nht(o,d+n.a)),t),e.c[e.c.length]=w):w=i?Im($a(n.b,ntN(t)),266):Im($a(n.b,ntx(t)),266),a=ntN(t),i&&(a=ntx(t)),g=a,m=nwn,Yc(),v=nC0,m=nTp.Math.abs(l.b),(p=nTp.Math.abs(g.f-l.b))>16==-10?e=Im(n.Cb,284).nk(t,e):n.Db>>16==-15&&(t||(nhl(),t=nQ_),u||(nhl(),u=nQ_),n.Cb.nh()&&(a=new HE(n.Cb,1,13,u,t,Yl(HO(Im(n.Cb,59)),n),!1),e?e.Ei(a):e=a));else if(Ti(n.Cb,88))n.Db>>16==-23&&(Ti(t,88)||(nhl(),t=nQq),Ti(u,88)||(nhl(),u=nQq),n.Cb.nh()&&(a=new HE(n.Cb,1,10,u,t,Yl(RJ(Im(n.Cb,26)),n),!1),e?e.Ei(a):e=a));else if(Ti(n.Cb,444))for((c=Im(n.Cb,836)).b||(c.b=new b1(new dC)),r=new b0(new XE(new hN(c.b.a).a));r.a.b;)e=nsg(i=Im(BQ(r.a).cd(),87),nr0(i,c),e)}return e}function nsp(n){var t,e,i,r,c,a,u,o,s,h,f,l;if((l=Im(nrM(n,(nha(),nUx)),21)).dc())return null;if(u=0,a=0,l.Hc((QJ(),nW5))){for(h=Im(nrM(n,nU5),98),i=2,e=2,r=2,c=2,t=Dt(n)?Im(nrM(Dt(n),nUf),103):Im(nrM(n,nUf),103),s=new Td((n.c||(n.c=new An(nCF,n,9,9)),n.c));s.e!=s.i.gc();)if(o=Im(J1(s),118),(f=Im(nrM(o,nXe),61))==(nsR(),nWV)&&(f=nux(o,t),Yu(o,nXe,f)),h==(nn2(),nWp))switch(f.g){case 1:i=nTp.Math.max(i,o.i+o.g);break;case 2:e=nTp.Math.max(e,o.j+o.f);break;case 3:r=nTp.Math.max(r,o.i+o.g);break;case 4:c=nTp.Math.max(c,o.j+o.f)}else switch(f.g){case 1:i+=o.g+2;break;case 2:e+=o.f+2;break;case 3:r+=o.g+2;break;case 4:c+=o.f+2}u=nTp.Math.max(i,r),a=nTp.Math.max(e,c)}return nsH(n,u,a,!0,!0)}function nsv(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;for(v=Im(Kc(B$(Nb(new CN(null,new D6(t.d,16)),new lv(e)),new lm(e)),_D(new H,new _,new ne,Um(Dg(nMG,1),nfs,132,0,[(XW(),nM0)]))),15),f=nhT,h=nfg,o=new h1(t.b.j);o.a0&&(s=n.n.a/c);break;case 2:case 4:(r=n.i.o.b)>0&&(s=n.n.b/r)}UU(n,(nhu(),nDA),s)}if(o=n.o,a=n.a,i)a.a=i.a,a.b=i.b,n.d=!0;else if(t!=nWy&&t!=nWk&&u!=nWV)switch(u.g){case 1:a.a=o.a/2;break;case 2:a.a=o.a,a.b=o.b/2;break;case 3:a.a=o.a/2,a.b=o.b;break;case 4:a.b=o.b/2}else a.a=o.a/2,a.b=o.b/2}(s,c,r,Im(nrM(t,nFy),8)),o=new Td((t.n||(t.n=new An(nCR,t,1,7)),t.n));o.e!=o.i.gc();)!gm(So(nrM(u=Im(J1(o),137),nFh)))&&u.a&&IE(s.f,WE(u));switch(r.g){case 2:case 1:(s.j==(nsR(),nWA)||s.j==nWW)&&i.Fc((ncJ(),nLR));break;case 4:case 3:(s.j==(nsR(),nWO)||s.j==nWQ)&&i.Fc((ncJ(),nLR))}}(n,a,s,o,i,h);for(c=new Td((t.n||(t.n=new An(nCR,t,1,7)),t.n));c.e!=c.i.gc();)!gm(So(nrM(r=Im(J1(c),137),nFh)))&&r.a&&IE(s.b,WE(r));return gm(So(ntP(s,nKn)))&&o.Fc((ncJ(),nLA)),gm(So(ntP(s,nKq)))&&(o.Fc((ncJ(),nLD)),o.Fc(nLL),UU(s,nFj,nWy)),s}function nsy(n,t){var e,i,r,c,a,u,o;if(Ti(n.Ug(),160)?(nsy(Im(n.Ug(),160),t),t.a+=" > "):t.a+="Root ",Pv((e=n.Tg().zb).substr(0,3),"Elk")?jP(t,e.substr(3)):t.a+=""+e,r=n.zg()){jP((t.a+=" ",t),r);return}if(Ti(n,354)&&(o=Im(n,137).a)){jP((t.a+=" ",t),o);return}for(c=new Td(n.Ag());c.e!=c.i.gc();)if(o=Im(J1(c),137).a){jP((t.a+=" ",t),o);return}if(Ti(n,352)&&((i=Im(n,79)).b||(i.b=new Ph(nCO,i,4,7)),0!=i.b.i&&(i.c||(i.c=new Ph(nCO,i,5,8)),0!=i.c.i))){for(t.a+=" (",a=new Mv((i.b||(i.b=new Ph(nCO,i,4,7)),i.b));a.e!=a.i.gc();)a.e>0&&(t.a+=nhI),nsy(Im(J1(a),160),t);for(t.a+=nw3,u=new Mv((i.c||(i.c=new Ph(nCO,i,5,8)),i.c));u.e!=u.i.gc();)u.e>0&&(t.a+=nhI),nsy(Im(J1(u),160),t);t.a+=")"}}function nsk(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g;return u=S7(new kp(t.a,t.b),n),o=S7(new kp(i.a,i.b),e),s=n.a,b=n.b,f=e.a,d=e.b,h=u.a,w=u.b,r=(l=o.a)*w-h*(g=o.b),ED(),qR(np2),!(nTp.Math.abs(0-r)<=np2||0==r||isNaN(0)&&isNaN(r))&&(c=1/r*((s-f)*w-(b-d)*h),a=-(1/r*(-(s-f)*g+(b-d)*l)),qR(np2),(nTp.Math.abs(0-c)<=np2||0==c||isNaN(0)&&isNaN(c)?0:0c?1:j1(isNaN(0),isNaN(c)))<0&&(qR(np2),(nTp.Math.abs(c-1)<=np2||1==c||isNaN(c)&&isNaN(1)?0:c<1?-1:c>1?1:j1(isNaN(c),isNaN(1)))<0)&&(qR(np2),(nTp.Math.abs(0-a)<=np2||0==a||isNaN(0)&&isNaN(a)?0:0a?1:j1(isNaN(0),isNaN(a)))<0)&&(qR(np2),(nTp.Math.abs(a-1)<=np2||1==a||isNaN(a)&&isNaN(1)?0:a<1?-1:a>1?1:j1(isNaN(a),isNaN(1)))<0))}function nsj(n,t){var e;if(n.e)throw new gg((Su(nSe),nlY+nSe.k+nlZ)).e;if(!T8(n.a.e,t))throw new d7(nl1+t+nl0).e;if(t==n.d)return n;switch(e=n.d,n.d=t,e.g){case 0:switch(t.g){case 2:Zr(n);break;case 1:U9(n),Zr(n);break;case 4:nnN(n),Zr(n);break;case 3:nnN(n),U9(n),Zr(n)}break;case 2:switch(t.g){case 1:U9(n),naS(n);break;case 4:nnN(n),Zr(n);break;case 3:nnN(n),U9(n),Zr(n)}break;case 1:switch(t.g){case 2:U9(n),naS(n);break;case 4:U9(n),nnN(n),Zr(n);break;case 3:U9(n),nnN(n),U9(n),Zr(n)}break;case 4:switch(t.g){case 2:nnN(n),Zr(n);break;case 1:nnN(n),U9(n),Zr(n);break;case 3:U9(n),naS(n)}break;case 3:switch(t.g){case 2:U9(n),nnN(n),Zr(n);break;case 1:U9(n),nnN(n),U9(n),Zr(n);break;case 4:U9(n),naS(n)}}return n}function nsE(n,t){var e;if(n.d)throw new gg((Su(nP_),nlY+nP_.k+nlZ)).e;if(!T8(n.a.c,t))throw new d7(nl1+t+nl0).e;if(t==n.c)return n;switch(e=n.c,n.c=t,e.g){case 0:switch(t.g){case 2:Xd(n);break;case 1:U8(n),Xd(n);break;case 4:nnL(n),Xd(n);break;case 3:nnL(n),U8(n),Xd(n)}break;case 2:switch(t.g){case 1:U8(n),naP(n);break;case 4:nnL(n),Xd(n);break;case 3:nnL(n),U8(n),Xd(n)}break;case 1:switch(t.g){case 2:U8(n),naP(n);break;case 4:U8(n),nnL(n),Xd(n);break;case 3:U8(n),nnL(n),U8(n),Xd(n)}break;case 4:switch(t.g){case 2:nnL(n),Xd(n);break;case 1:nnL(n),U8(n),Xd(n);break;case 3:U8(n),naP(n)}break;case 3:switch(t.g){case 2:U8(n),nnL(n),Xd(n);break;case 1:U8(n),nnL(n),U8(n),Xd(n);break;case 4:U8(n),naP(n)}}return n}function nsT(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w;for(l=e.d,f=e.c,a=(c=new kp(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a)).b,s=new h1(n.a);s.ai.d,i.d=nTp.Math.max(i.d,t),u&&e&&(i.d=nTp.Math.max(i.d,i.a),i.a=i.d+r);break;case 3:e=t>i.a,i.a=nTp.Math.max(i.a,t),u&&e&&(i.a=nTp.Math.max(i.a,i.d),i.d=i.a+r);break;case 2:e=t>i.c,i.c=nTp.Math.max(i.c,t),u&&e&&(i.c=nTp.Math.max(i.b,i.c),i.b=i.c+r);break;case 4:e=t>i.b,i.b=nTp.Math.max(i.b,t),u&&e&&(i.b=nTp.Math.max(i.b,i.c),i.c=i.b+r)}}}(u),function(n){switch(n.q.g){case 5:nnd(n,(nsR(),nWA)),nnd(n,nWW);break;case 4:no3(n,(nsR(),nWA)),no3(n,nWW);break;default:neN(n,(nsR(),nWA)),neN(n,nWW)}}(u),function(n){switch(n.q.g){case 5:nng(n,(nsR(),nWO)),nng(n,nWQ);break;case 4:no4(n,(nsR(),nWO)),no4(n,nWQ);break;default:neL(n,(nsR(),nWO)),neL(n,nWQ)}}(u),function(n){var t,e,i,r,c,a,u;if(!n.A.dc()){if(n.A.Hc((QJ(),nW5))&&(Im($6(n.b,(nsR(),nWA)),124).k=!0,Im($6(n.b,nWW),124).k=!0,t=n.q!=(nn2(),nWv)&&n.q!=nWp,Im($6(n.b,nWO),124).j=t,Im($6(n.b,nWQ),124).j=t,n.g.j=t,n.A.Hc(nW6)&&(Im($6(n.b,nWA),124).j=!0,Im($6(n.b,nWW),124).j=!0,Im($6(n.b,nWO),124).k=!0,Im($6(n.b,nWQ),124).k=!0,n.g.k=!0)),n.A.Hc(nW4))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,u=n.B.Hc((na9(),nVi)),r=JF(),c=0,a=r.length;cnTp.Math.abs(p-d))continue;p1)for(l=new noF(b,v,i),KA(v,new y5(n,l)),a.c[a.c.length]=l,h=v.a.ec().Kc();h.Ob();)Hh(c,Im(h.Pb(),46).b);if(u.a.gc()>1)for(l=new noF(b,u,i),KA(u,new y6(n,l)),a.c[a.c.length]=l,h=u.a.ec().Kc();h.Ob();)Hh(c,Im(h.Pb(),46).b)}}function nsP(n){var t,e;mc(n,new nte(((((t=new as).c=nvC,t).d="ELK Radial",t).b='A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.',e=new cU,t.e=e,t.a=nvC,t))),xV(n,nvC,npH,JZ(nq$)),xV(n,nvC,nwm,JZ(nqD)),xV(n,nvC,nwI,JZ(nqM)),xV(n,nvC,nwB,JZ(nqS)),xV(n,nvC,nwP,JZ(nqP)),xV(n,nvC,nwC,JZ(nqT)),xV(n,nvC,nwS,JZ(nqI)),xV(n,nvC,nwO,JZ(nqA)),xV(n,nvC,nvM,JZ(nqj)),xV(n,nvC,nvT,JZ(nqE)),xV(n,nvC,nvI,JZ(nqC)),xV(n,nvC,nvj,JZ(nqO)),xV(n,nvC,nvE,JZ(nqN)),xV(n,nvC,nvS,JZ(nqL)),xV(n,nvC,nvP,JZ(nqx))}function nsI(n){var t,e,i,r,c,a,u,o;if(this.r=(e=new nM,i=new nS,new Ll(Im(A1(e),62),Im(A1(i),62))),this.b=new Qn(Im(A1(nCm),290)),this.p=new Qn(Im(A1(nCm),290)),this.i=new Qn(Im(A1(nSg),290)),this.e=n,this.o=new Ee(n.rf()),this.D=n.Df()||gm(So(n.We((nha(),nUT)))),this.A=Im(n.We((nha(),nUx)),21),this.B=Im(n.We(nUH),21),this.q=Im(n.We(nU5),98),this.u=Im(n.We(nU7),21),u=this.u,nis(),zU(LX(C6(nWM,Um(Dg(nCv,1),nfs,273,0,[nWP])),u))>1||zU(LX(C6(nWT,Um(Dg(nCv,1),nfs,273,0,[nWE,nWI])),u))>1)throw new gI("Invalid port label placement: "+this.u).e;if(this.v=gm(So(n.We(nXt))),this.j=Im(n.We(nUL),21),o=this.j,nrS(),zU(LX(C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWc])),o))>1||zU(LX(C6(nWt,Um(Dg(nCd,1),nfs,93,0,[nWn,nWi])),o))>1||zU(LX(C6(nWo,Um(Dg(nCd,1),nfs,93,0,[nWu,nWa])),o))>1)throw new gI("Invalid node label placement: "+this.j).e;this.n=Im(ZB(n,nU$),116),this.k=gy(Ss(ZB(n,nXv))),this.d=gy(Ss(ZB(n,nXp))),this.w=gy(Ss(ZB(n,nXM))),this.s=gy(Ss(ZB(n,nXm))),this.t=gy(Ss(ZB(n,nXy))),this.C=Im(ZB(n,nXE),142),this.c=2*this.d,t=!this.B.Hc((na9(),nW9)),this.f=new JM(0,t,0),this.g=new JM(1,t,0),r=this.f,BH(),c=nSW,a=this.g,r.a[c.g]=a}function nsC(n){var t,e,i,r,c,a,u,o,s,h,f;if(null==n)throw new gG(nhN).e;if(s=n,c=n.length,o=!1,c>0&&(D5(0,n.length),(45==(t=n.charCodeAt(0))||43==t)&&(n=n.substr(1),--c,o=45==t)),0==c)throw new gG(nli+s+'"').e;for(;n.length>0&&(D5(0,n.length),48==n.charCodeAt(0));)n=n.substr(1),--c;if(c>(nuk(),nT5)[10])throw new gG(nli+s+'"').e;for(r=0;r0&&(f=-parseInt(n.substr(0,i),10),n=n.substr(i),c-=i,e=!1);c>=a;){if(i=parseInt(n.substr(0,a),10),n=n.substr(a),c-=a,e)e=!1;else{if(0>WM(f,u))throw new gG(nli+s+'"').e;f=VF(f,h)}f=VR(f,i)}if(WM(f,0)>0||!o&&0>WM(f=Hl(f),0))throw new gG(nli+s+'"').e;return f}function nsO(n,t){var e,i,r,c,a,u,o;if(Cc(),this.a=new E4(this),this.b=n,this.c=t,this.f=Aj(HC((neS(),nJy),t)),this.f.dc()){if((u=nnw(nJy,n))==t)for(this.e=!0,this.d=new wn,this.f=new a5,this.f.Fc(njY),Im(noI(HI(nJy,BU(n)),""),26)==n&&this.f.Fc(OE(nJy,BU(n))),r=naV(nJy,n).Kc();r.Ob();)switch(i=Im(r.Pb(),170),$H(HC(nJy,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(Aj(HC(nJy,i)))}else if(mp(),Im(t,66).Oj())for(a=0,this.e=!0,this.f=null,this.d=new wn,o=(null==n.i&&nuq(n),n.i).length;a=0&&a0&&(Im($6(n.b,t),124).a.b=e)}function ns$(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v;if((f=t.length)>0&&(D5(0,t.length),64!=(u=t.charCodeAt(0)))){if(37==u&&(h=t.lastIndexOf("%"),o=!1,0!=h&&(h==f-1||(D5(h+1,t.length),o=46==t.charCodeAt(h+1))))){if(v=Pv("%",a=t.substr(1,h-1))?null:nsF(a),i=0,o)try{i=nue(t.substr(h+2),nfg,nhT)}catch(n){if(Ti(n=Uu(n),127))throw new Hj(n).e;throw n.e}for(d=GC(n.Wg());d.Ob();)if(Ti(b=zG(d),510)&&(p=(r=Im(b,590)).d,(null==v?null==p:Pv(v,p))&&0==i--))return r;return null}if(l=-1==(s=t.lastIndexOf("."))?t:t.substr(0,s),e=0,-1!=s)try{e=nue(t.substr(s+1),nfg,nhT)}catch(n){if(Ti(n=Uu(n),127))l=t;else throw n.e}for(l=Pv("%",l)?null:nsF(l),w=GC(n.Wg());w.Ob();)if(Ti(b=zG(w),191)&&(g=(c=Im(b,191)).ne(),(null==l?null==g:Pv(l,g))&&0==e--))return c;return null}return noX(n,t)}function nsN(){var n,t,e;for(nsN=C,new H1(1,0),new H1(10,0),new H1(0,0),nT7=_f(nTh,nhQ,240,11,0,1),nMn=_f(nYA,nfM,25,100,15,1),nMe=_f(nY$,nfH,25,(nMt=Um(Dg(nYx,1),nlh,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9])).length,15,1),nMr=_f(nY$,nfH,25,(nMi=Um(Dg(nYx,1),nlh,25,15,[1,10,100,nfS,1e4,nlf,1e6,1e7,1e8,nf9,1e10,1e11,1e12,1e13,1e14,1e15,1e16])).length,15,1),nMc=_f(nTh,nhQ,240,11,0,1),n=0;nr+2&&UH((D5(r+1,n.length),n.charCodeAt(r+1)),nV8,nV9)&&UH((D5(r+2,n.length),n.charCodeAt(r+2)),nV8,nV9)){if(D5(r+1,n.length),s=n.charCodeAt(r+1),D5(r+2,n.length),h=n.charCodeAt(r+2),e=(W9(s)<<4|W9(h))&nfP,r+=2,i>0?(192&e)==128?t[u++]=e<<24>>24:i=0:e>=128&&((224&e)==192?(t[u++]=e<<24>>24,i=2):(240&e)==224?(t[u++]=e<<24>>24,i=3):(248&e)==240&&(t[u++]=e<<24>>24,i=4)),i>0){if(u==i){switch(u){case 2:$r(o,((31&t[0])<<6|63&t[1])&nfP);break;case 3:$r(o,((15&t[0])<<12|(63&t[1])<<6|63&t[2])&nfP)}u=0,i=0}}else{for(c=0;c0){if(a+i>n.length)return!1;u=niT(n.substr(0,a+i),t)}else u=niT(n,t)}switch(c){case 71:return u=ntw(n,a,Um(Dg(nTs,1),nhQ,2,6,[nfB,nfq]),t),r.e=u,!0;case 77:return h=n,f=t,l=r,b=u,w=a,b<0?((b=ntw(h,w,Um(Dg(nTs,1),nhQ,2,6,[nfI,nfC,nfO,nfA,nf$,nfN,nfL,nfD,nfx,nfR,nfK,nfF]),f))<0&&(b=ntw(h,w,Um(Dg(nTs,1),nhQ,2,6,["Jan","Feb","Mar","Apr",nf$,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),f)),!(b<0)&&(l.k=b,!0)):b>0&&(l.k=b-1,!0);case 76:return d=n,g=t,p=r,v=u,m=a,v<0?((v=ntw(d,m,Um(Dg(nTs,1),nhQ,2,6,[nfI,nfC,nfO,nfA,nf$,nfN,nfL,nfD,nfx,nfR,nfK,nfF]),g))<0&&(v=ntw(d,m,Um(Dg(nTs,1),nhQ,2,6,["Jan","Feb","Mar","Apr",nf$,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),g)),!(v<0)&&(p.k=v,!0)):v>0&&(p.k=v-1,!0);case 69:return(o=ntw(n,a,Um(Dg(nTs,1),nhQ,2,6,[nfG,nfz,nfU,nfX,nfW,nfV,nfQ]),t))<0&&(o=ntw(n,a,Um(Dg(nTs,1),nhQ,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(o<0)&&(r.d=o,!0);case 99:return(s=ntw(n,a,Um(Dg(nTs,1),nhQ,2,6,[nfG,nfz,nfU,nfX,nfW,nfV,nfQ]),t))<0&&(s=ntw(n,a,Um(Dg(nTs,1),nhQ,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(s<0)&&(r.d=s,!0);case 97:return u=ntw(n,a,Um(Dg(nTs,1),nhQ,2,6,["AM","PM"]),t),r.b=u,!0;case 121:return function(n,t,e,i,r,c){var a,u,o;if(u=32,i<0){if(t[0]>=n.length||43!=(u=$9(n,t[0]))&&45!=u||(++t[0],(i=niT(n,t))<0))return!1;45==u&&(i=-i)}return 32==u&&t[0]-e==2&&2==r.b&&(a=(o=(new vP).q.getFullYear()-nf_+nf_-80)%100,c.a=i==a,i+=(o/100|0)*100+(i3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}(u,a,t[0],r);case 104:12==u&&(u=0);case 75:case 72:if(u<0)return!1;return r.f=u,r.g=!1,!0;case 107:if(u<0)return!1;return r.f=u,r.g=!0,!0;case 109:if(u<0)return!1;return r.j=u,!0;case 115:if(u<0)return!1;return r.n=u,!0;case 90:if(a=0&&Pv(n.substr(a,3),"GMT")?t[0]=a+3:a>=0&&Pv(n.substr(a,3),"UTC")&&(t[0]=a+3),function(n,t,e){var i,r,c,a;if(t[0]>=n.length)return e.o=0,!0;switch($9(n,t[0])){case 43:r=1;break;case 45:r=-1;break;default:return e.o=0,!0}if(++t[0],c=t[0],0==(a=niT(n,t))&&t[0]==c)return!1;if(t[0]=1&&(k-s>0&&w>=0?(qh(f,f.i+y),qf(f,f.j+o*s)):k-s<0&&b>=0&&(qh(f,f.i+y*k),qf(f,f.j+o)));return Yu(n,(nha(),nUx),(QJ(),new PR(c=Im(pf(nCy),9),Im(Sz(c,c.length),9),0))),new kp(j,h)}function nsB(n){var t,e,i,r,c,a,u,o,s,h,f;if(h=Dt(ntr(Im(BX((n.b||(n.b=new Ph(nCO,n,4,7)),n.b),0),82)))==Dt(ntr(Im(BX((n.c||(n.c=new Ph(nCO,n,5,8)),n.c),0),82))),a=new ps,(t=Im(nrM(n,(XY(),nXW)),74))&&t.b>=2){if(0==(n.a||(n.a=new An(nC$,n,6,6)),n.a).i)pw(),e=new aZ,_P((n.a||(n.a=new An(nC$,n,6,6)),n.a),e);else if((n.a||(n.a=new An(nC$,n,6,6)),n.a).i>1)for(f=new Mv((n.a||(n.a=new An(nC$,n,6,6)),n.a));f.e!=f.i.gc();)nnA(f);nuX(t,Im(BX((n.a||(n.a=new An(nC$,n,6,6)),n.a),0),202))}if(h)for(i=new Td((n.a||(n.a=new An(nC$,n,6,6)),n.a));i.e!=i.i.gc();)for(o=new Td(((e=Im(J1(i),202)).a||(e.a=new Tg(nCP,e,5)),e.a));o.e!=o.i.gc();)u=Im(J1(o),469),a.a=nTp.Math.max(a.a,u.a),a.b=nTp.Math.max(a.b,u.b);for(c=new Td((n.n||(n.n=new An(nCR,n,1,7)),n.n));c.e!=c.i.gc();)r=Im(J1(c),137),(s=Im(nrM(r,nX1),8))&&Ef(r,s.a,s.b),h&&(a.a=nTp.Math.max(a.a,r.i+r.g),a.b=nTp.Math.max(a.b,r.j+r.f));return a}function nsq(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;if(1==n.gc())return Im(n.Xb(0),231);if(0>=n.gc())return new Fy;for(r=n.Kc();r.Ob();){for(e=Im(r.Pb(),231),w=0,h=nhT,f=nhT,o=nfg,s=nfg,b=new h1(e.e);b.au&&(m=0,y+=a+p,a=0),function(n,t,e,i){var r,c,a,u,o,s,h,f;for(S7(u=new kp(e,i),Im(ntP(t,(GA(),nOQ)),8)),f=new h1(t.e);f.a0&&(r=Im(CA(g.c.a,j-1),10),a=n.i[r.p],T=nTp.Math.ceil(EY(n.n,r,g)),c=k.a.e-g.d.d-(a.a.e+r.o.b+r.d.a)-T),s=nlr,j0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)<0,w=m.a.e.e-m.a.a-(m.b.e.e-m.b.a)<0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)>0,b=m.a.e.e+m.b.aE.b.e.e+E.a.a,y=0,!d&&!w&&(l?c+f>0?y=f:s-i>0&&(y=i):b&&(c+u>0?y=u:s-v>0&&(y=v))),k.a.e+=y,k.b&&(k.d.e+=y),!1))}function nsz(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(i=new Nj(t.qf().a,t.qf().b,t.rf().a,t.rf().b),r=new Et,n.c)for(a=new h1(t.wf());a.a=2&&(w=Im(d.Kc().Pb(),111),b=n.u.Hc((nis(),nWT)),g=n.u.Hc(nWI),!w.a&&!b&&(2==d.gc()||g)),e=n.u.Hc((nis(),nWE)),o=s.Kc();o.Ob();)if((u=Im(o.Pb(),111)).c&&!(u.c.d.c.length<=0)){switch(l=u.b.rf(),(f=(h=u.c).i).b=(c=h.n,h.e.a+c.b+c.c),f.a=(r=h.n,h.e.b+r.d+r.a),t.g){case 1:u.a?(f.c=(l.a-f.b)/2,_I(h,(_1(),nSJ))):a||e?(f.c=-f.b-n.s,_I(h,(_1(),nSZ))):(f.c=l.a+n.s,_I(h,(_1(),nSY))),f.d=-f.a-n.t,ST(h,(H$(),nS0));break;case 3:u.a?(f.c=(l.a-f.b)/2,_I(h,(_1(),nSJ))):a||e?(f.c=-f.b-n.s,_I(h,(_1(),nSZ))):(f.c=l.a+n.s,_I(h,(_1(),nSY))),f.d=l.b+n.t,ST(h,(H$(),nS3));break;case 2:u.a?(i=n.v?f.a:Im(CA(h.d,0),181).rf().b,f.d=(l.b-i)/2,ST(h,(H$(),nS2))):a||e?(f.d=-f.a-n.t,ST(h,(H$(),nS0))):(f.d=l.b+n.t,ST(h,(H$(),nS3))),f.c=l.a+n.s,_I(h,(_1(),nSY));break;case 4:u.a?(i=n.v?f.a:Im(CA(h.d,0),181).rf().b,f.d=(l.b-i)/2,ST(h,(H$(),nS2))):a||e?(f.d=-f.a-n.t,ST(h,(H$(),nS0))):(f.d=l.b+n.t,ST(h,(H$(),nS3))),f.c=-f.b-n.s,_I(h,(_1(),nSZ))}a=!1}}function nsX(n,t){var e,i,r,c,a,u,o,s,h,f,l;if(nhh(),0==vO(nYc)){for(a=0,f=_f(nYO,nhQ,117,nYu.length,0,1);as&&(i.a+=Te(_f(nYA,nfM,25,-s,15,1))),i.a+="Is",jZ(o,ntd(32))>=0)for(r=0;r0){for(r=0,l=h<100?null:new pc(h),w=(s=new zi(t)).g,g=_f(nY$,nfH,25,h,15,1),i=0,m=new BO(h);r=0;)if(null!=b?WY(b,w[o]):jf(b)===jf(w[o])){g.length<=i&&now(g,0,g=_f(nY$,nfH,25,2*g.length,15,1),0,i),g[i++]=r,_P(m,w[o]);break i}if(jf(b)===jf(u))break}}if(s=m,w=m.g,h=i,i>g.length&&now(g,0,g=_f(nY$,nfH,25,i,15,1),0,i),i>0){for(c=0,v=!0;c=0;)ZI(n,g[a]);if(i!=h){for(r=h;--r>=i;)ZI(s,r);now(g,0,g=_f(nY$,nfH,25,i,15,1),0,i)}t=s}}}else for(t=function(n,t){var e,i,r;if(t.dc())return Si(),Si(),nVJ;for(e=new SL(n,t.gc()),r=new Td(n);r.e!=r.i.gc();)i=J1(r),t.Hc(i)&&_P(e,i);return e}(n,t),r=n.i;--r>=0;)t.Hc(n.g[r])&&(ZI(n,r),v=!0);if(!v)return!1;if(null!=g){for(f=1==(e=t.gc())?Dv(n,4,t.Kc().Pb(),null,g[0],d):Dv(n,6,t,g,g[0],d),l=e<100?null:new pc(e),r=t.Kc();r.Ob();)l=PO(n,Im(b=r.Pb(),72),l);l?(l.Ei(f),l.Fi()):zx(n.e,f)}else{for(l=(y=t.gc())<100?null:new pc(y),r=t.Kc();r.Ob();)l=PO(n,Im(b=r.Pb(),72),l);l&&l.Fi()}return!0}function nsV(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(Au(n.a,t)){if(v$(Im($a(n.a,t),53),e))return 1}else $J(n.a,t,new w_);if(Au(n.a,e)){if(v$(Im($a(n.a,e),53),t))return -1}else $J(n.a,e,new w_);if(Au(n.e,t)){if(v$(Im($a(n.e,t),53),e))return -1}else $J(n.e,t,new w_);if(Au(n.e,e)){if(v$(Im($a(n.a,e),53),t))return 1}else $J(n.e,e,new w_);if(n.c==(U1(),n__)||!MB(t,(nhu(),nDk))||!MB(e,(nhu(),nDk))){if(o=Im(T5(Ki(Xl(Nb(new CN(null,new D6(t.j,16)),new rE)),new rT)),11),h=Im(T5(Ki(Xl(Nb(new CN(null,new D6(e.j,16)),new rM)),new rS)),11),o&&h){if(u=o.i,s=h.i,u&&u==s){for(l=new h1(u.j);l.a(a=nnD(n,e))?naF(n,t,e):naF(n,e,t),ra?1:0}return(i=Im(ntP(t,(nhu(),nDk)),19).a)>(c=Im(ntP(e,nDk),19).a)?naF(n,t,e):naF(n,e,t),ic?1:0}function nsQ(n,t,e,i,r,c,a,u,o){var s,h,f,l,b,w,d,g,p,v,m;switch((b=e,g=h=new Y$(o),ntY(),p=nAz,g.k=p,UU(h,(nhu(),nDr),a),UU(h,(ns8(),nFj),(nn2(),nWp)),d=gy(Ss(n.We(nFk))),UU(h,nFk,d),DM(f=new nt9,h),t!=nWy&&t!=nWk||(b=i>=0?Ql(u):Vg(Ql(u)),n.Ye(nFP,b)),s=new ps,l=!1,n.Xe(nFy))?(MU(s,Im(n.We(nFy),8)),l=!0):(v=a.a/2,m=a.b/2,s.a=v,s.b=m),b.g){case 4:UU(h,nKJ,(VJ(),nDX)),UU(h,nL8,(UK(),nLr)),h.o.b=a.b,d<0&&(h.o.a=-d),ne9(f,(nsR(),nWO)),l||(s.a=a.a),s.a-=a.a;break;case 2:UU(h,nKJ,(VJ(),nDV)),UU(h,nL8,(UK(),nLe)),h.o.b=a.b,d<0&&(h.o.a=-d),ne9(f,(nsR(),nWQ)),l||(s.a=0);break;case 1:UU(h,nDh,(HN(),nLX)),h.o.a=a.a,d<0&&(h.o.b=-d),ne9(f,(nsR(),nWW)),l||(s.b=a.b),s.b-=a.b;break;case 3:UU(h,nDh,(HN(),nLz)),h.o.a=a.a,d<0&&(h.o.b=-d),ne9(f,(nsR(),nWA)),l||(s.b=0)}if(MU(f.n,s),UU(h,nFy,s),t==nWg||t==nWv||t==nWp){if(w=0,t==nWg&&n.Xe(nFE))switch(b.g){case 1:case 2:w=Im(n.We(nFE),19).a;break;case 3:case 4:w=-Im(n.We(nFE),19).a}else switch(b.g){case 4:case 2:w=c.b,t==nWv&&(w/=r.b);break;case 1:case 3:w=c.a,t==nWv&&(w/=r.a)}UU(h,nDA,w)}return UU(h,nDi,b),h}function nsJ(n,t,e,i,r,c,a){var u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O;for(d=0,S=0,s=new h1(n.b);s.ad&&(c&&(jO(j,b),jO(T,Va(h.b-1)),IE(n.d,w),u.c=_f(nEU,nhO,1,0,5,1)),C=e.b,O+=b+t,b=0,f=nTp.Math.max(f,e.b+e.c+I)),u.c[u.c.length]=o,function n(t,e,i){var r;if(t.c)qh(t.c,t.c.i+e),qf(t.c,t.c.j+i);else for(r=new h1(t.b);r.ao&&(f=0,l+=u+t,u=0),naL(c,f,l),e=nTp.Math.max(e,f+s.a),u=nTp.Math.max(u,s.b),f+=s.a+t;return new kp(e+t,l+u+t)}(Ms(n,(nsR(),nWx)),t),w=Zw(Ms(n,nWR),t),y=Zw(Ms(n,nWz),t),T=Zd(Ms(n,nWX),t),l=Zd(Ms(n,nW$),t),v=Zw(Ms(n,nWG),t),d=Zw(Ms(n,nWK),t),j=Zw(Ms(n,nWU),t),k=Zw(Ms(n,nWN),t),M=Zd(Ms(n,nWD),t),p=Zw(Ms(n,nWB),t),m=Zw(Ms(n,nWH),t),E=Zw(Ms(n,nWL),t),S=Zd(Ms(n,nWq),t),b=Zd(Ms(n,nWF),t),g=Zw(Ms(n,nW_),t),e=Xi(Um(Dg(nYx,1),nlh,25,15,[v.a,T.a,j.a,S.a])),i=Xi(Um(Dg(nYx,1),nlh,25,15,[w.a,f.a,y.a,g.a])),r=p.a,c=Xi(Um(Dg(nYx,1),nlh,25,15,[d.a,l.a,k.a,b.a])),s=Xi(Um(Dg(nYx,1),nlh,25,15,[v.b,w.b,d.b,m.b])),o=Xi(Um(Dg(nYx,1),nlh,25,15,[T.b,f.b,l.b,g.b])),h=M.b,u=Xi(Um(Dg(nYx,1),nlh,25,15,[j.b,y.b,k.b,E.b])),_O(Ms(n,nWx),e+r,s+h),_O(Ms(n,nW_),e+r,s+h),_O(Ms(n,nWR),e+r,0),_O(Ms(n,nWz),e+r,s+h+o),_O(Ms(n,nWX),0,s+h),_O(Ms(n,nW$),e+r+i,s+h),_O(Ms(n,nWK),e+r+i,0),_O(Ms(n,nWU),0,s+h+o),_O(Ms(n,nWN),e+r+i,s+h+o),_O(Ms(n,nWD),0,s),_O(Ms(n,nWB),e,0),_O(Ms(n,nWL),0,s+h+o),_O(Ms(n,nWF),e+r+i,0),(a=new ps).a=Xi(Um(Dg(nYx,1),nlh,25,15,[e+i+r+c,M.a,m.a,E.a])),a.b=Xi(Um(Dg(nYx,1),nlh,25,15,[s+o+h+u,p.b,S.b,b.b])),a}function nsZ(){nsZ=C,pd(),nV$=nVk.a,Im(BX(N6(nVk.a),0),18),nVS=nVk.f,Im(BX(N6(nVk.f),0),18),Im(BX(N6(nVk.f),1),34),nVA=nVk.n,Im(BX(N6(nVk.n),0),34),Im(BX(N6(nVk.n),1),34),Im(BX(N6(nVk.n),2),34),Im(BX(N6(nVk.n),3),34),nVP=nVk.g,Im(BX(N6(nVk.g),0),18),Im(BX(N6(nVk.g),1),34),nVE=nVk.c,Im(BX(N6(nVk.c),0),18),Im(BX(N6(nVk.c),1),18),nVI=nVk.i,Im(BX(N6(nVk.i),0),18),Im(BX(N6(nVk.i),1),18),Im(BX(N6(nVk.i),2),18),Im(BX(N6(nVk.i),3),18),Im(BX(N6(nVk.i),4),34),nVC=nVk.j,Im(BX(N6(nVk.j),0),18),nVT=nVk.d,Im(BX(N6(nVk.d),0),18),Im(BX(N6(nVk.d),1),18),Im(BX(N6(nVk.d),2),18),Im(BX(N6(nVk.d),3),18),Im(BX(N6(nVk.d),4),34),Im(BX(N6(nVk.d),5),34),Im(BX(N6(nVk.d),6),34),Im(BX(N6(nVk.d),7),34),nVj=nVk.b,Im(BX(N6(nVk.b),0),34),Im(BX(N6(nVk.b),1),34),nVM=nVk.e,Im(BX(N6(nVk.e),0),34),Im(BX(N6(nVk.e),1),34),Im(BX(N6(nVk.e),2),34),Im(BX(N6(nVk.e),3),34),Im(BX(N6(nVk.e),4),18),Im(BX(N6(nVk.e),5),18),Im(BX(N6(nVk.e),6),18),Im(BX(N6(nVk.e),7),18),Im(BX(N6(nVk.e),8),18),Im(BX(N6(nVk.e),9),18),Im(BX(N6(nVk.e),10),34),nVO=nVk.k,Im(BX(N6(nVk.k),0),34),Im(BX(N6(nVk.k),1),34)}function ns1(n){var t,e,i,r,c;switch(t=n.c){case 11:return n.Ml();case 12:return n.Ol();case 14:return n.Ql();case 15:return n.Tl();case 16:return n.Rl();case 17:return n.Ul();case 21:return nhe(n),nhh(),nhh(),nYf;case 10:switch(n.a){case 65:return n.yl();case 90:return n.Dl();case 122:return n.Kl();case 98:return n.El();case 66:return n.zl();case 60:return n.Jl();case 62:return n.Hl()}}switch(c=function(n){var t,e,i,r,c;switch(t=n.c,c=null,t){case 6:return n.Vl();case 13:return n.Wl();case 23:return n.Nl();case 22:return n.Sl();case 18:return n.Pl();case 8:nhe(n),nhh(),c=nYh;break;case 9:return n.vl(!0);case 19:return n.wl();case 10:switch(n.a){case 100:case 68:case 119:case 87:case 115:case 83:return c=n.ul(n.a),nhe(n),c;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:(e=n.tl())=48&&t<=57){for(i=t-48;r=48&&t<=57;)if((i=10*i+t-48)<0)throw new gO(nhd((E$(),nkD))).e}else throw new gO(nhd((E$(),nkA))).e;if(e=i,44==t){if(r>=n.j)throw new gO(nhd((E$(),nkN))).e;if((t=$9(n.i,r++))>=48&&t<=57){for(e=t-48;r=48&&t<=57;)if((e=10*e+t-48)<0)throw new gO(nhd((E$(),nkD))).e;if(i>e)throw new gO(nhd((E$(),nkL))).e}else e=-1}if(125!=t)throw new gO(nhd((E$(),nk$))).e;n.sl(r)?(nhh(),nhh(),++nYC,c=new R0(9,c),n.d=r+1):(nhh(),nhh(),++nYC,c=new R0(3,c),n.d=r),c.dm(i),c.cm(e),nhe(n)}}return c}function ns0(n,t,e,i,r){var c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P;for(w=new Fq(t.b),v=new Fq(t.b),l=new Fq(t.b),j=new Fq(t.b),d=new Fq(t.b),k=Jz(t,0);k.b!=k.d.c;)for(u=new h1((m=Im(RP(k),11)).g);u.a0,g=m.g.c.length>0,s&&g?l.c[l.c.length]=m:s?w.c[w.c.length]=m:g&&(v.c[v.c.length]=m);for(b=new h1(w);b.aV2(_k(d.d,k),_k(d.d,d.a))&&(r.c[r.c.length]=d);for(e.c=_f(nEU,nhO,1,0,5,1),g=new h1(r);g.a=u.b.c)&&(u.b=t),(!u.c||t.c<=u.c.c)&&(u.d=u.c,u.c=t),(!u.e||t.d>=u.e.d)&&(u.e=t),(!u.f||t.d<=u.f.d)&&(u.f=t);return i=new J3((Uj(),nAM)),xz(n,nAN,new gE(Um(Dg(nPH,1),nhO,369,0,[i]))),a=new J3(nAI),xz(n,nA$,new gE(Um(Dg(nPH,1),nhO,369,0,[a]))),r=new J3(nAS),xz(n,nAA,new gE(Um(Dg(nPH,1),nhO,369,0,[r]))),c=new J3(nAP),xz(n,nAO,new gE(Um(Dg(nPH,1),nhO,369,0,[c]))),nr5(i.c,nAM),nr5(r.c,nAS),nr5(c.c,nAP),nr5(a.c,nAI),u.a.c=_f(nEU,nhO,1,0,5,1),Uf(u.a,i.c),Uf(u.a,zI(r.c)),Uf(u.a,c.c),Uf(u.a,zI(a.c)),u}(h)),xz(y.a,nAL,new gE(Um(Dg(nPH,1),nhO,369,0,[k]))),k.d&&IE(k.f,k.d),k.f),e}(n,Im(f.Pb(),37)),IE(u.a,i),i.a=!Im(ntP(i.c,(nhu(),nDn)),21).dc()|i.a;for(n.b=(Wl(),(T=new ts).f=new qV(e),T.b=function(n,t){var e,i,r,c,a,u,o,s,h,f,l;for(n.a=new $u((f=Im(nCs.e&&nCs.e(),9),l=Im(AL(f,f.length),9),new PR(f,l,f.length))),i=new h1(t.a);i.anfd)&&u<10);l=n.c,b=new tf,l.e=b,nsn(n),nsE(w=n.c,(W2(),nXP)),w.d=!0,function(n){var t,e,i,r,c,a,u,o;for(c=new h1(n.a.b);c.a=0;o--)g=function(n){var t,e,i;return WM(n,0)>=0?(e=nnm(n,nf9),i=QU(n,nf9)):(e=nnm(t=OF(n,1),5e8),i=VK(OR(i=QU(t,5e8),1),xi(n,1))),xr(OR(i,32),xi(e,nlb))}(VK(OR(j,32),xi(M[o],nlb))),M[o]=CZ(g),j=CZ(OK(g,32));p=CZ(j),d=e;do m[--e]=48+p%10&nfP;while(0!=(p=p/10|0)&&0!=e);for(u=0,i=9-d+e;u0;u++)m[--e]=48;for(h=S-1;0==M[h];h--)if(0==h)break r;S=h+1}for(;48==m[e];)++e}if(l=E<0,c=v-e-t-1,0==t)return l&&(m[--e]=45),Je(m,e,v-e);if(t>0&&c>=-6){if(c>=0){for(s=e+c,f=v-1;f>=s;f--)m[f+1]=m[f];return m[++s]=46,l&&(m[--e]=45),Je(m,e,v-e+1)}for(h=2;h<-c+1;h++)m[--e]=48;return m[--e]=46,m[--e]=48,l&&(m[--e]=45),Je(m,e,v-e)}return T=e+1,y=new gW,l&&(y.a+="-"),v-T>=1?($r(y,m[e]),y.a+=".",y.a+=Je(m,e+1,v-e-1)):y.a+=Je(m,e,v-e),y.a+="E",c>0&&(y.a+="+"),y.a+=""+c,y.a}function ns7(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y;switch(n.c=t,n.g=new wt,mo(),Qa(new fE(new gl(n.c))),p=Sh(nrM(n.c,(ntA(),nGz))),a=Im(nrM(n.c,nGX),316),m=Im(nrM(n.c,nGW),429),r=Im(nrM(n.c,nG_),482),v=Im(nrM(n.c,nGU),430),n.j=gy(Ss(nrM(n.c,nGV))),c=n.a,a.g){case 0:c=n.a;break;case 1:c=n.b;break;case 2:c=n.i;break;case 3:c=n.e;break;case 4:c=n.f;break;default:throw new gd(nvV+(null!=a.f?a.f:""+a.g)).e}if(n.d=new LY(c,m,r),UU(n.d,(zj(),nCY),So(nrM(n.c,nGB))),n.d.c=gm(So(nrM(n.c,nGH))),0==N8(n.c).i)return n.d;for(s=new Td(N8(n.c));s.e!=s.i.gc();){for(f=(o=Im(J1(s),33)).g/2,h=o.f/2,y=new kp(o.i+f,o.j+h);Au(n.g,y);)MG(y,(nTp.Math.random()-.5)*nwb,(nTp.Math.random()-.5)*nwb);b=Im(nrM(o,(nha(),nUO)),142),w=new DI(y,new Nj(y.a-f-n.j/2-b.b,y.b-h-n.j/2-b.d,o.g+n.j+(b.b+b.c),o.f+n.j+(b.d+b.a))),IE(n.d.i,w),$J(n.g,y,new k_(w,o))}switch(v.g){case 0:if(null==p)n.d.d=Im(CA(n.d.i,0),65);else for(g=new h1(n.d.i);g.a1&&KN(h,p,h.c.b,h.c),BA(r)));p=v}return h}function nht(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(i=new wn,u=new wn,g=t/2,b=n.gc(),r=Im(n.Xb(0),8),p=Im(n.Xb(1),8),IE(i,(D4(0,(w=nrT(r.a,r.b,p.a,p.b,g)).c.length),Im(w.c[0],8))),IE(u,(D4(1,w.c.length),Im(w.c[1],8))),s=2;s=0;o--)I2(e,(D4(o,a.c.length),Im(a.c[o],8)));return e}function nhe(n){var t,e,i;if(n.d>=n.j){n.a=-1,n.c=1;return}if(t=$9(n.i,n.d++),n.a=t,1==n.b){switch(t){case 92:if(i=10,n.d>=n.j)throw new gO(nhd((E$(),nkn))).e;n.a=$9(n.i,n.d++);break;case 45:(512&n.e)==512&&n.d=n.j||63!=$9(n.i,n.d))break;if(++n.d>=n.j)throw new gO(nhd((E$(),nkt))).e;switch(t=$9(n.i,n.d++)){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(n.d>=n.j)throw new gO(nhd((E$(),nkt))).e;if(61==(t=$9(n.i,n.d++)))i=16;else if(33==t)i=17;else throw new gO(nhd((E$(),nke))).e;break;case 35:for(;n.d=n.j)throw new gO(nhd((E$(),nkn))).e;n.a=$9(n.i,n.d++);break;default:i=0}n.c=i}function nhi(){nhi=C,ns5(),niP(nAH=new LK,(nsR(),nWR),nWx),niP(nAH,nWX,nWx),niP(nAH,nWK,nWx),niP(nAH,nWG,nWx),niP(nAH,nWq,nWx),niP(nAH,nWH,nWx),niP(nAH,nWG,nWR),niP(nAH,nWx,nW$),niP(nAH,nWR,nW$),niP(nAH,nWX,nW$),niP(nAH,nWK,nW$),niP(nAH,nWB,nW$),niP(nAH,nWG,nW$),niP(nAH,nWq,nW$),niP(nAH,nWH,nW$),niP(nAH,nWD,nW$),niP(nAH,nWx,nWz),niP(nAH,nWR,nWz),niP(nAH,nW$,nWz),niP(nAH,nWX,nWz),niP(nAH,nWK,nWz),niP(nAH,nWB,nWz),niP(nAH,nWG,nWz),niP(nAH,nWD,nWz),niP(nAH,nWU,nWz),niP(nAH,nWq,nWz),niP(nAH,nWF,nWz),niP(nAH,nWH,nWz),niP(nAH,nWR,nWX),niP(nAH,nWK,nWX),niP(nAH,nWG,nWX),niP(nAH,nWH,nWX),niP(nAH,nWR,nWK),niP(nAH,nWX,nWK),niP(nAH,nWG,nWK),niP(nAH,nWK,nWK),niP(nAH,nWq,nWK),niP(nAH,nWx,nWN),niP(nAH,nWR,nWN),niP(nAH,nW$,nWN),niP(nAH,nWz,nWN),niP(nAH,nWX,nWN),niP(nAH,nWK,nWN),niP(nAH,nWB,nWN),niP(nAH,nWG,nWN),niP(nAH,nWU,nWN),niP(nAH,nWD,nWN),niP(nAH,nWH,nWN),niP(nAH,nWq,nWN),niP(nAH,nW_,nWN),niP(nAH,nWx,nWU),niP(nAH,nWR,nWU),niP(nAH,nW$,nWU),niP(nAH,nWX,nWU),niP(nAH,nWK,nWU),niP(nAH,nWB,nWU),niP(nAH,nWG,nWU),niP(nAH,nWD,nWU),niP(nAH,nWH,nWU),niP(nAH,nWF,nWU),niP(nAH,nW_,nWU),niP(nAH,nWR,nWD),niP(nAH,nWX,nWD),niP(nAH,nWK,nWD),niP(nAH,nWG,nWD),niP(nAH,nWU,nWD),niP(nAH,nWH,nWD),niP(nAH,nWq,nWD),niP(nAH,nWx,nWL),niP(nAH,nWR,nWL),niP(nAH,nW$,nWL),niP(nAH,nWX,nWL),niP(nAH,nWK,nWL),niP(nAH,nWB,nWL),niP(nAH,nWG,nWL),niP(nAH,nWD,nWL),niP(nAH,nWH,nWL),niP(nAH,nWR,nWq),niP(nAH,nW$,nWq),niP(nAH,nWz,nWq),niP(nAH,nWK,nWq),niP(nAH,nWx,nWF),niP(nAH,nWR,nWF),niP(nAH,nWz,nWF),niP(nAH,nWX,nWF),niP(nAH,nWK,nWF),niP(nAH,nWB,nWF),niP(nAH,nWG,nWF),niP(nAH,nWG,nW_),niP(nAH,nWK,nW_),niP(nAH,nWD,nWx),niP(nAH,nWD,nWX),niP(nAH,nWD,nW$),niP(nAH,nWB,nWx),niP(nAH,nWB,nWR),niP(nAH,nWB,nWz)}function nhr(n,t){switch(n.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new N2(n.b,n.a,t,n.c);case 1:return new Tp(n.a,t,Qj(t.Tg(),n.c));case 43:return new Tm(n.a,t,Qj(t.Tg(),n.c));case 3:return new Tg(n.a,t,Qj(t.Tg(),n.c));case 45:return new Tv(n.a,t,Qj(t.Tg(),n.c));case 41:return new _x(Im(Z9(n.c),26),n.a,t,Qj(t.Tg(),n.c));case 50:return new qJ(Im(Z9(n.c),26),n.a,t,Qj(t.Tg(),n.c));case 5:return new Pi(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 47:return new Pr(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 7:return new An(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 49:return new Pe(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 9:return new TT(n.a,t,Qj(t.Tg(),n.c));case 11:return new TE(n.a,t,Qj(t.Tg(),n.c));case 13:return new Tj(n.a,t,Qj(t.Tg(),n.c));case 15:return new IW(n.a,t,Qj(t.Tg(),n.c));case 17:return new TM(n.a,t,Qj(t.Tg(),n.c));case 19:return new Tk(n.a,t,Qj(t.Tg(),n.c));case 21:return new Ty(n.a,t,Qj(t.Tg(),n.c));case 23:return new Iq(n.a,t,Qj(t.Tg(),n.c));case 25:return new Pf(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 27:return new Ph(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 29:return new Po(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 31:return new Pc(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 33:return new Ps(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 35:return new Pu(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 37:return new Pa(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 39:return new At(n.a,t,Qj(t.Tg(),n.c),n.d.n);case 40:return new zr(t,Qj(t.Tg(),n.c));default:throw new d7("Unknown feature style: "+n.e).e}}function nhc(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I;if(naD(t),o=Im(BX((t.b||(t.b=new Ph(nCO,t,4,7)),t.b),0),82),h=Im(BX((t.c||(t.c=new Ph(nCO,t,5,8)),t.c),0),82),u=ntr(o),s=ntr(h),a=0==(t.a||(t.a=new An(nC$,t,6,6)),t.a).i?null:Im(BX((t.a||(t.a=new An(nC$,t,6,6)),t.a),0),202),j=Im($a(n.a,u),10),S=Im($a(n.a,s),10),E=null,P=null,Ti(o,186)&&(Ti(k=Im($a(n.a,o),299),11)?E=Im(k,11):Ti(k,10)&&(j=Im(k,10),E=Im(CA(j.j,0),11))),Ti(h,186)&&(Ti(M=Im($a(n.a,h),299),11)?P=Im(M,11):Ti(M,10)&&(S=Im(M,10),P=Im(CA(S.j,0),11))),!j||!S)throw new gC("The source or the target of edge "+t+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN.").e;for(z5(d=new Ls,t),UU(d,(nhu(),nDj),t),UU(d,(ns8(),nKW),null),b=Im(ntP(i,nDa),21),j==S&&b.Fc((ncJ(),nLF)),E||(qF(),y=n_U,T=null,a&&Ec(Im(ntP(j,nFj),98))&&(RG(T=new kp(a.j,a.k),L6(t)),KO(T,e),Bx(s,u)&&(y=n_z,S9(T,j.n))),E=nov(j,T,y,i)),P||(qF(),y=n_z,I=null,a&&Ec(Im(ntP(S,nFj),98))&&(RG(I=new kp(a.b,a.c),L6(t)),KO(I,e)),P=nov(S,I,y,$N(S))),DE(d,E),Dj(d,P),(E.e.c.length>1||E.g.c.length>1||P.e.c.length>1||P.g.c.length>1)&&b.Fc((ncJ(),nLL)),l=new Td((t.n||(t.n=new An(nCR,t,1,7)),t.n));l.e!=l.i.gc();)if(!gm(So(nrM(f=Im(J1(l),137),nFh)))&&f.a)switch(g=WE(f),IE(d.b,g),Im(ntP(g,nKP),272).g){case 1:case 2:b.Fc((ncJ(),nL$));break;case 0:b.Fc((ncJ(),nLO)),UU(g,nKP,(BB(),nX$))}if(c=Im(ntP(i,nKm),314),p=Im(ntP(i,nFc),315),r=c==(q5(),nNV)||p==(YN(),n_T),a&&0!=(a.a||(a.a=new Tg(nCP,a,5)),a.a).i&&r){for(v=nei(a),w=new dd,m=Jz(v,0);m.b!=m.d.c;)I2(w,new Ee(Im(RP(m),8)));UU(d,nDE,w)}return d}function nha(){var n,t;nha=C,nUn=new bR(nmm),nXu=new bR(nmy),Yv(),nUt=new jU(npm,nUe=nzK),new b9,nUi=new jU(nb6,null),nUr=new bR(nmk),nnF(),nUo=new jU(np$,nUs=C6(nz9,Um(Dg(nCo,1),nfs,291,0,[nz4]))),nUh=new jU(npv,(TX(),!1)),W2(),nUf=new jU(npE,nUl=nXC),VY(),nUg=new jU(ng0,nUp=nXF),nUy=new jU(nvU,!1),WN(),nUk=new jU(ngQ,nUj=nX2),nUz=new jU(nb8,nUU=new ES(12)),nUS=new jU(nwE,!1),nUP=new jU(npG,!1),nUG=new jU(nwS,!1),nn2(),nU5=new jU(nwT,nU6=nWk),nXr=new bR(npH),nXc=new bR(nwv),nXa=new bR(nwk),nXs=new bR(nwj),nUI=new jU(npN,nUC=new dd),nUu=new jU(npx,!1),nUE=new jU(npR,!1),new bR(nmj),nUO=new jU(npB,nUA=new dc),nUq=new jU(npg,!1),new b9,nXo=new jU(nmE,1),new jU(nmT,!0),Va(0),new jU(nmM,Va(100)),new jU(nmS,!1),Va(0),new jU(nmP,Va(4e3)),Va(0),new jU(nmI,Va(400)),new jU(nmC,!1),new jU(nmO,!1),new jU(nmA,!0),new jU(nm$,!1),QI(),nUc=new jU(nmv,nUa=nVf),nXh=new jU(npr,10),nXf=new jU(npc,10),nXl=new jU(nb4,20),nXb=new jU(npa,10),nXw=new jU(nwy,2),nXd=new jU(npu,10),nXp=new jU(npo,0),nXv=new jU(npf,5),nXm=new jU(nps,1),nXy=new jU(nph,1),nXk=new jU(nwm,20),nXj=new jU(npl,10),nXM=new jU(npb,10),nXg=new bR(npw),nXE=new jU(npq,nXT=new En),nUV=new bR(np_),nUX=new jU(npF,nUW=!1),nU$=new jU(npT,nUN=new ES(5)),nrS(),nUL=new jU(nwC,nUD=new PR(t=Im(pf(nCd),9),Im(Sz(t,t.length),9),0)),Jq(),nUJ=new jU(npP,nUY=nWl),nU1=new bR(npI),nU0=new bR(npC),nU2=new bR(npO),nUZ=new bR(npA),nUx=new jU(nwI,nUR=new PR(n=Im(pf(nCy),9),Im(Sz(n,n.length),9),0)),nUH=new jU(nwP,nUB=Vx((na9(),nVn))),nUF=new jU(nwB,nU_=new kp(0,0)),nUK=new jU(npj,!1),BB(),nUw=new jU(npL,nUd=nX$),nUb=new jU(nwM,!1),new bR(nmN),Va(1),new jU(nmL,null),nU3=new bR(npK),nU8=new bR(npD),nsR(),nXe=new jU(npp,nXi=nWV),nU4=new bR(npd),nis(),nU7=new jU(nwO,nXn=Vx(nWP)),nU9=new jU(npM,!1),nXt=new jU(npS,!0),nUT=new jU(npy,!1),nUM=new jU(npk,!1),nUv=new jU(nb5,1),ntg(),new jU(nmD,nUm=nXz),nUQ=!0}function nhu(){var n,t;nhu=C,nDj=new bR(nwA),nL3=new bR("coordinateOrigin"),nD$=new bR("processors"),nL2=new SA("compoundNode",(TX(),!1)),nDs=new SA("insideConnections",!1),nDE=new bR("originalBendpoints"),nDT=new bR("originalDummyNodePosition"),nDM=new bR("originalLabelEdge"),nDL=new bR("representedLabels"),nL9=new bR("endLabels"),nL7=new bR("endLabel.origin"),nDw=new SA("labelSide",(ZR(),nX9)),nDy=new SA("maxEdgeThickness",0),nDD=new SA("reversed",!1),nDN=new bR(nw$),nDp=new SA("longEdgeSource",null),nDv=new SA("longEdgeTarget",null),nDg=new SA("longEdgeHasLabelDummies",!1),nDd=new SA("longEdgeBeforeLabelDummy",!1),nL8=new SA("edgeConstraint",(UK(),nLi)),nDf=new bR("inLayerLayoutUnit"),nDh=new SA("inLayerConstraint",(HN(),nLU)),nDl=new SA("inLayerSuccessorConstraint",new wn),nDb=new SA("inLayerSuccessorConstraintBetweenNonDummies",!1),nDO=new bR("portDummy"),nL4=new SA("crossingHint",Va(0)),nDa=new SA("graphProperties",new PR(t=Im(pf(nIo),9),Im(Sz(t,t.length),9),0)),nDi=new SA("externalPortSide",(nsR(),nWV)),nDr=new SA("externalPortSize",new ps),nDt=new bR("externalPortReplacedDummies"),nDe=new bR("externalPortReplacedDummy"),nDn=new SA("externalPortConnections",new PR(n=Im(pf(nCm),9),Im(Sz(n,n.length),9),0)),nDA=new SA(nbS,0),nLY=new bR("barycenterAssociates"),nDz=new bR("TopSideComments"),nLZ=new bR("BottomSideComments"),nL0=new bR("CommentConnectionPort"),nDo=new SA("inputCollect",!1),nDI=new SA("outputCollect",!1),nL6=new SA("cyclic",!1),nL5=new bR("crossHierarchyMap"),nDG=new bR("targetOffset"),new SA("splineLabelSize",new ps),nDK=new bR("spacings"),nDC=new SA("partitionConstraint",!1),nL1=new bR("breakingPoint.info"),nDB=new bR("splines.survivingEdge"),nDH=new bR("splines.route.start"),nDF=new bR("splines.edgeChain"),nDP=new bR("originalPortConstraints"),nDR=new bR("selfLoopHolder"),nD_=new bR("splines.nsPortY"),nDk=new bR("modelOrder"),nDm=new bR("longEdgeTargetNode"),nDc=new SA(ndx,!1),nDx=new SA(ndx,!1),nDu=new bR("layerConstraints.hiddenNodes"),nDS=new bR("layerConstraints.opposidePort"),nDq=new bR("targetNode.modelOrder")}function nho(){nho=C,Bt(),nxj=new jU(ndR,nxE=nN7),nx_=new jU(ndK,(TX(),!1)),Rd(),nxz=new jU(ndF,nxU=nLV),nRn=new jU(nd_,!1),nRt=new jU(ndH,!0),nDY=new jU(ndB,!1),HL(),nRy=new jU(ndq,nRk=n_B),Va(1),nRC=new jU(ndG,Va(7)),nRO=new jU(ndz,!1),nxH=new jU(ndU,!1),YU(),nxy=new jU(ndX,nxk=nN4),ntt(),nx9=new jU(ndW,nx7=n_f),VJ(),nxY=new jU(ndV,nxZ=nDQ),Va(-1),nxJ=new jU(ndQ,Va(-1)),Va(-1),nx1=new jU(ndJ,Va(-1)),Va(-1),nx0=new jU(ndY,Va(4)),Va(-1),nx3=new jU(ndZ,Va(2)),nco(),nx6=new jU(nd1,nx8=n_D),Va(0),nx5=new jU(nd0,Va(0)),nxV=new jU(nd2,Va(nhT)),q5(),nxv=new jU(nd3,nxm=nNQ),nxi=new jU(nd4,!1),nxl=new jU(nd5,.1),nxg=new jU(nd6,!1),Va(-1),nxw=new jU(nd8,Va(-1)),Va(-1),nxd=new jU(nd9,Va(-1)),Va(0),nxr=new jU(nd7,Va(40)),z0(),nxs=new jU(ngn,nxh=nLq),nxc=new jU(ngt,nxa=nLH),YN(),nRv=new jU(nge,nRm=n_E),nRo=new bR(ngi),Ho(),nRe=new jU(ngr,nRi=nLb),nnS(),nRc=new jU(ngc,nRa=nLm),new b9,nRf=new jU(nga,.3),nRb=new bR(ngu),Yp(),nRw=new jU(ngo,nRd=n_y),zp(),nxO=new jU(ngs,nxA=n_Q),FA(),nx$=new jU(ngh,nxN=n_1),XJ(),nxL=new jU(ngf,nxD=n_4),nxR=new jU(ngl,.2),nxI=new jU(ngb,2),nRM=new jU(ngw,null),nRP=new jU(ngd,10),nRS=new jU(ngg,10),nRI=new jU(ngp,20),Va(0),nRj=new jU(ngv,Va(0)),Va(0),nRE=new jU(ngm,Va(0)),Va(0),nRT=new jU(ngy,Va(0)),nDZ=new jU(ngk,!1),ntW(),nD2=new jU(ngj,nD3=nLP),_j(),nD1=new jU(ngE,nD0=nNX),nxq=new jU(ngT,!1),Va(0),nxB=new jU(ngM,Va(16)),Va(0),nxG=new jU(ngS,Va(5)),UE(),nRY=new jU(ngP,nRZ=nHt),nRA=new jU(ngI,10),nRL=new jU(ngC,1),q_(),nRB=new jU(ngO,nRq=nN0),nRR=new bR(ngA),nR_=Va(1),Va(0),nRF=new jU(ng$,nR_),G7(),nR3=new jU(ngN,nR4=n_6),nR1=new bR(ngL),nRW=new jU(ngD,!0),nRU=new jU(ngx,2),nRQ=new jU(ngR,!0),nt0(),nxS=new jU(ngK,nxP=nLh),neC(),nxT=new jU(ngF,nxM=nNH),U1(),nxt=new jU(ng_,nxe=n_F),nxn=new jU(ngH,!1),W3(),nD4=new jU(ngB,nD5=nAF),Wf(),nD9=new jU(ngq,nD7=n_w),nD6=new jU(ngG,0),nD8=new jU(ngz,0),nxW=nN6,nxX=nNV,nx2=n_h,nx4=n_h,nxQ=n_u,WN(),nxb=nX0,nxp=nNQ,nxf=nNQ,nxu=nNQ,nxo=nX0,nRs=n_S,nRh=n_E,nRr=n_E,nRu=n_E,nRl=n_M,nRp=n_S,nRg=n_S,VY(),nxx=nXK,nxK=nXK,nxF=n_4,nxC=nXR,nR$=nHe,nRN=nHn,nRD=nHe,nRx=nHn,nRG=nHe,nRz=nHn,nRK=nN1,nRH=nN0,nR5=nHe,nR6=nHn,nR0=nHe,nR2=nHn,nRV=nHn,nRX=nHn,nRJ=nHn}function nhs(){nhs=C,n$s=new m6("DIRECTION_PREPROCESSOR",0),n$a=new m6("COMMENT_PREPROCESSOR",1),n$h=new m6("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),n$S=new m6("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),n$z=new m6("PARTITION_PREPROCESSOR",4),n$O=new m6("LABEL_DUMMY_INSERTER",5),n$J=new m6("SELF_LOOP_PREPROCESSOR",6),n$D=new m6("LAYER_CONSTRAINT_PREPROCESSOR",7),n$q=new m6("PARTITION_MIDPROCESSOR",8),n$k=new m6("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),n$F=new m6("NODE_PROMOTION",10),n$L=new m6("LAYER_CONSTRAINT_POSTPROCESSOR",11),n$G=new m6("PARTITION_POSTPROCESSOR",12),n$p=new m6("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),n$Z=new m6("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),n$n=new m6("BREAKING_POINT_INSERTER",15),n$K=new m6("LONG_EDGE_SPLITTER",16),n$X=new m6("PORT_SIDE_PROCESSOR",17),n$P=new m6("INVERTED_PORT_PROCESSOR",18),n$U=new m6("PORT_LIST_SORTER",19),n$0=new m6("SORT_BY_INPUT_ORDER_OF_MODEL",20),n$H=new m6("NORTH_SOUTH_PORT_PREPROCESSOR",21),n$t=new m6("BREAKING_POINT_PROCESSOR",22),n$B=new m6(ndw,23),n$2=new m6(ndd,24),n$V=new m6("SELF_LOOP_PORT_RESTORER",25),n$1=new m6("SINGLE_EDGE_GRAPH_WRAPPER",26),n$I=new m6("IN_LAYER_CONSTRAINT_PROCESSOR",27),n$w=new m6("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),n$C=new m6("LABEL_AND_NODE_SIZE_PROCESSOR",29),n$M=new m6("INNERMOST_NODE_MARGIN_CALCULATOR",30),n$Y=new m6("SELF_LOOP_ROUTER",31),n$r=new m6("COMMENT_NODE_MARGIN_CALCULATOR",32),n$l=new m6("END_LABEL_PREPROCESSOR",33),n$$=new m6("LABEL_DUMMY_SWITCHER",34),n$i=new m6("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),n$N=new m6("LABEL_SIDE_SELECTOR",36),n$E=new m6("HYPEREDGE_DUMMY_MERGER",37),n$v=new m6("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),n$x=new m6("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),n$y=new m6("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),n$u=new m6("CONSTRAINTS_POSTPROCESSOR",41),n$c=new m6("COMMENT_POSTPROCESSOR",42),n$T=new m6("HYPERNODE_PROCESSOR",43),n$m=new m6("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),n$R=new m6("LONG_EDGE_JOINER",45),n$Q=new m6("SELF_LOOP_POSTPROCESSOR",46),n$e=new m6("BREAKING_POINT_REMOVER",47),n$_=new m6("NORTH_SOUTH_PORT_POSTPROCESSOR",48),n$j=new m6("HORIZONTAL_COMPACTOR",49),n$A=new m6("LABEL_DUMMY_REMOVER",50),n$d=new m6("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),n$b=new m6("END_LABEL_SORTER",52),n$W=new m6("REVERSED_EDGE_RESTORER",53),n$f=new m6("END_LABEL_POSTPROCESSOR",54),n$g=new m6("HIERARCHICAL_NODE_RESIZER",55),n$o=new m6("DIRECTION_POSTPROCESSOR",56)}function nhh(){nhh=C,nYf=new b8(7),++nYC,nYl=new CU(8,94),++nYC,new CU(8,64),++nYC,nYb=new CU(8,36),++nYC,nYm=new CU(8,65),++nYC,nYy=new CU(8,122),++nYC,nYk=new CU(8,90),++nYC,nYT=new CU(8,98),++nYC,nYp=new CU(8,66),++nYC,nYj=new CU(8,60),++nYC,nYM=new CU(8,62),nYh=new b8(11),++nYC,ncz(nYs=new xv(4),48,57),++nYC,ncz(nYE=new xv(4),48,57),ncz(nYE,65,90),ncz(nYE,95,95),ncz(nYE,97,122),++nYC,ncz(nYv=new xv(4),9,9),ncz(nYv,10,10),ncz(nYv,12,12),ncz(nYv,13,13),ncz(nYv,32,32),nYw=nuR(nYs),nYg=nuR(nYE),nYd=nuR(nYv),nYc=new wt,nYa=new wt,nYu=Um(Dg(nTs,1),nhQ,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),nYr=Um(Dg(nTs,1),nhQ,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",nEA,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),nYo=Um(Dg(nY$,1),nfH,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function nhf(){nhf=C,nPw=new G6("OUT_T_L",0,(_1(),nSY),(H$(),nS0),(BH(),nSX),nSX,Um(Dg(nEJ,1),nhO,21,0,[C6((nrS(),nWc),Um(Dg(nCd,1),nfs,93,0,[nWo,nWt]))])),nPb=new G6("OUT_T_C",1,nSJ,nS0,nSX,nSW,Um(Dg(nEJ,1),nhO,21,0,[C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWo,nWn])),C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWo,nWn,nWe]))])),nPd=new G6("OUT_T_R",2,nSZ,nS0,nSX,nSV,Um(Dg(nEJ,1),nhO,21,0,[C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWo,nWi]))])),nPc=new G6("OUT_B_L",3,nSY,nS3,nSV,nSX,Um(Dg(nEJ,1),nhO,21,0,[C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWa,nWt]))])),nPr=new G6("OUT_B_C",4,nSJ,nS3,nSV,nSW,Um(Dg(nEJ,1),nhO,21,0,[C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWa,nWn])),C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWa,nWn,nWe]))])),nPa=new G6("OUT_B_R",5,nSZ,nS3,nSV,nSV,Um(Dg(nEJ,1),nhO,21,0,[C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWa,nWi]))])),nPs=new G6("OUT_L_T",6,nSZ,nS3,nSX,nSX,Um(Dg(nEJ,1),nhO,21,0,[C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWt,nWo,nWe]))])),nPo=new G6("OUT_L_C",7,nSZ,nS2,nSW,nSX,Um(Dg(nEJ,1),nhO,21,0,[C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWt,nWu])),C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWt,nWu,nWe]))])),nPu=new G6("OUT_L_B",8,nSZ,nS0,nSV,nSX,Um(Dg(nEJ,1),nhO,21,0,[C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWt,nWa,nWe]))])),nPl=new G6("OUT_R_T",9,nSY,nS3,nSX,nSV,Um(Dg(nEJ,1),nhO,21,0,[C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWi,nWo,nWe]))])),nPf=new G6("OUT_R_C",10,nSY,nS2,nSW,nSV,Um(Dg(nEJ,1),nhO,21,0,[C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWi,nWu])),C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWi,nWu,nWe]))])),nPh=new G6("OUT_R_B",11,nSY,nS0,nSV,nSV,Um(Dg(nEJ,1),nhO,21,0,[C6(nWc,Um(Dg(nCd,1),nfs,93,0,[nWi,nWa,nWe]))])),nPe=new G6("IN_T_L",12,nSY,nS3,nSX,nSX,Um(Dg(nEJ,1),nhO,21,0,[C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWo,nWt])),C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWo,nWt,nWe]))])),nPt=new G6("IN_T_C",13,nSJ,nS3,nSX,nSW,Um(Dg(nEJ,1),nhO,21,0,[C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWo,nWn])),C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWo,nWn,nWe]))])),nPi=new G6("IN_T_R",14,nSZ,nS3,nSX,nSV,Um(Dg(nEJ,1),nhO,21,0,[C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWo,nWi])),C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWo,nWi,nWe]))])),nS7=new G6("IN_C_L",15,nSY,nS2,nSW,nSX,Um(Dg(nEJ,1),nhO,21,0,[C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWu,nWt])),C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWu,nWt,nWe]))])),nS9=new G6("IN_C_C",16,nSJ,nS2,nSW,nSW,Um(Dg(nEJ,1),nhO,21,0,[C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWu,nWn])),C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWu,nWn,nWe]))])),nPn=new G6("IN_C_R",17,nSZ,nS2,nSW,nSV,Um(Dg(nEJ,1),nhO,21,0,[C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWu,nWi])),C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWu,nWi,nWe]))])),nS6=new G6("IN_B_L",18,nSY,nS0,nSV,nSX,Um(Dg(nEJ,1),nhO,21,0,[C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWa,nWt])),C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWa,nWt,nWe]))])),nS5=new G6("IN_B_C",19,nSJ,nS0,nSV,nSW,Um(Dg(nEJ,1),nhO,21,0,[C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWa,nWn])),C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWa,nWn,nWe]))])),nS8=new G6("IN_B_R",20,nSZ,nS0,nSV,nSV,Um(Dg(nEJ,1),nhO,21,0,[C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWa,nWi])),C6(nWr,Um(Dg(nCd,1),nfs,93,0,[nWa,nWi,nWe]))])),nPg=new G6(nbk,21,null,null,null,null,Um(Dg(nEJ,1),nhO,21,0,[]))}function nhl(){nhl=C,nQA=($g(),nQC).b,Im(BX(N6(nQC.b),0),34),Im(BX(N6(nQC.b),1),18),nQO=nQC.a,Im(BX(N6(nQC.a),0),34),Im(BX(N6(nQC.a),1),18),Im(BX(N6(nQC.a),2),18),Im(BX(N6(nQC.a),3),18),Im(BX(N6(nQC.a),4),18),nQ$=nQC.o,Im(BX(N6(nQC.o),0),34),Im(BX(N6(nQC.o),1),34),nQL=Im(BX(N6(nQC.o),2),18),Im(BX(N6(nQC.o),3),18),Im(BX(N6(nQC.o),4),18),Im(BX(N6(nQC.o),5),18),Im(BX(N6(nQC.o),6),18),Im(BX(N6(nQC.o),7),18),Im(BX(N6(nQC.o),8),18),Im(BX(N6(nQC.o),9),18),Im(BX(N6(nQC.o),10),18),Im(BX(N6(nQC.o),11),18),Im(BX(N6(nQC.o),12),18),Im(BX(N6(nQC.o),13),18),Im(BX(N6(nQC.o),14),18),Im(BX(N6(nQC.o),15),18),Im(BX(N5(nQC.o),0),59),Im(BX(N5(nQC.o),1),59),Im(BX(N5(nQC.o),2),59),Im(BX(N5(nQC.o),3),59),Im(BX(N5(nQC.o),4),59),Im(BX(N5(nQC.o),5),59),Im(BX(N5(nQC.o),6),59),Im(BX(N5(nQC.o),7),59),Im(BX(N5(nQC.o),8),59),Im(BX(N5(nQC.o),9),59),nQN=nQC.p,Im(BX(N6(nQC.p),0),34),Im(BX(N6(nQC.p),1),34),Im(BX(N6(nQC.p),2),34),Im(BX(N6(nQC.p),3),34),Im(BX(N6(nQC.p),4),18),Im(BX(N6(nQC.p),5),18),Im(BX(N5(nQC.p),0),59),Im(BX(N5(nQC.p),1),59),nQD=nQC.q,Im(BX(N6(nQC.q),0),34),nQx=nQC.v,Im(BX(N6(nQC.v),0),18),Im(BX(N5(nQC.v),0),59),Im(BX(N5(nQC.v),1),59),Im(BX(N5(nQC.v),2),59),nQR=nQC.w,Im(BX(N6(nQC.w),0),34),Im(BX(N6(nQC.w),1),34),Im(BX(N6(nQC.w),2),34),Im(BX(N6(nQC.w),3),18),nQK=nQC.B,Im(BX(N6(nQC.B),0),18),Im(BX(N5(nQC.B),0),59),Im(BX(N5(nQC.B),1),59),Im(BX(N5(nQC.B),2),59),nQH=nQC.Q,Im(BX(N6(nQC.Q),0),18),Im(BX(N5(nQC.Q),0),59),nQB=nQC.R,Im(BX(N6(nQC.R),0),34),nQq=nQC.S,Im(BX(N5(nQC.S),0),59),Im(BX(N5(nQC.S),1),59),Im(BX(N5(nQC.S),2),59),Im(BX(N5(nQC.S),3),59),Im(BX(N5(nQC.S),4),59),Im(BX(N5(nQC.S),5),59),Im(BX(N5(nQC.S),6),59),Im(BX(N5(nQC.S),7),59),Im(BX(N5(nQC.S),8),59),Im(BX(N5(nQC.S),9),59),Im(BX(N5(nQC.S),10),59),Im(BX(N5(nQC.S),11),59),Im(BX(N5(nQC.S),12),59),Im(BX(N5(nQC.S),13),59),Im(BX(N5(nQC.S),14),59),nQG=nQC.T,Im(BX(N6(nQC.T),0),18),Im(BX(N6(nQC.T),2),18),nQz=Im(BX(N6(nQC.T),3),18),Im(BX(N6(nQC.T),4),18),Im(BX(N5(nQC.T),0),59),Im(BX(N5(nQC.T),1),59),Im(BX(N6(nQC.T),1),18),nQU=nQC.U,Im(BX(N6(nQC.U),0),34),Im(BX(N6(nQC.U),1),34),Im(BX(N6(nQC.U),2),18),Im(BX(N6(nQC.U),3),18),Im(BX(N6(nQC.U),4),18),Im(BX(N6(nQC.U),5),18),Im(BX(N5(nQC.U),0),59),nQX=nQC.V,Im(BX(N6(nQC.V),0),18),nQW=nQC.W,Im(BX(N6(nQC.W),0),34),Im(BX(N6(nQC.W),1),34),Im(BX(N6(nQC.W),2),34),Im(BX(N6(nQC.W),3),18),Im(BX(N6(nQC.W),4),18),Im(BX(N6(nQC.W),5),18),nQQ=nQC.bb,Im(BX(N6(nQC.bb),0),34),Im(BX(N6(nQC.bb),1),34),Im(BX(N6(nQC.bb),2),34),Im(BX(N6(nQC.bb),3),34),Im(BX(N6(nQC.bb),4),34),Im(BX(N6(nQC.bb),5),34),Im(BX(N6(nQC.bb),6),34),Im(BX(N6(nQC.bb),7),18),Im(BX(N5(nQC.bb),0),59),Im(BX(N5(nQC.bb),1),59),nQJ=nQC.eb,Im(BX(N6(nQC.eb),0),34),Im(BX(N6(nQC.eb),1),34),Im(BX(N6(nQC.eb),2),34),Im(BX(N6(nQC.eb),3),34),Im(BX(N6(nQC.eb),4),34),Im(BX(N6(nQC.eb),5),34),Im(BX(N6(nQC.eb),6),18),Im(BX(N6(nQC.eb),7),18),nQV=nQC.ab,Im(BX(N6(nQC.ab),0),34),Im(BX(N6(nQC.ab),1),34),nQF=nQC.H,Im(BX(N6(nQC.H),0),18),Im(BX(N6(nQC.H),1),18),Im(BX(N6(nQC.H),2),18),Im(BX(N6(nQC.H),3),18),Im(BX(N6(nQC.H),4),18),Im(BX(N6(nQC.H),5),18),Im(BX(N5(nQC.H),0),59),nQY=nQC.db,Im(BX(N6(nQC.db),0),18),nQ_=nQC.M}function nhb(n){var t,e,i;mc(n,new nte(((((t=new as).c=ndc,t).d="ELK Layered",t).b="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 orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level.",e=new rB,t.e=e,t.a=ndc,i=C6((nrt(),nVz),Um(Dg(nCq,1),nfs,237,0,[nVB,nVq,nVH,nVG,nVF,nVK])),t.f=i,t))),xV(n,ndc,npr,JZ(nFR)),xV(n,ndc,npc,JZ(nFK)),xV(n,ndc,nb4,JZ(nFF)),xV(n,ndc,npa,JZ(nF_)),xV(n,ndc,nwy,JZ(nFB)),xV(n,ndc,npu,JZ(nFq)),xV(n,ndc,npo,JZ(nFU)),xV(n,ndc,nps,JZ(nFW)),xV(n,ndc,nph,JZ(nFV)),xV(n,ndc,npf,JZ(nFX)),xV(n,ndc,nwm,JZ(nFQ)),xV(n,ndc,npl,JZ(nFY)),xV(n,ndc,npb,JZ(nF1)),xV(n,ndc,npw,JZ(nFz)),xV(n,ndc,ngw,JZ(nFx)),xV(n,ndc,ngg,JZ(nFH)),xV(n,ndc,ngd,JZ(nFG)),xV(n,ndc,ngp,JZ(nFJ)),xV(n,ndc,nwv,Va(0)),xV(n,ndc,ngv,JZ(nFA)),xV(n,ndc,ngm,JZ(nF$)),xV(n,ndc,ngy,JZ(nFN)),xV(n,ndc,ngP,JZ(n_t)),xV(n,ndc,ngI,JZ(nF3)),xV(n,ndc,ngC,JZ(nF4)),xV(n,ndc,ngO,JZ(nF8)),xV(n,ndc,ngA,JZ(nF5)),xV(n,ndc,ng$,JZ(nF6)),xV(n,ndc,ngN,JZ(n_i)),xV(n,ndc,ngL,JZ(n_e)),xV(n,ndc,ngD,JZ(nF7)),xV(n,ndc,ngx,JZ(nF9)),xV(n,ndc,ngR,JZ(n_n)),xV(n,ndc,ngu,JZ(nFi)),xV(n,ndc,ngo,JZ(nFr)),xV(n,ndc,ngf,JZ(nKL)),xV(n,ndc,ngl,JZ(nKD)),xV(n,ndc,nb8,nFl),xV(n,ndc,ng0,nKO),xV(n,ndc,npd,0),xV(n,ndc,nwk,Va(1)),xV(n,ndc,nb6,nwg),xV(n,ndc,npg,JZ(nFh)),xV(n,ndc,nwT,JZ(nFj)),xV(n,ndc,npp,JZ(nFP)),xV(n,ndc,npv,JZ(nKk)),xV(n,ndc,npm,JZ(nR8)),xV(n,ndc,ngQ,JZ(nKF)),xV(n,ndc,nwj,(TX(),!0)),xV(n,ndc,npy,JZ(nKG)),xV(n,ndc,npk,JZ(nKz)),xV(n,ndc,nwI,JZ(nFa)),xV(n,ndc,nwP,JZ(nFs)),xV(n,ndc,npj,JZ(nFu)),xV(n,ndc,npE,nKT),xV(n,ndc,nwC,JZ(nK9)),xV(n,ndc,npT,JZ(nK8)),xV(n,ndc,nwO,JZ(nFM)),xV(n,ndc,npM,JZ(nFT)),xV(n,ndc,npS,JZ(nFS)),xV(n,ndc,npP,nFd),xV(n,ndc,npI,JZ(nFp)),xV(n,ndc,npC,JZ(nFv)),xV(n,ndc,npO,JZ(nFm)),xV(n,ndc,npA,JZ(nFg)),xV(n,ndc,ndz,JZ(nF2)),xV(n,ndc,ndW,JZ(nK3)),xV(n,ndc,nd1,JZ(nK2)),xV(n,ndc,ndG,JZ(nF0)),xV(n,ndc,ndV,JZ(nKJ)),xV(n,ndc,ndX,JZ(nKy)),xV(n,ndc,nd3,JZ(nKm)),xV(n,ndc,nd4,JZ(nKf)),xV(n,ndc,nd7,JZ(nKl)),xV(n,ndc,ngn,JZ(nKw)),xV(n,ndc,ngt,JZ(nKb)),xV(n,ndc,nd6,JZ(nKv)),xV(n,ndc,nd_,JZ(nK5)),xV(n,ndc,ndH,JZ(nK6)),xV(n,ndc,ndF,JZ(nKX)),xV(n,ndc,nge,JZ(nFc)),xV(n,ndc,ngc,JZ(nFn)),xV(n,ndc,ndK,JZ(nKR)),xV(n,ndc,nga,JZ(nFe)),xV(n,ndc,ngs,JZ(nK$)),xV(n,ndc,ngh,JZ(nKN)),xV(n,ndc,np$,JZ(nKh)),xV(n,ndc,ngr,JZ(nK7)),xV(n,ndc,ngj,JZ(nKi)),xV(n,ndc,ngE,JZ(nKe)),xV(n,ndc,ngk,JZ(nKt)),xV(n,ndc,ngT,JZ(nKH)),xV(n,ndc,ngM,JZ(nK_)),xV(n,ndc,ngS,JZ(nKB)),xV(n,ndc,nwB,JZ(nFo)),xV(n,ndc,npN,JZ(nKW)),xV(n,ndc,nb5,JZ(nKx)),xV(n,ndc,npL,JZ(nKP)),xV(n,ndc,nwM,JZ(nKS)),xV(n,ndc,nd5,JZ(nKd)),xV(n,ndc,npD,JZ(nFE)),xV(n,ndc,npx,JZ(nKn)),xV(n,ndc,npR,JZ(nKq)),xV(n,ndc,npK,JZ(nFy)),xV(n,ndc,npF,JZ(nFb)),xV(n,ndc,np_,JZ(nFw)),xV(n,ndc,ndY,JZ(nKZ)),xV(n,ndc,ndZ,JZ(nK1)),xV(n,ndc,npH,JZ(nFC)),xV(n,ndc,ndB,JZ(nR9)),xV(n,ndc,nd0,JZ(nK0)),xV(n,ndc,ngK,JZ(nKI)),xV(n,ndc,ngF,JZ(nKM)),xV(n,ndc,npB,JZ(nK4)),xV(n,ndc,nd2,JZ(nKV)),xV(n,ndc,ngi,JZ(nFt)),xV(n,ndc,npq,JZ(nFZ)),xV(n,ndc,ndR,JZ(nKE)),xV(n,ndc,ndq,JZ(nFI)),xV(n,ndc,ngb,JZ(nKA)),xV(n,ndc,ndQ,JZ(nKQ)),xV(n,ndc,nd8,JZ(nKg)),xV(n,ndc,npG,JZ(nKU)),xV(n,ndc,ndJ,JZ(nKY)),xV(n,ndc,nd9,JZ(nKp)),xV(n,ndc,ng_,JZ(nKs)),xV(n,ndc,ngq,JZ(nKu)),xV(n,ndc,ngG,JZ(nKc)),xV(n,ndc,ngz,JZ(nKa)),xV(n,ndc,ngH,JZ(nKo)),xV(n,ndc,ngB,JZ(nKr)),xV(n,ndc,ndU,JZ(nKK))}function nhw(n,t){var e;return nJg||(nJg=new wt,nJp=new wt,nhh(),nhh(),++nYC,QY(e=new xv(4)," \n\r\r "),Dp(nJg,nES,e),Dp(nJp,nES,nuR(e)),++nYC,QY(e=new xv(4),nEC),Dp(nJg,nET,e),Dp(nJp,nET,nuR(e)),++nYC,QY(e=new xv(4),nEC),Dp(nJg,nET,e),Dp(nJp,nET,nuR(e)),++nYC,QY(e=new xv(4),nEO),nog(e,Im(Lz(nJg,nET),117)),Dp(nJg,nEM,e),Dp(nJp,nEM,nuR(e)),++nYC,QY(e=new xv(4),"-.0:AZ__az\xb7\xb7\xc0\xd6\xd8\xf6\xf8ıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),Dp(nJg,nEP,e),Dp(nJp,nEP,nuR(e)),++nYC,QY(e=new xv(4),nEO),ncz(e,95,95),ncz(e,58,58),Dp(nJg,nEI,e),Dp(nJp,nEI,nuR(e))),t?Im(Lz(nJg,n),136):Im(Lz(nJp,n),136)}function nhd(n){return Pv("_UI_EMFDiagnostic_marker",n)?"EMF Problem":Pv("_UI_CircularContainment_diagnostic",n)?"An object may not circularly contain itself":Pv(ny9,n)?"Wrong character.":Pv(ny7,n)?"Invalid reference number.":Pv(nkn,n)?"A character is required after \\.":Pv(nkt,n)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":Pv(nke,n)?"'(?<' or '(? toIndex: ",nlB=", toIndex: ",nlq="Index: ",nlG=", Size: ",nlz="org.eclipse.elk.alg.common",nlU={62:1},nlX="org.eclipse.elk.alg.common.compaction",nlW="Scanline/EventHandler",nlV="org.eclipse.elk.alg.common.compaction.oned",nlQ="CNode belongs to another CGroup.",nlJ="ISpacingsHandler/1",nlY="The ",nlZ=" instance has been finished already.",nl1="The direction ",nl0=" is not supported by the CGraph instance.",nl2="OneDimensionalCompactor",nl3="OneDimensionalCompactor/lambda$0$Type",nl4="Quadruplet",nl5="ScanlineConstraintCalculator",nl6="ScanlineConstraintCalculator/ConstraintsScanlineHandler",nl8="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",nl9="ScanlineConstraintCalculator/Timestamp",nl7="ScanlineConstraintCalculator/lambda$0$Type",nbn={169:1,45:1},nbt="org.eclipse.elk.alg.common.compaction.options",nbe="org.eclipse.elk.core.data",nbi="org.eclipse.elk.polyomino.traversalStrategy",nbr="org.eclipse.elk.polyomino.lowLevelSort",nbc="org.eclipse.elk.polyomino.highLevelSort",nba="org.eclipse.elk.polyomino.fill",nbu={130:1},nbo="polyomino",nbs="org.eclipse.elk.alg.common.networksimplex",nbh={177:1,3:1,4:1},nbf="org.eclipse.elk.alg.common.nodespacing",nbl="org.eclipse.elk.alg.common.nodespacing.cellsystem",nbb="CENTER",nbw={212:1,326:1},nbd={3:1,4:1,5:1,595:1},nbg="LEFT",nbp="RIGHT",nbv="Vertical alignment cannot be null",nbm="BOTTOM",nby="org.eclipse.elk.alg.common.nodespacing.internal",nbk="UNDEFINED",nbj=.01,nbE="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",nbT="LabelPlacer/lambda$0$Type",nbM="LabelPlacer/lambda$1$Type",nbS="portRatioOrPosition",nbP="org.eclipse.elk.alg.common.overlaps",nbI="DOWN",nbC="org.eclipse.elk.alg.common.polyomino",nbO="NORTH",nbA="EAST",nb$="SOUTH",nbN="WEST",nbL="org.eclipse.elk.alg.common.polyomino.structures",nbD="Direction",nbx="Grid is only of size ",nbR=". Requested point (",nbK=") is out of bounds.",nbF=" Given center based coordinates were (",nb_="org.eclipse.elk.graph.properties",nbH="IPropertyHolder",nbB={3:1,94:1,134:1},nbq="org.eclipse.elk.alg.common.spore",nbG="org.eclipse.elk.alg.common.utils",nbz={209:1},nbU="org.eclipse.elk.core",nbX="Connected Components Compaction",nbW="org.eclipse.elk.alg.disco",nbV="org.eclipse.elk.alg.disco.graph",nbQ="org.eclipse.elk.alg.disco.options",nbJ="CompactionStrategy",nbY="org.eclipse.elk.disco.componentCompaction.strategy",nbZ="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",nb1="org.eclipse.elk.disco.debug.discoGraph",nb0="org.eclipse.elk.disco.debug.discoPolys",nb2="componentCompaction",nb3="org.eclipse.elk.disco",nb4="org.eclipse.elk.spacing.componentComponent",nb5="org.eclipse.elk.edge.thickness",nb6="org.eclipse.elk.aspectRatio",nb8="org.eclipse.elk.padding",nb9="org.eclipse.elk.alg.disco.transform",nb7=1.5707963267948966,nwn=17976931348623157e292,nwt={3:1,4:1,5:1,192:1},nwe={3:1,6:1,4:1,5:1,106:1,120:1},nwi="org.eclipse.elk.alg.force",nwr="ComponentsProcessor",nwc="ComponentsProcessor/1",nwa="org.eclipse.elk.alg.force.graph",nwu="Component Layout",nwo="org.eclipse.elk.alg.force.model",nws="org.eclipse.elk.force.model",nwh="org.eclipse.elk.force.iterations",nwf="org.eclipse.elk.force.repulsivePower",nwl="org.eclipse.elk.force.temperature",nwb=.001,nww="org.eclipse.elk.force.repulsion",nwd="org.eclipse.elk.alg.force.options",nwg=1.600000023841858,nwp="org.eclipse.elk.force",nwv="org.eclipse.elk.priority",nwm="org.eclipse.elk.spacing.nodeNode",nwy="org.eclipse.elk.spacing.edgeLabel",nwk="org.eclipse.elk.randomSeed",nwj="org.eclipse.elk.separateConnectedComponents",nwE="org.eclipse.elk.interactive",nwT="org.eclipse.elk.portConstraints",nwM="org.eclipse.elk.edgeLabels.inline",nwS="org.eclipse.elk.omitNodeMicroLayout",nwP="org.eclipse.elk.nodeSize.options",nwI="org.eclipse.elk.nodeSize.constraints",nwC="org.eclipse.elk.nodeLabels.placement",nwO="org.eclipse.elk.portLabels.placement",nwA="origin",nw$="random",nwN="boundingBox.upLeft",nwL="boundingBox.lowRight",nwD="org.eclipse.elk.stress.fixed",nwx="org.eclipse.elk.stress.desiredEdgeLength",nwR="org.eclipse.elk.stress.dimension",nwK="org.eclipse.elk.stress.epsilon",nwF="org.eclipse.elk.stress.iterationLimit",nw_="org.eclipse.elk.stress",nwH="ELK Stress",nwB="org.eclipse.elk.nodeSize.minimum",nwq="org.eclipse.elk.alg.force.stress",nwG="Layered layout",nwz="org.eclipse.elk.alg.layered",nwU="org.eclipse.elk.alg.layered.compaction.components",nwX="org.eclipse.elk.alg.layered.compaction.oned",nwW="org.eclipse.elk.alg.layered.compaction.oned.algs",nwV="org.eclipse.elk.alg.layered.compaction.recthull",nwQ="org.eclipse.elk.alg.layered.components",nwJ="NONE",nwY={3:1,6:1,4:1,9:1,5:1,122:1},nwZ={3:1,6:1,4:1,5:1,141:1,106:1,120:1},nw1="org.eclipse.elk.alg.layered.compound",nw0={51:1},nw2="org.eclipse.elk.alg.layered.graph",nw3=" -> ",nw4="Not supported by LGraph",nw5="Port side is undefined",nw6={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},nw8={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},nw9={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},nw7="([{\"' \r\n",ndn=")]}\"' \r\n",ndt="The given string contains parts that cannot be parsed as numbers.",nde="org.eclipse.elk.core.math",ndi={3:1,4:1,142:1,207:1,414:1},ndr={3:1,4:1,116:1,207:1,414:1},ndc="org.eclipse.elk.layered",nda="org.eclipse.elk.alg.layered.graph.transform",ndu="ElkGraphImporter",ndo="ElkGraphImporter/lambda$0$Type",nds="ElkGraphImporter/lambda$1$Type",ndh="ElkGraphImporter/lambda$2$Type",ndf="ElkGraphImporter/lambda$4$Type",ndl="Node margin calculation",ndb="org.eclipse.elk.alg.layered.intermediate",ndw="ONE_SIDED_GREEDY_SWITCH",ndd="TWO_SIDED_GREEDY_SWITCH",ndg="No implementation is available for the layout processor ",ndp="IntermediateProcessorStrategy",ndv="Node '",ndm="FIRST_SEPARATE",ndy="LAST_SEPARATE",ndk="Odd port side processing",ndj="org.eclipse.elk.alg.layered.intermediate.compaction",ndE="org.eclipse.elk.alg.layered.intermediate.greedyswitch",ndT="org.eclipse.elk.alg.layered.p3order.counting",ndM={225:1},ndS="org.eclipse.elk.alg.layered.intermediate.loops",ndP="org.eclipse.elk.alg.layered.intermediate.loops.ordering",ndI="org.eclipse.elk.alg.layered.intermediate.loops.routing",ndC="org.eclipse.elk.alg.layered.intermediate.preserveorder",ndO="org.eclipse.elk.alg.layered.intermediate.wrapping",ndA="org.eclipse.elk.alg.layered.options",nd$="INTERACTIVE",ndN="DEPTH_FIRST",ndL="EDGE_LENGTH",ndD="SELF_LOOPS",ndx="firstTryWithInitialOrder",ndR="org.eclipse.elk.layered.directionCongruency",ndK="org.eclipse.elk.layered.feedbackEdges",ndF="org.eclipse.elk.layered.interactiveReferencePoint",nd_="org.eclipse.elk.layered.mergeEdges",ndH="org.eclipse.elk.layered.mergeHierarchyEdges",ndB="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",ndq="org.eclipse.elk.layered.portSortingStrategy",ndG="org.eclipse.elk.layered.thoroughness",ndz="org.eclipse.elk.layered.unnecessaryBendpoints",ndU="org.eclipse.elk.layered.generatePositionAndLayerIds",ndX="org.eclipse.elk.layered.cycleBreaking.strategy",ndW="org.eclipse.elk.layered.layering.strategy",ndV="org.eclipse.elk.layered.layering.layerConstraint",ndQ="org.eclipse.elk.layered.layering.layerChoiceConstraint",ndJ="org.eclipse.elk.layered.layering.layerId",ndY="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",ndZ="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",nd1="org.eclipse.elk.layered.layering.nodePromotion.strategy",nd0="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",nd2="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",nd3="org.eclipse.elk.layered.crossingMinimization.strategy",nd4="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",nd5="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",nd6="org.eclipse.elk.layered.crossingMinimization.semiInteractive",nd8="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",nd9="org.eclipse.elk.layered.crossingMinimization.positionId",nd7="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",ngn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",ngt="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",nge="org.eclipse.elk.layered.nodePlacement.strategy",ngi="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",ngr="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",ngc="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",nga="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",ngu="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",ngo="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",ngs="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",ngh="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",ngf="org.eclipse.elk.layered.edgeRouting.splines.mode",ngl="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",ngb="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",ngw="org.eclipse.elk.layered.spacing.baseValue",ngd="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",ngg="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",ngp="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",ngv="org.eclipse.elk.layered.priority.direction",ngm="org.eclipse.elk.layered.priority.shortness",ngy="org.eclipse.elk.layered.priority.straightness",ngk="org.eclipse.elk.layered.compaction.connectedComponents",ngj="org.eclipse.elk.layered.compaction.postCompaction.strategy",ngE="org.eclipse.elk.layered.compaction.postCompaction.constraints",ngT="org.eclipse.elk.layered.highDegreeNodes.treatment",ngM="org.eclipse.elk.layered.highDegreeNodes.threshold",ngS="org.eclipse.elk.layered.highDegreeNodes.treeHeight",ngP="org.eclipse.elk.layered.wrapping.strategy",ngI="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",ngC="org.eclipse.elk.layered.wrapping.correctionFactor",ngO="org.eclipse.elk.layered.wrapping.cutting.strategy",ngA="org.eclipse.elk.layered.wrapping.cutting.cuts",ng$="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",ngN="org.eclipse.elk.layered.wrapping.validify.strategy",ngL="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",ngD="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",ngx="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",ngR="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",ngK="org.eclipse.elk.layered.edgeLabels.sideSelection",ngF="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",ng_="org.eclipse.elk.layered.considerModelOrder.strategy",ngH="org.eclipse.elk.layered.considerModelOrder.noModelOrder",ngB="org.eclipse.elk.layered.considerModelOrder.components",ngq="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",ngG="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",ngz="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",ngU="layering",ngX="layering.minWidth",ngW="layering.nodePromotion",ngV="crossingMinimization",ngQ="org.eclipse.elk.hierarchyHandling",ngJ="crossingMinimization.greedySwitch",ngY="nodePlacement",ngZ="nodePlacement.bk",ng1="edgeRouting",ng0="org.eclipse.elk.edgeRouting",ng2="spacing",ng3="priority",ng4="compaction",ng5="compaction.postCompaction",ng6="Specifies whether and how post-process compaction is applied.",ng8="highDegreeNodes",ng9="wrapping",ng7="wrapping.cutting",npn="wrapping.validify",npt="wrapping.multiEdge",npe="edgeLabels",npi="considerModelOrder",npr="org.eclipse.elk.spacing.commentComment",npc="org.eclipse.elk.spacing.commentNode",npa="org.eclipse.elk.spacing.edgeEdge",npu="org.eclipse.elk.spacing.edgeNode",npo="org.eclipse.elk.spacing.labelLabel",nps="org.eclipse.elk.spacing.labelPortHorizontal",nph="org.eclipse.elk.spacing.labelPortVertical",npf="org.eclipse.elk.spacing.labelNode",npl="org.eclipse.elk.spacing.nodeSelfLoop",npb="org.eclipse.elk.spacing.portPort",npw="org.eclipse.elk.spacing.individual",npd="org.eclipse.elk.port.borderOffset",npg="org.eclipse.elk.noLayout",npp="org.eclipse.elk.port.side",npv="org.eclipse.elk.debugMode",npm="org.eclipse.elk.alignment",npy="org.eclipse.elk.insideSelfLoops.activate",npk="org.eclipse.elk.insideSelfLoops.yo",npj="org.eclipse.elk.nodeSize.fixedGraphSize",npE="org.eclipse.elk.direction",npT="org.eclipse.elk.nodeLabels.padding",npM="org.eclipse.elk.portLabels.nextToPortIfPossible",npS="org.eclipse.elk.portLabels.treatAsGroup",npP="org.eclipse.elk.portAlignment.default",npI="org.eclipse.elk.portAlignment.north",npC="org.eclipse.elk.portAlignment.south",npO="org.eclipse.elk.portAlignment.west",npA="org.eclipse.elk.portAlignment.east",np$="org.eclipse.elk.contentAlignment",npN="org.eclipse.elk.junctionPoints",npL="org.eclipse.elk.edgeLabels.placement",npD="org.eclipse.elk.port.index",npx="org.eclipse.elk.commentBox",npR="org.eclipse.elk.hypernode",npK="org.eclipse.elk.port.anchor",npF="org.eclipse.elk.partitioning.activate",np_="org.eclipse.elk.partitioning.partition",npH="org.eclipse.elk.position",npB="org.eclipse.elk.margins",npq="org.eclipse.elk.spacing.portsSurrounding",npG="org.eclipse.elk.interactiveLayout",npz="org.eclipse.elk.core.util",npU={3:1,4:1,5:1,593:1},npX="NETWORK_SIMPLEX",npW={123:1,51:1},npV="org.eclipse.elk.alg.layered.p1cycles",npQ="org.eclipse.elk.alg.layered.p2layers",npJ={402:1,225:1},npY={832:1,3:1,4:1},npZ="org.eclipse.elk.alg.layered.p3order",np1="org.eclipse.elk.alg.layered.p4nodes",np0={3:1,4:1,5:1,840:1},np2=1e-5,np3="org.eclipse.elk.alg.layered.p4nodes.bk",np4="org.eclipse.elk.alg.layered.p5edges",np5="org.eclipse.elk.alg.layered.p5edges.orthogonal",np6="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",np8=1e-6,np9="org.eclipse.elk.alg.layered.p5edges.splines",np7=.09999999999999998,nvn=1e-8,nvt=4.71238898038469,nve=3.141592653589793,nvi="org.eclipse.elk.alg.mrtree",nvr="org.eclipse.elk.alg.mrtree.graph",nvc="org.eclipse.elk.alg.mrtree.intermediate",nva="Set neighbors in level",nvu="DESCENDANTS",nvo="org.eclipse.elk.mrtree.weighting",nvs="org.eclipse.elk.mrtree.searchOrder",nvh="org.eclipse.elk.alg.mrtree.options",nvf="org.eclipse.elk.mrtree",nvl="org.eclipse.elk.tree",nvb="org.eclipse.elk.alg.radial",nvw=6.283185307179586,nvd=5e-324,nvg="org.eclipse.elk.alg.radial.intermediate",nvp="org.eclipse.elk.alg.radial.intermediate.compaction",nvv={3:1,4:1,5:1,106:1},nvm="org.eclipse.elk.alg.radial.intermediate.optimization",nvy="No implementation is available for the layout option ",nvk="org.eclipse.elk.alg.radial.options",nvj="org.eclipse.elk.radial.orderId",nvE="org.eclipse.elk.radial.radius",nvT="org.eclipse.elk.radial.compactor",nvM="org.eclipse.elk.radial.compactionStepSize",nvS="org.eclipse.elk.radial.sorter",nvP="org.eclipse.elk.radial.wedgeCriteria",nvI="org.eclipse.elk.radial.optimizationCriteria",nvC="org.eclipse.elk.radial",nvO="org.eclipse.elk.alg.radial.p1position.wedge",nvA="org.eclipse.elk.alg.radial.sorting",nv$=5.497787143782138,nvN=3.9269908169872414,nvL=2.356194490192345,nvD="org.eclipse.elk.alg.rectpacking",nvx="org.eclipse.elk.alg.rectpacking.firstiteration",nvR="org.eclipse.elk.alg.rectpacking.options",nvK="org.eclipse.elk.rectpacking.optimizationGoal",nvF="org.eclipse.elk.rectpacking.lastPlaceShift",nv_="org.eclipse.elk.rectpacking.currentPosition",nvH="org.eclipse.elk.rectpacking.desiredPosition",nvB="org.eclipse.elk.rectpacking.onlyFirstIteration",nvq="org.eclipse.elk.rectpacking.rowCompaction",nvG="org.eclipse.elk.rectpacking.expandToAspectRatio",nvz="org.eclipse.elk.rectpacking.targetWidth",nvU="org.eclipse.elk.expandNodes",nvX="org.eclipse.elk.rectpacking",nvW="org.eclipse.elk.alg.rectpacking.util",nvV="No implementation available for ",nvQ="org.eclipse.elk.alg.spore",nvJ="org.eclipse.elk.alg.spore.options",nvY="org.eclipse.elk.sporeCompaction",nvZ="org.eclipse.elk.underlyingLayoutAlgorithm",nv1="org.eclipse.elk.processingOrder.treeConstruction",nv0="org.eclipse.elk.processingOrder.spanningTreeCostFunction",nv2="org.eclipse.elk.processingOrder.preferredRoot",nv3="org.eclipse.elk.processingOrder.rootSelection",nv4="org.eclipse.elk.structure.structureExtractionStrategy",nv5="org.eclipse.elk.compaction.compactionStrategy",nv6="org.eclipse.elk.compaction.orthogonal",nv8="org.eclipse.elk.overlapRemoval.maxIterations",nv9="org.eclipse.elk.overlapRemoval.runScanline",nv7="processingOrder",nmn="overlapRemoval",nmt="org.eclipse.elk.sporeOverlap",nme="org.eclipse.elk.alg.spore.p1structure",nmi="org.eclipse.elk.alg.spore.p2processingorder",nmr="org.eclipse.elk.alg.spore.p3execution",nmc="Invalid index: ",nma="org.eclipse.elk.core.alg",nmu={331:1},nmo={288:1},nms="Make sure its type is registered with the ",nmh=" utility class.",nmf="true",nml="false",nmb="Couldn't clone property '",nmw=.05,nmd="org.eclipse.elk.core.options",nmg=1.2999999523162842,nmp="org.eclipse.elk.box",nmv="org.eclipse.elk.box.packingMode",nmm="org.eclipse.elk.algorithm",nmy="org.eclipse.elk.resolvedAlgorithm",nmk="org.eclipse.elk.bendPoints",nmj="org.eclipse.elk.labelManager",nmE="org.eclipse.elk.scaleFactor",nmT="org.eclipse.elk.animate",nmM="org.eclipse.elk.animTimeFactor",nmS="org.eclipse.elk.layoutAncestors",nmP="org.eclipse.elk.maxAnimTime",nmI="org.eclipse.elk.minAnimTime",nmC="org.eclipse.elk.progressBar",nmO="org.eclipse.elk.validateGraph",nmA="org.eclipse.elk.validateOptions",nm$="org.eclipse.elk.zoomToFit",nmN="org.eclipse.elk.font.name",nmL="org.eclipse.elk.font.size",nmD="org.eclipse.elk.edge.type",nmx="partitioning",nmR="nodeLabels",nmK="portAlignment",nmF="nodeSize",nm_="port",nmH="portLabels",nmB="insideSelfLoops",nmq="org.eclipse.elk.fixed",nmG="org.eclipse.elk.random",nmz="port must have a parent node to calculate the port side",nmU="The edge needs to have exactly one edge section. Found: ",nmX="org.eclipse.elk.core.util.adapters",nmW="org.eclipse.emf.ecore",nmV="org.eclipse.elk.graph",nmQ="EMapPropertyHolder",nmJ="ElkBendPoint",nmY="ElkGraphElement",nmZ="ElkConnectableShape",nm1="ElkEdge",nm0="ElkEdgeSection",nm2="EModelElement",nm3="ENamedElement",nm4="ElkLabel",nm5="ElkNode",nm6="ElkPort",nm8={92:1,90:1},nm9="org.eclipse.emf.common.notify.impl",nm7="The feature '",nyn="' is not a valid changeable feature",nyt="Expecting null",nye="' is not a valid feature",nyi="The feature ID",nyr=" is not a valid feature ID",nyc=32768,nya={105:1,92:1,90:1,56:1,49:1,97:1},nyu="org.eclipse.emf.ecore.impl",nyo="org.eclipse.elk.graph.impl",nys="Recursive containment not allowed for ",nyh="The datatype '",nyf="' is not a valid classifier",nyl="The value '",nyb={190:1,3:1,4:1},nyw="The class '",nyd="http://www.eclipse.org/elk/ElkGraph",nyg=1024,nyp="property",nyv="value",nym="source",nyy="properties",nyk="identifier",nyj="height",nyE="width",nyT="parent",nyM="text",nyS="children",nyP="hierarchical",nyI="sources",nyC="targets",nyO="sections",nyA="bendPoints",ny$="outgoingShape",nyN="incomingShape",nyL="outgoingSections",nyD="incomingSections",nyx="org.eclipse.emf.common.util",nyR="Severe implementation error in the Json to ElkGraph importer.",nyK="id",nyF="org.eclipse.elk.graph.json",ny_="Unhandled parameter types: ",nyH="startPoint",nyB="An edge must have at least one source and one target (edge id: '",nyq="Referenced edge section does not exist: ",nyG=" (edge id: '",nyz="target",nyU="sourcePoint",nyX="targetPoint",nyW="group",nyV="name",nyQ="connectableShape cannot be null",nyJ="edge cannot be null",nyY="Passed edge is not 'simple'.",nyZ="org.eclipse.elk.graph.util",ny1="The 'no duplicates' constraint is violated",ny0="targetIndex=",ny2=", size=",ny3="sourceIndex=",ny4={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},ny5={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},ny6="logging",ny8="measureExecutionTime",ny9="parser.parse.1",ny7="parser.parse.2",nkn="parser.next.1",nkt="parser.next.2",nke="parser.next.3",nki="parser.next.4",nkr="parser.factor.1",nkc="parser.factor.2",nka="parser.factor.3",nku="parser.factor.4",nko="parser.factor.5",nks="parser.factor.6",nkh="parser.atom.1",nkf="parser.atom.2",nkl="parser.atom.3",nkb="parser.atom.4",nkw="parser.atom.5",nkd="parser.cc.1",nkg="parser.cc.2",nkp="parser.cc.3",nkv="parser.cc.5",nkm="parser.cc.6",nky="parser.cc.7",nkk="parser.cc.8",nkj="parser.ope.1",nkE="parser.ope.2",nkT="parser.ope.3",nkM="parser.descape.1",nkS="parser.descape.2",nkP="parser.descape.3",nkI="parser.descape.4",nkC="parser.descape.5",nkO="parser.process.1",nkA="parser.quantifier.1",nk$="parser.quantifier.2",nkN="parser.quantifier.3",nkL="parser.quantifier.4",nkD="parser.quantifier.5",nkx="org.eclipse.emf.common.notify",nkR={415:1,672:1},nkK={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},nkF={366:1,143:1},nk_="index=",nkH={3:1,4:1,5:1,126:1},nkB={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},nkq={3:1,6:1,4:1,5:1,192:1},nkG={3:1,4:1,5:1,165:1,367:1},nkz=";/?:@&=+$,",nkU="invalid authority: ",nkX="EAnnotation",nkW="ETypedElement",nkV="EStructuralFeature",nkQ="EAttribute",nkJ="EClassifier",nkY="EEnumLiteral",nkZ="EGenericType",nk1="EOperation",nk0="EParameter",nk2="EReference",nk3="ETypeParameter",nk4="org.eclipse.emf.ecore.util",nk5={76:1},nk6={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},nk8="org.eclipse.emf.ecore.util.FeatureMap$Entry",nk9=8192,nk7=2048,njn="byte",njt="char",nje="double",nji="float",njr="int",njc="long",nja="short",nju="java.lang.Object",njo={3:1,4:1,5:1,247:1},njs={3:1,4:1,5:1,673:1},njh={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},njf={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},njl="mixed",njb="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",njw="kind",njd={3:1,4:1,5:1,674:1},njg={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},njp={20:1,28:1,52:1,14:1,15:1,58:1,69:1},njv={47:1,125:1,279:1},njm={72:1,332:1},njy="The value of type '",njk="' must be of type '",njj="http://www.eclipse.org/emf/2002/Ecore",njE="constraints",njT="baseType",njM="getEStructuralFeature",njS="getFeatureID",njP="feature",njI="getOperationID",njC="operation",njO="defaultValue",njA="eTypeParameters",nj$="isInstance",njN="getEEnumLiteral",njL="eContainingClass",njD={55:1},njx={3:1,4:1,5:1,119:1},njR="org.eclipse.emf.ecore.resource",njK={92:1,90:1,591:1,1935:1},njF="org.eclipse.emf.ecore.resource.impl",nj_="unspecified",njH="simple",njB="attribute",njq="attributeWildcard",njG="element",njz="elementWildcard",njU="collapse",njX="itemType",njW="namespace",njV="##targetNamespace",njQ="whiteSpace",njJ="wildcards",njY="http://www.eclipse.org/emf/2003/XMLType",njZ="##any",nj1="uninitialized",nj0="The multiplicity constraint is violated",nj2="org.eclipse.emf.ecore.xml.type",nj3="ProcessingInstruction",nj4="SimpleAnyType",nj5="XMLTypeDocumentRoot",nj6="org.eclipse.emf.ecore.xml.type.impl",nj8="processing",nj9="ENTITIES_._base",nj7="minLength",nEn="ENTITY",nEt="NCName",nEe="IDREFS_._base",nEi="integer",nEr="token",nEc="pattern",nEa="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",nEu="\\i\\c*",nEo="[\\i-[:]][\\c-[:]]*",nEs="nonPositiveInteger",nEh="maxInclusive",nEf="NMTOKEN",nEl="NMTOKENS_._base",nEb="nonNegativeInteger",nEw="minInclusive",nEd="normalizedString",nEg="unsignedByte",nEp="unsignedInt",nEv="18446744073709551615",nEm="unsignedShort",nEy="processingInstruction",nEk="org.eclipse.emf.ecore.xml.type.internal",nEj=1114111,nEE="Internal Error: shorthands: \\u",nET="xml:isDigit",nEM="xml:isWord",nES="xml:isSpace",nEP="xml:isNameChar",nEI="xml:isInitialNameChar",nEC="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",nEO="AZaz\xc0\xd6\xd8\xf6\xf8ıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",nEA="Private Use",nE$="ASSIGNED",nEN="\x00\x7f\x80\xffĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\uFEFF\uFEFF＀￯",nEL="UNASSIGNED",nED={3:1,117:1},nEx="org.eclipse.emf.ecore.xml.type.util",nER={3:1,4:1,5:1,368:1},nEK="org.eclipse.xtext.xbase.lib",nEF="Cannot add elements to a Range",nE_="Cannot set elements in a Range",nEH="Cannot remove elements from a Range",nEB="locale",nEq="default",nEG="user.agent";nTp.goog=nTp.goog||{},nTp.goog.global=nTp.goog.global||nTp,nTm={},Array.isArray||(Array.isArray=function(n){return"[object Array]"===Object.prototype.toString.call(n)}),Date.now||(Date.now=function(){return(new Date).getTime()}),nrr(1,null,{},e),nTv.Fb=function(n){return jf(this)===jf(n)},nTv.Gb=function(){return this.gm},nTv.Hb=function(){return T9(this)},nTv.Ib=function(){return pb(Xp(this))+"@"+(Xg(this)>>>0).toString(16)},nTv.equals=function(n){return this.Fb(n)},nTv.hashCode=function(){return this.Hb()},nTv.toString=function(){return this.Ib()},nrr(290,1,{290:1,2026:1},UY),nTv.le=function(n){var t;return(t=new UY).i=4,n>1?t.c=Dg(this,n-1):t.c=this,t},nTv.me=function(){return Su(this),this.b},nTv.ne=function(){return pb(this)},nTv.oe=function(){return Su(this),this.k},nTv.pe=function(){return(4&this.i)!=0},nTv.qe=function(){return(1&this.i)!=0},nTv.Ib=function(){return BE(this)},nTv.i=0;var nEz=1,nEU=AY(nhM,"Object",1),nEX=AY(nhM,"Class",290);nrr(1998,1,nhS),AY(nhP,"Optional",1998),nrr(1170,1998,nhS,r),nTv.Fb=function(n){return n===this},nTv.Hb=function(){return 2040732332},nTv.Ib=function(){return"Optional.absent()"},nTv.Jb=function(n){return A1(n),dJ(),nTT},AY(nhP,"Absent",1170),nrr(628,1,{},g_),AY(nhP,"Joiner",628);var nEW=Cw(nhP,"Predicate");nrr(582,1,{169:1,582:1,3:1,45:1},s0),nTv.Mb=function(n){return Xa(this,n)},nTv.Lb=function(n){return Xa(this,n)},nTv.Fb=function(n){var t;return!!Ti(n,582)&&(t=Im(n,582),nrp(this.a,t.a))},nTv.Hb=function(){return Xu(this.a)+306654252},nTv.Ib=function(){return function(n){var t,e,i,r;for(t=$r(jP(new TV("Predicates."),"and"),40),e=!0,r=new h$(n);r.b0},nTv.Pb=function(){if(this.c>=this.d)throw(new wO).e;return this.Xb(this.c++)},nTv.Tb=function(){return this.c},nTv.Ub=function(){if(this.c<=0)throw(new wO).e;return this.Xb(--this.c)},nTv.Vb=function(){return this.c-1},nTv.c=0,nTv.d=0,AY(nhD,"AbstractIndexedListIterator",386),nrr(699,198,nhL),nTv.Ob=function(){return Gf(this)},nTv.Pb=function(){return Hg(this)},nTv.e=1,AY(nhD,"AbstractIterator",699),nrr(1986,1,{224:1}),nTv.Zb=function(){return this.f||(this.f=this.ac())},nTv.Fb=function(n){return X$(this,n)},nTv.Hb=function(){return Xg(this.Zb())},nTv.dc=function(){return 0==this.gc()},nTv.ec=function(){return ON(this)},nTv.Ib=function(){return V7(this.Zb())},AY(nhD,"AbstractMultimap",1986),nrr(726,1986,nhR),nTv.$b=function(){qX(this)},nTv._b=function(n){return this.c._b(n)},nTv.ac=function(){return new vb(this,this.c)},nTv.ic=function(n){return this.hc()},nTv.bc=function(){return new TS(this,this.c)},nTv.jc=function(){return this.mc(this.hc())},nTv.kc=function(){return new dx(this)},nTv.lc=function(){return ntb(this.c.vc().Nc(),new a,64,this.d)},nTv.cc=function(n){return Fl(this,n)},nTv.fc=function(n){return Wv(this,n)},nTv.gc=function(){return this.d},nTv.mc=function(n){return NV(),new hW(n)},nTv.nc=function(){return new dD(this)},nTv.oc=function(){return ntb(this.c.Cc().Nc(),new c,64,this.d)},nTv.pc=function(n,t){return new FH(this,n,t,null)},nTv.d=0,AY(nhD,"AbstractMapBasedMultimap",726),nrr(1631,726,nhR),nTv.hc=function(){return new Fq(this.a)},nTv.jc=function(){return NV(),NV(),nMp},nTv.cc=function(n){return Im(Fl(this,n),15)},nTv.fc=function(n){return Im(Wv(this,n),15)},nTv.Zb=function(){return NY(this)},nTv.Fb=function(n){return X$(this,n)},nTv.qc=function(n){return Im(Fl(this,n),15)},nTv.rc=function(n){return Im(Wv(this,n),15)},nTv.mc=function(n){return Lt(Im(n,15))},nTv.pc=function(n,t){return Rk(this,n,Im(t,15),null)},AY(nhD,"AbstractListMultimap",1631),nrr(732,1,nhK),nTv.Nb=function(n){Ao(this,n)},nTv.Ob=function(){return this.c.Ob()||this.e.Ob()},nTv.Pb=function(){var n;return this.e.Ob()||(n=Im(this.c.Pb(),42),this.b=n.cd(),this.a=Im(n.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},nTv.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},AY(nhD,"AbstractMapBasedMultimap/Itr",732),nrr(1099,732,nhK,dD),nTv.sc=function(n,t){return t},AY(nhD,"AbstractMapBasedMultimap/1",1099),nrr(1100,1,{},c),nTv.Kb=function(n){return Im(n,14).Nc()},AY(nhD,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),nrr(1101,732,nhK,dx),nTv.sc=function(n,t){return new vw(n,t)},AY(nhD,"AbstractMapBasedMultimap/2",1101);var nEV=Cw(nhF,"Map");nrr(1967,1,nh_),nTv.wc=function(n){zS(this,n)},nTv.yc=function(n,t,e){return VD(this,n,t,e)},nTv.$b=function(){this.vc().$b()},nTv.tc=function(n){return Y4(this,n)},nTv._b=function(n){return!!nnJ(this,n,!1)},nTv.uc=function(n){var t,e;for(t=this.vc().Kc();t.Ob();)if(e=Im(t.Pb(),42).dd(),jf(n)===jf(e)||null!=n&&WY(n,e))return!0;return!1},nTv.Fb=function(n){var t,e,i;if(n===this)return!0;if(!Ti(n,83)||(i=Im(n,83),this.gc()!=i.gc()))return!1;for(e=i.vc().Kc();e.Ob();)if(t=Im(e.Pb(),42),!this.tc(t))return!1;return!0},nTv.xc=function(n){return jh(nnJ(this,n,!1))},nTv.Hb=function(){return UO(this.vc())},nTv.dc=function(){return 0==this.gc()},nTv.ec=function(){return new hL(this)},nTv.zc=function(n,t){throw new gM("Put not supported on this map").e},nTv.Ac=function(n){zc(this,n)},nTv.Bc=function(n){return jh(nnJ(this,n,!0))},nTv.gc=function(){return this.vc().gc()},nTv.Ib=function(){return nn3(this)},nTv.Cc=function(){return new hx(this)},AY(nhF,"AbstractMap",1967),nrr(1987,1967,nh_),nTv.bc=function(){return new vj(this)},nTv.vc=function(){return O$(this)},nTv.ec=function(){return this.g||(this.g=this.bc())},nTv.Cc=function(){return this.i||(this.i=new vE(this))},AY(nhD,"Maps/ViewCachingAbstractMap",1987),nrr(389,1987,nh_,vb),nTv.xc=function(n){var t;return(t=Im(WK(this.d,n),14))?this.e.pc(n,t):null},nTv.Bc=function(n){var t,e;return(t=Im(this.d.Bc(n),14))?((e=this.e.hc()).Gc(t),this.e.d-=t.gc(),t.$b(),e):null},nTv.$b=function(){this.d==this.e.c?this.e.$b():CM(new CS(this))},nTv._b=function(n){return W_(this.d,n)},nTv.Ec=function(){return new s6(this)},nTv.Dc=function(){return this.Ec()},nTv.Fb=function(n){return this===n||WY(this.d,n)},nTv.Hb=function(){return Xg(this.d)},nTv.ec=function(){return this.e.ec()},nTv.gc=function(){return this.d.gc()},nTv.Ib=function(){return V7(this.d)},AY(nhD,"AbstractMapBasedMultimap/AsMap",389);var nEQ=Cw(nhM,"Iterable");nrr(28,1,nhH),nTv.Jc=function(n){KA(this,n)},nTv.Lc=function(){return this.Oc()},nTv.Nc=function(){return new D6(this,0)},nTv.Oc=function(){return new CN(null,this.Nc())},nTv.Fc=function(n){throw new gM("Add not supported on this collection").e},nTv.Gc=function(n){return Gz(this,n)},nTv.$b=function(){No(this)},nTv.Hc=function(n){return Qg(this,n,!1)},nTv.Ic=function(n){return Ur(this,n)},nTv.dc=function(){return 0==this.gc()},nTv.Mc=function(n){return Qg(this,n,!0)},nTv.Pc=function(){return Oj(this)},nTv.Qc=function(n){return Y3(this,n)},nTv.Ib=function(){return ntK(this)},AY(nhF,"AbstractCollection",28);var nEJ=Cw(nhF,"Set");nrr(1965,28,nhB),nTv.Nc=function(){return new D6(this,1)},nTv.Fb=function(n){return Jb(this,n)},nTv.Hb=function(){return UO(this)},AY(nhF,"AbstractSet",1965),nrr(1970,1965,nhB),AY(nhD,"Sets/ImprovedAbstractSet",1970),nrr(1971,1970,nhB),nTv.$b=function(){this.Rc().$b()},nTv.Hc=function(n){return QK(this,n)},nTv.dc=function(){return this.Rc().dc()},nTv.Mc=function(n){var t;return!!this.Hc(n)&&(t=Im(n,42),this.Rc().ec().Mc(t.cd()))},nTv.gc=function(){return this.Rc().gc()},AY(nhD,"Maps/EntrySet",1971),nrr(1097,1971,nhB,s6),nTv.Hc=function(n){return WF(this.a.d.vc(),n)},nTv.Kc=function(){return new CS(this.a)},nTv.Rc=function(){return this.a},nTv.Mc=function(n){var t,e,i,r,c;return!!WF(this.a.d.vc(),n)&&(t=Im(n,42),e=this.a.e,i=t.cd(),(r=Im(function(n,t){A1(n);try{return n.Bc(t)}catch(n){if(Ti(n=Uu(n),205)||Ti(n,173))return null;throw n.e}}(e.c,i),14))&&(c=r.gc(),r.$b(),e.d-=c),!0)},nTv.Nc=function(){return Ip(this.a.d.vc().Nc(),new s8(this.a))},AY(nhD,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),nrr(1098,1,{},s8),nTv.Kb=function(n){return K$(this.a,Im(n,42))},AY(nhD,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),nrr(730,1,nhK,CS),nTv.Nb=function(n){Ao(this,n)},nTv.Pb=function(){var n;return n=Im(this.b.Pb(),42),this.a=Im(n.dd(),14),K$(this.c,n)},nTv.Ob=function(){return this.b.Ob()},nTv.Qb=function(){zL(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},AY(nhD,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),nrr(532,1970,nhB,vj),nTv.$b=function(){this.b.$b()},nTv.Hc=function(n){return this.b._b(n)},nTv.Jc=function(n){A1(n),this.b.wc(new hk(n))},nTv.dc=function(){return this.b.dc()},nTv.Kc=function(){return new d6(this.b.vc().Kc())},nTv.Mc=function(n){return!!this.b._b(n)&&(this.b.Bc(n),!0)},nTv.gc=function(){return this.b.gc()},AY(nhD,"Maps/KeySet",532),nrr(318,532,nhB,TS),nTv.$b=function(){CM(new p9(this,this.b.vc().Kc()))},nTv.Ic=function(n){return this.b.ec().Ic(n)},nTv.Fb=function(n){return this===n||WY(this.b.ec(),n)},nTv.Hb=function(){return Xg(this.b.ec())},nTv.Kc=function(){return new p9(this,this.b.vc().Kc())},nTv.Mc=function(n){var t,e;return e=0,(t=Im(this.b.Bc(n),14))&&(e=t.gc(),t.$b(),this.a.d-=e),e>0},nTv.Nc=function(){return this.b.ec().Nc()},AY(nhD,"AbstractMapBasedMultimap/KeySet",318),nrr(731,1,nhK,p9),nTv.Nb=function(n){Ao(this,n)},nTv.Ob=function(){return this.c.Ob()},nTv.Pb=function(){return this.a=Im(this.c.Pb(),42),this.a.cd()},nTv.Qb=function(){var n;zL(!!this.a),n=Im(this.a.dd(),14),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},AY(nhD,"AbstractMapBasedMultimap/KeySet/1",731),nrr(491,389,{83:1,161:1},Sl),nTv.bc=function(){return this.Sc()},nTv.ec=function(){return this.Tc()},nTv.Sc=function(){return new p6(this.c,this.Uc())},nTv.Tc=function(){return this.b||(this.b=this.Sc())},nTv.Uc=function(){return Im(this.d,161)},AY(nhD,"AbstractMapBasedMultimap/SortedAsMap",491),nrr(542,491,nhq,Sb),nTv.bc=function(){return new p8(this.a,Im(Im(this.d,161),171))},nTv.Sc=function(){return new p8(this.a,Im(Im(this.d,161),171))},nTv.ec=function(){return Im(this.b||(this.b=new p8(this.a,Im(Im(this.d,161),171))),271)},nTv.Tc=function(){return Im(this.b||(this.b=new p8(this.a,Im(Im(this.d,161),171))),271)},nTv.Uc=function(){return Im(Im(this.d,161),171)},AY(nhD,"AbstractMapBasedMultimap/NavigableAsMap",542),nrr(490,318,nhG,p6),nTv.Nc=function(){return this.b.ec().Nc()},AY(nhD,"AbstractMapBasedMultimap/SortedKeySet",490),nrr(388,490,nhz,p8),AY(nhD,"AbstractMapBasedMultimap/NavigableKeySet",388),nrr(541,28,nhH,FH),nTv.Fc=function(n){var t,e;return Qe(this),e=this.d.dc(),(t=this.d.Fc(n))&&(++this.f.d,e&&SG(this)),t},nTv.Gc=function(n){var t,e,i;return!n.dc()&&(Qe(this),i=this.d.gc(),(t=this.d.Gc(n))&&(e=this.d.gc(),this.f.d+=e-i,0==i&&SG(this)),t)},nTv.$b=function(){var n;Qe(this),0!=(n=this.d.gc())&&(this.d.$b(),this.f.d-=n,Oe(this))},nTv.Hc=function(n){return Qe(this),this.d.Hc(n)},nTv.Ic=function(n){return Qe(this),this.d.Ic(n)},nTv.Fb=function(n){return n===this||(Qe(this),WY(this.d,n))},nTv.Hb=function(){return Qe(this),Xg(this.d)},nTv.Kc=function(){return Qe(this),new IM(this)},nTv.Mc=function(n){var t;return Qe(this),(t=this.d.Mc(n))&&(--this.f.d,Oe(this)),t},nTv.gc=function(){return jy(this)},nTv.Nc=function(){return Qe(this),this.d.Nc()},nTv.Ib=function(){return Qe(this),V7(this.d)},AY(nhD,"AbstractMapBasedMultimap/WrappedCollection",541);var nEY=Cw(nhF,"List");nrr(728,541,{20:1,28:1,14:1,15:1},OS),nTv.ad=function(n){GG(this,n)},nTv.Nc=function(){return Qe(this),this.d.Nc()},nTv.Vc=function(n,t){var e;Qe(this),e=this.d.dc(),Im(this.d,15).Vc(n,t),++this.a.d,e&&SG(this)},nTv.Wc=function(n,t){var e,i,r;return!t.dc()&&(Qe(this),r=this.d.gc(),(e=Im(this.d,15).Wc(n,t))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&SG(this)),e)},nTv.Xb=function(n){return Qe(this),Im(this.d,15).Xb(n)},nTv.Xc=function(n){return Qe(this),Im(this.d,15).Xc(n)},nTv.Yc=function(){return Qe(this),new ER(this)},nTv.Zc=function(n){return Qe(this),new NF(this,n)},nTv.$c=function(n){var t;return Qe(this),t=Im(this.d,15).$c(n),--this.a.d,Oe(this),t},nTv._c=function(n,t){return Qe(this),Im(this.d,15)._c(n,t)},nTv.bd=function(n,t){return Qe(this),Rk(this.a,this.e,Im(this.d,15).bd(n,t),this.b?this.b:this)},AY(nhD,"AbstractMapBasedMultimap/WrappedList",728),nrr(1096,728,{20:1,28:1,14:1,15:1,54:1},MH),AY(nhD,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),nrr(620,1,nhK,IM),nTv.Nb=function(n){Ao(this,n)},nTv.Ob=function(){return Ns(this),this.b.Ob()},nTv.Pb=function(){return Ns(this),this.b.Pb()},nTv.Qb=function(){TF(this)},AY(nhD,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),nrr(729,620,nhU,ER,NF),nTv.Qb=function(){TF(this)},nTv.Rb=function(n){var t;t=0==jy(this.a),(Ns(this),Im(this.b,125)).Rb(n),++this.a.a.d,t&&SG(this.a)},nTv.Sb=function(){return(Ns(this),Im(this.b,125)).Sb()},nTv.Tb=function(){return(Ns(this),Im(this.b,125)).Tb()},nTv.Ub=function(){return(Ns(this),Im(this.b,125)).Ub()},nTv.Vb=function(){return(Ns(this),Im(this.b,125)).Vb()},nTv.Wb=function(n){(Ns(this),Im(this.b,125)).Wb(n)},AY(nhD,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),nrr(727,541,nhG,Sv),nTv.Nc=function(){return Qe(this),this.d.Nc()},AY(nhD,"AbstractMapBasedMultimap/WrappedSortedSet",727),nrr(1095,727,nhz,Eg),AY(nhD,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),nrr(1094,541,nhB,Sm),nTv.Nc=function(){return Qe(this),this.d.Nc()},AY(nhD,"AbstractMapBasedMultimap/WrappedSet",1094),nrr(1103,1,{},a),nTv.Kb=function(n){var t,e;return e=(t=Im(n,42)).cd(),Ip(Im(t.dd(),14).Nc(),new s9(e))},AY(nhD,"AbstractMapBasedMultimap/lambda$1$Type",1103),nrr(1102,1,{},s9),nTv.Kb=function(n){return new vw(this.a,n)},AY(nhD,"AbstractMapBasedMultimap/lambda$2$Type",1102);var nEZ=Cw(nhF,"Map/Entry");nrr(345,1,nhX),nTv.Fb=function(n){var t;return!!Ti(n,42)&&(t=Im(n,42),$A(this.cd(),t.cd())&&$A(this.dd(),t.dd()))},nTv.Hb=function(){var n,t;return n=this.cd(),t=this.dd(),(null==n?0:Xg(n))^(null==t?0:Xg(t))},nTv.ed=function(n){throw(new wP).e},nTv.Ib=function(){return this.cd()+"="+this.dd()},AY(nhD,nhW,345),nrr(1988,28,nhH),nTv.$b=function(){this.fd().$b()},nTv.Hc=function(n){var t,e,i,r,c;return!!Ti(n,42)&&(t=Im(n,42),e=this.fd(),i=t.cd(),r=t.dd(),!!(c=Im(e.Zb().xc(i),14))&&c.Hc(r))},nTv.Mc=function(n){var t;return!!Ti(n,42)&&(t=Im(n,42),xD(this.fd(),t.cd(),t.dd()))},nTv.gc=function(){return this.fd().d},AY(nhD,"Multimaps/Entries",1988),nrr(733,1988,nhH,s7),nTv.Kc=function(){return this.a.kc()},nTv.fd=function(){return this.a},nTv.Nc=function(){return this.a.lc()},AY(nhD,"AbstractMultimap/Entries",733),nrr(734,733,nhB,dR),nTv.Nc=function(){return this.a.lc()},nTv.Fb=function(n){return ner(this,n)},nTv.Hb=function(){return GU(this)},AY(nhD,"AbstractMultimap/EntrySet",734),nrr(735,28,nhH,hn),nTv.$b=function(){this.a.$b()},nTv.Hc=function(n){return function(n,t){var e;for(e=n.Zb().Cc().Kc();e.Ob();)if(Im(e.Pb(),14).Hc(t))return!0;return!1}(this.a,n)},nTv.Kc=function(){return this.a.nc()},nTv.gc=function(){return this.a.d},nTv.Nc=function(){return this.a.oc()},AY(nhD,"AbstractMultimap/Values",735),nrr(1989,28,{835:1,20:1,28:1,14:1}),nTv.Jc=function(n){A1(n),Nu(this).Jc(new hy(n))},nTv.Nc=function(){var n;return ntb(n=Nu(this).Nc(),new m,64|1296&n.qd(),this.a.d)},nTv.Fc=function(n){return gK(),!0},nTv.Gc=function(n){var t;return A1(this),A1(n),Ti(n,543)?!Nu(t=Im(n,835)).dc()&&(A1(new v),Nu(t).Jc(new l),!0):!n.dc()&&HU(this,n.Kc())},nTv.Hc=function(n){var t;return((t=Im(WK(NY(this.a),n),14))?t.gc():0)>0},nTv.Fb=function(n){return function(n,t){var e,i,r;if(t===n)return!0;if(Ti(t,543)){if(r=Im(t,835),n.a.d!=r.a.d||Nu(n).gc()!=Nu(r).gc())return!1;for(i=Nu(r).Kc();i.Ob();)if(DY(n,(e=Im(i.Pb(),416)).a.cd())!=Im(e.a.dd(),14).gc())return!1;return!0}return!1}(this,n)},nTv.Hb=function(){return Xg(Nu(this))},nTv.dc=function(){return Nu(this).dc()},nTv.Mc=function(n){return nib(this,n,1)>0},nTv.Ib=function(){return V7(Nu(this))},AY(nhD,"AbstractMultiset",1989),nrr(1991,1970,nhB),nTv.$b=function(){qX(this.a.a)},nTv.Hc=function(n){var t;return!!Ti(n,492)&&(t=Im(n,416),!(0>=Im(t.a.dd(),14).gc())&&DY(this.a,t.a.cd())==Im(t.a.dd(),14).gc())},nTv.Mc=function(n){var t,e,i,r,c,a,u,o,s;return!!Ti(n,492)&&(t=(e=Im(n,416)).a.cd(),0!=(i=Im(e.a.dd(),14).gc()))&&(r=this.a,c=t,qz(a=i,"oldCount"),qz(0,"newCount"),((u=Im(WK(NY(r.a),c),14))?u.gc():0)==a&&(qz(0,"count"),(s=-((o=Im(WK(NY(r.a),c),14))?o.gc():0))>0?gK():s<0&&nib(r,c,-s),!0))},AY(nhD,"Multisets/EntrySet",1991),nrr(1109,1991,nhB,ht),nTv.Kc=function(){return new d9(O$(NY(this.a.a)).Kc())},nTv.gc=function(){return NY(this.a.a).gc()},AY(nhD,"AbstractMultiset/EntrySet",1109),nrr(619,726,nhR),nTv.hc=function(){return this.gd()},nTv.jc=function(){return this.hd()},nTv.cc=function(n){return this.jd(n)},nTv.fc=function(n){return this.kd(n)},nTv.Zb=function(){return this.f||(this.f=this.ac())},nTv.hd=function(){return NV(),NV(),nMm},nTv.Fb=function(n){return X$(this,n)},nTv.jd=function(n){return Im(Fl(this,n),21)},nTv.kd=function(n){return Im(Wv(this,n),21)},nTv.mc=function(n){return NV(),new gQ(Im(n,21))},nTv.pc=function(n,t){return new Sm(this,n,Im(t,21))},AY(nhD,"AbstractSetMultimap",619),nrr(1657,619,nhR),nTv.hc=function(){return new pI(this.b)},nTv.gd=function(){return new pI(this.b)},nTv.jc=function(){return A9(new pI(this.b))},nTv.hd=function(){return A9(new pI(this.b))},nTv.cc=function(n){return Im(Im(Fl(this,n),21),84)},nTv.jd=function(n){return Im(Im(Fl(this,n),21),84)},nTv.fc=function(n){return Im(Im(Wv(this,n),21),84)},nTv.kd=function(n){return Im(Im(Wv(this,n),21),84)},nTv.mc=function(n){return Ti(n,271)?A9(Im(n,271)):(NV(),new TY(Im(n,84)))},nTv.Zb=function(){return this.f||(this.f=Ti(this.c,171)?new Sb(this,Im(this.c,171)):Ti(this.c,161)?new Sl(this,Im(this.c,161)):new vb(this,this.c))},nTv.pc=function(n,t){return Ti(t,271)?new Eg(this,n,Im(t,271)):new Sv(this,n,Im(t,84))},AY(nhD,"AbstractSortedSetMultimap",1657),nrr(1658,1657,nhR),nTv.Zb=function(){return Im(Im(this.f||(this.f=Ti(this.c,171)?new Sb(this,Im(this.c,171)):Ti(this.c,161)?new Sl(this,Im(this.c,161)):new vb(this,this.c)),161),171)},nTv.ec=function(){return Im(Im(this.i||(this.i=Ti(this.c,171)?new p8(this,Im(this.c,171)):Ti(this.c,161)?new p6(this,Im(this.c,161)):new TS(this,this.c)),84),271)},nTv.bc=function(){return Ti(this.c,171)?new p8(this,Im(this.c,171)):Ti(this.c,161)?new p6(this,Im(this.c,161)):new TS(this,this.c)},AY(nhD,"AbstractSortedKeySortedSetMultimap",1658),nrr(2010,1,{1947:1}),nTv.Fb=function(n){var t;return n===this||!!Ti(n,664)&&(t=Im(n,1947),Jb(this.g||(this.g=new he(this)),t.g||(t.g=new he(t))))},nTv.Hb=function(){return UO(this.g||(this.g=new he(this)))},nTv.Ib=function(){return nn3(this.f||(this.f=new TO(this)))},AY(nhD,"AbstractTable",2010),nrr(665,1965,nhB,he),nTv.$b=function(){gF()},nTv.Hc=function(n){var t,e;return!!Ti(n,468)&&(t=Im(n,682),!!(e=Im(WK(A2(this.a),jd(t.c.e,t.b)),83))&&WF(e.vc(),new vw(jd(t.c.c,t.a),FF(t.c,t.b,t.a))))},nTv.Kc=function(){var n;return new TP(n=this.a,n.e.Hd().gc()*n.c.Hd().gc())},nTv.Mc=function(n){var t,e;return!!Ti(n,468)&&(t=Im(n,682),!!(e=Im(WK(A2(this.a),jd(t.c.e,t.b)),83))&&function(n,t){A1(n);try{return n.Mc(t)}catch(n){if(Ti(n=Uu(n),205)||Ti(n,173))return!1;throw n.e}}(e.vc(),new vw(jd(t.c.c,t.a),FF(t.c,t.b,t.a))))},nTv.gc=function(){return CR(this.a)},nTv.Nc=function(){var n;return Cp((n=this.a).e.Hd().gc()*n.c.Hd().gc(),273,new s3(n))},AY(nhD,"AbstractTable/CellSet",665),nrr(1928,28,nhH,hi),nTv.$b=function(){gF()},nTv.Hc=function(n){return function(n,t){var e,i,r,c,a,u,o;for(a=n.a,u=0,o=a.length;u0?n:t),WM(e=this.b,0)>0?e:0},nTv.Nb=function(n){this.d&&(this.d.Nb(n),this.d=null),this.c.Nb(new p7(this.e,n)),this.b=0},nTv.sd=function(n){for(;;){if(this.d&&this.d.sd(n))return jv(this.b,nh1)&&(this.b=VR(this.b,1)),!0;if(this.d=null,!this.c.sd(new ve(this,this.e)))return!1}},nTv.a=0,nTv.b=0,AY(nhD,"CollectSpliterators/1FlatMapSpliterator",1123),nrr(1124,1,nhZ,ve),nTv.td=function(n){var t,e;t=this.a,e=this.b,t.d=Im(e.Kb(n),164)},AY(nhD,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),nrr(1125,1,nhZ,p7),nTv.td=function(n){!function(n,t,e){Im(n.Kb(e),164).Nb(t)}(this.b,this.a,n)},AY(nhD,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),nrr(1117,1,nhY,Pw),nTv.qd=function(){return 16464|this.b},nTv.rd=function(){return this.a.rd()},nTv.Nb=function(n){this.a.xe(new vr(n,this.c))},nTv.sd=function(n){return this.a.ye(new vi(n,this.c))},nTv.b=0,AY(nhD,"CollectSpliterators/1WithCharacteristics",1117),nrr(1118,1,nh0,vi),nTv.ud=function(n){this.a.td(this.b.ld(n))},AY(nhD,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),nrr(1119,1,nh0,vr),nTv.ud=function(n){this.a.td(this.b.ld(n))},AY(nhD,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),nrr(245,1,nh2),nTv.wd=function(n){return this.vd(Im(n,245))},nTv.vd=function(n){var t;return n==(dV(),nTS)?1:n==(dQ(),nTM)?-1:(Ca(),0!=(t=zs(this.a,n.a)))?t:Ti(this,519)==Ti(n,519)?0:Ti(this,519)?1:-1},nTv.zd=function(){return this.a},nTv.Fb=function(n){return Q9(this,n)},AY(nhD,"Cut",245),nrr(1761,245,nh2,gZ),nTv.vd=function(n){return n==this?0:1},nTv.xd=function(n){throw(new wy).e},nTv.yd=function(n){n.a+="+∞)"},nTv.zd=function(){throw new gg(nh3).e},nTv.Hb=function(){return vI(),Ys(this)},nTv.Ad=function(n){return!1},nTv.Ib=function(){return"+∞"},AY(nhD,"Cut/AboveAll",1761),nrr(519,245,{245:1,519:1,3:1,35:1},T_),nTv.xd=function(n){jS((n.a+="(",n),this.a)},nTv.yd=function(n){$r(jS(n,this.a),93)},nTv.Hb=function(){return~Xg(this.a)},nTv.Ad=function(n){return Ca(),0>zs(this.a,n)},nTv.Ib=function(){return"/"+this.a+"\\"},AY(nhD,"Cut/AboveValue",519),nrr(1760,245,nh2,g1),nTv.vd=function(n){return n==this?0:-1},nTv.xd=function(n){n.a+="(-∞"},nTv.yd=function(n){throw(new wy).e},nTv.zd=function(){throw new gg(nh3).e},nTv.Hb=function(){return vI(),Ys(this)},nTv.Ad=function(n){return!0},nTv.Ib=function(){return"-∞"},AY(nhD,"Cut/BelowAll",1760),nrr(1762,245,nh2,TH),nTv.xd=function(n){jS((n.a+="[",n),this.a)},nTv.yd=function(n){$r(jS(n,this.a),41)},nTv.Hb=function(){return Xg(this.a)},nTv.Ad=function(n){return Ca(),0>=zs(this.a,n)},nTv.Ib=function(){return"\\"+this.a+"/"},AY(nhD,"Cut/BelowValue",1762),nrr(537,1,nh4),nTv.Jc=function(n){KA(this,n)},nTv.Ib=function(){return function(n){var t,e;for(e=$r(new gX,91),t=!0;n.Ob();)t||(e.a+=nhI),t=!1,jS(e,n.Pb());return(e.a+="]",e).a}(Im(N4(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},AY(nhD,"FluentIterable",537),nrr(433,537,nh4,jG),nTv.Kc=function(){return new OM(Tx(this.a.Kc(),new s))},AY(nhD,"FluentIterable/2",433),nrr(1046,537,nh4,jz),nTv.Kc=function(){return AS(this)},AY(nhD,"FluentIterable/3",1046),nrr(708,386,nhx,T$),nTv.Xb=function(n){return this.a[n].Kc()},AY(nhD,"FluentIterable/3/1",708),nrr(1972,1,{}),nTv.Ib=function(){return V7(this.Bd().b)},AY(nhD,"ForwardingObject",1972),nrr(1973,1972,nh5),nTv.Bd=function(){return this.Cd()},nTv.Jc=function(n){KA(this,n)},nTv.Lc=function(){return this.Oc()},nTv.Nc=function(){return new D6(this,0)},nTv.Oc=function(){return new CN(null,this.Nc())},nTv.Fc=function(n){return this.Cd(),pk()},nTv.Gc=function(n){return this.Cd(),pj()},nTv.$b=function(){this.Cd(),pE()},nTv.Hc=function(n){return this.Cd().Hc(n)},nTv.Ic=function(n){return this.Cd().Ic(n)},nTv.dc=function(){return this.Cd().b.dc()},nTv.Kc=function(){return this.Cd().Kc()},nTv.Mc=function(n){return this.Cd(),pT()},nTv.gc=function(){return this.Cd().b.gc()},nTv.Pc=function(){return this.Cd().Pc()},nTv.Qc=function(n){return this.Cd().Qc(n)},AY(nhD,"ForwardingCollection",1973),nrr(1980,28,nh6),nTv.Kc=function(){return this.Ed()},nTv.Fc=function(n){throw(new wP).e},nTv.Gc=function(n){throw(new wP).e},nTv.$b=function(){throw(new wP).e},nTv.Hc=function(n){return null!=n&&Qg(this,n,!1)},nTv.Dd=function(){switch(this.gc()){case 0:return $w(),$w(),nTP;case 1:return $w(),new CT(A1(this.Ed().Pb()));default:return new Ar(this,this.Pc())}},nTv.Mc=function(n){throw(new wP).e},AY(nhD,"ImmutableCollection",1980),nrr(712,1980,nh6,wd),nTv.Kc=function(){return _B(this.a.Kc())},nTv.Hc=function(n){return null!=n&&this.a.Hc(n)},nTv.Ic=function(n){return this.a.Ic(n)},nTv.dc=function(){return this.a.dc()},nTv.Ed=function(){return _B(this.a.Kc())},nTv.gc=function(){return this.a.gc()},nTv.Pc=function(){return this.a.Pc()},nTv.Qc=function(n){return this.a.Qc(n)},nTv.Ib=function(){return V7(this.a)},AY(nhD,"ForwardingImmutableCollection",712),nrr(152,1980,nh8),nTv.Kc=function(){return this.Ed()},nTv.Yc=function(){return this.Fd(0)},nTv.Zc=function(n){return this.Fd(n)},nTv.ad=function(n){GG(this,n)},nTv.Nc=function(){return new D6(this,16)},nTv.bd=function(n,t){return this.Gd(n,t)},nTv.Vc=function(n,t){throw(new wP).e},nTv.Wc=function(n,t){throw(new wP).e},nTv.Fb=function(n){return function(n,t){var e,i,r;if(jf(t)===jf(A1(n)))return!0;if(!Ti(t,15)||(i=Im(t,15),(r=n.gc())!=i.gc()))return!1;if(!Ti(i,54))return function(n,t){for(var e,i;n.Ob();)if(!t.Ob()||(e=n.Pb(),i=t.Pb(),!(jf(e)===jf(i)||null!=e&&WY(e,i))))return!1;return!t.Ob()}(n.Kc(),i.Kc());for(e=0;e(a=n.b.length)&&a=0?"+":"")+(e/60|0),t=j0(nTp.Math.abs(e)%60),(ntM(),nMT)[this.q.getDay()]+" "+nMM[this.q.getMonth()]+" "+j0(this.q.getDate())+" "+j0(this.q.getHours())+":"+j0(this.q.getMinutes())+":"+j0(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var nE7=AY(nhF,"Date",199);nrr(1915,199,nf0,nna),nTv.a=!1,nTv.b=0,nTv.c=0,nTv.d=0,nTv.e=0,nTv.f=0,nTv.g=!1,nTv.i=0,nTv.j=0,nTv.k=0,nTv.n=0,nTv.o=0,nTv.p=0,AY("com.google.gwt.i18n.shared.impl","DateRecord",1915),nrr(1966,1,{}),nTv.fe=function(){return null},nTv.ge=function(){return null},nTv.he=function(){return null},nTv.ie=function(){return null},nTv.je=function(){return null},AY(nf2,"JSONValue",1966),nrr(216,1966,{216:1},hA,hP),nTv.Fb=function(n){return!!Ti(n,216)&&xf(this.a,Im(n,216).a)},nTv.ee=function(){return wc},nTv.Hb=function(){return N7(this.a)},nTv.fe=function(){return this},nTv.Ib=function(){var n,t,e;for(t=0,e=new TV("["),n=this.a.length;t0&&(e.a+=","),jS(e,HQ(this,t));return e.a+="]",e.a},AY(nf2,"JSONArray",216),nrr(483,1966,{483:1},hI),nTv.ee=function(){return wa},nTv.ge=function(){return this},nTv.Ib=function(){return TX(),""+this.a},nTv.a=!1,AY(nf2,"JSONBoolean",483),nrr(985,60,nfv,gn),AY(nf2,"JSONException",985),nrr(1023,1966,{},p),nTv.ee=function(){return wf},nTv.Ib=function(){return nhN},AY(nf2,"JSONNull",1023),nrr(258,1966,{258:1},hC),nTv.Fb=function(n){return!!Ti(n,258)&&this.a==Im(n,258).a},nTv.ee=function(){return wu},nTv.Hb=function(){return j3(this.a)},nTv.he=function(){return this},nTv.Ib=function(){return this.a+""},nTv.a=0,AY(nf2,"JSONNumber",258),nrr(183,1966,{183:1},gt,hO),nTv.Fb=function(n){return!!Ti(n,183)&&xf(this.a,Im(n,183).a)},nTv.ee=function(){return wo},nTv.Hb=function(){return N7(this.a)},nTv.ie=function(){return this},nTv.Ib=function(){var n,t,e,i,r,c;for(e=0,c=new TV("{"),n=!0,i=(r=GI(this,_f(nTs,nhQ,2,0,6,1))).length;e=0?":"+this.c:"")+")"},nTv.c=0;var nTo=AY(nhM,"StackTraceElement",310);nTE={3:1,475:1,35:1,2:1};var nTs=AY(nhM,nfy,2);nrr(107,418,{475:1},gz,gU,TW),AY(nhM,"StringBuffer",107),nrr(100,418,{475:1},gX,gW,TV),AY(nhM,"StringBuilder",100),nrr(687,73,nlt,gV),AY(nhM,"StringIndexOutOfBoundsException",687),nrr(2043,1,{}),nrr(844,1,{},L),nTv.Kb=function(n){return Im(n,78).e},AY(nhM,"Throwable/lambda$0$Type",844),nrr(41,60,{3:1,102:1,60:1,78:1,41:1},wP,gM),AY(nhM,"UnsupportedOperationException",41),nrr(240,236,{3:1,35:1,236:1,240:1},H1,pP),nTv.wd=function(n){return nup(this,Im(n,240))},nTv.ke=function(){return nt1(nox(this))},nTv.Fb=function(n){var t;return this===n||!!Ti(n,240)&&(t=Im(n,240),this.e==t.e&&0==nup(this,t))},nTv.Hb=function(){var n;return 0!=this.b||(this.a<54?(n=zD(this.f),this.b=CZ(xi(n,-1)),this.b=33*this.b+CZ(xi(OK(n,32),-1)),this.b=17*this.b+LU(this.e)):this.b=17*Wk(this.c)+LU(this.e)),this.b},nTv.Ib=function(){return nox(this)},nTv.a=0,nTv.b=0,nTv.d=0,nTv.e=0,nTv.f=0;var nTh=AY("java.math","BigDecimal",240);nrr(91,236,{3:1,35:1,236:1,91:1},Yn,F_,As,nnH,JT,Ep),nTv.wd=function(n){return Jf(this,Im(n,91))},nTv.ke=function(){return nt1(ns9(this,0))},nTv.Fb=function(n){return Qf(this,n)},nTv.Hb=function(){return Wk(this)},nTv.Ib=function(){return ns9(this,0)},nTv.b=-2,nTv.c=0,nTv.d=0,nTv.e=0;var nTf=AY("java.math","BigInteger",91);nrr(488,1967,nh_),nTv.$b=function(){AT(this)},nTv._b=function(n){return Au(this,n)},nTv.uc=function(n){return XF(this,n,this.g)||XF(this,n,this.f)},nTv.vc=function(){return new hN(this)},nTv.xc=function(n){return $a(this,n)},nTv.zc=function(n,t){return $J(this,n,t)},nTv.Bc=function(n){return Fv(this,n)},nTv.gc=function(){return vO(this)},AY(nhF,"AbstractHashMap",488),nrr(261,1965,nhB,hN),nTv.$b=function(){this.a.$b()},nTv.Hc=function(n){return x5(this,n)},nTv.Kc=function(){return new XE(this.a)},nTv.Mc=function(n){var t;return!!x5(this,n)&&(t=Im(n,42).cd(),this.a.Bc(t),!0)},nTv.gc=function(){return this.a.gc()},AY(nhF,"AbstractHashMap/EntrySet",261),nrr(262,1,nhK,XE),nTv.Nb=function(n){Ao(this,n)},nTv.Pb=function(){return BQ(this)},nTv.Ob=function(){return this.b},nTv.Qb=function(){_T(this)},nTv.b=!1,AY(nhF,"AbstractHashMap/EntrySetIterator",262),nrr(417,1,nhK,h$),nTv.Nb=function(n){Ao(this,n)},nTv.Ob=function(){return mE(this)},nTv.Pb=function(){return NB(this)},nTv.Qb=function(){$I(this)},nTv.b=0,nTv.c=-1,AY(nhF,"AbstractList/IteratorImpl",417),nrr(96,417,nhU,Rn),nTv.Qb=function(){$I(this)},nTv.Rb=function(n){SB(this,n)},nTv.Sb=function(){return this.b>0},nTv.Tb=function(){return this.b},nTv.Ub=function(){return MK(this.b>0),this.a.Xb(this.c=--this.b)},nTv.Vb=function(){return this.b-1},nTv.Wb=function(n){MR(-1!=this.c),this.a._c(this.c,n)},AY(nhF,"AbstractList/ListIteratorImpl",96),nrr(219,52,nfh,D2),nTv.Vc=function(n,t){DC(n,this.b),this.c.Vc(this.a+n,t),++this.b},nTv.Xb=function(n){return D4(n,this.b),this.c.Xb(this.a+n)},nTv.$c=function(n){var t;return D4(n,this.b),t=this.c.$c(this.a+n),--this.b,t},nTv._c=function(n,t){return D4(n,this.b),this.c._c(this.a+n,t)},nTv.gc=function(){return this.b},nTv.a=0,nTv.b=0,AY(nhF,"AbstractList/SubList",219),nrr(384,1965,nhB,hL),nTv.$b=function(){this.a.$b()},nTv.Hc=function(n){return this.a._b(n)},nTv.Kc=function(){return new hD(this.a.vc().Kc())},nTv.Mc=function(n){return!!this.a._b(n)&&(this.a.Bc(n),!0)},nTv.gc=function(){return this.a.gc()},AY(nhF,"AbstractMap/1",384),nrr(691,1,nhK,hD),nTv.Nb=function(n){Ao(this,n)},nTv.Ob=function(){return this.a.Ob()},nTv.Pb=function(){return Im(this.a.Pb(),42).cd()},nTv.Qb=function(){this.a.Qb()},AY(nhF,"AbstractMap/1/1",691),nrr(226,28,nhH,hx),nTv.$b=function(){this.a.$b()},nTv.Hc=function(n){return this.a.uc(n)},nTv.Kc=function(){return new hG(this.a.vc().Kc())},nTv.gc=function(){return this.a.gc()},AY(nhF,"AbstractMap/2",226),nrr(294,1,nhK,hG),nTv.Nb=function(n){Ao(this,n)},nTv.Ob=function(){return this.a.Ob()},nTv.Pb=function(){return Im(this.a.Pb(),42).dd()},nTv.Qb=function(){this.a.Qb()},AY(nhF,"AbstractMap/2/1",294),nrr(484,1,{484:1,42:1}),nTv.Fb=function(n){var t;return!!Ti(n,42)&&(t=Im(n,42),$5(this.d,t.cd())&&$5(this.e,t.dd()))},nTv.cd=function(){return this.d},nTv.dd=function(){return this.e},nTv.Hb=function(){return EE(this.d)^EE(this.e)},nTv.ed=function(n){return SH(this,n)},nTv.Ib=function(){return this.d+"="+this.e},AY(nhF,"AbstractMap/AbstractEntry",484),nrr(383,484,{484:1,383:1,42:1},mN),AY(nhF,"AbstractMap/SimpleEntry",383),nrr(1984,1,nlg),nTv.Fb=function(n){var t;return!!Ti(n,42)&&(t=Im(n,42),$5(this.cd(),t.cd())&&$5(this.dd(),t.dd()))},nTv.Hb=function(){return EE(this.cd())^EE(this.dd())},nTv.Ib=function(){return this.cd()+"="+this.dd()},AY(nhF,nhW,1984),nrr(1992,1967,nhq),nTv.tc=function(n){return K0(this,n)},nTv._b=function(n){return!!XS(this,n)},nTv.vc=function(){return new hX(this)},nTv.xc=function(n){return jh(XS(this,n))},nTv.ec=function(){return new hz(this)},AY(nhF,"AbstractNavigableMap",1992),nrr(739,1965,nhB,hX),nTv.Hc=function(n){return Ti(n,42)&&K0(this.b,Im(n,42))},nTv.Kc=function(){return new S5(this.b)},nTv.Mc=function(n){var t;return!!Ti(n,42)&&(t=Im(n,42),_m(this.b,t))},nTv.gc=function(){return this.b.c},AY(nhF,"AbstractNavigableMap/EntrySet",739),nrr(493,1965,nhz,hz),nTv.Nc=function(){return new mM(this)},nTv.$b=function(){gi(this.a)},nTv.Hc=function(n){return!!XS(this.a,n)},nTv.Kc=function(){return new hU(new S5(new Mc(this.a).b))},nTv.Mc=function(n){return!!XS(this.a,n)&&(LW(this.a,n),!0)},nTv.gc=function(){return this.a.c},AY(nhF,"AbstractNavigableMap/NavigableKeySet",493),nrr(494,1,nhK,hU),nTv.Nb=function(n){Ao(this,n)},nTv.Ob=function(){return mE(this.a.a)},nTv.Pb=function(){return MA(this.a).cd()},nTv.Qb=function(){PB(this.a)},AY(nhF,"AbstractNavigableMap/NavigableKeySet/1",494),nrr(2004,28,nhH),nTv.Fc=function(n){return _w(ntp(this,n)),!0},nTv.Gc=function(n){return $D(n),IH(n!=this,"Can't add a queue to itself"),Gz(this,n)},nTv.$b=function(){for(;null!=HY(this););},AY(nhF,"AbstractQueue",2004),nrr(302,28,{4:1,20:1,28:1,14:1},b7,D8),nTv.Fc=function(n){return RI(this,n),!0},nTv.$b=function(){RZ(this)},nTv.Hc=function(n){return Us(new Nn(this),n)},nTv.dc=function(){return gk(this)},nTv.Kc=function(){return new Nn(this)},nTv.Mc=function(n){var t;return!!Us(t=new Nn(this),n)&&(qD(t),!0)},nTv.gc=function(){return this.c-this.b&this.a.length-1},nTv.Nc=function(){return new D6(this,272)},nTv.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&$t(n,t,null),n},nTv.b=0,nTv.c=0,AY(nhF,"ArrayDeque",302),nrr(446,1,nhK,Nn),nTv.Nb=function(n){Ao(this,n)},nTv.Ob=function(){return this.a!=this.b},nTv.Pb=function(){return Wj(this)},nTv.Qb=function(){qD(this)},nTv.a=0,nTv.b=0,nTv.c=-1,AY(nhF,"ArrayDeque/IteratorImpl",446),nrr(12,52,nlp,wn,Fq,PH),nTv.Vc=function(n,t){C4(this,n,t)},nTv.Fc=function(n){return IE(this,n)},nTv.Wc=function(n,t){return X6(this,n,t)},nTv.Gc=function(n){return Uf(this,n)},nTv.$b=function(){this.c=_f(nEU,nhO,1,0,5,1)},nTv.Hc=function(n){return -1!=Hb(this,n,0)},nTv.Jc=function(n){BR(this,n)},nTv.Xb=function(n){return CA(this,n)},nTv.Xc=function(n){return Hb(this,n,0)},nTv.dc=function(){return 0==this.c.length},nTv.Kc=function(){return new h1(this)},nTv.$c=function(n){return Ff(this,n)},nTv.Mc=function(n){return Hh(this,n)},nTv.Ud=function(n,t){D3(this,n,t)},nTv._c=function(n,t){return KL(this,n,t)},nTv.gc=function(){return this.c.length},nTv.ad=function(n){E_(this,n)},nTv.Pc=function(){return MS(this)},nTv.Qc=function(n){return JD(this,n)};var nTl=AY(nhF,"ArrayList",12);nrr(7,1,nhK,h1),nTv.Nb=function(n){Ao(this,n)},nTv.Ob=function(){return EH(this)},nTv.Pb=function(){return xe(this)},nTv.Qb=function(){AE(this)},nTv.a=0,nTv.b=-1,AY(nhF,"ArrayList/1",7),nrr(2013,nTp.Function,{},E),nTv.te=function(n,t){return Vv(n,t)},nrr(154,52,nlv,gE),nTv.Hc=function(n){return -1!=qU(this,n)},nTv.Jc=function(n){var t,e,i,r;for($D(n),e=this.a,i=0,r=e.length;i=this.a.ue(n,t)?t:n},AY(nlL,"BinaryOperator/lambda$0$Type",966),nrr(967,1,{},ft),nTv.Ce=function(n,t){return 0>=this.a.ue(n,t)?n:t},AY(nlL,"BinaryOperator/lambda$1$Type",967),nrr(846,1,{},q),nTv.Kb=function(n){return n},AY(nlL,"Function/lambda$0$Type",846),nrr(431,1,nfb,fe),nTv.Mb=function(n){return!this.a.Mb(n)},AY(nlL,"Predicate/lambda$2$Type",431),nrr(572,1,{572:1});var nMK=AY(nlD,"Handler",572);nrr(2007,1,nhS),nTv.ne=function(){return"DUMMY"},nTv.Ib=function(){return this.ne()},AY(nlD,"Level",2007),nrr(1621,2007,nhS,z),nTv.ne=function(){return"INFO"},AY(nlD,"Level/LevelInfo",1621),nrr(1640,1,{},wH),AY(nlD,"LogManager",1640),nrr(1780,1,nhS,Pq),nTv.b=null,AY(nlD,"LogRecord",1780),nrr(512,1,{512:1},KG),nTv.e=!1;var nMF=!1,nM_=!1,nMH=!1,nMB=!1,nMq=!1;AY(nlD,"Logger",512),nrr(819,572,{572:1},U),AY(nlD,"SimpleConsoleLogHandler",819),nrr(132,22,{3:1,35:1,22:1,132:1},mI);var nMG=qE(nlK,"Collector/Characteristics",132,nE0,function(){return XW(),Um(Dg(nMG,1),nfs,132,0,[nM1,nM0,nM2])},function(n){return XW(),H5((FX(),nM3),n)});nrr(744,1,{},Ag),AY(nlK,"CollectorImpl",744),nrr(1060,1,{},X),nTv.Ce=function(n,t){var e,i,r;return e=Im(n,206),(i=Im(t,206)).a&&(r=i.a.a.length,e.a?jP(e.a,e.b):e.a=new TV(e.d),xx(e.a,i.a,i.d.length,r)),e},AY(nlK,"Collectors/10methodref$merge$Type",1060),nrr(1061,1,{},W),nTv.Kb=function(n){return x_(Im(n,206))},AY(nlK,"Collectors/11methodref$toString$Type",1061),nrr(1062,1,{},fi),nTv.Kb=function(n){return TX(),!!jK(n)},AY(nlK,"Collectors/12methodref$test$Type",1062),nrr(251,1,{},_),nTv.Od=function(n,t){Im(n,14).Fc(t)},AY(nlK,"Collectors/20methodref$add$Type",251),nrr(253,1,{},H),nTv.Ee=function(){return new wn},AY(nlK,"Collectors/21methodref$ctor$Type",253),nrr(346,1,{},V),nTv.Ee=function(){return new w_},AY(nlK,"Collectors/23methodref$ctor$Type",346),nrr(347,1,{},Q),nTv.Od=function(n,t){Av(Im(n,53),t)},AY(nlK,"Collectors/24methodref$add$Type",347),nrr(1055,1,{},J),nTv.Ce=function(n,t){var e,i;return e=Im(n,15),i=Im(t,14),e.Gc(i),e},AY(nlK,"Collectors/4methodref$addAll$Type",1055),nrr(1059,1,{},Y),nTv.Od=function(n,t){Fd(Im(n,206),Im(t,475))},AY(nlK,"Collectors/9methodref$add$Type",1059),nrr(1058,1,{},IS),nTv.Ee=function(){return new zV(this.a,this.b,this.c)},AY(nlK,"Collectors/lambda$15$Type",1058),nrr(1063,1,{},Z),nTv.Ee=function(){var n;return JR(n=new R7,(TX(),!1),new wn),JR(n,!0,new wn),n},AY(nlK,"Collectors/lambda$22$Type",1063),nrr(1064,1,{},fr),nTv.Ee=function(){return Um(Dg(nEU,1),nhO,1,5,[this.a])},AY(nlK,"Collectors/lambda$25$Type",1064),nrr(1065,1,{},fc),nTv.Od=function(n,t){var e;this.a,$t(e=BJ(n),0,CL(e[0],Jy(1)))},AY(nlK,"Collectors/lambda$26$Type",1065),nrr(1066,1,{},fa),nTv.Ce=function(n,t){var e,i;return this.a,e=BJ(n),i=BJ(t),$t(e,0,CL(e[0],i[0])),e},AY(nlK,"Collectors/lambda$27$Type",1066),nrr(1067,1,{},nn),nTv.Kb=function(n){return BJ(n)[0]},AY(nlK,"Collectors/lambda$28$Type",1067),nrr(713,1,{},nt),nTv.Ce=function(n,t){return CL(n,t)},AY(nlK,"Collectors/lambda$4$Type",713),nrr(252,1,{},ne),nTv.Ce=function(n,t){var e,i;return e=Im(n,14),i=Im(t,14),e.Gc(i),e},AY(nlK,"Collectors/lambda$42$Type",252),nrr(348,1,{},ni),nTv.Ce=function(n,t){var e;return Gz(e=Im(n,53),Im(t,53)),e},AY(nlK,"Collectors/lambda$50$Type",348),nrr(349,1,{},nr),nTv.Kb=function(n){return Im(n,53)},AY(nlK,"Collectors/lambda$51$Type",349),nrr(1054,1,{},fu),nTv.Od=function(n,t){var e,i,r;this.a,e=Im(n,83),TX(),i=!!jK(t),(r=Im(e.xc(i),15))||(r=new wn,e.zc(i,r)),r.Fc(t)},AY(nlK,"Collectors/lambda$7$Type",1054),nrr(1056,1,{},nc),nTv.Ce=function(n,t){return function(n,t,e){var i,r;for(r=t.vc().Kc();r.Ob();)i=Im(r.Pb(),42),n.yc(i.cd(),i.dd(),e);return n}(Im(n,83),Im(t,83),new J)},AY(nlK,"Collectors/lambda$8$Type",1056),nrr(1057,1,{},fo),nTv.Kb=function(n){return function(n,t){var e,i,r;for(r=new wt,i=t.vc().Kc();i.Ob();)$J(r,(e=Im(i.Pb(),42)).cd(),function(n,t){var e,i,r;for(e=n.c.Ee(),r=t.Kc();r.Ob();)i=r.Pb(),n.a.Od(e,i);return n.b.Kb(e)}(n,Im(e.dd(),15)));return r}(this.a,Im(n,83))},AY(nlK,"Collectors/lambda$9$Type",1057),nrr(539,1,{}),nTv.He=function(){$x(this)},nTv.d=!1,AY(nlK,"TerminatableStream",539),nrr(812,539,nlF,Sd),nTv.He=function(){$x(this)},AY(nlK,"DoubleStreamImpl",812),nrr(1784,721,nhY,II),nTv.ye=function(n){var t,e;return t=Im(n,182),this.a||(e=_f(nYx,nlh,25,0,15,1),pC(this.b.a,new fs(e)),e.sort(BY(E.prototype.te,E,[])),this.a=new PI(e,this.d)),FD(this.a,t)},nTv.a=null,AY(nlK,"DoubleStreamImpl/2",1784),nrr(1785,1,nlk,fs),nTv.we=function(n){var t;(t=this.a)[t.length]=n},AY(nlK,"DoubleStreamImpl/2/lambda$0$Type",1785),nrr(1782,1,nlk,fh),nTv.we=function(n){var t;(t=this.a)[t.length]=n},AY(nlK,"DoubleStreamImpl/lambda$0$Type",1782),nrr(1783,1,nlk,ff),nTv.we=function(n){Qz(this.a,n)},AY(nlK,"DoubleStreamImpl/lambda$2$Type",1783),nrr(1358,720,nhY,Kq),nTv.ye=function(n){var t;return t=Im(n,196),this.a<=this.b&&(t.ud(this.a++),!0)},nTv.a=0,nTv.b=0,nTv.c=0,AY(nlK,"IntStream/5",1358),nrr(787,539,nlF,Sg),nTv.He=function(){$x(this)},nTv.Ie=function(){return $R(this),this.a},AY(nlK,"IntStreamImpl",787),nrr(788,539,nlF,vx),nTv.He=function(){$x(this)},nTv.Ie=function(){return $R(this),Tb(),nMU},AY(nlK,"IntStreamImpl/Empty",788),nrr(1463,1,nh0,fl),nTv.ud=function(n){zC(this.a,n)},AY(nlK,"IntStreamImpl/lambda$4$Type",1463);var nMz=Cw(nlK,"Stream");nrr(30,539,{525:1,670:1,833:1},CN),nTv.He=function(){$x(this)},AY(nlK,"StreamImpl",30),nrr(845,1,{},na),nTv.ld=function(n){return IK(n)},AY(nlK,"StreamImpl/0methodref$lambda$2$Type",845),nrr(1084,540,nhY,PP),nTv.sd=function(n){for(;function(n){for(;!n.a;)if(!Pk(n.c,new fb(n)))return!1;return!0}(this);){if(this.a.sd(n))return!0;$x(this.b),this.b=null,this.a=null}return!1},AY(nlK,"StreamImpl/1",1084),nrr(1085,1,nhZ,fb),nTv.td=function(n){var t,e;t=this.a,(e=Im(n,833))&&(t.b=e,t.a=($R(e),e.a))},AY(nlK,"StreamImpl/1/lambda$0$Type",1085),nrr(1086,1,nfb,fw),nTv.Mb=function(n){return Av(this.a,n)},AY(nlK,"StreamImpl/1methodref$add$Type",1086),nrr(1087,540,nhY,NH),nTv.sd=function(n){var t;return this.a||(t=new wn,this.b.a.Nb(new fd(t)),NV(),E_(t,this.c),this.a=new D6(t,16)),Bg(this.a,n)},nTv.a=null,AY(nlK,"StreamImpl/5",1087),nrr(1088,1,nhZ,fd),nTv.td=function(n){IE(this.a,n)},AY(nlK,"StreamImpl/5/2methodref$add$Type",1088),nrr(722,540,nhY,_Y),nTv.sd=function(n){for(this.b=!1;!this.b&&this.c.sd(new mR(this,n)););return this.b},nTv.b=!1,AY(nlK,"StreamImpl/FilterSpliterator",722),nrr(1079,1,nhZ,mR),nTv.td=function(n){var t,e;t=this.a,e=this.b,t.a.Mb(n)&&(t.b=!0,e.td(n))},AY(nlK,"StreamImpl/FilterSpliterator/lambda$0$Type",1079),nrr(1075,721,nhY,FE),nTv.ye=function(n){var t;return t=Im(n,182),this.b.sd(new mK(this,t))},AY(nlK,"StreamImpl/MapToDoubleSpliterator",1075),nrr(1078,1,nhZ,mK),nTv.td=function(n){!function(n,t,e){t.we(n.a.Fe(e))}(this.a,this.b,n)},AY(nlK,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1078),nrr(1074,720,nhY,FT),nTv.ye=function(n){var t;return t=Im(n,196),this.b.sd(new mF(this,t))},AY(nlK,"StreamImpl/MapToIntSpliterator",1074),nrr(1077,1,nhZ,mF),nTv.td=function(n){!function(n,t,e){t.ud(n.a.Ge(e))}(this.a,this.b,n)},AY(nlK,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1077),nrr(719,540,nhY,FM),nTv.sd=function(n){return Pk(this,n)},AY(nlK,"StreamImpl/MapToObjSpliterator",719),nrr(1076,1,nhZ,m_),nTv.td=function(n){!function(n,t,e){t.td(n.a.Kb(e))}(this.a,this.b,n)},AY(nlK,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1076),nrr(618,1,nhZ,nu),nTv.td=function(n){this.a=n},AY(nlK,"StreamImpl/ValueConsumer",618),nrr(1080,1,nhZ,no),nTv.td=function(n){vQ()},AY(nlK,"StreamImpl/lambda$0$Type",1080),nrr(1081,1,nhZ,ns),nTv.td=function(n){vQ()},AY(nlK,"StreamImpl/lambda$1$Type",1081),nrr(1082,1,{},fg),nTv.Ce=function(n,t){var e;return e=this.a,vQ(),e.a.Od(n,t),n},AY(nlK,"StreamImpl/lambda$4$Type",1082),nrr(1083,1,nhZ,mD),nTv.td=function(n){var t,e,i;t=this.b,e=this.a,vQ(),i=e.Ce(t.a,n),t.a=i},AY(nlK,"StreamImpl/lambda$5$Type",1083),nrr(1089,1,nhZ,fp),nTv.td=function(n){!function(n,t){var e;try{t.Vd()}catch(t){if(Ti(t=Uu(t),78))e=t,n.c[n.c.length]=e;else throw t.e}}(this.a,Im(n,365))},AY(nlK,"TerminatableStream/lambda$0$Type",1089),nrr(2041,1,{}),nrr(1914,1,{},nh),AY("javaemul.internal","ConsoleLogger",1914),nrr(2038,1,{});var nMU,nMX,nMW,nMV,nMQ,nMJ,nMY,nMZ,nM1,nM0,nM2,nM3,nM4,nM5,nM6,nM8=0,nM9=0;nrr(1768,1,nhZ,nf),nTv.td=function(n){Im(n,308)},AY(nlz,"BowyerWatsonTriangulation/lambda$0$Type",1768),nrr(1769,1,nhZ,fv),nTv.td=function(n){Gz(this.a,Im(n,308).e)},AY(nlz,"BowyerWatsonTriangulation/lambda$1$Type",1769),nrr(1770,1,nhZ,nl),nTv.td=function(n){Im(n,168)},AY(nlz,"BowyerWatsonTriangulation/lambda$2$Type",1770),nrr(1765,1,nlU,fm),nTv.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,168),r=Im(t,168),O_(Ss(jh(Lj(e.f,i))),Ss(jh(Lj(e.f,r))))},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nlz,"NaiveMinST/lambda$0$Type",1765),nrr(499,1,{},fy),AY(nlz,"NodeMicroLayout",499),nrr(168,1,{168:1},mH),nTv.Fb=function(n){var t;return!!Ti(n,168)&&(t=Im(n,168),$5(this.a,t.a)&&$5(this.b,t.b)||$5(this.a,t.b)&&$5(this.b,t.a))},nTv.Hb=function(){return EE(this.a)+EE(this.b)};var nM7=AY(nlz,"TEdge",168);nrr(308,1,{308:1},nuV),nTv.Fb=function(n){var t;return!!Ti(n,308)&&HP(this,(t=Im(n,308)).a)&&HP(this,t.b)&&HP(this,t.c)},nTv.Hb=function(){return EE(this.a)+EE(this.b)+EE(this.c)},AY(nlz,"TTriangle",308),nrr(221,1,{221:1},EX),AY(nlz,"Tree",221),nrr(1254,1,{},DS),AY(nlX,"Scanline",1254);var nSn=Cw(nlX,nlW);nrr(1692,1,{},BS),AY(nlV,"CGraph",1692),nrr(307,1,{307:1},Du),nTv.b=0,nTv.c=0,nTv.d=0,nTv.g=0,nTv.i=0,nTv.k=nlc,AY(nlV,"CGroup",307),nrr(815,1,{},wQ),AY(nlV,"CGroup/CGroupBuilder",815),nrr(57,1,{57:1},SV),nTv.Ib=function(){return this.j?Sh(this.j.Kb(this)):(Su(nSt),nSt.o+"@"+(T9(this)>>>0).toString(16))},nTv.f=0,nTv.i=nlc;var nSt=AY(nlV,"CNode",57);nrr(814,1,{},wJ),AY(nlV,"CNode/CNodeBuilder",814),nrr(1525,1,{},nb),nTv.Oe=function(n,t){return 0},nTv.Pe=function(n,t){return 0},AY(nlV,nlJ,1525),nrr(1790,1,{},nw),nTv.Le=function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d;for(s=nlr,i=new h1(n.a.b);i.ae.d.c||e.d.c==r.d.c&&e.d.bo?1:j1(isNaN(u),isNaN(o)))>0)&&Q7(r.d.d,e.d.d+e.d.a+a)&&e.c.Fc(r))},AY(nlV,"QuadraticConstraintCalculation",1791),nrr(522,1,{522:1},we),nTv.a=!1,nTv.b=!1,nTv.c=!1,nTv.d=!1,AY(nlV,nl4,522),nrr(803,1,{},Oa),nTv.Me=function(n){this.c=n,neW(this,new nv)},AY(nlV,nl5,803),nrr(1718,1,{679:1},La),nTv.Ke=function(n){var t,e,i;(t=Im(n,464)).a?function(n,t){var e,i,r,c,a;if(!AR(n.b,t.b))throw new gg("Invalid hitboxes for scanline constraint calculation.").e;(Uw(t.b,Im((i=n.b,r=t.b,pl(Q3(i.a,r,!0))),57))||Uw(t.b,Im((c=n.b,a=t.b,pl(Q2(c.a,a,!0))),57)))&&(vI(),t.b),n.a[t.b.f]=Im(Py(n.b,t.b),57),(e=Im(Pm(n.b,t.b),57))&&(n.a[e.f]=t.b)}(this,t):((e=Im(Py(this.b,t.b),57))&&e==this.a[t.b.f]&&e.a&&e.a!=t.b.a&&e.c.Fc(t.b),(i=Im(Pm(this.b,t.b),57))&&this.a[i.f]==t.b&&i.a&&i.a!=t.b.a&&t.b.c.Fc(i),T6(this.b,t.b))},AY(nlV,nl6,1718),nrr(1719,1,nlU,ng),nTv.ue=function(n,t){var e,i;return e=Im(n,57),i=Im(t,57),Vv(e.d.c+e.d.b/2,i.d.c+i.d.b/2)},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nlV,nl8,1719),nrr(464,1,{464:1},mx),nTv.a=!1,AY(nlV,nl9,464),nrr(1720,1,nlU,np),nTv.ue=function(n,t){return function(n,t){var e,i,r;if(i=n.b.d.d,n.a||(i+=n.b.d.a),r=t.b.d.d,t.a||(r+=t.b.d.a),0==(e=Vv(i,r))){if(!n.a&&t.a)return -1;if(!t.a&&n.a)return 1}return e}(Im(n,464),Im(t,464))},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nlV,nl7,1720),nrr(1721,1,nbn,nv),nTv.Lb=function(n){return Im(n,57),!0},nTv.Fb=function(n){return this===n},nTv.Mb=function(n){return Im(n,57),!0},AY(nlV,"ScanlineConstraintCalculator/lambda$1$Type",1721),nrr(428,22,{3:1,35:1,22:1,428:1},mU);var nSi=qE(nbt,"HighLevelSortingCriterion",428,nE0,function(){return JU(),Um(Dg(nSi,1),nfs,428,0,[nSM,nST])},function(n){return JU(),H5((Ku(),nSS),n)});nrr(427,22,{3:1,35:1,22:1,427:1},mX);var nSr=qE(nbt,"LowLevelSortingCriterion",427,nE0,function(){return H7(),Um(Dg(nSr,1),nfs,427,0,[nSP,nSI])},function(n){return H7(),H5((Ko(),nSC),n)}),nSc=Cw(nbe,"ILayoutMetaDataProvider");nrr(853,1,nbu,sc),nTv.Qe=function(n){V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nbi),nbo),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),nSx),(neT(),nzC)),nSa),Vx((JB(),nzT))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nbr),nbo),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),nSL),nzC),nSr),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nbc),nbo),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),nS$),nzC),nSi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nba),nbo),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(TX(),!0)),nzP),nTn),Vx(nzT))))},AY(nbt,"PolyominoOptions",853),nrr(250,22,{3:1,35:1,22:1,250:1},mW);var nSa=qE(nbt,"TraversalStrategy",250,nE0,function(){return nau(),Um(Dg(nSa,1),nfs,250,0,[nSz,nS_,nSH,nSF,nSq,nSG,nSB,nSK,nSR])},function(n){return nau(),H5((zY(),nSU),n)});nrr(213,1,{213:1},nm),nTv.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},nTv.a=1,nTv.b=0,nTv.c=0,nTv.f=!1,nTv.g=0;var nSu=AY(nbs,"NEdge",213);nrr(176,1,{},wz),AY(nbs,"NEdge/NEdgeBuilder",176),nrr(653,1,{},wq),AY(nbs,"NGraph",653),nrr(121,1,{121:1},Fk),nTv.c=-1,nTv.d=0,nTv.e=0,nTv.i=-1,nTv.j=!1;var nSo=AY(nbs,"NNode",121);nrr(795,1,nlm,wG),nTv.Jc=function(n){KA(this,n)},nTv.Lc=function(){return new CN(null,new D6(this,16))},nTv.ad=function(n){GG(this,n)},nTv.Nc=function(){return new D6(this,16)},nTv.Oc=function(){return new CN(null,new D6(this,16))},nTv.Vc=function(n,t){++this.b,C4(this.a,n,t)},nTv.Fc=function(n){return Mu(this,n)},nTv.Wc=function(n,t){return++this.b,X6(this.a,n,t)},nTv.Gc=function(n){return++this.b,Uf(this.a,n)},nTv.$b=function(){++this.b,this.a.c=_f(nEU,nhO,1,0,5,1)},nTv.Hc=function(n){return -1!=Hb(this.a,n,0)},nTv.Ic=function(n){return Ur(this.a,n)},nTv.Xb=function(n){return CA(this.a,n)},nTv.Xc=function(n){return Hb(this.a,n,0)},nTv.dc=function(){return 0==this.a.c.length},nTv.Kc=function(){return _B(new h1(this.a))},nTv.Yc=function(){throw(new wP).e},nTv.Zc=function(n){throw(new wP).e},nTv.$c=function(n){return++this.b,Ff(this.a,n)},nTv.Mc=function(n){return Mo(this,n)},nTv._c=function(n,t){return++this.b,KL(this.a,n,t)},nTv.gc=function(){return this.a.c.length},nTv.bd=function(n,t){return new D2(this.a,n,t)},nTv.Pc=function(){return MS(this.a)},nTv.Qc=function(n){return JD(this.a,n)},nTv.b=0,AY(nbs,"NNode/ChangeAwareArrayList",795),nrr(269,1,{},wU),AY(nbs,"NNode/NNodeBuilder",269),nrr(1630,1,{},ny),nTv.a=!1,nTv.f=nhT,nTv.j=0,AY(nbs,"NetworkSimplex",1630),nrr(1294,1,nhZ,fj),nTv.td=function(n){nsM(this.a,Im(n,680),!0,!1)},AY(nbf,"NodeLabelAndSizeCalculator/lambda$0$Type",1294),nrr(558,1,{},fE),nTv.b=!0,nTv.c=!0,nTv.d=!0,nTv.e=!0,AY(nbf,"NodeMarginCalculator",558),nrr(212,1,{212:1}),nTv.j=!1,nTv.k=!1;var nSs=AY(nbl,"Cell",212);nrr(124,212,{124:1,212:1},S4),nTv.Re=function(){return Cn(this)},nTv.Se=function(){var n;return n=this.n,this.a.a+n.b+n.c},AY(nbl,"AtomicCell",124),nrr(232,22,{3:1,35:1,22:1,232:1},mV);var nSh=qE(nbl,"ContainerArea",232,nE0,function(){return BH(),Um(Dg(nSh,1),nfs,232,0,[nSX,nSW,nSV])},function(n){return BH(),H5((FG(),nSQ),n)});nrr(326,212,nbw),AY(nbl,"ContainerCell",326),nrr(1473,326,nbw,QO),nTv.Re=function(){var n;return n=0,this.e?this.b?n=this.b.b:this.a[1][1]&&(n=this.a[1][1].Re()):n=Qr(this,Zu(this,!0)),n>0?n+this.n.d+this.n.a:0},nTv.Se=function(){var n,t,e,i,r;if(r=0,this.e)this.b?r=this.b.a:this.a[1][1]&&(r=this.a[1][1].Se());else if(this.g)r=Qr(this,Z7(this,null,!0));else for(BH(),t=Um(Dg(nSh,1),nfs,232,0,[nSX,nSW,nSV]),e=0,i=t.length;e0?r+this.n.b+this.n.c:0},nTv.Te=function(){var n,t,e,i,r;if(this.g)for(n=Z7(this,null,!1),BH(),e=Um(Dg(nSh,1),nfs,232,0,[nSX,nSW,nSV]),i=0,r=e.length;i0&&(i[0]+=this.d,e-=i[0]),i[2]>0&&(i[2]+=this.d,e-=i[2]),this.c.a=nTp.Math.max(0,e),this.c.d=t.d+n.d+(this.c.a-e)/2,i[1]=nTp.Math.max(i[1],e),K9(this,nSW,t.d+n.d+i[0]-(i[1]-e)/2,i)},nTv.b=null,nTv.d=0,nTv.e=!1,nTv.f=!1,nTv.g=!1;var nSf=0,nSl=0;AY(nbl,"GridContainerCell",1473),nrr(461,22,{3:1,35:1,22:1,461:1},mQ);var nSb=qE(nbl,"HorizontalLabelAlignment",461,nE0,function(){return _1(),Um(Dg(nSb,1),nfs,461,0,[nSY,nSJ,nSZ])},function(n){return _1(),H5((Fz(),nS1),n)});nrr(306,212,{212:1,306:1},LH,BI,LI),nTv.Re=function(){return Ct(this)},nTv.Se=function(){return Ce(this)},nTv.a=0,nTv.c=!1;var nSw=AY(nbl,"LabelCell",306);nrr(244,326,{212:1,326:1,244:1},JM),nTv.Re=function(){return niw(this)},nTv.Se=function(){return nid(this)},nTv.Te=function(){nu_(this)},nTv.Ue=function(){nuG(this)},nTv.b=0,nTv.c=0,nTv.d=!1,AY(nbl,"StripContainerCell",244),nrr(1626,1,nfb,nk),nTv.Mb=function(n){var t;return!!(t=Im(n,212))&&t.k},AY(nbl,"StripContainerCell/lambda$0$Type",1626),nrr(1627,1,{},nj),nTv.Fe=function(n){return Im(n,212).Se()},AY(nbl,"StripContainerCell/lambda$1$Type",1627),nrr(1628,1,nfb,nE),nTv.Mb=function(n){var t;return!!(t=Im(n,212))&&t.j},AY(nbl,"StripContainerCell/lambda$2$Type",1628),nrr(1629,1,{},nT),nTv.Fe=function(n){return Im(n,212).Re()},AY(nbl,"StripContainerCell/lambda$3$Type",1629),nrr(462,22,{3:1,35:1,22:1,462:1},mJ);var nSd=qE(nbl,"VerticalLabelAlignment",462,nE0,function(){return H$(),Um(Dg(nSd,1),nfs,462,0,[nS3,nS2,nS0])},function(n){return H$(),H5((FU(),nS4),n)});nrr(789,1,{},nsI),nTv.c=0,nTv.d=0,nTv.k=0,nTv.s=0,nTv.t=0,nTv.v=!1,nTv.w=0,nTv.D=!1,AY(nby,"NodeContext",789),nrr(1471,1,nlU,nM),nTv.ue=function(n,t){var e,i;return e=Im(n,61),i=Im(t,61),EG(e.g,i.g)},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nby,"NodeContext/0methodref$comparePortSides$Type",1471),nrr(1472,1,nlU,nS),nTv.ue=function(n,t){return function(n,t){var e,i,r;if(i=n.b.Hf(),r=t.b.Hf(),0!=(e=EG(i.g,r.g)))return e;switch(n.b.Hf().g){case 1:case 2:return EG(n.b.sf(),t.b.sf());case 3:case 4:return EG(t.b.sf(),n.b.sf())}return 0}(Im(n,111),Im(t,111))},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nby,"NodeContext/1methodref$comparePortContexts$Type",1472),nrr(159,22,{3:1,35:1,22:1,159:1},G6);var nSg=qE(nby,"NodeLabelLocation",159,nE0,JF,function(n){return nhf(),H5((jF(),nPp),n)});nrr(111,1,{111:1},niq),nTv.a=!1,AY(nby,"PortContext",111),nrr(1476,1,nhZ,nP),nTv.td=function(n){pK(Im(n,306))},AY(nbE,nbT,1476),nrr(1477,1,nfb,nI),nTv.Mb=function(n){return!!Im(n,111).c},AY(nbE,nbM,1477),nrr(1478,1,nhZ,nC),nTv.td=function(n){pK(Im(n,111).c)},AY(nbE,"LabelPlacer/lambda$2$Type",1478),nrr(1475,1,nhZ,nA),nTv.td=function(n){SE(),function(n){n.b.tf(n.e)}(Im(n,111))},AY(nbE,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),nrr(790,1,nhZ,PZ),nTv.td=function(n){var t,e,i,r,c;t=this.b,e=this.c,i=this.a,(c=function(n){var t,e,i,r;for(nhf(),e=JF(),i=0,r=e.length;i0?AC(this.a,e,i):AC(this.b,e,i)},AY(nbC,"SuccessorCombination",777),nrr(644,1,{},nU),nTv.Ce=function(n,t){var e,i,r,c,a,u;return e=Im(n,46),Im(t,167),a=Im(e.a,19).a,u=Im(e.b,19).a,r=a,c=u,i=nTp.Math.max(nTp.Math.abs(a),nTp.Math.abs(u)),a<=0&&a==u?(r=0,c=u-1):a==-i&&u!=i?(r=u,c=a,u>=0&&++r):(r=-u,c=a),new k_(Va(r),Va(c))},AY(nbC,"SuccessorJitter",644),nrr(643,1,{},nX),nTv.Ce=function(n,t){var e;return function(n){var t,e;if(t=Im(n.a,19).a,e=Im(n.b,19).a,t>=0){if(t==e)return new k_(Va(-t-1),Va(-t-1));if(t==-e)return new k_(Va(-t),Va(e+1))}return nTp.Math.abs(t)>nTp.Math.abs(e)?t<0?new k_(Va(-t),Va(e)):new k_(Va(-t),Va(e+1)):new k_(Va(t+1),Va(e))}((e=Im(n,46),Im(t,167),e))},AY(nbC,"SuccessorLineByLine",643),nrr(568,1,{},nW),nTv.Ce=function(n,t){var e,i,r,c,a;return e=Im(n,46),Im(t,167),c=Im(e.a,19).a,a=Im(e.b,19).a,i=c,r=a,0==c&&0==a?r-=1:-1==c&&a<=0?(i=0,r-=2):c<=0&&a>0?(i-=1,r-=1):c>=0&&a<0?(i+=1,r+=1):c>0&&a>=0?(i-=1,r+=1):(i+=1,r-=1),new k_(Va(i),Va(r))},AY(nbC,"SuccessorManhattan",568),nrr(1356,1,{},nV),nTv.Ce=function(n,t){var e,i,r,c;return e=Im(n,46),Im(t,167),(r=Im(e.a,19).a,c=Im(e.b,19).a,i=nTp.Math.max(nTp.Math.abs(r),nTp.Math.abs(c)),r=-i&&c==i?new k_(Va(r-1),Va(c)):new k_(Va(r),Va(c-1))},AY(nbC,"SuccessorMaxNormWindingInMathPosSense",1356),nrr(400,1,{},fS),nTv.Ce=function(n,t){return AC(this,n,t)},nTv.c=!1,nTv.d=!1,nTv.e=!1,nTv.f=!1,AY(nbC,"SuccessorQuadrantsGeneric",400),nrr(1357,1,{},nQ),nTv.Kb=function(n){return Im(n,324).a},AY(nbC,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),nrr(323,22,{3:1,35:1,22:1,323:1},mz),nTv.a=!1;var nSv=qE(nbL,nbD,323,nE0,function(){return Yr(),Um(Dg(nSv,1),nfs,323,0,[nPS,nPM,nPP,nPI])},function(n){return Yr(),H5((_5(),nPC),n)});nrr(1298,1,{}),nTv.Ib=function(){var n,t,e,i,r,c,a,u;for(r=0,e=" ",n=Va(0);r8?0:a+1);for(e+="\n",n=Va(0),c=0;c8?0:u+1),i=0;iV2(c.b.c,e.b.c+e.b.b)&&0>V2(e.b.c,c.b.c+c.b.b))a=n.b.a,u=t.b,Av(a.a,new mH(u.a,e.a)),r=!0;else if(r)break}(this,t):T6(this.a,t.b)},AY(nbq,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),nrr(1252,1,nlU,nZ),nTv.ue=function(n,t){var e,i,r;return e=Im(n,65),i=Im(t,65),0!=(r=Vv(e.b.c,i.b.c))||0!=(r=Vv(e.a.a,i.a.a))?r:Vv(e.a.b,i.a.b)},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nbq,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),nrr(440,1,{440:1},mq),nTv.a=!1,AY(nbq,"ScanlineOverlapCheck/Timestamp",440),nrr(1253,1,nlU,n1),nTv.ue=function(n,t){return function(n,t){var e,i,r;if(i=n.b.b.d,n.a||(i+=n.b.b.a),r=t.b.b.d,t.a||(r+=t.b.b.a),0==(e=Vv(i,r))){if(!n.a&&t.a)return -1;if(!t.a&&n.a)return 1}return e}(Im(n,440),Im(t,440))},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nbq,"ScanlineOverlapCheck/lambda$0$Type",1253),nrr(550,1,{},n0),AY(nbG,"SVGImage",550),nrr(324,1,{324:1},P2),nTv.Ib=function(){return"("+this.a+nhI+this.b+nhI+this.c+")"},AY(nbG,"UniqueTriple",324),nrr(209,1,nbz),AY(nbU,"AbstractLayoutProvider",209),nrr(1132,209,nbz,n2),nTv.Ze=function(n,t){var e,i,r,c,a,u;(ntc(t,nbX,1),this.a=gy(Ss(nrM(n,(J2(),nOb)))),_u(n,nOi)&&(i=Sh(nrM(n,nOi)),(e=naA(qK(),i))&&Im(L$(e.f),209).Ze(n,zt(t,1))),r=new R1(this.a),this.b=function(n,t){var e,i,r,c,a,u,o,h,f,l,b,w,d,g,p,v,m,y,k;for(n.e=t,u=function(n){var t,e,i,r;for(NW(),nOg=new wn,nOd=new wt,nOw=new wn,n.a||(n.a=new An(nCK,n,10,11)),function(n){var t,e,i,r,c,a,u,o,h,f;for(t=new wt,a=new Td(n);a.e!=a.i.gc();){for(c=Im(J1(a),33),e=new w_,$J(nOd,c,e),f=new n5,i=Im(Kc(new CN(null,new A$(new OM(Tx(nrY(c).a.Kc(),new s)))),C8(f,_D(new H,new _,new ne,Um(Dg(nMG,1),nfs,132,0,[(XW(),nM0)])))),83),q$(e,Im(i.xc((TX(),!0)),14),new n6),r=Im(Kc(Nb(Im(i.xc(!1),15).Lc(),new n8),_D(new H,new _,new ne,Um(Dg(nMG,1),nfs,132,0,[nM0]))),15).Kc();r.Ob();)(h=ntL(Im(r.Pb(),79)))&&((u=Im(jh(Lj(t.f,h)),21))||(u=ncL(h),neQ(t.f,h,u)),Gz(e,u));for(i=Im(Kc(new CN(null,new A$(new OM(Tx(nrZ(c).a.Kc(),new s)))),C8(f,_D(new H,new _,new ne,Um(Dg(nMG,1),nfs,132,0,[nM0])))),83),q$(e,Im(i.xc(!0),14),new n9),o=Im(Kc(Nb(Im(i.xc(!1),15).Lc(),new n7),_D(new H,new _,new ne,Um(Dg(nMG,1),nfs,132,0,[nM0]))),15).Kc();o.Ob();)(h=ntD(Im(o.Pb(),79)))&&((u=Im(jh(Lj(t.f,h)),21))||(u=ncL(h),neQ(t.f,h,u)),Gz(e,u))}}(t=n.a),r=new Td(t);r.e!=r.i.gc();)i=Im(J1(r),33),-1==Hb(nOg,i,0)&&(e=new wn,IE(nOw,e),function n(t,e){var i,r,c;if(IE(nOg,t),e.Fc(t),i=Im($a(nOd,t),21))for(c=i.Kc();c.Ob();)r=Im(c.Pb(),33),-1!=Hb(nOg,r,0)||n(r,e)}(i,e));return nOw}(t),y=new wn,i=new h1(u);i.a1?c.e*=gy(c.a):c.f/=gy(c.a),function(n){var t,e;for(t=n.b.a.a.ec().Kc();t.Ob();)e=new nrU(Im(t.Pb(),561),n.e,n.f),IE(n.g,e)}(c),function(n){var t,e;for(t=new h1(n.g);t.a=0&&s>=0&&o0&&qh(p,y*j),k>0&&qf(p,k*E);for(zS(n.b,new tn),t=new wn,u=new XE(new hN(n.c).a);u.b;)i=Im((a=BQ(u)).cd(),79),e=Im(a.dd(),395).a,r=ncX(i,!1,!1),nuX(f=nn8(ntN(i),nei(r),e),r),(m=ntL(i))&&-1==Hb(t,m,0)&&(t.c[t.c.length]=m,N$(m,(MK(0!=f.b),Im(f.a.a.c,8)),e));for(g=new XE(new hN(n.d).a);g.b;)i=Im((d=BQ(g)).cd(),79),e=Im(d.dd(),395).a,r=ncX(i,!1,!1),f=nn8(ntx(i),Xw(nei(r)),e),nuX(f=Xw(f),r),(m=ntD(i))&&-1==Hb(t,m,0)&&(t.c[t.c.length]=m,N$(m,(MK(0!=f.b),Im(f.c.b.c,8)),e))}(r),Yu(n,nOc,this.b),nee(t)},nTv.a=0,AY(nbW,"DisCoLayoutProvider",1132),nrr(1244,1,{},n3),nTv.c=!1,nTv.e=0,nTv.f=0,AY(nbW,"DisCoPolyominoCompactor",1244),nrr(561,1,{561:1},CW),nTv.b=!0,AY(nbV,"DCComponent",561),nrr(394,22,{3:1,35:1,22:1,394:1},mG),nTv.a=!1;var nPN=qE(nbV,"DCDirection",394,nE0,function(){return Yc(),Um(Dg(nPN,1),nfs,394,0,[nC0,nC1,nC2,nC3])},function(n){return Yc(),H5((_6(),nC4),n)});nrr(266,134,{3:1,266:1,94:1,134:1},nrf),AY(nbV,"DCElement",266),nrr(395,1,{395:1},Y5),nTv.c=0,AY(nbV,"DCExtension",395),nrr(755,134,nbB,pr),AY(nbV,"DCGraph",755),nrr(481,22,{3:1,35:1,22:1,481:1},M_);var nPL=qE(nbQ,nbJ,481,nE0,function(){return vV(),Um(Dg(nPL,1),nfs,481,0,[nC5])},function(n){return vV(),H5((Ry(),nC6),n)});nrr(854,1,nbu,si),nTv.Qe=function(n){V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nbY),nb2),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),nC7),(neT(),nzC)),nPL),Vx((JB(),nzT))))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nbZ),nb2),"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."),nzN),nTs),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nb1),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),nz$),nEU),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nb0),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),nz$),nEU),Vx(nzT)))),noi((new sr,n))},AY(nbQ,"DisCoMetaDataProvider",854),nrr(998,1,nbu,sr),nTv.Qe=function(n){noi(n)},AY(nbQ,"DisCoOptions",998),nrr(999,1,{},n4),nTv.$e=function(){return new n2},nTv._e=function(n){},AY(nbQ,"DisCoOptions/DiscoFactory",999),nrr(562,167,{321:1,167:1,562:1},nrU),nTv.a=0,nTv.b=0,nTv.c=0,nTv.d=0,AY("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),nrr(1268,1,nfb,n5),nTv.Mb=function(n){return jK(n)},AY(nb9,"ElkGraphComponentsProcessor/lambda$0$Type",1268),nrr(1269,1,{},n6),nTv.Kb=function(n){return NW(),ntN(Im(n,79))},AY(nb9,"ElkGraphComponentsProcessor/lambda$1$Type",1269),nrr(1270,1,nfb,n8),nTv.Mb=function(n){var t;return t=Im(n,79),NW(),ntN(t)==Dt(ntx(t))},AY(nb9,"ElkGraphComponentsProcessor/lambda$2$Type",1270),nrr(1271,1,{},n9),nTv.Kb=function(n){return NW(),ntx(Im(n,79))},AY(nb9,"ElkGraphComponentsProcessor/lambda$3$Type",1271),nrr(1272,1,nfb,n7),nTv.Mb=function(n){var t;return t=Im(n,79),NW(),ntx(t)==Dt(ntN(t))},AY(nb9,"ElkGraphComponentsProcessor/lambda$4$Type",1272),nrr(1273,1,nfb,fI),nTv.Mb=function(n){var t,e;return t=this.a,e=Im(n,79),NW(),t==Dt(ntN(e))||t==Dt(ntx(e))},AY(nb9,"ElkGraphComponentsProcessor/lambda$5$Type",1273),nrr(1274,1,{},fC),nTv.Kb=function(n){var t,e;return t=this.a,e=Im(n,79),NW(),t==ntN(e)?ntx(e):ntN(e)},AY(nb9,"ElkGraphComponentsProcessor/lambda$6$Type",1274),nrr(1241,1,{},R1),nTv.a=0,AY(nb9,"ElkGraphTransformer",1241),nrr(1242,1,{},tn),nTv.Od=function(n,t){var e,i,r,c,a,u;e=Im(n,160),i=Im(t,266),this.a=i.b.d,Ti(e,352)?(KA(a=nei(c=ncX(Im(e,79),!1,!1)),r=new fO(this)),nuX(a,c),null!=e.We((nha(),nUI))&&KA(Im(e.We(nUI),74),r)):((u=Im(e,470)).Hg(u.Dg()+this.a.a),u.Ig(u.Eg()+this.a.b))},AY(nb9,"ElkGraphTransformer/OffsetApplier",1242),nrr(1243,1,nhZ,fO),nTv.td=function(n){MG(Im(n,8),this.a.a.a,this.a.a.b)},AY(nb9,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),nrr(753,1,{},tt),AY(nwi,nwr,753),nrr(1232,1,nlU,te),nTv.ue=function(n,t){var e,i,r,c,a;return e=Im(n,231),i=Im(t,231),0==(r=Im(ntP(i,(nab(),nOH)),19).a-Im(ntP(e,nOH),19).a)?(c=S7(E1(Im(ntP(e,(GA(),nOV)),8)),Im(ntP(e,nOQ),8)),a=S7(E1(Im(ntP(i,nOV),8)),Im(ntP(i,nOQ),8)),Vv(c.a*c.b,a.a*a.b)):r},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nwi,nwc,1232),nrr(740,209,nbz,wX),nTv.Ze=function(n,t){nr1(this,n,t)},AY(nwi,"ForceLayoutProvider",740),nrr(357,134,{3:1,357:1,94:1,134:1}),AY(nwa,"FParticle",357),nrr(559,357,{3:1,559:1,357:1,94:1,134:1},Az),nTv.Ib=function(){var n;return this.a?(n=Hb(this.a.a,this,0))>=0?"b"+n+"["+KD(this.a)+"]":"b["+KD(this.a)+"]":"b_"+T9(this)},AY(nwa,"FBendpoint",559),nrr(282,134,{3:1,282:1,94:1,134:1},SX),nTv.Ib=function(){return KD(this)},AY(nwa,"FEdge",282),nrr(231,134,{3:1,231:1,94:1,134:1},Fy);var nPD=AY(nwa,"FGraph",231);nrr(447,357,{3:1,447:1,357:1,94:1,134:1},Kn),nTv.Ib=function(){return null==this.b||0==this.b.length?"l["+KD(this.a)+"]":"l_"+this.b},AY(nwa,"FLabel",447),nrr(144,357,{3:1,144:1,357:1,94:1,134:1},$s),nTv.Ib=function(){return xh(this)},nTv.b=0,AY(nwa,"FNode",144),nrr(2003,1,{}),nTv.bf=function(n){nuM(this,n)},nTv.cf=function(){Zc(this)},nTv.d=0,AY(nwo,"AbstractForceModel",2003),nrr(631,2003,{631:1},zQ),nTv.af=function(n,t){var e,i,r,c,a,u;return nie(this.f,n,t),r=S7(E1(t.d),n.d),c=nTp.Math.sqrt(r.a*r.a+r.b*r.b),i=nTp.Math.max(0,c-$C(n.e)/2-$C(t.e)/2),To(r,((e=Xo(this.e,n,t))>0?-(a=this.c,i>0?nTp.Math.log(i/a):-100)*e:(u=this.b,(i>0?u/(i*i):100*u)*Im(ntP(n,(nab(),nOH)),19).a))/c),r},nTv.bf=function(n){nuM(this,n),this.a=Im(ntP(n,(nab(),nOA)),19).a,this.c=gy(Ss(ntP(n,nOX))),this.b=gy(Ss(ntP(n,nOq)))},nTv.df=function(n){return n0?o*o/u:o*o*100)*Im(ntP(n,(nab(),nOH)),19).a,(e=Xo(this.e,n,t))>0&&(c-=i*i/this.a*e),To(r,c*this.b/a),r},nTv.bf=function(n){var t,e,i,r,c,a,u;for(nuM(this,n),this.b=gy(Ss(ntP(n,(nab(),nOW)))),this.c=this.b/Im(ntP(n,nOA),19).a,i=n.e.c.length,c=0,r=0,u=new h1(n.e);u.a0},nTv.a=0,nTv.b=0,nTv.c=0,AY(nwo,"FruchtermanReingoldModel",632),nrr(849,1,nbu,sa),nTv.Qe=function(n){V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nws),""),"Force Model"),"Determines the model for force calculation."),nOm),(neT(),nzC)),nPx),Vx((JB(),nzT))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwh),""),"Iterations"),"The number of iterations on the force model."),Va(300)),nzA),nTc),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwf),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),Va(0)),nzA),nTc),Vx(nzk)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwl),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),nwb),nzI),nTi),Vx(nzT)))),xW(n,nwl,nws,nOT),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nww),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),nzI),nTi),Vx(nzT)))),xW(n,nww,nws,nOk),nsL((new su,n))},AY(nwd,"ForceMetaDataProvider",849),nrr(424,22,{3:1,35:1,22:1,424:1},mZ);var nPx=qE(nwd,"ForceModelStrategy",424,nE0,function(){return Bn(),Um(Dg(nPx,1),nfs,424,0,[nOM,nOS])},function(n){return Bn(),H5((Ks(),nOP),n)});nrr(988,1,nbu,su),nTv.Qe=function(n){nsL(n)},AY(nwd,"ForceOptions",988),nrr(989,1,{},ti),nTv.$e=function(){return new wX},nTv._e=function(n){},AY(nwd,"ForceOptions/ForceFactory",989),nrr(850,1,nbu,so),nTv.Qe=function(n){V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwD),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(TX(),!1)),(neT(),nzP)),nTn),Vx((JB(),nzE))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwx),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),nzI),nTi),C6(nzT,Um(Dg(nCi,1),nfs,175,0,[nzk]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwR),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),nO0),nzC),nPR),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwK),""),"Stress Epsilon"),"Termination criterion for the iterative process."),nwb),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwF),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),Va(nhT)),nzA),nTc),Vx(nzT)))),nsh((new ss,n))},AY(nwd,"StressMetaDataProvider",850),nrr(992,1,nbu,ss),nTv.Qe=function(n){nsh(n)},AY(nwd,"StressOptions",992),nrr(993,1,{},tr),nTv.$e=function(){return new SW},nTv._e=function(n){},AY(nwd,"StressOptions/StressFactory",993),nrr(1128,209,nbz,SW),nTv.Ze=function(n,t){var e,i,r,c;for(ntc(t,nwH,1),gm(So(nrM(n,(ZU(),nO7))))?gm(So(nrM(n,nAc)))||Lq(new fy((mo(),new gl(n)))):nr1(new wX,n,zt(t,1)),i=UX(n),c=(e=nuB(this.a,i)).Kc();c.Ob();)(r=Im(c.Pb(),231)).e.c.length<=1||(function(n,t){var e,i,r,c,a,u,o,s,h;if(!(t.e.c.length<=1)){for(n.f=t,n.d=Im(ntP(n.f,(ZU(),nO6)),379),n.g=Im(ntP(n.f,nAn),19).a,n.e=gy(Ss(ntP(n.f,nO8))),n.c=gy(Ss(ntP(n.f,nO5))),Aq(n.b),r=new h1(n.f.c);r.a0&&(r=e),a=new h1(n.f.e);a.a0&&n.d!=(HA(),nAs)&&(u+=a*(i.d.a+n.a[t.b][i.b]*(t.d.a-i.d.a)/e)),e>0&&n.d!=(HA(),nAu)&&(o+=a*(i.d.b+n.a[t.b][i.b]*(t.d.b-i.d.b)/e)));switch(n.d.g){case 1:return new kp(u/c,t.d.b);case 2:return new kp(t.d.a,o/c);default:return new kp(u/c,o/c)}}(n,c),S9(jR(c.d),i));e=ni7(n)}while(u=t++,o=r,s=e,0!=o&&!((o-s)/o=n.g))}}(this.b),BR(r.d,new tc));nsK(i=nsq(e)),nee(t)},AY(nwq,"StressLayoutProvider",1128),nrr(1129,1,nhZ,tc),nTv.td=function(n){not(Im(n,447))},AY(nwq,"StressLayoutProvider/lambda$0$Type",1129),nrr(990,1,{},wL),nTv.c=0,nTv.e=0,nTv.g=0,AY(nwq,"StressMajorization",990),nrr(379,22,{3:1,35:1,22:1,379:1},m1);var nPR=qE(nwq,"StressMajorization/Dimension",379,nE0,function(){return HA(),Um(Dg(nPR,1),nfs,379,0,[nAo,nAu,nAs])},function(n){return HA(),H5((FW(),nAh),n)});nrr(991,1,nlU,fA),nTv.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,144),r=Im(t,144),Vv(e[i.b],e[r.b])},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nwq,"StressMajorization/lambda$0$Type",991),nrr(1229,1,{},xC),AY(nwz,"ElkLayered",1229),nrr(1230,1,nhZ,ta),nTv.td=function(n){!function(n){var t;if((t=Im(ntP(n,(ns8(),nKm)),314))==(q5(),nNQ))throw new gC("The hierarchy aware processor "+t+" in child node "+n+" is only allowed if the root node specifies the same hierarchical processor.").e}(Im(n,37))},AY(nwz,"ElkLayered/lambda$0$Type",1230),nrr(1231,1,nhZ,f$),nTv.td=function(n){var t;t=this.a,UU(Im(n,37),(ns8(),nKb),t)},AY(nwz,"ElkLayered/lambda$1$Type",1231),nrr(1263,1,{},EJ),AY(nwz,"GraphConfigurator",1263),nrr(759,1,nhZ,fN),nTv.td=function(n){ntX(this.a,Im(n,10))},AY(nwz,"GraphConfigurator/lambda$0$Type",759),nrr(760,1,{},tu),nTv.Kb=function(n){return nnu(),new CN(null,new D6(Im(n,29).a,16))},AY(nwz,"GraphConfigurator/lambda$1$Type",760),nrr(761,1,nhZ,fL),nTv.td=function(n){ntX(this.a,Im(n,10))},AY(nwz,"GraphConfigurator/lambda$2$Type",761),nrr(1127,209,nbz,wV),nTv.Ze=function(n,t){var e,i,r;e=function(n,t){var e,i,r;if(r=nu$(t),vF(new CN(null,(t.c||(t.c=new An(nCF,t,9,9)),new D6(t.c,16))),new fB(r)),function(n,t){var e,i,r,c,a,u,o,s,h,f,l;for(a=gm(So(nrM(n,(ns8(),nKG)))),l=Im(nrM(n,nFM),21),o=!1,s=!1,f=new Td((n.c||(n.c=new An(nCF,n,9,9)),n.c));f.e!=f.i.gc()&&(!o||!s);){for(c=Im(J1(f),118),u=0,r=AS(qO(Um(Dg(nEQ,1),nhO,20,0,[(c.d||(c.d=new Ph(nCA,c,8,5)),c.d),(c.e||(c.e=new Ph(nCA,c,7,4)),c.e)])));nrc(r)&&(i=Im(K4(r),79),h=a&&niM(i)&&gm(So(nrM(i,nKz))),e=noH((i.b||(i.b=new Ph(nCO,i,4,7)),i.b),c)?n==Dt(ntr(Im(BX((i.c||(i.c=new Ph(nCO,i,5,8)),i.c),0),82))):n==Dt(ntr(Im(BX((i.b||(i.b=new Ph(nCO,i,4,7)),i.b),0),82))),!((h||e)&&++u>1)););u>0?o=!0:l.Hc((nis(),nWM))&&(c.n||(c.n=new An(nCR,c,1,7)),c.n).i>0&&(o=!0),u>1&&(s=!0)}o&&t.Fc((ncJ(),nLN)),s&&t.Fc((ncJ(),nLL))}(t,i=Im(ntP(r,(nhu(),nDa)),21)),i.Hc((ncJ(),nLN)))for(e=new Td((t.c||(t.c=new An(nCF,t,9,9)),t.c));e.e!=e.i.gc();)(function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;for(o=new kp(i.i+i.g/2,i.j+i.f/2),l=no$(i),b=Im(nrM(t,(ns8(),nFj)),98),d=Im(nrM(i,nFP),61),g=JX(i),p=nFk,QF(g.a,p)||(w=0==i.i&&0==i.j?0:function(n,t){var e;if(!L8(n))throw new gg(nmz).e;switch(e=L8(n),t.g){case 1:return-(n.j+n.f);case 2:return n.i-e.g;case 3:return n.j-e.f;case 4:return-(n.i+n.g)}return 0}(i,d),Yu(i,nFk,w)),UU(r=nsQ(i,b,d,l,new kp(t.g,t.f),o,new kp(i.g,i.f),Im(ntP(e,nKj),103),e),(nhu(),nDj),i),v=c=Im(CA(r.j,0),11),m=function(n){var t,e,i,r,c;for(c=L8(n),r=new Td((n.e||(n.e=new Ph(nCA,n,7,4)),n.e));r.e!=r.i.gc();)if(i=Im(J1(r),79),!Bx(ntr(Im(BX((i.c||(i.c=new Ph(nCO,i,5,8)),i.c),0),82)),c))return!0;for(e=new Td((n.d||(n.d=new Ph(nCA,n,8,5)),n.d));e.e!=e.i.gc();)if(t=Im(J1(e),79),!Bx(ntr(Im(BX((t.b||(t.b=new Ph(nCO,t,4,7)),t.b),0),82)),c))return!0;return!1}(i),v.c=m,UU(r,nFM,(nis(),Vx(nWP))),h=Im(nrM(t,nFM),174).Hc(nWM),u=new Td((i.n||(i.n=new An(nCR,i,1,7)),i.n));u.e!=u.i.gc();)if(!gm(So(nrM(a=Im(J1(u),137),nFh)))&&a.a&&(f=WE(a),IE(c.f,f),!h))switch(s=0,OQ(Im(nrM(t,nFM),21))&&(s=niv(new kp(a.i,a.j),new kp(a.g,a.f),new kp(i.g,i.f),0,d)),d.g){case 2:case 4:f.o.a=s;break;case 1:case 3:f.o.b=s}UU(r,nFW,Ss(nrM(Dt(t),nFW))),UU(r,nFV,Ss(nrM(Dt(t),nFV))),UU(r,nFU,Ss(nrM(Dt(t),nFU))),IE(e.a,r),$J(n.a,i,r)})(n,t,r,Im(J1(e),118));return 0!=Im(nrM(t,(ns8(),nFa)),174).gc()&&ncZ(t,r),gm(So(ntP(r,nFb)))&&i.Fc(nLK),MB(r,nFx)&&function(n,t){XT(n).td(t)}(new Qs(gy(Ss(ntP(r,nFx)))),r),jf(nrM(t,nKF))===jf((WN(),nX0))?function(n,t,e){var i,r,c,a,u,o,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S;for(a=new vK,y=Im(ntP(e,(ns8(),nKj)),103),d=0,Gz(a,(t.a||(t.a=new An(nCK,t,10,11)),t.a));0!=a.b;)h=Im(0==a.b?null:(MK(0!=a.b),BK(a,a.a.a)),33),(jf(nrM(t,nKs))!==jf((U1(),n_F))||jf(nrM(t,nKy))===jf((YU(),nN8))||jf(nrM(t,nKy))===jf((YU(),nN5))||gm(So(nrM(t,nKf)))||jf(nrM(t,nKr))!==jf((W3(),nAF)))&&!gm(So(nrM(h,nKo)))&&Yu(h,(nhu(),nDk),Va(d++)),!gm(So(nrM(h,nFh)))&&(l=0!=(h.a||(h.a=new An(nCK,h,10,11)),h.a).i,w=function(n){var t,e;if(gm(So(nrM(n,(ns8(),nKG))))){for(e=new OM(Tx(nrZ(n).a.Kc(),new s));nrc(e);)if(niM(t=Im(K4(e),79))&&gm(So(nrM(t,nKz))))return!0}return!1}(h),b=jf(nrM(h,nKF))===jf((WN(),nX0)),S=!_u(h,(nha(),nUn))||Pv(Sh(nrM(h,nUn)),ndc),v=null,S&&b&&(l||w)&&(UU(v=nu$(h),nKj,y),MB(v,nFx)&&function(n,t){XT(n).td(t)}(new Qs(gy(Ss(ntP(v,nFx)))),v),0!=Im(nrM(h,nFa),174).gc()&&(f=v,vF(new CN(null,(h.c||(h.c=new An(nCF,h,9,9)),new D6(h.c,16))),new fq(f)),ncZ(h,v))),k=e,(j=Im($a(n.a,Dt(h)),10))&&(k=j.e),p=nsm(n,h,k),v&&(p.e=v,v.e=p,Gz(a,(h.a||(h.a=new An(nCK,h,10,11)),h.a))));for(d=0,KN(a,t,a.c.b,a.c);0!=a.b;){for(o=new Td(((c=Im(0==a.b?null:(MK(0!=a.b),BK(a,a.a.a)),33)).b||(c.b=new An(nCA,c,12,3)),c.b));o.e!=o.i.gc();)naD(u=Im(J1(o),79)),(jf(nrM(t,nKs))!==jf((U1(),n_F))||jf(nrM(t,nKy))===jf((YU(),nN8))||jf(nrM(t,nKy))===jf((YU(),nN5))||gm(So(nrM(t,nKf)))||jf(nrM(t,nKr))!==jf((W3(),nAF)))&&Yu(u,(nhu(),nDk),Va(d++)),T=ntr(Im(BX((u.b||(u.b=new Ph(nCO,u,4,7)),u.b),0),82)),M=ntr(Im(BX((u.c||(u.c=new Ph(nCO,u,5,8)),u.c),0),82)),gm(So(nrM(u,nFh)))||gm(So(nrM(T,nFh)))||gm(So(nrM(M,nFh)))||(g=niM(u)&&gm(So(nrM(T,nKG)))&&gm(So(nrM(u,nKz))),m=c,g||Bx(M,T)?m=T:Bx(T,M)&&(m=M),k=e,(j=Im($a(n.a,m),10))&&(k=j.e),UU(nhc(n,u,m,k),(nhu(),nL3),function(n,t,e,i){var r,c,a,u,o;return(u=ntr(Im(BX((t.b||(t.b=new Ph(nCO,t,4,7)),t.b),0),82)),o=ntr(Im(BX((t.c||(t.c=new Ph(nCO,t,5,8)),t.c),0),82)),Dt(u)==Dt(o)||Bx(o,u))?null:(a=L6(t))==e?i:(c=Im($a(n.a,a),10))&&(r=c.e)?r:null}(n,u,t,e)));if(b=jf(nrM(c,nKF))===jf((WN(),nX0)))for(r=new Td((c.a||(c.a=new An(nCK,c,10,11)),c.a));r.e!=r.i.gc();)S=!_u(i=Im(J1(r),33),(nha(),nUn))||Pv(Sh(nrM(i,nUn)),ndc),E=jf(nrM(i,nKF))===jf(nX0),S&&E&&KN(a,i,a.c.b,a.c)}}(n,t,r):function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;for(f=0,r=new Td((t.a||(t.a=new An(nCK,t,10,11)),t.a));r.e!=r.i.gc();)gm(So(nrM(i=Im(J1(r),33),(ns8(),nFh))))||((jf(nrM(t,nKs))!==jf((U1(),n_F))||jf(nrM(t,nKy))===jf((YU(),nN8))||jf(nrM(t,nKy))===jf((YU(),nN5))||gm(So(nrM(t,nKf)))||jf(nrM(t,nKr))!==jf((W3(),nAF)))&&!gm(So(nrM(i,nKo)))&&(Yu(i,(nhu(),nDk),Va(f)),++f),nsm(n,i,e));for(f=0,s=new Td((t.b||(t.b=new An(nCA,t,12,3)),t.b));s.e!=s.i.gc();)u=Im(J1(s),79),(jf(nrM(t,(ns8(),nKs)))!==jf((U1(),n_F))||jf(nrM(t,nKy))===jf((YU(),nN8))||jf(nrM(t,nKy))===jf((YU(),nN5))||gm(So(nrM(t,nKf)))||jf(nrM(t,nKr))!==jf((W3(),nAF)))&&(Yu(u,(nhu(),nDk),Va(f)),++f),w=ntN(u),d=ntx(u),h=gm(So(nrM(w,nKG))),b=!gm(So(nrM(u,nFh))),l=h&&niM(u)&&gm(So(nrM(u,nKz))),c=Dt(w)==t&&Dt(w)==Dt(d),a=(Dt(w)==t&&d==t)^(Dt(d)==t&&w==t),b&&!l&&(a||c)&&nhc(n,u,t,e);if(Dt(t))for(o=new Td(NA(Dt(t)));o.e!=o.i.gc();)(w=ntN(u=Im(J1(o),79)))==t&&niM(u)&&(l=gm(So(nrM(w,(ns8(),nKG))))&&gm(So(nrM(u,nKz))))&&nhc(n,u,t,e)}(n,t,r),r}(new w4,n),jf(nrM(n,(ns8(),nKF)))===jf((WN(),nX0))?(i=this.a,(r=t)||(r=IZ(new dH,0)),ntc(r,nwG,2),YE(i.b,e,zt(r,1)),function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w;for(o=function(n){var t,e,i,r,c;for(t=new b7,e=new b7,RC(t,n),RC(e,n);e.b!=e.c;)for(c=new h1(Im(Al(e),37).a);c.anwb,M=nTp.Math.abs(l.b-w.b)>nwb,(!e&&T&&M||e&&(T||M))&&I2(g.a,y)),Gz(g.a,i),0==i.b?l=y:(MK(0!=i.b),l=Im(i.c.b.c,8)),function(n,t,e){var i,r;(r=Im(ntP(n,(ns8(),nKW)),74))&&(XZ(i=new dd,0,r),BV(i,e),Gz(t,i))}(b,f,d),G4(r)==E&&($N(E.i)!=r.a&&neP(d=new ps,$N(E.i),v),UU(g,nDG,d)),function(n,t,e){var i,r;for(r=new Rn(n.b,0);r.bt.a&&(i.Hc((nnF(),nz3))?n.c.a+=(e.a-t.a)/2:i.Hc(nz5)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((nnF(),nz8))?n.c.b+=(e.b-t.b)/2:i.Hc(nz6)&&(n.c.b+=e.b-t.b)),Im(ntP(n,(nhu(),nDa)),21).Hc((ncJ(),nLN))&&(e.a>t.a||e.b>t.b))for(u=new h1(n.a);u.a0&&(IE(this.c,new IB(t.c,t.d,this.d)),this.b=t.d)},nTv.b=0,AY(nwV,"RectilinearConvexHull/MaximalElementsEventHandler",574),nrr(1644,1,nlU,tb),nTv.ue=function(n,t){var e,i;return e=Ss(n),i=Ss(t),v3(),Vv(($D(e),e),($D(i),i))},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nwV,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),nrr(1643,1,{369:1},BM),nTv.Ke=function(n){var t,e,i,r,c;t=Im(n,140),this.d&&(t.c!=this.e.c||(i=this.e.b,r=t.b,Uj(),i==nAM&&r==nAS||i==nAM&&r==nAP||i==nAI&&r==nAP||i==nAI&&r==nAS))&&(IE(this.f,this.d),this.a=this.d.c+this.d.b,this.d=null,this.e=null),(c=t.b)==nAM||c==nAS?this.c=t:this.b=t,(t.b==(Uj(),nAM)&&!t.a||t.b==nAS&&t.a||t.b==nAP&&t.a||t.b==nAI&&!t.a)&&this.c&&this.b&&(e=new Nj(this.a,this.c.d,t.c-this.a,this.b.d-this.c.d),this.d=e,this.e=t)},nTv.a=0,nTv.b=null,nTv.c=null,nTv.d=null,nTv.e=null,AY(nwV,"RectilinearConvexHull/RectangleEventHandler",1643),nrr(1645,1,nlU,tw),nTv.ue=function(n,t){var e,i;return e=Im(n,140),i=Im(t,140),H9(),e.c==i.c?Vv(i.d,e.d):Vv(e.c,i.c)},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nwV,"RectilinearConvexHull/lambda$0$Type",1645),nrr(1646,1,nlU,tl),nTv.ue=function(n,t){var e,i;return e=Im(n,140),i=Im(t,140),H9(),e.c==i.c?Vv(e.d,i.d):Vv(e.c,i.c)},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nwV,"RectilinearConvexHull/lambda$1$Type",1646),nrr(1647,1,nlU,tm),nTv.ue=function(n,t){var e,i;return e=Im(n,140),i=Im(t,140),H9(),e.c==i.c?Vv(i.d,e.d):Vv(i.c,e.c)},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nwV,"RectilinearConvexHull/lambda$2$Type",1647),nrr(1648,1,nlU,ty),nTv.ue=function(n,t){var e,i;return e=Im(n,140),i=Im(t,140),H9(),e.c==i.c?Vv(e.d,i.d):Vv(i.c,e.c)},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nwV,"RectilinearConvexHull/lambda$3$Type",1648),nrr(1649,1,nlU,tk),nTv.ue=function(n,t){return function(n,t){var e,i,r,c;if(H9(),n.c!=t.c)return Vv(n.c,t.c);if(n.b==t.b||(i=n.b,r=t.b,Uj(),i==nAM&&r==nAI||i==nAI&&r==nAM||i==nAP&&r==nAS||i==nAS&&r==nAP)){if(e=(c=n.b)==nAM||c==nAI?1:-1,n.a&&!t.a)return e;if(!n.a&&t.a)return-e}return EG(n.b.g,t.b.g)}(Im(n,140),Im(t,140))},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nwV,"RectilinearConvexHull/lambda$4$Type",1649),nrr(1650,1,{},DP),AY(nwV,"Scanline",1650),nrr(2005,1,{}),AY(nwQ,"AbstractGraphPlacer",2005),nrr(325,1,{325:1},MJ),nTv.mf=function(n){return!!this.nf(n)&&(niP(this.b,Im(ntP(n,(nhu(),nDn)),21),n),!0)},nTv.nf=function(n){var t,e,i;for(t=Im(ntP(n,(nhu(),nDn)),21),i=Im(Fl(nAx,t),21).Kc();i.Ob();)if(e=Im(i.Pb(),21),!Im(Fl(this.b,e),15).dc())return!1;return!0},AY(nwQ,"ComponentGroup",325),nrr(765,2005,{},wZ),nTv.of=function(n){var t;for(t=new h1(this.a);t.ac?1:0},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nwQ,"ComponentsProcessor/lambda$0$Type",1265),nrr(570,325,{325:1,570:1},KH),nTv.mf=function(n){return XP(this,n)},nTv.nf=function(n){return ncs(this,n)},AY(nwQ,"ModelOrderComponentGroup",570),nrr(1291,2005,{},tT),nTv.lf=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k;if(1==n.gc()){(v=Im(n.Xb(0),37))!=t&&(t.a.c=_f(nEU,nhO,1,0,5,1),naY(t,v,0,0),z5(t,v),NG(t.d,v.d),t.f.a=v.f.a,t.f.b=v.f.b);return}if(n.dc()){t.a.c=_f(nEU,nhO,1,0,5,1),t.f.a=0,t.f.b=0;return}if(jf(ntP(t,(ns8(),nKr)))===jf((W3(),nAF))){for(o=n.Kc();o.Ob();){for(a=Im(o.Pb(),37),g=0,w=new h1(a.a);w.al&&(y=0,k+=f+r,f=0),d=a.c,naL(a,y+d.a,k+d.b),jR(d),e=nTp.Math.max(e,y+p.a),f=nTp.Math.max(f,p.b),y+=p.a+r;if(t.f.a=e,t.f.b=k+f,gm(So(ntP(c,nKt)))){for(ns6(i=new tj,n,r),h=n.Kc();h.Ob();)S9(jR(Im(h.Pb(),37).c),i.e);S9(jR(t.f),i.a)}_A(t,n)},AY(nwQ,"SimpleRowGraphPlacer",1291),nrr(1292,1,nlU,tM),nTv.ue=function(n,t){var e,i,r;return e=Im(n,37),0==(r=(i=Im(t,37)).p-e.p)?Vv(e.f.a*e.f.b,i.f.a*i.f.b):r},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nwQ,"SimpleRowGraphPlacer/1",1292),nrr(1262,1,nbn,tS),nTv.Lb=function(n){var t;return!!(t=Im(ntP(Im(n,243).b,(ns8(),nKW)),74))&&0!=t.b},nTv.Fb=function(n){return this===n},nTv.Mb=function(n){var t;return!!(t=Im(ntP(Im(n,243).b,(ns8(),nKW)),74))&&0!=t.b},AY(nw1,"CompoundGraphPostprocessor/1",1262),nrr(1261,1,nw0,w5),nTv.pf=function(n,t){YE(this,Im(n,37),t)},AY(nw1,"CompoundGraphPreprocessor",1261),nrr(441,1,{441:1},W6),nTv.c=!1,AY(nw1,"CompoundGraphPreprocessor/ExternalPort",441),nrr(243,1,{243:1},P1),nTv.Ib=function(){return MP(this.c)+":"+nig(this.b)},AY(nw1,"CrossHierarchyEdge",243),nrr(763,1,nlU,fD),nTv.ue=function(n,t){var e,i,r,c;return e=Im(n,243),i=Im(t,243),e.c==(qF(),n_U)&&i.c==n_z?-1:e.c==n_z&&i.c==n_U?1:(r=Wt(e.a,this.a),c=Wt(i.a,this.a),e.c==n_U?c-r:r-c)},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nw1,"CrossHierarchyEdgeComparator",763),nrr(299,134,{3:1,299:1,94:1,134:1}),nTv.p=0,AY(nw2,"LGraphElement",299),nrr(17,299,{3:1,17:1,299:1,94:1,134:1},Ls),nTv.Ib=function(){return nig(this)};var nPz=AY(nw2,"LEdge",17);nrr(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},qQ),nTv.Jc=function(n){KA(this,n)},nTv.Kc=function(){return new h1(this.b)},nTv.Ib=function(){return 0==this.b.c.length?"G-unlayered"+ntK(this.a):0==this.a.c.length?"G-layered"+ntK(this.b):"G[layerless"+ntK(this.a)+", layers"+ntK(this.b)+"]"};var nPU=AY(nw2,"LGraph",37);nrr(657,1,{}),nTv.qf=function(){return this.e.n},nTv.We=function(n){return ntP(this.e,n)},nTv.rf=function(){return this.e.o},nTv.sf=function(){return this.e.p},nTv.Xe=function(n){return MB(this.e,n)},nTv.tf=function(n){this.e.n.a=n.a,this.e.n.b=n.b},nTv.uf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},nTv.vf=function(n){this.e.p=n},AY(nw2,"LGraphAdapters/AbstractLShapeAdapter",657),nrr(577,1,{839:1},fx),nTv.wf=function(){var n,t;if(!this.b)for(this.b=Mj(this.a.b.c.length),t=new h1(this.a.b);t.a0&&Wy((D5(t-1,n.length),n.charCodeAt(t-1)),ndn);)--t;if(r> ",n),Zj(e)),jP(jS((n.a+="[",n),e.i),"]")),n.a},nTv.c=!0,nTv.d=!1;var nPJ=AY(nw2,"LPort",11);nrr(397,1,nh4,fK),nTv.Jc=function(n){KA(this,n)},nTv.Kc=function(){return new fF(new h1(this.a.e))},AY(nw2,"LPort/1",397),nrr(1290,1,nhK,fF),nTv.Nb=function(n){Ao(this,n)},nTv.Pb=function(){return Im(xe(this.a),17).c},nTv.Ob=function(){return EH(this.a)},nTv.Qb=function(){AE(this.a)},AY(nw2,"LPort/1/1",1290),nrr(359,1,nh4,f_),nTv.Jc=function(n){KA(this,n)},nTv.Kc=function(){return new fH(new h1(this.a.g))},AY(nw2,"LPort/2",359),nrr(762,1,nhK,fH),nTv.Nb=function(n){Ao(this,n)},nTv.Pb=function(){return Im(xe(this.a),17).d},nTv.Ob=function(){return EH(this.a)},nTv.Qb=function(){AE(this.a)},AY(nw2,"LPort/2/1",762),nrr(1283,1,nh4,ya),nTv.Jc=function(n){KA(this,n)},nTv.Kc=function(){return new Fm(this)},AY(nw2,"LPort/CombineIter",1283),nrr(201,1,nhK,Fm),nTv.Nb=function(n){Ao(this,n)},nTv.Qb=function(){py()},nTv.Ob=function(){return Mh(this)},nTv.Pb=function(){return EH(this.a)?xe(this.a):xe(this.b)},AY(nw2,"LPort/CombineIter/1",201),nrr(1285,1,nbn,tC),nTv.Lb=function(n){return OG(n)},nTv.Fb=function(n){return this===n},nTv.Mb=function(n){return zn(),0!=Im(n,11).e.c.length},AY(nw2,"LPort/lambda$0$Type",1285),nrr(1284,1,nbn,tO),nTv.Lb=function(n){return Oz(n)},nTv.Fb=function(n){return this===n},nTv.Mb=function(n){return zn(),0!=Im(n,11).g.c.length},AY(nw2,"LPort/lambda$1$Type",1284),nrr(1286,1,nbn,tA),nTv.Lb=function(n){return zn(),Im(n,11).j==(nsR(),nWA)},nTv.Fb=function(n){return this===n},nTv.Mb=function(n){return zn(),Im(n,11).j==(nsR(),nWA)},AY(nw2,"LPort/lambda$2$Type",1286),nrr(1287,1,nbn,t$),nTv.Lb=function(n){return zn(),Im(n,11).j==(nsR(),nWO)},nTv.Fb=function(n){return this===n},nTv.Mb=function(n){return zn(),Im(n,11).j==(nsR(),nWO)},AY(nw2,"LPort/lambda$3$Type",1287),nrr(1288,1,nbn,tN),nTv.Lb=function(n){return zn(),Im(n,11).j==(nsR(),nWW)},nTv.Fb=function(n){return this===n},nTv.Mb=function(n){return zn(),Im(n,11).j==(nsR(),nWW)},AY(nw2,"LPort/lambda$4$Type",1288),nrr(1289,1,nbn,tL),nTv.Lb=function(n){return zn(),Im(n,11).j==(nsR(),nWQ)},nTv.Fb=function(n){return this===n},nTv.Mb=function(n){return zn(),Im(n,11).j==(nsR(),nWQ)},AY(nw2,"LPort/lambda$5$Type",1289),nrr(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},$o),nTv.Jc=function(n){KA(this,n)},nTv.Kc=function(){return new h1(this.a)},nTv.Ib=function(){return"L_"+Hb(this.b.b,this,0)+ntK(this.a)},AY(nw2,"Layer",29),nrr(1342,1,{},w4),AY(nda,ndu,1342),nrr(1346,1,{},tD),nTv.Kb=function(n){return ntr(Im(n,82))},AY(nda,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),nrr(1349,1,{},tx),nTv.Kb=function(n){return ntr(Im(n,82))},AY(nda,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),nrr(1343,1,nhZ,fB),nTv.td=function(n){niz(this.a,Im(n,118))},AY(nda,ndo,1343),nrr(1344,1,nhZ,fq),nTv.td=function(n){niz(this.a,Im(n,118))},AY(nda,nds,1344),nrr(1345,1,{},tR),nTv.Kb=function(n){var t;return new CN(null,new D6(((t=Im(n,79)).c||(t.c=new Ph(nCO,t,5,8)),t.c),16))},AY(nda,ndh,1345),nrr(1347,1,nfb,fG),nTv.Mb=function(n){var t;return t=this.a,Bx(Im(n,33),L8(t))},AY(nda,ndf,1347),nrr(1348,1,{},tK),nTv.Kb=function(n){var t;return new CN(null,new D6(((t=Im(n,79)).b||(t.b=new Ph(nCO,t,4,7)),t.b),16))},AY(nda,"ElkGraphImporter/lambda$5$Type",1348),nrr(1350,1,nfb,fz),nTv.Mb=function(n){var t;return t=this.a,Bx(Im(n,33),L8(t))},AY(nda,"ElkGraphImporter/lambda$7$Type",1350),nrr(1351,1,nfb,tF),nTv.Mb=function(n){var t;return niM(t=Im(n,79))&&gm(So(nrM(t,(ns8(),nKz))))},AY(nda,"ElkGraphImporter/lambda$8$Type",1351),nrr(1278,1,{},sf),AY(nda,"ElkGraphLayoutTransferrer",1278),nrr(1279,1,nfb,fU),nTv.Mb=function(n){var t,e;return t=this.a,e=Im(n,17),v1(),!zR(e.d.i,t)},AY(nda,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),nrr(1280,1,nhZ,fX),nTv.td=function(n){v1(),IE(this.a,Im(n,17))},AY(nda,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),nrr(1281,1,nfb,fW),nTv.Mb=function(n){var t,e;return t=this.a,e=Im(n,17),v1(),zR(e.d.i,t)},AY(nda,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),nrr(1282,1,nhZ,fV),nTv.td=function(n){v1(),IE(this.a,Im(n,17))},AY(nda,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),nrr(1485,1,nw0,t_),nTv.pf=function(n,t){var e;e=Im(n,37),ntc(t,ndl,1),vF(HV(new CN(null,new D6(e.b,16)),new tH),new tB),nee(t)},AY(ndb,"CommentNodeMarginCalculator",1485),nrr(1486,1,{},tH),nTv.Kb=function(n){return new CN(null,new D6(Im(n,29).a,16))},AY(ndb,"CommentNodeMarginCalculator/lambda$0$Type",1486),nrr(1487,1,nhZ,tB),nTv.td=function(n){!function(n){var t,e,i,r,c,a,u,o,s,h,f,l;if(u=n.d,f=Im(ntP(n,(nhu(),nDz)),15),t=Im(ntP(n,nLZ),15),f||t){if(c=gy(Ss(QR(n,(ns8(),nFR)))),a=gy(Ss(QR(n,nFK))),l=0,f){for(s=0,r=f.Kc();r.Ob();)i=Im(r.Pb(),10),s=nTp.Math.max(s,i.o.b),l+=i.o.a;l+=c*(f.gc()-1),u.d+=s+a}if(e=0,t){for(s=0,r=t.Kc();r.Ob();)i=Im(r.Pb(),10),s=nTp.Math.max(s,i.o.b),e+=i.o.a;e+=c*(t.gc()-1),u.a+=s+a}(o=nTp.Math.max(l,e))>n.o.a&&(h=(o-n.o.a)/2,u.b=nTp.Math.max(u.b,h),u.c=nTp.Math.max(u.c,h))}}(Im(n,10))},AY(ndb,"CommentNodeMarginCalculator/lambda$1$Type",1487),nrr(1488,1,nw0,tq),nTv.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o;for(ntc(t,"Comment post-processing",1),c=new h1(n.b);c.a=i.o.b/2}(p?(g=Im(ntP(i,(nhu(),nDz)),15))?l?c=g:(r=Im(ntP(i,nLZ),15))?c=g.gc()<=r.gc()?g:r:(c=new wn,UU(i,nLZ,c)):(c=new wn,UU(i,nDz,c)):(r=Im(ntP(i,(nhu(),nLZ)),15))?f?c=r:(g=Im(ntP(i,nDz),15))?c=r.gc()<=g.gc()?r:g:(c=new wn,UU(i,nDz,c)):(c=new wn,UU(i,nLZ,c)),c.Fc(n),UU(n,(nhu(),nL0),e),t.d==e)?(Dj(t,null),e.e.c.length+e.g.c.length==0&&DM(e,null),(v=Im(ntP(e,(nhu(),nDO)),10))&&(Hh((m=v.c).a,v),0==m.a.c.length&&Hh($N(v).b,m))):(DE(t,null),e.e.c.length+e.g.c.length==0&&DM(e,null)),Nq(t.a)})(u,i,s,s.i),AE(o)}t.n&&IJ(t,"Found "+e+" comment boxes"),nee(t)}(Im(n,37),t)},AY(ndb,"CommentPreprocessor",1489),nrr(1490,1,nw0,tz),nTv.pf=function(n,t){!function(n,t){var e,i,r,c,a,u;for(ntc(t,"Constraints Postprocessor",1),a=0,c=new h1(n.b);c.a0||h.j==nWQ&&h.e.c.length-h.g.c.length<0)){t=!1;break}for(r=new h1(h.g);r.a=2})(i=Im(xe(r),11))&&(t||(function(n){var t,e,i,r,c;for(e=0,t=new h1(n.b);t.a=t.d.a.gc()){a=new kp((c=t.a.c)+(t.a.c+t.a.b-c)/2,t.b),I2(Im(t.d.a.ec().Kc().Pb(),17).a,a);continue}if((r=Im($a(t.c,e),459)).b||r.c){!function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;s=e.a.c,a=e.a.c+e.a.b,l=(c=Im($a(e.c,t),459)).f,b=c.a,u=c.b?new kp(a,l):new kp(s,l),h=c.c?new kp(s,b):new kp(a,b),r=s,e.p||(r+=n.c),r+=e.F+e.v*n.b,o=new kp(r,l),f=new kp(r,b),qN(t.a,Um(Dg(nCc,1),nhQ,8,0,[u,o])),e.d.a.gc()>1&&(i=new kp(r,e.b),I2(t.a,i)),qN(t.a,Um(Dg(nCc,1),nhQ,8,0,[f,h]))}(n,e,t);continue}n.d==(XJ(),n_4)&&(r.d||r.e)&&function(n,t){var e,i,r,c;return n.a==(ntW(),nLP)||(r=t.a.c,e=t.a.c+t.a.b,(!t.j||(c=(i=t.A).c.c.a-i.o.a/2,!(r-(i.n.a+i.o.a)>c)))&&(!t.q||(c=(i=t.C).c.c.a-i.o.a/2,!(i.n.a-e>c))))}(n,t)&&1>=t.d.a.gc()?function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;u=Im($a(t.c,n),459),g=t.a.c,o=t.a.c+t.a.b,a=(E=u.f)<(T=u.a),b=new kp(g,E),p=new kp(o,T),w=new kp(r=(g+o)/2,E),v=new kp(r,T),c=function(n,t,e){var i,r,c;if(i=0,r=0,n.c)for(c=new h1(n.d.i.j);c.an))return 0==t||t==n?1:0==n?0:nnp(n)/(nnp(t)*nnp(n-t));throw new gd("k must be smaller than n").e}(r,i)*WA(1-n,r-i)*WA(n,i),a+=c.a*e,u+=c.b*e;return new kp(a,u)}(i,n);return e}(Um(Dg(nCc,1),nhQ,8,0,[y,k,j])),f=!1,(d=t.B.i)&&d.c&&u.d&&((s=a&&d.p0)?s&&(h=d.p,a?++h:--h,f=!(nca(i=UB(Im(CA(d.c.a,h),10)),y,e[0])||OV(i,y,e[0]))):f=!0),l=!1,(m=t.D.i)&&m.c&&u.e&&(a&&m.p>0||!a&&m.p1&&(i=new kp(r,e.b),I2(t.a,i)),qN(t.a,Um(Dg(nCc,1),nhQ,8,0,[f,h]))}(n,e,t)}t.k&&KA(t.d,new ee)}}(this.a,Im(n,128))},AY(ndb,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),nrr(1509,1,nhZ,ee),nTv.td=function(n){ne_(Im(n,17).a)},AY(ndb,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),nrr(792,1,nw0,fZ),nTv.pf=function(n,t){!function(n,t,e){var i,r;for(ntc(e,"Graph transformation ("+n.a+")",1),r=xa(t.a),i=new h1(t.b);i.at.a&&(i.Hc((nnF(),nz3))?n.c.a+=(e.a-t.a)/2:i.Hc(nz5)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((nnF(),nz8))?n.c.b+=(e.b-t.b)/2:i.Hc(nz6)&&(n.c.b+=e.b-t.b)),Im(ntP(n,(nhu(),nDa)),21).Hc((ncJ(),nLN))&&(e.a>t.a||e.b>t.b))for(a=new h1(n.a);a.a0&&(n.a=u+(l-1)*r,t.c.b+=n.a,t.f.b+=n.a),0!=b.a.gc()&&(l=nsi(new AU(1,r),t,b,w,t.f.b+u-t.c.b))>0&&(t.f.b+=u+(l-1)*r)}(this,e,i),function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(m=new wn,f=new h1(n.b);f.a0&&na7((D4(0,i.c.length),Im(i.c[0],29)),e),i.c.length>1&&na7(Im(CA(i,i.c.length-1),29),e),nee(t)},AY(ndb,"HierarchicalPortPositionProcessor",1517),nrr(1518,1,nw0,sl),nTv.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T;for(n.b=t,n.a=Im(ntP(t,(ns8(),nK_)),19).a,n.c=Im(ntP(t,nKB),19).a,0==n.c&&(n.c=nhT),d=new Rn(t.b,0);d.b=n.a&&(i=function(n,t){var e,i,r,c,a,u,o,h;for(e=new ef,r=new OM(Tx(VG(t).a.Kc(),new s));nrc(r);)if(!KR(i=Im(K4(r),17))&&nn4(u=i.c.i,nA7)){if(-1==(h=nai(n,u,nA7,nA9)))continue;e.b=nTp.Math.max(e.b,h),e.a||(e.a=new wn),IE(e.a,u)}for(a=new OM(Tx(Vz(t).a.Kc(),new s));nrc(a);)if(!KR(c=Im(K4(a),17))&&nn4(o=c.d.i,nA9)){if(-1==(h=nai(n,o,nA9,nA7)))continue;e.d=nTp.Math.max(e.d,h),e.c||(e.c=new wn),IE(e.c,o)}return e}(n,p),f=nTp.Math.max(f,i.b),m=nTp.Math.max(m,i.d),IE(u,new k_(p,i)));for(h=0,j=new wn;h0),d.a.Xb(d.c=--d.b),SB(d,E=new $o(n.b)),MK(d.b1&&(a=nTp.Math.min(a,nTp.Math.abs(Im(J7(u.a,1),8).b-h.b)))));else for(w=new h1(t.j);w.ar&&(c=l.a-r,a=nhT,i.c=_f(nEU,nhO,1,0,5,1),r=l.a),l.a>=r&&(i.c[i.c.length]=u,u.a.b>1&&(a=nTp.Math.min(a,nTp.Math.abs(Im(J7(u.a,u.a.b-2),8).b-l.b)))));if(0!=i.c.length&&c>t.o.a/2&&a>t.o.b/2){for(DM(b=new nt9,t),ne9(b,(nsR(),nWA)),b.n.a=t.o.a/2,DM(d=new nt9,t),ne9(d,nWW),d.n.a=t.o.a/2,d.n.b=t.o.b,o=new h1(i);o.a=s.b?DE(u,d):DE(u,b)):(s=Im((MK(0!=(g=u.a).b),BK(g,g.c.b)),8),(0==u.a.b?D9(u.c):Im(MC(u.a),8)).b>=s.b?Dj(u,d):Dj(u,b)),(f=Im(ntP(u,(ns8(),nKW)),74))&&Qg(f,s,!0);t.n.a=r-t.o.a/2}}(n,c,r<=o)}nee(t)}(Im(n,37),t)},AY(ndb,"HypernodesProcessor",1530),nrr(1531,1,nw0,em),nTv.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o,s,h;for(ntc(t,"Layer constraint edge reversal",1),a=new h1(n.b);a.a0&&IE(n.p,f),IE(n.o,f);t-=i,w=o+t,h+=t*n.e,KL(n.a,u,Va(w)),KL(n.b,u,h),n.j=nTp.Math.max(n.j,w),n.k=nTp.Math.max(n.k,h),n.d+=t,t+=g}}(n),n.q=Im(ntP(t,(ns8(),nK2)),260),f=Im(ntP(n.g,nK0),19).a,c=new eB,n.q.g){case 2:case 1:default:noO(n,c);break;case 3:for(n.q=(nco(),n_x),noO(n,c),o=0,u=new h1(n.a);u.an.j&&(n.q=n_O,noO(n,c));break;case 4:for(n.q=(nco(),n_x),noO(n,c),h=0,r=new h1(n.b);r.an.k&&(n.q=n_N,noO(n,c));break;case 6:b=LU(nTp.Math.ceil(n.f.length*f/100)),noO(n,new f4(b));break;case 5:l=LU(nTp.Math.ceil(n.d*f/100)),noO(n,new f5(l))}(function(n,t){var e,i,r,c,a,u;for(e=0,r=new wn;e<=n.i;e++)(i=new $o(t)).p=n.i-e,r.c[r.c.length]=i;for(u=new h1(n.o);u.a=2){for(b=!0,e=Im(xe(h=new h1(r.j)),11),f=null;h.a0&&c>0?a.p=t++:i>0?a.p=e++:c>0?a.p=r++:a.p=e++}NV(),E_(n.j,new ez)}(h),UU(h,(nhu(),nDf),h),w.c=_f(nEU,nhO,1,0,5,1),m.c=_f(nEU,nhO,1,0,5,1),e=new wn,GW(v=new vK,nen(h,(nsR(),nWA))),ns0(n,v,w,m,e),u=g,c=new h1(w);c.a0)},AY(ndb,"PartitionPreprocessor/lambda$2$Type",1577),nrr(1578,1,nhZ,eZ),nTv.td=function(n){var t,e;nuQ(t=Im(n,17),!0),e=nfS,MB(t,(ns8(),nFA))&&(e+=Im(ntP(t,nFA),19).a),UU(t,nFA,Va(e))},AY(ndb,"PartitionPreprocessor/lambda$3$Type",1578),nrr(1579,1,nw0,sy),nTv.pf=function(n,t){!function(n,t){var e,i,r,c,a,u;for(ntc(t,"Port order processing",1),u=Im(ntP(n,(ns8(),nFI)),421),e=new h1(n.b);e.a0);e++);if(e>0&&e0);t++);return t>0&&es&&(o=e,h=r,s=i);t.a=h,t.c=o}(n,r)}!function(n){var t,e;for(t=n.a.d.j,e=n.c.d.j;t!=e;)Gv(n.b,t),t=Vp(t);Gv(n.b,t)}(r)}n.a=null}(t.a,i),function(n){var t,e;for(function(n){var t,e,i,r,c,a,u,o,s,h,f;for(e=null,u=null,(r=Im(ntP(n.b,(ns8(),nKN)),376))==(FA(),n_Z)&&(e=new wn,u=new wn),a=new h1(n.d);a.a=a)}(o,s),t[o.i.c][s.i.c]=i,t[s.i.c][o.i.c]=i);return t}(i),function(n,t,e){var i,r,c,a,u,o,s;for(s=t.d,n.a=new Fq(s.c.length),n.c=new wt,u=new h1(s);u.a0&&UN(o,!0,(W2(),nXI)),a.k==(ntY(),nAz)&&Nt(o),$J(n.f,a,t)}}(c),function(n){var t,e,i;switch((t=Im(ntP(n.d,(ns8(),nKC)),218)).g){case 2:e=function(n){var t,e,i,r,c,a,u,o,h,f,l,b,w,d,g;for(d=new wn,l=new h1(n.d.b);l.ar.d.d+r.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))),i.b!=i.d.c&&(t=e);f&&(c=Im($a(n.f,a.d.i),57),t.bc.d.d+c.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))}for(u=new OM(Tx(VG(b).a.Kc(),new s));nrc(u);)0!=(a=Im(K4(u),17)).a.b&&(t=Im(MC(a.a),8),a.d.j==(nsR(),nWA)&&((g=new nu9(t,new kp(t.a,r.d.d),r,a)).f.a=!0,g.a=a.d,d.c[d.c.length]=g),a.d.j==nWW&&((g=new nu9(t,new kp(t.a,r.d.d+r.d.a),r,a)).f.d=!0,g.a=a.d,d.c[d.c.length]=g))}return d}(n);break;case 3:i=new wn,vF(Nb(Nw(HV(HV(new CN(null,new D6(n.d.b,16)),new i1),new i0),new i2),new iH),new lw(i)),e=i;break;default:throw new gg("Compaction not supported for "+t+" edges.").e}(function(n,t){var e,i,r,c,a,u,o,s,h;if(0!=t.c.length){for(NV(),C3(t.c,t.c.length,null),i=Im(xe(r=new h1(t)),145);r.a=n.gc())return null;for(e=t;et.d.c){if((b=n.c[t.a.d])==(g=n.c[f.a.d]))continue;nck(vB(vH(vq(v_(new wz,1),100),b),g))}}}}}(this),function(n){var t,e,i,r,c,a,u;for(c=new vK,r=new h1(n.d.a);r.a1)for(t=Mt((e=new wU,++n.b,e),n.d),u=Jz(c,0);u.b!=u.d.c;)a=Im(RP(u),121),nck(vB(vH(vq(v_(new wz,1),0),t),a))}(this),na5(P8(this.d),new dH),r=new h1(this.a.a.b);r.a=d&&(IE(c,Va(h)),v=nTp.Math.max(v,m[h-1]-f),u+=w,g+=m[h-1]-g,f=m[h-1],w=o[h]),w=nTp.Math.max(w,o[h]),++h;u+=w}(b=nTp.Math.min(1/v,1/t.b/u))>i&&(i=b,e=c)}return e},nTv.Wf=function(){return!1},AY(ndO,"MSDCutIndexHeuristic",802),nrr(1617,1,nw0,r_),nTv.pf=function(n,t){!function(n,t){var e,i,r,c;if(ntc(t,"Path-Like Graph Wrapping",1),0==n.b.c.length||(null==(r=new nrb(n)).i&&(r.i=GY(r,new rD)),e=gy(r.i)*r.f/(null==r.i&&(r.i=GY(r,new rD)),gy(r.i)),r.b>e)){nee(t);return}switch(Im(ntP(n,(ns8(),nF8)),337).g){case 2:c=new rK;break;case 0:c=new rI;break;default:c=new rF}if(i=c.Vf(n,r),!c.Wf())switch(Im(ntP(n,n_i),338).g){case 2:i=ne7(r,i);break;case 1:i=nto(r,i)}(function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;if(!e.dc()){for(a=0,h=0,l=Im((i=e.Kc()).Pb(),19).a;a=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),Va(-1)),nzA),nTc),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ndJ),ngU),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Va(-1)),nzA),nTc),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ndY),ngX),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),Va(4)),nzA),nTc),Vx(nzT)))),xW(n,ndY,ndW,nx2),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ndZ),ngX),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),Va(2)),nzA),nTc),Vx(nzT)))),xW(n,ndZ,ndW,nx4),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd1),ngW),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),nx8),nzC),nIp),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd0),ngW),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),Va(0)),nzA),nTc),Vx(nzT)))),xW(n,nd0,nd1,null),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd2),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),Va(nhT)),nzA),nTc),Vx(nzT)))),xW(n,nd2,ndW,nxQ),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd3),ngV),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),nxm),nzC),nP7),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd4),ngV),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd5),ngV),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),nzI),nTi),Vx(nzT)))),xW(n,nd5,ngQ,nxb),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd6),ngV),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),nzP),nTn),Vx(nzT)))),xW(n,nd6,nd3,nxp),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd8),ngV),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),Va(-1)),nzA),nTc),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd9),ngV),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),Va(-1)),nzA),nTc),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nd7),ngJ),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),Va(40)),nzA),nTc),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngn),ngJ),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),nxh),nzC),nIs),Vx(nzT)))),xW(n,ngn,nd3,nxf),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngt),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),nxa),nzC),nIs),Vx(nzT)))),xW(n,ngt,nd3,nxu),xW(n,ngt,ngQ,nxo),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nge),ngY),"Node Placement Strategy"),"Strategy for node placement."),nRm),nzC),nIg),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,ngi),ngY),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),nzP),nTn),Vx(nzT)))),xW(n,ngi,nge,nRs),xW(n,ngi,nge,nRh),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngr),ngZ),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),nRi),nzC),nIc),Vx(nzT)))),xW(n,ngr,nge,nRr),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngc),ngZ),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),nRa),nzC),nIa),Vx(nzT)))),xW(n,ngc,nge,nRu),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nga),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),nzI),nTi),Vx(nzT)))),xW(n,nga,nge,nRl),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,ngu),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),nzC),nId),Vx(nzE)))),xW(n,ngu,nge,nRp),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngo),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),nRd),nzC),nId),Vx(nzT)))),xW(n,ngo,nge,nRg),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngs),ng1),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),nxA),nzC),nIk),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngh),ng1),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),nxN),nzC),nIj),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngf),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),nxD),nzC),nIE),Vx(nzT)))),xW(n,ngf,ng0,nxx),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngl),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),nzI),nTi),Vx(nzT)))),xW(n,ngl,ng0,nxK),xW(n,ngl,ngf,nxF),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngb),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),nzI),nTi),Vx(nzT)))),xW(n,ngb,ng0,nxC),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,ngw),ng2),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngd),ng2),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngg),ng2),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngp),ng2),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngv),ng3),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),Va(0)),nzA),nTc),Vx(nzk)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngm),ng3),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),Va(0)),nzA),nTc),Vx(nzk)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngy),ng3),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),Va(0)),nzA),nTc),Vx(nzk)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngk),ng4),nbX),"Tries to further compact components (disconnected sub-graphs)."),!1),nzP),nTn),Vx(nzT)))),xW(n,ngk,nwj,!0),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngj),ng5),"Post Compaction Strategy"),ng6),nD3),nzC),nIu),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngE),ng5),"Post Compaction Constraint Calculation"),ng6),nD0),nzC),nP9),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngT),ng8),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngM),ng8),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),Va(16)),nzA),nTc),Vx(nzT)))),xW(n,ngM,ngT,!0),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngS),ng8),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),Va(5)),nzA),nTc),Vx(nzT)))),xW(n,ngS,ngT,!0),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngP),ng9),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),nRZ),nzC),nIM),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngI),ng9),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),nzI),nTi),Vx(nzT)))),xW(n,ngI,ngP,nR$),xW(n,ngI,ngP,nRN),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngC),ng9),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),nzI),nTi),Vx(nzT)))),xW(n,ngC,ngP,nRD),xW(n,ngC,ngP,nRx),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngO),ng7),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),nRq),nzC),nIn),Vx(nzT)))),xW(n,ngO,ngP,nRG),xW(n,ngO,ngP,nRz),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,ngA),ng7),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),nz$),nEY),Vx(nzT)))),xW(n,ngA,ngO,nRK),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ng$),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),nR_),nzA),nTc),Vx(nzT)))),xW(n,ng$,ngO,nRH),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngN),npn),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),nR4),nzC),nIT),Vx(nzT)))),xW(n,ngN,ngP,nR5),xW(n,ngN,ngP,nR6),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,ngL),npn),"Valid Indices for Wrapping"),null),nz$),nEY),Vx(nzT)))),xW(n,ngL,ngP,nR0),xW(n,ngL,ngP,nR2),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngD),npt),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),nzP),nTn),Vx(nzT)))),xW(n,ngD,ngP,nRV),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngx),npt),"Distance Penalty When Improving Cuts"),null),2),nzI),nTi),Vx(nzT)))),xW(n,ngx,ngP,nRX),xW(n,ngx,ngD,!0),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngR),npt),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),nzP),nTn),Vx(nzT)))),xW(n,ngR,ngP,nRJ),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngK),npe),"Edge Label Side Selection"),"Method to decide on edge label sides."),nxP),nzC),nIr),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngF),npe),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),nxM),nzC),nP8),C6(nzT,Um(Dg(nCi,1),nfs,175,0,[nzj]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ng_),npi),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),nxe),nzC),nIv),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngH),npi),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),nzP),nTn),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngB),npi),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),nD5),nzC),nPG),Vx(nzT)))),xW(n,ngB,nwj,null),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngq),npi),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),nD7),nzC),nIw),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngG),npi),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),nzI),nTi),Vx(nzT)))),xW(n,ngG,ng_,null),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngz),npi),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),nzI),nTi),Vx(nzT)))),xW(n,ngz,ng_,null),nhb((new sP,n))},AY(ndA,"LayeredMetaDataProvider",848),nrr(986,1,nbu,sP),nTv.Qe=function(n){nhb(n)},AY(ndA,"LayeredOptions",986),nrr(987,1,{},rB),nTv.$e=function(){return new wV},nTv._e=function(n){},AY(ndA,"LayeredOptions/LayeredFactory",987),nrr(1372,1,{}),nTv.a=0,AY(npz,"ElkSpacings/AbstractSpacingsBuilder",1372),nrr(779,1372,{},Qs),AY(ndA,"LayeredSpacings/LayeredSpacingsBuilder",779),nrr(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},yN),nTv.Kf=function(){return nrX(this)},nTv.Xf=function(){return nrX(this)};var nIb=qE(ndA,"LayeringStrategy",313,nE0,function(){return ntt(),Um(Dg(nIb,1),nfs,313,0,[n_f,n_s,n_u,n_o,n_l,n_h])},function(n){return ntt(),H5((qn(),n_b),n)});nrr(378,22,{3:1,35:1,22:1,378:1},yL);var nIw=qE(ndA,"LongEdgeOrderingStrategy",378,nE0,function(){return Wf(),Um(Dg(nIw,1),nfs,378,0,[n_w,n_d,n_g])},function(n){return Wf(),H5((F2(),n_p),n)});nrr(197,22,{3:1,35:1,22:1,197:1},yD);var nId=qE(ndA,"NodeFlexibility",197,nE0,function(){return Yp(),Um(Dg(nId,1),nfs,197,0,[n_y,n_k,n_m,n_v])},function(n){return Yp(),H5((Ht(),n_j),n)});nrr(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},yx),nTv.Kf=function(){return nrv(this)},nTv.Xf=function(){return nrv(this)};var nIg=qE(ndA,"NodePlacementStrategy",315,nE0,function(){return YN(),Um(Dg(nIg,1),nfs,315,0,[n_P,n_T,n_M,n_E,n_S])},function(n){return YN(),H5((Bi(),n_I),n)});nrr(260,22,{3:1,35:1,22:1,260:1},yK);var nIp=qE(ndA,"NodePromotionStrategy",260,nE0,function(){return nco(),Um(Dg(nIp,1),nfs,260,0,[n_D,n_O,n_N,n_A,n_$,n_C,n_L,n_x])},function(n){return nco(),H5((zv(),n_R),n)});nrr(339,22,{3:1,35:1,22:1,339:1},yF);var nIv=qE(ndA,"OrderingStrategy",339,nE0,function(){return U1(),Um(Dg(nIv,1),nfs,339,0,[n_F,n_K,n__])},function(n){return U1(),H5((F4(),n_H),n)});nrr(421,22,{3:1,35:1,22:1,421:1},y_);var nIm=qE(ndA,"PortSortingStrategy",421,nE0,function(){return HL(),Um(Dg(nIm,1),nfs,421,0,[n_B,n_q])},function(n){return HL(),H5((Kw(),n_G),n)});nrr(452,22,{3:1,35:1,22:1,452:1},yH);var nIy=qE(ndA,"PortType",452,nE0,function(){return qF(),Um(Dg(nIy,1),nfs,452,0,[n_X,n_z,n_U])},function(n){return qF(),H5((F5(),n_W),n)});nrr(375,22,{3:1,35:1,22:1,375:1},yB);var nIk=qE(ndA,"SelfLoopDistributionStrategy",375,nE0,function(){return zp(),Um(Dg(nIk,1),nfs,375,0,[n_V,n_Q,n_J])},function(n){return zp(),H5((F3(),n_Y),n)});nrr(376,22,{3:1,35:1,22:1,376:1},yq);var nIj=qE(ndA,"SelfLoopOrderingStrategy",376,nE0,function(){return FA(),Um(Dg(nIj,1),nfs,376,0,[n_1,n_Z])},function(n){return FA(),H5((Kb(),n_0),n)});nrr(304,1,{304:1},no6),AY(ndA,"Spacings",304),nrr(336,22,{3:1,35:1,22:1,336:1},yG);var nIE=qE(ndA,"SplineRoutingMode",336,nE0,function(){return XJ(),Um(Dg(nIE,1),nfs,336,0,[n_2,n_3,n_4])},function(n){return XJ(),H5((F8(),n_5),n)});nrr(338,22,{3:1,35:1,22:1,338:1},yz);var nIT=qE(ndA,"ValidifyStrategy",338,nE0,function(){return G7(),Um(Dg(nIT,1),nfs,338,0,[n_9,n_6,n_8])},function(n){return G7(),H5((F9(),n_7),n)});nrr(377,22,{3:1,35:1,22:1,377:1},yU);var nIM=qE(ndA,"WrappingStrategy",377,nE0,function(){return UE(),Um(Dg(nIM,1),nfs,377,0,[nHt,nHe,nHn])},function(n){return UE(),H5((F6(),nHi),n)});nrr(1383,1,npW,sI),nTv.Yf=function(n){return Im(n,37),nHr},nTv.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,s,h;for(ntc(e,"Depth-first cycle removal",1),o=(s=t.a).c.length,n.c=new wn,n.d=_f(nYN,nbh,25,o,16,1),n.a=_f(nYN,nbh,25,o,16,1),n.b=new wn,c=0,u=new h1(s);u.a0?S+1:1);for(c=new h1(k.g);c.a0?S+1:1)}0==n.c[o]?I2(n.e,w):0==n.a[o]&&I2(n.f,w),++o}for(b=-1,l=1,h=new wn,n.d=Im(ntP(t,(nhu(),nDN)),230);A>0;){for(;0!=n.e.b;)I=Im(IF(n.e),10),n.b[I.p]=b--,na6(n,I),--A;for(;0!=n.f.b;)C=Im(IF(n.f),10),n.b[C.p]=l++,na6(n,C),--A;if(A>0){for(f=nfg,p=new h1(v);p.a=f&&(m>f&&(h.c=_f(nEU,nhO,1,0,5,1),f=m),h.c[h.c.length]=w);s=n.Zf(h),n.b[s.p]=l++,na6(n,s),--A}}for(o=0,P=v.c.length+1;on.b[O]&&(nuQ(i,!0),UU(t,nL6,(TX(),!0)));n.a=null,n.c=null,n.b=null,Nq(n.f),Nq(n.e),nee(e)}(this,Im(n,37),t)},nTv.Zf=function(n){return Im(CA(n,Yk(this.d,n.c.length)),10)},AY(npV,"GreedyCycleBreaker",782),nrr(1386,782,npW,k3),nTv.Zf=function(n){var t,e,i,r;for(r=null,t=nhT,i=new h1(n);i.a0&&function n(t,e,i){var r,c,a,u;for(e.p=-1,u=QT(e,(qF(),n_U)).Kc();u.Ob();)for(c=new h1(Im(u.Pb(),11).g);c.a0&&n(t,a,i));e.p=0}(n,u,h);for(r=new h1(h);r.a=j||!function(n,t){var e;for(e=new OM(Tx(Vz(n).a.Kc(),new s));nrc(e);)if(Im(K4(e),17).d.i.c==t)return!1;return!0}(v,i))&&(i=DJ(t,f)),DT(v,i),c=new OM(Tx(VG(v).a.Kc(),new s));nrc(c);)r=Im(K4(c),17),n.a[r.p]||(g=r.c.i,--n.e[g.p],0==n.e[g.p]&&_w(ntp(w,g)));for(h=f.c.length-1;h>=0;--h)IE(t.b,(D4(h,f.c.length),Im(f.c[h],29)));t.a.c=_f(nEU,nhO,1,0,5,1),nee(e)}(this,Im(n,37),t)},AY(npQ,"CoffmanGrahamLayerer",1389),nrr(1390,1,nlU,lj),nTv.ue=function(n,t){return function(n,t,e){var i,r,c,a,u,o;for(i=Im(Fl(n.c,t),15),r=Im(Fl(n.c,e),15),c=i.Zc(i.gc()),a=r.Zc(r.gc());c.Sb()&&a.Sb();)if((u=Im(c.Ub(),19))!=(o=Im(a.Ub(),19)))return EG(u.a,o.a);return c.Ob()||a.Ob()?c.Ob()?1:-1:0}(this.a,Im(n,10),Im(t,10))},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(npQ,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1390),nrr(1391,1,nlU,lE),nTv.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,10),r=Im(t,10),-EG(e.f[i.p],e.f[r.p])},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(npQ,"CoffmanGrahamLayerer/lambda$1$Type",1391),nrr(1392,1,npW,rq),nTv.Yf=function(n){return Im(n,37),Cg(Cg(Cg(new Rf,(ntI(),nAw),(nhs(),n$S)),nAd,n$D),nAg,n$L)},nTv.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(ntc(e,"Interactive node layering",1),i=new wn,b=new h1(t.a);b.a=o){MK(p.b>0),p.a.Xb(p.c=--p.b);break}d.a>s&&(r?(Uf(r.b,d.b),r.a=nTp.Math.max(r.a,d.a),$I(p)):(IE(d.b,f),d.c=nTp.Math.min(d.c,s),d.a=nTp.Math.max(d.a,o),r=d))}r||((r=new w6).c=s,r.a=o,SB(p,r),IE(r.b,f))}for(u=t.b,h=0,g=new h1(i);g.a=0)return r;for(c=1,a=new h1(e.j);a.a=d&&n.e[o.p]>b*n.b||v>=e*d)&&(f.c[f.c.length]=u,u=new wn,Gz(a,c),c.a.$b(),s-=h,l=nTp.Math.max(l,s*n.b+w),s+=v,p=v,v=0,h=0,w=0);return new k_(l,f)}(n,I,i,T,E)).a)),p=(b=Im(S.b,15)).gc(),(v1)for(d=_f(nY$,nfH,25,n.b.b.c.length,15,1),f=0,h=new h1(n.b.b);h.ai.p?-1:0},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(npQ,"StretchWidthLayerer/1",1394),nrr(402,1,npJ),nTv.Nf=function(n,t,e,i,r,c){},nTv._f=function(n,t,e){return nun(this,n,t,e)},nTv.Mf=function(){this.g=_f(nYR,npY,25,this.d,15,1),this.f=_f(nYR,npY,25,this.d,15,1)},nTv.Of=function(n,t){this.e[n]=_f(nY$,nfH,25,t[n].length,15,1)},nTv.Pf=function(n,t,e){e[n][t].p=t,this.e[n][t]=t},nTv.Qf=function(n,t,e,i){Im(CA(i[n][t].j,e),11).p=this.d++},nTv.b=0,nTv.c=0,nTv.d=0,AY(npZ,"AbstractBarycenterPortDistributor",402),nrr(1633,1,nlU,lM),nTv.ue=function(n,t){var e,i,r,c,a,u,o;return e=this.a,i=Im(n,11),r=Im(t,11),(u=i.j)!=(o=r.j)?u.g-o.g:(c=e.f[i.p],a=e.f[r.p],0==c&&0==a?0:0==c?-1:0==a?1:Vv(c,a))},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(npZ,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),nrr(817,1,ndM,Rw),nTv.Nf=function(n,t,e,i,r,c){},nTv.Pf=function(n,t,e){},nTv.Qf=function(n,t,e,i){},nTv.Lf=function(){return!1},nTv.Mf=function(){this.c=this.e.a,this.g=this.f.g},nTv.Of=function(n,t){t[n][0].c.p=n},nTv.Rf=function(){return!1},nTv.ag=function(n,t,e,i){e?nns(this,n):(nnj(this,n,i),nsb(this,n,t)),n.c.length>1&&(gm(So(ntP($N((D4(0,n.c.length),Im(n.c[0],10))),(ns8(),nKf))))?nrK(n,this.d,Im(this,660)):(NV(),E_(n,this.d)),z4(this.e,n))},nTv.Sf=function(n,t,e,i){var r,c,a,u,o,s,h;for(t!=CF(e,n.length)&&(c=n[t-(e?1:-1)],FK(this.f,c,e?(qF(),n_U):(qF(),n_z))),r=n[t][0],h=!i||r.k==(ntY(),nAz),s=Fs(n[t]),this.ag(s,h,!1,e),a=0,o=new h1(s);o.a"),n=14&&u<=16)?e.a._b(r)?(i.a?jP(i.a,i.b):i.a=new TV(i.d),jM(i.a,"[...]")):Fd(i,n(BJ(r),new CI(e))):Ti(r,177)?Fd(i,function(n){var t,e,i,r;if(null==n)return nhN;for(e=0,r=new zV(nhI,"[","]"),i=n.length;e0?Ds(this.a,n[t-1],n[t]):!e&&tc})(n,Im(u.Xb(c),11),Im(u.Xb(c+1),11),i)&&(a=!0,xw(n.a,Im(u.Xb(c),11),Im(u.Xb(c+1),11)),o=Im(u.Xb(c+1),11),u._c(c+1,Im(u.Xb(c),11)),u._c(c,o),r=!0);while(r);return a}(n,u,f,l));return r}(this,n,t,e)},nTv.Mf=function(){this.d=_f(nY$,nfH,25,this.c,15,1),this.a=new Px(this.d)},nTv.Pf=function(n,t,e){var i;i=e[n][t],this.c+=i.j.c.length},nTv.c=0,AY(npZ,"GreedyPortDistributor",1832),nrr(1401,1,npW,sC),nTv.Yf=function(n){var t,e;return t=Im(n,37),e=Eo(nHb),Im(ntP(t,(nhu(),nDa)),21).Hc((ncJ(),nLx))&&Cg(e,(ntI(),nAg),(nhs(),n$U)),e},nTv.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;for(ntc(t,"Interactive crossing minimization",1),a=0,c=new h1(n.b);c.a0&&(e+=o.n.a+o.o.a/2,++f),b=new h1(o.j);b.a0&&(e/=f),g=_f(nYx,nlh,25,i.a.c.length,15,1),u=0,s=new h1(i.a);s.a=2){for(a=Im(RP(o=Jz(e,0)),8),u=Im(RP(o),8);u.a0&&(t.td(e),e.i&&function(n){var t;n.g&&(ncR((t=n.c.Rf()?n.f:n.a).a,n.o,!0),ncR(t.a,n.o,!1),UU(n.o,(ns8(),nFj),(nn2(),nWg)))}(e))}(r,a),function(n){var t,e,i;for(i=new h1(n.b);i.ar.p?(ne9(c,nWW),c.d&&(u=c.o.b,t=c.a.b,c.a.b=u-t)):c.j==nWW&&r.p>n.p&&(ne9(c,nWA),c.d&&(u=c.o.b,t=c.a.b,c.a.b=-(u-t)));break}return r}(e=Im(xe(i),10)),l.a.zc(f,l),l.a.zc(e,l)}for(o=l.a.ec().Kc();o.Ob();)u=Im(o.Pb(),10),NV(),E_(u.j,(XQ(),nNe)),u.i=!0,nii(u)}(t,e.j)}(n),nee(e)}(this,Im(n,37),t)},nTv.e=0,AY(npZ,"LayerSweepCrossingMinimizer",507),nrr(1398,1,nhZ,lA),nTv.td=function(n){!function(n,t){var e,i,r,c,a;if(Tc(n.d,CZ(xi(OK(a=n.e,24),nlO)),CZ(xi(a,nlO))),n.c.a.$b(),0!=gy(Ss(ntP(t.j,(ns8(),nKc))))||0!=gy(Ss(ntP(t.j,nKc))))for(e=nwn,jf(ntP(t.j,nKs))!==jf((U1(),n_F))&&UU(t.j,(nhu(),nDc),(TX(),!0)),c=Im(ntP(t.j,nF0),19).a,r=0;re);return r}(n,t))1&&(gm(So(ntP($N((D4(0,n.c.length),Im(n.c[0],10))),(ns8(),nKf))))?nrK(n,this.d,this):(NV(),E_(n,this.d)),gm(So(ntP($N((D4(0,n.c.length),Im(n.c[0],10))),nKf)))||z4(this.e,n))},AY(npZ,"ModelOrderBarycenterHeuristic",660),nrr(1803,1,nlU,lL),nTv.ue=function(n,t){var e,i,r,c,a,u,o,s;return 0!=(c=function(n,t,e){if(Au(n.a,t)){if(v$(Im($a(n.a,t),53),e))return 1}else $J(n.a,t,new w_);if(Au(n.a,e)){if(v$(Im($a(n.a,e),53),t))return -1}else $J(n.a,e,new w_);if(Au(n.b,t)){if(v$(Im($a(n.b,t),53),e))return -1}else $J(n.b,t,new w_);if(Au(n.b,e)){if(v$(Im($a(n.b,e),53),t))return 1}else $J(n.b,e,new w_);return 0}(e=this.a,i=Im(n,10),r=Im(t,10)))?c:MB(i,(nhu(),nDk))&&MB(r,nDk)?((a=EG(Im(ntP(i,nDk),19).a,Im(ntP(r,nDk),19).a))<0?na_(e,i,r):a>0&&na_(e,r,i),a):(u=e.c[i.c.p][i.p],o=e.c[r.c.p][r.p],null!=u.a&&null!=o.a)?((s=O_(u.a,o.a))<0?na_(e,i,r):s>0&&na_(e,r,i),s):null!=u.a?(na_(e,i,r),-1):null!=o.a?(na_(e,r,i),1):0},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(npZ,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),nrr(1403,1,npW,sx),nTv.Yf=function(n){var t;return Im(n,37),Cg(t=Eo(nHm),(ntI(),nAg),(nhs(),n$U)),t},nTv.pf=function(n,t){ntc((Im(n,37),t),"No crossing minimization",1),nee(t)},AY(npZ,"NoCrossingMinimizer",1403),nrr(796,402,npJ,pe),nTv.$f=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b;switch(f=this.g,e.g){case 1:for(r=0,c=0,h=new h1(n.j);h.a1&&(r.j==(nsR(),nWO)?this.b[n]=!0:r.j==nWQ&&n>0&&(this.b[n-1]=!0))},nTv.f=0,AY(ndT,"AllCrossingsCounter",1798),nrr(587,1,{},GM),nTv.b=0,nTv.d=0,AY(ndT,"BinaryIndexedTree",587),nrr(524,1,{},Px),AY(ndT,"CrossingsCounter",524),nrr(1906,1,nlU,lD),nTv.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,11),r=Im(t,11),EG(e.d[i.p],e.d[r.p])},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(ndT,"CrossingsCounter/lambda$0$Type",1906),nrr(1907,1,nlU,lx),nTv.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,11),r=Im(t,11),EG(e.d[i.p],e.d[r.p])},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(ndT,"CrossingsCounter/lambda$1$Type",1907),nrr(1908,1,nlU,lR),nTv.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,11),r=Im(t,11),EG(e.d[i.p],e.d[r.p])},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(ndT,"CrossingsCounter/lambda$2$Type",1908),nrr(1909,1,nlU,lK),nTv.ue=function(n,t){var e,i,r;return e=this.a,i=Im(n,11),r=Im(t,11),EG(e.d[i.p],e.d[r.p])},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(ndT,"CrossingsCounter/lambda$3$Type",1909),nrr(1910,1,nhZ,lF),nTv.td=function(n){var t,e;t=this.a,e=Im(n,11),Ix(),IE(t,new k_(e,Va(e.e.c.length+e.g.c.length)))},AY(ndT,"CrossingsCounter/lambda$4$Type",1910),nrr(1911,1,nfb,l_),nTv.Mb=function(n){var t,e;return t=this.a,e=Im(n,11),Ix(),e!=t},AY(ndT,"CrossingsCounter/lambda$5$Type",1911),nrr(1912,1,nhZ,lH),nTv.td=function(n){k1(this,n)},AY(ndT,"CrossingsCounter/lambda$6$Type",1912),nrr(1913,1,nhZ,yV),nTv.td=function(n){var t;Ix(),RC(this.b,(t=this.a,Im(n,11),t))},AY(ndT,"CrossingsCounter/lambda$7$Type",1913),nrr(826,1,nbn,rV),nTv.Lb=function(n){return Ix(),MB(Im(n,11),(nhu(),nDO))},nTv.Fb=function(n){return this===n},nTv.Mb=function(n){return Ix(),MB(Im(n,11),(nhu(),nDO))},AY(ndT,"CrossingsCounter/lambda$8$Type",826),nrr(1905,1,{},lB),AY(ndT,"HyperedgeCrossingsCounter",1905),nrr(467,1,{35:1,467:1},S1),nTv.wd=function(n){var t;return t=Im(n,467),this.et.e?1:this.ft.f?1:Xg(this)-Xg(t)},nTv.b=0,nTv.c=0,nTv.e=0,nTv.f=0;var nIO=AY(ndT,"HyperedgeCrossingsCounter/Hyperedge",467);nrr(362,1,{35:1,362:1},Nm),nTv.wd=function(n){return function(n,t){if(n.ct.c)return 1;if(n.bt.b)return 1;if(n.a!=t.a)return Xg(n.a)-Xg(t.a);if(n.d==(KI(),nHE)&&t.d==nHj)return -1;if(n.d==nHj&&t.d==nHE)return 1;return 0}(this,Im(n,362))},nTv.b=0,nTv.c=0;var nIA=AY(ndT,"HyperedgeCrossingsCounter/HyperedgeCorner",362);nrr(523,22,{3:1,35:1,22:1,523:1},yW);var nI$=qE(ndT,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,nE0,function(){return KI(),Um(Dg(nI$,1),nfs,523,0,[nHE,nHj])},function(n){return KI(),H5((Kv(),nHT),n)});nrr(1405,1,npW,sS),nTv.Yf=function(n){return Im(ntP(Im(n,37),(nhu(),nDa)),21).Hc((ncJ(),nLN))?nHM:null},nTv.pf=function(n,t){!function(n,t,e){var i;for(ntc(e,"Interactive node placement",1),n.a=Im(ntP(t,(nhu(),nDK)),304),i=new h1(t.b);i.a=0)return!1;if(e.p=i.b,IE(i.e,e),r==(ntY(),nAX)||r==nAV){for(c=new h1(e.j);c.a=0){for(o=null,u=new Rn(h.a,s+1);u.b0&&o[i]&&(w=EY(n.b,o[i],r)),d=nTp.Math.max(d,r.c.c.b+w);for(c=new h1(h.e);c.a=s&&k>=g&&(l+=w.n.b+d.n.b+d.a.b-y,++u));if(e)for(a=new h1(v.e);a.a=s&&k>=g&&(l+=w.n.b+d.n.b+d.a.b-y,++u))}u>0&&(j+=l/u,++b)}b>0?(t.a=r*j/b,t.g=b):(t.a=0,t.g=0)}(n,w,c,f,i),E+=nTp.Math.abs(w.a);do u=function(n,t){var e,i,r,c,a,u,o,s,h,f;for(e=!1,h=nfd*gy(Ss(ntP(t,(ns8(),nFQ)))),i=new h1(t.b);i.ac.n.b-c.d.d+o.a+h&&(f=u.g+o.g,o.a=(o.g*o.a+u.g*u.a)/f,o.g=f,u.f=o,e=!0)),r=c,u=o;return e}(n,t);while(u);for(d=n.a,p=0,m=d.length;pk)?(o=2,a=nhT):(o=0==o?1:0,a=E):(b=E>=a||a-E0?(h=Im(CA(f.c.a,c-1),10),E=EY(n.b,f,h),d=f.n.b-f.d.d-(h.n.b+h.o.b+h.d.a+E)):d=f.n.b-f.d.d,o=nTp.Math.min(d,o),c=o.c.c.length?RH((ntY(),nAW),nAX):RH((ntY(),nAX),nAX))*2,r=e.a.g,e.a.g=nTp.Math.max(r,r+(s-r)),c=e.b.g,e.b.g=nTp.Math.max(c,c+(s-c)),i=t}}(n),nee(c)),function(n){var t,e,i;for(e=0,i=new h1(n.a);i.a1&&function(n,t){var e,i,r;for(e=Mt(new wU,n),r=new h1(t);r.a1},AY(np1,"NetworkSimplexPlacer/lambda$18$Type",1431),nrr(1432,1,nhZ,Nk),nTv.td=function(n){var t,e,i,r,c;t=this.c,e=this.b,i=this.d,r=this.a,c=Im(n,401),Dx(),nck(vB(vH(v_(vq(new wz,0),c.d.e-t),e),c.d)),nck(vB(vH(v_(vq(new wz,0),i-c.a.e),c.a),r))},nTv.c=0,nTv.d=0,AY(np1,"NetworkSimplexPlacer/lambda$19$Type",1432),nrr(1415,1,{},r8),nTv.Kb=function(n){return Dx(),new CN(null,new D6(Im(n,29).a,16))},AY(np1,"NetworkSimplexPlacer/lambda$2$Type",1415),nrr(1433,1,nhZ,lU),nTv.td=function(n){var t,e;t=this.a,e=Im(n,11),Dx(),e.n.b+=t},nTv.a=0,AY(np1,"NetworkSimplexPlacer/lambda$20$Type",1433),nrr(1434,1,{},r9),nTv.Kb=function(n){return Dx(),new CN(null,new D6(Im(n,29).a,16))},AY(np1,"NetworkSimplexPlacer/lambda$21$Type",1434),nrr(1435,1,nhZ,lX),nTv.td=function(n){var t,e;t=this.a,e=Im(n,10),t.j[e.p]=function(n){var t,e,i,r;for(t=0,e=0,r=new h1(n.j);r.a1||e>1)return 2;return t+e==1?2:0}(e)},AY(np1,"NetworkSimplexPlacer/lambda$22$Type",1435),nrr(1436,1,nfb,r7),nTv.Mb=function(n){return Sj(n)},AY(np1,"NetworkSimplexPlacer/lambda$23$Type",1436),nrr(1437,1,{},cn),nTv.Kb=function(n){return Dx(),new CN(null,new D6(Im(n,29).a,16))},AY(np1,"NetworkSimplexPlacer/lambda$24$Type",1437),nrr(1438,1,nfb,lW),nTv.Mb=function(n){var t,e;return t=this.a,e=Im(n,10),2==t.j[e.p]},AY(np1,"NetworkSimplexPlacer/lambda$25$Type",1438),nrr(1439,1,nhZ,yY),nTv.td=function(n){!function(n,t,e){var i,r,c;for(r=new OM(Tx(Vq(e).a.Kc(),new s));nrc(r);)KR(i=Im(K4(r),17))||!KR(i)&&i.c.i.c==i.d.i.c||!((c=function n(t,e,i,r){var c,a,u;if(u=nny(e,i),r.c[r.c.length]=e,-1==t.j[u.p]||2==t.j[u.p]||t.a[e.p])return r;for(t.j[u.p]=-1,a=new OM(Tx(Vq(u).a.Kc(),new s));nrc(a);)if(!KR(c=Im(K4(a),17))&&!(!KR(c)&&c.c.i.c==c.d.i.c)&&c!=e)return n(t,c,u,r);return r}(n,i,e,new dn)).c.length>1)||(t.c[t.c.length]=c)}(this.a,this.b,Im(n,10))},AY(np1,"NetworkSimplexPlacer/lambda$26$Type",1439),nrr(1440,1,nfb,ct),nTv.Mb=function(n){return Dx(),!KR(Im(n,17))},AY(np1,"NetworkSimplexPlacer/lambda$27$Type",1440),nrr(1441,1,nfb,ce),nTv.Mb=function(n){return Dx(),!KR(Im(n,17))},AY(np1,"NetworkSimplexPlacer/lambda$28$Type",1441),nrr(1442,1,{},lV),nTv.Ce=function(n,t){var e;return function(n,t,e){var i,r,c,a,u,o,s,h;for(o=new wn,u=new h1(t.a);u.a0),c=Im(s.a.Xb(s.c=--s.b),17);c!=i&&s.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,MK(s.b>0),c=Im(s.a.Xb(s.c=--s.b),17);s.b>0&&$I(s)}}(this.a,Im(n,29),e=Im(t,29)),e},AY(np1,"NetworkSimplexPlacer/lambda$29$Type",1442),nrr(1416,1,{},ci),nTv.Kb=function(n){return Dx(),new CN(null,new A$(new OM(Tx(Vz(Im(n,10)).a.Kc(),new s))))},AY(np1,"NetworkSimplexPlacer/lambda$3$Type",1416),nrr(1417,1,nfb,cr),nTv.Mb=function(n){var t;return Dx(),t=Im(n,17),Dx(),!KR(t)&&!(!KR(t)&&t.c.i.c==t.d.i.c)},AY(np1,"NetworkSimplexPlacer/lambda$4$Type",1417),nrr(1418,1,nhZ,lQ),nTv.td=function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b;t=this.a,e=Im(n,17),i=Mt(new wU,t.f),o=t.i[e.c.i.p],l=t.i[e.d.i.p],u=e.c,f=e.d,a=u.a.b,h=f.a.b,o.b||(a+=u.n.b),l.b||(h+=f.n.b),s=LU(nTp.Math.max(0,a-h)),c=LU(nTp.Math.max(0,h-a)),b=nTp.Math.max(1,Im(ntP(e,(ns8(),nFN)),19).a)*RH(e.c.i.k,e.d.i.k),r=new yQ(nck(vB(vH(v_(vq(new wz,b),c),i),Im($a(t.k,e.c),121))),nck(vB(vH(v_(vq(new wz,b),s),i),Im($a(t.k,e.d),121)))),t.c[e.p]=r},AY(np1,"NetworkSimplexPlacer/lambda$5$Type",1418),nrr(1419,1,{},cc),nTv.Kb=function(n){return Dx(),new CN(null,new D6(Im(n,29).a,16))},AY(np1,"NetworkSimplexPlacer/lambda$6$Type",1419),nrr(1420,1,nfb,ca),nTv.Mb=function(n){return Dx(),Im(n,10).k==(ntY(),nAW)},AY(np1,"NetworkSimplexPlacer/lambda$7$Type",1420),nrr(1421,1,{},cu),nTv.Kb=function(n){return Dx(),new CN(null,new A$(new OM(Tx(Vq(Im(n,10)).a.Kc(),new s))))},AY(np1,"NetworkSimplexPlacer/lambda$8$Type",1421),nrr(1422,1,nfb,co),nTv.Mb=function(n){var t;return Dx(),!KR(t=Im(n,17))&&t.c.i.c==t.d.i.c},AY(np1,"NetworkSimplexPlacer/lambda$9$Type",1422),nrr(1404,1,npW,sB),nTv.Yf=function(n){return Im(ntP(Im(n,37),(nhu(),nDa)),21).Hc((ncJ(),nLN))?nHO:null},nTv.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o,s,h,f;for(ntc(t,"Simple node placement",1),f=Im(ntP(n,(nhu(),nDK)),304),u=0,c=new h1(n.b);c.aa&&(a=r,h.c=_f(nEU,nhO,1,0,5,1)),r==a&&IE(h,new k_(e.c.i,e)));NV(),E_(h,n.c),C4(n.b,u.p,h)}}(l,n),l.f=Mj(l.d),function(n,t){var e,i,r,c,a,u,o,h;for(c=new h1(t.b);c.aa&&(a=r,h.c=_f(nEU,nhO,1,0,5,1)),r==a&&IE(h,new k_(e.d.i,e)));NV(),E_(h,n.c),C4(n.f,u.p,h)}}(l,n),l}(t),i=Im(ntP(t,(ns8(),nFn)),274),w=gm(So(ntP(t,nFt))),n.d=i==(nnS(),nLm)&&!w||i==nLg,function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;if(!((d=t.b.c.length)<3)){for(b=_f(nY$,nfH,25,d,15,1),f=0,h=new h1(t.b);h.aa)&&Av(n.b,Im(g.b,17));++u}c=a}}}(n,t),k=null,j=null,p=null,v=null,qz(4,nfo),g=new Fq(4),Im(ntP(t,nFn),274).g){case 3:p=new na2(t,n.c.d,(Dh(),nHL),(LR(),nHA)),g.c[g.c.length]=p;break;case 1:v=new na2(t,n.c.d,(Dh(),nHD),(LR(),nHA)),g.c[g.c.length]=v;break;case 4:k=new na2(t,n.c.d,(Dh(),nHL),(LR(),nH$)),g.c[g.c.length]=k;break;case 2:j=new na2(t,n.c.d,(Dh(),nHD),(LR(),nH$)),g.c[g.c.length]=j;break;default:p=new na2(t,n.c.d,(Dh(),nHL),(LR(),nHA)),v=new na2(t,n.c.d,nHD,nHA),k=new na2(t,n.c.d,nHL,nH$),j=new na2(t,n.c.d,nHD,nH$),g.c[g.c.length]=k,g.c[g.c.length]=j,g.c[g.c.length]=p,g.c[g.c.length]=v}for(r=new yZ(t,n.c),u=new h1(g);u.a0){if(i=f.gc(),s=LU(nTp.Math.floor((i+1)/2))-1,r=LU(nTp.Math.ceil((i+1)/2))-1,t.o==nHD)for(h=r;h>=s;h--)t.a[y.p]==y&&(d=Im(f.Xb(h),46),w=Im(d.a,10),!v$(e,d.b)&&b>n.b.e[w.p]&&(t.a[w.p]=y,t.g[y.p]=t.g[w.p],t.a[y.p]=t.g[y.p],t.f[t.g[y.p].p]=(TX(),!!(gm(t.f[t.g[y.p].p])&y.k==(ntY(),nAX))),b=n.b.e[w.p]));else for(h=s;h<=r;h++)t.a[y.p]==y&&(p=Im(f.Xb(h),46),g=Im(p.a,10),!v$(e,p.b)&&b0||i.o==nHD&&cnlc||t.o==nHL&&sj[o]&&(w=o),h=new h1(n.a.b);h.anrI(c))&&(l=c);for(l||(D4(0,g.c.length),l=Im(g.c[0],180)),d=new h1(t.b);d.a0?(b=(w-1)*e,u&&(b+=i),h&&(b+=i),!(b0&&(y-=w),noq(a,y),f=0,b=new h1(a.a);b.a1,h=new Fm(b.b);EH(h.a)||EH(h.b);)l=(o=Im(EH(h.a)?xe(h.a):xe(h.b),17)).c==b?o.d:o.c,nTp.Math.abs(Xt(Um(Dg(nCc,1),nhQ,8,0,[l.i.n,l.n,l.a])).b-a.b)>1&&function(n,t,e,i,r){var c,a;(KR(t)||t.c.i.c!=t.d.i.c)&&Gl(Xt(Um(Dg(nCc,1),nhQ,8,0,[r.i.n,r.n,r.a])),e)||KR(t)||(t.c==r?Mq(t.a,0,new Ee(e)):I2(t.a,new Ee(e)),i&&!v$(n.a,e)&&((a=Im(ntP(t,(ns8(),nKW)),74))||(a=new dd,UU(t,nKW,a)),KN(a,c=new Ee(e),a.c.b,a.c),Av(n.a,c)))}(n,o,a,c,b)}}(n,l,y,p)}f=nTp.Math.max(f,h)}u.b0),u.a.Xb(u.c=--u.b)),o=.4*i*f,!c&&u.b"+this.b+" ("+(null!=(n=this.c).f?n.f:""+n.g)+")"},nTv.d=0,AY(np5,"HyperEdgeSegmentDependency",129),nrr(520,22,{3:1,35:1,22:1,520:1},y3);var nIK=qE(np5,"HyperEdgeSegmentDependency/DependencyType",520,nE0,function(){return FO(),Um(Dg(nIK,1),nfs,520,0,[nH1,nHZ])},function(n){return FO(),H5((Kp(),nH0),n)});nrr(1815,1,{},lY),AY(np5,"HyperEdgeSegmentSplitter",1815),nrr(1816,1,{},ph),nTv.a=0,nTv.b=0,AY(np5,"HyperEdgeSegmentSplitter/AreaRating",1816),nrr(329,1,{329:1},It),nTv.a=0,nTv.b=0,nTv.c=0,AY(np5,"HyperEdgeSegmentSplitter/FreeArea",329),nrr(1817,1,nlU,cS),nTv.ue=function(n,t){var e,i;return e=Im(n,112),i=Im(t,112),Vv(e.c-e.s,i.c-i.s)},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(np5,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),nrr(1818,1,nhZ,NE),nTv.td=function(n){var t,e,i,r,c,a;t=this.a,e=this.d,i=this.c,r=this.b,a=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;for(a=0,c=-1,u=-1;an.c));a++)r.a>=n.s&&(c<0&&(c=a),u=a);return o=(n.s+n.c)/2,c>=0&&(o=((D4(i=function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d;if(ew.b)?0:1)||(r=a,c=u);return e}(n,t,c,u),t.c.length),s=Im(t.c[i],329)).c+s.a)/2,D4(i,t.c.length),w=Im(t.c[i],329),Ff(t,i),w.b/2>=e&&(h=i,d=(w.c+w.a)/2,w.c<=d-e&&(f=new It(w.c,d-e),C4(t,h++,f)),(b=d+e)<=w.a&&(l=new It(b,w.a),DC(h,t.c.length),m$(t.c,h,l)))),o}(c=Im(n,112),i,r),IE(e,function(n,t){for(n.r=new z3(n.p),n.r.r=n,Gz(n.r.j,n.j),Nq(n.j),I2(n.j,t),I2(n.r.e,t),AB(n),AB(n.r);0!=n.f.c.length;)E0(Im(CA(n.f,0),129));for(;0!=n.k.c.length;)E0(Im(CA(n.k,0),129));return n.r}(c,a)),function(n,t,e){var i,r,c,a;for(c=t.q,a=t.r,new D_((FO(),nHZ),t,c,1),new D_(nHZ,c,a,1),r=new h1(e);r.anwb&&(c=h,r=n,i=new kp(f,c),I2(a.a,i),nul(this,a,r,i,!1),(l=n.r)&&(i=new kp(b=gy(Ss(J7(l.e,0))),c),I2(a.a,i),nul(this,a,r,i,!1),c=t+l.o*e,r=l,i=new kp(b,c),I2(a.a,i),nul(this,a,r,i,!1)),i=new kp(d,c),I2(a.a,i),nul(this,a,r,i,!1)))},nTv.eg=function(n){return n.i.n.a+n.n.a+n.a.a},nTv.fg=function(){return nsR(),nWW},nTv.gg=function(){return nsR(),nWA},AY(np6,"NorthToSouthRoutingStrategy",1807),nrr(1808,661,{},dl),nTv.dg=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;if(!n.r||n.q)for(h=t-n.o*e,s=new h1(n.n);s.anwb&&(c=h,r=n,i=new kp(f,c),I2(a.a,i),nul(this,a,r,i,!1),(l=n.r)&&(i=new kp(b=gy(Ss(J7(l.e,0))),c),I2(a.a,i),nul(this,a,r,i,!1),c=t-l.o*e,r=l,i=new kp(b,c),I2(a.a,i),nul(this,a,r,i,!1)),i=new kp(d,c),I2(a.a,i),nul(this,a,r,i,!1)))},nTv.eg=function(n){return n.i.n.a+n.n.a+n.a.a},nTv.fg=function(){return nsR(),nWA},nTv.gg=function(){return nsR(),nWW},AY(np6,"SouthToNorthRoutingStrategy",1808),nrr(1806,661,{},db),nTv.dg=function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d;if(!n.r||n.q)for(h=t+n.o*e,s=new h1(n.n);s.anwb&&(c=h,r=n,i=new kp(c,f),I2(a.a,i),nul(this,a,r,i,!0),(l=n.r)&&(i=new kp(c,b=gy(Ss(J7(l.e,0)))),I2(a.a,i),nul(this,a,r,i,!0),c=t+l.o*e,r=l,i=new kp(c,b),I2(a.a,i),nul(this,a,r,i,!0)),i=new kp(c,d),I2(a.a,i),nul(this,a,r,i,!0)))},nTv.eg=function(n){return n.i.n.b+n.n.b+n.a.b},nTv.fg=function(){return nsR(),nWO},nTv.gg=function(){return nsR(),nWQ},AY(np6,"WestToEastRoutingStrategy",1806),nrr(813,1,{},nu1),nTv.Ib=function(){return ntK(this.a)},nTv.b=0,nTv.c=!1,nTv.d=!1,nTv.f=0,AY(np9,"NubSpline",813),nrr(407,1,{407:1},ncO,LD),AY(np9,"NubSpline/PolarCP",407),nrr(1453,1,npW,Zv),nTv.Yf=function(n){var t,e,i;return t=Im(n,37),zM(e=new Rf,nH2),(i=Im(ntP(t,(nhu(),nDa)),21)).Hc((ncJ(),nLF))&&zM(e,nH6),i.Hc(nLO)&&zM(e,nH3),i.Hc(nLR)&&zM(e,nH5),i.Hc(nL$)&&zM(e,nH4),e},nTv.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C;if(ntc(e,"Spline edge routing",1),0==t.b.c.length){t.f.a=0,nee(e);return}v=gy(Ss(ntP(t,(ns8(),nFJ)))),u=gy(Ss(ntP(t,nFG))),a=gy(Ss(ntP(t,nFH))),T=Im(ntP(t,nKL),336)==(XJ(),n_4),E=gy(Ss(ntP(t,nKD))),n.d=t,n.j.c=_f(nEU,nhO,1,0,5,1),n.a.c=_f(nEU,nhO,1,0,5,1),AT(n.k),f=jg((o=Im(CA(t.b,0),29)).a,(ncM(),nHJ)),l=jg((d=Im(CA(t.b,t.b.c.length-1),29)).a,nHJ),g=new h1(t.b),p=null,I=0;do{for(function(n,t,e){var i,r,c,a,u,o,s,h,f,l;if(n.e.a.$b(),n.f.a.$b(),n.c.c=_f(nEU,nhO,1,0,5,1),n.i.c=_f(nEU,nhO,1,0,5,1),n.g.a.$b(),t)for(a=new h1(t.a);a.at.f)&&!(t.g>n.f)){for(e=0,i=0,a=n.w.a.ec().Kc();a.Ob();)r=Im(a.Pb(),11),Wi(Xt(Um(Dg(nCc,1),nhQ,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++e;for(u=n.r.a.ec().Kc();u.Ob();)r=Im(u.Pb(),11),Wi(Xt(Um(Dg(nCc,1),nhQ,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--e;for(o=t.w.a.ec().Kc();o.Ob();)r=Im(o.Pb(),11),Wi(Xt(Um(Dg(nCc,1),nhQ,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=t.r.a.ec().Kc();c.Ob();)r=Im(c.Pb(),11),Wi(Xt(Um(Dg(nCc,1),nhQ,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;e=w&&(v>w&&(b.c=_f(nEU,nhO,1,0,5,1),w=v),b.c[b.c.length]=a);0!=b.c.length&&(l=Im(CA(b,Yk(t,b.c.length)),128),P.a.Bc(l),l.s=d++,nrW(l,M,j),b.c=_f(nEU,nhO,1,0,5,1))}for(y=n.c.length+1,u=new h1(n);u.aS.s&&($I(e),Hh(S.i,i),i.c>0&&(i.a=S,IE(S.t,i),i.b=E,IE(E.i,i)))})(n.i,Im(ntP(n.d,(nhu(),nDN)),230)),function(n){var t,e,i,r,c,a,u,o,s;for(o=new vK,a=new vK,r=new h1(n);r.a-1){for(i=Jz(a,0);i.b!=i.d.c;)(e=Im(RP(i),128)).v=c;for(;0!=a.b;)for(t=new h1((e=Im(Zq(a,0),128)).i);t.a0?(h=0,p&&(h+=u),h+=(M-1)*a,m&&(h+=u),T&&m&&(h=nTp.Math.max(h,function(n,t,e,i){var r,c,a,u,o,h,f,l;for(u=0,h=new h1(n.a);h.a("+this.c+") "+this.b},nTv.c=0,AY(np9,"SplineEdgeRouter/Dependency",268),nrr(455,22,{3:1,35:1,22:1,455:1},y4);var nIF=qE(np9,"SplineEdgeRouter/SideToProcess",455,nE0,function(){return Lx(),Um(Dg(nIF,1),nfs,455,0,[nH8,nH9])},function(n){return Lx(),H5((Kk(),nH7),n)});nrr(1454,1,nfb,cT),nTv.Mb=function(n){return ncS(),!Im(n,128).o},AY(np9,"SplineEdgeRouter/lambda$0$Type",1454),nrr(1455,1,{},cE),nTv.Ge=function(n){return ncS(),Im(n,128).v+1},AY(np9,"SplineEdgeRouter/lambda$1$Type",1455),nrr(1456,1,nhZ,y5),nTv.td=function(n){var t,e,i;t=this.a,e=this.b,i=Im(n,46),$J(t.b,Im(i.b,17),e)},AY(np9,"SplineEdgeRouter/lambda$2$Type",1456),nrr(1457,1,nhZ,y6),nTv.td=function(n){var t,e,i;t=this.a,e=this.b,i=Im(n,46),$J(t.b,Im(i.b,17),e)},AY(np9,"SplineEdgeRouter/lambda$3$Type",1457),nrr(128,1,{35:1,128:1},neB,noF),nTv.wd=function(n){var t;return t=Im(n,128),this.s-t.s},nTv.b=0,nTv.e=!1,nTv.f=0,nTv.g=0,nTv.j=!1,nTv.k=!1,nTv.n=0,nTv.o=!1,nTv.p=!1,nTv.q=!1,nTv.s=0,nTv.u=0,nTv.v=0,nTv.F=0,AY(np9,"SplineSegment",128),nrr(459,1,{459:1},cM),nTv.a=0,nTv.b=!1,nTv.c=!1,nTv.d=!1,nTv.e=!1,nTv.f=0,AY(np9,"SplineSegment/EdgeInformation",459),nrr(1234,1,{},cm),AY(nvi,nwr,1234),nrr(1235,1,nlU,cy),nTv.ue=function(n,t){var e,i,r,c,a;return e=Im(n,135),i=Im(t,135),0==(r=Im(ntP(i,(nrw(),nBz)),19).a-Im(ntP(e,nBz),19).a)?(c=S7(E1(Im(ntP(e,(noV(),nBl)),8)),Im(ntP(e,nBb),8)),a=S7(E1(Im(ntP(i,nBl),8)),Im(ntP(i,nBb),8)),Vv(c.a*c.b,a.a*a.b)):r},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nvi,nwc,1235),nrr(1233,1,{},pH),AY(nvi,"MrTree",1233),nrr(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},y8),nTv.Kf=function(){return nip(this)},nTv.Xf=function(){return nip(this)};var nI_=qE(nvi,"TreeLayoutPhases",393,nE0,function(){return ZD(),Um(Dg(nI_,1),nfs,393,0,[nBn,nBt,nBe,nBi])},function(n){return ZD(),H5((_8(),nBr),n)});nrr(1130,209,nbz,S3),nTv.Ze=function(n,t){var e,i,r,c,a,u,o,h;for(gm(So(nrM(n,(nrw(),nBH))))||Lq(new fy((mo(),new gl(n)))),z5(a=new FP,n),UU(a,(noV(),nBj),n),function(n,t,e){var i,r,c,a,u;for(c=0,r=new Td((n.a||(n.a=new An(nCK,n,10,11)),n.a));r.e!=r.i.gc();)i=Im(J1(r),33),a="",0==(i.n||(i.n=new An(nCR,i,1,7)),i.n).i||(a=Im(BX((i.n||(i.n=new An(nCR,i,1,7)),i.n),0),137).a),z5(u=new Xk(c++,t,a),i),UU(u,(noV(),nBj),i),u.e.b=i.j+i.f/2,u.f.a=nTp.Math.max(i.g,1),u.e.a=i.i+i.g/2,u.f.b=nTp.Math.max(i.f,1),I2(t.b,u),neQ(e.f,i,u)}(n,a,u=new wt),function(n,t,e){var i,r,c,a,u,o,h;for(a=new Td((n.a||(n.a=new An(nCK,n,10,11)),n.a));a.e!=a.i.gc();)for(r=new OM(Tx(nrZ(c=Im(J1(a),33)).a.Kc(),new s));nrc(r);)ni5(i=Im(K4(r),79))||ni5(i)||niM(i)||(o=Im(jh(Lj(e.f,c)),86),h=Im($a(e,ntr(Im(BX((i.c||(i.c=new Ph(nCO,i,5,8)),i.c),0),82))),86),o&&h&&(UU(u=new N3(o,h),(noV(),nBj),i),z5(u,i),I2(o.d,u),I2(h.b,u),I2(t.a,u)))}(n,a,u),c=a,r=function(n,t){var e,i,r,c,a,u,o;if(null==(o=So(ntP(t,(nrw(),nBX))))||($D(o),o)){for(function(n,t){var e,i,r,c,a;for(r=t.b.b,n.a=_f(nEY,nwt,15,r,0,1),n.b=_f(nYN,nbh,25,r,16,1),a=Jz(t.b,0);a.b!=a.d.c;)c=Im(RP(a),86),n.a[c.g]=new vK;for(i=Jz(t.a,0);i.b!=i.d.c;)e=Im(RP(i),188),n.a[e.b.g].Fc(e),n.a[e.c.g].Fc(e)}(n,t),r=new wn,u=Jz(t.b,0);u.b!=u.d.c;)(e=function n(t,e,i){var r,c,a;if(!t.b[e.g]){for(t.b[e.g]=!0,(r=i)||(r=new FP),I2(r.b,e),a=t.a[e.g].Kc();a.Ob();)(c=Im(a.Pb(),188)).b!=e&&n(t,c.b,r),c.c!=e&&n(t,c.c,r),I2(r.a,c);return r}return null}(n,Im(RP(u),86),null))&&(z5(e,t),r.c[r.c.length]=e);if(n.a=null,n.b=null,r.c.length>1)for(i=new h1(r);i.af&&(S=0,P+=h+j,h=0),function(n,t,e,i){var r,c,a,u,o,s;for(S7(u=new kp(e,i),Im(ntP(t,(noV(),nBb)),8)),s=Jz(t.b,0);s.b!=s.d.c;)S9((o=Im(RP(s),86)).e,u),I2(n.b,o);for(a=Jz(t.a,0);a.b!=a.d.c;){for(r=Jz((c=Im(RP(a),188)).a,0);r.b!=r.d.c;)S9(Im(RP(r),8),u);I2(n.a,c)}}(y,a,S,P),t=nTp.Math.max(t,S+k.a),h=nTp.Math.max(h,k.b),S+=k.a+j;for(m=new wt,e=new wt,T=new h1(n);T.a"+xs(this.c):"e_"+Xg(this)},AY(nvr,"TEdge",188),nrr(135,134,{3:1,135:1,94:1,134:1},FP),nTv.Ib=function(){var n,t,e,i,r;for(r=null,i=Jz(this.b,0);i.b!=i.d.c;)r+=(null==(e=Im(RP(i),86)).c||0==e.c.length?"n_"+e.g:"n_"+e.c)+"\n";for(t=Jz(this.a,0);t.b!=t.d.c;)r+=((n=Im(RP(t),188)).b&&n.c?xs(n.b)+"->"+xs(n.c):"e_"+Xg(n))+"\n";return r};var nIH=AY(nvr,"TGraph",135);nrr(633,502,{3:1,502:1,633:1,94:1,134:1}),AY(nvr,"TShape",633),nrr(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},Xk),nTv.Ib=function(){return xs(this)};var nIB=AY(nvr,"TNode",86);nrr(255,1,nh4,lZ),nTv.Jc=function(n){KA(this,n)},nTv.Kc=function(){return new l1(Jz(this.a.d,0))},AY(nvr,"TNode/2",255),nrr(358,1,nhK,l1),nTv.Nb=function(n){Ao(this,n)},nTv.Pb=function(){return Im(RP(this.a),188).c},nTv.Ob=function(){return pD(this.a)},nTv.Qb=function(){BA(this.a)},AY(nvr,"TNode/2/1",358),nrr(1840,1,nw0,S2),nTv.pf=function(n,t){!function(n,t,e){var i,r,c,a,u,o,s,h;for(ntc(e,"Processor compute fanout",1),AT(n.b),AT(n.a),u=null,c=Jz(t.b,0);!u&&c.b!=c.d.c;)gm(So(ntP(s=Im(RP(c),86),(noV(),nBI))))&&(u=s);for(KN(o=new vK,u,o.c.b,o.c),function n(t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;if(0!=e.b){for(b=new vK,u=null,w=null,r=LU(nTp.Math.floor(nTp.Math.log(e.b)*nTp.Math.LOG10E)+1),o=0,m=Jz(e,0);m.b!=m.d.c;)for(p=Im(RP(m),86),jf(w)!==jf(ntP(p,(noV(),nBp)))&&(w=Sh(ntP(p,nBp)),o=0),u=null!=w?w+xo(o++,r):xo(o++,r),UU(p,nBp,u),g=new l1(Jz(new lZ(p).a.d,0));pD(g.a);)KN(b,d=Im(RP(g.a),188).c,b.c.b,b.c),UU(d,nBp,u);for(a=0,l=new wt;anvw&&(a-=nvw),f=(s=Im(nrM(c,nXr),8)).a,b=s.b+e,(u=nTp.Math.atan2(b,f))<0&&(u+=nvw),(u+=i)>nvw&&(u-=nvw),ED(),qR(1e-10),1e-10>=nTp.Math.abs(a-u)||a==u||isNaN(a)&&isNaN(u)?0:au?1:j1(isNaN(a),isNaN(u))},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},nTv.a=0,nTv.b=0,AY(nvb,"RadialUtil/lambda$0$Type",549),nrr(1375,1,nw0,c_),nTv.pf=function(n,t){!function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p;for(ntc(t,"Calculate Graph Size",1),t.n&&n&&xb(t,xQ(n),(XU(),nVw)),u=nwn,o=nwn,c=nvd,a=nvd,f=new Td((n.a||(n.a=new An(nCK,n,10,11)),n.a));f.e!=f.i.gc();)w=(s=Im(J1(f),33)).i,d=s.j,p=s.g,i=s.f,r=Im(nrM(s,(nha(),nUO)),142),u=nTp.Math.min(u,w-r.b),o=nTp.Math.min(o,d-r.d),c=nTp.Math.max(c,w+p+r.c),a=nTp.Math.max(a,d+i+r.a);for(l=new kp(u-(b=Im(nrM(n,(nha(),nUz)),116)).b,o-b.d),h=new Td((n.a||(n.a=new An(nCK,n,10,11)),n.a));h.e!=h.i.gc();)qh(s=Im(J1(h),33),s.i-l.a),qf(s,s.j-l.b);g=c-u+(b.b+b.c),e=a-o+(b.d+b.a),qs(n,g),qo(n,e),t.n&&n&&xb(t,xQ(n),(XU(),nVw))}(Im(n,33),t)},AY(nvg,"CalculateGraphSize",1375),nrr(442,22,{3:1,35:1,22:1,442:1,234:1},ke),nTv.Kf=function(){switch(this.g){case 0:return new cz;case 1:return new cF;case 2:return new c_;default:throw new gd(ndg+(null!=this.f?this.f:""+this.g)).e}};var nIX=qE(nvg,ndp,442,nE0,function(){return V0(),Um(Dg(nIX,1),nfs,442,0,[nqe,nqn,nqt])},function(n){return V0(),H5((_n(),nqi),n)});nrr(645,1,{}),nTv.e=1,nTv.g=0,AY(nvp,"AbstractRadiusExtensionCompaction",645),nrr(1772,645,{},Sr),nTv.hg=function(n){var t,e,i,r,c,a,u,o,s,h,f;for(this.c=Im(nrM(n,(Se(),nB6)),33),h=this.c,this.f=h,this.d=YT(Im(nrM(n,(Zx(),nqL)),293)),(o=Im(nrM(n,nqj),19))&&(f=o.a,this.e=f),$D(u=Ss(nrM(n,(nha(),nXk)))),this.g=u,s=ncY(this.c),this.d&&this.d.lg(s),function(n,t){var e,i,r;for(i=new h1(t);i.a1&&(o=s.mg(o,n.a,u));return 1==o.c.length?Im(CA(o,o.c.length-1),220):2==o.c.length?function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;return(c=n.f,f=t.f,a=c==(ncr(),nGp)||c==nGm,l=f==nGp||f==nGm,u=c==nGv||c==nGy,b=f==nGv||f==nGy,o=c==nGv||c==nGp,w=f==nGv||f==nGp,a&&l)?n.f==nGm?n:t:u&&b?n.f==nGy?n:t:o&&w?(c==nGv?(h=n,s=t):(h=t,s=n),d=e.j+e.f,g=h.e+i.f,p=nTp.Math.max(d,g)-nTp.Math.min(e.j,h.e),r=(h.d+i.g-e.i)*p,v=e.i+e.g,m=s.d+i.g,r<=(nTp.Math.max(v,m)-nTp.Math.min(e.i,s.d))*(s.e+i.f-e.j)?n.f==nGv?n:t:n.f==nGp?n:t):n}((D4(0,o.c.length),Im(o.c[0],220)),(D4(1,o.c.length),Im(o.c[1],220)),a,c):null}(n,o,s,h,f,w,u,i),qh(w,r.d),qf(w,r.e),d=nGk,r.f=d,c=r,u=w,l.c[l.c.length]=w;return c}(new Ie(e,b,g),j,v,y),t.n&&t.n&&n&&xb(t,xQ(n),(XU(),nVw))):r=new Co(e,E,0,(ncr(),nGk)),p.a+=y.b+y.c,p.b+=y.d+y.a,m||(GO(j),r=function(n,t,e,i,r,c,a){var u,o,s,h,f,l,b,w,d,g,p,v;if(g=function(n,t,e){var i,r,c,a,u,o,s,h;for(h=new wn,s=new xI(0,e),c=0,qL(s,new Xj(0,0,s,e)),r=0,o=new Td(n);o.e!=o.i.gc();)u=Im(J1(o),33),i=Im(CA(s.a,s.a.c.length-1),187),r+u.g+(0==Im(CA(s.a,0),187).b.c.length?0:e)>t&&(r=0,c+=s.b+e,h.c[h.c.length]=s,i=new Xj(0,(s=new xI(c,e)).f,s,e),qL(s,i),r=0),0==i.b.c.length||u.f>=i.o&&u.f<=i.f||.5*i.a<=u.f&&1.5*i.a>=u.f?VW(i,u):(a=new Xj(i.s+i.r+e,s.f,s,e),qL(s,a),VW(a,u)),r=u.i+u.g;return h.c[h.c.length]=s,h}(t,e,n.g),r.n&&r.n&&c&&xb(r,xQ(c),(XU(),nVw)),n.b)for(d=0;d=t.o&&e.f<=t.f||.5*t.a<=e.f&&1.5*t.a>=e.f){if((c=Im(CA(t.n,t.n.c.length-1),211)).e+c.d+e.g+r<=i&&(Im(CA(t.n,t.n.c.length-1),211).f-n.f+e.f<=n.b||1==n.a.c.length))return VW(t,e),!0;if(t.s+e.g<=i&&(t.t+t.d+e.f+r<=n.b||1==n.a.c.length))return IE(t.b,e),a=Im(CA(t.n,t.n.c.length-1),211),IE(t.n,new LZ(t.s,a.f+a.a+t.i,t.i)),YJ(Im(CA(t.n,t.n.c.length-1),211),e),nuH(t,e),!0}return!1}(n,t,c,i,r)&&(a=!0,function(n,t){var e,i;for(Hh(n.b,t),i=new h1(n.n);i.a0?n.i:0)),++t;for(function(n,t){var e;for($D(t),e=new h1(n);e.as&&0==(D4(s,t.c.length),Im(t.c[s],200)).a.c.length;)Hh(t,(D4(s,t.c.length),t.c[s]));if(!o){--c;continue}if(function(n,t,e,i,r,c,a,u){var o,s,h;return h=!1,s=c-e.s,o=e.t-t.f+nob(e,s,!1).a,!(i.g+u>s)&&(o+u+nob(i,s,!1).a<=t.b&&(_N(e,c-e.s),e.c=!0,_N(i,c-e.s),YM(i,e.s,e.t+e.d+u),i.k=!0,zh(e.q,i),h=!0,r&&(qL(t,i),i.j=t,n.c.length>a&&(Z3((D4(a,n.c.length),Im(n.c[a],200)),i),0==(D4(a,n.c.length),Im(n.c[a],200)).a.c.length&&Ff(n,a)))),h)}(t,h,r,o,l,e,s,i)){f=!0;continue}if(l){if(function(n,t,e,i,r,c,a){var u,o,s,h,f;return h=!1,u=nch(e.q,t.f+t.b-e.q.f),!((f=r-(e.q.e+u-a))=(D4(c,n.c.length),Im(n.c[c],200)).e,(!((s=nob(i,f,!1).a)>t.b)||!!o)&&((o||s<=t.b)&&(o&&s>t.b?(e.d=s,_N(e,net(e,s))):(nnx(e.q,u),e.c=!0),_N(i,r-(e.s+e.r)),YM(i,e.q.e+e.q.d,t.f),qL(t,i),n.c.length>c&&(Z3((D4(c,n.c.length),Im(n.c[c],200)),i),0==(D4(c,n.c.length),Im(n.c[c],200)).a.c.length&&Ff(n,c)),h=!0),h))}(t,h,r,o,e,s,i)){f=!0;continue}if(Wd(h,r)){r.c=!0,f=!0;continue}}else if(Wd(h,r)){r.c=!0,f=!0;continue}if(f)continue}if(Wd(h,r)){r.c=!0,f=!0,o&&(o.k=!1);continue}Za(r.q)}}(d,g,e,n.g),function(n,t){var e,i,r,c,a;for(i=0,r=0,e=0,a=new h1(t.d);a.a0?n.g:0),++e;t.b=i,t.e=r}(n,h),r.n&&c&&xb(r,xQ(c),(XU(),nVw));else for(w=new h1(g);w.a0?n.g:0),++e;n.c=r,n.d=i}(n,g),r.n&&r.n&&c&&xb(r,xQ(c),(XU(),nVw)),v=nTp.Math.max(n.d,i.a-(a.b+a.c)),u=(f=nTp.Math.max(n.c,i.b-(a.d+a.a)))-n.c,n.e&&n.f&&(v/fc?1:0},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nvD,"RectPackingLayoutProvider/lambda$0$Type",1137),nrr(1256,1,{},Ie),nTv.a=0,nTv.c=!1,AY(nvx,"AreaApproximation",1256);var nIY=Cw(nvx,"BestCandidateFilter");nrr(638,1,{526:1},c1),nTv.mg=function(n,t,e){var i,r,c,a,u,o;for(o=new wn,c=nlr,u=new h1(n);u.a0?1:j1(isNaN(f),isNaN(0)))>=0^(qR(np2),(nTp.Math.abs(d)<=np2||0==d||isNaN(d)&&isNaN(0)?0:d<0?-1:d>0?1:j1(isNaN(d),isNaN(0)))>=0)?nTp.Math.max(d,f):(qR(np2),(nTp.Math.abs(f)<=np2||0==f||isNaN(f)&&isNaN(0)?0:f<0?-1:f>0?1:j1(isNaN(f),isNaN(0)))>0)?nTp.Math.sqrt(d*d+f*f):-nTp.Math.sqrt(d*d+f*f))>=0)?e:(u=$C(S7(new kp(a.c+a.b/2,a.d+a.a/2),new kp(c.c+c.b/2,c.d+c.a/2))),-(nug(c,a)-1)*u)},AY(nvQ,ndf,1249),nrr(1133,209,nbz,pB),nTv.Ze=function(n,t){var e,i,r,c,a,u,o,s,h,f;for(_u(n,(ntA(),nGJ))&&(f=Sh(nrM(n,(YF(),nzs))),(c=naA(qK(),f))&&Im(L$(c.f),209).Ze(n,zt(t,1))),Yu(n,nGU,(F$(),nGA)),Yu(n,nGX,(nt7(),nGx)),Yu(n,nGW,(UT(),nzb)),a=Im(nrM(n,(YF(),nzc)),19).a,ntc(t,"Overlap removal",1),gm(So(nrM(n,nzr))),o=new l5(u=new w_),e=ns7(i=new Ws,n),s=!0,r=0;r1)for(i=new h1(n.a);i.a1&&(t.a=!0),a=Im(i.b,65),u=S9(E1(Im(e.b,65).c),To(S7(E1(Im(i.b,65).a),Im(e.b,65).a),c)),Oi(a,S7(new kp(u.a,u.b),a.c)),Dz(t,e),n(t,i)}(this,e.f),UU(e,nCZ,(TX(),!!this.a)),nee(t)},nTv.a=!1,AY(nmr,"GrowTreePhase",785),nrr(786,1,nhZ,Ii),nTv.td=function(n){var t,e,i,r;t=this.a,e=this.b,i=this.c,r=Im(n,221),Im(i.b,65),Im(i.b,65),Im(r.b,65),Im(r.b,65),Im(r.b,65),BR(r.a,new Ii(t,e,r))},AY(nmr,"GrowTreePhase/lambda$0$Type",786),nrr(1448,1,npW,c7),nTv.Yf=function(n){return Im(n,300),new Rf},nTv.pf=function(n,t){var e,i,r,c,a,u,o;e=this,i=Im(n,300),ntc(r=t,"Shrinking tree compaction",1),gm(So(ntP(i,(zj(),nCY))))&&(c=i.f,a=new n0,Im(c.b,65),Im(c.b,65),Im(c.b,65),BR(c.a,new Ir(e,a,c))),u=i.f,o=i.c,nPA=new n0,nP$=o,Im((nPO=u).b,65),_l(nPO,nPA,null),noR(nPO),nee(r)},AY(nmr,"ShrinkTreeCompactionPhase",1448),nrr(784,1,nhZ,Ir),nTv.td=function(n){var t,e,i,r,c;t=this.a,e=this.b,i=this.c,r=Im(n,221),Im(i.b,65),Im(i.b,65),Im(r.b,65),Im(r.b,65),I1(c=S7(E1(Im(i.b,65).c),Im(r.b,65).c),ne8(Im(i.b,65),Im(r.b,65),c)),Im(r.b,65),Im(r.b,65),Im(r.b,65).c.a,c.a,Im(r.b,65).c.b,c.b,Im(r.b,65),BR(r.a,new Ir(t,e,r))},AY(nmr,"ShrinkTreeCompactionPhase/lambda$0$Type",784);var nI7=Cw(npz,"IGraphElementVisitor");nrr(860,1,{527:1},xO),nTv.og=function(n){var t;t=new nJ,n&&z5(t,Im($a(this.a,nCI),94)),Ti(n,470)&&z5(t,Im($a(this.a,nCC),94)),Ti(n,354)?z5(t,Im($a(this.a,nCR),94)):(Ti(n,82)&&z5(t,Im($a(this.a,nCO),94)),Ti(n,239))?z5(t,Im($a(this.a,nCK),94)):Ti(n,186)?z5(t,Im($a(this.a,nCF),94)):Ti(n,352)&&z5(t,Im($a(this.a,nCA),94)),z5(t,Im($a(this.b,n),94)),function(n,t,e){var i,r,c,a,u;for(a=n.c,c=(e.q?e.q:(NV(),NV(),nMv)).vc().Kc();c.Ob();)r=Im(c.Pb(),42),pL(Nb(new CN(null,new D6(a,16)),new fe(new kd(t,r)))).sd((vQ(),nM4))||(Ti(u=r.dd(),4)&&null!=(i=Jh(u))&&(u=i),t.Ye(Im(r.cd(),146),u))}(this,n,t)},AY(nbU,"LayoutConfigurator",860);var nCn=Cw(nbU,"LayoutConfigurator/IPropertyHolderOptionFilter");nrr(932,1,{1933:1},an),nTv.pg=function(n,t){return UM(),!n.Xe(t)},AY(nbU,"LayoutConfigurator/lambda$0$Type",932),nrr(933,1,{1933:1},at),nTv.pg=function(n,t){return ncA(n,t)},AY(nbU,"LayoutConfigurator/lambda$1$Type",933),nrr(931,1,{831:1},ae),nTv.qg=function(n,t){return UM(),!n.Xe(t)},AY(nbU,"LayoutConfigurator/lambda$2$Type",931),nrr(934,1,nfb,kd),nTv.Mb=function(n){var t,e,i;return t=this.a,e=this.b,i=Im(n,1933),UM(),i.pg(t,Im(e.cd(),146))},AY(nbU,"LayoutConfigurator/lambda$3$Type",934),nrr(858,1,{},ai),AY(nbU,"RecursiveGraphLayoutEngine",858),nrr(296,60,nfv,wA,gI),AY(nbU,"UnsupportedConfigurationException",296),nrr(453,60,nfv,gC),AY(nbU,"UnsupportedGraphException",453),nrr(754,1,{}),AY(npz,"AbstractRandomListAccessor",754),nrr(500,754,{},ncw),nTv.rg=function(){return null},nTv.d=!0,nTv.e=!0,nTv.f=0,AY(nma,"AlgorithmAssembler",500),nrr(1236,1,nfb,ar),nTv.Mb=function(n){return!!Im(n,123)},AY(nma,"AlgorithmAssembler/lambda$0$Type",1236),nrr(1237,1,{},l7),nTv.Kb=function(n){var t;return t=this.a,Im(n,123).Yf(t)},AY(nma,"AlgorithmAssembler/lambda$1$Type",1237),nrr(1238,1,nfb,ac),nTv.Mb=function(n){return!!Im(n,80)},AY(nma,"AlgorithmAssembler/lambda$2$Type",1238),nrr(1239,1,nhZ,bn),nTv.td=function(n){zM(this.a,Im(n,80))},AY(nma,"AlgorithmAssembler/lambda$3$Type",1239),nrr(1240,1,nhZ,kg),nTv.td=function(n){var t;t=this.a,IE(this.b,Qh(t,Im(n,234)))},AY(nma,"AlgorithmAssembler/lambda$4$Type",1240),nrr(1355,1,nlU,aa),nTv.ue=function(n,t){var e,i,r,c;return e=Im(n,234),i=Im(t,234),Xp(e),Xp(i),r=Im(e,22),c=Im(i,22),r.g-c.g},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nma,"EnumBasedFactoryComparator",1355),nrr(80,754,{80:1},Rf),nTv.rg=function(){return new w_},nTv.a=0,AY(nma,"LayoutProcessorConfiguration",80),nrr(1013,1,{527:1},sU),nTv.og=function(n){zS(nzv,new bt(n))},AY(nbe,"DeprecatedLayoutOptionReplacer",1013),nrr(1014,1,nhZ,au),nTv.td=function(n){var t;t=Im(n,160),_q(),Im(t.We((nha(),nU7)),174).Fc((nis(),nWS)),t.Ye(nU9,null)},AY(nbe,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1014),nrr(1015,1,nhZ,ao),nTv.td=function(n){var t;t=Im(n,160),_q(),Im(t.We((nha(),nUH)),174).Hc((na9(),nVc))&&(Im(t.We(nU7),174).Fc((nis(),nWI)),Im(t.We(nUH),174).Mc(nVc))},AY(nbe,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1015),nrr(1016,1,{},bt),nTv.Od=function(n,t){var e,i,r;e=this.a,i=Im(n,146),r=Im(t,38),_q(),e.Xe(i)&&r.td(e)},AY(nbe,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1016),nrr(149,1,{686:1,149:1},nte),nTv.Fb=function(n){return KU(this,n)},nTv.sg=function(){return this.b},nTv.tg=function(){return this.c},nTv.ne=function(){return this.e},nTv.Hb=function(){return Yj(this.c)},nTv.Ib=function(){return"Layout Algorithm: "+this.c};var nCt=AY(nbe,"LayoutAlgorithmData",149);nrr(263,1,{},as),AY(nbe,"LayoutAlgorithmData/Builder",263),nrr(1017,1,{527:1},ah),nTv.og=function(n){Ti(n,239)&&!gm(So(n.We((nha(),nUq))))&&function(n){var t,e;if(!zT(t=Sh(nrM(n,(nha(),nUn))),n)&&!_u(n,nXu)&&(0!=(n.a||(n.a=new An(nCK,n,10,11)),n.a).i||gm(So(nrM(n,nUT))))){if(null==t||0==ntB(t).length){if(!zT(ndc,n))throw nsy(n,e=jP(jP(new TV("Unable to load default layout algorithm "),ndc)," for unconfigured node ")),new gI(e.a).e}else throw nsy(n,e=jP(jP(new TV("Layout algorithm '"),t),"' not found for ")),new gI(e.a).e}}(Im(n,33))},AY(nbe,"LayoutAlgorithmResolver",1017),nrr(229,1,{686:1,229:1},DH),nTv.Fb=function(n){return!!Ti(n,229)&&Pv(this.b,Im(n,229).b)},nTv.sg=function(){return this.a},nTv.tg=function(){return this.b},nTv.ne=function(){return this.d},nTv.Hb=function(){return Yj(this.b)},nTv.Ib=function(){return"Layout Type: "+this.b},AY(nbe,"LayoutCategoryData",229),nrr(344,1,{},af),AY(nbe,"LayoutCategoryData/Builder",344),nrr(867,1,{},naj),AY(nbe,"LayoutMetaDataService",867),nrr(868,1,{},$l),AY(nbe,"LayoutMetaDataService/Registry",868),nrr(478,1,{478:1},al),AY(nbe,"LayoutMetaDataService/Registry/Triple",478),nrr(869,1,nmu,ab),nTv.ug=function(){return new ps},AY(nbe,"LayoutMetaDataService/lambda$0$Type",869),nrr(870,1,nmo,aw),nTv.vg=function(n){return E1(Im(n,8))},AY(nbe,"LayoutMetaDataService/lambda$1$Type",870),nrr(879,1,nmu,ad),nTv.ug=function(){return new wn},AY(nbe,"LayoutMetaDataService/lambda$10$Type",879),nrr(880,1,nmo,ag),nTv.vg=function(n){return new PH(Im(n,12))},AY(nbe,"LayoutMetaDataService/lambda$11$Type",880),nrr(881,1,nmu,ap),nTv.ug=function(){return new vK},AY(nbe,"LayoutMetaDataService/lambda$12$Type",881),nrr(882,1,nmo,av),nTv.vg=function(n){return Ij(Im(n,68))},AY(nbe,"LayoutMetaDataService/lambda$13$Type",882),nrr(883,1,nmu,am),nTv.ug=function(){return new w_},AY(nbe,"LayoutMetaDataService/lambda$14$Type",883),nrr(884,1,nmo,ay),nTv.vg=function(n){return N9(Im(n,53))},AY(nbe,"LayoutMetaDataService/lambda$15$Type",884),nrr(885,1,nmu,ak),nTv.ug=function(){return new j7},AY(nbe,"LayoutMetaDataService/lambda$16$Type",885),nrr(886,1,nmo,aj),nTv.vg=function(n){return Kr(Im(n,53))},AY(nbe,"LayoutMetaDataService/lambda$17$Type",886),nrr(887,1,nmu,aE),nTv.ug=function(){return new wW},AY(nbe,"LayoutMetaDataService/lambda$18$Type",887),nrr(888,1,nmo,aT),nTv.vg=function(n){return Ik(Im(n,208))},AY(nbe,"LayoutMetaDataService/lambda$19$Type",888),nrr(871,1,nmu,aM),nTv.ug=function(){return new dd},AY(nbe,"LayoutMetaDataService/lambda$2$Type",871),nrr(872,1,nmo,aS),nTv.vg=function(n){return new pi(Im(n,74))},AY(nbe,"LayoutMetaDataService/lambda$3$Type",872),nrr(873,1,nmu,aP),nTv.ug=function(){return new dc},AY(nbe,"LayoutMetaDataService/lambda$4$Type",873),nrr(874,1,nmo,aI),nTv.vg=function(n){return new PY(Im(n,142))},AY(nbe,"LayoutMetaDataService/lambda$5$Type",874),nrr(875,1,nmu,aO),nTv.ug=function(){return new da},AY(nbe,"LayoutMetaDataService/lambda$6$Type",875),nrr(876,1,nmo,aA),nTv.vg=function(n){return new PJ(Im(n,116))},AY(nbe,"LayoutMetaDataService/lambda$7$Type",876),nrr(877,1,nmu,a$),nTv.ug=function(){return new az},AY(nbe,"LayoutMetaDataService/lambda$8$Type",877),nrr(878,1,nmo,aN),nTv.vg=function(n){return new HB(Im(n,373))},AY(nbe,"LayoutMetaDataService/lambda$9$Type",878);var nCe=Cw(nb_,"IProperty");nrr(23,1,{35:1,686:1,23:1,146:1},neg),nTv.wd=function(n){var t;return t=Im(n,146),Fb(this.f,t.tg())},nTv.Fb=function(n){return Ti(n,23)?Pv(this.f,Im(n,23).f):Ti(n,146)&&Pv(this.f,Im(n,146).tg())},nTv.wg=function(){var n;if(!Ti(this.b,4))return this.b;if(null==(n=Jh(this.b)))throw new gg(nmb+this.f+"'. Make sure it's type is registered with the "+(Su(nCX),nCX.k)+nmh).e;return n},nTv.sg=function(){return this.d},nTv.tg=function(){return this.f},nTv.ne=function(){return this.i},nTv.Hb=function(){return Yj(this.f)},nTv.Ib=function(){return"Layout Option: "+this.f},AY(nbe,"LayoutOptionData",23),nrr(24,1,{},aL),AY(nbe,"LayoutOptionData/Builder",24),nrr(175,22,{3:1,35:1,22:1,175:1},kb);var nCi=qE(nbe,"LayoutOptionData/Target",175,nE0,function(){return JB(),Um(Dg(nCi,1),nfs,175,0,[nzT,nzE,nzk,nzM,nzj])},function(n){return JB(),H5((Bu(),nzS),n)});nrr(277,22,{3:1,35:1,22:1,277:1},kw);var nCr=qE(nbe,"LayoutOptionData/Type",277,nE0,function(){return neT(),Um(Dg(nCr,1),nfs,277,0,[nzL,nzP,nzA,nzN,nzI,nzC,nzO,nz$])},function(n){return neT(),H5((zy(),nzD),n)});nrr(110,1,{110:1},Et,Nj,Lf),nTv.Fb=function(n){var t;return!!(null!=n&&Ti(n,110))&&(t=Im(n,110),$5(this.c,t.c)&&$5(this.d,t.d)&&$5(this.b,t.b)&&$5(this.a,t.a))},nTv.Hb=function(){return X9(Um(Dg(nEU,1),nhO,1,5,[this.c,this.d,this.b,this.a]))},nTv.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},nTv.a=0,nTv.b=0,nTv.c=0,nTv.d=0,AY(nde,"ElkRectangle",110),nrr(8,1,{3:1,4:1,8:1,414:1},ps,DB,kp,Ee),nTv.Fb=function(n){return Gl(this,n)},nTv.Hb=function(){var n,t;return j3(this.a)+(n=j3(this.b),q1(),(t=nT0)[n>>>28]|t[n>>24&15]<<4|t[n>>20&15]<<8|t[n>>16&15]<<12|t[n>>12&15]<<16|t[n>>8&15]<<20|t[n>>4&15]<<24|t[15&n]<<28)},nTv.Jf=function(n){var t,e,i;for(e=0;e0&&Wm((D5(t-1,n.length),n.charCodeAt(t-1)),ndn);)--t;if(e>=t)throw new gd("The given string does not contain any numbers.").e;if(2!=(i=naX(n.substr(e,t-e),",|;|\r|\n")).length)throw new gd("Exactly two numbers are expected, "+i.length+" were found.").e;try{this.a=nt1(ntB(i[0])),this.b=nt1(ntB(i[1]))}catch(n){if(Ti(n=Uu(n),127))throw new gd(ndt+n).e;throw n.e}},nTv.Ib=function(){return"("+this.a+","+this.b+")"},nTv.a=0,nTv.b=0;var nCc=AY(nde,"KVector",8);nrr(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},dd,pi,MQ),nTv.Pc=function(){return function(n){var t,e,i;for(t=0,i=_f(nCc,nhQ,8,n.b,0,1),e=Jz(n,0);e.b!=e.d.c;)i[t++]=Im(RP(e),8);return i}(this)},nTv.Jf=function(n){var t,e,i,r,c;e=naX(n,",|;|\\(|\\)|\\[|\\]|\\{|\\}| | |\n"),Nq(this);try{for(t=0,r=0,i=0,c=0;t0&&(r%2==0?i=nt1(e[t]):c=nt1(e[t]),r>0&&r%2!=0&&I2(this,new kp(i,c)),++r),++t}catch(n){if(Ti(n=Uu(n),127))throw new gd("The given string does not match the expected format for vectors."+n).e;throw n.e}},nTv.Ib=function(){var n,t,e;for(n=new TV("("),t=Jz(this,0);t.b!=t.d.c;)jP(n,(e=Im(RP(t),8)).a+","+e.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var nCa=AY(nde,"KVectorChain",74);nrr(248,22,{3:1,35:1,22:1,248:1},kv);var nCu=qE(nmd,"Alignment",248,nE0,function(){return Yv(),Um(Dg(nCu,1),nfs,248,0,[nzK,nzH,nzB,nzq,nzF,nz_])},function(n){return Yv(),H5((B6(),nzG),n)});nrr(979,1,nbu,sX),nTv.Qe=function(n){nub(n)},AY(nmd,"BoxLayouterOptions",979),nrr(980,1,{},aC),nTv.$e=function(){return new aK},nTv._e=function(n){},AY(nmd,"BoxLayouterOptions/BoxFactory",980),nrr(291,22,{3:1,35:1,22:1,291:1},km);var nCo=qE(nmd,"ContentAlignment",291,nE0,function(){return nnF(),Um(Dg(nCo,1),nfs,291,0,[nz9,nz8,nz6,nz4,nz3,nz5])},function(n){return nnF(),H5((B5(),nz7),n)});nrr(684,1,nbu,sW),nTv.Qe=function(n){var t,e,i,r,c,a,u;V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmm),""),"Layout Algorithm"),"Select a specific layout algorithm."),(neT(),nzN)),nTs),Vx((JB(),nzT))))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmy),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),nz$),nCt),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npm),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),nUe),nzC),nCu),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nb6),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmk),""),"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."),nz$),nCa),Vx(nzk)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,np$),""),"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."),nUs),nzO),nCo),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npv),""),"Debug Mode"),"Whether additional debug information shall be generated."),(TX(),!1)),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npE),""),nbD),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),nUl),nzC),nCs),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ng0),""),"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."),nUp),nzC),nCf),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nvU),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,ngQ),""),"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`."),nUj),nzC),nCb),C6(nzT,Um(Dg(nCi,1),nfs,175,0,[nzE]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nb8),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),nUU),nz$),nPQ),C6(nzT,Um(Dg(nCi,1),nfs,175,0,[nzE]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwE),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npG),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwS),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwT),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),nU6),nzC),nCp),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npH),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),nz$),nCc),C6(nzE,Um(Dg(nCi,1),nfs,175,0,[nzM,nzj]))))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nwv),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),nzA),nTc),C6(nzE,Um(Dg(nCi,1),nfs,175,0,[nzk]))))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nwk),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),nzA),nTc),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nwj),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npN),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),nUC),nz$),nCa),Vx(nzk)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npx),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),nzP),nTn),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npR),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),nzP),nTn),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmj),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),nz$),nYF),C6(nzT,Um(Dg(nCi,1),nfs,175,0,[nzj]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npB),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),nUA),nz$),nPX),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npg),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),nzP),nTn),C6(nzE,Um(Dg(nCi,1),nfs,175,0,[nzk,nzM,nzj]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmE),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),nzI),nTi),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmT),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmM),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),Va(100)),nzA),nTc),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmS),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmP),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),Va(4e3)),nzA),nTc),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmI),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),Va(400)),nzA),nTc),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmC),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmO),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmA),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nm$),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmv),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),nUa),nzC),nCj),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npr),ng2),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npc),ng2),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nb4),ng2),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npa),ng2),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwy),ng2),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npu),ng2),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npo),ng2),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npf),ng2),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nps),ng2),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nph),ng2),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwm),ng2),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npl),ng2),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),nzI),nTi),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npb),ng2),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),nzI),nTi),C6(nzT,Um(Dg(nCi,1),nfs,175,0,[nzE]))))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npw),ng2),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),nz$),nCE),C6(nzE,Um(Dg(nCi,1),nfs,175,0,[nzk,nzM,nzj]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npq),ng2),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),nXT),nz$),nPX),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,np_),nmx),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),nzA),nTc),C6(nzT,Um(Dg(nCi,1),nfs,175,0,[nzE]))))),xW(n,np_,npF,nUQ),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npF),nmx),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),nUW),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npT),nmR),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),nUN),nz$),nPQ),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwC),nmR),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),nUD),nzO),nCd),C6(nzE,Um(Dg(nCi,1),nfs,175,0,[nzj]))))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npP),nmK),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),nUY),nzC),nCg),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npI),nmK),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),nzC),nCg),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npC),nmK),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),nzC),nCg),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npO),nmK),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),nzC),nCg),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npA),nmK),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),nzC),nCg),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwI),nmF),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),nUR),nzO),nCy),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwP),nmF),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),nUB),nzO),nCk),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwB),nmF),"Node Size Minimum"),"The minimal size to which a node can be reduced."),nU_),nz$),nCc),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npj),nmF),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),nzP),nTn),Vx(nzT)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npL),npe),"Edge Label Placement"),"Gives a hint on where to put edge labels."),nUd),nzC),nCh),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwM),npe),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),nzP),nTn),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmN),"font"),"Font Name"),"Font name used for a label."),nzN),nTs),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,nmL),"font"),"Font Size"),"Font size used for a label."),nzA),nTc),Vx(nzj)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npK),nm_),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),nz$),nCc),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npD),nm_),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),nzA),nTc),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npp),nm_),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),nXi),nzC),nCm),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g3(g8(g5(g6(new aL,npd),nm_),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),nzI),nTi),Vx(nzM)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nwO),nmH),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),nXn),nzO),nCv),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npM),nmH),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),nzP),nTn),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npS),nmH),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),nzP),nTn),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npy),nmB),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),nzP),nTn),Vx(nzE)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,npk),nmB),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),nzP),nTn),Vx(nzk)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nb5),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),nzI),nTi),Vx(nzk)))),V4(n,new neg(g7(g9(pn(g4(g3(g8(g5(g6(new aL,nmD),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),nUm),nzC),nCl),Vx(nzk)))),ma(n,new DH(((((t=new af).b=ndc,t).c="Layered",t).a='The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.',t))),ma(n,new DH(((((e=new af).b="org.eclipse.elk.orthogonal",e).c="Orthogonal",e).a='Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.',e))),ma(n,new DH(((((i=new af).b=nwp,i).c="Force",i).a="Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984.",i))),ma(n,new DH(((((r=new af).b="org.eclipse.elk.circle",r).c="Circle",r).a="Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph.",r))),ma(n,new DH(((((c=new af).b=nvl,c).c="Tree",c).a="Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type.",c))),ma(n,new DH(((((a=new af).b="org.eclipse.elk.planar",a).c="Planar",a).a="Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable.",a))),ma(n,new DH(((((u=new af).b=nvC,u).c="Radial",u).a="Radial layout algorithms usually position the nodes of the graph on concentric circles.",u))),naq((new sV,n)),nub((new sX,n)),nc9((new sQ,n))},AY(nmd,"CoreOptions",684),nrr(103,22,{3:1,35:1,22:1,103:1},ky);var nCs=qE(nmd,nbD,103,nE0,function(){return W2(),Um(Dg(nCs,1),nfs,103,0,[nXC,nXI,nXP,nXS,nXO])},function(n){return W2(),H5((Bh(),nXA),n)});nrr(272,22,{3:1,35:1,22:1,272:1},kk);var nCh=qE(nmd,"EdgeLabelPlacement",272,nE0,function(){return BB(),Um(Dg(nCh,1),nfs,272,0,[nX$,nXN,nXL])},function(n){return BB(),H5((_a(),nXD),n)});nrr(218,22,{3:1,35:1,22:1,218:1},kj);var nCf=qE(nmd,"EdgeRouting",218,nE0,function(){return VY(),Um(Dg(nCf,1),nfs,218,0,[nXF,nXR,nXx,nXK])},function(n){return VY(),H5((Hr(),nX_),n)});nrr(312,22,{3:1,35:1,22:1,312:1},kE);var nCl=qE(nmd,"EdgeType",312,nE0,function(){return ntg(),Um(Dg(nCl,1),nfs,312,0,[nXz,nXq,nXU,nXH,nXG,nXB])},function(n){return ntg(),H5((qr(),nXX),n)});nrr(977,1,nbu,sV),nTv.Qe=function(n){naq(n)},AY(nmd,"FixedLayouterOptions",977),nrr(978,1,{},aq),nTv.$e=function(){return new ax},nTv._e=function(n){},AY(nmd,"FixedLayouterOptions/FixedFactory",978),nrr(334,22,{3:1,35:1,22:1,334:1},kT);var nCb=qE(nmd,"HierarchyHandling",334,nE0,function(){return WN(),Um(Dg(nCb,1),nfs,334,0,[nX2,nX0,nX3])},function(n){return WN(),H5((_c(),nX4),n)});nrr(285,22,{3:1,35:1,22:1,285:1},kM);var nCw=qE(nmd,"LabelSide",285,nE0,function(){return ZR(),Um(Dg(nCw,1),nfs,285,0,[nX9,nX5,nX6,nX8])},function(n){return ZR(),H5((Hi(),nX7),n)});nrr(93,22,{3:1,35:1,22:1,93:1},kS);var nCd=qE(nmd,"NodeLabelPlacement",93,nE0,function(){return nrS(),Um(Dg(nCd,1),nfs,93,0,[nWt,nWn,nWi,nWo,nWu,nWa,nWr,nWc,nWe])},function(n){return nrS(),H5((zJ(),nWs),n)});nrr(249,22,{3:1,35:1,22:1,249:1},kP);var nCg=qE(nmd,"PortAlignment",249,nE0,function(){return Jq(),Um(Dg(nCg,1),nfs,249,0,[nWl,nWw,nWh,nWf,nWb])},function(n){return Jq(),H5((Bf(),nWd),n)});nrr(98,22,{3:1,35:1,22:1,98:1},kI);var nCp=qE(nmd,"PortConstraints",98,nE0,function(){return nn2(),Um(Dg(nCp,1),nfs,98,0,[nWk,nWy,nWm,nWg,nWv,nWp])},function(n){return nn2(),H5((Bq(),nWj),n)});nrr(273,22,{3:1,35:1,22:1,273:1},kC);var nCv=qE(nmd,"PortLabelPlacement",273,nE0,function(){return nis(),Um(Dg(nCv,1),nfs,273,0,[nWP,nWM,nWS,nWT,nWE,nWI])},function(n){return nis(),H5((qi(),nWC),n)});nrr(61,22,{3:1,35:1,22:1,61:1},kO);var nCm=qE(nmd,"PortSide",61,nE0,function(){return nsR(),Um(Dg(nCm,1),nwY,61,0,[nWV,nWA,nWO,nWW,nWQ])},function(n){return nsR(),H5((Bl(),nWJ),n)});nrr(981,1,nbu,sQ),nTv.Qe=function(n){nc9(n)},AY(nmd,"RandomLayouterOptions",981),nrr(982,1,{},aG),nTv.$e=function(){return new aW},nTv._e=function(n){},AY(nmd,"RandomLayouterOptions/RandomFactory",982),nrr(374,22,{3:1,35:1,22:1,374:1},kA);var nCy=qE(nmd,"SizeConstraint",374,nE0,function(){return QJ(),Um(Dg(nCy,1),nfs,374,0,[nW5,nW6,nW4,nW3])},function(n){return QJ(),H5((Ha(),nW8),n)});nrr(259,22,{3:1,35:1,22:1,259:1},k$);var nCk=qE(nmd,"SizeOptions",259,nE0,function(){return na9(),Um(Dg(nCk,1),nfs,259,0,[nVn,nVe,nW7,nVi,nVr,nVa,nVc,nVt,nW9])},function(n){return na9(),H5((Ux(),nVu),n)});nrr(370,1,{1949:1},dH),nTv.b=!1,nTv.c=0,nTv.d=-1,nTv.e=null,nTv.f=null,nTv.g=-1,nTv.j=!1,nTv.k=!1,nTv.n=!1,nTv.o=0,nTv.q=0,nTv.r=0,AY(npz,"BasicProgressMonitor",370),nrr(972,209,nbz,aK),nTv.Ze=function(n,t){var e,i,r,c,a,u,o,s;(ntc(t,"Box layout",2),$D(s=Ss(nrM(n,(nt$(),nz2)))),r=Im(nrM(n,nzZ),116),e=gm(So(nrM(n,nzW))),i=gm(So(nrM(n,nzV))),0===Im(nrM(n,nzU),311).g)?(c=new PH((n.a||(n.a=new An(nCK,n,10,11)),n.a)),NV(),E_(c,new be(i)),a=neK(n),(null==(u=Ss(nrM(n,nzz)))||($D(u),u<=0))&&(u=1.3),nsH(n,(o=function(n,t,e,i,r,c,a){var u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O;for(b=0,S=0,o=new h1(n);o.ab&&(c&&(jO(j,l),jO(T,Va(s.b-1))),C=e.b,O+=l+t,l=0,h=nTp.Math.max(h,e.b+e.c+I)),qh(u,C),qf(u,O),h=nTp.Math.max(h,C+I+e.c),l=nTp.Math.max(l,f),C+=I+t;if(h=nTp.Math.max(h,i),(P=O+l+e.a)2*c?(h=new Bz(f),s=CH(a)/C_(a),o=nsJ(h,t,new da,e,i,r,s),S9(jR(h.e),o),f.c=_f(nEU,nhO,1,0,5,1),c=0,f.c[f.c.length]=h,f.c[f.c.length]=a,c=CH(h)*C_(h)+CH(a)*C_(a)):(f.c[f.c.length]=a,c+=CH(a)*C_(a));return f}(a,t,u.a,u.b,($D(r),i));break;case 1:h=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(NV(),E_(n,new aF),a=Ij(n),b=new wn,l=new wn,u=null,o=0;0!=a.b;)c=Im(0==a.b?null:(MK(0!=a.b),BK(a,a.a.a)),157),!u||CH(u)*C_(u)/21&&(o>CH(u)*C_(u)/2||0==a.b)&&(f=new Bz(l),h=CH(u)/C_(u),s=nsJ(f,t,new da,e,i,r,h),S9(jR(f.e),s),u=f,b.c[b.c.length]=f,o=0,l.c=_f(nEU,nhO,1,0,5,1)));return Uf(b,l),b}(a,t,u.a,u.b,($D(r),i));break;default:h=function(n,t,e,i,r){var c,a,u,o,s,h,f,l,b;for(u=_f(nYx,nlh,25,n.c.length,15,1),Zz(l=new O0(new a_),n),s=0,b=new wn;0!=l.b.c.length;)if(a=Im(0==l.b.c.length?null:CA(l.b,0),157),s>1&&CH(a)*C_(a)/2>u[0]){for(c=0;cu[c];)++c;f=new Bz(new D2(b,0,c+1)),h=CH(a)/C_(a),o=nsJ(f,t,new da,e,i,r,h),S9(jR(f.e),o),_w(ntp(l,f)),Zz(l,new D2(b,c+1,b.c.length)),b.c=_f(nEU,nhO,1,0,5,1),s=0,C5(u,u.length,0)}else null!=(0==l.b.c.length?null:CA(l.b,0))&&Gy(l,0),s>0&&(u[s]=u[s-1]),u[s]+=CH(a)*C_(a),++s,b.c[b.c.length]=a;return b}(a,t,u.a,u.b,($D(r),i))}nsH(n,(s=nsJ(new Bz(h),t,e,u.a,u.b,i,($D(r),r))).a,s.b,!1,!0)}(n,s,r,e),nee(t)},AY(npz,"BoxLayoutProvider",972),nrr(973,1,nlU,be),nTv.ue=function(n,t){var e,i,r,c,a;return e=Im(n,33),i=Im(t,33),((c=Im(nrM(e,(nt$(),nz0)),19))||(c=Va(0)),(a=Im(nrM(i,nz0),19))||(a=Va(0)),c.a>a.a)?-1:c.a0&&w.b>0&&nsH(g,w.a,w.b,!0,!0)),l=nTp.Math.max(l,g.i+g.g),b=nTp.Math.max(b,g.j+g.f),h=new Td((g.n||(g.n=new An(nCR,g,1,7)),g.n));h.e!=h.i.gc();)u=Im(J1(h),137),(T=Im(nrM(u,nX1),8))&&Ef(u,T.a,T.b),l=nTp.Math.max(l,g.i+u.i+u.g),b=nTp.Math.max(b,g.j+u.j+u.f);for(k=new Td((g.c||(g.c=new An(nCF,g,9,9)),g.c));k.e!=k.i.gc();)for(y=Im(J1(k),118),(T=Im(nrM(y,nX1),8))&&Ef(y,T.a,T.b),j=g.i+y.i,E=g.j+y.j,l=nTp.Math.max(l,j+y.g),b=nTp.Math.max(b,E+y.f),o=new Td((y.n||(y.n=new An(nCR,y,1,7)),y.n));o.e!=o.i.gc();)u=Im(J1(o),137),(T=Im(nrM(u,nX1),8))&&Ef(u,T.a,T.b),l=nTp.Math.max(l,j+u.i+u.g),b=nTp.Math.max(b,E+u.j+u.f);for(r=new OM(Tx(nrZ(g).a.Kc(),new s));nrc(r);)f=nsB(e=Im(K4(r),79)),l=nTp.Math.max(l,f.a),b=nTp.Math.max(b,f.b);for(i=new OM(Tx(nrY(g).a.Kc(),new s));nrc(i);)Dt(ntN(e=Im(K4(i),79)))!=n&&(f=nsB(e),l=nTp.Math.max(l,f.a),b=nTp.Math.max(b,f.b))}if(c==(VY(),nXx))for(p=new Td((n.a||(n.a=new An(nCK,n,10,11)),n.a));p.e!=p.i.gc();)for(i=new OM(Tx(nrZ(g=Im(J1(p),33)).a.Kc(),new s));nrc(i);)0==(a=function(n){var t;if(1!=(n.a||(n.a=new An(nC$,n,6,6)),n.a).i)throw new gd(nmU+(n.a||(n.a=new An(nC$,n,6,6)),n.a).i).e;return t=new dd,Uo(Im(BX((n.b||(n.b=new Ph(nCO,n,4,7)),n.b),0),82))&&Gz(t,nhn(n,Uo(Im(BX((n.b||(n.b=new Ph(nCO,n,4,7)),n.b),0),82)),!1)),Uo(Im(BX((n.c||(n.c=new Ph(nCO,n,5,8)),n.c),0),82))&&Gz(t,nhn(n,Uo(Im(BX((n.c||(n.c=new Ph(nCO,n,5,8)),n.c),0),82)),!0)),t}(e=Im(K4(i),79))).b?Yu(e,nUI,null):Yu(e,nUI,a);gm(So(nrM(n,(XY(),nXQ))))||(d=l+(m=Im(nrM(n,nXY),116)).b+m.c,nsH(n,d,b+m.d+m.a,!0,!0)),nee(t)},AY(npz,"FixedLayoutProvider",1138),nrr(373,134,{3:1,414:1,373:1,94:1,134:1},az,HB),nTv.Jf=function(n){var t,e,i,r,c,a,u;if(n)try{for(r=0,c=(a=naX(n,";,;")).length;r>16&nfP|-65536&n^(t&nfP)<<16},nTv.Kc=function(){return new ba(this)},nTv.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+V7(this.b)+")":null==this.b?"pair("+V7(this.a)+",null)":"pair("+V7(this.a)+","+V7(this.b)+")"},AY(npz,"Pair",46),nrr(983,1,nhK,ba),nTv.Nb=function(n){Ao(this,n)},nTv.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},nTv.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw(new wO).e},nTv.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),(new wM).e},nTv.b=!1,nTv.c=!1,AY(npz,"Pair/1",983),nrr(448,1,{448:1},NM),nTv.Fb=function(n){return $5(this.a,Im(n,448).a)&&$5(this.c,Im(n,448).c)&&$5(this.d,Im(n,448).d)&&$5(this.b,Im(n,448).b)},nTv.Hb=function(){return X9(Um(Dg(nEU,1),nhO,1,5,[this.a,this.c,this.d,this.b]))},nTv.Ib=function(){return"("+this.a+nhI+this.c+nhI+this.d+nhI+this.b+")"},AY(npz,"Quadruple",448),nrr(1126,209,nbz,aW),nTv.Ze=function(n,t){var e,i,r,c,a;if(ntc(t,"Random Layout",1),0==(n.a||(n.a=new An(nCK,n,10,11)),n.a).i){nee(t);return}i=(r=Im(nrM(n,(QQ(),nW0)),19))&&0!=r.a?new Ka(r.a):new VB,$D(c=Ss(nrM(n,nWY))),$D(a=Ss(nrM(n,nW2))),e=Im(nrM(n,nWZ),116),function(n,t,e,i,r){var c,a,u,o,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M;for(m=0,d=0,w=0,b=1,v=new Td((n.a||(n.a=new An(nCK,n,10,11)),n.a));v.e!=v.i.gc();)b+=RK(new OM(Tx(nrZ(g=Im(J1(v),33)).a.Kc(),new s))),E=g.g,d=nTp.Math.max(d,E),l=g.f,w=nTp.Math.max(w,l),m+=E*l;for(a=m+2*i*i*b*(n.a||(n.a=new An(nCK,n,10,11)),n.a).i,c=nTp.Math.sqrt(a),o=nTp.Math.max(c*e,d),u=nTp.Math.max(c/e,w),p=new Td((n.a||(n.a=new An(nCK,n,10,11)),n.a));p.e!=p.i.gc();)g=Im(J1(p),33),T=r.b+(nr_(t,26)*nlM+nr_(t,27)*nlS)*(o-g.g),M=r.b+(nr_(t,26)*nlM+nr_(t,27)*nlS)*(u-g.f),qh(g,T),qf(g,M);for(j=o+(r.b+r.c),k=u+(r.d+r.a),y=new Td((n.a||(n.a=new An(nCK,n,10,11)),n.a));y.e!=y.i.gc();)for(f=new OM(Tx(nrZ(Im(J1(y),33)).a.Kc(),new s));nrc(f);)ni5(h=Im(K4(f),79))||function(n,t,e,i){var r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m,y,k,j,E,T,M,S,P,I,C,O,A,$,N,L;if(m=(p=Im(BX((n.b||(n.b=new Ph(nCO,n,4,7)),n.b),0),82)).Dg(),y=p.Eg(),v=p.Cg()/2,b=p.Bg()/2,Ti(p,186)&&(m+=L8(g=Im(p,118)).i+L8(g).i),m+=v,y+=b,P=(M=Im(BX((n.b||(n.b=new Ph(nCO,n,4,7)),n.b),0),82)).Dg(),I=M.Eg(),S=M.Cg()/2,k=M.Bg()/2,Ti(M,186)&&(P+=L8(T=Im(M,118)).i+L8(T).i),P+=S,I+=k,0==(n.a||(n.a=new An(nC$,n,6,6)),n.a).i)pw(),u=new aZ,_P((n.a||(n.a=new An(nC$,n,6,6)),n.a),u);else if((n.a||(n.a=new An(nC$,n,6,6)),n.a).i>1)for(l=new Mv((n.a||(n.a=new An(nC$,n,6,6)),n.a));l.e!=l.i.gc();)nnA(l);for(a=Im(BX((n.a||(n.a=new An(nC$,n,6,6)),n.a),0),202),w=P,P>m+v?w=m+v:Py+b?d=y+b:Im-v&&wy-b&&dP+S?j=P+S:mI+k?E=I+k:yP-S&&jI-k&&Ee&&(h=e-1),(f=$+nr_(t,24)*nlI*s-s/2)<0?f=1:f>i&&(f=i-1),pw(),qc(r=new aY,h),qa(r,f),_P((a.a||(a.a=new Tg(nCP,a,5)),a.a),r)}(h,t,j,k);nsH(n,j+=r.b+r.c,k+=r.d+r.a,!1,!0)}(n,i,c,a,e),nee(t)},AY(npz,"RandomLayoutProvider",1126),nrr(553,1,{}),nTv.qf=function(){return new kp(this.f.i,this.f.j)},nTv.We=function(n){return Lg(n,(nha(),nU4))?nrM(this.f,nVm):nrM(this.f,n)},nTv.rf=function(){return new kp(this.f.g,this.f.f)},nTv.sf=function(){return this.g},nTv.Xe=function(n){return _u(this.f,n)},nTv.tf=function(n){qh(this.f,n.a),qf(this.f,n.b)},nTv.uf=function(n){qs(this.f,n.a),qo(this.f,n.b)},nTv.vf=function(n){this.g=n},nTv.g=0,AY(nmX,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),nrr(554,1,{839:1},bu),nTv.wf=function(){var n,t;if(!this.b)for(this.b=Re(Ni(this.a).i),t=new Td(Ni(this.a));t.e!=t.i.gc();)n=Im(J1(t),137),IE(this.b,new gb(n));return this.b},nTv.b=null,AY(nmX,"ElkGraphAdapters/ElkEdgeAdapter",554),nrr(301,553,{},gl),nTv.xf=function(){return Zl(this)},nTv.a=null,AY(nmX,"ElkGraphAdapters/ElkGraphAdapter",301),nrr(630,553,{181:1},gb),AY(nmX,"ElkGraphAdapters/ElkLabelAdapter",630),nrr(629,553,{680:1},Mw),nTv.wf=function(){return function(n){var t,e;if(!n.b)for(n.b=Re(Im(n.f,33).Ag().i),e=new Td(Im(n.f,33).Ag());e.e!=e.i.gc();)t=Im(J1(e),137),IE(n.b,new gb(t));return n.b}(this)},nTv.Af=function(){var n;return(n=Im(nrM(this.f,(nha(),nUO)),142))||(n=new dc),n},nTv.Cf=function(){return function(n){var t,e;if(!n.e)for(n.e=Re(Nr(Im(n.f,33)).i),e=new Td(Nr(Im(n.f,33)));e.e!=e.i.gc();)t=Im(J1(e),118),IE(n.e,new bK(t));return n.e}(this)},nTv.Ef=function(n){var t;t=new PY(n),Yu(this.f,(nha(),nUO),t)},nTv.Ff=function(n){Yu(this.f,(nha(),nUz),new PJ(n))},nTv.yf=function(){return this.d},nTv.zf=function(){var n,t;if(!this.a)for(this.a=new wn,t=new OM(Tx(nrY(Im(this.f,33)).a.Kc(),new s));nrc(t);)n=Im(K4(t),79),IE(this.a,new bu(n));return this.a},nTv.Bf=function(){var n,t;if(!this.c)for(this.c=new wn,t=new OM(Tx(nrZ(Im(this.f,33)).a.Kc(),new s));nrc(t);)n=Im(K4(t),79),IE(this.c,new bu(n));return this.c},nTv.Df=function(){return 0!=N8(Im(this.f,33)).i||gm(So(Im(this.f,33).We((nha(),nUT))))},nTv.Gf=function(){var n;mo(),n=nVv,PT(Im(Im(this.f,33).We((nha(),nU5)),98))&&function(n,t){var e,i,r;for(Si(),_V(i=_W(n),0,i.length,t),e=0;e=0?this.Qg(t):this.eh().ih(this,-1-e,null,t),t=this.Sg(null,-1,t))),this.uh(n),t},nTv.xh=function(n){var t,e,i,r,c,a,u;if((c=Qj(e=this.Tg(),n))>=(t=this.Ah()))return Im(n,66).Nj().Uj(this,this.yh(),c-t);if(c<=-1){if(a=noW((neS(),nJy),e,n)){if(mp(),Im(a,66).Oj()||(a=xt(HC(nJy,a))),r=Im((i=this.Yg(a))>=0?this._g(i,!0,!0):niO(this,a,!0),153),(u=a.Zj())>1||-1==u)return Im(Im(r,215).hl(n,!1),76)}else throw new gd(nm7+n.ne()+nye).e}else if(n.$j())return Im((i=this.Yg(n))>=0?this._g(i,!1,!0):niO(this,n,!1),76);return new k9(this,n)},nTv.yh=function(){return HK(this)},nTv.zh=function(){return($g(),nQC).S},nTv.Ah=function(){return AW(this.zh())},nTv.Bh=function(n){nem(this,n)},nTv.Ib=function(){return nrL(this)},AY(nyu,"BasicEObjectImpl",97),nrr(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),nTv.Ch=function(n){return HF(this)[n]},nTv.Dh=function(n,t){$t(HF(this),n,t)},nTv.Eh=function(n){$t(HF(this),n,null)},nTv.Jg=function(){return Im(zF(this,4),126)},nTv.Kg=function(){throw(new wP).e},nTv.Lg=function(){return(4&this.Db)!=0},nTv.Pg=function(){throw(new wP).e},nTv.Fh=function(n){Jg(this,2,n)},nTv.Rg=function(n,t){this.Db=t<<16|255&this.Db,this.Fh(n)},nTv.Tg=function(){return Ld(this)},nTv.Vg=function(){return this.Db>>16},nTv.Wg=function(){var n;return mw(),null==(n=LN(nuq(Im(zF(this,16),26)||this.zh())))?nQ5:new Ml(this,n)},nTv.Mg=function(){return(1&this.Db)==0},nTv.Zg=function(){return Im(zF(this,128),1935)},nTv.$g=function(){return Im(zF(this,16),26)},nTv.dh=function(){return(32&this.Db)!=0},nTv.eh=function(){return Im(zF(this,2),49)},nTv.kh=function(){return(64&this.Db)!=0},nTv.ph=function(){throw(new wP).e},nTv.qh=function(){return Im(zF(this,64),281)},nTv.th=function(n){Jg(this,16,n)},nTv.uh=function(n){Jg(this,128,n)},nTv.vh=function(n){Jg(this,64,n)},nTv.yh=function(){return Jp(this)},nTv.Db=0,AY(nyu,"MinimalEObjectImpl",114),nrr(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),nTv.Fh=function(n){this.Cb=n},nTv.eh=function(){return this.Cb},AY(nyu,"MinimalEObjectImpl/Container",115),nrr(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),nTv._g=function(n,t,e){return ZT(this,n,t,e)},nTv.jh=function(n,t,e){return ntQ(this,n,t,e)},nTv.lh=function(n){return xl(this,n)},nTv.sh=function(n,t){Xy(this,n,t)},nTv.zh=function(){return nsZ(),nV$},nTv.Bh=function(n){U$(this,n)},nTv.Ve=function(){return JX(this)},nTv.We=function(n){return nrM(this,n)},nTv.Xe=function(n){return _u(this,n)},nTv.Ye=function(n,t){return Yu(this,n,t)},AY(nyo,"EMapPropertyHolderImpl",1985),nrr(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},aY),nTv._g=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return Yo(this,n,t,e)},nTv.lh=function(n){switch(n){case 0:return 0!=this.a;case 1:return 0!=this.b}return JY(this,n)},nTv.sh=function(n,t){switch(n){case 0:qc(this,gy(Ss(t)));return;case 1:qa(this,gy(Ss(t)));return}neV(this,n,t)},nTv.zh=function(){return nsZ(),nVj},nTv.Bh=function(n){switch(n){case 0:qc(this,0);return;case 1:qa(this,0);return}nem(this,n)},nTv.Ib=function(){var n;return(64&this.Db)!=0?nrL(this):(n=new TW(nrL(this)),n.a+=" (x: ",pA(n,this.a),n.a+=", y: ",pA(n,this.b),n.a+=")",n.a)},nTv.a=0,nTv.b=0,AY(nyo,"ElkBendPointImpl",567),nrr(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),nTv._g=function(n,t,e){return W0(this,n,t,e)},nTv.hh=function(n,t,e){return nth(this,n,t,e)},nTv.jh=function(n,t,e){return Ut(this,n,t,e)},nTv.lh=function(n){return zB(this,n)},nTv.sh=function(n,t){nnP(this,n,t)},nTv.zh=function(){return nsZ(),nVS},nTv.Bh=function(n){WL(this,n)},nTv.zg=function(){return this.k},nTv.Ag=function(){return Ni(this)},nTv.Ib=function(){return VN(this)},nTv.k=null,AY(nyo,"ElkGraphElementImpl",723),nrr(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),nTv._g=function(n,t,e){return V9(this,n,t,e)},nTv.lh=function(n){return Qb(this,n)},nTv.sh=function(n,t){nnI(this,n,t)},nTv.zh=function(){return nsZ(),nVA},nTv.Bh=function(n){QM(this,n)},nTv.Bg=function(){return this.f},nTv.Cg=function(){return this.g},nTv.Dg=function(){return this.i},nTv.Eg=function(){return this.j},nTv.Fg=function(n,t){Eh(this,n,t)},nTv.Gg=function(n,t){Ef(this,n,t)},nTv.Hg=function(n){qh(this,n)},nTv.Ig=function(n){qf(this,n)},nTv.Ib=function(){return nt3(this)},nTv.f=0,nTv.g=0,nTv.i=0,nTv.j=0,AY(nyo,"ElkShapeImpl",724),nrr(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),nTv._g=function(n,t,e){return Y_(this,n,t,e)},nTv.hh=function(n,t,e){return nnf(this,n,t,e)},nTv.jh=function(n,t,e){return nnl(this,n,t,e)},nTv.lh=function(n){return Xs(this,n)},nTv.sh=function(n,t){nrg(this,n,t)},nTv.zh=function(){return nsZ(),nVE},nTv.Bh=function(n){J9(this,n)},nTv.xg=function(){return this.d||(this.d=new Ph(nCA,this,8,5)),this.d},nTv.yg=function(){return this.e||(this.e=new Ph(nCA,this,7,4)),this.e},AY(nyo,"ElkConnectableShapeImpl",725),nrr(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},aJ),nTv.Qg=function(n){return Z4(this,n)},nTv._g=function(n,t,e){switch(n){case 3:return L6(this);case 4:return this.b||(this.b=new Ph(nCO,this,4,7)),this.b;case 5:return this.c||(this.c=new Ph(nCO,this,5,8)),this.c;case 6:return this.a||(this.a=new An(nC$,this,6,6)),this.a;case 7:return TX(),this.b||(this.b=new Ph(nCO,this,4,7)),!(this.b.i<=1)||(this.c||(this.c=new Ph(nCO,this,5,8)),!(this.c.i<=1));case 8:return TX(),!!ni5(this);case 9:return TX(),!!niM(this);case 10:return TX(),this.b||(this.b=new Ph(nCO,this,4,7)),0!=this.b.i&&(this.c||(this.c=new Ph(nCO,this,5,8)),0!=this.c.i)}return W0(this,n,t,e)},nTv.hh=function(n,t,e){var i;switch(t){case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?Z4(this,e):this.Cb.ih(this,-1-i,null,e)),SM(this,Im(n,33),e);case 4:return this.b||(this.b=new Ph(nCO,this,4,7)),QL(this.b,n,e);case 5:return this.c||(this.c=new Ph(nCO,this,5,8)),QL(this.c,n,e);case 6:return this.a||(this.a=new An(nC$,this,6,6)),QL(this.a,n,e)}return nth(this,n,t,e)},nTv.jh=function(n,t,e){switch(t){case 3:return SM(this,null,e);case 4:return this.b||(this.b=new Ph(nCO,this,4,7)),Ye(this.b,n,e);case 5:return this.c||(this.c=new Ph(nCO,this,5,8)),Ye(this.c,n,e);case 6:return this.a||(this.a=new An(nC$,this,6,6)),Ye(this.a,n,e)}return Ut(this,n,t,e)},nTv.lh=function(n){switch(n){case 3:return!!L6(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return this.b||(this.b=new Ph(nCO,this,4,7)),!(this.b.i<=1&&(this.c||(this.c=new Ph(nCO,this,5,8)),this.c.i<=1));case 8:return ni5(this);case 9:return niM(this);case 10:return this.b||(this.b=new Ph(nCO,this,4,7)),0!=this.b.i&&(this.c||(this.c=new Ph(nCO,this,5,8)),0!=this.c.i)}return zB(this,n)},nTv.sh=function(n,t){switch(n){case 3:nr7(this,Im(t,33));return;case 4:this.b||(this.b=new Ph(nCO,this,4,7)),noK(this.b),this.b||(this.b=new Ph(nCO,this,4,7)),AJ(this.b,Im(t,14));return;case 5:this.c||(this.c=new Ph(nCO,this,5,8)),noK(this.c),this.c||(this.c=new Ph(nCO,this,5,8)),AJ(this.c,Im(t,14));return;case 6:this.a||(this.a=new An(nC$,this,6,6)),noK(this.a),this.a||(this.a=new An(nC$,this,6,6)),AJ(this.a,Im(t,14));return}nnP(this,n,t)},nTv.zh=function(){return nsZ(),nVT},nTv.Bh=function(n){switch(n){case 3:nr7(this,null);return;case 4:this.b||(this.b=new Ph(nCO,this,4,7)),noK(this.b);return;case 5:this.c||(this.c=new Ph(nCO,this,5,8)),noK(this.c);return;case 6:this.a||(this.a=new An(nC$,this,6,6)),noK(this.a);return}WL(this,n)},nTv.Ib=function(){return nop(this)},AY(nyo,"ElkEdgeImpl",352),nrr(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},aZ),nTv.Qg=function(n){return ZV(this,n)},nTv._g=function(n,t,e){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return this.a||(this.a=new Tg(nCP,this,5)),this.a;case 6:return L9(this);case 7:if(t)return YP(this);return this.i;case 8:if(t)return YS(this);return this.f;case 9:return this.g||(this.g=new Ph(nC$,this,9,10)),this.g;case 10:return this.e||(this.e=new Ph(nC$,this,10,9)),this.e;case 11:return this.d}return ZT(this,n,t,e)},nTv.hh=function(n,t,e){var i;switch(t){case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?ZV(this,e):this.Cb.ih(this,-1-i,null,e)),SS(this,Im(n,79),e);case 9:return this.g||(this.g=new Ph(nC$,this,9,10)),QL(this.g,n,e);case 10:return this.e||(this.e=new Ph(nC$,this,10,9)),QL(this.e,n,e)}return Im(Bm(Im(zF(this,16),26)||(nsZ(),nVM),t),66).Nj().Qj(this,Jp(this),t-AW((nsZ(),nVM)),n,e)},nTv.jh=function(n,t,e){switch(t){case 5:return this.a||(this.a=new Tg(nCP,this,5)),Ye(this.a,n,e);case 6:return SS(this,null,e);case 9:return this.g||(this.g=new Ph(nC$,this,9,10)),Ye(this.g,n,e);case 10:return this.e||(this.e=new Ph(nC$,this,10,9)),Ye(this.e,n,e)}return ntQ(this,n,t,e)},nTv.lh=function(n){switch(n){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!L9(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return xl(this,n)},nTv.sh=function(n,t){switch(n){case 1:ql(this,gy(Ss(t)));return;case 2:qw(this,gy(Ss(t)));return;case 3:qu(this,gy(Ss(t)));return;case 4:qb(this,gy(Ss(t)));return;case 5:this.a||(this.a=new Tg(nCP,this,5)),noK(this.a),this.a||(this.a=new Tg(nCP,this,5)),AJ(this.a,Im(t,14));return;case 6:nr8(this,Im(t,79));return;case 7:q9(this,Im(t,82));return;case 8:q8(this,Im(t,82));return;case 9:this.g||(this.g=new Ph(nC$,this,9,10)),noK(this.g),this.g||(this.g=new Ph(nC$,this,9,10)),AJ(this.g,Im(t,14));return;case 10:this.e||(this.e=new Ph(nC$,this,10,9)),noK(this.e),this.e||(this.e=new Ph(nC$,this,10,9)),AJ(this.e,Im(t,14));return;case 11:Gd(this,Sh(t));return}Xy(this,n,t)},nTv.zh=function(){return nsZ(),nVM},nTv.Bh=function(n){switch(n){case 1:ql(this,0);return;case 2:qw(this,0);return;case 3:qu(this,0);return;case 4:qb(this,0);return;case 5:this.a||(this.a=new Tg(nCP,this,5)),noK(this.a);return;case 6:nr8(this,null);return;case 7:q9(this,null);return;case 8:q8(this,null);return;case 9:this.g||(this.g=new Ph(nC$,this,9,10)),noK(this.g);return;case 10:this.e||(this.e=new Ph(nC$,this,10,9)),noK(this.e);return;case 11:Gd(this,null);return}U$(this,n)},nTv.Ib=function(){return niQ(this)},nTv.b=0,nTv.c=0,nTv.d=null,nTv.j=0,nTv.k=0,AY(nyo,"ElkEdgeSectionImpl",439),nrr(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),nTv._g=function(n,t,e){return 0==n?(this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab):_Q(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t,e)},nTv.hh=function(n,t,e){return 0==t?(this.Ab||(this.Ab=new An(nQc,this,0,3)),QL(this.Ab,n,e)):Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Qj(this,Jp(this),t-AW(this.zh()),n,e)},nTv.jh=function(n,t,e){return 0==t?(this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e)):Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Rj(this,Jp(this),t-AW(this.zh()),n,e)},nTv.lh=function(n){return 0==n?!!this.Ab&&0!=this.Ab.i:RL(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTv.oh=function(n){return ns$(this,n)},nTv.sh=function(n,t){if(0===n){this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return}V5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t)},nTv.uh=function(n){Jg(this,128,n)},nTv.zh=function(){return nhl(),nQH},nTv.Bh=function(n){if(0===n){this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return}W5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTv.Gh=function(){this.Bb|=1},nTv.Hh=function(n){return nus(this,n)},nTv.Bb=0,AY(nyu,"EModelElementImpl",150),nrr(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},sJ),nTv.Ih=function(n,t){return nso(this,n,t)},nTv.Jh=function(n){var t,e,i,r;if(this.a!=BU(n)||(256&n.Bb)!=0)throw new gd(nyw+n.zb+nyf).e;for(e=Lw(n);0!=RJ(e.a).i;){if(Zb(t=Im(no1(e,0,Ti(r=Im(BX(RJ(e.a),0),87).c,88)?Im(r,26):(nhl(),nQq)),26)))return Im(i=BU(t).Nh().Jh(t),49).th(n),i;e=Lw(t)}return(null!=n.D?n.D:n.B)=="java.util.Map$Entry"?new Cl(n):new Iz(n)},nTv.Kh=function(n,t){return ns4(this,n,t)},nTv._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.a}return _Q(this,n-AW((nhl(),nQK)),Bm(Im(zF(this,16),26)||nQK,n),t,e)},nTv.hh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),QL(this.Ab,n,e);case 1:return this.a&&(e=Im(this.a,49).ih(this,4,nCx,e)),WP(this,Im(n,235),e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQK),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQK)),n,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 1:return WP(this,null,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQK),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQK)),n,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return RL(this,n-AW((nhl(),nQK)),Bm(Im(zF(this,16),26)||nQK,n))},nTv.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:nt_(this,Im(t,235));return}V5(this,n-AW((nhl(),nQK)),Bm(Im(zF(this,16),26)||nQK,n),t)},nTv.zh=function(){return nhl(),nQK},nTv.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:nt_(this,null);return}W5(this,n-AW((nhl(),nQK)),Bm(Im(zF(this,16),26)||nQK,n))},AY(nyu,"EFactoryImpl",704),nrr(nyg,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},a1),nTv.Ih=function(n,t){switch(n.yj()){case 12:return Im(t,146).tg();case 13:return V7(t);default:throw new gd(nyh+n.ne()+nyf).e}},nTv.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=BU(n))?Yl(t.Mh(),n):-1),n.G){case 4:return new a0;case 6:return new dg;case 7:return new dp;case 8:return new aJ;case 9:return new aY;case 10:return new aZ;case 11:return new a3;default:throw new gd(nyw+n.zb+nyf).e}},nTv.Kh=function(n,t){switch(n.yj()){case 13:case 12:return null;default:throw new gd(nyh+n.ne()+nyf).e}},AY(nyo,"ElkGraphFactoryImpl",nyg),nrr(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),nTv.Wg=function(){var n;return null==(n=LN(nuq(Im(zF(this,16),26)||this.zh())))?(mw(),mw(),nQ5):new MY(this,n)},nTv._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.ne()}return _Q(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return RL(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTv.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:this.Lh(Sh(t));return}V5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t)},nTv.zh=function(){return nhl(),nQB},nTv.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:this.Lh(null);return}W5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTv.ne=function(){return this.zb},nTv.Lh=function(n){GF(this,n)},nTv.Ib=function(){return Wq(this)},nTv.zb=null,AY(nyu,"ENamedElementImpl",438),nrr(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},Lb),nTv.Qg=function(n){return Z1(this,n)},nTv._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return this.rb||(this.rb=new O6(this,nQs,this)),this.rb;case 6:return this.vb||(this.vb=new Pe(nCx,this,6,7)),this.vb;case 7:if(t)return this.Db>>16==7?Im(this.Cb,235):null;return L7(this)}return _Q(this,n-AW((nhl(),nQU)),Bm(Im(zF(this,16),26)||nQU,n),t,e)},nTv.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),QL(this.Ab,n,e);case 4:return this.sb&&(e=Im(this.sb,49).ih(this,1,nCL,e)),WG(this,Im(n,471),e);case 5:return this.rb||(this.rb=new O6(this,nQs,this)),QL(this.rb,n,e);case 6:return this.vb||(this.vb=new Pe(nCx,this,6,7)),QL(this.vb,n,e);case 7:return this.Cb&&(e=(i=this.Db>>16)>=0?Z1(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,7,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQU),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQU)),n,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 4:return WG(this,null,e);case 5:return this.rb||(this.rb=new O6(this,nQs,this)),Ye(this.rb,n,e);case 6:return this.vb||(this.vb=new Pe(nCx,this,6,7)),Ye(this.vb,n,e);case 7:return nuc(this,null,7,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQU),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQU)),n,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!L7(this)}return RL(this,n-AW((nhl(),nQU)),Bm(Im(zF(this,16),26)||nQU,n))},nTv.oh=function(n){return function(n,t){var e,i,r,c,a,u;if(!n.tb){for(n.rb||(n.rb=new O6(n,nQs,n)),u=new vL((c=n.rb).i),r=new Td(c);r.e!=r.i.gc();)a=(i=Im(J1(r),138)).ne(),(e=Im(null==a?neQ(u.f,null,i):VH(u.g,a,i),138))&&(null==a?neQ(u.f,null,e):VH(u.g,a,e));n.tb=u}return Im(Lz(n.tb,t),138)}(this,n)||ns$(this,n)},nTv.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:GF(this,Sh(t));return;case 2:GH(this,Sh(t));return;case 3:G_(this,Sh(t));return;case 4:ntJ(this,Im(t,471));return;case 5:this.rb||(this.rb=new O6(this,nQs,this)),noK(this.rb),this.rb||(this.rb=new O6(this,nQs,this)),AJ(this.rb,Im(t,14));return;case 6:this.vb||(this.vb=new Pe(nCx,this,6,7)),noK(this.vb),this.vb||(this.vb=new Pe(nCx,this,6,7)),AJ(this.vb,Im(t,14));return}V5(this,n-AW((nhl(),nQU)),Bm(Im(zF(this,16),26)||nQU,n),t)},nTv.vh=function(n){var t,e;if(n&&this.rb)for(e=new Td(this.rb);e.e!=e.i.gc();)Ti(t=J1(e),351)&&(Im(t,351).w=null);Jg(this,64,n)},nTv.zh=function(){return nhl(),nQU},nTv.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:GF(this,null);return;case 2:GH(this,null);return;case 3:G_(this,null);return;case 4:ntJ(this,null);return;case 5:this.rb||(this.rb=new O6(this,nQs,this)),noK(this.rb);return;case 6:this.vb||(this.vb=new Pe(nCx,this,6,7)),noK(this.vb);return}W5(this,n-AW((nhl(),nQU)),Bm(Im(zF(this,16),26)||nQU,n))},nTv.Gh=function(){ZM(this)},nTv.Mh=function(){return this.rb||(this.rb=new O6(this,nQs,this)),this.rb},nTv.Nh=function(){return this.sb},nTv.Oh=function(){return this.ub},nTv.Ph=function(){return this.xb},nTv.Qh=function(){return this.yb},nTv.Rh=function(n){this.ub=n},nTv.Ib=function(){var n;return(64&this.Db)!=0?Wq(this):(n=new TW(Wq(this)),n.a+=" (nsURI: ",jT(n,this.yb),n.a+=", nsPrefix: ",jT(n,this.xb),n.a+=")",n.a)},nTv.xb=null,nTv.yb=null,AY(nyu,"EPackageImpl",179),nrr(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},nrn),nTv.q=!1,nTv.r=!1;var nC_=!1;AY(nyo,"ElkGraphPackageImpl",555),nrr(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},a0),nTv.Qg=function(n){return ZQ(this,n)},nTv._g=function(n,t,e){switch(n){case 7:return Dn(this);case 8:return this.a}return V9(this,n,t,e)},nTv.hh=function(n,t,e){var i;return 7===t?(this.Cb&&(e=(i=this.Db>>16)>=0?ZQ(this,e):this.Cb.ih(this,-1-i,null,e)),Ow(this,Im(n,160),e)):nth(this,n,t,e)},nTv.jh=function(n,t,e){return 7==t?Ow(this,null,e):Ut(this,n,t,e)},nTv.lh=function(n){switch(n){case 7:return!!Dn(this);case 8:return!Pv("",this.a)}return Qb(this,n)},nTv.sh=function(n,t){switch(n){case 7:ncd(this,Im(t,160));return;case 8:q7(this,Sh(t));return}nnI(this,n,t)},nTv.zh=function(){return nsZ(),nVP},nTv.Bh=function(n){switch(n){case 7:ncd(this,null);return;case 8:q7(this,"");return}QM(this,n)},nTv.Ib=function(){return neh(this)},nTv.a="",AY(nyo,"ElkLabelImpl",354),nrr(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},dg),nTv.Qg=function(n){return Z5(this,n)},nTv._g=function(n,t,e){switch(n){case 9:return this.c||(this.c=new An(nCF,this,9,9)),this.c;case 10:return this.a||(this.a=new An(nCK,this,10,11)),this.a;case 11:return Dt(this);case 12:return this.b||(this.b=new An(nCA,this,12,3)),this.b;case 13:return TX(),this.a||(this.a=new An(nCK,this,10,11)),this.a.i>0}return Y_(this,n,t,e)},nTv.hh=function(n,t,e){var i;switch(t){case 9:return this.c||(this.c=new An(nCF,this,9,9)),QL(this.c,n,e);case 10:return this.a||(this.a=new An(nCK,this,10,11)),QL(this.a,n,e);case 11:return this.Cb&&(e=(i=this.Db>>16)>=0?Z5(this,e):this.Cb.ih(this,-1-i,null,e)),S8(this,Im(n,33),e);case 12:return this.b||(this.b=new An(nCA,this,12,3)),QL(this.b,n,e)}return nnf(this,n,t,e)},nTv.jh=function(n,t,e){switch(t){case 9:return this.c||(this.c=new An(nCF,this,9,9)),Ye(this.c,n,e);case 10:return this.a||(this.a=new An(nCK,this,10,11)),Ye(this.a,n,e);case 11:return S8(this,null,e);case 12:return this.b||(this.b=new An(nCA,this,12,3)),Ye(this.b,n,e)}return nnl(this,n,t,e)},nTv.lh=function(n){switch(n){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!Dt(this);case 12:return!!this.b&&0!=this.b.i;case 13:return this.a||(this.a=new An(nCK,this,10,11)),this.a.i>0}return Xs(this,n)},nTv.sh=function(n,t){switch(n){case 9:this.c||(this.c=new An(nCF,this,9,9)),noK(this.c),this.c||(this.c=new An(nCF,this,9,9)),AJ(this.c,Im(t,14));return;case 10:this.a||(this.a=new An(nCK,this,10,11)),noK(this.a),this.a||(this.a=new An(nCK,this,10,11)),AJ(this.a,Im(t,14));return;case 11:ncc(this,Im(t,33));return;case 12:this.b||(this.b=new An(nCA,this,12,3)),noK(this.b),this.b||(this.b=new An(nCA,this,12,3)),AJ(this.b,Im(t,14));return}nrg(this,n,t)},nTv.zh=function(){return nsZ(),nVI},nTv.Bh=function(n){switch(n){case 9:this.c||(this.c=new An(nCF,this,9,9)),noK(this.c);return;case 10:this.a||(this.a=new An(nCK,this,10,11)),noK(this.a);return;case 11:ncc(this,null);return;case 12:this.b||(this.b=new An(nCA,this,12,3)),noK(this.b);return}J9(this,n)},nTv.Ib=function(){return naC(this)},AY(nyo,"ElkNodeImpl",239),nrr(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},dp),nTv.Qg=function(n){return ZJ(this,n)},nTv._g=function(n,t,e){return 9==n?L8(this):Y_(this,n,t,e)},nTv.hh=function(n,t,e){var i;return 9===t?(this.Cb&&(e=(i=this.Db>>16)>=0?ZJ(this,e):this.Cb.ih(this,-1-i,null,e)),SP(this,Im(n,33),e)):nnf(this,n,t,e)},nTv.jh=function(n,t,e){return 9==t?SP(this,null,e):nnl(this,n,t,e)},nTv.lh=function(n){return 9==n?!!L8(this):Xs(this,n)},nTv.sh=function(n,t){if(9===n){nr9(this,Im(t,33));return}nrg(this,n,t)},nTv.zh=function(){return nsZ(),nVC},nTv.Bh=function(n){if(9===n){nr9(this,null);return}J9(this,n)},nTv.Ib=function(){return naO(this)},AY(nyo,"ElkPortImpl",186);var nCH=Cw(nyx,"BasicEMap/Entry");nrr(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},a3),nTv.Fb=function(n){return this===n},nTv.cd=function(){return this.b},nTv.Hb=function(){return T9(this)},nTv.Uh=function(n){Gn(this,Im(n,146))},nTv._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return Yo(this,n,t,e)},nTv.lh=function(n){switch(n){case 0:return!!this.b;case 1:return null!=this.c}return JY(this,n)},nTv.sh=function(n,t){switch(n){case 0:Gn(this,Im(t,146));return;case 1:Gi(this,t);return}neV(this,n,t)},nTv.zh=function(){return nsZ(),nVO},nTv.Bh=function(n){switch(n){case 0:Gn(this,null);return;case 1:Gi(this,null);return}nem(this,n)},nTv.Sh=function(){var n;return -1==this.a&&(n=this.b,this.a=n?Xg(n):0),this.a},nTv.dd=function(){return this.c},nTv.Th=function(n){this.a=n},nTv.ed=function(n){var t;return t=this.c,Gi(this,n),t},nTv.Ib=function(){var n;return(64&this.Db)!=0?nrL(this):(jP(jP(jP(n=new gX,this.b?this.b.tg():nhN),nw3),T4(this.c)),n.a)},nTv.a=-1,nTv.c=null;var nCB=AY(nyo,"ElkPropertyToValueMapEntryImpl",1092);nrr(984,1,{},a6),AY(nyF,"JsonAdapter",984),nrr(210,60,nfv,gS),AY(nyF,"JsonImportException",210),nrr(857,1,{},Z0),AY(nyF,"JsonImporter",857),nrr(891,1,{},kB),AY(nyF,"JsonImporter/lambda$0$Type",891),nrr(892,1,{},kq),AY(nyF,"JsonImporter/lambda$1$Type",892),nrr(900,1,{},bo),AY(nyF,"JsonImporter/lambda$10$Type",900),nrr(902,1,{},kG),AY(nyF,"JsonImporter/lambda$11$Type",902),nrr(903,1,{},kz),AY(nyF,"JsonImporter/lambda$12$Type",903),nrr(909,1,{},NL),AY(nyF,"JsonImporter/lambda$13$Type",909),nrr(908,1,{},NN),AY(nyF,"JsonImporter/lambda$14$Type",908),nrr(904,1,{},kU),AY(nyF,"JsonImporter/lambda$15$Type",904),nrr(905,1,{},kX),AY(nyF,"JsonImporter/lambda$16$Type",905),nrr(906,1,{},kW),AY(nyF,"JsonImporter/lambda$17$Type",906),nrr(907,1,{},kV),AY(nyF,"JsonImporter/lambda$18$Type",907),nrr(912,1,{},bs),AY(nyF,"JsonImporter/lambda$19$Type",912),nrr(893,1,{},bh),AY(nyF,"JsonImporter/lambda$2$Type",893),nrr(910,1,{},bf),AY(nyF,"JsonImporter/lambda$20$Type",910),nrr(911,1,{},bl),AY(nyF,"JsonImporter/lambda$21$Type",911),nrr(915,1,{},bb),AY(nyF,"JsonImporter/lambda$22$Type",915),nrr(913,1,{},bw),AY(nyF,"JsonImporter/lambda$23$Type",913),nrr(914,1,{},bd),AY(nyF,"JsonImporter/lambda$24$Type",914),nrr(917,1,{},bg),AY(nyF,"JsonImporter/lambda$25$Type",917),nrr(916,1,{},bp),AY(nyF,"JsonImporter/lambda$26$Type",916),nrr(918,1,nhZ,kQ),nTv.td=function(n){var t,e,i,r,c;t=this.b,e=this.a,r=L5(t,i=Sh(n)),c=null,r&&(c=ney(r)),JN(e,i,c)},AY(nyF,"JsonImporter/lambda$27$Type",918),nrr(919,1,nhZ,kJ),nTv.td=function(n){var t,e,i,r,c;t=this.b,e=this.a,r=L5(t,i=Sh(n)),c=null,r&&(c=ney(r)),JN(e,i,c)},AY(nyF,"JsonImporter/lambda$28$Type",919),nrr(920,1,{},kY),AY(nyF,"JsonImporter/lambda$29$Type",920),nrr(896,1,{},bv),AY(nyF,"JsonImporter/lambda$3$Type",896),nrr(921,1,{},kZ),AY(nyF,"JsonImporter/lambda$30$Type",921),nrr(922,1,{},bm),AY(nyF,"JsonImporter/lambda$31$Type",922),nrr(923,1,{},by),AY(nyF,"JsonImporter/lambda$32$Type",923),nrr(924,1,{},bk),AY(nyF,"JsonImporter/lambda$33$Type",924),nrr(925,1,{},bj),AY(nyF,"JsonImporter/lambda$34$Type",925),nrr(859,1,{},bE),AY(nyF,"JsonImporter/lambda$35$Type",859),nrr(929,1,{},Ic),AY(nyF,"JsonImporter/lambda$36$Type",929),nrr(926,1,nhZ,bT),nTv.td=function(n){var t,e,i;t=this.a,e=Im(n,469),N1(i=new gt,"x",e.a),N1(i,"y",e.b),$v(t,i)},AY(nyF,"JsonImporter/lambda$37$Type",926),nrr(927,1,nhZ,k5),nTv.td=function(n){var t;t=this.a,nnT(this.b,neA(t,Im(n,202)))},AY(nyF,"JsonImporter/lambda$38$Type",927),nrr(928,1,nhZ,k6),nTv.td=function(n){var t;t=this.a,nnT(this.b,neA(t,Im(n,202)))},AY(nyF,"JsonImporter/lambda$39$Type",928),nrr(894,1,{},bM),AY(nyF,"JsonImporter/lambda$4$Type",894),nrr(930,1,nhZ,bS),nTv.td=function(n){var t,e,i;t=this.a,e=Im(n,8),N1(i=new gt,"x",e.a),N1(i,"y",e.b),$v(t,i)},AY(nyF,"JsonImporter/lambda$40$Type",930),nrr(895,1,{},bP),AY(nyF,"JsonImporter/lambda$5$Type",895),nrr(899,1,{},bI),AY(nyF,"JsonImporter/lambda$6$Type",899),nrr(897,1,{},bC),AY(nyF,"JsonImporter/lambda$7$Type",897),nrr(898,1,{},bO),AY(nyF,"JsonImporter/lambda$8$Type",898),nrr(901,1,{},bA),AY(nyF,"JsonImporter/lambda$9$Type",901),nrr(948,1,nhZ,b$),nTv.td=function(n){$v(this.a,new $h(Sh(n)))},AY(nyF,"JsonMetaDataConverter/lambda$0$Type",948),nrr(949,1,nhZ,bN),nTv.td=function(n){var t;$v(this.a,new $h(null!=(t=Im(n,237)).f?t.f:""+t.g))},AY(nyF,"JsonMetaDataConverter/lambda$1$Type",949),nrr(950,1,nhZ,bL),nTv.td=function(n){var t,e;t=this.a,null!=(e=Im(n,149)).c&&$v(t,new $h(e.c))},AY(nyF,"JsonMetaDataConverter/lambda$2$Type",950),nrr(951,1,nhZ,bD),nTv.td=function(n){var t;$v(this.a,new $h(null!=(t=Im(n,175)).f?t.f:""+t.g))},AY(nyF,"JsonMetaDataConverter/lambda$3$Type",951),nrr(237,22,{3:1,35:1,22:1,237:1},k4);var nCq=qE(nb_,"GraphFeature",237,nE0,function(){return nrt(),Um(Dg(nCq,1),nfs,237,0,[nVz,nVB,nVq,nVH,nVG,nVF,nVK,nV_])},function(n){return nrt(),H5((zk(),nVU),n)});nrr(13,1,{35:1,146:1},bR,SA,jU,EM),nTv.wd=function(n){var t;return t=Im(n,146),Fb(this.b,t.tg())},nTv.Fb=function(n){return Lg(this,n)},nTv.wg=function(){return JZ(this)},nTv.tg=function(){return this.b},nTv.Hb=function(){return Yj(this.b)},nTv.Ib=function(){return this.b},AY(nb_,"Property",13),nrr(818,1,nlU,bx),nTv.ue=function(n,t){var e,i,r,c;return e=Im(n,94),i=Im(t,94),r=Im(e.We(this.a),35),c=Im(i.We(this.a),35),null!=r&&null!=c?zs(r,c):null!=r?-1:null!=c?1:0},nTv.Fb=function(n){return this===n},nTv.ve=function(){return new h6(this)},AY(nb_,"PropertyHolderComparator",818),nrr(695,1,nhK,bF),nTv.Nb=function(n){Ao(this,n)},nTv.Pb=function(){return function(n){var t;if(!n.a)throw(new $7).e;return t=n.a,n.a=Dt(n.a),t}(this)},nTv.Qb=function(){py()},nTv.Ob=function(){return!!this.a},AY(nyZ,"ElkGraphUtil/AncestorIterator",695);var nCG=Cw(nyx,"EList");nrr(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),nTv.Vc=function(n,t){Vf(this,n,t)},nTv.Fc=function(n){return _P(this,n)},nTv.Wc=function(n,t){return UG(this,n,t)},nTv.Gc=function(n){return AJ(this,n)},nTv.Zh=function(){return new Mm(this)},nTv.$h=function(){return new My(this)},nTv._h=function(n){return qB(this,n)},nTv.ai=function(){return!0},nTv.bi=function(n,t){},nTv.ci=function(){},nTv.di=function(n,t){_s(this,n,t)},nTv.ei=function(n,t,e){},nTv.fi=function(n,t){},nTv.gi=function(n,t,e){},nTv.Fb=function(n){return nar(this,n)},nTv.Hb=function(){return Up(this)},nTv.hi=function(){return!1},nTv.Kc=function(){return new Td(this)},nTv.Yc=function(){return new Mv(this)},nTv.Zc=function(n){var t;if(t=this.gc(),n<0||n>t)throw new Pt(n,t).e;return new AA(this,n)},nTv.ji=function(n,t){this.ii(n,this.Xc(t))},nTv.Mc=function(n){return HG(this,n)},nTv.li=function(n,t){return t},nTv._c=function(n,t){return Yb(this,n,t)},nTv.Ib=function(){return Qc(this)},nTv.ni=function(){return!0},nTv.oi=function(n,t){return XH(this,t)},AY(nyx,"AbstractEList",67),nrr(63,67,ny4,a7,BO,zi),nTv.Vh=function(n,t){return ntf(this,n,t)},nTv.Wh=function(n){return YY(this,n)},nTv.Xh=function(n,t){WV(this,n,t)},nTv.Yh=function(n){Fu(this,n)},nTv.pi=function(n){return _U(this,n)},nTv.$b=function(){Fo(this)},nTv.Hc=function(n){return nnv(this,n)},nTv.Xb=function(n){return BX(this,n)},nTv.qi=function(n){var t,e,i;++this.j,n>(e=null==this.g?0:this.g.length)&&(i=this.g,(t=e+(e/2|0)+4)=0&&(this.$c(t),!0)},nTv.mi=function(n,t){return this.Ui(n,this.oi(n,t))},nTv.gc=function(){return this.Vi()},nTv.Pc=function(){return this.Wi()},nTv.Qc=function(n){return this.Xi(n)},nTv.Ib=function(){return this.Yi()},AY(nyx,"DelegatingEList",1995),nrr(1996,1995,nkK),nTv.Vh=function(n,t){return nuE(this,n,t)},nTv.Wh=function(n){return this.Vh(this.Vi(),n)},nTv.Xh=function(n,t){ni8(this,n,t)},nTv.Yh=function(n){niU(this,n)},nTv.ai=function(){return!this.bj()},nTv.$b=function(){noB(this)},nTv.Zi=function(n,t,e,i,r){return new LT(this,n,t,e,i,r)},nTv.$i=function(n){zx(this.Ai(),n)},nTv._i=function(){return null},nTv.aj=function(){return -1},nTv.Ai=function(){return null},nTv.bj=function(){return!1},nTv.cj=function(n,t){return t},nTv.dj=function(n,t){return t},nTv.ej=function(){return!1},nTv.fj=function(){return!this.Ri()},nTv.ii=function(n,t){var e,i;return this.ej()?(i=this.fj(),e=ntR(this,n,t),this.$i(this.Zi(7,Va(t),e,n,i)),e):ntR(this,n,t)},nTv.$c=function(n){var t,e,i,r;return this.ej()?(e=null,i=this.fj(),t=this.Zi(4,r=Cd(this,n),null,n,i),this.bj()&&r?(e=this.dj(r,e))?(e.Ei(t),e.Fi()):this.$i(t):e?(e.Ei(t),e.Fi()):this.$i(t)):(r=Cd(this,n),this.bj()&&r&&(e=this.dj(r,null))&&e.Fi()),r},nTv.mi=function(n,t){return nuT(this,n,t)},AY(nm9,"DelegatingNotifyingListImpl",1996),nrr(143,1,nkF),nTv.Ei=function(n){return nnQ(this,n)},nTv.Fi=function(){Hk(this)},nTv.xi=function(){return this.d},nTv._i=function(){return null},nTv.gj=function(){return null},nTv.yi=function(n){return -1},nTv.zi=function(){return ncK(this)},nTv.Ai=function(){return null},nTv.Bi=function(){return ncF(this)},nTv.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},nTv.hj=function(){return!1},nTv.Di=function(n){var t,e,i,r,c,a,u,o;switch(this.d){case 1:case 2:switch(n.xi()){case 1:case 2:if(jf(n.Ai())===jf(this.Ai())&&this.yi(null)==n.yi(null))return this.g=n.zi(),1==n.xi()&&(this.d=1),!0}case 4:if(4===n.xi()&&jf(n.Ai())===jf(this.Ai())&&this.yi(null)==n.yi(null))return(a=noZ(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=n.Ci(),this.d=6,o=new BO(2),c<=i)?(_P(o,this.n),_P(o,n.Bi()),this.g=Um(Dg(nY$,1),nfH,25,15,[this.o=c,i+1])):(_P(o,n.Bi()),_P(o,this.n),this.g=Um(Dg(nY$,1),nfH,25,15,[this.o=i,c])),this.n=o,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===n.xi()&&jf(n.Ai())===jf(this.Ai())&&this.yi(null)==n.yi(null)){for(a=noZ(this),i=n.Ci(),e=_f(nY$,nfH,25,(u=Im(this.g,48)).length+1,15,1),t=0;t>>0).toString(16)),e.a+=" (eventType: ",this.d){case 1:e.a+="SET";break;case 2:e.a+="UNSET";break;case 3:e.a+="ADD";break;case 5:e.a+="ADD_MANY";break;case 4:e.a+="REMOVE";break;case 6:e.a+="REMOVE_MANY";break;case 7:e.a+="MOVE";break;case 8:e.a+="REMOVING_ADAPTER";break;case 9:e.a+="RESOLVE";break;default:i=this.d,e.a+=i}if(naB(this)&&(e.a+=", touch: true"),e.a+=", position: ",r=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,e.a+=r,e.a+=", notifier: ",jE(e,this.Ai()),e.a+=", feature: ",jE(e,this._i()),e.a+=", oldValue: ",jE(e,ncF(this)),e.a+=", newValue: ",6==this.d&&Ti(this.g,48)){for(t=Im(this.g,48),e.a+="[",n=0;n10?(this.b&&this.c.j==this.a||(this.b=new CI(this),this.a=this.j),v$(this.b,n)):nnv(this,n)},nTv.ni=function(){return!0},nTv.a=0,AY(nyx,"AbstractEList/1",953),nrr(295,73,nlt,Pt),AY(nyx,"AbstractEList/BasicIndexOutOfBoundsException",295),nrr(40,1,nhK,Td),nTv.Nb=function(n){Ao(this,n)},nTv.mj=function(){if(this.i.j!=this.f)throw(new wI).e},nTv.nj=function(){return J1(this)},nTv.Ob=function(){return this.e!=this.i.gc()},nTv.Pb=function(){return this.nj()},nTv.Qb=function(){nnA(this)},nTv.e=0,nTv.f=0,nTv.g=-1,AY(nyx,"AbstractEList/EIterator",40),nrr(278,40,nhU,Mv,AA),nTv.Qb=function(){nnA(this)},nTv.Rb=function(n){Qq(this,n)},nTv.oj=function(){var n;try{return n=this.d.Xb(--this.e),this.mj(),this.g=this.e,n}catch(n){if(Ti(n=Uu(n),73))throw this.mj(),(new wO).e;throw n.e}},nTv.pj=function(n){Y2(this,n)},nTv.Sb=function(){return 0!=this.e},nTv.Tb=function(){return this.e},nTv.Ub=function(){return this.oj()},nTv.Vb=function(){return this.e-1},nTv.Wb=function(n){this.pj(n)},AY(nyx,"AbstractEList/EListIterator",278),nrr(341,40,nhK,Mm),nTv.nj=function(){return J0(this)},nTv.Qb=function(){throw(new wP).e},AY(nyx,"AbstractEList/NonResolvingEIterator",341),nrr(385,278,nhU,My,PS),nTv.Rb=function(n){throw(new wP).e},nTv.nj=function(){var n;try{return n=this.c.ki(this.e),this.mj(),this.g=this.e++,n}catch(n){if(Ti(n=Uu(n),73))throw this.mj(),(new wO).e;throw n.e}},nTv.oj=function(){var n;try{return n=this.c.ki(--this.e),this.mj(),this.g=this.e,n}catch(n){if(Ti(n=Uu(n),73))throw this.mj(),(new wO).e;throw n.e}},nTv.Qb=function(){throw(new wP).e},nTv.Wb=function(n){throw(new wP).e},AY(nyx,"AbstractEList/NonResolvingEListIterator",385),nrr(1982,67,nkB),nTv.Vh=function(n,t){var e,i,r,c,a,u,o,s,h;if(0==(i=t.gc()))return++this.j,!1;for(e=XD(this,(s=null==(o=Im(zF(this.a,4),126))?0:o.length)+i),(h=s-n)>0&&now(o,n,e,n+i,h),u=t.Kc(),c=0;ce)throw new Pt(n,e).e;return new $G(this,n)},nTv.$b=function(){var n,t;++this.j,t=null==(n=Im(zF(this.a,4),126))?0:n.length,JO(this,null),_s(this,t,n)},nTv.Hc=function(n){var t,e,i,r;if(null!=(t=Im(zF(this.a,4),126))){if(null!=n){for(i=0,r=(e=t).length;i=(e=null==(t=Im(zF(this.a,4),126))?0:t.length))throw new Pt(n,e).e;return t[n]},nTv.Xc=function(n){var t,e,i;if(null!=(t=Im(zF(this.a,4),126))){if(null!=n){for(e=0,i=t.length;ee)throw new Pt(n,e).e;return new $q(this,n)},nTv.ii=function(n,t){var e,i,r;if(n>=(r=null==(e=Q8(this))?0:e.length))throw new gu(ny0+n+ny2+r).e;if(t>=r)throw new gu(ny3+t+ny2+r).e;return i=e[t],n!=t&&(n=(a=null==(e=Im(zF(n.a,4),126))?0:e.length))throw new Pt(t,a).e;return r=e[t],1==a?i=null:(now(e,0,i=_f(nCW,nkH,415,a-1,0,1),0,t),(c=a-t-1)>0&&now(e,t+1,i,t,c)),JO(n,i),neq(n,t,r),r}(this,n)},nTv.mi=function(n,t){var e,i;return i=(e=Q8(this))[n],$t(e,n,XH(this,t)),JO(this,e),i},nTv.gc=function(){var n;return null==(n=Im(zF(this.a,4),126))?0:n.length},nTv.Pc=function(){var n,t,e;return t=_f(nCW,nkH,415,e=null==(n=Im(zF(this.a,4),126))?0:n.length,0,1),e>0&&now(n,0,t,0,e),t},nTv.Qc=function(n){var t,e;return(e=null==(t=Im(zF(this.a,4),126))?0:t.length)>0&&(n.lengthe&&$t(n,e,null),n},AY(nyx,"ArrayDelegatingEList",1982),nrr(1038,40,nhK,KV),nTv.mj=function(){if(this.b.j!=this.f||jf(Im(zF(this.b.a,4),126))!==jf(this.a))throw(new wI).e},nTv.Qb=function(){nnA(this),this.a=Im(zF(this.b.a,4),126)},AY(nyx,"ArrayDelegatingEList/EIterator",1038),nrr(706,278,nhU,O4,$q),nTv.mj=function(){if(this.b.j!=this.f||jf(Im(zF(this.b.a,4),126))!==jf(this.a))throw(new wI).e},nTv.pj=function(n){Y2(this,n),this.a=Im(zF(this.b.a,4),126)},nTv.Qb=function(){nnA(this),this.a=Im(zF(this.b.a,4),126)},AY(nyx,"ArrayDelegatingEList/EListIterator",706),nrr(1039,341,nhK,KQ),nTv.mj=function(){if(this.b.j!=this.f||jf(Im(zF(this.b.a,4),126))!==jf(this.a))throw(new wI).e},AY(nyx,"ArrayDelegatingEList/NonResolvingEIterator",1039),nrr(707,385,nhU,O5,$G),nTv.mj=function(){if(this.b.j!=this.f||jf(Im(zF(this.b.a,4),126))!==jf(this.a))throw(new wI).e},AY(nyx,"ArrayDelegatingEList/NonResolvingEListIterator",707),nrr(606,295,nlt,jX),AY(nyx,"BasicEList/BasicIndexOutOfBoundsException",606),nrr(696,63,ny4,jc),nTv.Vc=function(n,t){throw(new wP).e},nTv.Fc=function(n){throw(new wP).e},nTv.Wc=function(n,t){throw(new wP).e},nTv.Gc=function(n){throw(new wP).e},nTv.$b=function(){throw(new wP).e},nTv.qi=function(n){throw(new wP).e},nTv.Kc=function(){return this.Zh()},nTv.Yc=function(){return this.$h()},nTv.Zc=function(n){return this._h(n)},nTv.ii=function(n,t){throw(new wP).e},nTv.ji=function(n,t){throw(new wP).e},nTv.$c=function(n){throw(new wP).e},nTv.Mc=function(n){throw(new wP).e},nTv._c=function(n,t){throw(new wP).e},AY(nyx,"BasicEList/UnmodifiableEList",696),nrr(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),nTv.Vc=function(n,t){!function(n,t,e){n.c.Vc(t,Im(e,133))}(this,n,Im(t,42))},nTv.Fc=function(n){var t;return t=Im(n,42),this.c.Fc(Im(t,133))},nTv.Jc=function(n){KA(this,n)},nTv.Xb=function(n){return Im(BX(this.c,n),133)},nTv.ii=function(n,t){return Im(this.c.ii(n,t),42)},nTv.ji=function(n,t){!function(n,t,e){n.c.ji(t,Im(e,133))}(this,n,Im(t,42))},nTv.Lc=function(){return new CN(null,new D6(this,16))},nTv.$c=function(n){return Im(this.c.$c(n),42)},nTv._c=function(n,t){var e;return e=Im(t,42),Im(this.c._c(n,Im(e,133)),42)},nTv.ad=function(n){GG(this,n)},nTv.Nc=function(){return new D6(this,16)},nTv.Oc=function(){return new CN(null,new D6(this,16))},nTv.Wc=function(n,t){return this.c.Wc(n,t)},nTv.Gc=function(n){return this.c.Gc(n)},nTv.$b=function(){this.c.$b()},nTv.Hc=function(n){return this.c.Hc(n)},nTv.Ic=function(n){return Ur(this.c,n)},nTv.qj=function(){var n,t;if(null==this.d){for(this.d=_f(nCz,nkq,63,2*this.f+1,0,1),t=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)YC(this,Im(n.nj(),133));this.e=t}},nTv.Fb=function(n){return PM(this,n)},nTv.Hb=function(){return Up(this.c)},nTv.Xc=function(n){return this.c.Xc(n)},nTv.rj=function(){this.c=new b_(this)},nTv.dc=function(){return 0==this.f},nTv.Kc=function(){return this.c.Kc()},nTv.Yc=function(){return this.c.Yc()},nTv.Zc=function(n){return this.c.Zc(n)},nTv.sj=function(){return _o(this)},nTv.tj=function(n,t,e){return new Ia(n,t,e)},nTv.uj=function(){return new ut},nTv.Mc=function(n){return qq(this,n)},nTv.gc=function(){return this.f},nTv.bd=function(n,t){return new D2(this.c,n,t)},nTv.Pc=function(){return this.c.Pc()},nTv.Qc=function(n){return this.c.Qc(n)},nTv.Ib=function(){return Qc(this.c)},nTv.e=0,nTv.f=0,AY(nyx,"BasicEMap",705),nrr(1033,63,ny4,b_),nTv.bi=function(n,t){var e;e=Im(t,133),YC(this.a,e)},nTv.ei=function(n,t,e){++(Im(t,133),this).a.e},nTv.fi=function(n,t){var e;e=Im(t,133),Vy(this.a,e)},nTv.gi=function(n,t,e){var i,r;i=Im(t,133),r=Im(e,133),Vy(this.a,r),YC(this.a,i)},nTv.di=function(n,t){zO(this.a)},AY(nyx,"BasicEMap/1",1033),nrr(1034,63,ny4,ut),nTv.ri=function(n){return _f(nCQ,nkG,612,n,0,1)},AY(nyx,"BasicEMap/2",1034),nrr(1035,1965,nhB,bH),nTv.$b=function(){this.a.c.$b()},nTv.Hc=function(n){return QF(this.a,n)},nTv.Kc=function(){return 0==this.a.f?(Si(),nVJ.a):new pa(this.a)},nTv.Mc=function(n){var t;return t=this.a.f,Ja(this.a,n),this.a.f!=t},nTv.gc=function(){return this.a.f},AY(nyx,"BasicEMap/3",1035),nrr(1036,28,nhH,bB),nTv.$b=function(){this.a.c.$b()},nTv.Hc=function(n){return nac(this.a,n)},nTv.Kc=function(){return 0==this.a.f?(Si(),nVJ.a):new pu(this.a)},nTv.gc=function(){return this.a.f},AY(nyx,"BasicEMap/4",1036),nrr(1037,1965,nhB,bq),nTv.$b=function(){this.a.c.$b()},nTv.Hc=function(n){var t,e,i,r,c,a,u,o,s;if(this.a.f>0&&Ti(n,42)&&(this.a.qj(),r=null==(u=(o=Im(n,42)).cd())?0:Xg(u),c=SO(this.a,r),t=this.a.d[c])){for(a=0,e=Im(t.g,367),s=t.i;a0&&Ti(e,42)&&(t.a.qj(),a=null==(s=(h=Im(e,42)).cd())?0:Xg(s),u=SO(t.a,a),i=t.a.d[u])){for(o=0,r=Im(i.g,367),f=i.i;o"+this.c},nTv.a=0;var nCQ=AY(nyx,"BasicEMap/EntryImpl",612);nrr(536,1,{},a2),AY(nyx,"BasicEMap/View",536),nrr(768,1,{}),nTv.Fb=function(n){return nrp((NV(),nMp),n)},nTv.Hb=function(){return Xu((NV(),nMp))},nTv.Ib=function(){return ntK((NV(),nMp))},AY(nyx,"ECollections/BasicEmptyUnmodifiableEList",768),nrr(1312,1,nhU,ue),nTv.Nb=function(n){Ao(this,n)},nTv.Rb=function(n){throw(new wP).e},nTv.Ob=function(){return!1},nTv.Sb=function(){return!1},nTv.Pb=function(){throw(new wO).e},nTv.Tb=function(){return 0},nTv.Ub=function(){throw(new wO).e},nTv.Vb=function(){return -1},nTv.Qb=function(){throw(new wP).e},nTv.Wb=function(n){throw(new wP).e},AY(nyx,"ECollections/BasicEmptyUnmodifiableEList/1",1312),nrr(1310,768,{20:1,14:1,15:1,58:1},dv),nTv.Vc=function(n,t){pG()},nTv.Fc=function(n){return pz()},nTv.Wc=function(n,t){return pU()},nTv.Gc=function(n){return pX()},nTv.$b=function(){pW()},nTv.Hc=function(n){return!1},nTv.Ic=function(n){return!1},nTv.Jc=function(n){KA(this,n)},nTv.Xb=function(n){return jx((NV(),n)),null},nTv.Xc=function(n){return -1},nTv.dc=function(){return!0},nTv.Kc=function(){return this.a},nTv.Yc=function(){return this.a},nTv.Zc=function(n){return this.a},nTv.ii=function(n,t){return pV()},nTv.ji=function(n,t){pQ()},nTv.Lc=function(){return new CN(null,new D6(this,16))},nTv.$c=function(n){return pJ()},nTv.Mc=function(n){return pY()},nTv._c=function(n,t){return pZ()},nTv.gc=function(){return 0},nTv.ad=function(n){GG(this,n)},nTv.Nc=function(){return new D6(this,16)},nTv.Oc=function(){return new CN(null,new D6(this,16))},nTv.bd=function(n,t){return NV(),new D2(nMp,n,t)},nTv.Pc=function(){return Oj((NV(),nMp))},nTv.Qc=function(n){return NV(),Y3(nMp,n)},AY(nyx,"ECollections/EmptyUnmodifiableEList",1310),nrr(1311,768,{20:1,14:1,15:1,58:1,589:1},dm),nTv.Vc=function(n,t){pG()},nTv.Fc=function(n){return pz()},nTv.Wc=function(n,t){return pU()},nTv.Gc=function(n){return pX()},nTv.$b=function(){pW()},nTv.Hc=function(n){return!1},nTv.Ic=function(n){return!1},nTv.Jc=function(n){KA(this,n)},nTv.Xb=function(n){return jx((NV(),n)),null},nTv.Xc=function(n){return -1},nTv.dc=function(){return!0},nTv.Kc=function(){return this.a},nTv.Yc=function(){return this.a},nTv.Zc=function(n){return this.a},nTv.ii=function(n,t){return pV()},nTv.ji=function(n,t){pQ()},nTv.Lc=function(){return new CN(null,new D6(this,16))},nTv.$c=function(n){return pJ()},nTv.Mc=function(n){return pY()},nTv._c=function(n,t){return pZ()},nTv.gc=function(){return 0},nTv.ad=function(n){GG(this,n)},nTv.Nc=function(){return new D6(this,16)},nTv.Oc=function(){return new CN(null,new D6(this,16))},nTv.bd=function(n,t){return NV(),new D2(nMp,n,t)},nTv.Pc=function(){return Oj((NV(),nMp))},nTv.Qc=function(n){return NV(),Y3(nMp,n)},nTv.sj=function(){return NV(),NV(),nMv},AY(nyx,"ECollections/EmptyUnmodifiableEMap",1311);var nCJ=Cw(nyx,"Enumerator");nrr(281,1,{281:1},nas),nTv.Fb=function(n){var t,e,i;return this===n||!!Ti(n,281)&&(t=Im(n,281),this.f==t.f&&(e=this.i,i=t.i,null==e?null==i:Jm(e,i))&&C0(this.a,(256&this.f)!=0?(256&t.f)!=0?t.a:null:(256&t.f)!=0?null:t.a)&&C0(this.d,t.d)&&C0(this.g,t.g)&&C0(this.e,t.e)&&function(n,t){var e,i;if(n.j.length!=t.j.length)return!1;for(e=0,i=n.j.length;e=0?n.Bh(e):nic(n,t)},AY(nyu,"BasicEObjectImpl/4",1027),nrr(1983,1,{108:1}),nTv.bk=function(n){this.e=0==n?nQZ:_f(nEU,nhO,1,n,5,1)},nTv.Ch=function(n){return this.e[n]},nTv.Dh=function(n,t){this.e[n]=t},nTv.Eh=function(n){this.e[n]=null},nTv.ck=function(){return this.c},nTv.dk=function(){throw(new wP).e},nTv.ek=function(){throw(new wP).e},nTv.fk=function(){return this.d},nTv.gk=function(){return null!=this.e},nTv.hk=function(n){this.c=n},nTv.ik=function(n){throw(new wP).e},nTv.jk=function(n){throw(new wP).e},nTv.kk=function(n){this.d=n},AY(nyu,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),nrr(185,1983,{108:1},sY),nTv.dk=function(){return this.a},nTv.ek=function(){return this.b},nTv.ik=function(n){this.a=n},nTv.jk=function(n){this.b=n},AY(nyu,"BasicEObjectImpl/EPropertiesHolderImpl",185),nrr(506,97,nya,ui),nTv.Kg=function(){return this.f},nTv.Pg=function(){return this.k},nTv.Rg=function(n,t){this.g=n,this.i=t},nTv.Tg=function(){return(2&this.j)==0?this.zh():this.ph().ck()},nTv.Vg=function(){return this.i},nTv.Mg=function(){return(1&this.j)!=0},nTv.eh=function(){return this.g},nTv.kh=function(){return(4&this.j)!=0},nTv.ph=function(){return this.k||(this.k=new sY),this.k},nTv.th=function(n){this.ph().hk(n),n?this.j|=2:this.j&=-3},nTv.vh=function(n){this.ph().jk(n),n?this.j|=4:this.j&=-5},nTv.zh=function(){return($g(),nQC).S},nTv.i=0,nTv.j=1,AY(nyu,"EObjectImpl",506),nrr(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},Iz),nTv.Ch=function(n){return this.e[n]},nTv.Dh=function(n,t){this.e[n]=t},nTv.Eh=function(n){this.e[n]=null},nTv.Tg=function(){return this.d},nTv.Yg=function(n){return Qj(this.d,n)},nTv.$g=function(){return this.d},nTv.dh=function(){return null!=this.e},nTv.ph=function(){return this.k||(this.k=new ur),this.k},nTv.th=function(n){this.d=n},nTv.yh=function(){var n;return null==this.e&&(n=AW(this.d),this.e=0==n?nQ1:_f(nEU,nhO,1,n,5,1)),this},nTv.Ah=function(){return 0},AY(nyu,"DynamicEObjectImpl",780),nrr(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},Cl),nTv.Fb=function(n){return this===n},nTv.Hb=function(){return T9(this)},nTv.th=function(n){this.d=n,this.b=ncp(n,"key"),this.c=ncp(n,nyv)},nTv.Sh=function(){var n;return -1==this.a&&(n=H_(this,this.b),this.a=null==n?0:Xg(n)),this.a},nTv.cd=function(){return H_(this,this.b)},nTv.dd=function(){return H_(this,this.c)},nTv.Th=function(n){this.a=n},nTv.Uh=function(n){LQ(this,this.b,n)},nTv.ed=function(n){var t;return t=H_(this,this.c),LQ(this,this.c,n),t},nTv.a=0,AY(nyu,"DynamicEObjectImpl/BasicEMapEntry",1376),nrr(1377,1,{108:1},ur),nTv.bk=function(n){throw(new wP).e},nTv.Ch=function(n){throw(new wP).e},nTv.Dh=function(n,t){throw(new wP).e},nTv.Eh=function(n){throw(new wP).e},nTv.ck=function(){throw(new wP).e},nTv.dk=function(){return this.a},nTv.ek=function(){return this.b},nTv.fk=function(){return this.c},nTv.gk=function(){throw(new wP).e},nTv.hk=function(n){throw(new wP).e},nTv.ik=function(n){this.a=n},nTv.jk=function(n){this.b=n},nTv.kk=function(n){this.c=n},AY(nyu,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),nrr(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},uc),nTv.Qg=function(n){return ZZ(this,n)},nTv._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.d;case 2:return e?(this.b||(this.b=new M2((nhl(),nQV),nQj,this)),this.b):(this.b||(this.b=new M2((nhl(),nQV),nQj,this)),_o(this.b));case 3:return Db(this);case 4:return this.a||(this.a=new Tg(nCM,this,4)),this.a;case 5:return this.c||(this.c=new Tk(nCM,this,5)),this.c}return _Q(this,n-AW((nhl(),nQO)),Bm(Im(zF(this,16),26)||nQO,n),t,e)},nTv.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),QL(this.Ab,n,e);case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?ZZ(this,e):this.Cb.ih(this,-1-i,null,e)),Od(this,Im(n,147),e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQO),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQO)),n,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 2:return this.b||(this.b=new M2((nhl(),nQV),nQj,this)),PC(this.b,n,e);case 3:return Od(this,null,e);case 4:return this.a||(this.a=new Tg(nCM,this,4)),Ye(this.a,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQO),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQO)),n,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!Db(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return RL(this,n-AW((nhl(),nQO)),Bm(Im(zF(this,16),26)||nQO,n))},nTv.sh=function(n,t){var e;switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:Gc(this,null==(e=Sh(t))?null:($D(e),e));return;case 2:this.b||(this.b=new M2((nhl(),nQV),nQj,this)),zP(this.b,t);return;case 3:ncg(this,Im(t,147));return;case 4:this.a||(this.a=new Tg(nCM,this,4)),noK(this.a),this.a||(this.a=new Tg(nCM,this,4)),AJ(this.a,Im(t,14));return;case 5:this.c||(this.c=new Tk(nCM,this,5)),noK(this.c),this.c||(this.c=new Tk(nCM,this,5)),AJ(this.c,Im(t,14));return}V5(this,n-AW((nhl(),nQO)),Bm(Im(zF(this,16),26)||nQO,n),t)},nTv.zh=function(){return nhl(),nQO},nTv.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:Gc(this,null);return;case 2:this.b||(this.b=new M2((nhl(),nQV),nQj,this)),this.b.c.$b();return;case 3:ncg(this,null);return;case 4:this.a||(this.a=new Tg(nCM,this,4)),noK(this.a);return;case 5:this.c||(this.c=new Tk(nCM,this,5)),noK(this.c);return}W5(this,n-AW((nhl(),nQO)),Bm(Im(zF(this,16),26)||nQO,n))},nTv.Ib=function(){return W7(this)},nTv.d=null,AY(nyu,"EAnnotationImpl",510),nrr(151,705,nk6,_x),nTv.Xh=function(n,t){!function(n,t,e){Im(n.c,69).Xh(t,e)}(this,n,Im(t,42))},nTv.lk=function(n,t){var e;return e=Im(n,42),Im(this.c,69).lk(e,t)},nTv.pi=function(n){return Im(Im(this.c,69).pi(n),133)},nTv.Zh=function(){return Im(this.c,69).Zh()},nTv.$h=function(){return Im(this.c,69).$h()},nTv._h=function(n){return Im(this.c,69)._h(n)},nTv.mk=function(n,t){return PC(this,n,t)},nTv.Wj=function(n){return Im(this.c,76).Wj(n)},nTv.rj=function(){},nTv.fj=function(){return Im(this.c,76).fj()},nTv.tj=function(n,t,e){var i;return(i=Im(BU(this.b).Nh().Jh(this.b),133)).Th(n),i.Uh(t),i.ed(e),i},nTv.uj=function(){return new b5(this)},nTv.Wb=function(n){zP(this,n)},nTv.Xj=function(){Im(this.c,76).Xj()},AY(nk4,"EcoreEMap",151),nrr(158,151,nk6,M2),nTv.qj=function(){var n,t,e,i,r;if(null==this.d){for(r=_f(nCz,nkq,63,2*this.f+1,0,1),e=this.c.Kc();e.e!=e.i.gc();)i=((t=Im(e.nj(),133)).Sh()&nhT)%r.length,(n=r[i])||(n=r[i]=new b5(this)),n.Fc(t);this.d=r}},AY(nyu,"EAnnotationImpl/1",158),nrr(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),nTv._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),!!this.$j();case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q}return _Q(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 9:return AQ(this,e)}return Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Rj(this,Jp(this),t-AW(this.zh()),n,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i)}return RL(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTv.sh=function(n,t){var e;switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:this.Lh(Sh(t));return;case 2:Vn(this,gm(So(t)));return;case 3:Vi(this,gm(So(t)));return;case 4:qg(this,Im(t,19).a);return;case 5:this.ok(Im(t,19).a);return;case 8:Ww(this,Im(t,138));return;case 9:(e=ntl(this,Im(t,87),null))&&e.Fi();return}V5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t)},nTv.zh=function(){return nhl(),nQJ},nTv.Bh=function(n){var t;switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:this.Lh(null);return;case 2:Vn(this,!0);return;case 3:Vi(this,!0);return;case 4:qg(this,0);return;case 5:this.ok(1);return;case 8:Ww(this,null);return;case 9:(t=ntl(this,null,null))&&t.Fi();return}W5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTv.Gh=function(){Z9(this),this.Bb|=1},nTv.Yj=function(){return Z9(this)},nTv.Zj=function(){return this.t},nTv.$j=function(){var n;return(n=this.t)>1||-1==n},nTv.hi=function(){return(512&this.Bb)!=0},nTv.nk=function(n,t){return WX(this,n,t)},nTv.ok=function(n){qp(this,n)},nTv.Ib=function(){return niJ(this)},nTv.s=0,nTv.t=1,AY(nyu,"ETypedElementImpl",284),nrr(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),nTv.Qg=function(n){return ZC(this,n)},nTv._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),!!this.$j();case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q;case 10:return TX(),(this.Bb&nyg)!=0;case 11:return TX(),(this.Bb&nk7)!=0;case 12:return TX(),(this.Bb&nla)!=0;case 13:return this.j;case 14:return ncn(this);case 15:return TX(),(this.Bb&nk9)!=0;case 16:return TX(),(this.Bb&nhJ)!=0;case 17:return Dd(this)}return _Q(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t,e)},nTv.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),QL(this.Ab,n,e);case 17:return this.Cb&&(e=(i=this.Db>>16)>=0?ZC(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,17,e)}return Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Qj(this,Jp(this),t-AW(this.zh()),n,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 9:return AQ(this,e);case 17:return nuc(this,null,17,e)}return Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Rj(this,Jp(this),t-AW(this.zh()),n,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i);case 10:return(this.Bb&nyg)==0;case 11:return(this.Bb&nk7)!=0;case 12:return(this.Bb&nla)!=0;case 13:return null!=this.j;case 14:return null!=ncn(this);case 15:return(this.Bb&nk9)!=0;case 16:return(this.Bb&nhJ)!=0;case 17:return!!Dd(this)}return RL(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTv.sh=function(n,t){var e;switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DU(this,Sh(t));return;case 2:Vn(this,gm(So(t)));return;case 3:Vi(this,gm(So(t)));return;case 4:qg(this,Im(t,19).a);return;case 5:this.ok(Im(t,19).a);return;case 8:Ww(this,Im(t,138));return;case 9:(e=ntl(this,Im(t,87),null))&&e.Fi();return;case 10:Vk(this,gm(So(t)));return;case 11:VT(this,gm(So(t)));return;case 12:Vj(this,gm(So(t)));return;case 13:jo(this,Sh(t));return;case 15:VE(this,gm(So(t)));return;case 16:VS(this,gm(So(t)));return}V5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t)},nTv.zh=function(){return nhl(),nQQ},nTv.Bh=function(n){var t;switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,88)&&ne2(KJ(Im(this.Cb,88)),4),GF(this,null);return;case 2:Vn(this,!0);return;case 3:Vi(this,!0);return;case 4:qg(this,0);return;case 5:this.ok(1);return;case 8:Ww(this,null);return;case 9:(t=ntl(this,null,null))&&t.Fi();return;case 10:Vk(this,!0);return;case 11:VT(this,!1);return;case 12:Vj(this,!1);return;case 13:this.i=null,Gg(this,null);return;case 15:VE(this,!1);return;case 16:VS(this,!1);return}W5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTv.Gh=function(){Nc(HC((neS(),nJy),this)),Z9(this),this.Bb|=1},nTv.Gj=function(){return this.f},nTv.zj=function(){return ncn(this)},nTv.Hj=function(){return Dd(this)},nTv.Lj=function(){return null},nTv.pk=function(){return this.k},nTv.aj=function(){return this.n},nTv.Mj=function(){return nnK(this)},nTv.Nj=function(){var n,t,e,i,r,c,a,u,o;return this.p||((null==(e=Dd(this)).i&&nuq(e),e.i).length,(i=this.Lj())&&AW(Dd(i)),n=(a=(r=Z9(this)).Bj())?(1&a.i)!=0?a==nYN?nTn:a==nY$?nTc:a==nYR?nTr:a==nYx?nTi:a==nYL?nTa:a==nYK?nTu:a==nYD?nTt:nTe:a:null,t=ncn(this),u=r.zj(),function(n){var t,e,i;for(e=(function(n){var t,e,i,r,c,a,u;if((t=n.Hh(njj))&&null!=(u=Sh(Q_((t.b||(t.b=new M2((nhl(),nQV),nQj,t)),t.b),"settingDelegates")))){for(e=new wn,r=naX(u,"\\w+"),c=0,a=r.length;c1||-1==o?this.sk()?(this.Bb&nk9)!=0?n?this.p=new ND(25,n,this,i):this.p=new R5(24,this,i):n?this.p=new ND(27,n,this,i):this.p=new R5(26,this,i):(this.Bb&nk9)!=0?n?this.p=new ND(29,n,this,i):this.p=new R5(28,this,i):n?this.p=new ND(31,n,this,i):this.p=new R5(30,this,i):this.sk()?(this.Bb&nk9)!=0?n?this.p=new ND(33,n,this,i):this.p=new R5(32,this,i):n?this.p=new ND(35,n,this,i):this.p=new R5(34,this,i):(this.Bb&nk9)!=0?n?this.p=new ND(37,n,this,i):this.p=new R5(36,this,i):n?this.p=new ND(39,n,this,i):this.p=new R5(38,this,i):this.sk()?(this.Bb&nk9)!=0?n?this.p=new Iu(17,n,this):this.p=new LP(16,this):n?this.p=new Iu(19,n,this):this.p=new LP(18,this):(this.Bb&nk9)!=0?n?this.p=new Iu(21,n,this):this.p=new LP(20,this):n?this.p=new Iu(23,n,this):this.p=new LP(22,this):this.qk()?this.sk()?this.p=new Io(Im(r,26),this,i):this.p=new L_(Im(r,26),this,i):Ti(r,148)?n==nQy?this.p=new LP(40,this):(this.Bb&nk9)!=0?n?this.p=new Om(t,u,this,(QC(),a==nY$?nJi:a==nYN?nQ9:a==nYL?nJr:a==nYR?nJe:a==nYx?nJt:a==nYK?nJa:a==nYD?nQ7:a==nYA?nJn:nJc)):this.p=new NK(Im(r,148),t,u,this):n?this.p=new Ov(t,u,this,(QC(),a==nY$?nJi:a==nYN?nQ9:a==nYL?nJr:a==nYR?nJe:a==nYx?nJt:a==nYK?nJa:a==nYD?nQ7:a==nYA?nJn:nJc)):this.p=new NR(Im(r,148),t,u,this):this.rk()?i?(this.Bb&nk9)!=0?this.sk()?this.p=new Iw(Im(r,26),this,i):this.p=new Ib(Im(r,26),this,i):this.sk()?this.p=new Il(Im(r,26),this,i):this.p=new Is(Im(r,26),this,i):(this.Bb&nk9)!=0?this.sk()?this.p=new M6(Im(r,26),this):this.p=new M5(Im(r,26),this):this.sk()?this.p=new M4(Im(r,26),this):this.p=new M3(Im(r,26),this):this.sk()?i?(this.Bb&nk9)!=0?this.p=new Id(Im(r,26),this,i):this.p=new Ih(Im(r,26),this,i):(this.Bb&nk9)!=0?this.p=new M9(Im(r,26),this):this.p=new M8(Im(r,26),this):i?(this.Bb&nk9)!=0?this.p=new Ig(Im(r,26),this,i):this.p=new If(Im(r,26),this,i):(this.Bb&nk9)!=0?this.p=new M7(Im(r,26),this):this.p=new Cq(Im(r,26),this)),this.p},nTv.Ij=function(){return(this.Bb&nyg)!=0},nTv.qk=function(){return!1},nTv.rk=function(){return!1},nTv.Jj=function(){return(this.Bb&nhJ)!=0},nTv.Oj=function(){return Hz(this)},nTv.sk=function(){return!1},nTv.Kj=function(){return(this.Bb&nk9)!=0},nTv.tk=function(n){this.k=n},nTv.Lh=function(n){DU(this,n)},nTv.Ib=function(){return nay(this)},nTv.e=!1,nTv.n=0,AY(nyu,"EStructuralFeatureImpl",449),nrr(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},dT),nTv._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),!!nim(this);case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q;case 10:return TX(),(this.Bb&nyg)!=0;case 11:return TX(),(this.Bb&nk7)!=0;case 12:return TX(),(this.Bb&nla)!=0;case 13:return this.j;case 14:return ncn(this);case 15:return TX(),(this.Bb&nk9)!=0;case 16:return TX(),(this.Bb&nhJ)!=0;case 17:return Dd(this);case 18:return TX(),(this.Bb&nyc)!=0;case 19:if(t)return Ui(this);return FN(this)}return _Q(this,n-AW((nhl(),nQA)),Bm(Im(zF(this,16),26)||nQA,n),t,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return nim(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i);case 10:return(this.Bb&nyg)==0;case 11:return(this.Bb&nk7)!=0;case 12:return(this.Bb&nla)!=0;case 13:return null!=this.j;case 14:return null!=ncn(this);case 15:return(this.Bb&nk9)!=0;case 16:return(this.Bb&nhJ)!=0;case 17:return!!Dd(this);case 18:return(this.Bb&nyc)!=0;case 19:return!!FN(this)}return RL(this,n-AW((nhl(),nQA)),Bm(Im(zF(this,16),26)||nQA,n))},nTv.sh=function(n,t){var e,i;switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DU(this,Sh(t));return;case 2:Vn(this,gm(So(t)));return;case 3:Vi(this,gm(So(t)));return;case 4:qg(this,Im(t,19).a);return;case 5:i=Im(t,19).a,this.b=0,qp(this,i);return;case 8:Ww(this,Im(t,138));return;case 9:(e=ntl(this,Im(t,87),null))&&e.Fi();return;case 10:Vk(this,gm(So(t)));return;case 11:VT(this,gm(So(t)));return;case 12:Vj(this,gm(So(t)));return;case 13:jo(this,Sh(t));return;case 15:VE(this,gm(So(t)));return;case 16:VS(this,gm(So(t)));return;case 18:VP(this,gm(So(t)));return}V5(this,n-AW((nhl(),nQA)),Bm(Im(zF(this,16),26)||nQA,n),t)},nTv.zh=function(){return nhl(),nQA},nTv.Bh=function(n){var t;switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,88)&&ne2(KJ(Im(this.Cb,88)),4),GF(this,null);return;case 2:Vn(this,!0);return;case 3:Vi(this,!0);return;case 4:qg(this,0);return;case 5:this.b=0,qp(this,1);return;case 8:Ww(this,null);return;case 9:(t=ntl(this,null,null))&&t.Fi();return;case 10:Vk(this,!0);return;case 11:VT(this,!1);return;case 12:Vj(this,!1);return;case 13:this.i=null,Gg(this,null);return;case 15:VE(this,!1);return;case 16:VS(this,!1);return;case 18:VP(this,!1);return}W5(this,n-AW((nhl(),nQA)),Bm(Im(zF(this,16),26)||nQA,n))},nTv.Gh=function(){Ui(this),Nc(HC((neS(),nJy),this)),Z9(this),this.Bb|=1},nTv.$j=function(){return nim(this)},nTv.nk=function(n,t){return this.b=0,this.a=null,WX(this,n,t)},nTv.ok=function(n){this.b=0,qp(this,n)},nTv.Ib=function(){var n;return(64&this.Db)!=0?nay(this):(n=new TW(nay(this)),n.a+=" (iD: ",p$(n,(this.Bb&nyc)!=0),n.a+=")",n.a)},nTv.b=0,AY(nyu,"EAttributeImpl",322),nrr(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),nTv.uk=function(n){return n.Tg()==this},nTv.Qg=function(n){return Zm(this,n)},nTv.Rg=function(n,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=n},nTv._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return Zb(this);case 4:return this.zj();case 5:return this.F;case 6:if(t)return BU(this);return Dw(this);case 7:return this.A||(this.A=new Tv(nQv,this,7)),this.A}return _Q(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t,e)},nTv.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),QL(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Zm(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,6,e)}return Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Qj(this,Jp(this),t-AW(this.zh()),n,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 6:return nuc(this,null,6,e);case 7:return this.A||(this.A=new Tv(nQv,this,7)),Ye(this.A,n,e)}return Im(Bm(Im(zF(this,16),26)||this.zh(),t),66).Nj().Rj(this,Jp(this),t-AW(this.zh()),n,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!Zb(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Dw(this);case 7:return!!this.A&&0!=this.A.i}return RL(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTv.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DX(this,Sh(t));return;case 2:Ew(this,Sh(t));return;case 5:noJ(this,Sh(t));return;case 7:this.A||(this.A=new Tv(nQv,this,7)),noK(this.A),this.A||(this.A=new Tv(nQv,this,7)),AJ(this.A,Im(t,14));return}V5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n),t)},nTv.zh=function(){return nhl(),nQN},nTv.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,179)&&(Im(this.Cb,179).tb=null),GF(this,null);return;case 2:XB(this,null),qv(this,this.D);return;case 5:noJ(this,null);return;case 7:this.A||(this.A=new Tv(nQv,this,7)),noK(this.A);return}W5(this,n-AW(this.zh()),Bm(Im(zF(this,16),26)||this.zh(),n))},nTv.yj=function(){var n;return -1==this.G&&(this.G=(n=BU(this))?Yl(n.Mh(),this):-1),this.G},nTv.zj=function(){return null},nTv.Aj=function(){return BU(this)},nTv.vk=function(){return this.v},nTv.Bj=function(){return Zb(this)},nTv.Cj=function(){return null!=this.D?this.D:this.B},nTv.Dj=function(){return this.F},nTv.wj=function(n){return nuL(this,n)},nTv.wk=function(n){this.v=n},nTv.xk=function(n){GQ(this,n)},nTv.yk=function(n){this.C=n},nTv.Lh=function(n){DX(this,n)},nTv.Ib=function(){return Qk(this)},nTv.C=null,nTv.D=null,nTv.G=-1,AY(nyu,"EClassifierImpl",351),nrr(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},sZ),nTv.uk=function(n){var t;return(t=n.Tg())==this||nnv(nr3(t),this)},nTv._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return Zb(this);case 4:return null;case 5:return this.F;case 6:if(t)return BU(this);return Dw(this);case 7:return this.A||(this.A=new Tv(nQv,this,7)),this.A;case 8:return TX(),(256&this.Bb)!=0;case 9:return TX(),(512&this.Bb)!=0;case 10:return Lw(this);case 11:return this.q||(this.q=new An(nQd,this,11,10)),this.q;case 12:return noo(this);case 13:return non(this);case 14:return non(this),this.r;case 15:return noo(this),this.k;case 16:return neF(this);case 17:return nu4(this);case 18:return nuq(this);case 19:return nr3(this);case 20:return noo(this),this.o;case 21:return this.s||(this.s=new An(nQu,this,21,17)),this.s;case 22:return RJ(this);case 23:return nat(this)}return _Q(this,n-AW((nhl(),nQ$)),Bm(Im(zF(this,16),26)||nQ$,n),t,e)},nTv.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),QL(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Zm(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,6,e);case 11:return this.q||(this.q=new An(nQd,this,11,10)),QL(this.q,n,e);case 21:return this.s||(this.s=new An(nQu,this,21,17)),QL(this.s,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQ$),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQ$)),n,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 6:return nuc(this,null,6,e);case 7:return this.A||(this.A=new Tv(nQv,this,7)),Ye(this.A,n,e);case 11:return this.q||(this.q=new An(nQd,this,11,10)),Ye(this.q,n,e);case 21:return this.s||(this.s=new An(nQu,this,21,17)),Ye(this.s,n,e);case 22:return Ye(RJ(this),n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQ$),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQ$)),n,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!Zb(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Dw(this);case 7:return!!this.A&&0!=this.A.i;case 8:return(256&this.Bb)!=0;case 9:return(512&this.Bb)!=0;case 10:return!!this.u&&0!=RJ(this.u.a).i&&!(this.n&&Yx(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=noo(this).i;case 13:return 0!=non(this).i;case 14:return non(this),0!=this.r.i;case 15:return noo(this),0!=this.k.i;case 16:return 0!=neF(this).i;case 17:return 0!=nu4(this).i;case 18:return 0!=nuq(this).i;case 19:return 0!=nr3(this).i;case 20:return noo(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&Yx(this.n);case 23:return 0!=nat(this).i}return RL(this,n-AW((nhl(),nQ$)),Bm(Im(zF(this,16),26)||nQ$,n))},nTv.oh=function(n){return(null==this.i||this.q&&0!=this.q.i?null:ncp(this,n))||ns$(this,n)},nTv.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DX(this,Sh(t));return;case 2:Ew(this,Sh(t));return;case 5:noJ(this,Sh(t));return;case 7:this.A||(this.A=new Tv(nQv,this,7)),noK(this.A),this.A||(this.A=new Tv(nQv,this,7)),AJ(this.A,Im(t,14));return;case 8:Vt(this,gm(So(t)));return;case 9:Vr(this,gm(So(t)));return;case 10:noB(Lw(this)),AJ(Lw(this),Im(t,14));return;case 11:this.q||(this.q=new An(nQd,this,11,10)),noK(this.q),this.q||(this.q=new An(nQd,this,11,10)),AJ(this.q,Im(t,14));return;case 21:this.s||(this.s=new An(nQu,this,21,17)),noK(this.s),this.s||(this.s=new An(nQu,this,21,17)),AJ(this.s,Im(t,14));return;case 22:noK(RJ(this)),AJ(RJ(this),Im(t,14));return}V5(this,n-AW((nhl(),nQ$)),Bm(Im(zF(this,16),26)||nQ$,n),t)},nTv.zh=function(){return nhl(),nQ$},nTv.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,179)&&(Im(this.Cb,179).tb=null),GF(this,null);return;case 2:XB(this,null),qv(this,this.D);return;case 5:noJ(this,null);return;case 7:this.A||(this.A=new Tv(nQv,this,7)),noK(this.A);return;case 8:Vt(this,!1);return;case 9:Vr(this,!1);return;case 10:this.u&&noB(this.u);return;case 11:this.q||(this.q=new An(nQd,this,11,10)),noK(this.q);return;case 21:this.s||(this.s=new An(nQu,this,21,17)),noK(this.s);return;case 22:this.n&&noK(this.n);return}W5(this,n-AW((nhl(),nQ$)),Bm(Im(zF(this,16),26)||nQ$,n))},nTv.Gh=function(){var n,t,e;if(noo(this),non(this),neF(this),nu4(this),nuq(this),nr3(this),nat(this),Fo(((e=KJ(this)).c||(e.c=new uT),e.c)),this.s)for(n=0,t=this.s.i;n=0;--t)BX(this,t);return QN(this,n)},nTv.Xj=function(){noK(this)},nTv.oi=function(n,t){return qk(this,n,t)},AY(nk4,"EcoreEList",622),nrr(496,622,njf,Iq),nTv.ai=function(){return!1},nTv.aj=function(){return this.c},nTv.bj=function(){return!1},nTv.Fk=function(){return!0},nTv.hi=function(){return!0},nTv.li=function(n,t){return t},nTv.ni=function(){return!1},nTv.c=0,AY(nk4,"EObjectEList",496),nrr(85,496,njf,Tg),nTv.bj=function(){return!0},nTv.Dk=function(){return!1},nTv.rk=function(){return!0},AY(nk4,"EObjectContainmentEList",85),nrr(545,85,njf,Tp),nTv.ci=function(){this.b=!0},nTv.fj=function(){return this.b},nTv.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.b,this.b=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.b=!1},nTv.b=!1,AY(nk4,"EObjectContainmentEList/Unsettable",545),nrr(1140,545,njf,Og),nTv.ii=function(n,t){var e,i;return e=Im(Vm(this,n,t),87),Ea(this.e)&&wR(this,new _K(this.a,7,(nhl(),nQL),Va(t),Ti(i=e.c,88)?Im(i,26):nQq,n)),e},nTv.jj=function(n,t){var e,i,r,c;return e=Im(n,87),i=t,r=new HE(this.e,3,10,null,Ti(c=e.c,88)?Im(c,26):(nhl(),nQq),Yl(this,e),!1),i?i.Ei(r):i=r,i},nTv.kj=function(n,t){var e,i,r,c;return e=Im(n,87),i=t,r=new HE(this.e,4,10,Ti(c=e.c,88)?Im(c,26):(nhl(),nQq),null,Yl(this,e),!1),i?i.Ei(r):i=r,i},nTv.lj=function(n,t,e){var i,r,c,a,u,o;return i=Im(n,87),r=Im(t,87),c=e,a=new HE(this.e,1,10,Ti(o=i.c,88)?Im(o,26):(nhl(),nQq),Ti(u=r.c,88)?Im(u,26):(nhl(),nQq),Yl(this,i),!1),c?c.Ei(a):c=a,c},nTv.Zi=function(n,t,e,i,r){switch(n){case 3:return Dv(this,n,t,e,i,this.i>1);case 5:return Dv(this,n,t,e,i,this.i-Im(e,15).gc()>0);default:return new HE(this.e,n,this.c,t,e,i,!0)}},nTv.ij=function(){return!0},nTv.fj=function(){return Yx(this)},nTv.Xj=function(){noK(this)},AY(nyu,"EClassImpl/1",1140),nrr(1154,1153,nkR),nTv.ui=function(n){var t,e,i,r,c,a,u;if(8!=(e=n.xi())){if(0==(i=function(n){switch(n.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return -1}(n)))switch(e){case 1:case 9:null!=(u=n.Bi())&&((t=KJ(Im(u,473))).c||(t.c=new uT),HG(t.c,n.Ai())),null!=(a=n.zi())&&(1&(r=Im(a,473)).Bb)==0&&((t=KJ(r)).c||(t.c=new uT),_P(t.c,Im(n.Ai(),26)));break;case 3:null!=(a=n.zi())&&(1&(r=Im(a,473)).Bb)==0&&((t=KJ(r)).c||(t.c=new uT),_P(t.c,Im(n.Ai(),26)));break;case 5:if(null!=(a=n.zi()))for(c=Im(a,14).Kc();c.Ob();)(1&(r=Im(c.Pb(),473)).Bb)==0&&((t=KJ(r)).c||(t.c=new uT),_P(t.c,Im(n.Ai(),26)));break;case 4:null!=(u=n.Bi())&&(1&(r=Im(u,473)).Bb)==0&&((t=KJ(r)).c||(t.c=new uT),HG(t.c,n.Ai()));break;case 6:if(null!=(u=n.Bi()))for(c=Im(u,14).Kc();c.Ob();)(1&(r=Im(c.Pb(),473)).Bb)==0&&((t=KJ(r)).c||(t.c=new uT),HG(t.c,n.Ai()))}this.Hk(i)}},nTv.Hk=function(n){nag(this,n)},nTv.b=63,AY(nyu,"ESuperAdapter",1154),nrr(1155,1154,nkR,bz),nTv.Hk=function(n){ne2(this,n)},AY(nyu,"EClassImpl/10",1155),nrr(1144,696,njf),nTv.Vh=function(n,t){return ntf(this,n,t)},nTv.Wh=function(n){return YY(this,n)},nTv.Xh=function(n,t){WV(this,n,t)},nTv.Yh=function(n){Fu(this,n)},nTv.pi=function(n){return _U(this,n)},nTv.mi=function(n,t){return Hq(this,n,t)},nTv.lk=function(n,t){throw(new wP).e},nTv.Zh=function(){return new Mm(this)},nTv.$h=function(){return new My(this)},nTv._h=function(n){return qB(this,n)},nTv.mk=function(n,t){throw(new wP).e},nTv.Wj=function(n){return this},nTv.fj=function(){return 0!=this.i},nTv.Wb=function(n){throw(new wP).e},nTv.Xj=function(){throw(new wP).e},AY(nk4,"EcoreEList/UnmodifiableEList",1144),nrr(319,1144,njf,jW),nTv.ni=function(){return!1},AY(nk4,"EcoreEList/UnmodifiableEList/FastCompare",319),nrr(1147,319,njf,UQ),nTv.Xc=function(n){var t,e;if(Ti(n,170)&&-1!=(t=Im(n,170).aj())){for(e=this.i;t4){if(!this.wj(n))return!1;if(this.rk()){if(a=(t=(e=Im(n,49)).Ug())==this.b&&(this.Dk()?e.Og(e.Vg(),Im(Bm(Ld(this.b),this.aj()).Yj(),26).Bj())==YI(Im(Bm(Ld(this.b),this.aj()),18)).n:-1-e.Vg()==this.aj()),this.Ek()&&!a&&!t&&e.Zg()){for(i=0;i1||-1==e)},nTv.Dk=function(){var n;return!!Ti(n=Bm(Ld(this.b),this.aj()),99)&&!!YI(Im(n,18))},nTv.Ek=function(){var n;return!!Ti(n=Bm(Ld(this.b),this.aj()),99)&&(Im(n,18).Bb&nlo)!=0},nTv.Xc=function(n){var t,e,i;if((e=this.Qi(n))>=0)return e;if(this.Fk()){for(t=0,i=this.Vi();t=0;--n)no1(this,n,this.Oi(n));return this.Wi()},nTv.Qc=function(n){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)no1(this,t,this.Oi(t));return this.Xi(n)},nTv.Xj=function(){noB(this)},nTv.oi=function(n,t){return _X(this,n,t)},AY(nk4,"DelegatingEcoreEList",742),nrr(1150,742,njg,SD),nTv.Hi=function(n,t){var e;e=Im(t,26),Vf(RJ(this.a),n,DV(e))},nTv.Ii=function(n){var t;t=Im(n,26),_P(RJ(this.a),DV(t))},nTv.Oi=function(n){var t;return Ti(t=Im(BX(RJ(this.a),n),87).c,88)?Im(t,26):(nhl(),nQq)},nTv.Ti=function(n){var t;return Ti(t=Im(ncQ(RJ(this.a),n),87).c,88)?Im(t,26):(nhl(),nQq)},nTv.Ui=function(n,t){var e,i,r,c;return e=Im(t,26),((64&(c=Ti(r=(i=Im(BX(RJ(this.a),n),87)).c,88)?Im(r,26):(nhl(),nQq)).Db)!=0?WO(this.b,c):c)==e?nuI(i):B1(i,e),c},nTv.ai=function(){return!1},nTv.Zi=function(n,t,e,i,r){return null},nTv.Ji=function(){return new bX(this)},nTv.Ki=function(){noK(RJ(this.a))},nTv.Li=function(n){return W8(this,n)},nTv.Mi=function(n){var t;for(t=n.Kc();t.Ob();)if(!W8(this,t.Pb()))return!1;return!0},nTv.Ni=function(n){var t,e,i;if(Ti(n,15)&&(i=Im(n,15)).gc()==RJ(this.a).i){for(t=i.Kc(),e=new Td(this);t.Ob();)if(jf(t.Pb())!==jf(J1(e)))return!1;return!0}return!1},nTv.Pi=function(){var n,t,e,i;for(t=1,n=new Td(RJ(this.a));n.e!=n.i.gc();)t=31*t+((e=Ti(i=Im(J1(n),87).c,88)?Im(i,26):(nhl(),nQq))?T9(e):0);return t},nTv.Qi=function(n){var t,e,i,r;for(i=0,e=new Td(RJ(this.a));e.e!=e.i.gc();){if(t=Im(J1(e),87),jf(n)===jf(Ti(r=t.c,88)?Im(r,26):(nhl(),nQq)))return i;++i}return -1},nTv.Ri=function(){return 0==RJ(this.a).i},nTv.Si=function(){return null},nTv.Vi=function(){return RJ(this.a).i},nTv.Wi=function(){var n,t,e,i,r;for(r=_f(nEU,nhO,1,RJ(this.a).i,5,1),e=0,t=new Td(RJ(this.a));t.e!=t.i.gc();)n=Im(J1(t),87),r[e++]=Ti(i=n.c,88)?Im(i,26):(nhl(),nQq);return r},nTv.Xi=function(n){var t,e,i,r,c;for(c=RJ(this.a).i,n.lengthc&&$t(n,c,null),e=0,t=new Td(RJ(this.a));t.e!=t.i.gc();)i=Ti(r=Im(J1(t),87).c,88)?Im(r,26):(nhl(),nQq),$t(n,e++,i);return n},nTv.Yi=function(){var n,t,e,i,r;for(r=new gz,r.a+="[",n=RJ(this.a),t=0,i=RJ(this.a).i;t>16)>=0?Zm(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,6,e);case 9:return this.a||(this.a=new An(nQb,this,9,5)),QL(this.a,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQx),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQx)),n,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 6:return nuc(this,null,6,e);case 7:return this.A||(this.A=new Tv(nQv,this,7)),Ye(this.A,n,e);case 9:return this.a||(this.a=new An(nQb,this,9,5)),Ye(this.a,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQx),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQx)),n,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!Zb(this);case 4:return!!X1(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!Dw(this);case 7:return!!this.A&&0!=this.A.i;case 8:return(256&this.Bb)==0;case 9:return!!this.a&&0!=this.a.i}return RL(this,n-AW((nhl(),nQx)),Bm(Im(zF(this,16),26)||nQx,n))},nTv.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DX(this,Sh(t));return;case 2:Ew(this,Sh(t));return;case 5:noJ(this,Sh(t));return;case 7:this.A||(this.A=new Tv(nQv,this,7)),noK(this.A),this.A||(this.A=new Tv(nQv,this,7)),AJ(this.A,Im(t,14));return;case 8:Ve(this,gm(So(t)));return;case 9:this.a||(this.a=new An(nQb,this,9,5)),noK(this.a),this.a||(this.a=new An(nQb,this,9,5)),AJ(this.a,Im(t,14));return}V5(this,n-AW((nhl(),nQx)),Bm(Im(zF(this,16),26)||nQx,n),t)},nTv.zh=function(){return nhl(),nQx},nTv.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,179)&&(Im(this.Cb,179).tb=null),GF(this,null);return;case 2:XB(this,null),qv(this,this.D);return;case 5:noJ(this,null);return;case 7:this.A||(this.A=new Tv(nQv,this,7)),noK(this.A);return;case 8:Ve(this,!0);return;case 9:this.a||(this.a=new An(nQb,this,9,5)),noK(this.a);return}W5(this,n-AW((nhl(),nQx)),Bm(Im(zF(this,16),26)||nQx,n))},nTv.Gh=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?Im(this.Cb,671):null}return _Q(this,n-AW((nhl(),nQR)),Bm(Im(zF(this,16),26)||nQR,n),t,e)},nTv.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),QL(this.Ab,n,e);case 5:return this.Cb&&(e=(i=this.Db>>16)>=0?ZY(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,5,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQR),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQR)),n,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 5:return nuc(this,null,5,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQR),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQR)),n,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!!(this.Db>>16==5?Im(this.Cb,671):null)}return RL(this,n-AW((nhl(),nQR)),Bm(Im(zF(this,16),26)||nQR,n))},nTv.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:GF(this,Sh(t));return;case 2:qd(this,Im(t,19).a);return;case 3:niR(this,Im(t,1940));return;case 4:Gr(this,Sh(t));return}V5(this,n-AW((nhl(),nQR)),Bm(Im(zF(this,16),26)||nQR,n),t)},nTv.zh=function(){return nhl(),nQR},nTv.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:GF(this,null);return;case 2:qd(this,0);return;case 3:niR(this,null);return;case 4:Gr(this,null);return}W5(this,n-AW((nhl(),nQR)),Bm(Im(zF(this,16),26)||nQR,n))},nTv.Ib=function(){var n;return null==(n=this.c)?this.zb:n},nTv.b=null,nTv.c=null,nTv.d=0,AY(nyu,"EEnumLiteralImpl",573);var nQk=Cw(nyu,"EFactoryImpl/InternalEDateTimeFormat");nrr(489,1,{2015:1},bW),AY(nyu,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),nrr(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},wr),nTv.Sg=function(n,t,e){var i;return e=nuc(this,n,t,e),this.e&&Ti(n,170)&&(i=nr0(this,this.e))!=this.c&&(e=nsg(this,i,e)),e},nTv._g=function(n,t,e){switch(n){case 0:return this.f;case 1:return this.d||(this.d=new Tg(nQw,this,1)),this.d;case 2:if(t)return nuI(this);return this.c;case 3:return this.b;case 4:return this.e;case 5:if(t)return YH(this);return this.a}return _Q(this,n-AW((nhl(),nQF)),Bm(Im(zF(this,16),26)||nQF,n),t,e)},nTv.jh=function(n,t,e){switch(t){case 0:return WC(this,null,e);case 1:return this.d||(this.d=new Tg(nQw,this,1)),Ye(this.d,n,e);case 3:return WI(this,null,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQF),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQF)),n,e)},nTv.lh=function(n){switch(n){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return RL(this,n-AW((nhl(),nQF)),Bm(Im(zF(this,16),26)||nQF,n))},nTv.sh=function(n,t){switch(n){case 0:nnq(this,Im(t,87));return;case 1:this.d||(this.d=new Tg(nQw,this,1)),noK(this.d),this.d||(this.d=new Tg(nQw,this,1)),AJ(this.d,Im(t,14));return;case 3:nnB(this,Im(t,87));return;case 4:ntH(this,Im(t,836));return;case 5:B1(this,Im(t,138));return}V5(this,n-AW((nhl(),nQF)),Bm(Im(zF(this,16),26)||nQF,n),t)},nTv.zh=function(){return nhl(),nQF},nTv.Bh=function(n){switch(n){case 0:nnq(this,null);return;case 1:this.d||(this.d=new Tg(nQw,this,1)),noK(this.d);return;case 3:nnB(this,null);return;case 4:ntH(this,null);return;case 5:B1(this,null);return}W5(this,n-AW((nhl(),nQF)),Bm(Im(zF(this,16),26)||nQF,n))},nTv.Ib=function(){var n;return n=new TV(nrL(this)),n.a+=" (expression: ",function n(t,e){var i,r,c,a,u,o,s;if(t.a){if(o=t.a.ne(),s=null,null!=o?e.a+=""+o:null!=(u=t.a.Dj())&&(-1!=(a=jZ(u,ntd(91)))?(s=u.substr(a),e.a+=""+MT(null==u?nhN:($D(u),u),0,a)):e.a+=""+u),t.d&&0!=t.d.i){for(c=!0,e.a+="<",r=new Td(t.d);r.e!=r.i.gc();)i=Im(J1(r),87),c?c=!1:e.a+=nhI,n(i,e);e.a+=">"}null!=s&&(e.a+=""+s)}else t.e?null!=(o=t.e.zb)&&(e.a+=""+o):(e.a+="?",t.b?(e.a+=" super ",n(t.b,e)):t.f&&(e.a+=" extends ",n(t.f,e)))}(this,n),n.a+=")",n.a},AY(nyu,"EGenericTypeImpl",241),nrr(1969,1964,njp),nTv.Xh=function(n,t){(function(n,t,e){n.Zc(t).Rb(e)})(this,n,t)},nTv.lk=function(n,t){return function(n,t,e){n.Zc(t).Rb(e)}(this,this.gc(),n),t},nTv.pi=function(n){return J7(this.Gi(),n)},nTv.Zh=function(){return this.$h()},nTv.Gi=function(){return new b3(this)},nTv.$h=function(){return this._h(0)},nTv._h=function(n){return this.Gi().Zc(n)},nTv.mk=function(n,t){return Qg(this,n,!0),t},nTv.ii=function(n,t){var e;return e=Zq(this,t),this.Zc(n).Rb(e),e},nTv.ji=function(n,t){Qg(this,t,!0),this.Zc(n).Rb(t)},AY(nk4,"AbstractSequentialInternalEList",1969),nrr(486,1969,njp,Ml),nTv.pi=function(n){return J7(this.Gi(),n)},nTv.Zh=function(){return null==this.b?(md(),md(),nQ6):this.Jk()},nTv.Gi=function(){return new jQ(this.a,this.b)},nTv.$h=function(){return null==this.b?(md(),md(),nQ6):this.Jk()},nTv._h=function(n){var t,e;if(null==this.b){if(n<0||n>1)throw new gu(nk_+n+", size=0").e;return md(),md(),nQ6}for(t=0,e=this.Jk();t0;)if(t=this.c[--this.d],(!this.e||t.Gj()!=nCS||0!=t.aj())&&(!this.Mk()||this.b.mh(t))){if(c=this.b.bh(t,this.Lk()),this.f=(mp(),Im(t,66).Oj()),this.f||t.$j()){if(this.Lk()?(i=Im(c,15),this.k=i):(i=Im(c,69),this.k=this.j=i),Ti(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?nej(this,this.p):neU(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((n=Im(r,72)).ak(),e=n.dd()):e=r,this.i=e,this.g=-3,!0}else if(null!=c)return this.k=null,this.p=null,e=c,this.i=e,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}},nTv.Pb=function(){return zG(this)},nTv.Tb=function(){return this.a},nTv.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw(new wO).e},nTv.Vb=function(){return this.a-1},nTv.Qb=function(){throw(new wP).e},nTv.Lk=function(){return!1},nTv.Wb=function(n){throw(new wP).e},nTv.Mk=function(){return!0},nTv.a=0,nTv.d=0,nTv.f=!1,nTv.g=0,nTv.n=0,nTv.o=0,AY(nk4,"EContentsEList/FeatureIteratorImpl",279),nrr(697,279,njv,MZ),nTv.Lk=function(){return!0},AY(nk4,"EContentsEList/ResolvingFeatureIteratorImpl",697),nrr(1157,697,njv,M0),nTv.Mk=function(){return!1},AY(nyu,"ENamedElementImpl/1/1",1157),nrr(1158,279,njv,M1),nTv.Mk=function(){return!1},AY(nyu,"ENamedElementImpl/1/2",1158),nrr(36,143,nkF,R2,R3,O9,_R,HE,Fi,qT,xm,qM,xy,Fn,xk,qI,xj,Ft,xE,qS,xT,O7,_K,N0,qP,xM,Fe,xS),nTv._i=function(){return _S(this)},nTv.gj=function(){var n;return(n=_S(this))?n.zj():null},nTv.yi=function(n){return -1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,n)},nTv.Ai=function(){return this.c},nTv.hj=function(){var n;return!!(n=_S(this))&&n.Kj()},nTv.b=-1,AY(nyu,"ENotificationImpl",36),nrr(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},dS),nTv.Qg=function(n){return Z6(this,n)},nTv._g=function(n,t,e){var i;switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),(i=this.t)>1||-1==i;case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q;case 10:return this.Db>>16==10?Im(this.Cb,26):null;case 11:return this.d||(this.d=new Tv(nQv,this,11)),this.d;case 12:return this.c||(this.c=new An(nQg,this,12,10)),this.c;case 13:return this.a||(this.a=new Sx(this,this)),this.a;case 14:return HO(this)}return _Q(this,n-AW((nhl(),nQG)),Bm(Im(zF(this,16),26)||nQG,n),t,e)},nTv.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),QL(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?Z6(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,10,e);case 12:return this.c||(this.c=new An(nQg,this,12,10)),QL(this.c,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQG),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQG)),n,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 9:return AQ(this,e);case 10:return nuc(this,null,10,e);case 11:return this.d||(this.d=new Tv(nQv,this,11)),Ye(this.d,n,e);case 12:return this.c||(this.c=new An(nQg,this,12,10)),Ye(this.c,n,e);case 14:return Ye(HO(this),n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQG),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQG)),n,e)},nTv.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i);case 10:return!!(this.Db>>16==10?Im(this.Cb,26):null);case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!!this.a&&0!=HO(this.a.a).i&&!(this.b&&YR(this.b));case 14:return!!this.b&&YR(this.b)}return RL(this,n-AW((nhl(),nQG)),Bm(Im(zF(this,16),26)||nQG,n))},nTv.sh=function(n,t){var e;switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:GF(this,Sh(t));return;case 2:Vn(this,gm(So(t)));return;case 3:Vi(this,gm(So(t)));return;case 4:qg(this,Im(t,19).a);return;case 5:qp(this,Im(t,19).a);return;case 8:Ww(this,Im(t,138));return;case 9:(e=ntl(this,Im(t,87),null))&&e.Fi();return;case 11:this.d||(this.d=new Tv(nQv,this,11)),noK(this.d),this.d||(this.d=new Tv(nQv,this,11)),AJ(this.d,Im(t,14));return;case 12:this.c||(this.c=new An(nQg,this,12,10)),noK(this.c),this.c||(this.c=new An(nQg,this,12,10)),AJ(this.c,Im(t,14));return;case 13:this.a||(this.a=new Sx(this,this)),noB(this.a),this.a||(this.a=new Sx(this,this)),AJ(this.a,Im(t,14));return;case 14:noK(HO(this)),AJ(HO(this),Im(t,14));return}V5(this,n-AW((nhl(),nQG)),Bm(Im(zF(this,16),26)||nQG,n),t)},nTv.zh=function(){return nhl(),nQG},nTv.Bh=function(n){var t;switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:GF(this,null);return;case 2:Vn(this,!0);return;case 3:Vi(this,!0);return;case 4:qg(this,0);return;case 5:qp(this,1);return;case 8:Ww(this,null);return;case 9:(t=ntl(this,null,null))&&t.Fi();return;case 11:this.d||(this.d=new Tv(nQv,this,11)),noK(this.d);return;case 12:this.c||(this.c=new An(nQg,this,12,10)),noK(this.c);return;case 13:this.a&&noB(this.a);return;case 14:this.b&&noK(this.b);return}W5(this,n-AW((nhl(),nQG)),Bm(Im(zF(this,16),26)||nQG,n))},nTv.Gh=function(){var n,t;if(this.c)for(n=0,t=this.c.i;nr&&$t(n,r,null),e=0,t=new Td(HO(this.a));t.e!=t.i.gc();)i=Im(J1(t),87).c||(nhl(),nQ_),$t(n,e++,i);return n},nTv.Yi=function(){var n,t,e,i;for(i=new gz,i.a+="[",n=HO(this.a),t=0,e=HO(this.a).i;t1);case 5:return Dv(this,n,t,e,i,this.i-Im(e,15).gc()>0);default:return new HE(this.e,n,this.c,t,e,i,!0)}},nTv.ij=function(){return!0},nTv.fj=function(){return YR(this)},nTv.Xj=function(){noK(this)},AY(nyu,"EOperationImpl/2",1341),nrr(498,1,{1938:1,498:1},k7),AY(nyu,"EPackageImpl/1",498),nrr(16,85,njf,An),nTv.zk=function(){return this.d},nTv.Ak=function(){return this.b},nTv.Dk=function(){return!0},nTv.b=0,AY(nk4,"EObjectContainmentWithInverseEList",16),nrr(353,16,njf,Pe),nTv.Ek=function(){return!0},nTv.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk4,"EObjectContainmentWithInverseEList/Resolving",353),nrr(298,353,njf,O6),nTv.ci=function(){this.a.tb=null},AY(nyu,"EPackageImpl/2",298),nrr(1228,1,{},ub),AY(nyu,"EPackageImpl/3",1228),nrr(718,43,nlj,dI),nTv._b=function(n){return jw(n)?Ln(this,n):!!Lj(this.f,n)},AY(nyu,"EPackageRegistryImpl",718),nrr(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},dP),nTv.Qg=function(n){return Z8(this,n)},nTv._g=function(n,t,e){var i;switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),(i=this.t)>1||-1==i;case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q;case 10:return this.Db>>16==10?Im(this.Cb,59):null}return _Q(this,n-AW((nhl(),nQX)),Bm(Im(zF(this,16),26)||nQX,n),t,e)},nTv.hh=function(n,t,e){var i;switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),QL(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?Z8(this,e):this.Cb.ih(this,-1-i,null,e)),nuc(this,n,10,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQX),t),66).Nj().Qj(this,Jp(this),t-AW((nhl(),nQX)),n,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 9:return AQ(this,e);case 10:return nuc(this,null,10,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQX),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQX)),n,e)},nTv.lh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i);case 10:return!!(this.Db>>16==10?Im(this.Cb,59):null)}return RL(this,n-AW((nhl(),nQX)),Bm(Im(zF(this,16),26)||nQX,n))},nTv.zh=function(){return nhl(),nQX},AY(nyu,"EParameterImpl",509),nrr(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},Sc),nTv._g=function(n,t,e){var i,r;switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.zb;case 2:return TX(),(256&this.Bb)!=0;case 3:return TX(),(512&this.Bb)!=0;case 4:return Va(this.s);case 5:return Va(this.t);case 6:return TX(),(r=this.t)>1||-1==r;case 7:return TX(),this.s>=1;case 8:if(t)return Z9(this);return this.r;case 9:return this.q;case 10:return TX(),(this.Bb&nyg)!=0;case 11:return TX(),(this.Bb&nk7)!=0;case 12:return TX(),(this.Bb&nla)!=0;case 13:return this.j;case 14:return ncn(this);case 15:return TX(),(this.Bb&nk9)!=0;case 16:return TX(),(this.Bb&nhJ)!=0;case 17:return Dd(this);case 18:return TX(),(this.Bb&nyc)!=0;case 19:return TX(),!!(i=YI(this))&&(i.Bb&nyc)!=0;case 20:return TX(),(this.Bb&nlo)!=0;case 21:if(t)return YI(this);return this.b;case 22:if(t)return U7(this);return KZ(this);case 23:return this.a||(this.a=new Tk(nQo,this,23)),this.a}return _Q(this,n-AW((nhl(),nQW)),Bm(Im(zF(this,16),26)||nQW,n),t,e)},nTv.lh=function(n){var t,e;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return(256&this.Bb)==0;case 3:return(512&this.Bb)==0;case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==$L(this.q).i;case 9:return!!this.q&&!(this.r&&!this.q.e&&0==$L(this.q).i);case 10:return(this.Bb&nyg)==0;case 11:return(this.Bb&nk7)!=0;case 12:return(this.Bb&nla)!=0;case 13:return null!=this.j;case 14:return null!=ncn(this);case 15:return(this.Bb&nk9)!=0;case 16:return(this.Bb&nhJ)!=0;case 17:return!!Dd(this);case 18:return(this.Bb&nyc)!=0;case 19:return!!(t=YI(this))&&(t.Bb&nyc)!=0;case 20:return(this.Bb&nlo)==0;case 21:return!!this.b;case 22:return!!KZ(this);case 23:return!!this.a&&0!=this.a.i}return RL(this,n-AW((nhl(),nQW)),Bm(Im(zF(this,16),26)||nQW,n))},nTv.sh=function(n,t){var e;switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:DU(this,Sh(t));return;case 2:Vn(this,gm(So(t)));return;case 3:Vi(this,gm(So(t)));return;case 4:qg(this,Im(t,19).a);return;case 5:qp(this,Im(t,19).a);return;case 8:Ww(this,Im(t,138));return;case 9:(e=ntl(this,Im(t,87),null))&&e.Fi();return;case 10:Vk(this,gm(So(t)));return;case 11:VT(this,gm(So(t)));return;case 12:Vj(this,gm(So(t)));return;case 13:jo(this,Sh(t));return;case 15:VE(this,gm(So(t)));return;case 16:VS(this,gm(So(t)));return;case 18:VI(this,gm(So(t))),Ti(this.Cb,88)&&ne2(KJ(Im(this.Cb,88)),2);return;case 20:VC(this,gm(So(t)));return;case 21:Gw(this,Im(t,18));return;case 23:this.a||(this.a=new Tk(nQo,this,23)),noK(this.a),this.a||(this.a=new Tk(nQo,this,23)),AJ(this.a,Im(t,14));return}V5(this,n-AW((nhl(),nQW)),Bm(Im(zF(this,16),26)||nQW,n),t)},nTv.zh=function(){return nhl(),nQW},nTv.Bh=function(n){var t;switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:Ti(this.Cb,88)&&ne2(KJ(Im(this.Cb,88)),4),GF(this,null);return;case 2:Vn(this,!0);return;case 3:Vi(this,!0);return;case 4:qg(this,0);return;case 5:qp(this,1);return;case 8:Ww(this,null);return;case 9:(t=ntl(this,null,null))&&t.Fi();return;case 10:Vk(this,!0);return;case 11:VT(this,!1);return;case 12:Vj(this,!1);return;case 13:this.i=null,Gg(this,null);return;case 15:VE(this,!1);return;case 16:VS(this,!1);return;case 18:VI(this,!1),Ti(this.Cb,88)&&ne2(KJ(Im(this.Cb,88)),2);return;case 20:VC(this,!0);return;case 21:Gw(this,null);return;case 23:this.a||(this.a=new Tk(nQo,this,23)),noK(this.a);return}W5(this,n-AW((nhl(),nQW)),Bm(Im(zF(this,16),26)||nQW,n))},nTv.Gh=function(){U7(this),Nc(HC((neS(),nJy),this)),Z9(this),this.Bb|=1},nTv.Lj=function(){return YI(this)},nTv.qk=function(){var n;return!!(n=YI(this))&&(n.Bb&nyc)!=0},nTv.rk=function(){return(this.Bb&nyc)!=0},nTv.sk=function(){return(this.Bb&nlo)!=0},nTv.nk=function(n,t){return this.c=null,WX(this,n,t)},nTv.Ib=function(){var n;return(64&this.Db)!=0?nay(this):(n=new TW(nay(this)),n.a+=" (containment: ",p$(n,(this.Bb&nyc)!=0),n.a+=", resolveProxies: ",p$(n,(this.Bb&nlo)!=0),n.a+=")",n.a)},AY(nyu,"EReferenceImpl",99),nrr(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},uw),nTv.Fb=function(n){return this===n},nTv.cd=function(){return this.b},nTv.dd=function(){return this.c},nTv.Hb=function(){return T9(this)},nTv.Uh=function(n){var t;Gt(this,null==(t=Sh(n))?null:($D(t),t))},nTv.ed=function(n){var t,e;return t=Sh(n),e=this.c,Ge(this,t),e},nTv._g=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return _Q(this,n-AW((nhl(),nQV)),Bm(Im(zF(this,16),26)||nQV,n),t,e)},nTv.lh=function(n){switch(n){case 0:return null!=this.b;case 1:return null!=this.c}return RL(this,n-AW((nhl(),nQV)),Bm(Im(zF(this,16),26)||nQV,n))},nTv.sh=function(n,t){var e;switch(n){case 0:Gt(this,null==(e=Sh(t))?null:($D(e),e));return;case 1:Ge(this,Sh(t));return}V5(this,n-AW((nhl(),nQV)),Bm(Im(zF(this,16),26)||nQV,n),t)},nTv.zh=function(){return nhl(),nQV},nTv.Bh=function(n){switch(n){case 0:Gt(this,null);return;case 1:Ge(this,null);return}W5(this,n-AW((nhl(),nQV)),Bm(Im(zF(this,16),26)||nQV,n))},nTv.Sh=function(){var n;return -1==this.a&&(n=this.b,this.a=null==n?0:Yj(n)),this.a},nTv.Th=function(n){this.a=n},nTv.Ib=function(){var n;return(64&this.Db)!=0?nrL(this):(n=new TW(nrL(this)),n.a+=" (key: ",jT(n,this.b),n.a+=", value: ",jT(n,this.c),n.a+=")",n.a)},nTv.a=-1,nTv.b=null,nTv.c=null;var nQj=AY(nyu,"EStringToStringMapEntryImpl",548),nQE=Cw(nk4,"FeatureMap/Entry/Internal");nrr(565,1,njm),nTv.Ok=function(n){return this.Pk(Im(n,49))},nTv.Pk=function(n){return this.Ok(n)},nTv.Fb=function(n){var t,e;return this===n||!!Ti(n,72)&&(t=Im(n,72)).ak()==this.c&&(null==(e=this.dd())?null==t.dd():WY(e,t.dd()))},nTv.ak=function(){return this.c},nTv.Hb=function(){var n;return n=this.dd(),Xg(this.c)^(null==n?0:Xg(n))},nTv.Ib=function(){var n,t;return t=BU((n=this.c).Hj()).Ph(),n.ne(),(null!=t&&0!=t.length?t+":"+n.ne():n.ne())+"="+this.dd()},AY(nyu,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),nrr(776,565,njm,S$),nTv.Pk=function(n){return new S$(this.c,n)},nTv.dd=function(){return this.a},nTv.Qk=function(n,t,e){var i,r,c;return i=this.a,r=e,i&&(c=Qj(n.Tg(),this.c),r=i.gh(n,-1-(-1==c?t:c),null,r)),r},nTv.Rk=function(n,t,e){var i,r,c;return i=this.a,r=e,i&&(c=Qj(n.Tg(),this.c),r=i.ih(n,-1-(-1==c?t:c),null,r)),r},AY(nyu,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),nrr(1314,1,{},jn),nTv.Pj=function(n,t,e,i,r){return Im(__(n,this.b),215).nl(this.a).Wj(i)},nTv.Qj=function(n,t,e,i,r){return Im(__(n,this.b),215).el(this.a,i,r)},nTv.Rj=function(n,t,e,i,r){return Im(__(n,this.b),215).fl(this.a,i,r)},nTv.Sj=function(n,t,e){return Im(__(n,this.b),215).nl(this.a).fj()},nTv.Tj=function(n,t,e,i){Im(__(n,this.b),215).nl(this.a).Wb(i)},nTv.Uj=function(n,t,e){return Im(__(n,this.b),215).nl(this.a)},nTv.Vj=function(n,t,e){Im(__(n,this.b),215).nl(this.a).Xj()},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),nrr(89,1,{},Iu,ND,LP,R5),nTv.Pj=function(n,t,e,i,r){var c;if(null==(c=t.Ch(e))&&t.Dh(e,c=nhr(this,n)),!r)switch(this.e){case 50:case 41:return Im(c,589).sj();case 40:return Im(c,215).kl()}return c},nTv.Qj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))&&t.Dh(e,c=nhr(this,n)),Im(c,69).lk(i,r)},nTv.Rj=function(n,t,e,i,r){var c;return null!=(c=t.Ch(e))&&(r=Im(c,69).mk(i,r)),r},nTv.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&Im(i,76).fj()},nTv.Tj=function(n,t,e,i){var r;(r=Im(t.Ch(e),76))||t.Dh(e,r=nhr(this,n)),r.Wb(i)},nTv.Uj=function(n,t,e){var i;return(null==(i=t.Ch(e))&&t.Dh(e,i=nhr(this,n)),Ti(i,76))?Im(i,76):new bZ(Im(t.Ch(e),15))},nTv.Vj=function(n,t,e){var i;(i=Im(t.Ch(e),76))||t.Dh(e,i=nhr(this,n)),i.Xj()},nTv.b=0,nTv.e=0,AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),nrr(504,1,{}),nTv.Qj=function(n,t,e,i,r){throw(new wP).e},nTv.Rj=function(n,t,e,i,r){throw(new wP).e},nTv.Uj=function(n,t,e){return new Nx(this,n,t,e)},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),nrr(1331,1,nk5,Nx),nTv.Wj=function(n){return this.a.Pj(this.c,this.d,this.b,n,!0)},nTv.fj=function(){return this.a.Sj(this.c,this.d,this.b)},nTv.Wb=function(n){this.a.Tj(this.c,this.d,this.b,n)},nTv.Xj=function(){this.a.Vj(this.c,this.d,this.b)},nTv.b=0,AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),nrr(769,504,{},L_),nTv.Pj=function(n,t,e,i,r){return naz(n,n.eh(),n.Vg())==this.b?this.sk()&&i?ni9(n):n.eh():null},nTv.Qj=function(n,t,e,i,r){var c,a;return n.eh()&&(r=(c=n.Vg())>=0?n.Qg(r):n.eh().ih(n,-1-c,null,r)),a=Qj(n.Tg(),this.e),n.Sg(i,a,r)},nTv.Rj=function(n,t,e,i,r){var c;return c=Qj(n.Tg(),this.e),n.Sg(null,c,r)},nTv.Sj=function(n,t,e){var i;return i=Qj(n.Tg(),this.e),!!n.eh()&&n.Vg()==i},nTv.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!nuL(this.a,i))throw new gw(njy+(Ti(i,56)?nn_(Im(i,56).Tg()):BE(Xp(i)))+njk+this.a+"'").e;if(r=n.eh(),a=Qj(n.Tg(),this.e),jf(i)!==jf(r)||n.Vg()!=a&&null!=i){if(Z2(n,Im(i,56)))throw new gd(nys+n.Ib()).e;o=null,r&&(o=(c=n.Vg())>=0?n.Qg(o):n.eh().ih(n,-1-c,null,o)),(u=Im(i,49))&&(o=u.gh(n,Qj(u.Tg(),this.b),null,o)),(o=n.Sg(u,a,o))&&o.Fi()}else n.Lg()&&n.Mg()&&zx(n,new O9(n,1,a,i,i))},nTv.Vj=function(n,t,e){var i,r,c;n.eh()?(c=(i=n.Vg())>=0?n.Qg(null):n.eh().ih(n,-1-i,null,null),r=Qj(n.Tg(),this.e),(c=n.Sg(null,r,c))&&c.Fi()):n.Lg()&&n.Mg()&&zx(n,new O7(n,1,this.e,null,null))},nTv.sk=function(){return!1},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),nrr(1315,769,{},Io),nTv.sk=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),nrr(563,504,{}),nTv.Pj=function(n,t,e,i,r){var c;return null==(c=t.Ch(e))?this.b:jf(c)===jf(nQ8)?null:c},nTv.Sj=function(n,t,e){var i;return null!=(i=t.Ch(e))&&(jf(i)===jf(nQ8)||!WY(i,this.b))},nTv.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=null==(c=t.Ch(e))?this.b:jf(c)===jf(nQ8)?null:c,null==i?null!=this.c?(t.Dh(e,null),i=this.b):null!=this.b?t.Dh(e,nQ8):t.Dh(e,null):(this.Sk(i),t.Dh(e,i)),zx(n,this.d.Tk(n,1,this.e,r,i))):null==i?null!=this.c?t.Dh(e,null):null!=this.b?t.Dh(e,nQ8):t.Dh(e,null):(this.Sk(i),t.Dh(e,i))},nTv.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=null==(r=t.Ch(e))?this.b:jf(r)===jf(nQ8)?null:r,t.Eh(e),zx(n,this.d.Tk(n,1,this.e,i,this.b))):t.Eh(e)},nTv.Sk=function(n){throw(new wE).e},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),nrr(1316,1,{},ud),nTv.Tk=function(n,t,e,i,r){return new O7(n,t,e,i,r)},nTv.Uk=function(n,t,e,i,r,c){return new N0(n,t,e,i,r,c)},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",1316),nrr(1332,1316,{},ug),nTv.Tk=function(n,t,e,i,r){return new Fe(n,t,e,gm(So(i)),gm(So(r)))},nTv.Uk=function(n,t,e,i,r,c){return new xS(n,t,e,gm(So(i)),gm(So(r)),c)},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),nrr(1333,1316,{},up),nTv.Tk=function(n,t,e,i,r){return new qT(n,t,e,Im(i,217).a,Im(r,217).a)},nTv.Uk=function(n,t,e,i,r,c){return new xm(n,t,e,Im(i,217).a,Im(r,217).a,c)},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),nrr(1334,1316,{},uv),nTv.Tk=function(n,t,e,i,r){return new qM(n,t,e,Im(i,172).a,Im(r,172).a)},nTv.Uk=function(n,t,e,i,r,c){return new xy(n,t,e,Im(i,172).a,Im(r,172).a,c)},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),nrr(1335,1316,{},um),nTv.Tk=function(n,t,e,i,r){return new Fn(n,t,e,gy(Ss(i)),gy(Ss(r)))},nTv.Uk=function(n,t,e,i,r,c){return new xk(n,t,e,gy(Ss(i)),gy(Ss(r)),c)},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),nrr(1336,1316,{},uy),nTv.Tk=function(n,t,e,i,r){return new qI(n,t,e,Im(i,155).a,Im(r,155).a)},nTv.Uk=function(n,t,e,i,r,c){return new xj(n,t,e,Im(i,155).a,Im(r,155).a,c)},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),nrr(1337,1316,{},uk),nTv.Tk=function(n,t,e,i,r){return new Ft(n,t,e,Im(i,19).a,Im(r,19).a)},nTv.Uk=function(n,t,e,i,r,c){return new xE(n,t,e,Im(i,19).a,Im(r,19).a,c)},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),nrr(1338,1316,{},uj),nTv.Tk=function(n,t,e,i,r){return new qS(n,t,e,Im(i,162).a,Im(r,162).a)},nTv.Uk=function(n,t,e,i,r,c){return new xT(n,t,e,Im(i,162).a,Im(r,162).a,c)},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),nrr(1339,1316,{},uE),nTv.Tk=function(n,t,e,i,r){return new qP(n,t,e,Im(i,184).a,Im(r,184).a)},nTv.Uk=function(n,t,e,i,r,c){return new xM(n,t,e,Im(i,184).a,Im(r,184).a,c)},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),nrr(1317,563,{},NR),nTv.Sk=function(n){if(!this.a.wj(n))throw new gw(njy+Xp(n)+njk+this.a+"'").e},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),nrr(1318,563,{},Ov),nTv.Sk=function(n){},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),nrr(770,563,{}),nTv.Sj=function(n,t,e){return null!=t.Ch(e)},nTv.Tj=function(n,t,e,i){var r,c;n.Lg()&&n.Mg()?(r=!0,null==(c=t.Ch(e))?(r=!1,c=this.b):jf(c)===jf(nQ8)&&(c=null),null==i?null!=this.c?(t.Dh(e,null),i=this.b):t.Dh(e,nQ8):(this.Sk(i),t.Dh(e,i)),zx(n,this.d.Uk(n,1,this.e,c,i,!r))):null==i?null!=this.c?t.Dh(e,null):t.Dh(e,nQ8):(this.Sk(i),t.Dh(e,i))},nTv.Vj=function(n,t,e){var i,r;n.Lg()&&n.Mg()?(i=!0,null==(r=t.Ch(e))?(i=!1,r=this.b):jf(r)===jf(nQ8)&&(r=null),t.Eh(e),zx(n,this.d.Uk(n,2,this.e,r,this.b,i))):t.Eh(e)},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),nrr(1319,770,{},NK),nTv.Sk=function(n){if(!this.a.wj(n))throw new gw(njy+Xp(n)+njk+this.a+"'").e},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),nrr(1320,770,{},Om),nTv.Sk=function(n){},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),nrr(398,504,{},Cq),nTv.Pj=function(n,t,e,i,r){var c,a,u,o,s;if(s=t.Ch(e),this.Kj()&&jf(s)===jf(nQ8))return null;if(!this.sk()||!i||null==s)return s;if((u=Im(s,49)).kh()&&(o=WO(n,u),u!=o)){if(!nuL(this.a,o))throw new gw(njy+Xp(o)+njk+this.a+"'").e;t.Dh(e,s=o),this.rk()&&(c=Im(o,49),a=u.ih(n,this.b?Qj(u.Tg(),this.b):-1-Qj(n.Tg(),this.e),null,null),c.eh()||(a=c.gh(n,this.b?Qj(c.Tg(),this.b):-1-Qj(n.Tg(),this.e),null,a)),a&&a.Fi()),n.Lg()&&n.Mg()&&zx(n,new O7(n,9,this.e,u,o))}return s},nTv.Qj=function(n,t,e,i,r){var c,a;return jf(a=t.Ch(e))===jf(nQ8)&&(a=null),t.Dh(e,i),this.bj()?jf(a)!==jf(i)&&null!=a&&(r=(c=Im(a,49)).ih(n,Qj(c.Tg(),this.b),null,r)):this.rk()&&null!=a&&(r=Im(a,49).ih(n,-1-Qj(n.Tg(),this.e),null,r)),n.Lg()&&n.Mg()&&(r||(r=new pc(4)),r.Ei(new O7(n,1,this.e,a,i))),r},nTv.Rj=function(n,t,e,i,r){var c;return jf(c=t.Ch(e))===jf(nQ8)&&(c=null),t.Eh(e),n.Lg()&&n.Mg()&&(r||(r=new pc(4)),this.Kj()?r.Ei(new O7(n,2,this.e,c,null)):r.Ei(new O7(n,1,this.e,c,null))),r},nTv.Sj=function(n,t,e){return null!=t.Ch(e)},nTv.Tj=function(n,t,e,i){var r,c,a,u,o;if(null!=i&&!nuL(this.a,i))throw new gw(njy+(Ti(i,56)?nn_(Im(i,56).Tg()):BE(Xp(i)))+njk+this.a+"'").e;u=null!=(o=t.Ch(e)),this.Kj()&&jf(o)===jf(nQ8)&&(o=null),a=null,this.bj()?jf(o)!==jf(i)&&(null!=o&&(a=(r=Im(o,49)).ih(n,Qj(r.Tg(),this.b),null,a)),null!=i&&(a=(r=Im(i,49)).gh(n,Qj(r.Tg(),this.b),null,a))):this.rk()&&jf(o)!==jf(i)&&(null!=o&&(a=Im(o,49).ih(n,-1-Qj(n.Tg(),this.e),null,a)),null!=i&&(a=Im(i,49).gh(n,-1-Qj(n.Tg(),this.e),null,a))),null==i&&this.Kj()?t.Dh(e,nQ8):t.Dh(e,i),n.Lg()&&n.Mg()?(c=new N0(n,1,this.e,o,i,this.Kj()&&!u),a?(a.Ei(c),a.Fi()):zx(n,c)):a&&a.Fi()},nTv.Vj=function(n,t,e){var i,r,c,a,u;a=null!=(u=t.Ch(e)),this.Kj()&&jf(u)===jf(nQ8)&&(u=null),c=null,null!=u&&(this.bj()?c=(i=Im(u,49)).ih(n,Qj(i.Tg(),this.b),null,c):this.rk()&&(c=Im(u,49).ih(n,-1-Qj(n.Tg(),this.e),null,c))),t.Eh(e),n.Lg()&&n.Mg()?(r=new N0(n,this.Kj()?2:1,this.e,u,null,a),c?(c.Ei(r),c.Fi()):zx(n,r)):c&&c.Fi()},nTv.bj=function(){return!1},nTv.rk=function(){return!1},nTv.sk=function(){return!1},nTv.Kj=function(){return!1},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),nrr(564,398,{},M3),nTv.rk=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),nrr(1323,564,{},M4),nTv.sk=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),nrr(772,564,{},M5),nTv.Kj=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),nrr(1325,772,{},M6),nTv.sk=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),nrr(640,564,{},Is),nTv.bj=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),nrr(1324,640,{},Il),nTv.sk=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),nrr(773,640,{},Ib),nTv.Kj=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),nrr(1326,773,{},Iw),nTv.sk=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),nrr(641,398,{},M8),nTv.sk=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),nrr(1327,641,{},M9),nTv.Kj=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),nrr(774,641,{},Ih),nTv.bj=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),nrr(1328,774,{},Id),nTv.Kj=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),nrr(1321,398,{},M7),nTv.Kj=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),nrr(771,398,{},If),nTv.bj=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),nrr(1322,771,{},Ig),nTv.Kj=function(){return!0},AY(nyu,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),nrr(775,565,njm,$E),nTv.Pk=function(n){return new $E(this.a,this.c,n)},nTv.dd=function(){return this.b},nTv.Qk=function(n,t,e){var i,r;return i=this.b,r=e,i&&(r=i.gh(n,Qj(i.Tg(),this.c.Lj()),null,r)),r},nTv.Rk=function(n,t,e){var i,r;return i=this.b,r=e,i&&(r=i.ih(n,Qj(i.Tg(),this.c.Lj()),null,r)),r},AY(nyu,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),nrr(1329,1,nk5,bZ),nTv.Wj=function(n){return this.a},nTv.fj=function(){return Ti(this.a,95)?Im(this.a,95).fj():!this.a.dc()},nTv.Wb=function(n){this.a.$b(),this.a.Gc(Im(n,15))},nTv.Xj=function(){Ti(this.a,95)?Im(this.a,95).Xj():this.a.$b()},AY(nyu,"EStructuralFeatureImpl/SettingMany",1329),nrr(1330,565,njm,R8),nTv.Ok=function(n){return new SN((noQ(),nJ4),this.b.Ih(this.a,n))},nTv.dd=function(){return null},nTv.Qk=function(n,t,e){return e},nTv.Rk=function(n,t,e){return e},AY(nyu,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),nrr(642,565,njm,SN),nTv.Ok=function(n){return new SN(this.c,n)},nTv.dd=function(){return this.a},nTv.Qk=function(n,t,e){return e},nTv.Rk=function(n,t,e){return e},AY(nyu,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),nrr(391,497,ny4,uT),nTv.ri=function(n){return _f(nQh,nhO,26,n,0,1)},nTv.ni=function(){return!1},AY(nyu,"ESuperAdapter/1",391),nrr(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},uM),nTv._g=function(n,t,e){switch(n){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.a||(this.a=new CG(this,nQw,this)),this.a}return _Q(this,n-AW((nhl(),nQY)),Bm(Im(zF(this,16),26)||nQY,n),t,e)},nTv.jh=function(n,t,e){switch(t){case 0:return this.Ab||(this.Ab=new An(nQc,this,0,3)),Ye(this.Ab,n,e);case 2:return this.a||(this.a=new CG(this,nQw,this)),Ye(this.a,n,e)}return Im(Bm(Im(zF(this,16),26)||(nhl(),nQY),t),66).Nj().Rj(this,Jp(this),t-AW((nhl(),nQY)),n,e)},nTv.lh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return RL(this,n-AW((nhl(),nQY)),Bm(Im(zF(this,16),26)||nQY,n))},nTv.sh=function(n,t){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab),this.Ab||(this.Ab=new An(nQc,this,0,3)),AJ(this.Ab,Im(t,14));return;case 1:GF(this,Sh(t));return;case 2:this.a||(this.a=new CG(this,nQw,this)),noK(this.a),this.a||(this.a=new CG(this,nQw,this)),AJ(this.a,Im(t,14));return}V5(this,n-AW((nhl(),nQY)),Bm(Im(zF(this,16),26)||nQY,n),t)},nTv.zh=function(){return nhl(),nQY},nTv.Bh=function(n){switch(n){case 0:this.Ab||(this.Ab=new An(nQc,this,0,3)),noK(this.Ab);return;case 1:GF(this,null);return;case 2:this.a||(this.a=new CG(this,nQw,this)),noK(this.a);return}W5(this,n-AW((nhl(),nQY)),Bm(Im(zF(this,16),26)||nQY,n))},AY(nyu,"ETypeParameterImpl",444),nrr(445,85,njf,CG),nTv.cj=function(n,t){return function(n,t,e){var i,r;for(e=J8(t,n.e,-1-n.c,e),r=new b0(new XE(new hN($_(n.a).a).a));r.a.b;)e=nsg(i=Im(BQ(r.a).cd(),87),nr0(i,n.a),e);return e}(this,Im(n,87),t)},nTv.dj=function(n,t){return function(n,t,e){var i,r;for(e=LA(t,n.e,-1-n.c,e),r=new b0(new XE(new hN($_(n.a).a).a));r.a.b;)e=nsg(i=Im(BQ(r.a).cd(),87),nr0(i,n.a),e);return e}(this,Im(n,87),t)},AY(nyu,"ETypeParameterImpl/1",445),nrr(634,43,nlj,dC),nTv.ec=function(){return new b1(this)},AY(nyu,"ETypeParameterImpl/2",634),nrr(556,1965,nhB,b1),nTv.Fc=function(n){return Pn(this,Im(n,87))},nTv.Gc=function(n){var t,e,i;for(i=!1,e=n.Kc();e.Ob();)t=Im(e.Pb(),87),null==$J(this.a,t,"")&&(i=!0);return i},nTv.$b=function(){AT(this.a)},nTv.Hc=function(n){return Au(this.a,n)},nTv.Kc=function(){return new b0(new XE(new hN(this.a).a))},nTv.Mc=function(n){return Fx(this,n)},nTv.gc=function(){return vO(this.a)},AY(nyu,"ETypeParameterImpl/2/1",556),nrr(557,1,nhK,b0),nTv.Nb=function(n){Ao(this,n)},nTv.Pb=function(){return Im(BQ(this.a).cd(),87)},nTv.Ob=function(){return this.a.b},nTv.Qb=function(){_T(this.a)},AY(nyu,"ETypeParameterImpl/2/1/1",557),nrr(1276,43,nlj,dO),nTv._b=function(n){return jw(n)?Ln(this,n):!!Lj(this.f,n)},nTv.xc=function(n){var t;return Ti(t=jw(n)?Lz(this,n):jh(Lj(this.f,n)),837)?(t=Im(t,837)._j(),$J(this,Im(n,235),t),t):null!=t?t:null==n?(mg(),nJT):null},AY(nyu,"EValidatorRegistryImpl",1276),nrr(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},uS),nTv.Ih=function(n,t){var e,i,r;switch(n.yj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==t?null:V7(t);case 25:return null==t?null:function(n,t){var e,i,r,c,a;if(null==n)return null;for(i=0,a=_f(nYA,nfM,25,2*t,15,1),r=0;i>4&15,c=15&n[i],a[r++]=nVD[e],a[r++]=nVD[c];return Je(a,0,a.length)}(e=Im(t,190),e.length);case 27:case 28:return Ti(t,172)?""+Im(t,172).a:null==t?null:V7(t);case 29:return null==t?null:(i=nVL[0],r=Im(t,199),nsw(i.a,r,null));case 41:return null==t?"":pb(Im(t,290));case 42:return V7(t);case 50:return Sh(t);default:throw new gd(nyh+n.ne()+nyf).e}},nTv.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=BU(n))?Yl(t.Mh(),n):-1),n.G){case 0:return new dT;case 1:return new uc;case 2:return new sZ;case 4:return new wN;case 5:return new dM;case 6:return new w$;case 7:return new sJ;case 10:return new ui;case 11:return new dS;case 12:return new Lb;case 13:return new dP;case 14:return new Sc;case 17:return new uw;case 18:return new wr;case 19:return new uM;default:throw new gd(nyw+n.zb+nyf).e}},nTv.Kh=function(n,t){switch(n.yj()){case 20:return null==t?null:new pP(t);case 21:return null==t?null:new Ep(t);case 23:case 22:return null==t?null:function(n){if(Jm(nmf,n))return TX(),nTV;if(Jm(nml,n))return TX(),nTW;throw new gd("Expecting true or false").e}(t);case 26:case 24:return null==t?null:H4(nue(t,-128,127)<<24>>24);case 25:return function(n){var t,e,i,r,c,a,u;if(null==n)return null;for(a=_f(nYD,nyb,25,r=((u=n.length)+1)/2|0,15,1),u%2!=0&&(a[--r]=naa((D5(u-1,n.length),n.charCodeAt(u-1)))),e=0,i=0;e>24;return a}(t);case 27:return function(n){var t;if(null==n)return null;t=0;try{t=nue(n,nfg,nhT)&nfP}catch(e){if(Ti(e=Uu(e),127))t=HR(n)[0];else throw e.e}return Ua(t)}(t);case 28:return function(n){var t;if(null==n)return null;t=0;try{t=nue(n,nfg,nhT)&nfP}catch(e){if(Ti(e=Uu(e),127))t=HR(n)[0];else throw e.e}return Ua(t)}(t);case 29:return function(n){var t,e,i;if(null==n)return null;for(e=0,t=null;e>16);case 50:return t;default:throw new gd(nyh+n.ne()+nyf).e}},AY(nyu,"EcoreFactoryImpl",1313),nrr(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},$V),nTv.gb=!1,nTv.hb=!1;var nQT,nQM,nQS,nQP,nQI,nQC,nQO,nQA,nQ$,nQN,nQL,nQD,nQx,nQR,nQK,nQF,nQ_,nQH,nQB,nQq,nQG,nQz,nQU,nQX,nQW,nQV,nQQ,nQJ,nQY,nQZ,nQ1,nQ0,nQ2,nQ3,nQ4,nQ5,nQ6,nQ8,nQ9,nQ7,nJn,nJt,nJe,nJi,nJr,nJc,nJa,nJu,nJo=!1;AY(nyu,"EcorePackageImpl",547),nrr(1184,1,{837:1},uP),nTv._j=function(){return TU(),nJM},AY(nyu,"EcorePackageImpl/1",1184),nrr(1193,1,njD,uI),nTv.wj=function(n){return Ti(n,147)},nTv.xj=function(n){return _f(nCN,nhO,147,n,0,1)},AY(nyu,"EcorePackageImpl/10",1193),nrr(1194,1,njD,uC),nTv.wj=function(n){return Ti(n,191)},nTv.xj=function(n){return _f(nCD,nhO,191,n,0,1)},AY(nyu,"EcorePackageImpl/11",1194),nrr(1195,1,njD,uO),nTv.wj=function(n){return Ti(n,56)},nTv.xj=function(n){return _f(nCM,nhO,56,n,0,1)},AY(nyu,"EcorePackageImpl/12",1195),nrr(1196,1,njD,uA),nTv.wj=function(n){return Ti(n,399)},nTv.xj=function(n){return _f(nQd,njs,59,n,0,1)},AY(nyu,"EcorePackageImpl/13",1196),nrr(1197,1,njD,u$),nTv.wj=function(n){return Ti(n,235)},nTv.xj=function(n){return _f(nCx,nhO,235,n,0,1)},AY(nyu,"EcorePackageImpl/14",1197),nrr(1198,1,njD,uN),nTv.wj=function(n){return Ti(n,509)},nTv.xj=function(n){return _f(nQg,nhO,2017,n,0,1)},AY(nyu,"EcorePackageImpl/15",1198),nrr(1199,1,njD,uL),nTv.wj=function(n){return Ti(n,99)},nTv.xj=function(n){return _f(nQp,njo,18,n,0,1)},AY(nyu,"EcorePackageImpl/16",1199),nrr(1200,1,njD,uD),nTv.wj=function(n){return Ti(n,170)},nTv.xj=function(n){return _f(nQu,njo,170,n,0,1)},AY(nyu,"EcorePackageImpl/17",1200),nrr(1201,1,njD,ux),nTv.wj=function(n){return Ti(n,472)},nTv.xj=function(n){return _f(nQa,nhO,472,n,0,1)},AY(nyu,"EcorePackageImpl/18",1201),nrr(1202,1,njD,uR),nTv.wj=function(n){return Ti(n,548)},nTv.xj=function(n){return _f(nQj,nkG,548,n,0,1)},AY(nyu,"EcorePackageImpl/19",1202),nrr(1185,1,njD,uK),nTv.wj=function(n){return Ti(n,322)},nTv.xj=function(n){return _f(nQo,njo,34,n,0,1)},AY(nyu,"EcorePackageImpl/2",1185),nrr(1203,1,njD,uF),nTv.wj=function(n){return Ti(n,241)},nTv.xj=function(n){return _f(nQw,njd,87,n,0,1)},AY(nyu,"EcorePackageImpl/20",1203),nrr(1204,1,njD,u_),nTv.wj=function(n){return Ti(n,444)},nTv.xj=function(n){return _f(nQv,nhO,836,n,0,1)},AY(nyu,"EcorePackageImpl/21",1204),nrr(1205,1,njD,uH),nTv.wj=function(n){return jl(n)},nTv.xj=function(n){return _f(nTn,nhQ,476,n,8,1)},AY(nyu,"EcorePackageImpl/22",1205),nrr(1206,1,njD,uB),nTv.wj=function(n){return Ti(n,190)},nTv.xj=function(n){return _f(nYD,nhQ,190,n,0,2)},AY(nyu,"EcorePackageImpl/23",1206),nrr(1207,1,njD,uq),nTv.wj=function(n){return Ti(n,217)},nTv.xj=function(n){return _f(nTt,nhQ,217,n,0,1)},AY(nyu,"EcorePackageImpl/24",1207),nrr(1208,1,njD,uG),nTv.wj=function(n){return Ti(n,172)},nTv.xj=function(n){return _f(nTe,nhQ,172,n,0,1)},AY(nyu,"EcorePackageImpl/25",1208),nrr(1209,1,njD,uz),nTv.wj=function(n){return Ti(n,199)},nTv.xj=function(n){return _f(nE7,nhQ,199,n,0,1)},AY(nyu,"EcorePackageImpl/26",1209),nrr(1210,1,njD,uU),nTv.wj=function(n){return!1},nTv.xj=function(n){return _f(nY_,nhO,2110,n,0,1)},AY(nyu,"EcorePackageImpl/27",1210),nrr(1211,1,njD,uX),nTv.wj=function(n){return jb(n)},nTv.xj=function(n){return _f(nTi,nhQ,333,n,7,1)},AY(nyu,"EcorePackageImpl/28",1211),nrr(1212,1,njD,uW),nTv.wj=function(n){return Ti(n,58)},nTv.xj=function(n){return _f(nCG,nwt,58,n,0,1)},AY(nyu,"EcorePackageImpl/29",1212),nrr(1186,1,njD,uV),nTv.wj=function(n){return Ti(n,510)},nTv.xj=function(n){return _f(nQc,{3:1,4:1,5:1,1934:1},590,n,0,1)},AY(nyu,"EcorePackageImpl/3",1186),nrr(1213,1,njD,uQ),nTv.wj=function(n){return Ti(n,573)},nTv.xj=function(n){return _f(nCJ,nhO,1940,n,0,1)},AY(nyu,"EcorePackageImpl/30",1213),nrr(1214,1,njD,uJ),nTv.wj=function(n){return Ti(n,153)},nTv.xj=function(n){return _f(nJh,nwt,153,n,0,1)},AY(nyu,"EcorePackageImpl/31",1214),nrr(1215,1,njD,uY),nTv.wj=function(n){return Ti(n,72)},nTv.xj=function(n){return _f(nQy,njx,72,n,0,1)},AY(nyu,"EcorePackageImpl/32",1215),nrr(1216,1,njD,uZ),nTv.wj=function(n){return Ti(n,155)},nTv.xj=function(n){return _f(nTr,nhQ,155,n,0,1)},AY(nyu,"EcorePackageImpl/33",1216),nrr(1217,1,njD,u1),nTv.wj=function(n){return Ti(n,19)},nTv.xj=function(n){return _f(nTc,nhQ,19,n,0,1)},AY(nyu,"EcorePackageImpl/34",1217),nrr(1218,1,njD,u0),nTv.wj=function(n){return Ti(n,290)},nTv.xj=function(n){return _f(nEX,nhO,290,n,0,1)},AY(nyu,"EcorePackageImpl/35",1218),nrr(1219,1,njD,u2),nTv.wj=function(n){return Ti(n,162)},nTv.xj=function(n){return _f(nTa,nhQ,162,n,0,1)},AY(nyu,"EcorePackageImpl/36",1219),nrr(1220,1,njD,u3),nTv.wj=function(n){return Ti(n,83)},nTv.xj=function(n){return _f(nEV,nhO,83,n,0,1)},AY(nyu,"EcorePackageImpl/37",1220),nrr(1221,1,njD,u4),nTv.wj=function(n){return Ti(n,591)},nTv.xj=function(n){return _f(nJs,nhO,591,n,0,1)},AY(nyu,"EcorePackageImpl/38",1221),nrr(1222,1,njD,u5),nTv.wj=function(n){return!1},nTv.xj=function(n){return _f(nYH,nhO,2111,n,0,1)},AY(nyu,"EcorePackageImpl/39",1222),nrr(1187,1,njD,u6),nTv.wj=function(n){return Ti(n,88)},nTv.xj=function(n){return _f(nQh,nhO,26,n,0,1)},AY(nyu,"EcorePackageImpl/4",1187),nrr(1223,1,njD,u8),nTv.wj=function(n){return Ti(n,184)},nTv.xj=function(n){return _f(nTu,nhQ,184,n,0,1)},AY(nyu,"EcorePackageImpl/40",1223),nrr(1224,1,njD,u9),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nyu,"EcorePackageImpl/41",1224),nrr(1225,1,njD,u7),nTv.wj=function(n){return Ti(n,588)},nTv.xj=function(n){return _f(nCU,nhO,588,n,0,1)},AY(nyu,"EcorePackageImpl/42",1225),nrr(1226,1,njD,on),nTv.wj=function(n){return!1},nTv.xj=function(n){return _f(nYB,nhQ,2112,n,0,1)},AY(nyu,"EcorePackageImpl/43",1226),nrr(1227,1,njD,ot),nTv.wj=function(n){return Ti(n,42)},nTv.xj=function(n){return _f(nEZ,nh9,42,n,0,1)},AY(nyu,"EcorePackageImpl/44",1227),nrr(1188,1,njD,oe),nTv.wj=function(n){return Ti(n,138)},nTv.xj=function(n){return _f(nQs,nhO,138,n,0,1)},AY(nyu,"EcorePackageImpl/5",1188),nrr(1189,1,njD,oi),nTv.wj=function(n){return Ti(n,148)},nTv.xj=function(n){return _f(nQf,nhO,148,n,0,1)},AY(nyu,"EcorePackageImpl/6",1189),nrr(1190,1,njD,or),nTv.wj=function(n){return Ti(n,457)},nTv.xj=function(n){return _f(nQl,nhO,671,n,0,1)},AY(nyu,"EcorePackageImpl/7",1190),nrr(1191,1,njD,oc),nTv.wj=function(n){return Ti(n,573)},nTv.xj=function(n){return _f(nQb,nhO,678,n,0,1)},AY(nyu,"EcorePackageImpl/8",1191),nrr(1192,1,njD,oa),nTv.wj=function(n){return Ti(n,471)},nTv.xj=function(n){return _f(nCL,nhO,471,n,0,1)},AY(nyu,"EcorePackageImpl/9",1192),nrr(1025,1982,nkB,gf),nTv.bi=function(n,t){!function(n,t){var e,i,r;if(t.vi(n.a),null!=(r=Im(zF(n.a,8),1936)))for(e=0,i=r.length;e0){if(D5(0,n.length),47==n.charCodeAt(0)){for(t=1,c=new Fq(4),r=1;t0)try{i=nue(t,nfg,nhT)}catch(n){if(Ti(n=Uu(n),127))throw new Hj(n).e;throw n.e}return n.a||(n.a=new b2(n)),i<(e=n.a).i&&i>=0?Im(BX(e,i),56):null}(n,0==(r=t.c.length)?"":(D4(0,t.c.length),Sh(t.c[0])));i0&&(n=n.substr(0,e))}return function(n,t){var e,i,r,c,a,u;for(c=null,r=new Ae((n.a||(n.a=new b2(n)),n.a));niD(r);)if(noo(a=(e=Im(nrV(r),56)).Tg()),null!=(i=(u=a.o)&&e.mh(u)?Pg(Ui(u),e.ah(u)):null)&&Pv(i,t)){c=e;break}return c}(this,n)},nTv.Xk=function(){return this.c},nTv.Ib=function(){return pb(this.gm)+"@"+(Xg(this)>>>0).toString(16)+" uri='"+this.d+"'"},nTv.b=!1,AY(njF,"ResourceImpl",781),nrr(1379,781,njK,b4),AY(njF,"BinaryResourceImpl",1379),nrr(1169,694,ny5),nTv.si=function(n){var t;return Ti(n,56)?(t=Im(n,56),this.a?t.Wg().Kc():Im(t.Wg(),69).Zh()):Ti(n,591)?new Td(Im(n,591).Vk()):jf(n)===jf(this.f)?Im(n,14).Kc():(Si(),nVJ.a)},nTv.Ob=function(){return niD(this)},nTv.a=!1,AY(nk4,"EcoreUtil/ContentTreeIterator",1169),nrr(1380,1169,ny5,Ae),nTv.si=function(n){return jf(n)===jf(this.f)?Im(n,15).Kc():new Rh(Im(n,56))},AY(njF,"ResourceImpl/5",1380),nrr(648,1994,njh,b2),nTv.Hc=function(n){return this.i<=4?nnv(this,n):Ti(n,49)&&Im(n,49).Zg()==this.a},nTv.bi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},nTv.di=function(n,t){0==n?this.a.b||(this.a.b=!0):_s(this,n,t)},nTv.fi=function(n,t){},nTv.gi=function(n,t,e){},nTv.aj=function(){return 2},nTv.Ai=function(){return this.a},nTv.bj=function(){return!0},nTv.cj=function(n,t){return t=Im(n,49).wh(this.a,t)},nTv.dj=function(n,t){return Im(n,49).wh(null,t)},nTv.ej=function(){return!1},nTv.hi=function(){return!0},nTv.ri=function(n){return _f(nCM,nhO,56,n,0,1)},nTv.ni=function(){return!1},AY(njF,"ResourceImpl/ContentsEList",648),nrr(957,1964,nfh,b3),nTv.Zc=function(n){return this.a._h(n)},nTv.gc=function(){return this.a.gc()},AY(nk4,"AbstractSequentialInternalEList/1",957),nrr(624,1,{},IV),AY(nk4,"BasicExtendedMetaData",624),nrr(1160,1,{},jt),nTv.$k=function(){return null},nTv._k=function(){var n;return -2==this.a&&(n=function(n,t){var e,i,r;if((e=t.Hh(n.a))&&null!=(r=Q_((e.b||(e.b=new M2((nhl(),nQV),nQj,e)),e.b),njw))){for(i=1;i<(neS(),nJv).length;++i)if(Pv(nJv[i],r))return i}return 0}(this.d,this.b),this.a=n),this.a},nTv.al=function(){return null},nTv.bl=function(){return NV(),NV(),nMp},nTv.ne=function(){var n;return this.c==nj1&&(n=Jk(this.d,this.b),this.c=n),this.c},nTv.cl=function(){return 0},nTv.a=-2,nTv.c=nj1,AY(nk4,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),nrr(1161,1,{},x$),nTv.$k=function(){var n,t,e,i,r,c,a,u,o;return this.a==(KY(),nJj)&&(t=this.f,n=(r=(e=this.b).Hh(t.a))&&(r.b||(r.b=new M2((nhl(),nQV),nQj,r)),null!=(i=Sh(Q_(r.b,njT))))&&Ti(a=-1==(c=i.lastIndexOf("#"))?(u=e.Aj(),o=i,noI(HI(t,u),o)):0==c?_F(t,null,i.substr(1)):_F(t,i.substr(0,c),i.substr(c+1)),148)?Im(a,148):null,this.a=n),this.a},nTv._k=function(){return 0},nTv.al=function(){var n,t,e,i,r,c,a,u,o;return this.c==(KY(),nJj)&&(t=this.f,n=(i=(e=this.b).Hh(t.a))&&(i.b||(i.b=new M2((nhl(),nQV),nQj,i)),null!=(c=Sh(Q_(i.b,njX))))&&Ti(a=-1==(r=c.lastIndexOf("#"))?(u=e.Aj(),o=c,noI(HI(t,u),o)):0==r?_F(t,null,c.substr(1)):_F(t,c.substr(0,r),c.substr(r+1)),148)?Im(a,148):null,this.c=n),this.c},nTv.bl=function(){var n;return this.d||(n=function(n,t){var e,i,r,c,a,u,o,s,h;if((e=t.Hh(n.a))&&null!=(o=Sh(Q_((e.b||(e.b=new M2((nhl(),nQV),nQj,e)),e.b),"memberTypes")))){for(s=new wn,c=naX(o,"\\w"),a=0,u=c.length;ae?t:e;s<=f;++s)s==e?u=i++:(c=r[s],h=w.rl(c.ak()),s==t&&(o=s!=f||h?i:i-1),h&&++i);return l=Im(Vm(n,t,e),72),u!=o&&wR(n,new _K(n.e,7,a,Va(u),b.dd(),o)),l}return Im(Vm(n,t,e),72)}(this,n,t)},nTv.li=function(n,t){return function(n,t,e){var i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(Ti(a=e.ak(),99)&&(Im(a,18).Bb&nlo)!=0&&(l=Im(e.dd(),49),(d=WO(n.e,l))!=l)){if(Ts(n,t,nn6(n,t,h=RU(a,d))),f=null,Ea(n.e)&&(i=noW((neS(),nJy),n.e.Tg(),a))!=Bm(n.e.Tg(),n.c)){for(o=0,g=ncT(n.e.Tg(),a),u=0,c=Im(n.g,119);o=0;)if(t=n[this.c],this.k.rl(t.ak()))return this.j=this.f?t:t.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},AY(nk4,"BasicFeatureMap/FeatureEIterator",410),nrr(662,410,nhU,jV),nTv.Lk=function(){return!0},AY(nk4,"BasicFeatureMap/ResolvingFeatureEIterator",662),nrr(955,486,njp,E2),nTv.Gi=function(){return this},AY(nk4,"EContentsEList/1",955),nrr(956,486,njp,jQ),nTv.Lk=function(){return!1},AY(nk4,"EContentsEList/2",956),nrr(954,279,njv,E3),nTv.Nk=function(n){},nTv.Ob=function(){return!1},nTv.Sb=function(){return!1},AY(nk4,"EContentsEList/FeatureIteratorImpl/1",954),nrr(825,585,njf,Tj),nTv.ci=function(){this.a=!0},nTv.fj=function(){return this.a},nTv.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.a,this.a=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.a=!1},nTv.a=!1,AY(nk4,"EDataTypeEList/Unsettable",825),nrr(1849,585,njf,TE),nTv.hi=function(){return!0},AY(nk4,"EDataTypeUniqueEList",1849),nrr(1850,825,njf,TT),nTv.hi=function(){return!0},AY(nk4,"EDataTypeUniqueEList/Unsettable",1850),nrr(139,85,njf,Tv),nTv.Ek=function(){return!0},nTv.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk4,"EObjectContainmentEList/Resolving",139),nrr(1163,545,njf,Tm),nTv.Ek=function(){return!0},nTv.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk4,"EObjectContainmentEList/Unsettable/Resolving",1163),nrr(748,16,njf,Pi),nTv.ci=function(){this.a=!0},nTv.fj=function(){return this.a},nTv.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.a,this.a=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.a=!1},nTv.a=!1,AY(nk4,"EObjectContainmentWithInverseEList/Unsettable",748),nrr(1173,748,njf,Pr),nTv.Ek=function(){return!0},nTv.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk4,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),nrr(743,496,njf,Ty),nTv.ci=function(){this.a=!0},nTv.fj=function(){return this.a},nTv.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.a,this.a=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.a=!1},nTv.a=!1,AY(nk4,"EObjectEList/Unsettable",743),nrr(328,496,njf,Tk),nTv.Ek=function(){return!0},nTv.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk4,"EObjectResolvingEList",328),nrr(1641,743,njf,TM),nTv.Ek=function(){return!0},nTv.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk4,"EObjectResolvingEList/Unsettable",1641),nrr(1381,1,{},ou),AY(nk4,"EObjectValidator",1381),nrr(546,496,njf,At),nTv.zk=function(){return this.d},nTv.Ak=function(){return this.b},nTv.bj=function(){return!0},nTv.Dk=function(){return!0},nTv.b=0,AY(nk4,"EObjectWithInverseEList",546),nrr(1176,546,njf,Pc),nTv.Ck=function(){return!0},AY(nk4,"EObjectWithInverseEList/ManyInverse",1176),nrr(625,546,njf,Pa),nTv.ci=function(){this.a=!0},nTv.fj=function(){return this.a},nTv.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.a,this.a=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.a=!1},nTv.a=!1,AY(nk4,"EObjectWithInverseEList/Unsettable",625),nrr(1175,625,njf,Po),nTv.Ck=function(){return!0},AY(nk4,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),nrr(749,546,njf,Pu),nTv.Ek=function(){return!0},nTv.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk4,"EObjectWithInverseResolvingEList",749),nrr(31,749,njf,Ph),nTv.Ck=function(){return!0},AY(nk4,"EObjectWithInverseResolvingEList/ManyInverse",31),nrr(750,625,njf,Ps),nTv.Ek=function(){return!0},nTv.li=function(n,t){return ni0(this,n,Im(t,56))},AY(nk4,"EObjectWithInverseResolvingEList/Unsettable",750),nrr(1174,750,njf,Pf),nTv.Ck=function(){return!0},AY(nk4,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),nrr(1164,622,njf),nTv.ai=function(){return(1792&this.b)==0},nTv.ci=function(){this.b|=1},nTv.Bk=function(){return(4&this.b)!=0},nTv.bj=function(){return(40&this.b)!=0},nTv.Ck=function(){return(16&this.b)!=0},nTv.Dk=function(){return(8&this.b)!=0},nTv.Ek=function(){return(this.b&nk7)!=0},nTv.rk=function(){return(32&this.b)!=0},nTv.Fk=function(){return(this.b&nyg)!=0},nTv.wj=function(n){return this.d?RR(this.d,n):this.ak().Yj().wj(n)},nTv.fj=function(){return(2&this.b)!=0?(1&this.b)!=0:0!=this.i},nTv.hi=function(){return(128&this.b)!=0},nTv.Xj=function(){var n;noK(this),(2&this.b)!=0&&(Ea(this.e)?(n=(1&this.b)!=0,this.b&=-2,wR(this,new Fi(this.e,2,Qj(this.e.Tg(),this.ak()),n,!1))):this.b&=-2)},nTv.ni=function(){return(1536&this.b)==0},nTv.b=0,AY(nk4,"EcoreEList/Generic",1164),nrr(1165,1164,njf,N2),nTv.ak=function(){return this.a},AY(nk4,"EcoreEList/Dynamic",1165),nrr(747,63,ny4,b5),nTv.ri=function(n){return qm(this.a.a,n)},AY(nk4,"EcoreEMap/1",747),nrr(746,85,njf,O8),nTv.bi=function(n,t){YC(this.b,Im(t,133))},nTv.di=function(n,t){zO(this.b)},nTv.ei=function(n,t,e){var i;++(i=this.b,Im(t,133),i).e},nTv.fi=function(n,t){Vy(this.b,Im(t,133))},nTv.gi=function(n,t,e){var i;Vy(this.b,Im(e,133)),jf(e)===jf(t)&&Im(e,133).Th(null==(i=Im(t,133).cd())?0:Xg(i)),YC(this.b,Im(t,133))},AY(nk4,"EcoreEMap/DelegateEObjectContainmentEList",746),nrr(1171,151,nk6,qJ),AY(nk4,"EcoreEMap/Unsettable",1171),nrr(1172,746,njf,Pl),nTv.ci=function(){this.a=!0},nTv.fj=function(){return this.a},nTv.Xj=function(){var n;noK(this),Ea(this.e)?(n=this.a,this.a=!1,zx(this.e,new Fi(this.e,2,this.c,n,!1))):this.a=!1},nTv.a=!1,AY(nk4,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),nrr(1168,228,nlj,AX),nTv.a=!1,nTv.b=!1,AY(nk4,"EcoreUtil/Copier",1168),nrr(745,1,nhK,Rh),nTv.Nb=function(n){Ao(this,n)},nTv.Ob=function(){return QB(this)},nTv.Pb=function(){var n;return QB(this),n=this.b,this.b=null,n},nTv.Qb=function(){this.a.Qb()},AY(nk4,"EcoreUtil/ProperContentIterator",745),nrr(1382,1381,{},s1),AY(nk4,"EcoreValidator",1382),Cw(nk4,"FeatureMapUtil/Validator"),nrr(1260,1,{1942:1},oo),nTv.rl=function(n){return!0},AY(nk4,"FeatureMapUtil/1",1260),nrr(757,1,{1942:1},nsO),nTv.rl=function(n){var t,e;return this.c==n||(null!=(t=So($a(this.a,n)))?t==(TX(),nTV):(this.f==nJP?(e=$H(HC((neS(),nJy),n)),this.e?4==e&&n!=(niB(),nJA)&&n!=(niB(),nJI)&&n!=(niB(),nJC)&&n!=(niB(),nJO):2==e):this.d&&(this.d.Hc(n)||this.d.Hc(xt(HC((neS(),nJy),n)))||this.d.Hc(noW((neS(),nJy),this.b,n)))||this.f&&ncu((neS(),this.f),Na(HC(nJy,n)))&&(e=$H(HC(nJy,n)),this.e?4==e:2==e))?(Fa(this.a,n,(TX(),nTV)),!0):(Fa(this.a,n,(TX(),nTW)),!1))},nTv.e=!1,AY(nk4,"FeatureMapUtil/BasicValidator",757),nrr(758,43,nlj,E4),AY(nk4,"FeatureMapUtil/BasicValidator/Cache",758),nrr(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},jr),nTv.Vc=function(n,t){ncD(this.c,this.b,n,t)},nTv.Fc=function(n){return naZ(this.c,this.b,n)},nTv.Wc=function(n,t){return function(n,t,e,i){var r,c,a,u,o,s,h,f;if(0==i.gc())return!1;if(mp(),a=(o=Im(t,66).Oj())?i:new BO(i.gc()),ncx(n.e,t)){if(t.hi())for(h=i.Kc();h.Ob();)nuz(n,t,s=h.Pb(),Ti(t,99)&&(Im(t,18).Bb&nlo)!=0)||(c=RU(t,s),a.Fc(c));else if(!o)for(h=i.Kc();h.Ob();)c=RU(t,s=h.Pb()),a.Fc(c)}else{for(u=0,f=ncT(n.e.Tg(),t),r=Im(n.g,119);u1)throw new gd(nj0).e;o||(c=RU(t,i.Kc().Pb()),a.Fc(c))}return UG(n,neE(n,t,e),a)}(this.c,this.b,n,t)},nTv.Gc=function(n){return E9(this,n)},nTv.Xh=function(n,t){var e,i;e=this.c,i=this.b,e.j=-1,ni1(e,neE(e,i,n),(mp(),Im(i,66).Mj().Ok(t)))},nTv.lk=function(n,t){return nak(this.c,this.b,n,t)},nTv.pi=function(n){return nof(this.c,this.b,n,!1)},nTv.Zh=function(){var n;return n=this.c,new zW(this.b,n)},nTv.$h=function(){var n;return n=this.c,new zW(this.b,n)},nTv._h=function(n){return function(n,t,e){var i,r;for(i=0,r=new zW(t,n);i>24,s=(3&t)<<24>>24,b=(-128&t)==0?t>>2<<24>>24:(t>>2^192)<<24>>24,w=(-128&e)==0?e>>4<<24>>24:(e>>4^240)<<24>>24,d=(-128&i)==0?i>>6<<24>>24:(i>>6^252)<<24>>24,c[a++]=nYn[b],c[a++]=nYn[w|s<<4],c[a++]=nYn[h<<2|d],c[a++]=nYn[63&i];return 8==u?(s=(3&(t=n[r]))<<24>>24,b=(-128&t)==0?t>>2<<24>>24:(t>>2^192)<<24>>24,c[a++]=nYn[b],c[a++]=nYn[s<<4],c[a++]=61,c[a++]=61):16==u&&(t=n[r],h=(15&(e=n[r+1]))<<24>>24,s=(3&t)<<24>>24,b=(-128&t)==0?t>>2<<24>>24:(t>>2^192)<<24>>24,w=(-128&e)==0?e>>4<<24>>24:(e>>4^240)<<24>>24,c[a++]=nYn[b],c[a++]=nYn[w|s<<4],c[a++]=nYn[h<<2],c[a++]=61),Je(c,0,c.length)}(e);case 12:case 47:case 49:case 11:return nso(this,n,t);case 13:return null==t?null:function(n){var t,e,i,r,c,a,u,o;if(i=ns9((n.c||(n.c=Wa(n.f)),n.c),0),0==n.e||0==n.a&&-1!=n.f&&n.e<0)return i;if(t=0>qx(n)?1:0,e=n.e,i.length,nTp.Math.abs(LU(n.e)),r=new gW,1==t&&(r.a+="-"),n.e>0){if((e-=i.length-t)>=0){for(r.a+="0.";e>nMn.length;e-=nMn.length)CO(r,nMn);c=nMn,a=LU(e),r.a+=Je(c,0,a),jP(r,i.substr(t))}else e=t-e,jP(r,MT(i,t,LU(e))),r.a+=".",jP(r,jm(i,LU(e)))}else{for(jP(r,i.substr(t));e<-nMn.length;e+=nMn.length)CO(r,nMn);u=nMn,o=LU(-e),r.a+=Je(u,0,o)}return r.a}(Im(t,240));case 15:case 14:return null==t?null:(i=gy(Ss(t)))==nlr?"INF":i==nlc?"-INF":""+i;case 17:return nnG((noQ(),t));case 18:return nnG(t);case 21:case 20:return null==t?null:(r=Im(t,155).a)==nlr?"INF":r==nlc?"-INF":""+r;case 27:return null==(c=Im(t,190))?null:function(n){var t,e,i,r;if(nc7(),null==n)return null;for(e=0,t=_f(nYA,nfM,25,2*(i=n.length),15,1);e>4],t[2*e+1]=nYe[15&r];return Je(t,0,t.length)}(c);case 30:return Ze((noQ(),Im(t,15)));case 31:return Ze(Im(t,15));case 40:case 59:case 48:return null==(noQ(),t)?null:V7(t);case 42:return nnz((noQ(),t));case 43:return nnz(t);default:throw new gd(nyh+n.ne()+nyf).e}},nTv.Jh=function(n){var t;switch(-1==n.G&&(n.G=(t=BU(n))?Yl(t.Mh(),n):-1),n.G){case 0:return new dA;case 1:return new oh;case 2:return new dN;case 3:return new d$;default:throw new gd(nyw+n.zb+nyf).e}},nTv.Kh=function(n,t){var e,i,r,c,a,u,o,s,h,f,l,b,w,d,g,p,v,m;switch(n.yj()){case 5:case 52:case 4:return t;case 6:return function(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u,o,s,h,f,l,b,w,d,g;if(nuD(),null==n||(w=function(n){var t,e,i;for(t=0,i=0,e=n.length;t>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24}return p3(a=c[h++])&&p3(u=c[h++])?(t=nJ7[a],e=nJ7[u],o=c[h++],s=c[h++],-1==nJ7[o]||-1==nJ7[s])?61==o&&61==s?(15&e)!=0?null:(now(f,0,g=_f(nYD,nyb,25,3*b+1,15,1),0,3*b),g[l]=(t<<2|e>>4)<<24>>24,g):61==o||61!=s?null:(3&(i=nJ7[o]))!=0?null:(now(f,0,g=_f(nYD,nyb,25,3*b+2,15,1),0,3*b),g[l++]=(t<<2|e>>4)<<24>>24,g[l]=((15&e)<<4|i>>2&15)<<24>>24,g):(i=nJ7[o],r=nJ7[s],f[l++]=(t<<2|e>>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24,f):null}(noe(n,!0))))throw new gP("Invalid base64Binary value: '"+n+"'").e;return t}(t);case 8:case 7:return null==t?null:function(n){if(Pv(nmf,n=noe(n,!0))||Pv("1",n))return TX(),nTV;if(Pv(nml,n)||Pv("0",n))return TX(),nTW;throw new gP("Invalid boolean value: '"+n+"'").e}(t);case 9:return null==t?null:H4(nue((i=noe(t,!0)).length>0&&(D5(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==t?null:H4(nue((r=noe(t,!0)).length>0&&(D5(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return Sh(ns4(this,(noQ(),nJF),t));case 12:return Sh(ns4(this,(noQ(),nJ_),t));case 13:return null==t?null:new pP(noe(t,!0));case 15:case 14:return function(n){var t,e,i;if(null==n)return null;if(Pv((i=noe(n,!0)).substr(i.length-3,3),"INF")){if(4==(e=i.length)){if(D5(0,i.length),43==(t=i.charCodeAt(0)))return nJ6;if(45==t)return nJ5}else if(3==e)return nJ6}return nt1(i)}(t);case 16:return Sh(ns4(this,(noQ(),nJH),t));case 17:return Ji((noQ(),t));case 18:return Ji(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return noe(t,!0);case 21:case 20:return function(n){var t,e,i;if(null==n)return null;if(Pv((i=noe(n,!0)).substr(i.length-3,3),"INF")){if(4==(e=i.length)){if(D5(0,i.length),43==(t=i.charCodeAt(0)))return nJ9;if(45==t)return nJ8}else if(3==e)return nJ9}return new wF(i)}(t);case 22:return Sh(ns4(this,(noQ(),nJB),t));case 23:return Sh(ns4(this,(noQ(),nJq),t));case 24:return Sh(ns4(this,(noQ(),nJG),t));case 25:return Sh(ns4(this,(noQ(),nJz),t));case 26:return Sh(ns4(this,(noQ(),nJU),t));case 27:return function(n){var t;if(null==n)return null;if(null==(t=function(n){var t,e,i,r,c,a,u;if(nc7(),null==n||(r=n.length)%2!=0)return null;for(i=0,t=HR(n),e=_f(nYD,nyb,25,c=r/2|0,15,1);i>24}return e}(noe(n,!0))))throw new gP("Invalid hexBinary value: '"+n+"'").e;return t}(t);case 30:return Jr((noQ(),t));case 31:return Jr(t);case 32:return null==t?null:Va(nue((h=noe(t,!0)).length>0&&(D5(0,h.length),43==h.charCodeAt(0))?h.substr(1):h,nfg,nhT));case 33:return null==t?null:new Ep((f=noe(t,!0)).length>0&&(D5(0,f.length),43==f.charCodeAt(0))?f.substr(1):f);case 34:return null==t?null:Va(nue((l=noe(t,!0)).length>0&&(D5(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,nfg,nhT));case 36:return null==t?null:Jy(nsC((b=noe(t,!0)).length>0&&(D5(0,b.length),43==b.charCodeAt(0))?b.substr(1):b));case 37:return null==t?null:Jy(nsC((w=noe(t,!0)).length>0&&(D5(0,w.length),43==w.charCodeAt(0))?w.substr(1):w));case 40:return null==(noQ(),t)?null:new Ep((v=noe(t,!0)).length>0&&(D5(0,v.length),43==v.charCodeAt(0))?v.substr(1):v);case 42:return Jc((noQ(),t));case 43:return Jc(t);case 44:return null==t?null:new Ep((d=noe(t,!0)).length>0&&(D5(0,d.length),43==d.charCodeAt(0))?d.substr(1):d);case 45:return null==t?null:new Ep((g=noe(t,!0)).length>0&&(D5(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 46:return noe(t,!1);case 47:return Sh(ns4(this,(noQ(),nJX),t));case 59:case 48:return null==(noQ(),t)?null:new Ep((m=noe(t,!0)).length>0&&(D5(0,m.length),43==m.charCodeAt(0))?m.substr(1):m);case 49:return Sh(ns4(this,(noQ(),nJV),t));case 50:return null==t?null:Vu(nue((p=noe(t,!0)).length>0&&(D5(0,p.length),43==p.charCodeAt(0))?p.substr(1):p,-32768,32767)<<16>>16);case 51:return null==t?null:Vu(nue((c=noe(t,!0)).length>0&&(D5(0,c.length),43==c.charCodeAt(0))?c.substr(1):c,-32768,32767)<<16>>16);case 53:return Sh(ns4(this,(noQ(),nJY),t));case 55:return null==t?null:Vu(nue((a=noe(t,!0)).length>0&&(D5(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,-32768,32767)<<16>>16);case 56:return null==t?null:Vu(nue((u=noe(t,!0)).length>0&&(D5(0,u.length),43==u.charCodeAt(0))?u.substr(1):u,-32768,32767)<<16>>16);case 57:return null==t?null:Jy(nsC((o=noe(t,!0)).length>0&&(D5(0,o.length),43==o.charCodeAt(0))?o.substr(1):o));case 58:return null==t?null:Jy(nsC((s=noe(t,!0)).length>0&&(D5(0,s.length),43==s.charCodeAt(0))?s.substr(1):s));case 60:return null==t?null:Va(nue((e=noe(t,!0)).length>0&&(D5(0,e.length),43==e.charCodeAt(0))?e.substr(1):e,nfg,nhT));case 61:return null==t?null:Va(nue(noe(t,!0),nfg,nhT));default:throw new gd(nyh+n.ne()+nyf).e}},AY(nj6,"XMLTypeFactoryImpl",1919),nrr(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},$W),nTv.N=!1,nTv.O=!1;var nJd=!1;AY(nj6,"XMLTypePackageImpl",586),nrr(1852,1,{837:1},of),nTv._j=function(){return nuP(),nhp},AY(nj6,"XMLTypePackageImpl/1",1852),nrr(1861,1,njD,ol),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/10",1861),nrr(1862,1,njD,ob),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/11",1862),nrr(1863,1,njD,ow),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/12",1863),nrr(1864,1,njD,od),nTv.wj=function(n){return jb(n)},nTv.xj=function(n){return _f(nTi,nhQ,333,n,7,1)},AY(nj6,"XMLTypePackageImpl/13",1864),nrr(1865,1,njD,og),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/14",1865),nrr(1866,1,njD,op),nTv.wj=function(n){return Ti(n,15)},nTv.xj=function(n){return _f(nEY,nwt,15,n,0,1)},AY(nj6,"XMLTypePackageImpl/15",1866),nrr(1867,1,njD,ov),nTv.wj=function(n){return Ti(n,15)},nTv.xj=function(n){return _f(nEY,nwt,15,n,0,1)},AY(nj6,"XMLTypePackageImpl/16",1867),nrr(1868,1,njD,om),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/17",1868),nrr(1869,1,njD,oy),nTv.wj=function(n){return Ti(n,155)},nTv.xj=function(n){return _f(nTr,nhQ,155,n,0,1)},AY(nj6,"XMLTypePackageImpl/18",1869),nrr(1870,1,njD,ok),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/19",1870),nrr(1853,1,njD,oj),nTv.wj=function(n){return Ti(n,843)},nTv.xj=function(n){return _f(nJf,nhO,843,n,0,1)},AY(nj6,"XMLTypePackageImpl/2",1853),nrr(1871,1,njD,oE),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/20",1871),nrr(1872,1,njD,oT),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/21",1872),nrr(1873,1,njD,oM),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/22",1873),nrr(1874,1,njD,oS),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/23",1874),nrr(1875,1,njD,oP),nTv.wj=function(n){return Ti(n,190)},nTv.xj=function(n){return _f(nYD,nhQ,190,n,0,2)},AY(nj6,"XMLTypePackageImpl/24",1875),nrr(1876,1,njD,oI),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/25",1876),nrr(1877,1,njD,oC),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/26",1877),nrr(1878,1,njD,oO),nTv.wj=function(n){return Ti(n,15)},nTv.xj=function(n){return _f(nEY,nwt,15,n,0,1)},AY(nj6,"XMLTypePackageImpl/27",1878),nrr(1879,1,njD,oA),nTv.wj=function(n){return Ti(n,15)},nTv.xj=function(n){return _f(nEY,nwt,15,n,0,1)},AY(nj6,"XMLTypePackageImpl/28",1879),nrr(1880,1,njD,o$),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/29",1880),nrr(1854,1,njD,oN),nTv.wj=function(n){return Ti(n,667)},nTv.xj=function(n){return _f(nJl,nhO,2021,n,0,1)},AY(nj6,"XMLTypePackageImpl/3",1854),nrr(1881,1,njD,oL),nTv.wj=function(n){return Ti(n,19)},nTv.xj=function(n){return _f(nTc,nhQ,19,n,0,1)},AY(nj6,"XMLTypePackageImpl/30",1881),nrr(1882,1,njD,oD),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/31",1882),nrr(1883,1,njD,ox),nTv.wj=function(n){return Ti(n,162)},nTv.xj=function(n){return _f(nTa,nhQ,162,n,0,1)},AY(nj6,"XMLTypePackageImpl/32",1883),nrr(1884,1,njD,oR),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/33",1884),nrr(1885,1,njD,oK),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/34",1885),nrr(1886,1,njD,oF),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/35",1886),nrr(1887,1,njD,o_),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/36",1887),nrr(1888,1,njD,oH),nTv.wj=function(n){return Ti(n,15)},nTv.xj=function(n){return _f(nEY,nwt,15,n,0,1)},AY(nj6,"XMLTypePackageImpl/37",1888),nrr(1889,1,njD,oB),nTv.wj=function(n){return Ti(n,15)},nTv.xj=function(n){return _f(nEY,nwt,15,n,0,1)},AY(nj6,"XMLTypePackageImpl/38",1889),nrr(1890,1,njD,oq),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/39",1890),nrr(1855,1,njD,oG),nTv.wj=function(n){return Ti(n,668)},nTv.xj=function(n){return _f(nJb,nhO,2022,n,0,1)},AY(nj6,"XMLTypePackageImpl/4",1855),nrr(1891,1,njD,oz),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/40",1891),nrr(1892,1,njD,oU),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/41",1892),nrr(1893,1,njD,oX),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/42",1893),nrr(1894,1,njD,oW),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/43",1894),nrr(1895,1,njD,oV),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/44",1895),nrr(1896,1,njD,oQ),nTv.wj=function(n){return Ti(n,184)},nTv.xj=function(n){return _f(nTu,nhQ,184,n,0,1)},AY(nj6,"XMLTypePackageImpl/45",1896),nrr(1897,1,njD,oJ),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/46",1897),nrr(1898,1,njD,oY),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/47",1898),nrr(1899,1,njD,oZ),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/48",1899),nrr(nf_,1,njD,o1),nTv.wj=function(n){return Ti(n,184)},nTv.xj=function(n){return _f(nTu,nhQ,184,n,0,1)},AY(nj6,"XMLTypePackageImpl/49",nf_),nrr(1856,1,njD,o0),nTv.wj=function(n){return Ti(n,669)},nTv.xj=function(n){return _f(nJw,nhO,2023,n,0,1)},AY(nj6,"XMLTypePackageImpl/5",1856),nrr(1901,1,njD,o2),nTv.wj=function(n){return Ti(n,162)},nTv.xj=function(n){return _f(nTa,nhQ,162,n,0,1)},AY(nj6,"XMLTypePackageImpl/50",1901),nrr(1902,1,njD,o3),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/51",1902),nrr(1903,1,njD,o4),nTv.wj=function(n){return Ti(n,19)},nTv.xj=function(n){return _f(nTc,nhQ,19,n,0,1)},AY(nj6,"XMLTypePackageImpl/52",1903),nrr(1857,1,njD,o5),nTv.wj=function(n){return jw(n)},nTv.xj=function(n){return _f(nTs,nhQ,2,n,6,1)},AY(nj6,"XMLTypePackageImpl/6",1857),nrr(1858,1,njD,o6),nTv.wj=function(n){return Ti(n,190)},nTv.xj=function(n){return _f(nYD,nhQ,190,n,0,2)},AY(nj6,"XMLTypePackageImpl/7",1858),nrr(1859,1,njD,o8),nTv.wj=function(n){return jl(n)},nTv.xj=function(n){return _f(nTn,nhQ,476,n,8,1)},AY(nj6,"XMLTypePackageImpl/8",1859),nrr(1860,1,njD,o9),nTv.wj=function(n){return Ti(n,217)},nTv.xj=function(n){return _f(nTt,nhQ,217,n,0,1)},AY(nj6,"XMLTypePackageImpl/9",1860),nrr(50,60,nfv,gO),AY(nEk,"RegEx/ParseException",50),nrr(820,1,{},o7),nTv.sl=function(n){return n16*e)throw new gO(nhd((E$(),nkS))).e;e=16*e+r}if(125!=this.a)throw new gO(nhd((E$(),nkP))).e;if(e>nEj)throw new gO(nhd((E$(),nkI))).e;n=e}else{if(r=0,0!=this.c||(r=YB(this.a))<0||(e=r,nhe(this),0!=this.c||(r=YB(this.a))<0))throw new gO(nhd((E$(),nkM))).e;n=e=16*e+r}break;case 117:if(i=0,nhe(this),0!=this.c||(i=YB(this.a))<0||(t=i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0))throw new gO(nhd((E$(),nkM))).e;n=t=16*t+i;break;case 118:if(nhe(this),0!=this.c||(i=YB(this.a))<0||(t=i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0)||(t=16*t+i,nhe(this),0!=this.c||(i=YB(this.a))<0))throw new gO(nhd((E$(),nkM))).e;if((t=16*t+i)>nEj)throw new gO(nhd((E$(),"parser.descappe.4"))).e;n=t;break;case 65:case 90:case 122:throw new gO(nhd((E$(),nkC))).e}return n},nTv.ul=function(n){var t;switch(n){case 100:t=(32&this.e)==32?nsX("Nd",!0):(nhh(),nYs);break;case 68:t=(32&this.e)==32?nsX("Nd",!1):(nhh(),nYw);break;case 119:t=(32&this.e)==32?nsX("IsWord",!0):(nhh(),nYE);break;case 87:t=(32&this.e)==32?nsX("IsWord",!1):(nhh(),nYg);break;case 115:t=(32&this.e)==32?nsX("IsSpace",!0):(nhh(),nYv);break;case 83:t=(32&this.e)==32?nsX("IsSpace",!1):(nhh(),nYd);break;default:throw new d7(nEE+n.toString(16)).e}return t},nTv.vl=function(n){var t,e,i,r,c,a,u,o,s,h,f;for(this.b=1,nhe(this),t=null,0==this.c&&94==this.a?(nhe(this),n?(nhh(),nhh(),++nYC,s=new xv(5)):(nhh(),nhh(),++nYC,ncz(t=new xv(4),0,nEj),++nYC,s=new xv(4))):(nhh(),nhh(),++nYC,s=new xv(4)),r=!0;1!=(f=this.c)&&(0!=f||93!=this.a||r);){if(r=!1,e=this.a,i=!1,10==f)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:nog(s,this.ul(e)),i=!0;break;case 105:case 73:case 99:case 67:(e=this.Ll(s,e))<0&&(i=!0);break;case 112:case 80:if(!(h=niy(this,e)))throw new gO(nhd((E$(),nkw))).e;nog(s,h),i=!0;break;default:e=this.tl()}else if(20==f){if((c=MM(this.i,58,this.d))<0)throw new gO(nhd((E$(),nkd))).e;if(a=!0,94==$9(this.i,this.d)&&(++this.d,a=!1),!(u=_C(MT(this.i,this.d,c),a,(512&this.e)==512)))throw new gO(nhd((E$(),nkp))).e;if(nog(s,u),i=!0,c+1>=this.j||93!=$9(this.i,c+1))throw new gO(nhd((E$(),nkd))).e;this.d=c+2}if(nhe(this),!i){if(0!=this.c||45!=this.a)ncz(s,e,e);else{if(nhe(this),1==(f=this.c))throw new gO(nhd((E$(),nkg))).e;0==f&&93==this.a?(ncz(s,e,e),ncz(s,45,45)):(o=this.a,10==f&&(o=this.tl()),nhe(this),ncz(s,e,o))}}(this.e&nyg)==nyg&&0==this.c&&44==this.a&&nhe(this)}if(1==this.c)throw new gO(nhd((E$(),nkg))).e;return t&&(nsf(t,s),s=t),nr$(s),noA(s),this.b=0,nhe(this),s},nTv.wl=function(){var n,t,e,i;for(e=this.vl(!1);7!=(i=this.c);)if(n=this.a,0==i&&(45==n||38==n)||4==i){if(nhe(this),9!=this.c)throw new gO(nhd((E$(),nkj))).e;if(t=this.vl(!1),4==i)nog(e,t);else if(45==n)nsf(e,t);else if(38==n)nst(e,t);else throw new d7("ASSERT").e}else throw new gO(nhd((E$(),nkE))).e;return nhe(this),e},nTv.xl=function(){var n,t,e,i;return n=this.a-48,nhh(),nhh(),++nYC,t=new LF(12,null,n),this.g||(this.g=new wB),e=this.g,i=new b6(n),IE(e.a,i),nhe(this),t},nTv.yl=function(){return nhe(this),nhh(),nYm},nTv.zl=function(){return nhe(this),nhh(),nYp},nTv.Al=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Bl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Cl=function(){var n,t;return nhe(this),(nhh(),nYP)?nYP:(t=nsX("M",!0),++nYC,n=new R0(3,t),nYP=n=C1(nsX("M",!1),n))},nTv.Dl=function(){return nhe(this),nhh(),nYk},nTv.El=function(){return nhe(this),nhh(),nYT},nTv.Fl=function(){var n;if(this.d>=this.j||(65504&(n=$9(this.i,this.d++)))!=64)throw new gO(nhd((E$(),nkh))).e;return nhe(this),nhh(),nhh(),++nYC,new CU(0,n-64)},nTv.Gl=function(){return nhe(this),function(){var n,t,e,i,r,c;if(nhh(),nYI)return nYI;for(++nYC,nog(n=new xv(4),nsX(nE$,!0)),nsf(n,nsX("M",!0)),nsf(n,nsX("C",!0)),++nYC,c=new xv(4),i=0;i<11;i++)ncz(c,i,i);return++nYC,nog(t=new xv(4),nsX("M",!0)),ncz(t,4448,4607),ncz(t,65438,65439),++nYC,noD(r=new EO(2),n),noD(r,nYf),++nYC,(e=new EO(2)).$l(C1(c,nsX("L",!0))),e.$l(t),++nYC,e=new R0(3,e),++nYC,nYI=e=new AN(r,e)}()},nTv.Hl=function(){return nhe(this),nhh(),nYM},nTv.Il=function(){var n;return nhh(),nhh(),++nYC,n=new CU(0,105),nhe(this),n},nTv.Jl=function(){return nhe(this),nhh(),nYj},nTv.Kl=function(){return nhe(this),nhh(),nYy},nTv.Ll=function(n,t){return this.tl()},nTv.Ml=function(){return nhe(this),nhh(),nYl},nTv.Nl=function(){var n,t,e,i,r,c,a;if(this.d+1>=this.j)throw new gO(nhd((E$(),nku))).e;if(i=-1,t=null,49<=(n=$9(this.i,this.d))&&n<=57){if(i=n-48,this.g||(this.g=new wB),c=this.g,a=new b6(i),IE(c.a,a),++this.d,41!=$9(this.i,this.d))throw new gO(nhd((E$(),nkr))).e;++this.d}else switch(63==n&&--this.d,nhe(this),(t=ns1(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw new gO(nhd((E$(),nkr))).e;break;default:throw new gO(nhd((E$(),nko))).e}if(nhe(this),r=Ju(this),e=null,2==r.e){if(2!=r.em())throw new gO(nhd((E$(),nks))).e;e=r.am(1),r=r.am(0)}if(7!=this.c)throw new gO(nhd((E$(),nkr))).e;return nhe(this),nhh(),nhh(),++nYC,new H0(i,t,r,e)},nTv.Ol=function(){return nhe(this),nhh(),nYb},nTv.Pl=function(){var n;if(nhe(this),n=Ac(24,Ju(this)),7!=this.c)throw new gO(nhd((E$(),nkr))).e;return nhe(this),n},nTv.Ql=function(){var n;if(nhe(this),n=Ac(20,Ju(this)),7!=this.c)throw new gO(nhd((E$(),nkr))).e;return nhe(this),n},nTv.Rl=function(){var n;if(nhe(this),n=Ac(22,Ju(this)),7!=this.c)throw new gO(nhd((E$(),nkr))).e;return nhe(this),n},nTv.Sl=function(){var n,t,e,i,r;for(n=0,e=0,t=-1;this.d=this.j)throw new gO(nhd((E$(),nkc))).e;if(45==t){for(++this.d;this.d=this.j)throw new gO(nhd((E$(),nkc))).e}if(58==t){if(++this.d,nhe(this),i=$n(Ju(this),n,e),7!=this.c)throw new gO(nhd((E$(),nkr))).e;nhe(this)}else if(41==t)++this.d,nhe(this),i=$n(Ju(this),n,e);else throw new gO(nhd((E$(),nka))).e;return i},nTv.Tl=function(){var n;if(nhe(this),n=Ac(21,Ju(this)),7!=this.c)throw new gO(nhd((E$(),nkr))).e;return nhe(this),n},nTv.Ul=function(){var n;if(nhe(this),n=Ac(23,Ju(this)),7!=this.c)throw new gO(nhd((E$(),nkr))).e;return nhe(this),n},nTv.Vl=function(){var n,t;if(nhe(this),n=this.f++,t=Aa(Ju(this),n),7!=this.c)throw new gO(nhd((E$(),nkr))).e;return nhe(this),t},nTv.Wl=function(){var n;if(nhe(this),n=Aa(Ju(this),0),7!=this.c)throw new gO(nhd((E$(),nkr))).e;return nhe(this),n},nTv.Xl=function(n){return(nhe(this),5==this.c)?(nhe(this),C1(n,(nhh(),nhh(),++nYC,new R0(9,n)))):C1(n,(nhh(),nhh(),++nYC,new R0(3,n)))},nTv.Yl=function(n){var t;return nhe(this),nhh(),nhh(),++nYC,t=new EO(2),5==this.c?(nhe(this),noD(t,nYf),noD(t,n)):(noD(t,n),noD(t,nYf)),t},nTv.Zl=function(n){return(nhe(this),5==this.c)?(nhe(this),nhh(),nhh(),++nYC,new R0(9,n)):(nhh(),nhh(),++nYC,new R0(3,n))},nTv.a=0,nTv.b=0,nTv.c=0,nTv.d=0,nTv.e=0,nTv.f=1,nTv.g=null,nTv.j=0,AY(nEk,"RegEx/RegexParser",820),nrr(1824,820,{},dL),nTv.sl=function(n){return!1},nTv.tl=function(){return nae(this)},nTv.ul=function(n){return nui(n)},nTv.vl=function(n){return function n(t){var e,i,r,c,a,u,o,s;for(t.b=1,nhe(t),e=null,0==t.c&&94==t.a?(nhe(t),nhh(),nhh(),++nYC,ncz(e=new xv(4),0,nEj)):(nhh(),nhh()),++nYC,u=new xv(4),c=!0;1!=(s=t.c);){if(0==s&&93==t.a&&!c){e&&(nsf(e,u),u=e);break}if(i=t.a,r=!1,10==s)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:nog(u,nui(i)),r=!0;break;case 105:case 73:case 99:case 67:nog(u,nui(i)),(i=-1)<0&&(r=!0);break;case 112:case 80:if(!(o=niy(t,i)))throw new gO(nhd((E$(),nkw))).e;nog(u,o),r=!0;break;default:i=nae(t)}else if(24==s&&!c){if(e&&(nsf(e,u),u=e),nsf(u,n(t)),0!=t.c||93!=t.a)throw new gO(nhd((E$(),nkv))).e;break}if(nhe(t),!r){if(0==s){if(91==i)throw new gO(nhd((E$(),nkm))).e;if(93==i)throw new gO(nhd((E$(),nky))).e;if(45==i&&!c&&93!=t.a)throw new gO(nhd((E$(),nkk))).e}if(0!=t.c||45!=t.a||45==i&&c)ncz(u,i,i);else{if(nhe(t),1==(s=t.c))throw new gO(nhd((E$(),nkg))).e;if(0==s&&93==t.a)ncz(u,i,i),ncz(u,45,45);else if(0==s&&93==t.a||24==s)throw new gO(nhd((E$(),nkk))).e;else{if(a=t.a,0==s){if(91==a)throw new gO(nhd((E$(),nkm))).e;if(93==a)throw new gO(nhd((E$(),nky))).e;if(45==a)throw new gO(nhd((E$(),nkk))).e}else 10==s&&(a=nae(t));if(nhe(t),i>a)throw new gO(nhd((E$(),nkT))).e;ncz(u,i,a)}}}c=!1}if(1==t.c)throw new gO(nhd((E$(),nkg))).e;return nr$(u),noA(u),t.b=0,nhe(t),u}(this)},nTv.wl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.xl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.yl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.zl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Al=function(){return nhe(this),nui(67)},nTv.Bl=function(){return nhe(this),nui(73)},nTv.Cl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Dl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.El=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Fl=function(){return nhe(this),nui(99)},nTv.Gl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Hl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Il=function(){return nhe(this),nui(105)},nTv.Jl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Kl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Ll=function(n,t){return nog(n,nui(t)),-1},nTv.Ml=function(){return nhe(this),nhh(),nhh(),++nYC,new CU(0,94)},nTv.Nl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Ol=function(){return nhe(this),nhh(),nhh(),++nYC,new CU(0,36)},nTv.Pl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Ql=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Rl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Sl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Tl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Ul=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Vl=function(){var n;if(nhe(this),n=Aa(Ju(this),0),7!=this.c)throw new gO(nhd((E$(),nkr))).e;return nhe(this),n},nTv.Wl=function(){throw new gO(nhd((E$(),nkO))).e},nTv.Xl=function(n){return nhe(this),C1(n,(nhh(),nhh(),++nYC,new R0(3,n)))},nTv.Yl=function(n){var t;return nhe(this),nhh(),nhh(),++nYC,noD(t=new EO(2),n),noD(t,nYf),t},nTv.Zl=function(n){return nhe(this),nhh(),nhh(),++nYC,new R0(3,n)};var nJg=null,nJp=null;AY(nEk,"RegEx/ParserForXMLSchema",1824),nrr(117,1,nED,b8),nTv.$l=function(n){throw new d7("Not supported.").e},nTv._l=function(){return -1},nTv.am=function(n){return null},nTv.bm=function(){return null},nTv.cm=function(n){},nTv.dm=function(n){},nTv.em=function(){return 0},nTv.Ib=function(){return this.fm(0)},nTv.fm=function(n){return 11==this.e?".":""},nTv.e=0;var nJv,nJm,nJy,nJk,nJj,nJE,nJT,nJM,nJS,nJP,nJI,nJC,nJO,nJA,nJ$,nJN,nJL,nJD,nJx,nJR,nJK,nJF,nJ_,nJH,nJB,nJq,nJG,nJz,nJU,nJX,nJW,nJV,nJQ,nJJ,nJY,nJZ,nJ1,nJ0,nJ2,nJ3,nJ4,nJ5,nJ6,nJ8,nJ9,nJ7,nYn,nYt,nYe,nYi,nYr,nYc,nYa,nYu,nYo,nYs,nYh,nYf,nYl,nYb,nYw,nYd,nYg,nYp,nYv,nYm,nYy,nYk,nYj,nYE,nYT,nYM,nYS=null,nYP=null,nYI=null,nYC=0,nYO=AY(nEk,"RegEx/Token",117);nrr(136,117,{3:1,136:1,117:1},xv),nTv.fm=function(n){var t,e,i;if(4==this.e){if(this==nYh)e=".";else if(this==nYs)e="\\d";else if(this==nYE)e="\\w";else if(this==nYv)e="\\s";else{for(i=new gz,i.a+="[",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?jT(i,nuY(this.b[t])):(jT(i,nuY(this.b[t])),i.a+="-",jT(i,nuY(this.b[t+1])));i.a+="]",e=i.a}}else if(this==nYw)e="\\D";else if(this==nYg)e="\\W";else if(this==nYd)e="\\S";else{for(i=new gz,i.a+="[^",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?jT(i,nuY(this.b[t])):(jT(i,nuY(this.b[t])),i.a+="-",jT(i,nuY(this.b[t+1])));i.a+="]",e=i.a}return e},nTv.a=!1,nTv.c=!1,AY(nEk,"RegEx/RangeToken",136),nrr(584,1,{584:1},b6),nTv.a=0,AY(nEk,"RegEx/RegexParser/ReferencePosition",584),nrr(583,1,{3:1,583:1},p0),nTv.Fb=function(n){var t;return!!(null!=n&&Ti(n,583))&&(t=Im(n,583),Pv(this.b,t.b)&&this.a==t.a)},nTv.Hb=function(){return Yj(this.b+"/"+ncE(this.a))},nTv.Ib=function(){return this.c.fm(this.a)},nTv.a=0,AY(nEk,"RegEx/RegularExpression",583),nrr(223,117,nED,CU),nTv._l=function(){return this.a},nTv.fm=function(n){var t,e;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:e="\\"+SU(this.a&nfP);break;case 12:e="\\f";break;case 10:e="\\n";break;case 13:e="\\r";break;case 9:e="\\t";break;case 27:e="\\e";break;default:e=this.a>=nlo?"\\v"+MT(t="0"+(this.a>>>0).toString(16),t.length-6,t.length):""+SU(this.a&nfP)}break;case 8:e=this==nYl||this==nYb?""+SU(this.a&nfP):"\\"+SU(this.a&nfP);break;default:e=null}return e},nTv.a=0,AY(nEk,"RegEx/Token/CharToken",223),nrr(309,117,nED,R0),nTv.am=function(n){return this.a},nTv.cm=function(n){this.b=n},nTv.dm=function(n){this.c=n},nTv.em=function(){return 1},nTv.fm=function(n){var t;if(3==this.e){if(this.c<0&&this.b<0)t=this.a.fm(n)+"*";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.fm(n)+"{"+this.c+",}";else throw new d7("Token#toString(): CLOSURE "+this.c+nhI+this.b).e}else if(this.c<0&&this.b<0)t=this.a.fm(n)+"*?";else if(this.c==this.b)t=this.a.fm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.fm(n)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.fm(n)+"{"+this.c+",}?";else throw new d7("Token#toString(): NONGREEDYCLOSURE "+this.c+nhI+this.b).e;return t},nTv.b=0,nTv.c=0,AY(nEk,"RegEx/Token/ClosureToken",309),nrr(821,117,nED,AN),nTv.am=function(n){return 0==n?this.a:this.b},nTv.em=function(){return 2},nTv.fm=function(n){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(n)+"+?":this.a.fm(n)+""+this.b.fm(n)},AY(nEk,"RegEx/Token/ConcatToken",821),nrr(1822,117,nED,H0),nTv.am=function(n){if(0==n)return this.d;if(1==n)return this.b;throw new d7("Internal Error: "+n).e},nTv.em=function(){return this.b?2:1},nTv.fm=function(n){var t;return t=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},nTv.c=0,AY(nEk,"RegEx/Token/ConditionToken",1822),nrr(1823,117,nED,xp),nTv.am=function(n){return this.b},nTv.em=function(){return 1},nTv.fm=function(n){return"(?"+(0==this.a?"":ncE(this.a))+(0==this.c?"":ncE(this.c))+":"+this.b.fm(n)+")"},nTv.a=0,nTv.c=0,AY(nEk,"RegEx/Token/ModifierToken",1823),nrr(822,117,nED,$j),nTv.am=function(n){return this.a},nTv.em=function(){return 1},nTv.fm=function(n){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.fm(n)+")":"("+this.a.fm(n)+")";break;case 20:t="(?="+this.a.fm(n)+")";break;case 21:t="(?!"+this.a.fm(n)+")";break;case 22:t="(?<="+this.a.fm(n)+")";break;case 23:t="(?"+this.a.fm(n)+")"}return t},nTv.b=0,AY(nEk,"RegEx/Token/ParenToken",822),nrr(521,117,{3:1,117:1,521:1},LF),nTv.bm=function(){return this.b},nTv.fm=function(n){return 12==this.e?"\\"+this.a:function(n){var t,e,i,r;for(i=0,r=n.length,t=null;i=0?(!t&&(t=new gU,i>0&&jT(t,n.substr(0,i))),t.a+="\\",$i(t,e&nfP)):t&&$i(t,e&nfP);return t?t.a:n}(this.b)},nTv.a=0,AY(nEk,"RegEx/Token/StringToken",521),nrr(465,117,nED,EO),nTv.$l=function(n){noD(this,n)},nTv.am=function(n){return Im($O(this.a,n),117)},nTv.em=function(){return this.a?this.a.a.c.length:0},nTv.fm=function(n){var t,e,i,r,c;if(1==this.e){if(2==this.a.a.c.length)t=Im($O(this.a,0),117),r=3==(e=Im($O(this.a,1),117)).e&&e.am(0)==t?t.fm(n)+"+":9==e.e&&e.am(0)==t?t.fm(n)+"+?":t.fm(n)+""+e.fm(n);else{for(i=0,c=new gz;i=n.c.b:n.a<=n.c.b))throw(new wO).e;return t=n.a,n.a+=n.c.c,++n.b,Va(t)}(this)},nTv.Ub=function(){return function(n){if(n.b<=0)throw(new wO).e;return--n.b,n.a-=n.c.c,Va(n.a)}(this)},nTv.Wb=function(n){Im(n,19),function(){throw new gM(nE_).e}()},nTv.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},nTv.Sb=function(){return this.b>0},nTv.Tb=function(){return this.b},nTv.Vb=function(){return this.b-1},nTv.Qb=function(){throw new gM(nEH).e},nTv.a=0,nTv.b=0,AY(nEK,"ExclusiveRange/RangeIterator",254);var nYA=$B(njt,"C"),nY$=$B(njr,"I"),nYN=$B(nhy,"Z"),nYL=$B(njc,"J"),nYD=$B(njn,"B"),nYx=$B(nje,"D"),nYR=$B(nji,"F"),nYK=$B(nja,"S"),nYF=Cw("org.eclipse.elk.core.labels","ILabelManager"),nY_=Cw(nyx,"DiagnosticChain"),nYH=Cw(njR,"ResourceSet"),nYB=AY(nyx,"InvocationTargetException",null),nYq=(g0(),function(n){return g0(),function(){return function(n,t,e){var i,r;0!=nE6&&(r=Date.now?Date.now():(new Date).getTime())-nE8>2e3&&(nE8=r,nE9=nTp.setTimeout(p4,10)),i=0==nE6++&&(function(n){var t,e;if(n.a){e=null;do t=n.a,n.a=null,e=neb(t,e);while(n.a);n.a=e}}((gN(),nTD)),!0);try{return n.apply(t,e)}finally{(function(n){if(n&&function(n){var t,e;if(n.b){e=null;do t=n.b,n.b=null,e=neb(t,e);while(n.b);n.b=e}}((gN(),nTD)),--nE6,n&&-1!=nE9){var t;t=nE9,nTp.clearTimeout(t),nE9=-1}})(i)}}(n,this,arguments)}}),nYG=nYG=function(n,t,e,i){p5();var r=nTy;function c(){for(var n=0;n0&&u.b>0;)if(MK(a.b>0),e=Im(a.a.Xb(a.c=--a.b),33),MK(u.b>0),e==Im(u.a.Xb(u.c=--u.b),33))c=e;else break;return c}(t,e)))return null}return t}(a))}((i=new kq(t,a)).a,i.b,r),c=Ra(e,nyS),function(t,e){var i,r,c;if(e)for(c=((i=new OP(e.a.length)).b-i.a)*i.c<0?(my(),nhv):new TA(i);c.Ob();)(r=Ru(e,Im(c.Pb(),19).a))&&n(t,r)}(new bh(t).a,c)}(u,a),i&&(o=function(n){var t,e,i,r,c,a,u,o,s;for(o=c=new xO,UM(),s=nzd,IE(o.c,s),r=GI(n,_f(nTs,nhQ,2,0,6,1)),i=new h$(new gE(new vy(n,r).b));i.b0&&void 0!==arguments[0]?arguments[0]:{};!function(n,t){if(!(n instanceof t))throw TypeError("Cannot call a class as a function")}(this,e);var i=Object.assign({},t),r=!1;try{n.resolve("web-worker"),r=!0}catch(n){}if(t.workerUrl){if(r){var c=n("web-worker");i.workerFactory=function(n){return new c(n)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.")}if(!i.workerFactory){var a=n("./elk-worker.min.js").Worker;i.workerFactory=function(n){return new a(n)}}return function(n,t){if(!n)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:n}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i))}return function(n,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(e,t),e}(n("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=i,i.default=i},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(n,t,e){t.exports=Worker},{}]},{},[3])(3)}}]); \ No newline at end of file diff --git a/_next/static/chunks/513-aa5d85e05f9d4121.js b/_next/static/chunks/513-aa5d85e05f9d4121.js new file mode 100644 index 0000000..d1c2046 --- /dev/null +++ b/_next/static/chunks/513-aa5d85e05f9d4121.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[513],{82972:function(t,e,r){t.exports={default:r(15680),__esModule:!0}},92452:function(t,e,r){t.exports={default:r(41969),__esModule:!0}},17866:function(t,e,r){t.exports={default:r(57446),__esModule:!0}},1437:function(t,e,r){t.exports={default:r(74752),__esModule:!0}},3432:function(t,e,r){t.exports={default:r(52005),__esModule:!0}},30631:function(t,e,r){t.exports={default:r(12544),__esModule:!0}},82864:function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}},97559:function(t,e,r){"use strict";e.__esModule=!0;var n,a=(n=r(17866))&&n.__esModule?n:{default:n};e.default=function(){function t(t,e){for(var r=0;r=0)&&Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}},73006:function(t,e,r){"use strict";e.__esModule=!0;var n,a=(n=r(27239))&&n.__esModule?n:{default:n};e.default=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&((void 0===e?"undefined":(0,a.default)(e))==="object"||"function"==typeof e)?e:t}},27239:function(t,e,r){"use strict";e.__esModule=!0;var n=i(r(30631)),a=i(r(3432)),o="function"==typeof a.default&&"symbol"==typeof n.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};function i(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof a.default&&"symbol"===o(n.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":o(t)}},15680:function(t,e,r){r(38476),t.exports=r(37213).Object.assign},41969:function(t,e,r){r(23012);var n=r(37213).Object;t.exports=function(t,e){return n.create(t,e)}},57446:function(t,e,r){r(94730);var n=r(37213).Object;t.exports=function(t,e,r){return n.defineProperty(t,e,r)}},74752:function(t,e,r){r(49760),t.exports=r(37213).Object.setPrototypeOf},52005:function(t,e,r){r(22503),r(71810),r(51015),r(60107),t.exports=r(37213).Symbol},12544:function(t,e,r){r(97109),r(16917),t.exports=r(62911).f("iterator")},10527:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},74631:function(t){t.exports=function(){}},96202:function(t,e,r){var n=r(69480);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},57936:function(t,e,r){var n=r(34202),a=r(61826),o=r(48856);t.exports=function(t){return function(e,r,i){var s,l=n(e),u=a(l.length),c=o(i,u);if(t&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===r)return t||c||0;return!t&&-1}}},60866:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},37213:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},38893:function(t,e,r){var n=r(10527);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,a){return t.call(e,r,n,a)}}return function(){return t.apply(e,arguments)}}},8296:function(t){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},70377:function(t,e,r){t.exports=!r(73069)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},32873:function(t,e,r){var n=r(69480),a=r(34506).document,o=n(a)&&n(a.createElement);t.exports=function(t){return o?a.createElement(t):{}}},52848:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},4352:function(t,e,r){var n=r(95692),a=r(6050),o=r(46824);t.exports=function(t){var e=n(t),r=a.f;if(r)for(var i,s=r(t),l=o.f,u=0;s.length>u;)l.call(t,i=s[u++])&&e.push(i);return e}},75076:function(t,e,r){var n=r(34506),a=r(37213),o=r(38893),i=r(2366),s=r(40255),l="prototype",u=function(t,e,r){var c,f,p,d=t&u.F,h=t&u.G,m=t&u.S,v=t&u.P,y=t&u.B,g=t&u.W,b=h?a:a[e]||(a[e]={}),w=b[l],T=h?n:m?n[e]:(n[e]||{})[l];for(c in h&&(r=e),r)!((f=!d&&T&&void 0!==T[c])&&s(b,c))&&(p=f?T[c]:r[c],b[c]=h&&"function"!=typeof T[c]?r[c]:y&&f?o(p,n):g&&T[c]==p?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e[l]=t[l],e}(p):v&&"function"==typeof p?o(Function.call,p):p,v&&((b.virtual||(b.virtual={}))[c]=p,t&u.R&&w&&!w[c]&&i(w,c,p)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},73069:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},34506:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},40255:function(t){var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},2366:function(t,e,r){var n=r(46093),a=r(4452);t.exports=r(70377)?function(t,e,r){return n.f(t,e,a(1,r))}:function(t,e,r){return t[e]=r,t}},65609:function(t,e,r){var n=r(34506).document;t.exports=n&&n.documentElement},83278:function(t,e,r){t.exports=!r(70377)&&!r(73069)(function(){return 7!=Object.defineProperty(r(32873)("div"),"a",{get:function(){return 7}}).a})},28365:function(t,e,r){var n=r(60866);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},68926:function(t,e,r){var n=r(60866);t.exports=Array.isArray||function(t){return"Array"==n(t)}},69480:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},51592:function(t,e,r){"use strict";var n=r(77310),a=r(4452),o=r(5723),i={};r(2366)(i,r(81395)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(i,{next:a(1,r)}),o(t,e+" Iterator")}},58903:function(t,e,r){"use strict";var n=r(44574),a=r(75076),o=r(53682),i=r(2366),s=r(45086),l=r(51592),u=r(5723),c=r(42915),f=r(81395)("iterator"),p=!([].keys&&"next"in[].keys()),d="values",h=function(){return this};t.exports=function(t,e,r,m,v,y,g){l(r,e,m);var b,w,T,S=function(t){return!p&&t in x?x[t]:function(){return new r(this,t)}},k=e+" Iterator",O=v==d,E=!1,x=t.prototype,A=x[f]||x["@@iterator"]||v&&x[v],_=A||S(v),M=v?O?S("entries"):_:void 0,j="Array"==e&&x.entries||A;if(j&&(T=c(j.call(new t)))!==Object.prototype&&T.next&&(u(T,k,!0),n||"function"==typeof T[f]||i(T,f,h)),O&&A&&A.name!==d&&(E=!0,_=function(){return A.call(this)}),(!n||g)&&(p||E||!x[f])&&i(x,f,_),s[e]=_,s[k]=h,v){if(b={values:O?_:S(d),keys:y?_:S("keys"),entries:M},g)for(w in b)w in x||o(x,w,b[w]);else a(a.P+a.F*(p||E),e,b)}return b}},65336:function(t){t.exports=function(t,e){return{value:e,done:!!t}}},45086:function(t){t.exports={}},44574:function(t){t.exports=!0},42727:function(t,e,r){var n=r(67441)("meta"),a=r(69480),o=r(40255),i=r(46093).f,s=0,l=Object.isExtensible||function(){return!0},u=!r(73069)(function(){return l(Object.preventExtensions({}))}),c=function(t){i(t,n,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,n)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[n].i},getWeak:function(t,e){if(!o(t,n)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[n].w},onFreeze:function(t){return u&&f.NEED&&l(t)&&!o(t,n)&&c(t),t}}},79769:function(t,e,r){"use strict";var n=r(70377),a=r(95692),o=r(6050),i=r(46824),s=r(28689),l=r(28365),u=Object.assign;t.exports=!u||r(73069)(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=u({},t)[r]||Object.keys(u({},e)).join("")!=n})?function(t,e){for(var r=s(t),u=arguments.length,c=1,f=o.f,p=i.f;u>c;)for(var d,h=l(arguments[c++]),m=f?a(h).concat(f(h)):a(h),v=m.length,y=0;v>y;)d=m[y++],(!n||p.call(h,d))&&(r[d]=h[d]);return r}:u},77310:function(t,e,r){var n=r(96202),a=r(46582),o=r(52848),i=r(7186)("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,e=r(32873)("iframe"),n=o.length;for(e.style.display="none",r(65609).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(""),t.close(),u=t.F;n--;)delete u[l][o[n]];return u()};t.exports=Object.create||function(t,e){var r;return null!==t?(s[l]=n(t),r=new s,s[l]=null,r[i]=t):r=u(),void 0===e?r:a(r,e)}},46093:function(t,e,r){var n=r(96202),a=r(83278),o=r(43908),i=Object.defineProperty;e.f=r(70377)?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),a)try{return i(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},46582:function(t,e,r){var n=r(46093),a=r(96202),o=r(95692);t.exports=r(70377)?Object.defineProperties:function(t,e){a(t);for(var r,i=o(e),s=i.length,l=0;s>l;)n.f(t,r=i[l++],e[r]);return t}},11801:function(t,e,r){var n=r(46824),a=r(4452),o=r(34202),i=r(43908),s=r(40255),l=r(83278),u=Object.getOwnPropertyDescriptor;e.f=r(70377)?u:function(t,e){if(t=o(t),e=i(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return a(!n.f.call(t,e),t[e])}},45866:function(t,e,r){var n=r(34202),a=r(69752).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return a(t)}catch(t){return i.slice()}};t.exports.f=function(t){return i&&"[object Window]"==o.call(t)?s(t):a(n(t))}},69752:function(t,e,r){var n=r(2651),a=r(52848).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,a)}},6050:function(t,e){e.f=Object.getOwnPropertySymbols},42915:function(t,e,r){var n=r(40255),a=r(28689),o=r(7186)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return n(t=a(t),o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},2651:function(t,e,r){var n=r(40255),a=r(34202),o=r(57936)(!1),i=r(7186)("IE_PROTO");t.exports=function(t,e){var r,s=a(t),l=0,u=[];for(r in s)r!=i&&n(s,r)&&u.push(r);for(;e.length>l;)n(s,r=e[l++])&&(~o(u,r)||u.push(r));return u}},95692:function(t,e,r){var n=r(2651),a=r(52848);t.exports=Object.keys||function(t){return n(t,a)}},46824:function(t,e){e.f=({}).propertyIsEnumerable},4452:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},53682:function(t,e,r){t.exports=r(2366)},80130:function(t,e,r){var n=r(69480),a=r(96202),o=function(t,e){if(a(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{(n=r(38893)(Function.call,r(11801).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,r){return o(t,r),e?t.__proto__=r:n(t,r),t}}({},!1):void 0),check:o}},5723:function(t,e,r){var n=r(46093).f,a=r(40255),o=r(81395)("toStringTag");t.exports=function(t,e,r){t&&!a(t=r?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},7186:function(t,e,r){var n=r(92479)("keys"),a=r(67441);t.exports=function(t){return n[t]||(n[t]=a(t))}},92479:function(t,e,r){var n=r(37213),a=r(34506),o="__core-js_shared__",i=a[o]||(a[o]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(44574)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},94004:function(t,e,r){var n=r(25999),a=r(8296);t.exports=function(t){return function(e,r){var o,i,s=String(a(e)),l=n(r),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(i=s.charCodeAt(l+1))<56320||i>57343?t?s.charAt(l):o:t?s.slice(l,l+2):(o-55296<<10)+(i-56320)+65536}}},48856:function(t,e,r){var n=r(25999),a=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?a(t+e,0):o(t,e)}},25999:function(t){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},34202:function(t,e,r){var n=r(28365),a=r(8296);t.exports=function(t){return n(a(t))}},61826:function(t,e,r){var n=r(25999),a=Math.min;t.exports=function(t){return t>0?a(n(t),9007199254740991):0}},28689:function(t,e,r){var n=r(8296);t.exports=function(t){return Object(n(t))}},43908:function(t,e,r){var n=r(69480);t.exports=function(t,e){var r,a;if(!n(t))return t;if(e&&"function"==typeof(r=t.toString)&&!n(a=r.call(t))||"function"==typeof(r=t.valueOf)&&!n(a=r.call(t))||!e&&"function"==typeof(r=t.toString)&&!n(a=r.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},67441:function(t){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},19642:function(t,e,r){var n=r(34506),a=r(37213),o=r(44574),i=r(62911),s=r(46093).f;t.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},62911:function(t,e,r){e.f=r(81395)},81395:function(t,e,r){var n=r(92479)("wks"),a=r(67441),o=r(34506).Symbol,i="function"==typeof o;(t.exports=function(t){return n[t]||(n[t]=i&&o[t]||(i?o:a)("Symbol."+t))}).store=n},67771:function(t,e,r){"use strict";var n=r(74631),a=r(65336),o=r(45086),i=r(34202);t.exports=r(58903)(Array,"Array",function(t,e){this._t=i(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,a(1)):"keys"==e?a(0,r):"values"==e?a(0,t[r]):a(0,[r,t[r]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},38476:function(t,e,r){var n=r(75076);n(n.S+n.F,"Object",{assign:r(79769)})},23012:function(t,e,r){var n=r(75076);n(n.S,"Object",{create:r(77310)})},94730:function(t,e,r){var n=r(75076);n(n.S+!r(70377)*n.F,"Object",{defineProperty:r(46093).f})},49760:function(t,e,r){var n=r(75076);n(n.S,"Object",{setPrototypeOf:r(80130).set})},71810:function(){},97109:function(t,e,r){"use strict";var n=r(94004)(!0);r(58903)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},22503:function(t,e,r){"use strict";var n=r(34506),a=r(40255),o=r(70377),i=r(75076),s=r(53682),l=r(42727).KEY,u=r(73069),c=r(92479),f=r(5723),p=r(67441),d=r(81395),h=r(62911),m=r(19642),v=r(4352),y=r(68926),g=r(96202),b=r(69480),w=r(28689),T=r(34202),S=r(43908),k=r(4452),O=r(77310),E=r(45866),x=r(11801),A=r(6050),_=r(46093),M=r(95692),j=x.f,D=_.f,C=E.f,P=n.Symbol,F=n.JSON,Z=F&&F.stringify,N="prototype",L=d("_hidden"),R=d("toPrimitive"),I={}.propertyIsEnumerable,U=c("symbol-registry"),X=c("symbols"),V=c("op-symbols"),B=Object[N],H="function"==typeof P&&!!A.f,Y=n.QObject,z=!Y||!Y[N]||!Y[N].findChild,W=o&&u(function(){return 7!=O(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=j(B,e);n&&delete B[e],D(t,e,r),n&&t!==B&&D(B,e,n)}:D,q=function(t){var e=X[t]=O(P[N]);return e._k=t,e},G=H&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},Q=function(t,e,r){return(t===B&&Q(V,e,r),g(t),e=S(e,!0),g(r),a(X,e))?(r.enumerable?(a(t,L)&&t[L][e]&&(t[L][e]=!1),r=O(r,{enumerable:k(0,!1)})):(a(t,L)||D(t,L,k(1,{})),t[L][e]=!0),W(t,e,r)):D(t,e,r)},$=function(t,e){g(t);for(var r,n=v(e=T(e)),a=0,o=n.length;o>a;)Q(t,r=n[a++],e[r]);return t},K=function(t){var e=I.call(this,t=S(t,!0));return(!(this===B&&a(X,t))||!!a(V,t))&&(!(e||!a(this,t)||!a(X,t)||a(this,L)&&this[L][t])||e)},J=function(t,e){if(t=T(t),e=S(e,!0),!(t===B&&a(X,e))||a(V,e)){var r=j(t,e);return r&&a(X,e)&&!(a(t,L)&&t[L][e])&&(r.enumerable=!0),r}},tt=function(t){for(var e,r=C(T(t)),n=[],o=0;r.length>o;)a(X,e=r[o++])||e==L||e==l||n.push(e);return n},te=function(t){for(var e,r=t===B,n=C(r?V:T(t)),o=[],i=0;n.length>i;)a(X,e=n[i++])&&(!r||a(B,e))&&o.push(X[e]);return o};H||(s((P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(r){this===B&&e.call(V,r),a(this,L)&&a(this[L],t)&&(this[L][t]=!1),W(this,t,k(1,r))};return o&&z&&W(B,t,{configurable:!0,set:e}),q(t)})[N],"toString",function(){return this._k}),x.f=J,_.f=Q,r(69752).f=E.f=tt,r(46824).f=K,A.f=te,o&&!r(44574)&&s(B,"propertyIsEnumerable",K,!0),h.f=function(t){return q(d(t))}),i(i.G+i.W+!H*i.F,{Symbol:P});for(var tr="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tn=0;tr.length>tn;)d(tr[tn++]);for(var ta=M(d.store),to=0;ta.length>to;)m(ta[to++]);i(i.S+!H*i.F,"Symbol",{for:function(t){return a(U,t+="")?U[t]:U[t]=P(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in U)if(U[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),i(i.S+!H*i.F,"Object",{create:function(t,e){return void 0===e?O(t):$(O(t),e)},defineProperty:Q,defineProperties:$,getOwnPropertyDescriptor:J,getOwnPropertyNames:tt,getOwnPropertySymbols:te});var ti=u(function(){A.f(1)});i(i.S+i.F*ti,"Object",{getOwnPropertySymbols:function(t){return A.f(w(t))}}),F&&i(i.S+i.F*(!H||u(function(){var t=P();return"[null]"!=Z([t])||"{}"!=Z({a:t})||"{}"!=Z(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],a=1;arguments.length>a;)n.push(arguments[a++]);if(r=e=n[1],!(!b(e)&&void 0===t||G(t)))return y(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!G(e))return e}),n[1]=e,Z.apply(F,n)}}),P[N][R]||r(2366)(P[N],R,P[N].valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},51015:function(t,e,r){r(19642)("asyncIterator")},60107:function(t,e,r){r(19642)("observable")},16917:function(t,e,r){r(67771);for(var n=r(34506),a=r(2366),o=r(45086),i=r(81395)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l-1;)(f=u[p]).n===s&&f.c===e?u.splice(p,1):0===c&&(c=p+1);var d=r||this._eventTarget;u.splice(c,0,{c:e,n:s,t:i}),!this._listFun[l]&&(this._listFun[l]=this._listFun[l]||this.dispatchEvent.bind(this,{type:i,target:r}),d.addEventListener?d.addEventListener(i,this._listFun[l],n):d.attachEvent&&d.attachEvent("on"+i,this._listFun[l]))},removeEventListener:function(t,e,r,n){var o=t.split("."),i=o[0],s=o[1],l=""+i+(r?"_"+r.getAttribute(a):""),u=this._listeners[l],c=void 0,f=n;if(s||(f=!0),u){c=u.length;for(var p=r||this._eventTarget;--c>-1;)if(u[c].c===e&&(f||u[c].n===s)){if(u.splice(c,1),!u.length){var d=this._listFun[l];delete this._listeners[l],delete this._listFun[l],p.removeEventListener?p.removeEventListener(i,d):p.detachEvent&&p.detachEvent("on"+i,d)}if(!f)return}}},dispatchEvent:function(t,e){var r=t.type,n=t.target,o=""+r+(n?"_"+n.getAttribute(a):""),i=this._listeners[o],s=void 0,l=void 0,u=void 0;if(i){for(s=i.length,l=this._eventTarget;--s>-1;)if(u=i[s]){var c=e||{type:r,target:l};u.c.call(l,c)}}},removeAllType:function(t,e){var r=this,o=t.split("."),i=o[0],s=o[1],l=""+i+(e?"_"+e.getAttribute(a):""),u=this._listeners[l];this.recoverLists=this.recoverLists.concat((0,n.Zk)(u).filter(function(t){return t.n&&t.n.match(s)})),this.recoverLists.forEach(function(t){r.removeEventListener(t.t+"."+t.n,t.c,e)})},reAllType:function(t,e){var r=this,n=t.split("."),a=n[0],o=n[1];this.recoverLists=this.recoverLists.map(function(t){return t.t===a&&t.n.match(o)?(r.addEventListener(t.t+"."+t.n,t.c,e),null):t}).filter(function(t){return t})}},e.Z=new o("undefined"!=typeof document&&window)},42277:function(t,e,r){"use strict";r.d(e,{Z:function(){return y}});var n=r(61707),a=r(61200),o=r(82864),i=r(73006),s=r(97559),l=r(71212),u=r(75271),c=r(40507),f=r.n(c),p=r(20266),d=r(30967),h=r(32228),m=function(t){function e(t){(0,o.default)(this,e);var r=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.getParam=function(t){r.clientHeight=r.target?r.target.clientHeight:(0,h.uK)();var e=r.target?r.target.scrollTop:(0,h.Xh)(),n=r.dom.getBoundingClientRect(),a=r.target?r.target.getBoundingClientRect().top:0,o=n.top+e-a;r.elementShowHeight=e-o+r.clientHeight;var i=(0,h.o1)(r.props.playScale),s=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[0]));s[2]?"px"===s[2]?r.playHeight=parseFloat(s[1]):r.playHeight=r.clientHeight*parseFloat(s[1])/100:r.playHeight=r.clientHeight*parseFloat(i[0]);var l=n.height,u=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[1]));u[2]?"px"===u[2]?r.leavePlayHeight=parseFloat(u[1]):r.leavePlayHeight=l*parseFloat(u[1])/100:r.leavePlayHeight=l*parseFloat(i[1]);var c=r.props.replay?r.elementShowHeight>=r.playHeight&&r.elementShowHeight<=r.clientHeight+r.leavePlayHeight:r.elementShowHeight>=r.playHeight,f=c?"enter":"leave",p=r.enter!==c||"boolean"!=typeof r.enter?f:null;p&&r.props.onChange({mode:p,id:r.props.id}),r.props.onScroll({domEvent:t,scrollTop:e,showHeight:r.elementShowHeight,offsetTop:o,id:r.props.id}),r.enter=c},r.addScrollEvent=function(){p.Z.addEventListener(r.eventType,r.scrollEventListener,r.target),(0,h.Xh)()||r.scrollEventListener()},r.scrollEventListener=function(t){r.getParam(t)},r.state={$self:r},r}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var r=e.prevProps,n=e.$self;return r&&t!==r&&n.scrollEventListener(),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){if(!h.Q6){this.dom=d.findDOMNode(this);var t=Date.now();this.target=this.props.targetId&&document.getElementById(this.props.targetId);var e=p.Z._listeners.scroll?p.Z._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.addScrollEvent()}}},{key:"componentWillUnmount",value:function(){p.Z.removeEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=t.component,r=(t.playScale,t.location,t.targetId,t.onScroll,t.onChange,t.replay,t.componentProps),o=(0,a.default)(t,["component","playScale","location","targetId","onScroll","onChange","replay","componentProps"]);return u.createElement(e,(0,n.default)({},o,r))}}]),e}(u.Component);m.propTypes={component:f().any,playScale:f().any,id:f().string,onChange:f().func,onScroll:f().func,location:f().string,targetId:f().string,replay:f().bool,componentProps:f().object},m.defaultProps={component:"div",onChange:h.ZT,onScroll:h.ZT,playScale:.5,replay:!1,componentProps:{}},m.isScrollElement=!0;var v=function(t){function e(t){(0,o.default)(this,e);var r=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.scrollEventListener=function(t){r.getParam(t);var e=r.state.show,n=r.props,a=n.always,o=n.replay,i=r.elementShowHeight>r.clientHeight+r.leavePlayHeight;if(r.enter||!o&&i)e||r.setState({show:!0}),!a&&r.eventType&&p.Z.removeEventListener(r.eventType,r.scrollEventListener,r.target);else if(a){var s=r.elementShowHeightObject.keys(e).length?t:e,a=Object.keys(t).length>Object.keys(e).length?e:t;Object.keys(n).forEach(function(t){r&&(t in a||(r=!1),"object"==typeof n[t]&&"object"==typeof a[t]?r=O(n[t],a[t]):"function"==typeof n[t]&&"function"==typeof a[t]?n[t].toString().replace(/\s+/g,"")!==a[t].toString().replace(/\s+/g,"")&&(r=!1):n[t]!==a[t]&&(r=!1))})};if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;t.forEach(function(t,r){n(t,e[r])})}else n(t,e);return r}function E(t,e){var r=null;return t&&t.forEach(function(t){!r&&t&&t.key===e&&(r=t)}),r}function x(t,e,r){return"function"==typeof t?t({key:e,index:r}):t}function A(t){return t&&t.children}function _(t,e,r,n,a,o,i,s){if(b)return n;var l=/(?:Left|Right|Width|X)/i.test(r)||s;l="padding"===r||"marign"===r||l;var u=-1!==r.indexOf("border")||-1!==r.indexOf("translate")||"transformOrigin"===r?t:t.parentNode||document.body;u=i?document.body:u;var c=void 0,f=void 0;switch(a){case"%":c=parseFloat(n)/100*(l?u.clientWidth:u.clientHeight);break;case"vw":c=parseFloat(n)*document.body.clientWidth/100;break;case"vh":c=parseFloat(n)*document.body.clientHeight/100;break;case"em":c=parseFloat(n)*parseFloat(e.fontSize);break;case"rem":f=window.getComputedStyle(document.getElementsByTagName("html")[0]),c=parseFloat(n)*parseFloat(f.fontSize);break;default:c=parseFloat(n)}switch(o){case"%":c=c?100*c/(l?u.clientWidth:u.clientHeight):0;break;case"vw":c=parseFloat(n)/document.body.clientWidth*100;break;case"vh":c=parseFloat(n)/document.body.clientHeight*100;break;case"em":c=parseFloat(n)/parseFloat(e.fontSize);break;case"rem":f=f||window.getComputedStyle(document.getElementsByTagName("html")[0]),c=parseFloat(n)/parseFloat(f.fontSize)}return c}function M(t){if("string"==typeof t)return t;var e=t.perspective,r=t.rotate,n=t.rotateX,a=t.rotateY,o=t.scaleX,i=t.scaleY,s=t.scaleZ,l=t.skewX,u=t.skewY,c="string"==typeof t.translateX?t.translateX:t.translateX+"px",f="string"==typeof t.translateY?t.translateY:t.translateY+"px",p="string"==typeof t.translateZ?t.translateZ:t.translateZ+"px",d=l||u?"skew("+l+"deg,"+u+"deg)":"",h=r?"rotate("+r+"deg)":"",m=1!==o||1!==i||1!==s?"scale3d("+o+","+i+","+s+")":"",v=n?"rotateX("+n+"deg)":"",y=a?"rotateY("+a+"deg)":"";return((e?"perspective("+e+"px)":"")+" "+(t.translateZ?"translate3d("+c+","+f+","+p+")":(t.translateX||t.translateY)&&"translate("+c+","+f+")"||(m||h||v||y||d?"":"translate(0px, 0px)"))+" "+m+" "+h+" "+v+" "+y+" "+d).trim()}var j=r(89971);h().path=function(t,e){var r=e||{};if(b)return"linear";for(var n=function(t){if("string"==typeof t){if(t.charAt(0).match(/m/i)){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttributeNS(null,"d",t),e}return document.querySelector(t)}if(t.style)return t;throw Error("Error while parsing the path")}(t),a=n.getTotalLength(),o=r.rect||100,i=r.lengthPixel||200,s=[],l=0;l=u})[0]||n.getPointAtLength(l*a)).y/o}};var D=h(),C=function(){};C.prototype.push=function(t){this[t.prototype.name]=t};var P=new C,F=function(t,e,r){this.target=t,this.vars=e,this.type=r,this.propsData={},this.setDefaultData()};F.prototype={name:"style"};var Z=F.prototype;function N(){}function L(t,e){var r=t.duration||0===t.duration?t.duration:450;return{duration:"set"===t.type?0:r,delay:t.delay||0,ease:"function"==typeof t.ease?t.ease:D[t.ease||"easeInOutQuad"],onUpdate:t.onUpdate||N,onComplete:t.onComplete||N,onStart:t.onStart||N,onRepeat:t.onRepeat||N,repeat:t.repeat||0,repeatDelay:t.repeatDelay||0,yoyo:t.yoyo||!1,type:"from"===t.type?"from":"to",initTime:e,appearTo:"number"==typeof t.appearTo?t.appearTo:null,perTime:0,currentRepeat:0}}Z.getTweenData=function(t,e){var r={data:{},dataType:{},dataUnit:{},dataCount:{},dataSplitStr:{}},n=e;if(T[t]&&((n=(n=n.toString().split(" ")).map(function(t){return"number"==typeof e?t+"px":t}))[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1]||n[0],n=n.join(" ")),t.match(/colo|fill|storker/i)?(r.data[t]=(0,j.lu)(n),r.dataType[t]="color"):"strokeDasharray"===t?(r.data[t]=n.split(","),r.dataType[t]="strokeDasharray"):t.match(/shadow/i)?(r.data[t]=(0,j.hy)(n),r.dataType[t]="shadow"):"string"==typeof n&&n.split(/[\s|,]/).length>1?(r.data[t]=n.split(/[\s|,]/),r.dataSplitStr[t]=n.replace(/[^\s|,]/g,"").replace(/\s+/g," "),r.dataType[t]="string"):(r.data[t]=n,r.dataType[t]="other"),Array.isArray(r.data[t]))r.dataUnit[t]=r.data[t].map(function(t){return t.toString().replace(/[^a-z|%]/g,"")}),r.dataCount[t]=r.data[t].map(function(t){return t.toString().replace(/[^+|=|-]/g,"")}),r.data[t]=r.data[t].map(function(t){return parseFloat(t)||0===parseFloat(t)?parseFloat(t):t});else{r.dataUnit[t]=r.data[t].toString().replace(/[^a-z|%]/g,""),r.dataCount[t]=r.data[t].toString().replace(/[^+|=|-]/g,"");var a=parseFloat(r.data[t].toString().replace(/[a-z|%|=]/g,""));r.data[t]=a||0===a?a:r.data[t]}return r},Z.setDefaultData=function(){var t=this;this.propsData.data={},this.propsData.dataType={},this.propsData.dataUnit={},this.propsData.dataCount={},this.propsData.dataSplitStr={},Object.keys(this.vars).forEach(function(e){if(e in P){t.propsData.data[e]=new P[e](t.target,t.vars[e]);return}var r=(0,j.Lo)(e),n=t.getTweenData(r,t.vars[e]);t.propsData.data[r]=n.data[r],t.propsData.dataType[r]=n.dataType[r],t.propsData.dataUnit[r]=n.dataUnit[r],t.propsData.dataCount[r]=n.dataCount[r],n.dataSplitStr[r]&&(t.propsData.dataSplitStr[r]=n.dataSplitStr[r])})},Z.convertToMarksArray=function(t,e,r,n,a){var o=n.toString().replace(/[^a-z|%]/g,""),i=e[a];return o===i?parseFloat(n):parseFloat(n)||0===parseFloat(n)?_(this.target,t,r,n,o,i,null,"transformOrigin"===r&&!a):n},Z.getAnimStart=function(t,e,r){var n=this,o={},i=e.style||{},s=void 0;return Object.keys(this.propsData.data).forEach(function(e){var l=(0,j.dt)(e),u=i[l]||t[l],c="fixed"===t.position;u&&"none"!==u&&"auto"!==u||(u="");var f=void 0,p=void 0;if(e in P)"bezier"===e&&(n.transform=(0,j.Yf)("transform"),u=t[r?"transformSVG":n.transform],s=s||(i.transform?(0,a.default)({},i.transform):o.transform||(0,j.Ck)(u)),o.transform=s),n.propsData.data[e].getAnimStart(t,r);else if("transform"===l){n.transform=(0,j.Yf)("transform"),u=t[r?"transformSVG":n.transform],f=n.propsData.dataUnit[e],s=s||(i.transform?(0,a.default)({},i.transform):o.transform||(0,j.Ck)(u));var d=/%|vw|vh|em|rem/i;f&&f.match(d)&&(s[e]=s[e]&&s[e].toString().match(d)?parseFloat(s[e]):_(n.target,t,e,s[e],null,f)),o.transform=s}else"filter"===l?(i[l]?u=i[l]:(n.filterName=(0,j.Yf)("filter")||"filter",u=t[n.filterName],n.filterObject=(0,a.default)({},n.filterObject,(0,j.GX)(u)),u=n.filterObject[e]||0),p=u.toString().replace(/[^a-z|%]/g,""),(f=n.propsData.dataUnit[e])!==p&&(u=_(n.target,t,l,parseFloat(u),p,f,c)),o[e]=parseFloat(u)):e.match(/color|fill/i)||"stroke"===e?(u=u||"stroke"!==e?u:"rgba(255, 255, 255, 0)",o[l]=(0,j.lu)(u)):e.match(/shadow/i)?(u=(0,j.hy)(u),f=n.propsData.dataUnit[e],u=u.map(n.convertToMarksArray.bind(n,t,f,e)),o[l]=u):Array.isArray(n.propsData.data[e])?(u=u.split(/[\s|,]/).filter(function(t){return t||0===t}),f=n.propsData.dataUnit[e],u=u.map(n.convertToMarksArray.bind(n,t,f,e)),o[l]=u):((f=n.propsData.dataUnit[l])!==(p=u.toString().replace(/[^a-z|%]/g,""))&&(u=_(n.target,t,l,parseFloat(u),p,f,c)),o[l]=parseFloat(u||0))}),this.start=o,o},Z.setArrayRatio=function(t,e,r,n,a){"color"===a&&4===e.length&&3===r.length&&(r[3]=1);var o=e.indexOf("inset")>=0,i=r.indexOf("inset")>=0;if(o&&!i||i&&!o)throw console.error('Error: "box-shadow" inset have to exist');var s=i?9:8;e.length===s&&r.length===s-1?(r.splice(3,0,0),n.splice(3,0,"")):r.length===s&&e.length===s-1&&e.splice(3,0,0);var l=r.map(function(r,o){var i="color"!==a||3!==o||e[o]?0:1,s="number"==typeof e[o]?e[o]:i;return"string"==typeof r?r:(r-s)*t+s+(n[o]||0)});if("color"===a)return(0,j.Lq)(l);if("shadow"===a){var u=l.length===s?4:3,c=l.slice(0,u).map(function(t){return"number"==typeof t?t+"px":t}),f=l.slice(u,i?l.length-1:l.length),p=(0,j.Lq)(f);return(c.join(" ")+" "+p+" "+(i?"inset":"")).trim()}return l},Z.setRatio=function(t,e,r){var n=this;e.style=e.style||{},this.start.transform&&(e.style.transform=e.style.transform||(0,a.default)({},this.start.transform));var o=this.target.style;Object.keys(this.propsData.data).forEach(function(a){var i="transform"===(0,j.Tk)(a),s=i?n.start.transform[a]:n.start[a],l=n.propsData.data[a],u=n.propsData.dataUnit[a],c=n.propsData.dataCount[a];if(a in P){n.propsData.data[a].setRatio(t,e,r),"bezier"===a?o[n.transform]=M(e.style.transform):Object.keys(e.style).forEach(function(t){o[t]=e.style[t]});return}if(i){if(u&&u.match(/%|vw|vh|em|rem/i))s=parseFloat(n.start.transform[a]),"="===c.charAt(1)?e.style.transform[a]=s+l*t+u:e.style.transform[a]=(l-s)*t+s+u;else if("scale"===a){var f=n.start.transform.scaleX,p=n.start.transform.scaleY;"="===c.charAt(1)?(e.style.transform.scaleX=f+l*t,e.style.transform.scaleY=p+l*t):(e.style.transform.scaleX=(l-f)*t+f,e.style.transform.scaleY=(l-p)*t+p)}else"="===c.charAt(1)?e.style.transform[a]=s+l*t:e.style.transform[a]=(l-s)*t+s;o[n.transform]=M(e.style.transform),r&&(r.transformSVG=(0,j.wz)(o[n.transform]).toString());return}if(Array.isArray(l)){var d=n.propsData.dataType[a];e.style[a]=n.setArrayRatio(t,s,l,u,d),"string"===d&&(e.style[a]=e.style[a].join(n.propsData.dataSplitStr[a]))}else{var h=(0,j.YJ)(a,0);if(h="number"==typeof h?"":h.replace(/[^a-z|%]/g,""),u=u||(j._T.filter.indexOf(a)>=0?"":h),"string"==typeof l)e.style[a]=l;else if("="===c.charAt(1))e.style[a]=s+l*t+u;else{var m=(l-s)*t+s;e.style[a]=u?""+m+u:m}}if(j._T.filter.indexOf(a)>=0){if(!n.filterObject)return;n.filterObject[a]=e.style[a];var v="";Object.keys(n.filterObject).forEach(function(t){v+=" "+t+"("+n.filterObject[t]+")"}),o[n.filterName]=v.trim();return}o[a]=e.style[a]})},P.push(F);var R=function(t,e,r){var n=k(e);this.target=t,this.attr=r||"style",this.accuracy=1e-5,this.totalTime=0,this.progressTime=0,this.defaultData=[],this.start={},this.startDefaultData={},this.tween={},this.data=n,this.perFrame=Math.round(1e3/60),this.register=!1,this.isSvg=this.target.ownerSVGElement;var a=this.setAttrIsStyle();this.setDefaultData(a)},I=R.prototype;I.setAttrIsStyle=function(){var t=this,e=[],r=L({},0);return this.data.forEach(function(n,o){var i=(0,a.default)({},n);"style"===t.attr?(e[o]={},Object.keys(i).forEach(function(t){t in r&&(e[o][t]=i[t],delete i[t])}),e[o].style=i,t.startDefaultData.style=t.target.getAttribute("style")||""):"attr"===t.attr&&(Object.keys(i).forEach(function(e){if("style"===e&&Array.isArray(n[e]))throw Error("Style should be the object.");if("bezier"===e)i.style=(0,a.default)({},i.style,{bezier:i[e]}),delete i[e],t.startDefaultData.style=t.target.getAttribute("style")||"";else{if(e in r)return;t.startDefaultData[e]=t.getValue(e)}}),e[o]=i)}),e},I.setDefaultData=function(t){var e=this,r=0,n=!1,a=t.map(function(t){var a="number"==typeof t.appearTo;a||(r+=t.delay||0);var o=(t.appearTo||0)+(t.delay||0),i=L(t,a?o:r);i.vars={},Object.keys(t).forEach(function(r){if(!(r in i)){var n=t[r];if(r in P)i.vars[r]=new P[r](e.target,n,i.type);else if(("d"===r||"points"===r)&&"SVGMorph"in P)i.vars[r]=new P.SVGMorph(e.target,n,r);else if(r.match(/color/i)||"stroke"===r||"fill"===r)i.vars[r]={type:"color",vars:(0,j.lu)(n)};else if("number"==typeof n||n.split(/[,|\s]/g).length<=1){var a=parseFloat(n),o=n.toString().replace(/[^a-z|%]/g,""),s=n.toString().replace(/[^+|=|-]/g,"");i.vars[r]={unit:o,vars:a,count:s}}}}),i.yoyo&&!i.repeat&&console.warn("Warning: yoyo must be used together with repeat;"),-1===i.repeat&&(n=!0);var s=-1===i.repeat?0:i.repeat;if(a){var l=t.appearTo+(t.delay||0)+i.duration*(s+1)+i.repeatDelay*s;r=l>=r?l:r}else i.delay<-i.duration?r-=i.delay:r+=i.duration*(s+1)+i.repeatDelay*s;return i.mode="",i});this.totalTime=n?Number.MAX_VALUE:r,this.defaultData=a},I.getComputedStyle=function(){var t=document.defaultView?document.defaultView.getComputedStyle(this.target):{};if(this.isSvg){var e=t[(0,j.Yf)("transform")]||"none";if("none"===e){var r=this.target.getAttribute("style");r&&r.indexOf("transform:")>=0?e=r.split(";").filter(function(t){return t.indexOf("transform:")>=0}).map(function(t){return(0,j.wz)(t.split(":")[1].trim()).toString()})[0]:this.target.getAttribute("transform")&&console.warn("Do not add transform on the label, otherwise it will be invalid.")}t.transformSVG=e}return t},I.getAnimStartData=function(t){var e=this,r={};return Object.keys(t).forEach(function(n){if(n in P||"attr"===e.attr&&("d"===n||"points"===n)){e.computedStyle=e.computedStyle||(e.target.getAttribute?e.getComputedStyle():(0,a.default)({},e.target)),r[n]=t[n].getAnimStart(e.computedStyle,e.tween,e.isSvg);return}if("attr"===e.attr){var o=e.getValue(n),i=n.match(/opacity/ig)?1:0,s="null"!==o&&o?o:i;if(n.match(/color/i)||"stroke"===n||"fill"===n)s=s||"stroke"!==n?s:"rgba(255, 255, 255, 0)",s=(0,j.lu)(s),r[n]=s;else if(parseFloat(s)||0===parseFloat(s)||0===s){var l=s.toString().replace(/[^a-z|%]/g,"");r[n]=l!==t[n].unit?_(e.target,n,parseFloat(s),l,t[n].unit):parseFloat(s)}return}r[n]=e.target[n]||0}),r},I.setAnimData=function(t){var e=this;Object.keys(t).forEach(function(r){r in P||"attr"===e.attr&&("d"===r||"points"===r)||(e.target[r]=t[r])})},I.setRatio=function(t,e,r){var n=this;Object.keys(e.vars).forEach(function(a){if(a in P||"attr"===n.attr&&("d"===a||"points"===a)){e.vars[a].setRatio(t,n.tween,n.isSvg&&n.computedStyle);return}var o=e.vars[a],i=n.start[r][a],s=void 0;"attr"===n.attr&&(o.type?"color"===o.type&&(3===o.vars.length&&4===i.length&&(o.vars[3]=1),s=o.vars.map(function(e,r){var n=i[r]||0;return(e-n)*t+n}),n.setValue(a,(0,j.Lq)(s))):(s="="===o.unit.charAt(1)?i+o.vars*t+o.unit:(o.vars-i)*t+i+o.unit,n.setValue(a,o.unit?s:parseFloat(s))))}),this.setAnimData(this.tween)},I.getValue=function(t){return this.target.getAttribute?this.target.getAttribute(t):this.target[t]},I.setValue=function(t,e){this.target.setAttribute?this.target.setAttribute(t,e):this.target[t]=e},I.render=function(){var t=this,e=this.reverse;this.defaultData.forEach(function(r,n){var o=r.initTime,i=(0,j.FH)(r.duration),s=Math.ceil((t.progressTime-o)/(i+r.repeatDelay))-1||0;if(s=s<0?0:s,r.repeat){if(r.repeat=0)||t.start[n]||(t.start[n]=t.getAnimStartData(r.vars),ci&&(f=r.ease(1,l,u,1),t.setRatio(f,r,n)),t.register&&(!n||o)||(t.register=!0,0!==c||!r.duration||!r.delay))){var p={index:n,target:t.target},d=(0,a.default)({moment:t.progressTime},p),h=t.perFrame-t.accuracy,m=r.delay&&e?-h:0;if((c>=m&&!(c>i&&"onComplete"===r.mode)||c=t.perFrame?0:c)>=i-t.accuracy&&!e||e&&c<=0)&&s>=r.repeat){if("onComplete"===r.mode)return;if(f=r.ease(e?0:1,l,u,1),t.setRatio(f,r,n,r.currentRepeat!==s),(!r.reset||r.reset&&c>=i)&&!v)i=i+h)return;r.mode="onComplete"}else if(i>h){var y=c<0?0:c;y=y>i?i:y,f=r.ease(y,l,u,i),t.setRatio(f,r,n),v||(r.repeat&&s>0&&r.currentRepeat!==s?(r.mode="onRepeat",r.currentRepeat=s,r.onRepeat((0,a.default)({},p,{repeatNum:s}))):(r.perTime<=0||e&&r.perTime>=t.reverseStartTime-o)&&"onStart"!==r.mode?(r.mode="onStart",r.onStart(p)):(r.mode="onUpdate",r.onUpdate((0,a.default)({ratio:f},p))))}v||(d.mode=r.mode,t.onChange(d)),r.perTime=c,r.reset&&delete r.reset}}})},I.frame=function(t){var e=this;this.progressTime=t,this.defaultData.forEach(function(t){var r=e.progressTime-t.duration-t.initTime;r0&&(e.progressTime=t.duration+t.initTime)}),this.render()},I.init=I.frame,I.resetAnimData=function(){this.tween={},this.start={}};var U=function(t,e,r){var n=L({},0),a=function(t){return t.split(";").filter(function(t){return t}).map(function(t){return t.split(":").map(function(t){return t.trim()})})},o=a(e),i=a(t);return r.forEach(function(t){Object.keys(t).forEach(function(t){if(!(t in n)){var e=(0,j.Dm)((0,j.Tk)((0,j.Lo)("bezier"===t?"transform":t)));i=i.filter(function(t){return(!w[t[0]]||!w[e])&&t[0]!==e})}})}),o.forEach(function(t){i=i.filter(function(e){return e[0]!==t[0]})}),o.concat(i).map(function(t){return t.join(":")}).join(";")};I.resetDefaultStyle=function(){var t=this;this.tween={},this.defaultData=this.defaultData.map(function(t){return t.reset=!0,delete t.mode,t});var e=L({},0);Object.keys(this.startDefaultData).forEach(function(r){if(!(r in e)){if("style"===r){var n=U(t.target.style.cssText,t.startDefaultData.style,t.data);t.setValue(r,n)}else t.setValue(r,t.startDefaultData[r]);t.computedStyle=null}})},I.reStart=function(t,e,r){var n=this;this.start={},this.tween={},Object.keys(t||{}).forEach(function(a){(r||!e||t[a]!==e[a])&&(n.target.style[a]=(0,j.YJ)(a,t[a]))}),this.setAttrIsStyle(),this.computedStyle=null},I.onChange=N;var X=r(19616),V=r.n(X),B=Date.now||function(){return new Date().getTime()},H={interval:1,timeout:1,TweenOneTicker:2},Y=function(t){return Object.keys(t).map(function(e){return{key:e,func:t[e]}}).sort(function(t,e){var r=t.key.split("_")[0];return H[e.key.split("_")[0]]-H[r]})},z=function(){};z.prototype={tickFnArray:[],tickKeyObject:{},id:-1,tweenId:0,frame:0,perFrame:Math.round(1e3/60),elapsed:0,lastUpdate:B(),startTime:B(),nextTime:0,time:0};var W=z.prototype;W.add=function(t){var e="TweenOneTicker_"+this.tweenId;return this.tweenId++,this.wake(e,t),e},W.wake=function(t,e){this.tickKeyObject[t]=e,this.tickFnArray=Y(this.tickKeyObject),-1===this.id&&(this.id=V()(this.tick))},W.clear=function(t){delete this.tickKeyObject[t],this.tickFnArray=Y(this.tickKeyObject)},W.sleep=function(){V().cancel(this.id),this.id=-1,this.frame=0};var q=new z;W.tick=function(t){q.elapsed=B()-q.lastUpdate,q.elapsed>300&&(q.startTime+=q.elapsed-q.perFrame),q.lastUpdate+=q.elapsed,q.time=q.lastUpdate-q.startTime;var e=q.time-q.nextTime;if((e>0||!q.frame)&&(q.frame++,q.nextTime+=e),q.tickFnArray.forEach(function(e){return e.func(t)}),!q.tickFnArray.length){q.sleep();return}q.id=V()(q.tick)};var G=0;W.timeout=function(t,e){var r=this;if("function"!=typeof t)return console.warn("not function");var n="timeout_"+Date.now()+"-"+G,a=this.time;return this.wake(n,function(){r.time-a>=(e||0)&&(r.clear(n),t())}),G++,n};var Q=0;W.interval=function(t,e){var r=this;if("function"!=typeof t)return console.warn("not function"),null;var n="interval_"+Date.now()+"-"+Q,a=this.time;return this.wake(n,function(){r.time-a>=(e||0)&&(a=r.time,t())}),Q++,n};var $=Math.round(1e3/60),K=p().oneOfType([p().object,p().array]),J=function(t){function e(t){(0,o.default)(this,e);var r=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return tt.call(r),r.rafID=-1,r.paused=t.paused,r.reverse=t.reverse,r.updateAnim=!1,r.repeatNum=0,r.currentRef=null,r.forced={},r.setForcedJudg(t),r.state={$self:r},r}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var r=e.prevProps,n=e.$self,a={prevProps:t};if(r&&t!==r){if(!n.tween&&!n.dom)return n.updateAnim=!0,a;var o=t.animation;O(r.animation,o)||(t.resetStyle&&n.tween&&n.tween.resetDefaultStyle(),n.updateAnim=!0);var i=t.moment;"number"==typeof i&&i!==r.moment&&(n.tween&&!n.updateAnim?(n.startMoment=i,n.startTime=q.time,t.paused&&n.raf(),n.tween.progressTime>=n.tween.totalTime&&n.play()):n.updateAnim=!0),n.paused===t.paused&&n.reverse===t.reverse||(n.paused=t.paused,n.reverse=t.reverse,n.paused?n.cancelRequestAnimationFrame():n.reverse&&t.reverseDelay?(n.cancelRequestAnimationFrame(),q.timeout(n.restart,t.reverseDelay)):(n.tween&&(n.tween.resetAnimData(),n.tween.resetDefaultStyle()),n.updateAnim||n.restart())),!O(r.style,t.style)&&n.tween&&(n.tween.reStart(t.style,r.style,n.tween.progressTime=0?r:Number.MAX_VALUE;var o=q.time-t.startTime+t.startMoment;t.reverse&&(o=(t.startMoment||0)-(q.time-t.startTime));var i=Math.floor((o=(o=o>n?n:o)<=0?0:o)/t.tween.totalTime)||0;i=i>r?r:i;var s=o-t.tween.totalTime*i;s=s<$&&!t.reverse&&n>=$?0:s,r&&o&&o-t.tween.totalTime*i<$&&t.tween.frame(t.tween.totalTime*i),(o=n&&!t.reverse||!o&&t.reverse?r.timelineMode="onTimelineComplete":i!==t.timelineRepeatNum?r.timelineMode="onTimelineRepeat":r.timelineMode="onTimelineUpdate":r.timelineMode="onTimelineStart",t.timelineRepeatNum=i,t.props.onChange(r)},t.moment=o,t.repeatNum=i,t.tween.frame(s)},this.raf=function(){var e=t.tween;if(t.frame(),e!==t.tween)return null;var r=t.props.repeat,n=-1===r?Number.MAX_VALUE:t.tween.totalTime*(r+1);return t.moment>=n&&!t.reverse||t.paused||t.reverse&&0===t.moment?t.cancelRequestAnimationFrame():null},this.cancelRequestAnimationFrame=function(){q.clear(t.rafID),t.rafID=-1}};J.isTweenOne=!0;var te=g(J),tr=function(t){function e(t){(0,o.default)(this,e);var r=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));tn.call(r),r.keysToEnter=[],r.keysToLeave=[],r.saveTweenTag={},r.onEnterBool=!1,r.animQueue=[],r.isTween={};var n=S(A(r.props));return r.currentChildren=S(A(r.props)),r.state={children:n,$self:r},r}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var r=e.prevProps,n=e.$self,a={prevProps:t};if(r&&t!==r){var o=S(t.children);if(Object.keys(n.isTween).length&&!t.exclusive)return n.animQueue.push(o),a;var i=S(n.currentChildren);a.children=n.changeChildren(o,i)}return a}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){this.onEnterBool=!0}},{key:"changeChildren",value:function(t,e){var r,n,a,o,i=this,s=(r=[],n={},a=[],o=void 0,e.forEach(function(e){e&&(E(t,e.key)?(a.length&&(n[e.key]=a,a=[]),o=e.key):e.key&&a.push(e))}),o||(r=r.concat(a)),t.forEach(function(t){t&&(n.hasOwnProperty(t.key)&&(r=r.concat(n[t.key])),r.push(t),t.key===o&&(r=r.concat(a)))}),r);return this.keysToEnter=[],this.keysToLeave=[],t.forEach(function(t){if(t){var r=t.key,n=E(e,r);i.saveTweenTag[r]&&(i.saveTweenTag[r]=u.cloneElement(i.saveTweenTag[r],{},t)),!n&&r&&i.keysToEnter.push(r)}}),e.forEach(function(e){if(e){var r=e.key;!E(t,r)&&r&&(i.keysToLeave.push(r),delete i.saveTweenTag[r])}}),s}},{key:"render",value:function(){var t=this.state.children;this.currentChildren=t;var e=this.getChildrenToRender(t),r=this.props,o=r.component,i=r.componentProps,s=(r.appear,r.enter,r.leave,r.animatingClassName,r.onEnd,r.exclusive,r.resetStyle,(0,n.default)(r,["component","componentProps","appear","enter","leave","animatingClassName","onEnd","exclusive","resetStyle"]));return o?(0,u.createElement)(o,(0,a.default)({},s,i),e):e[0]||null}}]),e}(u.Component),tn=function(){var t=this;this.onChange=function(e,r,n,a){var o=k(e).length,i=a.target,s="object"==typeof i.className&&"baseVal"in i.className,l="enter"===n||"appear"===n;if("onStart"===a.mode)s?i.className.baseVal=t.setClassName(i.className.baseVal,l):i.className=t.setClassName(i.className,l);else if(a.index===o-1&&"onComplete"===a.mode){if(delete t.isTween[r],s?i.className.baseVal=i.className.baseVal.replace(t.props.animatingClassName[l?0:1],"").trim():i.className=i.className.replace(t.props.animatingClassName[l?0:1],"").trim(),"enter"===n)t.keysToEnter.splice(t.keysToEnter.indexOf(r),1),t.keysToEnter.length||t.reAnimQueue();else if("leave"===n&&(t.keysToLeave.splice(t.keysToLeave.indexOf(r),1),t.currentChildren=t.currentChildren.filter(function(t){return r!==t.key}),!t.keysToLeave.length)){var u=t.currentChildren.map(function(t){return t.key});Object.keys(t.saveTweenTag).forEach(function(e){-1===u.indexOf(e)&&delete t.saveTweenTag[e]}),t.setState({children:t.currentChildren},t.reAnimQueue)}t.props.onEnd({key:r,type:n})}},this.setClassName=function(e,r){var n=e.replace(t.props.animatingClassName[r?1:0],"").trim();return -1===n.indexOf(t.props.animatingClassName[r?0:1])&&(n=(n+" "+t.props.animatingClassName[r?0:1]).trim()),n},this.getTweenChild=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.key;return t.saveTweenTag[n]=u.createElement(te,(0,a.default)({},r,{key:n,component:null}),e),t.saveTweenTag[n]},this.getCoverAnimation=function(e,r,n){var a=void 0;a="leave"===n?t.props.leave:t.props.enter,"appear"===n&&(a=x(t.props.appear,e.key,r)&&t.props.enter||null);var o=x(a,e.key,r),i=t.onChange.bind(t,o,e.key,n),s={key:e.key,animation:o,onChange:i,resetStyle:t.props.resetStyle};return(t.keysToEnter.concat(t.keysToLeave).indexOf(e.key)>=0||!t.onEnterBool&&a)&&!t.saveTweenTag[e.key]&&(t.isTween[e.key]=n),t.getTweenChild(e,s)},this.getChildrenToRender=function(e){return e.map(function(e,r){if(!e||!e.key)return e;var n=e.key;return t.keysToLeave.indexOf(n)>=0?t.getCoverAnimation(e,r,"leave"):(t.keysToEnter.indexOf(n)>=0||t.isTween[n]&&-1===t.keysToLeave.indexOf(n))&&!("enter"===t.isTween[n]&&t.saveTweenTag[n])?t.getCoverAnimation(e,r,"enter"):t.onEnterBool?t.saveTweenTag[n]:t.getCoverAnimation(e,r,"appear")})},this.reAnimQueue=function(){if(!Object.keys(t.isTween).length&&t.animQueue.length){var e=t.changeChildren(t.animQueue[t.animQueue.length-1],t.state.children);t.setState({children:e}),t.animQueue=[]}}};tr.propTypes={component:p().any,componentProps:p().object,children:p().any,style:p().object,appear:p().bool,enter:p().any,leave:p().any,animatingClassName:p().array,onEnd:p().func,resetStyle:p().bool,exclusive:p().bool},tr.defaultProps={component:"div",componentProps:{},appear:!0,animatingClassName:["tween-one-entering","tween-one-leaving"],enter:{x:50,opacity:0,type:"from"},leave:{x:-50,opacity:0},onEnd:function(){},resetStyle:!0,exclusive:!1},tr.isTweenOneGroup=!0;var ta=g(tr);te.TweenOneGroup=ta,te.easing=D,te.plugins=P,te.ticker=q,te.Tween=R;var to=r(20266),ti=r(32228),ts=0,tl=function(t){function e(t){(0,o.default)(this,e);var r=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.setDefaultData=function(t){(0,ti.Zk)(t).forEach(function(t,e){var n,o=(Array.isArray(n=t.playScale)?2===n.length?n:[n[0]||0,n[1]||1]:n?[n,1]:[0,1]).map(function(t){return t*r.clientHeight}),i=(0,a.default)({},t);delete i.playScale;var s=(0,a.default)({},t);delete s.playScale,s.delay=o[0],i.delay=o[0],s.duration=o[1]-o[0],i.duration=o[1]-o[0],s.onStart=null,s.onUpdate=null,s.onComplete=null,s.onRepeat=null,i.onStart=i.onStart||ti.ZT,i.onComplete=i.onComplete||ti.ZT,i.onUpdate=i.onUpdate||ti.ZT,i.onStartBack=i.onStartBack||ti.ZT,i.onCompleteBack=i.onCompleteBack||ti.ZT,r.defaultTweenData[e]=s,r.defaultData[e]=i})},r.resizeEventListener=function(){r.defaultData[r.defaultData.length-1]&&r.defaultData[r.defaultData.length-1].onCompleteBool&&!r.props.always||(r.scrollTop=(0,ti.Xh)(),r.target=r.props.targetId&&document.getElementById(r.props.targetId),r.clientHeight=r.target?r.target.clientHeight:(0,ti.uK)(),r.setDefaultData(r.props.animation||{}),r.timeline&&r.timeline.resetDefaultStyle(),r.timeline=new R(r.dom,r.defaultTweenData),r.timeline.init(),r.scrollEventListener())},r.scrollEventListener=function(){var t=r.target?r.target.scrollTop:(0,ti.Xh)();r.clientHeight=r.target?r.target.clientHeight:(0,ti.uK)();var e=r.props.location?document.getElementById(r.props.location):r.dom;if(!e)throw Error('"location" is null');var n=r.target?r.target.getBoundingClientRect().top:0,a=e.getBoundingClientRect().top+t-n,o=t-a+r.clientHeight,i=r.scrollTop-a+r.clientHeight;r.defaultData.forEach(function(t,e){var n=r.defaultData.map(function(t,r){return r=t.delay+n?t.onStartBool||(t.onStartBool=!0,a=!0,t.onStart()):t.onStartBool=!1,o<=t.delay+t.duration+n?!t.onStartBackBool&&t.onCompleteBool&&(t.onStartBackBool=!0,a=!0,t.onStartBack()):t.onStartBackBool=!1,o>=t.delay+t.duration+n?t.onCompleteBool||(t.onCompleteBool=!0,a=!0,t.onComplete()):t.onCompleteBool=!1,o>=t.delay+n&&o<=t.delay+t.duration+n&&!a&&t.onUpdate(o/(t.delay+t.duration+n))}),q.clear(r.tickerId),r.tickerId="scrollParallax"+Date.now()+"-"+ts,++ts>=Number.MAX_VALUE&&(ts=0);var s=q.frame;q.wake(r.tickerId,function(){var t=(q.frame-s)*q.perFrame,e=h().easeOutQuad(t,.08,1,300);r.timeline.frame(i+e*(o-i)),t>=300&&q.clear(r.tickerId)}),r.scrollTop=t,r.defaultData[r.defaultData.length-1].onCompleteBool&&r.eventType&&!r.props.always&&to.Z.removeEventListener(r.eventType,r.scrollEventListener,r.target)},r.scrollTop=0,r.defaultTweenData=[],r.defaultData=[],r.state={$self:r},r}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var r=e.prevProps,n=e.$self;return r&&t!==r&&!(0,ti.Xv)(r.animation,t.animation)&&(n.setDefaultData(t.animation||{}),n.timeline.resetAnimData(),n.timeline.setDefaultData(n.defaultTweenData)),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){this.dom=c.findDOMNode(this);var t=Date.now(),e=to.Z._listeners.scroll?to.Z._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.eventResize="resize.resizeEvent"+t+e,this.resizeEventListener(),to.Z.addEventListener(this.eventResize,this.resizeEventListener,this.target),this.timeline.frame(0),this.scrollEventListener(),to.Z.addEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"componentWillUnmount",value:function(){to.Z.removeEventListener(this.eventType,this.scrollEventListener,this.target),to.Z.removeEventListener(this.eventResize,this.resizeEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=(t.animation,t.always,t.component,t.location,t.targetId,t.componentProps),r=(0,n.default)(t,["animation","always","component","location","targetId","componentProps"]),o=(0,a.default)({},r.style);return Object.keys(o).forEach(function(t){if(t.indexOf("filter")>=0||t.indexOf("Filter")>=0)for(var e=["Webkit","Moz","Ms","ms"],r=0;r-1;)(f=u[p]).n===s&&f.c===e?u.splice(p,1):0===c&&(c=p+1);var d=r||this._eventTarget;u.splice(c,0,{c:e,n:s,t:i}),!this._listFun[l]&&(this._listFun[l]=this._listFun[l]||this.dispatchEvent.bind(this,{type:i,target:r}),d.addEventListener?d.addEventListener(i,this._listFun[l],n):d.attachEvent&&d.attachEvent("on"+i,this._listFun[l]))},removeEventListener:function(t,e,r,n){var o=t.split("."),i=o[0],s=o[1],l=""+i+(r?"_"+r.getAttribute(a):""),u=this._listeners[l],c=void 0,f=n;if(s||(f=!0),u){c=u.length;for(var p=r||this._eventTarget;--c>-1;)if(u[c].c===e&&(f||u[c].n===s)){if(u.splice(c,1),!u.length){var d=this._listFun[l];delete this._listeners[l],delete this._listFun[l],p.removeEventListener?p.removeEventListener(i,d):p.detachEvent&&p.detachEvent("on"+i,d)}if(!f)return}}},dispatchEvent:function(t,e){var r=t.type,n=t.target,o=""+r+(n?"_"+n.getAttribute(a):""),i=this._listeners[o],s=void 0,l=void 0,u=void 0;if(i){for(s=i.length,l=this._eventTarget;--s>-1;)if(u=i[s]){var c=e||{type:r,target:l};u.c.call(l,c)}}},removeAllType:function(t,e){var r=this,o=t.split("."),i=o[0],s=o[1],l=""+i+(e?"_"+e.getAttribute(a):""),u=this._listeners[l];this.recoverLists=this.recoverLists.concat((0,n.dataToArray)(u).filter(function(t){return t.n&&t.n.match(s)})),this.recoverLists.forEach(function(t){r.removeEventListener(t.t+"."+t.n,t.c,e)})},reAllType:function(t,e){var r=this,n=t.split("."),a=n[0],o=n[1];this.recoverLists=this.recoverLists.map(function(t){return t.t===a&&t.n.match(o)?(r.addEventListener(t.t+"."+t.n,t.c,e),null):t}).filter(function(t){return t})}},e.default=new o("undefined"!=typeof document&&window),t.exports=e.default},3765:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=h(r(61707)),a=h(r(61200)),o=h(r(82864)),i=h(r(73006)),s=h(r(97559)),l=h(r(71212)),u=h(r(75271)),c=h(r(30967)),f=h(r(40507)),p=h(r(26479)),d=r(10407);function h(t){return t&&t.__esModule?t:{default:t}}var m=function(t){function e(t){(0,o.default)(this,e);var r=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.getParam=function(t){r.clientHeight=r.target?r.target.clientHeight:(0,d.windowHeight)();var e=r.target?r.target.scrollTop:(0,d.currentScrollTop)(),n=r.dom.getBoundingClientRect(),a=r.target?r.target.getBoundingClientRect().top:0,o=n.top+e-a;r.elementShowHeight=e-o+r.clientHeight;var i=(0,d.transformArguments)(r.props.playScale),s=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[0]));s[2]?"px"===s[2]?r.playHeight=parseFloat(s[1]):r.playHeight=r.clientHeight*parseFloat(s[1])/100:r.playHeight=r.clientHeight*parseFloat(i[0]);var l=n.height,u=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[1]));u[2]?"px"===u[2]?r.leavePlayHeight=parseFloat(u[1]):r.leavePlayHeight=l*parseFloat(u[1])/100:r.leavePlayHeight=l*parseFloat(i[1]);var c=r.props.replay?r.elementShowHeight>=r.playHeight&&r.elementShowHeight<=r.clientHeight+r.leavePlayHeight:r.elementShowHeight>=r.playHeight,f=c?"enter":"leave",p=r.enter!==c||"boolean"!=typeof r.enter?f:null;p&&r.props.onChange({mode:p,id:r.props.id}),r.props.onScroll({domEvent:t,scrollTop:e,showHeight:r.elementShowHeight,offsetTop:o,id:r.props.id}),r.enter=c},r.addScrollEvent=function(){p.default.addEventListener(r.eventType,r.scrollEventListener,r.target),(0,d.currentScrollTop)()||r.scrollEventListener()},r.scrollEventListener=function(t){r.getParam(t)},r.state={$self:r},r}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var r=e.prevProps,n=e.$self;return r&&t!==r&&n.scrollEventListener(),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){if(!d.windowIsUndefined){this.dom=c.default.findDOMNode(this);var t=Date.now();this.target=this.props.targetId&&document.getElementById(this.props.targetId);var e=p.default._listeners.scroll?p.default._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.addScrollEvent()}}},{key:"componentWillUnmount",value:function(){p.default.removeEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=t.component,r=(t.playScale,t.location,t.targetId,t.onScroll,t.onChange,t.replay,t.componentProps),o=(0,a.default)(t,["component","playScale","location","targetId","onScroll","onChange","replay","componentProps"]);return u.default.createElement(e,(0,n.default)({},o,r))}}]),e}(u.default.Component);m.propTypes={component:f.default.any,playScale:f.default.any,id:f.default.string,onChange:f.default.func,onScroll:f.default.func,location:f.default.string,targetId:f.default.string,replay:f.default.bool,componentProps:f.default.object},m.defaultProps={component:"div",onChange:d.noop,onScroll:d.noop,playScale:.5,replay:!1,componentProps:{}},m.isScrollElement=!0,e.default=m,t.exports=e.default},69905:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=m(r(61707)),a=m(r(61200)),o=m(r(82864)),i=m(r(73006)),s=m(r(97559)),l=m(r(71212)),u=r(75271),c=m(u),f=m(r(40507)),p=m(r(26479)),d=m(r(3765)),h=r(10407);function m(t){return t&&t.__esModule?t:{default:t}}var v=function(t){function e(t){(0,o.default)(this,e);var r=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.scrollEventListener=function(t){r.getParam(t);var e=r.state.show,n=r.props,a=n.always,o=n.replay,i=r.elementShowHeight>r.clientHeight+r.leavePlayHeight;if(r.enter||!o&&i)e||r.setState({show:!0}),!a&&r.eventType&&p.default.removeEventListener(r.eventType,r.scrollEventListener,r.target);else if(a){var s=r.elementShowHeightObject.keys(r).length?e:r,o=Object.keys(e).length>Object.keys(r).length?r:e;Object.keys(a).forEach(function(e){n&&(e in o||(n=!1),"object"===(0,c.Z)(a[e])&&"object"===(0,c.Z)(o[e])?n=t(a[e],o[e]):"function"==typeof a[e]&&"function"==typeof o[e]?a[e].toString().replace(/\s+/g,"")!==o[e].toString().replace(/\s+/g,"")&&(n=!1):a[e]!==o[e]&&(n=!1))})};return Array.isArray(e)&&Array.isArray(r)?e.forEach(function(t,e){a(t,r[e])}):a(e,r),n}(m,Z.current)){var t,e=((t=F.current)||0===t?Array.isArray(t)?t:[t]:[]).map(function(t){return t instanceof Element||!(t instanceof i.Component)?t:(0,s.findDOMNode)(t)}).filter(function(t,e){return t instanceof Element?t:(console.warn("Warning: TweenOne tag[".concat(e,"] is not dom.")),!1)});if(N.current&&A&&N.current.kill(),E&&N.current){var r=d?P:(0,a.Z)((0,a.Z)({},P),j.props.style),n=Object.keys(r).map(function(t){return"".concat((0,u.Rs)(t),":").concat((0,u.YJ)(t,r[t]))}).join(";");e.forEach(function(t){t.setAttribute("style",n),delete t._tweenOneVars})}N.current=m&&(0,l.ZP)(e,{animation:m,attr:v,yoyo:T,moment:S,repeat:b,reverse:g,paused:y,repeatDelay:w,onChange:k,onChangeTimeline:O}),Z.current=m}},[m]),(0,i.useEffect)(function(){return function(){N.current&&N.current.kill&&N.current.kill()}},[]);var R=function(t){F.current=t,e&&"current"in e?e.current=t:"function"==typeof e&&e(t)};if(!d&&j&&"string"!=typeof j&&"boolean"!=typeof j&&"number"!=typeof j){var I=j.props||{},U=I.style,X=I.className,V=void 0===X?"":X,B=(0,a.Z)((0,a.Z)({},U),P),H=D?"".concat(D," ").concat(V).trim():V;return i.cloneElement(j,{style:B,ref:R,className:(0,n.Z)(new Set(H.split(/\s+/))).join(" ").trim()||void 0})}return d?(0,i.createElement)(d,(0,a.Z)((0,a.Z)({ref:R},_),h)):(console.warn("Warning: component is null, children must be ReactElement."),j)});d.isTweenOne=!0,d.displayName="TweenOne";var h=d},23555:function(t,e,r){"use strict";r.d(e,{Z:function(){return m}});var n=r(26407),a=r(12309),o=r(76729),i=r(10582),s=r(75271);function l(t){var e=[];return s.Children.forEach(t,function(t){e.push(t)}),e}function u(t,e){var r=null;return t&&t.forEach(function(t){!r&&t&&t.key===e&&(r=t)}),r}function c(t,e,r){return"function"==typeof t?t({key:e,index:r}):t}var f=r(77455),p=r(5257),d=["component","componentProps","leave","enter","appear","resetStyle","animatingClassName","onEnd","exclusive"],h=s.forwardRef(function(t,e){var r=t.component,h=void 0===r?"div":r,m=t.componentProps,v=void 0===m?{}:m,y=t.leave,g=void 0===y?{x:-50,opacity:0}:y,b=t.enter,w=void 0===b?{x:50,opacity:0,type:"from"}:b,T=t.appear,S=void 0===T||T,k=t.resetStyle,O=void 0===k||k,E=t.animatingClassName,x=void 0===E?["tween-one-entering","tween-one-leaving"]:E,A=t.onEnd,_=void 0===A?function(){}:A,M=t.exclusive,j=void 0!==M&&M,D=(0,i.Z)(t,d),C=(0,s.useRef)([]),P=(0,s.useRef)([]),F=(0,s.useRef)({}),Z=(0,s.useRef)(!1),N=(0,s.useRef)([]),L=(0,s.useRef)({}),R=l(t&&t.children),I=(0,s.useRef)(R),U=(0,s.useState)(R),X=(0,o.Z)(U,2),V=X[0],B=X[1],H=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.key;return F.current[r]=s.createElement(p.Z,(0,a.Z)((0,a.Z)({},e),{},{key:r,component:null}),t),F.current[r]},Y=function(t,e){var r=t.replace(x[e?1:0],"").trim();return -1===r.indexOf(x[e?0:1])&&(r="".concat(r," ").concat(x[e?0:1]).trim()),r},z=function(t,e){var r,n,a,o,i=(r=[],n={},a=[],o=null,e.forEach(function(e){e&&(e.key&&u(t,e.key)?(a.length&&(n[e.key]=a,a=[]),o=e.key):e.key&&a.push(e))}),o||(r=r.concat(a)),t.forEach(function(t){t&&(t.key&&n.hasOwnProperty(t.key)&&(r=r.concat(n[t.key])),r.push(t),t.key===o&&(r=r.concat(a)))}),r);return C.current=[],P.current=[],t.forEach(function(t){if(t){var r=t.key,n=u(e,r);r&&F.current[r]&&(F.current[r]=s.cloneElement(F.current[r],{},t)),!n&&r&&C.current.push(r)}}),e.forEach(function(e){if(e){var r=e.key;!u(t,r)&&r&&(P.current.push(r),delete F.current[r])}}),i},W=function(){!Object.keys(L.current).length&&N.current.length&&(B(z(N.current[N.current.length-1],I.current)),N.current=[])},q=function(t,e,r){var a=r.targets,o="object"===(0,n.Z)(a.className)&&"baseVal"in a.className,i="enter"===e||"appear"===e;if(t&&"onTimelineComplete"===r.mode){if(delete L.current[t],o?a.className.baseVal=a.className.baseVal.replace(x[i?0:1],"").trim():a.className=a.className.replace(x[i?0:1],"").trim(),i)C.current.splice(C.current.indexOf(t),1),C.current.length||W();else if("leave"===e&&(P.current.splice(P.current.indexOf(t),1),I.current=I.current.filter(function(e){return t!==e.key}),!P.current.length)){var s=I.current.map(function(t){return t.key});Object.keys(F.current).forEach(function(t){-1===s.indexOf(t)&&delete F.current[t]}),B(I.current)}_({key:t,type:e,target:r.targets})}},G=function(t,e,r){var n="leave"===r?g:w;"appear"===r&&(n=c(S,t.key,e)&&w||null);var a=c(n,t.key,e),o="appear"!==r||S?Y(t.props.className||"","enter"===r||"appear"===r)||void 0:t.props.className,i={key:t.key,animation:a,onChangeTimeline:function(e){q(t.key,r,e)},resetStyle:O,className:o};return(t.key&&C.current.concat(P.current).indexOf(t.key)>=0||!Z.current&&n)&&t.key&&!F.current[t.key]&&(L.current[t.key]=r),H(t,i)};(0,f.L)(function(){if(Z.current){var e=l(t.children).filter(function(t){return t}),r=l(I.current);Object.keys(L.current).length&&!j?N.current.push(e):B(z(e,r))}},[t.children]),(0,f.L)(function(){W()}),(0,s.useEffect)(function(){Z.current=!0},[]),I.current=V;var Q=V.map(function(t,e){if(!t||!t.key)return t;var r=t.key;return P.current.indexOf(r)>=0?G(t,P.current.indexOf(r),"leave"):(C.current.indexOf(r)>=0||L.current[r]&&-1===P.current.indexOf(r))&&!("enter"===L.current[r]&&F.current[r])?G(t,C.current.indexOf(r),"enter"):Z.current?F.current[r]:G(t,e,"appear")});return f.Q?h?(0,s.createElement)(h,(0,a.Z)((0,a.Z)((0,a.Z)({},D),v),{},{ref:e}),t.children):s.createElement(s.Fragment,null,t.children):h?(0,s.createElement)(h,(0,a.Z)((0,a.Z)((0,a.Z)({},D),v),{},{ref:e}),Q):Q[0]?(0,s.cloneElement)(Q[0],{ref:e}):null});h.displayName="TweenOneGroup",h.isTweenOneGroup=!0;var m=h},28272:function(t,e,r){"use strict";var n=r(51440),a=r(14983),o=r(2759),i=r(5257);i.Z.plugins=n.Z,i.Z.ticker=a.Z,i.Z.easing=o.Z,e.ZP=i.Z},77455:function(t,e,r){"use strict";r.d(e,{L:function(){return o},Q:function(){return a}});var n=r(75271),a=!window.document||!window.document.createElement,o=a?n.useEffect:n.useLayoutEffect},2759:function(t,e,r){"use strict";var n=r(96839),a=r.n(n),o=r(27947);a().path=function(t,e){var r=e||{};if(o.Q6)return"linear";for(var n=(0,o.cP)(t),i=n.getTotalLength(),s=r.rect||100,l=r.lengthPixel||200,u=[],c=0;c=c})[0]||n.getPointAtLength(l*i)).y/s}},e.Z=a()},14983:function(t,e,r){"use strict";var n=r(9130),a=r(82349),o=r(19616),i=r.n(o),s=r(27947),l=new(function(){function t(){var e=this;(0,n.Z)(this,t),this.lagThreshold=150,this.adjustedLag=33,this.emptyTime=0,this.elapsed=0,this.frameFPS=1e3/240,this.startTime=0,this.prevTime=0,this.useTimeout=!1,this.lastUpdate=this.startTime,this.nextTime=this.frameFPS,this.req=void 0,this.id=-1,this.tweenId=0,this.tickFn=[],this.state="sleep",this.time=0,this.frame=0,this.removeReq=function(t){return e.useTimeout?clearTimeout(t):(0,o.cancel)(t)},this.tick=function(){var t=e.tickFn;e.startTime||(e.startTime=(0,s.hK)()-e.frameFPS,e.lastUpdate=e.startTime),e.elapsed=(0,s.hK)()-e.lastUpdate,e.elapsed>e.lagThreshold&&(e.startTime+=e.elapsed-e.adjustedLag),e.lastUpdate+=e.elapsed,e.time=e.lastUpdate-e.startTime;var r=e.time-e.nextTime;if(r>0){e.frame++,e.nextTime+=r+(r>=e.frameFPS?4:e.frameFPS-r);for(var n=e.time-e.prevTime,a=0;a=e.emptyTime)){e.emptyTime=0,e.sleep();return}e.req&&(e.id=e.req(e.tick))},this.wake=function(){e.id&&e.sleep(),e.req=e.useTimeout?function(t){return setTimeout(t,e.frameFPS)}:i(),e.tick(),e.state="wake"},this.sleep=function(){e.removeReq(e.id),e.id=-1,e.req=void 0,e.state="sleep"},this.add=function(t){var r="TweenOneTicker_".concat(e.tweenId);return e.tweenId+=1,-1===e.tickFn.findIndex(function(t){return t.key===r})&&e.tickFn.push({key:r,fn:t}),e.emptyTime=0,e.req||e.wake(),r},this.clear=function(t){e.tickFn=e.tickFn.filter(function(e){return e.key!==t&&e.fn!==t})},this.timeout=function(t,r){if("function"!=typeof t)return console.warn("not function");var n=e.time,a=e.add(function(){e.time-n>=(r||0)&&(e.clear(a),t())});return a},this.interval=function(t,r){if("function"!=typeof t)return console.warn("not function"),null;var n=e.time;return e.add(function(){e.time-n>=(r||0)&&(n=e.time,t())})}}return(0,a.Z)(t,[{key:"fps",value:function(t,e){this.frameFPS=1e3/(t||240),this.nextTime=this.time+this.frameFPS,this.useTimeout=void 0===e?this.useTimeout:e,this.useTimeout&&(this.req=function(e){return setTimeout(e,t)})}}]),t}());e.Z=l},89293:function(t,e,r){"use strict";r.d(e,{ZP:function(){return N}});var n=r(26407),a=r(4860),o=r.n(a);function i(t,e,r,n,a,o,i){try{var s=t[o](i),l=s.value}catch(t){r(t);return}s.done?e(l):Promise.resolve(l).then(n,a)}var s=r(9130),l=r(82349),u=r(51440),c=r(12309),f=r(9159),p=r(27947),d=(0,l.Z)(function t(e){var r=this;(0,s.Z)(this,t),this.props=void 0,this.computedStyle=void 0,this.root=void 0,this.index=void 0,this.targetIndex=void 0,this.tweenVars={},this.transformName=void 0,this.filterName=void 0,this.target=void 0,this.start={},this.startAt={},this.propsData={data:{},type:{},unit:{},count:{},splitStr:{},isTransform:{}},this.setDefaultData=function(){var t=r.props;for(var e in t){var n=t[e],a=n.split&&n.split(/\s+|,/).length>1||e.match(/color|fill|stroke/i)||e.match(/shadow/i);if(("background"===e||"backgroundImage"===e)&&n.match(/[a-z|-]+\(([\s\S]*?)\)/gi)){r.propsData.data[e]={value:n,plugin:u.Z.GradientsPlugin};continue}if(a){r.propsData.data[e]={value:n,plugin:u.Z.ArrayPlugin};continue}var o=(0,f.Lo)(e),i=r.getTweenData(o,t[e]);r.propsData.data[o]=i.data[o],r.propsData.type[o]=i.type[o],r.propsData.unit[o]=i.unit[o],r.propsData.count[o]=i.count[o],r.propsData.isTransform[o]="transform"===(0,f.dt)(o),i.splitStr[o]&&(r.propsData.splitStr[o]=i.splitStr[o])}},this.getTweenData=function(t,e){var r={data:{},isTransform:{},type:{},unit:{},count:{},splitStr:{}};r.data[t]=e;var n="string"==typeof r.data[t];r.unit[t]=n?r.data[t].replace(/[^a-z|%]/g,""):"",r.count[t]=n?r.data[t].replace(/[^+|=|-]/g,""):"";var a=n?parseFloat(r.data[t].replace(/[a-z|%|=]/g,"")):r.data[t];return r.data[t]=a||0===a?a:r.data[t],r},this.setStartAtValue=function(t,e){return"object"===(0,n.Z)(e)?(0,p.kp)(t,e):t},this.getAnimStart=function(){var t=r.target,e=r.root,a=r.targetIndex,o=r.propsData,i=r.startAt,s=r.start,l=r.tweenVars,u={};for(var d in i)u[(0,f.Lo)(d)]=i[d];for(var h in r.computedStyle=r.computedStyle||(0,p.Dx)(t),l.style=l.style||{},o.data){var m=o.data[h];if(m.plugin){var v=new m.plugin(m.value,h);v.target=t,v.root=e,v.parent=parent,v.index=r.index,v.targetIndex=a,v.tweenVars=l,v.startAt=r.startAt,v.computedStyle=r.computedStyle,m.plugin=v,s[h]=v.getAnimStart();continue}var y=(0,f.dt)(h),g="transform"===y?r.transformName:y;g="filter"===y?r.filterName:g;var b=l.style[g],w=null!=b?b:r.computedStyle[y],T=null!==(x=u[h])&&void 0!==x?x:w,S=o.unit[h],k="";if("transform"===y){var O,E,x,A,_,M=(O=O||(T===b?(0,c.Z)({},b):(0,f.Ck)(r.computedStyle[r.transformName])))[h];u&&h in u&&(M=r.setStartAtValue(null!==(A=null!==(_=u[h].vars)&&void 0!==_?_:null==b?void 0:b[h])&&void 0!==A?A:M,u[h]),k=u[h].unit,"scale"===h?(O.scaleX=M,O.scaleY=M):O[h]=M),k!==S&&(M=(0,p.o7)({target:t,computedStyle:r.computedStyle,style:y,value:M,startUnit:k,endUnit:S}),"scale"===h?(O.scaleX=M,O.scaleY=M):O[h]=M),s[r.transformName]=O}else if("filter"===y){var j,D,C=f._T.filterConvert[h]||h;(E=E||(T===b?(0,c.Z)({},b):(0,f.GX)(w)||{}))[C]=E[C]||p.eL[C];var P=E[C];u&&h in u&&(P=r.setStartAtValue(null!==(j=u[h].vars)&&void 0!==j?j:P,u[h]),k=u[h].unit,E[C]=P),S!==k&&(E[C]=(0,p.o7)({target:t,computedStyle:r.computedStyle,style:y,value:P,startUnit:k,endUnit:S,fixed:(null===(D=r.computedStyle)||void 0===D?void 0:D.position)==="fixed"})),s[r.filterName]=E}else{(T=null!==(F=u[h])&&void 0!==F?F:w)&&"none"!==T&&"auto"!==T||(T=""),S=o.unit[y],k="object"===(0,n.Z)(T)?T.unit:"".concat(T).replace(/[^a-z|%]/g,""),T=r.setStartAtValue(w,u[h]),S!==k&&(T=(0,p.o7)({target:t,computedStyle:r.computedStyle,style:y,value:parseFloat(T),startUnit:k,endUnit:S,fixed:(null===(Z=r.computedStyle)||void 0===Z?void 0:Z.position)==="fixed"}));var F,Z,N=parseFloat(T);s[y]=isNaN(N)?(0,p.AG)(y):N}}return s},this.render=function(t){var e=r.propsData,n=r.start,a=r.tweenVars.style||{};n[r.transformName]&&!a[r.transformName]&&(a[r.transformName]=(0,c.Z)({},n[r.transformName])),n[r.filterName]&&!a[r.filterName]&&(a[r.filterName]=(0,c.Z)({},n[r.filterName]));var o=a[r.transformName],i=a[r.filterName],s=e.data,l=e.unit,u=e.count,d=e.isTransform;for(var h in s){var m=s[h];if(m.plugin){a[h]=m.plugin.render(t);continue}var v=d[h],y=v?n[r.transformName][h]:n[h],g=l[h],b=u[h];if(v){if("scale"===h){var w=n[r.transformName].scaleX,T=n[r.transformName].scaleY;"="===b.charAt(1)?(o.scaleX=w+m*t,o.scaleY=T+m*t):(o.scaleX=(m-w)*t+w,o.scaleY=(m-T)*t+T)}else o[h]=(0,p.NA)(parseFloat(y),m,t,b,g);o.text=(0,p.q$)(a[r.transformName])}else if(f._T.filter.indexOf(h)>=0){var S=f._T.filterConvert[h]||h;for(var k in y=parseFloat(n[r.filterName][S])||0,i[S]=(0,p.NA)(y,m,t,b,g),i.text="",i)"text"!==k&&(i.text="".concat(i.text," ").concat(k,"(").concat(i[k],")").trim())}else{var O=(0,f.YJ)(h,0);O="number"==typeof O?0:O.replace(/[^a-z|%]/g,""),g=g||O,"string"==typeof m?a[h]=m:a[h]=(0,p.NA)(y,m,t,b,g)}}return a},this.props=e,this.transformName=(0,f.Yf)("transform"),this.filterName=(0,f.Yf)("filter")||"filter",this.setDefaultData()});d.key="style",d.className="style";var h=r(1874),m=r(23248),v=r(16635);function y(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,v.Z)(t,e)}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var r,a=g(t);return r=e?Reflect.construct(a,arguments,g(this).constructor):a.apply(this,arguments),function(t,e){if(e&&("object"===(0,n.Z)(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return(0,m.Z)(t)}(this,r)}}var w=(0,l.Z)(function t(e,r){(0,s.Z)(this,t),this.value=void 0,this.key=void 0,this.root=void 0,this.index=void 0,this.style={},this.start={},this.startAt={},this.target=void 0,this.value=e,this.key=r});w.className=void 0,w.key=void 0;var T=function(t){y(r,t);var e=b(r);function r(t,n){(0,s.Z)(this,r),(a=e.call(this,t,n)).value=void 0,a.key=void 0,a.start=[],a.tweenVars={},a.vars={},a.computedStyle=void 0,a.propsData={data:[],unit:[],count:[]},a.setDefaultData=function(t,e){var r,n=(0,m.Z)(a),o=n.propsData,i=n.value,s=(0,h.Z)(i);"color"===t&&(s[3]=null!==(r=s[3])&&void 0!==r?r:1),o.type=t,o.data=s.map(function(t){return parseFloat(t)||0===parseFloat(t)?parseFloat(t):t}),o.unit=s.map(function(t){return t.toString().replace(/[^a-z|%]/g,"")}),o.count=s.map(function(t){return t.toString().replace(/[^+|=|-]/g,"")}),e&&(o.splitStr=e)},a.convertToMarksArray=function(t,e,r,n){var o=(r||"").toString().replace(/[^a-z|%]/g,""),i="number"==typeof n?t[n]:void 0;return o===i?parseFloat(r):parseFloat(r)||0===parseFloat(r)?(0,p.o7)({target:a.target,computedStyle:a.computedStyle,style:e,value:r,startUnit:o,endUnit:i,isOriginWidth:"transformOrigin"===e&&!n}):r},a.getAnimStart=function(){var t,e,r,n,o,i,s,l,u,c=(0,m.Z)(a),d=c.startAt,h=c.target,v=c.key,y=c.propsData,g=c.computedStyle,b=c.tweenVars,w=null!==(t=null!==(e=null!==(r=null==d?void 0:d[v])&&void 0!==r?r:g?null===(n=b.style)||void 0===n?void 0:n[v]:b[v])&&void 0!==e?e:(g||h)[v])&&void 0!==t?t:"",T=y.data.indexOf("inset");-1===T||w.match("inset")||"shadow"!==y.type||(o=w,w=""),w&&"none"!==w&&"auto"!==w||(w=""),w="shadow"===y.type?(0,f.hy)(w,v):w,w="color"===y.type?(0,f.lu)(w):w,w="string"===y.type?w.split(/[\s|,]/):w,p.Fi[v]&&(w[1]=null!==(i=w[1])&&void 0!==i?i:w[0],w[2]=null!==(s=w[2])&&void 0!==s?s:w[0],w[3]=null!==(l=null!==(u=w[3])&&void 0!==u?u:w[1])&&void 0!==l?l:w[0]);var S=y.unit,k=w.map(function(t,e){return"NaN"===parseFloat(t).toString()?t:a.convertToMarksArray(S,v,t,e)});return a.start=k.concat(T>=0?"inset":[]),a.start.oldShadow=o,a.start},a.render=function(t){var e=(0,m.Z)(a),r=e.start,n=e.propsData,o=n.type,i=n.splitStr,s=n.data,l=n.count,u=n.unit,c=s.map(function(e,n){return"string"==typeof e?e:(0,p.NA)(r[n],e,t,l[n],u[n])});switch(o){case"string":c=c.join(i);break;case"color":c=(0,f.Lq)(c);break;case"shadow":var d=c.indexOf("inset")>=0,h=d?c.filter(function(t){return"inset"!==t}):c,v=h.slice(0,h.length-4).map(function(t){return"number"==typeof t?"".concat(t,"px"):t}),y=(0,f.Lq)(h.slice(h.length-4,h.length));c="".concat(r.oldShadow?"".concat(r.oldShadow,","):"").concat(v.join(" ")," ").concat(y," ").concat(d?"inset":"").trim()}return c},a.value=t,a.key=n;var a,o="",i="";return"string"==typeof t&&(n.match(p.gU)?(a.value=(0,f.hy)(t,n),o="shadow"):n.match(/color|fill|stroke/i)||t.match(p.rV)?(a.value=(0,f.lu)(t),o="color"):(i=t.replace(/[^\s|,]/g,"").replace(/\s+/g," "),a.value=t.split(/[\s|,]/),o="string")),a.setDefaultData(o,i),a}return(0,l.Z)(r)}(w);T.className="ArrayPlugin";var S={linear:{"to top":"0deg","to top right":"45deg","to right top":"45deg","to right":"90deg","to right bottom":"135deg","to bottom right":"135deg","to bottom":"180deg","to bottom left":"225deg","to left bottom":"225deg","to left":"270deg","to left top":"315deg","to top left":"315deg"},radial:{center:"50% 50%",top:"50% 0%","top right":"100% 0%","right top":"100% 0%",right:"100% 50%","right bottom":"100% 100%","bottom right":"100% 100%",bottom:"50% 100%","bottom left":"0% 100%","left bottom":"0% 100%",left:"0% 50%","left top":"0% 0%","top left":"0% 0%"}},k=["closest-side","closest-corner","farthest-side","farthest-corner"],O=function(t,e,r){console.warn("Warning: The gradient ".concat(t,"(").concat(e," => ").concat(r,") is different, which has been automatically converted to animation gradient ").concat(t,"(").concat(r,")."))},E=function(t){return"url"===t||t.indexOf("image")>=0||"paint"===t||"cross-fade"===t||"element"===t},x=function(t){y(r,t);var e=b(r);function r(t){var n;return(0,s.Z)(this,r),(n=e.call(this,t,"backgroundImage")).value=void 0,n.tweenVars={},n.vars=[],n.computedStyle=void 0,n.defaultStartVars=[],n.getPosition=function(t){return t.map(function(t){return{data:parseFloat(t),unit:t.replace(/[^a-z|%]/g,"")}})},n.getAngle=function(t,e){var r,a,o,i;switch(t.replace(/-|gradient|repeating]/g,"")){case"linear":o=n.getPosition((S.linear[e]||e||S.linear["to bottom"]).split(" "));break;case"radial":var s=e.split(" ");r=s.find(function(t){return k.indexOf(t)>=0})||k[3],a=s.find(function(t){return"circle"===t||"ellipse"===t})||"ellipse";var l=RegExp("".concat(r,"|").concat(a,"|at"),"g"),u=e.replace(l,"").trim();i=n.getPosition((S.radial[u]||u||S.radial.center).split(" "));break;case"conic":var c=e.split("at").map(function(t){return t.trim()}),f=(c[0]||"").split(" ");a=f[0]||"from",o=n.getPosition([f[1]||"0deg"]),i=n.getPosition((S.radial[c[1]]||c[1]||S.radial.center).split(" "))}return{extent:r,shape:a,angle:o,position:i}},n.valueToIValue=function(t){return t?t.replace(/\),\s+?(url|radial|conic|linear|repeating|image|element|cross|paint)/,")#,#$1").split("#,#").map(function(t){var e=t.replace(/([a-z|-]+)\((.*)\)/,"$1").trim();if("url"===e)return{type:e,values:t};var r=t.replace(/([a-z|-]+)\((.*)\)/,"$2").replace(/#([0-9a-f]{6}|[0-9a-f]{3})|(rgb[a]?|hsl)+\(\d+\,[\s+]?\d+[\%]?\,[\s+]?\d+[\%]?(\,\d+)?\)/gi,function(t){return t.replace(/\s+/g,"")}).replace(/\,([a-z|#|\s+])/g,"#,#$1").split("#,#").map(function(t){return t.trim()}),a=r[0].match(p.rV)?"":r[0];a&&r.splice(0,1);var o=n.getAngle(e,a);return{type:e,angle:o,values:r.map(function(t){var e,r=t.trim().split(/\s+/),n=(r[0].match(p.rV),r[0]);return n&&(r.splice(0,1),e=(0,f.lu)(n)),{color:e,positions:r.map(function(t){return{data:parseFloat(t),unit:t.toString().replace(/[^a-z|%]/g,"")}})}})}}):[]},n.getAnimStart=function(){var t,e=(0,m.Z)(n),r=e.startAt,a=e.key,o=e.computedStyle,i=e.target,s=e.vars,l=e.tweenVars,u=(0,c.Z)({},r),f=null!==(t=l[a])&&void 0!==t?t:(o||i)[a];f&&"none"!==f&&"auto"!==f||(f=""),u[a]=u[a]||f,u[a]=u[a]?n.valueToIValue(u[a]):n.defaultStartVars;var p=(Math.max(s.length,u[a].length)===u[a].length?u[a]:s).map(function(t,e){var r,o,i,l,f=u[a][e]||n.defaultStartVars[e],p=s[e]||f;if(f&&f.type===p.type||(f.type!==p.type&&O("type",f.type,p.type),f=n.defaultStartVars[e]),E(p.type)||"string"==typeof p.values||"string"==typeof f.values)return(0,c.Z)({},p);(null===(r=p.angle)||void 0===r?void 0:r.extent)!==(null===(o=f.angle)||void 0===o?void 0:o.extent)&&O("extent keyword",null===(i=f.angle)||void 0===i?void 0:i.extent,null===(l=p.angle)||void 0===l?void 0:l.extent);var d=Math.max(f.values.length,p.values.length)===f.values.length?f.values:p.values;return f.values=d.map(function(t,e){var r=f.values[e],n=p.values[e]||r;return(0,c.Z)((0,c.Z)({},r),{},{positions:(n||r).positions.map(function(t,a){var o=r?r.positions[a]||r.positions[r.positions.length-1]:n.positions[n.positions.length-1],i=t||o;return!o&&r&&f.values.length&&(o={data:100/(f.values.length-1)*e,unit:"%"}),i.unit!==o.unit&&O("units",o.unit,i.unit),{data:o.data,unit:i.unit}})})}),f});return n.start=p,n.start},n.render=function(t){var e="";return(Math.max(n.vars.length,n.start.length)===n.vars.length?n.vars:n.start).forEach(function(r,a){var o=n.start[a],i=n.vars[a]||o;if(E(i.type)||"string"==typeof i.values||!i.angle){e+="".concat(e?",":""," ").concat(i.values).trim();return}var s=(Math.max(o.values.length,i.values.length)===o.values.length?o.values:i.values).map(function(e,r){var n=o.values[r],a=i.values[r];a||(a=n);var s=n.color,l=n.positions;!s&&a.color&&(s=(0,h.Z)(a.color)),l||(l=a.positions.map(function(t){return(0,c.Z)({},t)}));var u=a.color?a.color.map(function(e,r){return(0,p.NA)(s[r],e,t)}):a.color,d=a.positions.map(function(e,r){return"".concat((0,p.NA)(l[r].data,e.data,t)).concat(e.unit)}).join(" ");return"".concat(u?(0,f.Lq)(u):u||""," ").concat(d).trim()}),l=i.angle,u=l.angle&&l.angle.map(function(e,r){return"".concat((0,p.NA)(o.angle.angle[r].data,e.data,t)).concat(e.unit)}).join(" "),d=l.position&&l.position.map(function(e,r){return"".concat((0,p.NA)(o.angle.position[r].data,e.data,t)).concat(e.unit)}).join(" "),m="".concat(l.extent||""," ").concat(l.shape||""," ").concat(u||""," ").concat(d?"at ".concat(d):"").trim();e+="".concat(e?",":""," ").concat(i.type,"(").concat(m?"".concat(m,","):"").concat(s.join(","),")").trim()}),e},n.value=t,n.vars=n.valueToIValue(t),n.defaultStartVars=n.vars.map(function(t){return E(t.type)||"string"==typeof t.values?(0,c.Z)({},t):(0,c.Z)((0,c.Z)({},t),{},{values:t.values.map(function(t){var e;return t.color&&"string"!=typeof t.color?(e=(0,h.Z)(t.color))[3]=0:e=t.color,{color:e,positions:(0,h.Z)(t.positions)}})})}),n}return(0,l.Z)(r)}(w);x.className="GradientsPlugin";var A=r(14983),_=function(){function t(){var e=this;(0,s.Z)(this,t),this.children=[],this.autoSleep=200,this.tickerKey=void 0,this.startTime=void 0,this.addChild=function(t){-1===e.children.indexOf(t)?(e.children.push(t),e.updateTickerState()):e.start()},this.removeChild=function(t){e.children=e.children.filter(function(e){return e!==t}),e.updateTickerState()},this.kill=function(t){e.children=e.children.filter(function(e){var r=e.root.targets.map(function(e,r){if(-1===t.indexOf(e))return e;delete e._tweenOneVars});e.root.targets=r;var n=!!r.filter(function(t){return t}).length;return n||e.kill(),n}),e.updateTickerState()},this.killAll=function(t){t&&(e.children.forEach(function(t){null==t||t.root.targets.forEach(function(t){t&&delete t._tweenOneVars})}),e.children=[]),A.Z.clear(e.tickerKey),e.tickerKey=void 0},this.getTotalTime=function(){for(var t=0,r=0;r0)})?e.start():e.killAll(!e.children.length)},this.start=function(){e.tickerKey||(e.tickerKey=A.Z.add(e.render))},this.render=function(t){for(var r=t.time,n=t.elapsed,a=void 0===n?0:n,o=e.children,i=o.length,s=0;su&&r1)&&!(t in u.Z);return t in u.Z||n?r?e:{value:e,plugins:[],array:n}:{vars:parseFloat(e.toString().replace(/=/g,"")),unit:e.toString().replace(/[^a-z|%]/g,""),count:"="===e.toString().charAt(1)?e.toString().replace(/[^\+\=|\-\=]/gi,""):""}},this.setEase=function(t){if("function"==typeof t){r.easing=t;return}if(t.match(/,/g)){r.easing=M.Z.path(t);return}r.easing=M.Z[t]},this.getTotalTime=function(){var t=r.props,e=t.duration,n=t.delay,a=t.repeat,o=void 0===a?0:a,i=t.repeatDelay;return -1===o?Number.MAX_VALUE:(void 0===n?0:n)+(void 0===e?450:e)*(o+1)+(void 0===i?0:i)*o},this.getEaseToRatio=function(t,e){var n=r.props.ease,a=void 0===n?"":n;return 0!==t&&1!==t||"function"==typeof a||a.match(/,/g)?r.easing(e?1-t:t,e?1:0,e?0:1,1):t},this.setRatioToVars=function(t){for(var e=r.vars,n=r.root,a=0;an?n:e},this.render=function(t){var e=t.moment,n=t.fps,a=void 0===n?0:n,o=t.silence,i=t.render,s=r.parent,l=r.root,u=r.props,c=(0,p.Bn)(l.targets),f=s.onChange,d=u.repeat,h=void 0===d?0:d,m=u.type,v=u.duration,y=void 0===v?450:v,g=u.delay,b=void 0===g?0:g,w=u.repeatDelay,T=void 0===w?0:w,S=u.yoyo,k=e-b,O=Math.floor(k/(y+T))||0;k-=(y+T)*(O=(O=O>(h=-1===h?Number.MAX_VALUE:h)?h:O)<0?0:O);var E=!!(S&&O%2),x="from"===(void 0===m?"to":m),A=(!E||!x)&&(E||x);k=A?y-k:k;var _=x?0:b,M=A?1:0;if(!r.register&&e>=_&&(r.onRegisterAnimate(),(A&&k<=0||!A&&k>=y&&y)&&(r.prevMoment=e,M=A?0:1),r.setRatioToVars(M),f({index:r.index,vars:l.vars})),r.register&&e>b-a&&e=r.totalTime&&"onComplete"!==r.mode&&void 0!==r.prevMoment||void 0===r.prevMoment&&e>=r.totalTime&&y?(M=A?0:1,r.mode="onComplete",r.props.onComplete&&r.props.onComplete({mode:r.mode,index:r.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})):void 0===r.prevMoment||e<=0&&e>-a&&"onStart"!==r.mode&&r.prevMoment>e?(r.mode="onStart",r.props.onStart&&r.props.onStart({mode:r.mode,index:r.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})):(M=k&&y?k/y:0,r.mode="onUpdate",r.props.onUpdate&&r.props.onUpdate({mode:r.mode,index:r.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})),h&&O!==r.repeatNum&&e&&"onUpdate"===r.mode&&(r.mode="onRepeat",r.props.onRepeat&&r.props.onRepeat({mode:r.mode,index:r.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(r.root.vars)})),r.setRatioToVars(r.getEaseToRatio(M,x)),h&&(r.repeatNum=O);var j={mode:r.mode,moment:k,repeat:O,ratio:M,targets:l.targets,vars:l.vars,index:r.index};o&&(j.silence=o),i&&(j.render=i),f(j),r.prevMoment=e}},this.item=e,this.startAt=(0,c.Z)({},e.startAt),Object.keys(this.startAt).forEach(function(t){r.startAt[t]=r.changeValueToVars(t,r.startAt[t],!0)});var a={};for(var o in e){var i=e[o];o in p.$e?a[o]=i:this.vars[o]=this.changeValueToVars(o,i)}this.props=(0,c.Z)((0,c.Z)({},p.$e),a),this.setEase(this.props.ease)}return(0,l.Z)(t,[{key:"totalTime",get:function(){return this.getTotalTime()}}]),t}(),D=(0,l.Z)(function t(e){var r=this;(0,s.Z)(this,t),this.props=void 0,this.id=void 0,this.children=[],this.totalTime=0,this.totalTimeRegion=0,this.childTotalTime=0,this.childRegionTotalTime=0,this.prevMoment=void 0,this.progressTime=0,this.progressMoment=-1,this.startMoment=0,this.startTime=0,this.repeatNum=0,this.mode="onTimelineStart",this.pausedState=void 0,this.reverseState=void 0,this.root=void 0,this.parent=void 0,this.regionStartTime=0,this.regionEndTime=void 0,this.onChangeChild=void 0,this.onChangeTimeline=void 0,this.init=function(){for(var t=r.props,e=t.reverse,n=t.animation,a=t.moment,o=(0,p.Zk)(n),i=0;ir.childTotalTime&&(r.childTotalTime=n,r.childRegionTotalTime=n)}else r.childTotalTime+=e.totalTime,r.childRegionTotalTime+=e.totalTime}r.regionStartTime&&(r.childRegionTotalTime-=r.regionStartTime),r.regionEndTime&&(r.childRegionTotalTime=r.regionEndTime-r.regionStartTime);var a=r.props,o=a.repeat,i=void 0===o?0:o,s=a.repeatDelay,l=void 0===s?0:s,u=a.delay;r.totalTime=-1===i?Number.MAX_VALUE:u+r.childTotalTime*(i+1)+l*i,r.totalTimeRegion=-1===i?Number.MAX_VALUE:u+r.childRegionTotalTime*(i+1)+l*i},this.setStartTimeOrMoment=function(t){r.startTime=A.Z.time,r.startMoment=t||r.progressMoment},this.reRenderCall=function(){r.render({time:r.startTime,elapsed:A.Z.elapsed||A.Z.frameFPS})},this.play=function(t){var e,n;t?null===(n=r.parent)||void 0===n||n.updateTickerState():null===(e=r.parent)||void 0===e||e.addChild(r)},this.paused=function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];r.pausedState=t,r.setStartTimeOrMoment(),r.play(t)},this.reverse=function(t){r.reverseState=t,r.setStartTimeOrMoment(),r.play(r.pausedState)},this.goto=function(t,e){var n=t-r.regionStartTime;r.startTime=A.Z.time,r.startMoment=n>r.totalTime?r.totalTime:n,r.progressMoment=r.startMoment,r.progressTime=n,r.play(r.pausedState),r.reRenderCall(),!!e!==r.pausedState&&r.paused(e)},this.kill=function(t){if("number"==typeof t)r.paused(),delete r.children[t],r.setTotalTime(),r.paused(!1);else{var e;r.children=[],null===(e=r.parent)||void 0===e||e.removeChild(r)}},this.onChange=function(t){t.timelineMoment=r.progressMoment,r.onChangeChild(t)},this.render=function(t){var e=t.time,n=t.elapsed||A.Z.frameFPS||0,a=r.totalTime,o=r.totalTimeRegion,i=r.childTotalTime,s=r.childRegionTotalTime,l=r.children,u=r.props,c=r.startTime,f=r.reverseState,p=r.pausedState,d=r.startMoment,h=r.onChangeTimeline,m=r.parent,v=r.root,y=r.prevMoment,g=r.regionStartTime,b=u.repeatDelay,w=void 0===b?0:b,T=u.yoyo,S=u.delay,k=u.repeat,O=void 0===k?0:k;O=-1===O?Number.MAX_VALUE:O;var E=e-c-S,x=f?d-E:E+d;if(!(x<-n)){var _=x<0?0:x;_=_>a?a:_,_=do?d:_;var M=O?Math.floor(_/(s+w)):0,j=_-(s+w)*(M=O&&M>O?O:M),D=!!(T&&M%2);j=g+(j=D?s-j:j);var C=f?!D:D;if(r.mode="onTimelineUpdate","number"!=typeof y&&(r.mode="onTimelineStart"),_>=o-S&&"number"==typeof y&&(r.mode="onTimelineComplete"),M!==r.repeatNum&&(r.mode="onTimelineRepeat",_>i*M&&_=0;C?P++:P--){var F=l[P];C||(F.prevMoment=void 0),F.render({moment:C?F.totalTime:0,fps:n})}h({moment:_,totalTime:a,repeat:M,mode:r.mode,targets:v.targets}),r.mode="onTimelineUpdate"}O&&(r.repeatNum=M),r.progressMoment=_,r.prevMoment=_,r.progressTime=E;for(var Z=0;Z=N.appearTo-n&&jL+n&&!D&&N.totalTime||void 0===N.mode&&!N.totalTime)&&(N.render({moment:N.totalTime,fps:n}),N.prevMoment=void 0),jL&&"onComplete"===N.mode&&!D)return;I=j>L?L:j,N.render({moment:I-N.appearTo,fps:n}),L||(N.render({moment:N.totalTime,fps:n,render:!0}),N.prevMoment=void 0)}}h({moment:_,totalTime:a,repeat:M,mode:r.mode,targets:v.targets}),(p||o&&x+S>=o&&!f||f&&x+S<=0||!l.length)&&(null==m||m.removeChild(r))}},this.props=e;var n=this.props,a=n.paused,o=n.reverse;this.reverseState=o,this.pausedState=a,this.regionStartTime=e.regionStartTime||0,this.regionEndTime=e.regionEndTime});u.Z.push(T),u.Z.push(x),u.Z.push(d);var C=0,P=new _,F=function(){function t(e,r){var a,l,c=this;(0,s.Z)(this,t),this.targets=void 0,this.props=void 0,this.timeline=void 0,this.animate=void 0,this.$reverse=!1,this.vars=[],this.initTime=void 0,this.attr=void 0,this.init=(a=o().mark(function t(e){var r;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=(0,p.Sx)(e),c.targets[0].tagName&&!c.attr&&(r.animation=(0,p.Zk)(r.animation).map(function(t){var e={style:{}};for(var r in t)r in u.Z||r in p.$e?e[r]=t[r]:e.style[r]=t[r];return Object.keys(e.style).length||delete e.style,t.duration&&(t.duration=Math.round(t.duration)),t.delay&&(t.delay=Math.round(t.delay)),t.appearTo&&(t.appearTo=Math.round(t.appearTo)),t.repeatDelay&&(t.repeatDelay=Math.round(t.repeatDelay)),e})),c.animate=new D(r),c.animate.id="TweenOne_".concat(C),C++,c.animate.startTime=c.initTime,c.animate.onChangeChild=c.onChange,c.animate.onChangeTimeline=c.onChangeTimeline,c.animate.root=c,c.animate.parent=c.timeline,c.animate.init();case 11:case"end":return t.stop()}},t)}),l=function(){var t=this,e=arguments;return new Promise(function(r,n){var o=a.apply(t,e);function s(t){i(o,r,n,s,l,"next",t)}function l(t){i(o,r,n,s,l,"throw",t)}s(void 0)})},function(t){return l.apply(this,arguments)}),this.renderToDom=function(){for(var t=0;t3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4?arguments[4]:void 0;return"+="===n||"-="===n?t+e*r+(a||0):(e-t)*r+t+(a||0)},g=function(t){return t&&document.defaultView?document.defaultView.getComputedStyle(t):{}},b={margin:1,padding:1,borderWidth:1,borderRadius:1};function w(t){var e,r,n,a=t.target,o=t.computedStyle,s=t.style,l=t.value,u=t.startUnit,c=t.endUnit,f=t.fixed,p=t.isOriginWidth,d=t.useCurrentTarget;if(i)return l;var h=/(?:Left|Right|Width|X)/i.test(s)||p;h="padding"===s||"marign"===s||h;var m=-1!==s.indexOf("border")||-1!==s.indexOf("translate")||"transformOrigin"===s||d?a:a.parentNode||document.body;switch(m=f?document.body:m,u){case"%":e=parseFloat(l)/100*(h?m.clientWidth:m.clientHeight);break;case"vw":e=parseFloat(l)*document.body.clientWidth/100;break;case"vh":e=parseFloat(l)*document.body.clientHeight/100;break;case"em":o?e=parseFloat(l)*parseFloat(o.fontSize):(n="em",e=parseFloat(l));break;case"rem":o?(r=window.getComputedStyle(document.getElementsByTagName("html")[0]),e=parseFloat(l)*parseFloat(r.fontSize)):(n="rem",e=parseFloat(l));break;default:e=parseFloat(l)}switch(c){case"%":e=e?100*e/(h?m.clientWidth:m.clientHeight):0;break;case"vw":e=parseFloat(l)/document.body.clientWidth*100;break;case"vh":e=parseFloat(l)/document.body.clientHeight*100;break;case"em":o?e=parseFloat(l)/parseFloat(o.fontSize):(n="em",e=parseFloat(l));break;case"rem":o?(r=r||window.getComputedStyle(document.getElementsByTagName("html")[0]),e=parseFloat(l)/parseFloat(r.fontSize)):(n="rem",e=parseFloat(l))}return n&&console.warn("Warning: Element is not 'DOM, can not use '".concat(n,"', automatically convert to animation units.")),e}function T(t){if("string"==typeof t)return t;var e=t.perspective,r=t.rotate,n=t.rotateX,a=t.rotateY,o=t.scaleX,i=t.scaleY,s=t.scaleZ,l=t.skewX,u=t.skewY,c="string"==typeof t.translateX?t.translateX:"".concat(t.translateX,"px"),f="string"==typeof t.translateY?t.translateY:"".concat(t.translateY,"px"),p="string"==typeof t.translateZ?t.translateZ:"".concat(t.translateZ,"px"),d=l||u?"skew(".concat(l,"deg,").concat(u,"deg)"):"",h=r?"rotate(".concat(r,"deg)"):"",m=1!==o||1!==i||1!==s?"scale3d(".concat(o,",").concat(i,",").concat(s,")"):"",v=n?"rotateX(".concat(n,"deg)"):"",y=a?"rotateY(".concat(a,"deg)"):"",g=t.translateZ?"translate3d(".concat(c,",").concat(f,",").concat(p,")"):(t.translateX||t.translateY)&&"translate(".concat(c,",").concat(f,")")||(m||h||v||y||d?"":"translate(0px, 0px)");return"".concat(e?"perspective(".concat(e,"px)"):""," ").concat(g," ").concat(m," ").concat(h," ").concat(v," ").concat(y," ").concat(d).trim()}var S={brightness:1,saturate:1,contrast:1,grayScale:0,hueRotate:"0deg",sepia:0,invert:0}},11375:function(t,e,r){var n=r(47078);(function(){var e,r,a,o;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=n&&n.hrtime?(t.exports=function(){return(e()-o)/1e6},r=n.hrtime,o=(e=function(){var t;return 1e9*(t=r())[0]+t[1]})()-1e9*n.uptime()):Date.now?(t.exports=function(){return Date.now()-a},a=Date.now()):(t.exports=function(){return new Date().getTime()-a},a=new Date().getTime())}).call(this)},19616:function(t,e,r){for(var n=r(11375),a="undefined"==typeof window?r.g:window,o=["moz","webkit"],i="AnimationFrame",s=a["request"+i],l=a["cancel"+i]||a["cancelRequest"+i],u=0;!s&&u2||Array.isArray(C[0]))&&(i=i.map(function(t){return 100*t}),i="M0,100C".concat(i[0],",").concat(100-i[1],",").concat(i[2],",").concat(100-i[3],",100,0")),{startAnim:o,animate:a,ease:i,duration:s}},td=function(t,e){var r=e.targets;r.className=r.className.replace(R[1],""),-1===r.className.indexOf(R[0])&&(r.className="".concat(r.className," ").concat(R[0]).trim()),Y.current.indexOf(t)>=0&&Y.current.splice(Y.current.indexOf(t),1),H.current[t]=!0},th=function(t,e){if(!(W.current.indexOf(t)>=0)){var r=e.targets;r.className=r.className.replace(R[0],"").trim(),delete K.current[t],U({key:t,type:"enter",target:r})}},tm=function(t,e){var r=e.targets;r.className=r.className.replace(R[0],""),-1===r.className.indexOf(R[1])&&(r.className="".concat(r.className," ").concat(R[1]).trim())},tv=function(e,r){if(p(t.children).findIndex(function(t){return t&&t.key===e}),!(p(t.children).findIndex(function(t){return t&&t.key===e})>=0)){delete H.current[e],delete K.current[e],tt.current=tt.current.filter(function(t){return t.key!==e}),W.current.indexOf(e)>=0&&W.current.splice(W.current.indexOf(e),1),W.current.some(function(t){return ts[t]})||(ta(p(t.children)),tl((0,a.Z)({},H.current)),q.current.forEach(function(t){delete $.current[t]}));var n=r.targets;n.className=n.className.replace(R[1],"").trim(),U({key:e,type:"leave",target:n})}},ty=function(t){ts[t]=!0,u.Z.clear(G.current[t]),delete G.current[t],tl((0,a.Z)({},ts))},tg=function(t,e){var r=h(S,t,e)[0],n=h(x,t,e)[0];G.current[t]=u.Z.timeout(function(){ty(t)},r*e+n)},tb=function(t){u.Z.clear(G.current[t]),delete G.current[t]},tw=function(t,e,r,n){var o=tp(t,e,n),i=function(e){("enter"===n?td:tm)(t,e)},s=function(e){("enter"===n?th:tv)(t,e)};if(Array.isArray(o.animate)){var l=o.animate.length-1;return o.animate.map(function(t,e){return(0,a.Z)((0,a.Z)({},t),{},{startAt:o.startAnim?o.startAnim[e]:void 0,duration:o.duration/l,delay:e||"leave"!==n?0:r,onStart:e?void 0:i,onComplete:e===l?s:void 0})})}return(0,a.Z)((0,a.Z)({},o.animate),{},{startAt:o.startAnim||void 0,ease:o.ease,duration:o.duration,onStart:i,onComplete:s,delay:r})};return(0,s.useEffect)(function(){return function(){Object.keys(K.current).forEach(function(t){var e=K.current[t];e&&e.kill()})}},[]),(0,s.useEffect)(function(){var e,r,n,o,i=p(t.children).filter(function(t){return t}),s=tt.current.filter(function(t){return t}),l=(r=[],n={},o=[],s.forEach(function(t){t&&(d(i,t.key)?(o.length&&(n[t.key]=o,o=[]),e=t.key):t.key&&o.push(t))}),e||(r=r.concat(o)),i.forEach(function(t){t&&(n.hasOwnProperty(t.key)&&(r=r.concat(n[t.key])),r.push(t),t.key===e&&(r=r.concat(o)))}),r),c=[],f=[];if(V||J.current)s.forEach(function(t){if(t){var e=t.key;!d(i,e)&&e&&(f.push(e),u.Z.clear(G.current[e]),delete G.current[e])}}),i.forEach(function(t){if(t){var e=t.key;(!d(s,e)&&e||(!$.current[e]||"leave"===$.current[e]||Y.current.indexOf(e)>=0)&&-1===f.indexOf(e))&&c.push(e)}});else{var h={};l.forEach(function(t){t&&t.key&&(h[t.key]=!0)}),tt.current=l,H.current=(0,a.Z)({},h),tl(h)}Y.current=c,z.current=[].concat(c),W.current=f,q.current=[].concat(f),ta(l)},[t.children]),(0,s.useLayoutEffect)(function(){if(tt.current=tn||[],V||J.current){var t=(0,n.Z)(Y.current),e=(0,n.Z)(W.current);t.forEach(tg),e.forEach(tb)}tn&&(J.current=!0)},[tn]),(0,s.useLayoutEffect)(function(){tn&&tn.forEach(function(t){var e,r=t.key,n=Q.current[r];if(n){var o=W.current.indexOf(r),i=h(S,r,o),s=h(x,r,o);if(o>=0){if("leave"===$.current[r])return;var l=F?W.current.length-o-1:o;e=tw(r,o,i[1]*l+s[1],"leave"),$.current[r]="leave"}else{if("enter"===$.current[r]||-1===Y.current.indexOf(r))return;o=z.current.indexOf(r);var u=i[0]*o+s[0];e=tw(r,o,"leave"===$.current[r]?u:0,"enter"),$.current[r]="enter"}if(K.current[r]&&K.current[r].kill(),N){var f=(0,a.Z)((0,a.Z)({},Array.isArray(e)?e[0].startAt:e.startAt),{},{type:"set"});(0,c.ZP)(n,{animation:f})}K.current[r]=(0,c.ZP)(n,{animation:e})}})},[ts,tn]),(0,s.useMemo)(function(){if(f)return(0,s.createElement)(g,(0,a.Z)((0,a.Z)((0,a.Z)({},B),w),{},{ref:e}));var t=p(tn).map(function(t){return t&&t.key?ts[t.key]&&(0,s.cloneElement)(t,{ref:function(e){Q.current[t.key]=e instanceof Element?e:(0,l.findDOMNode)(e),e||delete Q.current[t.key]},key:t.key}):t}),r=(0,a.Z)((0,a.Z)((0,a.Z)({},B),w),{},{ref:e});return(0,s.createElement)(g,r,t)},[ts,tn])})},32609:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("undefined"!=typeof XDomainRequest)return e(null),null;var r=new XMLHttpRequest;return r.onreadystatechange=function(){r.readyState===XMLHttpRequest.DONE&&200===r.status&&e(JSON.parse(r.responseText))},r.open("GET",t,!0),r.send(),r},t.exports=e.default},1160:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e=0)&&Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}(e,["className","type","size"]);delete l.namespace,delete l.repo;var u=this.state.count,f=s.classNames((r in(t={"github-btn":!0,"github-btn-large":"large"===i})?Object.defineProperty(t,r,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[r]=r,t));return a.default.createElement("span",n({},l,{className:f}),a.default.createElement("a",{className:"gh-btn",href:this.getRepoUrl(),target:"_blank"},a.default.createElement("span",{className:"gh-ico","aria-hidden":"true"}),a.default.createElement("span",{className:"gh-text"},c[o])),a.default.createElement("a",{className:"gh-count",target:"_blank",href:this.getCountUrl(),style:this.getCountStyle()},u))},e}(a.default.Component);p.displayName="GitHubButton",p.propTypes={className:o.default.string,type:o.default.oneOf(["stargazers","watchers","forks"]).isRequired,namespace:o.default.string.isRequired,repo:o.default.string.isRequired,size:o.default.oneOf(["large"])},e.default=p,t.exports=e.default},40639:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.classNames=function(t){return Object.keys(t).filter(function(e){return t[e]}).join(" ")}},89971:function(t,e){"use strict";e.Dm=function(t){return t.replace(/[A-Z]/,function(t){return"-"+t.toLocaleLowerCase()})},e.FH=f,e.wz=function(t){if("undefined"==typeof document)return null;var e=["WebKitCSS","MozCSS","DOM","MsCSS","MSCSS","OCSS","CSS"].filter(function(t){return t+"Matrix" in window});return e.length?new window[e[0]+"Matrix"](t):(console.warn("Browsers do not support matrix."),"")},e.Yf=function(t){if("undefined"==typeof document)return null;if("filter"!==t&&t in document.body.style)return t;var e=t.charAt(0).toUpperCase()+t.substr(1),r=["O","Moz","ms","Ms","Webkit"].filter(function(t){return""+t+e in document.body.style});return r[0]?""+r[0]+e:null},e.Lo=function(t){var e=t;return"z"===(e="y"===(e="x"===e?"translateX":e)?"translateY":e)?"translateZ":e},e.lu=p,e.hy=function(t){if(!t)return[0,0,0,0,0,0,0];var e=t.replace(/,\s+/gi,",").split(/\s+/).filter(function(t){return t}),r=e.indexOf("inset");r>=0&&e.splice(r,1);var n=e.find(function(t){return i[t]||t.match(/#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})|(rgb|hsl)+(?:a)?\((.*)\)/i)})||"black",a=e.indexOf(n);e.splice(a,1);var o=p(n);return o[3]="number"==typeof o[3]?o[3]:1,e.concat(o,r>=0?["inset"]:[])},e.Lq=function(t){return(4===t.length?"rgba":"rgb")+"("+t.map(function(t,e){return e<3?Math.round(t):t}).join(",")+")"},e.Tk=d,e.dt=function(t){var e=d(t);return c.filter.indexOf(e)>=0?"filter":e},e.GX=function(t){if("none"===t||!t||""===t)return null;var e=t.replace(" ","").split(")").filter(function(t){return t}),r={};return e.forEach(function(t){var e=t.split("(");r[e[0]]=e[1]}),r},e.Ck=function(t){var e,r,n,a=t&&"none"!==t&&""!==t?t:"matrix(1, 0, 0, 1, 0, 0)";if(!a.match("matrix"))return(n={}).translateX=0,n.translateY=0,n.translateZ=0,n.rotate=0,n.rotateX=0,n.rotateY=0,n.scaleX=1,n.scaleY=1,n.scaleZ=1,n.skewX=0,n.skewY=0,n.perspective=0,(t.trim().match(/(\w+)\([^\)]+\)/ig)||[]).forEach(function(t){var e=t.split("("),r=e[0].trim(),a=e[1].replace(")","").trim();a.match(/%|em|rem/ig)&&console.warn("value("+a+") must be absolute, not relative, has been converted to absolute."),a=a.replace(/px|deg|\)/ig,""),c.transformGroup[r]&&"rotate"!==r?(a=a.split(",").map(function(t){return parseFloat(t)}),"scale3d"===r||"translate3d"===r?["X","Y","Z"].forEach(function(t,e){var o=r.substring(0,r.length-2);n[""+o+t]=a[e]||n[""+o+t]}):"rotate3d"===r?(n.rotateX=a[0]&&a[3]||n.rotateX,n.rotateY=a[1]&&a[3]||n.rotateY,n.rotate=a[2]&&a[3]||n.rotate):["X","Y"].forEach(function(t,e){n[""+r+t]=a[e]||n[""+r+t]})):"rotateZ"===r?n.rotate=parseFloat(a)||n.rotate:n[r]=parseFloat(a)||n[r]}),n;var o=(e=a.match(/(?:\-|\b)[\d\-\.e]+\b/gi),r={},6===e.length?(r.m11=parseFloat(e[0]),r.m12=parseFloat(e[1]),r.m13=0,r.m14=0,r.m21=parseFloat(e[2]),r.m22=parseFloat(e[3]),r.m23=0,r.m24=0,r.m31=0,r.m32=0,r.m33=1,r.m34=0,r.m41=parseFloat(e[4]),r.m42=parseFloat(e[5]),r.m43=0,r.m44=0):e.forEach(function(t,e){r["m"+(Math.floor(e/4)+1)+(e%4+1)]=parseFloat(t)}),r),i=o.m11,s=o.m12,u=o.m13,p=o.m14,d=o.m21,h=o.m22,m=o.m23,v=o.m24,y=o.m31,g=o.m32,b=o.m33,w=o.m34,T=o.m43,S=void 0,k=void 0,O=void 0,E={},x=Math.atan2(m,b),A=Math.tan(d),_=Math.tan(s),M=void 0,j=void 0;return E.rotateX=f(x*l)||0,x&&(S=d*(M=Math.cos(-x))+y*(j=Math.sin(-x)),k=h*M+g*j,O=m*M+b*j,y=-(d*j)+y*M,g=-(h*j)+g*M,b=-(m*j)+b*M,w=-(v*j)+w*M,d=S,h=k,m=O),x=Math.atan2(-u,b),E.rotateY=f(x*l)||0,x&&(S=i*(M=Math.cos(-x))-y*(j=Math.sin(-x)),k=s*M-g*j,O=u*M-b*j,g=s*j+g*M,b=u*j+b*M,w=p*j+w*M,i=S,s=k,u=O),x=Math.atan2(s,i),E.rotate=f(x*l)||0,x&&(S=i*(M=Math.cos(x))+s*(j=Math.sin(x)),k=d*M+h*j,O=y*M+g*j,s=s*M-i*j,h=h*M-d*j,g=g*M-y*j,i=S,d=k,y=O),E.rotateX&&Math.abs(E.rotateX)+Math.abs(E.rotate)>359.9&&(E.rotateX=E.rotate=0,E.rotateY=180-E.rotateY||0),E.scaleX=f(Math.sqrt(i*i+s*s+u*u)),E.scaleY=f(Math.sqrt(h*h+m*m)),E.scaleZ=f(Math.sqrt(y*y+g*g+b*b)),E.skewX=A===-_?0:A,E.skewY=_===-A?0:_,E.perspective=w?1/(w<0?-w:w):0,E.translateX=o.m41,E.translateY=o.m42,E.translateZ=T,E},e.YJ=function(t,e){var n=void 0;return r[t]||"number"!=typeof e?"content"!==t||a.test(e)||(n="'"+e.replace(/'/g,"\\'")+"'"):n=" "+e+"px",n||e};var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},n=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(t){n.forEach(function(e){r[e+t.charAt(0).toUpperCase()+t.substring(1)]=r[t]})});var a=/^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/,o="undefined"!=typeof document&&!!(navigator&&(navigator.userAgent.indexOf("MSIE 8.0")>0||navigator.userAgent.indexOf("MSIE 9.0")>0)),i={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},s=function(t,e,r){var n=t>1?t-1:t,a=3*(n=t<0?t+1:n)<2?e+(r-e)*(2/3-n)*6:e,o=n<.5?r:a;return 255*(6*n<1?e+(r-e)*n*6:o)+.5|0},l=180/Math.PI,u={_lists:{transformsBase:["translate","translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ","rotate"],transforms3D:["translate3d","translateZ","scaleZ","rotateX","rotateY","perspective"]},transformGroup:{translate:1,translate3d:1,scale:1,scale3d:1,rotate:1,rotate3d:1,skew:1},filter:["grayScale","sepia","hueRotate","invert","brightness","contrast","blur"],filterConvert:{grayScale:"grayscale",hueRotate:"hue-rotate"}};u._lists.transformsBase=o?u._lists.transformsBase:u._lists.transformsBase.concat(u._lists.transforms3D);var c=e._T=u;function f(t,e){var r=e?Math.pow(10,e):1e5,n=0|t,a=t-n,o=t;if(a){var i=(a*r+(t<0?-.5:.5)|0)/r,s=0|i;o=(t<0&&!(n+s)?"-":"")+(n+s)+"."+(i.toString().split(".")[1]||"")}return parseFloat(o)}function p(t){var e=void 0,r=void 0,n=void 0,a=void 0,o=void 0,l=void 0,u=void 0,c=t,f=/(?:\d|\-\d|\.\d|\-\.\d)+/g;return c?"number"==typeof c?e=[c>>16,c>>8&255,255&c]:(","===c.charAt(c.length-1)&&(c=c.substr(0,c.length-1)),i[c]?e=i[c]:"#"===c.charAt(0)?(4===c.length&&(c="#"+(r=c.charAt(1))+r+(n=c.charAt(2))+n+(a=c.charAt(3))+a),e=[(c=parseInt(c.substr(1),16))>>16,c>>8&255,255&c]):"hsl"===c.substr(0,3)?(o=Number((e=c.match(f))[0])%360/360,l=Number(e[1])/100,n=(u=Number(e[2])/100)<=.5?u*(l+1):u+l-u*l,r=2*u-n,e.length>3&&(e[3]=Number(e[3])),e[0]=s(o+1/3,r,n),e[1]=s(o,r,n),e[2]=s(o-1/3,r,n)):e=c.match(f)||i.transparent,e[0]=Number(e[0]),e[1]=Number(e[1]),e[2]=Number(e[2]),e.length>3&&(e[3]=Number(e[3]))):e=i.black,e}function d(t){return c._lists.transformsBase.indexOf(t)>=0?"transform":t}},9159:function(t,e){"use strict";e.Rs=p,e.Yf=function(t){if("undefined"==typeof document)return null;if("filter"!==t&&t in document.body.style)return t;var e=t.charAt(0).toUpperCase()+t.substr(1),r=["O","Moz","ms","Ms","Webkit"].filter(function(t){return""+t+e in document.body.style});return r[0]?""+r[0]+e:null},e.Lo=function(t){var e=t;return"z"===(e="y"===(e="x"===e?"translateX":e)?"translateY":e)?"translateZ":e},e.lu=m,e.hy=function(t,e){var r=e&&p(e);if(!t)return"boxShadow"===r?[0,0,0,0,0,0,0,0]:[0,0,0,0,0,0,0];var n=t.replace(/,\s+/gi,",").split(/\s+/).filter(function(t){return t}),a=n.indexOf("inset");a>=0&&n.splice(a,1);var o=n.find(function(t){return i[t]||t.match(/#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})|(rgb|hsl)+(?:a)?\((.*)\)/i)})||"black",s=n.indexOf(o);n.splice(s,1);var l=m(o);return l[3]="number"==typeof l[3]?l[3]:1,"boxShadow"===r&&n.length<4&&n.push(0),n.concat(l,a>=0?["inset"]:[])},e.Lq=function(t){return(4===t.length?"rgba":"rgb")+"("+t.map(function(t,e){return e<3?Math.round(t):t}).join(",")+")"},e.dt=function(t){var e,r=(e=t,f._lists.transformsBase.indexOf(e)>=0?"transform":e);return f.filter.indexOf(r)>=0?"filter":r},e.GX=function(t){if("none"===t||!t||""===t)return null;var e=t.replace(/\s+/g,"").split(")").filter(function(t){return t}),r={};return e.forEach(function(t){var e=t.split("(");r[e[0]]=e[1]}),r},e.Ck=function(t){var e,r,n,a=t&&"none"!==t&&""!==t?t:"matrix(1, 0, 0, 1, 0, 0)";if(!a.match("matrix"))return(n={}).translateX=0,n.translateY=0,n.translateZ=0,n.rotate=0,n.rotateX=0,n.rotateY=0,n.scaleX=1,n.scaleY=1,n.scaleZ=1,n.skewX=0,n.skewY=0,n.perspective=0,(t.trim().match(/(\w+)\([^\)]+\)/ig)||[]).forEach(function(t){var e=t.split("("),r=e[0].trim(),a=e[1].replace(")","").trim();a.match(/%|em|rem/ig)&&console.warn("value("+a+") must be absolute, not relative, has been converted to absolute."),a=a.replace(/px|deg|\)/ig,""),f.transformGroup[r]&&"rotate"!==r?(a=a.split(",").map(function(t){return parseFloat(t)}),"scale3d"===r||"translate3d"===r?["X","Y","Z"].forEach(function(t,e){var o=r.substring(0,r.length-2);n[""+o+t]=a[e]||n[""+o+t]}):"rotate3d"===r?(n.rotateX=a[0]&&a[3]||n.rotateX,n.rotateY=a[1]&&a[3]||n.rotateY,n.rotate=a[2]&&a[3]||n.rotate):["X","Y"].forEach(function(t,e){n[""+r+t]=a[e]||n[""+r+t]})):"rotateZ"===r?n.rotate=parseFloat(a)||n.rotate:n[r]=parseFloat(a)||n[r]}),n;var o=(e=a.match(/(?:\-|\b)[\d\-\.e]+\b/gi),r={},6===e.length?(r.m11=parseFloat(e[0]),r.m12=parseFloat(e[1]),r.m13=0,r.m14=0,r.m21=parseFloat(e[2]),r.m22=parseFloat(e[3]),r.m23=0,r.m24=0,r.m31=0,r.m32=0,r.m33=1,r.m34=0,r.m41=parseFloat(e[4]),r.m42=parseFloat(e[5]),r.m43=0,r.m44=0):e.forEach(function(t,e){r["m"+(Math.floor(e/4)+1)+(e%4+1)]=parseFloat(t)}),r),i=o.m11,l=o.m12,u=o.m13,c=o.m14,p=o.m21,h=o.m22,m=o.m23,v=o.m24,y=o.m31,g=o.m32,b=o.m33,w=o.m34,T=o.m43,S=void 0,k=void 0,O=void 0,E={},x=Math.atan2(m,b),A=Math.tan(p),_=Math.tan(l),M=void 0,j=void 0;return E.rotateX=d(x*s)||0,x&&(S=p*(M=Math.cos(-x))+y*(j=Math.sin(-x)),k=h*M+g*j,O=m*M+b*j,y=-(p*j)+y*M,g=-(h*j)+g*M,b=-(m*j)+b*M,w=-(v*j)+w*M,p=S,h=k,m=O),x=Math.atan2(-u,b),E.rotateY=d(x*s)||0,x&&(S=i*(M=Math.cos(-x))-y*(j=Math.sin(-x)),k=l*M-g*j,O=u*M-b*j,g=l*j+g*M,b=u*j+b*M,w=c*j+w*M,i=S,l=k,u=O),x=Math.atan2(l,i),E.rotate=d(x*s)||0,x&&(S=i*(M=Math.cos(x))+l*(j=Math.sin(x)),k=p*M+h*j,O=y*M+g*j,l=l*M-i*j,h=h*M-p*j,g=g*M-y*j,i=S,p=k,y=O),E.rotateX&&Math.abs(E.rotateX)+Math.abs(E.rotate)>359.9&&(E.rotateX=E.rotate=0,E.rotateY=180-E.rotateY||0),E.scaleX=d(Math.sqrt(i*i+l*l+u*u)),E.scaleY=d(Math.sqrt(h*h+m*m)),E.scaleZ=d(Math.sqrt(y*y+g*g+b*b)),E.skewX=A===-_?0:A,E.skewY=_===-A?0:_,E.perspective=w?1/(w<0?-w:w):0,E.translateX=o.m41,E.translateY=o.m42,E.translateZ=T,E},e.YJ=function(t,e){var n=void 0;return r[t]||"number"!=typeof e?"content"!==t||a.test(e)||(n="'"+e.replace(/'/g,"\\'")+"'"):n=" "+e+"px",n||e};var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},n=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(t){n.forEach(function(e){r[e+t.charAt(0).toUpperCase()+t.substring(1)]=r[t]})});var a=/^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/,o="undefined"!=typeof document&&!!(navigator&&(navigator.userAgent.indexOf("MSIE 8.0")>0||navigator.userAgent.indexOf("MSIE 9.0")>0)),i={aqua:[0,255,255,1],lime:[0,255,0,1],silver:[192,192,192,1],black:[0,0,0,1],maroon:[128,0,0,1],teal:[0,128,128,1],blue:[0,0,255,1],navy:[0,0,128,1],white:[255,255,255,1],fuchsia:[255,0,255,1],olive:[128,128,0,1],yellow:[255,255,0,1],orange:[255,165,0,1],gray:[128,128,128,1],purple:[128,0,128,1],green:[0,128,0,1],red:[255,0,0,1],pink:[255,192,203,1],cyan:[0,255,255,1],transparent:[255,255,255,0]},s=180/Math.PI,l={_lists:{transformsBase:["translate","translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ","rotate"],transforms3D:["translate3d","translateZ","scaleZ","rotateX","rotateY","perspective"]},transformGroup:{translate:1,translate3d:1,scale:1,scale3d:1,rotate:1,rotate3d:1,skew:1},filter:["grayScale","sepia","hueRotate","invert","brightness","contrast","blur"],filterConvert:{grayScale:"grayscale",hueRotate:"hue-rotate"}};l._lists.transformsBase=o?l._lists.transformsBase:l._lists.transformsBase.concat(l._lists.transforms3D);var u=/#([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{3})/;e.rV=/#([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{3})|((rgb|hsl)[a]?)+\((?:\d|\.\d)+(?:(deg|\%)?),[\s+]?(?:\d|\.\d)+(?:(deg|\%)?),[\s+]?(?:\d|\.\d)+(?:(deg|%)?)(,[\s+]?(?:\d|\.\d)+(?:(deg|\%)?))?\)/;var c=/(?:\d|\.\d)+(%?)/g,f=e._T=l;function p(t){return t.replace(/-(.?)/g,function(t){return t.replace("-","").toLocaleUpperCase()})}function d(t,e){var r=e?Math.pow(10,e):1e5,n=0|t,a=t-n,o=t;if(a){var i=(a*r+(t<0?-.5:.5)|0)/r,s=0|i;o=(t<0&&!(n+s)?"-":"")+(n+s)+"."+(i.toString().split(".")[1]||"")}return parseFloat(o)}var h=function(t,e,r){return(r<0&&(r+=6),r>=6&&(r-=6),r<1)?(e-t)*r+t:r<3?e:r<4?(e-t)*(4-r)+t:t};function m(t){var e=i.transparent,r=t,n=void 0,a=void 0,o=void 0;if(r){if(i[r])e=i[r];else if("number"==typeof r)e=[r>>16,r>>8&255,255&r];else if(","===r.charAt(r.length-1)&&(r=r.substr(0,r.length-1)),r.match(u))3===(r=r.substr(1)).length&&(r=""+(n=r.charAt(0))+n+(a=r.charAt(1))+a+(o=r.charAt(2))+o+"ff"),6===r.length&&(r+="ff"),e=[(r=parseInt(r,16))>>24&255,r>>16&255,r>>8&255,parseFloat(((255&r)/255).toFixed(2))];else if(r.match(/^hsl/)){var s=(e=r.match(c))[3];s="string"==typeof s&&s.match("%")?parseFloat(s)/100:parseFloat(""+(s||"1"));var l=parseFloat(e[0])/60,f=parseFloat(e[1])/100,p=parseFloat(e[2])/100,d=p<=.5?p*(f+1):p+f-p*f,m=2*p-d;e=[n=Math.round(255*h(m,d,l+2)),a=Math.round(255*h(m,d,l)),o=Math.round(255*h(m,d,l-2)),s]}else 3===(e=(e=r.match(c)||i.transparent).map(function(t){return parseFloat(t)})).length&&e.push(1)}else e=i.transparent;return e}},96839:function(t){"use strict";var e={linear:function(t,e,r,n){return(r-e)*t/n+e},easeInQuad:function(t,e,r,n){return(r-e)*(t/=n)*t+e},easeOutQuad:function(t,e,r,n){return-(r-e)*(t/=n)*(t-2)+e},easeInOutQuad:function(t,e,r,n){var a=r-e;return(t/=n/2)<1?a/2*t*t+e:-a/2*(--t*(t-2)-1)+e},easeInCubic:function(t,e,r,n){return(r-e)*(t/=n)*t*t+e},easeOutCubic:function(t,e,r,n){return(r-e)*((t=t/n-1)*t*t+1)+e},easeInOutCubic:function(t,e,r,n){var a=r-e;return(t/=n/2)<1?a/2*t*t*t+e:a/2*((t-=2)*t*t+2)+e},easeInQuart:function(t,e,r,n){return(r-e)*(t/=n)*t*t*t+e},easeOutQuart:function(t,e,r,n){return-(r-e)*((t=t/n-1)*t*t*t-1)+e},easeInOutQuart:function(t,e,r,n){var a=r-e;return(t/=n/2)<1?a/2*t*t*t*t+e:-a/2*((t-=2)*t*t*t-2)+e},easeInQuint:function(t,e,r,n){return(r-e)*(t/=n)*t*t*t*t+e},easeOutQuint:function(t,e,r,n){return(r-e)*((t=t/n-1)*t*t*t*t+1)+e},easeInOutQuint:function(t,e,r,n){var a=r-e;return(t/=n/2)<1?a/2*t*t*t*t*t+e:a/2*((t-=2)*t*t*t*t+2)+e},easeInSine:function(t,e,r,n){var a=r-e;return-a*Math.cos(t/n*(Math.PI/2))+a+e},easeOutSine:function(t,e,r,n){return(r-e)*Math.sin(t/n*(Math.PI/2))+e},easeInOutSine:function(t,e,r,n){return-(r-e)/2*(Math.cos(Math.PI*t/n)-1)+e},easeInExpo:function(t,e,r,n){return 0==t?e:(r-e)*Math.pow(2,10*(t/n-1))+e},easeOutExpo:function(t,e,r,n){var a=r-e;return t==n?e+a:a*(-Math.pow(2,-10*t/n)+1)+e},easeInOutExpo:function(t,e,r,n){var a=r-e;return 0===t?e:t===n?e+a:(t/=n/2)<1?a/2*Math.pow(2,10*(t-1))+e:a/2*(-Math.pow(2,-10*--t)+2)+e},easeInCirc:function(t,e,r,n){return-(r-e)*(Math.sqrt(1-(t/=n)*t)-1)+e},easeOutCirc:function(t,e,r,n){return(r-e)*Math.sqrt(1-(t=t/n-1)*t)+e},easeInOutCirc:function(t,e,r,n){var a=r-e;return(t/=n/2)<1?-a/2*(Math.sqrt(1-t*t)-1)+e:a/2*(Math.sqrt(1-(t-=2)*t)+1)+e},easeInElastic:function(t,e,r,n){var a,o,i,s=r-e;return(i=1.70158,o=0,a=s,0===t)?e:1==(t/=n)?e+s:(o||(o=.3*n),a=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),M(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;M(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:D(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},r}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports},27566:function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},4860:function(t,e,r){var n=r(13448)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},4989:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r=0||(a[r]=t[r]);return a}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(a[r]=t[r])}return a}r.d(e,{Z:function(){return n}})},76729:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var n=r(79250);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,s=[],l=!0,u=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==e);l=!0);}catch(t){u=!0,a=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw a}}return s}}(t,e)||(0,n.Z)(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1874:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var n=r(4989),a=r(79250);function o(t){return function(t){if(Array.isArray(t))return(0,n.Z)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||(0,a.Z)(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},79250:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var n=r(4989);function a(t,e){if(t){if("string"==typeof t)return(0,n.Z)(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,n.Z)(t,e)}}}}]); \ No newline at end of file diff --git a/_next/static/chunks/516.af2e33cb4664c838.js b/_next/static/chunks/516.52d1b69d79db7f89.js similarity index 97% rename from _next/static/chunks/516.af2e33cb4664c838.js rename to _next/static/chunks/516.52d1b69d79db7f89.js index 54fd418..cf65d91 100644 --- a/_next/static/chunks/516.af2e33cb4664c838.js +++ b/_next/static/chunks/516.52d1b69d79db7f89.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[516],{91584:function(e,t,r){r.d(t,{a:function(){return o}});var l=r(17521);function o(e,t){var r=e.append("foreignObject").attr("width","100000"),o=r.append("xhtml:div");o.attr("xmlns","http://www.w3.org/1999/xhtml");var a=t.label;switch(typeof a){case"function":o.insert(a);break;case"object":o.insert(function(){return a});break;default:o.html(a)}l.bg(o,t.labelStyle),o.style("display","inline-block"),o.style("white-space","nowrap");var n=o.node().getBoundingClientRect();return r.attr("width",n.width).attr("height",n.height),r}},17521:function(e,t,r){r.d(t,{$p:function(){return d},O1:function(){return n},WR:function(){return p},bF:function(){return a},bg:function(){return c}});var l=r(54098),o=r(88987);function a(e,t){return!!e.children(t).length}function n(e){return s(e.v)+":"+s(e.w)+":"+s(e.name)}var i=/:/g;function s(e){return e?String(e).replace(i,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,r){t&&e.attr("class",t).attr("class",r+" "+e.attr("class"))}function p(e,t){var r=t.graph();if(l.Z(r)){var a=r.transition;if(o.Z(a))return a(e)}return e}},41516:function(e,t,r){r.d(t,{diagram:function(){return n}});var l=r(43410),o=r(92887),a=r(71421);r(27509),r(42521),r(87892),r(39185),r(5726),r(91088),r(95591);let n={parser:l.p,db:l.f,renderer:o.f,styles:o.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,(0,a.p)({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),o.f.setConf(e.flowchart),l.f.clear(),l.f.setGen("gen-2")}}},92887:function(e,t,r){r.d(t,{a:function(){return y},f:function(){return h}});var l=r(42521),o=r(27509),a=r(71421),n=r(83880),i=r(91584),s=r(19324),c=r(73660),d=(e,t)=>s.Z.lang.round(c.Z.parse(e)[t]),p=r(78139);let b={},u=function(e,t,r,l,o,n){let s=l.select(`[id="${r}"]`);Object.keys(e).forEach(function(r){let l;let c=e[r],d="default";c.classes.length>0&&(d=c.classes.join(" ")),d+=" flowchart-label";let p=(0,a.k)(c.styles),b=void 0!==c.text?c.text:c.id;if(a.l.info("vertex",c,c.labelType),"markdown"===c.labelType)a.l.info("vertex",c,c.labelType);else if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let e={label:b.replace(/fa[blrs]?:fa-[\w-]+/g,e=>``)};(l=(0,i.a)(s,e).node()).parentNode.removeChild(l)}else{let e=o.createElementNS("http://www.w3.org/2000/svg","text");for(let t of(e.setAttribute("style",p.labelStyle.replace("color:","fill:")),b.split(a.e.lineBreakRegex))){let r=o.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","1"),r.textContent=t,e.appendChild(r)}l=e}let u=0,f="";switch(c.type){case"round":u=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}t.setNode(c.id,{labelStyle:p.labelStyle,shape:f,labelText:b,labelType:c.labelType,rx:u,ry:u,class:d,style:p.style,id:c.id,link:c.link,linkTarget:c.linkTarget,tooltip:n.db.getTooltip(c.id)||"",domId:n.db.lookUpDomId(c.id),haveCallback:c.haveCallback,width:"group"===c.type?500:void 0,dir:c.dir,type:c.type,props:c.props,padding:(0,a.c)().flowchart.padding}),a.l.info("setNode",{labelStyle:p.labelStyle,labelType:c.labelType,shape:f,labelText:b,rx:u,ry:u,class:d,style:p.style,id:c.id,domId:n.db.lookUpDomId(c.id),width:"group"===c.type?500:void 0,type:c.type,dir:c.dir,props:c.props,padding:(0,a.c)().flowchart.padding})})},f=function(e,t,r){let l,n;a.l.info("abc78 edges = ",e);let i=0,s={};if(void 0!==e.defaultStyle){let t=(0,a.k)(e.defaultStyle);l=t.style,n=t.labelStyle}e.forEach(function(r){i++;let c="L-"+r.start+"-"+r.end;void 0===s[c]?s[c]=0:s[c]++,a.l.info("abc78 new entry",c,s[c]);let d=c+"-"+s[c];a.l.info("abc78 new link id to be used is",c,d,s[c]);let p="LS-"+r.start,u="LE-"+r.end,f={style:"",labelStyle:""};switch(f.minlen=r.length||1,"arrow_open"===r.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",r.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let w="",h="";switch(r.stroke){case"normal":w="fill:none;",void 0!==l&&(w=l),void 0!==n&&(h=n),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==r.style){let e=(0,a.k)(r.style);w=e.style,h=e.labelStyle}f.style=f.style+=w,f.labelStyle=f.labelStyle+=h,void 0!==r.interpolate?f.curve=(0,a.n)(r.interpolate,o.c_6):void 0!==e.defaultInterpolate?f.curve=(0,a.n)(e.defaultInterpolate,o.c_6):f.curve=(0,a.n)(b.curve,o.c_6),void 0===r.text?void 0!==r.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=r.labelType,f.label=r.text.replace(a.e.lineBreakRegex,"\n"),void 0===r.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=d,f.classes="flowchart-link "+p+" "+u,t.setEdge(r.start,r.end,f,i)})},w=async function(e,t,r,i){let s,c;a.l.info("Drawing flowchart");let d=i.db.getDirection();void 0===d&&(d="TD");let{securityLevel:p,flowchart:b}=(0,a.c)(),w=b.nodeSpacing||50,h=b.rankSpacing||50;"sandbox"===p&&(s=(0,o.Ys)("#i"+t));let g="sandbox"===p?(0,o.Ys)(s.nodes()[0].contentDocument.body):(0,o.Ys)("body"),y="sandbox"===p?s.nodes()[0].contentDocument:document,k=new l.k({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:w,ranksep:h,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}}),x=i.db.getSubGraphs();a.l.info("Subgraphs - ",x);for(let e=x.length-1;e>=0;e--)c=x[e],a.l.info("Subgraph - ",c),i.db.addVertex(c.id,{text:c.title,type:c.labelType},"group",void 0,c.classes,c.dir);let v=i.db.getVertices(),m=i.db.getEdges();a.l.info("Edges",m);let S=0;for(S=x.length-1;S>=0;S--){c=x[S],(0,o.td_)("cluster").append("text");for(let e=0;e{let r=d(e,"r"),l=d(e,"g"),o=d(e,"b");return p.Z(r,l,o,t)},y=e=>`.label { +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[516],{91584:function(e,t,r){r.d(t,{a:function(){return o}});var l=r(17521);function o(e,t){var r=e.append("foreignObject").attr("width","100000"),o=r.append("xhtml:div");o.attr("xmlns","http://www.w3.org/1999/xhtml");var a=t.label;switch(typeof a){case"function":o.insert(a);break;case"object":o.insert(function(){return a});break;default:o.html(a)}l.bg(o,t.labelStyle),o.style("display","inline-block"),o.style("white-space","nowrap");var n=o.node().getBoundingClientRect();return r.attr("width",n.width).attr("height",n.height),r}},17521:function(e,t,r){r.d(t,{$p:function(){return d},O1:function(){return n},WR:function(){return p},bF:function(){return a},bg:function(){return c}});var l=r(38973),o=r(33313);function a(e,t){return!!e.children(t).length}function n(e){return s(e.v)+":"+s(e.w)+":"+s(e.name)}var i=/:/g;function s(e){return e?String(e).replace(i,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,r){t&&e.attr("class",t).attr("class",r+" "+e.attr("class"))}function p(e,t){var r=t.graph();if(l.Z(r)){var a=r.transition;if(o.Z(a))return a(e)}return e}},41516:function(e,t,r){r.d(t,{diagram:function(){return n}});var l=r(43410),o=r(92887),a=r(71421);r(27509),r(42521),r(42296),r(52070),r(5726),r(91088),r(95591);let n={parser:l.p,db:l.f,renderer:o.f,styles:o.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,(0,a.p)({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),o.f.setConf(e.flowchart),l.f.clear(),l.f.setGen("gen-2")}}},92887:function(e,t,r){r.d(t,{a:function(){return y},f:function(){return h}});var l=r(42521),o=r(27509),a=r(71421),n=r(83880),i=r(91584),s=r(19324),c=r(73660),d=(e,t)=>s.Z.lang.round(c.Z.parse(e)[t]),p=r(78139);let b={},u=function(e,t,r,l,o,n){let s=l.select(`[id="${r}"]`);Object.keys(e).forEach(function(r){let l;let c=e[r],d="default";c.classes.length>0&&(d=c.classes.join(" ")),d+=" flowchart-label";let p=(0,a.k)(c.styles),b=void 0!==c.text?c.text:c.id;if(a.l.info("vertex",c,c.labelType),"markdown"===c.labelType)a.l.info("vertex",c,c.labelType);else if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let e={label:b.replace(/fa[blrs]?:fa-[\w-]+/g,e=>``)};(l=(0,i.a)(s,e).node()).parentNode.removeChild(l)}else{let e=o.createElementNS("http://www.w3.org/2000/svg","text");for(let t of(e.setAttribute("style",p.labelStyle.replace("color:","fill:")),b.split(a.e.lineBreakRegex))){let r=o.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","1"),r.textContent=t,e.appendChild(r)}l=e}let u=0,f="";switch(c.type){case"round":u=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}t.setNode(c.id,{labelStyle:p.labelStyle,shape:f,labelText:b,labelType:c.labelType,rx:u,ry:u,class:d,style:p.style,id:c.id,link:c.link,linkTarget:c.linkTarget,tooltip:n.db.getTooltip(c.id)||"",domId:n.db.lookUpDomId(c.id),haveCallback:c.haveCallback,width:"group"===c.type?500:void 0,dir:c.dir,type:c.type,props:c.props,padding:(0,a.c)().flowchart.padding}),a.l.info("setNode",{labelStyle:p.labelStyle,labelType:c.labelType,shape:f,labelText:b,rx:u,ry:u,class:d,style:p.style,id:c.id,domId:n.db.lookUpDomId(c.id),width:"group"===c.type?500:void 0,type:c.type,dir:c.dir,props:c.props,padding:(0,a.c)().flowchart.padding})})},f=function(e,t,r){let l,n;a.l.info("abc78 edges = ",e);let i=0,s={};if(void 0!==e.defaultStyle){let t=(0,a.k)(e.defaultStyle);l=t.style,n=t.labelStyle}e.forEach(function(r){i++;let c="L-"+r.start+"-"+r.end;void 0===s[c]?s[c]=0:s[c]++,a.l.info("abc78 new entry",c,s[c]);let d=c+"-"+s[c];a.l.info("abc78 new link id to be used is",c,d,s[c]);let p="LS-"+r.start,u="LE-"+r.end,f={style:"",labelStyle:""};switch(f.minlen=r.length||1,"arrow_open"===r.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",r.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let w="",h="";switch(r.stroke){case"normal":w="fill:none;",void 0!==l&&(w=l),void 0!==n&&(h=n),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==r.style){let e=(0,a.k)(r.style);w=e.style,h=e.labelStyle}f.style=f.style+=w,f.labelStyle=f.labelStyle+=h,void 0!==r.interpolate?f.curve=(0,a.n)(r.interpolate,o.c_6):void 0!==e.defaultInterpolate?f.curve=(0,a.n)(e.defaultInterpolate,o.c_6):f.curve=(0,a.n)(b.curve,o.c_6),void 0===r.text?void 0!==r.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=r.labelType,f.label=r.text.replace(a.e.lineBreakRegex,"\n"),void 0===r.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=d,f.classes="flowchart-link "+p+" "+u,t.setEdge(r.start,r.end,f,i)})},w=async function(e,t,r,i){let s,c;a.l.info("Drawing flowchart");let d=i.db.getDirection();void 0===d&&(d="TD");let{securityLevel:p,flowchart:b}=(0,a.c)(),w=b.nodeSpacing||50,h=b.rankSpacing||50;"sandbox"===p&&(s=(0,o.Ys)("#i"+t));let g="sandbox"===p?(0,o.Ys)(s.nodes()[0].contentDocument.body):(0,o.Ys)("body"),y="sandbox"===p?s.nodes()[0].contentDocument:document,k=new l.k({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:w,ranksep:h,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}}),x=i.db.getSubGraphs();a.l.info("Subgraphs - ",x);for(let e=x.length-1;e>=0;e--)c=x[e],a.l.info("Subgraph - ",c),i.db.addVertex(c.id,{text:c.title,type:c.labelType},"group",void 0,c.classes,c.dir);let v=i.db.getVertices(),m=i.db.getEdges();a.l.info("Edges",m);let S=0;for(S=x.length-1;S>=0;S--){c=x[S],(0,o.td_)("cluster").append("text");for(let e=0;e{let r=d(e,"r"),l=d(e,"g"),o=d(e,"b");return p.Z(r,l,o,t)},y=e=>`.label { font-family: ${e.fontFamily}; color: ${e.nodeTextColor||e.textColor}; } diff --git a/_next/static/chunks/521-a924734bdb9d2826.js b/_next/static/chunks/521-a924734bdb9d2826.js new file mode 100644 index 0000000..c5862aa --- /dev/null +++ b/_next/static/chunks/521-a924734bdb9d2826.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[521],{91088:function(t,e){"use strict";e.Nm=e.Rq=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,i=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^.+(:|:)/gim,s=[".","/"];e.Rq="about:blank",e.Nm=function(t){if(!t)return e.Rq;var u=t.replace(o,"").replace(r,function(t,e){return String.fromCharCode(e)}).replace(i,"").replace(o,"").trim();if(!u)return e.Rq;if(s.indexOf(u[0])>-1)return u;var c=u.match(a);if(!c)return u;var l=c[0];return n.test(l)?e.Rq:u}},5726:function(t){var e;e=function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="week",o="month",a="quarter",s="year",u="date",c="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},p="en",_={};_[p]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||"th")+"]"}};var d="$isDayjsObject",g=function(t){return t instanceof b||!(!t||!t[d])},y=function t(e,n,r){var i;if(!e)return p;if("string"==typeof e){var o=e.toLowerCase();_[o]&&(i=o),n&&(_[o]=n,i=o);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var s=e.name;_[s]=e,i=s}return!r&&i&&(p=i),i||!r&&p},m=function(t,e){if(g(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new b(n)},v={s:f,z:function(t){var e=-t.utcOffset(),n=Math.abs(e);return(e<=0?"+":"-")+f(Math.floor(n/60),2,"0")+":"+f(n%60,2,"0")},m:function t(e,n){if(e.date()1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){let t=i(e);t!==e&&(n(r)||(r[o]=t),e=t)}t[e]=!0}return t}function M(e){let n=s(null);for(let[r,o]of t(e))void 0!==i(e,r)&&(n[r]=o);return n}function T(t,e){for(;null!==t;){let n=i(t,e);if(n){if(n.get)return x(n.get);if("function"==typeof n.value)return x(n.value)}t=r(t)}return function(t){return console.warn("fallback value for",t),null}}let k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),A=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Z=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),S=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),E=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$=o(["#text"]),C=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),D=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),O=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),R=a(/<%[\w\W]*|[\w\W]*%>/gm),j=a(/\${[\w\W]*}/gm),F=a(/^data-[\-\w.\u00B7-\uFFFF]/),P=a(/^aria-[\-\w]+$/),I=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=a(/^(?:\w+script|data):/i),z=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=a(/^html$/i);var q,B=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:R,TMPLIT_EXPR:j,DATA_ATTR:F,ARIA_ATTR:P,IS_ALLOWED_URI:I,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:z,DOCTYPE_NAME:Y});let W=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null,r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));let i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function e(){let n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=t=>e(t);if(i.version="3.0.6",i.removed=[],!r||!r.document||9!==r.document.nodeType)return i.isSupported=!1,i;let{document:a}=r,u=a,c=u.currentScript,{DocumentFragment:x,HTMLTemplateElement:U,Node:R,Element:j,NodeFilter:F,NamedNodeMap:P=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:H,DOMParser:z,trustedTypes:q}=r,G=j.prototype,X=T(G,"cloneNode"),V=T(G,"nextSibling"),Q=T(G,"childNodes"),J=T(G,"parentNode");if("function"==typeof U){let t=a.createElement("template");t.content&&t.content.ownerDocument&&(a=t.content.ownerDocument)}let K="",{implementation:tt,createNodeIterator:te,createDocumentFragment:tn,getElementsByTagName:tr}=a,{importNode:ti}=u,to={};i.isSupported="function"==typeof t&&"function"==typeof J&&tt&&void 0!==tt.createHTMLDocument;let{MUSTACHE_EXPR:ta,ERB_EXPR:ts,TMPLIT_EXPR:tu,DATA_ATTR:tc,ARIA_ATTR:tl,IS_SCRIPT_OR_DATA:th,ATTR_WHITESPACE:tf}=B,{IS_ALLOWED_URI:tp}=B,t_=null,td=w({},[...k,...A,...Z,...N,...$]),tg=null,ty=w({},[...C,...D,...O,...L]),tm=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),tv=null,tb=null,tx=!0,tw=!0,tM=!1,tT=!0,tk=!1,tA=!1,tZ=!1,tS=!1,tN=!1,tE=!1,t$=!1,tC=!0,tD=!1,tO=!0,tL=!1,tU={},tR=null,tj=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),tF=null,tP=w({},["audio","video","img","source","image","track"]),tI=null,tH=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tz="http://www.w3.org/1998/Math/MathML",tY="http://www.w3.org/2000/svg",tq="http://www.w3.org/1999/xhtml",tB=tq,tW=!1,tG=null,tX=w({},[tz,tY,tq],_),tV=null,tQ=["application/xhtml+xml","text/html"],tJ=null,tK=null,t0=a.createElement("form"),t1=function(t){return t instanceof RegExp||t instanceof Function},t2=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!tK||tK!==t){if(t&&"object"==typeof t||(t={}),t=M(t),tJ="application/xhtml+xml"===(tV=tV=-1===tQ.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?_:p,t_="ALLOWED_TAGS"in t?w({},t.ALLOWED_TAGS,tJ):td,tg="ALLOWED_ATTR"in t?w({},t.ALLOWED_ATTR,tJ):ty,tG="ALLOWED_NAMESPACES"in t?w({},t.ALLOWED_NAMESPACES,_):tX,tI="ADD_URI_SAFE_ATTR"in t?w(M(tH),t.ADD_URI_SAFE_ATTR,tJ):tH,tF="ADD_DATA_URI_TAGS"in t?w(M(tP),t.ADD_DATA_URI_TAGS,tJ):tP,tR="FORBID_CONTENTS"in t?w({},t.FORBID_CONTENTS,tJ):tj,tv="FORBID_TAGS"in t?w({},t.FORBID_TAGS,tJ):{},tb="FORBID_ATTR"in t?w({},t.FORBID_ATTR,tJ):{},tU="USE_PROFILES"in t&&t.USE_PROFILES,tx=!1!==t.ALLOW_ARIA_ATTR,tw=!1!==t.ALLOW_DATA_ATTR,tM=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tT=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tk=t.SAFE_FOR_TEMPLATES||!1,tA=t.WHOLE_DOCUMENT||!1,tN=t.RETURN_DOM||!1,tE=t.RETURN_DOM_FRAGMENT||!1,t$=t.RETURN_TRUSTED_TYPE||!1,tS=t.FORCE_BODY||!1,tC=!1!==t.SANITIZE_DOM,tD=t.SANITIZE_NAMED_PROPS||!1,tO=!1!==t.KEEP_CONTENT,tL=t.IN_PLACE||!1,tp=t.ALLOWED_URI_REGEXP||I,tB=t.NAMESPACE||tq,tm=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&t1(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tm.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&t1(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tm.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tm.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tk&&(tw=!1),tE&&(tN=!0),tU&&(t_=w({},[...$]),tg=[],!0===tU.html&&(w(t_,k),w(tg,C)),!0===tU.svg&&(w(t_,A),w(tg,D),w(tg,L)),!0===tU.svgFilters&&(w(t_,Z),w(tg,D),w(tg,L)),!0===tU.mathMl&&(w(t_,N),w(tg,O),w(tg,L))),t.ADD_TAGS&&(t_===td&&(t_=M(t_)),w(t_,t.ADD_TAGS,tJ)),t.ADD_ATTR&&(tg===ty&&(tg=M(tg)),w(tg,t.ADD_ATTR,tJ)),t.ADD_URI_SAFE_ATTR&&w(tI,t.ADD_URI_SAFE_ATTR,tJ),t.FORBID_CONTENTS&&(tR===tj&&(tR=M(tR)),w(tR,t.FORBID_CONTENTS,tJ)),tO&&(t_["#text"]=!0),tA&&w(t_,["html","head","body"]),t_.table&&(w(t_,["tbody"]),delete tv.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');K=(n=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=W(q,c)),null!==n&&"string"==typeof K&&(K=n.createHTML(""));o&&o(t),tK=t}},t3=w({},["mi","mo","mn","ms","mtext"]),t5=w({},["foreignobject","desc","title","annotation-xml"]),t6=w({},["title","style","font","a","script"]),t4=w({},A);w(t4,Z),w(t4,S);let t8=w({},N);w(t8,E);let t7=function(t){let e=J(t);e&&e.tagName||(e={namespaceURI:tB,tagName:"template"});let n=p(t.tagName),r=p(e.tagName);return!!tG[t.namespaceURI]&&(t.namespaceURI===tY?e.namespaceURI===tq?"svg"===n:e.namespaceURI===tz?"svg"===n&&("annotation-xml"===r||t3[r]):!!t4[n]:t.namespaceURI===tz?e.namespaceURI===tq?"math"===n:e.namespaceURI===tY?"math"===n&&t5[r]:!!t8[n]:t.namespaceURI===tq?(e.namespaceURI!==tY||!!t5[r])&&(e.namespaceURI!==tz||!!t3[r])&&!t8[n]&&(t6[n]||!t4[n]):"application/xhtml+xml"===tV&&!!tG[t.namespaceURI])},t9=function(t){f(i.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},et=function(t,e){try{f(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!tg[t]){if(tN||tE)try{t9(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}}},ee=function(t){let e=null,r=null;if(tS)t=""+t;else{let e=d(t,/^[\r\n\t ]+/);r=e&&e[0]}"application/xhtml+xml"===tV&&tB===tq&&(t=''+t+"");let i=n?n.createHTML(t):t;if(tB===tq)try{e=new z().parseFromString(i,tV)}catch(t){}if(!e||!e.documentElement){e=tt.createDocument(tB,"template",null);try{e.documentElement.innerHTML=tW?K:i}catch(t){}}let o=e.body||e.documentElement;return(t&&r&&o.insertBefore(a.createTextNode(r),o.childNodes[0]||null),tB===tq)?tr.call(e,tA?"html":"body")[0]:tA?e.documentElement:o},en=function(t){return te.call(t.ownerDocument||t,t,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT,null)},er=function(t){return"function"==typeof R&&t instanceof R},ei=function(t,e,n){to[t]&&l(to[t],t=>{t.call(i,e,n,tK)})},eo=function(t){let e=null;if(ei("beforeSanitizeElements",t,null),t instanceof H&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof P)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes))return t9(t),!0;let n=tJ(t.nodeName);if(ei("uponSanitizeElement",t,{tagName:n,allowedTags:t_}),t.hasChildNodes()&&!er(t.firstElementChild)&&v(/<[/\w]/g,t.innerHTML)&&v(/<[/\w]/g,t.textContent))return t9(t),!0;if(!t_[n]||tv[n]){if(!tv[n]&&es(n)&&(tm.tagNameCheck instanceof RegExp&&v(tm.tagNameCheck,n)||tm.tagNameCheck instanceof Function&&tm.tagNameCheck(n)))return!1;if(tO&&!tR[n]){let e=J(t)||t.parentNode,n=Q(t)||t.childNodes;if(n&&e){let r=n.length;for(let i=r-1;i>=0;--i)e.insertBefore(X(n[i],!0),V(t))}}return t9(t),!0}return t instanceof j&&!t7(t)||("noscript"===n||"noembed"===n||"noframes"===n)&&v(/<\/no(script|embed|frames)/i,t.innerHTML)?(t9(t),!0):(tk&&3===t.nodeType&&(e=t.textContent,l([ta,ts,tu],t=>{e=g(e,t," ")}),t.textContent!==e&&(f(i.removed,{element:t.cloneNode()}),t.textContent=e)),ei("afterSanitizeElements",t,null),!1)},ea=function(t,e,n){if(tC&&("id"===e||"name"===e)&&(n in a||n in t0))return!1;if(tw&&!tb[e]&&v(tc,e));else if(tx&&v(tl,e));else if(!tg[e]||tb[e]){if(!(es(t)&&(tm.tagNameCheck instanceof RegExp&&v(tm.tagNameCheck,t)||tm.tagNameCheck instanceof Function&&tm.tagNameCheck(t))&&(tm.attributeNameCheck instanceof RegExp&&v(tm.attributeNameCheck,e)||tm.attributeNameCheck instanceof Function&&tm.attributeNameCheck(e))||"is"===e&&tm.allowCustomizedBuiltInElements&&(tm.tagNameCheck instanceof RegExp&&v(tm.tagNameCheck,n)||tm.tagNameCheck instanceof Function&&tm.tagNameCheck(n))))return!1}else if(tI[e]);else if(v(tp,g(n,tf,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===y(n,"data:")&&tF[t]);else if(tM&&!v(th,g(n,tf,"")));else if(n)return!1;return!0},es=function(t){return t.indexOf("-")>0},eu=function(t){ei("beforeSanitizeAttributes",t,null);let{attributes:e}=t;if(!e)return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tg},o=e.length;for(;o--;){let{name:a,namespaceURI:s,value:u}=e[o],c=tJ(a),f="value"===a?u:m(u);if(r.attrName=c,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,ei("uponSanitizeAttribute",t,r),f=r.attrValue,r.forceKeepAttr||(et(a,t),!r.keepAttr))continue;if(!tT&&v(/\/>/i,f)){et(a,t);continue}tk&&l([ta,ts,tu],t=>{f=g(f,t," ")});let p=tJ(t.nodeName);if(ea(p,c,f)){if(tD&&("id"===c||"name"===c)&&(et(a,t),f="user-content-"+f),n&&"object"==typeof q&&"function"==typeof q.getAttributeType){if(s);else switch(q.getAttributeType(p,c)){case"TrustedHTML":f=n.createHTML(f);break;case"TrustedScriptURL":f=n.createScriptURL(f)}}try{s?t.setAttributeNS(s,a,f):t.setAttribute(a,f),h(i.removed)}catch(t){}}}ei("afterSanitizeAttributes",t,null)},ec=function t(e){let n=null,r=en(e);for(ei("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)ei("uponSanitizeShadowNode",n,null),eo(n)||(n.content instanceof x&&t(n.content),eu(n));ei("afterSanitizeShadowDOM",e,null)};return i.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,s=null;if((tW=!t)&&(t=""),"string"!=typeof t&&!er(t)){if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw b("dirty is not a string, aborting")}else throw b("toString is not a function")}if(!i.isSupported)return t;if(tZ||t2(e),i.removed=[],"string"==typeof t&&(tL=!1),tL){if(t.nodeName){let e=tJ(t.nodeName);if(!t_[e]||tv[e])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof R)1===(o=(r=ee("")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===o.nodeName?r=o:"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!tN&&!tk&&!tA&&-1===t.indexOf("<"))return n&&t$?n.createHTML(t):t;if(!(r=ee(t)))return tN?null:t$?K:""}r&&tS&&t9(r.firstChild);let c=en(tL?t:r);for(;a=c.nextNode();)eo(a)||(a.content instanceof x&&ec(a.content),eu(a));if(tL)return t;if(tN){if(tE)for(s=tn.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(tg.shadowroot||tg.shadowrootmode)&&(s=ti.call(u,s,!0)),s}let h=tA?r.outerHTML:r.innerHTML;return tA&&t_["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&v(Y,r.ownerDocument.doctype.name)&&(h="\n"+h),tk&&l([ta,ts,tu],t=>{h=g(h,t," ")}),n&&t$?n.createHTML(h):h},i.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t2(t),tZ=!0},i.clearConfig=function(){tK=null,tZ=!1},i.isValidAttribute=function(t,e,n){return tK||t2({}),ea(tJ(t),tJ(e),n)},i.addHook=function(t,e){"function"==typeof e&&(to[t]=to[t]||[],f(to[t],e))},i.removeHook=function(t){if(to[t])return h(to[t])},i.removeHooks=function(t){to[t]&&(to[t]=[])},i.removeAllHooks=function(){to={}},i}()},t.exports=e()},21826:function(t,e,n){"use strict";function r(t){for(var e=[],n=1;n{let n=document.documentElement,r=new MutationObserver(i);return r.observe(n,{attributes:!0}),i(),()=>{r.disconnect()};async function i(){let r=n.classList.contains("dark")||n.attributes.getNamedItem("data-theme")?.value==="dark";try{o.L.initialize({startOnLoad:!1,securityLevel:"loose",fontFamily:"inherit",themeCSS:"margin: 1.5rem auto 0;",theme:r?"dark":"default"});let{svg:n}=await o.L.render(e.replaceAll(":",""),t);a(n)}catch(t){console.error("Error while rendering mermaid",t)}}},[t]),(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:n}})}},27509:function(t,e,n){"use strict";function r(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n=i)&&(n=i)}return n}function i(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function o(t){return t}function a(t){return"translate("+t+",0)"}function s(t){return"translate(0,"+t+")"}function u(){return!this.__axis}function c(t,e){var n=[],r=null,i=null,c=6,l=6,h=3,f="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,p=1===t||4===t?-1:1,_=4===t||2===t?"x":"y",d=1===t||3===t?a:s;function g(a){var s=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,g=null==i?e.tickFormat?e.tickFormat.apply(e,n):o:i,y=Math.max(c,0)+h,m=e.range(),v=+m[0]+f,b=+m[m.length-1]+f,x=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}:function(t){return e=>+t(e)})(e.copy(),f),w=a.selection?a.selection():a,M=w.selectAll(".domain").data([null]),T=w.selectAll(".tick").data(s,e).order(),k=T.exit(),A=T.enter().append("g").attr("class","tick"),Z=T.select("line"),S=T.select("text");M=M.merge(M.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),T=T.merge(A),Z=Z.merge(A.append("line").attr("stroke","currentColor").attr(_+"2",p*c)),S=S.merge(A.append("text").attr("fill","currentColor").attr(_,p*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),a!==w&&(M=M.transition(a),T=T.transition(a),Z=Z.transition(a),S=S.transition(a),k=k.transition(a).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=x(t))?d(t+f):this.getAttribute("transform")}),A.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return d((e&&isFinite(e=e(t))?e:x(t))+f)})),k.remove(),M.attr("d",4===t||2===t?l?"M"+p*l+","+v+"H"+f+"V"+b+"H"+p*l:"M"+f+","+v+"V"+b:l?"M"+v+","+p*l+"V"+f+"H"+b+"V"+p*l:"M"+v+","+f+"H"+b),T.attr("opacity",1).attr("transform",function(t){return d(x(t)+f)}),Z.attr(_+"2",p*c),S.attr(_,p*y).text(g),w.filter(u).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),w.each(function(){this.__axis=x})}return g.scale=function(t){return arguments.length?(e=t,g):e},g.ticks=function(){return n=Array.from(arguments),g},g.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),g):n.slice()},g.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),g):r&&r.slice()},g.tickFormat=function(t){return arguments.length?(i=t,g):i},g.tickSize=function(t){return arguments.length?(c=l=+t,g):c},g.tickSizeInner=function(t){return arguments.length?(c=+t,g):c},g.tickSizeOuter=function(t){return arguments.length?(l=+t,g):l},g.tickPadding=function(t){return arguments.length?(h=+t,g):h},g.offset=function(t){return arguments.length?(f=+t,g):f},g}function l(t){return c(1,t)}function h(t){return c(3,t)}function f(){}function p(t){return null==t?f:function(){return this.querySelector(t)}}function _(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function d(){return[]}function g(t){return null==t?d:function(){return this.querySelectorAll(t)}}function y(t){return function(){return this.matches(t)}}function m(t){return function(e){return e.matches(t)}}n.d(e,{Nb1:function(){return iP},LLu:function(){return h},F5q:function(){return l},$0Z:function(){return iK},Dts:function(){return i1},WQY:function(){return i3},qpX:function(){return i6},u93:function(){return i4},tFB:function(){return i7},YY7:function(){return oe},OvA:function(){return or},dCK:function(){return oo},zgE:function(){return ou},fGX:function(){return ol},$m7:function(){return of},c_6:function(){return iz},fxm:function(){return o_},FdL:function(){return ox},ak_:function(){return ow},SxZ:function(){return ok},eA_:function(){return oZ},jsv:function(){return oN},iJ:function(){return oS},JHv:function(){return eQ},jvg:function(){return iB},Fp7:function(){return r},VV$:function(){return i},ve8:function(){return iX},tiA:function(){return function t(){var e,n,r=e3().unknown(void 0),i=r.domain,o=r.range,a=0,s=1,u=!1,c=0,l=0,h=.5;function f(){var t=i().length,r=s0))return[];if(t===e)return[t];let r=e=i))return[];let s=o-i+1,u=Array(s);if(r){if(a<0)for(let t=0;t0;){if((i=e7(u,c,t))===r)return o[a]=u,o[s]=c,e(o);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else if(i<0)u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i;else break;r=i}return n},n}},PKp:function(){return e3},Xf:function(){return ih},K2I:function(){return ip},Ys:function(){return i_},td_:function(){return id},YPS:function(){return eO},rr1:function(){return nO},i$Z:function(){return tl},y2j:function(){return nz},WQD:function(){return nC},U8T:function(){return nS},Z_i:function(){return nE},Ox9:function(){return nF},F0B:function(){return nK},LqH:function(){return nY},S1K:function(){return nN},Zyz:function(){return nj},Igq:function(){return nH},YDX:function(){return nP},EFj:function(){return nI}});var v=Array.prototype.find;function b(){return this.firstElementChild}var x=Array.prototype.filter;function w(){return Array.from(this.children)}function M(t){return Array(t.length)}function T(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function k(t,e,n,r,i,o){for(var a,s=0,u=e.length,c=o.length;se?1:t>=e?0:NaN}T.prototype={constructor:T,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var N="http://www.w3.org/1999/xhtml",E={svg:"http://www.w3.org/2000/svg",xhtml:N,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function $(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),E.hasOwnProperty(e)?{space:E[e],local:t}:t}function C(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function D(t,e){return t.style.getPropertyValue(e)||C(t).getComputedStyle(t,null).getPropertyValue(e)}function O(t){return t.trim().split(/^|\s+/)}function L(t){return t.classList||new U(t)}function U(t){this._node=t,this._names=O(t.getAttribute("class")||"")}function R(t,e){for(var n=L(t),r=-1,i=e.length;++rthis._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Q=[null];function J(t,e){this._groups=t,this._parents=e}function K(){return new J([[document.documentElement]],Q)}J.prototype=K.prototype={constructor:J,select:function(t){"function"!=typeof t&&(t=p(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i=w&&(w=x+1);!(b=g[w])&&++w<_;);v._next=b||null}}return(a=new J(a,r))._enter=s,a._exit=u,a},enter:function(){return new J(this._enter||this._groups.map(M),this._parents)},exit:function(){return new J(this._exit||this._groups.map(M),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,a=Math.min(i,o),s=Array(i),u=0;u=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=S);for(var n=this._groups,r=n.length,i=Array(r),o=0;o1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):D(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=O(t+"");if(arguments.length<2){for(var r=L(this.node()),i=-1,o=n.length;++i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),a=o.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var u,c=0,l=s.length;c{}};function te(){for(var t,e=0,n=arguments.length,r={};e=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),o=-1,a=i.length;if(arguments.length<2){for(;++o0)for(var n,r,i=Array(n),o=0;o=0&&e._call.call(void 0,t),e=e._next;--tp}()}finally{tp=0,function(){for(var t,e,n=th,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:th=e);tf=t,tZ(r)}(),ty=0}}function tA(){var t=tv.now(),e=t-tg;e>1e3&&(tm-=e,tg=t)}function tZ(t){!tp&&(t_&&(t_=clearTimeout(t_)),t-ty>24?(t<1/0&&(t_=setTimeout(tk,t-tv.now()-tm)),td&&(td=clearInterval(td))):(td||(tg=tv.now(),td=setInterval(tA,1e3)),tp=1,tb(tk)))}function tS(t,e,n){var r=new tM;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}tM.prototype=tT.prototype={constructor:tM,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?tx():+n)+(null==e?0:+e),this._next||tf===this||(tf?tf._next=this:th=this,tf=this),this._call=t,this._time=n,tZ()},stop:function(){this._call&&(this._call=null,this._time=1/0,tZ())}};var tN=te("start","end","cancel","interrupt"),tE=[];function t$(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(u){var c,l,h,f;if(1!==n.state)return s();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return tS(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[c]):+c0)throw Error("too late; already scheduled");return n}function tD(t,e){var n=tO(t,e);if(n.state>3)throw Error("too late; already running");return n}function tO(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}function tL(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var tU=180/Math.PI,tR={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tj(t,e,n,r,i,o){var a,s,u;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(u=t*n+e*r)&&(n-=t*u,r-=e*u),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,u/=s),t*r180?u+=360:u-s>180&&(s+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:tL(s,u)})):u&&h.push(i(h)+"rotate("+u+r),(c=o.skewX)!==(l=a.skewX)?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:tL(c,l)}):l&&h.push(i(h)+"skewX("+l+r),!function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:tL(t,n)},{i:s-2,x:tL(e,r)})}else(1!==n||1!==r)&&o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,h,f),o=a=null,function(t){for(var e,n=-1,r=f.length;++n>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?t8(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?t8(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=tV.exec(t))?new et(e[1],e[2],e[3],1):(e=tQ.exec(t))?new et(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=tJ.exec(t))?t8(e[1],e[2],e[3],e[4]):(e=tK.exec(t))?t8(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=t0.exec(t))?ea(e[1],e[2]/100,e[3]/100,1):(e=t1.exec(t))?ea(e[1],e[2]/100,e[3]/100,e[4]):t2.hasOwnProperty(t)?t4(t2[t]):"transparent"===t?new et(NaN,NaN,NaN,0):null}function t4(t){return new et(t>>16&255,t>>8&255,255&t,1)}function t8(t,e,n,r){return r<=0&&(t=e=n=NaN),new et(t,e,n,r)}function t7(t){return(t instanceof tq||(t=t6(t)),t)?new et((t=t.rgb()).r,t.g,t.b,t.opacity):new et}function t9(t,e,n,r){return 1==arguments.length?t7(t):new et(t,e,n,null==r?1:r)}function et(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function ee(){return`#${eo(this.r)}${eo(this.g)}${eo(this.b)}`}function en(){let t=er(this.opacity);return`${1===t?"rgb(":"rgba("}${ei(this.r)}, ${ei(this.g)}, ${ei(this.b)}${1===t?")":`, ${t})`}`}function er(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ei(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function eo(t){return((t=ei(t))<16?"0":"")+t.toString(16)}function ea(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new eu(t,e,n,r)}function es(t){if(t instanceof eu)return new eu(t.h,t.s,t.l,t.opacity);if(t instanceof tq||(t=t6(t)),!t)return new eu;if(t instanceof eu)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=e===o?(n-r)/s+(n0&&u<1?0:a,new eu(a,s,u,t.opacity)}function eu(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function ec(t){return(t=(t||0)%360)<0?t+360:t}function el(t){return Math.max(0,Math.min(1,t||0))}function eh(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}function ef(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}tz(tq,t6,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:t3,formatHex:t3,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return es(this).formatHsl()},formatRgb:t5,toString:t5}),tz(et,t9,tY(tq,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new et(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new et(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new et(ei(this.r),ei(this.g),ei(this.b),er(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ee,formatHex:ee,formatHex8:function(){return`#${eo(this.r)}${eo(this.g)}${eo(this.b)}${eo((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:en,toString:en})),tz(eu,function(t,e,n,r){return 1==arguments.length?es(t):new eu(t,e,n,null==r?1:r)},tY(tq,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new eu(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new eu(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new et(eh(t>=240?t-240:t+120,i,r),eh(t,i,r),eh(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new eu(ec(this.h),el(this.s),el(this.l),er(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=er(this.opacity);return`${1===t?"hsl(":"hsla("}${ec(this.h)}, ${100*el(this.s)}%, ${100*el(this.l)}%${1===t?")":`, ${t})`}`}}));var ep=t=>()=>t;function e_(t,e){return function(n){return t+n*e}}function ed(t,e){var n=e-t;return n?e_(t,n):ep(isNaN(t)?e:t)}var eg=function t(e){var n,r=1==(n=+(n=e))?ed:function(t,e){var r,i,o;return e-t?(r=t,i=e,r=Math.pow(r,o=n),i=Math.pow(i,o)-r,o=1/o,function(t){return Math.pow(r+t*i,o)}):ep(isNaN(t)?e:t)};function i(t,e){var n=r((t=t9(t)).r,(e=t9(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),a=ed(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return i.gamma=t,i}(1);function ey(t){return function(e){var n,r,i=e.length,o=Array(i),a=Array(i),s=Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=rs&&(a=e.slice(s,a),c[u]?c[u]+=a:c[++u]=a),(i=i[0])===(o=o[0])?c[u]?c[u]+=o:c[++u]=o:(c[++u]=null,l.push({i:u,x:tL(i,o)})),s=ev.lastIndex;return s=0&&(t=t.slice(0,e)),!t||"start"===t})?tC:tD,function(){var a=i(this,o),s=a.on;s!==n&&(r=(n=s).copy()).on(t,e),a.on=r}))},attr:function(t,e){var n=$(t),r="transform"===n?tI:ex;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,o;return function(){var a,s,u=n(this);return null==u?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local))===(s=u+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,u))}}:function(t,e,n){var r,i,o;return function(){var a,s,u=n(this);return null==u?void this.removeAttribute(t):(a=this.getAttribute(t))===(s=u+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,u))}})(n,r,tH(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}:function(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}})(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();var r=$(t);return this.tween(n,(r.local?function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttributeNS(t.space,t.local,i.call(this,e))}),n}return i._value=e,i}:function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttribute(t,i.call(this,e))}),n}return i._value=e,i})(r,e))},style:function(t,e,n){var r,i,o,a,s,u,c,l,h,f,p,_,d,g,y,m,v,b,x,w,M,T="transform"==(t+="")?tP:ex;return null==e?this.styleTween(t,(r=t,function(){var t=D(this,r),e=(this.style.removeProperty(r),D(this,r));return t===e?null:t===i&&e===o?a:a=T(i=t,o=e)})).on("end.style."+t,eM(t)):"function"==typeof e?this.styleTween(t,(s=t,u=tH(this,"style."+t,e),function(){var t=D(this,s),e=u(this),n=e+"";return null==e&&(this.style.removeProperty(s),n=e=D(this,s)),t===n?null:t===c&&n===l?h:(l=n,h=T(c=t,e))})).each((f=this._id,v="end."+(m="style."+(p=t)),function(){var t=tD(this,f),e=t.on,n=null==t.value[m]?y||(y=eM(p)):void 0;(e!==_||g!==n)&&(d=(_=e).copy()).on(v,g=n),t.on=d})):this.styleTween(t,(b=t,M=e+"",function(){var t=D(this,b);return t===M?null:t===x?w:w=T(x=t,e)}),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e){this.style.setProperty(t,o.call(this,e),n)}),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=tH(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=tO(this.node(),n).tween,o=0,a=i.length;o2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]}a&&delete t.__transition}}(this,t)})},K.prototype.transition=function(t){var e,n;t instanceof ek?(e=t._id,t=t._name):(e=++eT,(n=eZ).time=tx(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;ofetch(e,n).then(eC).then(e=>(new DOMParser).parseFromString(e,t))}["w","e"].map(e$),["n","s"].map(e$),["n","w","e","s","nw","ne","sw","se"].map(e$),eD("application/xml"),eD("text/html");var eO=eD("image/svg+xml");let eL=Math.PI/180,eU=180/Math.PI,eR=4/29,ej=6/29,eF=6/29*3*(6/29),eP=6/29*(6/29)*(6/29);function eI(t){if(t instanceof eH)return new eH(t.l,t.a,t.b,t.opacity);if(t instanceof eG)return eX(t);t instanceof et||(t=t7(t));var e,n,r=eB(t.r),i=eB(t.g),o=eB(t.b),a=ez((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?e=n=a:(e=ez((.4360747*r+.3850649*i+.1430804*o)/.96422),n=ez((.0139322*r+.0971045*i+.7141733*o)/.82521)),new eH(116*a-16,500*(e-a),200*(a-n),t.opacity)}function eH(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function ez(t){return t>eP?Math.pow(t,1/3):t/eF+eR}function eY(t){return t>ej?t*t*t:eF*(t-eR)}function eq(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function eB(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function eW(t,e,n,r){return 1==arguments.length?function(t){if(t instanceof eG)return new eG(t.h,t.c,t.l,t.opacity);if(t instanceof eH||(t=eI(t)),0===t.a&&0===t.b)return new eG(NaN,0180||n<-180?n-360*Math.round(n/360):n):ep(isNaN(t)?e:t)});function eJ(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}eV(ed);class eK extends Map{constructor(t,e=e1){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,n]of t)this.set(e,n)}get(t){return super.get(e0(this,t))}has(t){return super.has(e0(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}(this,t))}}function e0({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):n}function e1(t){return null!==t&&"object"==typeof t?t.valueOf():t}let e2=Symbol("implicit");function e3(){var t=new eK,e=[],n=[],r=e2;function i(i){let o=t.get(i);if(void 0===o){if(r!==e2)return r;t.set(i,o=e.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();for(let r of(e=[],t=new eK,n))t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return e3(e,n).unknown(r)},eJ.apply(i,arguments),i}let e5=Math.sqrt(50),e6=Math.sqrt(10),e4=Math.sqrt(2);function e8(t,e,n){let r,i,o;let a=(e-t)/Math.max(0,n),s=Math.floor(Math.log10(a)),u=a/Math.pow(10,s),c=u>=e5?10:u>=e6?5:u>=e4?2:1;return(s<0?(r=Math.round(t*(o=Math.pow(10,-s)/c)),i=Math.round(e*o),r/oe&&--i,o=-o):(r=Math.round(t/(o=Math.pow(10,s)*c)),i=Math.round(e/o),r*oe&&--i),ie?1:t>=e?0:NaN}function ne(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function nn(t){let e,n,r;function i(t,r,i=0,o=t.length){if(i>>1;0>n(t[e],r)?i=e+1:o=e}while(int(t(e),n),r=(e,n)=>t(e)-n):(e=t===nt||t===ne?t:nr,n=t,r=t),{left:i,center:function(t,e,n=0,o=t.length){let a=i(t,e,n,o-1);return a>n&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,i=0,o=t.length){if(i>>1;0>=n(t[e],r)?i=e+1:o=e}while(ie&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),r=u>2?nf:nh,i=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),s,u)))(t(c(e)))}return h.invert=function(n){return c(e((o||(o=r(s,a.map(t),tL)))(n)))},h.domain=function(t){return arguments.length?(a=Array.from(t,ns),l()):a.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),u=na,l()},h.clamp=function(t){return arguments.length?(c=!!t||nc,l()):c!==nc},h.interpolate=function(t){return arguments.length?(u=t,l()):u},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,l()}})()(nc,nc)}var nd=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ng(t){var e;if(!(e=nd.exec(t)))throw Error("invalid format: "+t);return new ny({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function ny(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function nm(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function nv(t){return(t=nm(Math.abs(t)))?t[1]:NaN}function nb(t,e){var n=nm(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}ng.prototype=ny.prototype,ny.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var nx={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>nb(100*t,e),r:nb,s:function(t,e){var n=nm(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(to=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+Array(1-o).join("0")+nm(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function nw(t){return t}var nM=Array.prototype.map,nT=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];ts=(ta=function(t){var e,n,r,i=void 0===t.grouping||void 0===t.thousands?nw:(e=nM.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),o=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?nw:(r=nM.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return r[+t]})}),c=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=ng(t)).fill,n=t.align,r=t.sign,f=t.symbol,p=t.zero,_=t.width,d=t.comma,g=t.precision,y=t.trim,m=t.type;"n"===m?(d=!0,m="g"):nx[m]||(void 0===g&&(g=12),y=!0,m="g"),(p||"0"===e&&"="===n)&&(p=!0,e="0",n="=");var v="$"===f?o:"#"===f&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",b="$"===f?a:/[%p]/.test(m)?c:"",x=nx[m],w=/[defgprs%]/.test(m);function M(t){var o,a,c,f=v,M=b;if("c"===m)M=x(t)+M,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?h:x(Math.abs(t),g),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),T&&0==+t&&"+"!==r&&(T=!1),f=(T?"("===r?r:l:"-"===r||"("===r?"":r)+f,M=("s"===m?nT[8+to/3]:"")+M+(T&&"("===r?")":""),w){for(o=-1,a=t.length;++o(c=t.charCodeAt(o))||c>57){M=(46===c?s+t.slice(o+1):t.slice(o))+M,t=t.slice(0,o);break}}}d&&!p&&(t=i(t,1/0));var k=f.length+t.length+M.length,A=k<_?Array(_-k+1).join(e):"";switch(d&&p&&(t=i(A+t,A.length?_-M.length:1/0),A=""),n){case"<":t=f+t+M+A;break;case"=":t=f+A+t+M;break;case"^":t=A.slice(0,k=A.length>>1)+f+t+M+A.slice(k);break;default:t=A+f+t+M}return u(t)}return g=void 0===g?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),M.toString=function(){return t+""},M}return{format:f,formatPrefix:function(t,e){var n=f(((t=ng(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(nv(e)/3))),i=Math.pow(10,-r),o=nT[8+r/3];return function(t){return n(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,tu=ta.formatPrefix;let nk=new Date,nA=new Date;function nZ(t,e,n,r){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),i.round=t=>{let e=i(t),n=i.ceil(t);return t-e(e(t=new Date(+t),null==n?1:Math.floor(n)),t),i.range=(n,r,o)=>{let a;let s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n0))return s;do s.push(a=new Date(+n)),e(n,o),t(n);while(anZ(e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},(t,r)=>{if(t>=t){if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}}),n&&(i.count=(e,r)=>(nk.setTime(+e),nA.setTime(+r),t(nk),t(nA),Math.floor(n(nk,nA))),i.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?e=>r(e)%t==0:e=>i.count(0,e)%t==0):i:null),i}let nS=nZ(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);nS.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?nZ(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):nS:null,nS.range;let nN=nZ(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());nN.range;let nE=nZ(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());nE.range;let n$=nZ(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());n$.range;let nC=nZ(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());nC.range;let nD=nZ(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());nD.range;let nO=nZ(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);nO.range;let nL=nZ(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);nL.range;let nU=nZ(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));function nR(t){return nZ(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}nU.range;let nj=nR(0),nF=nR(1),nP=nR(2),nI=nR(3),nH=nR(4),nz=nR(5),nY=nR(6);function nq(t){return nZ(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}nj.range,nF.range,nP.range,nI.range,nH.range,nz.range,nY.range;let nB=nq(0),nW=nq(1),nG=nq(2),nX=nq(3),nV=nq(4),nQ=nq(5),nJ=nq(6);nB.range,nW.range,nG.range,nX.range,nV.range,nQ.range,nJ.range;let nK=nZ(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());nK.range;let n0=nZ(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());n0.range;let n1=nZ(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());n1.every=t=>isFinite(t=Math.floor(t))&&t>0?nZ(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)}):null,n1.range;let n2=nZ(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function n3(t,e,n,r,i,o){let a=[[nN,1,1e3],[nN,5,5e3],[nN,15,15e3],[nN,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function s(e,n,r){let i=Math.abs(n-e)/r,o=nn(([,,t])=>t).right(a,i);if(o===a.length)return t.every(e9(e/31536e6,n/31536e6,r));if(0===o)return nS.every(Math.max(e9(e,n,r),1));let[s,u]=a[i/a[o-1][2]isFinite(t=Math.floor(t))&&t>0?nZ(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null,n2.range;let[n5,n6]=n3(n2,n0,nB,nU,nD,n$),[n4,n8]=n3(n1,nK,nj,nO,nC,nE);function n7(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function n9(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function rt(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var re={"-":"",_:" ",0:"0"},rn=/^\s*\d+/,rr=/^%/,ri=/[\\^$*+?|[\]().{}]/g;function ro(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o[t.toLowerCase(),e]))}function rc(t,e,n){var r=rn.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function rl(t,e,n){var r=rn.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function rh(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function rf(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function rp(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function r_(t,e,n){var r=rn.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function rd(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function rg(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ry(t,e,n){var r=rn.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function rm(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function rv(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function rb(t,e,n){var r=rn.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function rx(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function rw(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function rM(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function rT(t,e,n){var r=rn.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function rk(t,e,n){var r=rn.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function rA(t,e,n){var r=rr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function rZ(t,e,n){var r=rn.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function rS(t,e,n){var r=rn.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function rN(t,e){return ro(t.getDate(),e,2)}function rE(t,e){return ro(t.getHours(),e,2)}function r$(t,e){return ro(t.getHours()%12||12,e,2)}function rC(t,e){return ro(1+nO.count(n1(t),t),e,3)}function rD(t,e){return ro(t.getMilliseconds(),e,3)}function rO(t,e){return rD(t,e)+"000"}function rL(t,e){return ro(t.getMonth()+1,e,2)}function rU(t,e){return ro(t.getMinutes(),e,2)}function rR(t,e){return ro(t.getSeconds(),e,2)}function rj(t){var e=t.getDay();return 0===e?7:e}function rF(t,e){return ro(nj.count(n1(t)-1,t),e,2)}function rP(t){var e=t.getDay();return e>=4||0===e?nH(t):nH.ceil(t)}function rI(t,e){return t=rP(t),ro(nH.count(n1(t),t)+(4===n1(t).getDay()),e,2)}function rH(t){return t.getDay()}function rz(t,e){return ro(nF.count(n1(t)-1,t),e,2)}function rY(t,e){return ro(t.getFullYear()%100,e,2)}function rq(t,e){return ro((t=rP(t)).getFullYear()%100,e,2)}function rB(t,e){return ro(t.getFullYear()%1e4,e,4)}function rW(t,e){var n=t.getDay();return ro((t=n>=4||0===n?nH(t):nH.ceil(t)).getFullYear()%1e4,e,4)}function rG(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ro(e/60|0,"0",2)+ro(e%60,"0",2)}function rX(t,e){return ro(t.getUTCDate(),e,2)}function rV(t,e){return ro(t.getUTCHours(),e,2)}function rQ(t,e){return ro(t.getUTCHours()%12||12,e,2)}function rJ(t,e){return ro(1+nL.count(n2(t),t),e,3)}function rK(t,e){return ro(t.getUTCMilliseconds(),e,3)}function r0(t,e){return rK(t,e)+"000"}function r1(t,e){return ro(t.getUTCMonth()+1,e,2)}function r2(t,e){return ro(t.getUTCMinutes(),e,2)}function r3(t,e){return ro(t.getUTCSeconds(),e,2)}function r5(t){var e=t.getUTCDay();return 0===e?7:e}function r6(t,e){return ro(nB.count(n2(t)-1,t),e,2)}function r4(t){var e=t.getUTCDay();return e>=4||0===e?nV(t):nV.ceil(t)}function r8(t,e){return t=r4(t),ro(nV.count(n2(t),t)+(4===n2(t).getUTCDay()),e,2)}function r7(t){return t.getUTCDay()}function r9(t,e){return ro(nW.count(n2(t)-1,t),e,2)}function it(t,e){return ro(t.getUTCFullYear()%100,e,2)}function ie(t,e){return ro((t=r4(t)).getUTCFullYear()%100,e,2)}function ir(t,e){return ro(t.getUTCFullYear()%1e4,e,4)}function ii(t,e){var n=t.getUTCDay();return ro((t=n>=4||0===n?nV(t):nV.ceil(t)).getUTCFullYear()%1e4,e,4)}function io(){return"+0000"}function ia(){return"%"}function is(t){return+t}function iu(t){return Math.floor(+t/1e3)}function ic(t){return new Date(t)}function il(t){return t instanceof Date?+t:+new Date(+t)}function ih(){return eJ.apply((function t(e,n,r,i,o,a,s,u,c,l){var h=n_(),f=h.invert,p=h.domain,_=l(".%L"),d=l(":%S"),g=l("%I:%M"),y=l("%I %p"),m=l("%a %d"),v=l("%b %d"),b=l("%B"),x=l("%Y");function w(t){return(c(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:is,s:iu,S:rR,u:rj,U:rF,V:rI,w:rH,W:rz,x:null,X:null,y:rY,Y:rB,Z:rG,"%":ia},b={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:rX,e:rX,f:r0,g:ie,G:ii,H:rV,I:rQ,j:rJ,L:rK,m:r1,M:r2,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:is,s:iu,S:r3,u:r5,U:r6,V:r8,w:r7,W:r9,x:null,X:null,y:it,Y:ir,Z:io,"%":ia},x={a:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=_.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return T(t,e,n,r)},d:rv,e:rv,f:rk,g:rd,G:r_,H:rx,I:rx,j:rb,L:rT,m:rm,M:rw,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:ry,Q:rZ,s:rS,S:rM,u:rl,U:rh,V:rf,w:rc,W:rp,x:function(t,e,r){return T(t,n,e,r)},X:function(t,e,n){return T(t,r,e,n)},y:rd,Y:r_,Z:rg,"%":rA};function w(t,e){return function(n){var r,i,o,a=[],s=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=(r=n9(rt(o.y,0,1))).getUTCDay())>4||0===i?nW.ceil(r):nW(r),r=nL.offset(r,(o.V-1)*7),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(i=(r=n7(rt(o.y,0,1))).getDay())>4||0===i?nF.ceil(r):nF(r),r=nO.offset(r,(o.V-1)*7),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?n9(rt(o.y,0,1)).getUTCDay():n7(rt(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,n9(o)):n7(o)}}function T(t,e,n,r){for(var i,o,a=0,s=e.length,u=n.length;a=u)return -1;if(37===(i=e.charCodeAt(a++))){if(!(o=x[(i=e.charAt(a++))in re?e.charAt(a++):i])||(r=o(t,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return v.x=w(n,v),v.X=w(r,v),v.c=w(e,v),b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),{format:function(t){var e=w(t+="",v);return e.toString=function(){return t},e},parse:function(t){var e=M(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=M(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,tc.parse,tc.utcFormat,tc.utcParse;var ip=function(t){for(var e=t.length/6|0,n=Array(e),r=0;r=1?ik:t<=-1?-ik:Math.asin(t)}let iS=Math.PI,iN=2*iS,iE=iN-1e-6;function i$(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw Error(`invalid digits: ${t}`);if(e>15)return i$;let n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e1e-6){if(Math.abs(l*s-u*c)>1e-6&&i){let f=n-o,p=r-a,_=s*s+u*u,d=Math.sqrt(_),g=Math.sqrt(h),y=i*Math.tan((iS-Math.acos((_+h-(f*f+p*p))/(2*d*g)))/2),m=y/g,v=y/d;Math.abs(m-1)>1e-6&&this._append`L${t+m*c},${e+m*l}`,this._append`A${i},${i},0,0,${+(l*f>c*p)},${this._x1=t+v*s},${this._y1=e+v*u}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,n,r,i,o){if(t=+t,e=+e,o=!!o,(n=+n)<0)throw Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),u=t+a,c=e+s,l=1^o,h=o?r-i:i-r;null===this._x1?this._append`M${u},${c}`:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-c)>1e-6)&&this._append`L${u},${c}`,n&&(h<0&&(h=h%iN+iN),h>iE?this._append`A${n},${n},0,1,${l},${t-a},${e-s}A${n},${n},0,1,${l},${this._x1=u},${this._y1=c}`:h>1e-6&&this._append`A${n},${n},0,${+(h>=iS)},${l},${this._x1=t+n*Math.cos(i)},${this._y1=e+n*Math.sin(i)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function iD(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{let t=Math.floor(n);if(!(t>=0))throw RangeError(`invalid digits: ${n}`);e=t}return t},()=>new iC(e)}function iO(t){return t.innerRadius}function iL(t){return t.outerRadius}function iU(t){return t.startAngle}function iR(t){return t.endAngle}function ij(t){return t&&t.padAngle}function iF(t,e,n,r,i,o,a){var s=t-n,u=e-r,c=(a?o:-o)/iM(s*s+u*u),l=c*u,h=-c*s,f=t+l,p=e+h,_=n+l,d=r+h,g=(f+_)/2,y=(p+d)/2,m=_-f,v=d-p,b=m*m+v*v,x=i-o,w=f*d-_*p,M=(v<0?-1:1)*iM(ib(0,x*x*b-w*w)),T=(w*v-m*M)/b,k=(-w*m-v*M)/b,A=(w*v+m*M)/b,Z=(-w*m+v*M)/b,S=T-g,N=k-y,E=A-g,$=Z-y;return S*S+N*N>E*E+$*$&&(T=A,k=Z),{cx:T,cy:k,x01:-l,y01:-h,x11:T*(i/x-1),y11:k*(i/x-1)}}function iP(){var t=iO,e=iL,n=ig(0),r=null,i=iU,o=iR,a=ij,s=null,u=iD(c);function c(){var c,l,h=+t.apply(this,arguments),f=+e.apply(this,arguments),p=i.apply(this,arguments)-ik,_=o.apply(this,arguments)-ik,d=iy(_-p),g=_>p;if(s||(s=c=u()),f1e-12){if(d>iA-1e-12)s.moveTo(f*iv(p),f*iw(p)),s.arc(0,0,f,p,_,!g),h>1e-12&&(s.moveTo(h*iv(_),h*iw(_)),s.arc(0,0,h,_,p,g));else{var y,m,v=p,b=_,x=p,w=_,M=d,T=d,k=a.apply(this,arguments)/2,A=k>1e-12&&(r?+r.apply(this,arguments):iM(h*h+f*f)),Z=ix(iy(f-h)/2,+n.apply(this,arguments)),S=Z,N=Z;if(A>1e-12){var E=iZ(A/h*iw(k)),$=iZ(A/f*iw(k));(M-=2*E)>1e-12?(E*=g?1:-1,x+=E,w-=E):(M=0,x=w=(p+_)/2),(T-=2*$)>1e-12?($*=g?1:-1,v+=$,b-=$):(T=0,v=b=(p+_)/2)}var C=f*iv(v),D=f*iw(v),O=h*iv(w),L=h*iw(w);if(Z>1e-12){var U,R=f*iv(b),j=f*iw(b),F=h*iv(x),P=h*iw(x);if(d1?0:I<-1?iT:Math.acos(I))/2),W=iM(U[0]*U[0]+U[1]*U[1]);S=ix(Z,(h-W)/(B-1)),N=ix(Z,(f-W)/(B+1))}else S=N=0}}T>1e-12?N>1e-12?(y=iF(F,P,C,D,f,N,g),m=iF(R,j,O,L,f,N,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),N1e-12&&M>1e-12?S>1e-12?(y=iF(O,L,R,j,h,-S,g),m=iF(C,D,F,P,h,-S,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),St?1:e>=t?0:NaN}function iG(t){return t}function iX(){var t=iG,e=iW,n=null,r=ig(0),i=ig(iA),o=ig(0);function a(a){var s,u,c,l,h,f=(a=iI(a)).length,p=0,_=Array(f),d=Array(f),g=+r.apply(this,arguments),y=Math.min(iA,Math.max(-iA,i.apply(this,arguments)-g)),m=Math.min(Math.abs(y)/f,o.apply(this,arguments)),v=m*(y<0?-1:1);for(s=0;s0&&(p+=h);for(null!=e?_.sort(function(t,n){return e(d[t],d[n])}):null!=n&&_.sort(function(t,e){return n(a[t],a[e])}),s=0,c=p?(y-f*v)/p:0;s0?h*c:0)+v,d[u]={data:a[u],index:s,value:h,startAngle:g,endAngle:l,padAngle:m};return d}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:ig(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:ig(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:ig(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:ig(+t),a):o},a}function iV(){}function iQ(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function iJ(t){this._context=t}function iK(t){return new iJ(t)}function i0(t){this._context=t}function i1(t){return new i0(t)}function i2(t){this._context=t}function i3(t){return new i2(t)}iC.prototype,Array.prototype.slice,iH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},iJ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:iQ(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:iQ(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},i0.prototype={areaStart:iV,areaEnd:iV,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:iQ(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},i2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:iQ(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class i5{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function i6(t){return new i5(t,!0)}function i4(t){return new i5(t,!1)}function i8(t,e){this._basis=new iJ(t),this._beta=e}i8.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*a),this._beta*e[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var i7=function t(e){function n(t){return 1===e?new iJ(t):new i8(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function i9(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function ot(t,e){this._context=t,this._k=(1-e)/6}ot.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:i9(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:i9(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var oe=function t(e){function n(t){return new ot(t,e)}return n.tension=function(e){return t(+e)},n}(0);function on(t,e){this._context=t,this._k=(1-e)/6}on.prototype={areaStart:iV,areaEnd:iV,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:i9(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var or=function t(e){function n(t){return new on(t,e)}return n.tension=function(e){return t(+e)},n}(0);function oi(t,e){this._context=t,this._k=(1-e)/6}oi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:i9(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var oo=function t(e){function n(t){return new oi(t,e)}return n.tension=function(e){return t(+e)},n}(0);function oa(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>1e-12){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/l,a=(a*c+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function os(t,e){this._context=t,this._alpha=e}os.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:oa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ou=function t(e){function n(t){return e?new os(t,e):new ot(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function oc(t,e){this._context=t,this._alpha=e}oc.prototype={areaStart:iV,areaEnd:iV,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:oa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ol=function t(e){function n(t){return e?new oc(t,e):new on(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function oh(t,e){this._context=t,this._alpha=e}oh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:oa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var of=function t(e){function n(t){return e?new oh(t,e):new oi(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function op(t){this._context=t}function o_(t){return new op(t)}function od(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*r)/(r+i)))||0}function og(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function oy(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function om(t){this._context=t}function ov(t){this._context=new ob(t)}function ob(t){this._context=t}function ox(t){return new om(t)}function ow(t){return new ov(t)}function oM(t){this._context=t}function oT(t){var e,n,r=t.length-1,i=Array(r),o=Array(r),a=Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(e=0,o[r-1]=(t[r]+i[r-1])/2;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},oE.prototype={constructor:oE,scale:function(t){return 1===t?this:new oE(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new oE(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new oE(1,0,0),oE.prototype},78126:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(19324),i=n(42972);class o{constructor(){this.type=i.w.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=i.w.ALL}is(t){return this.type===t}}class a{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new o}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=i.w.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:n,l:i}=t;void 0===e&&(t.h=r.Z.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=r.Z.channel.rgb2hsl(t,"s")),void 0===i&&(t.l=r.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:n,b:i}=t;void 0===e&&(t.r=r.Z.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=r.Z.channel.hsl2rgb(t,"g")),void 0===i&&(t.b=r.Z.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(i.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(i.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(i.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(i.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(i.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(i.w.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}var s=new a({r:0,g:0,b:0,a:0},"transparent")},73660:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(78126),i=n(42972);let o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(o.re);if(!e)return;let n=e[1],i=parseInt(n,16),a=n.length,s=a%4==0,u=a>4,c=u?1:17,l=u?8:4,h=s?0:-1,f=u?255:15;return r.Z.set({r:(i>>l*(h+3)&f)*c,g:(i>>l*(h+2)&f)*c,b:(i>>l*(h+1)&f)*c,a:s?(i&f)*c/255:1},t)},stringify:t=>{let{r:e,g:n,b:r,a:o}=t;return o<1?`#${i.Q[Math.round(e)]}${i.Q[Math.round(n)]}${i.Q[Math.round(r)]}${i.Q[Math.round(255*o)]}`:`#${i.Q[Math.round(e)]}${i.Q[Math.round(n)]}${i.Q[Math.round(r)]}`}};var a=n(19324);let s={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{let e=t.match(s.hueRe);if(e){let[,t,n]=e;switch(n){case"grad":return a.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return a.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return a.Z.channel.clamp.h(360*parseFloat(t))}}return a.Z.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let n=t.match(s.re);if(!n)return;let[,i,o,u,c,l]=n;return r.Z.set({h:s._hue2deg(i),s:a.Z.channel.clamp.s(parseFloat(o)),l:a.Z.channel.clamp.l(parseFloat(u)),a:c?a.Z.channel.clamp.a(l?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{let{h:e,s:n,l:r,a:i}=t;return i<1?`hsla(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}%, ${a.Z.lang.round(r)}%, ${i})`:`hsl(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}%, ${a.Z.lang.round(r)}%)`}},u={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();let e=u.colors[t];if(e)return o.parse(e)},stringify:t=>{let e=o.stringify(t);for(let t in u.colors)if(u.colors[t]===e)return t}},c={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let n=t.match(c.re);if(!n)return;let[,i,o,s,u,l,h,f,p]=n;return r.Z.set({r:a.Z.channel.clamp.r(o?2.55*parseFloat(i):parseFloat(i)),g:a.Z.channel.clamp.g(u?2.55*parseFloat(s):parseFloat(s)),b:a.Z.channel.clamp.b(h?2.55*parseFloat(l):parseFloat(l)),a:f?a.Z.channel.clamp.a(p?parseFloat(f)/100:parseFloat(f)):1},t)},stringify:t=>{let{r:e,g:n,b:r,a:i}=t;return i<1?`rgba(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}, ${a.Z.lang.round(r)}, ${a.Z.lang.round(i)})`:`rgb(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}, ${a.Z.lang.round(r)})`}};var l={format:{keyword:u,hex:o,rgb:c,rgba:c,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=o.parse(t)||c.parse(t)||s.parse(t)||u.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(i.w.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?o.stringify(t):c.stringify(t)}},42972:function(t,e,n){"use strict";n.d(e,{Q:function(){return i},w:function(){return o}});var r=n(19324);let i={};for(let t=0;t<=255;t++)i[t]=r.Z.unit.dec2hex(t);let o={ALL:0,RGB:1,HSL:2}},70600:function(t,e,n){"use strict";var r=n(73660),i=n(23338);e.Z=(t,e)=>{let n=r.Z.parse(t),o={};for(let t in e)e[t]&&(o[t]=n[t]+e[t]);return(0,i.Z)(t,o)}},30595:function(t,e,n){"use strict";var r=n(19324),i=n(73660);e.Z=(t,e,n)=>{let o=i.Z.parse(t),a=o[e],s=r.Z.channel.clamp[e](a+n);return a!==s&&(o[e]=s),i.Z.stringify(o)}},23338:function(t,e,n){"use strict";var r=n(19324),i=n(73660);e.Z=(t,e)=>{let n=i.Z.parse(t);for(let t in e)n[t]=r.Z.channel.clamp[t](e[t]);return i.Z.stringify(n)}},53596:function(t,e,n){"use strict";var r=n(30595);e.Z=(t,e)=>(0,r.Z)(t,"l",-e)},56313:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(73660),i=n(78139),o=(t,e,n=50)=>{let{r:o,g:a,b:s,a:u}=r.Z.parse(t),{r:c,g:l,b:h,a:f}=r.Z.parse(e),p=n/100,_=2*p-1,d=u-f,g=((_*d==-1?_:(_+d)/(1+_*d))+1)/2,y=1-g;return(0,i.Z)(o*g+c*y,a*g+l*y,s*g+h*y,u*p+f*(1-p))},a=(t,e=100)=>{let n=r.Z.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,o(n,t,e)}},3723:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(19324),i=n(73660),o=t=>{let{r:e,g:n,b:o}=i.Z.parse(t),a=.2126*r.Z.channel.toLinear(e)+.7152*r.Z.channel.toLinear(n)+.0722*r.Z.channel.toLinear(o);return r.Z.lang.round(a)},a=t=>o(t)>=.5,s=t=>!a(t)},55680:function(t,e,n){"use strict";var r=n(30595);e.Z=(t,e)=>(0,r.Z)(t,"l",e)},78139:function(t,e,n){"use strict";var r=n(19324),i=n(78126),o=n(73660),a=n(23338);e.Z=(t,e,n=0,s=1)=>{if("number"!=typeof t)return(0,a.Z)(t,{a:e});let u=i.Z.set({r:r.Z.channel.clamp.r(t),g:r.Z.channel.clamp.g(e),b:r.Z.channel.clamp.b(n),a:r.Z.channel.clamp.a(s)});return o.Z.stringify(u)}},19324:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let r={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t,hsl2rgb:({h:t,s:e,l:n},i)=>{if(!e)return 2.55*n;t/=360,e/=100;let o=(n/=100)<.5?n*(1+e):n+e-n*e,a=2*n-o;switch(i){case"r":return 255*r.hue2rgb(a,o,t+1/3);case"g":return 255*r.hue2rgb(a,o,t);case"b":return 255*r.hue2rgb(a,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},r)=>{let i=Math.max(t/=255,e/=255,n/=255),o=Math.min(t,e,n),a=(i+o)/2;if("l"===r)return 100*a;if(i===o)return 0;let s=i-o;if("s"===r)return 100*(a>.5?s/(2-i-o):s/(i+o));switch(i){case t:return((e-n)/s+(ee>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},39438:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(35462),i=function(t,e){for(var n=t.length;n--;)if((0,r.Z)(t[n][0],e))return n;return -1},o=Array.prototype.splice;function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1},a.prototype.set=function(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var s=a},82396:function(t,e,n){"use strict";var r=n(87350),i=n(68928),o=(0,r.Z)(i.Z,"Map");e.Z=o},62331:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=(0,n(87350).Z)(Object,"create"),i=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t0){if(++r>=800)return arguments[0]}else r=0;return u.apply(void 0,arguments)})},422:function(t,e){"use strict";var n=Function.prototype.toString;e.Z=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},9595:function(t,e){"use strict";e.Z=function(t){return function(){return t}}},35462:function(t,e){"use strict";e.Z=function(t,e){return t===e||t!=t&&e!=e}},98333:function(t,e){"use strict";e.Z=function(t){return t}},58613:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(17875),i=n(98359),o=function(t){return(0,i.Z)(t)&&"[object Arguments]"==(0,r.Z)(t)},a=Object.prototype,s=a.hasOwnProperty,u=a.propertyIsEnumerable,c=o(function(){return arguments}())?o:function(t){return(0,i.Z)(t)&&s.call(t,"callee")&&!u.call(t,"callee")}},20322:function(t,e){"use strict";var n=Array.isArray;e.Z=n},15409:function(t,e,n){"use strict";var r=n(33313),i=n(48937);e.Z=function(t){return null!=t&&(0,i.Z)(t.length)&&!(0,r.Z)(t)}},74765:function(t,e,n){"use strict";var r=n(15409),i=n(98359);e.Z=function(t){return(0,i.Z)(t)&&(0,r.Z)(t)}},21659:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(68928),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===i?r.Z.Buffer:void 0,s=(a?a.isBuffer:void 0)||function(){return!1}},35461:function(t,e,n){"use strict";var r=n(87585),i=n(26365),o=n(58613),a=n(20322),s=n(15409),u=n(21659),c=n(80205),l=n(52050),h=Object.prototype.hasOwnProperty;e.Z=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,a.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,u.Z)(t)||(0,l.Z)(t)||(0,o.Z)(t)))return!t.length;var e=(0,i.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,c.Z)(t))return!(0,r.Z)(t).length;for(var n in t)if(h.call(t,n))return!1;return!0}},33313:function(t,e,n){"use strict";var r=n(17875),i=n(4761);e.Z=function(t){if(!(0,i.Z)(t))return!1;var e=(0,r.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},48937:function(t,e){"use strict";e.Z=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},4761:function(t,e){"use strict";e.Z=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},98359:function(t,e){"use strict";e.Z=function(t){return null!=t&&"object"==typeof t}},38973:function(t,e,n){"use strict";var r=n(17875),i=n(65821),o=n(98359),a=Object.prototype,s=Function.prototype.toString,u=a.hasOwnProperty,c=s.call(Object);e.Z=function(t){if(!(0,o.Z)(t)||"[object Object]"!=(0,r.Z)(t))return!1;var e=(0,i.Z)(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==c}},52050:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(17875),i=n(48937),o=n(98359),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=n(45268),u=n(34699),c=u.Z&&u.Z.isTypedArray,l=c?(0,s.Z)(c):function(t){return(0,o.Z)(t)&&(0,i.Z)(t.length)&&!!a[(0,r.Z)(t)]}},49488:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(11130),i=n(4761),o=n(80205),a=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},s=Object.prototype.hasOwnProperty,u=function(t){if(!(0,i.Z)(t))return a(t);var e=(0,o.Z)(t),n=[];for(var r in t)"constructor"==r&&(e||!s.call(t,r))||n.push(r);return n},c=n(15409),l=function(t){return(0,c.Z)(t)?(0,r.Z)(t,!0):u(t)}},49138:function(t,e,n){"use strict";var r=n(62331);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r.Z),n}i.Cache=r.Z,e.Z=i},78203:function(t,e,n){"use strict";n.d(e,{Z:function(){return S}});var r,i=n(14486),o=n(76787),a=n(35462),s=function(t,e,n){(void 0===n||(0,a.Z)(t[e],n))&&(void 0!==n||e in t)||(0,o.Z)(t,e,n)},u=n(5829),c=n(41093),l=n(72620),h=n(54445),f=n(56360),p=n(58613),_=n(20322),d=n(74765),g=n(21659),y=n(33313),m=n(4761),v=n(38973),b=n(52050),x=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},w=n(89243),M=n(49488),T=function(t,e,n,r,i,o,a){var u=x(t,n),T=x(e,n),k=a.get(T);if(k){s(t,n,k);return}var A=o?o(u,T,n+"",t,e,a):void 0,Z=void 0===A;if(Z){var S=(0,_.Z)(T),N=!S&&(0,g.Z)(T),E=!S&&!N&&(0,b.Z)(T);(A=T,S||N||E)?(0,_.Z)(u)?A=u:(0,d.Z)(u)?A=(0,h.Z)(u):N?(Z=!1,A=(0,c.Z)(T,!0)):E?(Z=!1,A=(0,l.Z)(T,!0)):A=[]:(0,v.Z)(T)||(0,p.Z)(T)?(A=u,(0,p.Z)(u))?A=(0,w.Z)(u,(0,M.Z)(u)):(!(0,m.Z)(u)||(0,y.Z)(u))&&(A=(0,f.Z)(T)):Z=!1}Z&&(a.set(T,A),i(A,T,r,o,a),a.delete(T)),s(t,n,A)},k=function t(e,n,r,o,a){e!==n&&(0,u.Z)(n,function(u,c){if(a||(a=new i.Z),(0,m.Z)(u))T(e,n,c,r,t,o,a);else{var l=o?o(x(e,c),u,c+"",e,n,a):void 0;void 0===l&&(l=u),s(e,c,l)}},M.Z)},A=n(74158),Z=n(89782),S=(r=function(t,e,n){k(t,e,n)},(0,A.Z)(function(t,e){var n=-1,i=e.length,o=i>1?e[i-1]:void 0,a=i>2?e[2]:void 0;for(o=r.length>3&&"function"==typeof o?(i--,o):void 0,a&&(0,Z.Z)(e[0],e[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++n{c[t]=e},g=t=>t.append("circle").attr("class","start-state").attr("r",(0,o.c)().state.sizeUnit).attr("cx",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit).attr("cy",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit),p=t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,o.c)().state.textHeight).attr("class","divider").attr("x2",2*(0,o.c)().state.textHeight).attr("y1",0).attr("y2",0),h=(t,e)=>{let a=t.append("text").attr("x",2*(0,o.c)().state.padding).attr("y",(0,o.c)().state.textHeight+2*(0,o.c)().state.padding).attr("font-size",(0,o.c)().state.fontSize).attr("class","state-title").text(e.id),i=a.node().getBBox();return t.insert("rect",":first-child").attr("x",(0,o.c)().state.padding).attr("y",(0,o.c)().state.padding).attr("width",i.width+2*(0,o.c)().state.padding).attr("height",i.height+2*(0,o.c)().state.padding).attr("rx",(0,o.c)().state.radius),a},x=(t,e)=>{let a=function(t,e,a){let i=t.append("tspan").attr("x",2*(0,o.c)().state.padding).text(e);a||i.attr("dy",(0,o.c)().state.textHeight)},i=t.append("text").attr("x",2*(0,o.c)().state.padding).attr("y",(0,o.c)().state.textHeight+1.3*(0,o.c)().state.padding).attr("font-size",(0,o.c)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),r=i.height,d=t.append("text").attr("x",(0,o.c)().state.padding).attr("y",r+.4*(0,o.c)().state.padding+(0,o.c)().state.dividerMargin+(0,o.c)().state.textHeight).attr("class","state-description"),n=!0,s=!0;e.descriptions.forEach(function(t){n||(a(d,t,s),s=!1),n=!1});let c=t.append("line").attr("x1",(0,o.c)().state.padding).attr("y1",(0,o.c)().state.padding+r+(0,o.c)().state.dividerMargin/2).attr("y2",(0,o.c)().state.padding+r+(0,o.c)().state.dividerMargin/2).attr("class","descr-divider"),l=d.node().getBBox(),g=Math.max(l.width,i.width);return c.attr("x2",g+3*(0,o.c)().state.padding),t.insert("rect",":first-child").attr("x",(0,o.c)().state.padding).attr("y",(0,o.c)().state.padding).attr("width",g+2*(0,o.c)().state.padding).attr("height",l.height+r+2*(0,o.c)().state.padding).attr("rx",(0,o.c)().state.radius),t},u=(t,e,a)=>{let i;let r=(0,o.c)().state.padding,d=2*(0,o.c)().state.padding,n=t.node().getBBox(),s=n.width,c=n.x,l=t.append("text").attr("x",0).attr("y",(0,o.c)().state.titleShift).attr("font-size",(0,o.c)().state.fontSize).attr("class","state-title").text(e.id),g=l.node().getBBox().width+d,p=Math.max(g,s);p===s&&(p+=d);let h=t.node().getBBox();e.doc,i=c-r,g>s&&(i=(s-p)/2+r),Math.abs(c-h.x)s&&(i=c-(g-s)/2);let x=1-(0,o.c)().state.textHeight;return t.insert("rect",":first-child").attr("x",i).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",p).attr("height",h.height+(0,o.c)().state.textHeight+(0,o.c)().state.titleShift+1).attr("rx","0"),l.attr("x",i+r),g<=s&&l.attr("x",c+(p-d)/2-g/2+r),t.insert("rect",":first-child").attr("x",i).attr("y",(0,o.c)().state.titleShift-(0,o.c)().state.textHeight-(0,o.c)().state.padding).attr("width",p).attr("height",3*(0,o.c)().state.textHeight).attr("rx",(0,o.c)().state.radius),t.insert("rect",":first-child").attr("x",i).attr("y",(0,o.c)().state.titleShift-(0,o.c)().state.textHeight-(0,o.c)().state.padding).attr("width",p).attr("height",h.height+3+2*(0,o.c)().state.textHeight).attr("rx",(0,o.c)().state.radius),t},f=t=>(t.append("circle").attr("class","end-state-outer").attr("r",(0,o.c)().state.sizeUnit+(0,o.c)().state.miniPadding).attr("cx",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit+(0,o.c)().state.miniPadding).attr("cy",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit+(0,o.c)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,o.c)().state.sizeUnit).attr("cx",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit+2).attr("cy",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit+2)),y=(t,e)=>{let a=(0,o.c)().state.forkWidth,i=(0,o.c)().state.forkHeight;if(e.parentId){let t=a;a=i,i=t}return t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",i).attr("x",(0,o.c)().state.padding).attr("y",(0,o.c)().state.padding)},w=(t,e,a,i)=>{let r=0,d=i.append("text");d.style("text-anchor","start"),d.attr("class","noteText");let n=t.replace(/\r\n/g,"
"),s=(n=n.replace(/\n/g,"
")).split(o.e.lineBreakRegex),c=1.25*(0,o.c)().state.noteMargin;for(let t of s){let i=t.trim();if(i.length>0){let t=d.append("tspan");t.text(i),0===c&&(c+=t.node().getBBox().height),r+=c,t.attr("x",e+(0,o.c)().state.noteMargin),t.attr("y",a+r+1.25*(0,o.c)().state.noteMargin)}}return{textWidth:d.node().getBBox().width,textHeight:r}},b=(t,e)=>{e.attr("class","state-note");let a=e.append("rect").attr("x",0).attr("y",(0,o.c)().state.padding),{textWidth:i,textHeight:r}=w(t,0,0,e.append("g"));return a.attr("height",r+2*(0,o.c)().state.noteMargin),a.attr("width",i+2*(0,o.c)().state.noteMargin),a},B=function(t,e){let a=e.id,i={id:a,label:e.id,width:0,height:0},r=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&g(r),"end"===e.type&&f(r),("fork"===e.type||"join"===e.type)&&y(r,e),"note"===e.type&&b(e.note.text,r),"divider"===e.type&&p(r),"default"===e.type&&0===e.descriptions.length&&h(r,e),"default"===e.type&&e.descriptions.length>0&&x(r,e);let d=r.node().getBBox();return i.width=d.width+2*(0,o.c)().state.padding,i.height=d.height+2*(0,o.c)().state.padding,l(a,i),i},m=0,k=function(t,e,a){e.points=e.points.filter(t=>!Number.isNaN(t.y));let i=e.points,n=(0,d.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(d.$0Z),s=t.append("path").attr("d",n(i)).attr("id","edge"+m).attr("class","transition"),c="";if((0,o.c)().state.arrowMarkerAbsolute&&(c=(c=(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),s.attr("marker-end","url("+c+"#"+function(t){switch(t){case r.d.relationType.AGGREGATION:return"aggregation";case r.d.relationType.EXTENSION:return"extension";case r.d.relationType.COMPOSITION:return"composition";case r.d.relationType.DEPENDENCY:return"dependency"}}(r.d.relationType.DEPENDENCY)+"End)"),void 0!==a.title){let i=t.append("g").attr("class","stateLabel"),{x:r,y:d}=o.u.calcLabelPosition(e.points),n=o.e.getRows(a.title),s=0,c=[],l=0,g=0;for(let t=0;t<=n.length;t++){let e=i.append("text").attr("text-anchor","middle").text(n[t]).attr("x",r).attr("y",d+s),a=e.node().getBBox();l=Math.max(l,a.width),g=Math.min(g,a.x),o.l.info(a.x,r,d+s),0===s&&(s=e.node().getBBox().height,o.l.info("Title height",s,d)),c.push(e)}let p=s*n.length;if(n.length>1){let t=(n.length-1)*s*.5;c.forEach((e,a)=>e.attr("y",d+a*s-t)),p=s*n.length}let h=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",r-l/2-(0,o.c)().state.padding/2).attr("y",d-p/2-(0,o.c)().state.padding/2-3.5).attr("width",l+(0,o.c)().state.padding).attr("height",p+(0,o.c)().state.padding),o.l.info(h)}m++},N={},E=function(t){t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},M=t=>t?t.length*i.fontSizeFactor:1,v=(t,e,a,r,d,c,l)=>{let g;let p=new s.k({compound:!0,multigraph:!0}),h=!0;for(g=0;g{let e=t.parentElement,a=0,i=0;e&&(e.parentElement&&(a=e.parentElement.getBBox().width),Number.isNaN(i=parseInt(e.getAttribute("data-x-shift"),10))&&(i=0)),t.setAttribute("x1",0-i+8),t.setAttribute("x2",a-i-8)})):o.l.debug("No Node "+t+": "+JSON.stringify(p.node(t)))});let b=w.getBBox();p.edges().forEach(function(t){void 0!==t&&void 0!==p.edge(t)&&(o.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(p.edge(t))),k(e,p.edge(t),p.edge(t).relation))}),b=w.getBBox();let m={id:a||"root",label:a||"root",width:0,height:0};return m.width=b.width+2*i.padding,m.height=b.height+2*i.padding,o.l.debug("Doc rendered",m,p),m},S={parser:r.p,db:r.d,renderer:{setConf:function(){},draw:function(t,e,a,r){let n;i=(0,o.c)().state;let s=(0,o.c)().securityLevel;"sandbox"===s&&(n=(0,d.Ys)("#i"+e));let c="sandbox"===s?(0,d.Ys)(n.nodes()[0].contentDocument.body):(0,d.Ys)("body"),l="sandbox"===s?n.nodes()[0].contentDocument:document;o.l.debug("Rendering diagram "+t);let g=c.select(`[id='${e}']`);E(g),v(r.db.getRootDoc(),g,void 0,!1,c,l,r);let p=i.padding,h=g.node().getBBox(),x=h.width+2*p,u=h.height+2*p;(0,o.i)(g,u,1.75*x,i.useMaxWidth),g.attr("viewBox",`${h.x-i.padding} ${h.y-i.padding} `+x+" "+u)}},styles:r.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.d.clear()}}}}]); \ No newline at end of file diff --git a/_next/static/chunks/525.ccade305faa32082.js b/_next/static/chunks/525.ccade305faa32082.js deleted file mode 100644 index 9f256c9..0000000 --- a/_next/static/chunks/525.ccade305faa32082.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[525],{65525:function(t,e,a){let i;a.d(e,{diagram:function(){return z}});var r=a(70227),d=a(27509),n=a(87892),s=a(42521),o=a(71421);a(5726),a(91088),a(95591);let c={},l=()=>Object.keys(c),g={get:t=>c[t],set:(t,e)=>{c[t]=e},keys:l,size:()=>l().length},p=t=>t.append("circle").attr("class","start-state").attr("r",(0,o.c)().state.sizeUnit).attr("cx",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit).attr("cy",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit),h=t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,o.c)().state.textHeight).attr("class","divider").attr("x2",2*(0,o.c)().state.textHeight).attr("y1",0).attr("y2",0),x=(t,e)=>{let a=t.append("text").attr("x",2*(0,o.c)().state.padding).attr("y",(0,o.c)().state.textHeight+2*(0,o.c)().state.padding).attr("font-size",(0,o.c)().state.fontSize).attr("class","state-title").text(e.id),i=a.node().getBBox();return t.insert("rect",":first-child").attr("x",(0,o.c)().state.padding).attr("y",(0,o.c)().state.padding).attr("width",i.width+2*(0,o.c)().state.padding).attr("height",i.height+2*(0,o.c)().state.padding).attr("rx",(0,o.c)().state.radius),a},u=(t,e)=>{let a=function(t,e,a){let i=t.append("tspan").attr("x",2*(0,o.c)().state.padding).text(e);a||i.attr("dy",(0,o.c)().state.textHeight)},i=t.append("text").attr("x",2*(0,o.c)().state.padding).attr("y",(0,o.c)().state.textHeight+1.3*(0,o.c)().state.padding).attr("font-size",(0,o.c)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),r=i.height,d=t.append("text").attr("x",(0,o.c)().state.padding).attr("y",r+.4*(0,o.c)().state.padding+(0,o.c)().state.dividerMargin+(0,o.c)().state.textHeight).attr("class","state-description"),n=!0,s=!0;e.descriptions.forEach(function(t){n||(a(d,t,s),s=!1),n=!1});let c=t.append("line").attr("x1",(0,o.c)().state.padding).attr("y1",(0,o.c)().state.padding+r+(0,o.c)().state.dividerMargin/2).attr("y2",(0,o.c)().state.padding+r+(0,o.c)().state.dividerMargin/2).attr("class","descr-divider"),l=d.node().getBBox(),g=Math.max(l.width,i.width);return c.attr("x2",g+3*(0,o.c)().state.padding),t.insert("rect",":first-child").attr("x",(0,o.c)().state.padding).attr("y",(0,o.c)().state.padding).attr("width",g+2*(0,o.c)().state.padding).attr("height",l.height+r+2*(0,o.c)().state.padding).attr("rx",(0,o.c)().state.radius),t},f=(t,e,a)=>{let i;let r=(0,o.c)().state.padding,d=2*(0,o.c)().state.padding,n=t.node().getBBox(),s=n.width,c=n.x,l=t.append("text").attr("x",0).attr("y",(0,o.c)().state.titleShift).attr("font-size",(0,o.c)().state.fontSize).attr("class","state-title").text(e.id),g=l.node().getBBox().width+d,p=Math.max(g,s);p===s&&(p+=d);let h=t.node().getBBox();e.doc,i=c-r,g>s&&(i=(s-p)/2+r),Math.abs(c-h.x)s&&(i=c-(g-s)/2);let x=1-(0,o.c)().state.textHeight;return t.insert("rect",":first-child").attr("x",i).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",p).attr("height",h.height+(0,o.c)().state.textHeight+(0,o.c)().state.titleShift+1).attr("rx","0"),l.attr("x",i+r),g<=s&&l.attr("x",c+(p-d)/2-g/2+r),t.insert("rect",":first-child").attr("x",i).attr("y",(0,o.c)().state.titleShift-(0,o.c)().state.textHeight-(0,o.c)().state.padding).attr("width",p).attr("height",3*(0,o.c)().state.textHeight).attr("rx",(0,o.c)().state.radius),t.insert("rect",":first-child").attr("x",i).attr("y",(0,o.c)().state.titleShift-(0,o.c)().state.textHeight-(0,o.c)().state.padding).attr("width",p).attr("height",h.height+3+2*(0,o.c)().state.textHeight).attr("rx",(0,o.c)().state.radius),t},y=t=>(t.append("circle").attr("class","end-state-outer").attr("r",(0,o.c)().state.sizeUnit+(0,o.c)().state.miniPadding).attr("cx",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit+(0,o.c)().state.miniPadding).attr("cy",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit+(0,o.c)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,o.c)().state.sizeUnit).attr("cx",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit+2).attr("cy",(0,o.c)().state.padding+(0,o.c)().state.sizeUnit+2)),w=(t,e)=>{let a=(0,o.c)().state.forkWidth,i=(0,o.c)().state.forkHeight;if(e.parentId){let t=a;a=i,i=t}return t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",i).attr("x",(0,o.c)().state.padding).attr("y",(0,o.c)().state.padding)},b=(t,e,a,i)=>{let r=0,d=i.append("text");d.style("text-anchor","start"),d.attr("class","noteText");let n=t.replace(/\r\n/g,"
"),s=(n=n.replace(/\n/g,"
")).split(o.e.lineBreakRegex),c=1.25*(0,o.c)().state.noteMargin;for(let t of s){let i=t.trim();if(i.length>0){let t=d.append("tspan");t.text(i),0===c&&(c+=t.node().getBBox().height),r+=c,t.attr("x",e+(0,o.c)().state.noteMargin),t.attr("y",a+r+1.25*(0,o.c)().state.noteMargin)}}return{textWidth:d.node().getBBox().width,textHeight:r}},B=(t,e)=>{e.attr("class","state-note");let a=e.append("rect").attr("x",0).attr("y",(0,o.c)().state.padding),{textWidth:i,textHeight:r}=b(t,0,0,e.append("g"));return a.attr("height",r+2*(0,o.c)().state.noteMargin),a.attr("width",i+2*(0,o.c)().state.noteMargin),a},m=function(t,e){let a=e.id,i={id:a,label:e.id,width:0,height:0},r=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&p(r),"end"===e.type&&y(r),("fork"===e.type||"join"===e.type)&&w(r,e),"note"===e.type&&B(e.note.text,r),"divider"===e.type&&h(r),"default"===e.type&&0===e.descriptions.length&&x(r,e),"default"===e.type&&e.descriptions.length>0&&u(r,e);let d=r.node().getBBox();return i.width=d.width+2*(0,o.c)().state.padding,i.height=d.height+2*(0,o.c)().state.padding,g.set(a,i),i},k=0,N=function(t,e,a){e.points=e.points.filter(t=>!Number.isNaN(t.y));let i=e.points,n=(0,d.jvg)().x(function(t){return t.x}).y(function(t){return t.y}).curve(d.$0Z),s=t.append("path").attr("d",n(i)).attr("id","edge"+k).attr("class","transition"),c="";if((0,o.c)().state.arrowMarkerAbsolute&&(c=(c=(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),s.attr("marker-end","url("+c+"#"+function(t){switch(t){case r.d.relationType.AGGREGATION:return"aggregation";case r.d.relationType.EXTENSION:return"extension";case r.d.relationType.COMPOSITION:return"composition";case r.d.relationType.DEPENDENCY:return"dependency"}}(r.d.relationType.DEPENDENCY)+"End)"),void 0!==a.title){let i=t.append("g").attr("class","stateLabel"),{x:r,y:d}=o.u.calcLabelPosition(e.points),n=o.e.getRows(a.title),s=0,c=[],l=0,g=0;for(let t=0;t<=n.length;t++){let e=i.append("text").attr("text-anchor","middle").text(n[t]).attr("x",r).attr("y",d+s),a=e.node().getBBox();l=Math.max(l,a.width),g=Math.min(g,a.x),o.l.info(a.x,r,d+s),0===s&&(s=e.node().getBBox().height,o.l.info("Title height",s,d)),c.push(e)}let p=s*n.length;if(n.length>1){let t=(n.length-1)*s*.5;c.forEach((e,a)=>e.attr("y",d+a*s-t)),p=s*n.length}let h=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",r-l/2-(0,o.c)().state.padding/2).attr("y",d-p/2-(0,o.c)().state.padding/2-3.5).attr("width",l+(0,o.c)().state.padding).attr("height",p+(0,o.c)().state.padding),o.l.info(h)}k++},E={},M=function(t){t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},v=t=>t?t.length*i.fontSizeFactor:1,S=(t,e,a,r,d,c,l)=>{let g;let p=new s.k({compound:!0,multigraph:!0}),h=!0;for(g=0;g{let e=t.parentElement,a=0,i=0;e&&(e.parentElement&&(a=e.parentElement.getBBox().width),Number.isNaN(i=parseInt(e.getAttribute("data-x-shift"),10))&&(i=0)),t.setAttribute("x1",0-i+8),t.setAttribute("x2",a-i-8)})):o.l.debug("No Node "+t+": "+JSON.stringify(p.node(t)))});let b=w.getBBox();p.edges().forEach(function(t){void 0!==t&&void 0!==p.edge(t)&&(o.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(p.edge(t))),N(e,p.edge(t),p.edge(t).relation))}),b=w.getBBox();let B={id:a||"root",label:a||"root",width:0,height:0};return B.width=b.width+2*i.padding,B.height=b.height+2*i.padding,o.l.debug("Doc rendered",B,p),B},z={parser:r.p,db:r.d,renderer:{setConf:function(){},draw:function(t,e,a,r){let n;i=(0,o.c)().state;let s=(0,o.c)().securityLevel;"sandbox"===s&&(n=(0,d.Ys)("#i"+e));let c="sandbox"===s?(0,d.Ys)(n.nodes()[0].contentDocument.body):(0,d.Ys)("body"),l="sandbox"===s?n.nodes()[0].contentDocument:document;o.l.debug("Rendering diagram "+t);let g=c.select(`[id='${e}']`);M(g),S(r.db.getRootDoc(),g,void 0,!1,c,l,r);let p=i.padding,h=g.node().getBBox(),x=h.width+2*p,u=h.height+2*p;(0,o.i)(g,u,1.75*x,i.useMaxWidth),g.attr("viewBox",`${h.x-i.padding} ${h.y-i.padding} `+x+" "+u)}},styles:r.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.d.clear()}}}}]); \ No newline at end of file diff --git a/_next/static/chunks/598-51a9d588edd87ff7.js b/_next/static/chunks/598-51a9d588edd87ff7.js new file mode 100644 index 0000000..381f74d --- /dev/null +++ b/_next/static/chunks/598-51a9d588edd87ff7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[598],{4735:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(57873),i=n(75271),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1080 0 40 40 0 10-80 0zm239-167.6L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"car",theme:"outlined"},a=n(32318),s=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},29326:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(57873),i=n(75271),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z"}}]},name:"rocket",theme:"outlined"},a=n(32318),s=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},81816:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(57873),i=n(75271),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=n(32318),s=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},58740:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(57873),i=n(75271),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},a=n(32318),s=i.forwardRef(function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},48235:function(e,t,n){n.d(t,{Z:function(){return nF}});var r,i=n(75271),o=n.t(i,2),a=n(82187),s=n.n(a);function c(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,a=e.className,c=e.style;return i.createElement("div",{className:s()("".concat(n,"-content"),a),style:c},i.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof t?t():t))}var l=n(59849),u=n(78405),f=n(97808),d=n(80747),h=n(30967),p=n(67042),v=n(7302),m=n(47486),g=i.createContext(null),y=n(80057),b=n(50979),w=[],Z=n(84041),F="rc-util-locker-".concat(Date.now()),E=0,x=function(e){return!1!==e&&((0,p.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},k=i.forwardRef(function(e,t){var n,r,o,a=e.open,s=e.autoLock,c=e.getContainer,l=(e.debug,e.autoDestroy),u=void 0===l||l,f=e.children,v=i.useState(a),k=(0,d.Z)(v,2),P=k[0],O=k[1],C=P||a;i.useEffect(function(){(u||a)&&O(a)},[a,u]);var _=i.useState(function(){return x(c)}),M=(0,d.Z)(_,2),V=M[0],R=M[1];i.useEffect(function(){var e=x(c);R(null!=e?e:null)});var A=function(e,t){var n=i.useState(function(){return(0,p.Z)()?document.createElement("div"):null}),r=(0,d.Z)(n,1)[0],o=i.useRef(!1),a=i.useContext(g),s=i.useState(w),c=(0,d.Z)(s,2),l=c[0],u=c[1],f=a||(o.current?void 0:function(e){u(function(t){return[e].concat((0,y.Z)(t))})});function h(){r.parentElement||document.body.appendChild(r),o.current=!0}function v(){var e;null===(e=r.parentElement)||void 0===e||e.removeChild(r),o.current=!1}return(0,b.Z)(function(){return e?a?a(h):h():v(),v},[e]),(0,b.Z)(function(){l.length&&(l.forEach(function(e){return e()}),u(w))},[l]),[r,f]}(C&&!V,0),N=(0,d.Z)(A,2),S=N[0],j=N[1],T=null!=V?V:S;n=!!(s&&a&&(0,p.Z)()&&(T===S||T===document.body)),r=i.useState(function(){return E+=1,"".concat(F,"_").concat(E)}),o=(0,d.Z)(r,1)[0],(0,b.Z)(function(){if(n){var e,t=(e=document.body,"undefined"!=typeof document&&e&&e instanceof Element?function(e){var t,n,r="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),i=document.createElement("div");i.id=r;var o=i.style;if(o.position="absolute",o.left="0",o.top="0",o.width="100px",o.height="100px",o.overflow="scroll",e){var a=getComputedStyle(e);o.scrollbarColor=a.scrollbarColor,o.scrollbarWidth=a.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(s.width,10),l=parseInt(s.height,10);try{var u=c?"width: ".concat(s.width,";"):"",f=l?"height: ".concat(s.height,";"):"";(0,Z.hq)("\n#".concat(r,"::-webkit-scrollbar {\n").concat(u,"\n").concat(f,"\n}"),r)}catch(e){console.error(e),t=c,n=l}}document.body.appendChild(i);var d=e&&t&&!isNaN(t)?t:i.offsetWidth-i.clientWidth,h=e&&n&&!isNaN(n)?n:i.offsetHeight-i.clientHeight;return document.body.removeChild(i),(0,Z.jL)(r),{width:d,height:h}}(e):{width:0,height:0}).width,r=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,Z.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(r?"width: calc(100% - ".concat(t,"px);"):"","\n}"),o)}else(0,Z.jL)(o);return function(){(0,Z.jL)(o)}},[n,o]);var L=null;f&&(0,m.Yr)(f)&&t&&(L=f.ref);var q=(0,m.x1)(L,t);if(!C||!(0,p.Z)()||void 0===V)return null;var I=!1===T,z=f;return t&&(z=i.cloneElement(f,{ref:q})),i.createElement(g.Provider,{value:j},I?z:(0,h.createPortal)(z,T))}),P=n(48894),O=n(91102),C=n(74194),_=i.createContext(null),M=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){V&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),S?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){V&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;N.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),T=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),U="undefined"!=typeof WeakMap?new WeakMap:new M,Y=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new $(t,j.getInstance(),this);U.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){Y.prototype[e]=function(){var t;return(t=U.get(this))[e].apply(t,arguments)}});var X=void 0!==R.ResizeObserver?R.ResizeObserver:Y,K=new Map,G=new X(function(e){e.forEach(function(e){var t,n=e.target;null===(t=K.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}),J=n(11333),Q=n(14634),ee=n(44085),et=n(34084),en=function(e){(0,ee.Z)(n,e);var t=(0,et.Z)(n);function n(){return(0,J.Z)(this,n),t.apply(this,arguments)}return(0,Q.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(i.Component),er=i.forwardRef(function(e,t){var n=e.children,r=e.disabled,o=i.useRef(null),a=i.useRef(null),s=i.useContext(_),c="function"==typeof n,l=c?n(o):n,f=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!c&&i.isValidElement(l)&&(0,m.Yr)(l),h=d?l.ref:null,p=(0,m.x1)(h,o),v=function(){var e;return(0,C.ZP)(o.current)||(o.current&&"object"===(0,O.Z)(o.current)?(0,C.ZP)(null===(e=o.current)||void 0===e?void 0:e.nativeElement):null)||(0,C.ZP)(a.current)};i.useImperativeHandle(t,function(){return v()});var g=i.useRef(e);g.current=e;var y=i.useCallback(function(e){var t=g.current,n=t.onResize,r=t.data,i=e.getBoundingClientRect(),o=i.width,a=i.height,c=e.offsetWidth,l=e.offsetHeight,d=Math.floor(o),h=Math.floor(a);if(f.current.width!==d||f.current.height!==h||f.current.offsetWidth!==c||f.current.offsetHeight!==l){var p={width:d,height:h,offsetWidth:c,offsetHeight:l};f.current=p;var v=(0,u.Z)((0,u.Z)({},p),{},{offsetWidth:c===Math.round(o)?o:c,offsetHeight:l===Math.round(a)?a:l});null==s||s(v,e,r),n&&Promise.resolve().then(function(){n(v,e)})}},[]);return i.useEffect(function(){var e=v();return e&&!r&&(K.has(e)||(K.set(e,new Set),G.observe(e)),K.get(e).add(y)),function(){K.has(e)&&(K.get(e).delete(y),K.get(e).size||(G.unobserve(e),K.delete(e)))}},[o.current,r]),i.createElement(en,{ref:a},d?i.cloneElement(l,{ref:p}):l)}),ei=i.forwardRef(function(e,t){var n=e.children;return("function"==typeof n?[n]:(0,P.Z)(n)).map(function(n,r){var o=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(r);return i.createElement(er,(0,l.Z)({},e,{key:o,ref:0===r?t:void 0}),n)})});function eo(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function ea(e){return eo(e) instanceof ShadowRoot?eo(e):null}ei.Collection=function(e){var t=e.children,n=e.onBatchResize,r=i.useRef(0),o=i.useRef([]),a=i.useContext(_),s=i.useCallback(function(e,t,i){r.current+=1;var s=r.current;o.current.push({size:e,element:t,data:i}),Promise.resolve().then(function(){s===r.current&&(null==n||n(o.current),o.current=[])}),null==a||a(e,t,i)},[n,a]);return i.createElement(_.Provider,{value:s},t)};var es=n(35677),ec=0,el=(0,u.Z)({},o).useId,eu=el?function(e){var t=el();return e||t}:function(e){var t=i.useState("ssr-id"),n=(0,d.Z)(t,2),r=n[0],o=n[1];return(i.useEffect(function(){var e=ec;ec+=1,o("rc_unique_".concat(e))},[]),e)?e:r},ef=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))},ed=n(1354);function eh(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,a=r||{},c=a.className,l=a.content,u=o.x,f=o.y,d=i.useRef();if(!n||!n.points)return null;var h={position:"absolute"};if(!1!==n.autoArrow){var p=n.points[0],v=n.points[1],m=p[0],g=p[1],y=v[0],b=v[1];m!==y&&["t","b"].includes(m)?"t"===m?h.top=0:h.bottom=0:h.top=void 0===f?0:f,g!==b&&["l","r"].includes(g)?"l"===g?h.left=0:h.right=0:h.left=void 0===u?0:u}return i.createElement("div",{ref:d,className:s()("".concat(t,"-arrow"),c),style:h},l)}function ep(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,a=e.motion;return o?i.createElement(ed.ZP,(0,l.Z)({},a,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(e){var n=e.className;return i.createElement("div",{style:{zIndex:r},className:s()("".concat(t,"-mask"),n)})}):null}var ev=i.memo(function(e){return e.children},function(e,t){return t.cache}),em=i.forwardRef(function(e,t){var n=e.popup,r=e.className,o=e.prefixCls,a=e.style,c=e.target,f=e.onVisibleChanged,h=e.open,p=e.keepDom,v=e.fresh,g=e.onClick,y=e.mask,w=e.arrow,Z=e.arrowPos,F=e.align,E=e.motion,x=e.maskMotion,k=e.forceRender,P=e.getPopupContainer,O=e.autoDestroy,C=e.portal,_=e.zIndex,M=e.onMouseEnter,V=e.onMouseLeave,R=e.onPointerEnter,A=e.ready,N=e.offsetX,S=e.offsetY,j=e.offsetR,T=e.offsetB,L=e.onAlign,q=e.onPrepare,I=e.stretch,z=e.targetWidth,D=e.targetHeight,H="function"==typeof n?n():n,W=h||p,B=(null==P?void 0:P.length)>0,$=i.useState(!P||!B),U=(0,d.Z)($,2),Y=U[0],X=U[1];if((0,b.Z)(function(){!Y&&B&&c&&X(!0)},[Y,B,c]),!Y)return null;var K="auto",G={left:"-1000vw",top:"-1000vh",right:K,bottom:K};if(A||!h){var J,Q=F.points,ee=F.dynamicInset||(null===(J=F._experimental)||void 0===J?void 0:J.dynamicInset),et=ee&&"r"===Q[0][1],en=ee&&"b"===Q[0][0];et?(G.right=j,G.left=K):(G.left=N,G.right=K),en?(G.bottom=T,G.top=K):(G.top=S,G.bottom=K)}var er={};return I&&(I.includes("height")&&D?er.height=D:I.includes("minHeight")&&D&&(er.minHeight=D),I.includes("width")&&z?er.width=z:I.includes("minWidth")&&z&&(er.minWidth=z)),h||(er.pointerEvents="none"),i.createElement(C,{open:k||W,getContainer:P&&function(){return P(c)},autoDestroy:O},i.createElement(ep,{prefixCls:o,open:h,zIndex:_,mask:y,motion:x}),i.createElement(ei,{onResize:L,disabled:!h},function(e){return i.createElement(ed.ZP,(0,l.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:k,leavedClassName:"".concat(o,"-hidden")},E,{onAppearPrepare:q,onEnterPrepare:q,visible:h,onVisibleChanged:function(e){var t;null==E||null===(t=E.onVisibleChanged)||void 0===t||t.call(E,e),f(e)}}),function(n,c){var l=n.className,f=n.style,d=s()(o,l,r);return i.createElement("div",{ref:(0,m.sQ)(e,t,c),className:d,style:(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({"--arrow-x":"".concat(Z.x||0,"px"),"--arrow-y":"".concat(Z.y||0,"px")},G),er),f),{},{boxSizing:"border-box",zIndex:_},a),onMouseEnter:M,onMouseLeave:V,onPointerEnter:R,onClick:g},w&&i.createElement(eh,{prefixCls:o,arrow:w,arrowPos:Z,align:F}),i.createElement(ev,{cache:!h&&!v},H))})}))}),eg=i.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=(0,m.Yr)(n),a=i.useCallback(function(e){(0,m.mH)(t,r?r(e):e)},[r]),s=(0,m.x1)(a,n.ref);return o?i.cloneElement(n,{ref:s}):n}),ey=i.createContext(null);function eb(e){return e?Array.isArray(e)?e:[e]:[]}var ew=n(73188);function eZ(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function eF(e){return e.ownerDocument.defaultView}function eE(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var i=eF(n).getComputedStyle(n);[i.overflowX,i.overflowY,i.overflow].some(function(e){return r.includes(e)})&&t.push(n),n=n.parentElement}return t}function ex(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function ek(e){return ex(parseFloat(e),0)}function eP(e,t){var n=(0,u.Z)({},e);return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=eF(e).getComputedStyle(e),r=t.overflow,i=t.overflowClipMargin,o=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,c=t.borderRightWidth,l=e.getBoundingClientRect(),u=e.offsetHeight,f=e.clientHeight,d=e.offsetWidth,h=e.clientWidth,p=ek(o),v=ek(a),m=ek(s),g=ek(c),y=ex(Math.round(l.width/d*1e3)/1e3),b=ex(Math.round(l.height/u*1e3)/1e3),w=p*b,Z=m*y,F=0,E=0;if("clip"===r){var x=ek(i);F=x*y,E=x*b}var k=l.x+Z-F,P=l.y+w-E,O=k+l.width+2*F-Z-g*y-(d-h-m-g)*y,C=P+l.height+2*E-w-v*b-(u-f-p-v)*b;n.left=Math.max(n.left,k),n.top=Math.max(n.top,P),n.right=Math.min(n.right,O),n.bottom=Math.min(n.bottom,C)}}),n}function eO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?parseFloat(r[1])/100*e:parseFloat(n)}function eC(e,t){var n=(0,d.Z)(t||[],2),r=n[0],i=n[1];return[eO(e.width,r),eO(e.height,i)]}function e_(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function eM(e,t){var n,r=t[0],i=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===i?e.x:"r"===i?e.x+e.width:e.x+e.width/2,y:n}}function eV(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(e,r){return r===t?n[e]||"c":e}).join("")}var eR=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"],eA=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k;return i.forwardRef(function(t,n){var r,o,a,c,l,h,p,v,m,g,w,Z,F,E,x,k,P=t.prefixCls,O=void 0===P?"rc-trigger-popup":P,_=t.children,M=t.action,V=t.showAction,R=t.hideAction,A=t.popupVisible,N=t.defaultPopupVisible,S=t.onPopupVisibleChange,j=t.afterPopupVisibleChange,T=t.mouseEnterDelay,L=t.mouseLeaveDelay,q=void 0===L?.1:L,I=t.focusDelay,z=t.blurDelay,D=t.mask,H=t.maskClosable,W=t.getPopupContainer,B=t.forceRender,$=t.autoDestroy,U=t.destroyPopupOnHide,Y=t.popup,X=t.popupClassName,K=t.popupStyle,G=t.popupPlacement,J=t.builtinPlacements,Q=void 0===J?{}:J,ee=t.popupAlign,et=t.zIndex,en=t.stretch,er=t.getPopupClassNameFromAlign,eo=t.fresh,ec=t.alignPoint,el=t.onPopupClick,ed=t.onPopupAlign,eh=t.arrow,ep=t.popupMotion,ev=t.maskMotion,ek=t.popupTransitionName,eO=t.popupAnimation,eA=t.maskTransitionName,eN=t.maskAnimation,eS=t.className,ej=t.getTriggerDOMNode,eT=(0,f.Z)(t,eR),eL=i.useState(!1),eq=(0,d.Z)(eL,2),eI=eq[0],ez=eq[1];(0,b.Z)(function(){ez(ef())},[]);var eD=i.useRef({}),eH=i.useContext(ey),eW=i.useMemo(function(){return{registerSubPopup:function(e,t){eD.current[e]=t,null==eH||eH.registerSubPopup(e,t)}}},[eH]),eB=eu(),e$=i.useState(null),eU=(0,d.Z)(e$,2),eY=eU[0],eX=eU[1],eK=i.useRef(null),eG=(0,es.Z)(function(e){eK.current=e,(0,C.Sh)(e)&&eY!==e&&eX(e),null==eH||eH.registerSubPopup(eB,e)}),eJ=i.useState(null),eQ=(0,d.Z)(eJ,2),e0=eQ[0],e1=eQ[1],e2=i.useRef(null),e4=(0,es.Z)(function(e){(0,C.Sh)(e)&&e0!==e&&(e1(e),e2.current=e)}),e8=i.Children.only(_),e3=(null==e8?void 0:e8.props)||{},e5={},e6=(0,es.Z)(function(e){var t,n;return(null==e0?void 0:e0.contains(e))||(null===(t=ea(e0))||void 0===t?void 0:t.host)===e||e===e0||(null==eY?void 0:eY.contains(e))||(null===(n=ea(eY))||void 0===n?void 0:n.host)===e||e===eY||Object.values(eD.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t})}),e7=eZ(O,ep,eO,ek),e9=eZ(O,ev,eN,eA),te=i.useState(N||!1),tt=(0,d.Z)(te,2),tn=tt[0],tr=tt[1],ti=null!=A?A:tn,to=(0,es.Z)(function(e){void 0===A&&tr(e)});(0,b.Z)(function(){tr(A||!1)},[A]);var ta=i.useRef(ti);ta.current=ti;var ts=i.useRef([]);ts.current=[];var tc=(0,es.Z)(function(e){var t;to(e),(null!==(t=ts.current[ts.current.length-1])&&void 0!==t?t:ti)!==e&&(ts.current.push(e),null==S||S(e))}),tl=i.useRef(),tu=function(){clearTimeout(tl.current)},tf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;tu(),0===t?tc(e):tl.current=setTimeout(function(){tc(e)},1e3*t)};i.useEffect(function(){return tu},[]);var td=i.useState(!1),th=(0,d.Z)(td,2),tp=th[0],tv=th[1];(0,b.Z)(function(e){(!e||ti)&&tv(!0)},[ti]);var tm=i.useState(null),tg=(0,d.Z)(tm,2),ty=tg[0],tb=tg[1],tw=i.useState([0,0]),tZ=(0,d.Z)(tw,2),tF=tZ[0],tE=tZ[1],tx=function(e){tE([e.clientX,e.clientY])},tk=(r=ec?tF:e0,o=i.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Q[G]||{}}),c=(a=(0,d.Z)(o,2))[0],l=a[1],h=i.useRef(0),p=i.useMemo(function(){return eY?eE(eY):[]},[eY]),v=i.useRef({}),ti||(v.current={}),m=(0,es.Z)(function(){if(eY&&r&&ti){var e,t,n,i,o,a,s,c=eY.ownerDocument,f=eF(eY).getComputedStyle(eY),h=f.width,m=f.height,g=f.position,y=eY.style.left,b=eY.style.top,w=eY.style.right,Z=eY.style.bottom,F=eY.style.overflow,E=(0,u.Z)((0,u.Z)({},Q[G]),ee),x=c.createElement("div");if(null===(e=eY.parentElement)||void 0===e||e.appendChild(x),x.style.left="".concat(eY.offsetLeft,"px"),x.style.top="".concat(eY.offsetTop,"px"),x.style.position=g,x.style.height="".concat(eY.offsetHeight,"px"),x.style.width="".concat(eY.offsetWidth,"px"),eY.style.left="0",eY.style.top="0",eY.style.right="auto",eY.style.bottom="auto",eY.style.overflow="hidden",Array.isArray(r))n={x:r[0],y:r[1],width:0,height:0};else{var k=r.getBoundingClientRect();n={x:k.x,y:k.y,width:k.width,height:k.height}}var P=eY.getBoundingClientRect(),O=c.documentElement,_=O.clientWidth,M=O.clientHeight,V=O.scrollWidth,R=O.scrollHeight,A=O.scrollTop,N=O.scrollLeft,S=P.height,j=P.width,T=n.height,L=n.width,q=E.htmlRegion,I="visible",z="visibleFirst";"scroll"!==q&&q!==z&&(q=I);var D=q===z,H=eP({left:-N,top:-A,right:V-N,bottom:R-A},p),W=eP({left:0,top:0,right:_,bottom:M},p),B=q===I?W:H,$=D?W:B;eY.style.left="auto",eY.style.top="auto",eY.style.right="0",eY.style.bottom="0";var U=eY.getBoundingClientRect();eY.style.left=y,eY.style.top=b,eY.style.right=w,eY.style.bottom=Z,eY.style.overflow=F,null===(t=eY.parentElement)||void 0===t||t.removeChild(x);var Y=ex(Math.round(j/parseFloat(h)*1e3)/1e3),X=ex(Math.round(S/parseFloat(m)*1e3)/1e3);if(!(0===Y||0===X||(0,C.Sh)(r)&&!(0,ew.Z)(r))){var K=E.offset,J=E.targetOffset,et=eC(P,K),en=(0,d.Z)(et,2),er=en[0],ei=en[1],eo=eC(n,J),ea=(0,d.Z)(eo,2),es=ea[0],ec=ea[1];n.x-=es,n.y-=ec;var el=E.points||[],eu=(0,d.Z)(el,2),ef=eu[0],eh=e_(eu[1]),ep=e_(ef),ev=eM(n,eh),em=eM(P,ep),eg=(0,u.Z)({},E),ey=ev.x-em.x+er,eb=ev.y-em.y+ei,eZ=tt(ey,eb),eE=tt(ey,eb,W),ek=eM(n,["t","l"]),eO=eM(P,["t","l"]),eR=eM(n,["b","r"]),eA=eM(P,["b","r"]),eN=E.overflow||{},eS=eN.adjustX,ej=eN.adjustY,eT=eN.shiftX,eL=eN.shiftY,eq=function(e){return"boolean"==typeof e?e:e>=0};tn();var eI=eq(ej),ez=ep[0]===eh[0];if(eI&&"t"===ep[0]&&(o>$.bottom||v.current.bt)){var eD=eb;ez?eD-=S-T:eD=ek.y-eA.y-ei;var eH=tt(ey,eD),eW=tt(ey,eD,W);eH>eZ||eH===eZ&&(!D||eW>=eE)?(v.current.bt=!0,eb=eD,ei=-ei,eg.points=[eV(ep,0),eV(eh,0)]):v.current.bt=!1}if(eI&&"b"===ep[0]&&(i<$.top||v.current.tb)){var eB=eb;ez?eB+=S-T:eB=eR.y-eO.y-ei;var e$=tt(ey,eB),eU=tt(ey,eB,W);e$>eZ||e$===eZ&&(!D||eU>=eE)?(v.current.tb=!0,eb=eB,ei=-ei,eg.points=[eV(ep,0),eV(eh,0)]):v.current.tb=!1}var eX=eq(eS),eK=ep[1]===eh[1];if(eX&&"l"===ep[1]&&(s>$.right||v.current.rl)){var eG=ey;eK?eG-=j-L:eG=ek.x-eA.x-er;var eJ=tt(eG,eb),eQ=tt(eG,eb,W);eJ>eZ||eJ===eZ&&(!D||eQ>=eE)?(v.current.rl=!0,ey=eG,er=-er,eg.points=[eV(ep,1),eV(eh,1)]):v.current.rl=!1}if(eX&&"r"===ep[1]&&(a<$.left||v.current.lr)){var e0=ey;eK?e0+=j-L:e0=eR.x-eO.x-er;var e1=tt(e0,eb),e2=tt(e0,eb,W);e1>eZ||e1===eZ&&(!D||e2>=eE)?(v.current.lr=!0,ey=e0,er=-er,eg.points=[eV(ep,1),eV(eh,1)]):v.current.lr=!1}tn();var e4=!0===eT?0:eT;"number"==typeof e4&&(aW.right&&(ey-=s-W.right-er,n.x>W.right-e4&&(ey+=n.x-W.right+e4)));var e8=!0===eL?0:eL;"number"==typeof e8&&(iW.bottom&&(eb-=o-W.bottom-ei,n.y>W.bottom-e8&&(eb+=n.y-W.bottom+e8)));var e3=P.x+ey,e5=P.y+eb,e6=n.x,e7=n.y;null==ed||ed(eY,eg);var e9=U.right-P.x-(ey+P.width),te=U.bottom-P.y-(eb+P.height);1===Y&&(ey=Math.round(ey),e9=Math.round(e9)),1===X&&(eb=Math.round(eb),te=Math.round(te)),l({ready:!0,offsetX:ey/Y,offsetY:eb/X,offsetR:e9/Y,offsetB:te/X,arrowX:((Math.max(e3,e6)+Math.min(e3+j,e6+L))/2-e3)/Y,arrowY:((Math.max(e5,e7)+Math.min(e5+S,e7+T))/2-e5)/X,scaleX:Y,scaleY:X,align:eg})}function tt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:B,r=P.x+e,i=P.y+t,o=Math.max(r,n.left),a=Math.max(i,n.top);return Math.max(0,(Math.min(r+j,n.right)-o)*(Math.min(i+S,n.bottom)-a))}function tn(){o=(i=P.y+eb)+S,s=(a=P.x+ey)+j}}}),g=function(){l(function(e){return(0,u.Z)((0,u.Z)({},e),{},{ready:!1})})},(0,b.Z)(g,[G]),(0,b.Z)(function(){ti||g()},[ti]),[c.ready,c.offsetX,c.offsetY,c.offsetR,c.offsetB,c.arrowX,c.arrowY,c.scaleX,c.scaleY,c.align,function(){h.current+=1;var e=h.current;Promise.resolve().then(function(){h.current===e&&m()})}]),tP=(0,d.Z)(tk,11),tO=tP[0],tC=tP[1],t_=tP[2],tM=tP[3],tV=tP[4],tR=tP[5],tA=tP[6],tN=tP[7],tS=tP[8],tj=tP[9],tT=tP[10],tL=(w=void 0===M?"hover":M,i.useMemo(function(){var e=eb(null!=V?V:w),t=eb(null!=R?R:w),n=new Set(e),r=new Set(t);return eI&&(n.has("hover")&&(n.delete("hover"),n.add("click")),r.has("hover")&&(r.delete("hover"),r.add("click"))),[n,r]},[eI,w,V,R])),tq=(0,d.Z)(tL,2),tI=tq[0],tz=tq[1],tD=tI.has("click"),tH=tz.has("click")||tz.has("contextMenu"),tW=(0,es.Z)(function(){tp||tT()});Z=function(){ta.current&&ec&&tH&&tf(!1)},(0,b.Z)(function(){if(ti&&e0&&eY){var e=eE(e0),t=eE(eY),n=eF(eY),r=new Set([n].concat((0,y.Z)(e),(0,y.Z)(t)));function i(){tW(),Z()}return r.forEach(function(e){e.addEventListener("scroll",i,{passive:!0})}),n.addEventListener("resize",i,{passive:!0}),tW(),function(){r.forEach(function(e){e.removeEventListener("scroll",i),n.removeEventListener("resize",i)})}}},[ti,e0,eY]),(0,b.Z)(function(){tW()},[tF,G]),(0,b.Z)(function(){ti&&!(null!=Q&&Q[G])&&tW()},[JSON.stringify(ee)]);var tB=i.useMemo(function(){var e=function(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}(null===(s=e[c])||void 0===s?void 0:s.points,i,r))return"".concat(t,"-placement-").concat(c)}return""}(Q,O,tj,ec);return s()(e,null==er?void 0:er(tj))},[tj,er,Q,O,ec]);i.useImperativeHandle(n,function(){return{nativeElement:e2.current,popupElement:eK.current,forceAlign:tW}});var t$=i.useState(0),tU=(0,d.Z)(t$,2),tY=tU[0],tX=tU[1],tK=i.useState(0),tG=(0,d.Z)(tK,2),tJ=tG[0],tQ=tG[1],t0=function(){if(en&&e0){var e=e0.getBoundingClientRect();tX(e.width),tQ(e.height)}};function t1(e,t,n,r){e5[e]=function(i){var o;null==r||r(i),tf(t,n);for(var a=arguments.length,s=Array(a>1?a-1:0),c=1;c1?n-1:0),i=1;i1?n-1:0),i=1;i1?t-1:0),r=1;r=o)return e;switch(e){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(e){return"[Circular]"}break;default:return e}}):e}function e6(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e}function e7(e,t,n){var r=0,i=e.length;!function o(a){if(a&&a.length){n(a);return}var s=r;r+=1,s()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},ta={integer:function(e){return ta.number(e)&&parseInt(e,10)===e},float:function(e){return ta.number(e)&&!ta.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return new RegExp(e),!0}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(0,O.Z)(e)&&!ta.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(to.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(ti())},hex:function(e){return"string"==typeof e&&!!e.match(to.hex)}},ts={required:tr,whitespace:function(e,t,n,r,i){(/^\s+$/.test(t)||""===t)&&r.push(e5(i.messages.whitespace,e.fullField))},type:function(e,t,n,r,i){if(e.required&&void 0===t){tr(e,t,n,r,i);return}var o=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?ta[o](t)||r.push(e5(i.messages.types[o],e.fullField,e.type)):o&&(0,O.Z)(t)!==e.type&&r.push(e5(i.messages.types[o],e.fullField,e.type))},range:function(e,t,n,r,i){var o="number"==typeof e.len,a="number"==typeof e.min,s="number"==typeof e.max,c=t,l=null,u="number"==typeof t,f="string"==typeof t,d=Array.isArray(t);if(u?l="number":f?l="string":d&&(l="array"),!l)return!1;d&&(c=t.length),f&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?c!==e.len&&r.push(e5(i.messages[l].len,e.fullField,e.len)):a&&!s&&ce.max?r.push(e5(i.messages[l].max,e.fullField,e.max)):a&&s&&(ce.max)&&r.push(e5(i.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,i){e[tn]=Array.isArray(e[tn])?e[tn]:[],-1===e[tn].indexOf(t)&&r.push(e5(i.messages[tn],e.fullField,e[tn].join(", ")))},pattern:function(e,t,n,r,i){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(e5(i.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||new RegExp(e.pattern).test(t)||r.push(e5(i.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},tc=function(e,t,n,r,i){var o=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t,o)&&!e.required)return n();ts.required(e,t,r,a,i,o),e6(t,o)||ts.type(e,t,r,a,i)}n(a)},tl={string:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t,"string")&&!e.required)return n();ts.required(e,t,r,o,i,"string"),e6(t,"string")||(ts.type(e,t,r,o,i),ts.range(e,t,r,o,i),ts.pattern(e,t,r,o,i),!0===e.whitespace&&ts.whitespace(e,t,r,o,i))}n(o)},method:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t)&&!e.required)return n();ts.required(e,t,r,o,i),void 0!==t&&ts.type(e,t,r,o,i)}n(o)},number:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),e6(t)&&!e.required)return n();ts.required(e,t,r,o,i),void 0!==t&&(ts.type(e,t,r,o,i),ts.range(e,t,r,o,i))}n(o)},boolean:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t)&&!e.required)return n();ts.required(e,t,r,o,i),void 0!==t&&ts.type(e,t,r,o,i)}n(o)},regexp:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t)&&!e.required)return n();ts.required(e,t,r,o,i),e6(t)||ts.type(e,t,r,o,i)}n(o)},integer:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t)&&!e.required)return n();ts.required(e,t,r,o,i),void 0!==t&&(ts.type(e,t,r,o,i),ts.range(e,t,r,o,i))}n(o)},float:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t)&&!e.required)return n();ts.required(e,t,r,o,i),void 0!==t&&(ts.type(e,t,r,o,i),ts.range(e,t,r,o,i))}n(o)},array:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();ts.required(e,t,r,o,i,"array"),null!=t&&(ts.type(e,t,r,o,i),ts.range(e,t,r,o,i))}n(o)},object:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t)&&!e.required)return n();ts.required(e,t,r,o,i),void 0!==t&&ts.type(e,t,r,o,i)}n(o)},enum:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t)&&!e.required)return n();ts.required(e,t,r,o,i),void 0!==t&&ts.enum(e,t,r,o,i)}n(o)},pattern:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t,"string")&&!e.required)return n();ts.required(e,t,r,o,i),e6(t,"string")||ts.pattern(e,t,r,o,i)}n(o)},date:function(e,t,n,r,i){var o,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t,"date")&&!e.required)return n();ts.required(e,t,r,a,i),!e6(t,"date")&&(o=t instanceof Date?t:new Date(t),ts.type(e,o,r,a,i),o&&ts.range(e,o.getTime(),r,a,i))}n(a)},url:tc,hex:tc,email:tc,required:function(e,t,n,r,i){var o=[],a=Array.isArray(t)?"array":(0,O.Z)(t);ts.required(e,t,r,o,i,a),n(o)},any:function(e,t,n,r,i){var o=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(e6(t)&&!e.required)return n();ts.required(e,t,r,o,i)}n(o)}},tu=function(){function e(t){(0,J.Z)(this,e),(0,eW.Z)(this,"rules",null),(0,eW.Z)(this,"_messages",eJ),this.define(t)}return(0,Q.Z)(e,[{key:"define",value:function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!==(0,O.Z)(e)||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})}},{key:"messages",value:function(e){return e&&(this._messages=tt(eG(),e)),this._messages}},{key:"validate",value:function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},o=t,a=r,s=i;if("function"==typeof a&&(s=a,a={}),!this.rules||0===Object.keys(this.rules).length)return s&&s(null,o),Promise.resolve(o);if(a.messages){var c=this.messages();c===eJ&&(c=eG()),tt(c,a.messages),a.messages=c}else a.messages=this.messages();var l={};(a.keys||Object.keys(this.rules)).forEach(function(e){var r=n.rules[e],i=o[e];r.forEach(function(r){var a=r;"function"==typeof a.transform&&(o===t&&(o=(0,u.Z)({},o)),null!=(i=o[e]=a.transform(i))&&(a.type=a.type||(Array.isArray(i)?"array":(0,O.Z)(i)))),(a="function"==typeof a?{validator:a}:(0,u.Z)({},a)).validator=n.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=n.getType(a),l[e]=l[e]||[],l[e].push({rule:a,value:i,source:o,field:e}))})});var f={};return function(e,t,n,r,i){if(t.first){var o=new Promise(function(t,o){var a;e7((a=[],Object.keys(e).forEach(function(t){a.push.apply(a,(0,y.Z)(e[t]||[]))}),a),n,function(e){return r(e),e.length?o(new e9(e,e3(e))):t(i)})});return o.catch(function(e){return e}),o}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],s=Object.keys(e),c=s.length,l=0,u=[],f=new Promise(function(t,o){var f=function(e){if(u.push.apply(u,e),++l===c)return r(u),u.length?o(new e9(u,e3(u))):t(i)};s.length||(r(u),t(i)),s.forEach(function(t){var r=e[t];-1!==a.indexOf(t)?e7(r,n,f):function(e,t,n){var r=[],i=0,o=e.length;function a(e){r.push.apply(r,(0,y.Z)(e||[])),++i===o&&n(r)}e.forEach(function(e){t(e,a)})}(r,n,f)})});return f.catch(function(e){return e}),f}(l,a,function(t,n){var r,i,s,c=t.rule,l=("object"===c.type||"array"===c.type)&&("object"===(0,O.Z)(c.fields)||"object"===(0,O.Z)(c.defaultField));function d(e,t){return(0,u.Z)((0,u.Z)({},t),{},{fullField:"".concat(c.fullField,".").concat(e),fullFields:c.fullFields?[].concat((0,y.Z)(c.fullFields),[e]):[e]})}function h(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=Array.isArray(r)?r:[r];!a.suppressWarning&&i.length&&e.warning("async-validator:",i),i.length&&void 0!==c.message&&(i=[].concat(c.message));var s=i.map(te(c,o));if(a.first&&s.length)return f[c.field]=1,n(s);if(l){if(c.required&&!t.value)return void 0!==c.message?s=[].concat(c.message).map(te(c,o)):a.error&&(s=[a.error(c,e5(a.messages.required,c.field))]),n(s);var h={};c.defaultField&&Object.keys(t.value).map(function(e){h[e]=c.defaultField});var p={};Object.keys(h=(0,u.Z)((0,u.Z)({},h),t.rule.fields)).forEach(function(e){var t=h[e],n=Array.isArray(t)?t:[t];p[e]=n.map(d.bind(null,e))});var v=new e(p);v.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),v.validate(t.value,t.rule.options||a,function(e){var t=[];s&&s.length&&t.push.apply(t,(0,y.Z)(s)),e&&e.length&&t.push.apply(t,(0,y.Z)(e)),n(t.length?t:null)})}else n(s)}if(l=l&&(c.required||!c.required&&t.value),c.field=t.field,c.asyncValidator)r=c.asyncValidator(c,t.value,h,t.source,a);else if(c.validator){try{r=c.validator(c,t.value,h,t.source,a)}catch(e){null===(i=(s=console).error)||void 0===i||i.call(s,e),a.suppressValidatorError||setTimeout(function(){throw e},0),h(e.message)}!0===r?h():!1===r?h("function"==typeof c.message?c.message(c.fullField||c.field):c.message||"".concat(c.fullField||c.field," fails")):r instanceof Array?h(r):r instanceof Error&&h(r.message)}r&&r.then&&r.then(function(){return h()},function(e){return h(e)})},function(e){!function(e){for(var t=[],n={},r=0;r2&&void 0!==arguments[2]&&arguments[2];return e&&e.some(function(e){return tE(t,e,n)})}function tE(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&!!t&&(!!n||e.length===t.length)&&t.every(function(t,n){return e[n]===t})}function tx(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,O.Z)(t.target)&&e in t.target?t.target[e]:t}function tk(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var i=e[t],o=t-n;return o>0?[].concat((0,y.Z)(e.slice(0,n)),[i],(0,y.Z)(e.slice(n,t)),(0,y.Z)(e.slice(t+1,r))):o<0?[].concat((0,y.Z)(e.slice(0,t)),(0,y.Z)(e.slice(t+1,n+1)),[i],(0,y.Z)(e.slice(n+1,r))):e}var tP=["name"],tO=[];function tC(e,t,n,r,i,o){return"function"==typeof e?e(t,n,"source"in o?{source:o.source}:{}):r!==i}var t_=function(e){(0,ee.Z)(n,e);var t=(0,et.Z)(n);function n(e){var r;return(0,J.Z)(this,n),r=t.call(this,e),(0,eW.Z)((0,eH.Z)(r),"state",{resetCount:0}),(0,eW.Z)((0,eH.Z)(r),"cancelRegisterFunc",null),(0,eW.Z)((0,eH.Z)(r),"mounted",!1),(0,eW.Z)((0,eH.Z)(r),"touched",!1),(0,eW.Z)((0,eH.Z)(r),"dirty",!1),(0,eW.Z)((0,eH.Z)(r),"validatePromise",void 0),(0,eW.Z)((0,eH.Z)(r),"prevValidating",void 0),(0,eW.Z)((0,eH.Z)(r),"errors",tO),(0,eW.Z)((0,eH.Z)(r),"warnings",tO),(0,eW.Z)((0,eH.Z)(r),"cancelRegister",function(){var e=r.props,t=e.preserve,n=e.isListField,i=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,tw(i)),r.cancelRegisterFunc=null}),(0,eW.Z)((0,eH.Z)(r),"getNamePath",function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName;return void 0!==t?[].concat((0,y.Z)(void 0===n?[]:n),(0,y.Z)(t)):[]}),(0,eW.Z)((0,eH.Z)(r),"getRules",function(){var e=r.props,t=e.rules,n=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(n):e})}),(0,eW.Z)((0,eH.Z)(r),"refresh",function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})}),(0,eW.Z)((0,eH.Z)(r),"metaCache",null),(0,eW.Z)((0,eH.Z)(r),"triggerMetaEvent",function(e){var t=r.props.onMetaChange;if(t){var n=(0,u.Z)((0,u.Z)({},r.getMeta()),{},{destroy:e});(0,eB.Z)(r.metaCache,n)||t(n),r.metaCache=n}else r.metaCache=null}),(0,eW.Z)((0,eH.Z)(r),"onStoreChange",function(e,t,n){var i=r.props,o=i.shouldUpdate,a=i.dependencies,s=void 0===a?[]:a,c=i.onReset,l=n.store,u=r.getNamePath(),f=r.getValue(e),d=r.getValue(l),h=t&&tF(t,u);switch("valueUpdate"!==n.type||"external"!==n.source||(0,eB.Z)(f,d)||(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=tO,r.warnings=tO,r.triggerMetaEvent()),n.type){case"reset":if(!t||h){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=tO,r.warnings=tO,r.triggerMetaEvent(),null==c||c(),r.refresh();return}break;case"remove":if(o){r.reRender();return}break;case"setField":var p=n.data;if(h){"touched"in p&&(r.touched=p.touched),"validating"in p&&!("originRCField"in p)&&(r.validatePromise=p.validating?Promise.resolve([]):null),"errors"in p&&(r.errors=p.errors||tO),"warnings"in p&&(r.warnings=p.warnings||tO),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if("value"in p&&tF(t,u,!0)||o&&!u.length&&tC(o,e,l,f,d,n)){r.reRender();return}break;case"dependenciesUpdate":if(s.map(tw).some(function(e){return tF(n.relatedFields,e)})){r.reRender();return}break;default:if(h||(!s.length||u.length||o)&&tC(o,e,l,f,d,n)){r.reRender();return}}!0===o&&r.reRender()}),(0,eW.Z)((0,eH.Z)(r),"validateRules",function(e){var t=r.getNamePath(),n=r.getValue(),i=e||{},o=i.triggerName,a=i.validateOnly,s=Promise.resolve().then((0,eD.Z)((0,ez.Z)().mark(function i(){var a,c,l,f,d,h,p;return(0,ez.Z)().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(r.mounted){i.next=2;break}return i.abrupt("return",[]);case 2:if(l=void 0!==(c=(a=r.props).validateFirst)&&c,f=a.messageVariables,d=a.validateDebounce,h=r.getRules(),o&&(h=h.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||eK(t).includes(o)})),!(d&&o)){i.next=10;break}return i.next=8,new Promise(function(e){setTimeout(e,d)});case 8:if(!(r.validatePromise!==s)){i.next=10;break}return i.abrupt("return",[]);case 10:return(p=function(e,t,n,r,i,o){var a,s,c=e.join("."),l=n.map(function(e,t){var n=e.validator,r=(0,u.Z)((0,u.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var i=!1,o=n(e,t,function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:tO;if(r.validatePromise===s){r.validatePromise=null;var t,n=[],i=[];null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,o=void 0===r?tO:r;t?i.push.apply(i,(0,y.Z)(o)):n.push.apply(n,(0,y.Z)(o))}),r.errors=n,r.warnings=i,r.triggerMetaEvent(),r.reRender()}}),i.abrupt("return",p);case 13:case"end":return i.stop()}},i)})));return void 0!==a&&a||(r.validatePromise=s,r.dirty=!0,r.errors=tO,r.warnings=tO,r.triggerMetaEvent(),r.reRender()),s}),(0,eW.Z)((0,eH.Z)(r),"isFieldValidating",function(){return!!r.validatePromise}),(0,eW.Z)((0,eH.Z)(r),"isFieldTouched",function(){return r.touched}),(0,eW.Z)((0,eH.Z)(r),"isFieldDirty",function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(e$).getInitialValue)(r.getNamePath())}),(0,eW.Z)((0,eH.Z)(r),"getErrors",function(){return r.errors}),(0,eW.Z)((0,eH.Z)(r),"getWarnings",function(){return r.warnings}),(0,eW.Z)((0,eH.Z)(r),"isListField",function(){return r.props.isListField}),(0,eW.Z)((0,eH.Z)(r),"isList",function(){return r.props.isList}),(0,eW.Z)((0,eH.Z)(r),"isPreserve",function(){return r.props.preserve}),(0,eW.Z)((0,eH.Z)(r),"getMeta",function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}}),(0,eW.Z)((0,eH.Z)(r),"getOnlyChild",function(e){if("function"==typeof e){var t=r.getMeta();return(0,u.Z)((0,u.Z)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=(0,P.Z)(e);return 1===n.length&&i.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}}),(0,eW.Z)((0,eH.Z)(r),"getValue",function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return(0,tb.Z)(e||t(!0),n)}),(0,eW.Z)((0,eH.Z)(r),"getControlled",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.name,i=t.trigger,o=t.validateTrigger,a=t.getValueFromEvent,s=t.normalize,c=t.valuePropName,l=t.getValueProps,f=t.fieldContext,d=void 0!==o?o:f.validateTrigger,h=r.getNamePath(),p=f.getInternalHooks,v=f.getFieldsValue,m=p(e$).dispatch,g=r.getValue(),y=l||function(e){return(0,eW.Z)({},c,e)},b=e[i],w=void 0!==n?y(g):{},Z=(0,u.Z)((0,u.Z)({},e),w);return Z[i]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,n=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach(function(n){n(t,r,e)})}}),(0,eW.Z)(this,"timeoutId",null),(0,eW.Z)(this,"warningUnhooked",function(){}),(0,eW.Z)(this,"updateStore",function(e){n.store=e}),(0,eW.Z)(this,"getFieldEntities",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter(function(e){return e.getNamePath().length}):n.fieldEntities}),(0,eW.Z)(this,"getFieldsMap",function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new tA;return n.getFieldEntities(e).forEach(function(e){var n=e.getNamePath();t.set(n,e)}),t}),(0,eW.Z)(this,"getFieldEntitiesForNamePathList",function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map(function(e){var n=tw(e);return t.get(n)||{INVALIDATE_NAME_PATH:tw(e)}})}),(0,eW.Z)(this,"getFieldsValue",function(e,t){if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,i=t):e&&"object"===(0,O.Z)(e)&&(o=e.strict,i=e.filter),!0===r&&!i)return n.store;var r,i,o,a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),s=[];return a.forEach(function(e){var t,n,a,c="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(o){if(null!==(a=e.isList)&&void 0!==a&&a.call(e))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;if(i){var l="getMeta"in e?e.getMeta():null;i(l)&&s.push(c)}else s.push(c)}),tZ(n.store,s.map(tw))}),(0,eW.Z)(this,"getFieldValue",function(e){n.warningUnhooked();var t=tw(e);return(0,tb.Z)(n.store,t)}),(0,eW.Z)(this,"getFieldsError",function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map(function(t,n){return!t||"INVALIDATE_NAME_PATH"in t?{name:tw(e[n]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})}),(0,eW.Z)(this,"getFieldError",function(e){n.warningUnhooked();var t=tw(e);return n.getFieldsError([t])[0].errors}),(0,eW.Z)(this,"getFieldWarning",function(e){n.warningUnhooked();var t=tw(e);return n.getFieldsError([t])[0].warnings}),(0,eW.Z)(this,"isFieldsTouched",function(){n.warningUnhooked();for(var e,t=arguments.length,r=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:{},r=new tA,i=n.getFieldEntities(!0);i.forEach(function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var i=r.get(n)||new Set;i.add({entity:e,value:t}),r.set(n,i)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var n,i=r.get(t);i&&(n=e).push.apply(n,(0,y.Z)((0,y.Z)(i).map(function(e){return e.entity})))})):e=i,function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var i=e.getNamePath();if(void 0!==n.getInitialValue(i))(0,v.ZP)(!1,"Form already set 'initialValues' with path '".concat(i.join("."),"'. Field can not overwrite it."));else{var o=r.get(i);if(o&&o.size>1)(0,v.ZP)(!1,"Multiple Field with path '".concat(i.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(o){var a=n.getFieldValue(i);e.isListField()||t.skipExist&&void 0!==a||n.updateStore((0,th.Z)(n.store,i,(0,y.Z)(o)[0].value))}}}})}(e)}),(0,eW.Z)(this,"resetFields",function(e){n.warningUnhooked();var t=n.store;if(!e){n.updateStore((0,th.T)(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),n.notifyWatch();return}var r=e.map(tw);r.forEach(function(e){var t=n.getInitialValue(e);n.updateStore((0,th.Z)(n.store,e,t))}),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)}),(0,eW.Z)(this,"setFields",function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach(function(e){var i=e.name,o=(0,f.Z)(e,tN),a=tw(i);r.push(a),"value"in o&&n.updateStore((0,th.Z)(n.store,a,o.value)),n.notifyObservers(t,[a],{type:"setField",data:e})}),n.notifyWatch(r)}),(0,eW.Z)(this,"getFields",function(){return n.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),i=(0,u.Z)((0,u.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(i,"originRCField",{value:!0}),i})}),(0,eW.Z)(this,"initEntityValue",function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,tb.Z)(n.store,r)&&n.updateStore((0,th.Z)(n.store,r,t))}}),(0,eW.Z)(this,"isMergedPreserve",function(e){var t=void 0!==e?e:n.preserve;return null==t||t}),(0,eW.Z)(this,"registerField",function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(t){return t!==e}),!n.isMergedPreserve(i)&&(!r||o.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every(function(e){return!tE(e.getNamePath(),t)})){var s=n.store;n.updateStore((0,th.Z)(s,t,a,!0)),n.notifyObservers(s,[t],{type:"remove"}),n.triggerDependenciesUpdate(s,t)}}n.notifyWatch([t])}}),(0,eW.Z)(this,"dispatch",function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var i=e.namePath,o=e.triggerName;n.validateFields([i],{triggerName:o})}}),(0,eW.Z)(this,"notifyObservers",function(e,t,r){if(n.subscribable){var i=(0,u.Z)((0,u.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(n){(0,n.onStoreChange)(e,t,i)})}else n.forceRootUpdate()}),(0,eW.Z)(this,"triggerDependenciesUpdate",function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,y.Z)(r))}),r}),(0,eW.Z)(this,"updateValue",function(e,t){var r=tw(e),i=n.store;n.updateStore((0,th.Z)(n.store,r,t)),n.notifyObservers(i,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var o=n.triggerDependenciesUpdate(i,r),a=n.callbacks.onValuesChange;a&&a(tZ(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat((0,y.Z)(o)))}),(0,eW.Z)(this,"setFieldsValue",function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,th.T)(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),(0,eW.Z)(this,"setFieldValue",function(e,t){n.setFields([{name:e,value:t}])}),(0,eW.Z)(this,"getDependencyChildrenFields",function(e){var t=new Set,r=[],i=new tA;return n.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var n=tw(t);i.update(n,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),function e(n){(i.get(n)||new Set).forEach(function(n){if(!t.has(n)){t.add(n);var i=n.getNamePath();n.isFieldDirty()&&i.length&&(r.push(i),e(i))}})}(e),r}),(0,eW.Z)(this,"triggerOnFieldsChange",function(e,t){var r=n.callbacks.onFieldsChange;if(r){var i=n.getFields();if(t){var o=new tA;t.forEach(function(e){var t=e.name,n=e.errors;o.set(t,n)}),i.forEach(function(e){e.errors=o.get(e.name)||e.errors})}var a=i.filter(function(t){return tF(e,t.name)});a.length&&r(a,i)}}),(0,eW.Z)(this,"validateFields",function(e,t){n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(a=e,s=t):s=e;var r,i,o,a,s,c=!!a,l=c?a.map(tw):[],f=[],d=String(Date.now()),h=new Set,p=s||{},v=p.recursive,m=p.dirty;n.getFieldEntities(!0).forEach(function(e){if(c||l.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!m||e.isFieldDirty())){var t=e.getNamePath();if(h.add(t.join(d)),!c||tF(l,t,v)){var r=e.validateRules((0,u.Z)({validateMessages:(0,u.Z)((0,u.Z)({},td),n.validateMessages)},s));f.push(r.then(function(){return{name:t,errors:[],warnings:[]}}).catch(function(e){var n,r=[],i=[];return(null===(n=e.forEach)||void 0===n||n.call(e,function(e){var t=e.rule.warningOnly,n=e.errors;t?i.push.apply(i,(0,y.Z)(n)):r.push.apply(r,(0,y.Z)(n))}),r.length)?Promise.reject({name:t,errors:r,warnings:i}):{name:t,errors:r,warnings:i}}))}}});var g=(r=!1,i=f.length,o=[],f.length?new Promise(function(e,t){f.forEach(function(n,a){n.catch(function(e){return r=!0,e}).then(function(n){i-=1,o[a]=n,i>0||(r&&t(o),e(o))})})}):Promise.resolve([]));n.lastValidatePromise=g,g.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)});var b=g.then(function(){return n.lastValidatePromise===g?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:t,outOfDate:n.lastValidatePromise!==g})});b.catch(function(e){return e});var w=l.filter(function(e){return h.has(e.join(d))});return n.triggerOnFieldsChange(w),b}),(0,eW.Z)(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}}).catch(function(e){var t=n.callbacks.onFinishFailed;t&&t(e)})}),this.forceRootUpdate=t}),tj=function(e){var t=i.useRef(),n=i.useState({}),r=(0,d.Z)(n,2)[1];if(!t.current){if(e)t.current=e;else{var o=new tS(function(){r({})});t.current=o.getForm()}}return[t.current]},tT=i.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),tL=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"];function tq(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var tI=function(){},tz=i.forwardRef(function(e,t){var n,r=e.name,o=e.initialValues,a=e.fields,s=e.form,c=e.preserve,h=e.children,p=e.component,v=void 0===p?"form":p,m=e.validateMessages,g=e.validateTrigger,b=void 0===g?"onChange":g,w=e.onValuesChange,Z=e.onFieldsChange,F=e.onFinish,E=e.onFinishFailed,x=e.clearOnDestroy,k=(0,f.Z)(e,tL),P=i.useRef(null),C=i.useContext(tT),_=tj(s),M=(0,d.Z)(_,1)[0],V=M.getInternalHooks(e$),R=V.useSubscribe,A=V.setInitialValues,N=V.setCallbacks,S=V.setValidateMessages,j=V.setPreserve,T=V.destroyForm;i.useImperativeHandle(t,function(){return(0,u.Z)((0,u.Z)({},M),{},{nativeElement:P.current})}),i.useEffect(function(){return C.registerForm(r,M),function(){C.unregisterForm(r)}},[C,M,r]),S((0,u.Z)((0,u.Z)({},C.validateMessages),m)),N({onValuesChange:w,onFieldsChange:function(e){if(C.triggerFormChange(r,e),Z){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i=0&&t<=n.length?(f.keys=[].concat((0,y.Z)(f.keys.slice(0,t)),[f.id],(0,y.Z)(f.keys.slice(t))),i([].concat((0,y.Z)(n.slice(0,t)),[e],(0,y.Z)(n.slice(t))))):(f.keys=[].concat((0,y.Z)(f.keys),[f.id]),i([].concat((0,y.Z)(n),[e]))),f.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(f.keys=f.keys.filter(function(e,t){return!n.has(t)}),i(t.filter(function(e,t){return!n.has(t)})))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(f.keys=tk(f.keys,e,t),i(tk(n,e,t)))}}},t)})))},tz.useForm=tj,tz.useWatch=function(){for(var e=arguments.length,t=Array(e),n=0;n{let{children:t,status:n,override:r}=e,o=(0,i.useContext)(tD),a=(0,i.useMemo)(()=>{let e=Object.assign({},o);return r&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[n,r,o]);return i.createElement(tD.Provider,{value:a},t)};var tW=n(58207),tB=e=>{let{space:t,form:n,children:r}=e;if(null==r)return null;let o=r;return n&&(o=i.createElement(tH,{override:!0,status:!0},o)),t&&(o=i.createElement(tW.BR,null,o)),o},t$=n(98605);let tU=i.createContext(void 0),tY={Modal:100,Drawer:100,Popover:100,Popconfirm:100,Tooltip:100,Tour:100},tX={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1},tK=(e,t,n)=>void 0!==n?n:"".concat(e,"-").concat(t);var tG=n(61048);let tJ=(e,t,n)=>{let{sizePopupArrow:r,arrowPolygon:i,arrowPath:o,arrowShadowWidth:a,borderRadiusXS:s,calc:c}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,o]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:"0 0 ".concat((0,tG.bf)(s)," 0")},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}};function tQ(e){let{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?8:r}}let t0={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},t1={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},t2=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);var t4=n(13691);function t8(){}let t3=()=>{let e=()=>{};return e.deprecated=t8,e};var t5=n(85001),t6=n(33093);let t7=e=>({animationDuration:e,animationFillMode:"both"}),t9=e=>({animationDuration:e,animationFillMode:"both"}),ne=function(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=i?"&":"";return{["\n ".concat(o).concat(e,"-enter,\n ").concat(o).concat(e,"-appear\n ")]:Object.assign(Object.assign({},t7(r)),{animationPlayState:"paused"}),["".concat(o).concat(e,"-leave")]:Object.assign(Object.assign({},t9(r)),{animationPlayState:"paused"}),["\n ".concat(o).concat(e,"-enter").concat(e,"-enter-active,\n ").concat(o).concat(e,"-appear").concat(e,"-appear-active\n ")]:{animationName:t,animationPlayState:"running"},["".concat(o).concat(e,"-leave").concat(e,"-leave-active")]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},nt=new tG.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),nn=new tG.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),nr=new tG.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),ni=new tG.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),no=new tG.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),na=new tG.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),ns=new tG.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),nc=new tG.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),nl=new tG.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),nu={zoom:{inKeyframes:nt,outKeyframes:nn},"zoom-big":{inKeyframes:nr,outKeyframes:ni},"zoom-big-fast":{inKeyframes:nr,outKeyframes:ni},"zoom-left":{inKeyframes:ns,outKeyframes:nc},"zoom-right":{inKeyframes:nl,outKeyframes:new tG.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:no,outKeyframes:na},"zoom-down":{inKeyframes:new tG.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new tG.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},nf=(e,t)=>{let{antCls:n}=e,r="".concat(n,"-").concat(t),{inKeyframes:i,outKeyframes:o}=nu[t];return[ne(r,i,o,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{["\n ".concat(r,"-enter,\n ").concat(r,"-appear\n ")]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},["".concat(r,"-leave")]:{animationTimingFunction:e.motionEaseInOutCirc}}]},nd=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];var nh=n(5302),np=n(14734);let nv=e=>{var t;let{componentCls:n,tooltipMaxWidth:r,tooltipColor:i,tooltipBg:o,tooltipBorderRadius:a,zIndexPopup:s,controlHeight:c,boxShadowSecondary:l,paddingSM:u,paddingXS:f}=e;return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,t6.Wf)(e)),{position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:r,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,["".concat(n,"-inner")]:{minWidth:"1em",minHeight:c,padding:"".concat((0,tG.bf)(e.calc(u).div(2).equal())," ").concat((0,tG.bf)(f)),color:i,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:a,boxShadow:l,boxSizing:"border-box"},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{["".concat(n,"-inner")]:{borderRadius:e.min(a,8)}},["".concat(n,"-content")]:{position:"relative"}}),(t=(e,t)=>{let{darkColor:r}=t;return{["&".concat(n,"-").concat(e)]:{["".concat(n,"-inner")]:{backgroundColor:r},["".concat(n,"-arrow")]:{"--antd-arrow-background-color":r}}}},nd.reduce((n,r)=>{let i=e["".concat(r,"1")],o=e["".concat(r,"3")],a=e["".concat(r,"6")],s=e["".concat(r,"7")];return Object.assign(Object.assign({},n),t(r,{lightColor:i,lightBorderColor:o,darkColor:a,textColor:s}))},{}))),{"&-rtl":{direction:"rtl"}})},function(e,t,n){var r,i,o,a,s,c,l,u;let{componentCls:f,boxShadowPopoverArrow:d,arrowOffsetVertical:h,arrowOffsetHorizontal:p}=e,{arrowDistance:v=0,arrowPlacement:m={left:!0,right:!0,top:!0,bottom:!0}}={};return{[f]:Object.assign(Object.assign(Object.assign(Object.assign({["".concat(f,"-arrow")]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},tJ(e,t,d)),{"&:before":{background:t}})]},(r=!!m.top,i={[["&-placement-top > ".concat(f,"-arrow"),"&-placement-topLeft > ".concat(f,"-arrow"),"&-placement-topRight > ".concat(f,"-arrow")].join(",")]:{bottom:v,transform:"translateY(100%) rotate(180deg)"},["&-placement-top > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},["&-placement-topLeft > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:p}},["&-placement-topRight > ".concat(f,"-arrow")]:{right:{_skip_check_:!0,value:p}}},r?i:{})),(o=!!m.bottom,a={[["&-placement-bottom > ".concat(f,"-arrow"),"&-placement-bottomLeft > ".concat(f,"-arrow"),"&-placement-bottomRight > ".concat(f,"-arrow")].join(",")]:{top:v,transform:"translateY(-100%)"},["&-placement-bottom > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},["&-placement-bottomLeft > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:p}},["&-placement-bottomRight > ".concat(f,"-arrow")]:{right:{_skip_check_:!0,value:p}}},o?a:{})),(s=!!m.left,c={[["&-placement-left > ".concat(f,"-arrow"),"&-placement-leftTop > ".concat(f,"-arrow"),"&-placement-leftBottom > ".concat(f,"-arrow")].join(",")]:{right:{_skip_check_:!0,value:v},transform:"translateX(100%) rotate(90deg)"},["&-placement-left > ".concat(f,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},["&-placement-leftTop > ".concat(f,"-arrow")]:{top:h},["&-placement-leftBottom > ".concat(f,"-arrow")]:{bottom:h}},s?c:{})),(l=!!m.right,u={[["&-placement-right > ".concat(f,"-arrow"),"&-placement-rightTop > ".concat(f,"-arrow"),"&-placement-rightBottom > ".concat(f,"-arrow")].join(",")]:{left:{_skip_check_:!0,value:v},transform:"translateX(-100%) rotate(-90deg)"},["&-placement-right > ".concat(f,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},["&-placement-rightTop > ".concat(f,"-arrow")]:{top:h},["&-placement-rightBottom > ".concat(f,"-arrow")]:{bottom:h}},l?u:{}))}}(e,"var(--antd-arrow-background-color)"),{["".concat(n,"-pure")]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},nm=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},tQ({contentRadius:e.borderRadius,limitVerticalRadius:!0})),function(e){let{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,i=t/2,o=1*r/Math.sqrt(2),a=i-r*(1-1/Math.sqrt(2)),s=i-1/Math.sqrt(2)*n,c=r*(Math.sqrt(2)-1)+1/Math.sqrt(2)*n,l=2*i-s,u=2*i-o,f=2*i-0,d=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),h=r*(Math.sqrt(2)-1),p="polygon(".concat(h,"px 100%, 50% ").concat(h,"px, ").concat(2*i-h,"px 100%, ").concat(h,"px 100%)");return{arrowShadowWidth:d,arrowPath:"path('M ".concat(0," ").concat(i," A ").concat(r," ").concat(r," 0 0 0 ").concat(o," ").concat(a," L ").concat(s," ").concat(c," A ").concat(n," ").concat(n," 0 0 1 ").concat(l," ").concat(c," L ").concat(u," ").concat(a," A ").concat(r," ").concat(r," 0 0 0 ").concat(f," ").concat(i," Z')"),arrowPolygon:p}}((0,nh.TS)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)})));function ng(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,np.I$)("Tooltip",e=>{let{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:r}=e;return[nv((0,nh.TS)(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:r})),nf(e,"zoom-big-fast")]},nm,{resetStyle:!1,injectStyle:t})(e)}let ny=nd.map(e=>"".concat(e,"-inverse"));function nb(e,t){let n=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t?[].concat((0,y.Z)(ny),(0,y.Z)(nd)).includes(e):nd.includes(e)}(t),r=s()({["".concat(e,"-").concat(t)]:t&&n}),i={},o={};return t&&!n&&(i.background=t,o["--antd-arrow-background-color"]=t),{className:r,overlayStyle:i,arrowStyle:o}}var nw=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let nZ=i.forwardRef((e,t)=>{var n,r;let{prefixCls:o,openClassName:a,getTooltipContainer:c,overlayClassName:l,color:u,overlayInnerStyle:f,children:d,afterOpenChange:h,afterVisibleChange:p,destroyTooltipOnHide:v,arrow:m=!0,title:g,overlay:y,builtinPlacements:b,arrowPointAtCenter:w=!1,autoAdjustOverflow:Z=!0}=e,F=!!m,[,E]=(0,t$.ZP)(),{getPopupContainer:x,getPrefixCls:k,direction:P}=i.useContext(t5.E_),O=t3("Tooltip"),C=i.useRef(null),_=()=>{var e;null===(e=C.current)||void 0===e||e.forceAlign()};i.useImperativeHandle(t,()=>{var e;return{forceAlign:_,forcePopupAlign:()=>{O.deprecated(!1,"forcePopupAlign","forceAlign"),_()},nativeElement:null===(e=C.current)||void 0===e?void 0:e.nativeElement}});let[M,V]=(0,eI.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),R=!g&&!y&&0!==g,A=i.useMemo(()=>{var e,t;let n=w;return"object"==typeof m&&(n=null!==(t=null!==(e=m.pointAtCenter)&&void 0!==e?e:m.arrowPointAtCenter)&&void 0!==t?t:w),b||function(e){let{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:i,borderRadius:o,visibleFirst:a}=e,s=t/2,c={};return Object.keys(t0).forEach(e=>{let l=Object.assign(Object.assign({},r&&t1[e]||t0[e]),{offset:[0,0],dynamicInset:!0});switch(c[e]=l,t2.has(e)&&(l.autoArrow=!1),e){case"top":case"topLeft":case"topRight":l.offset[1]=-s-i;break;case"bottom":case"bottomLeft":case"bottomRight":l.offset[1]=s+i;break;case"left":case"leftTop":case"leftBottom":l.offset[0]=-s-i;break;case"right":case"rightTop":case"rightBottom":l.offset[0]=s+i}let u=tQ({contentRadius:o,limitVerticalRadius:!0});if(r)switch(e){case"topLeft":case"bottomLeft":l.offset[0]=-u.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":l.offset[0]=u.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":l.offset[1]=-u.arrowOffsetHorizontal-s;break;case"leftBottom":case"rightBottom":l.offset[1]=u.arrowOffsetHorizontal+s}l.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};let i={};switch(e){case"top":case"bottom":i.shiftX=2*t.arrowOffsetHorizontal+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=2*t.arrowOffsetVertical+n,i.shiftX=!0,i.adjustX=!0}let o=Object.assign(Object.assign({},i),r&&"object"==typeof r?r:{});return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}(e,u,t,n),a&&(l.htmlRegion="visibleFirst")}),c}({arrowPointAtCenter:n,autoAdjustOverflow:Z,arrowWidth:F?E.sizePopupArrow:0,borderRadius:E.borderRadius,offset:E.marginXXS,visibleFirst:!0})},[w,m,b,E]),N=i.useMemo(()=>0===g?g:y||g||"",[y,g]),S=i.createElement(tB,{space:!0},"function"==typeof N?N():N),{getPopupContainer:j,placement:T="top",mouseEnterDelay:L=.1,mouseLeaveDelay:q=.1,overlayStyle:I,rootClassName:z}=e,D=nw(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),H=k("tooltip",o),W=k(),B=e["data-popover-inject"],$=M;"open"in e||"visible"in e||!R||($=!1);let U=i.isValidElement(d)&&!(0,t4.M2)(d)?d:i.createElement("span",null,d),Y=U.props,X=Y.className&&"string"!=typeof Y.className?Y.className:s()(Y.className,a||"".concat(H,"-open")),[K,G,J]=ng(H,!B),Q=nb(H,u),ee=Q.arrowStyle,et=Object.assign(Object.assign({},f),Q.overlayStyle),en=s()(l,{["".concat(H,"-rtl")]:"rtl"===P},Q.className,z,G,J),[er,ei]=function(e,t){let n;let[,r]=(0,t$.ZP)(),o=i.useContext(tU);if(void 0!==t)n=[t,t];else{let i=null!=o?o:0;e in tY?i+=(o?0:r.zIndexPopupBase)+tY[e]:i+=tX[e],n=[void 0===o?t:i,i]}return n}("Tooltip",D.zIndex),eo=i.createElement(eq,Object.assign({},D,{zIndex:er,showArrow:F,placement:T,mouseEnterDelay:L,mouseLeaveDelay:q,prefixCls:H,overlayClassName:en,overlayStyle:Object.assign(Object.assign({},ee),I),getTooltipContainer:j||c||x,ref:C,builtinPlacements:A,overlay:S,visible:$,onVisibleChange:t=>{var n,r;V(!R&&t),R||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=h?h:p,overlayInnerStyle:et,arrowContent:i.createElement("span",{className:"".concat(H,"-arrow-content")}),motion:{motionName:tK(W,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!v}),$?(0,t4.Tm)(U,{className:X}):U);return K(i.createElement(tU.Provider,{value:ei},eo))});nZ._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,className:n,placement:r="top",title:o,color:a,overlayInnerStyle:l}=e,{getPrefixCls:u}=i.useContext(t5.E_),f=u("tooltip",t),[d,h,p]=ng(f),v=nb(f,a),m=v.arrowStyle,g=Object.assign(Object.assign({},l),v.overlayStyle),y=s()(h,p,f,"".concat(f,"-pure"),"".concat(f,"-placement-").concat(r),n,v.className);return d(i.createElement("div",{className:y,style:m},i.createElement("div",{className:"".concat(f,"-arrow")}),i.createElement(c,Object.assign({},e,{className:h,prefixCls:f,overlayInnerStyle:g}),o)))};var nF=nZ}}]); \ No newline at end of file diff --git a/_next/static/chunks/614.5c86d5289be623e0.js b/_next/static/chunks/614.5c86d5289be623e0.js deleted file mode 100644 index 788a501..0000000 --- a/_next/static/chunks/614.5c86d5289be623e0.js +++ /dev/null @@ -1,109 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[614],{91584:function(e,t,r){r.d(t,{a:function(){return n}});var a=r(17521);function n(e,t){var r=e.append("foreignObject").attr("width","100000"),n=r.append("xhtml:div");n.attr("xmlns","http://www.w3.org/1999/xhtml");var l=t.label;switch(typeof l){case"function":n.insert(l);break;case"object":n.insert(function(){return l});break;default:n.html(l)}a.bg(n,t.labelStyle),n.style("display","inline-block"),n.style("white-space","nowrap");var i=n.node().getBoundingClientRect();return r.attr("width",i.width).attr("height",i.height),r}},17521:function(e,t,r){r.d(t,{$p:function(){return c},O1:function(){return i},WR:function(){return h},bF:function(){return l},bg:function(){return d}});var a=r(54098),n=r(88987);function l(e,t){return!!e.children(t).length}function i(e){return s(e.v)+":"+s(e.w)+":"+s(e.name)}var o=/:/g;function s(e){return e?String(e).replace(o,"\\:"):""}function d(e,t){t&&e.attr("style",t)}function c(e,t,r){t&&e.attr("class",t).attr("class",r+" "+e.attr("class"))}function h(e,t){var r=t.graph();if(a.Z(r)){var l=r.transition;if(n.Z(l))return l(e)}return e}},50892:function(e,t,r){r.d(t,{diagram:function(){return H}});var a=r(43410),n=r(42521),l=r(27509),i=r(71421),o=r(27431),s=r(70374),d=r(79156),c=r(87892),h=r(17521),u={normal:function(e,t,r,a){var n=e.append("marker").attr("id",t).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");h.bg(n,r[a+"Style"]),r[a+"Class"]&&n.attr("class",r[a+"Class"])},vee:function(e,t,r,a){var n=e.append("marker").attr("id",t).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");h.bg(n,r[a+"Style"]),r[a+"Class"]&&n.attr("class",r[a+"Class"])},undirected:function(e,t,r,a){var n=e.append("marker").attr("id",t).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");h.bg(n,r[a+"Style"]),r[a+"Class"]&&n.attr("class",r[a+"Class"])}},p=r(91584);function f(e,t,r){var a,n=t.label,l=e.append("g");"svg"===t.labelType?(l.node().appendChild(t.label),h.bg(l,t.labelStyle)):"string"!=typeof n||"html"===t.labelType?(0,p.a)(l,t):function(e,t){for(var r=e.append("text"),a=(function(e){for(var t,r="",a=!1,n=0;n0))&&(l=a.y-r.y,o=r.x-a.x,d=a.x*r.y-r.x*a.y,c=l*e.x+o*e.y+d,h=l*t.x+o*t.y+d,!(0!==c&&0!==h&&c*h>0)&&0!=(f=n*o-l*i)))return g=Math.abs(f/2),{x:(y=i*d-o*s)<0?(y-g)/f:(y+g)/f,y:(y=l*s-n*d)<0?(y-g)/f:(y+g)/f}}(e,r,{x:s+h.x,y:d+h.y},{x:s+u.x,y:d+u.y});p&&l.push(p)}return l.length?(l.length>1&&l.sort(function(e,t){var a=e.x-r.x,n=e.y-r.y,l=Math.sqrt(a*a+n*n),i=t.x-r.x,o=t.y-r.y,s=Math.sqrt(i*i+o*o);return lMath.abs(i)*d?(o<0&&(d=-d),r=0===o?0:d*i/o,a=d):(i<0&&(s=-s),r=s,a=0===i?0:s*o/i),{x:n+r,y:l+a}}var C={rect:function(e,t,r){var a=e.insert("rect",":first-child").attr("rx",r.rx).attr("ry",r.ry).attr("x",-t.width/2).attr("y",-t.height/2).attr("width",t.width).attr("height",t.height);return r.intersect=function(e){return L(r,e)},a},ellipse:function(e,t,r){var a=t.width/2,n=t.height/2,l=e.insert("ellipse",":first-child").attr("x",-t.width/2).attr("y",-t.height/2).attr("rx",a).attr("ry",n);return r.intersect=function(e){return _(r,a,n,e)},l},circle:function(e,t,r){var a=Math.max(t.width,t.height)/2,n=e.insert("circle",":first-child").attr("x",-t.width/2).attr("y",-t.height/2).attr("r",a);return r.intersect=function(e){return _(r,a,a,e)},n},diamond:function(e,t,r){var a=t.width*Math.SQRT2/2,n=t.height*Math.SQRT2/2,l=[{x:0,y:-n},{x:-a,y:0},{x:0,y:n},{x:a,y:0}],i=e.insert("polygon",":first-child").attr("points",l.map(function(e){return e.x+","+e.y}).join(" "));return r.intersect=function(e){return T(r,l,e)},i}};function A(){var e=function(e,t){t.nodes().forEach(function(e){var r=t.node(e);o.Z(r,"label")||t.children(e).length||(r.label=e),o.Z(r,"paddingX")&&s.Z(r,{paddingLeft:r.paddingX,paddingRight:r.paddingX}),o.Z(r,"paddingY")&&s.Z(r,{paddingTop:r.paddingY,paddingBottom:r.paddingY}),o.Z(r,"padding")&&s.Z(r,{paddingLeft:r.padding,paddingRight:r.padding,paddingTop:r.padding,paddingBottom:r.padding}),s.Z(r,E),d.Z(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(e){r[e]=Number(r[e])}),o.Z(r,"width")&&(r._prevWidth=r.width),o.Z(r,"height")&&(r._prevHeight=r.height)}),t.edges().forEach(function(e){var r=t.edge(e);o.Z(r,"label")||(r.label=""),s.Z(r,N)});var r=$(e,"output"),a=$(r,"clusters"),n=$(r,"edgePaths"),i=y($(r,"edgeLabels"),t),p=S($(r,"nodes"),t,C);(0,c.bK)(t),function(e,t){function r(e){var r=t.node(e);return"translate("+r.x+","+r.y+")"}e.filter(function(){return!l.Ys(this).classed("update")}).attr("transform",r),h.WR(e,t).style("opacity",1).attr("transform",r)}(p,t),function(e,t){function r(e){var r=t.edge(e);return o.Z(r,"x")?"translate("+r.x+","+r.y+")":""}e.filter(function(){return!l.Ys(this).classed("update")}).attr("transform",r),h.WR(e,t).style("opacity",1).attr("transform",r)}(i,t),v(n,t,u),function(e,t){var r=e.filter(function(){return!l.Ys(this).classed("update")});function a(e){var r=t.node(e);return"translate("+r.x+","+r.y+")"}r.attr("transform",a),h.WR(e,t).style("opacity",1).attr("transform",a),h.WR(r.selectAll("rect"),t).attr("width",function(e){return t.node(e).width}).attr("height",function(e){return t.node(e).height}).attr("x",function(e){return-t.node(e).width/2}).attr("y",function(e){return-t.node(e).height/2})}(g(a,t),t),d.Z(t.nodes(),function(e){var r=t.node(e);o.Z(r,"_prevWidth")?r.width=r._prevWidth:delete r.width,o.Z(r,"_prevHeight")?r.height=r._prevHeight:delete r.height,delete r._prevWidth,delete r._prevHeight})};return e.createNodes=function(t){return arguments.length?(S=t,e):S},e.createClusters=function(t){return arguments.length?(g=t,e):g},e.createEdgeLabels=function(t){return arguments.length?(y=t,e):y},e.createEdgePaths=function(t){return arguments.length?(v=t,e):v},e.shapes=function(t){return arguments.length?(C=t,e):C},e.arrows=function(t){return arguments.length?(u=t,e):u},e}var E={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},N={arrowhead:"normal",curve:l.c_6};function $(e,t){var r=e.select("g."+t);return r.empty()&&(r=e.append("g").attr("class",t)),r}var B=r(92887);function I(e,t,r){let a=(t.width+t.height)*.9,n=[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}],l=j(e,a,a,n);return r.intersect=function(e){return T(r,n,e)},l}function M(e,t,r){let a=t.height,n=a/4,l=t.width+2*n,i=[{x:n,y:0},{x:l-n,y:0},{x:l,y:-a/2},{x:l-n,y:-a},{x:n,y:-a},{x:0,y:-a/2}],o=j(e,l,a,i);return r.intersect=function(e){return T(r,i,e)},o}function R(e,t,r){let a=t.width,n=t.height,l=[{x:-n/2,y:0},{x:a,y:0},{x:a,y:-n},{x:-n/2,y:-n},{x:0,y:-n/2}],i=j(e,a,n,l);return r.intersect=function(e){return T(r,l,e)},i}function Y(e,t,r){let a=t.width,n=t.height,l=[{x:-2*n/6,y:0},{x:a-n/6,y:0},{x:a+2*n/6,y:-n},{x:n/6,y:-n}],i=j(e,a,n,l);return r.intersect=function(e){return T(r,l,e)},i}function Z(e,t,r){let a=t.width,n=t.height,l=[{x:2*n/6,y:0},{x:a+n/6,y:0},{x:a-2*n/6,y:-n},{x:-n/6,y:-n}],i=j(e,a,n,l);return r.intersect=function(e){return T(r,l,e)},i}function D(e,t,r){let a=t.width,n=t.height,l=[{x:-2*n/6,y:0},{x:a+2*n/6,y:0},{x:a-n/6,y:-n},{x:n/6,y:-n}],i=j(e,a,n,l);return r.intersect=function(e){return T(r,l,e)},i}function W(e,t,r){let a=t.width,n=t.height,l=[{x:n/6,y:0},{x:a-n/6,y:0},{x:a+2*n/6,y:-n},{x:-2*n/6,y:-n}],i=j(e,a,n,l);return r.intersect=function(e){return T(r,l,e)},i}function U(e,t,r){let a=t.width,n=t.height,l=[{x:0,y:0},{x:a+n/2,y:0},{x:a,y:-n/2},{x:a+n/2,y:-n},{x:0,y:-n}],i=j(e,a,n,l);return r.intersect=function(e){return T(r,l,e)},i}function z(e,t,r){let a=t.height,n=t.width+a/4,l=e.insert("rect",":first-child").attr("rx",a/2).attr("ry",a/2).attr("x",-n/2).attr("y",-a/2).attr("width",n).attr("height",a);return r.intersect=function(e){return L(r,e)},l}function O(e,t,r){let a=t.width,n=t.height,l=[{x:0,y:0},{x:a,y:0},{x:a,y:-n},{x:0,y:-n},{x:0,y:0},{x:-8,y:0},{x:a+8,y:0},{x:a+8,y:-n},{x:-8,y:-n},{x:-8,y:0}],i=j(e,a,n,l);return r.intersect=function(e){return T(r,l,e)},i}function P(e,t,r){let a=t.width,n=a/2,l=n/(2.5+a/50),i=t.height+l,o=e.attr("label-offset-y",l).insert("path",":first-child").attr("d","M 0,"+l+" a "+n+","+l+" 0,0,0 "+a+" 0 a "+n+","+l+" 0,0,0 "+-a+" 0 l 0,"+i+" a "+n+","+l+" 0,0,0 "+a+" 0 l 0,"+-i).attr("transform","translate("+-a/2+","+-(i/2+l)+")");return r.intersect=function(e){let t=L(r,e),a=t.x-r.x;if(0!=n&&(Math.abs(a)r.height/2-l)){let i=l*l*(1-a*a/(n*n));0!=i&&(i=Math.sqrt(i)),i=l-i,e.y-r.y>0&&(i=-i),t.y+=i}return t},o}function j(e,t,r,a){return e.insert("polygon",":first-child").attr("points",a.map(function(e){return e.x+","+e.y}).join(" ")).attr("transform","translate("+-t/2+","+r/2+")")}r(5726),r(91088),r(95591),r(39185);let q={addToRender:function(e){e.shapes().question=I,e.shapes().hexagon=M,e.shapes().stadium=z,e.shapes().subroutine=O,e.shapes().cylinder=P,e.shapes().rect_left_inv_arrow=R,e.shapes().lean_right=Y,e.shapes().lean_left=Z,e.shapes().trapezoid=D,e.shapes().inv_trapezoid=W,e.shapes().rect_right_inv_arrow=U},addToRenderV2:function(e){e({question:I}),e({hexagon:M}),e({stadium:z}),e({subroutine:O}),e({cylinder:P}),e({rect_left_inv_arrow:R}),e({lean_right:Y}),e({lean_left:Z}),e({trapezoid:D}),e({inv_trapezoid:W}),e({rect_right_inv_arrow:U})}},V={},X=function(e,t,r,a,n,o){let s=a?a.select(`[id="${r}"]`):(0,l.Ys)(`[id="${r}"]`),d=n||document;Object.keys(e).forEach(function(r){let a;let n=e[r],l="default";n.classes.length>0&&(l=n.classes.join(" "));let c=(0,i.k)(n.styles),h=void 0!==n.text?n.text:n.id;if((0,i.m)((0,i.c)().flowchart.htmlLabels)){let e={label:h.replace(/fa[blrs]?:fa-[\w-]+/g,e=>``)};(a=(0,p.a)(s,e).node()).parentNode.removeChild(a)}else{let e=d.createElementNS("http://www.w3.org/2000/svg","text");for(let t of(e.setAttribute("style",c.labelStyle.replace("color:","fill:")),h.split(i.e.lineBreakRegex))){let r=d.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","1"),r.textContent=t,e.appendChild(r)}a=e}let u=0,f="";switch(n.type){case"round":u=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder"}i.l.warn("Adding node",n.id,n.domId),t.setNode(o.db.lookUpDomId(n.id),{labelType:"svg",labelStyle:c.labelStyle,shape:f,label:a,rx:u,ry:u,class:l,style:c.style,id:o.db.lookUpDomId(n.id)})})},F=function(e,t,r){let a,n,o=0;if(void 0!==e.defaultStyle){let t=(0,i.k)(e.defaultStyle);a=t.style,n=t.labelStyle}e.forEach(function(s){o++;let d="L-"+s.start+"-"+s.end,c="LS-"+s.start,h="LE-"+s.end,u={};"arrow_open"===s.type?u.arrowhead="none":u.arrowhead="normal";let p="",f="";if(void 0!==s.style){let e=(0,i.k)(s.style);p=e.style,f=e.labelStyle}else switch(s.stroke){case"normal":p="fill:none",void 0!==a&&(p=a),void 0!==n&&(f=n);break;case"dotted":p="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":p=" stroke-width: 3.5px;fill:none"}u.style=p,u.labelStyle=f,void 0!==s.interpolate?u.curve=(0,i.n)(s.interpolate,l.c_6):void 0!==e.defaultInterpolate?u.curve=(0,i.n)(e.defaultInterpolate,l.c_6):u.curve=(0,i.n)(V.curve,l.c_6),void 0===s.text?void 0!==s.style&&(u.arrowheadStyle="fill: #333"):(u.arrowheadStyle="fill: #333",u.labelpos="c",(0,i.m)((0,i.c)().flowchart.htmlLabels)?(u.labelType="html",u.label=`${s.text.replace(/fa[blrs]?:fa-[\w-]+/g,e=>``)}`):(u.labelType="text",u.label=s.text.replace(i.e.lineBreakRegex,"\n"),void 0===s.style&&(u.style=u.style||"stroke: #333; stroke-width: 1.5px;fill:none"),u.labelStyle=u.labelStyle.replace("color:","fill:"))),u.id=d,u.class=c+" "+h,u.minlen=s.length||1,t.setEdge(r.db.lookUpDomId(s.start),r.db.lookUpDomId(s.end),u,o)})},G={setConf:function(e){for(let t of Object.keys(e))V[t]=e[t]},addVertices:X,addEdges:F,getClasses:function(e,t){return i.l.info("Extracting classes"),t.db.getClasses()},draw:function(e,t,r,a){let o,s;i.l.info("Drawing flowchart");let{securityLevel:d,flowchart:c}=(0,i.c)();"sandbox"===d&&(o=(0,l.Ys)("#i"+t));let u="sandbox"===d?(0,l.Ys)(o.nodes()[0].contentDocument.body):(0,l.Ys)("body"),p="sandbox"===d?o.nodes()[0].contentDocument:document,f=a.db.getDirection();void 0===f&&(f="TD");let g=c.nodeSpacing||50,y=c.rankSpacing||50,b=new n.k({multigraph:!0,compound:!0}).setGraph({rankdir:f,nodesep:g,ranksep:y,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),w=a.db.getSubGraphs();for(let e=w.length-1;e>=0;e--)s=w[e],a.db.addVertex(s.id,s.title,"group",void 0,s.classes);let x=a.db.getVertices();i.l.warn("Get vertices",x);let v=a.db.getEdges(),k=0;for(k=w.length-1;k>=0;k--){s=w[k],(0,l.td_)("cluster").append("text");for(let e=0;e{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,G.setConf(e.flowchart),a.f.clear(),a.f.setGen("gen-1")}}},92887:function(e,t,r){r.d(t,{a:function(){return w},f:function(){return y}});var a=r(42521),n=r(27509),l=r(71421),i=r(83880),o=r(91584),s=r(19324),d=r(73660),c=(e,t)=>s.Z.lang.round(d.Z.parse(e)[t]),h=r(78139);let u={},p=function(e,t,r,a,n,i){let s=a.select(`[id="${r}"]`);Object.keys(e).forEach(function(r){let a;let d=e[r],c="default";d.classes.length>0&&(c=d.classes.join(" ")),c+=" flowchart-label";let h=(0,l.k)(d.styles),u=void 0!==d.text?d.text:d.id;if(l.l.info("vertex",d,d.labelType),"markdown"===d.labelType)l.l.info("vertex",d,d.labelType);else if((0,l.m)((0,l.c)().flowchart.htmlLabels)){let e={label:u.replace(/fa[blrs]?:fa-[\w-]+/g,e=>``)};(a=(0,o.a)(s,e).node()).parentNode.removeChild(a)}else{let e=n.createElementNS("http://www.w3.org/2000/svg","text");for(let t of(e.setAttribute("style",h.labelStyle.replace("color:","fill:")),u.split(l.e.lineBreakRegex))){let r=n.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","1"),r.textContent=t,e.appendChild(r)}a=e}let p=0,f="";switch(d.type){case"round":p=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}t.setNode(d.id,{labelStyle:h.labelStyle,shape:f,labelText:u,labelType:d.labelType,rx:p,ry:p,class:c,style:h.style,id:d.id,link:d.link,linkTarget:d.linkTarget,tooltip:i.db.getTooltip(d.id)||"",domId:i.db.lookUpDomId(d.id),haveCallback:d.haveCallback,width:"group"===d.type?500:void 0,dir:d.dir,type:d.type,props:d.props,padding:(0,l.c)().flowchart.padding}),l.l.info("setNode",{labelStyle:h.labelStyle,labelType:d.labelType,shape:f,labelText:u,rx:p,ry:p,class:c,style:h.style,id:d.id,domId:i.db.lookUpDomId(d.id),width:"group"===d.type?500:void 0,type:d.type,dir:d.dir,props:d.props,padding:(0,l.c)().flowchart.padding})})},f=function(e,t,r){let a,i;l.l.info("abc78 edges = ",e);let o=0,s={};if(void 0!==e.defaultStyle){let t=(0,l.k)(e.defaultStyle);a=t.style,i=t.labelStyle}e.forEach(function(r){o++;let d="L-"+r.start+"-"+r.end;void 0===s[d]?s[d]=0:s[d]++,l.l.info("abc78 new entry",d,s[d]);let c=d+"-"+s[d];l.l.info("abc78 new link id to be used is",d,c,s[d]);let h="LS-"+r.start,p="LE-"+r.end,f={style:"",labelStyle:""};switch(f.minlen=r.length||1,"arrow_open"===r.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",r.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let g="",y="";switch(r.stroke){case"normal":g="fill:none;",void 0!==a&&(g=a),void 0!==i&&(y=i),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==r.style){let e=(0,l.k)(r.style);g=e.style,y=e.labelStyle}f.style=f.style+=g,f.labelStyle=f.labelStyle+=y,void 0!==r.interpolate?f.curve=(0,l.n)(r.interpolate,n.c_6):void 0!==e.defaultInterpolate?f.curve=(0,l.n)(e.defaultInterpolate,n.c_6):f.curve=(0,l.n)(u.curve,n.c_6),void 0===r.text?void 0!==r.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=r.labelType,f.label=r.text.replace(l.e.lineBreakRegex,"\n"),void 0===r.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=c,f.classes="flowchart-link "+h+" "+p,t.setEdge(r.start,r.end,f,o)})},g=async function(e,t,r,o){let s,d;l.l.info("Drawing flowchart");let c=o.db.getDirection();void 0===c&&(c="TD");let{securityLevel:h,flowchart:u}=(0,l.c)(),g=u.nodeSpacing||50,y=u.rankSpacing||50;"sandbox"===h&&(s=(0,n.Ys)("#i"+t));let b="sandbox"===h?(0,n.Ys)(s.nodes()[0].contentDocument.body):(0,n.Ys)("body"),w="sandbox"===h?s.nodes()[0].contentDocument:document,x=new a.k({multigraph:!0,compound:!0}).setGraph({rankdir:c,nodesep:g,ranksep:y,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}}),v=o.db.getSubGraphs();l.l.info("Subgraphs - ",v);for(let e=v.length-1;e>=0;e--)d=v[e],l.l.info("Subgraph - ",d),o.db.addVertex(d.id,{text:d.title,type:d.labelType},"group",void 0,d.classes,d.dir);let k=o.db.getVertices(),m=o.db.getEdges();l.l.info("Edges",m);let S=0;for(S=v.length-1;S>=0;S--){d=v[S],(0,n.td_)("cluster").append("text");for(let e=0;e{let r=c(e,"r"),a=c(e,"g"),n=c(e,"b");return h.Z(r,a,n,t)},w=e=>`.label { - font-family: ${e.fontFamily}; - color: ${e.nodeTextColor||e.textColor}; - } - .cluster-label text { - fill: ${e.titleColor}; - } - .cluster-label span,p { - color: ${e.titleColor}; - } - - .label text,span,p { - fill: ${e.nodeTextColor||e.textColor}; - color: ${e.nodeTextColor||e.textColor}; - } - - .node rect, - .node circle, - .node ellipse, - .node polygon, - .node path { - fill: ${e.mainBkg}; - stroke: ${e.nodeBorder}; - stroke-width: 1px; - } - .flowchart-label text { - text-anchor: middle; - } - // .flowchart-label .text-outer-tspan { - // text-anchor: middle; - // } - // .flowchart-label .text-inner-tspan { - // text-anchor: start; - // } - - .node .label { - text-align: center; - } - .node.clickable { - cursor: pointer; - } - - .arrowheadPath { - fill: ${e.arrowheadColor}; - } - - .edgePath .path { - stroke: ${e.lineColor}; - stroke-width: 2.0px; - } - - .flowchart-link { - stroke: ${e.lineColor}; - fill: none; - } - - .edgeLabel { - background-color: ${e.edgeLabelBackground}; - rect { - opacity: 0.5; - background-color: ${e.edgeLabelBackground}; - fill: ${e.edgeLabelBackground}; - } - text-align: center; - } - - /* For html labels only */ - .labelBkg { - background-color: ${b(e.edgeLabelBackground,.5)}; - // background-color: - } - - .cluster rect { - fill: ${e.clusterBkg}; - stroke: ${e.clusterBorder}; - stroke-width: 1px; - } - - .cluster text { - fill: ${e.titleColor}; - } - - .cluster span,p { - color: ${e.titleColor}; - } - /* .cluster div { - color: ${e.titleColor}; - } */ - - div.mermaidTooltip { - position: absolute; - text-align: center; - max-width: 200px; - padding: 2px; - font-family: ${e.fontFamily}; - font-size: 12px; - background: ${e.tertiaryColor}; - border: 1px solid ${e.border2}; - border-radius: 2px; - pointer-events: none; - z-index: 100; - } - - .flowchartTitleText { - text-anchor: middle; - font-size: 18px; - fill: ${e.textColor}; - } -`}}]); \ No newline at end of file diff --git a/_next/static/chunks/636-7799e2ac6281b3b8.js b/_next/static/chunks/636-7799e2ac6281b3b8.js deleted file mode 100644 index 90eee37..0000000 --- a/_next/static/chunks/636-7799e2ac6281b3b8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{83996:function(t,e,n){n.d(e,{Z:function(){return c}});var o=n(97605),r=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M380 704h264c4.4 0 8-3.6 8-8v-84c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v36H428v-36c0-4.4-3.6-8-8-8h-40c-4.4 0-8 3.6-8 8v84c0 4.4 3.6 8 8 8zm340-123a40 40 0 1080 0 40 40 0 10-80 0zm239-167.6L935.3 372a8 8 0 00-10.9-2.9l-50.7 29.6-78.3-216.2a63.9 63.9 0 00-60.9-44.4H301.2c-34.7 0-65.5 22.4-76.2 55.5l-74.6 205.2-50.8-29.6a8 8 0 00-10.9 2.9L65 413.4c-2.2 3.8-.9 8.6 2.9 10.8l60.4 35.2-14.5 40c-1.2 3.2-1.8 6.6-1.8 10v348.2c0 15.7 11.8 28.4 26.3 28.4h67.6c12.3 0 23-9.3 25.6-22.3l7.7-37.7h545.6l7.7 37.7c2.7 13 13.3 22.3 25.6 22.3h67.6c14.5 0 26.3-12.7 26.3-28.4V509.4c0-3.4-.6-6.8-1.8-10l-14.5-40 60.3-35.2a8 8 0 003-10.8zM840 517v237H184V517l15.6-43h624.8l15.6 43zM292.7 218.1l.5-1.3.4-1.3c1.1-3.3 4.1-5.5 7.6-5.5h427.6l75.4 208H220l72.7-199.9zM224 581a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"car",theme:"outlined"},a=n(10362),c=r.forwardRef(function(t,e){return r.createElement(a.Z,(0,o.Z)({},t,{ref:e,icon:i}))})},2748:function(t,e,n){n.d(e,{Z:function(){return c}});var o=n(97605),r=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 736c0-111.6-65.4-208-160-252.9V317.3c0-15.1-5.3-29.7-15.1-41.2L536.5 95.4C530.1 87.8 521 84 512 84s-18.1 3.8-24.5 11.4L335.1 276.1a63.97 63.97 0 00-15.1 41.2v165.8C225.4 528 160 624.4 160 736h156.5c-2.3 7.2-3.5 15-3.5 23.8 0 22.1 7.6 43.7 21.4 60.8a97.2 97.2 0 0043.1 30.6c23.1 54 75.6 88.8 134.5 88.8 29.1 0 57.3-8.6 81.4-24.8 23.6-15.8 41.9-37.9 53-64a97 97 0 0043.1-30.5 97.52 97.52 0 0021.4-60.8c0-8.4-1.1-16.4-3.1-23.8H864zM762.3 621.4c9.4 14.6 17 30.3 22.5 46.6H700V558.7a211.6 211.6 0 0162.3 62.7zM388 483.1V318.8l124-147 124 147V668H388V483.1zM239.2 668c5.5-16.3 13.1-32 22.5-46.6 16.3-25.2 37.5-46.5 62.3-62.7V668h-84.8zm388.9 116.2c-5.2 3-11.2 4.2-17.1 3.4l-19.5-2.4-2.8 19.4c-5.4 37.9-38.4 66.5-76.7 66.5-38.3 0-71.3-28.6-76.7-66.5l-2.8-19.5-19.5 2.5a27.7 27.7 0 01-17.1-3.5c-8.7-5-14.1-14.3-14.1-24.4 0-10.6 5.9-19.4 14.6-23.8h231.3c8.8 4.5 14.6 13.3 14.6 23.8-.1 10.2-5.5 19.6-14.2 24.5zM464 400a48 48 0 1096 0 48 48 0 10-96 0z"}}]},name:"rocket",theme:"outlined"},a=n(10362),c=r.forwardRef(function(t,e){return r.createElement(a.Z,(0,o.Z)({},t,{ref:e,icon:i}))})},51050:function(t,e,n){n.d(e,{Z:function(){return c}});var o=n(97605),r=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},a=n(10362),c=r.forwardRef(function(t,e){return r.createElement(a.Z,(0,o.Z)({},t,{ref:e,icon:i}))})},58209:function(t,e,n){n.d(e,{Z:function(){return c}});var o=n(97605),r=n(50959),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},a=n(10362),c=r.forwardRef(function(t,e){return r.createElement(a.Z,(0,o.Z)({},t,{ref:e,icon:i}))})},812:function(t,e,n){n.d(e,{Z:function(){return ew}});var o,r=n(50959),i=n.t(r,2),a=n(82187),c=n.n(a);function s(t){var e=t.children,n=t.prefixCls,o=t.id,i=t.overlayInnerStyle,a=t.className,s=t.style;return r.createElement("div",{className:c()("".concat(n,"-content"),a),style:s},r.createElement("div",{className:"".concat(n,"-inner"),id:o,role:"tooltip",style:i},"function"==typeof e?e():e))}var l=n(97605),u=n(12309),f=n(10582),p=n(76729),d=n(10422),h=n(18021);n(77151);var m=n(57539),v=r.createContext(null),g=n(1874),b=n(5074),y=[],w=n(89130);function E(t){var e=t.match(/^(.*)px$/),n=Number(null==e?void 0:e[1]);return Number.isNaN(n)?function(t){if("undefined"==typeof document)return 0;if(void 0===o){var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(e),document.body.appendChild(n);var i=e.offsetWidth;n.style.overflow="scroll";var a=e.offsetWidth;i===a&&(a=n.clientWidth),document.body.removeChild(n),o=i-a}return o}():n}var x="rc-util-locker-".concat(Date.now()),_=0,O=!1,k=function(t){return!1!==t&&((0,h.Z)()&&t?"string"==typeof t?document.querySelector(t):"function"==typeof t?t():t:null)},C=r.forwardRef(function(t,e){var n,o,i,a,c=t.open,s=t.autoLock,l=t.getContainer,u=(t.debug,t.autoDestroy),f=void 0===u||u,C=t.children,Z=r.useState(c),M=(0,p.Z)(Z,2),R=M[0],P=M[1],z=R||c;r.useEffect(function(){(f||c)&&P(c)},[c,f]);var S=r.useState(function(){return k(l)}),L=(0,p.Z)(S,2),A=L[0],j=L[1];r.useEffect(function(){var t=k(l);j(null!=t?t:null)});var N=function(t,e){var n=r.useState(function(){return(0,h.Z)()?document.createElement("div"):null}),o=(0,p.Z)(n,1)[0],i=r.useRef(!1),a=r.useContext(v),c=r.useState(y),s=(0,p.Z)(c,2),l=s[0],u=s[1],f=a||(i.current?void 0:function(t){u(function(e){return[t].concat((0,g.Z)(e))})});function d(){o.parentElement||document.body.appendChild(o),i.current=!0}function m(){var t;null===(t=o.parentElement)||void 0===t||t.removeChild(o),i.current=!1}return(0,b.Z)(function(){return t?a?a(d):d():m(),m},[t]),(0,b.Z)(function(){l.length&&(l.forEach(function(t){return t()}),u(y))},[l]),[o,f]}(z&&!A,0),T=(0,p.Z)(N,2),D=T[0],B=T[1],H=null!=A?A:D;n=!!(s&&c&&(0,h.Z)()&&(H===D||H===document.body)),o=r.useState(function(){return _+=1,"".concat(x,"_").concat(_)}),i=(0,p.Z)(o,1)[0],(0,b.Z)(function(){if(n){var t=function(t){if("undefined"==typeof document||!t||!(t instanceof Element))return{width:0,height:0};var e=getComputedStyle(t,"::-webkit-scrollbar"),n=e.width,o=e.height;return{width:E(n),height:E(o)}}(document.body).width,e=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,w.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(e?"width: calc(100% - ".concat(t,"px);"):"","\n}"),i)}else(0,w.jL)(i);return function(){(0,w.jL)(i)}},[n,i]);var I=null;C&&(0,m.Yr)(C)&&e&&(I=C.ref);var V=(0,m.x1)(I,e);if(!z||!(0,h.Z)()||void 0===A)return null;var W=!1===H||("boolean"==typeof a&&(O=a),O),Y=C;return e&&(Y=r.cloneElement(C,{ref:V})),r.createElement(v.Provider,{value:B},W?Y:(0,d.createPortal)(Y,H))}),Z=n(44112),M=n(26407),R=n(61026),P=r.createContext(null),z=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,o){return t[0]===e&&(n=o,!0)}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),o=this.__entries__[n];return o&&o[1]},e.prototype.set=function(e,n){var o=t(this.__entries__,e);~o?this.__entries__[o][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,o=t(n,e);~o&&n.splice(o,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,o=this.__entries__;n0},t.prototype.connect_=function(){S&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),N?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){S&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;j.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),D=function(t,e){for(var n=0,o=Object.keys(e);n0},t}(),K="undefined"!=typeof WeakMap?new WeakMap:new z,G=function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new F(e,T.getInstance(),this);K.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){G.prototype[t]=function(){var e;return(e=K.get(this))[t].apply(e,arguments)}});var $=void 0!==L.ResizeObserver?L.ResizeObserver:G,U=new Map,J=new $(function(t){t.forEach(function(t){var e,n=t.target;null===(e=U.get(n))||void 0===e||e.forEach(function(t){return t(n)})})}),Q=n(9130),tt=n(82349),te=n(53264),tn=n(18295),to=function(t){(0,te.Z)(n,t);var e=(0,tn.Z)(n);function n(){return(0,Q.Z)(this,n),e.apply(this,arguments)}return(0,tt.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(r.Component),tr=r.forwardRef(function(t,e){var n=t.children,o=t.disabled,i=r.useRef(null),a=r.useRef(null),c=r.useContext(P),s="function"==typeof n,l=s?n(i):n,f=r.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),p=!s&&r.isValidElement(l)&&(0,m.Yr)(l),d=p?l.ref:null,h=(0,m.x1)(d,i),v=function(){var t;return(0,R.Z)(i.current)||(i.current&&"object"===(0,M.Z)(i.current)?(0,R.Z)(null===(t=i.current)||void 0===t?void 0:t.nativeElement):null)||(0,R.Z)(a.current)};r.useImperativeHandle(e,function(){return v()});var g=r.useRef(t);g.current=t;var b=r.useCallback(function(t){var e=g.current,n=e.onResize,o=e.data,r=t.getBoundingClientRect(),i=r.width,a=r.height,s=t.offsetWidth,l=t.offsetHeight,p=Math.floor(i),d=Math.floor(a);if(f.current.width!==p||f.current.height!==d||f.current.offsetWidth!==s||f.current.offsetHeight!==l){var h={width:p,height:d,offsetWidth:s,offsetHeight:l};f.current=h;var m=(0,u.Z)((0,u.Z)({},h),{},{offsetWidth:s===Math.round(i)?i:s,offsetHeight:l===Math.round(a)?a:l});null==c||c(m,t,o),n&&Promise.resolve().then(function(){n(m,t)})}},[]);return r.useEffect(function(){var t=v();return t&&!o&&(U.has(t)||(U.set(t,new Set),J.observe(t)),U.get(t).add(b)),function(){U.has(t)&&(U.get(t).delete(b),U.get(t).size||(J.unobserve(t),U.delete(t)))}},[i.current,o]),r.createElement(to,{ref:a},p?r.cloneElement(l,{ref:h}):l)}),ti=r.forwardRef(function(t,e){var n=t.children;return("function"==typeof n?[n]:(0,Z.Z)(n)).map(function(n,o){var i=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(o);return r.createElement(tr,(0,l.Z)({},t,{key:i,ref:0===o?e:void 0}),n)})});function ta(t){var e;return null==t||null===(e=t.getRootNode)||void 0===e?void 0:e.call(t)}function tc(t){return ta(t) instanceof ShadowRoot?ta(t):null}ti.Collection=function(t){var e=t.children,n=t.onBatchResize,o=r.useRef(0),i=r.useRef([]),a=r.useContext(P),c=r.useCallback(function(t,e,r){o.current+=1;var c=o.current;i.current.push({size:t,element:e,data:r}),Promise.resolve().then(function(){c===o.current&&(null==n||n(i.current),i.current=[])}),null==a||a(t,e,r)},[n,a]);return r.createElement(P.Provider,{value:c},e)};var ts=n(86066),tl=0,tu=(0,u.Z)({},i).useId,tf=tu?function(t){var e=tu();return t||e}:function(t){var e=r.useState("ssr-id"),n=(0,p.Z)(e,2),o=n[0],i=n[1];return(r.useEffect(function(){var t=tl;tl+=1,i("rc_unique_".concat(t))},[]),t)?t:o},tp=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==t?void 0:t.substr(0,4))},td=n(10091);function th(t){var e=t.prefixCls,n=t.align,o=t.arrow,i=t.arrowPos,a=o||{},s=a.className,l=a.content,u=i.x,f=i.y,p=r.useRef();if(!n||!n.points)return null;var d={position:"absolute"};if(!1!==n.autoArrow){var h=n.points[0],m=n.points[1],v=h[0],g=h[1],b=m[0],y=m[1];v!==b&&["t","b"].includes(v)?"t"===v?d.top=0:d.bottom=0:d.top=void 0===f?0:f,g!==y&&["l","r"].includes(g)?"l"===g?d.left=0:d.right=0:d.left=void 0===u?0:u}return r.createElement("div",{ref:p,className:c()("".concat(e,"-arrow"),s),style:d},l)}function tm(t){var e=t.prefixCls,n=t.open,o=t.zIndex,i=t.mask,a=t.motion;return i?r.createElement(td.ZP,(0,l.Z)({},a,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(t){var n=t.className;return r.createElement("div",{style:{zIndex:o},className:c()("".concat(e,"-mask"),n)})}):null}var tv=r.memo(function(t){return t.children},function(t,e){return e.cache}),tg=r.forwardRef(function(t,e){var n=t.popup,o=t.className,i=t.prefixCls,a=t.style,s=t.target,f=t.onVisibleChanged,d=t.open,h=t.keepDom,v=t.fresh,g=t.onClick,y=t.mask,w=t.arrow,E=t.arrowPos,x=t.align,_=t.motion,O=t.maskMotion,k=t.forceRender,C=t.getPopupContainer,Z=t.autoDestroy,M=t.portal,R=t.zIndex,P=t.onMouseEnter,z=t.onMouseLeave,S=t.onPointerEnter,L=t.ready,A=t.offsetX,j=t.offsetY,N=t.offsetR,T=t.offsetB,D=t.onAlign,B=t.onPrepare,H=t.stretch,I=t.targetWidth,V=t.targetHeight,W="function"==typeof n?n():n,Y=d||h,X=(null==C?void 0:C.length)>0,q=r.useState(!C||!X),F=(0,p.Z)(q,2),K=F[0],G=F[1];if((0,b.Z)(function(){!K&&X&&s&&G(!0)},[K,X,s]),!K)return null;var $="auto",U={left:"-1000vw",top:"-1000vh",right:$,bottom:$};if(L||!d){var J,Q=x.points,tt=x.dynamicInset||(null===(J=x._experimental)||void 0===J?void 0:J.dynamicInset),te=tt&&"r"===Q[0][1],tn=tt&&"b"===Q[0][0];te?(U.right=N,U.left=$):(U.left=A,U.right=$),tn?(U.bottom=T,U.top=$):(U.top=j,U.bottom=$)}var to={};return H&&(H.includes("height")&&V?to.height=V:H.includes("minHeight")&&V&&(to.minHeight=V),H.includes("width")&&I?to.width=I:H.includes("minWidth")&&I&&(to.minWidth=I)),d||(to.pointerEvents="none"),r.createElement(M,{open:k||Y,getContainer:C&&function(){return C(s)},autoDestroy:Z},r.createElement(tm,{prefixCls:i,open:d,zIndex:R,mask:y,motion:O}),r.createElement(ti,{onResize:D,disabled:!d},function(t){return r.createElement(td.ZP,(0,l.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:k,leavedClassName:"".concat(i,"-hidden")},_,{onAppearPrepare:B,onEnterPrepare:B,visible:d,onVisibleChanged:function(t){var e;null==_||null===(e=_.onVisibleChanged)||void 0===e||e.call(_,t),f(t)}}),function(n,s){var l=n.className,f=n.style,p=c()(i,l,o);return r.createElement("div",{ref:(0,m.sQ)(t,e,s),className:p,style:(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({"--arrow-x":"".concat(E.x||0,"px"),"--arrow-y":"".concat(E.y||0,"px")},U),to),f),{},{boxSizing:"border-box",zIndex:R},a),onMouseEnter:P,onMouseLeave:z,onPointerEnter:S,onClick:g},w&&r.createElement(th,{prefixCls:i,arrow:w,arrowPos:E,align:x}),r.createElement(tv,{cache:!d&&!v},W))})}))}),tb=r.forwardRef(function(t,e){var n=t.children,o=t.getTriggerDOMNode,i=(0,m.Yr)(n),a=r.useCallback(function(t){(0,m.mH)(e,o?o(t):t)},[o]),c=(0,m.x1)(a,n.ref);return i?r.cloneElement(n,{ref:c}):n}),ty=r.createContext(null);function tw(t){return t?Array.isArray(t)?t:[t]:[]}var tE=n(84989);function tx(t,e,n,o){return e||(n?{motionName:"".concat(t,"-").concat(n)}:o?{motionName:o}:null)}function t_(t){return t.ownerDocument.defaultView}function tO(t){for(var e=[],n=null==t?void 0:t.parentElement,o=["hidden","scroll","clip","auto"];n;){var r=t_(n).getComputedStyle(n);[r.overflowX,r.overflowY,r.overflow].some(function(t){return o.includes(t)})&&e.push(n),n=n.parentElement}return e}function tk(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(t)?e:t}function tC(t){return tk(parseFloat(t),0)}function tZ(t,e){var n=(0,u.Z)({},t);return(e||[]).forEach(function(t){if(!(t instanceof HTMLBodyElement||t instanceof HTMLHtmlElement)){var e=t_(t).getComputedStyle(t),o=e.overflow,r=e.overflowClipMargin,i=e.borderTopWidth,a=e.borderBottomWidth,c=e.borderLeftWidth,s=e.borderRightWidth,l=t.getBoundingClientRect(),u=t.offsetHeight,f=t.clientHeight,p=t.offsetWidth,d=t.clientWidth,h=tC(i),m=tC(a),v=tC(c),g=tC(s),b=tk(Math.round(l.width/p*1e3)/1e3),y=tk(Math.round(l.height/u*1e3)/1e3),w=h*y,E=v*b,x=0,_=0;if("clip"===o){var O=tC(r);x=O*b,_=O*y}var k=l.x+E-x,C=l.y+w-_,Z=k+l.width+2*x-E-g*b-(p-d-v-g)*b,M=C+l.height+2*_-w-m*y-(u-f-h-m)*y;n.left=Math.max(n.left,k),n.top=Math.max(n.top,C),n.right=Math.min(n.right,Z),n.bottom=Math.min(n.bottom,M)}}),n}function tM(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(e),o=n.match(/^(.*)\%$/);return o?parseFloat(o[1])/100*t:parseFloat(n)}function tR(t,e){var n=(0,p.Z)(e||[],2),o=n[0],r=n[1];return[tM(t.width,o),tM(t.height,r)]}function tP(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[t[0],t[1]]}function tz(t,e){var n,o=e[0],r=e[1];return n="t"===o?t.y:"b"===o?t.y+t.height:t.y+t.height/2,{x:"l"===r?t.x:"r"===r?t.x+t.width:t.x+t.width/2,y:n}}function tS(t,e){var n={t:"b",b:"t",l:"r",r:"l"};return t.map(function(t,o){return o===e?n[t]||"c":t}).join("")}var tL=n(32126),tA=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"],tj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C;return r.forwardRef(function(e,n){var o,i,a,s,l,d,h,m,v,y,w,E,x,_,O,k,C,Z=e.prefixCls,M=void 0===Z?"rc-trigger-popup":Z,P=e.children,z=e.action,S=e.showAction,L=e.hideAction,A=e.popupVisible,j=e.defaultPopupVisible,N=e.onPopupVisibleChange,T=e.afterPopupVisibleChange,D=e.mouseEnterDelay,B=e.mouseLeaveDelay,H=void 0===B?.1:B,I=e.focusDelay,V=e.blurDelay,W=e.mask,Y=e.maskClosable,X=e.getPopupContainer,q=e.forceRender,F=e.autoDestroy,K=e.destroyPopupOnHide,G=e.popup,$=e.popupClassName,U=e.popupStyle,J=e.popupPlacement,Q=e.builtinPlacements,tt=void 0===Q?{}:Q,te=e.popupAlign,tn=e.zIndex,to=e.stretch,tr=e.getPopupClassNameFromAlign,ta=e.fresh,tl=e.alignPoint,tu=e.onPopupClick,td=e.onPopupAlign,th=e.arrow,tm=e.popupMotion,tv=e.maskMotion,tC=e.popupTransitionName,tM=e.popupAnimation,tj=e.maskTransitionName,tN=e.maskAnimation,tT=e.className,tD=e.getTriggerDOMNode,tB=(0,f.Z)(e,tA),tH=r.useState(!1),tI=(0,p.Z)(tH,2),tV=tI[0],tW=tI[1];(0,b.Z)(function(){tW(tp())},[]);var tY=r.useRef({}),tX=r.useContext(ty),tq=r.useMemo(function(){return{registerSubPopup:function(t,e){tY.current[t]=e,null==tX||tX.registerSubPopup(t,e)}}},[tX]),tF=tf(),tK=r.useState(null),tG=(0,p.Z)(tK,2),t$=tG[0],tU=tG[1],tJ=(0,ts.Z)(function(t){(0,R.S)(t)&&t$!==t&&tU(t),null==tX||tX.registerSubPopup(tF,t)}),tQ=r.useState(null),t0=(0,p.Z)(tQ,2),t1=t0[0],t2=t0[1],t4=r.useRef(null),t8=(0,ts.Z)(function(t){(0,R.S)(t)&&t1!==t&&(t2(t),t4.current=t)}),t5=r.Children.only(P),t6=(null==t5?void 0:t5.props)||{},t3={},t7=(0,ts.Z)(function(t){var e,n;return(null==t1?void 0:t1.contains(t))||(null===(e=tc(t1))||void 0===e?void 0:e.host)===t||t===t1||(null==t$?void 0:t$.contains(t))||(null===(n=tc(t$))||void 0===n?void 0:n.host)===t||t===t$||Object.values(tY.current).some(function(e){return(null==e?void 0:e.contains(t))||t===e})}),t9=tx(M,tm,tM,tC),et=tx(M,tv,tN,tj),ee=r.useState(j||!1),en=(0,p.Z)(ee,2),eo=en[0],er=en[1],ei=null!=A?A:eo,ea=(0,ts.Z)(function(t){void 0===A&&er(t)});(0,b.Z)(function(){er(A||!1)},[A]);var ec=r.useRef(ei);ec.current=ei;var es=r.useRef([]);es.current=[];var el=(0,ts.Z)(function(t){var e;ea(t),(null!==(e=es.current[es.current.length-1])&&void 0!==e?e:ei)!==t&&(es.current.push(t),null==N||N(t))}),eu=r.useRef(),ef=function(){clearTimeout(eu.current)},ep=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;ef(),0===e?el(t):eu.current=setTimeout(function(){el(t)},1e3*e)};r.useEffect(function(){return ef},[]);var ed=r.useState(!1),eh=(0,p.Z)(ed,2),em=eh[0],ev=eh[1];(0,b.Z)(function(t){(!t||ei)&&ev(!0)},[ei]);var eg=r.useState(null),eb=(0,p.Z)(eg,2),ey=eb[0],ew=eb[1],eE=r.useState([0,0]),ex=(0,p.Z)(eE,2),e_=ex[0],eO=ex[1],ek=function(t){eO([t.clientX,t.clientY])},eC=(o=tl?e_:t1,i=r.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:tt[J]||{}}),s=(a=(0,p.Z)(i,2))[0],l=a[1],d=r.useRef(0),h=r.useMemo(function(){return t$?tO(t$):[]},[t$]),m=r.useRef({}),ei||(m.current={}),v=(0,ts.Z)(function(){if(t$&&o&&ei){var t,e,n,r,i,a,c,s=t$.ownerDocument,f=t_(t$).getComputedStyle(t$),d=f.width,v=f.height,g=f.position,b=t$.style.left,y=t$.style.top,w=t$.style.right,E=t$.style.bottom,x=t$.style.overflow,_=(0,u.Z)((0,u.Z)({},tt[J]),te),O=s.createElement("div");if(null===(t=t$.parentElement)||void 0===t||t.appendChild(O),O.style.left="".concat(t$.offsetLeft,"px"),O.style.top="".concat(t$.offsetTop,"px"),O.style.position=g,O.style.height="".concat(t$.offsetHeight,"px"),O.style.width="".concat(t$.offsetWidth,"px"),t$.style.left="0",t$.style.top="0",t$.style.right="auto",t$.style.bottom="auto",t$.style.overflow="hidden",Array.isArray(o))n={x:o[0],y:o[1],width:0,height:0};else{var k=o.getBoundingClientRect();n={x:k.x,y:k.y,width:k.width,height:k.height}}var C=t$.getBoundingClientRect(),Z=s.documentElement,M=Z.clientWidth,P=Z.clientHeight,z=Z.scrollWidth,S=Z.scrollHeight,L=Z.scrollTop,A=Z.scrollLeft,j=C.height,N=C.width,T=n.height,D=n.width,B=_.htmlRegion,H="visible",I="visibleFirst";"scroll"!==B&&B!==I&&(B=H);var V=B===I,W=tZ({left:-A,top:-L,right:z-A,bottom:S-L},h),Y=tZ({left:0,top:0,right:M,bottom:P},h),X=B===H?Y:W,q=V?Y:X;t$.style.left="auto",t$.style.top="auto",t$.style.right="0",t$.style.bottom="0";var F=t$.getBoundingClientRect();t$.style.left=b,t$.style.top=y,t$.style.right=w,t$.style.bottom=E,t$.style.overflow=x,null===(e=t$.parentElement)||void 0===e||e.removeChild(O);var K=tk(Math.round(N/parseFloat(d)*1e3)/1e3),G=tk(Math.round(j/parseFloat(v)*1e3)/1e3);if(!(0===K||0===G||(0,R.S)(o)&&!(0,tE.Z)(o))){var $=_.offset,U=_.targetOffset,Q=tR(C,$),tn=(0,p.Z)(Q,2),to=tn[0],tr=tn[1],ti=tR(n,U),ta=(0,p.Z)(ti,2),tc=ta[0],ts=ta[1];n.x-=tc,n.y-=ts;var tl=_.points||[],tu=(0,p.Z)(tl,2),tf=tu[0],tp=tP(tu[1]),th=tP(tf),tm=tz(n,tp),tv=tz(C,th),tg=(0,u.Z)({},_),tb=tm.x-tv.x+to,ty=tm.y-tv.y+tr,tw=ee(tb,ty),tx=ee(tb,ty,Y),tO=tz(n,["t","l"]),tC=tz(C,["t","l"]),tM=tz(n,["b","r"]),tL=tz(C,["b","r"]),tA=_.overflow||{},tj=tA.adjustX,tN=tA.adjustY,tT=tA.shiftX,tD=tA.shiftY,tB=function(t){return"boolean"==typeof t?t:t>=0};en();var tH=tB(tN),tI=th[0]===tp[0];if(tH&&"t"===th[0]&&(i>q.bottom||m.current.bt)){var tV=ty;tI?tV-=j-T:tV=tO.y-tL.y-tr;var tW=ee(tb,tV),tY=ee(tb,tV,Y);tW>tw||tW===tw&&(!V||tY>=tx)?(m.current.bt=!0,ty=tV,tr=-tr,tg.points=[tS(th,0),tS(tp,0)]):m.current.bt=!1}if(tH&&"b"===th[0]&&(rtw||tq===tw&&(!V||tF>=tx)?(m.current.tb=!0,ty=tX,tr=-tr,tg.points=[tS(th,0),tS(tp,0)]):m.current.tb=!1}var tK=tB(tj),tG=th[1]===tp[1];if(tK&&"l"===th[1]&&(c>q.right||m.current.rl)){var tU=tb;tG?tU-=N-D:tU=tO.x-tL.x-to;var tJ=ee(tU,ty),tQ=ee(tU,ty,Y);tJ>tw||tJ===tw&&(!V||tQ>=tx)?(m.current.rl=!0,tb=tU,to=-to,tg.points=[tS(th,1),tS(tp,1)]):m.current.rl=!1}if(tK&&"r"===th[1]&&(atw||t1===tw&&(!V||t2>=tx)?(m.current.lr=!0,tb=t0,to=-to,tg.points=[tS(th,1),tS(tp,1)]):m.current.lr=!1}en();var t4=!0===tT?0:tT;"number"==typeof t4&&(aY.right&&(tb-=c-Y.right-to,n.x>Y.right-t4&&(tb+=n.x-Y.right+t4)));var t8=!0===tD?0:tD;"number"==typeof t8&&(rY.bottom&&(ty-=i-Y.bottom-tr,n.y>Y.bottom-t8&&(ty+=n.y-Y.bottom+t8)));var t5=C.x+tb,t6=C.y+ty,t3=n.x,t7=n.y;null==td||td(t$,tg);var t9=F.right-C.x-(tb+C.width),et=F.bottom-C.y-(ty+C.height);l({ready:!0,offsetX:tb/K,offsetY:ty/G,offsetR:t9/K,offsetB:et/G,arrowX:((Math.max(t5,t3)+Math.min(t5+N,t3+D))/2-t5)/K,arrowY:((Math.max(t6,t7)+Math.min(t6+j,t7+T))/2-t6)/G,scaleX:K,scaleY:G,align:tg})}function ee(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:X,o=C.x+t,r=C.y+e,i=Math.max(o,n.left),a=Math.max(r,n.top);return Math.max(0,(Math.min(o+N,n.right)-i)*(Math.min(r+j,n.bottom)-a))}function en(){i=(r=C.y+ty)+j,c=(a=C.x+tb)+N}}}),y=function(){l(function(t){return(0,u.Z)((0,u.Z)({},t),{},{ready:!1})})},(0,b.Z)(y,[J]),(0,b.Z)(function(){ei||y()},[ei]),[s.ready,s.offsetX,s.offsetY,s.offsetR,s.offsetB,s.arrowX,s.arrowY,s.scaleX,s.scaleY,s.align,function(){d.current+=1;var t=d.current;Promise.resolve().then(function(){d.current===t&&v()})}]),eZ=(0,p.Z)(eC,11),eM=eZ[0],eR=eZ[1],eP=eZ[2],ez=eZ[3],eS=eZ[4],eL=eZ[5],eA=eZ[6],ej=eZ[7],eN=eZ[8],eT=eZ[9],eD=eZ[10],eB=(w=void 0===z?"hover":z,r.useMemo(function(){var t=tw(null!=S?S:w),e=tw(null!=L?L:w),n=new Set(t),o=new Set(e);return tV&&(n.has("hover")&&(n.delete("hover"),n.add("click")),o.has("hover")&&(o.delete("hover"),o.add("click"))),[n,o]},[tV,w,S,L])),eH=(0,p.Z)(eB,2),eI=eH[0],eV=eH[1],eW=eI.has("click"),eY=eV.has("click")||eV.has("contextMenu"),eX=(0,ts.Z)(function(){em||eD()});E=function(){ec.current&&tl&&eY&&ep(!1)},(0,b.Z)(function(){if(ei&&t1&&t$){var t=tO(t1),e=tO(t$),n=t_(t$),o=new Set([n].concat((0,g.Z)(t),(0,g.Z)(e)));function r(){eX(),E()}return o.forEach(function(t){t.addEventListener("scroll",r,{passive:!0})}),n.addEventListener("resize",r,{passive:!0}),eX(),function(){o.forEach(function(t){t.removeEventListener("scroll",r),n.removeEventListener("resize",r)})}}},[ei,t1,t$]),(0,b.Z)(function(){eX()},[e_,J]),(0,b.Z)(function(){ei&&!(null!=tt&&tt[J])&&eX()},[JSON.stringify(te)]);var eq=r.useMemo(function(){var t=function(t,e,n,o){for(var r=n.points,i=Object.keys(t),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}(null===(c=t[s])||void 0===c?void 0:c.points,r,o))return"".concat(e,"-placement-").concat(s)}return""}(tt,M,eT,tl);return c()(t,null==tr?void 0:tr(eT))},[eT,tr,tt,M,tl]);r.useImperativeHandle(n,function(){return{nativeElement:t4.current,forceAlign:eX}});var eF=r.useState(0),eK=(0,p.Z)(eF,2),eG=eK[0],e$=eK[1],eU=r.useState(0),eJ=(0,p.Z)(eU,2),eQ=eJ[0],e0=eJ[1],e1=function(){if(to&&t1){var t=t1.getBoundingClientRect();e$(t.width),e0(t.height)}};function e2(t,e,n,o){t3[t]=function(r){var i;null==o||o(r),ep(e,n);for(var a=arguments.length,c=Array(a>1?a-1:0),s=1;s1?n-1:0),r=1;r1?n-1:0),r=1;rvoid 0!==n?n:"".concat(t,"-").concat(e);var tK=n(80548);let tG=(t,e,n)=>{let{sizePopupArrow:o,arrowPolygon:r,arrowPath:i,arrowShadowWidth:a,borderRadiusXS:c,calc:s}=t;return{pointerEvents:"none",width:o,height:o,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:o,height:s(o).div(2).equal(),background:e,clipPath:{_multi_value_:!0,value:[r,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:"0 0 ".concat((0,tK.bf)(c)," 0")},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}};function t$(t){let{contentRadius:e,limitVerticalRadius:n}=t,o=e>12?e+2:12;return{arrowOffsetHorizontal:o,arrowOffsetVertical:n?8:o}}let tU={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},tJ={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},tQ=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);var t0=n(63529);function t1(){}let t2=()=>{let t=()=>{};return t.deprecated=t1,t};var t4=n(56131),t8=n(31952),t5=n(56432);let t6=t=>({animationDuration:t,animationFillMode:"both"}),t3=t=>({animationDuration:t,animationFillMode:"both"}),t7=function(t,e,n,o){let r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=r?"&":"";return{["\n ".concat(i).concat(t,"-enter,\n ").concat(i).concat(t,"-appear\n ")]:Object.assign(Object.assign({},t6(o)),{animationPlayState:"paused"}),["".concat(i).concat(t,"-leave")]:Object.assign(Object.assign({},t3(o)),{animationPlayState:"paused"}),["\n ".concat(i).concat(t,"-enter").concat(t,"-enter-active,\n ").concat(i).concat(t,"-appear").concat(t,"-appear-active\n ")]:{animationName:e,animationPlayState:"running"},["".concat(i).concat(t,"-leave").concat(t,"-leave-active")]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},t9=new tK.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),et=new tK.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),ee=new tK.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),en=new tK.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),eo=new tK.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),er=new tK.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),ei=new tK.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),ea=new tK.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),ec=new tK.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),es={zoom:{inKeyframes:t9,outKeyframes:et},"zoom-big":{inKeyframes:ee,outKeyframes:en},"zoom-big-fast":{inKeyframes:ee,outKeyframes:en},"zoom-left":{inKeyframes:ei,outKeyframes:ea},"zoom-right":{inKeyframes:ec,outKeyframes:new tK.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:eo,outKeyframes:er},"zoom-down":{inKeyframes:new tK.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new tK.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},el=(t,e)=>{let{antCls:n}=t,o="".concat(n,"-").concat(e),{inKeyframes:r,outKeyframes:i}=es[e];return[t7(o,r,i,"zoom-big-fast"===e?t.motionDurationFast:t.motionDurationMid),{["\n ".concat(o,"-enter,\n ").concat(o,"-appear\n ")]:{transform:"scale(0)",opacity:0,animationTimingFunction:t.motionEaseOutCirc,"&-prepare":{transform:"none"}},["".concat(o,"-leave")]:{animationTimingFunction:t.motionEaseInOutCirc}}]},eu=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];var ef=n(26845),ep=n(2291);let ed=t=>{var e;let{componentCls:n,tooltipMaxWidth:o,tooltipColor:r,tooltipBg:i,tooltipBorderRadius:a,zIndexPopup:c,controlHeight:s,boxShadowSecondary:l,paddingSM:u,paddingXS:f}=t;return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,t5.Wf)(t)),{position:"absolute",zIndex:c,display:"block",width:"max-content",maxWidth:o,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":i,["".concat(n,"-inner")]:{minWidth:s,minHeight:s,padding:"".concat((0,tK.bf)(t.calc(u).div(2).equal())," ").concat((0,tK.bf)(f)),color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:a,boxShadow:l,boxSizing:"border-box"},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{["".concat(n,"-inner")]:{borderRadius:t.min(a,8)}},["".concat(n,"-content")]:{position:"relative"}}),(e=(t,e)=>{let{darkColor:o}=e;return{["&".concat(n,"-").concat(t)]:{["".concat(n,"-inner")]:{backgroundColor:o},["".concat(n,"-arrow")]:{"--antd-arrow-background-color":o}}}},eu.reduce((n,o)=>{let r=t["".concat(o,"1")],i=t["".concat(o,"3")],a=t["".concat(o,"6")],c=t["".concat(o,"7")];return Object.assign(Object.assign({},n),e(o,{lightColor:r,lightBorderColor:i,darkColor:a,textColor:c}))},{}))),{"&-rtl":{direction:"rtl"}})},function(t,e,n){var o,r,i,a,c,s,l,u;let{componentCls:f,boxShadowPopoverArrow:p,arrowOffsetVertical:d,arrowOffsetHorizontal:h}=t,{arrowDistance:m=0,arrowPlacement:v={left:!0,right:!0,top:!0,bottom:!0}}={};return{[f]:Object.assign(Object.assign(Object.assign(Object.assign({["".concat(f,"-arrow")]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},tG(t,e,p)),{"&:before":{background:e}})]},(o=!!v.top,r={[["&-placement-top > ".concat(f,"-arrow"),"&-placement-topLeft > ".concat(f,"-arrow"),"&-placement-topRight > ".concat(f,"-arrow")].join(",")]:{bottom:m,transform:"translateY(100%) rotate(180deg)"},["&-placement-top > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},["&-placement-topLeft > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:h}},["&-placement-topRight > ".concat(f,"-arrow")]:{right:{_skip_check_:!0,value:h}}},o?r:{})),(i=!!v.bottom,a={[["&-placement-bottom > ".concat(f,"-arrow"),"&-placement-bottomLeft > ".concat(f,"-arrow"),"&-placement-bottomRight > ".concat(f,"-arrow")].join(",")]:{top:m,transform:"translateY(-100%)"},["&-placement-bottom > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},["&-placement-bottomLeft > ".concat(f,"-arrow")]:{left:{_skip_check_:!0,value:h}},["&-placement-bottomRight > ".concat(f,"-arrow")]:{right:{_skip_check_:!0,value:h}}},i?a:{})),(c=!!v.left,s={[["&-placement-left > ".concat(f,"-arrow"),"&-placement-leftTop > ".concat(f,"-arrow"),"&-placement-leftBottom > ".concat(f,"-arrow")].join(",")]:{right:{_skip_check_:!0,value:m},transform:"translateX(100%) rotate(90deg)"},["&-placement-left > ".concat(f,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},["&-placement-leftTop > ".concat(f,"-arrow")]:{top:d},["&-placement-leftBottom > ".concat(f,"-arrow")]:{bottom:d}},c?s:{})),(l=!!v.right,u={[["&-placement-right > ".concat(f,"-arrow"),"&-placement-rightTop > ".concat(f,"-arrow"),"&-placement-rightBottom > ".concat(f,"-arrow")].join(",")]:{left:{_skip_check_:!0,value:m},transform:"translateX(-100%) rotate(-90deg)"},["&-placement-right > ".concat(f,"-arrow")]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},["&-placement-rightTop > ".concat(f,"-arrow")]:{top:d},["&-placement-rightBottom > ".concat(f,"-arrow")]:{bottom:d}},l?u:{}))}}(t,"var(--antd-arrow-background-color)"),{["".concat(n,"-pure")]:{position:"relative",maxWidth:"none",margin:t.sizePopupArrow}}]},eh=t=>Object.assign(Object.assign({zIndexPopup:t.zIndexPopupBase+70},t$({contentRadius:t.borderRadius,limitVerticalRadius:!0})),function(t){let{sizePopupArrow:e,borderRadiusXS:n,borderRadiusOuter:o}=t,r=e/2,i=1*o/Math.sqrt(2),a=r-o*(1-1/Math.sqrt(2)),c=r-1/Math.sqrt(2)*n,s=o*(Math.sqrt(2)-1)+1/Math.sqrt(2)*n,l=2*r-c,u=2*r-i,f=2*r-0,p=r*Math.sqrt(2)+o*(Math.sqrt(2)-2),d=o*(Math.sqrt(2)-1),h="polygon(".concat(d,"px 100%, 50% ").concat(d,"px, ").concat(2*r-d,"px 100%, ").concat(d,"px 100%)");return{arrowShadowWidth:p,arrowPath:"path('M ".concat(0," ").concat(r," A ").concat(o," ").concat(o," 0 0 0 ").concat(i," ").concat(a," L ").concat(c," ").concat(s," A ").concat(n," ").concat(n," 0 0 1 ").concat(l," ").concat(s," L ").concat(u," ").concat(a," A ").concat(o," ").concat(o," 0 0 0 ").concat(f," ").concat(r," Z')"),arrowPolygon:h}}((0,ef.TS)(t,{borderRadiusOuter:Math.min(t.borderRadiusOuter,4)})));function em(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,ep.I$)("Tooltip",t=>{let{borderRadius:e,colorTextLightSolid:n,colorBgSpotlight:o}=t;return[ed((0,ef.TS)(t,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:e,tooltipBg:o})),el(t,"zoom-big-fast")]},eh,{resetStyle:!1,injectStyle:e})(t)}let ev=eu.map(t=>"".concat(t,"-inverse"));function eg(t,e){let n=function(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return e?[].concat((0,g.Z)(ev),(0,g.Z)(eu)).includes(t):eu.includes(t)}(e),o=c()({["".concat(t,"-").concat(e)]:e&&n}),r={},i={};return e&&!n&&(r.background=e,i["--antd-arrow-background-color"]=e),{className:o,overlayStyle:r,arrowStyle:i}}var eb=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);re.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};let ey=r.forwardRef((t,e)=>{var n,o;let{prefixCls:i,openClassName:a,getTooltipContainer:s,overlayClassName:l,color:u,overlayInnerStyle:f,children:p,afterOpenChange:d,afterVisibleChange:h,destroyTooltipOnHide:m,arrow:v=!0,title:g,overlay:b,builtinPlacements:y,arrowPointAtCenter:w=!1,autoAdjustOverflow:E=!0}=t,x=!!v,[,_]=(0,tW.ZP)(),{getPopupContainer:O,getPrefixCls:k,direction:C}=r.useContext(t4.E_),Z=t2("Tooltip"),M=r.useRef(null),R=()=>{var t;null===(t=M.current)||void 0===t||t.forceAlign()};r.useImperativeHandle(e,()=>({forceAlign:R,forcePopupAlign:()=>{Z.deprecated(!1,"forcePopupAlign","forceAlign"),R()}}));let[P,z]=(0,tV.Z)(!1,{value:null!==(n=t.open)&&void 0!==n?n:t.visible,defaultValue:null!==(o=t.defaultOpen)&&void 0!==o?o:t.defaultVisible}),S=!g&&!b&&0!==g,L=r.useMemo(()=>{var t,e;let n=w;return"object"==typeof v&&(n=null!==(e=null!==(t=v.pointAtCenter)&&void 0!==t?t:v.arrowPointAtCenter)&&void 0!==e?e:w),y||function(t){let{arrowWidth:e,autoAdjustOverflow:n,arrowPointAtCenter:o,offset:r,borderRadius:i,visibleFirst:a}=t,c=e/2,s={};return Object.keys(tU).forEach(t=>{let l=Object.assign(Object.assign({},o&&tJ[t]||tU[t]),{offset:[0,0],dynamicInset:!0});switch(s[t]=l,tQ.has(t)&&(l.autoArrow=!1),t){case"top":case"topLeft":case"topRight":l.offset[1]=-c-r;break;case"bottom":case"bottomLeft":case"bottomRight":l.offset[1]=c+r;break;case"left":case"leftTop":case"leftBottom":l.offset[0]=-c-r;break;case"right":case"rightTop":case"rightBottom":l.offset[0]=c+r}let u=t$({contentRadius:i,limitVerticalRadius:!0});if(o)switch(t){case"topLeft":case"bottomLeft":l.offset[0]=-u.arrowOffsetHorizontal-c;break;case"topRight":case"bottomRight":l.offset[0]=u.arrowOffsetHorizontal+c;break;case"leftTop":case"rightTop":l.offset[1]=-u.arrowOffsetHorizontal-c;break;case"leftBottom":case"rightBottom":l.offset[1]=u.arrowOffsetHorizontal+c}l.overflow=function(t,e,n,o){if(!1===o)return{adjustX:!1,adjustY:!1};let r={};switch(t){case"top":case"bottom":r.shiftX=2*e.arrowOffsetHorizontal+n,r.shiftY=!0,r.adjustY=!0;break;case"left":case"right":r.shiftY=2*e.arrowOffsetVertical+n,r.shiftX=!0,r.adjustX=!0}let i=Object.assign(Object.assign({},r),o&&"object"==typeof o?o:{});return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}(t,u,e,n),a&&(l.htmlRegion="visibleFirst")}),s}({arrowPointAtCenter:n,autoAdjustOverflow:E,arrowWidth:x?_.sizePopupArrow:0,borderRadius:_.borderRadius,offset:_.marginXXS,visibleFirst:!0})},[w,v,y,_]),A=r.useMemo(()=>0===g?g:b||g||"",[b,g]),j=r.createElement(t8.BR,null,"function"==typeof A?A():A),{getPopupContainer:N,placement:T="top",mouseEnterDelay:D=.1,mouseLeaveDelay:B=.1,overlayStyle:H,rootClassName:I}=t,V=eb(t,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),W=k("tooltip",i),Y=k(),X=t["data-popover-inject"],q=P;"open"in t||"visible"in t||!S||(q=!1);let F=(0,t0.l$)(p)&&!(0,t0.M2)(p)?p:r.createElement("span",null,p),K=F.props,G=K.className&&"string"!=typeof K.className?K.className:c()(K.className,a||"".concat(W,"-open")),[$,U,J]=em(W,!X),Q=eg(W,u),tt=Q.arrowStyle,te=Object.assign(Object.assign({},f),Q.overlayStyle),tn=c()(l,{["".concat(W,"-rtl")]:"rtl"===C},Q.className,I,U,J),[to,tr]=function(t,e){let[,n]=(0,tW.ZP)(),o=r.useContext(tY);if(void 0!==e)return[e,e];let i=null!=o?o:0;return t in tX?(i+=(o?0:n.zIndexPopupBase)+tX[t],i=Math.min(i,n.zIndexPopupBase+1e3)):i+=tq[t],[void 0===o?e:i,i]}("Tooltip",V.zIndex),ti=r.createElement(tI,Object.assign({},V,{zIndex:to,showArrow:x,placement:T,mouseEnterDelay:D,mouseLeaveDelay:B,prefixCls:W,overlayClassName:tn,overlayStyle:Object.assign(Object.assign({},tt),H),getTooltipContainer:N||s||O,ref:M,builtinPlacements:L,overlay:j,visible:q,onVisibleChange:e=>{var n,o;z(!S&&e),S||(null===(n=t.onOpenChange)||void 0===n||n.call(t,e),null===(o=t.onVisibleChange)||void 0===o||o.call(t,e))},afterVisibleChange:null!=d?d:h,overlayInnerStyle:te,arrowContent:r.createElement("span",{className:"".concat(W,"-arrow-content")}),motion:{motionName:tF(Y,"zoom-big-fast",t.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m}),q?(0,t0.Tm)(F,{className:G}):F);return $(r.createElement(tY.Provider,{value:tr},ti))});ey._InternalPanelDoNotUseOrYouWillBeFired=t=>{let{prefixCls:e,className:n,placement:o="top",title:i,color:a,overlayInnerStyle:l}=t,{getPrefixCls:u}=r.useContext(t4.E_),f=u("tooltip",e),[p,d,h]=em(f),m=eg(f,a),v=m.arrowStyle,g=Object.assign(Object.assign({},l),m.overlayStyle),b=c()(d,h,f,"".concat(f,"-pure"),"".concat(f,"-placement-").concat(o),n,m.className);return p(r.createElement("div",{className:b,style:v},r.createElement("div",{className:"".concat(f,"-arrow")}),r.createElement(s,Object.assign({},t,{className:d,prefixCls:f,overlayInnerStyle:g}),i)))};var ew=ey}}]); \ No newline at end of file diff --git a/_next/static/chunks/643.a9c52332b2aef328.js b/_next/static/chunks/643.a9c52332b2aef328.js new file mode 100644 index 0000000..b604c5f --- /dev/null +++ b/_next/static/chunks/643.a9c52332b2aef328.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[643],{6643:function(e,t,l){l.d(t,{diagram:function(){return y}});var a=l(30298),n=l(27509),i=l(42521),o=l(71421),s=l(83880);l(5726),l(91088),l(95591),l(42296),l(52070);let d=e=>o.e.sanitizeText(e,(0,o.c)()),r={dividerMargin:10,padding:5,textHeight:10,curve:void 0},c=function(e,t,l,a){let n=Object.keys(e);o.l.info("keys:",n),o.l.info(e),n.forEach(function(n){var i,s;let r=e[n],c={shape:"rect",id:r.id,domId:r.domId,labelText:d(r.id),labelStyle:"",style:"fill: none; stroke: black",padding:(null==(i=(0,o.c)().flowchart)?void 0:i.padding)??(null==(s=(0,o.c)().class)?void 0:s.padding)};t.setNode(r.id,c),p(r.classes,t,l,a,r.id),o.l.info("setNode",c)})},p=function(e,t,l,a,n){let i=Object.keys(e);o.l.info("keys:",i),o.l.info(e),i.filter(t=>e[t].parent==n).forEach(function(l){var i,s;let r=e[l],c=r.cssClasses.join(" "),p={labelStyle:"",shape:"class_box",labelText:d(r.label??r.id),classData:r,rx:0,ry:0,class:c,style:"",id:r.id,domId:r.domId,tooltip:a.db.getTooltip(r.id,n)||"",haveCallback:r.haveCallback,link:r.link,width:"group"===r.type?500:void 0,type:r.type,padding:(null==(i=(0,o.c)().flowchart)?void 0:i.padding)??(null==(s=(0,o.c)().class)?void 0:s.padding)};t.setNode(r.id,p),n&&t.setParent(r.id,n),o.l.info("setNode",p)})},b=function(e,t,l,a){o.l.info(e),e.forEach(function(e,i){var s,c;let p={labelStyle:"",shape:"note",labelText:d(e.text),noteData:e,rx:0,ry:0,class:"",style:"",id:e.id,domId:e.id,tooltip:"",type:"note",padding:(null==(s=(0,o.c)().flowchart)?void 0:s.padding)??(null==(c=(0,o.c)().class)?void 0:c.padding)};if(t.setNode(e.id,p),o.l.info("setNode",p),!e.class||!(e.class in a))return;let b=l+i,f={id:`edgeNote${b}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,o.n)(r.curve,n.c_6)};t.setEdge(e.id,e.class,f,b)})},f=function(e,t){let l=(0,o.c)().flowchart,a=0;e.forEach(function(e){var i;a++;let s={classes:"relation",pattern:1==e.relation.lineType?"dashed":"solid",id:"id"+a,arrowhead:"arrow_open"===e.type?"none":"normal",startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowTypeStart:g(e.relation.type1),arrowTypeEnd:g(e.relation.type2),style:"fill:none",labelStyle:"",curve:(0,o.n)(null==l?void 0:l.curve,n.c_6)};if(o.l.info(s,e),void 0!==e.style){let t=(0,o.k)(e.style);s.style=t.style,s.labelStyle=t.labelStyle}e.text=e.title,void 0===e.text?void 0!==e.style&&(s.arrowheadStyle="fill: #333"):(s.arrowheadStyle="fill: #333",s.labelpos="c",(null==(i=(0,o.c)().flowchart)?void 0:i.htmlLabels)??(0,o.c)().htmlLabels?(s.labelType="html",s.label=''+e.text+""):(s.labelType="text",s.label=e.text.replace(o.e.lineBreakRegex,"\n"),void 0===e.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),t.setEdge(e.id1,e.id2,s,a)})},u=async function(e,t,l,a){let d;o.l.info("Drawing class - ",t);let r=(0,o.c)().flowchart??(0,o.c)().class,u=(0,o.c)().securityLevel;o.l.info("config:",r);let g=(null==r?void 0:r.nodeSpacing)??50,y=(null==r?void 0:r.rankSpacing)??50,h=new i.k({multigraph:!0,compound:!0}).setGraph({rankdir:a.db.getDirection(),nodesep:g,ranksep:y,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),v=a.db.getNamespaces(),w=a.db.getClasses(),k=a.db.getRelations(),x=a.db.getNotes();o.l.info(k),c(v,h,t,a),p(w,h,t,a),f(k,h),b(x,h,k.length+1,w),"sandbox"===u&&(d=(0,n.Ys)("#i"+t));let m="sandbox"===u?(0,n.Ys)(d.nodes()[0].contentDocument.body):(0,n.Ys)("body"),T=m.select(`[id="${t}"]`),S=m.select("#"+t+" g");if(await (0,s.r)(S,h,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",t),o.u.insertTitle(T,"classTitleText",(null==r?void 0:r.titleTopMargin)??5,a.db.getDiagramTitle()),(0,o.o)(h,T,null==r?void 0:r.diagramPadding,null==r?void 0:r.useMaxWidth),!(null==r?void 0:r.htmlLabels)){let e="sandbox"===u?d.nodes()[0].contentDocument:document;for(let l of e.querySelectorAll('[id="'+t+'"] .edgeLabel .label')){let t=l.getBBox(),a=e.createElementNS("http://www.w3.org/2000/svg","rect");a.setAttribute("rx",0),a.setAttribute("ry",0),a.setAttribute("width",t.width),a.setAttribute("height",t.height),l.insertBefore(a,l.firstChild)}}};function g(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}let y={parser:a.p,db:a.d,renderer:{setConf:function(e){r={...r,...e}},draw:u},styles:a.s,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,a.d.clear()}}}}]); \ No newline at end of file diff --git a/_next/static/chunks/643.b36636c1acc8a8be.js b/_next/static/chunks/643.b36636c1acc8a8be.js deleted file mode 100644 index 9479861..0000000 --- a/_next/static/chunks/643.b36636c1acc8a8be.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[643],{6643:function(e,l,t){t.d(l,{diagram:function(){return g}});var a=t(30298),n=t(27509),i=t(42521),o=t(71421),s=t(83880);t(5726),t(91088),t(95591),t(87892),t(39185);let d=e=>o.e.sanitizeText(e,(0,o.c)()),r={dividerMargin:10,padding:5,textHeight:10,curve:void 0},c=function(e,l,t,a){let n=Object.keys(e);o.l.info("keys:",n),o.l.info(e),n.forEach(function(n){var i,s;let r=e[n],c={shape:"rect",id:r.id,domId:r.domId,labelText:d(r.id),labelStyle:"",style:"fill: none; stroke: black",padding:(null==(i=(0,o.c)().flowchart)?void 0:i.padding)??(null==(s=(0,o.c)().class)?void 0:s.padding)};l.setNode(r.id,c),b(r.classes,l,t,a,r.id),o.l.info("setNode",c)})},b=function(e,l,t,a,n){let i=Object.keys(e);o.l.info("keys:",i),o.l.info(e),i.filter(l=>e[l].parent==n).forEach(function(t){var i,s;let r=e[t],c=r.cssClasses.join(" "),b={labelStyle:"",style:""},p=r.label??r.id,y={labelStyle:b.labelStyle,shape:"class_box",labelText:d(p),classData:r,rx:0,ry:0,class:c,style:b.style,id:r.id,domId:r.domId,tooltip:a.db.getTooltip(r.id,n)||"",haveCallback:r.haveCallback,link:r.link,width:"group"===r.type?500:void 0,type:r.type,padding:(null==(i=(0,o.c)().flowchart)?void 0:i.padding)??(null==(s=(0,o.c)().class)?void 0:s.padding)};l.setNode(r.id,y),n&&l.setParent(r.id,n),o.l.info("setNode",y)})},p=function(e,l,t,a){o.l.info(e),e.forEach(function(e,i){var s,c;let b={labelStyle:"",style:""},p=e.text,y={labelStyle:b.labelStyle,shape:"note",labelText:d(p),noteData:e,rx:0,ry:0,class:"",style:b.style,id:e.id,domId:e.id,tooltip:"",type:"note",padding:(null==(s=(0,o.c)().flowchart)?void 0:s.padding)??(null==(c=(0,o.c)().class)?void 0:c.padding)};if(l.setNode(e.id,y),o.l.info("setNode",y),!e.class||!(e.class in a))return;let f=t+i,u={id:`edgeNote${f}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,o.n)(r.curve,n.c_6)};l.setEdge(e.id,e.class,u,f)})},y=function(e,l){let t=(0,o.c)().flowchart,a=0;e.forEach(function(e){var i;a++;let s={classes:"relation",pattern:1==e.relation.lineType?"dashed":"solid",id:"id"+a,arrowhead:"arrow_open"===e.type?"none":"normal",startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowTypeStart:u(e.relation.type1),arrowTypeEnd:u(e.relation.type2),style:"fill:none",labelStyle:"",curve:(0,o.n)(null==t?void 0:t.curve,n.c_6)};if(o.l.info(s,e),void 0!==e.style){let l=(0,o.k)(e.style);s.style=l.style,s.labelStyle=l.labelStyle}e.text=e.title,void 0===e.text?void 0!==e.style&&(s.arrowheadStyle="fill: #333"):(s.arrowheadStyle="fill: #333",s.labelpos="c",(null==(i=(0,o.c)().flowchart)?void 0:i.htmlLabels)??(0,o.c)().htmlLabels?(s.labelType="html",s.label=''+e.text+""):(s.labelType="text",s.label=e.text.replace(o.e.lineBreakRegex,"\n"),void 0===e.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),l.setEdge(e.id1,e.id2,s,a)})},f=async function(e,l,t,a){let d;o.l.info("Drawing class - ",l);let r=(0,o.c)().flowchart??(0,o.c)().class,f=(0,o.c)().securityLevel;o.l.info("config:",r);let u=(null==r?void 0:r.nodeSpacing)??50,g=(null==r?void 0:r.rankSpacing)??50,h=new i.k({multigraph:!0,compound:!0}).setGraph({rankdir:a.db.getDirection(),nodesep:u,ranksep:g,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),v=a.db.getNamespaces(),w=a.db.getClasses(),k=a.db.getRelations(),x=a.db.getNotes();o.l.info(k),c(v,h,l,a),b(w,h,l,a),y(k,h),p(x,h,k.length+1,w),"sandbox"===f&&(d=(0,n.Ys)("#i"+l));let m="sandbox"===f?(0,n.Ys)(d.nodes()[0].contentDocument.body):(0,n.Ys)("body"),S=m.select(`[id="${l}"]`),T=m.select("#"+l+" g");if(await (0,s.r)(T,h,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",l),o.u.insertTitle(S,"classTitleText",(null==r?void 0:r.titleTopMargin)??5,a.db.getDiagramTitle()),(0,o.o)(h,S,null==r?void 0:r.diagramPadding,null==r?void 0:r.useMaxWidth),!(null==r?void 0:r.htmlLabels)){let e="sandbox"===f?d.nodes()[0].contentDocument:document;for(let t of e.querySelectorAll('[id="'+l+'"] .edgeLabel .label')){let l=t.getBBox(),a=e.createElementNS("http://www.w3.org/2000/svg","rect");a.setAttribute("rx",0),a.setAttribute("ry",0),a.setAttribute("width",l.width),a.setAttribute("height",l.height),t.insertBefore(a,t.firstChild)}}};function u(e){let l;switch(e){case 0:l="aggregation";break;case 1:l="extension";break;case 2:l="composition";break;case 3:l="dependency";break;case 4:l="lollipop";break;default:l="none"}return l}let g={parser:a.p,db:a.d,renderer:{setConf:function(e){r={...r,...e}},draw:f},styles:a.s,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,a.d.clear()}}}}]); \ No newline at end of file diff --git a/_next/static/chunks/669.0c15831b7605cab6.js b/_next/static/chunks/669.0c15831b7605cab6.js deleted file mode 100644 index 3635275..0000000 --- a/_next/static/chunks/669.0c15831b7605cab6.js +++ /dev/null @@ -1,56 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[669],{22669:function(t,e,i){i.d(e,{diagram:function(){return O}});var n=i(71421),r=i(27509),s=i(3723),a=i(55680),l=i(53596);i(5726),i(91088),i(95591);var o=function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[6,8,10,11,12,14,16,17,20,21],i=[1,9],n=[1,10],r=[1,11],s=[1,12],a=[1,13],l=[1,16],o=[1,17],c={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:function(t,e,i,n,r,s,a){var l=s.length-1;switch(r){case 1:return s[l-1];case 2:case 6:case 7:this.$=[];break;case 3:s[l-1].push(s[l]),this.$=s[l-1];break;case 4:case 5:this.$=s[l];break;case 8:n.getCommonDb().setDiagramTitle(s[l].substr(6)),this.$=s[l].substr(6);break;case 9:this.$=s[l].trim(),n.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=s[l].trim(),n.getCommonDb().setAccDescription(this.$);break;case 12:n.addSection(s[l].substr(8)),this.$=s[l].substr(8);break;case 15:n.addTask(s[l],0,""),this.$=s[l];break;case 16:n.addEvent(s[l].substr(2)),this.$=s[l]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:n,14:r,16:s,17:a,18:14,19:15,20:l,21:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:i,12:n,14:r,16:s,17:a,18:14,19:15,20:l,21:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},parse:function(t){var e=this,i=[0],n=[],r=[null],s=[],a=this.table,l="",o=0,c=0,h=s.slice.call(arguments,1),d=Object.create(this.lexer),u={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(u.yy[p]=this.yy[p]);d.setInput(t,u.yy),u.yy.lexer=d,u.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var y=d.yylloc;s.push(y);var g=d.options&&d.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,m,x,_,b,k,v,w,S={};;){if(m=i[i.length-1],this.defaultActions[m]?x=this.defaultActions[m]:(null==f&&(f=function(){var t;return"number"!=typeof(t=n.pop()||d.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}()),x=a[m]&&a[m][f]),void 0===x||!x.length||!x[0]){var $="";for(b in w=[],a[m])this.terminals_[b]&&b>2&&w.push("'"+this.terminals_[b]+"'");$=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError($,{text:d.match,token:this.terminals_[f]||f,line:d.yylineno,loc:y,expected:w})}if(x[0]instanceof Array&&x.length>1)throw Error("Parse Error: multiple actions possible at state: "+m+", token: "+f);switch(x[0]){case 1:i.push(f),r.push(d.yytext),s.push(d.yylloc),i.push(x[1]),f=null,c=d.yyleng,l=d.yytext,o=d.yylineno,y=d.yylloc;break;case 2:if(k=this.productions_[x[1]][1],S.$=r[r.length-k],S._$={first_line:s[s.length-(k||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(k||1)].first_column,last_column:s[s.length-1].last_column},g&&(S._$.range=[s[s.length-(k||1)].range[0],s[s.length-1].range[1]]),void 0!==(_=this.performAction.apply(S,[l,c,o,u.yy,x[1],r,s].concat(h))))return _;k&&(i=i.slice(0,-1*k*2),r=r.slice(0,-1*k),s=s.slice(0,-1*k)),i.push(this.productions_[x[1]][0]),r.push(S.$),s.push(S._$),v=a[i[i.length-2]][i[i.length-1]],i.push(v);break;case 3:return!0}}return!0}};function h(){this.yy={}}return c.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,n,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in r)this[s]=r[s];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}},h.prototype=c,c.Parser=h,new h}();o.parser=o;let c="",h=0,d=[],u=[],p=[],y=()=>n.K,g=function(){d.length=0,u.length=0,c="",p.length=0,(0,n.t)()},f=function(t){c=t,d.push(t)},m=function(){return d},x=function(){let t=v(),e=0;for(;!t&&e<100;)t=v(),e++;return u.push(...p),u},_=function(t,e,i){let n={id:h++,section:c,type:c,task:t,score:e||0,events:i?[i]:[]};p.push(n)},b=function(t){p.find(t=>t.id===h-1).events.push(t)},k=function(t){let e={section:c,type:c,description:t,task:t,classes:[]};u.push(e)},v=function(){let t=!0;for(let[e,i]of p.entries())p[e].processed,t=t&&i.processed;return t},w=Object.freeze(Object.defineProperty({__proto__:null,addEvent:b,addSection:f,addTask:_,addTaskOrg:k,clear:g,default:{clear:g,getCommonDb:y,addSection:f,getSections:m,getTasks:x,addTask:_,addTaskOrg:k,addEvent:b},getCommonDb:y,getSections:m,getTasks:x},Symbol.toStringTag,{value:"Module"})),S=function(t,e){let i=t.append("rect");return i.attr("x",e.x),i.attr("y",e.y),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("width",e.width),i.attr("height",e.height),i.attr("rx",e.rx),i.attr("ry",e.ry),void 0!==e.class&&i.attr("class",e.class),i},$=function(t,e){let i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),n=t.append("g");return n.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),n.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),e.score>3?function(t){let i=(0,r.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(n):e.score<3?function(t){let i=(0,r.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(n):function(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(n),i},E=function(t,e){let i=e.text.replace(//gi," "),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.attr("class","legend"),n.style("text-anchor",e.anchor),void 0!==e.class&&n.attr("class",e.class);let r=n.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(i),n},I=-1,M=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},N=function(){function t(t,e,i,r,s,a,l,o){n(e.append("text").attr("x",i+s/2).attr("y",r+a/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,i,r,s,a,l,o,c){let{taskFontSize:h,taskFontFamily:d}=o,u=t.split(//gi);for(let t=0;t)/).reverse(),s=[],a=i.attr("y"),l=parseFloat(i.attr("dy")),o=i.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",l+"em");for(let r=0;re||"
"===t)&&(s.pop(),o.text(s.join(" ").trim()),s="
"===t?[""]:[t],o=i.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))})}let L=function(t,e,i){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${-e.height+10} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+i).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},C={drawRect:S,drawCircle:function(t,e){let i=t.append("circle");return i.attr("cx",e.cx),i.attr("cy",e.cy),i.attr("class","actor-"+e.pos),i.attr("fill",e.fill),i.attr("stroke",e.stroke),i.attr("r",e.r),void 0!==i.class&&i.attr("class",i.class),void 0!==e.title&&i.append("title").text(e.title),i},drawSection:function(t,e,i){let n=t.append("g"),r=M();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=i.width,r.height=i.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,S(n,r),N(i)(e.text,n,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},i,e.colour)},drawText:E,drawLabel:function(t,e){var i,n;let r=t.append("polygon");r.attr("points",(i=e.x)+","+(n=e.y)+" "+(i+50)+","+n+" "+(i+50)+","+(n+20-7)+" "+(i+50-8.4)+","+(n+20)+" "+i+","+(n+20)),r.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,E(t,e)},drawTask:function(t,e,i){let n=e.x+i.width/2,r=t.append("g");I++,r.append("line").attr("id","task"+I).attr("x1",n).attr("y1",e.y).attr("x2",n).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),$(r,{cx:n,cy:300+(5-e.score)*30,score:e.score});let s=M();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=i.width,s.height=i.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,S(r,s),e.x,N(i)(e.task,r,s.x,s.y,s.width,s.height,{class:"task"},i,e.colour)},drawBackgroundRect:function(t,e){S(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},getTextObj:function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},getNoteRect:M,initGraphics:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},drawNode:function(t,e,i,n){let r=i%12-1,s=t.append("g");e.section=r,s.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+r);let a=s.append("g"),l=s.append("g"),o=l.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(A,e.width).node().getBBox(),c=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return e.height=o.height+.55*c+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,l.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),L(a,e,r),e},getVirtualNodeHeight:function(t,e,i){let n=t.append("g"),r=n.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(A,e.width).node().getBBox(),s=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return n.remove(),r.height+.55*s+e.padding}},H=function(t,e,i,r,s,a,l,o,c,h,d){var u;for(let o of e){let e={descr:o.task,section:i,number:i,width:150,padding:20,maxHeight:a};n.l.debug("taskNode",e);let p=t.append("g").attr("class","taskWrapper"),y=C.drawNode(p,e,i,l).height;if(n.l.debug("taskHeight after draw",y),p.attr("transform",`translate(${r}, ${s})`),a=Math.max(a,y),o.events){let e=t.append("g").attr("class","lineWrapper");s+=100,P(t,o.events,i,r,s,l),s-=100,e.append("line").attr("x1",r+95).attr("y1",s+a).attr("x2",r+95).attr("y2",s+a+(d?a:h)+c+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}r+=200,d&&!(null==(u=l.timeline)?void 0:u.disableMulticolor)&&i++}},P=function(t,e,i,r,s,a){let l=0,o=s;for(let o of(s+=100,e)){let e={descr:o,section:i,number:i,width:150,padding:20,maxHeight:50};n.l.debug("eventNode",e);let c=t.append("g").attr("class","eventWrapper"),h=C.drawNode(c,e,i,a).height;l+=h,c.attr("transform",`translate(${r}, ${s})`),s=s+10+h}return s=o,l},T=t=>{let e="";for(let e=0;e{},draw:function(t,e,i,s){var a,l;let o;let c=(0,n.c)(),h=c.leftMargin??50;n.l.debug("timeline",s.db);let d=c.securityLevel;"sandbox"===d&&(o=(0,r.Ys)("#i"+e));let u=("sandbox"===d?(0,r.Ys)(o.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);u.append("g");let p=s.db.getTasks(),y=s.db.getCommonDb().getDiagramTitle();n.l.debug("task",p),C.initGraphics(u);let g=s.db.getSections();n.l.debug("sections",g);let f=0,m=0,x=0,_=0,b=50+h,k=50;_=50;let v=0,w=!0;g.forEach(function(t){let e={number:v,descr:t,section:v,width:150,padding:20,maxHeight:f},i=C.getVirtualNodeHeight(u,e,c);n.l.debug("sectionHeight before draw",i),f=Math.max(f,i+20)});let S=0,$=0;for(let[t,e]of(n.l.debug("tasks.length",p.length),p.entries())){let i={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:m},r=C.getVirtualNodeHeight(u,i,c);n.l.debug("taskHeight before draw",r),m=Math.max(m,r+20),S=Math.max(S,e.events.length);let s=0;for(let t=0;t0?g.forEach(t=>{let e=p.filter(e=>e.section===t),i={number:v,descr:t,section:v,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:f};n.l.debug("sectionNode",i);let r=u.append("g"),s=C.drawNode(r,i,v,c);n.l.debug("sectionNode output",s),r.attr("transform",`translate(${b}, ${_})`),k+=f+50,e.length>0&&H(u,e,v,b,k,m,c,S,$,f,!1),b+=200*Math.max(e.length,1),k=_,v++}):(w=!1,H(u,p,v,b,k,m,c,S,$,f,!0));let E=u.node().getBBox();n.l.debug("bounds",E),y&&u.append("text").text(y).attr("x",E.width/2-h).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),x=w?f+m+150:m+100,u.append("g").attr("class","lineWrapper").append("line").attr("x1",h).attr("y1",x).attr("x2",E.width+3*h).attr("y2",x).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,n.o)(void 0,u,(null==(a=c.timeline)?void 0:a.padding)??50,(null==(l=c.timeline)?void 0:l.useMaxWidth)??!1)}},parser:o,styles:t=>` - .edge { - stroke-width: 3; - } - ${T(t)} - .section-root rect, .section-root path, .section-root circle { - fill: ${t.git0}; - } - .section-root text { - fill: ${t.gitBranchLabel0}; - } - .icon-container { - height:100%; - display: flex; - justify-content: center; - align-items: center; - } - .edge { - fill: none; - } - .eventWrapper { - filter: brightness(120%); - } -`}}}]); \ No newline at end of file diff --git a/_next/static/chunks/669.42462a9368a84516.js b/_next/static/chunks/669.42462a9368a84516.js new file mode 100644 index 0000000..8c1be4d --- /dev/null +++ b/_next/static/chunks/669.42462a9368a84516.js @@ -0,0 +1,56 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[669],{22669:function(t,e,i){i.d(e,{diagram:function(){return L}});var n=i(71421),s=i(27509),r=i(3723),a=i(55680),l=i(53596);i(5726),i(91088),i(95591);var o=function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[6,8,10,11,12,14,16,17,20,21],i=[1,9],n=[1,10],s=[1,11],r=[1,12],a=[1,13],l=[1,16],o=[1,17],c={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:function(t,e,i,n,s,r,a){var l=r.length-1;switch(s){case 1:return r[l-1];case 2:case 6:case 7:this.$=[];break;case 3:r[l-1].push(r[l]),this.$=r[l-1];break;case 4:case 5:this.$=r[l];break;case 8:n.getCommonDb().setDiagramTitle(r[l].substr(6)),this.$=r[l].substr(6);break;case 9:this.$=r[l].trim(),n.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=r[l].trim(),n.getCommonDb().setAccDescription(this.$);break;case 12:n.addSection(r[l].substr(8)),this.$=r[l].substr(8);break;case 15:n.addTask(r[l],0,""),this.$=r[l];break;case 16:n.addEvent(r[l].substr(2)),this.$=r[l]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:n,14:s,16:r,17:a,18:14,19:15,20:l,21:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:i,12:n,14:s,16:r,17:a,18:14,19:15,20:l,21:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},parse:function(t){var e=this,i=[0],n=[],s=[null],r=[],a=this.table,l="",o=0,c=0,h=r.slice.call(arguments,1),u=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);u.setInput(t,d.yy),d.yy.lexer=u,d.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var g=u.yylloc;r.push(g);var y=u.options&&u.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,m,_,b,k,x,v,w,$={};;){if(m=i[i.length-1],this.defaultActions[m]?_=this.defaultActions[m]:(null==f&&(f=function(){var t;return"number"!=typeof(t=n.pop()||u.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}()),_=a[m]&&a[m][f]),void 0===_||!_.length||!_[0]){var S="";for(k in w=[],a[m])this.terminals_[k]&&k>2&&w.push("'"+this.terminals_[k]+"'");S=u.showPosition?"Parse error on line "+(o+1)+":\n"+u.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(S,{text:u.match,token:this.terminals_[f]||f,line:u.yylineno,loc:g,expected:w})}if(_[0]instanceof Array&&_.length>1)throw Error("Parse Error: multiple actions possible at state: "+m+", token: "+f);switch(_[0]){case 1:i.push(f),s.push(u.yytext),r.push(u.yylloc),i.push(_[1]),f=null,c=u.yyleng,l=u.yytext,o=u.yylineno,g=u.yylloc;break;case 2:if(x=this.productions_[_[1]][1],$.$=s[s.length-x],$._$={first_line:r[r.length-(x||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(x||1)].first_column,last_column:r[r.length-1].last_column},y&&($._$.range=[r[r.length-(x||1)].range[0],r[r.length-1].range[1]]),void 0!==(b=this.performAction.apply($,[l,c,o,d.yy,_[1],s,r].concat(h))))return b;x&&(i=i.slice(0,-1*x*2),s=s.slice(0,-1*x),r=r.slice(0,-1*x)),i.push(this.productions_[_[1]][0]),s.push($.$),r.push($._$),v=a[i[i.length-2]][i[i.length-1]],i.push(v);break;case 3:return!0}}return!0}};function h(){this.yy={}}return c.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,n,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var r in s)this[r]=s[r];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,n,s=this._currentRules(),r=0;re[0].length)){if(e=i,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,s[r])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}},h.prototype=c,c.Parser=h,new h}();o.parser=o;let c="",h=0,u=[],d=[],p=[],g=()=>n.K,y=function(){u.length=0,d.length=0,c="",p.length=0,(0,n.t)()},f=function(t){c=t,u.push(t)},m=function(){return u},_=function(){let t=v(),e=0;for(;!t&&e<100;)t=v(),e++;return d.push(...p),d},b=function(t,e,i){let n={id:h++,section:c,type:c,task:t,score:e||0,events:i?[i]:[]};p.push(n)},k=function(t){p.find(t=>t.id===h-1).events.push(t)},x=function(t){let e={section:c,type:c,description:t,task:t,classes:[]};d.push(e)},v=function(){let t=!0;for(let[e,i]of p.entries())p[e].processed,t=t&&i.processed;return t},w=Object.freeze(Object.defineProperty({__proto__:null,addEvent:k,addSection:f,addTask:b,addTaskOrg:x,clear:y,default:{clear:y,getCommonDb:g,addSection:f,getSections:m,getTasks:_,addTask:b,addTaskOrg:x,addEvent:k},getCommonDb:g,getSections:m,getTasks:_},Symbol.toStringTag,{value:"Module"}));function $(t,e){t.each(function(){var t,i=(0,s.Ys)(this),n=i.text().split(/(\s+|
)/).reverse(),r=[],a=i.attr("y"),l=parseFloat(i.attr("dy")),o=i.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",l+"em");for(let s=0;se||"
"===t)&&(r.pop(),o.text(r.join(" ").trim()),r="
"===t?[""]:[t],o=i.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))})}!function(){function t(t,e){for(let i in e)i in e&&t.attr(i,e[i])}}();let S=function(t,e,i){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${-e.height+10} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+i).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},E={initGraphics:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},drawNode:function(t,e,i,n){let s=i%12-1,r=t.append("g");e.section=s,r.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+s);let a=r.append("g"),l=r.append("g"),o=l.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call($,e.width).node().getBBox(),c=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return e.height=o.height+.55*c+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,l.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),S(a,e,s),e},getVirtualNodeHeight:function(t,e,i){let n=t.append("g"),s=n.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call($,e.width).node().getBBox(),r=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return n.remove(),s.height+.55*r+e.padding}},I=function(t,e,i,s,r,a,l,o,c,h,u){var d;for(let o of e){let e={descr:o.task,section:i,number:i,width:150,padding:20,maxHeight:a};n.l.debug("taskNode",e);let p=t.append("g").attr("class","taskWrapper"),g=E.drawNode(p,e,i,l).height;if(n.l.debug("taskHeight after draw",g),p.attr("transform",`translate(${s}, ${r})`),a=Math.max(a,g),o.events){let e=t.append("g").attr("class","lineWrapper");r+=100,N(t,o.events,i,s,r,l),r-=100,e.append("line").attr("x1",s+95).attr("y1",r+a).attr("x2",s+95).attr("y2",r+a+(u?a:h)+c+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}s+=200,u&&!(null==(d=l.timeline)?void 0:d.disableMulticolor)&&i++}},N=function(t,e,i,s,r,a){let l=0,o=r;for(let o of(r+=100,e)){let e={descr:o,section:i,number:i,width:150,padding:20,maxHeight:50};n.l.debug("eventNode",e);let c=t.append("g").attr("class","eventWrapper"),h=E.drawNode(c,e,i,a).height;l+=h,c.attr("transform",`translate(${s}, ${r})`),r=r+10+h}return r=o,l},H=t=>{let e="";for(let e=0;e{},draw:function(t,e,i,r){var a,l;let o;let c=(0,n.c)(),h=c.leftMargin??50;n.l.debug("timeline",r.db);let u=c.securityLevel;"sandbox"===u&&(o=(0,s.Ys)("#i"+e));let d=("sandbox"===u?(0,s.Ys)(o.nodes()[0].contentDocument.body):(0,s.Ys)("body")).select("#"+e);d.append("g");let p=r.db.getTasks(),g=r.db.getCommonDb().getDiagramTitle();n.l.debug("task",p),E.initGraphics(d);let y=r.db.getSections();n.l.debug("sections",y);let f=0,m=0,_=0,b=0,k=50+h,x=50;b=50;let v=0,w=!0;y.forEach(function(t){let e={number:v,descr:t,section:v,width:150,padding:20,maxHeight:f},i=E.getVirtualNodeHeight(d,e,c);n.l.debug("sectionHeight before draw",i),f=Math.max(f,i+20)});let $=0,S=0;for(let[t,e]of(n.l.debug("tasks.length",p.length),p.entries())){let i={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:m},s=E.getVirtualNodeHeight(d,i,c);n.l.debug("taskHeight before draw",s),m=Math.max(m,s+20),$=Math.max($,e.events.length);let r=0;for(let t=0;t0?y.forEach(t=>{let e=p.filter(e=>e.section===t),i={number:v,descr:t,section:v,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:f};n.l.debug("sectionNode",i);let s=d.append("g"),r=E.drawNode(s,i,v,c);n.l.debug("sectionNode output",r),s.attr("transform",`translate(${k}, ${b})`),x+=f+50,e.length>0&&I(d,e,v,k,x,m,c,$,S,f,!1),k+=200*Math.max(e.length,1),x=b,v++}):(w=!1,I(d,p,v,k,x,m,c,$,S,f,!0));let N=d.node().getBBox();n.l.debug("bounds",N),g&&d.append("text").text(g).attr("x",N.width/2-h).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),_=w?f+m+150:m+100,d.append("g").attr("class","lineWrapper").append("line").attr("x1",h).attr("y1",_).attr("x2",N.width+3*h).attr("y2",_).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,n.o)(void 0,d,(null==(a=c.timeline)?void 0:a.padding)??50,(null==(l=c.timeline)?void 0:l.useMaxWidth)??!1)}},parser:o,styles:t=>` + .edge { + stroke-width: 3; + } + ${H(t)} + .section-root rect, .section-root path, .section-root circle { + fill: ${t.git0}; + } + .section-root text { + fill: ${t.gitBranchLabel0}; + } + .icon-container { + height:100%; + display: flex; + justify-content: center; + align-items: center; + } + .edge { + fill: none; + } + .eventWrapper { + filter: brightness(120%); + } +`}}}]); \ No newline at end of file diff --git a/_next/static/chunks/697.fc93659820c3842d.js b/_next/static/chunks/697.8125fa5681e09a0d.js similarity index 80% rename from _next/static/chunks/697.fc93659820c3842d.js rename to _next/static/chunks/697.8125fa5681e09a0d.js index 63c4230..2022cd0 100644 --- a/_next/static/chunks/697.fc93659820c3842d.js +++ b/_next/static/chunks/697.8125fa5681e09a0d.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[697],{22697:function(t,e,i){i.d(e,{diagram:function(){return p}});var s=i(71421),n=i(27509);i(5726),i(91088),i(95591);var r=function(){var t=function(t,e,i,s){for(i=i||{},s=t.length;s--;i[t[s]]=e);return i},e=[1,3],i=[1,4],s=[1,5],n=[1,6],r=[1,10,12,14,16,18,19,20,21,22],l=[2,4],a=[1,5,10,12,14,16,18,19,20,21,22],c=[20,21,22],o=[2,7],h=[1,12],u=[1,13],y=[1,14],p=[1,15],d=[1,16],g=[1,17],f={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,e,i,s,n,r,l){var a=r.length-1;switch(n){case 3:s.setShowData(!0);break;case 6:this.$=r[a-1];break;case 8:s.addSection(r[a-1],s.cleanupValue(r[a]));break;case 9:this.$=r[a].trim(),s.setDiagramTitle(this.$);break;case 10:this.$=r[a].trim(),s.setAccTitle(this.$);break;case 11:case 12:this.$=r[a].trim(),s.setAccDescription(this.$);break;case 13:s.addSection(r[a].substr(8)),this.$=r[a].substr(8)}},table:[{3:1,4:2,5:e,20:i,21:s,22:n},{1:[3]},{3:7,4:2,5:e,20:i,21:s,22:n},t(r,l,{6:8,7:[1,9]}),t(a,[2,14]),t(a,[2,15]),t(a,[2,16]),{1:[2,1]},t(c,o,{8:10,9:11,1:[2,2],10:h,12:u,14:y,16:p,18:d,19:g}),t(r,l,{6:18}),t(r,[2,5]),{4:19,20:i,21:s,22:n},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},t(c,[2,12]),t(c,[2,13]),t(c,o,{8:10,9:11,1:[2,3],10:h,12:u,14:y,16:p,18:d,19:g}),t(r,[2,6]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},parse:function(t){var e=this,i=[0],s=[],n=[null],r=[],l=this.table,a="",c=0,o=0,h=r.slice.call(arguments,1),u=Object.create(this.lexer),y={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(y.yy[p]=this.yy[p]);u.setInput(t,y.yy),y.yy.lexer=u,y.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var d=u.yylloc;r.push(d);var g=u.options&&u.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,_,m,k,b,x,v,S,$={};;){if(_=i[i.length-1],this.defaultActions[_]?m=this.defaultActions[_]:(null==f&&(f=function(){var t;return"number"!=typeof(t=s.pop()||u.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}()),m=l[_]&&l[_][f]),void 0===m||!m.length||!m[0]){var w="";for(b in S=[],l[_])this.terminals_[b]&&b>2&&S.push("'"+this.terminals_[b]+"'");w=u.showPosition?"Parse error on line "+(c+1)+":\n"+u.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(w,{text:u.match,token:this.terminals_[f]||f,line:u.yylineno,loc:d,expected:S})}if(m[0]instanceof Array&&m.length>1)throw Error("Parse Error: multiple actions possible at state: "+_+", token: "+f);switch(m[0]){case 1:i.push(f),n.push(u.yytext),r.push(u.yylloc),i.push(m[1]),f=null,o=u.yyleng,a=u.yytext,c=u.yylineno,d=u.yylloc;break;case 2:if(x=this.productions_[m[1]][1],$.$=n[n.length-x],$._$={first_line:r[r.length-(x||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(x||1)].first_column,last_column:r[r.length-1].last_column},g&&($._$.range=[r[r.length-(x||1)].range[0],r[r.length-1].range[1]]),void 0!==(k=this.performAction.apply($,[a,o,c,y.yy,m[1],n,r].concat(h))))return k;x&&(i=i.slice(0,-1*x*2),n=n.slice(0,-1*x),r=r.slice(0,-1*x)),i.push(this.productions_[m[1]][0]),n.push($.$),r.push($._$),v=l[i[i.length-2]][i[i.length-1]],i.push(v);break;case 3:return!0}}return!0}};function _(){this.yy={}}return f.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,s,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var r in n)this[r]=n[r];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,s,n=this._currentRules(),r=0;re[0].length)){if(e=i,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[r])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,s){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 20;case 5:return this.begin("title"),12;case 6:return this.popState(),"title_value";case 7:return this.begin("acc_title"),14;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),16;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"txt";case 17:return 5;case 18:return 7;case 19:return"value";case 20:return 22}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[6],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,7,9,11,14,17,18,19,20],inclusive:!0}}},_.prototype=f,f.Parser=_,new _}();r.parser=r;let l=s.A.pie,a={sections:{},showData:!1},c=a.sections,o=a.showData,h=structuredClone(l),u={getConfig:()=>structuredClone(h),clear:()=>{c=structuredClone(a.sections),o=a.showData,(0,s.t)()},setDiagramTitle:s.q,getDiagramTitle:s.r,setAccTitle:s.s,getAccTitle:s.g,setAccDescription:s.b,getAccDescription:s.a,addSection:(t,e)=>{void 0===c[t=(0,s.d)(t,(0,s.c)())]&&(c[t]=e,s.l.debug(`added new section: ${t}, with value: ${e}`))},getSections:()=>c,cleanupValue:t=>(":"===t.substring(0,1)&&(t=t.substring(1).trim()),Number(t.trim())),setShowData:t=>{o=t},getShowData:()=>o},y=t=>{let e=Object.entries(t).map(t=>({label:t[0],value:t[1]})).sort((t,e)=>e.value-t.value);return(0,n.ve8)().value(t=>t.value)(e)},p={parser:r,db:u,renderer:{draw:(t,e,i,r)=>{var l,a;s.l.debug("rendering pie chart\n"+t);let c=r.db,o=(0,s.c)(),h=(0,s.B)(c.getConfig(),o.pie),u=(null==(a=null==(l=document.getElementById(e))?void 0:l.parentElement)?void 0:a.offsetWidth)??h.useWidth,p=(0,s.z)(e);p.attr("viewBox",`0 0 ${u} 450`),(0,s.i)(p,450,u,h.useMaxWidth);let d=p.append("g");d.attr("transform","translate("+u/2+",225)");let{themeVariables:g}=o,[f]=(0,s.C)(g.pieOuterStrokeWidth);f??(f=2);let _=h.textPosition,m=Math.min(u,450)/2-40,k=(0,n.Nb1)().innerRadius(0).outerRadius(m),b=(0,n.Nb1)().innerRadius(m*_).outerRadius(m*_);d.append("circle").attr("cx",0).attr("cy",0).attr("r",m+f/2).attr("class","pieOuterCircle");let x=c.getSections(),v=y(x),S=[g.pie1,g.pie2,g.pie3,g.pie4,g.pie5,g.pie6,g.pie7,g.pie8,g.pie9,g.pie10,g.pie11,g.pie12],$=(0,n.PKp)(S);d.selectAll("mySlices").data(v).enter().append("path").attr("d",k).attr("fill",t=>$(t.data.label)).attr("class","pieCircle");let w=0;Object.keys(x).forEach(t=>{w+=x[t]}),d.selectAll("mySlices").data(v).enter().append("text").text(t=>(t.data.value/w*100).toFixed(0)+"%").attr("transform",t=>"translate("+b.centroid(t)+")").style("text-anchor","middle").attr("class","slice"),d.append("text").text(c.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");let E=d.selectAll(".legend").data($.domain()).enter().append("g").attr("class","legend").attr("transform",(t,e)=>"translate(216,"+(22*e-22*$.domain().length/2)+")");E.append("rect").attr("width",18).attr("height",18).style("fill",$).style("stroke",$),E.data(v).append("text").attr("x",22).attr("y",14).text(t=>{let{label:e,value:i}=t.data;return c.getShowData()?`${e} [${i}]`:e})}},styles:t=>` +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[697],{22697:function(t,e,i){i.d(e,{diagram:function(){return p}});var s=i(71421),n=i(27509);i(5726),i(91088),i(95591);var r=function(){var t=function(t,e,i,s){for(i=i||{},s=t.length;s--;i[t[s]]=e);return i},e=[1,3],i=[1,4],s=[1,5],n=[1,6],r=[1,10,12,14,16,18,19,20,21,22],l=[2,4],a=[1,5,10,12,14,16,18,19,20,21,22],c=[20,21,22],o=[2,7],h=[1,12],u=[1,13],y=[1,14],p=[1,15],d=[1,16],g=[1,17],f={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,e,i,s,n,r,l){var a=r.length-1;switch(n){case 3:s.setShowData(!0);break;case 6:this.$=r[a-1];break;case 8:s.addSection(r[a-1],s.cleanupValue(r[a]));break;case 9:this.$=r[a].trim(),s.setDiagramTitle(this.$);break;case 10:this.$=r[a].trim(),s.setAccTitle(this.$);break;case 11:case 12:this.$=r[a].trim(),s.setAccDescription(this.$);break;case 13:s.addSection(r[a].substr(8)),this.$=r[a].substr(8)}},table:[{3:1,4:2,5:e,20:i,21:s,22:n},{1:[3]},{3:7,4:2,5:e,20:i,21:s,22:n},t(r,l,{6:8,7:[1,9]}),t(a,[2,14]),t(a,[2,15]),t(a,[2,16]),{1:[2,1]},t(c,o,{8:10,9:11,1:[2,2],10:h,12:u,14:y,16:p,18:d,19:g}),t(r,l,{6:18}),t(r,[2,5]),{4:19,20:i,21:s,22:n},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},t(c,[2,12]),t(c,[2,13]),t(c,o,{8:10,9:11,1:[2,3],10:h,12:u,14:y,16:p,18:d,19:g}),t(r,[2,6]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},parse:function(t){var e=this,i=[0],s=[],n=[null],r=[],l=this.table,a="",c=0,o=0,h=r.slice.call(arguments,1),u=Object.create(this.lexer),y={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(y.yy[p]=this.yy[p]);u.setInput(t,y.yy),y.yy.lexer=u,y.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var d=u.yylloc;r.push(d);var g=u.options&&u.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,_,m,k,b,x,v,S,$={};;){if(_=i[i.length-1],this.defaultActions[_]?m=this.defaultActions[_]:(null==f&&(f=function(){var t;return"number"!=typeof(t=s.pop()||u.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}()),m=l[_]&&l[_][f]),void 0===m||!m.length||!m[0]){var E="";for(b in S=[],l[_])this.terminals_[b]&&b>2&&S.push("'"+this.terminals_[b]+"'");E=u.showPosition?"Parse error on line "+(c+1)+":\n"+u.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(E,{text:u.match,token:this.terminals_[f]||f,line:u.yylineno,loc:d,expected:S})}if(m[0]instanceof Array&&m.length>1)throw Error("Parse Error: multiple actions possible at state: "+_+", token: "+f);switch(m[0]){case 1:i.push(f),n.push(u.yytext),r.push(u.yylloc),i.push(m[1]),f=null,o=u.yyleng,a=u.yytext,c=u.yylineno,d=u.yylloc;break;case 2:if(x=this.productions_[m[1]][1],$.$=n[n.length-x],$._$={first_line:r[r.length-(x||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(x||1)].first_column,last_column:r[r.length-1].last_column},g&&($._$.range=[r[r.length-(x||1)].range[0],r[r.length-1].range[1]]),void 0!==(k=this.performAction.apply($,[a,o,c,y.yy,m[1],n,r].concat(h))))return k;x&&(i=i.slice(0,-1*x*2),n=n.slice(0,-1*x),r=r.slice(0,-1*x)),i.push(this.productions_[m[1]][0]),n.push($.$),r.push($._$),v=l[i[i.length-2]][i[i.length-1]],i.push(v);break;case 3:return!0}}return!0}};function _(){this.yy={}}return f.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,s,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var r in n)this[r]=n[r];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,s,n=this._currentRules(),r=0;re[0].length)){if(e=i,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[r])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,s){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 20;case 5:return this.begin("title"),12;case 6:return this.popState(),"title_value";case 7:return this.begin("acc_title"),14;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),16;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"txt";case 17:return 5;case 18:return 7;case 19:return"value";case 20:return 22}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[6],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,7,9,11,14,17,18,19,20],inclusive:!0}}},_.prototype=f,f.Parser=_,new _}();r.parser=r;let l=s.A.pie,a={},c=a,o=!1,h=structuredClone(l),u={getConfig:()=>structuredClone(h),clear:()=>{c=structuredClone(a),o=!1,(0,s.t)()},setDiagramTitle:s.q,getDiagramTitle:s.r,setAccTitle:s.s,getAccTitle:s.g,setAccDescription:s.b,getAccDescription:s.a,addSection:(t,e)=>{void 0===c[t=(0,s.d)(t,(0,s.c)())]&&(c[t]=e,s.l.debug(`added new section: ${t}, with value: ${e}`))},getSections:()=>c,cleanupValue:t=>(":"===t.substring(0,1)&&(t=t.substring(1).trim()),Number(t.trim())),setShowData:t=>{o=t},getShowData:()=>o},y=t=>{let e=Object.entries(t).map(t=>({label:t[0],value:t[1]})).sort((t,e)=>e.value-t.value);return(0,n.ve8)().value(t=>t.value)(e)},p={parser:r,db:u,renderer:{draw:(t,e,i,r)=>{var l,a;s.l.debug("rendering pie chart\n"+t);let c=r.db,o=(0,s.c)(),h=(0,s.B)(c.getConfig(),o.pie),u=(null==(a=null==(l=document.getElementById(e))?void 0:l.parentElement)?void 0:a.offsetWidth)??h.useWidth,p=(0,s.z)(e);p.attr("viewBox",`0 0 ${u} 450`),(0,s.i)(p,450,u,h.useMaxWidth);let d=p.append("g");d.attr("transform","translate("+u/2+",225)");let{themeVariables:g}=o,[f]=(0,s.C)(g.pieOuterStrokeWidth);f??(f=2);let _=h.textPosition,m=Math.min(u,450)/2-40,k=(0,n.Nb1)().innerRadius(0).outerRadius(m),b=(0,n.Nb1)().innerRadius(m*_).outerRadius(m*_);d.append("circle").attr("cx",0).attr("cy",0).attr("r",m+f/2).attr("class","pieOuterCircle");let x=c.getSections(),v=y(x),S=[g.pie1,g.pie2,g.pie3,g.pie4,g.pie5,g.pie6,g.pie7,g.pie8,g.pie9,g.pie10,g.pie11,g.pie12],$=(0,n.PKp)(S);d.selectAll("mySlices").data(v).enter().append("path").attr("d",k).attr("fill",t=>$(t.data.label)).attr("class","pieCircle");let E=0;Object.keys(x).forEach(t=>{E+=x[t]}),d.selectAll("mySlices").data(v).enter().append("text").text(t=>(t.data.value/E*100).toFixed(0)+"%").attr("transform",t=>"translate("+b.centroid(t)+")").style("text-anchor","middle").attr("class","slice"),d.append("text").text(c.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");let w=d.selectAll(".legend").data($.domain()).enter().append("g").attr("class","legend").attr("transform",(t,e)=>"translate(216,"+(22*e-22*$.domain().length/2)+")");w.append("rect").attr("width",18).attr("height",18).style("fill",$).style("stroke",$),w.data(v).append("text").attr("x",22).attr("y",14).text(t=>{let{label:e,value:i}=t.data;return c.getShowData()?`${e} [${i}]`:e})}},styles:t=>` .pieCircle{ stroke: ${t.pieStrokeColor}; stroke-width : ${t.pieStrokeWidth}; diff --git a/_next/static/chunks/744.801eb33e38bfe157.js b/_next/static/chunks/744.a2f76430cc0e3456.js similarity index 99% rename from _next/static/chunks/744.801eb33e38bfe157.js rename to _next/static/chunks/744.a2f76430cc0e3456.js index 76de4aa..24b7e49 100644 --- a/_next/static/chunks/744.801eb33e38bfe157.js +++ b/_next/static/chunks/744.a2f76430cc0e3456.js @@ -1,4 +1,4 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[744],{37744:function(t,e,i){i.d(e,{diagram:function(){return A}});var r=i(71421),n=i(27509),s=i(87892),a=i(42521);i(5726),i(91088),i(95591);var l=function(){var t=function(t,e,i,r){for(i=i||{},r=t.length;r--;i[t[r]]=e);return i},e=[1,3],i=[1,4],r=[1,5],n=[1,6],s=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],a=[1,18],l=[2,7],h=[1,22],c=[1,23],o=[1,24],u=[1,25],y=[1,26],d=[1,27],p=[1,20],_=[1,28],E=[1,29],g=[62,63],R=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],f=[1,47],m=[1,48],I=[1,49],b=[1,50],k=[1,51],S=[1,52],T=[1,53],N=[53,54],x=[1,64],A=[1,60],v=[1,61],q=[1,62],$=[1,63],O=[1,65],w=[1,69],C=[1,70],L=[1,67],F=[1,68],M=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],D={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(t,e,i,r,n,s,a){var l=s.length-1;switch(n){case 4:this.$=s[l].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[l].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[l-3],s[l-4]);break;case 14:r.setNewReqId(s[l-2]);break;case 15:r.setNewReqText(s[l-2]);break;case 16:r.setNewReqRisk(s[l-2]);break;case 17:r.setNewReqVerifyMethod(s[l-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[l-3]);break;case 34:r.setNewElementType(s[l-2]);break;case 35:r.setNewElementDocRef(s[l-2]);break;case 38:r.addRelationship(s[l-2],s[l],s[l-4]);break;case 39:r.addRelationship(s[l-2],s[l-4],s[l]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES}},table:[{3:1,4:2,6:e,9:i,11:r,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:e,9:i,11:r,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},t(s,[2,6]),{3:12,4:2,6:e,9:i,11:r,13:n},{1:[2,2]},{4:17,5:a,7:13,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},t(s,[2,4]),t(s,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:a,7:31,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:32,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:33,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:34,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:35,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},t(g,[2,20]),t(g,[2,21]),t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),t(R,[2,49]),t(R,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:f,56:m,57:I,58:b,59:k,60:S,61:T},{52:54,55:f,56:m,57:I,58:b,59:k,60:S,61:T},{5:[1,55]},{5:[1,56]},{53:[1,57]},t(N,[2,40]),t(N,[2,41]),t(N,[2,42]),t(N,[2,43]),t(N,[2,44]),t(N,[2,45]),t(N,[2,46]),{54:[1,58]},{5:x,20:59,21:A,24:v,26:q,28:$,30:O},{5:w,30:C,46:66,47:L,49:F},{23:71,62:_,63:E},{23:72,62:_,63:E},t(M,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:x,20:77,21:A,24:v,26:q,28:$,30:O},t(M,[2,19]),t(M,[2,33]),{22:[1,78]},{22:[1,79]},{5:w,30:C,46:80,47:L,49:F},t(M,[2,37]),t(M,[2,38]),t(M,[2,39]),{23:81,62:_,63:E},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},t(M,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},t(M,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:x,20:106,21:A,24:v,26:q,28:$,30:O},{5:x,20:107,21:A,24:v,26:q,28:$,30:O},{5:x,20:108,21:A,24:v,26:q,28:$,30:O},{5:x,20:109,21:A,24:v,26:q,28:$,30:O},{5:w,30:C,46:110,47:L,49:F},{5:w,30:C,46:111,47:L,49:F},t(M,[2,14]),t(M,[2,15]),t(M,[2,16]),t(M,[2,17]),t(M,[2,34]),t(M,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},parse:function(t){var e=this,i=[0],r=[],n=[null],s=[],a=this.table,l="",h=0,c=0,o=s.slice.call(arguments,1),u=Object.create(this.lexer),y={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(y.yy[d]=this.yy[d]);u.setInput(t,y.yy),y.yy.lexer=u,y.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var p=u.yylloc;s.push(p);var _=u.options&&u.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var E,g,R,f,m,I,b,k,S={};;){if(g=i[i.length-1],this.defaultActions[g]?R=this.defaultActions[g]:(null==E&&(E=function(){var t;return"number"!=typeof(t=r.pop()||u.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),R=a[g]&&a[g][E]),void 0===R||!R.length||!R[0]){var T="";for(m in k=[],a[g])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=u.showPosition?"Parse error on line "+(h+1)+":\n"+u.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[E]||E)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==E?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(T,{text:u.match,token:this.terminals_[E]||E,line:u.yylineno,loc:p,expected:k})}if(R[0]instanceof Array&&R.length>1)throw Error("Parse Error: multiple actions possible at state: "+g+", token: "+E);switch(R[0]){case 1:i.push(E),n.push(u.yytext),s.push(u.yylloc),i.push(R[1]),E=null,c=u.yyleng,l=u.yytext,h=u.yylineno,p=u.yylloc;break;case 2:if(I=this.productions_[R[1]][1],S.$=n[n.length-I],S._$={first_line:s[s.length-(I||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(I||1)].first_column,last_column:s[s.length-1].last_column},_&&(S._$.range=[s[s.length-(I||1)].range[0],s[s.length-1].range[1]]),void 0!==(f=this.performAction.apply(S,[l,c,h,y.yy,R[1],n,s].concat(o))))return f;I&&(i=i.slice(0,-1*I*2),n=n.slice(0,-1*I),s=s.slice(0,-1*I)),i.push(this.productions_[R[1]][0]),n.push(S.$),s.push(S._$),b=a[i[i.length-2]][i[i.length-1]],i.push(b);break;case 3:return!0}}return!0}};function P(){this.yy={}}return D.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in n)this[s]=n[s];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,r,n=this._currentRules(),s=0;se[0].length)){if(e=i,r=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,r){switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 48:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:case 10:case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 49:return"qString";case 50:return e.yytext=e.yytext.trim(),62}},rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,50],inclusive:!0}}},P.prototype=D,D.Parser=P,new P}();l.parser=l;let h=[],c={},o={},u={},y={},d={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},getConfig:()=>(0,r.c)().req,addRequirement:(t,e)=>(void 0===o[t]&&(o[t]={name:t,type:e,id:c.id,text:c.text,risk:c.risk,verifyMethod:c.verifyMethod}),c={},o[t]),getRequirements:()=>o,setNewReqId:t=>{void 0!==c&&(c.id=t)},setNewReqText:t=>{void 0!==c&&(c.text=t)},setNewReqRisk:t=>{void 0!==c&&(c.risk=t)},setNewReqVerifyMethod:t=>{void 0!==c&&(c.verifyMethod=t)},setAccTitle:r.s,getAccTitle:r.g,setAccDescription:r.b,getAccDescription:r.a,addElement:t=>(void 0===y[t]&&(y[t]={name:t,type:u.type,docRef:u.docRef},r.l.info("Added new requirement: ",t)),u={},y[t]),getElements:()=>y,setNewElementType:t=>{void 0!==u&&(u.type=t)},setNewElementDocRef:t=>{void 0!==u&&(u.docRef=t)},addRelationship:(t,e,i)=>{h.push({type:t,src:e,dst:i})},getRelationships:()=>h,clear:()=>{h=[],c={},o={},u={},y={},(0,r.t)()}},p={CONTAINS:"contains",ARROW:"arrow"},_={ReqMarkers:p,insertLineEndings:(t,e)=>{let i=t.append("defs").append("marker").attr("id",p.CONTAINS+"_line_ending").attr("refX",0).attr("refY",e.line_height/2).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("g");i.append("circle").attr("cx",e.line_height/2).attr("cy",e.line_height/2).attr("r",e.line_height/2).attr("fill","none"),i.append("line").attr("x1",0).attr("x2",e.line_height).attr("y1",e.line_height/2).attr("y2",e.line_height/2).attr("stroke-width",1),i.append("line").attr("y1",0).attr("y2",e.line_height).attr("x1",e.line_height/2).attr("x2",e.line_height/2).attr("stroke-width",1),t.append("defs").append("marker").attr("id",p.ARROW+"_line_ending").attr("refX",e.line_height).attr("refY",.5*e.line_height).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("path").attr("d",`M0,0 +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[744],{37744:function(t,e,i){i.d(e,{diagram:function(){return A}});var r=i(71421),n=i(27509),s=i(42296),a=i(42521);i(5726),i(91088),i(95591);var l=function(){var t=function(t,e,i,r){for(i=i||{},r=t.length;r--;i[t[r]]=e);return i},e=[1,3],i=[1,4],r=[1,5],n=[1,6],s=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],a=[1,18],l=[2,7],h=[1,22],c=[1,23],o=[1,24],u=[1,25],y=[1,26],d=[1,27],p=[1,20],_=[1,28],E=[1,29],g=[62,63],R=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],f=[1,47],m=[1,48],I=[1,49],b=[1,50],k=[1,51],S=[1,52],T=[1,53],N=[53,54],x=[1,64],A=[1,60],v=[1,61],q=[1,62],$=[1,63],O=[1,65],w=[1,69],C=[1,70],L=[1,67],F=[1,68],M=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],D={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(t,e,i,r,n,s,a){var l=s.length-1;switch(n){case 4:this.$=s[l].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[l].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[l-3],s[l-4]);break;case 14:r.setNewReqId(s[l-2]);break;case 15:r.setNewReqText(s[l-2]);break;case 16:r.setNewReqRisk(s[l-2]);break;case 17:r.setNewReqVerifyMethod(s[l-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[l-3]);break;case 34:r.setNewElementType(s[l-2]);break;case 35:r.setNewElementDocRef(s[l-2]);break;case 38:r.addRelationship(s[l-2],s[l],s[l-4]);break;case 39:r.addRelationship(s[l-2],s[l-4],s[l]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES}},table:[{3:1,4:2,6:e,9:i,11:r,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:e,9:i,11:r,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},t(s,[2,6]),{3:12,4:2,6:e,9:i,11:r,13:n},{1:[2,2]},{4:17,5:a,7:13,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},t(s,[2,4]),t(s,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:a,7:31,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:32,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:33,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:34,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:35,8:l,9:i,11:r,13:n,14:14,15:15,16:16,17:19,23:21,31:h,32:c,33:o,34:u,35:y,36:d,44:p,62:_,63:E},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},t(g,[2,20]),t(g,[2,21]),t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),t(R,[2,49]),t(R,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:f,56:m,57:I,58:b,59:k,60:S,61:T},{52:54,55:f,56:m,57:I,58:b,59:k,60:S,61:T},{5:[1,55]},{5:[1,56]},{53:[1,57]},t(N,[2,40]),t(N,[2,41]),t(N,[2,42]),t(N,[2,43]),t(N,[2,44]),t(N,[2,45]),t(N,[2,46]),{54:[1,58]},{5:x,20:59,21:A,24:v,26:q,28:$,30:O},{5:w,30:C,46:66,47:L,49:F},{23:71,62:_,63:E},{23:72,62:_,63:E},t(M,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:x,20:77,21:A,24:v,26:q,28:$,30:O},t(M,[2,19]),t(M,[2,33]),{22:[1,78]},{22:[1,79]},{5:w,30:C,46:80,47:L,49:F},t(M,[2,37]),t(M,[2,38]),t(M,[2,39]),{23:81,62:_,63:E},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},t(M,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},t(M,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:x,20:106,21:A,24:v,26:q,28:$,30:O},{5:x,20:107,21:A,24:v,26:q,28:$,30:O},{5:x,20:108,21:A,24:v,26:q,28:$,30:O},{5:x,20:109,21:A,24:v,26:q,28:$,30:O},{5:w,30:C,46:110,47:L,49:F},{5:w,30:C,46:111,47:L,49:F},t(M,[2,14]),t(M,[2,15]),t(M,[2,16]),t(M,[2,17]),t(M,[2,34]),t(M,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},parse:function(t){var e=this,i=[0],r=[],n=[null],s=[],a=this.table,l="",h=0,c=0,o=s.slice.call(arguments,1),u=Object.create(this.lexer),y={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(y.yy[d]=this.yy[d]);u.setInput(t,y.yy),y.yy.lexer=u,y.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var p=u.yylloc;s.push(p);var _=u.options&&u.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var E,g,R,f,m,I,b,k,S={};;){if(g=i[i.length-1],this.defaultActions[g]?R=this.defaultActions[g]:(null==E&&(E=function(){var t;return"number"!=typeof(t=r.pop()||u.lex()||1)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}()),R=a[g]&&a[g][E]),void 0===R||!R.length||!R[0]){var T="";for(m in k=[],a[g])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=u.showPosition?"Parse error on line "+(h+1)+":\n"+u.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[E]||E)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==E?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(T,{text:u.match,token:this.terminals_[E]||E,line:u.yylineno,loc:p,expected:k})}if(R[0]instanceof Array&&R.length>1)throw Error("Parse Error: multiple actions possible at state: "+g+", token: "+E);switch(R[0]){case 1:i.push(E),n.push(u.yytext),s.push(u.yylloc),i.push(R[1]),E=null,c=u.yyleng,l=u.yytext,h=u.yylineno,p=u.yylloc;break;case 2:if(I=this.productions_[R[1]][1],S.$=n[n.length-I],S._$={first_line:s[s.length-(I||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(I||1)].first_column,last_column:s[s.length-1].last_column},_&&(S._$.range=[s[s.length-(I||1)].range[0],s[s.length-1].range[1]]),void 0!==(f=this.performAction.apply(S,[l,c,h,y.yy,R[1],n,s].concat(o))))return f;I&&(i=i.slice(0,-1*I*2),n=n.slice(0,-1*I),s=s.slice(0,-1*I)),i.push(this.productions_[R[1]][0]),n.push(S.$),s.push(S._$),b=a[i[i.length-2]][i[i.length-1]],i.push(b);break;case 3:return!0}}return!0}};function P(){this.yy={}}return D.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,r,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in n)this[s]=n[s];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,r,n=this._currentRules(),s=0;se[0].length)){if(e=i,r=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,r){switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 48:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:case 10:case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 49:return"qString";case 50:return e.yytext=e.yytext.trim(),62}},rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,50],inclusive:!0}}},P.prototype=D,D.Parser=P,new P}();l.parser=l;let h=[],c={},o={},u={},y={},d={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},getConfig:()=>(0,r.c)().req,addRequirement:(t,e)=>(void 0===o[t]&&(o[t]={name:t,type:e,id:c.id,text:c.text,risk:c.risk,verifyMethod:c.verifyMethod}),c={},o[t]),getRequirements:()=>o,setNewReqId:t=>{void 0!==c&&(c.id=t)},setNewReqText:t=>{void 0!==c&&(c.text=t)},setNewReqRisk:t=>{void 0!==c&&(c.risk=t)},setNewReqVerifyMethod:t=>{void 0!==c&&(c.verifyMethod=t)},setAccTitle:r.s,getAccTitle:r.g,setAccDescription:r.b,getAccDescription:r.a,addElement:t=>(void 0===y[t]&&(y[t]={name:t,type:u.type,docRef:u.docRef},r.l.info("Added new requirement: ",t)),u={},y[t]),getElements:()=>y,setNewElementType:t=>{void 0!==u&&(u.type=t)},setNewElementDocRef:t=>{void 0!==u&&(u.docRef=t)},addRelationship:(t,e,i)=>{h.push({type:t,src:e,dst:i})},getRelationships:()=>h,clear:()=>{h=[],c={},o={},u={},y={},(0,r.t)()}},p={CONTAINS:"contains",ARROW:"arrow"},_={ReqMarkers:p,insertLineEndings:(t,e)=>{let i=t.append("defs").append("marker").attr("id",p.CONTAINS+"_line_ending").attr("refX",0).attr("refY",e.line_height/2).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("g");i.append("circle").attr("cx",e.line_height/2).attr("cy",e.line_height/2).attr("r",e.line_height/2).attr("fill","none"),i.append("line").attr("x1",0).attr("x2",e.line_height).attr("y1",e.line_height/2).attr("y2",e.line_height/2).attr("stroke-width",1),i.append("line").attr("y1",0).attr("y2",e.line_height).attr("x1",e.line_height/2).attr("x2",e.line_height/2).attr("stroke-width",1),t.append("defs").append("marker").attr("id",p.ARROW+"_line_ending").attr("refX",e.line_height).attr("refY",.5*e.line_height).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("path").attr("d",`M0,0 L${e.line_height},${e.line_height/2} M${e.line_height},${e.line_height/2} L0,${e.line_height}`).attr("stroke-width",1)}},E={},g=0,R=(t,e)=>t.insert("rect","#"+e).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",E.rect_min_width+"px").attr("height",E.rect_min_height+"px"),f=(t,e,i)=>{let r=E.rect_min_width/2,n=t.append("text").attr("class","req reqLabel reqTitle").attr("id",e).attr("x",r).attr("y",E.rect_padding).attr("dominant-baseline","hanging"),s=0;i.forEach(t=>{0==s?n.append("tspan").attr("text-anchor","middle").attr("x",E.rect_min_width/2).attr("dy",0).text(t):n.append("tspan").attr("text-anchor","middle").attr("x",E.rect_min_width/2).attr("dy",.75*E.line_height).text(t),s++});let a=1.5*E.rect_padding+s*E.line_height*.75;return t.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",E.rect_min_width).attr("y1",a).attr("y2",a),{titleNode:n,y:a}},m=(t,e,i,r)=>{let n=t.append("text").attr("class","req reqLabel").attr("id",e).attr("x",E.rect_padding).attr("y",r).attr("dominant-baseline","hanging"),s=0,a=[];return i.forEach(t=>{let e=t.length;for(;e>30&&s<3;){let i=t.substring(0,30);e=(t=t.substring(30,t.length)).length,a[a.length]=i,s++}if(3==s){let t=a[a.length-1];a[a.length-1]=t.substring(0,t.length-4)+"..."}else a[a.length]=t;s=0}),a.forEach(t=>{n.append("tspan").attr("x",E.rect_padding).attr("dy",E.line_height).text(t)}),n},I=(t,e,i,r)=>{let n=e.node().getTotalLength(),s=e.node().getPointAtLength(.5*n),a="rel"+g;g++;let l=t.append("text").attr("class","req relationshipLabel").attr("id",a).attr("x",s.x).attr("y",s.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(r).node().getBBox();t.insert("rect","#"+a).attr("class","req reqLabelBox").attr("x",s.x-l.width/2).attr("y",s.y-l.height/2).attr("width",l.width).attr("height",l.height).attr("fill","white").attr("fill-opacity","85%")},b=function(t,e,i,s,a){let l=i.edge(x(e.src),x(e.dst)),h=(0,n.jvg)().x(function(t){return t.x}).y(function(t){return t.y}),c=t.insert("path","#"+s).attr("class","er relationshipLine").attr("d",h(l.points)).attr("fill","none");e.type==a.db.Relationships.CONTAINS?c.attr("marker-start","url("+r.e.getUrl(E.arrowMarkerAbsolute)+"#"+e.type+"_line_ending)"):(c.attr("stroke-dasharray","10,7"),c.attr("marker-end","url("+r.e.getUrl(E.arrowMarkerAbsolute)+"#"+_.ReqMarkers.ARROW+"_line_ending)")),I(t,c,E,`<<${e.type}>>`)},k=(t,e,i)=>{Object.keys(t).forEach(n=>{let s=t[n];n=x(n),r.l.info("Added new requirement: ",n);let a=i.append("g").attr("id",n),l=R(a,"req-"+n),h=f(a,n+"_title",[`<<${s.type}>>`,`${s.name}`]);m(a,n+"_body",[`Id: ${s.id}`,`Text: ${s.text}`,`Risk: ${s.risk}`,`Verification: ${s.verifyMethod}`],h.y);let c=l.node().getBBox();e.setNode(n,{width:c.width,height:c.height,shape:"rect",id:n})})},S=(t,e,i)=>{Object.keys(t).forEach(r=>{let n=t[r],s=x(r),a=i.append("g").attr("id",s),l="element-"+s,h=R(a,l),c=f(a,l+"_title",["<>",`${r}`]);m(a,l+"_body",[`Type: ${n.type||"Not Specified"}`,`Doc Ref: ${n.docRef||"None"}`],c.y);let o=h.node().getBBox();e.setNode(s,{width:o.width,height:o.height,shape:"rect",id:s})})},T=(t,e)=>(t.forEach(function(t){let i=x(t.src),r=x(t.dst);e.setEdge(i,r,{relationship:t})}),t),N=function(t,e){e.nodes().forEach(function(i){void 0!==i&&void 0!==e.node(i)&&(t.select("#"+i),t.select("#"+i).attr("transform","translate("+(e.node(i).x-e.node(i).width/2)+","+(e.node(i).y-e.node(i).height/2)+" )"))})},x=t=>t.replace(/\s/g,"").replace(/\./g,"_"),A={parser:l,db:d,renderer:{draw:(t,e,i,l)=>{let h;let c=(E=(0,r.c)().requirement).securityLevel;"sandbox"===c&&(h=(0,n.Ys)("#i"+e));let o=("sandbox"===c?(0,n.Ys)(h.nodes()[0].contentDocument.body):(0,n.Ys)("body")).select(`[id='${e}']`);_.insertLineEndings(o,E);let u=new a.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:E.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel(function(){return{}}),y=l.db.getRequirements(),d=l.db.getElements(),p=l.db.getRelationships();k(y,u,o),S(d,u,o),T(p,u),(0,s.bK)(u),N(o,u),p.forEach(function(t){b(o,t,u,e,l)});let g=E.rect_padding,R=o.node().getBBox(),f=R.width+2*g,m=R.height+2*g;(0,r.i)(o,m,f,E.useMaxWidth),o.attr("viewBox",`${R.x-g} ${R.y-g} ${f} ${m}`)}},styles:t=>` diff --git a/_next/static/chunks/781-e03c9a788935ae97.js b/_next/static/chunks/781-e03c9a788935ae97.js new file mode 100644 index 0000000..103a39c --- /dev/null +++ b/_next/static/chunks/781-e03c9a788935ae97.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[781],{35554:function(t,e,n){var r,o="__lodash_hash_undefined__",a=1/0,i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,u=/^\./,l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,h="object"==typeof self&&self&&self.Object===Object&&self,d=f||h||Function("return this")(),g=Array.prototype,_=Function.prototype,y=Object.prototype,b=d["__core-js_shared__"],v=(r=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",w=_.toString,j=y.hasOwnProperty,m=y.toString,S=RegExp("^"+w.call(j).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=d.Symbol,O=g.splice,k=N(d,"Map"),C=N(Object,"create"),T=x?x.prototype:void 0,M=T?T.toString:void 0;function P(t){var e=-1,n=t?t.length:0;for(this.clear();++e-1},$.prototype.set=function(t,e){var n=this.__data__,r=I(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},E.prototype.clear=function(){this.__data__={hash:new P,map:new(k||$),string:new P}},E.prototype.delete=function(t){return L(this,t).delete(t)},E.prototype.get=function(t){return L(this,t).get(t)},E.prototype.has=function(t){return L(this,t).has(t)},E.prototype.set=function(t,e){return L(this,t).set(t,e),this};var J=R(function(t){t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(F(t))return M?M.call(t):"";var e=t+"";return"0"==e&&1/t==-a?"-0":e}(e);var e,n=[];return u.test(t)&&n.push(""),t.replace(l,function(t,e,r,o){n.push(r?o.replace(s,"$1"):e||t)}),n});function R(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=t.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(R.Cache||E),n}R.Cache=E;var D=Array.isArray;function A(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function F(t){return"symbol"==typeof t||!!t&&"object"==typeof t&&"[object Symbol]"==m.call(t)}t.exports=function(t,e,n){var r=null==t?void 0:function(t,e){var n;e=!function(t,e){if(D(t))return!1;var n=typeof t;return!!("number"==n||"symbol"==n||"boolean"==n||null==t||F(t))||c.test(t)||!i.test(t)||null!=e&&t in Object(e)}(e,t)?D(n=e)?n:J(n):[e];for(var r=0,o=e.length;null!=t&&r{if(_(e)){let n=t.replace("/","");return[n,e.title||g(n)]}return[t,e||g(t)]}))}function b({pageNextRoute:t,pageOpts:e,nextraLayout:n,themeConfig:o,MDXContent:c,hot:u,pageOptsChecksum:l,dynamicMetaModules:s=[]}){var d;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(r)return r;let t=JSON.parse(JSON.stringify(g.pageMap));return await Promise.all(s.map(async([e,{metaObjectKeyPath:n,metaParentKeyPath:r}])=>{let o=await e,i=await o.default(),c=a()(t,n);c.data=i,function t(e,n,r=!0){if(r){t(e,{kind:"Meta",data:n.data,locale:n.locale},!1),n.data=y(n.data);return}for(let[r,a]of Object.entries(n.data)){if(!_(a)){var o;if("*"===r)continue;e.children.push({kind:"MdxPage",...n.locale&&{locale:n.locale},name:r,route:(o=e.route,h(f.join(o,r.replace(/^index$/,""))))});continue}let i=r.replace("/",""),c={kind:"Folder",name:i,route:`${e.route}/${i}`,children:[{kind:"Meta",...n.locale&&{locale:n.locale},data:y(a.items)}]};e.children.push(c),t(c,{kind:"Meta",data:a.items,locale:n.locale},!1)}}(a()(t,r),c)})),r=t});let g=globalThis[d=i.eZ]||(globalThis[d]=Object.create(null));return e.pageMap?(g.pageMap=e.pageMap,g.Layout=n):(e={...e,pageMap:g.pageMap,flexsearch:g.flexsearch},o=g.themeConfig),e={frontMatter:{},...e},g.route=e.route,g.context||(g.context=Object.create(null)),g.context[t]={Content:c,pageOpts:e,themeConfig:o},p}},94473:function(t){"use strict";t.exports=t=>{let e=/^\\\\\?\\/.test(t),n=/[^\u0000-\u0080]+/.test(t);return e||n?t:t.replace(/\\/g,"/")}},29378:function(t,e,n){let r=n(83587),o=n(72168),a="[^\\s'’\\(\\)!?;:\"-]",i=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${a}))|(${a}))(${a}*[’']*${a}*)`,"g"),c=t=>t.map(t=>[RegExp(`\\b${t}\\b`,"gi"),t]);t.exports=(t,e={})=>(t=t.toLowerCase().replace(i,(t,e="",n,o,a,i,c)=>{let u=t.length+i>=c.length,l=function(t){let e=t[0];return/\s/.test(e)?t.slice(1):/[\(\)]/.test(e)?null:t}(t);return l?!n&&r.has(o+a)&&!u?l:e+(o||n).toUpperCase()+a:t}),c([...o,...e.special||[]]).forEach(([e,n])=>{t=t.replace(e,n)}),t)},83587:function(t){t.exports=new Set(["for","and","nor","but","or","yet","so","a","an","the","aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"])},72168:function(t){t.exports=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS","SQL","C","C#","GraphQL","GraphiQL","JWT","JWTs"]},95670:function(t,e,n){n(52676)}}]); \ No newline at end of file diff --git a/_next/static/chunks/807-49d8b251beaa03c4.js b/_next/static/chunks/807-49d8b251beaa03c4.js deleted file mode 100644 index 60d1c84..0000000 --- a/_next/static/chunks/807-49d8b251beaa03c4.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[807],{91088:function(t,e){"use strict";e.Nm=e.Rq=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,i=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^.+(:|:)/gim,s=[".","/"];e.Rq="about:blank",e.Nm=function(t){if(!t)return e.Rq;var u=t.replace(o,"").replace(r,function(t,e){return String.fromCharCode(e)}).replace(i,"").replace(o,"").trim();if(!u)return e.Rq;if(s.indexOf(u[0])>-1)return u;var c=u.match(a);if(!c)return u;var l=c[0];return n.test(l)?e.Rq:u}},5726:function(t){var e,n,r,i,o,a,s,u,c,l,h,f,p,_,d,g,y,m,v,b,x,w;t.exports=(e="millisecond",n="second",r="minute",i="hour",o="week",a="month",s="quarter",u="year",c="date",l="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},(d={})[_="en"]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||"th")+"]"}},g="$isDayjsObject",y=function(t){return t instanceof x||!(!t||!t[g])},m=function t(e,n,r){var i;if(!e)return _;if("string"==typeof e){var o=e.toLowerCase();d[o]&&(i=o),n&&(d[o]=n,i=o);var a=e.split("-");if(!i&&a.length>1)return t(a[0])}else{var s=e.name;d[s]=e,i=s}return!r&&i&&(_=i),i||!r&&_},v=function(t,e){if(y(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new x(n)},(b={s:p,z:function(t){var e=-t.utcOffset(),n=Math.abs(e);return(e<=0?"+":"-")+p(Math.floor(n/60),2,"0")+":"+p(n%60,2,"0")},m:function t(e,n){if(e.date()1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:p;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){let t=i(e);t!==e&&(n(r)||(r[o]=t),e=t)}t[e]=!0}return t}function M(e){let n=s(null);for(let[r,o]of t(e))void 0!==i(e,r)&&(n[r]=o);return n}function T(t,e){for(;null!==t;){let n=i(t,e);if(n){if(n.get)return x(n.get);if("function"==typeof n.value)return x(n.value)}t=r(t)}return function(t){return console.warn("fallback value for",t),null}}let k=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),A=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Z=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),S=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),N=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),E=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$=o(["#text"]),C=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),D=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),O=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),R=a(/<%[\w\W]*|[\w\W]*%>/gm),j=a(/\${[\w\W]*}/gm),F=a(/^data-[\-\w.\u00B7-\uFFFF]/),P=a(/^aria-[\-\w]+$/),I=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=a(/^(?:\w+script|data):/i),z=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=a(/^html$/i);var q,B=Object.freeze({__proto__:null,MUSTACHE_EXPR:U,ERB_EXPR:R,TMPLIT_EXPR:j,DATA_ATTR:F,ARIA_ATTR:P,IS_ALLOWED_URI:I,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:z,DOCTYPE_NAME:Y});let W=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null,r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));let i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+i+" could not be created."),null}};return function e(){let n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=t=>e(t);if(i.version="3.0.6",i.removed=[],!r||!r.document||9!==r.document.nodeType)return i.isSupported=!1,i;let{document:a}=r,u=a,c=u.currentScript,{DocumentFragment:x,HTMLTemplateElement:U,Node:R,Element:j,NodeFilter:F,NamedNodeMap:P=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:H,DOMParser:z,trustedTypes:q}=r,G=j.prototype,X=T(G,"cloneNode"),V=T(G,"nextSibling"),Q=T(G,"childNodes"),J=T(G,"parentNode");if("function"==typeof U){let t=a.createElement("template");t.content&&t.content.ownerDocument&&(a=t.content.ownerDocument)}let K="",{implementation:tt,createNodeIterator:te,createDocumentFragment:tn,getElementsByTagName:tr}=a,{importNode:ti}=u,to={};i.isSupported="function"==typeof t&&"function"==typeof J&&tt&&void 0!==tt.createHTMLDocument;let{MUSTACHE_EXPR:ta,ERB_EXPR:ts,TMPLIT_EXPR:tu,DATA_ATTR:tc,ARIA_ATTR:tl,IS_SCRIPT_OR_DATA:th,ATTR_WHITESPACE:tf}=B,{IS_ALLOWED_URI:tp}=B,t_=null,td=w({},[...k,...A,...Z,...N,...$]),tg=null,ty=w({},[...C,...D,...O,...L]),tm=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),tv=null,tb=null,tx=!0,tw=!0,tM=!1,tT=!0,tk=!1,tA=!1,tZ=!1,tS=!1,tN=!1,tE=!1,t$=!1,tC=!0,tD=!1,tO=!0,tL=!1,tU={},tR=null,tj=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),tF=null,tP=w({},["audio","video","img","source","image","track"]),tI=null,tH=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tz="http://www.w3.org/1998/Math/MathML",tY="http://www.w3.org/2000/svg",tq="http://www.w3.org/1999/xhtml",tB=tq,tW=!1,tG=null,tX=w({},[tz,tY,tq],_),tV=null,tQ=["application/xhtml+xml","text/html"],tJ=null,tK=null,t0=a.createElement("form"),t1=function(t){return t instanceof RegExp||t instanceof Function},t2=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!tK||tK!==t){if(t&&"object"==typeof t||(t={}),t=M(t),tJ="application/xhtml+xml"===(tV=tV=-1===tQ.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?_:p,t_="ALLOWED_TAGS"in t?w({},t.ALLOWED_TAGS,tJ):td,tg="ALLOWED_ATTR"in t?w({},t.ALLOWED_ATTR,tJ):ty,tG="ALLOWED_NAMESPACES"in t?w({},t.ALLOWED_NAMESPACES,_):tX,tI="ADD_URI_SAFE_ATTR"in t?w(M(tH),t.ADD_URI_SAFE_ATTR,tJ):tH,tF="ADD_DATA_URI_TAGS"in t?w(M(tP),t.ADD_DATA_URI_TAGS,tJ):tP,tR="FORBID_CONTENTS"in t?w({},t.FORBID_CONTENTS,tJ):tj,tv="FORBID_TAGS"in t?w({},t.FORBID_TAGS,tJ):{},tb="FORBID_ATTR"in t?w({},t.FORBID_ATTR,tJ):{},tU="USE_PROFILES"in t&&t.USE_PROFILES,tx=!1!==t.ALLOW_ARIA_ATTR,tw=!1!==t.ALLOW_DATA_ATTR,tM=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tT=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tk=t.SAFE_FOR_TEMPLATES||!1,tA=t.WHOLE_DOCUMENT||!1,tN=t.RETURN_DOM||!1,tE=t.RETURN_DOM_FRAGMENT||!1,t$=t.RETURN_TRUSTED_TYPE||!1,tS=t.FORCE_BODY||!1,tC=!1!==t.SANITIZE_DOM,tD=t.SANITIZE_NAMED_PROPS||!1,tO=!1!==t.KEEP_CONTENT,tL=t.IN_PLACE||!1,tp=t.ALLOWED_URI_REGEXP||I,tB=t.NAMESPACE||tq,tm=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&t1(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tm.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&t1(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tm.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tm.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tk&&(tw=!1),tE&&(tN=!0),tU&&(t_=w({},[...$]),tg=[],!0===tU.html&&(w(t_,k),w(tg,C)),!0===tU.svg&&(w(t_,A),w(tg,D),w(tg,L)),!0===tU.svgFilters&&(w(t_,Z),w(tg,D),w(tg,L)),!0===tU.mathMl&&(w(t_,N),w(tg,O),w(tg,L))),t.ADD_TAGS&&(t_===td&&(t_=M(t_)),w(t_,t.ADD_TAGS,tJ)),t.ADD_ATTR&&(tg===ty&&(tg=M(tg)),w(tg,t.ADD_ATTR,tJ)),t.ADD_URI_SAFE_ATTR&&w(tI,t.ADD_URI_SAFE_ATTR,tJ),t.FORBID_CONTENTS&&(tR===tj&&(tR=M(tR)),w(tR,t.FORBID_CONTENTS,tJ)),tO&&(t_["#text"]=!0),tA&&w(t_,["html","head","body"]),t_.table&&(w(t_,["tbody"]),delete tv.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');K=(n=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=W(q,c)),null!==n&&"string"==typeof K&&(K=n.createHTML(""));o&&o(t),tK=t}},t3=w({},["mi","mo","mn","ms","mtext"]),t5=w({},["foreignobject","desc","title","annotation-xml"]),t6=w({},["title","style","font","a","script"]),t4=w({},A);w(t4,Z),w(t4,S);let t9=w({},N);w(t9,E);let t8=function(t){let e=J(t);e&&e.tagName||(e={namespaceURI:tB,tagName:"template"});let n=p(t.tagName),r=p(e.tagName);return!!tG[t.namespaceURI]&&(t.namespaceURI===tY?e.namespaceURI===tq?"svg"===n:e.namespaceURI===tz?"svg"===n&&("annotation-xml"===r||t3[r]):!!t4[n]:t.namespaceURI===tz?e.namespaceURI===tq?"math"===n:e.namespaceURI===tY?"math"===n&&t5[r]:!!t9[n]:t.namespaceURI===tq?(e.namespaceURI!==tY||!!t5[r])&&(e.namespaceURI!==tz||!!t3[r])&&!t9[n]&&(t6[n]||!t4[n]):"application/xhtml+xml"===tV&&!!tG[t.namespaceURI])},t7=function(t){f(i.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},et=function(t,e){try{f(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!tg[t]){if(tN||tE)try{t7(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}}},ee=function(t){let e=null,r=null;if(tS)t=""+t;else{let e=d(t,/^[\r\n\t ]+/);r=e&&e[0]}"application/xhtml+xml"===tV&&tB===tq&&(t=''+t+"");let i=n?n.createHTML(t):t;if(tB===tq)try{e=new z().parseFromString(i,tV)}catch(t){}if(!e||!e.documentElement){e=tt.createDocument(tB,"template",null);try{e.documentElement.innerHTML=tW?K:i}catch(t){}}let o=e.body||e.documentElement;return(t&&r&&o.insertBefore(a.createTextNode(r),o.childNodes[0]||null),tB===tq)?tr.call(e,tA?"html":"body")[0]:tA?e.documentElement:o},en=function(t){return te.call(t.ownerDocument||t,t,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT,null)},er=function(t){return"function"==typeof R&&t instanceof R},ei=function(t,e,n){to[t]&&l(to[t],t=>{t.call(i,e,n,tK)})},eo=function(t){let e=null;if(ei("beforeSanitizeElements",t,null),t instanceof H&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof P)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes))return t7(t),!0;let n=tJ(t.nodeName);if(ei("uponSanitizeElement",t,{tagName:n,allowedTags:t_}),t.hasChildNodes()&&!er(t.firstElementChild)&&v(/<[/\w]/g,t.innerHTML)&&v(/<[/\w]/g,t.textContent))return t7(t),!0;if(!t_[n]||tv[n]){if(!tv[n]&&es(n)&&(tm.tagNameCheck instanceof RegExp&&v(tm.tagNameCheck,n)||tm.tagNameCheck instanceof Function&&tm.tagNameCheck(n)))return!1;if(tO&&!tR[n]){let e=J(t)||t.parentNode,n=Q(t)||t.childNodes;if(n&&e){let r=n.length;for(let i=r-1;i>=0;--i)e.insertBefore(X(n[i],!0),V(t))}}return t7(t),!0}return t instanceof j&&!t8(t)||("noscript"===n||"noembed"===n||"noframes"===n)&&v(/<\/no(script|embed|frames)/i,t.innerHTML)?(t7(t),!0):(tk&&3===t.nodeType&&(e=t.textContent,l([ta,ts,tu],t=>{e=g(e,t," ")}),t.textContent!==e&&(f(i.removed,{element:t.cloneNode()}),t.textContent=e)),ei("afterSanitizeElements",t,null),!1)},ea=function(t,e,n){if(tC&&("id"===e||"name"===e)&&(n in a||n in t0))return!1;if(tw&&!tb[e]&&v(tc,e));else if(tx&&v(tl,e));else if(!tg[e]||tb[e]){if(!(es(t)&&(tm.tagNameCheck instanceof RegExp&&v(tm.tagNameCheck,t)||tm.tagNameCheck instanceof Function&&tm.tagNameCheck(t))&&(tm.attributeNameCheck instanceof RegExp&&v(tm.attributeNameCheck,e)||tm.attributeNameCheck instanceof Function&&tm.attributeNameCheck(e))||"is"===e&&tm.allowCustomizedBuiltInElements&&(tm.tagNameCheck instanceof RegExp&&v(tm.tagNameCheck,n)||tm.tagNameCheck instanceof Function&&tm.tagNameCheck(n))))return!1}else if(tI[e]);else if(v(tp,g(n,tf,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===y(n,"data:")&&tF[t]);else if(tM&&!v(th,g(n,tf,"")));else if(n)return!1;return!0},es=function(t){return t.indexOf("-")>0},eu=function(t){ei("beforeSanitizeAttributes",t,null);let{attributes:e}=t;if(!e)return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tg},o=e.length;for(;o--;){let{name:a,namespaceURI:s,value:u}=e[o],c=tJ(a),f="value"===a?u:m(u);if(r.attrName=c,r.attrValue=f,r.keepAttr=!0,r.forceKeepAttr=void 0,ei("uponSanitizeAttribute",t,r),f=r.attrValue,r.forceKeepAttr||(et(a,t),!r.keepAttr))continue;if(!tT&&v(/\/>/i,f)){et(a,t);continue}tk&&l([ta,ts,tu],t=>{f=g(f,t," ")});let p=tJ(t.nodeName);if(ea(p,c,f)){if(tD&&("id"===c||"name"===c)&&(et(a,t),f="user-content-"+f),n&&"object"==typeof q&&"function"==typeof q.getAttributeType){if(s);else switch(q.getAttributeType(p,c)){case"TrustedHTML":f=n.createHTML(f);break;case"TrustedScriptURL":f=n.createScriptURL(f)}}try{s?t.setAttributeNS(s,a,f):t.setAttribute(a,f),h(i.removed)}catch(t){}}}ei("afterSanitizeAttributes",t,null)},ec=function t(e){let n=null,r=en(e);for(ei("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)ei("uponSanitizeShadowNode",n,null),eo(n)||(n.content instanceof x&&t(n.content),eu(n));ei("afterSanitizeShadowDOM",e,null)};return i.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,s=null;if((tW=!t)&&(t=""),"string"!=typeof t&&!er(t)){if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw b("dirty is not a string, aborting")}else throw b("toString is not a function")}if(!i.isSupported)return t;if(tZ||t2(e),i.removed=[],"string"==typeof t&&(tL=!1),tL){if(t.nodeName){let e=tJ(t.nodeName);if(!t_[e]||tv[e])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof R)1===(o=(r=ee("")).ownerDocument.importNode(t,!0)).nodeType&&"BODY"===o.nodeName?r=o:"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!tN&&!tk&&!tA&&-1===t.indexOf("<"))return n&&t$?n.createHTML(t):t;if(!(r=ee(t)))return tN?null:t$?K:""}r&&tS&&t7(r.firstChild);let c=en(tL?t:r);for(;a=c.nextNode();)eo(a)||(a.content instanceof x&&ec(a.content),eu(a));if(tL)return t;if(tN){if(tE)for(s=tn.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(tg.shadowroot||tg.shadowrootmode)&&(s=ti.call(u,s,!0)),s}let h=tA?r.outerHTML:r.innerHTML;return tA&&t_["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&v(Y,r.ownerDocument.doctype.name)&&(h="\n"+h),tk&&l([ta,ts,tu],t=>{h=g(h,t," ")}),n&&t$?n.createHTML(h):h},i.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t2(t),tZ=!0},i.clearConfig=function(){tK=null,tZ=!1},i.isValidAttribute=function(t,e,n){return tK||t2({}),ea(tJ(t),tJ(e),n)},i.addHook=function(t,e){"function"==typeof e&&(to[t]=to[t]||[],f(to[t],e))},i.removeHook=function(t){if(to[t])return h(to[t])},i.removeHooks=function(t){to[t]&&(to[t]=[])},i.removeAllHooks=function(){to={}},i}()}()},21826:function(t,e,n){"use strict";function r(t){for(var e=[],n=1;n{let n=document.documentElement,r=new MutationObserver(i);return r.observe(n,{attributes:!0}),i(),()=>{r.disconnect()};async function i(){let r=n.classList.contains("dark")||n.attributes.getNamedItem("data-theme")?.value==="dark";try{o.L.initialize({startOnLoad:!1,securityLevel:"loose",fontFamily:"inherit",themeCSS:"margin: 1.5rem auto 0;",theme:r?"dark":"default"});let{svg:n}=await o.L.render(e.replaceAll(":",""),t);a(n)}catch(t){console.error("Error while rendering mermaid",t)}}},[t]),(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:n}})}},27509:function(t,e,n){"use strict";function r(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n=i)&&(n=i)}return n}function i(t,e){let n;if(void 0===e)for(let e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function o(t){return t}function a(t){return"translate("+t+",0)"}function s(t){return"translate(0,"+t+")"}function u(){return!this.__axis}function c(t,e){var n=[],r=null,i=null,c=6,l=6,h=3,f="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,p=1===t||4===t?-1:1,_=4===t||2===t?"x":"y",d=1===t||3===t?a:s;function g(a){var s=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,g=null==i?e.tickFormat?e.tickFormat.apply(e,n):o:i,y=Math.max(c,0)+h,m=e.range(),v=+m[0]+f,b=+m[m.length-1]+f,x=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}:function(t){return e=>+t(e)})(e.copy(),f),w=a.selection?a.selection():a,M=w.selectAll(".domain").data([null]),T=w.selectAll(".tick").data(s,e).order(),k=T.exit(),A=T.enter().append("g").attr("class","tick"),Z=T.select("line"),S=T.select("text");M=M.merge(M.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),T=T.merge(A),Z=Z.merge(A.append("line").attr("stroke","currentColor").attr(_+"2",p*c)),S=S.merge(A.append("text").attr("fill","currentColor").attr(_,p*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),a!==w&&(M=M.transition(a),T=T.transition(a),Z=Z.transition(a),S=S.transition(a),k=k.transition(a).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=x(t))?d(t+f):this.getAttribute("transform")}),A.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return d((e&&isFinite(e=e(t))?e:x(t))+f)})),k.remove(),M.attr("d",4===t||2===t?l?"M"+p*l+","+v+"H"+f+"V"+b+"H"+p*l:"M"+f+","+v+"V"+b:l?"M"+v+","+p*l+"V"+f+"H"+b+"V"+p*l:"M"+v+","+f+"H"+b),T.attr("opacity",1).attr("transform",function(t){return d(x(t)+f)}),Z.attr(_+"2",p*c),S.attr(_,p*y).text(g),w.filter(u).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),w.each(function(){this.__axis=x})}return g.scale=function(t){return arguments.length?(e=t,g):e},g.ticks=function(){return n=Array.from(arguments),g},g.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),g):n.slice()},g.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),g):r&&r.slice()},g.tickFormat=function(t){return arguments.length?(i=t,g):i},g.tickSize=function(t){return arguments.length?(c=l=+t,g):c},g.tickSizeInner=function(t){return arguments.length?(c=+t,g):c},g.tickSizeOuter=function(t){return arguments.length?(l=+t,g):l},g.tickPadding=function(t){return arguments.length?(h=+t,g):h},g.offset=function(t){return arguments.length?(f=+t,g):f},g}function l(t){return c(1,t)}function h(t){return c(3,t)}function f(){}function p(t){return null==t?f:function(){return this.querySelector(t)}}function _(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function d(){return[]}function g(t){return null==t?d:function(){return this.querySelectorAll(t)}}function y(t){return function(){return this.matches(t)}}function m(t){return function(e){return e.matches(t)}}n.d(e,{Nb1:function(){return iP},LLu:function(){return h},F5q:function(){return l},$0Z:function(){return iK},Dts:function(){return i1},WQY:function(){return i3},qpX:function(){return i6},u93:function(){return i4},tFB:function(){return i8},YY7:function(){return oe},OvA:function(){return or},dCK:function(){return oo},zgE:function(){return ou},fGX:function(){return ol},$m7:function(){return of},c_6:function(){return iz},fxm:function(){return o_},FdL:function(){return ox},ak_:function(){return ow},SxZ:function(){return ok},eA_:function(){return oZ},jsv:function(){return oN},iJ:function(){return oS},JHv:function(){return eQ},jvg:function(){return iB},Fp7:function(){return r},VV$:function(){return i},ve8:function(){return iX},tiA:function(){return function t(){var e,n,r=e3().unknown(void 0),i=r.domain,o=r.range,a=0,s=1,u=!1,c=0,l=0,h=.5;function f(){var t=i().length,r=s0))return[];if(t===e)return[t];let r=e=i))return[];let s=o-i+1,u=Array(s);if(r){if(a<0)for(let t=0;t0;){if((i=e8(u,c,t))===r)return o[a]=u,o[s]=c,e(o);if(i>0)u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i;else if(i<0)u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i;else break;r=i}return n},n}},PKp:function(){return e3},Xf:function(){return ih},K2I:function(){return ip},Ys:function(){return i_},td_:function(){return id},YPS:function(){return eO},rr1:function(){return nO},i$Z:function(){return tl},y2j:function(){return nz},WQD:function(){return nC},U8T:function(){return nS},Z_i:function(){return nE},Ox9:function(){return nF},F0B:function(){return nK},LqH:function(){return nY},S1K:function(){return nN},Zyz:function(){return nj},Igq:function(){return nH},YDX:function(){return nP},EFj:function(){return nI}});var v=Array.prototype.find;function b(){return this.firstElementChild}var x=Array.prototype.filter;function w(){return Array.from(this.children)}function M(t){return Array(t.length)}function T(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function k(t,e,n,r,i,o){for(var a,s=0,u=e.length,c=o.length;se?1:t>=e?0:NaN}T.prototype={constructor:T,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var N="http://www.w3.org/1999/xhtml",E={svg:"http://www.w3.org/2000/svg",xhtml:N,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function $(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),E.hasOwnProperty(e)?{space:E[e],local:t}:t}function C(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function D(t,e){return t.style.getPropertyValue(e)||C(t).getComputedStyle(t,null).getPropertyValue(e)}function O(t){return t.trim().split(/^|\s+/)}function L(t){return t.classList||new U(t)}function U(t){this._node=t,this._names=O(t.getAttribute("class")||"")}function R(t,e){for(var n=L(t),r=-1,i=e.length;++rthis._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Q=[null];function J(t,e){this._groups=t,this._parents=e}function K(){return new J([[document.documentElement]],Q)}J.prototype=K.prototype={constructor:J,select:function(t){"function"!=typeof t&&(t=p(t));for(var e=this._groups,n=e.length,r=Array(n),i=0;i=w&&(w=x+1);!(b=g[w])&&++w<_;);v._next=b||null}}return(a=new J(a,r))._enter=s,a._exit=u,a},enter:function(){return new J(this._enter||this._groups.map(M),this._parents)},exit:function(){return new J(this._exit||this._groups.map(M),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,a=Math.min(i,o),s=Array(i),u=0;u=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=S);for(var n=this._groups,r=n.length,i=Array(r),o=0;o1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):D(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=O(t+"");if(arguments.length<2){for(var r=L(this.node()),i=-1,o=n.length;++i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}),a=o.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var u,c=0,l=s.length;c{}};function te(){for(var t,e=0,n=arguments.length,r={};e=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),o=-1,a=i.length;if(arguments.length<2){for(;++o0)for(var n,r,i=Array(n),o=0;o=0&&e._call.call(void 0,t),e=e._next;--tp}()}finally{tp=0,function(){for(var t,e,n=th,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:th=e);tf=t,tZ(r)}(),ty=0}}function tA(){var t=tv.now(),e=t-tg;e>1e3&&(tm-=e,tg=t)}function tZ(t){!tp&&(t_&&(t_=clearTimeout(t_)),t-ty>24?(t<1/0&&(t_=setTimeout(tk,t-tv.now()-tm)),td&&(td=clearInterval(td))):(td||(tg=tv.now(),td=setInterval(tA,1e3)),tp=1,tb(tk)))}function tS(t,e,n){var r=new tM;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}tM.prototype=tT.prototype={constructor:tM,restart:function(t,e,n){if("function"!=typeof t)throw TypeError("callback is not a function");n=(null==n?tx():+n)+(null==e?0:+e),this._next||tf===this||(tf?tf._next=this:th=this,tf=this),this._call=t,this._time=n,tZ()},stop:function(){this._call&&(this._call=null,this._time=1/0,tZ())}};var tN=te("start","end","cancel","interrupt"),tE=[];function t$(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(u){var c,l,h,f;if(1!==n.state)return s();for(c in i)if((f=i[c]).name===n.name){if(3===f.state)return tS(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[c]):+c0)throw Error("too late; already scheduled");return n}function tD(t,e){var n=tO(t,e);if(n.state>3)throw Error("too late; already running");return n}function tO(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw Error("transition not found");return n}function tL(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var tU=180/Math.PI,tR={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tj(t,e,n,r,i,o){var a,s,u;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(u=t*n+e*r)&&(n-=t*u,r-=e*u),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,u/=s),t*r180?u+=360:u-s>180&&(s+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:tL(s,u)})):u&&h.push(i(h)+"rotate("+u+r),(c=o.skewX)!==(l=a.skewX)?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:tL(c,l)}):l&&h.push(i(h)+"skewX("+l+r),!function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:tL(t,n)},{i:s-2,x:tL(e,r)})}else(1!==n||1!==r)&&o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,h,f),o=a=null,function(t){for(var e,n=-1,r=f.length;++n>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?t9(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?t9(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=tV.exec(t))?new et(e[1],e[2],e[3],1):(e=tQ.exec(t))?new et(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=tJ.exec(t))?t9(e[1],e[2],e[3],e[4]):(e=tK.exec(t))?t9(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=t0.exec(t))?ea(e[1],e[2]/100,e[3]/100,1):(e=t1.exec(t))?ea(e[1],e[2]/100,e[3]/100,e[4]):t2.hasOwnProperty(t)?t4(t2[t]):"transparent"===t?new et(NaN,NaN,NaN,0):null}function t4(t){return new et(t>>16&255,t>>8&255,255&t,1)}function t9(t,e,n,r){return r<=0&&(t=e=n=NaN),new et(t,e,n,r)}function t8(t){return(t instanceof tq||(t=t6(t)),t)?new et((t=t.rgb()).r,t.g,t.b,t.opacity):new et}function t7(t,e,n,r){return 1==arguments.length?t8(t):new et(t,e,n,null==r?1:r)}function et(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function ee(){return`#${eo(this.r)}${eo(this.g)}${eo(this.b)}`}function en(){let t=er(this.opacity);return`${1===t?"rgb(":"rgba("}${ei(this.r)}, ${ei(this.g)}, ${ei(this.b)}${1===t?")":`, ${t})`}`}function er(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ei(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function eo(t){return((t=ei(t))<16?"0":"")+t.toString(16)}function ea(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new eu(t,e,n,r)}function es(t){if(t instanceof eu)return new eu(t.h,t.s,t.l,t.opacity);if(t instanceof tq||(t=t6(t)),!t)return new eu;if(t instanceof eu)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=e===o?(n-r)/s+(n0&&u<1?0:a,new eu(a,s,u,t.opacity)}function eu(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function ec(t){return(t=(t||0)%360)<0?t+360:t}function el(t){return Math.max(0,Math.min(1,t||0))}function eh(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}function ef(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}tz(tq,t6,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:t3,formatHex:t3,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return es(this).formatHsl()},formatRgb:t5,toString:t5}),tz(et,t7,tY(tq,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new et(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new et(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new et(ei(this.r),ei(this.g),ei(this.b),er(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ee,formatHex:ee,formatHex8:function(){return`#${eo(this.r)}${eo(this.g)}${eo(this.b)}${eo((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:en,toString:en})),tz(eu,function(t,e,n,r){return 1==arguments.length?es(t):new eu(t,e,n,null==r?1:r)},tY(tq,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new eu(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new eu(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new et(eh(t>=240?t-240:t+120,i,r),eh(t,i,r),eh(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new eu(ec(this.h),el(this.s),el(this.l),er(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=er(this.opacity);return`${1===t?"hsl(":"hsla("}${ec(this.h)}, ${100*el(this.s)}%, ${100*el(this.l)}%${1===t?")":`, ${t})`}`}}));var ep=t=>()=>t;function e_(t,e){return function(n){return t+n*e}}function ed(t,e){var n=e-t;return n?e_(t,n):ep(isNaN(t)?e:t)}var eg=function t(e){var n,r=1==(n=+(n=e))?ed:function(t,e){var r,i,o;return e-t?(r=t,i=e,r=Math.pow(r,o=n),i=Math.pow(i,o)-r,o=1/o,function(t){return Math.pow(r+t*i,o)}):ep(isNaN(t)?e:t)};function i(t,e){var n=r((t=t7(t)).r,(e=t7(e)).r),i=r(t.g,e.g),o=r(t.b,e.b),a=ed(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return i.gamma=t,i}(1);function ey(t){return function(e){var n,r,i=e.length,o=Array(i),a=Array(i),s=Array(i);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=rs&&(a=e.slice(s,a),c[u]?c[u]+=a:c[++u]=a),(i=i[0])===(o=o[0])?c[u]?c[u]+=o:c[++u]=o:(c[++u]=null,l.push({i:u,x:tL(i,o)})),s=ev.lastIndex;return s=0&&(t=t.slice(0,e)),!t||"start"===t})?tC:tD,function(){var a=i(this,o),s=a.on;s!==n&&(r=(n=s).copy()).on(t,e),a.on=r}))},attr:function(t,e){var n=$(t),r="transform"===n?tI:ex;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,o;return function(){var a,s,u=n(this);return null==u?void this.removeAttributeNS(t.space,t.local):(a=this.getAttributeNS(t.space,t.local))===(s=u+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,u))}}:function(t,e,n){var r,i,o;return function(){var a,s,u=n(this);return null==u?void this.removeAttribute(t):(a=this.getAttribute(t))===(s=u+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,u))}})(n,r,tH(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}:function(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}})(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();var r=$(t);return this.tween(n,(r.local?function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttributeNS(t.space,t.local,i.call(this,e))}),n}return i._value=e,i}:function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e){this.setAttribute(t,i.call(this,e))}),n}return i._value=e,i})(r,e))},style:function(t,e,n){var r,i,o,a,s,u,c,l,h,f,p,_,d,g,y,m,v,b,x,w,M,T="transform"==(t+="")?tP:ex;return null==e?this.styleTween(t,(r=t,function(){var t=D(this,r),e=(this.style.removeProperty(r),D(this,r));return t===e?null:t===i&&e===o?a:a=T(i=t,o=e)})).on("end.style."+t,eM(t)):"function"==typeof e?this.styleTween(t,(s=t,u=tH(this,"style."+t,e),function(){var t=D(this,s),e=u(this),n=e+"";return null==e&&(this.style.removeProperty(s),n=e=D(this,s)),t===n?null:t===c&&n===l?h:(l=n,h=T(c=t,e))})).each((f=this._id,v="end."+(m="style."+(p=t)),function(){var t=tD(this,f),e=t.on,n=null==t.value[m]?y||(y=eM(p)):void 0;(e!==_||g!==n)&&(d=(_=e).copy()).on(v,g=n),t.on=d})):this.styleTween(t,(b=t,M=e+"",function(){var t=D(this,b);return t===M?null:t===x?w:w=T(x=t,e)}),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(e){this.style.setProperty(t,o.call(this,e),n)}),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){var e,n;return this.tween("text","function"==typeof t?(e=tH(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(n=null==t?"":t+"",function(){this.textContent=n}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){this.textContent=r.call(this,t)}),e}return r._value=t,r}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=tO(this.node(),n).tween,o=0,a=i.length;o2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]}a&&delete t.__transition}}(this,t)})},K.prototype.transition=function(t){var e,n;t instanceof ek?(e=t._id,t=t._name):(e=++eT,(n=eZ).time=tx(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;ofetch(e,n).then(eC).then(e=>(new DOMParser).parseFromString(e,t))}["w","e"].map(e$),["n","s"].map(e$),["n","w","e","s","nw","ne","sw","se"].map(e$),eD("application/xml"),eD("text/html");var eO=eD("image/svg+xml");let eL=Math.PI/180,eU=180/Math.PI,eR=4/29,ej=6/29,eF=6/29*3*(6/29),eP=6/29*(6/29)*(6/29);function eI(t){if(t instanceof eH)return new eH(t.l,t.a,t.b,t.opacity);if(t instanceof eG)return eX(t);t instanceof et||(t=t8(t));var e,n,r=eB(t.r),i=eB(t.g),o=eB(t.b),a=ez((.2225045*r+.7168786*i+.0606169*o)/1);return r===i&&i===o?e=n=a:(e=ez((.4360747*r+.3850649*i+.1430804*o)/.96422),n=ez((.0139322*r+.0971045*i+.7141733*o)/.82521)),new eH(116*a-16,500*(e-a),200*(a-n),t.opacity)}function eH(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function ez(t){return t>eP?Math.pow(t,1/3):t/eF+eR}function eY(t){return t>ej?t*t*t:eF*(t-eR)}function eq(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function eB(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function eW(t,e,n,r){return 1==arguments.length?function(t){if(t instanceof eG)return new eG(t.h,t.c,t.l,t.opacity);if(t instanceof eH||(t=eI(t)),0===t.a&&0===t.b)return new eG(NaN,0180||n<-180?n-360*Math.round(n/360):n):ep(isNaN(t)?e:t)});function eJ(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}eV(ed);class eK extends Map{constructor(t,e=e1){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,n]of t)this.set(e,n)}get(t){return super.get(e0(this,t))}has(t){return super.has(e0(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}(this,t))}}function e0({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):n}function e1(t){return null!==t&&"object"==typeof t?t.valueOf():t}let e2=Symbol("implicit");function e3(){var t=new eK,e=[],n=[],r=e2;function i(i){let o=t.get(i);if(void 0===o){if(r!==e2)return r;t.set(i,o=e.push(i)-1)}return n[o%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();for(let r of(e=[],t=new eK,n))t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return e3(e,n).unknown(r)},eJ.apply(i,arguments),i}let e5=Math.sqrt(50),e6=Math.sqrt(10),e4=Math.sqrt(2);function e9(t,e,n){let r,i,o;let a=(e-t)/Math.max(0,n),s=Math.floor(Math.log10(a)),u=a/Math.pow(10,s),c=u>=e5?10:u>=e6?5:u>=e4?2:1;return(s<0?(r=Math.round(t*(o=Math.pow(10,-s)/c)),i=Math.round(e*o),r/oe&&--i,o=-o):(r=Math.round(t/(o=Math.pow(10,s)*c)),i=Math.round(e/o),r*oe&&--i),ie?1:t>=e?0:NaN}function ne(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function nn(t){let e,n,r;function i(t,r,i=0,o=t.length){if(i>>1;0>n(t[e],r)?i=e+1:o=e}while(int(t(e),n),r=(e,n)=>t(e)-n):(e=t===nt||t===ne?t:nr,n=t,r=t),{left:i,center:function(t,e,n=0,o=t.length){let a=i(t,e,n,o-1);return a>n&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,i=0,o=t.length){if(i>>1;0>=n(t[e],r)?i=e+1:o=e}while(ie&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),r=u>2?nf:nh,i=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),s,u)))(t(c(e)))}return h.invert=function(n){return c(e((o||(o=r(s,a.map(t),tL)))(n)))},h.domain=function(t){return arguments.length?(a=Array.from(t,ns),l()):a.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),u=na,l()},h.clamp=function(t){return arguments.length?(c=!!t||nc,l()):c!==nc},h.interpolate=function(t){return arguments.length?(u=t,l()):u},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,l()}})()(nc,nc)}var nd=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ng(t){var e;if(!(e=nd.exec(t)))throw Error("invalid format: "+t);return new ny({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function ny(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function nm(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function nv(t){return(t=nm(Math.abs(t)))?t[1]:NaN}function nb(t,e){var n=nm(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}ng.prototype=ny.prototype,ny.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var nx={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>nb(100*t,e),r:nb,s:function(t,e){var n=nm(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(to=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+Array(1-o).join("0")+nm(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function nw(t){return t}var nM=Array.prototype.map,nT=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];ts=(ta=function(t){var e,n,r,i=void 0===t.grouping||void 0===t.thousands?nw:(e=nM.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),o=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?nw:(r=nM.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return r[+t]})}),c=void 0===t.percent?"%":t.percent+"",l=void 0===t.minus?"−":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=ng(t)).fill,n=t.align,r=t.sign,f=t.symbol,p=t.zero,_=t.width,d=t.comma,g=t.precision,y=t.trim,m=t.type;"n"===m?(d=!0,m="g"):nx[m]||(void 0===g&&(g=12),y=!0,m="g"),(p||"0"===e&&"="===n)&&(p=!0,e="0",n="=");var v="$"===f?o:"#"===f&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",b="$"===f?a:/[%p]/.test(m)?c:"",x=nx[m],w=/[defgprs%]/.test(m);function M(t){var o,a,c,f=v,M=b;if("c"===m)M=x(t)+M,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?h:x(Math.abs(t),g),y&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),T&&0==+t&&"+"!==r&&(T=!1),f=(T?"("===r?r:l:"-"===r||"("===r?"":r)+f,M=("s"===m?nT[8+to/3]:"")+M+(T&&"("===r?")":""),w){for(o=-1,a=t.length;++o(c=t.charCodeAt(o))||c>57){M=(46===c?s+t.slice(o+1):t.slice(o))+M,t=t.slice(0,o);break}}}d&&!p&&(t=i(t,1/0));var k=f.length+t.length+M.length,A=k<_?Array(_-k+1).join(e):"";switch(d&&p&&(t=i(A+t,A.length?_-M.length:1/0),A=""),n){case"<":t=f+t+M+A;break;case"=":t=f+A+t+M;break;case"^":t=A.slice(0,k=A.length>>1)+f+t+M+A.slice(k);break;default:t=A+f+t+M}return u(t)}return g=void 0===g?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),M.toString=function(){return t+""},M}return{format:f,formatPrefix:function(t,e){var n=f(((t=ng(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(nv(e)/3))),i=Math.pow(10,-r),o=nT[8+r/3];return function(t){return n(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,tu=ta.formatPrefix;let nk=new Date,nA=new Date;function nZ(t,e,n,r){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),i.round=t=>{let e=i(t),n=i.ceil(t);return t-e(e(t=new Date(+t),null==n?1:Math.floor(n)),t),i.range=(n,r,o)=>{let a;let s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n0))return s;do s.push(a=new Date(+n)),e(n,o),t(n);while(anZ(e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},(t,r)=>{if(t>=t){if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}}),n&&(i.count=(e,r)=>(nk.setTime(+e),nA.setTime(+r),t(nk),t(nA),Math.floor(n(nk,nA))),i.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?e=>r(e)%t==0:e=>i.count(0,e)%t==0):i:null),i}let nS=nZ(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);nS.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?nZ(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):nS:null,nS.range;let nN=nZ(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());nN.range;let nE=nZ(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());nE.range;let n$=nZ(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());n$.range;let nC=nZ(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());nC.range;let nD=nZ(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());nD.range;let nO=nZ(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);nO.range;let nL=nZ(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);nL.range;let nU=nZ(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));function nR(t){return nZ(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}nU.range;let nj=nR(0),nF=nR(1),nP=nR(2),nI=nR(3),nH=nR(4),nz=nR(5),nY=nR(6);function nq(t){return nZ(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}nj.range,nF.range,nP.range,nI.range,nH.range,nz.range,nY.range;let nB=nq(0),nW=nq(1),nG=nq(2),nX=nq(3),nV=nq(4),nQ=nq(5),nJ=nq(6);nB.range,nW.range,nG.range,nX.range,nV.range,nQ.range,nJ.range;let nK=nZ(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());nK.range;let n0=nZ(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());n0.range;let n1=nZ(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());n1.every=t=>isFinite(t=Math.floor(t))&&t>0?nZ(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)}):null,n1.range;let n2=nZ(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function n3(t,e,n,r,i,o){let a=[[nN,1,1e3],[nN,5,5e3],[nN,15,15e3],[nN,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function s(e,n,r){let i=Math.abs(n-e)/r,o=nn(([,,t])=>t).right(a,i);if(o===a.length)return t.every(e7(e/31536e6,n/31536e6,r));if(0===o)return nS.every(Math.max(e7(e,n,r),1));let[s,u]=a[i/a[o-1][2]isFinite(t=Math.floor(t))&&t>0?nZ(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null,n2.range;let[n5,n6]=n3(n2,n0,nB,nU,nD,n$),[n4,n9]=n3(n1,nK,nj,nO,nC,nE);function n8(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function n7(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function rt(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var re={"-":"",_:" ",0:"0"},rn=/^\s*\d+/,rr=/^%/,ri=/[\\^$*+?|[\]().{}]/g;function ro(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o[t.toLowerCase(),e]))}function rc(t,e,n){var r=rn.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function rl(t,e,n){var r=rn.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function rh(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function rf(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function rp(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function r_(t,e,n){var r=rn.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function rd(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function rg(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ry(t,e,n){var r=rn.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function rm(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function rv(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function rb(t,e,n){var r=rn.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function rx(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function rw(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function rM(t,e,n){var r=rn.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function rT(t,e,n){var r=rn.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function rk(t,e,n){var r=rn.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function rA(t,e,n){var r=rr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function rZ(t,e,n){var r=rn.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function rS(t,e,n){var r=rn.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function rN(t,e){return ro(t.getDate(),e,2)}function rE(t,e){return ro(t.getHours(),e,2)}function r$(t,e){return ro(t.getHours()%12||12,e,2)}function rC(t,e){return ro(1+nO.count(n1(t),t),e,3)}function rD(t,e){return ro(t.getMilliseconds(),e,3)}function rO(t,e){return rD(t,e)+"000"}function rL(t,e){return ro(t.getMonth()+1,e,2)}function rU(t,e){return ro(t.getMinutes(),e,2)}function rR(t,e){return ro(t.getSeconds(),e,2)}function rj(t){var e=t.getDay();return 0===e?7:e}function rF(t,e){return ro(nj.count(n1(t)-1,t),e,2)}function rP(t){var e=t.getDay();return e>=4||0===e?nH(t):nH.ceil(t)}function rI(t,e){return t=rP(t),ro(nH.count(n1(t),t)+(4===n1(t).getDay()),e,2)}function rH(t){return t.getDay()}function rz(t,e){return ro(nF.count(n1(t)-1,t),e,2)}function rY(t,e){return ro(t.getFullYear()%100,e,2)}function rq(t,e){return ro((t=rP(t)).getFullYear()%100,e,2)}function rB(t,e){return ro(t.getFullYear()%1e4,e,4)}function rW(t,e){var n=t.getDay();return ro((t=n>=4||0===n?nH(t):nH.ceil(t)).getFullYear()%1e4,e,4)}function rG(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ro(e/60|0,"0",2)+ro(e%60,"0",2)}function rX(t,e){return ro(t.getUTCDate(),e,2)}function rV(t,e){return ro(t.getUTCHours(),e,2)}function rQ(t,e){return ro(t.getUTCHours()%12||12,e,2)}function rJ(t,e){return ro(1+nL.count(n2(t),t),e,3)}function rK(t,e){return ro(t.getUTCMilliseconds(),e,3)}function r0(t,e){return rK(t,e)+"000"}function r1(t,e){return ro(t.getUTCMonth()+1,e,2)}function r2(t,e){return ro(t.getUTCMinutes(),e,2)}function r3(t,e){return ro(t.getUTCSeconds(),e,2)}function r5(t){var e=t.getUTCDay();return 0===e?7:e}function r6(t,e){return ro(nB.count(n2(t)-1,t),e,2)}function r4(t){var e=t.getUTCDay();return e>=4||0===e?nV(t):nV.ceil(t)}function r9(t,e){return t=r4(t),ro(nV.count(n2(t),t)+(4===n2(t).getUTCDay()),e,2)}function r8(t){return t.getUTCDay()}function r7(t,e){return ro(nW.count(n2(t)-1,t),e,2)}function it(t,e){return ro(t.getUTCFullYear()%100,e,2)}function ie(t,e){return ro((t=r4(t)).getUTCFullYear()%100,e,2)}function ir(t,e){return ro(t.getUTCFullYear()%1e4,e,4)}function ii(t,e){var n=t.getUTCDay();return ro((t=n>=4||0===n?nV(t):nV.ceil(t)).getUTCFullYear()%1e4,e,4)}function io(){return"+0000"}function ia(){return"%"}function is(t){return+t}function iu(t){return Math.floor(+t/1e3)}function ic(t){return new Date(t)}function il(t){return t instanceof Date?+t:+new Date(+t)}function ih(){return eJ.apply((function t(e,n,r,i,o,a,s,u,c,l){var h=n_(),f=h.invert,p=h.domain,_=l(".%L"),d=l(":%S"),g=l("%I:%M"),y=l("%I %p"),m=l("%a %d"),v=l("%b %d"),b=l("%B"),x=l("%Y");function w(t){return(c(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:is,s:iu,S:rR,u:rj,U:rF,V:rI,w:rH,W:rz,x:null,X:null,y:rY,Y:rB,Z:rG,"%":ia},b={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:rX,e:rX,f:r0,g:ie,G:ii,H:rV,I:rQ,j:rJ,L:rK,m:r1,M:r2,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:is,s:iu,S:r3,u:r5,U:r6,V:r9,w:r8,W:r7,x:null,X:null,y:it,Y:ir,Z:io,"%":ia},x={a:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=_.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return T(t,e,n,r)},d:rv,e:rv,f:rk,g:rd,G:r_,H:rx,I:rx,j:rb,L:rT,m:rm,M:rw,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:ry,Q:rZ,s:rS,S:rM,u:rl,U:rh,V:rf,w:rc,W:rp,x:function(t,e,r){return T(t,n,e,r)},X:function(t,e,n){return T(t,r,e,n)},y:rd,Y:r_,Z:rg,"%":rA};function w(t,e){return function(n){var r,i,o,a=[],s=-1,u=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=(r=n7(rt(o.y,0,1))).getUTCDay())>4||0===i?nW.ceil(r):nW(r),r=nL.offset(r,(o.V-1)*7),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(i=(r=n8(rt(o.y,0,1))).getDay())>4||0===i?nF.ceil(r):nF(r),r=nO.offset(r,(o.V-1)*7),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?n7(rt(o.y,0,1)).getUTCDay():n8(rt(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,n7(o)):n8(o)}}function T(t,e,n,r){for(var i,o,a=0,s=e.length,u=n.length;a=u)return -1;if(37===(i=e.charCodeAt(a++))){if(!(o=x[(i=e.charAt(a++))in re?e.charAt(a++):i])||(r=o(t,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return v.x=w(n,v),v.X=w(r,v),v.c=w(e,v),b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),{format:function(t){var e=w(t+="",v);return e.toString=function(){return t},e},parse:function(t){var e=M(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=M(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,tc.parse,tc.utcFormat,tc.utcParse;var ip=function(t){for(var e=t.length/6|0,n=Array(e),r=0;r=1?ik:t<=-1?-ik:Math.asin(t)}let iS=Math.PI,iN=2*iS,iE=iN-1e-6;function i$(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw Error(`invalid digits: ${t}`);if(e>15)return i$;let n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e1e-6){if(Math.abs(l*s-u*c)>1e-6&&i){let f=n-o,p=r-a,_=s*s+u*u,d=Math.sqrt(_),g=Math.sqrt(h),y=i*Math.tan((iS-Math.acos((_+h-(f*f+p*p))/(2*d*g)))/2),m=y/g,v=y/d;Math.abs(m-1)>1e-6&&this._append`L${t+m*c},${e+m*l}`,this._append`A${i},${i},0,0,${+(l*f>c*p)},${this._x1=t+v*s},${this._y1=e+v*u}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,n,r,i,o){if(t=+t,e=+e,o=!!o,(n=+n)<0)throw Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),u=t+a,c=e+s,l=1^o,h=o?r-i:i-r;null===this._x1?this._append`M${u},${c}`:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-c)>1e-6)&&this._append`L${u},${c}`,n&&(h<0&&(h=h%iN+iN),h>iE?this._append`A${n},${n},0,1,${l},${t-a},${e-s}A${n},${n},0,1,${l},${this._x1=u},${this._y1=c}`:h>1e-6&&this._append`A${n},${n},0,${+(h>=iS)},${l},${this._x1=t+n*Math.cos(i)},${this._y1=e+n*Math.sin(i)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function iD(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{let t=Math.floor(n);if(!(t>=0))throw RangeError(`invalid digits: ${n}`);e=t}return t},()=>new iC(e)}function iO(t){return t.innerRadius}function iL(t){return t.outerRadius}function iU(t){return t.startAngle}function iR(t){return t.endAngle}function ij(t){return t&&t.padAngle}function iF(t,e,n,r,i,o,a){var s=t-n,u=e-r,c=(a?o:-o)/iM(s*s+u*u),l=c*u,h=-c*s,f=t+l,p=e+h,_=n+l,d=r+h,g=(f+_)/2,y=(p+d)/2,m=_-f,v=d-p,b=m*m+v*v,x=i-o,w=f*d-_*p,M=(v<0?-1:1)*iM(ib(0,x*x*b-w*w)),T=(w*v-m*M)/b,k=(-w*m-v*M)/b,A=(w*v+m*M)/b,Z=(-w*m+v*M)/b,S=T-g,N=k-y,E=A-g,$=Z-y;return S*S+N*N>E*E+$*$&&(T=A,k=Z),{cx:T,cy:k,x01:-l,y01:-h,x11:T*(i/x-1),y11:k*(i/x-1)}}function iP(){var t=iO,e=iL,n=ig(0),r=null,i=iU,o=iR,a=ij,s=null,u=iD(c);function c(){var c,l,h=+t.apply(this,arguments),f=+e.apply(this,arguments),p=i.apply(this,arguments)-ik,_=o.apply(this,arguments)-ik,d=iy(_-p),g=_>p;if(s||(s=c=u()),f1e-12){if(d>iA-1e-12)s.moveTo(f*iv(p),f*iw(p)),s.arc(0,0,f,p,_,!g),h>1e-12&&(s.moveTo(h*iv(_),h*iw(_)),s.arc(0,0,h,_,p,g));else{var y,m,v=p,b=_,x=p,w=_,M=d,T=d,k=a.apply(this,arguments)/2,A=k>1e-12&&(r?+r.apply(this,arguments):iM(h*h+f*f)),Z=ix(iy(f-h)/2,+n.apply(this,arguments)),S=Z,N=Z;if(A>1e-12){var E=iZ(A/h*iw(k)),$=iZ(A/f*iw(k));(M-=2*E)>1e-12?(E*=g?1:-1,x+=E,w-=E):(M=0,x=w=(p+_)/2),(T-=2*$)>1e-12?($*=g?1:-1,v+=$,b-=$):(T=0,v=b=(p+_)/2)}var C=f*iv(v),D=f*iw(v),O=h*iv(w),L=h*iw(w);if(Z>1e-12){var U,R=f*iv(b),j=f*iw(b),F=h*iv(x),P=h*iw(x);if(d1?0:I<-1?iT:Math.acos(I))/2),W=iM(U[0]*U[0]+U[1]*U[1]);S=ix(Z,(h-W)/(B-1)),N=ix(Z,(f-W)/(B+1))}else S=N=0}}T>1e-12?N>1e-12?(y=iF(F,P,C,D,f,N,g),m=iF(R,j,O,L,f,N,g),s.moveTo(y.cx+y.x01,y.cy+y.y01),N1e-12&&M>1e-12?S>1e-12?(y=iF(O,L,R,j,h,-S,g),m=iF(C,D,F,P,h,-S,g),s.lineTo(y.cx+y.x01,y.cy+y.y01),St?1:e>=t?0:NaN}function iG(t){return t}function iX(){var t=iG,e=iW,n=null,r=ig(0),i=ig(iA),o=ig(0);function a(a){var s,u,c,l,h,f=(a=iI(a)).length,p=0,_=Array(f),d=Array(f),g=+r.apply(this,arguments),y=Math.min(iA,Math.max(-iA,i.apply(this,arguments)-g)),m=Math.min(Math.abs(y)/f,o.apply(this,arguments)),v=m*(y<0?-1:1);for(s=0;s0&&(p+=h);for(null!=e?_.sort(function(t,n){return e(d[t],d[n])}):null!=n&&_.sort(function(t,e){return n(a[t],a[e])}),s=0,c=p?(y-f*v)/p:0;s0?h*c:0)+v,d[u]={data:a[u],index:s,value:h,startAngle:g,endAngle:l,padAngle:m};return d}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:ig(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:ig(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:ig(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:ig(+t),a):o},a}function iV(){}function iQ(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function iJ(t){this._context=t}function iK(t){return new iJ(t)}function i0(t){this._context=t}function i1(t){return new i0(t)}function i2(t){this._context=t}function i3(t){return new i2(t)}iC.prototype,Array.prototype.slice,iH.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},iJ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:iQ(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:iQ(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},i0.prototype={areaStart:iV,areaEnd:iV,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:iQ(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},i2.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:iQ(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class i5{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function i6(t){return new i5(t,!0)}function i4(t){return new i5(t,!1)}function i9(t,e){this._basis=new iJ(t),this._beta=e}i9.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*a),this._beta*e[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var i8=function t(e){function n(t){return 1===e?new iJ(t):new i9(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function i7(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function ot(t,e){this._context=t,this._k=(1-e)/6}ot.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:i7(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:i7(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var oe=function t(e){function n(t){return new ot(t,e)}return n.tension=function(e){return t(+e)},n}(0);function on(t,e){this._context=t,this._k=(1-e)/6}on.prototype={areaStart:iV,areaEnd:iV,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:i7(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var or=function t(e){function n(t){return new on(t,e)}return n.tension=function(e){return t(+e)},n}(0);function oi(t,e){this._context=t,this._k=(1-e)/6}oi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:i7(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var oo=function t(e){function n(t){return new oi(t,e)}return n.tension=function(e){return t(+e)},n}(0);function oa(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>1e-12){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/l,a=(a*c+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function os(t,e){this._context=t,this._alpha=e}os.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:oa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ou=function t(e){function n(t){return e?new os(t,e):new ot(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function oc(t,e){this._context=t,this._alpha=e}oc.prototype={areaStart:iV,areaEnd:iV,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:oa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ol=function t(e){function n(t){return e?new oc(t,e):new on(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function oh(t,e){this._context=t,this._alpha=e}oh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:oa(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var of=function t(e){function n(t){return e?new oh(t,e):new oi(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function op(t){this._context=t}function o_(t){return new op(t)}function od(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*r)/(r+i)))||0}function og(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function oy(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function om(t){this._context=t}function ov(t){this._context=new ob(t)}function ob(t){this._context=t}function ox(t){return new om(t)}function ow(t){return new ov(t)}function oM(t){this._context=t}function oT(t){var e,n,r=t.length-1,i=Array(r),o=Array(r),a=Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(e=0,o[r-1]=(t[r]+i[r-1])/2;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},oE.prototype={constructor:oE,scale:function(t){return 1===t?this:new oE(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new oE(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new oE(1,0,0),oE.prototype},78126:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(19324),i=n(42972);class o{constructor(){this.type=i.w.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=i.w.ALL}is(t){return this.type===t}}class a{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new o}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=i.w.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:n,l:i}=t;void 0===e&&(t.h=r.Z.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=r.Z.channel.rgb2hsl(t,"s")),void 0===i&&(t.l=r.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:n,b:i}=t;void 0===e&&(t.r=r.Z.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=r.Z.channel.hsl2rgb(t,"g")),void 0===i&&(t.b=r.Z.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(i.w.HSL)||void 0===e?(this._ensureHSL(),r.Z.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(i.w.RGB)||void 0===e?(this._ensureRGB(),r.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(i.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(i.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(i.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(i.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(i.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(i.w.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}var s=new a({r:0,g:0,b:0,a:0},"transparent")},73660:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(78126),i=n(42972);let o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(o.re);if(!e)return;let n=e[1],i=parseInt(n,16),a=n.length,s=a%4==0,u=a>4,c=u?1:17,l=u?8:4,h=s?0:-1,f=u?255:15;return r.Z.set({r:(i>>l*(h+3)&f)*c,g:(i>>l*(h+2)&f)*c,b:(i>>l*(h+1)&f)*c,a:s?(i&f)*c/255:1},t)},stringify:t=>{let{r:e,g:n,b:r,a:o}=t;return o<1?`#${i.Q[Math.round(e)]}${i.Q[Math.round(n)]}${i.Q[Math.round(r)]}${i.Q[Math.round(255*o)]}`:`#${i.Q[Math.round(e)]}${i.Q[Math.round(n)]}${i.Q[Math.round(r)]}`}};var a=n(19324);let s={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{let e=t.match(s.hueRe);if(e){let[,t,n]=e;switch(n){case"grad":return a.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return a.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return a.Z.channel.clamp.h(360*parseFloat(t))}}return a.Z.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let n=t.match(s.re);if(!n)return;let[,i,o,u,c,l]=n;return r.Z.set({h:s._hue2deg(i),s:a.Z.channel.clamp.s(parseFloat(o)),l:a.Z.channel.clamp.l(parseFloat(u)),a:c?a.Z.channel.clamp.a(l?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{let{h:e,s:n,l:r,a:i}=t;return i<1?`hsla(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}%, ${a.Z.lang.round(r)}%, ${i})`:`hsl(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}%, ${a.Z.lang.round(r)}%)`}},u={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();let e=u.colors[t];if(e)return o.parse(e)},stringify:t=>{let e=o.stringify(t);for(let t in u.colors)if(u.colors[t]===e)return t}},c={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let n=t.match(c.re);if(!n)return;let[,i,o,s,u,l,h,f,p]=n;return r.Z.set({r:a.Z.channel.clamp.r(o?2.55*parseFloat(i):parseFloat(i)),g:a.Z.channel.clamp.g(u?2.55*parseFloat(s):parseFloat(s)),b:a.Z.channel.clamp.b(h?2.55*parseFloat(l):parseFloat(l)),a:f?a.Z.channel.clamp.a(p?parseFloat(f)/100:parseFloat(f)):1},t)},stringify:t=>{let{r:e,g:n,b:r,a:i}=t;return i<1?`rgba(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}, ${a.Z.lang.round(r)}, ${a.Z.lang.round(i)})`:`rgb(${a.Z.lang.round(e)}, ${a.Z.lang.round(n)}, ${a.Z.lang.round(r)})`}};var l={format:{keyword:u,hex:o,rgb:c,rgba:c,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=o.parse(t)||c.parse(t)||s.parse(t)||u.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(i.w.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?o.stringify(t):c.stringify(t)}},42972:function(t,e,n){"use strict";n.d(e,{Q:function(){return i},w:function(){return o}});var r=n(19324);let i={};for(let t=0;t<=255;t++)i[t]=r.Z.unit.dec2hex(t);let o={ALL:0,RGB:1,HSL:2}},70600:function(t,e,n){"use strict";var r=n(73660),i=n(23338);e.Z=(t,e)=>{let n=r.Z.parse(t),o={};for(let t in e)e[t]&&(o[t]=n[t]+e[t]);return(0,i.Z)(t,o)}},30595:function(t,e,n){"use strict";var r=n(19324),i=n(73660);e.Z=(t,e,n)=>{let o=i.Z.parse(t),a=o[e],s=r.Z.channel.clamp[e](a+n);return a!==s&&(o[e]=s),i.Z.stringify(o)}},23338:function(t,e,n){"use strict";var r=n(19324),i=n(73660);e.Z=(t,e)=>{let n=i.Z.parse(t);for(let t in e)n[t]=r.Z.channel.clamp[t](e[t]);return i.Z.stringify(n)}},53596:function(t,e,n){"use strict";var r=n(30595);e.Z=(t,e)=>(0,r.Z)(t,"l",-e)},56313:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(73660),i=n(78139),o=(t,e,n=50)=>{let{r:o,g:a,b:s,a:u}=r.Z.parse(t),{r:c,g:l,b:h,a:f}=r.Z.parse(e),p=n/100,_=2*p-1,d=u-f,g=((_*d==-1?_:(_+d)/(1+_*d))+1)/2,y=1-g;return(0,i.Z)(o*g+c*y,a*g+l*y,s*g+h*y,u*p+f*(1-p))},a=(t,e=100)=>{let n=r.Z.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,o(n,t,e)}},3723:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(19324),i=n(73660),o=t=>{let{r:e,g:n,b:o}=i.Z.parse(t),a=.2126*r.Z.channel.toLinear(e)+.7152*r.Z.channel.toLinear(n)+.0722*r.Z.channel.toLinear(o);return r.Z.lang.round(a)},a=t=>o(t)>=.5,s=t=>!a(t)},55680:function(t,e,n){"use strict";var r=n(30595);e.Z=(t,e)=>(0,r.Z)(t,"l",e)},78139:function(t,e,n){"use strict";var r=n(19324),i=n(78126),o=n(73660),a=n(23338);e.Z=(t,e,n=0,s=1)=>{if("number"!=typeof t)return(0,a.Z)(t,{a:e});let u=i.Z.set({r:r.Z.channel.clamp.r(t),g:r.Z.channel.clamp.g(e),b:r.Z.channel.clamp.b(n),a:r.Z.channel.clamp.a(s)});return o.Z.stringify(u)}},19324:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});let r={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t,hsl2rgb:({h:t,s:e,l:n},i)=>{if(!e)return 2.55*n;t/=360,e/=100;let o=(n/=100)<.5?n*(1+e):n+e-n*e,a=2*n-o;switch(i){case"r":return 255*r.hue2rgb(a,o,t+1/3);case"g":return 255*r.hue2rgb(a,o,t);case"b":return 255*r.hue2rgb(a,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},r)=>{let i=Math.max(t/=255,e/=255,n/=255),o=Math.min(t,e,n),a=(i+o)/2;if("l"===r)return 100*a;if(i===o)return 0;let s=i-o;if("s"===r)return 100*(a>.5?s/(2-i-o):s/(i+o));switch(i){case t:return((e-n)/s+(ee>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},11779:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(54523),i=function(t,e){for(var n=t.length;n--;)if((0,r.Z)(t[n][0],e))return n;return -1},o=Array.prototype.splice;function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1},a.prototype.set=function(t,e){var n=this.__data__,r=i(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var s=a},19385:function(t,e,n){"use strict";var r=n(1311),i=n(99615),o=(0,r.Z)(i.Z,"Map");e.Z=o},91380:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var r=(0,n(1311).Z)(Object,"create"),i=Object.prototype.hasOwnProperty,o=Object.prototype.hasOwnProperty;function a(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t0){if(++r>=800)return arguments[0]}else r=0;return u.apply(void 0,arguments)})},65114:function(t,e){"use strict";var n=Function.prototype.toString;e.Z=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},6964:function(t,e){"use strict";e.Z=function(t){return function(){return t}}},54523:function(t,e){"use strict";e.Z=function(t,e){return t===e||t!=t&&e!=e}},76402:function(t,e){"use strict";e.Z=function(t){return t}},65380:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(33918),i=n(13795),o=function(t){return(0,i.Z)(t)&&"[object Arguments]"==(0,r.Z)(t)},a=Object.prototype,s=a.hasOwnProperty,u=a.propertyIsEnumerable,c=o(function(){return arguments}())?o:function(t){return(0,i.Z)(t)&&s.call(t,"callee")&&!u.call(t,"callee")}},56052:function(t,e){"use strict";var n=Array.isArray;e.Z=n},49634:function(t,e,n){"use strict";var r=n(88987),i=n(65743);e.Z=function(t){return null!=t&&(0,i.Z)(t.length)&&!(0,r.Z)(t)}},84488:function(t,e,n){"use strict";var r=n(49634),i=n(13795);e.Z=function(t){return(0,i.Z)(t)&&(0,r.Z)(t)}},45673:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(99615),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===i?r.Z.Buffer:void 0,s=(a?a.isBuffer:void 0)||function(){return!1}},15943:function(t,e,n){"use strict";var r=n(88343),i=n(23313),o=n(65380),a=n(56052),s=n(49634),u=n(45673),c=n(5196),l=n(79064),h=Object.prototype.hasOwnProperty;e.Z=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,a.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,u.Z)(t)||(0,l.Z)(t)||(0,o.Z)(t)))return!t.length;var e=(0,i.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,c.Z)(t))return!(0,r.Z)(t).length;for(var n in t)if(h.call(t,n))return!1;return!0}},88987:function(t,e,n){"use strict";var r=n(33918),i=n(82433);e.Z=function(t){if(!(0,i.Z)(t))return!1;var e=(0,r.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},65743:function(t,e){"use strict";e.Z=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},82433:function(t,e){"use strict";e.Z=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},13795:function(t,e){"use strict";e.Z=function(t){return null!=t&&"object"==typeof t}},54098:function(t,e,n){"use strict";var r=n(33918),i=n(10964),o=n(13795),a=Object.prototype,s=Function.prototype.toString,u=a.hasOwnProperty,c=s.call(Object);e.Z=function(t){if(!(0,o.Z)(t)||"[object Object]"!=(0,r.Z)(t))return!1;var e=(0,i.Z)(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==c}},79064:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(33918),i=n(65743),o=n(13795),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=n(5467),u=n(92350),c=u.Z&&u.Z.isTypedArray,l=c?(0,s.Z)(c):function(t){return(0,o.Z)(t)&&(0,i.Z)(t.length)&&!!a[(0,r.Z)(t)]}},32817:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(36858),i=n(82433),o=n(5196),a=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},s=Object.prototype.hasOwnProperty,u=function(t){if(!(0,i.Z)(t))return a(t);var e=(0,o.Z)(t),n=[];for(var r in t)"constructor"==r&&(e||!s.call(t,r))||n.push(r);return n},c=n(49634),l=function(t){return(0,c.Z)(t)?(0,r.Z)(t,!0):u(t)}},59332:function(t,e,n){"use strict";var r=n(91380);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r.Z),n}i.Cache=r.Z,e.Z=i},64546:function(t,e,n){"use strict";n.d(e,{Z:function(){return S}});var r,i=n(24507),o=n(857),a=n(54523),s=function(t,e,n){(void 0===n||(0,a.Z)(t[e],n))&&(void 0!==n||e in t)||(0,o.Z)(t,e,n)},u=n(29148),c=n(14054),l=n(11523),h=n(33086),f=n(16448),p=n(65380),_=n(56052),d=n(84488),g=n(45673),y=n(88987),m=n(82433),v=n(54098),b=n(79064),x=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},w=n(52949),M=n(32817),T=function(t,e,n,r,i,o,a){var u=x(t,n),T=x(e,n),k=a.get(T);if(k){s(t,n,k);return}var A=o?o(u,T,n+"",t,e,a):void 0,Z=void 0===A;if(Z){var S=(0,_.Z)(T),N=!S&&(0,g.Z)(T),E=!S&&!N&&(0,b.Z)(T);(A=T,S||N||E)?(0,_.Z)(u)?A=u:(0,d.Z)(u)?A=(0,h.Z)(u):N?(Z=!1,A=(0,c.Z)(T,!0)):E?(Z=!1,A=(0,l.Z)(T,!0)):A=[]:(0,v.Z)(T)||(0,p.Z)(T)?(A=u,(0,p.Z)(u))?A=(0,w.Z)(u,(0,M.Z)(u)):(!(0,m.Z)(u)||(0,y.Z)(u))&&(A=(0,f.Z)(T)):Z=!1}Z&&(a.set(T,A),i(A,T,r,o,a),a.delete(T)),s(t,n,A)},k=function t(e,n,r,o,a){e!==n&&(0,u.Z)(n,function(u,c){if(a||(a=new i.Z),(0,m.Z)(u))T(e,n,c,r,t,o,a);else{var l=o?o(x(e,c),u,c+"",e,n,a):void 0;void 0===l&&(l=u),s(e,c,l)}},M.Z)},A=n(19851),Z=n(61833),S=(r=function(t,e,n){k(t,e,n)},(0,A.Z)(function(t,e){var n=-1,i=e.length,o=i>1?e[i-1]:void 0,a=i>2?e[2]:void 0;for(o=r.length>3&&"function"==typeof o?(i--,o):void 0,a&&(0,Z.Z)(e[0],e[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++n68?1900:2e3)},c=function(t){return function(e){this[t]=+e}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t||"Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),i=60*e[1]+(+e[2]||0);return 0===i?0:"+"===e[0]?-i:i}(t)}],d=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},u=function(t,e){var i,n=a.meridiem;if(n){for(var r=1;r<=24;r+=1)if(t.indexOf(n(r,0,e))>-1){i=r>12;break}}else i=t===(e?"pm":"PM");return i},h={A:[s,function(t){this.afternoon=u(t,!1)}],a:[s,function(t){this.afternoon=u(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[r,c("seconds")],ss:[r,c("seconds")],m:[r,c("minutes")],mm:[r,c("minutes")],H:[r,c("hours")],h:[r,c("hours")],HH:[r,c("hours")],hh:[r,c("hours")],D:[r,c("day")],DD:[n,c("day")],Do:[s,function(t){var e=a.ordinal,i=t.match(/\d+/);if(this.day=i[0],e)for(var n=1;n<=31;n+=1)e(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],M:[r,c("month")],MM:[n,c("month")],MMM:[s,function(t){var e=d("months"),i=(d("monthsShort")||e.map(function(t){return t.slice(0,3)})).indexOf(t)+1;if(i<1)throw Error();this.month=i%12||i}],MMMM:[s,function(t){var e=d("months").indexOf(t)+1;if(e<1)throw Error();this.month=e%12||e}],Y:[/[+-]?\d+/,c("year")],YY:[n,function(t){this.year=o(t)}],YYYY:[/\d{4}/,c("year")],Z:l,ZZ:l},function(t,n,r){r.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(o=t.parseTwoDigitYear);var s=n.prototype,c=s.parse;s.parse=function(t){var n=t.date,s=t.utc,o=t.args;this.$u=s;var l=o[1];if("string"==typeof l){var d=!0===o[2],u=!0===o[3],f=o[2];u&&(f=o[2]),a=this.$locale(),!d&&f&&(a=r.Ls[f]),this.$d=function(t,n,r){try{if(["x","X"].indexOf(n)>-1)return new Date(("X"===n?1e3:1)*t);var s=(function(t){var n,r;n=t,r=a&&a.formats;for(var s=(t=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,i,n){var s=n&&n.toUpperCase();return i||r[n]||e[n]||r[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,i){return e||i.slice(1)})})).match(i),o=s.length,c=0;c0?c-1:k.getMonth());var x=d||0,T=u||0,v=f||0,_=y||0;return m?new Date(Date.UTC(g,b,p,x,T,v,_+60*m.offset*1e3)):r?new Date(Date.UTC(g,b,p,x,T,v,_)):new Date(g,b,p,x,T,v,_)}catch(t){return new Date("")}}(n,l,s),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),(d||u)&&n!=this.format(l)&&(this.$d=new Date("")),a={}}else if(l instanceof Array)for(var y=l.length,m=1;m<=y;m+=1){o[1]=l[m-1];var k=r.apply(this,o);if(k.isValid()){this.$d=k.$d,this.$L=k.$L,this.init();break}m===y&&(this.$d=new Date(""))}else c.call(this,t)}})},81:function(t){t.exports=function(t,e,i){var n=function(t){return t.add(4-t.isoWeekday(),"day")},r=e.prototype;r.isoWeekYear=function(){return n(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),"day");var e,r,s,a=n(this),o=(e=this.isoWeekYear(),s=4-(r=(this.$u?i.utc:i)().year(e).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(s+=7),r.add(s,"day"));return a.diff(o,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var s=r.startOf;r.startOf=function(t,e){var i=this.$utils(),n=!!i.u(e)||e;return"isoweek"===i.p(t)?n?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(t,e)}}},95846:function(t,e,i){"use strict";let n,r,s,a;i.d(e,{diagram:function(){return K}});var o=i(91088),c=i(5726),l=i(81),d=i(25010),u=i(1293),h=i(71421),f=i(27509);i(95591);var y=function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[6,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,30,32,33,35,37],i=[1,25],n=[1,26],r=[1,27],s=[1,28],a=[1,29],o=[1,30],c=[1,31],l=[1,9],d=[1,10],u=[1,11],h=[1,12],f=[1,13],y=[1,14],m=[1,15],k=[1,16],p=[1,18],g=[1,19],b=[1,20],x=[1,21],T=[1,22],v=[1,24],_=[1,32],w={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,dateFormat:19,inclusiveEndDates:20,topAxis:21,axisFormat:22,tickInterval:23,excludes:24,includes:25,todayMarker:26,title:27,acc_title:28,acc_title_value:29,acc_descr:30,acc_descr_value:31,acc_descr_multiline_value:32,section:33,clickStatement:34,taskTxt:35,taskData:36,click:37,callbackname:38,callbackargs:39,href:40,clickStatementDebug:41,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",19:"dateFormat",20:"inclusiveEndDates",21:"topAxis",22:"axisFormat",23:"tickInterval",24:"excludes",25:"includes",26:"todayMarker",27:"title",28:"acc_title",29:"acc_title_value",30:"acc_descr",31:"acc_descr_value",32:"acc_descr_multiline_value",33:"section",35:"taskTxt",36:"taskData",37:"click",38:"callbackname",39:"callbackargs",40:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[34,2],[34,3],[34,3],[34,4],[34,3],[34,4],[34,2],[41,2],[41,3],[41,3],[41,4],[41,3],[41,4],[41,2]],performAction:function(t,e,i,n,r,s,a){var o=s.length-1;switch(r){case 1:return s[o-1];case 2:case 6:case 7:this.$=[];break;case 3:s[o-1].push(s[o]),this.$=s[o-1];break;case 4:case 5:this.$=s[o];break;case 8:n.setWeekday("monday");break;case 9:n.setWeekday("tuesday");break;case 10:n.setWeekday("wednesday");break;case 11:n.setWeekday("thursday");break;case 12:n.setWeekday("friday");break;case 13:n.setWeekday("saturday");break;case 14:n.setWeekday("sunday");break;case 15:n.setDateFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 16:n.enableInclusiveEndDates(),this.$=s[o].substr(18);break;case 17:n.TopAxis(),this.$=s[o].substr(8);break;case 18:n.setAxisFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 19:n.setTickInterval(s[o].substr(13)),this.$=s[o].substr(13);break;case 20:n.setExcludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 21:n.setIncludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 22:n.setTodayMarker(s[o].substr(12)),this.$=s[o].substr(12);break;case 24:n.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 25:this.$=s[o].trim(),n.setAccTitle(this.$);break;case 26:case 27:this.$=s[o].trim(),n.setAccDescription(this.$);break;case 28:n.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 30:n.addTask(s[o-1],s[o]),this.$="task";break;case 31:this.$=s[o-1],n.setClickEvent(s[o-1],s[o],null);break;case 32:this.$=s[o-2],n.setClickEvent(s[o-2],s[o-1],s[o]);break;case 33:this.$=s[o-2],n.setClickEvent(s[o-2],s[o-1],null),n.setLink(s[o-2],s[o]);break;case 34:this.$=s[o-3],n.setClickEvent(s[o-3],s[o-2],s[o-1]),n.setLink(s[o-3],s[o]);break;case 35:this.$=s[o-2],n.setClickEvent(s[o-2],s[o],null),n.setLink(s[o-2],s[o-1]);break;case 36:this.$=s[o-3],n.setClickEvent(s[o-3],s[o-1],s[o]),n.setLink(s[o-3],s[o-2]);break;case 37:this.$=s[o-1],n.setLink(s[o-1],s[o]);break;case 38:case 44:this.$=s[o-1]+" "+s[o];break;case 39:case 40:case 42:this.$=s[o-2]+" "+s[o-1]+" "+s[o];break;case 41:case 43:this.$=s[o-3]+" "+s[o-2]+" "+s[o-1]+" "+s[o]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:n,14:r,15:s,16:a,17:o,18:c,19:l,20:d,21:u,22:h,23:f,24:y,25:m,26:k,27:p,28:g,30:b,32:x,33:T,34:23,35:v,37:_},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:33,11:17,12:i,13:n,14:r,15:s,16:a,17:o,18:c,19:l,20:d,21:u,22:h,23:f,24:y,25:m,26:k,27:p,28:g,30:b,32:x,33:T,34:23,35:v,37:_},t(e,[2,5]),t(e,[2,6]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),{29:[1,34]},{31:[1,35]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),{36:[1,36]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),{38:[1,37],40:[1,38]},t(e,[2,4]),t(e,[2,25]),t(e,[2,26]),t(e,[2,30]),t(e,[2,31],{39:[1,39],40:[1,40]}),t(e,[2,37],{38:[1,41]}),t(e,[2,32],{40:[1,42]}),t(e,[2,33]),t(e,[2,35],{39:[1,43]}),t(e,[2,34]),t(e,[2,36])],defaultActions:{},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},parse:function(t){var e=this,i=[0],n=[],r=[null],s=[],a=this.table,o="",c=0,l=0,d=s.slice.call(arguments,1),u=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);u.setInput(t,h.yy),h.yy.lexer=u,h.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var y=u.yylloc;s.push(y);var m=u.options&&u.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var k,p,g,b,x,T,v,_,w={};;){if(p=i[i.length-1],this.defaultActions[p]?g=this.defaultActions[p]:(null==k&&(k=function(){var t;return"number"!=typeof(t=n.pop()||u.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}()),g=a[p]&&a[p][k]),void 0===g||!g.length||!g[0]){var $="";for(x in _=[],a[p])this.terminals_[x]&&x>2&&_.push("'"+this.terminals_[x]+"'");$=u.showPosition?"Parse error on line "+(c+1)+":\n"+u.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError($,{text:u.match,token:this.terminals_[k]||k,line:u.yylineno,loc:y,expected:_})}if(g[0]instanceof Array&&g.length>1)throw Error("Parse Error: multiple actions possible at state: "+p+", token: "+k);switch(g[0]){case 1:i.push(k),r.push(u.yytext),s.push(u.yylloc),i.push(g[1]),k=null,l=u.yyleng,o=u.yytext,c=u.yylineno,y=u.yylloc;break;case 2:if(T=this.productions_[g[1]][1],w.$=r[r.length-T],w._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},m&&(w._$.range=[s[s.length-(T||1)].range[0],s[s.length-1].range[1]]),void 0!==(b=this.performAction.apply(w,[o,l,c,h.yy,g[1],r,s].concat(d))))return b;T&&(i=i.slice(0,-1*T*2),r=r.slice(0,-1*T),s=s.slice(0,-1*T)),i.push(this.productions_[g[1]][0]),r.push(w.$),s.push(w._$),v=a[i[i.length-2]][i[i.length-1]],i.push(v);break;case 3:return!0}}return!0}};function $(){this.yy={}}return w.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,n,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in r)this[s]=r[s];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),28;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),30;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 16:case 19:case 22:case 25:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:case 14:break;case 11:return 10;case 15:this.begin("href");break;case 17:return 40;case 18:this.begin("callbackname");break;case 20:this.popState(),this.begin("callbackargs");break;case 21:return 38;case 23:return 39;case 24:this.begin("click");break;case 26:return 37;case 27:return 4;case 28:return 19;case 29:return 20;case 30:return 21;case 31:return 22;case 32:return 23;case 33:return 25;case 34:return 24;case 35:return 26;case 36:return 12;case 37:return 13;case 38:return 14;case 39:return 15;case 40:return 16;case 41:return 17;case 42:return 18;case 43:return"date";case 44:return 27;case 45:return"accDescription";case 46:return 33;case 47:return 35;case 48:return 36;case 49:return":";case 50:return 6;case 51:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[22,23],inclusive:!1},callbackname:{rules:[19,20,21],inclusive:!1},href:{rules:[16,17],inclusive:!1},click:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,18,24,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}},$.prototype=w,w.Parser=$,new $}();y.parser=y,c.extend(l),c.extend(d),c.extend(u);let m="",k="",p="",g=[],b=[],x={},T=[],v=[],_="",w="",$=["active","done","crit","milestone"],D=[],S=!1,C=!1,E="sunday",M=0,Y=function(t,e,i,n){return!n.includes(t.format(e.trim()))&&(!!(t.isoWeekday()>=6&&i.includes("weekends")||i.includes(t.format("dddd").toLowerCase()))||i.includes(t.format(e.trim())))},A=function(t,e,i,n){let r;if(!i.length||t.manualEndTime)return;let[s,a]=L((t.startTime instanceof Date?c(t.startTime):c(t.startTime,e,!0)).add(1,"d"),t.endTime instanceof Date?c(t.endTime):c(t.endTime,e,!0),e,i,n);t.endTime=s.toDate(),t.renderEndTime=a},L=function(t,e,i,n,r){let s=!1,a=null;for(;t<=e;)s||(a=e.toDate()),(s=Y(t,i,n,r))&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},F=function(t,e,i){i=i.trim();let n=/^after\s+([\d\w- ]+)/.exec(i.trim());if(null!==n){let t=null;if(n[1].split(" ").forEach(function(e){let i=j(e);void 0!==i&&(t?i.endTime>t.endTime&&(t=i):t=i)}),t)return t.endTime;{let t=new Date;return t.setHours(0,0,0,0),t}}let r=c(i,e.trim(),!0);if(r.isValid())return r.toDate();{h.l.debug("Invalid date:"+i),h.l.debug("With date format:"+e.trim());let t=new Date(i);if(void 0===t||isNaN(t.getTime())||-1e4>t.getFullYear()||t.getFullYear()>1e4)throw Error("Invalid date:"+i);return t}},I=function(t){let e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},O=function(t,e,i,n=!1){let r=c(i=i.trim(),e.trim(),!0);if(r.isValid())return n&&(r=r.add(1,"d")),r.toDate();let s=c(t),[a,o]=I(i);if(!Number.isNaN(a)){let t=s.add(a,o);t.isValid()&&(s=t)}return s.toDate()},W=0,z=function(t){return void 0===t?"task"+(W+=1):t},P=function(t,e){let i=(":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),n={};U(i,n,$);for(let t=0;t{h.u.runFunc(e,...n)})},q=function(t,e){D.push(function(){let i=document.querySelector(`[id="${t}"]`);null!==i&&i.addEventListener("click",function(){e()})},function(){let i=document.querySelector(`[id="${t}-text"]`);null!==i&&i.addEventListener("click",function(){e()})})},R={getConfig:()=>(0,h.c)().gantt,clear:function(){T=[],v=[],_="",D=[],W=0,n=void 0,r=void 0,N=[],m="",k="",w="",a=void 0,p="",g=[],b=[],S=!1,C=!1,M=0,x={},(0,h.t)(),E="sunday"},setDateFormat:function(t){m=t},getDateFormat:function(){return m},enableInclusiveEndDates:function(){S=!0},endDatesAreInclusive:function(){return S},enableTopAxis:function(){C=!0},topAxisEnabled:function(){return C},setAxisFormat:function(t){k=t},getAxisFormat:function(){return k},setTickInterval:function(t){a=t},getTickInterval:function(){return a},setTodayMarker:function(t){p=t},getTodayMarker:function(){return p},setAccTitle:h.s,getAccTitle:h.g,setDiagramTitle:h.q,getDiagramTitle:h.r,setDisplayMode:function(t){w=t},getDisplayMode:function(){return w},setAccDescription:h.b,getAccDescription:h.a,addSection:function(t){_=t,T.push(t)},getSections:function(){return T},getTasks:function(){let t=Z(),e=0;for(;!t&&e<10;)t=Z(),e++;return v=N},addTask:function(t,e){let i={section:_,type:_,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},n=B(r,e);i.raw.startTime=n.startTime,i.raw.endTime=n.endTime,i.id=n.id,i.prevTaskId=r,i.active=n.active,i.done=n.done,i.crit=n.crit,i.milestone=n.milestone,i.order=M,M++;let s=N.push(i);r=i.id,H[i.id]=s-1},findTaskById:j,addTaskOrg:function(t,e){let i={section:_,type:_,description:t,task:t,classes:[]},r=P(n,e);i.startTime=r.startTime,i.endTime=r.endTime,i.id=r.id,i.active=r.active,i.done=r.done,i.crit=r.crit,i.milestone=r.milestone,n=i,v.push(i)},setIncludes:function(t){g=t.toLowerCase().split(/[\s,]+/)},getIncludes:function(){return g},setExcludes:function(t){b=t.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return b},setClickEvent:function(t,e,i){t.split(",").forEach(function(t){V(t,e,i)}),G(t,"clickable")},setLink:function(t,e){let i=e;"loose"!==(0,h.c)().securityLevel&&(i=(0,o.Nm)(e)),t.split(",").forEach(function(t){void 0!==j(t)&&(q(t,()=>{window.open(i,"_self")}),x[t]=i)}),G(t,"clickable")},getLinks:function(){return x},bindFunctions:function(t){D.forEach(function(e){e(t)})},parseDuration:I,isInvalidDate:Y,setWeekday:function(t){E=t},getWeekday:function(){return E}};function U(t,e,i){let n=!0;for(;n;)n=!1,i.forEach(function(i){let r=RegExp("^\\s*"+i+"\\s*$");t[0].match(r)&&(e[i]=!0,t.shift(1),n=!0)})}let X={monday:f.Ox9,tuesday:f.YDX,wednesday:f.EFj,thursday:f.Igq,friday:f.y2j,saturday:f.LqH,sunday:f.Zyz},Q=(t,e)=>{let i=[...t].map(()=>-1/0),n=[...t].sort((t,e)=>t.startTime-e.startTime||t.order-e.order),r=0;for(let t of n)for(let n=0;n=i[n]){i[n]=t.endTime,t.order=n+e,n>r&&(r=n);break}return r},K={parser:y,db:R,renderer:{setConf:function(){h.l.debug("Something is calling, setConf, remove the call")},draw:function(t,e,i,n){let r;let a=(0,h.c)().gantt,o=(0,h.c)().securityLevel;"sandbox"===o&&(r=(0,f.Ys)("#i"+e));let l="sandbox"===o?(0,f.Ys)(r.nodes()[0].contentDocument.body):(0,f.Ys)("body"),d="sandbox"===o?r.nodes()[0].contentDocument:document,u=d.getElementById(e);void 0===(s=u.parentElement.offsetWidth)&&(s=1200),void 0!==a.useWidth&&(s=a.useWidth);let y=n.db.getTasks(),m=[];for(let t of y)m.push(t.type);m=function(t){let e={},i=[];for(let n=0,r=t.length;ne.type===t).length;u.setAttribute("viewBox","0 0 "+s+" "+p);let g=l.select(`[id="${e}"]`),b=(0,f.Xf)().domain([(0,f.VV$)(y,function(t){return t.startTime}),(0,f.Fp7)(y,function(t){return t.endTime})]).rangeRound([0,s-a.leftPadding-a.rightPadding]);y.sort(function(t,e){let i=t.startTime,n=e.startTime,r=0;return i>n?r=1:if)&&(f=e);if(!u||!f)return;if(c(f).diff(c(u),"year")>5){h.l.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let y=n.db.getDateFormat(),m=[],k=null,p=c(u);for(;p.valueOf()<=f;)n.db.isInvalidDate(p,y,l,d)?k?k.end=p:k={start:p,end:p}:k&&(m.push(k),k=null),p=p.add(1,"d");g.append("g").selectAll("rect").data(m).enter().append("rect").attr("id",function(t){return"exclude-"+t.start.format("YYYY-MM-DD")}).attr("x",function(t){return b(t.start)+i}).attr("y",a.gridLineStartPadding).attr("width",function(t){return b(t.end.add(1,"day"))-b(t.start)}).attr("height",s-e-a.gridLineStartPadding).attr("transform-origin",function(e,n){return(b(e.start)+i+.5*(b(e.end)-b(e.start))).toString()+"px "+(n*t+.5*s).toString()+"px"}).attr("class","exclude-range")}(o,l,u,0,r,t,n.db.getExcludes(),n.db.getIncludes()),function(t,e,i,r){let s=(0,f.LLu)(b).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,f.i$Z)(n.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d")),o=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(n.db.getTickInterval()||a.tickInterval);if(null!==o){let t=o[1],e=o[2],i=n.db.getWeekday()||a.weekday;switch(e){case"millisecond":s.ticks(f.U8T.every(t));break;case"second":s.ticks(f.S1K.every(t));break;case"minute":s.ticks(f.Z_i.every(t));break;case"hour":s.ticks(f.WQD.every(t));break;case"day":s.ticks(f.rr1.every(t));break;case"week":s.ticks(X[i].every(t));break;case"month":s.ticks(f.F0B.every(t))}}if(g.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(s).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),n.db.topAxisEnabled()||a.topAxis){let i=(0,f.F5q)(b).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,f.i$Z)(n.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));if(null!==o){let t=o[1],e=o[2],r=n.db.getWeekday()||a.weekday;switch(e){case"millisecond":i.ticks(f.U8T.every(t));break;case"second":i.ticks(f.S1K.every(t));break;case"minute":i.ticks(f.Z_i.every(t));break;case"hour":i.ticks(f.WQD.every(t));break;case"day":i.ticks(f.rr1.every(t));break;case"week":i.ticks(X[r].every(t));break;case"month":i.ticks(f.F0B.every(t))}}g.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(i).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(u,l,0,r),function(t,i,r,s,o,c,l){let d=[...new Set(t.map(t=>t.order))].map(e=>t.find(t=>t.order===e));g.append("g").selectAll("rect").data(d).enter().append("rect").attr("x",0).attr("y",function(t,e){return t.order*i+r-2}).attr("width",function(){return l-a.rightPadding/2}).attr("height",i).attr("class",function(t){for(let[e,i]of m.entries())if(t.type===i)return"section section"+e%a.numberSectionStyles;return"section section0"});let u=g.append("g").selectAll("rect").data(t).enter(),y=n.db.getLinks();if(u.append("rect").attr("id",function(t){return t.id}).attr("rx",3).attr("ry",3).attr("x",function(t){return t.milestone?b(t.startTime)+s+.5*(b(t.endTime)-b(t.startTime))-.5*o:b(t.startTime)+s}).attr("y",function(t,e){return t.order*i+r}).attr("width",function(t){return t.milestone?o:b(t.renderEndTime||t.endTime)-b(t.startTime)}).attr("height",o).attr("transform-origin",function(t,e){return e=t.order,(b(t.startTime)+s+.5*(b(t.endTime)-b(t.startTime))).toString()+"px "+(e*i+r+.5*o).toString()+"px"}).attr("class",function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let i=0;for(let[e,n]of m.entries())t.type===n&&(i=e%a.numberSectionStyles);let n="";return t.active?t.crit?n+=" activeCrit":n=" active":t.done?n=t.crit?" doneCrit":" done":t.crit&&(n+=" crit"),0===n.length&&(n=" task"),t.milestone&&(n=" milestone "+n),"task"+(n+=i+" "+e)}),u.append("text").attr("id",function(t){return t.id+"-text"}).text(function(t){return t.task}).attr("font-size",a.fontSize).attr("x",function(t){let e=b(t.startTime),i=b(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(b(t.endTime)-b(t.startTime))-.5*o),t.milestone&&(i=e+o);let n=this.getBBox().width;return n>i-e?i+n+1.5*a.leftPadding>l?e+s-5:i+s+5:(i-e)/2+e+s}).attr("y",function(t,e){return t.order*i+a.barHeight/2+(a.fontSize/2-2)+r}).attr("text-height",o).attr("class",function(t){let e=b(t.startTime),i=b(t.endTime);t.milestone&&(i=e+o);let n=this.getBBox().width,r="";t.classes.length>0&&(r=t.classes.join(" "));let s=0;for(let[e,i]of m.entries())t.type===i&&(s=e%a.numberSectionStyles);let c="";return(t.active&&(c=t.crit?"activeCritText"+s:"activeText"+s),t.done?c=t.crit?c+" doneCritText"+s:c+" doneText"+s:t.crit&&(c=c+" critText"+s),t.milestone&&(c+=" milestoneText"),n>i-e)?i+n+1.5*a.leftPadding>l?r+" taskTextOutsideLeft taskTextOutside"+s+" "+c:r+" taskTextOutsideRight taskTextOutside"+s+" "+c+" width-"+n:r+" taskText taskText"+s+" "+c+" width-"+n}),"sandbox"===(0,h.c)().securityLevel){let t=(0,f.Ys)("#i"+e).nodes()[0].contentDocument;u.filter(function(t){return void 0!==y[t.id]}).each(function(e){var i=t.querySelector("#"+e.id),n=t.querySelector("#"+e.id+"-text");let r=i.parentNode;var s=t.createElement("a");s.setAttribute("xlink:href",y[e.id]),s.setAttribute("target","_top"),r.appendChild(s),s.appendChild(i),s.appendChild(n)})}}(t,o,l,u,s,0,i),function(t,e){let i=0,n=Object.keys(k).map(t=>[t,k[t]]);g.append("g").selectAll("text").data(n).enter().append(function(t){let e=t[0].split(h.e.lineBreakRegex),i=-(e.length-1)/2,n=d.createElementNS("http://www.w3.org/2000/svg","text");for(let[t,r]of(n.setAttribute("dy",i+"em"),e.entries())){let e=d.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=r,n.appendChild(e)}return n}).attr("x",10).attr("y",function(r,s){if(!(s>0))return r[1]*t/2+e;for(let a=0;a` - .mermaid-main-font { - font-family: "trebuchet ms", verdana, arial, sans-serif; - font-family: var(--mermaid-font-family); - } - .exclude-range { - fill: ${t.excludeBkgColor}; - } - - .section { - stroke: none; - opacity: 0.2; - } - - .section0 { - fill: ${t.sectionBkgColor}; - } - - .section2 { - fill: ${t.sectionBkgColor2}; - } - - .section1, - .section3 { - fill: ${t.altSectionBkgColor}; - opacity: 0.2; - } - - .sectionTitle0 { - fill: ${t.titleColor}; - } - - .sectionTitle1 { - fill: ${t.titleColor}; - } - - .sectionTitle2 { - fill: ${t.titleColor}; - } - - .sectionTitle3 { - fill: ${t.titleColor}; - } - - .sectionTitle { - text-anchor: start; - // font-size: ${t.ganttFontSize}; - // text-height: 14px; - font-family: 'trebuchet ms', verdana, arial, sans-serif; - font-family: var(--mermaid-font-family); - - } - - - /* Grid and axis */ - - .grid .tick { - stroke: ${t.gridColor}; - opacity: 0.8; - shape-rendering: crispEdges; - text { - font-family: ${t.fontFamily}; - fill: ${t.textColor}; - } - } - - .grid path { - stroke-width: 0; - } - - - /* Today line */ - - .today { - fill: none; - stroke: ${t.todayLineColor}; - stroke-width: 2px; - } - - - /* Task styling */ - - /* Default task */ - - .task { - stroke-width: 2; - } - - .taskText { - text-anchor: middle; - font-family: 'trebuchet ms', verdana, arial, sans-serif; - font-family: var(--mermaid-font-family); - } - - // .taskText:not([font-size]) { - // font-size: ${t.ganttFontSize}; - // } - - .taskTextOutsideRight { - fill: ${t.taskTextDarkColor}; - text-anchor: start; - // font-size: ${t.ganttFontSize}; - font-family: 'trebuchet ms', verdana, arial, sans-serif; - font-family: var(--mermaid-font-family); - - } - - .taskTextOutsideLeft { - fill: ${t.taskTextDarkColor}; - text-anchor: end; - // font-size: ${t.ganttFontSize}; - } - - /* Special case clickable */ - .task.clickable { - cursor: pointer; - } - .taskText.clickable { - cursor: pointer; - fill: ${t.taskTextClickableColor} !important; - font-weight: bold; - } - - .taskTextOutsideLeft.clickable { - cursor: pointer; - fill: ${t.taskTextClickableColor} !important; - font-weight: bold; - } - - .taskTextOutsideRight.clickable { - cursor: pointer; - fill: ${t.taskTextClickableColor} !important; - font-weight: bold; - } - - /* Specific task settings for the sections*/ - - .taskText0, - .taskText1, - .taskText2, - .taskText3 { - fill: ${t.taskTextColor}; - } - - .task0, - .task1, - .task2, - .task3 { - fill: ${t.taskBkgColor}; - stroke: ${t.taskBorderColor}; - } - - .taskTextOutside0, - .taskTextOutside2 - { - fill: ${t.taskTextOutsideColor}; - } - - .taskTextOutside1, - .taskTextOutside3 { - fill: ${t.taskTextOutsideColor}; - } - - - /* Active task */ - - .active0, - .active1, - .active2, - .active3 { - fill: ${t.activeTaskBkgColor}; - stroke: ${t.activeTaskBorderColor}; - } - - .activeText0, - .activeText1, - .activeText2, - .activeText3 { - fill: ${t.taskTextDarkColor} !important; - } - - - /* Completed task */ - - .done0, - .done1, - .done2, - .done3 { - stroke: ${t.doneTaskBorderColor}; - fill: ${t.doneTaskBkgColor}; - stroke-width: 2; - } - - .doneText0, - .doneText1, - .doneText2, - .doneText3 { - fill: ${t.taskTextDarkColor} !important; - } - - - /* Tasks on the critical line */ - - .crit0, - .crit1, - .crit2, - .crit3 { - stroke: ${t.critBorderColor}; - fill: ${t.critBkgColor}; - stroke-width: 2; - } - - .activeCrit0, - .activeCrit1, - .activeCrit2, - .activeCrit3 { - stroke: ${t.critBorderColor}; - fill: ${t.activeTaskBkgColor}; - stroke-width: 2; - } - - .doneCrit0, - .doneCrit1, - .doneCrit2, - .doneCrit3 { - stroke: ${t.critBorderColor}; - fill: ${t.doneTaskBkgColor}; - stroke-width: 2; - cursor: pointer; - shape-rendering: crispEdges; - } - - .milestone { - transform: rotate(45deg) scale(0.8,0.8); - } - - .milestoneText { - font-style: italic; - } - .doneCritText0, - .doneCritText1, - .doneCritText2, - .doneCritText3 { - fill: ${t.taskTextDarkColor} !important; - } - - .activeCritText0, - .activeCritText1, - .activeCritText2, - .activeCritText3 { - fill: ${t.taskTextDarkColor} !important; - } - - .titleText { - text-anchor: middle; - font-size: 18px; - fill: ${t.textColor} ; - font-family: 'trebuchet ms', verdana, arial, sans-serif; - font-family: var(--mermaid-font-family); - } -`}}}]); \ No newline at end of file diff --git a/_next/static/chunks/846.c116aff1dcfc0a02.js b/_next/static/chunks/846.c116aff1dcfc0a02.js new file mode 100644 index 0000000..ab5bf47 --- /dev/null +++ b/_next/static/chunks/846.c116aff1dcfc0a02.js @@ -0,0 +1,261 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[846],{1293:function(t){var e;e=function(){return function(t,e){var i=e.prototype,n=i.format;i.format=function(t){var e=this,i=this.$locale();if(!this.isValid())return n.bind(this)(t);var r=this.$utils(),s=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return i.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return i.ordinal(e.week(),"W");case"w":case"ww":return r.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return r.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return r.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}});return n.bind(this)(s)}}},t.exports=e()},25010:function(t){var e;e=function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,n=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,s={},a=function(t){return(t=+t)+(t>68?1900:2e3)},o=function(t){return function(e){this[t]=+e}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t||"Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),i=60*e[1]+(+e[2]||0);return 0===i?0:"+"===e[0]?-i:i}(t)}],l=function(t){var e=s[t];return e&&(e.indexOf?e:e.s.concat(e.f))},d=function(t,e){var i,n=s.meridiem;if(n){for(var r=1;r<=24;r+=1)if(t.indexOf(n(r,0,e))>-1){i=r>12;break}}else i=t===(e?"pm":"PM");return i},u={A:[r,function(t){this.afternoon=d(t,!1)}],a:[r,function(t){this.afternoon=d(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[i,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[n,o("seconds")],ss:[n,o("seconds")],m:[n,o("minutes")],mm:[n,o("minutes")],H:[n,o("hours")],h:[n,o("hours")],HH:[n,o("hours")],hh:[n,o("hours")],D:[n,o("day")],DD:[i,o("day")],Do:[r,function(t){var e=s.ordinal,i=t.match(/\d+/);if(this.day=i[0],e)for(var n=1;n<=31;n+=1)e(n).replace(/\[|\]/g,"")===t&&(this.day=n)}],M:[n,o("month")],MM:[i,o("month")],MMM:[r,function(t){var e=l("months"),i=(l("monthsShort")||e.map(function(t){return t.slice(0,3)})).indexOf(t)+1;if(i<1)throw Error();this.month=i%12||i}],MMMM:[r,function(t){var e=l("months").indexOf(t)+1;if(e<1)throw Error();this.month=e%12||e}],Y:[/[+-]?\d+/,o("year")],YY:[i,function(t){this.year=a(t)}],YYYY:[/\d{4}/,o("year")],Z:c,ZZ:c};return function(i,n,r){r.p.customParseFormat=!0,i&&i.parseTwoDigitYear&&(a=i.parseTwoDigitYear);var o=n.prototype,c=o.parse;o.parse=function(i){var n=i.date,a=i.utc,o=i.args;this.$u=a;var l=o[1];if("string"==typeof l){var d=!0===o[2],h=!0===o[3],f=o[2];h&&(f=o[2]),s=this.$locale(),!d&&f&&(s=r.Ls[f]),this.$d=function(i,n,r){try{if(["x","X"].indexOf(n)>-1)return new Date(("X"===n?1e3:1)*i);var a=(function(i){var n,r;n=i,r=s&&s.formats;for(var a=(i=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(e,i,n){var s=n&&n.toUpperCase();return i||r[n]||t[n]||r[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(t,e,i){return e||i.slice(1)})})).match(e),o=a.length,c=0;c0?c-1:k.getMonth());var x=d||0,v=h||0,T=f||0,_=y||0;return m?new Date(Date.UTC(g,b,p,x,v,T,_+60*m.offset*1e3)):r?new Date(Date.UTC(g,b,p,x,v,T,_)):new Date(g,b,p,x,v,T,_)}catch(t){return new Date("")}}(n,l,a),this.init(),f&&!0!==f&&(this.$L=this.locale(f).$L),(d||h)&&n!=this.format(l)&&(this.$d=new Date("")),s={}}else if(l instanceof Array)for(var y=l.length,m=1;m<=y;m+=1){o[1]=l[m-1];var k=r.apply(this,o);if(k.isValid()){this.$d=k.$d,this.$L=k.$L,this.init();break}m===y&&(this.$d=new Date(""))}else c.call(this,i)}}},t.exports=e()},81:function(t){var e;e=function(){return function(t,e,i){var n=function(t){return t.add(4-t.isoWeekday(),"day")},r=e.prototype;r.isoWeekYear=function(){return n(this).year()},r.isoWeek=function(t){if(!this.$utils().u(t))return this.add(7*(t-this.isoWeek()),"day");var e,r,s,a=n(this),o=(e=this.isoWeekYear(),s=4-(r=(this.$u?i.utc:i)().year(e).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(s+=7),r.add(s,"day"));return a.diff(o,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var s=r.startOf;r.startOf=function(t,e){var i=this.$utils(),n=!!i.u(e)||e;return"isoweek"===i.p(t)?n?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):s.bind(this)(t,e)}}},t.exports=e()},95846:function(t,e,i){"use strict";let n,r,s,a;i.d(e,{diagram:function(){return K}});var o=i(91088),c=i(5726),l=i(81),d=i(25010),u=i(1293),h=i(71421),f=i(27509);i(95591);var y=function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[6,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,30,32,33,35,37],i=[1,25],n=[1,26],r=[1,27],s=[1,28],a=[1,29],o=[1,30],c=[1,31],l=[1,9],d=[1,10],u=[1,11],h=[1,12],f=[1,13],y=[1,14],m=[1,15],k=[1,16],p=[1,18],g=[1,19],b=[1,20],x=[1,21],v=[1,22],T=[1,24],_=[1,32],w={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,dateFormat:19,inclusiveEndDates:20,topAxis:21,axisFormat:22,tickInterval:23,excludes:24,includes:25,todayMarker:26,title:27,acc_title:28,acc_title_value:29,acc_descr:30,acc_descr_value:31,acc_descr_multiline_value:32,section:33,clickStatement:34,taskTxt:35,taskData:36,click:37,callbackname:38,callbackargs:39,href:40,clickStatementDebug:41,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",19:"dateFormat",20:"inclusiveEndDates",21:"topAxis",22:"axisFormat",23:"tickInterval",24:"excludes",25:"includes",26:"todayMarker",27:"title",28:"acc_title",29:"acc_title_value",30:"acc_descr",31:"acc_descr_value",32:"acc_descr_multiline_value",33:"section",35:"taskTxt",36:"taskData",37:"click",38:"callbackname",39:"callbackargs",40:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[34,2],[34,3],[34,3],[34,4],[34,3],[34,4],[34,2],[41,2],[41,3],[41,3],[41,4],[41,3],[41,4],[41,2]],performAction:function(t,e,i,n,r,s,a){var o=s.length-1;switch(r){case 1:return s[o-1];case 2:case 6:case 7:this.$=[];break;case 3:s[o-1].push(s[o]),this.$=s[o-1];break;case 4:case 5:this.$=s[o];break;case 8:n.setWeekday("monday");break;case 9:n.setWeekday("tuesday");break;case 10:n.setWeekday("wednesday");break;case 11:n.setWeekday("thursday");break;case 12:n.setWeekday("friday");break;case 13:n.setWeekday("saturday");break;case 14:n.setWeekday("sunday");break;case 15:n.setDateFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 16:n.enableInclusiveEndDates(),this.$=s[o].substr(18);break;case 17:n.TopAxis(),this.$=s[o].substr(8);break;case 18:n.setAxisFormat(s[o].substr(11)),this.$=s[o].substr(11);break;case 19:n.setTickInterval(s[o].substr(13)),this.$=s[o].substr(13);break;case 20:n.setExcludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 21:n.setIncludes(s[o].substr(9)),this.$=s[o].substr(9);break;case 22:n.setTodayMarker(s[o].substr(12)),this.$=s[o].substr(12);break;case 24:n.setDiagramTitle(s[o].substr(6)),this.$=s[o].substr(6);break;case 25:this.$=s[o].trim(),n.setAccTitle(this.$);break;case 26:case 27:this.$=s[o].trim(),n.setAccDescription(this.$);break;case 28:n.addSection(s[o].substr(8)),this.$=s[o].substr(8);break;case 30:n.addTask(s[o-1],s[o]),this.$="task";break;case 31:this.$=s[o-1],n.setClickEvent(s[o-1],s[o],null);break;case 32:this.$=s[o-2],n.setClickEvent(s[o-2],s[o-1],s[o]);break;case 33:this.$=s[o-2],n.setClickEvent(s[o-2],s[o-1],null),n.setLink(s[o-2],s[o]);break;case 34:this.$=s[o-3],n.setClickEvent(s[o-3],s[o-2],s[o-1]),n.setLink(s[o-3],s[o]);break;case 35:this.$=s[o-2],n.setClickEvent(s[o-2],s[o],null),n.setLink(s[o-2],s[o-1]);break;case 36:this.$=s[o-3],n.setClickEvent(s[o-3],s[o-1],s[o]),n.setLink(s[o-3],s[o-2]);break;case 37:this.$=s[o-1],n.setLink(s[o-1],s[o]);break;case 38:case 44:this.$=s[o-1]+" "+s[o];break;case 39:case 40:case 42:this.$=s[o-2]+" "+s[o-1]+" "+s[o];break;case 41:case 43:this.$=s[o-3]+" "+s[o-2]+" "+s[o-1]+" "+s[o]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:i,13:n,14:r,15:s,16:a,17:o,18:c,19:l,20:d,21:u,22:h,23:f,24:y,25:m,26:k,27:p,28:g,30:b,32:x,33:v,34:23,35:T,37:_},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:33,11:17,12:i,13:n,14:r,15:s,16:a,17:o,18:c,19:l,20:d,21:u,22:h,23:f,24:y,25:m,26:k,27:p,28:g,30:b,32:x,33:v,34:23,35:T,37:_},t(e,[2,5]),t(e,[2,6]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),{29:[1,34]},{31:[1,35]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),{36:[1,36]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),{38:[1,37],40:[1,38]},t(e,[2,4]),t(e,[2,25]),t(e,[2,26]),t(e,[2,30]),t(e,[2,31],{39:[1,39],40:[1,40]}),t(e,[2,37],{38:[1,41]}),t(e,[2,32],{40:[1,42]}),t(e,[2,33]),t(e,[2,35],{39:[1,43]}),t(e,[2,34]),t(e,[2,36])],defaultActions:{},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},parse:function(t){var e=this,i=[0],n=[],r=[null],s=[],a=this.table,o="",c=0,l=0,d=s.slice.call(arguments,1),u=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);u.setInput(t,h.yy),h.yy.lexer=u,h.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var y=u.yylloc;s.push(y);var m=u.options&&u.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var k,p,g,b,x,v,T,_,w={};;){if(p=i[i.length-1],this.defaultActions[p]?g=this.defaultActions[p]:(null==k&&(k=function(){var t;return"number"!=typeof(t=n.pop()||u.lex()||1)&&(t instanceof Array&&(t=(n=t).pop()),t=e.symbols_[t]||t),t}()),g=a[p]&&a[p][k]),void 0===g||!g.length||!g[0]){var $="";for(x in _=[],a[p])this.terminals_[x]&&x>2&&_.push("'"+this.terminals_[x]+"'");$=u.showPosition?"Parse error on line "+(c+1)+":\n"+u.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError($,{text:u.match,token:this.terminals_[k]||k,line:u.yylineno,loc:y,expected:_})}if(g[0]instanceof Array&&g.length>1)throw Error("Parse Error: multiple actions possible at state: "+p+", token: "+k);switch(g[0]){case 1:i.push(k),r.push(u.yytext),s.push(u.yylloc),i.push(g[1]),k=null,l=u.yyleng,o=u.yytext,c=u.yylineno,y=u.yylloc;break;case 2:if(v=this.productions_[g[1]][1],w.$=r[r.length-v],w._$={first_line:s[s.length-(v||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(v||1)].first_column,last_column:s[s.length-1].last_column},m&&(w._$.range=[s[s.length-(v||1)].range[0],s[s.length-1].range[1]]),void 0!==(b=this.performAction.apply(w,[o,l,c,h.yy,g[1],r,s].concat(d))))return b;v&&(i=i.slice(0,-1*v*2),r=r.slice(0,-1*v),s=s.slice(0,-1*v)),i.push(this.productions_[g[1]][0]),r.push(w.$),s.push(w._$),T=a[i[i.length-2]][i[i.length-1]],i.push(T);break;case 3:return!0}}return!0}};function $(){this.yy={}}return w.lexer={EOF:1,parseError:function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,n,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var s in r)this[s]=r[s];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,n,r=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),28;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),30;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 16:case 19:case 22:case 25:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:case 14:break;case 11:return 10;case 15:this.begin("href");break;case 17:return 40;case 18:this.begin("callbackname");break;case 20:this.popState(),this.begin("callbackargs");break;case 21:return 38;case 23:return 39;case 24:this.begin("click");break;case 26:return 37;case 27:return 4;case 28:return 19;case 29:return 20;case 30:return 21;case 31:return 22;case 32:return 23;case 33:return 25;case 34:return 24;case 35:return 26;case 36:return 12;case 37:return 13;case 38:return 14;case 39:return 15;case 40:return 16;case 41:return 17;case 42:return 18;case 43:return"date";case 44:return 27;case 45:return"accDescription";case 46:return 33;case 47:return 35;case 48:return 36;case 49:return":";case 50:return 6;case 51:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[22,23],inclusive:!1},callbackname:{rules:[19,20,21],inclusive:!1},href:{rules:[16,17],inclusive:!1},click:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,18,24,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}},$.prototype=w,w.Parser=$,new $}();y.parser=y,c.extend(l),c.extend(d),c.extend(u);let m="",k="",p="",g=[],b=[],x={},v=[],T=[],_="",w="",$=["active","done","crit","milestone"],D=[],S=!1,C=!1,E="sunday",M=0,Y=function(t,e,i,n){return!n.includes(t.format(e.trim()))&&(!!(t.isoWeekday()>=6&&i.includes("weekends")||i.includes(t.format("dddd").toLowerCase()))||i.includes(t.format(e.trim())))},A=function(t,e,i,n){let r;if(!i.length||t.manualEndTime)return;let[s,a]=L((t.startTime instanceof Date?c(t.startTime):c(t.startTime,e,!0)).add(1,"d"),t.endTime instanceof Date?c(t.endTime):c(t.endTime,e,!0),e,i,n);t.endTime=s.toDate(),t.renderEndTime=a},L=function(t,e,i,n,r){let s=!1,a=null;for(;t<=e;)s||(a=e.toDate()),(s=Y(t,i,n,r))&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},F=function(t,e,i){i=i.trim();let n=/^after\s+([\d\w- ]+)/.exec(i.trim());if(null!==n){let t=null;if(n[1].split(" ").forEach(function(e){let i=j(e);void 0!==i&&(t?i.endTime>t.endTime&&(t=i):t=i)}),t)return t.endTime;{let t=new Date;return t.setHours(0,0,0,0),t}}let r=c(i,e.trim(),!0);if(r.isValid())return r.toDate();{h.l.debug("Invalid date:"+i),h.l.debug("With date format:"+e.trim());let t=new Date(i);if(void 0===t||isNaN(t.getTime())||-1e4>t.getFullYear()||t.getFullYear()>1e4)throw Error("Invalid date:"+i);return t}},I=function(t){let e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},O=function(t,e,i,n=!1){let r=c(i=i.trim(),e.trim(),!0);if(r.isValid())return n&&(r=r.add(1,"d")),r.toDate();let s=c(t),[a,o]=I(i);if(!Number.isNaN(a)){let t=s.add(a,o);t.isValid()&&(s=t)}return s.toDate()},W=0,z=function(t){return void 0===t?"task"+(W+=1):t},P=function(t,e){let i=(":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),n={};U(i,n,$);for(let t=0;t{h.u.runFunc(e,...n)})},q=function(t,e){D.push(function(){let i=document.querySelector(`[id="${t}"]`);null!==i&&i.addEventListener("click",function(){e()})},function(){let i=document.querySelector(`[id="${t}-text"]`);null!==i&&i.addEventListener("click",function(){e()})})},R={getConfig:()=>(0,h.c)().gantt,clear:function(){v=[],T=[],_="",D=[],W=0,n=void 0,r=void 0,N=[],m="",k="",w="",a=void 0,p="",g=[],b=[],S=!1,C=!1,M=0,x={},(0,h.t)(),E="sunday"},setDateFormat:function(t){m=t},getDateFormat:function(){return m},enableInclusiveEndDates:function(){S=!0},endDatesAreInclusive:function(){return S},enableTopAxis:function(){C=!0},topAxisEnabled:function(){return C},setAxisFormat:function(t){k=t},getAxisFormat:function(){return k},setTickInterval:function(t){a=t},getTickInterval:function(){return a},setTodayMarker:function(t){p=t},getTodayMarker:function(){return p},setAccTitle:h.s,getAccTitle:h.g,setDiagramTitle:h.q,getDiagramTitle:h.r,setDisplayMode:function(t){w=t},getDisplayMode:function(){return w},setAccDescription:h.b,getAccDescription:h.a,addSection:function(t){_=t,v.push(t)},getSections:function(){return v},getTasks:function(){let t=Z(),e=0;for(;!t&&e<10;)t=Z(),e++;return T=N},addTask:function(t,e){let i={section:_,type:_,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},n=B(r,e);i.raw.startTime=n.startTime,i.raw.endTime=n.endTime,i.id=n.id,i.prevTaskId=r,i.active=n.active,i.done=n.done,i.crit=n.crit,i.milestone=n.milestone,i.order=M,M++;let s=N.push(i);r=i.id,H[i.id]=s-1},findTaskById:j,addTaskOrg:function(t,e){let i={section:_,type:_,description:t,task:t,classes:[]},r=P(n,e);i.startTime=r.startTime,i.endTime=r.endTime,i.id=r.id,i.active=r.active,i.done=r.done,i.crit=r.crit,i.milestone=r.milestone,n=i,T.push(i)},setIncludes:function(t){g=t.toLowerCase().split(/[\s,]+/)},getIncludes:function(){return g},setExcludes:function(t){b=t.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return b},setClickEvent:function(t,e,i){t.split(",").forEach(function(t){V(t,e,i)}),G(t,"clickable")},setLink:function(t,e){let i=e;"loose"!==(0,h.c)().securityLevel&&(i=(0,o.Nm)(e)),t.split(",").forEach(function(t){void 0!==j(t)&&(q(t,()=>{window.open(i,"_self")}),x[t]=i)}),G(t,"clickable")},getLinks:function(){return x},bindFunctions:function(t){D.forEach(function(e){e(t)})},parseDuration:I,isInvalidDate:Y,setWeekday:function(t){E=t},getWeekday:function(){return E}};function U(t,e,i){let n=!0;for(;n;)n=!1,i.forEach(function(i){let r=RegExp("^\\s*"+i+"\\s*$");t[0].match(r)&&(e[i]=!0,t.shift(1),n=!0)})}let X={monday:f.Ox9,tuesday:f.YDX,wednesday:f.EFj,thursday:f.Igq,friday:f.y2j,saturday:f.LqH,sunday:f.Zyz},Q=(t,e)=>{let i=[...t].map(()=>-1/0),n=[...t].sort((t,e)=>t.startTime-e.startTime||t.order-e.order),r=0;for(let t of n)for(let n=0;n=i[n]){i[n]=t.endTime,t.order=n+e,n>r&&(r=n);break}return r},K={parser:y,db:R,renderer:{setConf:function(){h.l.debug("Something is calling, setConf, remove the call")},draw:function(t,e,i,n){let r;let a=(0,h.c)().gantt,o=(0,h.c)().securityLevel;"sandbox"===o&&(r=(0,f.Ys)("#i"+e));let l="sandbox"===o?(0,f.Ys)(r.nodes()[0].contentDocument.body):(0,f.Ys)("body"),d="sandbox"===o?r.nodes()[0].contentDocument:document,u=d.getElementById(e);void 0===(s=u.parentElement.offsetWidth)&&(s=1200),void 0!==a.useWidth&&(s=a.useWidth);let y=n.db.getTasks(),m=[];for(let t of y)m.push(t.type);m=function(t){let e={},i=[];for(let n=0,r=t.length;ne.type===t).length;u.setAttribute("viewBox","0 0 "+s+" "+p);let g=l.select(`[id="${e}"]`),b=(0,f.Xf)().domain([(0,f.VV$)(y,function(t){return t.startTime}),(0,f.Fp7)(y,function(t){return t.endTime})]).rangeRound([0,s-a.leftPadding-a.rightPadding]);y.sort(function(t,e){let i=t.startTime,n=e.startTime,r=0;return i>n?r=1:if)&&(f=e);if(!u||!f)return;if(c(f).diff(c(u),"year")>5){h.l.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");return}let y=n.db.getDateFormat(),m=[],k=null,p=c(u);for(;p.valueOf()<=f;)n.db.isInvalidDate(p,y,l,d)?k?k.end=p:k={start:p,end:p}:k&&(m.push(k),k=null),p=p.add(1,"d");g.append("g").selectAll("rect").data(m).enter().append("rect").attr("id",function(t){return"exclude-"+t.start.format("YYYY-MM-DD")}).attr("x",function(t){return b(t.start)+i}).attr("y",a.gridLineStartPadding).attr("width",function(t){return b(t.end.add(1,"day"))-b(t.start)}).attr("height",s-e-a.gridLineStartPadding).attr("transform-origin",function(e,n){return(b(e.start)+i+.5*(b(e.end)-b(e.start))).toString()+"px "+(n*t+.5*s).toString()+"px"}).attr("class","exclude-range")}(o,l,u,0,r,t,n.db.getExcludes(),n.db.getIncludes()),function(t,e,i,r){let s=(0,f.LLu)(b).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,f.i$Z)(n.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d")),o=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(n.db.getTickInterval()||a.tickInterval);if(null!==o){let t=o[1],e=o[2],i=n.db.getWeekday()||a.weekday;switch(e){case"millisecond":s.ticks(f.U8T.every(t));break;case"second":s.ticks(f.S1K.every(t));break;case"minute":s.ticks(f.Z_i.every(t));break;case"hour":s.ticks(f.WQD.every(t));break;case"day":s.ticks(f.rr1.every(t));break;case"week":s.ticks(X[i].every(t));break;case"month":s.ticks(f.F0B.every(t))}}if(g.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(s).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),n.db.topAxisEnabled()||a.topAxis){let i=(0,f.F5q)(b).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,f.i$Z)(n.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));if(null!==o){let t=o[1],e=o[2],r=n.db.getWeekday()||a.weekday;switch(e){case"millisecond":i.ticks(f.U8T.every(t));break;case"second":i.ticks(f.S1K.every(t));break;case"minute":i.ticks(f.Z_i.every(t));break;case"hour":i.ticks(f.WQD.every(t));break;case"day":i.ticks(f.rr1.every(t));break;case"week":i.ticks(X[r].every(t));break;case"month":i.ticks(f.F0B.every(t))}}g.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(i).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(u,l,0,r),function(t,i,r,s,o,c,l){let d=[...new Set(t.map(t=>t.order))].map(e=>t.find(t=>t.order===e));g.append("g").selectAll("rect").data(d).enter().append("rect").attr("x",0).attr("y",function(t,e){return t.order*i+r-2}).attr("width",function(){return l-a.rightPadding/2}).attr("height",i).attr("class",function(t){for(let[e,i]of m.entries())if(t.type===i)return"section section"+e%a.numberSectionStyles;return"section section0"});let u=g.append("g").selectAll("rect").data(t).enter(),y=n.db.getLinks();if(u.append("rect").attr("id",function(t){return t.id}).attr("rx",3).attr("ry",3).attr("x",function(t){return t.milestone?b(t.startTime)+s+.5*(b(t.endTime)-b(t.startTime))-.5*o:b(t.startTime)+s}).attr("y",function(t,e){return t.order*i+r}).attr("width",function(t){return t.milestone?o:b(t.renderEndTime||t.endTime)-b(t.startTime)}).attr("height",o).attr("transform-origin",function(t,e){return e=t.order,(b(t.startTime)+s+.5*(b(t.endTime)-b(t.startTime))).toString()+"px "+(e*i+r+.5*o).toString()+"px"}).attr("class",function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let i=0;for(let[e,n]of m.entries())t.type===n&&(i=e%a.numberSectionStyles);let n="";return t.active?t.crit?n+=" activeCrit":n=" active":t.done?n=t.crit?" doneCrit":" done":t.crit&&(n+=" crit"),0===n.length&&(n=" task"),t.milestone&&(n=" milestone "+n),"task"+(n+=i+" "+e)}),u.append("text").attr("id",function(t){return t.id+"-text"}).text(function(t){return t.task}).attr("font-size",a.fontSize).attr("x",function(t){let e=b(t.startTime),i=b(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(b(t.endTime)-b(t.startTime))-.5*o),t.milestone&&(i=e+o);let n=this.getBBox().width;return n>i-e?i+n+1.5*a.leftPadding>l?e+s-5:i+s+5:(i-e)/2+e+s}).attr("y",function(t,e){return t.order*i+a.barHeight/2+(a.fontSize/2-2)+r}).attr("text-height",o).attr("class",function(t){let e=b(t.startTime),i=b(t.endTime);t.milestone&&(i=e+o);let n=this.getBBox().width,r="";t.classes.length>0&&(r=t.classes.join(" "));let s=0;for(let[e,i]of m.entries())t.type===i&&(s=e%a.numberSectionStyles);let c="";return(t.active&&(c=t.crit?"activeCritText"+s:"activeText"+s),t.done?c=t.crit?c+" doneCritText"+s:c+" doneText"+s:t.crit&&(c=c+" critText"+s),t.milestone&&(c+=" milestoneText"),n>i-e)?i+n+1.5*a.leftPadding>l?r+" taskTextOutsideLeft taskTextOutside"+s+" "+c:r+" taskTextOutsideRight taskTextOutside"+s+" "+c+" width-"+n:r+" taskText taskText"+s+" "+c+" width-"+n}),"sandbox"===(0,h.c)().securityLevel){let t=(0,f.Ys)("#i"+e).nodes()[0].contentDocument;u.filter(function(t){return void 0!==y[t.id]}).each(function(e){var i=t.querySelector("#"+e.id),n=t.querySelector("#"+e.id+"-text");let r=i.parentNode;var s=t.createElement("a");s.setAttribute("xlink:href",y[e.id]),s.setAttribute("target","_top"),r.appendChild(s),s.appendChild(i),s.appendChild(n)})}}(t,o,l,u,s,0,i),function(t,e){let i=0,n=Object.keys(k).map(t=>[t,k[t]]);g.append("g").selectAll("text").data(n).enter().append(function(t){let e=t[0].split(h.e.lineBreakRegex),i=-(e.length-1)/2,n=d.createElementNS("http://www.w3.org/2000/svg","text");for(let[t,r]of(n.setAttribute("dy",i+"em"),e.entries())){let e=d.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=r,n.appendChild(e)}return n}).attr("x",10).attr("y",function(r,s){if(!(s>0))return r[1]*t/2+e;for(let a=0;a` + .mermaid-main-font { + font-family: "trebuchet ms", verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + } + .exclude-range { + fill: ${t.excludeBkgColor}; + } + + .section { + stroke: none; + opacity: 0.2; + } + + .section0 { + fill: ${t.sectionBkgColor}; + } + + .section2 { + fill: ${t.sectionBkgColor2}; + } + + .section1, + .section3 { + fill: ${t.altSectionBkgColor}; + opacity: 0.2; + } + + .sectionTitle0 { + fill: ${t.titleColor}; + } + + .sectionTitle1 { + fill: ${t.titleColor}; + } + + .sectionTitle2 { + fill: ${t.titleColor}; + } + + .sectionTitle3 { + fill: ${t.titleColor}; + } + + .sectionTitle { + text-anchor: start; + // font-size: ${t.ganttFontSize}; + // text-height: 14px; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + + } + + + /* Grid and axis */ + + .grid .tick { + stroke: ${t.gridColor}; + opacity: 0.8; + shape-rendering: crispEdges; + text { + font-family: ${t.fontFamily}; + fill: ${t.textColor}; + } + } + + .grid path { + stroke-width: 0; + } + + + /* Today line */ + + .today { + fill: none; + stroke: ${t.todayLineColor}; + stroke-width: 2px; + } + + + /* Task styling */ + + /* Default task */ + + .task { + stroke-width: 2; + } + + .taskText { + text-anchor: middle; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + } + + // .taskText:not([font-size]) { + // font-size: ${t.ganttFontSize}; + // } + + .taskTextOutsideRight { + fill: ${t.taskTextDarkColor}; + text-anchor: start; + // font-size: ${t.ganttFontSize}; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + + } + + .taskTextOutsideLeft { + fill: ${t.taskTextDarkColor}; + text-anchor: end; + // font-size: ${t.ganttFontSize}; + } + + /* Special case clickable */ + .task.clickable { + cursor: pointer; + } + .taskText.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + .taskTextOutsideLeft.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + .taskTextOutsideRight.clickable { + cursor: pointer; + fill: ${t.taskTextClickableColor} !important; + font-weight: bold; + } + + /* Specific task settings for the sections*/ + + .taskText0, + .taskText1, + .taskText2, + .taskText3 { + fill: ${t.taskTextColor}; + } + + .task0, + .task1, + .task2, + .task3 { + fill: ${t.taskBkgColor}; + stroke: ${t.taskBorderColor}; + } + + .taskTextOutside0, + .taskTextOutside2 + { + fill: ${t.taskTextOutsideColor}; + } + + .taskTextOutside1, + .taskTextOutside3 { + fill: ${t.taskTextOutsideColor}; + } + + + /* Active task */ + + .active0, + .active1, + .active2, + .active3 { + fill: ${t.activeTaskBkgColor}; + stroke: ${t.activeTaskBorderColor}; + } + + .activeText0, + .activeText1, + .activeText2, + .activeText3 { + fill: ${t.taskTextDarkColor} !important; + } + + + /* Completed task */ + + .done0, + .done1, + .done2, + .done3 { + stroke: ${t.doneTaskBorderColor}; + fill: ${t.doneTaskBkgColor}; + stroke-width: 2; + } + + .doneText0, + .doneText1, + .doneText2, + .doneText3 { + fill: ${t.taskTextDarkColor} !important; + } + + + /* Tasks on the critical line */ + + .crit0, + .crit1, + .crit2, + .crit3 { + stroke: ${t.critBorderColor}; + fill: ${t.critBkgColor}; + stroke-width: 2; + } + + .activeCrit0, + .activeCrit1, + .activeCrit2, + .activeCrit3 { + stroke: ${t.critBorderColor}; + fill: ${t.activeTaskBkgColor}; + stroke-width: 2; + } + + .doneCrit0, + .doneCrit1, + .doneCrit2, + .doneCrit3 { + stroke: ${t.critBorderColor}; + fill: ${t.doneTaskBkgColor}; + stroke-width: 2; + cursor: pointer; + shape-rendering: crispEdges; + } + + .milestone { + transform: rotate(45deg) scale(0.8,0.8); + } + + .milestoneText { + font-style: italic; + } + .doneCritText0, + .doneCritText1, + .doneCritText2, + .doneCritText3 { + fill: ${t.taskTextDarkColor} !important; + } + + .activeCritText0, + .activeCritText1, + .activeCritText2, + .activeCritText3 { + fill: ${t.taskTextDarkColor} !important; + } + + .titleText { + text-anchor: middle; + font-size: 18px; + fill: ${t.textColor} ; + font-family: 'trebuchet ms', verdana, arial, sans-serif; + font-family: var(--mermaid-font-family); + } +`}}}]); \ No newline at end of file diff --git a/_next/static/chunks/871-25028a527fe0ca11.js b/_next/static/chunks/871-25028a527fe0ca11.js deleted file mode 100644 index 97bd078..0000000 --- a/_next/static/chunks/871-25028a527fe0ca11.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[871],{82972:function(t,e,n){t.exports={default:n(15680),__esModule:!0}},92452:function(t,e,n){t.exports={default:n(41969),__esModule:!0}},17866:function(t,e,n){t.exports={default:n(57446),__esModule:!0}},1437:function(t,e,n){t.exports={default:n(74752),__esModule:!0}},3432:function(t,e,n){t.exports={default:n(52005),__esModule:!0}},30631:function(t,e,n){t.exports={default:n(12544),__esModule:!0}},82864:function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}},97559:function(t,e,n){"use strict";e.__esModule=!0;var r,a=(r=n(17866))&&r.__esModule?r:{default:r};e.default=function(){function t(t,e){for(var n=0;n=0)&&Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}},73006:function(t,e,n){"use strict";e.__esModule=!0;var r,a=(r=n(27239))&&r.__esModule?r:{default:r};e.default=function(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&((void 0===e?"undefined":(0,a.default)(e))==="object"||"function"==typeof e)?e:t}},27239:function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(30631)),a=i(n(3432)),o="function"==typeof a.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};function i(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof a.default&&"symbol"===o(r.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":o(t)}},15680:function(t,e,n){n(38476),t.exports=n(37213).Object.assign},41969:function(t,e,n){n(23012);var r=n(37213).Object;t.exports=function(t,e){return r.create(t,e)}},57446:function(t,e,n){n(94730);var r=n(37213).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},74752:function(t,e,n){n(49760),t.exports=n(37213).Object.setPrototypeOf},52005:function(t,e,n){n(22503),n(71810),n(51015),n(60107),t.exports=n(37213).Symbol},12544:function(t,e,n){n(97109),n(16917),t.exports=n(62911).f("iterator")},10527:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},74631:function(t){t.exports=function(){}},96202:function(t,e,n){var r=n(69480);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},57936:function(t,e,n){var r=n(34202),a=n(61826),o=n(48856);t.exports=function(t){return function(e,n,i){var s,l=r(e),u=a(l.length),c=o(i,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}}},60866:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},37213:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},38893:function(t,e,n){var r=n(10527);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,a){return t.call(e,n,r,a)}}return function(){return t.apply(e,arguments)}}},8296:function(t){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},70377:function(t,e,n){t.exports=!n(73069)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},32873:function(t,e,n){var r=n(69480),a=n(34506).document,o=r(a)&&r(a.createElement);t.exports=function(t){return o?a.createElement(t):{}}},52848:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},4352:function(t,e,n){var r=n(95692),a=n(6050),o=n(46824);t.exports=function(t){var e=r(t),n=a.f;if(n)for(var i,s=n(t),l=o.f,u=0;s.length>u;)l.call(t,i=s[u++])&&e.push(i);return e}},75076:function(t,e,n){var r=n(34506),a=n(37213),o=n(38893),i=n(2366),s=n(40255),l="prototype",u=function(t,e,n){var c,f,p,d=t&u.F,h=t&u.G,m=t&u.S,v=t&u.P,y=t&u.B,g=t&u.W,b=h?a:a[e]||(a[e]={}),w=b[l],T=h?r:m?r[e]:(r[e]||{})[l];for(c in h&&(n=e),n)!((f=!d&&T&&void 0!==T[c])&&s(b,c))&&(p=f?T[c]:n[c],b[c]=h&&"function"!=typeof T[c]?n[c]:y&&f?o(p,r):g&&T[c]==p?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[l]=t[l],e}(p):v&&"function"==typeof p?o(Function.call,p):p,v&&((b.virtual||(b.virtual={}))[c]=p,t&u.R&&w&&!w[c]&&i(w,c,p)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},73069:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},34506:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},40255:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},2366:function(t,e,n){var r=n(46093),a=n(4452);t.exports=n(70377)?function(t,e,n){return r.f(t,e,a(1,n))}:function(t,e,n){return t[e]=n,t}},65609:function(t,e,n){var r=n(34506).document;t.exports=r&&r.documentElement},83278:function(t,e,n){t.exports=!n(70377)&&!n(73069)(function(){return 7!=Object.defineProperty(n(32873)("div"),"a",{get:function(){return 7}}).a})},28365:function(t,e,n){var r=n(60866);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},68926:function(t,e,n){var r=n(60866);t.exports=Array.isArray||function(t){return"Array"==r(t)}},69480:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},51592:function(t,e,n){"use strict";var r=n(77310),a=n(4452),o=n(5723),i={};n(2366)(i,n(81395)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(i,{next:a(1,n)}),o(t,e+" Iterator")}},58903:function(t,e,n){"use strict";var r=n(44574),a=n(75076),o=n(53682),i=n(2366),s=n(45086),l=n(51592),u=n(5723),c=n(42915),f=n(81395)("iterator"),p=!([].keys&&"next"in[].keys()),d="values",h=function(){return this};t.exports=function(t,e,n,m,v,y,g){l(n,e,m);var b,w,T,S=function(t){return!p&&t in x?x[t]:function(){return new n(this,t)}},k=e+" Iterator",E=v==d,O=!1,x=t.prototype,A=x[f]||x["@@iterator"]||v&&x[v],_=A||S(v),M=v?E?S("entries"):_:void 0,C="Array"==e&&x.entries||A;if(C&&(T=c(C.call(new t)))!==Object.prototype&&T.next&&(u(T,k,!0),r||"function"==typeof T[f]||i(T,f,h)),E&&A&&A.name!==d&&(O=!0,_=function(){return A.call(this)}),(!r||g)&&(p||O||!x[f])&&i(x,f,_),s[e]=_,s[k]=h,v){if(b={values:E?_:S(d),keys:y?_:S("keys"),entries:M},g)for(w in b)w in x||o(x,w,b[w]);else a(a.P+a.F*(p||O),e,b)}return b}},65336:function(t){t.exports=function(t,e){return{value:e,done:!!t}}},45086:function(t){t.exports={}},44574:function(t){t.exports=!0},42727:function(t,e,n){var r=n(67441)("meta"),a=n(69480),o=n(40255),i=n(46093).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(73069)(function(){return l(Object.preventExtensions({}))}),c=function(t){i(t,r,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[r].w},onFreeze:function(t){return u&&f.NEED&&l(t)&&!o(t,r)&&c(t),t}}},79769:function(t,e,n){"use strict";var r=n(70377),a=n(95692),o=n(6050),i=n(46824),s=n(28689),l=n(28365),u=Object.assign;t.exports=!u||n(73069)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,c=1,f=o.f,p=i.f;u>c;)for(var d,h=l(arguments[c++]),m=f?a(h).concat(f(h)):a(h),v=m.length,y=0;v>y;)d=m[y++],(!r||p.call(h,d))&&(n[d]=h[d]);return n}:u},77310:function(t,e,n){var r=n(96202),a=n(46582),o=n(52848),i=n(7186)("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,e=n(32873)("iframe"),r=o.length;for(e.style.display="none",n(65609).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(""),t.close(),u=t.F;r--;)delete u[l][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[l]=r(t),n=new s,s[l]=null,n[i]=t):n=u(),void 0===e?n:a(n,e)}},46093:function(t,e,n){var r=n(96202),a=n(83278),o=n(43908),i=Object.defineProperty;e.f=n(70377)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),a)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},46582:function(t,e,n){var r=n(46093),a=n(96202),o=n(95692);t.exports=n(70377)?Object.defineProperties:function(t,e){a(t);for(var n,i=o(e),s=i.length,l=0;s>l;)r.f(t,n=i[l++],e[n]);return t}},11801:function(t,e,n){var r=n(46824),a=n(4452),o=n(34202),i=n(43908),s=n(40255),l=n(83278),u=Object.getOwnPropertyDescriptor;e.f=n(70377)?u:function(t,e){if(t=o(t),e=i(e,!0),l)try{return u(t,e)}catch(t){}if(s(t,e))return a(!r.f.call(t,e),t[e])}},45866:function(t,e,n){var r=n(34202),a=n(69752).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return a(t)}catch(t){return i.slice()}};t.exports.f=function(t){return i&&"[object Window]"==o.call(t)?s(t):a(r(t))}},69752:function(t,e,n){var r=n(2651),a=n(52848).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,a)}},6050:function(t,e){e.f=Object.getOwnPropertySymbols},42915:function(t,e,n){var r=n(40255),a=n(28689),o=n(7186)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return r(t=a(t),o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},2651:function(t,e,n){var r=n(40255),a=n(34202),o=n(57936)(!1),i=n(7186)("IE_PROTO");t.exports=function(t,e){var n,s=a(t),l=0,u=[];for(n in s)n!=i&&r(s,n)&&u.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},95692:function(t,e,n){var r=n(2651),a=n(52848);t.exports=Object.keys||function(t){return r(t,a)}},46824:function(t,e){e.f=({}).propertyIsEnumerable},4452:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},53682:function(t,e,n){t.exports=n(2366)},80130:function(t,e,n){var r=n(69480),a=n(96202),o=function(t,e){if(a(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(38893)(Function.call,n(11801).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},5723:function(t,e,n){var r=n(46093).f,a=n(40255),o=n(81395)("toStringTag");t.exports=function(t,e,n){t&&!a(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},7186:function(t,e,n){var r=n(92479)("keys"),a=n(67441);t.exports=function(t){return r[t]||(r[t]=a(t))}},92479:function(t,e,n){var r=n(37213),a=n(34506),o="__core-js_shared__",i=a[o]||(a[o]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(44574)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},94004:function(t,e,n){var r=n(25999),a=n(8296);t.exports=function(t){return function(e,n){var o,i,s=String(a(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(i=s.charCodeAt(l+1))<56320||i>57343?t?s.charAt(l):o:t?s.slice(l,l+2):(o-55296<<10)+(i-56320)+65536}}},48856:function(t,e,n){var r=n(25999),a=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?a(t+e,0):o(t,e)}},25999:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},34202:function(t,e,n){var r=n(28365),a=n(8296);t.exports=function(t){return r(a(t))}},61826:function(t,e,n){var r=n(25999),a=Math.min;t.exports=function(t){return t>0?a(r(t),9007199254740991):0}},28689:function(t,e,n){var r=n(8296);t.exports=function(t){return Object(r(t))}},43908:function(t,e,n){var r=n(69480);t.exports=function(t,e){var n,a;if(!r(t))return t;if(e&&"function"==typeof(n=t.toString)&&!r(a=n.call(t))||"function"==typeof(n=t.valueOf)&&!r(a=n.call(t))||!e&&"function"==typeof(n=t.toString)&&!r(a=n.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},67441:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}},19642:function(t,e,n){var r=n(34506),a=n(37213),o=n(44574),i=n(62911),s=n(46093).f;t.exports=function(t){var e=a.Symbol||(a.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},62911:function(t,e,n){e.f=n(81395)},81395:function(t,e,n){var r=n(92479)("wks"),a=n(67441),o=n(34506).Symbol,i="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=i&&o[t]||(i?o:a)("Symbol."+t))}).store=r},67771:function(t,e,n){"use strict";var r=n(74631),a=n(65336),o=n(45086),i=n(34202);t.exports=n(58903)(Array,"Array",function(t,e){this._t=i(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,a(1)):"keys"==e?a(0,n):"values"==e?a(0,t[n]):a(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},38476:function(t,e,n){var r=n(75076);r(r.S+r.F,"Object",{assign:n(79769)})},23012:function(t,e,n){var r=n(75076);r(r.S,"Object",{create:n(77310)})},94730:function(t,e,n){var r=n(75076);r(r.S+!n(70377)*r.F,"Object",{defineProperty:n(46093).f})},49760:function(t,e,n){var r=n(75076);r(r.S,"Object",{setPrototypeOf:n(80130).set})},71810:function(){},97109:function(t,e,n){"use strict";var r=n(94004)(!0);n(58903)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},22503:function(t,e,n){"use strict";var r=n(34506),a=n(40255),o=n(70377),i=n(75076),s=n(53682),l=n(42727).KEY,u=n(73069),c=n(92479),f=n(5723),p=n(67441),d=n(81395),h=n(62911),m=n(19642),v=n(4352),y=n(68926),g=n(96202),b=n(69480),w=n(28689),T=n(34202),S=n(43908),k=n(4452),E=n(77310),O=n(45866),x=n(11801),A=n(6050),_=n(46093),M=n(95692),C=x.f,D=_.f,F=O.f,j=r.Symbol,P=r.JSON,Z=P&&P.stringify,N="prototype",L=d("_hidden"),R=d("toPrimitive"),I={}.propertyIsEnumerable,U=c("symbol-registry"),X=c("symbols"),V=c("op-symbols"),B=Object[N],H="function"==typeof j&&!!A.f,Y=r.QObject,z=!Y||!Y[N]||!Y[N].findChild,W=o&&u(function(){return 7!=E(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=C(B,e);r&&delete B[e],D(t,e,n),r&&t!==B&&D(B,e,r)}:D,q=function(t){var e=X[t]=E(j[N]);return e._k=t,e},G=H&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},Q=function(t,e,n){return(t===B&&Q(V,e,n),g(t),e=S(e,!0),g(n),a(X,e))?(n.enumerable?(a(t,L)&&t[L][e]&&(t[L][e]=!1),n=E(n,{enumerable:k(0,!1)})):(a(t,L)||D(t,L,k(1,{})),t[L][e]=!0),W(t,e,n)):D(t,e,n)},$=function(t,e){g(t);for(var n,r=v(e=T(e)),a=0,o=r.length;o>a;)Q(t,n=r[a++],e[n]);return t},K=function(t){var e=I.call(this,t=S(t,!0));return(!(this===B&&a(X,t))||!!a(V,t))&&(!(e||!a(this,t)||!a(X,t)||a(this,L)&&this[L][t])||e)},J=function(t,e){if(t=T(t),e=S(e,!0),!(t===B&&a(X,e))||a(V,e)){var n=C(t,e);return n&&a(X,e)&&!(a(t,L)&&t[L][e])&&(n.enumerable=!0),n}},tt=function(t){for(var e,n=F(T(t)),r=[],o=0;n.length>o;)a(X,e=n[o++])||e==L||e==l||r.push(e);return r},te=function(t){for(var e,n=t===B,r=F(n?V:T(t)),o=[],i=0;r.length>i;)a(X,e=r[i++])&&(!n||a(B,e))&&o.push(X[e]);return o};H||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(V,n),a(this,L)&&a(this[L],t)&&(this[L][t]=!1),W(this,t,k(1,n))};return o&&z&&W(B,t,{configurable:!0,set:e}),q(t)})[N],"toString",function(){return this._k}),x.f=J,_.f=Q,n(69752).f=O.f=tt,n(46824).f=K,A.f=te,o&&!n(44574)&&s(B,"propertyIsEnumerable",K,!0),h.f=function(t){return q(d(t))}),i(i.G+i.W+!H*i.F,{Symbol:j});for(var tn="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tr=0;tn.length>tr;)d(tn[tr++]);for(var ta=M(d.store),to=0;ta.length>to;)m(ta[to++]);i(i.S+!H*i.F,"Symbol",{for:function(t){return a(U,t+="")?U[t]:U[t]=j(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in U)if(U[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),i(i.S+!H*i.F,"Object",{create:function(t,e){return void 0===e?E(t):$(E(t),e)},defineProperty:Q,defineProperties:$,getOwnPropertyDescriptor:J,getOwnPropertyNames:tt,getOwnPropertySymbols:te});var ti=u(function(){A.f(1)});i(i.S+i.F*ti,"Object",{getOwnPropertySymbols:function(t){return A.f(w(t))}}),P&&i(i.S+i.F*(!H||u(function(){var t=j();return"[null]"!=Z([t])||"{}"!=Z({a:t})||"{}"!=Z(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],a=1;arguments.length>a;)r.push(arguments[a++]);if(n=e=r[1],!(!b(e)&&void 0===t||G(t)))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,Z.apply(P,r)}}),j[N][R]||n(2366)(j[N],R,j[N].valueOf),f(j,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},51015:function(t,e,n){n(19642)("asyncIterator")},60107:function(t,e,n){n(19642)("observable")},16917:function(t,e,n){n(67771);for(var r=n(34506),a=n(2366),o=n(45086),i=n(81395)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l-1;)(f=u[p]).n===s&&f.c===e?u.splice(p,1):0===c&&(c=p+1);var d=n||this._eventTarget;u.splice(c,0,{c:e,n:s,t:i}),!this._listFun[l]&&(this._listFun[l]=this._listFun[l]||this.dispatchEvent.bind(this,{type:i,target:n}),d.addEventListener?d.addEventListener(i,this._listFun[l],r):d.attachEvent&&d.attachEvent("on"+i,this._listFun[l]))},removeEventListener:function(t,e,n,r){var o=t.split("."),i=o[0],s=o[1],l=""+i+(n?"_"+n.getAttribute(a):""),u=this._listeners[l],c=void 0,f=r;if(s||(f=!0),u){c=u.length;for(var p=n||this._eventTarget;--c>-1;)if(u[c].c===e&&(f||u[c].n===s)){if(u.splice(c,1),!u.length){var d=this._listFun[l];delete this._listeners[l],delete this._listFun[l],p.removeEventListener?p.removeEventListener(i,d):p.detachEvent&&p.detachEvent("on"+i,d)}if(!f)return}}},dispatchEvent:function(t,e){var n=t.type,r=t.target,o=""+n+(r?"_"+r.getAttribute(a):""),i=this._listeners[o],s=void 0,l=void 0,u=void 0;if(i){for(s=i.length,l=this._eventTarget;--s>-1;)if(u=i[s]){var c=e||{type:n,target:l};u.c.call(l,c)}}},removeAllType:function(t,e){var n=this,o=t.split("."),i=o[0],s=o[1],l=""+i+(e?"_"+e.getAttribute(a):""),u=this._listeners[l];this.recoverLists=this.recoverLists.concat((0,r.Zk)(u).filter(function(t){return t.n&&t.n.match(s)})),this.recoverLists.forEach(function(t){n.removeEventListener(t.t+"."+t.n,t.c,e)})},reAllType:function(t,e){var n=this,r=t.split("."),a=r[0],o=r[1];this.recoverLists=this.recoverLists.map(function(t){return t.t===a&&t.n.match(o)?(n.addEventListener(t.t+"."+t.n,t.c,e),null):t}).filter(function(t){return t})}},e.Z=new o("undefined"!=typeof document&&window)},72220:function(t,e,n){"use strict";n.d(e,{Z:function(){return y}});var r=n(61707),a=n(61200),o=n(82864),i=n(73006),s=n(97559),l=n(71212),u=n(50959),c=n(40507),f=n.n(c),p=n(65274),d=n(10422),h=n(20769),m=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getParam=function(t){n.clientHeight=n.target?n.target.clientHeight:(0,h.uK)();var e=n.target?n.target.scrollTop:(0,h.Xh)(),r=n.dom.getBoundingClientRect(),a=n.target?n.target.getBoundingClientRect().top:0,o=r.top+e-a;n.elementShowHeight=e-o+n.clientHeight;var i=(0,h.o1)(n.props.playScale),s=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[0]));s[2]?"px"===s[2]?n.playHeight=parseFloat(s[1]):n.playHeight=n.clientHeight*parseFloat(s[1])/100:n.playHeight=n.clientHeight*parseFloat(i[0]);var l=r.height,u=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[1]));u[2]?"px"===u[2]?n.leavePlayHeight=parseFloat(u[1]):n.leavePlayHeight=l*parseFloat(u[1])/100:n.leavePlayHeight=l*parseFloat(i[1]);var c=n.props.replay?n.elementShowHeight>=n.playHeight&&n.elementShowHeight<=n.clientHeight+n.leavePlayHeight:n.elementShowHeight>=n.playHeight,f=c?"enter":"leave",p=n.enter!==c||"boolean"!=typeof n.enter?f:null;p&&n.props.onChange({mode:p,id:n.props.id}),n.props.onScroll({domEvent:t,scrollTop:e,showHeight:n.elementShowHeight,offsetTop:o,id:n.props.id}),n.enter=c},n.addScrollEvent=function(){p.Z.addEventListener(n.eventType,n.scrollEventListener,n.target),(0,h.Xh)()||n.scrollEventListener()},n.scrollEventListener=function(t){n.getParam(t)},n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self;return n&&t!==n&&r.scrollEventListener(),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){if(!h.Q6){this.dom=d.findDOMNode(this);var t=Date.now();this.target=this.props.targetId&&document.getElementById(this.props.targetId);var e=p.Z._listeners.scroll?p.Z._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.addScrollEvent()}}},{key:"componentWillUnmount",value:function(){p.Z.removeEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=t.component,n=(t.playScale,t.location,t.targetId,t.onScroll,t.onChange,t.replay,t.componentProps),o=(0,a.default)(t,["component","playScale","location","targetId","onScroll","onChange","replay","componentProps"]);return u.createElement(e,(0,r.default)({},o,n))}}]),e}(u.Component);m.propTypes={component:f().any,playScale:f().any,id:f().string,onChange:f().func,onScroll:f().func,location:f().string,targetId:f().string,replay:f().bool,componentProps:f().object},m.defaultProps={component:"div",onChange:h.ZT,onScroll:h.ZT,playScale:.5,replay:!1,componentProps:{}},m.isScrollElement=!0;var v=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.scrollEventListener=function(t){n.getParam(t);var e=n.state.show,r=n.props,a=r.always,o=r.replay,i=n.elementShowHeight>n.clientHeight+n.leavePlayHeight;if(n.enter||!o&&i)e||n.setState({show:!0}),!a&&n.eventType&&p.Z.removeEventListener(n.eventType,n.scrollEventListener,n.target);else if(a){var s=n.elementShowHeightObject.keys(e).length?t:e,a=Object.keys(t).length>Object.keys(e).length?e:t;Object.keys(r).forEach(function(t){n&&(t in a||(n=!1),"object"==typeof r[t]&&"object"==typeof a[t]?n=E(r[t],a[t]):"function"==typeof r[t]&&"function"==typeof a[t]?r[t].toString().replace(/\s+/g,"")!==a[t].toString().replace(/\s+/g,"")&&(n=!1):r[t]!==a[t]&&(n=!1))})};if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;t.forEach(function(t,n){r(t,e[n])})}else r(t,e);return n}function O(t,e){var n=null;return t&&t.forEach(function(t){!n&&t&&t.key===e&&(n=t)}),n}function x(t,e,n){return"function"==typeof t?t({key:e,index:n}):t}function A(t){return t&&t.children}function _(t,e,n,r,a,o,i,s){if(b)return r;var l=/(?:Left|Right|Width|X)/i.test(n)||s;l="padding"===n||"marign"===n||l;var u=-1!==n.indexOf("border")||-1!==n.indexOf("translate")||"transformOrigin"===n?t:t.parentNode||document.body;u=i?document.body:u;var c=void 0,f=void 0;switch(a){case"%":c=parseFloat(r)/100*(l?u.clientWidth:u.clientHeight);break;case"vw":c=parseFloat(r)*document.body.clientWidth/100;break;case"vh":c=parseFloat(r)*document.body.clientHeight/100;break;case"em":c=parseFloat(r)*parseFloat(e.fontSize);break;case"rem":f=window.getComputedStyle(document.getElementsByTagName("html")[0]),c=parseFloat(r)*parseFloat(f.fontSize);break;default:c=parseFloat(r)}switch(o){case"%":c=c?100*c/(l?u.clientWidth:u.clientHeight):0;break;case"vw":c=parseFloat(r)/document.body.clientWidth*100;break;case"vh":c=parseFloat(r)/document.body.clientHeight*100;break;case"em":c=parseFloat(r)/parseFloat(e.fontSize);break;case"rem":f=f||window.getComputedStyle(document.getElementsByTagName("html")[0]),c=parseFloat(r)/parseFloat(f.fontSize)}return c}function M(t){if("string"==typeof t)return t;var e=t.perspective,n=t.rotate,r=t.rotateX,a=t.rotateY,o=t.scaleX,i=t.scaleY,s=t.scaleZ,l=t.skewX,u=t.skewY,c="string"==typeof t.translateX?t.translateX:t.translateX+"px",f="string"==typeof t.translateY?t.translateY:t.translateY+"px",p="string"==typeof t.translateZ?t.translateZ:t.translateZ+"px",d=l||u?"skew("+l+"deg,"+u+"deg)":"",h=n?"rotate("+n+"deg)":"",m=1!==o||1!==i||1!==s?"scale3d("+o+","+i+","+s+")":"",v=r?"rotateX("+r+"deg)":"",y=a?"rotateY("+a+"deg)":"";return((e?"perspective("+e+"px)":"")+" "+(t.translateZ?"translate3d("+c+","+f+","+p+")":(t.translateX||t.translateY)&&"translate("+c+","+f+")"||(m||h||v||y||d?"":"translate(0px, 0px)"))+" "+m+" "+h+" "+v+" "+y+" "+d).trim()}var C=n(89971);h().path=function(t,e){var n=e||{};if(b)return"linear";for(var r=function(t){if("string"==typeof t){if(t.charAt(0).match(/m/i)){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttributeNS(null,"d",t),e}return document.querySelector(t)}if(t.style)return t;throw Error("Error while parsing the path")}(t),a=r.getTotalLength(),o=n.rect||100,i=n.lengthPixel||200,s=[],l=0;l=u})[0]||r.getPointAtLength(l*a)).y/o}};var D=h(),F=function(){};F.prototype.push=function(t){this[t.prototype.name]=t};var j=new F,P=function(t,e,n){this.target=t,this.vars=e,this.type=n,this.propsData={},this.setDefaultData()};P.prototype={name:"style"};var Z=P.prototype;function N(){}function L(t,e){var n=t.duration||0===t.duration?t.duration:450;return{duration:"set"===t.type?0:n,delay:t.delay||0,ease:"function"==typeof t.ease?t.ease:D[t.ease||"easeInOutQuad"],onUpdate:t.onUpdate||N,onComplete:t.onComplete||N,onStart:t.onStart||N,onRepeat:t.onRepeat||N,repeat:t.repeat||0,repeatDelay:t.repeatDelay||0,yoyo:t.yoyo||!1,type:"from"===t.type?"from":"to",initTime:e,appearTo:"number"==typeof t.appearTo?t.appearTo:null,perTime:0,currentRepeat:0}}Z.getTweenData=function(t,e){var n={data:{},dataType:{},dataUnit:{},dataCount:{},dataSplitStr:{}},r=e;if(T[t]&&((r=(r=r.toString().split(" ")).map(function(t){return"number"==typeof e?t+"px":t}))[1]=r[1]||r[0],r[2]=r[2]||r[0],r[3]=r[3]||r[1]||r[0],r=r.join(" ")),t.match(/colo|fill|storker/i)?(n.data[t]=(0,C.lu)(r),n.dataType[t]="color"):"strokeDasharray"===t?(n.data[t]=r.split(","),n.dataType[t]="strokeDasharray"):t.match(/shadow/i)?(n.data[t]=(0,C.hy)(r),n.dataType[t]="shadow"):"string"==typeof r&&r.split(/[\s|,]/).length>1?(n.data[t]=r.split(/[\s|,]/),n.dataSplitStr[t]=r.replace(/[^\s|,]/g,"").replace(/\s+/g," "),n.dataType[t]="string"):(n.data[t]=r,n.dataType[t]="other"),Array.isArray(n.data[t]))n.dataUnit[t]=n.data[t].map(function(t){return t.toString().replace(/[^a-z|%]/g,"")}),n.dataCount[t]=n.data[t].map(function(t){return t.toString().replace(/[^+|=|-]/g,"")}),n.data[t]=n.data[t].map(function(t){return parseFloat(t)||0===parseFloat(t)?parseFloat(t):t});else{n.dataUnit[t]=n.data[t].toString().replace(/[^a-z|%]/g,""),n.dataCount[t]=n.data[t].toString().replace(/[^+|=|-]/g,"");var a=parseFloat(n.data[t].toString().replace(/[a-z|%|=]/g,""));n.data[t]=a||0===a?a:n.data[t]}return n},Z.setDefaultData=function(){var t=this;this.propsData.data={},this.propsData.dataType={},this.propsData.dataUnit={},this.propsData.dataCount={},this.propsData.dataSplitStr={},Object.keys(this.vars).forEach(function(e){if(e in j){t.propsData.data[e]=new j[e](t.target,t.vars[e]);return}var n=(0,C.Lo)(e),r=t.getTweenData(n,t.vars[e]);t.propsData.data[n]=r.data[n],t.propsData.dataType[n]=r.dataType[n],t.propsData.dataUnit[n]=r.dataUnit[n],t.propsData.dataCount[n]=r.dataCount[n],r.dataSplitStr[n]&&(t.propsData.dataSplitStr[n]=r.dataSplitStr[n])})},Z.convertToMarksArray=function(t,e,n,r,a){var o=r.toString().replace(/[^a-z|%]/g,""),i=e[a];return o===i?parseFloat(r):parseFloat(r)||0===parseFloat(r)?_(this.target,t,n,r,o,i,null,"transformOrigin"===n&&!a):r},Z.getAnimStart=function(t,e,n){var r=this,o={},i=e.style||{},s=void 0;return Object.keys(this.propsData.data).forEach(function(e){var l=(0,C.dt)(e),u=i[l]||t[l],c="fixed"===t.position;u&&"none"!==u&&"auto"!==u||(u="");var f=void 0,p=void 0;if(e in j)"bezier"===e&&(r.transform=(0,C.Yf)("transform"),u=t[n?"transformSVG":r.transform],s=s||(i.transform?(0,a.default)({},i.transform):o.transform||(0,C.Ck)(u)),o.transform=s),r.propsData.data[e].getAnimStart(t,n);else if("transform"===l){r.transform=(0,C.Yf)("transform"),u=t[n?"transformSVG":r.transform],f=r.propsData.dataUnit[e],s=s||(i.transform?(0,a.default)({},i.transform):o.transform||(0,C.Ck)(u));var d=/%|vw|vh|em|rem/i;f&&f.match(d)&&(s[e]=s[e]&&s[e].toString().match(d)?parseFloat(s[e]):_(r.target,t,e,s[e],null,f)),o.transform=s}else"filter"===l?(i[l]?u=i[l]:(r.filterName=(0,C.Yf)("filter")||"filter",u=t[r.filterName],r.filterObject=(0,a.default)({},r.filterObject,(0,C.GX)(u)),u=r.filterObject[e]||0),p=u.toString().replace(/[^a-z|%]/g,""),(f=r.propsData.dataUnit[e])!==p&&(u=_(r.target,t,l,parseFloat(u),p,f,c)),o[e]=parseFloat(u)):e.match(/color|fill/i)||"stroke"===e?(u=u||"stroke"!==e?u:"rgba(255, 255, 255, 0)",o[l]=(0,C.lu)(u)):e.match(/shadow/i)?(u=(0,C.hy)(u),f=r.propsData.dataUnit[e],u=u.map(r.convertToMarksArray.bind(r,t,f,e)),o[l]=u):Array.isArray(r.propsData.data[e])?(u=u.split(/[\s|,]/).filter(function(t){return t||0===t}),f=r.propsData.dataUnit[e],u=u.map(r.convertToMarksArray.bind(r,t,f,e)),o[l]=u):((f=r.propsData.dataUnit[l])!==(p=u.toString().replace(/[^a-z|%]/g,""))&&(u=_(r.target,t,l,parseFloat(u),p,f,c)),o[l]=parseFloat(u||0))}),this.start=o,o},Z.setArrayRatio=function(t,e,n,r,a){"color"===a&&4===e.length&&3===n.length&&(n[3]=1);var o=e.indexOf("inset")>=0,i=n.indexOf("inset")>=0;if(o&&!i||i&&!o)throw console.error('Error: "box-shadow" inset have to exist');var s=i?9:8;e.length===s&&n.length===s-1?(n.splice(3,0,0),r.splice(3,0,"")):n.length===s&&e.length===s-1&&e.splice(3,0,0);var l=n.map(function(n,o){var i="color"!==a||3!==o||e[o]?0:1,s="number"==typeof e[o]?e[o]:i;return"string"==typeof n?n:(n-s)*t+s+(r[o]||0)});if("color"===a)return(0,C.Lq)(l);if("shadow"===a){var u=l.length===s?4:3,c=l.slice(0,u).map(function(t){return"number"==typeof t?t+"px":t}),f=l.slice(u,i?l.length-1:l.length),p=(0,C.Lq)(f);return(c.join(" ")+" "+p+" "+(i?"inset":"")).trim()}return l},Z.setRatio=function(t,e,n){var r=this;e.style=e.style||{},this.start.transform&&(e.style.transform=e.style.transform||(0,a.default)({},this.start.transform));var o=this.target.style;Object.keys(this.propsData.data).forEach(function(a){var i="transform"===(0,C.Tk)(a),s=i?r.start.transform[a]:r.start[a],l=r.propsData.data[a],u=r.propsData.dataUnit[a],c=r.propsData.dataCount[a];if(a in j){r.propsData.data[a].setRatio(t,e,n),"bezier"===a?o[r.transform]=M(e.style.transform):Object.keys(e.style).forEach(function(t){o[t]=e.style[t]});return}if(i){if(u&&u.match(/%|vw|vh|em|rem/i))s=parseFloat(r.start.transform[a]),"="===c.charAt(1)?e.style.transform[a]=s+l*t+u:e.style.transform[a]=(l-s)*t+s+u;else if("scale"===a){var f=r.start.transform.scaleX,p=r.start.transform.scaleY;"="===c.charAt(1)?(e.style.transform.scaleX=f+l*t,e.style.transform.scaleY=p+l*t):(e.style.transform.scaleX=(l-f)*t+f,e.style.transform.scaleY=(l-p)*t+p)}else"="===c.charAt(1)?e.style.transform[a]=s+l*t:e.style.transform[a]=(l-s)*t+s;o[r.transform]=M(e.style.transform),n&&(n.transformSVG=(0,C.wz)(o[r.transform]).toString());return}if(Array.isArray(l)){var d=r.propsData.dataType[a];e.style[a]=r.setArrayRatio(t,s,l,u,d),"string"===d&&(e.style[a]=e.style[a].join(r.propsData.dataSplitStr[a]))}else{var h=(0,C.YJ)(a,0);if(h="number"==typeof h?"":h.replace(/[^a-z|%]/g,""),u=u||(C._T.filter.indexOf(a)>=0?"":h),"string"==typeof l)e.style[a]=l;else if("="===c.charAt(1))e.style[a]=s+l*t+u;else{var m=(l-s)*t+s;e.style[a]=u?""+m+u:m}}if(C._T.filter.indexOf(a)>=0){if(!r.filterObject)return;r.filterObject[a]=e.style[a];var v="";Object.keys(r.filterObject).forEach(function(t){v+=" "+t+"("+r.filterObject[t]+")"}),o[r.filterName]=v.trim();return}o[a]=e.style[a]})},j.push(P);var R=function(t,e,n){var r=k(e);this.target=t,this.attr=n||"style",this.accuracy=1e-5,this.totalTime=0,this.progressTime=0,this.defaultData=[],this.start={},this.startDefaultData={},this.tween={},this.data=r,this.perFrame=Math.round(1e3/60),this.register=!1,this.isSvg=this.target.ownerSVGElement;var a=this.setAttrIsStyle();this.setDefaultData(a)},I=R.prototype;I.setAttrIsStyle=function(){var t=this,e=[],n=L({},0);return this.data.forEach(function(r,o){var i=(0,a.default)({},r);"style"===t.attr?(e[o]={},Object.keys(i).forEach(function(t){t in n&&(e[o][t]=i[t],delete i[t])}),e[o].style=i,t.startDefaultData.style=t.target.getAttribute("style")||""):"attr"===t.attr&&(Object.keys(i).forEach(function(e){if("style"===e&&Array.isArray(r[e]))throw Error("Style should be the object.");if("bezier"===e)i.style=(0,a.default)({},i.style,{bezier:i[e]}),delete i[e],t.startDefaultData.style=t.target.getAttribute("style")||"";else{if(e in n)return;t.startDefaultData[e]=t.getValue(e)}}),e[o]=i)}),e},I.setDefaultData=function(t){var e=this,n=0,r=!1,a=t.map(function(t){var a="number"==typeof t.appearTo;a||(n+=t.delay||0);var o=(t.appearTo||0)+(t.delay||0),i=L(t,a?o:n);i.vars={},Object.keys(t).forEach(function(n){if(!(n in i)){var r=t[n];if(n in j)i.vars[n]=new j[n](e.target,r,i.type);else if(("d"===n||"points"===n)&&"SVGMorph"in j)i.vars[n]=new j.SVGMorph(e.target,r,n);else if(n.match(/color/i)||"stroke"===n||"fill"===n)i.vars[n]={type:"color",vars:(0,C.lu)(r)};else if("number"==typeof r||r.split(/[,|\s]/g).length<=1){var a=parseFloat(r),o=r.toString().replace(/[^a-z|%]/g,""),s=r.toString().replace(/[^+|=|-]/g,"");i.vars[n]={unit:o,vars:a,count:s}}}}),i.yoyo&&!i.repeat&&console.warn("Warning: yoyo must be used together with repeat;"),-1===i.repeat&&(r=!0);var s=-1===i.repeat?0:i.repeat;if(a){var l=t.appearTo+(t.delay||0)+i.duration*(s+1)+i.repeatDelay*s;n=l>=n?l:n}else i.delay<-i.duration?n-=i.delay:n+=i.duration*(s+1)+i.repeatDelay*s;return i.mode="",i});this.totalTime=r?Number.MAX_VALUE:n,this.defaultData=a},I.getComputedStyle=function(){var t=document.defaultView?document.defaultView.getComputedStyle(this.target):{};if(this.isSvg){var e=t[(0,C.Yf)("transform")]||"none";if("none"===e){var n=this.target.getAttribute("style");n&&n.indexOf("transform:")>=0?e=n.split(";").filter(function(t){return t.indexOf("transform:")>=0}).map(function(t){return(0,C.wz)(t.split(":")[1].trim()).toString()})[0]:this.target.getAttribute("transform")&&console.warn("Do not add transform on the label, otherwise it will be invalid.")}t.transformSVG=e}return t},I.getAnimStartData=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){if(r in j||"attr"===e.attr&&("d"===r||"points"===r)){e.computedStyle=e.computedStyle||(e.target.getAttribute?e.getComputedStyle():(0,a.default)({},e.target)),n[r]=t[r].getAnimStart(e.computedStyle,e.tween,e.isSvg);return}if("attr"===e.attr){var o=e.getValue(r),i=r.match(/opacity/ig)?1:0,s="null"!==o&&o?o:i;if(r.match(/color/i)||"stroke"===r||"fill"===r)s=s||"stroke"!==r?s:"rgba(255, 255, 255, 0)",s=(0,C.lu)(s),n[r]=s;else if(parseFloat(s)||0===parseFloat(s)||0===s){var l=s.toString().replace(/[^a-z|%]/g,"");n[r]=l!==t[r].unit?_(e.target,r,parseFloat(s),l,t[r].unit):parseFloat(s)}return}n[r]=e.target[r]||0}),n},I.setAnimData=function(t){var e=this;Object.keys(t).forEach(function(n){n in j||"attr"===e.attr&&("d"===n||"points"===n)||(e.target[n]=t[n])})},I.setRatio=function(t,e,n){var r=this;Object.keys(e.vars).forEach(function(a){if(a in j||"attr"===r.attr&&("d"===a||"points"===a)){e.vars[a].setRatio(t,r.tween,r.isSvg&&r.computedStyle);return}var o=e.vars[a],i=r.start[n][a],s=void 0;"attr"===r.attr&&(o.type?"color"===o.type&&(3===o.vars.length&&4===i.length&&(o.vars[3]=1),s=o.vars.map(function(e,n){var r=i[n]||0;return(e-r)*t+r}),r.setValue(a,(0,C.Lq)(s))):(s="="===o.unit.charAt(1)?i+o.vars*t+o.unit:(o.vars-i)*t+i+o.unit,r.setValue(a,o.unit?s:parseFloat(s))))}),this.setAnimData(this.tween)},I.getValue=function(t){return this.target.getAttribute?this.target.getAttribute(t):this.target[t]},I.setValue=function(t,e){this.target.setAttribute?this.target.setAttribute(t,e):this.target[t]=e},I.render=function(){var t=this,e=this.reverse;this.defaultData.forEach(function(n,r){var o=n.initTime,i=(0,C.FH)(n.duration),s=Math.ceil((t.progressTime-o)/(i+n.repeatDelay))-1||0;if(s=s<0?0:s,n.repeat){if(n.repeat=0)||t.start[r]||(t.start[r]=t.getAnimStartData(n.vars),ci&&(f=n.ease(1,l,u,1),t.setRatio(f,n,r)),t.register&&(!r||o)||(t.register=!0,0!==c||!n.duration||!n.delay))){var p={index:r,target:t.target},d=(0,a.default)({moment:t.progressTime},p),h=t.perFrame-t.accuracy,m=n.delay&&e?-h:0;if((c>=m&&!(c>i&&"onComplete"===n.mode)||c=t.perFrame?0:c)>=i-t.accuracy&&!e||e&&c<=0)&&s>=n.repeat){if("onComplete"===n.mode)return;if(f=n.ease(e?0:1,l,u,1),t.setRatio(f,n,r,n.currentRepeat!==s),(!n.reset||n.reset&&c>=i)&&!v)i=i+h)return;n.mode="onComplete"}else if(i>h){var y=c<0?0:c;y=y>i?i:y,f=n.ease(y,l,u,i),t.setRatio(f,n,r),v||(n.repeat&&s>0&&n.currentRepeat!==s?(n.mode="onRepeat",n.currentRepeat=s,n.onRepeat((0,a.default)({},p,{repeatNum:s}))):(n.perTime<=0||e&&n.perTime>=t.reverseStartTime-o)&&"onStart"!==n.mode?(n.mode="onStart",n.onStart(p)):(n.mode="onUpdate",n.onUpdate((0,a.default)({ratio:f},p))))}v||(d.mode=n.mode,t.onChange(d)),n.perTime=c,n.reset&&delete n.reset}}})},I.frame=function(t){var e=this;this.progressTime=t,this.defaultData.forEach(function(t){var n=e.progressTime-t.duration-t.initTime;n0&&(e.progressTime=t.duration+t.initTime)}),this.render()},I.init=I.frame,I.resetAnimData=function(){this.tween={},this.start={}};var U=function(t,e,n){var r=L({},0),a=function(t){return t.split(";").filter(function(t){return t}).map(function(t){return t.split(":").map(function(t){return t.trim()})})},o=a(e),i=a(t);return n.forEach(function(t){Object.keys(t).forEach(function(t){if(!(t in r)){var e=(0,C.Dm)((0,C.Tk)((0,C.Lo)("bezier"===t?"transform":t)));i=i.filter(function(t){return(!w[t[0]]||!w[e])&&t[0]!==e})}})}),o.forEach(function(t){i=i.filter(function(e){return e[0]!==t[0]})}),o.concat(i).map(function(t){return t.join(":")}).join(";")};I.resetDefaultStyle=function(){var t=this;this.tween={},this.defaultData=this.defaultData.map(function(t){return t.reset=!0,delete t.mode,t});var e=L({},0);Object.keys(this.startDefaultData).forEach(function(n){if(!(n in e)){if("style"===n){var r=U(t.target.style.cssText,t.startDefaultData.style,t.data);t.setValue(n,r)}else t.setValue(n,t.startDefaultData[n]);t.computedStyle=null}})},I.reStart=function(t,e,n){var r=this;this.start={},this.tween={},Object.keys(t||{}).forEach(function(a){(n||!e||t[a]!==e[a])&&(r.target.style[a]=(0,C.YJ)(a,t[a]))}),this.setAttrIsStyle(),this.computedStyle=null},I.onChange=N;var X=n(19616),V=n.n(X),B=Date.now||function(){return new Date().getTime()},H={interval:1,timeout:1,TweenOneTicker:2},Y=function(t){return Object.keys(t).map(function(e){return{key:e,func:t[e]}}).sort(function(t,e){var n=t.key.split("_")[0];return H[e.key.split("_")[0]]-H[n]})},z=function(){};z.prototype={tickFnArray:[],tickKeyObject:{},id:-1,tweenId:0,frame:0,perFrame:Math.round(1e3/60),elapsed:0,lastUpdate:B(),startTime:B(),nextTime:0,time:0};var W=z.prototype;W.add=function(t){var e="TweenOneTicker_"+this.tweenId;return this.tweenId++,this.wake(e,t),e},W.wake=function(t,e){this.tickKeyObject[t]=e,this.tickFnArray=Y(this.tickKeyObject),-1===this.id&&(this.id=V()(this.tick))},W.clear=function(t){delete this.tickKeyObject[t],this.tickFnArray=Y(this.tickKeyObject)},W.sleep=function(){V().cancel(this.id),this.id=-1,this.frame=0};var q=new z;W.tick=function(t){q.elapsed=B()-q.lastUpdate,q.elapsed>300&&(q.startTime+=q.elapsed-q.perFrame),q.lastUpdate+=q.elapsed,q.time=q.lastUpdate-q.startTime;var e=q.time-q.nextTime;if((e>0||!q.frame)&&(q.frame++,q.nextTime+=e),q.tickFnArray.forEach(function(e){return e.func(t)}),!q.tickFnArray.length){q.sleep();return}q.id=V()(q.tick)};var G=0;W.timeout=function(t,e){var n=this;if("function"!=typeof t)return console.warn("not function");var r="timeout_"+Date.now()+"-"+G,a=this.time;return this.wake(r,function(){n.time-a>=(e||0)&&(n.clear(r),t())}),G++,r};var Q=0;W.interval=function(t,e){var n=this;if("function"!=typeof t)return console.warn("not function"),null;var r="interval_"+Date.now()+"-"+Q,a=this.time;return this.wake(r,function(){n.time-a>=(e||0)&&(a=n.time,t())}),Q++,r};var $=Math.round(1e3/60),K=p().oneOfType([p().object,p().array]),J=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return tt.call(n),n.rafID=-1,n.paused=t.paused,n.reverse=t.reverse,n.updateAnim=!1,n.repeatNum=0,n.currentRef=null,n.forced={},n.setForcedJudg(t),n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self,a={prevProps:t};if(n&&t!==n){if(!r.tween&&!r.dom)return r.updateAnim=!0,a;var o=t.animation;E(n.animation,o)||(t.resetStyle&&r.tween&&r.tween.resetDefaultStyle(),r.updateAnim=!0);var i=t.moment;"number"==typeof i&&i!==n.moment&&(r.tween&&!r.updateAnim?(r.startMoment=i,r.startTime=q.time,t.paused&&r.raf(),r.tween.progressTime>=r.tween.totalTime&&r.play()):r.updateAnim=!0),r.paused===t.paused&&r.reverse===t.reverse||(r.paused=t.paused,r.reverse=t.reverse,r.paused?r.cancelRequestAnimationFrame():r.reverse&&t.reverseDelay?(r.cancelRequestAnimationFrame(),q.timeout(r.restart,t.reverseDelay)):(r.tween&&(r.tween.resetAnimData(),r.tween.resetDefaultStyle()),r.updateAnim||r.restart())),!E(n.style,t.style)&&r.tween&&(r.tween.reStart(t.style,n.style,r.tween.progressTime=0?n:Number.MAX_VALUE;var o=q.time-t.startTime+t.startMoment;t.reverse&&(o=(t.startMoment||0)-(q.time-t.startTime));var i=Math.floor((o=(o=o>r?r:o)<=0?0:o)/t.tween.totalTime)||0;i=i>n?n:i;var s=o-t.tween.totalTime*i;s=s<$&&!t.reverse&&r>=$?0:s,n&&o&&o-t.tween.totalTime*i<$&&t.tween.frame(t.tween.totalTime*i),(o=r&&!t.reverse||!o&&t.reverse?n.timelineMode="onTimelineComplete":i!==t.timelineRepeatNum?n.timelineMode="onTimelineRepeat":n.timelineMode="onTimelineUpdate":n.timelineMode="onTimelineStart",t.timelineRepeatNum=i,t.props.onChange(n)},t.moment=o,t.repeatNum=i,t.tween.frame(s)},this.raf=function(){var e=t.tween;if(t.frame(),e!==t.tween)return null;var n=t.props.repeat,r=-1===n?Number.MAX_VALUE:t.tween.totalTime*(n+1);return t.moment>=r&&!t.reverse||t.paused||t.reverse&&0===t.moment?t.cancelRequestAnimationFrame():null},this.cancelRequestAnimationFrame=function(){q.clear(t.rafID),t.rafID=-1}};J.isTweenOne=!0;var te=g(J),tn=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));tr.call(n),n.keysToEnter=[],n.keysToLeave=[],n.saveTweenTag={},n.onEnterBool=!1,n.animQueue=[],n.isTween={};var r=S(A(n.props));return n.currentChildren=S(A(n.props)),n.state={children:r,$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self,a={prevProps:t};if(n&&t!==n){var o=S(t.children);if(Object.keys(r.isTween).length&&!t.exclusive)return r.animQueue.push(o),a;var i=S(r.currentChildren);a.children=r.changeChildren(o,i)}return a}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){this.onEnterBool=!0}},{key:"changeChildren",value:function(t,e){var n,r,a,o,i=this,s=(n=[],r={},a=[],o=void 0,e.forEach(function(e){e&&(O(t,e.key)?(a.length&&(r[e.key]=a,a=[]),o=e.key):e.key&&a.push(e))}),o||(n=n.concat(a)),t.forEach(function(t){t&&(r.hasOwnProperty(t.key)&&(n=n.concat(r[t.key])),n.push(t),t.key===o&&(n=n.concat(a)))}),n);return this.keysToEnter=[],this.keysToLeave=[],t.forEach(function(t){if(t){var n=t.key,r=O(e,n);i.saveTweenTag[n]&&(i.saveTweenTag[n]=u.cloneElement(i.saveTweenTag[n],{},t)),!r&&n&&i.keysToEnter.push(n)}}),e.forEach(function(e){if(e){var n=e.key;!O(t,n)&&n&&(i.keysToLeave.push(n),delete i.saveTweenTag[n])}}),s}},{key:"render",value:function(){var t=this.state.children;this.currentChildren=t;var e=this.getChildrenToRender(t),n=this.props,o=n.component,i=n.componentProps,s=(n.appear,n.enter,n.leave,n.animatingClassName,n.onEnd,n.exclusive,n.resetStyle,(0,r.default)(n,["component","componentProps","appear","enter","leave","animatingClassName","onEnd","exclusive","resetStyle"]));return o?(0,u.createElement)(o,(0,a.default)({},s,i),e):e[0]||null}}]),e}(u.Component),tr=function(){var t=this;this.onChange=function(e,n,r,a){var o=k(e).length,i=a.target,s="object"==typeof i.className&&"baseVal"in i.className,l="enter"===r||"appear"===r;if("onStart"===a.mode)s?i.className.baseVal=t.setClassName(i.className.baseVal,l):i.className=t.setClassName(i.className,l);else if(a.index===o-1&&"onComplete"===a.mode){if(delete t.isTween[n],s?i.className.baseVal=i.className.baseVal.replace(t.props.animatingClassName[l?0:1],"").trim():i.className=i.className.replace(t.props.animatingClassName[l?0:1],"").trim(),"enter"===r)t.keysToEnter.splice(t.keysToEnter.indexOf(n),1),t.keysToEnter.length||t.reAnimQueue();else if("leave"===r&&(t.keysToLeave.splice(t.keysToLeave.indexOf(n),1),t.currentChildren=t.currentChildren.filter(function(t){return n!==t.key}),!t.keysToLeave.length)){var u=t.currentChildren.map(function(t){return t.key});Object.keys(t.saveTweenTag).forEach(function(e){-1===u.indexOf(e)&&delete t.saveTweenTag[e]}),t.setState({children:t.currentChildren},t.reAnimQueue)}t.props.onEnd({key:n,type:r})}},this.setClassName=function(e,n){var r=e.replace(t.props.animatingClassName[n?1:0],"").trim();return -1===r.indexOf(t.props.animatingClassName[n?0:1])&&(r=(r+" "+t.props.animatingClassName[n?0:1]).trim()),r},this.getTweenChild=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.key;return t.saveTweenTag[r]=u.createElement(te,(0,a.default)({},n,{key:r,component:null}),e),t.saveTweenTag[r]},this.getCoverAnimation=function(e,n,r){var a=void 0;a="leave"===r?t.props.leave:t.props.enter,"appear"===r&&(a=x(t.props.appear,e.key,n)&&t.props.enter||null);var o=x(a,e.key,n),i=t.onChange.bind(t,o,e.key,r),s={key:e.key,animation:o,onChange:i,resetStyle:t.props.resetStyle};return(t.keysToEnter.concat(t.keysToLeave).indexOf(e.key)>=0||!t.onEnterBool&&a)&&!t.saveTweenTag[e.key]&&(t.isTween[e.key]=r),t.getTweenChild(e,s)},this.getChildrenToRender=function(e){return e.map(function(e,n){if(!e||!e.key)return e;var r=e.key;return t.keysToLeave.indexOf(r)>=0?t.getCoverAnimation(e,n,"leave"):(t.keysToEnter.indexOf(r)>=0||t.isTween[r]&&-1===t.keysToLeave.indexOf(r))&&!("enter"===t.isTween[r]&&t.saveTweenTag[r])?t.getCoverAnimation(e,n,"enter"):t.onEnterBool?t.saveTweenTag[r]:t.getCoverAnimation(e,n,"appear")})},this.reAnimQueue=function(){if(!Object.keys(t.isTween).length&&t.animQueue.length){var e=t.changeChildren(t.animQueue[t.animQueue.length-1],t.state.children);t.setState({children:e}),t.animQueue=[]}}};tn.propTypes={component:p().any,componentProps:p().object,children:p().any,style:p().object,appear:p().bool,enter:p().any,leave:p().any,animatingClassName:p().array,onEnd:p().func,resetStyle:p().bool,exclusive:p().bool},tn.defaultProps={component:"div",componentProps:{},appear:!0,animatingClassName:["tween-one-entering","tween-one-leaving"],enter:{x:50,opacity:0,type:"from"},leave:{x:-50,opacity:0},onEnd:function(){},resetStyle:!0,exclusive:!1},tn.isTweenOneGroup=!0;var ta=g(tn);te.TweenOneGroup=ta,te.easing=D,te.plugins=j,te.ticker=q,te.Tween=R;var to=n(65274),ti=n(20769),ts=0,tl=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.setDefaultData=function(t){(0,ti.Zk)(t).forEach(function(t,e){var r,o=(Array.isArray(r=t.playScale)?2===r.length?r:[r[0]||0,r[1]||1]:r?[r,1]:[0,1]).map(function(t){return t*n.clientHeight}),i=(0,a.default)({},t);delete i.playScale;var s=(0,a.default)({},t);delete s.playScale,s.delay=o[0],i.delay=o[0],s.duration=o[1]-o[0],i.duration=o[1]-o[0],s.onStart=null,s.onUpdate=null,s.onComplete=null,s.onRepeat=null,i.onStart=i.onStart||ti.ZT,i.onComplete=i.onComplete||ti.ZT,i.onUpdate=i.onUpdate||ti.ZT,i.onStartBack=i.onStartBack||ti.ZT,i.onCompleteBack=i.onCompleteBack||ti.ZT,n.defaultTweenData[e]=s,n.defaultData[e]=i})},n.resizeEventListener=function(){n.defaultData[n.defaultData.length-1]&&n.defaultData[n.defaultData.length-1].onCompleteBool&&!n.props.always||(n.scrollTop=(0,ti.Xh)(),n.target=n.props.targetId&&document.getElementById(n.props.targetId),n.clientHeight=n.target?n.target.clientHeight:(0,ti.uK)(),n.setDefaultData(n.props.animation||{}),n.timeline&&n.timeline.resetDefaultStyle(),n.timeline=new R(n.dom,n.defaultTweenData),n.timeline.init(),n.scrollEventListener())},n.scrollEventListener=function(){var t=n.target?n.target.scrollTop:(0,ti.Xh)();n.clientHeight=n.target?n.target.clientHeight:(0,ti.uK)();var e=n.props.location?document.getElementById(n.props.location):n.dom;if(!e)throw Error('"location" is null');var r=n.target?n.target.getBoundingClientRect().top:0,a=e.getBoundingClientRect().top+t-r,o=t-a+n.clientHeight,i=n.scrollTop-a+n.clientHeight;n.defaultData.forEach(function(t,e){var r=n.defaultData.map(function(t,n){return n=t.delay+r?t.onStartBool||(t.onStartBool=!0,a=!0,t.onStart()):t.onStartBool=!1,o<=t.delay+t.duration+r?!t.onStartBackBool&&t.onCompleteBool&&(t.onStartBackBool=!0,a=!0,t.onStartBack()):t.onStartBackBool=!1,o>=t.delay+t.duration+r?t.onCompleteBool||(t.onCompleteBool=!0,a=!0,t.onComplete()):t.onCompleteBool=!1,o>=t.delay+r&&o<=t.delay+t.duration+r&&!a&&t.onUpdate(o/(t.delay+t.duration+r))}),q.clear(n.tickerId),n.tickerId="scrollParallax"+Date.now()+"-"+ts,++ts>=Number.MAX_VALUE&&(ts=0);var s=q.frame;q.wake(n.tickerId,function(){var t=(q.frame-s)*q.perFrame,e=h().easeOutQuad(t,.08,1,300);n.timeline.frame(i+e*(o-i)),t>=300&&q.clear(n.tickerId)}),n.scrollTop=t,n.defaultData[n.defaultData.length-1].onCompleteBool&&n.eventType&&!n.props.always&&to.Z.removeEventListener(n.eventType,n.scrollEventListener,n.target)},n.scrollTop=0,n.defaultTweenData=[],n.defaultData=[],n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self;return n&&t!==n&&!(0,ti.Xv)(n.animation,t.animation)&&(r.setDefaultData(t.animation||{}),r.timeline.resetAnimData(),r.timeline.setDefaultData(r.defaultTweenData)),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){this.dom=c.findDOMNode(this);var t=Date.now(),e=to.Z._listeners.scroll?to.Z._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.eventResize="resize.resizeEvent"+t+e,this.resizeEventListener(),to.Z.addEventListener(this.eventResize,this.resizeEventListener,this.target),this.timeline.frame(0),this.scrollEventListener(),to.Z.addEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"componentWillUnmount",value:function(){to.Z.removeEventListener(this.eventType,this.scrollEventListener,this.target),to.Z.removeEventListener(this.eventResize,this.resizeEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=(t.animation,t.always,t.component,t.location,t.targetId,t.componentProps),n=(0,r.default)(t,["animation","always","component","location","targetId","componentProps"]),o=(0,a.default)({},n.style);return Object.keys(o).forEach(function(t){if(t.indexOf("filter")>=0||t.indexOf("Filter")>=0)for(var e=["Webkit","Moz","Ms","ms"],n=0;n-1;)(f=u[p]).n===s&&f.c===e?u.splice(p,1):0===c&&(c=p+1);var d=n||this._eventTarget;u.splice(c,0,{c:e,n:s,t:i}),!this._listFun[l]&&(this._listFun[l]=this._listFun[l]||this.dispatchEvent.bind(this,{type:i,target:n}),d.addEventListener?d.addEventListener(i,this._listFun[l],r):d.attachEvent&&d.attachEvent("on"+i,this._listFun[l]))},removeEventListener:function(t,e,n,r){var o=t.split("."),i=o[0],s=o[1],l=""+i+(n?"_"+n.getAttribute(a):""),u=this._listeners[l],c=void 0,f=r;if(s||(f=!0),u){c=u.length;for(var p=n||this._eventTarget;--c>-1;)if(u[c].c===e&&(f||u[c].n===s)){if(u.splice(c,1),!u.length){var d=this._listFun[l];delete this._listeners[l],delete this._listFun[l],p.removeEventListener?p.removeEventListener(i,d):p.detachEvent&&p.detachEvent("on"+i,d)}if(!f)return}}},dispatchEvent:function(t,e){var n=t.type,r=t.target,o=""+n+(r?"_"+r.getAttribute(a):""),i=this._listeners[o],s=void 0,l=void 0,u=void 0;if(i){for(s=i.length,l=this._eventTarget;--s>-1;)if(u=i[s]){var c=e||{type:n,target:l};u.c.call(l,c)}}},removeAllType:function(t,e){var n=this,o=t.split("."),i=o[0],s=o[1],l=""+i+(e?"_"+e.getAttribute(a):""),u=this._listeners[l];this.recoverLists=this.recoverLists.concat((0,r.dataToArray)(u).filter(function(t){return t.n&&t.n.match(s)})),this.recoverLists.forEach(function(t){n.removeEventListener(t.t+"."+t.n,t.c,e)})},reAllType:function(t,e){var n=this,r=t.split("."),a=r[0],o=r[1];this.recoverLists=this.recoverLists.map(function(t){return t.t===a&&t.n.match(o)?(n.addEventListener(t.t+"."+t.n,t.c,e),null):t}).filter(function(t){return t})}},e.default=new o("undefined"!=typeof document&&window),t.exports=e.default},70053:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=h(n(61707)),a=h(n(61200)),o=h(n(82864)),i=h(n(73006)),s=h(n(97559)),l=h(n(71212)),u=h(n(50959)),c=h(n(10422)),f=h(n(40507)),p=h(n(57324)),d=n(78623);function h(t){return t&&t.__esModule?t:{default:t}}var m=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.getParam=function(t){n.clientHeight=n.target?n.target.clientHeight:(0,d.windowHeight)();var e=n.target?n.target.scrollTop:(0,d.currentScrollTop)(),r=n.dom.getBoundingClientRect(),a=n.target?n.target.getBoundingClientRect().top:0,o=r.top+e-a;n.elementShowHeight=e-o+n.clientHeight;var i=(0,d.transformArguments)(n.props.playScale),s=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[0]));s[2]?"px"===s[2]?n.playHeight=parseFloat(s[1]):n.playHeight=n.clientHeight*parseFloat(s[1])/100:n.playHeight=n.clientHeight*parseFloat(i[0]);var l=r.height,u=/([\+\-]?[0-9#\.]+)(px|vh|%)?/.exec(String(i[1]));u[2]?"px"===u[2]?n.leavePlayHeight=parseFloat(u[1]):n.leavePlayHeight=l*parseFloat(u[1])/100:n.leavePlayHeight=l*parseFloat(i[1]);var c=n.props.replay?n.elementShowHeight>=n.playHeight&&n.elementShowHeight<=n.clientHeight+n.leavePlayHeight:n.elementShowHeight>=n.playHeight,f=c?"enter":"leave",p=n.enter!==c||"boolean"!=typeof n.enter?f:null;p&&n.props.onChange({mode:p,id:n.props.id}),n.props.onScroll({domEvent:t,scrollTop:e,showHeight:n.elementShowHeight,offsetTop:o,id:n.props.id}),n.enter=c},n.addScrollEvent=function(){p.default.addEventListener(n.eventType,n.scrollEventListener,n.target),(0,d.currentScrollTop)()||n.scrollEventListener()},n.scrollEventListener=function(t){n.getParam(t)},n.state={$self:n},n}return(0,l.default)(e,t),(0,s.default)(e,null,[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.$self;return n&&t!==n&&r.scrollEventListener(),{prevProps:t}}}]),(0,s.default)(e,[{key:"componentDidMount",value:function(){if(!d.windowIsUndefined){this.dom=c.default.findDOMNode(this);var t=Date.now();this.target=this.props.targetId&&document.getElementById(this.props.targetId);var e=p.default._listeners.scroll?p.default._listeners.scroll.length:0;this.eventType="scroll.scrollEvent"+t+e,this.addScrollEvent()}}},{key:"componentWillUnmount",value:function(){p.default.removeEventListener(this.eventType,this.scrollEventListener,this.target)}},{key:"render",value:function(){var t=this.props,e=t.component,n=(t.playScale,t.location,t.targetId,t.onScroll,t.onChange,t.replay,t.componentProps),o=(0,a.default)(t,["component","playScale","location","targetId","onScroll","onChange","replay","componentProps"]);return u.default.createElement(e,(0,r.default)({},o,n))}}]),e}(u.default.Component);m.propTypes={component:f.default.any,playScale:f.default.any,id:f.default.string,onChange:f.default.func,onScroll:f.default.func,location:f.default.string,targetId:f.default.string,replay:f.default.bool,componentProps:f.default.object},m.defaultProps={component:"div",onChange:d.noop,onScroll:d.noop,playScale:.5,replay:!1,componentProps:{}},m.isScrollElement=!0,e.default=m,t.exports=e.default},76100:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=m(n(61707)),a=m(n(61200)),o=m(n(82864)),i=m(n(73006)),s=m(n(97559)),l=m(n(71212)),u=n(50959),c=m(u),f=m(n(40507)),p=m(n(57324)),d=m(n(70053)),h=n(78623);function m(t){return t&&t.__esModule?t:{default:t}}var v=function(t){function e(t){(0,o.default)(this,e);var n=(0,i.default)(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.scrollEventListener=function(t){n.getParam(t);var e=n.state.show,r=n.props,a=r.always,o=r.replay,i=n.elementShowHeight>n.clientHeight+n.leavePlayHeight;if(n.enter||!o&&i)e||n.setState({show:!0}),!a&&n.eventType&&p.default.removeEventListener(n.eventType,n.scrollEventListener,n.target);else if(a){var s=n.elementShowHeightObject.keys(n).length?e:n,o=Object.keys(e).length>Object.keys(n).length?n:e;Object.keys(a).forEach(function(e){r&&(e in o||(r=!1),"object"===(0,c.Z)(a[e])&&"object"===(0,c.Z)(o[e])?r=t(a[e],o[e]):"function"==typeof a[e]&&"function"==typeof o[e]?a[e].toString().replace(/\s+/g,"")!==o[e].toString().replace(/\s+/g,"")&&(r=!1):a[e]!==o[e]&&(r=!1))})};return Array.isArray(e)&&Array.isArray(n)?e.forEach(function(t,e){a(t,n[e])}):a(e,n),r}(m,Z.current)){var t,e=((t=P.current)||0===t?Array.isArray(t)?t:[t]:[]).map(function(t){return t instanceof Element||!(t instanceof i.Component)?t:(0,s.findDOMNode)(t)}).filter(function(t,e){return t instanceof Element?t:(console.warn("Warning: TweenOne tag[".concat(e,"] is not dom.")),!1)});if(N.current&&A&&N.current.kill(),O&&N.current){var n=d?j:(0,a.Z)((0,a.Z)({},j),C.props.style),r=Object.keys(n).map(function(t){return"".concat((0,u.Rs)(t),":").concat((0,u.YJ)(t,n[t]))}).join(";");e.forEach(function(t){t.setAttribute("style",r),delete t._tweenOneVars})}N.current=m&&(0,l.ZP)(e,{animation:m,attr:v,yoyo:T,moment:S,repeat:b,reverse:g,paused:y,repeatDelay:w,onChange:k,onChangeTimeline:E}),Z.current=m}},[m]),(0,i.useEffect)(function(){return function(){N.current&&N.current.kill&&N.current.kill()}},[]);var R=function(t){P.current=t,e&&"current"in e?e.current=t:"function"==typeof e&&e(t)};if(!d&&C&&"string"!=typeof C&&"boolean"!=typeof C&&"number"!=typeof C){var I=C.props||{},U=I.style,X=I.className,V=void 0===X?"":X,B=(0,a.Z)((0,a.Z)({},U),j),H=D?"".concat(D," ").concat(V).trim():V;return i.cloneElement(C,{style:B,ref:R,className:(0,r.Z)(new Set(H.split(/\s+/))).join(" ").trim()||void 0})}return d?(0,i.createElement)(d,(0,a.Z)((0,a.Z)({ref:R},_),h)):(console.warn("Warning: component is null, children must be ReactElement."),C)});d.isTweenOne=!0,d.displayName="TweenOne";var h=d},90750:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var r=n(26407),a=n(12309),o=n(76729),i=n(10582),s=n(50959);function l(t){var e=[];return s.Children.forEach(t,function(t){e.push(t)}),e}function u(t,e){var n=null;return t&&t.forEach(function(t){!n&&t&&t.key===e&&(n=t)}),n}function c(t,e,n){return"function"==typeof t?t({key:e,index:n}):t}var f=n(33643),p=n(23175),d=["component","componentProps","leave","enter","appear","resetStyle","animatingClassName","onEnd","exclusive"],h=s.forwardRef(function(t,e){var n=t.component,h=void 0===n?"div":n,m=t.componentProps,v=void 0===m?{}:m,y=t.leave,g=void 0===y?{x:-50,opacity:0}:y,b=t.enter,w=void 0===b?{x:50,opacity:0,type:"from"}:b,T=t.appear,S=void 0===T||T,k=t.resetStyle,E=void 0===k||k,O=t.animatingClassName,x=void 0===O?["tween-one-entering","tween-one-leaving"]:O,A=t.onEnd,_=void 0===A?function(){}:A,M=t.exclusive,C=void 0!==M&&M,D=(0,i.Z)(t,d),F=(0,s.useRef)([]),j=(0,s.useRef)([]),P=(0,s.useRef)({}),Z=(0,s.useRef)(!1),N=(0,s.useRef)([]),L=(0,s.useRef)({}),R=l(t&&t.children),I=(0,s.useRef)(R),U=(0,s.useState)(R),X=(0,o.Z)(U,2),V=X[0],B=X[1],H=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.key;return P.current[n]=s.createElement(p.Z,(0,a.Z)((0,a.Z)({},e),{},{key:n,component:null}),t),P.current[n]},Y=function(t,e){var n=t.replace(x[e?1:0],"").trim();return -1===n.indexOf(x[e?0:1])&&(n="".concat(n," ").concat(x[e?0:1]).trim()),n},z=function(t,e){var n,r,a,o,i=(n=[],r={},a=[],o=null,e.forEach(function(e){e&&(e.key&&u(t,e.key)?(a.length&&(r[e.key]=a,a=[]),o=e.key):e.key&&a.push(e))}),o||(n=n.concat(a)),t.forEach(function(t){t&&(t.key&&r.hasOwnProperty(t.key)&&(n=n.concat(r[t.key])),n.push(t),t.key===o&&(n=n.concat(a)))}),n);return F.current=[],j.current=[],t.forEach(function(t){if(t){var n=t.key,r=u(e,n);n&&P.current[n]&&(P.current[n]=s.cloneElement(P.current[n],{},t)),!r&&n&&F.current.push(n)}}),e.forEach(function(e){if(e){var n=e.key;!u(t,n)&&n&&(j.current.push(n),delete P.current[n])}}),i},W=function(){!Object.keys(L.current).length&&N.current.length&&(B(z(N.current[N.current.length-1],I.current)),N.current=[])},q=function(t,e,n){var a=n.targets,o="object"===(0,r.Z)(a.className)&&"baseVal"in a.className,i="enter"===e||"appear"===e;if(t&&"onTimelineComplete"===n.mode){if(delete L.current[t],o?a.className.baseVal=a.className.baseVal.replace(x[i?0:1],"").trim():a.className=a.className.replace(x[i?0:1],"").trim(),i)F.current.splice(F.current.indexOf(t),1),F.current.length||W();else if("leave"===e&&(j.current.splice(j.current.indexOf(t),1),I.current=I.current.filter(function(e){return t!==e.key}),!j.current.length)){var s=I.current.map(function(t){return t.key});Object.keys(P.current).forEach(function(t){-1===s.indexOf(t)&&delete P.current[t]}),B(I.current)}_({key:t,type:e,target:n.targets})}},G=function(t,e,n){var r="leave"===n?g:w;"appear"===n&&(r=c(S,t.key,e)&&w||null);var a=c(r,t.key,e),o="appear"!==n||S?Y(t.props.className||"","enter"===n||"appear"===n)||void 0:t.props.className,i={key:t.key,animation:a,onChangeTimeline:function(e){q(t.key,n,e)},resetStyle:E,className:o};return(t.key&&F.current.concat(j.current).indexOf(t.key)>=0||!Z.current&&r)&&t.key&&!P.current[t.key]&&(L.current[t.key]=n),H(t,i)};(0,f.L)(function(){if(Z.current){var e=l(t.children).filter(function(t){return t}),n=l(I.current);Object.keys(L.current).length&&!C?N.current.push(e):B(z(e,n))}},[t.children]),(0,f.L)(function(){W()}),(0,s.useEffect)(function(){Z.current=!0},[]),I.current=V;var Q=V.map(function(t,e){if(!t||!t.key)return t;var n=t.key;return j.current.indexOf(n)>=0?G(t,j.current.indexOf(n),"leave"):(F.current.indexOf(n)>=0||L.current[n]&&-1===j.current.indexOf(n))&&!("enter"===L.current[n]&&P.current[n])?G(t,F.current.indexOf(n),"enter"):Z.current?P.current[n]:G(t,e,"appear")});return f.Q?h?(0,s.createElement)(h,(0,a.Z)((0,a.Z)((0,a.Z)({},D),v),{},{ref:e}),t.children):s.createElement(s.Fragment,null,t.children):h?(0,s.createElement)(h,(0,a.Z)((0,a.Z)((0,a.Z)({},D),v),{},{ref:e}),Q):Q[0]?(0,s.cloneElement)(Q[0],{ref:e}):null});h.displayName="TweenOneGroup",h.isTweenOneGroup=!0;var m=h},15193:function(t,e,n){"use strict";var r=n(15425),a=n(9905),o=n(15115),i=n(23175);i.Z.plugins=r.Z,i.Z.ticker=a.Z,i.Z.easing=o.Z,e.ZP=i.Z},33643:function(t,e,n){"use strict";n.d(e,{L:function(){return o},Q:function(){return a}});var r=n(50959),a=!window.document||!window.document.createElement,o=a?r.useEffect:r.useLayoutEffect},15115:function(t,e,n){"use strict";var r=n(96839),a=n.n(r),o=n(75050);a().path=function(t,e){var n=e||{};if(o.Q6)return"linear";for(var r=(0,o.cP)(t),i=r.getTotalLength(),s=n.rect||100,l=n.lengthPixel||200,u=[],c=0;c=c})[0]||r.getPointAtLength(l*i)).y/s}},e.Z=a()},9905:function(t,e,n){"use strict";var r=n(9130),a=n(82349),o=n(19616),i=n.n(o),s=n(75050),l=new(function(){function t(){var e=this;(0,r.Z)(this,t),this.lagThreshold=150,this.adjustedLag=33,this.emptyTime=0,this.elapsed=0,this.frameFPS=1e3/240,this.startTime=0,this.prevTime=0,this.useTimeout=!1,this.lastUpdate=this.startTime,this.nextTime=this.frameFPS,this.req=void 0,this.id=-1,this.tweenId=0,this.tickFn=[],this.state="sleep",this.time=0,this.frame=0,this.removeReq=function(t){return e.useTimeout?clearTimeout(t):(0,o.cancel)(t)},this.tick=function(){var t=e.tickFn;e.startTime||(e.startTime=(0,s.hK)()-e.frameFPS,e.lastUpdate=e.startTime),e.elapsed=(0,s.hK)()-e.lastUpdate,e.elapsed>e.lagThreshold&&(e.startTime+=e.elapsed-e.adjustedLag),e.lastUpdate+=e.elapsed,e.time=e.lastUpdate-e.startTime;var n=e.time-e.nextTime;if(n>0){e.frame++,e.nextTime+=n+(n>=e.frameFPS?4:e.frameFPS-n);for(var r=e.time-e.prevTime,a=0;a=e.emptyTime)){e.emptyTime=0,e.sleep();return}e.req&&(e.id=e.req(e.tick))},this.wake=function(){e.id&&e.sleep(),e.req=e.useTimeout?function(t){return setTimeout(t,e.frameFPS)}:i(),e.tick(),e.state="wake"},this.sleep=function(){e.removeReq(e.id),e.id=-1,e.req=void 0,e.state="sleep"},this.add=function(t){var n="TweenOneTicker_".concat(e.tweenId);return e.tweenId+=1,-1===e.tickFn.findIndex(function(t){return t.key===n})&&e.tickFn.push({key:n,fn:t}),e.emptyTime=0,e.req||e.wake(),n},this.clear=function(t){e.tickFn=e.tickFn.filter(function(e){return e.key!==t&&e.fn!==t})},this.timeout=function(t,n){if("function"!=typeof t)return console.warn("not function");var r=e.time,a=e.add(function(){e.time-r>=(n||0)&&(e.clear(a),t())});return a},this.interval=function(t,n){if("function"!=typeof t)return console.warn("not function"),null;var r=e.time;return e.add(function(){e.time-r>=(n||0)&&(r=e.time,t())})}}return(0,a.Z)(t,[{key:"fps",value:function(t,e){this.frameFPS=1e3/(t||240),this.nextTime=this.time+this.frameFPS,this.useTimeout=void 0===e?this.useTimeout:e,this.useTimeout&&(this.req=function(e){return setTimeout(e,t)})}}]),t}());e.Z=l},91772:function(t,e,n){"use strict";n.d(e,{ZP:function(){return P}});var r=n(26407),a=n(4860),o=n.n(a),i=n(1017),s=n(9130),l=n(82349),u=n(15425),c=n(12309),f=n(9159),p=n(75050),d=(0,l.Z)(function t(e){var n=this;(0,s.Z)(this,t),this.props=void 0,this.computedStyle=void 0,this.root=void 0,this.index=void 0,this.targetIndex=void 0,this.tweenVars={},this.transformName=void 0,this.filterName=void 0,this.target=void 0,this.start={},this.startAt={},this.propsData={data:{},type:{},unit:{},count:{},splitStr:{},isTransform:{}},this.setDefaultData=function(){var t=n.props;for(var e in t){var r=t[e],a=r.split&&r.split(/\s+|,/).length>1||e.match(/color|fill|stroke/i)||e.match(/shadow/i);if(("background"===e||"backgroundImage"===e)&&r.match(/[a-z|-]+\(([\s\S]*?)\)/gi)){n.propsData.data[e]={value:r,plugin:u.Z.GradientsPlugin};continue}if(a){n.propsData.data[e]={value:r,plugin:u.Z.ArrayPlugin};continue}var o=(0,f.Lo)(e),i=n.getTweenData(o,t[e]);n.propsData.data[o]=i.data[o],n.propsData.type[o]=i.type[o],n.propsData.unit[o]=i.unit[o],n.propsData.count[o]=i.count[o],n.propsData.isTransform[o]="transform"===(0,f.dt)(o),i.splitStr[o]&&(n.propsData.splitStr[o]=i.splitStr[o])}},this.getTweenData=function(t,e){var n={data:{},isTransform:{},type:{},unit:{},count:{},splitStr:{}};n.data[t]=e;var r="string"==typeof n.data[t];n.unit[t]=r?n.data[t].replace(/[^a-z|%]/g,""):"",n.count[t]=r?n.data[t].replace(/[^+|=|-]/g,""):"";var a=r?parseFloat(n.data[t].replace(/[a-z|%|=]/g,"")):n.data[t];return n.data[t]=a||0===a?a:n.data[t],n},this.setStartAtValue=function(t,e){return"object"===(0,r.Z)(e)?(0,p.kp)(t,e):t},this.getAnimStart=function(){var t=n.target,e=n.root,a=n.targetIndex,o=n.propsData,i=n.startAt,s=n.start,l=n.tweenVars,u={};for(var d in i)u[(0,f.Lo)(d)]=i[d];for(var h in n.computedStyle=n.computedStyle||(0,p.Dx)(t),l.style=l.style||{},o.data){var m=o.data[h];if(m.plugin){var v=new m.plugin(m.value,h);v.target=t,v.root=e,v.parent=parent,v.index=n.index,v.targetIndex=a,v.tweenVars=l,v.startAt=n.startAt,v.computedStyle=n.computedStyle,m.plugin=v,s[h]=v.getAnimStart();continue}var y=(0,f.dt)(h),g="transform"===y?n.transformName:y;g="filter"===y?n.filterName:g;var b=l.style[g],w=null!=b?b:n.computedStyle[y],T=null!==(x=u[h])&&void 0!==x?x:w,S=o.unit[h],k="";if("transform"===y){var E,O,x,A,_,M=(E=E||(T===b?(0,c.Z)({},b):(0,f.Ck)(n.computedStyle[n.transformName])))[h];u&&h in u&&(M=n.setStartAtValue(null!==(A=null!==(_=u[h].vars)&&void 0!==_?_:null==b?void 0:b[h])&&void 0!==A?A:M,u[h]),k=u[h].unit,"scale"===h?(E.scaleX=M,E.scaleY=M):E[h]=M),k!==S&&(M=(0,p.o7)({target:t,computedStyle:n.computedStyle,style:y,value:M,startUnit:k,endUnit:S}),"scale"===h?(E.scaleX=M,E.scaleY=M):E[h]=M),s[n.transformName]=E}else if("filter"===y){var C,D,F=f._T.filterConvert[h]||h;(O=O||(T===b?(0,c.Z)({},b):(0,f.GX)(w)||{}))[F]=O[F]||p.eL[F];var j=O[F];u&&h in u&&(j=n.setStartAtValue(null!==(C=u[h].vars)&&void 0!==C?C:j,u[h]),k=u[h].unit,O[F]=j),S!==k&&(O[F]=(0,p.o7)({target:t,computedStyle:n.computedStyle,style:y,value:j,startUnit:k,endUnit:S,fixed:(null===(D=n.computedStyle)||void 0===D?void 0:D.position)==="fixed"})),s[n.filterName]=O}else{(T=null!==(P=u[h])&&void 0!==P?P:w)&&"none"!==T&&"auto"!==T||(T=""),S=o.unit[y],k="object"===(0,r.Z)(T)?T.unit:"".concat(T).replace(/[^a-z|%]/g,""),T=n.setStartAtValue(w,u[h]),S!==k&&(T=(0,p.o7)({target:t,computedStyle:n.computedStyle,style:y,value:parseFloat(T),startUnit:k,endUnit:S,fixed:(null===(Z=n.computedStyle)||void 0===Z?void 0:Z.position)==="fixed"}));var P,Z,N=parseFloat(T);s[y]=isNaN(N)?(0,p.AG)(y):N}}return s},this.render=function(t){var e=n.propsData,r=n.start,a=n.tweenVars.style||{};r[n.transformName]&&!a[n.transformName]&&(a[n.transformName]=(0,c.Z)({},r[n.transformName])),r[n.filterName]&&!a[n.filterName]&&(a[n.filterName]=(0,c.Z)({},r[n.filterName]));var o=a[n.transformName],i=a[n.filterName],s=e.data,l=e.unit,u=e.count,d=e.isTransform;for(var h in s){var m=s[h];if(m.plugin){a[h]=m.plugin.render(t);continue}var v=d[h],y=v?r[n.transformName][h]:r[h],g=l[h],b=u[h];if(v){if("scale"===h){var w=r[n.transformName].scaleX,T=r[n.transformName].scaleY;"="===b.charAt(1)?(o.scaleX=w+m*t,o.scaleY=T+m*t):(o.scaleX=(m-w)*t+w,o.scaleY=(m-T)*t+T)}else o[h]=(0,p.NA)(parseFloat(y),m,t,b,g);o.text=(0,p.q$)(a[n.transformName])}else if(f._T.filter.indexOf(h)>=0){var S=f._T.filterConvert[h]||h;for(var k in y=parseFloat(r[n.filterName][S])||0,i[S]=(0,p.NA)(y,m,t,b,g),i.text="",i)"text"!==k&&(i.text="".concat(i.text," ").concat(k,"(").concat(i[k],")").trim())}else{var E=(0,f.YJ)(h,0);E="number"==typeof E?0:E.replace(/[^a-z|%]/g,""),g=g||E,"string"==typeof m?a[h]=m:a[h]=(0,p.NA)(y,m,t,b,g)}}return a},this.props=e,this.transformName=(0,f.Yf)("transform"),this.filterName=(0,f.Yf)("filter")||"filter",this.setDefaultData()});d.key="style",d.className="style";var h=n(1874),m=n(23248),v=n(53264),y=n(18295),g=(0,l.Z)(function t(e,n){(0,s.Z)(this,t),this.value=void 0,this.key=void 0,this.root=void 0,this.index=void 0,this.style={},this.start={},this.startAt={},this.target=void 0,this.value=e,this.key=n});g.className=void 0,g.key=void 0;var b=function(t){(0,v.Z)(n,t);var e=(0,y.Z)(n);function n(t,r){(0,s.Z)(this,n),(a=e.call(this,t,r)).value=void 0,a.key=void 0,a.start=[],a.tweenVars={},a.vars={},a.computedStyle=void 0,a.propsData={data:[],unit:[],count:[]},a.setDefaultData=function(t,e){var n,r=(0,m.Z)(a),o=r.propsData,i=r.value,s=(0,h.Z)(i);"color"===t&&(s[3]=null!==(n=s[3])&&void 0!==n?n:1),o.type=t,o.data=s.map(function(t){return parseFloat(t)||0===parseFloat(t)?parseFloat(t):t}),o.unit=s.map(function(t){return t.toString().replace(/[^a-z|%]/g,"")}),o.count=s.map(function(t){return t.toString().replace(/[^+|=|-]/g,"")}),e&&(o.splitStr=e)},a.convertToMarksArray=function(t,e,n,r){var o=(n||"").toString().replace(/[^a-z|%]/g,""),i="number"==typeof r?t[r]:void 0;return o===i?parseFloat(n):parseFloat(n)||0===parseFloat(n)?(0,p.o7)({target:a.target,computedStyle:a.computedStyle,style:e,value:n,startUnit:o,endUnit:i,isOriginWidth:"transformOrigin"===e&&!r}):n},a.getAnimStart=function(){var t,e,n,r,o,i,s,l,u,c=(0,m.Z)(a),d=c.startAt,h=c.target,v=c.key,y=c.propsData,g=c.computedStyle,b=c.tweenVars,w=null!==(t=null!==(e=null!==(n=null==d?void 0:d[v])&&void 0!==n?n:g?null===(r=b.style)||void 0===r?void 0:r[v]:b[v])&&void 0!==e?e:(g||h)[v])&&void 0!==t?t:"",T=y.data.indexOf("inset");-1===T||w.match("inset")||"shadow"!==y.type||(o=w,w=""),w&&"none"!==w&&"auto"!==w||(w=""),w="shadow"===y.type?(0,f.hy)(w,v):w,w="color"===y.type?(0,f.lu)(w):w,w="string"===y.type?w.split(/[\s|,]/):w,p.Fi[v]&&(w[1]=null!==(i=w[1])&&void 0!==i?i:w[0],w[2]=null!==(s=w[2])&&void 0!==s?s:w[0],w[3]=null!==(l=null!==(u=w[3])&&void 0!==u?u:w[1])&&void 0!==l?l:w[0]);var S=y.unit,k=w.map(function(t,e){return"NaN"===parseFloat(t).toString()?t:a.convertToMarksArray(S,v,t,e)});return a.start=k.concat(T>=0?"inset":[]),a.start.oldShadow=o,a.start},a.render=function(t){var e=(0,m.Z)(a),n=e.start,r=e.propsData,o=r.type,i=r.splitStr,s=r.data,l=r.count,u=r.unit,c=s.map(function(e,r){return"string"==typeof e?e:(0,p.NA)(n[r],e,t,l[r],u[r])});switch(o){case"string":c=c.join(i);break;case"color":c=(0,f.Lq)(c);break;case"shadow":var d=c.indexOf("inset")>=0,h=d?c.filter(function(t){return"inset"!==t}):c,v=h.slice(0,h.length-4).map(function(t){return"number"==typeof t?"".concat(t,"px"):t}),y=(0,f.Lq)(h.slice(h.length-4,h.length));c="".concat(n.oldShadow?"".concat(n.oldShadow,","):"").concat(v.join(" ")," ").concat(y," ").concat(d?"inset":"").trim()}return c},a.value=t,a.key=r;var a,o="",i="";return"string"==typeof t&&(r.match(p.gU)?(a.value=(0,f.hy)(t,r),o="shadow"):r.match(/color|fill|stroke/i)||t.match(p.rV)?(a.value=(0,f.lu)(t),o="color"):(i=t.replace(/[^\s|,]/g,"").replace(/\s+/g," "),a.value=t.split(/[\s|,]/),o="string")),a.setDefaultData(o,i),a}return(0,l.Z)(n)}(g);b.className="ArrayPlugin";var w={linear:{"to top":"0deg","to top right":"45deg","to right top":"45deg","to right":"90deg","to right bottom":"135deg","to bottom right":"135deg","to bottom":"180deg","to bottom left":"225deg","to left bottom":"225deg","to left":"270deg","to left top":"315deg","to top left":"315deg"},radial:{center:"50% 50%",top:"50% 0%","top right":"100% 0%","right top":"100% 0%",right:"100% 50%","right bottom":"100% 100%","bottom right":"100% 100%",bottom:"50% 100%","bottom left":"0% 100%","left bottom":"0% 100%",left:"0% 50%","left top":"0% 0%","top left":"0% 0%"}},T=["closest-side","closest-corner","farthest-side","farthest-corner"],S=function(t,e,n){console.warn("Warning: The gradient ".concat(t,"(").concat(e," => ").concat(n,") is different, which has been automatically converted to animation gradient ").concat(t,"(").concat(n,")."))},k=function(t){return"url"===t||t.indexOf("image")>=0||"paint"===t||"cross-fade"===t||"element"===t},E=function(t){(0,v.Z)(n,t);var e=(0,y.Z)(n);function n(t){var r;return(0,s.Z)(this,n),(r=e.call(this,t,"backgroundImage")).value=void 0,r.tweenVars={},r.vars=[],r.computedStyle=void 0,r.defaultStartVars=[],r.getPosition=function(t){return t.map(function(t){return{data:parseFloat(t),unit:t.replace(/[^a-z|%]/g,"")}})},r.getAngle=function(t,e){var n,a,o,i;switch(t.replace(/-|gradient|repeating]/g,"")){case"linear":o=r.getPosition((w.linear[e]||e||w.linear["to bottom"]).split(" "));break;case"radial":var s=e.split(" ");n=s.find(function(t){return T.indexOf(t)>=0})||T[3],a=s.find(function(t){return"circle"===t||"ellipse"===t})||"ellipse";var l=RegExp("".concat(n,"|").concat(a,"|at"),"g"),u=e.replace(l,"").trim();i=r.getPosition((w.radial[u]||u||w.radial.center).split(" "));break;case"conic":var c=e.split("at").map(function(t){return t.trim()}),f=(c[0]||"").split(" ");a=f[0]||"from",o=r.getPosition([f[1]||"0deg"]),i=r.getPosition((w.radial[c[1]]||c[1]||w.radial.center).split(" "))}return{extent:n,shape:a,angle:o,position:i}},r.valueToIValue=function(t){return t?t.replace(/\),\s+?(url|radial|conic|linear|repeating|image|element|cross|paint)/,")#,#$1").split("#,#").map(function(t){var e=t.replace(/([a-z|-]+)\((.*)\)/,"$1").trim();if("url"===e)return{type:e,values:t};var n=t.replace(/([a-z|-]+)\((.*)\)/,"$2").replace(/#([0-9a-f]{6}|[0-9a-f]{3})|(rgb[a]?|hsl)+\(\d+\,[\s+]?\d+[\%]?\,[\s+]?\d+[\%]?(\,\d+)?\)/gi,function(t){return t.replace(/\s+/g,"")}).replace(/\,([a-z|#|\s+])/g,"#,#$1").split("#,#").map(function(t){return t.trim()}),a=n[0].match(p.rV)?"":n[0];a&&n.splice(0,1);var o=r.getAngle(e,a);return{type:e,angle:o,values:n.map(function(t){var e,n=t.trim().split(/\s+/),r=(n[0].match(p.rV),n[0]);return r&&(n.splice(0,1),e=(0,f.lu)(r)),{color:e,positions:n.map(function(t){return{data:parseFloat(t),unit:t.toString().replace(/[^a-z|%]/g,"")}})}})}}):[]},r.getAnimStart=function(){var t,e=(0,m.Z)(r),n=e.startAt,a=e.key,o=e.computedStyle,i=e.target,s=e.vars,l=e.tweenVars,u=(0,c.Z)({},n),f=null!==(t=l[a])&&void 0!==t?t:(o||i)[a];f&&"none"!==f&&"auto"!==f||(f=""),u[a]=u[a]||f,u[a]=u[a]?r.valueToIValue(u[a]):r.defaultStartVars;var p=(Math.max(s.length,u[a].length)===u[a].length?u[a]:s).map(function(t,e){var n,o,i,l,f=u[a][e]||r.defaultStartVars[e],p=s[e]||f;if(f&&f.type===p.type||(f.type!==p.type&&S("type",f.type,p.type),f=r.defaultStartVars[e]),k(p.type)||"string"==typeof p.values||"string"==typeof f.values)return(0,c.Z)({},p);(null===(n=p.angle)||void 0===n?void 0:n.extent)!==(null===(o=f.angle)||void 0===o?void 0:o.extent)&&S("extent keyword",null===(i=f.angle)||void 0===i?void 0:i.extent,null===(l=p.angle)||void 0===l?void 0:l.extent);var d=Math.max(f.values.length,p.values.length)===f.values.length?f.values:p.values;return f.values=d.map(function(t,e){var n=f.values[e],r=p.values[e]||n;return(0,c.Z)((0,c.Z)({},n),{},{positions:(r||n).positions.map(function(t,a){var o=n?n.positions[a]||n.positions[n.positions.length-1]:r.positions[r.positions.length-1],i=t||o;return!o&&n&&f.values.length&&(o={data:100/(f.values.length-1)*e,unit:"%"}),i.unit!==o.unit&&S("units",o.unit,i.unit),{data:o.data,unit:i.unit}})})}),f});return r.start=p,r.start},r.render=function(t){var e="";return(Math.max(r.vars.length,r.start.length)===r.vars.length?r.vars:r.start).forEach(function(n,a){var o=r.start[a],i=r.vars[a]||o;if(k(i.type)||"string"==typeof i.values||!i.angle){e+="".concat(e?",":""," ").concat(i.values).trim();return}var s=(Math.max(o.values.length,i.values.length)===o.values.length?o.values:i.values).map(function(e,n){var r=o.values[n],a=i.values[n];a||(a=r);var s=r.color,l=r.positions;!s&&a.color&&(s=(0,h.Z)(a.color)),l||(l=a.positions.map(function(t){return(0,c.Z)({},t)}));var u=a.color?a.color.map(function(e,n){return(0,p.NA)(s[n],e,t)}):a.color,d=a.positions.map(function(e,n){return"".concat((0,p.NA)(l[n].data,e.data,t)).concat(e.unit)}).join(" ");return"".concat(u?(0,f.Lq)(u):u||""," ").concat(d).trim()}),l=i.angle,u=l.angle&&l.angle.map(function(e,n){return"".concat((0,p.NA)(o.angle.angle[n].data,e.data,t)).concat(e.unit)}).join(" "),d=l.position&&l.position.map(function(e,n){return"".concat((0,p.NA)(o.angle.position[n].data,e.data,t)).concat(e.unit)}).join(" "),m="".concat(l.extent||""," ").concat(l.shape||""," ").concat(u||""," ").concat(d?"at ".concat(d):"").trim();e+="".concat(e?",":""," ").concat(i.type,"(").concat(m?"".concat(m,","):"").concat(s.join(","),")").trim()}),e},r.value=t,r.vars=r.valueToIValue(t),r.defaultStartVars=r.vars.map(function(t){return k(t.type)||"string"==typeof t.values?(0,c.Z)({},t):(0,c.Z)((0,c.Z)({},t),{},{values:t.values.map(function(t){var e;return t.color&&"string"!=typeof t.color?(e=(0,h.Z)(t.color))[3]=0:e=t.color,{color:e,positions:(0,h.Z)(t.positions)}})})}),r}return(0,l.Z)(n)}(g);E.className="GradientsPlugin";var O=n(9905),x=function(){function t(){var e=this;(0,s.Z)(this,t),this.children=[],this.autoSleep=200,this.tickerKey=void 0,this.startTime=void 0,this.addChild=function(t){-1===e.children.indexOf(t)?(e.children.push(t),e.updateTickerState()):e.start()},this.removeChild=function(t){e.children=e.children.filter(function(e){return e!==t}),e.updateTickerState()},this.kill=function(t){e.children=e.children.filter(function(e){var n=e.root.targets.map(function(e,n){if(-1===t.indexOf(e))return e;delete e._tweenOneVars});e.root.targets=n;var r=!!n.filter(function(t){return t}).length;return r||e.kill(),r}),e.updateTickerState()},this.killAll=function(t){t&&(e.children.forEach(function(t){null==t||t.root.targets.forEach(function(t){t&&delete t._tweenOneVars})}),e.children=[]),O.Z.clear(e.tickerKey),e.tickerKey=void 0},this.getTotalTime=function(){for(var t=0,n=0;n0)})?e.start():e.killAll(!e.children.length)},this.start=function(){e.tickerKey||(e.tickerKey=O.Z.add(e.render))},this.render=function(t){for(var n=t.time,r=t.elapsed,a=void 0===r?0:r,o=e.children,i=o.length,s=0;su&&n1)&&!(t in u.Z);return t in u.Z||r?n?e:{value:e,plugins:[],array:r}:{vars:parseFloat(e.toString().replace(/=/g,"")),unit:e.toString().replace(/[^a-z|%]/g,""),count:"="===e.toString().charAt(1)?e.toString().replace(/[^\+\=|\-\=]/gi,""):""}},this.setEase=function(t){if("function"==typeof t){n.easing=t;return}if(t.match(/,/g)){n.easing=A.Z.path(t);return}n.easing=A.Z[t]},this.getTotalTime=function(){var t=n.props,e=t.duration,r=t.delay,a=t.repeat,o=void 0===a?0:a,i=t.repeatDelay;return -1===o?Number.MAX_VALUE:(void 0===r?0:r)+(void 0===e?450:e)*(o+1)+(void 0===i?0:i)*o},this.getEaseToRatio=function(t,e){var r=n.props.ease,a=void 0===r?"":r;return 0!==t&&1!==t||"function"==typeof a||a.match(/,/g)?n.easing(e?1-t:t,e?1:0,e?0:1,1):t},this.setRatioToVars=function(t){for(var e=n.vars,r=n.root,a=0;ar?r:e},this.render=function(t){var e=t.moment,r=t.fps,a=void 0===r?0:r,o=t.silence,i=t.render,s=n.parent,l=n.root,u=n.props,c=(0,p.Bn)(l.targets),f=s.onChange,d=u.repeat,h=void 0===d?0:d,m=u.type,v=u.duration,y=void 0===v?450:v,g=u.delay,b=void 0===g?0:g,w=u.repeatDelay,T=void 0===w?0:w,S=u.yoyo,k=e-b,E=Math.floor(k/(y+T))||0;k-=(y+T)*(E=(E=E>(h=-1===h?Number.MAX_VALUE:h)?h:E)<0?0:E);var O=!!(S&&E%2),x="from"===(void 0===m?"to":m),A=(!O||!x)&&(O||x);k=A?y-k:k;var _=x?0:b,M=A?1:0;if(!n.register&&e>=_&&(n.onRegisterAnimate(),(A&&k<=0||!A&&k>=y&&y)&&(n.prevMoment=e,M=A?0:1),n.setRatioToVars(M),f({index:n.index,vars:l.vars})),n.register&&e>b-a&&e=n.totalTime&&"onComplete"!==n.mode&&void 0!==n.prevMoment||void 0===n.prevMoment&&e>=n.totalTime&&y?(M=A?0:1,n.mode="onComplete",n.props.onComplete&&n.props.onComplete({mode:n.mode,index:n.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})):void 0===n.prevMoment||e<=0&&e>-a&&"onStart"!==n.mode&&n.prevMoment>e?(n.mode="onStart",n.props.onStart&&n.props.onStart({mode:n.mode,index:n.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})):(M=k&&y?k/y:0,n.mode="onUpdate",n.props.onUpdate&&n.props.onUpdate({mode:n.mode,index:n.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(l.vars)})),h&&E!==n.repeatNum&&e&&"onUpdate"===n.mode&&(n.mode="onRepeat",n.props.onRepeat&&n.props.onRepeat({mode:n.mode,index:n.index,moment:k,ratio:M,targets:c,vars:(0,p.Bn)(n.root.vars)})),n.setRatioToVars(n.getEaseToRatio(M,x)),h&&(n.repeatNum=E);var C={mode:n.mode,moment:k,repeat:E,ratio:M,targets:l.targets,vars:l.vars,index:n.index};o&&(C.silence=o),i&&(C.render=i),f(C),n.prevMoment=e}},this.item=e,this.startAt=(0,c.Z)({},e.startAt),Object.keys(this.startAt).forEach(function(t){n.startAt[t]=n.changeValueToVars(t,n.startAt[t],!0)});var a={};for(var o in e){var i=e[o];o in p.$e?a[o]=i:this.vars[o]=this.changeValueToVars(o,i)}this.props=(0,c.Z)((0,c.Z)({},p.$e),a),this.setEase(this.props.ease)}return(0,l.Z)(t,[{key:"totalTime",get:function(){return this.getTotalTime()}}]),t}(),M=(0,l.Z)(function t(e){var n=this;(0,s.Z)(this,t),this.props=void 0,this.id=void 0,this.children=[],this.totalTime=0,this.totalTimeRegion=0,this.childTotalTime=0,this.childRegionTotalTime=0,this.prevMoment=void 0,this.progressTime=0,this.progressMoment=-1,this.startMoment=0,this.startTime=0,this.repeatNum=0,this.mode="onTimelineStart",this.pausedState=void 0,this.reverseState=void 0,this.root=void 0,this.parent=void 0,this.regionStartTime=0,this.regionEndTime=void 0,this.onChangeChild=void 0,this.onChangeTimeline=void 0,this.init=function(){for(var t=n.props,e=t.reverse,r=t.animation,a=t.moment,o=(0,p.Zk)(r),i=0;in.childTotalTime&&(n.childTotalTime=r,n.childRegionTotalTime=r)}else n.childTotalTime+=e.totalTime,n.childRegionTotalTime+=e.totalTime}n.regionStartTime&&(n.childRegionTotalTime-=n.regionStartTime),n.regionEndTime&&(n.childRegionTotalTime=n.regionEndTime-n.regionStartTime);var a=n.props,o=a.repeat,i=void 0===o?0:o,s=a.repeatDelay,l=void 0===s?0:s,u=a.delay;n.totalTime=-1===i?Number.MAX_VALUE:u+n.childTotalTime*(i+1)+l*i,n.totalTimeRegion=-1===i?Number.MAX_VALUE:u+n.childRegionTotalTime*(i+1)+l*i},this.setStartTimeOrMoment=function(t){n.startTime=O.Z.time,n.startMoment=t||n.progressMoment},this.reRenderCall=function(){n.render({time:n.startTime,elapsed:O.Z.elapsed||O.Z.frameFPS})},this.play=function(t){var e,r;t?null===(r=n.parent)||void 0===r||r.updateTickerState():null===(e=n.parent)||void 0===e||e.addChild(n)},this.paused=function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];n.pausedState=t,n.setStartTimeOrMoment(),n.play(t)},this.reverse=function(t){n.reverseState=t,n.setStartTimeOrMoment(),n.play(n.pausedState)},this.goto=function(t,e){var r=t-n.regionStartTime;n.startTime=O.Z.time,n.startMoment=r>n.totalTime?n.totalTime:r,n.progressMoment=n.startMoment,n.progressTime=r,n.play(n.pausedState),n.reRenderCall(),!!e!==n.pausedState&&n.paused(e)},this.kill=function(t){if("number"==typeof t)n.paused(),delete n.children[t],n.setTotalTime(),n.paused(!1);else{var e;n.children=[],null===(e=n.parent)||void 0===e||e.removeChild(n)}},this.onChange=function(t){t.timelineMoment=n.progressMoment,n.onChangeChild(t)},this.render=function(t){var e=t.time,r=t.elapsed||O.Z.frameFPS||0,a=n.totalTime,o=n.totalTimeRegion,i=n.childTotalTime,s=n.childRegionTotalTime,l=n.children,u=n.props,c=n.startTime,f=n.reverseState,p=n.pausedState,d=n.startMoment,h=n.onChangeTimeline,m=n.parent,v=n.root,y=n.prevMoment,g=n.regionStartTime,b=u.repeatDelay,w=void 0===b?0:b,T=u.yoyo,S=u.delay,k=u.repeat,E=void 0===k?0:k;E=-1===E?Number.MAX_VALUE:E;var x=e-c-S,A=f?d-x:x+d;if(!(A<-r)){var _=A<0?0:A;_=_>a?a:_,_=do?d:_;var M=E?Math.floor(_/(s+w)):0,C=_-(s+w)*(M=E&&M>E?E:M),D=!!(T&&M%2);C=g+(C=D?s-C:C);var F=f?!D:D;if(n.mode="onTimelineUpdate","number"!=typeof y&&(n.mode="onTimelineStart"),_>=o-S&&"number"==typeof y&&(n.mode="onTimelineComplete"),M!==n.repeatNum&&(n.mode="onTimelineRepeat",_>i*M&&_=0;F?j++:j--){var P=l[j];F||(P.prevMoment=void 0),P.render({moment:F?P.totalTime:0,fps:r})}h({moment:_,totalTime:a,repeat:M,mode:n.mode,targets:v.targets}),n.mode="onTimelineUpdate"}E&&(n.repeatNum=M),n.progressMoment=_,n.prevMoment=_,n.progressTime=x;for(var Z=0;Z=N.appearTo-r&&CL+r&&!D&&N.totalTime||void 0===N.mode&&!N.totalTime)&&(N.render({moment:N.totalTime,fps:r}),N.prevMoment=void 0),CL&&"onComplete"===N.mode&&!D)return;I=C>L?L:C,N.render({moment:I-N.appearTo,fps:r}),L||(N.render({moment:N.totalTime,fps:r,render:!0}),N.prevMoment=void 0)}}h({moment:_,totalTime:a,repeat:M,mode:n.mode,targets:v.targets}),(p||o&&A+S>=o&&!f||f&&A+S<=0||!l.length)&&(null==m||m.removeChild(n))}},this.props=e;var r=this.props,a=r.paused,o=r.reverse;this.reverseState=o,this.pausedState=a,this.regionStartTime=e.regionStartTime||0,this.regionEndTime=e.regionEndTime});u.Z.push(b),u.Z.push(E),u.Z.push(d);var C=0,D=new x,F=function(){function t(e,n){var a,l=this;(0,s.Z)(this,t),this.targets=void 0,this.props=void 0,this.timeline=void 0,this.animate=void 0,this.$reverse=!1,this.vars=[],this.initTime=void 0,this.attr=void 0,this.init=(a=(0,i.Z)(o().mark(function t(e){var n;return o().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:n=(0,p.Sx)(e),l.targets[0].tagName&&!l.attr&&(n.animation=(0,p.Zk)(n.animation).map(function(t){var e={style:{}};for(var n in t)n in u.Z||n in p.$e?e[n]=t[n]:e.style[n]=t[n];return Object.keys(e.style).length||delete e.style,t.duration&&(t.duration=Math.round(t.duration)),t.delay&&(t.delay=Math.round(t.delay)),t.appearTo&&(t.appearTo=Math.round(t.appearTo)),t.repeatDelay&&(t.repeatDelay=Math.round(t.repeatDelay)),e})),l.animate=new M(n),l.animate.id="TweenOne_".concat(C),C++,l.animate.startTime=l.initTime,l.animate.onChangeChild=l.onChange,l.animate.onChangeTimeline=l.onChangeTimeline,l.animate.root=l,l.animate.parent=l.timeline,l.animate.init();case 11:case"end":return t.stop()}},t)})),function(t){return a.apply(this,arguments)}),this.renderToDom=function(){for(var t=0;t3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4?arguments[4]:void 0;return"+="===r||"-="===r?t+e*n+(a||0):(e-t)*n+t+(a||0)},g=function(t){return t&&document.defaultView?document.defaultView.getComputedStyle(t):{}},b={margin:1,padding:1,borderWidth:1,borderRadius:1};function w(t){var e,n,r,a=t.target,o=t.computedStyle,s=t.style,l=t.value,u=t.startUnit,c=t.endUnit,f=t.fixed,p=t.isOriginWidth,d=t.useCurrentTarget;if(i)return l;var h=/(?:Left|Right|Width|X)/i.test(s)||p;h="padding"===s||"marign"===s||h;var m=-1!==s.indexOf("border")||-1!==s.indexOf("translate")||"transformOrigin"===s||d?a:a.parentNode||document.body;switch(m=f?document.body:m,u){case"%":e=parseFloat(l)/100*(h?m.clientWidth:m.clientHeight);break;case"vw":e=parseFloat(l)*document.body.clientWidth/100;break;case"vh":e=parseFloat(l)*document.body.clientHeight/100;break;case"em":o?e=parseFloat(l)*parseFloat(o.fontSize):(r="em",e=parseFloat(l));break;case"rem":o?(n=window.getComputedStyle(document.getElementsByTagName("html")[0]),e=parseFloat(l)*parseFloat(n.fontSize)):(r="rem",e=parseFloat(l));break;default:e=parseFloat(l)}switch(c){case"%":e=e?100*e/(h?m.clientWidth:m.clientHeight):0;break;case"vw":e=parseFloat(l)/document.body.clientWidth*100;break;case"vh":e=parseFloat(l)/document.body.clientHeight*100;break;case"em":o?e=parseFloat(l)/parseFloat(o.fontSize):(r="em",e=parseFloat(l));break;case"rem":o?(n=n||window.getComputedStyle(document.getElementsByTagName("html")[0]),e=parseFloat(l)/parseFloat(n.fontSize)):(r="rem",e=parseFloat(l))}return r&&console.warn("Warning: Element is not 'DOM, can not use '".concat(r,"', automatically convert to animation units.")),e}function T(t){if("string"==typeof t)return t;var e=t.perspective,n=t.rotate,r=t.rotateX,a=t.rotateY,o=t.scaleX,i=t.scaleY,s=t.scaleZ,l=t.skewX,u=t.skewY,c="string"==typeof t.translateX?t.translateX:"".concat(t.translateX,"px"),f="string"==typeof t.translateY?t.translateY:"".concat(t.translateY,"px"),p="string"==typeof t.translateZ?t.translateZ:"".concat(t.translateZ,"px"),d=l||u?"skew(".concat(l,"deg,").concat(u,"deg)"):"",h=n?"rotate(".concat(n,"deg)"):"",m=1!==o||1!==i||1!==s?"scale3d(".concat(o,",").concat(i,",").concat(s,")"):"",v=r?"rotateX(".concat(r,"deg)"):"",y=a?"rotateY(".concat(a,"deg)"):"",g=t.translateZ?"translate3d(".concat(c,",").concat(f,",").concat(p,")"):(t.translateX||t.translateY)&&"translate(".concat(c,",").concat(f,")")||(m||h||v||y||d?"":"translate(0px, 0px)");return"".concat(e?"perspective(".concat(e,"px)"):""," ").concat(g," ").concat(m," ").concat(h," ").concat(v," ").concat(y," ").concat(d).trim()}var S={brightness:1,saturate:1,contrast:1,grayScale:0,hueRotate:"0deg",sepia:0,invert:0}},11375:function(t,e,n){var r=n(86214);(function(){var e,n,a,o;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=r&&r.hrtime?(t.exports=function(){return(e()-o)/1e6},n=r.hrtime,o=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})()-1e9*r.uptime()):Date.now?(t.exports=function(){return Date.now()-a},a=Date.now()):(t.exports=function(){return new Date().getTime()-a},a=new Date().getTime())}).call(this)},19616:function(t,e,n){for(var r=n(11375),a="undefined"==typeof window?n.g:window,o=["moz","webkit"],i="AnimationFrame",s=a["request"+i],l=a["cancel"+i]||a["cancelRequest"+i],u=0;!s&&u2||Array.isArray(F[0]))&&(i=i.map(function(t){return 100*t}),i="M0,100C".concat(i[0],",").concat(100-i[1],",").concat(i[2],",").concat(100-i[3],",100,0")),{startAnim:o,animate:a,ease:i,duration:s}},td=function(t,e){var n=e.targets;n.className=n.className.replace(R[1],""),-1===n.className.indexOf(R[0])&&(n.className="".concat(n.className," ").concat(R[0]).trim()),Y.current.indexOf(t)>=0&&Y.current.splice(Y.current.indexOf(t),1),H.current[t]=!0},th=function(t,e){if(!(W.current.indexOf(t)>=0)){var n=e.targets;n.className=n.className.replace(R[0],"").trim(),delete K.current[t],U({key:t,type:"enter",target:n})}},tm=function(t,e){var n=e.targets;n.className=n.className.replace(R[0],""),-1===n.className.indexOf(R[1])&&(n.className="".concat(n.className," ").concat(R[1]).trim())},tv=function(e,n){if(p(t.children).findIndex(function(t){return t&&t.key===e}),!(p(t.children).findIndex(function(t){return t&&t.key===e})>=0)){delete H.current[e],delete K.current[e],tt.current=tt.current.filter(function(t){return t.key!==e}),W.current.indexOf(e)>=0&&W.current.splice(W.current.indexOf(e),1),W.current.some(function(t){return ts[t]})||(ta(p(t.children)),tl((0,a.Z)({},H.current)),q.current.forEach(function(t){delete $.current[t]}));var r=n.targets;r.className=r.className.replace(R[1],"").trim(),U({key:e,type:"leave",target:r})}},ty=function(t){ts[t]=!0,u.Z.clear(G.current[t]),delete G.current[t],tl((0,a.Z)({},ts))},tg=function(t,e){var n=h(S,t,e)[0],r=h(x,t,e)[0];G.current[t]=u.Z.timeout(function(){ty(t)},n*e+r)},tb=function(t){u.Z.clear(G.current[t]),delete G.current[t]},tw=function(t,e,n,r){var o=tp(t,e,r),i=function(e){("enter"===r?td:tm)(t,e)},s=function(e){("enter"===r?th:tv)(t,e)};if(Array.isArray(o.animate)){var l=o.animate.length-1;return o.animate.map(function(t,e){return(0,a.Z)((0,a.Z)({},t),{},{startAt:o.startAnim?o.startAnim[e]:void 0,duration:o.duration/l,delay:e||"leave"!==r?0:n,onStart:e?void 0:i,onComplete:e===l?s:void 0})})}return(0,a.Z)((0,a.Z)({},o.animate),{},{startAt:o.startAnim||void 0,ease:o.ease,duration:o.duration,onStart:i,onComplete:s,delay:n})};return(0,s.useEffect)(function(){return function(){Object.keys(K.current).forEach(function(t){var e=K.current[t];e&&e.kill()})}},[]),(0,s.useEffect)(function(){var e,n,r,o,i=p(t.children).filter(function(t){return t}),s=tt.current.filter(function(t){return t}),l=(n=[],r={},o=[],s.forEach(function(t){t&&(d(i,t.key)?(o.length&&(r[t.key]=o,o=[]),e=t.key):t.key&&o.push(t))}),e||(n=n.concat(o)),i.forEach(function(t){t&&(r.hasOwnProperty(t.key)&&(n=n.concat(r[t.key])),n.push(t),t.key===e&&(n=n.concat(o)))}),n),c=[],f=[];if(V||J.current)s.forEach(function(t){if(t){var e=t.key;!d(i,e)&&e&&(f.push(e),u.Z.clear(G.current[e]),delete G.current[e])}}),i.forEach(function(t){if(t){var e=t.key;(!d(s,e)&&e||(!$.current[e]||"leave"===$.current[e]||Y.current.indexOf(e)>=0)&&-1===f.indexOf(e))&&c.push(e)}});else{var h={};l.forEach(function(t){t&&t.key&&(h[t.key]=!0)}),tt.current=l,H.current=(0,a.Z)({},h),tl(h)}Y.current=c,z.current=[].concat(c),W.current=f,q.current=[].concat(f),ta(l)},[t.children]),(0,s.useLayoutEffect)(function(){if(tt.current=tr||[],V||J.current){var t=(0,r.Z)(Y.current),e=(0,r.Z)(W.current);t.forEach(tg),e.forEach(tb)}tr&&(J.current=!0)},[tr]),(0,s.useLayoutEffect)(function(){tr&&tr.forEach(function(t){var e,n=t.key,r=Q.current[n];if(r){var o=W.current.indexOf(n),i=h(S,n,o),s=h(x,n,o);if(o>=0){if("leave"===$.current[n])return;var l=P?W.current.length-o-1:o;e=tw(n,o,i[1]*l+s[1],"leave"),$.current[n]="leave"}else{if("enter"===$.current[n]||-1===Y.current.indexOf(n))return;o=z.current.indexOf(n);var u=i[0]*o+s[0];e=tw(n,o,"leave"===$.current[n]?u:0,"enter"),$.current[n]="enter"}if(K.current[n]&&K.current[n].kill(),N){var f=(0,a.Z)((0,a.Z)({},Array.isArray(e)?e[0].startAt:e.startAt),{},{type:"set"});(0,c.ZP)(r,{animation:f})}K.current[n]=(0,c.ZP)(r,{animation:e})}})},[ts,tr]),(0,s.useMemo)(function(){if(f)return(0,s.createElement)(g,(0,a.Z)((0,a.Z)((0,a.Z)({},B),w),{},{ref:e}));var t=p(tr).map(function(t){return t&&t.key?ts[t.key]&&(0,s.cloneElement)(t,{ref:function(e){Q.current[t.key]=e instanceof Element?e:(0,l.findDOMNode)(e),e||delete Q.current[t.key]},key:t.key}):t}),n=(0,a.Z)((0,a.Z)((0,a.Z)({},B),w),{},{ref:e});return(0,s.createElement)(g,n,t)},[ts,tr])})},32609:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("undefined"!=typeof XDomainRequest)return e(null),null;var n=new XMLHttpRequest;return n.onreadystatechange=function(){n.readyState===XMLHttpRequest.DONE&&200===n.status&&e(JSON.parse(n.responseText))},n.open("GET",t,!0),n.send(),n},t.exports=e.default},1160:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e=0)&&Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(e,["className","type","size"]);delete l.namespace,delete l.repo;var u=this.state.count,f=s.classNames((n in(t={"github-btn":!0,"github-btn-large":"large"===i})?Object.defineProperty(t,n,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[n]=n,t));return a.default.createElement("span",r({},l,{className:f}),a.default.createElement("a",{className:"gh-btn",href:this.getRepoUrl(),target:"_blank"},a.default.createElement("span",{className:"gh-ico","aria-hidden":"true"}),a.default.createElement("span",{className:"gh-text"},c[o])),a.default.createElement("a",{className:"gh-count",target:"_blank",href:this.getCountUrl(),style:this.getCountStyle()},u))},e}(a.default.Component);p.displayName="GitHubButton",p.propTypes={className:o.default.string,type:o.default.oneOf(["stargazers","watchers","forks"]).isRequired,namespace:o.default.string.isRequired,repo:o.default.string.isRequired,size:o.default.oneOf(["large"])},e.default=p,t.exports=e.default},40639:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.classNames=function(t){return Object.keys(t).filter(function(e){return t[e]}).join(" ")}},89971:function(t,e){"use strict";e.Dm=function(t){return t.replace(/[A-Z]/,function(t){return"-"+t.toLocaleLowerCase()})},e.FH=f,e.wz=function(t){if("undefined"==typeof document)return null;var e=["WebKitCSS","MozCSS","DOM","MsCSS","MSCSS","OCSS","CSS"].filter(function(t){return t+"Matrix" in window});return e.length?new window[e[0]+"Matrix"](t):(console.warn("Browsers do not support matrix."),"")},e.Yf=function(t){if("undefined"==typeof document)return null;if("filter"!==t&&t in document.body.style)return t;var e=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"].filter(function(t){return""+t+e in document.body.style});return n[0]?""+n[0]+e:null},e.Lo=function(t){var e=t;return"z"===(e="y"===(e="x"===e?"translateX":e)?"translateY":e)?"translateZ":e},e.lu=p,e.hy=function(t){if(!t)return[0,0,0,0,0,0,0];var e=t.replace(/,\s+/gi,",").split(/\s+/).filter(function(t){return t}),n=e.indexOf("inset");n>=0&&e.splice(n,1);var r=e.find(function(t){return i[t]||t.match(/#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})|(rgb|hsl)+(?:a)?\((.*)\)/i)})||"black",a=e.indexOf(r);e.splice(a,1);var o=p(r);return o[3]="number"==typeof o[3]?o[3]:1,e.concat(o,n>=0?["inset"]:[])},e.Lq=function(t){return(4===t.length?"rgba":"rgb")+"("+t.map(function(t,e){return e<3?Math.round(t):t}).join(",")+")"},e.Tk=d,e.dt=function(t){var e=d(t);return c.filter.indexOf(e)>=0?"filter":e},e.GX=function(t){if("none"===t||!t||""===t)return null;var e=t.replace(" ","").split(")").filter(function(t){return t}),n={};return e.forEach(function(t){var e=t.split("(");n[e[0]]=e[1]}),n},e.Ck=function(t){var e,n,r,a=t&&"none"!==t&&""!==t?t:"matrix(1, 0, 0, 1, 0, 0)";if(!a.match("matrix"))return(r={}).translateX=0,r.translateY=0,r.translateZ=0,r.rotate=0,r.rotateX=0,r.rotateY=0,r.scaleX=1,r.scaleY=1,r.scaleZ=1,r.skewX=0,r.skewY=0,r.perspective=0,(t.trim().match(/(\w+)\([^\)]+\)/ig)||[]).forEach(function(t){var e=t.split("("),n=e[0].trim(),a=e[1].replace(")","").trim();a.match(/%|em|rem/ig)&&console.warn("value("+a+") must be absolute, not relative, has been converted to absolute."),a=a.replace(/px|deg|\)/ig,""),c.transformGroup[n]&&"rotate"!==n?(a=a.split(",").map(function(t){return parseFloat(t)}),"scale3d"===n||"translate3d"===n?["X","Y","Z"].forEach(function(t,e){var o=n.substring(0,n.length-2);r[""+o+t]=a[e]||r[""+o+t]}):"rotate3d"===n?(r.rotateX=a[0]&&a[3]||r.rotateX,r.rotateY=a[1]&&a[3]||r.rotateY,r.rotate=a[2]&&a[3]||r.rotate):["X","Y"].forEach(function(t,e){r[""+n+t]=a[e]||r[""+n+t]})):"rotateZ"===n?r.rotate=parseFloat(a)||r.rotate:r[n]=parseFloat(a)||r[n]}),r;var o=(e=a.match(/(?:\-|\b)[\d\-\.e]+\b/gi),n={},6===e.length?(n.m11=parseFloat(e[0]),n.m12=parseFloat(e[1]),n.m13=0,n.m14=0,n.m21=parseFloat(e[2]),n.m22=parseFloat(e[3]),n.m23=0,n.m24=0,n.m31=0,n.m32=0,n.m33=1,n.m34=0,n.m41=parseFloat(e[4]),n.m42=parseFloat(e[5]),n.m43=0,n.m44=0):e.forEach(function(t,e){n["m"+(Math.floor(e/4)+1)+(e%4+1)]=parseFloat(t)}),n),i=o.m11,s=o.m12,u=o.m13,p=o.m14,d=o.m21,h=o.m22,m=o.m23,v=o.m24,y=o.m31,g=o.m32,b=o.m33,w=o.m34,T=o.m43,S=void 0,k=void 0,E=void 0,O={},x=Math.atan2(m,b),A=Math.tan(d),_=Math.tan(s),M=void 0,C=void 0;return O.rotateX=f(x*l)||0,x&&(S=d*(M=Math.cos(-x))+y*(C=Math.sin(-x)),k=h*M+g*C,E=m*M+b*C,y=-(d*C)+y*M,g=-(h*C)+g*M,b=-(m*C)+b*M,w=-(v*C)+w*M,d=S,h=k,m=E),x=Math.atan2(-u,b),O.rotateY=f(x*l)||0,x&&(S=i*(M=Math.cos(-x))-y*(C=Math.sin(-x)),k=s*M-g*C,E=u*M-b*C,g=s*C+g*M,b=u*C+b*M,w=p*C+w*M,i=S,s=k,u=E),x=Math.atan2(s,i),O.rotate=f(x*l)||0,x&&(S=i*(M=Math.cos(x))+s*(C=Math.sin(x)),k=d*M+h*C,E=y*M+g*C,s=s*M-i*C,h=h*M-d*C,g=g*M-y*C,i=S,d=k,y=E),O.rotateX&&Math.abs(O.rotateX)+Math.abs(O.rotate)>359.9&&(O.rotateX=O.rotate=0,O.rotateY=180-O.rotateY||0),O.scaleX=f(Math.sqrt(i*i+s*s+u*u)),O.scaleY=f(Math.sqrt(h*h+m*m)),O.scaleZ=f(Math.sqrt(y*y+g*g+b*b)),O.skewX=A===-_?0:A,O.skewY=_===-A?0:_,O.perspective=w?1/(w<0?-w:w):0,O.translateX=o.m41,O.translateY=o.m42,O.translateZ=T,O},e.YJ=function(t,e){var r=void 0;return n[t]||"number"!=typeof e?"content"!==t||a.test(e)||(r="'"+e.replace(/'/g,"\\'")+"'"):r=" "+e+"px",r||e};var n={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},r=["Webkit","ms","Moz","O"];Object.keys(n).forEach(function(t){r.forEach(function(e){n[e+t.charAt(0).toUpperCase()+t.substring(1)]=n[t]})});var a=/^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/,o="undefined"!=typeof document&&!!(navigator&&(navigator.userAgent.indexOf("MSIE 8.0")>0||navigator.userAgent.indexOf("MSIE 9.0")>0)),i={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},s=function(t,e,n){var r=t>1?t-1:t,a=3*(r=t<0?t+1:r)<2?e+(n-e)*(2/3-r)*6:e,o=r<.5?n:a;return 255*(6*r<1?e+(n-e)*r*6:o)+.5|0},l=180/Math.PI,u={_lists:{transformsBase:["translate","translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ","rotate"],transforms3D:["translate3d","translateZ","scaleZ","rotateX","rotateY","perspective"]},transformGroup:{translate:1,translate3d:1,scale:1,scale3d:1,rotate:1,rotate3d:1,skew:1},filter:["grayScale","sepia","hueRotate","invert","brightness","contrast","blur"],filterConvert:{grayScale:"grayscale",hueRotate:"hue-rotate"}};u._lists.transformsBase=o?u._lists.transformsBase:u._lists.transformsBase.concat(u._lists.transforms3D);var c=e._T=u;function f(t,e){var n=e?Math.pow(10,e):1e5,r=0|t,a=t-r,o=t;if(a){var i=(a*n+(t<0?-.5:.5)|0)/n,s=0|i;o=(t<0&&!(r+s)?"-":"")+(r+s)+"."+(i.toString().split(".")[1]||"")}return parseFloat(o)}function p(t){var e=void 0,n=void 0,r=void 0,a=void 0,o=void 0,l=void 0,u=void 0,c=t,f=/(?:\d|\-\d|\.\d|\-\.\d)+/g;return c?"number"==typeof c?e=[c>>16,c>>8&255,255&c]:(","===c.charAt(c.length-1)&&(c=c.substr(0,c.length-1)),i[c]?e=i[c]:"#"===c.charAt(0)?(4===c.length&&(c="#"+(n=c.charAt(1))+n+(r=c.charAt(2))+r+(a=c.charAt(3))+a),e=[(c=parseInt(c.substr(1),16))>>16,c>>8&255,255&c]):"hsl"===c.substr(0,3)?(o=Number((e=c.match(f))[0])%360/360,l=Number(e[1])/100,r=(u=Number(e[2])/100)<=.5?u*(l+1):u+l-u*l,n=2*u-r,e.length>3&&(e[3]=Number(e[3])),e[0]=s(o+1/3,n,r),e[1]=s(o,n,r),e[2]=s(o-1/3,n,r)):e=c.match(f)||i.transparent,e[0]=Number(e[0]),e[1]=Number(e[1]),e[2]=Number(e[2]),e.length>3&&(e[3]=Number(e[3]))):e=i.black,e}function d(t){return c._lists.transformsBase.indexOf(t)>=0?"transform":t}},9159:function(t,e){"use strict";e.Rs=p,e.Yf=function(t){if("undefined"==typeof document)return null;if("filter"!==t&&t in document.body.style)return t;var e=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"].filter(function(t){return""+t+e in document.body.style});return n[0]?""+n[0]+e:null},e.Lo=function(t){var e=t;return"z"===(e="y"===(e="x"===e?"translateX":e)?"translateY":e)?"translateZ":e},e.lu=m,e.hy=function(t,e){var n=e&&p(e);if(!t)return"boxShadow"===n?[0,0,0,0,0,0,0,0]:[0,0,0,0,0,0,0];var r=t.replace(/,\s+/gi,",").split(/\s+/).filter(function(t){return t}),a=r.indexOf("inset");a>=0&&r.splice(a,1);var o=r.find(function(t){return i[t]||t.match(/#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})|(rgb|hsl)+(?:a)?\((.*)\)/i)})||"black",s=r.indexOf(o);r.splice(s,1);var l=m(o);return l[3]="number"==typeof l[3]?l[3]:1,"boxShadow"===n&&r.length<4&&r.push(0),r.concat(l,a>=0?["inset"]:[])},e.Lq=function(t){return(4===t.length?"rgba":"rgb")+"("+t.map(function(t,e){return e<3?Math.round(t):t}).join(",")+")"},e.dt=function(t){var e,n=(e=t,f._lists.transformsBase.indexOf(e)>=0?"transform":e);return f.filter.indexOf(n)>=0?"filter":n},e.GX=function(t){if("none"===t||!t||""===t)return null;var e=t.replace(/\s+/g,"").split(")").filter(function(t){return t}),n={};return e.forEach(function(t){var e=t.split("(");n[e[0]]=e[1]}),n},e.Ck=function(t){var e,n,r,a=t&&"none"!==t&&""!==t?t:"matrix(1, 0, 0, 1, 0, 0)";if(!a.match("matrix"))return(r={}).translateX=0,r.translateY=0,r.translateZ=0,r.rotate=0,r.rotateX=0,r.rotateY=0,r.scaleX=1,r.scaleY=1,r.scaleZ=1,r.skewX=0,r.skewY=0,r.perspective=0,(t.trim().match(/(\w+)\([^\)]+\)/ig)||[]).forEach(function(t){var e=t.split("("),n=e[0].trim(),a=e[1].replace(")","").trim();a.match(/%|em|rem/ig)&&console.warn("value("+a+") must be absolute, not relative, has been converted to absolute."),a=a.replace(/px|deg|\)/ig,""),f.transformGroup[n]&&"rotate"!==n?(a=a.split(",").map(function(t){return parseFloat(t)}),"scale3d"===n||"translate3d"===n?["X","Y","Z"].forEach(function(t,e){var o=n.substring(0,n.length-2);r[""+o+t]=a[e]||r[""+o+t]}):"rotate3d"===n?(r.rotateX=a[0]&&a[3]||r.rotateX,r.rotateY=a[1]&&a[3]||r.rotateY,r.rotate=a[2]&&a[3]||r.rotate):["X","Y"].forEach(function(t,e){r[""+n+t]=a[e]||r[""+n+t]})):"rotateZ"===n?r.rotate=parseFloat(a)||r.rotate:r[n]=parseFloat(a)||r[n]}),r;var o=(e=a.match(/(?:\-|\b)[\d\-\.e]+\b/gi),n={},6===e.length?(n.m11=parseFloat(e[0]),n.m12=parseFloat(e[1]),n.m13=0,n.m14=0,n.m21=parseFloat(e[2]),n.m22=parseFloat(e[3]),n.m23=0,n.m24=0,n.m31=0,n.m32=0,n.m33=1,n.m34=0,n.m41=parseFloat(e[4]),n.m42=parseFloat(e[5]),n.m43=0,n.m44=0):e.forEach(function(t,e){n["m"+(Math.floor(e/4)+1)+(e%4+1)]=parseFloat(t)}),n),i=o.m11,l=o.m12,u=o.m13,c=o.m14,p=o.m21,h=o.m22,m=o.m23,v=o.m24,y=o.m31,g=o.m32,b=o.m33,w=o.m34,T=o.m43,S=void 0,k=void 0,E=void 0,O={},x=Math.atan2(m,b),A=Math.tan(p),_=Math.tan(l),M=void 0,C=void 0;return O.rotateX=d(x*s)||0,x&&(S=p*(M=Math.cos(-x))+y*(C=Math.sin(-x)),k=h*M+g*C,E=m*M+b*C,y=-(p*C)+y*M,g=-(h*C)+g*M,b=-(m*C)+b*M,w=-(v*C)+w*M,p=S,h=k,m=E),x=Math.atan2(-u,b),O.rotateY=d(x*s)||0,x&&(S=i*(M=Math.cos(-x))-y*(C=Math.sin(-x)),k=l*M-g*C,E=u*M-b*C,g=l*C+g*M,b=u*C+b*M,w=c*C+w*M,i=S,l=k,u=E),x=Math.atan2(l,i),O.rotate=d(x*s)||0,x&&(S=i*(M=Math.cos(x))+l*(C=Math.sin(x)),k=p*M+h*C,E=y*M+g*C,l=l*M-i*C,h=h*M-p*C,g=g*M-y*C,i=S,p=k,y=E),O.rotateX&&Math.abs(O.rotateX)+Math.abs(O.rotate)>359.9&&(O.rotateX=O.rotate=0,O.rotateY=180-O.rotateY||0),O.scaleX=d(Math.sqrt(i*i+l*l+u*u)),O.scaleY=d(Math.sqrt(h*h+m*m)),O.scaleZ=d(Math.sqrt(y*y+g*g+b*b)),O.skewX=A===-_?0:A,O.skewY=_===-A?0:_,O.perspective=w?1/(w<0?-w:w):0,O.translateX=o.m41,O.translateY=o.m42,O.translateZ=T,O},e.YJ=function(t,e){var r=void 0;return n[t]||"number"!=typeof e?"content"!==t||a.test(e)||(r="'"+e.replace(/'/g,"\\'")+"'"):r=" "+e+"px",r||e};var n={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},r=["Webkit","ms","Moz","O"];Object.keys(n).forEach(function(t){r.forEach(function(e){n[e+t.charAt(0).toUpperCase()+t.substring(1)]=n[t]})});var a=/^(normal|none|(\b(url\([^)]*\)|chapter_counter|attr\([^)]*\)|(no-)?(open|close)-quote|inherit)((\b\s*)|$|\s+))+)$/,o="undefined"!=typeof document&&!!(navigator&&(navigator.userAgent.indexOf("MSIE 8.0")>0||navigator.userAgent.indexOf("MSIE 9.0")>0)),i={aqua:[0,255,255,1],lime:[0,255,0,1],silver:[192,192,192,1],black:[0,0,0,1],maroon:[128,0,0,1],teal:[0,128,128,1],blue:[0,0,255,1],navy:[0,0,128,1],white:[255,255,255,1],fuchsia:[255,0,255,1],olive:[128,128,0,1],yellow:[255,255,0,1],orange:[255,165,0,1],gray:[128,128,128,1],purple:[128,0,128,1],green:[0,128,0,1],red:[255,0,0,1],pink:[255,192,203,1],cyan:[0,255,255,1],transparent:[255,255,255,0]},s=180/Math.PI,l={_lists:{transformsBase:["translate","translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ","rotate"],transforms3D:["translate3d","translateZ","scaleZ","rotateX","rotateY","perspective"]},transformGroup:{translate:1,translate3d:1,scale:1,scale3d:1,rotate:1,rotate3d:1,skew:1},filter:["grayScale","sepia","hueRotate","invert","brightness","contrast","blur"],filterConvert:{grayScale:"grayscale",hueRotate:"hue-rotate"}};l._lists.transformsBase=o?l._lists.transformsBase:l._lists.transformsBase.concat(l._lists.transforms3D);var u=/#([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{3})/;e.rV=/#([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{3})|((rgb|hsl)[a]?)+\((?:\d|\.\d)+(?:(deg|\%)?),[\s+]?(?:\d|\.\d)+(?:(deg|\%)?),[\s+]?(?:\d|\.\d)+(?:(deg|%)?)(,[\s+]?(?:\d|\.\d)+(?:(deg|\%)?))?\)/;var c=/(?:\d|\.\d)+(%?)/g,f=e._T=l;function p(t){return t.replace(/-(.?)/g,function(t){return t.replace("-","").toLocaleUpperCase()})}function d(t,e){var n=e?Math.pow(10,e):1e5,r=0|t,a=t-r,o=t;if(a){var i=(a*n+(t<0?-.5:.5)|0)/n,s=0|i;o=(t<0&&!(r+s)?"-":"")+(r+s)+"."+(i.toString().split(".")[1]||"")}return parseFloat(o)}var h=function(t,e,n){return(n<0&&(n+=6),n>=6&&(n-=6),n<1)?(e-t)*n+t:n<3?e:n<4?(e-t)*(4-n)+t:t};function m(t){var e=i.transparent,n=t,r=void 0,a=void 0,o=void 0;if(n){if(i[n])e=i[n];else if("number"==typeof n)e=[n>>16,n>>8&255,255&n];else if(","===n.charAt(n.length-1)&&(n=n.substr(0,n.length-1)),n.match(u))3===(n=n.substr(1)).length&&(n=""+(r=n.charAt(0))+r+(a=n.charAt(1))+a+(o=n.charAt(2))+o+"ff"),6===n.length&&(n+="ff"),e=[(n=parseInt(n,16))>>24&255,n>>16&255,n>>8&255,parseFloat(((255&n)/255).toFixed(2))];else if(n.match(/^hsl/)){var s=(e=n.match(c))[3];s="string"==typeof s&&s.match("%")?parseFloat(s)/100:parseFloat(""+(s||"1"));var l=parseFloat(e[0])/60,f=parseFloat(e[1])/100,p=parseFloat(e[2])/100,d=p<=.5?p*(f+1):p+f-p*f,m=2*p-d;e=[r=Math.round(255*h(m,d,l+2)),a=Math.round(255*h(m,d,l)),o=Math.round(255*h(m,d,l-2)),s]}else 3===(e=(e=n.match(c)||i.transparent).map(function(t){return parseFloat(t)})).length&&e.push(1)}else e=i.transparent;return e}},96839:function(t){"use strict";var e={linear:function(t,e,n,r){return(n-e)*t/r+e},easeInQuad:function(t,e,n,r){return(n-e)*(t/=r)*t+e},easeOutQuad:function(t,e,n,r){return-(n-e)*(t/=r)*(t-2)+e},easeInOutQuad:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t+e:-a/2*(--t*(t-2)-1)+e},easeInCubic:function(t,e,n,r){return(n-e)*(t/=r)*t*t+e},easeOutCubic:function(t,e,n,r){return(n-e)*((t=t/r-1)*t*t+1)+e},easeInOutCubic:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t*t+e:a/2*((t-=2)*t*t+2)+e},easeInQuart:function(t,e,n,r){return(n-e)*(t/=r)*t*t*t+e},easeOutQuart:function(t,e,n,r){return-(n-e)*((t=t/r-1)*t*t*t-1)+e},easeInOutQuart:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t*t*t+e:-a/2*((t-=2)*t*t*t-2)+e},easeInQuint:function(t,e,n,r){return(n-e)*(t/=r)*t*t*t*t+e},easeOutQuint:function(t,e,n,r){return(n-e)*((t=t/r-1)*t*t*t*t+1)+e},easeInOutQuint:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?a/2*t*t*t*t*t+e:a/2*((t-=2)*t*t*t*t+2)+e},easeInSine:function(t,e,n,r){var a=n-e;return-a*Math.cos(t/r*(Math.PI/2))+a+e},easeOutSine:function(t,e,n,r){return(n-e)*Math.sin(t/r*(Math.PI/2))+e},easeInOutSine:function(t,e,n,r){return-(n-e)/2*(Math.cos(Math.PI*t/r)-1)+e},easeInExpo:function(t,e,n,r){return 0==t?e:(n-e)*Math.pow(2,10*(t/r-1))+e},easeOutExpo:function(t,e,n,r){var a=n-e;return t==r?e+a:a*(-Math.pow(2,-10*t/r)+1)+e},easeInOutExpo:function(t,e,n,r){var a=n-e;return 0===t?e:t===r?e+a:(t/=r/2)<1?a/2*Math.pow(2,10*(t-1))+e:a/2*(-Math.pow(2,-10*--t)+2)+e},easeInCirc:function(t,e,n,r){return-(n-e)*(Math.sqrt(1-(t/=r)*t)-1)+e},easeOutCirc:function(t,e,n,r){return(n-e)*Math.sqrt(1-(t=t/r-1)*t)+e},easeInOutCirc:function(t,e,n,r){var a=n-e;return(t/=r/2)<1?-a/2*(Math.sqrt(1-t*t)-1)+e:a/2*(Math.sqrt(1-(t-=2)*t)+1)+e},easeInElastic:function(t,e,n,r){var a,o,i,s=n-e;return(i=1.70158,o=0,a=s,0===t)?e:1==(t/=r)?e+s:(o||(o=.3*r),a=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;M(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),g}},n}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports},27566:function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},4860:function(t,e,n){var r=n(13448)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}}]); \ No newline at end of file diff --git a/_next/static/chunks/880.139eff8004e448cb.js b/_next/static/chunks/880.139eff8004e448cb.js new file mode 100644 index 0000000..76b7da4 --- /dev/null +++ b/_next/static/chunks/880.139eff8004e448cb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[880],{52070:function(e,t,n){n.d(t,{c:function(){return a}});var r=n(16870),i=n(1361),l=n(18391);function a(e){var t,n={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:l.Z(e.nodes(),function(t){var n=e.node(t),i=e.parent(t),l={v:t};return r.Z(n)||(l.value=n),r.Z(i)||(l.parent=i),l}),edges:l.Z(e.edges(),function(t){var n=e.edge(t),i={v:t.v,w:t.w};return r.Z(t.name)||(i.name=t.name),r.Z(n)||(i.value=n),i})};return r.Z(e.graph())||(n.value=(t=e.graph(),(0,i.Z)(t,4))),n}n(1840)},83880:function(e,t,n){n.d(t,{r:function(){return O}});var r=n(42296),i=n(52070),l=n(73198),a=n(71421),d=n(42521),o=n(3694),s=n(27509);let h={},c={},g={},f=()=>{c={},g={},h={}},u=(e,t)=>(a.l.trace("In isDecendant",t," ",e," = ",c[t].includes(e)),!!c[t].includes(e)),w=(e,t)=>(a.l.info("Decendants of ",t," is ",c[t]),a.l.info("Edge is ",e),e.v!==t&&e.w!==t&&(c[t]?c[t].includes(e.v)||u(e.v,t)||u(e.w,t)||c[t].includes(e.w):(a.l.debug("Tilt, ",t,",not in decendants"),!1))),p=(e,t,n,r)=>{a.l.warn("Copying children of ",e,"root",r,"data",t.node(e),r);let i=t.children(e)||[];e!==r&&i.push(e),a.l.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(i=>{if(t.children(i).length>0)p(i,t,n,r);else{let l=t.node(i);a.l.info("cp ",i," to ",r," with parent ",e),n.setNode(i,l),r!==t.parent(i)&&(a.l.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(a.l.debug("Setting parent",i,e),n.setParent(i,e)):(a.l.info("In copy ",e,"root",r,"data",t.node(e),r),a.l.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));let d=t.edges(i);a.l.debug("Copying Edges",d),d.forEach(i=>{a.l.info("Edge",i);let l=t.edge(i.v,i.w,i.name);a.l.info("Edge data",l,r);try{w(i,r)?(a.l.info("Copying as ",i.v,i.w,l,i.name),n.setEdge(i.v,i.w,l,i.name),a.l.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):a.l.info("Skipping copy of edge ",i.v,"-->",i.w," rootId: ",r," clusterId:",e)}catch(e){a.l.error(e)}})}a.l.debug("Removing node",i),t.removeNode(i)})},v=(e,t)=>{let n=t.children(e),r=[...n];for(let i of n)g[i]=e,r=[...r,...v(i,t)];return r},y=(e,t)=>{a.l.trace("Searching",e);let n=t.children(e);if(a.l.trace("Searching children of id ",e,n),n.length<1)return a.l.trace("This is a valid node",e),e;for(let r of n){let n=y(r,t);if(n)return a.l.trace("Found replacement for",e," => ",n),n}},x=e=>h[e]&&h[e].externalConnections&&h[e]?h[e].id:e,m=(e,t)=>{if(!e||t>10){a.l.debug("Opting out, no graph ");return}a.l.debug("Opting in, graph "),e.nodes().forEach(function(t){e.children(t).length>0&&(a.l.warn("Cluster identified",t," Replacement id in edges: ",y(t,e)),c[t]=v(t,e),h[t]={id:y(t,e),clusterData:e.node(t)})}),e.nodes().forEach(function(t){let n=e.children(t),r=e.edges();n.length>0?(a.l.debug("Cluster identified",t,c),r.forEach(e=>{e.v!==t&&e.w!==t&&u(e.v,t)^u(e.w,t)&&(a.l.warn("Edge: ",e," leaves cluster ",t),a.l.warn("Decendants of XXX ",t,": ",c[t]),h[t].externalConnections=!0)})):a.l.debug("Not a cluster ",t,c)}),e.edges().forEach(function(t){let n=e.edge(t);a.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),a.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(a.l.warn("Fix XXX",h,"ids:",t.v,t.w,"Translating: ",h[t.v]," --- ",h[t.w]),h[t.v]&&h[t.w]&&h[t.v]===h[t.w]){a.l.warn("Fixing and trixing link to self - removing XXX",t.v,t.w,t.name),a.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=x(t.v),i=x(t.w),e.removeEdge(t.v,t.w,t.name);let l=t.w+"---"+t.v;e.setNode(l,{domId:l,id:l,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});let d=structuredClone(n),o=structuredClone(n);d.label="",d.arrowTypeEnd="none",o.label="",d.fromCluster=t.v,o.toCluster=t.v,e.setEdge(r,l,d,t.name+"-cyclic-special"),e.setEdge(l,i,o,t.name+"-cyclic-special")}else(h[t.v]||h[t.w])&&(a.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=x(t.v),i=x(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v&&(n.fromCluster=t.v),i!==t.w&&(n.toCluster=t.w),a.l.warn("Fix Replacing with XXX",r,i,t.name),e.setEdge(r,i,n,t.name))}),a.l.warn("Adjusted Graph",i.c(e)),b(e,0),a.l.trace(h)},b=(e,t)=>{if(a.l.warn("extractor - ",t,i.c(e),e.children("D")),t>10){a.l.error("Bailing out");return}let n=e.nodes(),r=!1;for(let t of n){let n=e.children(t);r=r||n.length>0}if(!r){a.l.debug("Done, no node has children",e.nodes());return}for(let r of(a.l.debug("Nodes = ",n,t),n))if(a.l.debug("Extracting node",r,h,h[r]&&!h[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),h[r]){if(!h[r].externalConnections&&e.children(r)&&e.children(r).length>0){a.l.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";h[r]&&h[r].clusterData&&h[r].clusterData.dir&&(n=h[r].clusterData.dir,a.l.warn("Fixing dir",h[r].clusterData.dir,n));let l=new d.k({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});a.l.warn("Old graph before copy",i.c(e)),p(r,e,l,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:h[r].clusterData,labelText:h[r].labelText,graph:l}),a.l.warn("New graph after copy node: (",r,")",i.c(l)),a.l.debug("Old graph after copy",i.c(e))}else a.l.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!h[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),a.l.debug(h)}else a.l.debug("Not a cluster",r,t);for(let r of(n=e.nodes(),a.l.warn("New list of nodes",n),n)){let n=e.node(r);a.l.warn(" Now next level",r,n),n.clusterNode&&b(n.graph,t+1)}},N=(e,t)=>{if(0===t.length)return[];let n=Object.assign(t);return t.forEach(t=>{let r=e.children(t),i=N(e,r);n=[...n,...i]}),n},E=e=>N(e,e.children()),X={rect:(e,t)=>{a.l.info("Creating subgraph rect for ",t.id,t);let n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),i=(0,a.m)((0,a.c)().flowchart.htmlLabels),d=n.insert("g").attr("class","cluster-label"),h="markdown"===t.labelType?(0,o.a)(d,t.labelText,{style:t.labelStyle,useHtmlLabels:i}):d.node().appendChild((0,l.c)(t.labelText,t.labelStyle,void 0,!0)),c=h.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let e=h.children[0],t=(0,s.Ys)(h);c=e.getBoundingClientRect(),t.attr("width",c.width),t.attr("height",c.height)}let g=0*t.padding,f=t.width<=c.width+g?c.width+g:t.width;t.width<=c.width+g?t.diff=(c.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,a.l.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-f/2).attr("y",t.y-t.height/2-g/2).attr("width",f).attr("height",t.height+g),i?d.attr("transform","translate("+(t.x-c.width/2)+", "+(t.y-t.height/2)+")"):d.attr("transform","translate("+t.x+", "+(t.y-t.height/2)+")");let u=r.node().getBBox();return t.width=u.width,t.height=u.height,t.intersect=function(e){return(0,l.i)(t,e)},n},roundedWithTitle:(e,t)=>{let n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),d=n.append("rect"),o=i.node().appendChild((0,l.c)(t.labelText,t.labelStyle,void 0,!0)),h=o.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let e=o.children[0],t=(0,s.Ys)(o);h=e.getBoundingClientRect(),t.attr("width",h.width),t.attr("height",h.height)}h=o.getBBox();let c=0*t.padding,g=c/2,f=t.width<=h.width+t.padding?h.width+t.padding:t.width;t.width<=h.width+t.padding?t.diff=(h.width+0*t.padding-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g).attr("width",f+c).attr("height",t.height+c),d.attr("class","inner").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g+h.height-1).attr("width",f+c).attr("height",t.height+c-h.height-3),i.attr("transform","translate("+(t.x-h.width/2)+", "+(t.y-t.height/2-t.padding/3+((0,a.m)((0,a.c)().flowchart.htmlLabels)?5:3))+")");let u=r.node().getBBox();return t.height=u.height,t.intersect=function(e){return(0,l.i)(t,e)},n},noteGroup:(e,t)=>{let n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");let d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.intersect=function(e){return(0,l.i)(t,e)},n},divider:(e,t)=>{let n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding;r.attr("class","divider").attr("x",t.x-t.width/2-i/2).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);let a=r.node().getBBox();return t.width=a.width,t.height=a.height,t.diff=-t.padding/2,t.intersect=function(e){return(0,l.i)(t,e)},n}},C={},S=(e,t)=>{a.l.trace("Inserting cluster");let n=t.shape||"rect";C[t.id]=X[n](e,t)},D=()=>{C={}},B=async(e,t,n,d,o)=>{a.l.info("Graph in recursive render: XXX",i.c(t),o);let s=t.graph().rankdir;a.l.trace("Dir in recursive render - dir:",s);let c=e.insert("g").attr("class","root");t.nodes()?a.l.info("Recursive render XXX",t.nodes()):a.l.info("No nodes found for",t),t.edges().length>0&&a.l.trace("Recursive edges",t.edge(t.edges()[0]));let g=c.insert("g").attr("class","clusters"),f=c.insert("g").attr("class","edgePaths"),u=c.insert("g").attr("class","edgeLabels"),w=c.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(e){let r=t.node(e);if(void 0!==o){let n=JSON.parse(JSON.stringify(o.clusterData));a.l.info("Setting data for cluster XXX (",e,") ",n,o),t.setNode(o.id,n),t.parent(e)||(a.l.trace("Setting parent",e,o.id),t.setParent(e,o.id,n))}if(a.l.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),r&&r.clusterNode){a.l.info("Cluster identified",e,r.width,t.node(e));let i=await B(w,r.graph,n,d,t.node(e)),o=i.elem;(0,l.u)(r,o),r.diff=i.diff||0,a.l.info("Node bounds (abc123)",e,r,r.width,r.x,r.y),(0,l.s)(o,r),a.l.warn("Recursive render complete ",o,r)}else t.children(e).length>0?(a.l.info("Cluster - the non recursive path XXX",e,r.id,r,t),a.l.info(y(r.id,t)),h[r.id]={id:y(r.id,t),node:r}):(a.l.info("Node - the non recursive path",e,r.id,r),await (0,l.e)(w,t.node(e),s))})),t.edges().forEach(function(e){let n=t.edge(e.v,e.w,e.name);a.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),a.l.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),a.l.info("Fix",h,"ids:",e.v,e.w,"Translateing: ",h[e.v],h[e.w]),(0,l.f)(u,n)}),t.edges().forEach(function(e){a.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e))}),a.l.info("#############################################"),a.l.info("### Layout ###"),a.l.info("#############################################"),a.l.info(t),(0,r.bK)(t),a.l.info("Graph after layout:",i.c(t));let p=0;return E(t).forEach(function(e){let n=t.node(e);a.l.info("Position "+e+": "+JSON.stringify(t.node(e))),a.l.info("Position "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?(0,l.p)(n):t.children(e).length>0?(S(g,n),h[n.id].node=n):(0,l.p)(n)}),t.edges().forEach(function(e){let r=t.edge(e);a.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r),r);let i=(0,l.g)(f,e,r,h,n,t,d);(0,l.h)(r,i)}),t.nodes().forEach(function(e){let n=t.node(e);a.l.info(e,n.type,n.diff),"group"===n.type&&(p=n.diff)}),{elem:c,diff:p}},O=async(e,t,n,r,d)=>{(0,l.a)(e,n,r,d),(0,l.b)(),(0,l.d)(),D(),f(),a.l.warn("Graph at first:",JSON.stringify(i.c(t))),m(t),a.l.warn("Graph after:",JSON.stringify(i.c(t))),await B(e,t,r,d)}}}]); \ No newline at end of file diff --git a/_next/static/chunks/880.c56833219caf43c0.js b/_next/static/chunks/880.c56833219caf43c0.js deleted file mode 100644 index 5cf0e27..0000000 --- a/_next/static/chunks/880.c56833219caf43c0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[880],{39185:function(e,t,n){n.d(t,{c:function(){return a}});var r=n(71180),i=n(85811),l=n(55247);function a(e){var t,n={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:l.Z(e.nodes(),function(t){var n=e.node(t),i=e.parent(t),l={v:t};return r.Z(n)||(l.value=n),r.Z(i)||(l.parent=i),l}),edges:l.Z(e.edges(),function(t){var n=e.edge(t),i={v:t.v,w:t.w};return r.Z(t.name)||(i.name=t.name),r.Z(n)||(i.value=n),i})};return r.Z(e.graph())||(n.value=(t=e.graph(),(0,i.Z)(t,4))),n}n(65377)},83880:function(e,t,n){n.d(t,{r:function(){return O}});var r=n(87892),i=n(39185),l=n(73198),a=n(71421),d=n(42521),o=n(3694),s=n(27509);let h={},c={},g={},f=()=>{c={},g={},h={}},u=(e,t)=>(a.l.trace("In isDecendant",t," ",e," = ",c[t].includes(e)),!!c[t].includes(e)),w=(e,t)=>(a.l.info("Decendants of ",t," is ",c[t]),a.l.info("Edge is ",e),e.v!==t&&e.w!==t&&(c[t]?c[t].includes(e.v)||u(e.v,t)||u(e.w,t)||c[t].includes(e.w):(a.l.debug("Tilt, ",t,",not in decendants"),!1))),p=(e,t,n,r)=>{a.l.warn("Copying children of ",e,"root",r,"data",t.node(e),r);let i=t.children(e)||[];e!==r&&i.push(e),a.l.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(i=>{if(t.children(i).length>0)p(i,t,n,r);else{let l=t.node(i);a.l.info("cp ",i," to ",r," with parent ",e),n.setNode(i,l),r!==t.parent(i)&&(a.l.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(a.l.debug("Setting parent",i,e),n.setParent(i,e)):(a.l.info("In copy ",e,"root",r,"data",t.node(e),r),a.l.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));let d=t.edges(i);a.l.debug("Copying Edges",d),d.forEach(i=>{a.l.info("Edge",i);let l=t.edge(i.v,i.w,i.name);a.l.info("Edge data",l,r);try{w(i,r)?(a.l.info("Copying as ",i.v,i.w,l,i.name),n.setEdge(i.v,i.w,l,i.name),a.l.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):a.l.info("Skipping copy of edge ",i.v,"-->",i.w," rootId: ",r," clusterId:",e)}catch(e){a.l.error(e)}})}a.l.debug("Removing node",i),t.removeNode(i)})},v=(e,t)=>{let n=t.children(e),r=[...n];for(let i of n)g[i]=e,r=[...r,...v(i,t)];return r},y=(e,t)=>{a.l.trace("Searching",e);let n=t.children(e);if(a.l.trace("Searching children of id ",e,n),n.length<1)return a.l.trace("This is a valid node",e),e;for(let r of n){let n=y(r,t);if(n)return a.l.trace("Found replacement for",e," => ",n),n}},x=e=>h[e]&&h[e].externalConnections&&h[e]?h[e].id:e,m=(e,t)=>{if(!e||t>10){a.l.debug("Opting out, no graph ");return}a.l.debug("Opting in, graph "),e.nodes().forEach(function(t){e.children(t).length>0&&(a.l.warn("Cluster identified",t," Replacement id in edges: ",y(t,e)),c[t]=v(t,e),h[t]={id:y(t,e),clusterData:e.node(t)})}),e.nodes().forEach(function(t){let n=e.children(t),r=e.edges();n.length>0?(a.l.debug("Cluster identified",t,c),r.forEach(e=>{e.v!==t&&e.w!==t&&u(e.v,t)^u(e.w,t)&&(a.l.warn("Edge: ",e," leaves cluster ",t),a.l.warn("Decendants of XXX ",t,": ",c[t]),h[t].externalConnections=!0)})):a.l.debug("Not a cluster ",t,c)}),e.edges().forEach(function(t){let n=e.edge(t);a.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),a.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(a.l.warn("Fix XXX",h,"ids:",t.v,t.w,"Translating: ",h[t.v]," --- ",h[t.w]),h[t.v]&&h[t.w]&&h[t.v]===h[t.w]){a.l.warn("Fixing and trixing link to self - removing XXX",t.v,t.w,t.name),a.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=x(t.v),i=x(t.w),e.removeEdge(t.v,t.w,t.name);let l=t.w+"---"+t.v;e.setNode(l,{domId:l,id:l,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});let d=structuredClone(n),o=structuredClone(n);d.label="",d.arrowTypeEnd="none",o.label="",d.fromCluster=t.v,o.toCluster=t.v,e.setEdge(r,l,d,t.name+"-cyclic-special"),e.setEdge(l,i,o,t.name+"-cyclic-special")}else(h[t.v]||h[t.w])&&(a.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=x(t.v),i=x(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v&&(n.fromCluster=t.v),i!==t.w&&(n.toCluster=t.w),a.l.warn("Fix Replacing with XXX",r,i,t.name),e.setEdge(r,i,n,t.name))}),a.l.warn("Adjusted Graph",i.c(e)),b(e,0),a.l.trace(h)},b=(e,t)=>{if(a.l.warn("extractor - ",t,i.c(e),e.children("D")),t>10){a.l.error("Bailing out");return}let n=e.nodes(),r=!1;for(let t of n){let n=e.children(t);r=r||n.length>0}if(!r){a.l.debug("Done, no node has children",e.nodes());return}for(let r of(a.l.debug("Nodes = ",n,t),n))if(a.l.debug("Extracting node",r,h,h[r]&&!h[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),h[r]){if(!h[r].externalConnections&&e.children(r)&&e.children(r).length>0){a.l.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";h[r]&&h[r].clusterData&&h[r].clusterData.dir&&(n=h[r].clusterData.dir,a.l.warn("Fixing dir",h[r].clusterData.dir,n));let l=new d.k({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});a.l.warn("Old graph before copy",i.c(e)),p(r,e,l,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:h[r].clusterData,labelText:h[r].labelText,graph:l}),a.l.warn("New graph after copy node: (",r,")",i.c(l)),a.l.debug("Old graph after copy",i.c(e))}else a.l.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!h[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),a.l.debug(h)}else a.l.debug("Not a cluster",r,t);for(let r of(n=e.nodes(),a.l.warn("New list of nodes",n),n)){let n=e.node(r);a.l.warn(" Now next level",r,n),n.clusterNode&&b(n.graph,t+1)}},N=(e,t)=>{if(0===t.length)return[];let n=Object.assign(t);return t.forEach(t=>{let r=e.children(t),i=N(e,r);n=[...n,...i]}),n},E=e=>N(e,e.children()),X={rect:(e,t)=>{a.l.info("Creating subgraph rect for ",t.id,t);let n=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),r=n.insert("rect",":first-child"),i=(0,a.m)((0,a.c)().flowchart.htmlLabels),d=n.insert("g").attr("class","cluster-label"),h="markdown"===t.labelType?(0,o.a)(d,t.labelText,{style:t.labelStyle,useHtmlLabels:i}):d.node().appendChild((0,l.c)(t.labelText,t.labelStyle,void 0,!0)),c=h.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let e=h.children[0],t=(0,s.Ys)(h);c=e.getBoundingClientRect(),t.attr("width",c.width),t.attr("height",c.height)}let g=0*t.padding,f=t.width<=c.width+g?c.width+g:t.width;t.width<=c.width+g?t.diff=(c.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,a.l.trace("Data ",t,JSON.stringify(t)),r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-f/2).attr("y",t.y-t.height/2-g/2).attr("width",f).attr("height",t.height+g),i?d.attr("transform","translate("+(t.x-c.width/2)+", "+(t.y-t.height/2)+")"):d.attr("transform","translate("+t.x+", "+(t.y-t.height/2)+")");let u=r.node().getBBox();return t.width=u.width,t.height=u.height,t.intersect=function(e){return(0,l.i)(t,e)},n},roundedWithTitle:(e,t)=>{let n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),d=n.append("rect"),o=i.node().appendChild((0,l.c)(t.labelText,t.labelStyle,void 0,!0)),h=o.getBBox();if((0,a.m)((0,a.c)().flowchart.htmlLabels)){let e=o.children[0],t=(0,s.Ys)(o);h=e.getBoundingClientRect(),t.attr("width",h.width),t.attr("height",h.height)}h=o.getBBox();let c=0*t.padding,g=c/2,f=t.width<=h.width+t.padding?h.width+t.padding:t.width;t.width<=h.width+t.padding?t.diff=(h.width+0*t.padding-t.width)/2:t.diff=-t.padding/2,r.attr("class","outer").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g).attr("width",f+c).attr("height",t.height+c),d.attr("class","inner").attr("x",t.x-f/2-g).attr("y",t.y-t.height/2-g+h.height-1).attr("width",f+c).attr("height",t.height+c-h.height-3),i.attr("transform","translate("+(t.x-h.width/2)+", "+(t.y-t.height/2-t.padding/3+((0,a.m)((0,a.c)().flowchart.htmlLabels)?5:3))+")");let u=r.node().getBBox();return t.height=u.height,t.intersect=function(e){return(0,l.i)(t,e)},n},noteGroup:(e,t)=>{let n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");let d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.intersect=function(e){return(0,l.i)(t,e)},n},divider:(e,t)=>{let n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding;r.attr("class","divider").attr("x",t.x-t.width/2-i/2).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);let a=r.node().getBBox();return t.width=a.width,t.height=a.height,t.diff=-t.padding/2,t.intersect=function(e){return(0,l.i)(t,e)},n}},C={},S=(e,t)=>{a.l.trace("Inserting cluster");let n=t.shape||"rect";C[t.id]=X[n](e,t)},D=()=>{C={}},B=async(e,t,n,d,o)=>{a.l.info("Graph in recursive render: XXX",i.c(t),o);let s=t.graph().rankdir;a.l.trace("Dir in recursive render - dir:",s);let c=e.insert("g").attr("class","root");t.nodes()?a.l.info("Recursive render XXX",t.nodes()):a.l.info("No nodes found for",t),t.edges().length>0&&a.l.trace("Recursive edges",t.edge(t.edges()[0]));let g=c.insert("g").attr("class","clusters"),f=c.insert("g").attr("class","edgePaths"),u=c.insert("g").attr("class","edgeLabels"),w=c.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(e){let r=t.node(e);if(void 0!==o){let n=JSON.parse(JSON.stringify(o.clusterData));a.l.info("Setting data for cluster XXX (",e,") ",n,o),t.setNode(o.id,n),t.parent(e)||(a.l.trace("Setting parent",e,o.id),t.setParent(e,o.id,n))}if(a.l.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),r&&r.clusterNode){a.l.info("Cluster identified",e,r.width,t.node(e));let i=await B(w,r.graph,n,d,t.node(e)),o=i.elem;(0,l.u)(r,o),r.diff=i.diff||0,a.l.info("Node bounds (abc123)",e,r,r.width,r.x,r.y),(0,l.s)(o,r),a.l.warn("Recursive render complete ",o,r)}else t.children(e).length>0?(a.l.info("Cluster - the non recursive path XXX",e,r.id,r,t),a.l.info(y(r.id,t)),h[r.id]={id:y(r.id,t),node:r}):(a.l.info("Node - the non recursive path",e,r.id,r),await (0,l.e)(w,t.node(e),s))})),t.edges().forEach(function(e){let n=t.edge(e.v,e.w,e.name);a.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),a.l.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),a.l.info("Fix",h,"ids:",e.v,e.w,"Translateing: ",h[e.v],h[e.w]),(0,l.f)(u,n)}),t.edges().forEach(function(e){a.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e))}),a.l.info("#############################################"),a.l.info("### Layout ###"),a.l.info("#############################################"),a.l.info(t),(0,r.bK)(t),a.l.info("Graph after layout:",i.c(t));let p=0;return E(t).forEach(function(e){let n=t.node(e);a.l.info("Position "+e+": "+JSON.stringify(t.node(e))),a.l.info("Position "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?(0,l.p)(n):t.children(e).length>0?(S(g,n),h[n.id].node=n):(0,l.p)(n)}),t.edges().forEach(function(e){let r=t.edge(e);a.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r),r);let i=(0,l.g)(f,e,r,h,n,t,d);(0,l.h)(r,i)}),t.nodes().forEach(function(e){let n=t.node(e);a.l.info(e,n.type,n.diff),"group"===n.type&&(p=n.diff)}),{elem:c,diff:p}},O=async(e,t,n,r,d)=>{(0,l.a)(e,n,r,d),(0,l.b)(),(0,l.d)(),D(),f(),a.l.warn("Graph at first:",JSON.stringify(i.c(t))),m(t),a.l.warn("Graph after:",JSON.stringify(i.c(t))),await B(e,t,r,d)}}}]); \ No newline at end of file diff --git a/_next/static/chunks/892.13ae97f413ae548b.js b/_next/static/chunks/892.13ae97f413ae548b.js deleted file mode 100644 index 789cc1e..0000000 --- a/_next/static/chunks/892.13ae97f413ae548b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[892],{87892:function(e,n,t){t.d(n,{bK:function(){return e6}});var r,o=t(79156),i=t(59220),u=t(27431),a=t(6964),c=t(23351),s=t(55247),f=t(57170),d=t(42521);class h{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,t=n._prev;t!==n;)e.push(JSON.stringify(t,v)),t=t._prev;return"["+e.join(", ")+"]"}}function l(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function v(e,n){if("_next"!==e&&"_prev"!==e)return n}var Z=a.Z(1);function g(e,n,t,r,i){var u=i?[]:void 0;return o.Z(e.inEdges(r.v),function(r){var o=e.edge(r),a=e.node(r.v);i&&u.push({v:r.v,w:r.w}),a.out-=o,p(n,t,a)}),o.Z(e.outEdges(r.v),function(r){var o=e.edge(r),i=r.w,u=e.node(i);u.in-=o,p(n,t,u)}),e.removeNode(r.v),u}function p(e,n,t){t.out?t.in?e[t.out-t.in+n].enqueue(t):e[e.length-1].enqueue(t):e[0].enqueue(t)}var b=t(64546),m=t(77524),w=t(70374),y=t(98111),_=function(e,n,t){for(var r=-1,o=e.length;++rn},x=t(76402),k=function(e){return e&&e.length?_(e,x.Z,E):void 0},j=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0},N=t(857),C=t(52110),I=t(50637),O=function(e,n){var t={};return n=(0,I.Z)(n,3),(0,C.Z)(e,function(e,r,o){(0,N.Z)(t,r,n(e,r,o))}),t},L=t(71180),M=function(e,n){return eMath.abs(u)*s?(a<0&&(s=-s),t=s*u/a,r=s):(u<0&&(c=-c),t=c,r=c*a/u),{x:o+t,y:i+r}}function D(e){var n=s.Z(f.Z(G(e)+1),function(){return[]});return o.Z(e.nodes(),function(t){var r=e.node(t),o=r.rank;L.Z(o)||(n[o][r.order]=t)}),n}function B(e,n,t,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=t,o.order=r),P(e,"border",o,n)}function G(e){return k(s.Z(e.nodes(),function(n){var t=e.node(n).rank;if(!L.Z(t))return t}))}function V(e,n){var t=S();try{return n()}finally{console.log(e+" time: "+(S()-t)+"ms")}}function z(e,n){return n()}function q(e,n,t,r,o,i){var u=o[n][i-1],a=P(e,"border",{width:0,height:0,rank:i,borderType:n},t);o[n][i]=a,e.setParent(a,r),u&&e.setEdge(u,a,{weight:1})}function U(e){o.Z(e.nodes(),function(n){Y(e.node(n))}),o.Z(e.edges(),function(n){Y(e.edge(n))})}function Y(e){var n=e.width;e.width=e.height,e.height=n}function $(e){e.y=-e.y}function J(e){var n=e.x;e.x=e.y,e.y=n}var K=function(e,n){return e&&e.length?_(e,(0,I.Z)(n,2),M):void 0};function W(e){var n={};o.Z(e.sources(),function t(r){var o=e.node(r);if(u.Z(n,r))return o.rank;n[r]=!0;var i=A(s.Z(e.outEdges(r),function(n){return t(n.w)-e.edge(n).minlen}));return(i===Number.POSITIVE_INFINITY||null==i)&&(i=0),o.rank=i})}function H(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function Q(e){var n,t,r=new d.k({directed:!1}),i=e.nodes()[0],u=e.nodeCount();for(r.setNode(i,{});o.Z(r.nodes(),function n(t){o.Z(e.nodeEdges(t),function(o){var i=o.v,u=t===i?o.w:i;r.hasNode(u)||H(e,o)||(r.setNode(u,{}),r.setEdge(t,u,{}),n(u))})}),r.nodeCount()-1?o[i?e[u]:u]:void 0}),eu=t(38364);a.Z(1),a.Z(1);var ea=t(88343),ec=t(23313),es=t(33918),ef=t(56052),ed=t(13795),eh=(0,t(42361).Z)("length"),el=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),ev="\ud800-\udfff",eZ="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",eg="\ud83c[\udffb-\udfff]",ep="[^"+ev+"]",eb="(?:\ud83c[\udde6-\uddff]){2}",em="[\ud800-\udbff][\udc00-\udfff]",ew="(?:"+eZ+"|"+eg+")?",ey="[\\ufe0e\\ufe0f]?",e_="(?:\\u200d(?:"+[ep,eb,em].join("|")+")"+ey+ew+")*",eE=RegExp(eg+"(?="+eg+")|(?:"+[ep+eZ+"?",eZ,eb,em,"["+ev+"]"].join("|")+")"+(ey+ew+e_),"g"),ex=function(e){for(var n=eE.lastIndex=0;eE.test(e);)++n;return n};function ek(e,n,t){ef.Z(n)||(n=[n]);var r=(e.isDirected()?e.successors:e.neighbors).bind(e),i=[],a={};return o.Z(n,function(n){if(!e.hasNode(n))throw Error("Graph does not have node: "+n);(function e(n,t,r,i,a,c){!u.Z(i,t)&&(i[t]=!0,r||c.push(t),o.Z(a(t),function(t){e(n,t,r,i,a,c)}),r&&c.push(t))})(e,n,"post"===t,a,r,i)}),i}function ej(e){n=e,t=new d.k().setGraph(n.graph()),o.Z(n.nodes(),function(e){t.setNode(e,n.node(e))}),o.Z(n.edges(),function(e){var r=t.edge(e.v,e.w)||{weight:0,minlen:1},o=n.edge(e);t.setEdge(e.v,e.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})}),W(e=t);var n,t,r,i,u=Q(e);for(eI(u),eN(u,e);r=eO(u);)i=eL(u,e,r),eM(u,e,r,i)}function eN(e,n){var t=ek(e,e.nodes(),"post");t=t.slice(0,t.length-1),o.Z(t,function(t){var r;r=e.node(t).parent,e.edge(t,r).cutvalue=eC(e,n,t)})}function eC(e,n,t){var r=e.node(t).parent,i=!0,u=n.edge(t,r),a=0;return u||(i=!1,u=n.edge(r,t)),a=u.weight,o.Z(n.nodeEdges(t),function(o){var u=o.v===t,c=u?o.w:o.v;if(c!==r){var s=u===i,f=n.edge(o).weight;if(a+=s?f:-f,e.hasEdge(t,c)){var d=e.edge(t,c).cutvalue;a+=s?-d:d}}}),a}function eI(e,n){arguments.length<2&&(n=e.nodes()[0]),function e(n,t,r,i,a){var c=r,s=n.node(i);return t[i]=!0,o.Z(n.neighbors(i),function(o){u.Z(t,o)||(r=e(n,t,r,o,i))}),s.low=c,s.lim=r++,a?s.parent=a:delete s.parent,r}(e,{},1,n)}function eO(e){return ei(e.edges(),function(n){return e.edge(n).cutvalue<0})}function eL(e,n,t){var r=t.v,o=t.w;n.hasEdge(r,o)||(r=t.w,o=t.v);var i=e.node(r),u=e.node(o),a=i,c=!1;return i.lim>u.lim&&(a=u,c=!0),K(eu.Z(n.edges(),function(n){return c===eA(e,e.node(n.v),a)&&c!==eA(e,e.node(n.w),a)}),function(e){return H(n,e)})}function eM(e,n,t,r){var i,u,a=t.v,c=t.w;e.removeEdge(a,c),e.setEdge(r.v,r.w,{}),eI(e),eN(e,n),i=ei(e.nodes(),function(e){return!n.node(e).parent}),u=(u=ek(e,i,"pre")).slice(1),o.Z(u,function(t){var r=e.node(t).parent,o=n.edge(t,r),i=!1;o||(o=n.edge(r,t),i=!0),n.node(t).rank=n.node(r).rank+(i?o.minlen:-o.minlen)})}function eA(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}Error(),t(65377),ej.initLowLimValues=eI,ej.initCutValues=eN,ej.calcCutValue=eC,ej.leaveEdge=eO,ej.enterEdge=eL,ej.exchangeEdges=eM;var eR=t(27942),eS=t(27720),eP=t(85811),eT=t(61572),eF=function(e,n,t){for(var r=-1,o=e.length,i=n.length,u={};++rn||i&&u&&c&&!a&&!s||r&&u&&c||!t&&c||!o)return 1;if(!r&&!i&&!s&&e=a)return c;return c*("desc"==t[r]?-1:1)}}return e.index-n.index},e$=function(e,n,t){n=n.length?(0,eB.Z)(n,function(e){return(0,ef.Z)(e)?function(n){return(0,eG.Z)(n,1===e.length?e[0]:e)}:e}):[x.Z];var r=-1;return n=(0,eB.Z)(n,(0,eq.Z)(I.Z)),ez((0,eV.Z)(e,function(e,t,o){return{criteria:(0,eB.Z)(n,function(n){return n(e)}),index:++r,value:e}}),function(e,n){return eY(e,n,t)})},eJ=t(19851),eK=t(61833),eW=(0,eJ.Z)(function(e,n){if(null==e)return[];var t=n.length;return t>1&&(0,eK.Z)(e,n[0],n[1])?n=[]:t>2&&(0,eK.Z)(n[0],n[1],n[2])&&(n=[n[0]]),e$(e,(0,eD.Z)(n,1),[])});function eH(e,n,t){for(var r;n.length&&(r=j(n)).i<=t;)n.pop(),e.push(r.vs),t++;return t}function eQ(e,n,t){return s.Z(n,function(n){var r,a;return r=function(e){for(var n;e.hasNode(n=i.Z("_root")););return n}(e),a=new d.k({compound:!0}).setGraph({root:r}).setDefaultNodeLabel(function(n){return e.node(n)}),o.Z(e.nodes(),function(i){var c=e.node(i),s=e.parent(i);(c.rank===n||c.minRank<=n&&n<=c.maxRank)&&(a.setNode(i),a.setParent(i,s||r),o.Z(e[t](i),function(n){var t=n.v===i?n.w:n.v,r=a.edge(t,i),o=L.Z(r)?0:r.weight;a.setEdge(t,i,{weight:e.edge(n).weight+o})}),u.Z(c,"minRank")&&a.setNode(i,{borderLeft:c.borderLeft[n],borderRight:c.borderRight[n]}))}),a})}function eX(e,n){o.Z(n,function(n){o.Z(n,function(n,t){e.node(n).order=t})})}var e0=t(53496),e1=t(29148),e2=t(32817);function e3(e,n,t){if(n>t){var r=n;n=t,t=r}var o=e[n];o||(e[n]=o={}),o[t]=!0}function e6(e,n){var t=n&&n.debugTiming?V:z;t("layout",function(){var n=t(" buildLayoutGraph",function(){var n,t;return n=new d.k({multigraph:!0,compound:!0}),t=no(e.graph()),n.setGraph(b.Z({},e7,nr(t,e5),m.Z(t,e4))),o.Z(e.nodes(),function(t){var r=no(e.node(t));n.setNode(t,w.Z(nr(r,e8),e9)),n.setParent(t,e.parent(t))}),o.Z(e.edges(),function(t){var r=no(e.edge(t));n.setEdge(t,b.Z({},nn,nr(r,ne),m.Z(r,nt)))}),n});t(" runLayout",function(){t(" makeSpaceForEdgeLabels",function(){var e;e=n.graph(),e.ranksep/=2,o.Z(n.edges(),function(t){var r=n.edge(t);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}),t(" removeSelfEdges",function(){o.Z(n.edges(),function(e){if(e.v===e.w){var t=n.node(e.v);t.selfEdges||(t.selfEdges=[]),t.selfEdges.push({e:e,label:n.edge(e)}),n.removeEdge(e)}})}),t(" acyclic",function(){var e,t,r,a;e="greedy"===n.graph().acyclicer?function(e,n){if(1>=e.nodeCount())return[];var t,r,i,u,a,l,v=(t=n||Z,r=new d.k,i=0,u=0,o.Z(e.nodes(),function(e){r.setNode(e,{v:e,in:0,out:0})}),o.Z(e.edges(),function(e){var n=r.edge(e.v,e.w)||0,o=t(e);r.setEdge(e.v,e.w,n+o),u=Math.max(u,r.node(e.v).out+=o),i=Math.max(i,r.node(e.w).in+=o)}),a=f.Z(u+i+3).map(function(){return new h}),l=i+1,o.Z(r.nodes(),function(e){p(a,l,r.node(e))}),{graph:r,buckets:a,zeroIdx:l}),b=function(e,n,t){for(var r,o=[],i=n[n.length-1],u=n[0];e.nodeCount();){for(;r=u.dequeue();)g(e,n,t,r);for(;r=i.dequeue();)g(e,n,t,r);if(e.nodeCount()){for(var a=n.length-2;a>0;--a)if(r=n[a].dequeue()){o=o.concat(g(e,n,t,r,!0));break}}}return o}(v.graph,v.buckets,v.zeroIdx);return c.Z(s.Z(b,function(n){return e.outEdges(n.v,n.w)}))}(n,function(e){return n.edge(e).weight}):(t=[],r={},a={},o.Z(n.nodes(),function e(i){u.Z(a,i)||(a[i]=!0,r[i]=!0,o.Z(n.outEdges(i),function(n){u.Z(r,n.w)?t.push(n):e(n.w)}),delete r[i])}),t),o.Z(e,function(e){var t=n.edge(e);n.removeEdge(e),t.forwardName=e.name,t.reversed=!0,n.setEdge(e.w,e.v,t,i.Z("rev"))})}),t(" nestingGraph.run",function(){var e,t,r,i,u;e=P(n,"root",{},"_root"),u={},o.Z(n.children(),function(e){!function e(t,r){var i=n.children(t);i&&i.length&&o.Z(i,function(n){e(n,r+1)}),u[t]=r}(e,1)}),r=2*(t=k(eR.Z(u))-1)+1,n.graph().nestingRoot=e,o.Z(n.edges(),function(e){n.edge(e).minlen*=r}),i=eS.Z(n.edges(),function(e,t){return e+n.edge(t).weight},0)+1,o.Z(n.children(),function(a){(function e(n,t,r,i,u,a,c){var s=n.children(c);if(!s.length){c!==t&&n.setEdge(t,c,{weight:0,minlen:r});return}var f=B(n,"_bt"),d=B(n,"_bb"),h=n.node(c);n.setParent(f,c),h.borderTop=f,n.setParent(d,c),h.borderBottom=d,o.Z(s,function(o){e(n,t,r,i,u,a,o);var s=n.node(o),h=s.borderTop?s.borderTop:o,l=s.borderBottom?s.borderBottom:o,v=s.borderTop?i:2*i,Z=h!==l?1:u-a[c]+1;n.setEdge(f,h,{weight:v,minlen:Z,nestingEdge:!0}),n.setEdge(l,d,{weight:v,minlen:Z,nestingEdge:!0})}),n.parent(c)||n.setEdge(t,f,{weight:0,minlen:u+a[c]})})(n,e,r,i,t,u,a)}),n.graph().nodeRankFactor=r}),t(" rank",function(){!function(e){switch(e.graph().ranker){case"network-simplex":default:ej(e);break;case"tight-tree":W(e),Q(e);break;case"longest-path":W(e)}}(T(n))}),t(" injectEdgeLabelProxies",function(){o.Z(n.edges(),function(e){var t=n.edge(e);if(t.width&&t.height){var r=n.node(e.v),o={rank:(n.node(e.w).rank-r.rank)/2+r.rank,e:e};P(n,"edge-proxy",o,"_ep")}})}),t(" removeEmptyRanks",function(){var e,t,r,i;e=A(s.Z(n.nodes(),function(e){return n.node(e).rank})),t=[],o.Z(n.nodes(),function(r){var o=n.node(r).rank-e;t[o]||(t[o]=[]),t[o].push(r)}),r=0,i=n.graph().nodeRankFactor,o.Z(t,function(e,t){L.Z(e)&&t%i!=0?--r:r&&o.Z(e,function(e){n.node(e).rank+=r})})}),t(" nestingGraph.cleanup",function(){var e;e=n.graph(),n.removeNode(e.nestingRoot),delete e.nestingRoot,o.Z(n.edges(),function(e){n.edge(e).nestingEdge&&n.removeEdge(e)})}),t(" normalizeRanks",function(){var e;e=A(s.Z(n.nodes(),function(e){return n.node(e).rank})),o.Z(n.nodes(),function(t){var r=n.node(t);u.Z(r,"rank")&&(r.rank-=e)})}),t(" assignRankMinMax",function(){var e;e=0,o.Z(n.nodes(),function(t){var r=n.node(t);r.borderTop&&(r.minRank=n.node(r.borderTop).rank,r.maxRank=n.node(r.borderBottom).rank,e=k(e,r.maxRank))}),n.graph().maxRank=e}),t(" removeEdgeLabelProxies",function(){o.Z(n.nodes(),function(e){var t=n.node(e);"edge-proxy"===t.dummy&&(n.edge(t.e).labelRank=t.rank,n.removeNode(e))})}),t(" normalize.run",function(){n.graph().dummyChains=[],o.Z(n.edges(),function(e){(function(e,n){var t,r,o,i=n.v,u=e.node(i).rank,a=n.w,c=e.node(a).rank,s=n.name,f=e.edge(n),d=f.labelRank;if(c!==u+1){for(e.removeEdge(n),o=0,++u;uc||s>n[o].lim));for(i=o,o=r;(o=e.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,e,o.v,o.w),u=i.path,a=i.lca,c=0,s=u[0],f=!0;t!==o.w;){if(r=n.node(t),f){for(;(s=u[c])!==a&&n.node(s).maxRank=e.barycenter)&&function(e,n){var t=0,r=0;e.weight&&(t+=e.barycenter*e.weight,r+=e.weight),n.weight&&(t+=n.barycenter*n.weight,r+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=t/r,e.weight=r,e.i=Math.min(n.i,e.i),n.merged=!0}(e,n)}}(t)),o.Z(t.out,function(n){return function(t){t.in.push(n),0==--t.indegree&&e.push(t)}}(t))}return s.Z(eu.Z(n,function(e){return!e.merged}),function(e){return m.Z(e,["vs","i","barycenter","weight"])})}(eu.Z(f,function(e){return!e.indegree})));(function(e,n){o.Z(e,function(e){e.vs=c.Z(e.vs.map(function(e){return n[e]?n[e].vs:e}))})})(j,x);var N=(h=(d={lhs:[],rhs:[]},o.Z(j,function(e){u.Z(e,"barycenter")?d.lhs.push(e):d.rhs.push(e)}),d).lhs,l=eW(d.rhs,function(e){return-e.i}),v=[],Z=0,g=0,p=0,h.sort(function(e){return function(n,t){return n.barycentert.barycenter?1:e?t.i-n.i:n.i-t.i}}(!!i)),p=eH(v,l,p),o.Z(h,function(e){p+=e.vs.length,v.push(e.vs),Z+=e.barycenter*e.weight,g+=e.weight,p=eH(v,l,p)}),b={vs:c.Z(v)},g&&(b.barycenter=Z/g,b.weight=g),b);if(_&&(N.vs=c.Z([_,N.vs,E]),n.predecessors(_).length)){var C=n.node(n.predecessors(_)[0]),I=n.node(n.predecessors(E)[0]);u.Z(N,"barycenter")||(N.barycenter=0,N.weight=0),N.barycenter=(N.barycenter*N.weight+C.order+I.order)/(N.weight+2),N.weight+=2}return N}(e,f,t,n);o.Z(d.vs,function(n,t){e.node(n).order=t}),r=d.vs,a={},o.Z(r,function(n){for(var r,o,u=e.parent(n);u;){if((r=e.parent(u))?(o=a[r],a[r]=u):(o=i,i=u),o&&o!==u){t.setEdge(o,u);return}u=r}})})})(b%2?t:r,b%4>=2),i=D(e);var y,_=function(e,n){for(var t=0,r=1;r0;)n%2&&(t+=f[n+1]),n=n-1>>1,f[n]+=e.weight;d+=e.weight*t})),d}(e,n[r-1],n[r]);return t}(e,i);_a)&&e3(t,n,c)})})}return eS.Z(n,function(n,t){var i,u=-1,a=0;return o.Z(t,function(o,c){if("border"===e.node(o).dummy){var s=e.predecessors(o);s.length&&(i=e.node(s[0]).order,r(t,a,c,u,i),a=c,u=i)}r(t,a,t.length,i,n.length)}),t}),t}(t,i)),h={},o.Z(["u","d"],function(e){r="u"===e?i:eR.Z(i).reverse(),o.Z(["l","r"],function(n){"r"===n&&(r=s.Z(r,function(e){return eR.Z(e).reverse()}));var i,a,f,l,v=("u"===e?t.predecessors:t.successors).bind(t),Z=(i=r,a={},f={},l={},o.Z(i,function(e){o.Z(e,function(e,n){a[e]=e,f[e]=e,l[e]=n})}),o.Z(i,function(e){var n=-1;o.Z(e,function(e){var t=v(e);if(t.length)for(var r=((t=eW(t,function(e){return l[e]})).length-1)/2,o=Math.floor(r),i=Math.ceil(r);o<=i;++o){var s=t[o];f[e]===e&&nt){var r=n;n=t,t=r}return u.Z(e[n],t)}(c,e,s)&&(f[s]=e,f[e]=a[e]=a[s],n=l[s])}})}),{root:a,align:f}),g=function(e,n,t,r,i){var a,c,s,f,h,l={},v=(s=new d.k,a=(f=e.graph()).nodesep,c=f.edgesep,h=function(e,n,t){var r,o,s=e.node(n),f=e.node(t);if(r=0+s.width/2,u.Z(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":o=-s.width/2;break;case"r":o=s.width/2}if(o&&(r+=i?o:-o),o=0,r+=(s.dummy?c:a)/2+(f.dummy?c:a)/2+f.width/2,u.Z(f,"labelpos"))switch(f.labelpos.toLowerCase()){case"l":o=f.width/2;break;case"r":o=-f.width/2}return o&&(r+=i?o:-o),o=0,r},o.Z(n,function(n){var r;o.Z(n,function(n){var o=t[n];if(s.setNode(o),r){var i=t[r],u=s.edge(i,o);s.setEdge(i,o,Math.max(h(e,n,r),u||0))}r=n})}),s),Z=i?"borderLeft":"borderRight";function g(e,n){for(var t=v.nodes(),r=t.pop(),o={};r;)o[r]?e(r):(o[r]=!0,t.push(r),t=t.concat(n(r))),r=t.pop()}return g(function(e){l[e]=v.inEdges(e).reduce(function(e,n){return Math.max(e,l[n.v]+v.edge(n))},0)},v.predecessors.bind(v)),g(function(n){var t=v.outEdges(n).reduce(function(e,n){return Math.min(e,l[n.w]-v.edge(n))},Number.POSITIVE_INFINITY),r=e.node(n);t!==Number.POSITIVE_INFINITY&&r.borderType!==Z&&(l[n]=Math.max(l[n],t))},v.successors.bind(v)),o.Z(r,function(e){l[e]=l[t[e]]}),l}(t,r,Z.root,Z.align,"r"===n);"r"===n&&(g=O(g,function(e){return-e})),h[e+n]=g})}),l=K(eR.Z(h),function(e){var n=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;return null==e||(0,e1.Z)(e,(0,e0.Z)(function(e,o){var i=t.node(o).width/2;n=Math.max(e+i,n),r=Math.min(e-i,r)}),e2.Z),n-r}),Z=A(v=eR.Z(l)),g=k(v),o.Z(["u","d"],function(e){o.Z(["l","r"],function(n){var t,r=e+n,o=h[r];if(o!==l){var i=eR.Z(o);(t="l"===n?Z-A(i):g-k(i))&&(h[r]=O(o,function(e){return e+t}))}})}),p=t.graph().align,(m=O(h.ul,function(e,n){if(p)return h[p.toLowerCase()][n];var t=eW(s.Z(h,n));return(t[1]+t[2])/2}))&&(0,C.Z)(m,(0,e0.Z)(function(n,t){e.node(t).x=n}))}),t(" positionSelfEdges",function(){o.Z(n.nodes(),function(e){var t=n.node(e);if("selfedge"===t.dummy){var r=n.node(t.e.v),o=r.x+r.width/2,i=r.y,u=t.x-o,a=r.height/2;n.setEdge(t.e,t.label),n.removeNode(e),t.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}],t.label.x=t.x,t.label.y=t.y}})}),t(" removeBorderNodes",function(){o.Z(n.nodes(),function(e){if(n.children(e).length){var t=n.node(e),r=n.node(t.borderTop),o=n.node(t.borderBottom),i=n.node(j(t.borderLeft)),u=n.node(j(t.borderRight));t.width=Math.abs(u.x-i.x),t.height=Math.abs(o.y-r.y),t.x=i.x+t.width/2,t.y=r.y+t.height/2}}),o.Z(n.nodes(),function(e){"border"===n.node(e).dummy&&n.removeNode(e)})}),t(" normalize.undo",function(){o.Z(n.graph().dummyChains,function(e){var t,r=n.node(e),o=r.edgeLabel;for(n.setEdge(r.edgeObj,o);r.dummy;)t=n.successors(e)[0],n.removeNode(e),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),e=t,r=n.node(e)})}),t(" fixupEdgeLabelCoords",function(){o.Z(n.edges(),function(e){var t=n.edge(e);if(u.Z(t,"x"))switch(("l"===t.labelpos||"r"===t.labelpos)&&(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset}})}),t(" undoCoordinateSystem",function(){var e;("bt"===(e=n.graph().rankdir.toLowerCase())||"rl"===e)&&(o.Z(n.nodes(),function(e){$(n.node(e))}),o.Z(n.edges(),function(e){var t=n.edge(e);o.Z(t.points,$),u.Z(t,"y")&&$(t)})),("lr"===e||"rl"===e)&&(o.Z(n.nodes(),function(e){J(n.node(e))}),o.Z(n.edges(),function(e){var t=n.edge(e);o.Z(t.points,J),u.Z(t,"x")&&J(t)}),U(n))}),t(" translateGraph",function(){(function(e){var n=Number.POSITIVE_INFINITY,t=0,r=Number.POSITIVE_INFINITY,i=0,a=e.graph(),c=a.marginx||0,s=a.marginy||0;function f(e){var o=e.x,u=e.y,a=e.width,c=e.height;n=Math.min(n,o-a/2),t=Math.max(t,o+a/2),r=Math.min(r,u-c/2),i=Math.max(i,u+c/2)}o.Z(e.nodes(),function(n){f(e.node(n))}),o.Z(e.edges(),function(n){var t=e.edge(n);u.Z(t,"x")&&f(t)}),n-=c,r-=s,o.Z(e.nodes(),function(t){var o=e.node(t);o.x-=n,o.y-=r}),o.Z(e.edges(),function(t){var i=e.edge(t);o.Z(i.points,function(e){e.x-=n,e.y-=r}),u.Z(i,"x")&&(i.x-=n),u.Z(i,"y")&&(i.y-=r)}),a.width=t-n+c,a.height=i-r+s})(n)}),t(" assignNodeIntersects",function(){o.Z(n.edges(),function(e){var t,r,o=n.edge(e),i=n.node(e.v),u=n.node(e.w);o.points?(t=o.points[0],r=o.points[o.points.length-1]):(o.points=[],t=u,r=i),o.points.unshift(F(i,t)),o.points.push(F(u,r))})}),t(" reversePoints",function(){o.Z(n.edges(),function(e){var t=n.edge(e);t.reversed&&t.points.reverse()})}),t(" acyclic.undo",function(){o.Z(n.edges(),function(e){var t=n.edge(e);if(t.reversed){n.removeEdge(e);var r=t.forwardName;delete t.reversed,delete t.forwardName,n.setEdge(e.w,e.v,t,r)}})})}),t(" updateInputGraph",function(){o.Z(e.nodes(),function(t){var r=e.node(t),o=n.node(t);r&&(r.x=o.x,r.y=o.y,n.children(t).length&&(r.width=o.width,r.height=o.height))}),o.Z(e.edges(),function(t){var r=e.edge(t),o=n.edge(t);r.points=o.points,u.Z(o,"x")&&(r.x=o.x,r.y=o.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height})})}var e5=["nodesep","edgesep","ranksep","marginx","marginy"],e7={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},e4=["acyclicer","ranker","rankdir","align"],e8=["width","height"],e9={width:0,height:0},ne=["minlen","weight","width","height","labeloffset"],nn={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},nt=["labelpos"];function nr(e,n){return O(m.Z(e,n),Number)}function no(e){var n={};return o.Z(e,function(e,t){n[t.toLowerCase()]=e}),n}},65377:function(e,n,t){t.d(n,{k:function(){return C}});var r=t(27431),o=t(6964),i=t(88987),u=t(77251),a=t(38364),c=t(15943),s=t(79156),f=t(71180),d=t(84887),h=t(19851),l=t(61694),v=t(57394),Z=function(e){return e!=e},g=function(e,n,t){for(var r=t-1,o=e.length;++r-1},b=function(e,n,t){for(var r=-1,o=null==e?0:e.length;++r=200){var s=n?null:_(e);if(s)return(0,y.Z)(s);u=!1,o=m.Z,c=new l.Z}else c=n?[]:a;e:for(;++r1?r.setNode(e,n):r.setNode(e)}),this}setNode(e,n){return r.Z(this._nodes,e)?arguments.length>1&&(this._nodes[e]=n):(this._nodes[e]=arguments.length>1?n:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\x00",this._children[e]={},this._children["\x00"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount),this}node(e){return this._nodes[e]}hasNode(e){return r.Z(this._nodes,e)}removeNode(e){var n=this;if(r.Z(this._nodes,e)){var t=function(e){n.removeEdge(n._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],s.Z(this.children(e),function(e){n.setParent(e)}),delete this._children[e]),s.Z(u.Z(this._in[e]),t),delete this._in[e],delete this._preds[e],s.Z(u.Z(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,n){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(f.Z(n))n="\x00";else{n+="";for(var t=n;!f.Z(t);t=this.parent(t))if(t===e)throw Error("Setting "+n+" as parent of "+e+" would create a cycle");this.setNode(n)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=n,this._children[n][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var n=this._parent[e];if("\x00"!==n)return n}}children(e){if(f.Z(e)&&(e="\x00"),this._isCompound){var n=this._children[e];if(n)return u.Z(n)}else if("\x00"===e)return this.nodes();else if(this.hasNode(e))return[]}predecessors(e){var n=this._preds[e];if(n)return u.Z(n)}successors(e){var n=this._sucs[e];if(n)return u.Z(n)}neighbors(e){var n=this.predecessors(e);if(n)return k(n,this.successors(e))}isLeaf(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length}filterNodes(e){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var t=this;s.Z(this._nodes,function(t,r){e(r)&&n.setNode(r,t)}),s.Z(this._edgeObjs,function(e){n.hasNode(e.v)&&n.hasNode(e.w)&&n.setEdge(e,t.edge(e))});var r={};return this._isCompound&&s.Z(n.nodes(),function(e){n.setParent(e,function e(o){var i=t.parent(o);return void 0===i||n.hasNode(i)?(r[o]=i,i):i in r?r[i]:e(i)}(e))}),n}setDefaultEdgeLabel(e){return i.Z(e)||(e=o.Z(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return j.Z(this._edgeObjs)}setPath(e,n){var t=this,r=arguments;return N.Z(e,function(e,o){return r.length>1?t.setEdge(e,o,n):t.setEdge(e,o),o}),this}setEdge(){var e,n,t,o,i=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(e=u.v,n=u.w,t=u.name,2==arguments.length&&(o=arguments[1],i=!0)):(e=u,n=arguments[1],t=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),e=""+e,n=""+n,f.Z(t)||(t=""+t);var a=L(this._isDirected,e,n,t);if(r.Z(this._edgeLabels,a))return i&&(this._edgeLabels[a]=o),this;if(!f.Z(t)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(n),this._edgeLabels[a]=i?o:this._defaultEdgeLabelFn(e,n,t);var c=function(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}var a={v:o,w:i};return r&&(a.name=r),a}(this._isDirected,e,n,t);return e=c.v,n=c.w,Object.freeze(c),this._edgeObjs[a]=c,I(this._preds[n],e),I(this._sucs[e],n),this._in[n][a]=c,this._out[e][a]=c,this._edgeCount++,this}edge(e,n,t){var r=1==arguments.length?M(this._isDirected,arguments[0]):L(this._isDirected,e,n,t);return this._edgeLabels[r]}hasEdge(e,n,t){var o=1==arguments.length?M(this._isDirected,arguments[0]):L(this._isDirected,e,n,t);return r.Z(this._edgeLabels,o)}removeEdge(e,n,t){var r=1==arguments.length?M(this._isDirected,arguments[0]):L(this._isDirected,e,n,t),o=this._edgeObjs[r];return o&&(e=o.v,n=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],O(this._preds[n],e),O(this._sucs[e],n),delete this._in[n][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,n){var t=this._in[e];if(t){var r=j.Z(t);return n?a.Z(r,function(e){return e.v===n}):r}}outEdges(e,n){var t=this._out[e];if(t){var r=j.Z(t);return n?a.Z(r,function(e){return e.w===n}):r}}nodeEdges(e,n){var t=this.inEdges(e,n);if(t)return t.concat(this.outEdges(e,n))}}function I(e,n){e[n]?e[n]++:e[n]=1}function O(e,n){--e[n]||delete e[n]}function L(e,n,t,r){var o=""+n,i=""+t;if(!e&&o>i){var u=o;o=i,i=u}return o+"\x01"+i+"\x01"+(f.Z(r)?"\x00":r)}function M(e,n){return L(e,n.v,n.w,n.name)}C.prototype._nodeCount=0,C.prototype._edgeCount=0},42521:function(e,n,t){t.d(n,{k:function(){return r.k}});var r=t(65377)},61694:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(91380);function o(e){var n=-1,t=null==e?0:e.length;for(this.__data__=new r.Z;++n0&&o(f)?t>1?e(f,t-1,o,i,u):(0,r.Z)(u,f):i||(u[u.length]=f)}return u}},52110:function(e,n,t){var r=t(29148),o=t(77251);n.Z=function(e,n){return e&&(0,r.Z)(e,n,o.Z)}},49084:function(e,n,t){var r=t(78822),o=t(13383);n.Z=function(e,n){n=(0,r.Z)(n,e);for(var t=0,i=n.length;null!=e&&tf))return!1;var h=c.get(e),l=c.get(n);if(h&&l)return h==n&&l==e;var v=-1,Z=!0,g=2&t?new o.Z:void 0;for(c.set(e,n),c.set(n,e);++v2?n[2]:void 0;for(s&&(0,i.Z)(n[0],n[1],s)&&(r=1);++t0))&&(o=l.y-r.y,i=r.x-l.x,c=l.x*r.y-r.x*l.y,d=o*e.x+i*e.y+c,p=o*t.x+i*t.y+c,!(0!==d&&0!==p&&d*p>0)&&0!=(f=a*i-o*n)))return h=Math.abs(f/2),{x:(g=n*c-i*s)<0?(g-h)/f:(g+h)/f,y:(g=o*s-a*c)<0?(g-h)/f:(g+h)/f}}(e,r,{x:s+p.x,y:c+p.y},{x:s+u.x,y:c+u.y});b&&o.push(b)}return o.length?(o.length>1&&o.sort(function(e,t){var l=e.x-r.x,a=e.y-r.y,o=Math.sqrt(l*l+a*a),n=t.x-r.x,i=t.y-r.y,s=Math.sqrt(n*n+i*i);return oMath.abs(n)*c?(i<0&&(c=-c),r=0===i?0:c*n/i,l=c):(n<0&&(s=-s),r=s,l=0===n?0:s*i/n),{x:a+r,y:o+l}}a.c_6;var y=r(92887);function w(e,t,r,l){return e.insert("polygon",":first-child").attr("points",l.map(function(e){return e.x+","+e.y}).join(" ")).attr("transform","translate("+-t/2+","+r/2+")")}r(5726),r(91088),r(95591),r(52070);let x={},k=function(e){for(let t of Object.keys(e))x[t]=e[t]},v={parser:l.p,db:l.f,renderer:y.f,styles:y.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,k(e.flowchart),l.f.clear(),l.f.setGen("gen-1")}}},92887:function(e,t,r){r.d(t,{a:function(){return w},f:function(){return g}});var l=r(42521),a=r(27509),o=r(71421),n=r(83880),i=r(91584),s=r(19324),c=r(73660),d=(e,t)=>s.Z.lang.round(c.Z.parse(e)[t]),p=r(78139);let u={},b=function(e,t,r,l,a,n){let s=l.select(`[id="${r}"]`);Object.keys(e).forEach(function(r){let l;let c=e[r],d="default";c.classes.length>0&&(d=c.classes.join(" ")),d+=" flowchart-label";let p=(0,o.k)(c.styles),u=void 0!==c.text?c.text:c.id;if(o.l.info("vertex",c,c.labelType),"markdown"===c.labelType)o.l.info("vertex",c,c.labelType);else if((0,o.m)((0,o.c)().flowchart.htmlLabels)){let e={label:u.replace(/fa[blrs]?:fa-[\w-]+/g,e=>``)};(l=(0,i.a)(s,e).node()).parentNode.removeChild(l)}else{let e=a.createElementNS("http://www.w3.org/2000/svg","text");for(let t of(e.setAttribute("style",p.labelStyle.replace("color:","fill:")),u.split(o.e.lineBreakRegex))){let r=a.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","1"),r.textContent=t,e.appendChild(r)}l=e}let b=0,f="";switch(c.type){case"round":b=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}t.setNode(c.id,{labelStyle:p.labelStyle,shape:f,labelText:u,labelType:c.labelType,rx:b,ry:b,class:d,style:p.style,id:c.id,link:c.link,linkTarget:c.linkTarget,tooltip:n.db.getTooltip(c.id)||"",domId:n.db.lookUpDomId(c.id),haveCallback:c.haveCallback,width:"group"===c.type?500:void 0,dir:c.dir,type:c.type,props:c.props,padding:(0,o.c)().flowchart.padding}),o.l.info("setNode",{labelStyle:p.labelStyle,labelType:c.labelType,shape:f,labelText:u,rx:b,ry:b,class:d,style:p.style,id:c.id,domId:n.db.lookUpDomId(c.id),width:"group"===c.type?500:void 0,type:c.type,dir:c.dir,props:c.props,padding:(0,o.c)().flowchart.padding})})},f=function(e,t,r){let l,n;o.l.info("abc78 edges = ",e);let i=0,s={};if(void 0!==e.defaultStyle){let t=(0,o.k)(e.defaultStyle);l=t.style,n=t.labelStyle}e.forEach(function(r){i++;let c="L-"+r.start+"-"+r.end;void 0===s[c]?s[c]=0:s[c]++,o.l.info("abc78 new entry",c,s[c]);let d=c+"-"+s[c];o.l.info("abc78 new link id to be used is",c,d,s[c]);let p="LS-"+r.start,b="LE-"+r.end,f={style:"",labelStyle:""};switch(f.minlen=r.length||1,"arrow_open"===r.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",r.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let h="",g="";switch(r.stroke){case"normal":h="fill:none;",void 0!==l&&(h=l),void 0!==n&&(g=n),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==r.style){let e=(0,o.k)(r.style);h=e.style,g=e.labelStyle}f.style=f.style+=h,f.labelStyle=f.labelStyle+=g,void 0!==r.interpolate?f.curve=(0,o.n)(r.interpolate,a.c_6):void 0!==e.defaultInterpolate?f.curve=(0,o.n)(e.defaultInterpolate,a.c_6):f.curve=(0,o.n)(u.curve,a.c_6),void 0===r.text?void 0!==r.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=r.labelType,f.label=r.text.replace(o.e.lineBreakRegex,"\n"),void 0===r.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=d,f.classes="flowchart-link "+p+" "+b,t.setEdge(r.start,r.end,f,i)})},h=async function(e,t,r,i){let s,c;o.l.info("Drawing flowchart");let d=i.db.getDirection();void 0===d&&(d="TD");let{securityLevel:p,flowchart:u}=(0,o.c)(),h=u.nodeSpacing||50,g=u.rankSpacing||50;"sandbox"===p&&(s=(0,a.Ys)("#i"+t));let y="sandbox"===p?(0,a.Ys)(s.nodes()[0].contentDocument.body):(0,a.Ys)("body"),w="sandbox"===p?s.nodes()[0].contentDocument:document,x=new l.k({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:h,ranksep:g,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}}),k=i.db.getSubGraphs();o.l.info("Subgraphs - ",k);for(let e=k.length-1;e>=0;e--)c=k[e],o.l.info("Subgraph - ",c),i.db.addVertex(c.id,{text:c.title,type:c.labelType},"group",void 0,c.classes,c.dir);let v=i.db.getVertices(),m=i.db.getEdges();o.l.info("Edges",m);let T=0;for(T=k.length-1;T>=0;T--){c=k[T],(0,a.td_)("cluster").append("text");for(let e=0;e{let r=d(e,"r"),l=d(e,"g"),a=d(e,"b");return p.Z(r,l,a,t)},w=e=>`.label { + font-family: ${e.fontFamily}; + color: ${e.nodeTextColor||e.textColor}; + } + .cluster-label text { + fill: ${e.titleColor}; + } + .cluster-label span,p { + color: ${e.titleColor}; + } + + .label text,span,p { + fill: ${e.nodeTextColor||e.textColor}; + color: ${e.nodeTextColor||e.textColor}; + } + + .node rect, + .node circle, + .node ellipse, + .node polygon, + .node path { + fill: ${e.mainBkg}; + stroke: ${e.nodeBorder}; + stroke-width: 1px; + } + .flowchart-label text { + text-anchor: middle; + } + // .flowchart-label .text-outer-tspan { + // text-anchor: middle; + // } + // .flowchart-label .text-inner-tspan { + // text-anchor: start; + // } + + .node .label { + text-align: center; + } + .node.clickable { + cursor: pointer; + } + + .arrowheadPath { + fill: ${e.arrowheadColor}; + } + + .edgePath .path { + stroke: ${e.lineColor}; + stroke-width: 2.0px; + } + + .flowchart-link { + stroke: ${e.lineColor}; + fill: none; + } + + .edgeLabel { + background-color: ${e.edgeLabelBackground}; + rect { + opacity: 0.5; + background-color: ${e.edgeLabelBackground}; + fill: ${e.edgeLabelBackground}; + } + text-align: center; + } + + /* For html labels only */ + .labelBkg { + background-color: ${y(e.edgeLabelBackground,.5)}; + // background-color: + } + + .cluster rect { + fill: ${e.clusterBkg}; + stroke: ${e.clusterBorder}; + stroke-width: 1px; + } + + .cluster text { + fill: ${e.titleColor}; + } + + .cluster span,p { + color: ${e.titleColor}; + } + /* .cluster div { + color: ${e.titleColor}; + } */ + + div.mermaidTooltip { + position: absolute; + text-align: center; + max-width: 200px; + padding: 2px; + font-family: ${e.fontFamily}; + font-size: 12px; + background: ${e.tertiaryColor}; + border: 1px solid ${e.border2}; + border-radius: 2px; + pointer-events: none; + z-index: 100; + } + + .flowchartTitleText { + text-anchor: middle; + font-size: 18px; + fill: ${e.textColor}; + } +`}}]); \ No newline at end of file diff --git a/_next/static/chunks/909-c26be64942002469.js b/_next/static/chunks/909-c26be64942002469.js deleted file mode 100644 index f212f3a..0000000 --- a/_next/static/chunks/909-c26be64942002469.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[909],{35554:function(t,e,n){var r,o="__lodash_hash_undefined__",a=1/0,i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,u=/^\./,l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,h="object"==typeof self&&self&&self.Object===Object&&self,d=f||h||Function("return this")(),g=Array.prototype,_=Function.prototype,y=Object.prototype,b=d["__core-js_shared__"],v=(r=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",w=_.toString,j=y.hasOwnProperty,m=y.toString,S=RegExp("^"+w.call(j).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=d.Symbol,O=g.splice,k=N(d,"Map"),C=N(Object,"create"),T=x?x.prototype:void 0,M=T?T.toString:void 0;function P(t){var e=-1,n=t?t.length:0;for(this.clear();++e-1},$.prototype.set=function(t,e){var n=this.__data__,r=I(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},E.prototype.clear=function(){this.__data__={hash:new P,map:new(k||$),string:new P}},E.prototype.delete=function(t){return L(this,t).delete(t)},E.prototype.get=function(t){return L(this,t).get(t)},E.prototype.has=function(t){return L(this,t).has(t)},E.prototype.set=function(t,e){return L(this,t).set(t,e),this};var J=R(function(t){t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(F(t))return M?M.call(t):"";var e=t+"";return"0"==e&&1/t==-a?"-0":e}(e);var e,n=[];return u.test(t)&&n.push(""),t.replace(l,function(t,e,r,o){n.push(r?o.replace(s,"$1"):e||t)}),n});function R(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=t.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(R.Cache||E),n}R.Cache=E;var D=Array.isArray;function A(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function F(t){return"symbol"==typeof t||!!t&&"object"==typeof t&&"[object Symbol]"==m.call(t)}t.exports=function(t,e,n){var r=null==t?void 0:function(t,e){var n;e=!function(t,e){if(D(t))return!1;var n=typeof t;return!!("number"==n||"symbol"==n||"boolean"==n||null==t||F(t))||c.test(t)||!i.test(t)||null!=e&&t in Object(e)}(e,t)?D(n=e)?n:J(n):[e];for(var r=0,o=e.length;null!=t&&r{if(_(e)){let n=t.replace("/","");return[n,e.title||g(n)]}return[t,e||g(t)]}))}function b({pageNextRoute:t,pageOpts:e,nextraLayout:n,themeConfig:o,MDXContent:c,hot:u,pageOptsChecksum:l,dynamicMetaModules:s=[]}){var d;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(r)return r;let t=JSON.parse(JSON.stringify(g.pageMap));return await Promise.all(s.map(async([e,{metaObjectKeyPath:n,metaParentKeyPath:r}])=>{let o=await e,i=await o.default(),c=a()(t,n);c.data=i,function t(e,n,r=!0){if(r){t(e,{kind:"Meta",data:n.data,locale:n.locale},!1),n.data=y(n.data);return}for(let[r,a]of Object.entries(n.data)){if(!_(a)){var o;if("*"===r)continue;e.children.push({kind:"MdxPage",...n.locale&&{locale:n.locale},name:r,route:(o=e.route,h(f.join(o,r.replace(/^index$/,""))))});continue}let i=r.replace("/",""),c={kind:"Folder",name:i,route:`${e.route}/${i}`,children:[{kind:"Meta",...n.locale&&{locale:n.locale},data:y(a.items)}]};e.children.push(c),t(c,{kind:"Meta",data:a.items,locale:n.locale},!1)}}(a()(t,r),c)})),r=t});let g=globalThis[d=i.eZ]||(globalThis[d]=Object.create(null));return e.pageMap?(g.pageMap=e.pageMap,g.Layout=n):(e={...e,pageMap:g.pageMap,flexsearch:g.flexsearch},o=g.themeConfig),e={frontMatter:{},...e},g.route=e.route,g.context||(g.context=Object.create(null)),g.context[t]={Content:c,pageOpts:e,themeConfig:o},p}},94473:function(t){"use strict";t.exports=t=>{let e=/^\\\\\?\\/.test(t),n=/[^\u0000-\u0080]+/.test(t);return e||n?t:t.replace(/\\/g,"/")}},29378:function(t,e,n){let r=n(83587),o=n(72168),a="[^\\s'’\\(\\)!?;:\"-]",i=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${a}))|(${a}))(${a}*[’']*${a}*)`,"g"),c=t=>t.map(t=>[RegExp(`\\b${t}\\b`,"gi"),t]);t.exports=(t,e={})=>(t=t.toLowerCase().replace(i,(t,e="",n,o,a,i,c)=>{let u=t.length+i>=c.length,l=function(t){let e=t[0];return/\s/.test(e)?t.slice(1):/[\(\)]/.test(e)?null:t}(t);return l?!n&&r.has(o+a)&&!u?l:e+(o||n).toUpperCase()+a:t}),c([...o,...e.special||[]]).forEach(([e,n])=>{t=t.replace(e,n)}),t)},83587:function(t){t.exports=new Set(["for","and","nor","but","or","yet","so","a","an","the","aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"])},72168:function(t){t.exports=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS","SQL","C","C#","GraphQL","GraphiQL","JWT","JWTs"]},76067:function(t,e,n){n(11527)}}]); \ No newline at end of file diff --git a/_next/static/chunks/93.ed5a59a52996b943.js b/_next/static/chunks/93.9d55fadcd3990c3b.js similarity index 98% rename from _next/static/chunks/93.ed5a59a52996b943.js rename to _next/static/chunks/93.9d55fadcd3990c3b.js index 2271869..ab99361 100644 --- a/_next/static/chunks/93.ed5a59a52996b943.js +++ b/_next/static/chunks/93.9d55fadcd3990c3b.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93],{93093:function(e,t,s){s.d(t,{diagram:function(){return V}});var i=s(70227),a=s(42521),r=s(27509),o=s(71421),l=s(83880);s(5726),s(91088),s(95591),s(87892),s(39185);let d="rect",n="rectWithTitle",c="statediagram",p=`${c}-state`,b="transition",g=`${b} note-edge`,h=`${c}-note`,u=`${c}-cluster`,y=`${c}-cluster-alt`,f="parent",w="note",x="----",$=`${x}${w}`,m=`${x}${f}`,T="fill:none",S="fill: #333",k="text",D="normal",A={},v=0;function B(e="",t=0,s="",i=x){let a=null!==s&&s.length>0?`${i}${s}`:"";return`state-${e}${a}-${t}`}let E=(e,t,s,a,r,l)=>{var c;let b=s.id,x=null==(c=a[b])?"":c.classes?c.classes.join(" "):"";if("root"!==b){let t=d;!0===s.start&&(t="start"),!1===s.start&&(t="end"),s.type!==i.D&&(t=s.type),A[b]||(A[b]={id:b,shape:t,description:o.e.sanitizeText(b,(0,o.c)()),classes:`${x} ${p}`});let a=A[b];s.description&&(Array.isArray(a.description)?(a.shape=n,a.description.push(s.description)):a.description.length>0?(a.shape=n,a.description===b?a.description=[s.description]:a.description=[a.description,s.description]):(a.shape=d,a.description=s.description),a.description=o.e.sanitizeTextOrArray(a.description,(0,o.c)())),1===a.description.length&&a.shape===n&&(a.shape=d),!a.type&&s.doc&&(o.l.info("Setting cluster for ",b,C(s)),a.type="group",a.dir=C(s),a.shape=s.type===i.a?"divider":"roundedWithTitle",a.classes=a.classes+" "+u+" "+(l?y:""));let r={labelStyle:"",shape:a.shape,labelText:a.description,classes:a.classes,style:"",id:b,dir:a.dir,domId:B(b,v),type:a.type,padding:15};if(r.centerLabel=!0,s.note){let t={labelStyle:"",shape:"note",labelText:s.note.text,classes:h,style:"",id:b+$+"-"+v,domId:B(b,v,w),type:a.type,padding:15},i={labelStyle:"",shape:"noteGroup",labelText:s.note.text,classes:a.classes,style:"",id:b+m,domId:B(b,v,f),type:"group",padding:0};v++;let o=b+m;e.setNode(o,i),e.setNode(t.id,t),e.setNode(b,r),e.setParent(b,o),e.setParent(t.id,o);let l=b,d=t.id;"left of"===s.note.position&&(l=t.id,d=b),e.setEdge(l,d,{arrowhead:"none",arrowType:"",style:T,labelStyle:"",classes:g,arrowheadStyle:S,labelpos:"c",labelType:k,thickness:D})}else e.setNode(b,r)}t&&"root"!==t.id&&(o.l.trace("Setting node ",b," to be child of its parent ",t.id),e.setParent(b,t.id)),s.doc&&(o.l.trace("Adding nodes children "),N(e,s,s.doc,a,r,!l))},N=(e,t,s,a,r,l)=>{o.l.trace("items",s),s.forEach(s=>{switch(s.stmt){case i.b:case i.D:E(e,t,s,a,r,l);break;case i.S:{E(e,t,s.state1,a,r,l),E(e,t,s.state2,a,r,l);let i={id:"edge"+v,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:T,labelStyle:"",label:o.e.sanitizeText(s.description,(0,o.c)()),arrowheadStyle:S,labelpos:"c",labelType:k,thickness:D,classes:b};e.setEdge(s.state1.id,s.state2.id,i,v),v++}}})},C=(e,t=i.c)=>{let s=t;if(e.doc)for(let t=0;t{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,i.d.clear()}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93],{93093:function(e,t,s){s.d(t,{diagram:function(){return V}});var i=s(70227),a=s(42521),r=s(27509),o=s(71421),l=s(83880);s(5726),s(91088),s(95591),s(42296),s(52070);let d="rect",n="rectWithTitle",c="statediagram",p=`${c}-state`,b="transition",g=`${b} note-edge`,h=`${c}-note`,u=`${c}-cluster`,y=`${c}-cluster-alt`,f="parent",w="note",x="----",$=`${x}${w}`,m=`${x}${f}`,T="fill:none",S="fill: #333",k="text",D="normal",A={},v=0;function B(e="",t=0,s="",i=x){let a=null!==s&&s.length>0?`${i}${s}`:"";return`state-${e}${a}-${t}`}let E=(e,t,s,a,r,l)=>{var c;let b=s.id,x=null==(c=a[b])?"":c.classes?c.classes.join(" "):"";if("root"!==b){let t=d;!0===s.start&&(t="start"),!1===s.start&&(t="end"),s.type!==i.D&&(t=s.type),A[b]||(A[b]={id:b,shape:t,description:o.e.sanitizeText(b,(0,o.c)()),classes:`${x} ${p}`});let a=A[b];s.description&&(Array.isArray(a.description)?(a.shape=n,a.description.push(s.description)):a.description.length>0?(a.shape=n,a.description===b?a.description=[s.description]:a.description=[a.description,s.description]):(a.shape=d,a.description=s.description),a.description=o.e.sanitizeTextOrArray(a.description,(0,o.c)())),1===a.description.length&&a.shape===n&&(a.shape=d),!a.type&&s.doc&&(o.l.info("Setting cluster for ",b,C(s)),a.type="group",a.dir=C(s),a.shape=s.type===i.a?"divider":"roundedWithTitle",a.classes=a.classes+" "+u+" "+(l?y:""));let r={labelStyle:"",shape:a.shape,labelText:a.description,classes:a.classes,style:"",id:b,dir:a.dir,domId:B(b,v),type:a.type,padding:15};if(r.centerLabel=!0,s.note){let t={labelStyle:"",shape:"note",labelText:s.note.text,classes:h,style:"",id:b+$+"-"+v,domId:B(b,v,w),type:a.type,padding:15},i={labelStyle:"",shape:"noteGroup",labelText:s.note.text,classes:a.classes,style:"",id:b+m,domId:B(b,v,f),type:"group",padding:0};v++;let o=b+m;e.setNode(o,i),e.setNode(t.id,t),e.setNode(b,r),e.setParent(b,o),e.setParent(t.id,o);let l=b,d=t.id;"left of"===s.note.position&&(l=t.id,d=b),e.setEdge(l,d,{arrowhead:"none",arrowType:"",style:T,labelStyle:"",classes:g,arrowheadStyle:S,labelpos:"c",labelType:k,thickness:D})}else e.setNode(b,r)}t&&"root"!==t.id&&(o.l.trace("Setting node ",b," to be child of its parent ",t.id),e.setParent(b,t.id)),s.doc&&(o.l.trace("Adding nodes children "),N(e,s,s.doc,a,r,!l))},N=(e,t,s,a,r,l)=>{o.l.trace("items",s),s.forEach(s=>{switch(s.stmt){case i.b:case i.D:E(e,t,s,a,r,l);break;case i.S:{E(e,t,s.state1,a,r,l),E(e,t,s.state2,a,r,l);let i={id:"edge"+v,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:T,labelStyle:"",label:o.e.sanitizeText(s.description,(0,o.c)()),arrowheadStyle:S,labelpos:"c",labelType:k,thickness:D,classes:b};e.setEdge(s.state1.id,s.state2.id,i,v),v++}}})},C=(e,t=i.c)=>{let s=t;if(e.doc)for(let t=0;t{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,i.d.clear()}}}}]); \ No newline at end of file diff --git a/_next/static/chunks/992.05fe04c5c8d6a6b3.js b/_next/static/chunks/992.f6bdeac8373037a3.js similarity index 94% rename from _next/static/chunks/992.05fe04c5c8d6a6b3.js rename to _next/static/chunks/992.f6bdeac8373037a3.js index 720d814..bee2c5e 100644 --- a/_next/static/chunks/992.05fe04c5c8d6a6b3.js +++ b/_next/static/chunks/992.f6bdeac8373037a3.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[992],{68992:function(t,i,n){n.d(i,{diagram:function(){return o}});var s=n(71421);n(5726),n(91088),n(27509),n(95591);var e=function(){var t=function(t,i,n,s){for(n=n||{},s=t.length;s--;n[t[s]]=i);return n},i=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,i,n,s,e,r,h){switch(r.length,e){case 1:return s;case 4:break;case 6:s.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(i,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(i,[2,3]),t(i,[2,4]),t(i,[2,5]),t(i,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,i){if(i.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=i,n}},parse:function(t){var i=this,n=[0],s=[],e=[null],r=[],h=this.table,o="",l=0,c=0,a=r.slice.call(arguments,1),y=Object.create(this.lexer),u={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(u.yy[p]=this.yy[p]);y.setInput(t,u.yy),u.yy.lexer=y,u.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var f=y.yylloc;r.push(f);var g=y.options&&y.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,m,d,k,b,x,v,I,E={};;){if(m=n[n.length-1],this.defaultActions[m]?d=this.defaultActions[m]:(null==_&&(_=function(){var t;return"number"!=typeof(t=s.pop()||y.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=i.symbols_[t]||t),t}()),d=h[m]&&h[m][_]),void 0===d||!d.length||!d[0]){var S="";for(b in I=[],h[m])this.terminals_[b]&&b>2&&I.push("'"+this.terminals_[b]+"'");S=y.showPosition?"Parse error on line "+(l+1)+":\n"+y.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(S,{text:y.match,token:this.terminals_[_]||_,line:y.yylineno,loc:f,expected:I})}if(d[0]instanceof Array&&d.length>1)throw Error("Parse Error: multiple actions possible at state: "+m+", token: "+_);switch(d[0]){case 1:n.push(_),e.push(y.yytext),r.push(y.yylloc),n.push(d[1]),_=null,c=y.yyleng,o=y.yytext,l=y.yylineno,f=y.yylloc;break;case 2:if(x=this.productions_[d[1]][1],E.$=e[e.length-x],E._$={first_line:r[r.length-(x||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(x||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(x||1)].range[0],r[r.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[o,c,l,u.yy,d[1],e,r].concat(a))))return k;x&&(n=n.slice(0,-1*x*2),e=e.slice(0,-1*x),r=r.slice(0,-1*x)),n.push(this.productions_[d[1]][0]),e.push(E.$),r.push(E._$),v=h[n[n.length-2]][n[n.length-1]],n.push(v);break;case 3:return!0}}return!0}};function s(){this.yy={}}return n.lexer={EOF:1,parseError:function(t,i){if(this.yy.parser)this.yy.parser.parseError(t,i);else throw Error(t)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var n,s,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var r in e)this[r]=e[r];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,i,n,s,e=this._currentRules(),r=0;ri[0].length)){if(i=n,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,e[r])))return t;if(!this._backtrack)return!1;i=!1;continue}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,e[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,n,s){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}},s.prototype=n,n.Parser=s,new s}();e.parser=e;let r={info:!1},h=r.info,o={parser:e,db:{clear:()=>{h=r.info},setInfo:t=>{h=t},getInfo:()=>h},renderer:{draw:(t,i,n)=>{s.l.debug("rendering info diagram\n"+t);let e=(0,s.z)(i);(0,s.i)(e,100,400,!0),e.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)}}}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[992],{68992:function(t,i,n){n.d(i,{diagram:function(){return h}});var s=n(71421);n(5726),n(91088),n(27509),n(95591);var e=function(){var t=function(t,i,n,s){for(n=n||{},s=t.length;s--;n[t[s]]=i);return n},i=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,i,n,s,e,r,h){switch(r.length,e){case 1:return s;case 4:break;case 6:s.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(i,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(i,[2,3]),t(i,[2,4]),t(i,[2,5]),t(i,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,i){if(i.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=i,n}},parse:function(t){var i=this,n=[0],s=[],e=[null],r=[],h=this.table,o="",l=0,c=0,a=r.slice.call(arguments,1),y=Object.create(this.lexer),u={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(u.yy[p]=this.yy[p]);y.setInput(t,u.yy),u.yy.lexer=y,u.yy.parser=this,void 0===y.yylloc&&(y.yylloc={});var f=y.yylloc;r.push(f);var g=y.options&&y.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,m,d,k,b,x,v,I,E={};;){if(m=n[n.length-1],this.defaultActions[m]?d=this.defaultActions[m]:(null==_&&(_=function(){var t;return"number"!=typeof(t=s.pop()||y.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=i.symbols_[t]||t),t}()),d=h[m]&&h[m][_]),void 0===d||!d.length||!d[0]){var S="";for(b in I=[],h[m])this.terminals_[b]&&b>2&&I.push("'"+this.terminals_[b]+"'");S=y.showPosition?"Parse error on line "+(l+1)+":\n"+y.showPosition()+"\nExpecting "+I.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(S,{text:y.match,token:this.terminals_[_]||_,line:y.yylineno,loc:f,expected:I})}if(d[0]instanceof Array&&d.length>1)throw Error("Parse Error: multiple actions possible at state: "+m+", token: "+_);switch(d[0]){case 1:n.push(_),e.push(y.yytext),r.push(y.yylloc),n.push(d[1]),_=null,c=y.yyleng,o=y.yytext,l=y.yylineno,f=y.yylloc;break;case 2:if(x=this.productions_[d[1]][1],E.$=e[e.length-x],E._$={first_line:r[r.length-(x||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(x||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(x||1)].range[0],r[r.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[o,c,l,u.yy,d[1],e,r].concat(a))))return k;x&&(n=n.slice(0,-1*x*2),e=e.slice(0,-1*x),r=r.slice(0,-1*x)),n.push(this.productions_[d[1]][0]),e.push(E.$),r.push(E._$),v=h[n[n.length-2]][n[n.length-1]],n.push(v);break;case 3:return!0}}return!0}};function s(){this.yy={}}return n.lexer={EOF:1,parseError:function(t,i){if(this.yy.parser)this.yy.parser.parseError(t,i);else throw Error(t)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var n,s,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var r in e)this[r]=e[r];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,i,n,s,e=this._currentRules(),r=0;ri[0].length)){if(i=n,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,e[r])))return t;if(!this._backtrack)return!1;i=!1;continue}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,e[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,n,s){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}},s.prototype=n,n.Parser=s,new s}();e.parser=e;let r=!1,h={parser:e,db:{clear:()=>{r=!1},setInfo:t=>{r=t},getInfo:()=>r},renderer:{draw:(t,i,n)=>{s.l.debug("rendering info diagram\n"+t);let e=(0,s.z)(i);(0,s.i)(e,100,400,!0),e.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)}}}}}]); \ No newline at end of file diff --git a/_next/static/chunks/dba7b9d1.0277a2fc3c5421a6.js b/_next/static/chunks/dba7b9d1.0277a2fc3c5421a6.js new file mode 100644 index 0000000..e3746d1 --- /dev/null +++ b/_next/static/chunks/dba7b9d1.0277a2fc3c5421a6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[344],{72036:function(e,t,n){var r;r=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);nt?1:0},en=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var n,r,i,a,o,s,l,u,c=RegExp("^"+J+"$").exec(e);if(c){if((r=parseInt(c[1]))<0?r=(360- -1*r%360)%360:r>360&&(r%=360),r/=360,(i=parseFloat(c[2]))<0||i>100||(i/=100,(a=parseFloat(c[3]))<0||a>100)||(a/=100,void 0!==(o=c[4])&&((o=parseFloat(o))<0||o>1)))return;if(0===i)s=l=u=Math.round(255*a);else{var h=a<.5?a*(1+i):a+i-a*i,d=2*a-h;s=Math.round(255*t(d,h,r+1/3)),l=Math.round(255*t(d,h,r)),u=Math.round(255*t(d,h,r-1/3))}n=[s,l,u,o]}return n},ea=function(e){var t,n=RegExp("^"+$+"$").exec(e);if(n){t=[];for(var r=[],i=1;i<=3;i++){var a=n[i];if("%"===a[a.length-1]&&(r[i]=!0),a=parseFloat(a),r[i]&&(a=a/100*255),a<0||a>255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t},eo={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},es=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i=t||n<0||h&&r>=a}function g(){var e,n,r,i=ef();if(f(i))return v(i);s=setTimeout(g,(e=i-l,n=i-u,r=t-e,h?eO(r,a-n):r))}function v(e){return(s=void 0,d&&r)?p(e):(r=i=void 0,o)}function y(){var e,n=ef(),a=f(n);if(r=arguments,i=this,l=n,a){if(void 0===s)return u=e=l,s=setTimeout(g,t),c?p(e):o;if(h)return clearTimeout(s),s=setTimeout(g,t),p(l)}return void 0===s&&(s=setTimeout(g,t)),o}return t=eA(t)||0,eu(n)&&(c=!!n.leading,a=(h="maxWait"in n)?eI(eA(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?o:v(ef())},y},eL=S?S.performance:null,eR=eL&&eL.now?function(){return eL.now()}:function(){return Date.now()},eV=function(){if(S){if(S.requestAnimationFrame)return function(e){S.requestAnimationFrame(e)};if(S.mozRequestAnimationFrame)return function(e){S.mozRequestAnimationFrame(e)};if(S.webkitRequestAnimationFrame)return function(e){S.webkitRequestAnimationFrame(e)};if(S.msRequestAnimationFrame)return function(e){S.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout(function(){e(eR())},1e3/60)}}(),eF=function(e){return eV(e)},ej=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261,r=n;!(t=e.next()).done;)r=65599*r+t.value|0;return r},eq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261;return 65599*t+e|0},eX=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5381;return(t<<5)+t+e|0},eY=function(e){return 2097152*e[0]+e[1]},eW=function(e,t){return[eq(e[0],t[0]),eX(e[1],t[1])]},eH=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return ej({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},tr=function(e){e.splice(0,e.length)},ti=function(e,t){for(var n=0;n2)||void 0===arguments[2]||arguments[2];if(void 0===e||void 0===t||!j(e)){e3("An element must have a core reference and parameters set");return}var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"!==r&&"edges"!==r){e3("An element must be of type `nodes` or `edges`; you specified `"+r+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new tc,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];I(t.classes)?l=t.classes:N(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw Error("lo must be non-negative");for(null==a&&(a=e.length);io(t,e[s=r((i+a)/2)])?a=s:i=s+1;return[].splice.apply(e,[i,i-i].concat(t)),t},o=function(e,t,r){return null==r&&(r=n),e.push(t),f(e,0,e.length-1,r)},a=function(e,t){var r,i;return null==t&&(t=n),r=e.pop(),e.length?(i=e[0],e[0]=r,g(e,0,t)):i=r,i},l=function(e,t,r){var i;return null==r&&(r=n),i=e[0],e[0]=t,g(e,0,r),i},s=function(e,t,r){var i;return null==r&&(r=n),e.length&&0>r(e[0],t)&&(t=(i=[e[0],t])[0],e[0]=i[1],g(e,0,r)),t},i=function(e,t){var i,a,o,s,l,u;for(null==t&&(t=n),s=(function(){u=[];for(var t=0,n=r(e.length/2);0<=n?tn;0<=n?t++:t--)u.push(t);return u}).apply(this).reverse(),l=[],a=0,o=s.length;ar(o=f[h],s)&&(u(l,o,0,null,r),l.pop(),s=l[l.length-1]);return l}for(i(e,r),v=[],d=0,g=c(t,e.length);0<=g?dg;0<=g?++d:--d)v.push(a(e,r));return v},f=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t;){if(0>i(a,o=e[s=r-1>>1])){e[r]=o,r=s;continue}break}return e[r]=a},g=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;ir(e[i],e[s]))&&(i=s),e[t]=e[i],i=2*(t=i)+1;return e[t]=o,f(e,l,t,r)},t=function(){function e(e){this.cmp=null!=e?e:n,this.nodes=[]}return e.push=o,e.pop=a,e.replace=l,e.pushpop=s,e.heapify=i,e.updateItem=p,e.nlargest=h,e.nsmallest=d,e.prototype.push=function(e){return o(this.nodes,e,this.cmp)},e.prototype.pop=function(){return a(this.nodes,this.cmp)},e.prototype.peek=function(){return this.nodes[0]},e.prototype.contains=function(e){return -1!==this.nodes.indexOf(e)},e.prototype.replace=function(e){return l(this.nodes,e,this.cmp)},e.prototype.pushpop=function(e){return s(this.nodes,e,this.cmp)},e.prototype.heapify=function(){return i(this.nodes,this.cmp)},e.prototype.updateItem=function(e){return p(this.nodes,e,this.cmp)},e.prototype.clear=function(){return this.nodes=[]},e.prototype.empty=function(){return 0===this.nodes.length},e.prototype.size=function(){return this.nodes.length},e.prototype.clone=function(){var t;return(t=new e).nodes=this.nodes.slice(0),t},e.prototype.toArray=function(){return this.nodes.slice(0)},e.prototype.insert=e.prototype.push,e.prototype.top=e.prototype.peek,e.prototype.front=e.prototype.peek,e.prototype.has=e.prototype.contains,e.prototype.copy=e.prototype.clone,e}(),v=function(){return t},e.exports=v()}).call(ec)}(l={exports:{}},l.exports),l.exports),tg=tt({root:null,weight:function(e){return 1},directed:!1}),tv=tt({root:null,goal:null,weight:function(e){return 1},heuristic:function(e){return 0},directed:!1}),ty=tt({weight:function(e){return 1},directed:!1}),tm=tt({weight:function(e){return 1},directed:!1,root:null}),tb=Math.sqrt(2),tx=function(e,t,n){0===n.length&&e3("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n.length-1;l>=0;l--){var u=n[l],c=u[1],h=u[2];(t[c]===o&&t[h]===s||t[c]===s&&t[h]===o)&&n.splice(l,1)}for(var d=0;dr;)t=tx(Math.floor(Math.random()*t.length),e,t),n--;return t},tE=function(e,t,n){return{x:e.x*t+n.x,y:e.y*t+n.y}},tk=function(e,t,n){return{x:(e.x-n.x)/t,y:(e.y-n.y)/t}},tC=function(e){return{x:e[0],y:e[1]}},tS=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=!(arguments.length>5)||void 0===arguments[5]||arguments[5];r?e=e.slice(t,n):(n0&&e.splice(0,t));for(var o=0,s=e.length-1;s>=0;s--){var l=e[s];a?!isFinite(l)&&(e[s]=-1/0,o++):e.splice(s,1)}i&&e.sort(function(e,t){return e-t});var u=e.length,c=Math.floor(u/2);return u%2!=0?e[c+1+o]:(e[c-1+o]+e[c+o])/2},t_=function(e,t){return Math.atan2(t,e)-Math.PI/2},tM=Math.log2||function(e){return Math.log(e)/Math.log(2)},tB=function(e){return e>0?1:e<0?-1:0},tN=function(e,t){return Math.sqrt(tA(e,t))},tA=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},tI=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},tF=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},tj=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},tq=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},tX=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tY=function(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)t=n=r=i=a[0];else if(2===a.length)t=r=a[0],i=n=a[1];else if(4===a.length){var s=o(a,4);t=s[0],n=s[1],r=s[2],i=s[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tW=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},tH=function(e,t){return!(e.x1>t.x2)&&!(t.x1>e.x2)&&!(e.x2t.y2)&&!(t.y1>e.y2)},tG=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},tK=function(e,t){return tG(e,t.x1,t.y1)&&tG(e,t.x2,t.y2)},tU=function(e,t,n,r,i,a,o){var s,l,u=ns(i,a),c=i/2,h=a/2,d=n-c+u-o,p=r-h-o,f=n+c-u+o;if((s=ne(e,t,n,r,d,p,f,p,!1)).length>0)return s;var g=n+c+o,v=r-h+u-o,y=r+h-u+o;if((s=ne(e,t,n,r,g,v,g,y,!1)).length>0)return s;var b=n-c+u-o,x=r+h+o,w=n+c-u+o;if((s=ne(e,t,n,r,b,x,w,x,!1)).length>0)return s;var E=n-c-o,k=r-h+u-o,C=r+h-u+o;if((s=ne(e,t,n,r,E,k,E,C,!1)).length>0)return s;var S=n-c+u,D=r-h+u;if((l=t8(e,t,n,r,S,D,u+o)).length>0&&l[0]<=S&&l[1]<=D)return[l[0],l[1]];var T=n+c-u,P=r-h+u;if((l=t8(e,t,n,r,T,P,u+o)).length>0&&l[0]>=T&&l[1]<=P)return[l[0],l[1]];var _=n+c-u,M=r+h-u;if((l=t8(e,t,n,r,_,M,u+o)).length>0&&l[0]>=_&&l[1]>=M)return[l[0],l[1]];var B=n-c+u,N=r+h-u;return(l=t8(e,t,n,r,B,N,u+o)).length>0&&l[0]<=B&&l[1]>=N?[l[0],l[1]]:[]},tZ=function(e,t,n,r,i,a,o,s,l){var u={x1:Math.min(n,o,i)-l,x2:Math.max(n,o,i)+l,y1:Math.min(r,s,a)-l,y2:Math.max(r,s,a)+l};return!(eu.x2)&&!(tu.y2)},t$=function(e,t,n,r){var i=t*t-4*e*(n-=r);if(i<0)return[];var a=Math.sqrt(i),o=2*e;return[(-t+a)/o,(-t-a)/o]},tQ=function(e,t,n,r,i){var a,o,s,l,u,c,h,d;if(0===e&&(e=1e-5),t/=e,n/=e,r/=e,a=(o=(3*n-t*t)/9)*o*o+(s=(-(27*r)+t*(9*n-t*t*2))/54)*s,i[1]=0,h=t/3,a>0){u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),c=(c=s-Math.sqrt(a))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-h+u+c,h+=(u+c)/2,i[4]=i[2]=-h,h=Math.sqrt(3)*(-c+u)/2,i[3]=h,i[5]=-h;return}if(i[5]=i[3]=0,0===a){d=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),i[0]=-h+2*d,i[4]=i[2]=-(d+h);return}l=Math.acos(s/Math.sqrt(l=(o=-o)*o*o)),d=2*Math.sqrt(o),i[0]=-h+d*Math.cos(l/3),i[2]=-h+d*Math.cos((l+2*Math.PI)/3),i[4]=-h+d*Math.cos((l+4*Math.PI)/3)},tJ=function(e,t,n,r,i,a,o,s){var l,u=[];tQ(1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s,9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,u);for(var c=[],h=0;h<6;h+=2)1e-7>Math.abs(u[h+1])&&u[h]>=0&&u[h]<=1&&c.push(u[h]);c.push(1),c.push(0);for(var d=-1,p=0;p=0?ll?(e-i)*(e-i)+(t-a)*(t-a):u-h},t1=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e)||!(e>=a))&&(!(r<=e)||!(e<=a)))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0},t2=function(e,t,n,r,i,a,o,s,l){var u,c=Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var h=Math.cos(-u),d=Math.sin(-u),p=0;p0?t3(t4(c,-l)):c)},t5=function(e,t,n,r,i,a,o){for(var s=Array(n.length),l=a/2,u=o/2,c=nl(a,o),h=c*c,d=0;d=0&&f<=1&&v.push(f),g>=0&&g<=1&&v.push(g),0===v.length)return[];var y=v[0]*s[0]+e,b=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,b]:[y,b,v[1]*s[0]+e,v[1]*s[1]+t]:[y,b]},t7=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},ne=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,f=s-a,g=h*d-f*u,v=c*d-p*u,y=f*c-h*p;if(0!==y){var b=g/y,x=v/y;return -.001<=b&&b<=1.001&&-.001<=x&&x<=1.001?[e+b*c,t+b*p]:l?[e+b*c,t+b*p]:[]}return 0!==g&&0!==v?[]:t7(e,n,o)===o?[o,s]:t7(e,n,i)===i?[i,a]:t7(i,o,n)===n?[n,r]:[]},nt=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,f=[],g=Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0?t3(t4(g,-s)):g}else u=n;for(var b=0;b2){for(var P=[u[0],u[1]],_=Math.pow(P[0]-e,2)+Math.pow(P[1]-t,2),M=1;Mu&&(u=t)},get:function(e){return l[e]}},h=0;h0?b.edgesTo(y)[0]:y.edgesTo(b)[0]);h[y=y.id()]>h[g]+x&&(h[y]=h[g]+x,0>d.nodes.indexOf(y)?d.push(y):d.updateItem(y),u[y]=0,l[y]=[]),h[y]==h[g]+x&&(u[y]=u[y]+u[g],l[y].push(g))}else for(var w=0;w0;){for(var S=n.pop(),D=0;D0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i},nT=function(e,t){for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:nM,o=r,s=0;s=2?nz(e,t,n,0,nA,nI):nz(e,t,n,0,nN)},squaredEuclidean:function(e,t,n){return nz(e,t,n,0,nA)},manhattan:function(e,t,n){return nz(e,t,n,0,nN)},max:function(e,t,n){return nz(e,t,n,-1/0,nO)}};function nR(e,t,n,r,i,a){var o;return(o=A(e)?e:nL[e]||nL.euclidean,0===t&&A(e))?o(i,a):o(t,n,r,i,a)}nL["squared-euclidean"]=nL.squaredEuclidean,nL.squaredeuclidean=nL.squaredEuclidean;var nV=tt({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),nF=function(e){return nV(e)},nj=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)};return nR(e,r.length,a,function(e){return r[e](t)},n,t)},nq=function(e,t,n){for(var r=n.length,i=Array(r),a=Array(r),o=Array(t),s=null,l=0;ln)return!1;return!0},nH=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var f=t[s],g=t[r[s]];o="dendrogram"===i.mode?{left:f,right:g,key:f.key}:{value:f.value.concat(g.value),key:f.key},e[f.index]=o,e.splice(g.index,1),t[f.key]=o;for(var v=0;vn[g.key][y.key]&&(a=n[g.key][y.key])):"max"===i.linkage?(a=n[f.key][y.key],n[f.key][y.key]0&&r.push(i);return r},rt=function(e,t,n){for(var r=[],i=0;io&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;ul&&(s=u,l=c)}n[i]=a[s]}return rt(e,t,n)},rr=function(e){for(var t,n,r,i,a,o,s,l,u,c=this.cy(),h=this.nodes(),d=n8(e),p={},f=0;f=_?(M=_,_=N,B=A):N>M&&(M=N);for(var I=0;I0?1:0;D[u%d.minIterations*r+F]=j,V+=j}if(V>0&&(u>=d.minIterations-1||u==d.maxIterations-1)){for(var q=0,X=0;X1)}});var u=Object.keys(t).filter(function(e){return t[e].cutVertex}).map(function(t){return e.getElementById(t)});return{cut:e.spawn(u),components:i}},ro=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach(function(e){var n=e.target().id();n===s||(n in t||o(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))}),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach(function(e){if(e.isNode()){var n=e.id();n in t||o(n)}}),{cut:a,components:r}},rs={};[tp,{dijkstra:function(e){if(!O(e)){var t=arguments;e={root:t[0],weight:t[1],directed:t[2]}}var n=tg(e),r=n.root,i=n.weight,a=n.directed,o=this,s=N(r)?this.filter(r)[0]:r[0],l={},u={},c={},h=this.byGroup(),d=h.nodes,p=h.edges;p.unmergeBy(function(e){return e.isLoop()});for(var f=function(e){return l[e.id()]},g=new tf(function(e,t){return f(e)-f(t)}),v=0;v0;){var b=g.pop(),x=f(b);if(c[b.id()]=x,x!==1/0)for(var w=b.neighborhood().intersect(d),E=0;E0)for(n.unshift(t);u[i];){var a=u[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},{kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=Array(i),o=function(e){for(var t=0;t0;){if(n=(t=g.pop()).id(),v.delete(n),w++,n===h){for(var E=[],k=o,C=h,S=b[C];E.unshift(k),null!=S&&E.unshift(S),null!=(k=y[C]);)S=b[C=k.id()];return{found:!0,distance:d[n],path:this.spawn(E),steps:w}}f[n]=!0;for(var D=t._private.edges,T=0;TS&&(d[C]=S,g[C]=k,v[C]=b),!i){var D=k*l+E;!i&&d[D]>S&&(d[D]=S,g[D]=E,v[D]=b)}}}for(var T=0;T1&&void 0!==arguments[1]?arguments[1]:a,r=y(e),i=[],s=r;;){if(null==s)return t.spawn();var l=v(s),u=l.edge,c=l.pred;if(i.unshift(s[0]),s.same(n)&&i.length>0)break;null!=u&&i.unshift(u),s=c}return o.spawn(i)},hasNegativeWeightCycle:p,negativeWeightCycles:f}}},{kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy(function(e){return e.isLoop()});var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/tb);if(i<2){e3("At least 2 nodes are required for Karger-Stein algorithm");return}for(var l=[],u=0;u1||o>1)&&(l=!0),u[r]=[],e.outgoers().forEach(function(e){e.isEdge()&&u[r].push(e.id())})}else c[r]=[void 0,e.target().id()]}):this.forEach(function(e){var r=e.id();e.isNode()?(e.degree(!0)%2&&(t?n?l=!0:n=r:t=r),u[r]=[],e.connectedEdges().forEach(function(e){return u[r].push(e.id())})):c[r]=[e.source().id(),e.target().id()]});var h={found:!1,trail:void 0};if(l)return h;if(n&&t){if(s){if(r&&n!=r)return h;r=n}else{if(r&&n!=r&&t!=r)return h;r||(r=n)}}else r||(r=this[0].id());var d=function(e){for(var t,n,r,i=e,a=[e];u[i].length;)n=c[t=u[i].shift()][0],i!=(r=c[t][1])?(u[r]=u[r].filter(function(e){return e!=t}),i=r):s||i==n||(u[n]=u[n].filter(function(e){return e!=t}),i=n),a.unshift(t),a.unshift(i);return a},p=[],f=[];for(f=d(r);1!=f.length;)0==u[f[0]].length?(p.unshift(this.getElementById(f.shift())),p.unshift(this.getElementById(f.shift()))):f=d(f.shift()).concat(f);for(var g in p.unshift(this.getElementById(f.shift())),u)if(u[g].length)return h;return h.found=!0,h.trail=this.spawn(p,!0),h}},{hopcroftTarjanBiconnected:ra,htbc:ra,htb:ra,hopcroftTarjanBiconnectedComponents:ra},{tarjanStronglyConnected:ro,tsc:ro,tscc:ro,tarjanStronglyConnectedComponents:ro}].forEach(function(e){en(rs,e)});var rl=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};rl.prototype={fulfill:function(e){return ru(this,1,"fulfillValue",e)},reject:function(e){return ru(this,2,"rejectReason",e)},then:function(e,t){var n=new rl;return this.onFulfilled.push(rd(e,n,"fulfill")),this.onRejected.push(rd(t,n,"reject")),rc(this),n.proxy}};var ru=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,rc(e)),e},rc=function(e){1===e.state?rh(e,"onFulfilled",e.fulfillValue):2===e.state&&rh(e,"onRejected",e.rejectReason)},rh=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e-1},rV.prototype.set=function(e,t){var n=this.__data__,r=rL(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var rF=rB(ep,"Map"),rj=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},rq=function(e,t){var n=e.__data__;return rj(t)?n["string"==typeof t?"string":"hash"]:n.map};function rX(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0}},clearQueue:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;for(var t=0;t0&&this.spawn(n).updateStyle().emit("class"),this},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){I(e)||(e=e.match(/\S+/g)||[]);for(var n=void 0===t,r=[],i=0,a=this.length;i0&&this.spawn(r).updateStyle().emit("class"),this},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout(function(){n.removeClass(e)},t),n}};io.className=io.classNames=io.classes;var is={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:Z,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};is.variable="(?:[\\w-.]|(?:\\\\"+is.metaChar+"))+",is.className="(?:[\\w-]|(?:\\\\"+is.metaChar+"))+",is.value=is.string+"|"+is.number,is.id=is.variable,function(){var e,t,n;for(n=0,e=is.comparatorOp.split("|");n=0||"="===t||(is.comparatorOp+="|\\!"+t)}();var il=function(){return{checks:[]}},iu={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},ic=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(e,t){return -1*et(e.selector,t.selector)}),ih=function(){for(var e,t={},n=0;n=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0&&l.edgeCount>0)return e9("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(l.edgeCount>1)return e9("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===l.edgeCount&&e9("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return N(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(r,a){var o=r.type,s=r.value;switch(o){case iu.GROUP:var l=e(s);return l.substring(0,l.length-1);case iu.DATA_COMPARE:return"["+r.field+n(e(r.operator))+t(s)+"]";case iu.DATA_BOOL:var u=r.operator,c=r.field;return"["+e(u)+c+"]";case iu.DATA_EXIST:return"["+r.field+"]";case iu.META_COMPARE:var h=r.operator;return"[["+r.field+n(e(h))+t(s)+"]]";case iu.STATE:return s;case iu.ID:return"#"+s;case iu.CLASS:return"."+s;case iu.PARENT:case iu.CHILD:return i(r.parent,a)+n(">")+i(r.child,a);case iu.ANCESTOR:case iu.DESCENDANT:return i(r.ancestor,a)+" "+i(r.descendant,a);case iu.COMPOUND_SPLIT:var d=i(r.left,a),p=i(r.subject,a),f=i(r.right,a);return d+(d.length>0?" ":"")+p+f;case iu.TRUE:return""}},i=function(e,t){return e.checks.reduce(function(n,i,a){return n+(t===e&&0===a?"$":"")+r(i,t)},"")},a="",o=0;o1&&o0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function iM(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i1)||void 0===arguments[1]||arguments[1];return i_(this,e,t,iM)},iP.forEachUp=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return i_(this,e,t,iB)},iP.forEachUpAndDown=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return i_(this,e,t,iN)},iP.ancestors=iP.parents,(p=f={data:ii.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:ii.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:ii.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ii.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:ii.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:ii.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=p.data,p.removeAttr=p.removeData;var iA={};function iI(e){return function(t){if(void 0===t&&(t=!0),0!==this.length&&!(!this.isNode()||this.removed())){for(var n=0,r=this[0],i=r._private.edges,a=0;at}),minIndegree:iO("indegree",function(e,t){return et}),minOutdegree:iO("outdegree",function(e,t){return et})}),en(iA,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0;c&&(u=u[0]);var h=c?u.position():{x:0,y:0};void 0!==t?l.position(e,t+h[e]):void 0!==i&&l.position({x:i.x+h.x,y:i.y+h.y})}else{var d=n.position(),p=o?n.parent():null,f=p&&p.length>0;f&&(p=p[0]);var g=f?p.position():{x:0,y:0};return(i={x:d.x-g.x,y:d.y-g.y},void 0===e)?i:i[e]}}else if(!a)return;return this}}).modelPosition=g.point=g.position,g.modelPositions=g.points=g.positions,g.renderedPoint=g.renderedPosition,g.relativePoint=g.relativePosition,y=b={},b.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},b.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()&&this.forEachUp(function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}}),this},b.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes()||!e&&t.batching())return this;for(var n=0;n0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,f=y(i.height.val-a.h,u,c),g=f.biasDiff,v=f.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"===n.units)switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}else if("px"===n.units)return n.pfValue;else return 0}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-g+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}(r),t.batching()||(i.compoundBoundsClean=!0))}return this};var iR=function(e){return e===1/0||e===-1/0?0:e},iV=function(e,t,n,r,i){r-t!=0&&i-n!=0&&null!=t&&null!=n&&null!=r&&null!=i&&(e.x1=te.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},iF=function(e,t){return null==t?e:iV(e,t.x1,t.y1,t.x2,t.y2)},ij=function(e,t,n){return ta(e,t,n)},iq=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,tX(u,1),iV(e,u.x1,u.y1,u.x2,u.y2)}}},iX=function(e,t,n){if(!t.cy().headless()){a=n?n+"-":"";var r=t._private,i=r.rstyle;if(t.pstyle(a+"label").strValue){var a,o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=ij(i,"labelWidth",n),p=ij(i,"labelHeight",n),f=ij(i,"labelX",n),g=ij(i,"labelY",n),v=t.pstyle(a+"text-margin-x").pfValue,y=t.pstyle(a+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle(a+"text-rotation"),w=t.pstyle("text-outline-width").pfValue,E=t.pstyle("text-border-width").pfValue/2,k=t.pstyle("text-background-padding").pfValue,C=d/2,S=p/2;if(b)o=f-C,s=f+C,l=g-S,u=g+S;else{switch(c.value){case"left":o=f-d,s=f;break;case"center":o=f-C,s=f+C;break;case"right":o=f,s=f+d}switch(h.value){case"top":l=g-p,u=g;break;case"center":l=g-S,u=g+S;break;case"bottom":l=g,u=g+p}}o+=v-Math.max(w,E)-k-2,s+=v+Math.max(w,E)+k+2,l+=y-Math.max(w,E)-k-2,u+=y+Math.max(w,E)+k+2;var D=n||"main",T=r.labelBounds,P=T[D]=T[D]||{};P.x1=o,P.y1=l,P.x2=s,P.y2=u,P.w=s-o,P.h=u-l;var _=b&&"autorotate"===x.strValue,M=null!=x.pfValue&&0!==x.pfValue;if(_||M){var B=_?ij(r.rstyle,"labelAngle",n):x.pfValue,N=Math.cos(B),A=Math.sin(B),I=(o+s)/2,O=(l+u)/2;if(!b){switch(c.value){case"left":I=s;break;case"right":I=o}switch(h.value){case"top":O=u;break;case"bottom":O=l}}var z=function(e,t){return{x:(e-=I)*N-(t-=O)*A+I,y:e*A+t*N+O}},L=z(o,l),R=z(o,u),V=z(s,l),F=z(s,u);o=Math.min(L.x,R.x,V.x,F.x),s=Math.max(L.x,R.x,V.x,F.x),l=Math.min(L.y,R.y,V.y,F.y),u=Math.max(L.y,R.y,V.y,F.y)}var j=D+"Rot",q=T[j]=T[j]||{};q.x1=o,q.y1=l,q.x2=s,q.y2=u,q.w=s-o,q.h=u-l,iV(e,o,l,s,u),iV(r.labelBounds.all,o,l,s,u)}return e}},iY=function(e,t){var n=e._private.cy,r=n.styleEnabled(),i=n.headless(),a=tV(),o=e._private,s=e.isNode(),l=e.isEdge(),u=o.rstyle,c=s&&r?e.pstyle("bounds-expansion").pfValue:[0],h=function(e){return"none"!==e.pstyle("display").value},d=!r||h(e)&&(!l||h(e.source())&&h(e.target()));if(d){var p=0;r&&t.includeOverlays&&0!==e.pstyle("overlay-opacity").value&&(p=e.pstyle("overlay-padding").value);var f=0;r&&t.includeUnderlays&&0!==e.pstyle("underlay-opacity").value&&(f=e.pstyle("underlay-padding").value);var g=Math.max(p,f),v=0;if(r&&(v=e.pstyle("width").pfValue/2),s&&t.includeNodes){var y=e.position();S=y.x,D=y.y;var b=e.outerWidth()/2,x=e.outerHeight()/2;w=S-b,E=S+b,iV(a,w,k=D-x,E,C=D+x)}else if(l&&t.includeEdges){if(r&&!i){var w,E,k,C,S,D,T,P=e.pstyle("curve-style").strValue;if(w=Math.min(u.srcX,u.midX,u.tgtX),E=Math.max(u.srcX,u.midX,u.tgtX),k=Math.min(u.srcY,u.midY,u.tgtY),C=Math.max(u.srcY,u.midY,u.tgtY),w-=v,E+=v,iV(a,w,k-=v,E,C+=v),"haystack"===P){var _=u.haystackPts;if(_&&2===_.length){if(w=_[0].x,k=_[0].y,E=_[1].x,C=_[1].y,w>E){var M=w;w=E,E=M}if(k>C){var B=k;k=C,C=B}iV(a,w-v,k-v,E+v,C+v)}}else if("bezier"===P||"unbundled-bezier"===P||"segments"===P||"taxi"===P){switch(P){case"bezier":case"unbundled-bezier":T=u.bezierPts;break;case"segments":case"taxi":T=u.linePts}if(null!=T)for(var N=0;NE){var z=w;w=E,E=z}if(k>C){var L=k;k=C,C=L}w-=v,E+=v,iV(a,w,k-=v,E,C+=v)}}if(r&&t.includeEdges&&l&&(iq(a,e,"mid-source"),iq(a,e,"mid-target"),iq(a,e,"source"),iq(a,e,"target")),r&&"yes"===e.pstyle("ghost").value){var R=e.pstyle("ghost-offset-x").pfValue,V=e.pstyle("ghost-offset-y").pfValue;iV(a,a.x1+R,a.y1+V,a.x2+R,a.y2+V)}var F=o.bodyBounds=o.bodyBounds||{};tW(F,a),tY(F,c),tX(F,1),r&&(w=a.x1,E=a.x2,k=a.y1,C=a.y2,iV(a,w-g,k-g,E+g,C+g));var j=o.overlayBounds=o.overlayBounds||{};tW(j,a),tY(j,c),tX(j,1);var q=o.labelBounds=o.labelBounds||{};null!=q.all?tF(q.all):q.all=tV(),r&&t.includeLabels&&(t.includeMainLabels&&iX(a,e,null),l&&(t.includeSourceLabels&&iX(a,e,"source"),t.includeTargetLabels&&iX(a,e,"target")))}return a.x1=iR(a.x1),a.y1=iR(a.y1),a.x2=iR(a.x2),a.y2=iR(a.y2),a.w=iR(a.x2-a.x1),a.h=iR(a.y2-a.y1),a.w>0&&a.h>0&&d&&(tY(a,c),tX(a,1)),a},iW=function(e){var t=0,n=function(e){return(e?1:0)<0&&void 0!==arguments[0]?arguments[0]:i7,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},at.removeAllListeners=function(){return this.removeListener("*")},at.emit=at.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,I(t)||(t=[t]),ai(this,function(e,a){null!=n&&(i=(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}]).length);for(var o=0;o1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&N(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=0;rr&&(r=o,n=a)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=0;i=0&&i1)||void 0===arguments[1]||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled()&&t)return t.pstyle(e).units},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];if(n)return t.style().getRenderedStyle(n,e)},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=n.style();if(O(e))r.applyBypass(this,e,!1),this.emitAndNotify("style");else if(N(e)){if(void 0===t){var i=this[0];return i?r.getStylePropertyValue(i,e):void 0}r.applyBypass(this,e,t,!1),this.emitAndNotify("style")}else if(void 0===e){var a=this[0];return a?r.getRawStyle(a):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style();if(void 0===e)for(var r=0;r0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),aD.neighbourhood=aD.neighborhood,aD.closedNeighbourhood=aD.closedNeighborhood,aD.openNeighbourhood=aD.openNeighborhood,en(aD,{source:iT(function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t},"source"),target:iT(function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t},"target"),sources:aM({attr:"source"}),targets:aM({attr:"target"})}),en(aD,{edgesWith:iT(aB(),"edgesWith"),edgesTo:iT(aB({thisIsSrc:!0}),"edgesTo")}),en(aD,{connectedEdges:iT(function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),aD.componentsOf=aD.components;var aA=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0===e){e3("A collection must have a reference to the core");return}var i=new tl,a=!1;if(t){if(t.length>0&&O(t[0])&&!V(t[0])){a=!0;for(var o=[],s=new tc,l=0,u=t.length;l0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=this.cy(),r=n._private,i=[],a=[],o=0,s=this.length;o0){for(var B,A,I=B.length===this.length?this:new aA(n,B),O=0;O0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=[],r={},i=this._private.cy,a=0,o=this.length;a0&&(e?x.emitAndNotify("remove"):t&&x.emit("remove"));for(var w=0;w1e-4&&Math.abs(g.v)>1e-4;);return p?function(e){return y[e*(y.length-1)|0]}:b}}(),az=function(e,t,n,r){var i=/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function(e,t,n,r){var i="undefined"!=typeof Float32Array;if(4!=arguments.length)return!1;for(var a=0;a<4;++a)if("number"!=typeof arguments[a]||isNaN(arguments[a])||!isFinite(arguments[a]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var o=i?new Float32Array(11):Array(11);function s(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}function l(e,t,n){return 3*(1-3*n+3*t)*e*e+2*(3*n-6*t)*e+3*t}var u=!1,c=function(i){return(u||(u=!0,(e!==t||n!==r)&&function(){for(var t=0;t<11;++t)o[t]=s(.1*t,e,n)}()),e===t&&n===r)?i:0===i?0:1===i?1:s(function(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=.1;var a=r+(t-o[--i])/(o[i+1]-o[i])*.1,u=l(a,e,n);return u>=.001?function(t,r){for(var i=0;i<4;++i){var a=l(r,e,n);if(0===a)break;var o=s(r,e,n)-t;r-=o/a}return r}(t,a):0===u?a:function(t,r,i){var a,o,l=0;do(a=s(o=r+(i-r)/2,e,n)-t)>0?i=o:r=o;while(Math.abs(a)>1e-7&&++l<10);return o}(t,r,r+.1)}(i),t,r)};c.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var h="generateBezier("+[e,t,n,r]+")";return c.toString=function(){return h},c}(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},aL={linear:function(e,t,n){return e+(t-e)*n},ease:az(.25,.1,.25,1),"ease-in":az(.42,0,1,1),"ease-out":az(0,0,.58,1),"ease-in-out":az(.42,0,.58,1),"ease-in-sine":az(.47,0,.745,.715),"ease-out-sine":az(.39,.575,.565,1),"ease-in-out-sine":az(.445,.05,.55,.95),"ease-in-quad":az(.55,.085,.68,.53),"ease-out-quad":az(.25,.46,.45,.94),"ease-in-out-quad":az(.455,.03,.515,.955),"ease-in-cubic":az(.55,.055,.675,.19),"ease-out-cubic":az(.215,.61,.355,1),"ease-in-out-cubic":az(.645,.045,.355,1),"ease-in-quart":az(.895,.03,.685,.22),"ease-out-quart":az(.165,.84,.44,1),"ease-in-out-quart":az(.77,0,.175,1),"ease-in-quint":az(.755,.05,.855,.06),"ease-out-quint":az(.23,1,.32,1),"ease-in-out-quint":az(.86,0,.07,1),"ease-in-expo":az(.95,.05,.795,.035),"ease-out-expo":az(.19,1,.22,1),"ease-in-out-expo":az(1,0,0,1),"ease-in-circ":az(.6,.04,.98,.335),"ease-out-circ":az(.075,.82,.165,1),"ease-in-out-circ":az(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return aL.linear;var r=aO(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":az};function aR(e,t,n,r,i){if(1===r||t===n)return n;var a=i(t,n,r);return null==e||((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max))),a}function aV(e,t){return null==e.pfValue&&null==e.value?e:null!=e.pfValue&&(null==t||"%"!==t.type.units)?e.pfValue:e.value}function aF(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=aV(e,i),s=aV(t,i);if(z(o)&&z(s))return aR(a,o,s,n,r);if(I(o)&&I(s)){for(var l=[],u=0;u=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;if(d.stopped){a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames);continue}(d.playing||d.applying)&&(d.playing&&d.applying&&(d.applying=!1),d.started||function(e,t,n,r){var i=t._private;i.started=!0,i.startTime=n-i.progress*i.duration}(0,h,e),function(e,t,n,r){var i,a,o,s,l=!r,u=e._private,c=t._private,h=c.easing,d=c.startTime,p=(r?e:e.cy()).style();c.easingImpl||(null==h?c.easingImpl=aL.linear:(i=N(h)?p.parse("transition-timing-function",h).value:h,N(i)?(a=i,o=[]):(a=i[1],o=i.slice(2).map(function(e){return+e})),o.length>0?("spring"===a&&o.push(c.duration),c.easingImpl=aL[a].apply(null,o)):c.easingImpl=aL[a]));var f=c.easingImpl;if(s=0===c.duration?1:(n-d)/c.duration,c.applying&&(s=c.progress),s<0?s=0:s>1&&(s=1),null==c.delay){var g=c.startPosition,v=c.position;if(v&&l&&!e.locked()){var y={};aj(g.x,v.x)&&(y.x=aF(g.x,v.x,s,f)),aj(g.y,v.y)&&(y.y=aF(g.y,v.y,s,f)),e.position(y)}var b=c.startPan,x=c.pan,w=u.pan,E=null!=x&&r;E&&(aj(b.x,x.x)&&(w.x=aF(b.x,x.x,s,f)),aj(b.y,x.y)&&(w.y=aF(b.y,x.y,s,f)),e.emit("pan"));var k=c.startZoom,C=c.zoom,S=null!=C&&r;S&&(aj(k,C)&&(u.zoom=tR(u.minZoom,aF(k,C,s,f),u.maxZoom)),e.emit("zoom")),(E||S)&&e.emit("viewport");var D=c.style;if(D&&D.length>0&&l){for(var T=0;T0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var aX={animate:ii.animate(),animation:ii.animation(),animated:ii.animated(),clearQueue:ii.clearQueue(),delay:ii.delay(),delayAnimation:ii.delayAnimation(),stop:ii.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender(function(t,n){aq(n,e)},t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&eF(function(n){aq(n,e),t()})}()}}},aY={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&V(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},aW=function(e){return N(e)?new iC(e):e},aH={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new ae(aY,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,aW(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,aW(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,aW(t),n),this},once:function(e,t,n){return this.emitter().one(e,aW(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};ii.eventAliasesOn(aH);var aG={png:function(e){return e=e||{},this._private.renderer.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};aG.jpeg=aG.jpg;var aK={layout:function(e){if(null==e){e3("Layout options must be specified to make a layout");return}if(null==e.name){e3("A `name` must be specified to make a layout");return}var t,n=e.name,r=this.extension("layout",n);if(null==r){e3("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?");return}return t=N(e.eles)?this.$(e.eles):null!=e.eles?e.eles:this.$(),new r(en({},e,{cy:this,eles:t}))}};aK.createLayout=aK.makeLayout=aK.layout;var aU=tt({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),aZ={renderTo:function(e,t,n,r){return this._private.renderer.renderTo(e,t,n,r),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(e){var t=this.extension("renderer",e.name);if(null==t){e3("Can not initialise: No such renderer `".concat(e.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}void 0!==e.wheelSensitivity&&e9("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var n=aU(e);n.cy=this,this._private.renderer=new t(n),this.notify("init")},destroyRenderer:function(){this.notify("destroy");var e=this.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);this._private.renderer=null,this.mutableElements().forEach(function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]})},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};aZ.invalidateDimensions=aZ.resize;var a$={collection:function(e,t){return N(e)?this.$(e):R(e)?e.collection():I(e)?(t||(t={}),new aA(this,e,t.unique,t.removed)):new aA(this)},nodes:function(e){var t=this.$(function(e){return e.isNode()});return e?t.filter(e):t},edges:function(e){var t=this.$(function(e){return e.isEdge()});return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};a$.elements=a$.filter=a$.$;var aQ={};aQ.apply=function(e){for(var t=this._private.cy.collection(),n=0;n0;if(h||c&&d){var p=void 0;h&&d?p=l.properties:h?p=l.properties:d&&(p=l.mappedProperties);for(var f=0;f1&&(v=1),o.color){var E=r.valueMin[0],k=r.valueMax[0],C=r.valueMin[1],S=r.valueMax[1],D=r.valueMin[2],T=r.valueMax[2],P=null==r.valueMin[3]?1:r.valueMin[3],_=[Math.round(E+(k-E)*v),Math.round(C+(S-C)*v),Math.round(D+(T-D)*v),Math.round(P+((null==r.valueMax[3]?1:r.valueMax[3])-P)*v)];g={bypass:r.bypass,name:r.name,value:_,strValue:"rgb("+_[0]+", "+_[1]+", "+_[2]+")"}}else{if(!o.number)return!1;var M=r.valueMin+(r.valueMax-r.valueMin)*v;g=this.parse(r.name,M,r.bypass,h)}if(!g)return f(),!1;g.mapping=r,r=g;break;case a.data:for(var B=r.field.split("."),N=c.data,A=0;A0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()}).then(function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1})}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},aQ.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},aQ.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,function(e){return e.triggersZOrder},function(){i._private.cy.notify("zorder",e)})},aQ.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,function(e){return e.triggersBounds},function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),i.triggersBoundsOfParallelBeziers&&("curve-style"===t&&("bezier"===n||"bezier"===r)||"display"===t&&("none"===n||"none"===r))&&e.parallelEdges().forEach(function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()})})},aQ.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var aJ={};aJ.applyBypass=function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?i.substr(t.length):""}function o(){n=n.length>r.length?n.substr(r.length):""}for(i=i.replace(/[/][*](\s|.)+?[*][/]/g,"");!i.match(/^\s*$/);){var s=i.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!s){e9("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+i);break}t=s[0];var l=s[1];if("core"!==l&&new iC(l).invalid){e9("Skipping parsing of block: Invalid selector found in string stylesheet: "+l),a();continue}var u=s[2],c=!1;n=u;for(var h=[];!n.match(/^\s*$/);){var d=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!d){e9("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+u),c=!0;break}r=d[0];var p=d[1],f=d[2];if(!this.properties[p]){e9("Skipping property: Invalid property name in: "+r),o();continue}if(!this.parse(p,f)){e9("Skipping property: Invalid property definition in: "+r),o();continue}h.push({name:p,val:f}),o()}if(c){a();break}this.selector(l);for(var g=0;g=7&&"d"===t[0]&&(g=new RegExp(o.data.regex).exec(t))){if(n)return!1;var u=o.data;return{name:e,value:g,strValue:""+t,mapped:u,field:g[1],bypass:n}}else if(t.length>=10&&"m"===t[0]&&(v=new RegExp(o.mapData.regex).exec(t))){if(n||l.multiple)return!1;var c=o.mapData;if(!(l.color||l.number))return!1;var h=this.parse(e,v[4]);if(!h||h.mapped)return!1;var d=this.parse(e,v[5]);if(!d||d.mapped)return!1;if(h.pfValue===d.pfValue||h.strValue===d.strValue)return e9("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+h.strValue+"`"),this.parse(e,h.strValue);if(l.color){var p=h.value,f=d.value;if(p[0]===f[0]&&p[1]===f[1]&&p[2]===f[2]&&(p[3]===f[3]||(null==p[3]||1===p[3])&&(null==f[3]||1===f[3])))return!1}return{name:e,value:v,strValue:""+t,mapped:c,field:v[1],fieldMin:parseFloat(v[2]),fieldMax:parseFloat(v[3]),valueMin:h.value,valueMax:d.value,bypass:n}}if(l.multiple&&"multiple"!==r){if(y=s?t.split(/\s+/):I(t)?t:[t],l.evenMultiple&&y.length%2!=0)return null;for(var g,v,y,b=[],x=[],w=[],E="",k=!1,C=0;C0?" ":"")+S.strValue}return l.validate&&!l.validate(b,x)?null:l.singleEnum&&k?1===b.length&&N(b[0])?{name:e,value:b[0],strValue:b[0],bypass:n}:null:{name:e,value:b,pfValue:w,strValue:E,bypass:n,units:x}}var D=function(){for(var r=0;rl.max||l.strictMax&&t===l.max))return null;var O={name:e,value:t,strValue:""+t+(P||""),units:P,bypass:n};return l.unitless||"px"!==P&&"em"!==P?O.pfValue=t:O.pfValue="px"!==P&&P?this.getEmSizeInPixels()*t:t,("ms"===P||"s"===P)&&(O.pfValue="ms"===P?t:1e3*t),("deg"===P||"rad"===P)&&(O.pfValue="rad"===P?t:Math.PI*t/180),"%"===P&&(O.pfValue=t/100),O}if(l.propList){var L=[],R=""+t;if("none"===R);else{for(var V=R.split(/\s*,\s*|\s+/),F=0;F0&&l>0&&!isNaN(r.w)&&!isNaN(r.h)&&r.w>0&&r.h>0){i=(i=(i=Math.min((s-2*t)/r.w,(l-2*t)/r.h))>this._private.maxZoom?this._private.maxZoom:i)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),z(e)?n=e:O(e)&&(n=e.level,null!=e.position?t=tE(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;z(l.x)&&(t.pan.x=l.x,o=!1),z(l.y)&&(t.pan.y=l.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(N(e)){var n=e;e=this.mutableElements().filter(n)}else R(e)||(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled&&this.viewport({pan:{x:0,y:0},zoom:1}),this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container;return n.sizeCache=n.sizeCache||(r?(e=this.window().getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};a8.centre=a8.center,a8.autolockNodes=a8.autolock,a8.autoungrabifyNodes=a8.autoungrabify;var a7={data:ii.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:ii.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:ii.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ii.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};a7.attr=a7.data,a7.removeAttr=a7.removeData;var oe=function(e){var t=this,n=(e=en({},e)).container;n&&!L(n)&&L(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{}).cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==S&&void 0!==n&&!e.headless,o=e;o.layout=en({name:a?"grid":"null"},o.layout),o.renderer=en({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},l=this._private={container:n,ready:!1,options:o,elements:new aA(this),listeners:[],aniEles:new aA(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,o.zoomingEnabled),userZoomingEnabled:s(!0,o.userZoomingEnabled),panningEnabled:s(!0,o.panningEnabled),userPanningEnabled:s(!0,o.userPanningEnabled),boxSelectionEnabled:s(!0,o.boxSelectionEnabled),autolock:s(!1,o.autolock,o.autolockNodes),autoungrabify:s(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:s(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?a:o.styleEnabled,zoom:z(o.zoom)?o.zoom:1,pan:{x:O(o.pan)&&z(o.pan.x)?o.pan.x:0,y:O(o.pan)&&z(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom}),l.styleEnabled&&t.setStyle([]);var u=en({},o,o.renderer);t.initRenderer(u);var c=function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(O(e)||I(e))&&t.add(e),t.one("layoutready",function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")}).one("layoutstop",function(){t.one("done",r),t.emit("done")});var a=en({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()};!function(e,t){if(e.some(Y))return rf.all(e).then(t);t(e)}([o.style,o.elements],function(e){var n=e[0],a=e[1];l.styleEnabled&&t.style().append(n),c(a,function(){t.startAnimationLoop(),l.ready=!0,A(o.ready)&&t.on("ready",o.ready);for(var e=0;e0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach(function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)})}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch(function(){for(var n=Object.keys(e),r=0;r0,s=tV(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(R(t.roots))e=t.roots;else if(I(t.roots)){for(var l=[],u=0;u0;){var T=C.shift(),P=function(e,n){for(var i=oi(e),a=e.incomers().filter(function(e){return e.isNode()&&r.has(e)}),o=-1,s=e.id(),l=0;l0&&f[0].length<=3?u/2:0),h=2*Math.PI/f[r].length*i;return 0===r&&1===f[0].length&&(c=1),{x:W.x+c*Math.cos(h),y:W.y+c*Math.sin(h)}}),this};var os={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function ol(e){this.options=en({},os,e)}ol.prototype.run=function(){var e,t=this.options,n=t.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o=tV(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},l=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),u=0,c=0;c1&&t.avoidOverlap){var d=Math.cos(l)-1,p=Math.sin(l)-0;e=Math.max(Math.sqrt((u*=1.75)*u/(d*d+p*p)),e)}return r.nodes().layoutPositions(this,t,function(n,r){var a=t.startAngle+r*l*(i?1:-1),o=e*Math.cos(a),u=e*Math.sin(a);return{x:s.x+o,y:s.y+u}}),this};var ou={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function oc(e){this.options=en({},ou,e)}oc.prototype.run=function(){for(var e=this.options,t=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,n=e.cy,r=e.eles,i=r.nodes().not(":parent"),a=tV(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),o={x:a.x1+a.w/2,y:a.y1+a.h/2},s=[],l=0,u=0;u0&&Math.abs(v[0].value-b.value)>=f&&(v=[],g.push(v)),v.push(b)}var x=l+e.minNodeSpacing;if(!e.avoidOverlap){var w=g.length>0&&g[0].length>1,E=(Math.min(a.w,a.h)/2-x)/(g.length+w?1:0);x=Math.min(x,E)}for(var k=0,C=0;C1&&e.avoidOverlap){var P=Math.cos(T)-1,_=Math.sin(T)-0;k=Math.max(Math.sqrt(x*x/(P*P+_*_)),k)}S.r=k,k+=x}if(e.equidistant){for(var M=0,B=0,N=0;N=e.numIter)&&(ob(r,e),r.temperature=r.temperature*e.coolingFactor,!(r.temperature=e.animationThreshold&&a(),eF(t)):(oB(r,e),s())}();else{for(;u;)u=o(l),l++;oB(r,e),s()}return this},od.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},od.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var op=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=tV(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),l={},u=0;u0){o.graphSet.push(C);for(var u=0;ur.count?0:r.graph},og=function e(t,n,r,i){var a=i.graphSet[r];if(-10)var s=r.nodeOverlap*o,l=Math.sqrt(i*i+a*a),u=s*i/l,c=s*a/l;else var h=oC(e,i,a),d=oC(t,-1*i,-1*a),p=d.x-h.x,f=d.y-h.y,g=p*p+f*f,l=Math.sqrt(g),s=(e.nodeRepulsion+t.nodeRepulsion)/g,u=s*p/l,c=s*f/l;e.isLocked||(e.offsetX-=u,e.offsetY-=c),t.isLocked||(t.offsetX+=u,t.offsetY+=c)}},ok=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else var i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else var a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},oC=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2):0>n&&(s<=-1*l||s>=l)&&(u.x=r-a*t/2/n,u.y=i-a/2),u},oS=function(e,t){for(var n=0;n1){var f=t.gravity*h/p,g=t.gravity*d/p;c.offsetX+=f,c.offsetY+=g}}}}},oT=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else var i={x:e,y:t};return i},oM=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;if((null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopg&&(d+=f+t.componentSpacing,h=0,p=0,f=0)}}},oN={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function oA(e){this.options=en({},oN,e)}oA.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,r=n.nodes().not(":parent");e.sort&&(r=r.sort(e.sort));var i=tV(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()});if(0===i.h||0===i.w)n.nodes().layoutPositions(this,e,function(e){return{x:i.x1,y:i.y1}});else{var a=r.size(),o=Math.sqrt(a*i.h/i.w),s=Math.round(o),l=Math.round(i.w/i.h*o),u=function(e){if(null==e)return Math.min(s,l);Math.min(s,l)==s?s=e:l=e},c=function(e){if(null==e)return Math.max(s,l);Math.max(s,l)==s?s=e:l=e},h=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=h&&null!=d)s=h,l=d;else if(null!=h&&null==d)l=Math.ceil(a/(s=h));else if(null==h&&null!=d)s=Math.ceil(a/(l=d));else if(l*s>a){var p=u(),f=c();(p-1)*f>=a?u(p-1):(f-1)*p>=a&&c(f-1)}else for(;l*s=a?c(v+1):u(g+1)}var y=i.w/l,b=i.h/s;if(e.condense&&(y=0,b=0),e.avoidOverlap)for(var x=0;x=l&&(B=0,M++)},A={},I=0;I=0;x--){var w=l[x];w.isNode()?y(w)||b(w):function(n){var r,i=n._private,a=i.rscratch,l=n.pstyle("width").pfValue,c=n.pstyle("arrow-scale").value,p=l/2+d,f=p*p,g=2*p,b=i.source,x=i.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var w,E,k,C,S=a.allpts,D=0;D+3(r=t0(e,t,S[D],S[D+1],S[D+2],S[D+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType){for(var S=a.allpts,D=0;D+5(r=tJ(e,t,S[D],S[D+1],S[D+2],S[D+3],S[D+4],S[D+5])))return v(n,r),!0}for(var b=b||i.source,x=x||i.target,T=o.getArrowWidth(l,c),P=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}],D=0;D0&&(y(b),y(x))}(w)||b(w)||b(w,"source")||b(w,"target")}return u},oY.getAllInBox=function(e,t,n,r){var i=this.getCachedZSortedEles().interactive,a=[],o=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,r),u=Math.max(t,r);e=o,n=s;for(var c=tV({x1:e,y1:t=l,x2:n,y2:r=u}),h=0;h0?Math.max(e-t,0):Math.min(e+t,0)},D=S(k,g?(h+p)/2:0),T=S(C,g?(d+f)/2:0),P=!1;"auto"===y?v=Math.abs(D)>Math.abs(T)?a:i:y===u||y===l?(v=i,P=!0):(y===o||y===s)&&(v=a,P=!0);var _=v===i,M=_?T:D,B=_?C:k,N=tB(B),A=!1;!(P&&(x||w<0))&&(y===l&&B<0||y===u&&B>0||y===o&&B>0||y===s&&B<0)&&(N*=-1,M=N*Math.abs(M),A=!0);var I=function(e){return Math.abs(e)=Math.abs(M)},O=I(n=x?(w<0?1+w:w)*M:(w<0?M:0)+w*N),z=I(Math.abs(M)-Math.abs(n));if((O||z)&&!A){if(_){var L=Math.abs(k)<=p/2;if(Math.abs(B)<=d/2){var R=(c.x1+c.x2)/2,V=c.y1,F=c.y2;r.segpts=[R,V,R,F]}else if(L){var j=(c.y1+c.y2)/2,q=c.x1,X=c.x2;r.segpts=[q,j,X,j]}else r.segpts=[c.x1,c.y2]}else{var Y=Math.abs(C)<=f/2;if(Math.abs(B)<=h/2){var W=(c.y1+c.y2)/2,H=c.x1,G=c.x2;r.segpts=[H,W,G,W]}else if(Y){var K=(c.x1+c.x2)/2,U=c.y1,Z=c.y2;r.segpts=[K,U,K,Z]}else r.segpts=[c.x2,c.y1]}}else if(_){var $=c.y1+n+(g?d/2*N:0),Q=c.x1,J=c.x2;r.segpts=[Q,$,J,$]}else{var ee=c.x1+n+(g?h/2*N:0),et=c.y1,en=c.y2;r.segpts=[ee,et,ee,en]}},oH.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=!z(n.startX)||!z(n.startY),d=!z(n.arrowStartX)||!z(n.arrowStartY),p=!z(n.endX)||!z(n.endY),f=!z(n.arrowEndX)||!z(n.arrowEndY),g=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,v=tN({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),y=vd.poolIndex()){var p=h;h=d,d=p}var f=s.srcPos=h.position(),g=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),b=s.tgtW=d.outerWidth(),x=s.tgtH=d.outerHeight(),w=s.srcShape=n.nodeShapes[t.getNodeShape(h)],E=s.tgtShape=n.nodeShapes[t.getNodeShape(d)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var k=0;k0){var j=tA(l,tC(t)),q=tA(l,tC(F)),X=j;q2&&tA(l,{x:F[2],y:F[3]})0){var en=tA(u,tC(t)),er=tA(u,tC(et)),ei=en;er2&&tA(u,{x:et[2],y:et[3]})=l||b){c={cp:g,segment:y};break}}if(c)break}var x=c.cp,w=c.segment,E=(l-d)/w.length,k=w.t1-w.t0,C=i?w.t0+k*E:w.t1-k*E;C=tR(0,C,1),t=tz(x.p0,x.p1,x.p2,C),u=oJ(x.p0,x.p1,x.p2,C);break;case"straight":case"segments":case"haystack":for(var S,D,T,P,_=0,M=r.allpts.length,B=0;B+3=l));B+=2);var N=(l-P)/T;t=tL(S,D,N=tR(0,N,1)),u=oQ(S,D)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,u)}};l("source"),l("target"),this.applyLabelDimensions(e)}},oZ.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},oZ.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=ta(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=i.width,h=i.height+(l-1)*(a-1)*u;to(n.rstyle,"labelWidth",t,c),to(n.rscratch,"labelWidth",t,c),to(n.rstyle,"labelHeight",t,h),to(n.rscratch,"labelHeight",t,h),to(n.rscratch,"labelLineHeight",t,u*a)},oZ.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(to(n.rscratch,e,t,r),r):ta(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,h="anywhere"===e.pstyle("text-overflow-wrap").value,d=[],p=/[\s\u200b]+/,f=h?"":" ",g=0;gc){for(var b=v.split(p),x="",w=0;wC);T++)S+=i[T],T===i.length-1&&(D=!0);return D||(S+="…"),S}return i},oZ.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},oZ.calculateLabelDimensions=function(e,t){var n=eG(t,e._private.labelDimsKey),r=this.labelDimCache||(this.labelDimCache=[]),i=r[n];if(null!=i)return i;var a=e.pstyle("font-style").strValue,o=e.pstyle("font-size").pfValue,s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,u=this.labelCalcCanvas,c=this.labelCalcCanvasContext;if(!u){u=this.labelCalcCanvas=document.createElement("canvas"),c=this.labelCalcCanvasContext=u.getContext("2d");var h=u.style;h.position="absolute",h.left="-9999px",h.top="-9999px",h.zIndex="-1",h.visibility="hidden",h.pointerEvents="none"}c.font="".concat(a," ").concat(l," ").concat(o,"px ").concat(s);for(var d=0,p=0,f=t.split("\n"),g=0;ge.width()||28>e.height()))return o1||(e9("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),o1=!0),"rectangle";if(e.isParent())return"rectangle"===t||"roundrectangle"===t||"round-rectangle"===t||"cutrectangle"===t||"cut-rectangle"===t||"barrel"===t?t:"rectangle";if("polygon"===t){var n=e.pstyle("shape-polygon-points").value;return this.nodeShapes.makePolygon(n).name}return t};var o2={};o2.registerCalculationListeners=function(){var e=this.cy,t=e.collection(),n=this,r=function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(t.merge(e),n)for(var r=0;r=C.desktopTapThreshold2}var v=P(e);w&&(C.hoverData.tapholdCancelled=!0),t=!0,T(u,["mousemove","vmousemove","tapdrag"],e,{x:a[0],y:a[1]});var y=function(){C.data.bgActivePosistion=void 0,C.hoverData.selecting||n.emit({originalEvent:e,type:"boxstart",position:{x:a[0],y:a[1]}}),l[4]=1,C.hoverData.selecting=!0,C.redrawHint("select",!0),C.redraw()};if(3===C.hoverData.which){if(w){var b={originalEvent:e,type:"cxtdrag",position:{x:a[0],y:a[1]}};h?h.emit(b):n.emit(b),C.hoverData.cxtDragged=!0,(!C.hoverData.cxtOver||u!==C.hoverData.cxtOver)&&(C.hoverData.cxtOver&&C.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:a[0],y:a[1]}}),C.hoverData.cxtOver=u,u&&u.emit({originalEvent:e,type:"cxtdragover",position:{x:a[0],y:a[1]}}))}}else if(C.hoverData.dragging){if(t=!0,n.panningEnabled()&&n.userPanningEnabled()){if(C.hoverData.justStartedPan){var x=C.hoverData.mdownPos;E={x:(a[0]-x[0])*r,y:(a[1]-x[1])*r},C.hoverData.justStartedPan=!1}else E={x:d[0]*r,y:d[1]*r};n.panBy(E),n.emit("dragpan"),C.hoverData.dragged=!0}a=C.projectIntoViewport(e.clientX,e.clientY)}else if(1==l[4]&&(null==h||h.pannable()))w&&(!C.hoverData.dragging&&n.boxSelectionEnabled()&&(v||!n.panningEnabled()||!n.userPanningEnabled())?y():!C.hoverData.selecting&&n.panningEnabled()&&n.userPanningEnabled()&&_(h,C.hoverData.downs)&&(C.hoverData.dragging=!0,C.hoverData.justStartedPan=!0,l[4]=0,C.data.bgActivePosistion=tC(o),C.redrawHint("select",!0),C.redraw()),h&&h.pannable()&&h.active()&&h.unactivate());else{if(h&&h.pannable()&&h.active()&&h.unactivate(),h&&h.grabbed()||u==c||(c&&T(c,["mouseout","tapdragout"],e,{x:a[0],y:a[1]}),u&&T(u,["mouseover","tapdragover"],e,{x:a[0],y:a[1]}),C.hoverData.last=u),h){if(w){if(n.boxSelectionEnabled()&&v)h&&h.grabbed()&&(F(p),h.emit("freeon"),p.emit("free"),C.dragData.didDrag&&(h.emit("dragfreeon"),p.emit("dragfree"))),y();else if(h&&h.grabbed()&&C.nodeIsDraggable(h)){var w,E,k,S=!C.dragData.didDrag;S&&C.redrawHint("eles",!0),C.dragData.didDrag=!0,C.hoverData.draggingEles||V(p,{inDragLayer:!0});var D={x:0,y:0};if(z(d[0])&&z(d[1])&&(D.x+=d[0],D.y+=d[1],S)){var M=C.hoverData.dragDelta;M&&z(M[0])&&z(M[1])&&(D.x+=M[0],D.y+=M[1])}C.hoverData.draggingEles=!0,p.silentShift(D).emit("position drag"),C.redrawHint("drag",!0),C.redraw()}}else 0===(k=C.hoverData.dragDelta=C.hoverData.dragDelta||[]).length?(k.push(d[0]),k.push(d[1])):(k[0]+=d[0],k[1]+=d[1])}t=!0}if(l[2]=a[0],l[3]=a[1],t)return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1}},!1),C.registerBinding(S,"mouseup",function(r){if(C.hoverData.capture){C.hoverData.capture=!1;var i=C.cy,a=C.projectIntoViewport(r.clientX,r.clientY),o=C.selection,s=C.findNearestElement(a[0],a[1],!0,!1),l=C.dragData.possibleDragElements,u=C.hoverData.down,c=P(r);if(C.data.bgActivePosistion&&(C.redrawHint("select",!0),C.redraw()),C.hoverData.tapholdCancelled=!0,C.data.bgActivePosistion=void 0,u&&u.unactivate(),3===C.hoverData.which){var h={originalEvent:r,type:"cxttapend",position:{x:a[0],y:a[1]}};if(u?u.emit(h):i.emit(h),!C.hoverData.cxtDragged){var d={originalEvent:r,type:"cxttap",position:{x:a[0],y:a[1]}};u?u.emit(d):i.emit(d)}C.hoverData.cxtDragged=!1,C.hoverData.which=null}else if(1===C.hoverData.which){if(T(s,["mouseup","tapend","vmouseup"],r,{x:a[0],y:a[1]}),C.dragData.didDrag||C.hoverData.dragged||C.hoverData.selecting||C.hoverData.isOverThresholdDrag||(T(u,["click","tap","vclick"],r,{x:a[0],y:a[1]}),t=!1,r.timeStamp-n<=i.multiClickDebounceTime()?(e&&clearTimeout(e),t=!0,n=null,T(u,["dblclick","dbltap","vdblclick"],r,{x:a[0],y:a[1]})):(e=setTimeout(function(){t||T(u,["oneclick","onetap","voneclick"],r,{x:a[0],y:a[1]})},i.multiClickDebounceTime()),n=r.timeStamp)),null!=u||C.dragData.didDrag||C.hoverData.selecting||C.hoverData.dragged||P(r)||(i.$(D).unselect(["tapunselect"]),l.length>0&&C.redrawHint("eles",!0),C.dragData.possibleDragElements=l=i.collection()),s!=u||C.dragData.didDrag||C.hoverData.selecting||null==s||!s._private.selectable||(C.hoverData.dragging||("additive"===i.selectionType()||c?s.selected()?s.unselect(["tapunselect"]):s.select(["tapselect"]):c||(i.$(D).unmerge(s).unselect(["tapunselect"]),s.select(["tapselect"]))),C.redrawHint("eles",!0)),C.hoverData.selecting){var p=i.collection(C.getAllInBox(o[0],o[1],o[2],o[3]));C.redrawHint("select",!0),p.length>0&&C.redrawHint("eles",!0),i.emit({type:"boxend",originalEvent:r,position:{x:a[0],y:a[1]}}),"additive"!==i.selectionType()&&(c||i.$(D).unmerge(p).unselect()),p.emit("box").stdFilter(function(e){return e.selectable()&&!e.selected()}).select().emit("boxselect"),C.redraw()}if(C.hoverData.dragging&&(C.hoverData.dragging=!1,C.redrawHint("select",!0),C.redrawHint("eles",!0),C.redraw()),!o[4]){C.redrawHint("drag",!0),C.redrawHint("eles",!0);var f=u&&u.grabbed();F(l),f&&(u.emit("freeon"),l.emit("free"),C.dragData.didDrag&&(u.emit("dragfreeon"),l.emit("dragfree")))}}o[4]=0,C.hoverData.down=null,C.hoverData.cxtStarted=!1,C.hoverData.draggingEles=!1,C.hoverData.selecting=!1,C.hoverData.isOverThresholdDrag=!1,C.dragData.didDrag=!1,C.hoverData.dragged=!1,C.hoverData.dragDelta=[],C.hoverData.mdownPos=null,C.hoverData.mdownGPos=null}},!1);var K=function(e){if(!C.scrollingPage){var t=C.cy,n=t.zoom(),r=t.pan(),i=C.projectIntoViewport(e.clientX,e.clientY),a=[i[0]*n+r.x,i[1]*n+r.y];if(C.hoverData.draggingEles||C.hoverData.dragging||C.hoverData.cxtStarted||0!==C.selection[4]){e.preventDefault();return}if(t.panningEnabled()&&t.userPanningEnabled()&&t.zoomingEnabled()&&t.userZoomingEnabled()){e.preventDefault(),C.data.wheelZooming=!0,clearTimeout(C.data.wheelTimeout),C.data.wheelTimeout=setTimeout(function(){C.data.wheelZooming=!1,C.redrawHint("eles",!0),C.redraw()},150),o=(null!=e.deltaY?-(e.deltaY/250):null!=e.wheelDeltaY?e.wheelDeltaY/1e3:e.wheelDelta/1e3)*C.wheelSensitivity,1===e.deltaMode&&(o*=33);var o,s=t.zoom()*Math.pow(10,o);"gesturechange"===e.type&&(s=C.gestureStartZoom*e.scale),t.zoom({level:s,renderedPosition:{x:a[0],y:a[1]}}),t.emit("gesturechange"===e.type?"pinchzoom":"scrollzoom")}}};C.registerBinding(C.container,"wheel",K,!0),C.registerBinding(S,"scroll",function(e){C.scrollingPage=!0,clearTimeout(C.scrollingPageTimeout),C.scrollingPageTimeout=setTimeout(function(){C.scrollingPage=!1},250)},!0),C.registerBinding(C.container,"gesturestart",function(e){C.gestureStartZoom=C.cy.zoom(),C.hasTouchStarted||e.preventDefault()},!0),C.registerBinding(C.container,"gesturechange",function(e){C.hasTouchStarted||K(e)},!0),C.registerBinding(C.container,"mouseout",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseout",position:{x:t[0],y:t[1]}})},!1),C.registerBinding(C.container,"mouseover",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseover",position:{x:t[0],y:t[1]}})},!1);var U=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},Z=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(C.registerBinding(C.container,"touchstart",v=function(e){if(C.hasTouchStarted=!0,G(e)){q(),C.touchData.capture=!0,C.data.bgActivePosistion=void 0;var t=C.cy,n=C.touchData.now,v=C.touchData.earlier;if(e.touches[0]){var y=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);n[0]=y[0],n[1]=y[1]}if(e.touches[1]){var y=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);n[2]=y[0],n[3]=y[1]}if(e.touches[2]){var y=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);n[4]=y[0],n[5]=y[1]}if(e.touches[1]){C.touchData.singleTouchMoved=!0,F(C.dragData.touchDragEles);var b=C.findContainerClientCoords();h=b[0],d=b[1],p=b[2],f=b[3],r=e.touches[0].clientX-h,i=e.touches[0].clientY-d,a=e.touches[1].clientX-h,o=e.touches[1].clientY-d,g=0<=r&&r<=p&&0<=a&&a<=p&&0<=i&&i<=f&&0<=o&&o<=f;var x=t.pan(),w=t.zoom();if(s=U(r,i,a,o),l=Z(r,i,a,o),c=[((u=[(r+a)/2,(i+o)/2])[0]-x.x)/w,(u[1]-x.y)/w],l<4e4&&!e.touches[2]){var E=C.findNearestElement(n[0],n[1],!0,!0),k=C.findNearestElement(n[2],n[3],!0,!0);E&&E.isNode()?(E.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=E):k&&k.isNode()?(k.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=k):t.emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!0,C.touchData.cxtDragged=!1,C.data.bgActivePosistion=void 0,C.redraw();return}}if(e.touches[2])t.boxSelectionEnabled()&&e.preventDefault();else if(e.touches[1]);else if(e.touches[0]){var S=C.findNearestElements(n[0],n[1],!0,!0),D=S[0];if(null!=D&&(D.activate(),C.touchData.start=D,C.touchData.starts=S,C.nodeIsGrabbable(D))){var P=C.dragData.touchDragEles=t.collection(),_=null;C.redrawHint("eles",!0),C.redrawHint("drag",!0),D.selected()?V(_=t.$(function(e){return e.selected()&&C.nodeIsGrabbable(e)}),{addToList:P}):V(D,{addToList:P}),I(D);var M=function(t){return{originalEvent:e,type:t,position:{x:n[0],y:n[1]}}};D.emit(M("grabon")),_?_.forEach(function(e){e.emit(M("grab"))}):D.emit(M("grab"))}T(D,["touchstart","tapstart","vmousedown"],e,{x:n[0],y:n[1]}),null==D&&(C.data.bgActivePosistion={x:y[0],y:y[1]},C.redrawHint("select",!0),C.redraw()),C.touchData.singleTouchMoved=!1,C.touchData.singleTouchStartTime=+new Date,clearTimeout(C.touchData.tapholdTimeout),C.touchData.tapholdTimeout=setTimeout(function(){!1!==C.touchData.singleTouchMoved||C.pinching||C.touchData.selecting||T(C.touchData.start,["taphold"],e,{x:n[0],y:n[1]})},C.tapholdDuration)}if(e.touches.length>=1){for(var B=C.touchData.startPosition=[null,null,null,null,null,null],N=0;N=C.touchTapThreshold2}if(t&&C.touchData.cxt){e.preventDefault();var D=e.touches[0].clientX-h,P=e.touches[0].clientY-d,M=e.touches[1].clientX-h,B=e.touches[1].clientY-d,N=Z(D,P,M,B);if(N/l>=2.25||N>=22500){C.touchData.cxt=!1,C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var A={originalEvent:e,type:"cxttapend",position:{x:p[0],y:p[1]}};C.touchData.start?(C.touchData.start.unactivate().emit(A),C.touchData.start=null):u.emit(A)}}if(t&&C.touchData.cxt){var A={originalEvent:e,type:"cxtdrag",position:{x:p[0],y:p[1]}};C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.touchData.start?C.touchData.start.emit(A):u.emit(A),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxtDragged=!0;var I=C.findNearestElement(p[0],p[1],!0,!0);(!C.touchData.cxtOver||I!==C.touchData.cxtOver)&&(C.touchData.cxtOver&&C.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:p[0],y:p[1]}}),C.touchData.cxtOver=I,I&&I.emit({originalEvent:e,type:"cxtdragover",position:{x:p[0],y:p[1]}}))}else if(t&&e.touches[2]&&u.boxSelectionEnabled())e.preventDefault(),C.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,C.touchData.selecting||u.emit({originalEvent:e,type:"boxstart",position:{x:p[0],y:p[1]}}),C.touchData.selecting=!0,C.touchData.didSelect=!0,n[4]=1,n&&0!==n.length&&void 0!==n[0]?(n[2]=(p[0]+p[2]+p[4])/3,n[3]=(p[1]+p[3]+p[5])/3):(n[0]=(p[0]+p[2]+p[4])/3,n[1]=(p[1]+p[3]+p[5])/3,n[2]=(p[0]+p[2]+p[4])/3+1,n[3]=(p[1]+p[3]+p[5])/3+1),C.redrawHint("select",!0),C.redraw();else if(t&&e.touches[1]&&!C.touchData.didSelect&&u.zoomingEnabled()&&u.panningEnabled()&&u.userZoomingEnabled()&&u.userPanningEnabled()){e.preventDefault(),C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var O=C.dragData.touchDragEles;if(O){C.redrawHint("drag",!0);for(var L=0;L0&&!C.hoverData.draggingEles&&!C.swipePanning&&null!=C.data.bgActivePosistion&&(C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.redraw())}},!1),C.registerBinding(S,"touchcancel",b=function(e){var t=C.touchData.start;C.touchData.capture=!1,t&&t.unactivate()}),C.registerBinding(S,"touchend",x=function(e){var t,n=C.touchData.start;if(C.touchData.capture){0===e.touches.length&&(C.touchData.capture=!1),e.preventDefault();var r=C.selection;C.swipePanning=!1,C.hoverData.draggingEles=!1;var i=C.cy,a=i.zoom(),o=C.touchData.now,s=C.touchData.earlier;if(e.touches[0]){var l=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);o[0]=l[0],o[1]=l[1]}if(e.touches[1]){var l=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);o[2]=l[0],o[3]=l[1]}if(e.touches[2]){var l=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);o[4]=l[0],o[5]=l[1]}if(n&&n.unactivate(),C.touchData.cxt){if(t={originalEvent:e,type:"cxttapend",position:{x:o[0],y:o[1]}},n?n.emit(t):i.emit(t),!C.touchData.cxtDragged){var u={originalEvent:e,type:"cxttap",position:{x:o[0],y:o[1]}};n?n.emit(u):i.emit(u)}C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!1,C.touchData.start=null,C.redraw();return}if(!e.touches[2]&&i.boxSelectionEnabled()&&C.touchData.selecting){C.touchData.selecting=!1;var c=i.collection(C.getAllInBox(r[0],r[1],r[2],r[3]));r[0]=void 0,r[1]=void 0,r[2]=void 0,r[3]=void 0,r[4]=0,C.redrawHint("select",!0),i.emit({type:"boxend",originalEvent:e,position:{x:o[0],y:o[1]}}),c.emit("box").stdFilter(function(e){return e.selectable()&&!e.selected()}).select().emit("boxselect"),c.nonempty()&&C.redrawHint("eles",!0),C.redraw()}if(null!=n&&n.unactivate(),e.touches[2])C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);else if(e.touches[1]);else if(e.touches[0]);else if(!e.touches[0]){C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var h=C.dragData.touchDragEles;if(null!=n){var d=n._private.grabbed;F(h),C.redrawHint("drag",!0),C.redrawHint("eles",!0),d&&(n.emit("freeon"),h.emit("free"),C.dragData.didDrag&&(n.emit("dragfreeon"),h.emit("dragfree"))),T(n,["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]}),n.unactivate(),C.touchData.start=null}else T(C.findNearestElement(o[0],o[1],!0,!0),["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]});var p=C.touchData.startPosition[0]-o[0],f=C.touchData.startPosition[1]-o[1];C.touchData.singleTouchMoved||(n||i.$(":selected").unselect(["tapunselect"]),T(n,["tap","vclick"],e,{x:o[0],y:o[1]}),w=!1,e.timeStamp-k<=i.multiClickDebounceTime()?(E&&clearTimeout(E),w=!0,k=null,T(n,["dbltap","vdblclick"],e,{x:o[0],y:o[1]})):(E=setTimeout(function(){w||T(n,["onetap","voneclick"],e,{x:o[0],y:o[1]})},i.multiClickDebounceTime()),k=e.timeStamp)),null!=n&&!C.dragData.didDrag&&n._private.selectable&&(p*p+f*f)*a*a0)return h[0]}return null}(e,t,p);if(null!=f){var g=tO(p[5],p[3],p[1],f);if(p.isTop&&g<=t||p.isBottom&&t<=g)return!0}}return!1}}},o6.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:ni(4,0),draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,r,i,a,o){var s=e-(n/2+o),l=t-(r/2+o),u=e+(n/2+o),c=ne(i,a,e,t,s,l,u,l,!1);return c.length>0?c:tU(i,a,e,t,n,r,o)},checkPoint:function(e,t,n,r,i,a,o){var s=ns(r,i),l=2*s;if(t2(e,t,this.points,a,o,r,i-l,[0,-1],n)||t2(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!(t1(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||t6(e,t,l,l,a+r/2-s,o+i/2-s,n)||t6(e,t,l,l,a-r/2+s,o+i/2-s,n))}}},o6.registerNodeShapes=function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",ni(3,0)),this.generateRoundPolygon("round-triangle",ni(3,0)),this.generatePolygon("rectangle",ni(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",ni(5,0)),this.generateRoundPolygon("round-pentagon",ni(5,0)),this.generatePolygon("hexagon",ni(6,0)),this.generateRoundPolygon("round-hexagon",ni(6,0)),this.generatePolygon("heptagon",ni(7,0)),this.generateRoundPolygon("round-heptagon",ni(7,0)),this.generatePolygon("octagon",ni(8,0)),this.generateRoundPolygon("round-octagon",ni(8,0));var r=Array(20),i=no(5,0),a=no(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;st.className.indexOf(o)&&(t.className=(t.className||"")+" "+o),!s){var l=r.createElement("style");l.id=a,l.textContent="."+o+" { position: relative; }",i.insertBefore(l,i.children[0])}"static"===n.getComputedStyle(t).getPropertyValue("position")&&e9("A Cytoscape container has style position:static and so can not use UI extensions properly")}this.selection=[void 0,void 0,void 0,void 0,0],this.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],this.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},this.dragData={possibleDragElements:[]},this.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},this.redraws=0,this.showFps=e.showFps,this.debug=e.debug,this.hideEdgesOnViewport=e.hideEdgesOnViewport,this.textureOnViewport=e.textureOnViewport,this.wheelSensitivity=e.wheelSensitivity,this.motionBlurEnabled=e.motionBlur,this.forcedPixelRatio=z(e.pixelRatio)?e.pixelRatio:null,this.motionBlur=e.motionBlur,this.motionBlurOpacity=e.motionBlurOpacity,this.motionBlurTransparency=1-this.motionBlurOpacity,this.motionBlurPxRatio=1,this.mbPxRBlurry=1,this.minMbLowQualFrames=4,this.fullQualityMb=!1,this.clearedForMotionBlur=[],this.desktopTapThreshold=e.desktopTapThreshold,this.desktopTapThreshold2=e.desktopTapThreshold*e.desktopTapThreshold,this.touchTapThreshold=e.touchTapThreshold,this.touchTapThreshold2=e.touchTapThreshold*e.touchTapThreshold,this.tapholdDuration=500,this.bindings=[],this.beforeRenderCallbacks=[],this.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},this.registerNodeShapes(),this.registerArrowShapes(),this.registerCalculationListeners()},st.notify=function(e,t){var n=this.cy;if(!this.destroyed){if("init"===e){this.load();return}if("destroy"===e){this.destroy();return}("add"===e||"remove"===e||"move"===e&&n.hasCompoundNodes()||"load"===e||"zorder"===e||"mount"===e)&&this.invalidateCachedZSortedEles(),"viewport"===e&&this.redrawHint("select",!0),("load"===e||"resize"===e||"mount"===e)&&(this.invalidateContainerClientCoordsCache(),this.matchCanvasSize(this.container)),this.redrawHint("eles",!0),this.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},st.destroy=function(){this.destroyed=!0,this.cy.stopAnimationLoop();for(var e=0;e=e.deqFastCost*g)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(f>=e.deqNoDrawCost*sn)break;var v=e.deq(t,h,c);if(v.length>0)for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())},i(t))}}},si=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e1;t(this,e),this.idsByKey=new tl,this.keyForId=new tl,this.cachesByLvl=new tl,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=r}return i(e,[{key:"getIdsFor",value:function(e){null==e&&e3("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new tc,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new tl,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach(function(n){return t.deleteCache(e,n)})}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),sa={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},so=tt({getKey:null,doesEleInvalidateKey:e1,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:e0,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),ss=function(e,t){this.renderer=e,this.onDequeues=[];var n=so(t);en(this,n),this.lookup=new si(n.getKey,n.doesEleInvalidateKey),this.setupDequeueing()},sl=ss.prototype;sl.reasons=sa,sl.getTextureQueue=function(e){return this.eleImgCaches=this.eleImgCaches||{},this.eleImgCaches[e]=this.eleImgCaches[e]||[]},sl.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},sl.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new tf(function(e,t){return t.reqs-e.reqs})},sl.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},sl.getElement=function(e,t,n,r,i){var a,o,s,l=this,u=this.renderer,c=u.cy.zoom(),h=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed()||!l.allowEdgeTxrCaching&&e.isEdge()||!l.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(tM(c*n))),r<-4)r=-4;else if(c>=7.99||r>3)return null;var d=Math.pow(2,r),p=t.h*d,f=t.w*d,g=u.eleTextBiggerThanMin(e,d);if(!this.isVisible(e,g))return null;var v=h.get(e,r);if(v&&v.invalidated&&(v.invalidated=!1,v.texture.invalidatedWidth-=v.width),v)return v;if(a=p<=25?25:p<=50?50:50*Math.ceil(p/50),p>1024||f>1024)return null;var y=l.getTextureQueue(a),b=y[y.length-2],x=function(){return l.recycleTexture(a,f)||l.addTexture(a,f)};b||(b=y[y.length-1]),b||(b=x()),b.width-b.usedWidthr;_--)T=l.getElement(e,t,n,_,sa.downscale);P()}else{if(!E&&!k&&!C)for(var M=r-1;M>=-4;M--){var B=h.get(e,M);if(B){s=B;break}}if(w(s))return l.queueElement(e,r),s;b.context.translate(b.usedWidth,0),b.context.scale(d,d),this.drawElement(b.context,e,t,g,!1),b.context.scale(1/d,1/d),b.context.translate(-b.usedWidth,0)}return v={x:b.usedWidth,texture:b,level:r,scale:d,width:f,height:p,scaledLabelShown:g},b.usedWidth+=Math.ceil(f+8),b.eleCaches.push(v),h.set(e,r,v),l.checkTextureFullness(b),v},sl.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},sl.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?tn(t,e):e.fullnessChecks++},sl.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;tn(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,tr(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),tn(r,a),n.push(a),a}},sl.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},sl.dequeue=function(e){for(var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=[],i=this.lookup,a=0;a<1;a++)if(t.size()>0){var o=t.pop(),s=o.key,l=o.eles[0],u=i.hasCache(l,o.level);if(n[s]=null,u)continue;r.push(o);var c=this.getBoundingBox(l);this.getElement(l,c,e,o.level,sa.dequeue)}else break;return r},sl.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=eJ,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},sl.onDequeue=function(e){this.onDequeues.push(e)},sl.offDequeue=function(e){tn(this.onDequeues,e)},sl.setupDequeueing=sr({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null}a.validateLayersElesOrdering(n,e);var l=a.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[];if(a.levelIsComplete(n,e))return c;!function(){var t=function(t){if(a.validateLayersElesOrdering(t,e),a.levelIsComplete(t,e))return i=l[t],!0},r=function(e){if(!i)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};r(1),r(-1);for(var o=c.length-1;o>=0;o--){var s=c[o];s.invalid&&tn(c,s)}}();var h=function(){if(!r){r=tV();for(var t=0;t=p||!tK(d.bb,v.boundingBox()))&&!(d=function(e){var t=(e=e||{}).after;if(h(),r.w*u*(r.h*u)>16e6)return null;var i=a.makeLayer(r,n);if(null!=t){var o=c.indexOf(t)+1;c.splice(o,0,i)}else(void 0===e.insert||e.insert)&&c.unshift(i);return i}({insert:!0,after:d})))return null;i||f?a.queueLayer(d,v):a.drawEleInLayer(d,v,n,t),d.eles.push(v),b[n]=d}return i||(f?null:c)},sc.getEleLevelForLayerLevel=function(e,t){return e},sc.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();0!==o.w&&0!==o.h&&t.visible()&&(n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,!0),i.setImgSmoothing(a,!0))},sc.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0||a.invalid)return!1;r+=a.eles.length}return r===t.length},sc.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},sc.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=eR(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,function(e,n,r){t.invalidateLayer(e)}))},sc.invalidateLayer=function(e){if(this.lastInvalidationTime=eR(),!e.invalid){var t=e.level,n=e.eles;tn(this.layersByLevel[t],e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var r=0;r3)||void 0===arguments[3]||arguments[3],a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=!(arguments.length>5)||void 0===arguments[5]||arguments[5],s=this,l=t._private.rscratch;if(!(o&&!t.visible()||l.badLine||null==l.allpts||isNaN(l.allpts[0]))){n&&(r=n,e.translate(-r.x1,-r.y1));var u=o?t.pstyle("opacity").value:1,c=o?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,f=t.pstyle("line-cap").value,g=u*c,v=u*c,y=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;"straight-triangle"===h?(s.eleStrokeStyle(e,t,n),s.drawEdgeTrianglePath(t,e,l.allpts)):(e.lineWidth=p,e.lineCap=f,s.eleStrokeStyle(e,t,n),s.drawEdgePath(t,e,l.allpts,d),e.lineCap="butt")},b=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;s.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var x=t.pstyle("ghost-offset-x").pfValue,w=t.pstyle("ghost-offset-y").pfValue,E=g*t.pstyle("ghost-opacity").value;e.translate(x,w),y(E),b(E),e.translate(-x,-w)}a&&s.drawEdgeUnderlay(e,t),y(),b(),a&&s.drawEdgeOverlay(e,t),s.drawElementText(e,t,null,i),n&&e.translate(r.x1,r.y1)}};var sD=function(e){if(!["overlay","underlay"].includes(e))throw Error("Invalid state");return function(t,n){if(n.visible()){var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this.usePaths(),a=n._private.rscratch,o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-color")).value;t.lineWidth=2*o,"self"!==a.edgeType||i?t.lineCap="round":t.lineCap="butt",this.colorStrokeStyle(t,s[0],s[1],s[2],r),this.drawEdgePath(n,t,a.allpts,"solid")}}}};sS.drawEdgeOverlay=sD("overlay"),sS.drawEdgeUnderlay=sD("underlay"),sS.drawEdgePath=function(e,t,n,r){var i,a=e._private.rscratch,o=t,s=!1,l=this.usePaths(),u=e.pstyle("line-dash-pattern").pfValue,c=e.pstyle("line-dash-offset").pfValue;if(l){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(i=t=a.pathCache,s=!0):(i=t=new Path2D,a.pathCacheKey=h,a.pathCache=i)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=c;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+35)||void 0===arguments[5]||arguments[5];if(null==r){if(o&&!this.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=this.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p=!n;n&&(a=n,e.translate(-a.x1,-a.y1)),null==i?(this.drawText(e,t,null,p,o),t.isEdge()&&(this.drawText(e,t,"source",p,o),this.drawText(e,t,"target",p,o))):this.drawText(e,t,i,p,o),n&&e.translate(a.x1,a.y1)},sP.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2)||void 0===arguments[2]||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},sP.getTextAngle=function(e,t){var n=e._private.rscratch,r=t?t+"-":"",i=e.pstyle(r+"text-rotation"),a=ta(n,"labelAngle",t);return"autorotate"===i.strValue?e.isEdge()?a:0:"none"===i.strValue?0:i.pfValue},sP.drawText=function(e,t,n){var r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s=ta(a,"labelX",n),l=ta(a,"labelY",n),u=this.getLabelText(t,n);if(null!=u&&""!==u&&!isNaN(s)&&!isNaN(l)){this.setupTextStyle(e,t,i);var c,h,d,p=n?n+"-":"",f=ta(a,"labelWidth",n),g=ta(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle("text-halign").value,w=t.pstyle("text-valign").value;switch(b&&(x="center",w="center"),s+=v,l+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(c=s,h=l,e.translate(c,h),e.rotate(d),s=0,l=0),w){case"top":break;case"center":l+=g/2;break;case"bottom":l+=g}var E=t.pstyle("text-background-opacity").value,k=t.pstyle("text-border-opacity").value,C=t.pstyle("text-border-width").pfValue,S=t.pstyle("text-background-padding").pfValue;if(E>0||C>0&&k>0){var D=s-S;switch(x){case"left":D-=f;break;case"center":D-=f/2}var T=l-g-S,P=f+2*S,_=g+2*S;if(E>0){var M=e.fillStyle,B=t.pstyle("text-background-color").value;e.fillStyle="rgba("+B[0]+","+B[1]+","+B[2]+","+E*o+")",0===t.pstyle("text-background-shape").strValue.indexOf("round")?function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),e.fill()}(e,D,T,P,_,2):e.fillRect(D,T,P,_),e.fillStyle=M}if(C>0&&k>0){var N=e.strokeStyle,A=e.lineWidth,I=t.pstyle("text-border-color").value,O=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+I[0]+","+I[1]+","+I[2]+","+k*o+")",e.lineWidth=C,e.setLineDash)switch(O){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=C/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(e.strokeRect(D,T,P,_),"double"===O){var z=C/2;e.strokeRect(D+z,T+z,P-2*z,_-2*z)}e.setLineDash&&e.setLineDash([]),e.lineWidth=A,e.strokeStyle=N}}var L=2*t.pstyle("text-outline-width").pfValue;if(L>0&&(e.lineWidth=L),"wrap"===t.pstyle("text-wrap").value){var R=ta(a,"labelWrapCachedLines",n),V=ta(a,"labelLineHeight",n),F=f/2,j=this.getLabelJustification(t);switch("auto"===j||("left"===x?"left"===j?s+=-f:"center"===j&&(s+=-F):"center"===x?"left"===j?s+=-F:"right"===j&&(s+=F):"right"===x&&("center"===j?s+=F:"right"===j&&(s+=f))),w){case"top":case"center":case"bottom":l-=(R.length-1)*V}for(var q=0;q0&&e.strokeText(R[q],s,l),e.fillText(R[q],s,l),l+=V}else L>0&&e.strokeText(u,s,l),e.fillText(u,s,l);0!==d&&(e.rotate(-d),e.translate(-c,-h))}}};var s_={};s_.drawNode=function(e,t,n){var r,i,a,o,s=!(arguments.length>3)||void 0===arguments[3]||arguments[3],l=!(arguments.length>4)||void 0===arguments[4]||arguments[4],u=!(arguments.length>5)||void 0===arguments[5]||arguments[5],c=this,h=t._private,d=h.rscratch,p=t.position();if(z(p.x)&&z(p.y)&&(!u||t.visible())){var f=u?t.effectiveOpacity():1,g=c.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(o=n,e.translate(-o.x1,-o.y1));for(var b=t.pstyle("background-image").value,x=Array(b.length),w=Array(b.length),E=0,k=0;k0&&void 0!==arguments[0]?arguments[0]:P;c.eleFillStyle(e,t,n)},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B;c.colorStrokeStyle(e,_[0],_[1],_[2],t)},I=t.pstyle("shape").strValue,O=t.pstyle("shape-polygon-points").pfValue;if(g){e.translate(p.x,p.y);var L=c.nodePathCache=c.nodePathCache||[],R=eK("polygon"===I?I+","+O.join(","):I,""+i,""+r),V=L[R];null!=V?(a=V,v=!0,d.pathCache=a):(a=new Path2D,L[R]=d.pathCache=a)}var F=function(){if(!v){var n=p;g&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(t)].draw(a||e,n.x,n.y,r,i)}g?e.fill(a):e.fill()},j=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=h.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;c.hasPie(t)&&(c.drawPie(e,t,a),n&&!g&&c.nodeShapes[c.getNodeShape(t)].draw(e,p.x,p.y,r,i))},X=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,n=D>0?0:255;0!==D&&(c.colorFillStyle(e,n,n,n,(D>0?D:-D)*t),g?e.fill(a):e.fill())},Y=function(){if(T>0){if(e.lineWidth=T,e.lineCap="butt",e.setLineDash)switch(M){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}if(g?e.stroke(a):e.stroke(),"double"===M){e.lineWidth=T/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",g?e.stroke(a):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}};if("yes"===t.pstyle("ghost").value){var W=t.pstyle("ghost-offset-x").pfValue,H=t.pstyle("ghost-offset-y").pfValue,G=t.pstyle("ghost-opacity").value,K=G*f;e.translate(W,H),N(G*P),F(),j(K,!0),A(G*B),Y(),q(0!==D||0!==T),j(K,!1),X(K),e.translate(-W,-H)}g&&e.translate(-p.x,-p.y),l&&c.drawNodeUnderlay(e,t,p,r,i),g&&e.translate(p.x,p.y),N(),F(),j(f,!0),A(),Y(),q(0!==D||0!==T),j(f,!1),X(),g&&e.translate(-p.x,-p.y),c.drawElementText(e,t,null,s),l&&c.drawNodeOverlay(e,t,p,r,i),n&&e.translate(o.x1,o.y1)}};var sM=function(e){if(!["overlay","underlay"].includes(e))throw Error("Invalid state");return function(t,n,r,i,a){if(n.visible()){var o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-opacity")).value,l=n.pstyle("".concat(e,"-color")).value,u=n.pstyle("".concat(e,"-shape")).value;if(s>0){if(r=r||n.position(),null==i||null==a){var c=n.padding();i=n.width()+2*c,a=n.height()+2*c}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,i+2*o,a+2*o),t.fill()}}}};s_.drawNodeOverlay=sM("overlay"),s_.drawNodeUnderlay=sM("underlay"),s_.hasPie=function(e){return(e=e[0])._private.hasPie},s_.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=Math.min(t.width(),t.height())/2,u=0;this.usePaths()&&(o=0,s=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var c=1;c<=i.pieBackgroundN;c++){var h=t.pstyle("pie-"+c+"-background-size").value,d=t.pstyle("pie-"+c+"-background-color").value,p=t.pstyle("pie-"+c+"-background-opacity").value*n,f=h/100;f+u>1&&(f=1-u);var g=1.5*Math.PI+2*Math.PI*u,v=g+2*Math.PI*f;0===h||u>=1||u+f>1||(e.beginPath(),e.moveTo(o,s),e.arc(o,s,l,g,v),e.closePath(),this.colorFillStyle(e,d[0],d[1],d[2],p),e.fill(),u+=f)}};var sB={};sB.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},sB.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var b=l.style(),x=l.zoom(),w=void 0!==i?i:x,E=l.pan(),k={x:E.x,y:E.y},C={zoom:x,pan:{x:E.x,y:E.y}},S=o.prevViewport;void 0===S||C.zoom!==S.zoom||C.pan.x!==S.pan.x||C.pan.y!==S.pan.y||g&&!f||(o.motionBlurPxRatio=1),a&&(k=a),w*=s,k.x*=s,k.y*=s;var D=o.getCachedZSortedEles();function T(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function P(e,r){var s,l,c,h;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=k,l=w,c=o.canvasWidth,h=o.canvasHeight):(s={x:E.x*p,y:E.y*p},l=x*p,c=o.canvasWidth*p,h=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?T(e,0,0,c,h):!t&&(void 0===r||r)&&e.clearRect(0,0,c,h),n||(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var _=o.data.bufferContexts[o.TEXTURE_BUFFER];_.setTransform(1,0,0,1,0,0),_.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:_,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult});var C=o.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight};C.mpan={x:(0-C.pan.x)/C.zoom,y:(0-C.pan.y)/C.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var M=u.contexts[o.NODE],B=o.textureCache.texture,C=o.textureCache.viewport;M.setTransform(1,0,0,1,0,0),d?T(M,0,0,C.width,C.height):M.clearRect(0,0,C.width,C.height);var N=b.core("outside-texture-bg-color").value,A=b.core("outside-texture-bg-opacity").value;o.colorFillStyle(M,N[0],N[1],N[2],A),M.fillRect(0,0,C.width,C.height);var x=l.zoom();P(M,!1),M.clearRect(C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s),M.drawImage(B,C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var I=l.extent(),O=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),z=o.hideEdgesOnViewport&&O,L=[];if(L[o.NODE]=!c[o.NODE]&&d&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,L[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),L[o.DRAG]=!c[o.DRAG]&&d&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,L[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||L[o.NODE]){var R=d&&!L[o.NODE]&&1!==p,M=t||(R?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]);P(M,d&&!R?"motionBlur":void 0),z?o.drawCachedNodes(M,D.nondrag,s,I):o.drawLayeredElements(M,D.nondrag,s,I),o.debug&&o.drawDebugPoints(M,D.nondrag),n||d||(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||L[o.DRAG])){var R=d&&!L[o.DRAG]&&1!==p,M=t||(R?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]);P(M,d&&!R?"motionBlur":void 0),z?o.drawCachedNodes(M,D.drag,s,I):o.drawCachedElements(M,D.drag,s,I),o.debug&&o.drawDebugPoints(M,D.drag),n||d||(c[o.DRAG]=!1)}if(o.showFps||!r&&c[o.SELECT_BOX]&&!n){var M=t||u.contexts[o.SELECT_BOX];if(P(M),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){var x=o.cy.zoom(),V=b.core("selection-box-border-width").value/x;M.lineWidth=V,M.fillStyle="rgba("+b.core("selection-box-color").value[0]+","+b.core("selection-box-color").value[1]+","+b.core("selection-box-color").value[2]+","+b.core("selection-box-opacity").value+")",M.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),V>0&&(M.strokeStyle="rgba("+b.core("selection-box-border-color").value[0]+","+b.core("selection-box-border-color").value[1]+","+b.core("selection-box-border-color").value[2]+","+b.core("selection-box-opacity").value+")",M.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(u.bgActivePosistion&&!o.hoverData.selecting){var x=o.cy.zoom(),F=u.bgActivePosistion;M.fillStyle="rgba("+b.core("active-bg-color").value[0]+","+b.core("active-bg-color").value[1]+","+b.core("active-bg-color").value[2]+","+b.core("active-bg-opacity").value+")",M.beginPath(),M.arc(F.x,F.y,b.core("active-bg-size").pfValue/x,0,2*Math.PI),M.fill()}var j=o.lastRedrawTime;if(o.showFps&&j){var q=Math.round(1e3/(j=Math.round(j)));M.setTransform(1,0,0,1,0,0),M.fillStyle="rgba(255, 0, 0, 0.75)",M.strokeStyle="rgba(255, 0, 0, 0.75)",M.lineWidth=1,M.fillText("1 frame = "+j+" ms = "+q+" fps",0,20),M.strokeRect(0,30,250,20),M.fillRect(0,30,250*Math.min(q/60,1),20)}n||(c[o.SELECT_BOX]=!1)}if(d&&1!==p){var X=u.contexts[o.NODE],Y=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],W=u.contexts[o.DRAG],H=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],G=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):T(e,0,0,o.canvasWidth,o.canvasHeight),e.drawImage(t,0,0,o.canvasWidth*p,o.canvasHeight*p,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||L[o.NODE])&&(G(X,Y,L[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||L[o.DRAG])&&(G(W,H,L[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=C,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),d&&(o.motionBlurTimeout=setTimeout(function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()},100)),t||l.emit("render")};var sN={};sN.drawPolygonPath=function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var f=t.pan(),g={x:f.x*l,y:f.y*l};l*=t.zoom(),d.translate(g.x,g.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-g.x,-g.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h},sL.png=function(e){return sV(e,this.bufferCanvasImage(e),"image/png")},sL.jpg=function(e){return sV(e,this.bufferCanvasImage(e),"image/jpeg")};var sF={};sF.nodeShapeImpl=function(e,t,n,r,i,a,o){switch(e){case"ellipse":return this.drawEllipsePath(t,n,r,i,a);case"polygon":return this.drawPolygonPath(t,n,r,i,a,o);case"round-polygon":return this.drawRoundPolygonPath(t,n,r,i,a,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(t,n,r,i,a);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(t,n,r,i,a);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(t,n,r,i,a);case"barrel":return this.drawBarrelPath(t,n,r,i,a)}};var sj=sq.prototype;function sq(e){var t=this;t.data={canvases:Array(sj.CANVAS_LAYERS),contexts:Array(sj.CANVAS_LAYERS),canvasNeedsRedraw:Array(sj.CANVAS_LAYERS),bufferCanvases:Array(sj.BUFFER_COUNT),bufferContexts:Array(sj.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",r="rgba(0,0,0,0)";t.data.canvasContainer=document.createElement("div");var i=t.data.canvasContainer.style;t.data.canvasContainer.style[n]=r,i.position="relative",i.zIndex="0",i.overflow="hidden";var a=e.cy.container();a.appendChild(t.data.canvasContainer),a.style[n]=r;var o={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};D&&D.userAgent.match(/msie|trident|edge/i)&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;se.length)&&(t=e.length);for(var n=0,r=Array(t);nt?1:0},en=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var n,r,i,a,o,s,l,u,c=RegExp("^"+J+"$").exec(e);if(c){if((r=parseInt(c[1]))<0?r=(360- -1*r%360)%360:r>360&&(r%=360),r/=360,(i=parseFloat(c[2]))<0||i>100||(i/=100,(a=parseFloat(c[3]))<0||a>100)||(a/=100,void 0!==(o=c[4])&&((o=parseFloat(o))<0||o>1)))return;if(0===i)s=l=u=Math.round(255*a);else{var h=a<.5?a*(1+i):a+i-a*i,d=2*a-h;s=Math.round(255*t(d,h,r+1/3)),l=Math.round(255*t(d,h,r)),u=Math.round(255*t(d,h,r-1/3))}n=[s,l,u,o]}return n},ea=function(e){var t,n=RegExp("^"+$+"$").exec(e);if(n){t=[];for(var r=[],i=1;i<=3;i++){var a=n[i];if("%"===a[a.length-1]&&(r[i]=!0),a=parseFloat(a),r[i]&&(a=a/100*255),a<0||a>255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t},eo={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},es=function(e){for(var t=e.map,n=e.keys,r=n.length,i=0;i=t||n<0||h&&r>=a}function g(){var e,n,r,i=ef();if(f(i))return v(i);s=setTimeout(g,(e=i-l,n=i-u,r=t-e,h?eO(r,a-n):r))}function v(e){return(s=void 0,d&&r)?p(e):(r=i=void 0,o)}function y(){var e,n=ef(),a=f(n);if(r=arguments,i=this,l=n,a){if(void 0===s)return u=e=l,s=setTimeout(g,t),c?p(e):o;if(h)return clearTimeout(s),s=setTimeout(g,t),p(l)}return void 0===s&&(s=setTimeout(g,t)),o}return t=eA(t)||0,eu(n)&&(c=!!n.leading,a=(h="maxWait"in n)?eI(eA(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?o:v(ef())},y},eL=S?S.performance:null,eR=eL&&eL.now?function(){return eL.now()}:function(){return Date.now()},eV=function(){if(S){if(S.requestAnimationFrame)return function(e){S.requestAnimationFrame(e)};if(S.mozRequestAnimationFrame)return function(e){S.mozRequestAnimationFrame(e)};if(S.webkitRequestAnimationFrame)return function(e){S.webkitRequestAnimationFrame(e)};if(S.msRequestAnimationFrame)return function(e){S.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout(function(){e(eR())},1e3/60)}}(),eF=function(e){return eV(e)},ej=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261,r=n;!(t=e.next()).done;)r=65599*r+t.value|0;return r},eq=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9261;return 65599*t+e|0},eX=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5381;return(t<<5)+t+e|0},eY=function(e){return 2097152*e[0]+e[1]},eW=function(e,t){return[eq(e[0],t[0]),eX(e[1],t[1])]},eH=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return ej({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},tr=function(e){e.splice(0,e.length)},ti=function(e,t){for(var n=0;n2)||void 0===arguments[2]||arguments[2];if(void 0===e||void 0===t||!j(e)){e3("An element must have a core reference and parameters set");return}var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"!==r&&"edges"!==r){e3("An element must be of type `nodes` or `edges`; you specified `"+r+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new tc,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];I(t.classes)?l=t.classes:N(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw Error("lo must be non-negative");for(null==a&&(a=e.length);io(t,e[s=r((i+a)/2)])?a=s:i=s+1;return[].splice.apply(e,[i,i-i].concat(t)),t},o=function(e,t,r){return null==r&&(r=n),e.push(t),f(e,0,e.length-1,r)},a=function(e,t){var r,i;return null==t&&(t=n),r=e.pop(),e.length?(i=e[0],e[0]=r,g(e,0,t)):i=r,i},l=function(e,t,r){var i;return null==r&&(r=n),i=e[0],e[0]=t,g(e,0,r),i},s=function(e,t,r){var i;return null==r&&(r=n),e.length&&0>r(e[0],t)&&(t=(i=[e[0],t])[0],e[0]=i[1],g(e,0,r)),t},i=function(e,t){var i,a,o,s,l,u;for(null==t&&(t=n),s=(function(){u=[];for(var t=0,n=r(e.length/2);0<=n?tn;0<=n?t++:t--)u.push(t);return u}).apply(this).reverse(),l=[],a=0,o=s.length;ar(o=f[h],s)&&(u(l,o,0,null,r),l.pop(),s=l[l.length-1]);return l}for(i(e,r),v=[],d=0,g=c(t,e.length);0<=g?dg;0<=g?++d:--d)v.push(a(e,r));return v},f=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t;){if(0>i(a,o=e[s=r-1>>1])){e[r]=o,r=s;continue}break}return e[r]=a},g=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;ir(e[i],e[s]))&&(i=s),e[t]=e[i],i=2*(t=i)+1;return e[t]=o,f(e,l,t,r)},t=function(){function e(e){this.cmp=null!=e?e:n,this.nodes=[]}return e.push=o,e.pop=a,e.replace=l,e.pushpop=s,e.heapify=i,e.updateItem=p,e.nlargest=h,e.nsmallest=d,e.prototype.push=function(e){return o(this.nodes,e,this.cmp)},e.prototype.pop=function(){return a(this.nodes,this.cmp)},e.prototype.peek=function(){return this.nodes[0]},e.prototype.contains=function(e){return -1!==this.nodes.indexOf(e)},e.prototype.replace=function(e){return l(this.nodes,e,this.cmp)},e.prototype.pushpop=function(e){return s(this.nodes,e,this.cmp)},e.prototype.heapify=function(){return i(this.nodes,this.cmp)},e.prototype.updateItem=function(e){return p(this.nodes,e,this.cmp)},e.prototype.clear=function(){return this.nodes=[]},e.prototype.empty=function(){return 0===this.nodes.length},e.prototype.size=function(){return this.nodes.length},e.prototype.clone=function(){var t;return(t=new e).nodes=this.nodes.slice(0),t},e.prototype.toArray=function(){return this.nodes.slice(0)},e.prototype.insert=e.prototype.push,e.prototype.top=e.prototype.peek,e.prototype.front=e.prototype.peek,e.prototype.has=e.prototype.contains,e.prototype.copy=e.prototype.clone,e}(),e.exports=t}).call(ec)}(l={exports:{}},l.exports),l.exports),tg=tt({root:null,weight:function(e){return 1},directed:!1}),tv=tt({root:null,goal:null,weight:function(e){return 1},heuristic:function(e){return 0},directed:!1}),ty=tt({weight:function(e){return 1},directed:!1}),tm=tt({weight:function(e){return 1},directed:!1,root:null}),tb=Math.sqrt(2),tx=function(e,t,n){0===n.length&&e3("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n.length-1;l>=0;l--){var u=n[l],c=u[1],h=u[2];(t[c]===o&&t[h]===s||t[c]===s&&t[h]===o)&&n.splice(l,1)}for(var d=0;dr;)t=tx(Math.floor(Math.random()*t.length),e,t),n--;return t},tE=function(e,t,n){return{x:e.x*t+n.x,y:e.y*t+n.y}},tk=function(e,t,n){return{x:(e.x-n.x)/t,y:(e.y-n.y)/t}},tC=function(e){return{x:e[0],y:e[1]}},tS=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=!(arguments.length>5)||void 0===arguments[5]||arguments[5];r?e=e.slice(t,n):(n0&&e.splice(0,t));for(var o=0,s=e.length-1;s>=0;s--){var l=e[s];a?!isFinite(l)&&(e[s]=-1/0,o++):e.splice(s,1)}i&&e.sort(function(e,t){return e-t});var u=e.length,c=Math.floor(u/2);return u%2!=0?e[c+1+o]:(e[c-1+o]+e[c+o])/2},t_=function(e,t){return Math.atan2(t,e)-Math.PI/2},tM=Math.log2||function(e){return Math.log(e)/Math.log(2)},tB=function(e){return e>0?1:e<0?-1:0},tN=function(e,t){return Math.sqrt(tA(e,t))},tA=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},tI=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},tF=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},tj=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},tq=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},tX=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tY=function(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)t=n=r=i=a[0];else if(2===a.length)t=r=a[0],i=n=a[1];else if(4===a.length){var s=o(a,4);t=s[0],n=s[1],r=s[2],i=s[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},tW=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},tH=function(e,t){return!(e.x1>t.x2)&&!(t.x1>e.x2)&&!(e.x2t.y2)&&!(t.y1>e.y2)},tG=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},tK=function(e,t){return tG(e,t.x1,t.y1)&&tG(e,t.x2,t.y2)},tU=function(e,t,n,r,i,a,o){var s,l,u=ns(i,a),c=i/2,h=a/2,d=n-c+u-o,p=r-h-o,f=n+c-u+o;if((s=ne(e,t,n,r,d,p,f,p,!1)).length>0)return s;var g=n+c+o,v=r-h+u-o,y=r+h-u+o;if((s=ne(e,t,n,r,g,v,g,y,!1)).length>0)return s;var b=n-c+u-o,x=r+h+o,w=n+c-u+o;if((s=ne(e,t,n,r,b,x,w,x,!1)).length>0)return s;var E=n-c-o,k=r-h+u-o,C=r+h-u+o;if((s=ne(e,t,n,r,E,k,E,C,!1)).length>0)return s;var S=n-c+u,D=r-h+u;if((l=t8(e,t,n,r,S,D,u+o)).length>0&&l[0]<=S&&l[1]<=D)return[l[0],l[1]];var T=n+c-u,P=r-h+u;if((l=t8(e,t,n,r,T,P,u+o)).length>0&&l[0]>=T&&l[1]<=P)return[l[0],l[1]];var _=n+c-u,M=r+h-u;if((l=t8(e,t,n,r,_,M,u+o)).length>0&&l[0]>=_&&l[1]>=M)return[l[0],l[1]];var B=n-c+u,N=r+h-u;return(l=t8(e,t,n,r,B,N,u+o)).length>0&&l[0]<=B&&l[1]>=N?[l[0],l[1]]:[]},tZ=function(e,t,n,r,i,a,o,s,l){var u={x1:Math.min(n,o,i)-l,x2:Math.max(n,o,i)+l,y1:Math.min(r,s,a)-l,y2:Math.max(r,s,a)+l};return!(eu.x2)&&!(tu.y2)},t$=function(e,t,n,r){var i=t*t-4*e*(n-=r);if(i<0)return[];var a=Math.sqrt(i),o=2*e;return[(-t+a)/o,(-t-a)/o]},tQ=function(e,t,n,r,i){var a,o,s,l,u,c,h,d;if(0===e&&(e=1e-5),t/=e,n/=e,r/=e,a=(o=(3*n-t*t)/9)*o*o+(s=(-(27*r)+t*(9*n-t*t*2))/54)*s,i[1]=0,h=t/3,a>0){u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),c=(c=s-Math.sqrt(a))<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-h+u+c,h+=(u+c)/2,i[4]=i[2]=-h,h=Math.sqrt(3)*(-c+u)/2,i[3]=h,i[5]=-h;return}if(i[5]=i[3]=0,0===a){d=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),i[0]=-h+2*d,i[4]=i[2]=-(d+h);return}l=Math.acos(s/Math.sqrt(l=(o=-o)*o*o)),d=2*Math.sqrt(o),i[0]=-h+d*Math.cos(l/3),i[2]=-h+d*Math.cos((l+2*Math.PI)/3),i[4]=-h+d*Math.cos((l+4*Math.PI)/3)},tJ=function(e,t,n,r,i,a,o,s){var l,u=[];tQ(1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s,9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,u);for(var c=[],h=0;h<6;h+=2)1e-7>Math.abs(u[h+1])&&u[h]>=0&&u[h]<=1&&c.push(u[h]);c.push(1),c.push(0);for(var d=-1,p=0;p=0?ll?(e-i)*(e-i)+(t-a)*(t-a):u-h},t1=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e)||!(e>=a))&&(!(r<=e)||!(e<=a)))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0},t2=function(e,t,n,r,i,a,o,s,l){var u,c=Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var h=Math.cos(-u),d=Math.sin(-u),p=0;p0?t3(t4(c,-l)):c)},t5=function(e,t,n,r,i,a,o){for(var s=Array(n.length),l=a/2,u=o/2,c=nl(a,o),h=c*c,d=0;d=0&&f<=1&&v.push(f),g>=0&&g<=1&&v.push(g),0===v.length)return[];var y=v[0]*s[0]+e,b=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,b]:[y,b,v[1]*s[0]+e,v[1]*s[1]+t]:[y,b]},t7=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},ne=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,f=s-a,g=h*d-f*u,v=c*d-p*u,y=f*c-h*p;if(0!==y){var b=g/y,x=v/y;return -.001<=b&&b<=1.001&&-.001<=x&&x<=1.001?[e+b*c,t+b*p]:l?[e+b*c,t+b*p]:[]}return 0!==g&&0!==v?[]:t7(e,n,o)===o?[o,s]:t7(e,n,i)===i?[i,a]:t7(i,o,n)===n?[n,r]:[]},nt=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,f=[],g=Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0?t3(t4(g,-s)):g}else u=n;for(var b=0;b2){for(var P=[u[0],u[1]],_=Math.pow(P[0]-e,2)+Math.pow(P[1]-t,2),M=1;Mu&&(u=t)},get:function(e){return l[e]}},h=0;h0?b.edgesTo(y)[0]:y.edgesTo(b)[0]);h[y=y.id()]>h[g]+x&&(h[y]=h[g]+x,0>d.nodes.indexOf(y)?d.push(y):d.updateItem(y),u[y]=0,l[y]=[]),h[y]==h[g]+x&&(u[y]=u[y]+u[g],l[y].push(g))}else for(var w=0;w0;){for(var S=n.pop(),D=0;D0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i},nT=function(e,t){for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:nM,o=r,s=0;s=2?nz(e,t,n,0,nA,nI):nz(e,t,n,0,nN)},squaredEuclidean:function(e,t,n){return nz(e,t,n,0,nA)},manhattan:function(e,t,n){return nz(e,t,n,0,nN)},max:function(e,t,n){return nz(e,t,n,-1/0,nO)}};function nR(e,t,n,r,i,a){var o;return(o=A(e)?e:nL[e]||nL.euclidean,0===t&&A(e))?o(i,a):o(t,n,r,i,a)}nL["squared-euclidean"]=nL.squaredEuclidean,nL.squaredeuclidean=nL.squaredEuclidean;var nV=tt({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),nF=function(e){return nV(e)},nj=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)};return nR(e,r.length,a,function(e){return r[e](t)},n,t)},nq=function(e,t,n){for(var r=n.length,i=Array(r),a=Array(r),o=Array(t),s=null,l=0;ln)return!1;return!0},nH=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var f=t[s],g=t[r[s]];o="dendrogram"===i.mode?{left:f,right:g,key:f.key}:{value:f.value.concat(g.value),key:f.key},e[f.index]=o,e.splice(g.index,1),t[f.key]=o;for(var v=0;vn[g.key][y.key]&&(a=n[g.key][y.key])):"max"===i.linkage?(a=n[f.key][y.key],n[f.key][y.key]0&&r.push(i);return r},rt=function(e,t,n){for(var r=[],i=0;io&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;ul&&(s=u,l=c)}n[i]=a[s]}return rt(e,t,n)},rr=function(e){for(var t,n,r,i,a,o,s,l,u,c=this.cy(),h=this.nodes(),d=n8(e),p={},f=0;f=_?(M=_,_=N,B=A):N>M&&(M=N);for(var I=0;I0?1:0;D[u%d.minIterations*r+F]=j,V+=j}if(V>0&&(u>=d.minIterations-1||u==d.maxIterations-1)){for(var q=0,X=0;X1)}});var u=Object.keys(t).filter(function(e){return t[e].cutVertex}).map(function(t){return e.getElementById(t)});return{cut:e.spawn(u),components:i}},ro=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach(function(e){var n=e.target().id();n===s||(n in t||o(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))}),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach(function(e){if(e.isNode()){var n=e.id();n in t||o(n)}}),{cut:a,components:r}},rs={};[tp,{dijkstra:function(e){if(!O(e)){var t=arguments;e={root:t[0],weight:t[1],directed:t[2]}}var n=tg(e),r=n.root,i=n.weight,a=n.directed,o=this,s=N(r)?this.filter(r)[0]:r[0],l={},u={},c={},h=this.byGroup(),d=h.nodes,p=h.edges;p.unmergeBy(function(e){return e.isLoop()});for(var f=function(e){return l[e.id()]},g=new tf(function(e,t){return f(e)-f(t)}),v=0;v0;){var b=g.pop(),x=f(b);if(c[b.id()]=x,x!==1/0)for(var w=b.neighborhood().intersect(d),E=0;E0)for(n.unshift(t);u[i];){var a=u[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},{kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=Array(i),o=function(e){for(var t=0;t0;){if(n=(t=g.pop()).id(),v.delete(n),w++,n===h){for(var E=[],k=o,C=h,S=b[C];E.unshift(k),null!=S&&E.unshift(S),null!=(k=y[C]);)S=b[C=k.id()];return{found:!0,distance:d[n],path:this.spawn(E),steps:w}}f[n]=!0;for(var D=t._private.edges,T=0;TS&&(d[C]=S,g[C]=k,v[C]=b),!i){var D=k*l+E;!i&&d[D]>S&&(d[D]=S,g[D]=E,v[D]=b)}}}for(var T=0;T1&&void 0!==arguments[1]?arguments[1]:a,r=y(e),i=[],s=r;;){if(null==s)return t.spawn();var l=v(s),u=l.edge,c=l.pred;if(i.unshift(s[0]),s.same(n)&&i.length>0)break;null!=u&&i.unshift(u),s=c}return o.spawn(i)},hasNegativeWeightCycle:p,negativeWeightCycles:f}}},{kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy(function(e){return e.isLoop()});var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/tb);if(i<2){e3("At least 2 nodes are required for Karger-Stein algorithm");return}for(var l=[],u=0;u1||o>1)&&(l=!0),u[r]=[],e.outgoers().forEach(function(e){e.isEdge()&&u[r].push(e.id())})}else c[r]=[void 0,e.target().id()]}):this.forEach(function(e){var r=e.id();e.isNode()?(e.degree(!0)%2&&(t?n?l=!0:n=r:t=r),u[r]=[],e.connectedEdges().forEach(function(e){return u[r].push(e.id())})):c[r]=[e.source().id(),e.target().id()]});var h={found:!1,trail:void 0};if(l)return h;if(n&&t){if(s){if(r&&n!=r)return h;r=n}else{if(r&&n!=r&&t!=r)return h;r||(r=n)}}else r||(r=this[0].id());var d=function(e){for(var t,n,r,i=e,a=[e];u[i].length;)n=c[t=u[i].shift()][0],i!=(r=c[t][1])?(u[r]=u[r].filter(function(e){return e!=t}),i=r):s||i==n||(u[n]=u[n].filter(function(e){return e!=t}),i=n),a.unshift(t),a.unshift(i);return a},p=[],f=[];for(f=d(r);1!=f.length;)0==u[f[0]].length?(p.unshift(this.getElementById(f.shift())),p.unshift(this.getElementById(f.shift()))):f=d(f.shift()).concat(f);for(var g in p.unshift(this.getElementById(f.shift())),u)if(u[g].length)return h;return h.found=!0,h.trail=this.spawn(p,!0),h}},{hopcroftTarjanBiconnected:ra,htbc:ra,htb:ra,hopcroftTarjanBiconnectedComponents:ra},{tarjanStronglyConnected:ro,tsc:ro,tscc:ro,tarjanStronglyConnectedComponents:ro}].forEach(function(e){en(rs,e)});var rl=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};rl.prototype={fulfill:function(e){return ru(this,1,"fulfillValue",e)},reject:function(e){return ru(this,2,"rejectReason",e)},then:function(e,t){var n=new rl;return this.onFulfilled.push(rd(e,n,"fulfill")),this.onRejected.push(rd(t,n,"reject")),rc(this),n.proxy}};var ru=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,rc(e)),e},rc=function(e){1===e.state?rh(e,"onFulfilled",e.fulfillValue):2===e.state&&rh(e,"onRejected",e.rejectReason)},rh=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e-1},rV.prototype.set=function(e,t){var n=this.__data__,r=rL(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var rF=rB(ep,"Map"),rj=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},rq=function(e,t){var n=e.__data__;return rj(t)?n["string"==typeof t?"string":"hash"]:n.map};function rX(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0}},clearQueue:function(){return function(){var e=void 0!==this.length?this:[this];if(!(this._private.cy||this).styleEnabled())return this;for(var t=0;t0&&this.spawn(n).updateStyle().emit("class"),this},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){I(e)||(e=e.match(/\S+/g)||[]);for(var n=void 0===t,r=[],i=0,a=this.length;i0&&this.spawn(r).updateStyle().emit("class"),this},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout(function(){n.removeClass(e)},t),n}};io.className=io.classNames=io.classes;var is={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:Z,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};is.variable="(?:[\\w-.]|(?:\\\\"+is.metaChar+"))+",is.className="(?:[\\w-]|(?:\\\\"+is.metaChar+"))+",is.value=is.string+"|"+is.number,is.id=is.variable,function(){var e,t,n;for(n=0,e=is.comparatorOp.split("|");n=0||"="===t||(is.comparatorOp+="|\\!"+t)}();var il=function(){return{checks:[]}},iu={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},ic=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort(function(e,t){return -1*et(e.selector,t.selector)}),ih=function(){for(var e,t={},n=0;n=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0&&l.edgeCount>0)return e9("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(l.edgeCount>1)return e9("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===l.edgeCount&&e9("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return N(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(r,a){var o=r.type,s=r.value;switch(o){case iu.GROUP:var l=e(s);return l.substring(0,l.length-1);case iu.DATA_COMPARE:return"["+r.field+n(e(r.operator))+t(s)+"]";case iu.DATA_BOOL:var u=r.operator,c=r.field;return"["+e(u)+c+"]";case iu.DATA_EXIST:return"["+r.field+"]";case iu.META_COMPARE:var h=r.operator;return"[["+r.field+n(e(h))+t(s)+"]]";case iu.STATE:return s;case iu.ID:return"#"+s;case iu.CLASS:return"."+s;case iu.PARENT:case iu.CHILD:return i(r.parent,a)+n(">")+i(r.child,a);case iu.ANCESTOR:case iu.DESCENDANT:return i(r.ancestor,a)+" "+i(r.descendant,a);case iu.COMPOUND_SPLIT:var d=i(r.left,a),p=i(r.subject,a),f=i(r.right,a);return d+(d.length>0?" ":"")+p+f;case iu.TRUE:return""}},i=function(e,t){return e.checks.reduce(function(n,i,a){return n+(t===e&&0===a?"$":"")+r(i,t)},"")},a="",o=0;o1&&o0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function iM(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i1)||void 0===arguments[1]||arguments[1];return i_(this,e,t,iM)},iP.forEachUp=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return i_(this,e,t,iB)},iP.forEachUpAndDown=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return i_(this,e,t,iN)},iP.ancestors=iP.parents,(p=f={data:ii.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:ii.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:ii.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ii.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:ii.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:ii.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=p.data,p.removeAttr=p.removeData;var iA={};function iI(e){return function(t){if(void 0===t&&(t=!0),0!==this.length&&!(!this.isNode()||this.removed())){for(var n=0,r=this[0],i=r._private.edges,a=0;at}),minIndegree:iO("indegree",function(e,t){return et}),minOutdegree:iO("outdegree",function(e,t){return et})}),en(iA,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0;c&&(u=u[0]);var h=c?u.position():{x:0,y:0};void 0!==t?l.position(e,t+h[e]):void 0!==i&&l.position({x:i.x+h.x,y:i.y+h.y})}else{var d=n.position(),p=o?n.parent():null,f=p&&p.length>0;f&&(p=p[0]);var g=f?p.position():{x:0,y:0};return(i={x:d.x-g.x,y:d.y-g.y},void 0===e)?i:i[e]}}else if(!a)return;return this}}).modelPosition=g.point=g.position,g.modelPositions=g.points=g.positions,g.renderedPoint=g.renderedPosition,g.relativePoint=g.relativePosition,y=b={},b.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},b.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()&&this.forEachUp(function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}}),this},b.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes()||!e&&t.batching())return this;for(var n=0;n0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,f=y(i.height.val-a.h,u,c),g=f.biasDiff,v=f.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"===n.units)switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}else if("px"===n.units)return n.pfValue;else return 0}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-g+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}(r),t.batching()||(i.compoundBoundsClean=!0))}return this};var iR=function(e){return e===1/0||e===-1/0?0:e},iV=function(e,t,n,r,i){r-t!=0&&i-n!=0&&null!=t&&null!=n&&null!=r&&null!=i&&(e.x1=te.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},iF=function(e,t){return null==t?e:iV(e,t.x1,t.y1,t.x2,t.y2)},ij=function(e,t,n){return ta(e,t,n)},iq=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,tX(u,1),iV(e,u.x1,u.y1,u.x2,u.y2)}}},iX=function(e,t,n){if(!t.cy().headless()){a=n?n+"-":"";var r=t._private,i=r.rstyle;if(t.pstyle(a+"label").strValue){var a,o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=ij(i,"labelWidth",n),p=ij(i,"labelHeight",n),f=ij(i,"labelX",n),g=ij(i,"labelY",n),v=t.pstyle(a+"text-margin-x").pfValue,y=t.pstyle(a+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle(a+"text-rotation"),w=t.pstyle("text-outline-width").pfValue,E=t.pstyle("text-border-width").pfValue/2,k=t.pstyle("text-background-padding").pfValue,C=d/2,S=p/2;if(b)o=f-C,s=f+C,l=g-S,u=g+S;else{switch(c.value){case"left":o=f-d,s=f;break;case"center":o=f-C,s=f+C;break;case"right":o=f,s=f+d}switch(h.value){case"top":l=g-p,u=g;break;case"center":l=g-S,u=g+S;break;case"bottom":l=g,u=g+p}}o+=v-Math.max(w,E)-k-2,s+=v+Math.max(w,E)+k+2,l+=y-Math.max(w,E)-k-2,u+=y+Math.max(w,E)+k+2;var D=n||"main",T=r.labelBounds,P=T[D]=T[D]||{};P.x1=o,P.y1=l,P.x2=s,P.y2=u,P.w=s-o,P.h=u-l;var _=b&&"autorotate"===x.strValue,M=null!=x.pfValue&&0!==x.pfValue;if(_||M){var B=_?ij(r.rstyle,"labelAngle",n):x.pfValue,N=Math.cos(B),A=Math.sin(B),I=(o+s)/2,O=(l+u)/2;if(!b){switch(c.value){case"left":I=s;break;case"right":I=o}switch(h.value){case"top":O=u;break;case"bottom":O=l}}var z=function(e,t){return{x:(e-=I)*N-(t-=O)*A+I,y:e*A+t*N+O}},L=z(o,l),R=z(o,u),V=z(s,l),F=z(s,u);o=Math.min(L.x,R.x,V.x,F.x),s=Math.max(L.x,R.x,V.x,F.x),l=Math.min(L.y,R.y,V.y,F.y),u=Math.max(L.y,R.y,V.y,F.y)}var j=D+"Rot",q=T[j]=T[j]||{};q.x1=o,q.y1=l,q.x2=s,q.y2=u,q.w=s-o,q.h=u-l,iV(e,o,l,s,u),iV(r.labelBounds.all,o,l,s,u)}return e}},iY=function(e,t){var n=e._private.cy,r=n.styleEnabled(),i=n.headless(),a=tV(),o=e._private,s=e.isNode(),l=e.isEdge(),u=o.rstyle,c=s&&r?e.pstyle("bounds-expansion").pfValue:[0],h=function(e){return"none"!==e.pstyle("display").value},d=!r||h(e)&&(!l||h(e.source())&&h(e.target()));if(d){var p=0;r&&t.includeOverlays&&0!==e.pstyle("overlay-opacity").value&&(p=e.pstyle("overlay-padding").value);var f=0;r&&t.includeUnderlays&&0!==e.pstyle("underlay-opacity").value&&(f=e.pstyle("underlay-padding").value);var g=Math.max(p,f),v=0;if(r&&(v=e.pstyle("width").pfValue/2),s&&t.includeNodes){var y=e.position();S=y.x,D=y.y;var b=e.outerWidth()/2,x=e.outerHeight()/2;w=S-b,E=S+b,iV(a,w,k=D-x,E,C=D+x)}else if(l&&t.includeEdges){if(r&&!i){var w,E,k,C,S,D,T,P=e.pstyle("curve-style").strValue;if(w=Math.min(u.srcX,u.midX,u.tgtX),E=Math.max(u.srcX,u.midX,u.tgtX),k=Math.min(u.srcY,u.midY,u.tgtY),C=Math.max(u.srcY,u.midY,u.tgtY),w-=v,E+=v,iV(a,w,k-=v,E,C+=v),"haystack"===P){var _=u.haystackPts;if(_&&2===_.length){if(w=_[0].x,k=_[0].y,E=_[1].x,C=_[1].y,w>E){var M=w;w=E,E=M}if(k>C){var B=k;k=C,C=B}iV(a,w-v,k-v,E+v,C+v)}}else if("bezier"===P||"unbundled-bezier"===P||"segments"===P||"taxi"===P){switch(P){case"bezier":case"unbundled-bezier":T=u.bezierPts;break;case"segments":case"taxi":T=u.linePts}if(null!=T)for(var N=0;NE){var z=w;w=E,E=z}if(k>C){var L=k;k=C,C=L}w-=v,E+=v,iV(a,w,k-=v,E,C+=v)}}if(r&&t.includeEdges&&l&&(iq(a,e,"mid-source"),iq(a,e,"mid-target"),iq(a,e,"source"),iq(a,e,"target")),r&&"yes"===e.pstyle("ghost").value){var R=e.pstyle("ghost-offset-x").pfValue,V=e.pstyle("ghost-offset-y").pfValue;iV(a,a.x1+R,a.y1+V,a.x2+R,a.y2+V)}var F=o.bodyBounds=o.bodyBounds||{};tW(F,a),tY(F,c),tX(F,1),r&&(w=a.x1,E=a.x2,k=a.y1,C=a.y2,iV(a,w-g,k-g,E+g,C+g));var j=o.overlayBounds=o.overlayBounds||{};tW(j,a),tY(j,c),tX(j,1);var q=o.labelBounds=o.labelBounds||{};null!=q.all?tF(q.all):q.all=tV(),r&&t.includeLabels&&(t.includeMainLabels&&iX(a,e,null),l&&(t.includeSourceLabels&&iX(a,e,"source"),t.includeTargetLabels&&iX(a,e,"target")))}return a.x1=iR(a.x1),a.y1=iR(a.y1),a.x2=iR(a.x2),a.y2=iR(a.y2),a.w=iR(a.x2-a.x1),a.h=iR(a.y2-a.y1),a.w>0&&a.h>0&&d&&(tY(a,c),tX(a,1)),a},iW=function(e){var t=0,n=function(e){return(e?1:0)<0&&void 0!==arguments[0]?arguments[0]:i7,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},at.removeAllListeners=function(){return this.removeListener("*")},at.emit=at.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,I(t)||(t=[t]),ai(this,function(e,a){null!=n&&(i=(r=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}]).length);for(var o=0;o1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&N(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=0;rr&&(r=o,n=a)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=0;i=0&&i1)||void 0===arguments[1]||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled()&&t)return t.pstyle(e).units},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];if(n)return t.style().getRenderedStyle(n,e)},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=n.style();if(O(e))r.applyBypass(this,e,!1),this.emitAndNotify("style");else if(N(e)){if(void 0===t){var i=this[0];return i?r.getStylePropertyValue(i,e):void 0}r.applyBypass(this,e,t,!1),this.emitAndNotify("style")}else if(void 0===e){var a=this[0];return a?r.getRawStyle(a):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=t.style();if(void 0===e)for(var r=0;r0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)},"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),aD.neighbourhood=aD.neighborhood,aD.closedNeighbourhood=aD.closedNeighborhood,aD.openNeighbourhood=aD.openNeighborhood,en(aD,{source:iT(function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t},"source"),target:iT(function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t},"target"),sources:aM({attr:"source"}),targets:aM({attr:"target"})}),en(aD,{edgesWith:iT(aB(),"edgesWith"),edgesTo:iT(aB({thisIsSrc:!0}),"edgesTo")}),en(aD,{connectedEdges:iT(function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),aD.componentsOf=aD.components;var aA=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0===e){e3("A collection must have a reference to the core");return}var i=new tl,a=!1;if(t){if(t.length>0&&O(t[0])&&!V(t[0])){a=!0;for(var o=[],s=new tc,l=0,u=t.length;l0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=this.cy(),r=n._private,i=[],a=[],o=0,s=this.length;o0){for(var B,A,I=B.length===this.length?this:new aA(n,B),O=0;O0)||void 0===arguments[0]||arguments[0],t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=[],r={},i=this._private.cy,a=0,o=this.length;a0&&(e?x.emitAndNotify("remove"):t&&x.emit("remove"));for(var w=0;w1e-4&&Math.abs(g.v)>1e-4;);return p?function(e){return y[e*(y.length-1)|0]}:b}}(),az=function(e,t,n,r){var i=/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */function(e,t,n,r){var i="undefined"!=typeof Float32Array;if(4!=arguments.length)return!1;for(var a=0;a<4;++a)if("number"!=typeof arguments[a]||isNaN(arguments[a])||!isFinite(arguments[a]))return!1;e=Math.min(e,1),n=Math.min(n,1),e=Math.max(e,0),n=Math.max(n,0);var o=i?new Float32Array(11):Array(11);function s(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}function l(e,t,n){return 3*(1-3*n+3*t)*e*e+2*(3*n-6*t)*e+3*t}var u=!1,c=function(i){return(u||(u=!0,(e!==t||n!==r)&&function(){for(var t=0;t<11;++t)o[t]=s(.1*t,e,n)}()),e===t&&n===r)?i:0===i?0:1===i?1:s(function(t){for(var r=0,i=1;10!==i&&o[i]<=t;++i)r+=.1;var a=r+(t-o[--i])/(o[i+1]-o[i])*.1,u=l(a,e,n);return u>=.001?function(t,r){for(var i=0;i<4;++i){var a=l(r,e,n);if(0===a)break;var o=s(r,e,n)-t;r-=o/a}return r}(t,a):0===u?a:function(t,r,i){var a,o,l=0;do(a=s(o=r+(i-r)/2,e,n)-t)>0?i=o:r=o;while(Math.abs(a)>1e-7&&++l<10);return o}(t,r,r+.1)}(i),t,r)};c.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var h="generateBezier("+[e,t,n,r]+")";return c.toString=function(){return h},c}(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},aL={linear:function(e,t,n){return e+(t-e)*n},ease:az(.25,.1,.25,1),"ease-in":az(.42,0,1,1),"ease-out":az(0,0,.58,1),"ease-in-out":az(.42,0,.58,1),"ease-in-sine":az(.47,0,.745,.715),"ease-out-sine":az(.39,.575,.565,1),"ease-in-out-sine":az(.445,.05,.55,.95),"ease-in-quad":az(.55,.085,.68,.53),"ease-out-quad":az(.25,.46,.45,.94),"ease-in-out-quad":az(.455,.03,.515,.955),"ease-in-cubic":az(.55,.055,.675,.19),"ease-out-cubic":az(.215,.61,.355,1),"ease-in-out-cubic":az(.645,.045,.355,1),"ease-in-quart":az(.895,.03,.685,.22),"ease-out-quart":az(.165,.84,.44,1),"ease-in-out-quart":az(.77,0,.175,1),"ease-in-quint":az(.755,.05,.855,.06),"ease-out-quint":az(.23,1,.32,1),"ease-in-out-quint":az(.86,0,.07,1),"ease-in-expo":az(.95,.05,.795,.035),"ease-out-expo":az(.19,1,.22,1),"ease-in-out-expo":az(1,0,0,1),"ease-in-circ":az(.6,.04,.98,.335),"ease-out-circ":az(.075,.82,.165,1),"ease-in-out-circ":az(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return aL.linear;var r=aO(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":az};function aR(e,t,n,r,i){if(1===r||t===n)return n;var a=i(t,n,r);return null==e||((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max))),a}function aV(e,t){return null==e.pfValue&&null==e.value?e:null!=e.pfValue&&(null==t||"%"!==t.type.units)?e.pfValue:e.value}function aF(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=aV(e,i),s=aV(t,i);if(z(o)&&z(s))return aR(a,o,s,n,r);if(I(o)&&I(s)){for(var l=[],u=0;u=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;if(d.stopped){a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames);continue}(d.playing||d.applying)&&(d.playing&&d.applying&&(d.applying=!1),d.started||function(e,t,n,r){var i=t._private;i.started=!0,i.startTime=n-i.progress*i.duration}(0,h,e),function(e,t,n,r){var i,a,o,s,l=!r,u=e._private,c=t._private,h=c.easing,d=c.startTime,p=(r?e:e.cy()).style();c.easingImpl||(null==h?c.easingImpl=aL.linear:(i=N(h)?p.parse("transition-timing-function",h).value:h,N(i)?(a=i,o=[]):(a=i[1],o=i.slice(2).map(function(e){return+e})),o.length>0?("spring"===a&&o.push(c.duration),c.easingImpl=aL[a].apply(null,o)):c.easingImpl=aL[a]));var f=c.easingImpl;if(s=0===c.duration?1:(n-d)/c.duration,c.applying&&(s=c.progress),s<0?s=0:s>1&&(s=1),null==c.delay){var g=c.startPosition,v=c.position;if(v&&l&&!e.locked()){var y={};aj(g.x,v.x)&&(y.x=aF(g.x,v.x,s,f)),aj(g.y,v.y)&&(y.y=aF(g.y,v.y,s,f)),e.position(y)}var b=c.startPan,x=c.pan,w=u.pan,E=null!=x&&r;E&&(aj(b.x,x.x)&&(w.x=aF(b.x,x.x,s,f)),aj(b.y,x.y)&&(w.y=aF(b.y,x.y,s,f)),e.emit("pan"));var k=c.startZoom,C=c.zoom,S=null!=C&&r;S&&(aj(k,C)&&(u.zoom=tR(u.minZoom,aF(k,C,s,f),u.maxZoom)),e.emit("zoom")),(E||S)&&e.emit("viewport");var D=c.style;if(D&&D.length>0&&l){for(var T=0;T0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var aX={animate:ii.animate(),animation:ii.animation(),animated:ii.animated(),clearQueue:ii.clearQueue(),delay:ii.delay(),delayAnimation:ii.delayAnimation(),stop:ii.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender(function(t,n){aq(n,e)},t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&eF(function(n){aq(n,e),t()})}()}}},aY={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&V(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},aW=function(e){return N(e)?new iC(e):e},aH={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new ae(aY,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,aW(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,aW(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,aW(t),n),this},once:function(e,t,n){return this.emitter().one(e,aW(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};ii.eventAliasesOn(aH);var aG={png:function(e){return e=e||{},this._private.renderer.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};aG.jpeg=aG.jpg;var aK={layout:function(e){if(null==e){e3("Layout options must be specified to make a layout");return}if(null==e.name){e3("A `name` must be specified to make a layout");return}var t,n=e.name,r=this.extension("layout",n);if(null==r){e3("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?");return}return t=N(e.eles)?this.$(e.eles):null!=e.eles?e.eles:this.$(),new r(en({},e,{cy:this,eles:t}))}};aK.createLayout=aK.makeLayout=aK.layout;var aU=tt({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),aZ={renderTo:function(e,t,n,r){return this._private.renderer.renderTo(e,t,n,r),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(e){var t=this.extension("renderer",e.name);if(null==t){e3("Can not initialise: No such renderer `".concat(e.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));return}void 0!==e.wheelSensitivity&&e9("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var n=aU(e);n.cy=this,this._private.renderer=new t(n),this.notify("init")},destroyRenderer:function(){this.notify("destroy");var e=this.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);this._private.renderer=null,this.mutableElements().forEach(function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]})},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};aZ.invalidateDimensions=aZ.resize;var a$={collection:function(e,t){return N(e)?this.$(e):R(e)?e.collection():I(e)?(t||(t={}),new aA(this,e,t.unique,t.removed)):new aA(this)},nodes:function(e){var t=this.$(function(e){return e.isNode()});return e?t.filter(e):t},edges:function(e){var t=this.$(function(e){return e.isEdge()});return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};a$.elements=a$.filter=a$.$;var aQ={};aQ.apply=function(e){for(var t=this._private.cy.collection(),n=0;n0;if(h||c&&d){var p=void 0;h&&d?p=l.properties:h?p=l.properties:d&&(p=l.mappedProperties);for(var f=0;f1&&(v=1),o.color){var E=r.valueMin[0],k=r.valueMax[0],C=r.valueMin[1],S=r.valueMax[1],D=r.valueMin[2],T=r.valueMax[2],P=null==r.valueMin[3]?1:r.valueMin[3],_=[Math.round(E+(k-E)*v),Math.round(C+(S-C)*v),Math.round(D+(T-D)*v),Math.round(P+((null==r.valueMax[3]?1:r.valueMax[3])-P)*v)];g={bypass:r.bypass,name:r.name,value:_,strValue:"rgb("+_[0]+", "+_[1]+", "+_[2]+")"}}else{if(!o.number)return!1;var M=r.valueMin+(r.valueMax-r.valueMin)*v;g=this.parse(r.name,M,r.bypass,h)}if(!g)return f(),!1;g.mapping=r,r=g;break;case a.data:for(var B=r.field.split("."),N=c.data,A=0;A0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()}).then(function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1})}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},aQ.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},aQ.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,function(e){return e.triggersZOrder},function(){i._private.cy.notify("zorder",e)})},aQ.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,function(e){return e.triggersBounds},function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),i.triggersBoundsOfParallelBeziers&&("curve-style"===t&&("bezier"===n||"bezier"===r)||"display"===t&&("none"===n||"none"===r))&&e.parallelEdges().forEach(function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()})})},aQ.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var aJ={};aJ.applyBypass=function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?i.substr(t.length):""}function o(){n=n.length>r.length?n.substr(r.length):""}for(i=i.replace(/[/][*](\s|.)+?[*][/]/g,"");!i.match(/^\s*$/);){var s=i.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!s){e9("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+i);break}t=s[0];var l=s[1];if("core"!==l&&new iC(l).invalid){e9("Skipping parsing of block: Invalid selector found in string stylesheet: "+l),a();continue}var u=s[2],c=!1;n=u;for(var h=[];!n.match(/^\s*$/);){var d=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!d){e9("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+u),c=!0;break}r=d[0];var p=d[1],f=d[2];if(!this.properties[p]){e9("Skipping property: Invalid property name in: "+r),o();continue}if(!this.parse(p,f)){e9("Skipping property: Invalid property definition in: "+r),o();continue}h.push({name:p,val:f}),o()}if(c){a();break}this.selector(l);for(var g=0;g=7&&"d"===t[0]&&(g=new RegExp(o.data.regex).exec(t))){if(n)return!1;var u=o.data;return{name:e,value:g,strValue:""+t,mapped:u,field:g[1],bypass:n}}else if(t.length>=10&&"m"===t[0]&&(v=new RegExp(o.mapData.regex).exec(t))){if(n||l.multiple)return!1;var c=o.mapData;if(!(l.color||l.number))return!1;var h=this.parse(e,v[4]);if(!h||h.mapped)return!1;var d=this.parse(e,v[5]);if(!d||d.mapped)return!1;if(h.pfValue===d.pfValue||h.strValue===d.strValue)return e9("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+h.strValue+"`"),this.parse(e,h.strValue);if(l.color){var p=h.value,f=d.value;if(p[0]===f[0]&&p[1]===f[1]&&p[2]===f[2]&&(p[3]===f[3]||(null==p[3]||1===p[3])&&(null==f[3]||1===f[3])))return!1}return{name:e,value:v,strValue:""+t,mapped:c,field:v[1],fieldMin:parseFloat(v[2]),fieldMax:parseFloat(v[3]),valueMin:h.value,valueMax:d.value,bypass:n}}if(l.multiple&&"multiple"!==r){if(y=s?t.split(/\s+/):I(t)?t:[t],l.evenMultiple&&y.length%2!=0)return null;for(var g,v,y,b=[],x=[],w=[],E="",k=!1,C=0;C0?" ":"")+S.strValue}return l.validate&&!l.validate(b,x)?null:l.singleEnum&&k?1===b.length&&N(b[0])?{name:e,value:b[0],strValue:b[0],bypass:n}:null:{name:e,value:b,pfValue:w,strValue:E,bypass:n,units:x}}var D=function(){for(var r=0;rl.max||l.strictMax&&t===l.max))return null;var O={name:e,value:t,strValue:""+t+(P||""),units:P,bypass:n};return l.unitless||"px"!==P&&"em"!==P?O.pfValue=t:O.pfValue="px"!==P&&P?this.getEmSizeInPixels()*t:t,("ms"===P||"s"===P)&&(O.pfValue="ms"===P?t:1e3*t),("deg"===P||"rad"===P)&&(O.pfValue="rad"===P?t:Math.PI*t/180),"%"===P&&(O.pfValue=t/100),O}if(l.propList){var L=[],R=""+t;if("none"===R);else{for(var V=R.split(/\s*,\s*|\s+/),F=0;F0&&l>0&&!isNaN(r.w)&&!isNaN(r.h)&&r.w>0&&r.h>0){i=(i=(i=Math.min((s-2*t)/r.w,(l-2*t)/r.h))>this._private.maxZoom?this._private.maxZoom:i)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),z(e)?n=e:O(e)&&(n=e.level,null!=e.position?t=tE(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;z(l.x)&&(t.pan.x=l.x,o=!1),z(l.y)&&(t.pan.y=l.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(N(e)){var n=e;e=this.mutableElements().filter(n)}else R(e)||(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled&&this.viewport({pan:{x:0,y:0},zoom:1}),this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container;return n.sizeCache=n.sizeCache||(r?(e=this.window().getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};a8.centre=a8.center,a8.autolockNodes=a8.autolock,a8.autoungrabifyNodes=a8.autoungrabify;var a7={data:ii.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:ii.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:ii.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ii.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};a7.attr=a7.data,a7.removeAttr=a7.removeData;var oe=function(e){var t=this,n=(e=en({},e)).container;n&&!L(n)&&L(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{}).cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==S&&void 0!==n&&!e.headless,o=e;o.layout=en({name:a?"grid":"null"},o.layout),o.renderer=en({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},l=this._private={container:n,ready:!1,options:o,elements:new aA(this),listeners:[],aniEles:new aA(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,o.zoomingEnabled),userZoomingEnabled:s(!0,o.userZoomingEnabled),panningEnabled:s(!0,o.panningEnabled),userPanningEnabled:s(!0,o.userPanningEnabled),boxSelectionEnabled:s(!0,o.boxSelectionEnabled),autolock:s(!1,o.autolock,o.autolockNodes),autoungrabify:s(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:s(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?a:o.styleEnabled,zoom:z(o.zoom)?o.zoom:1,pan:{x:O(o.pan)&&z(o.pan.x)?o.pan.x:0,y:O(o.pan)&&z(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom}),l.styleEnabled&&t.setStyle([]);var u=en({},o,o.renderer);t.initRenderer(u);var c=function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(O(e)||I(e))&&t.add(e),t.one("layoutready",function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")}).one("layoutstop",function(){t.one("done",r),t.emit("done")});var a=en({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()};!function(e,t){if(e.some(Y))return rf.all(e).then(t);t(e)}([o.style,o.elements],function(e){var n=e[0],a=e[1];l.styleEnabled&&t.style().append(n),c(a,function(){t.startAnimationLoop(),l.ready=!0,A(o.ready)&&t.on("ready",o.ready);for(var e=0;e0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach(function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)})}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch(function(){for(var n=Object.keys(e),r=0;r0,s=tV(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(R(t.roots))e=t.roots;else if(I(t.roots)){for(var l=[],u=0;u0;){var T=C.shift(),P=function(e,n){for(var i=oi(e),a=e.incomers().filter(function(e){return e.isNode()&&r.has(e)}),o=-1,s=e.id(),l=0;l0&&f[0].length<=3?u/2:0),h=2*Math.PI/f[r].length*i;return 0===r&&1===f[0].length&&(c=1),{x:W.x+c*Math.cos(h),y:W.y+c*Math.sin(h)}}),this};var os={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function ol(e){this.options=en({},os,e)}ol.prototype.run=function(){var e,t=this.options,n=t.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o=tV(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},l=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),u=0,c=0;c1&&t.avoidOverlap){var d=Math.cos(l)-1,p=Math.sin(l)-0;e=Math.max(Math.sqrt((u*=1.75)*u/(d*d+p*p)),e)}return r.nodes().layoutPositions(this,t,function(n,r){var a=t.startAngle+r*l*(i?1:-1),o=e*Math.cos(a),u=e*Math.sin(a);return{x:s.x+o,y:s.y+u}}),this};var ou={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function oc(e){this.options=en({},ou,e)}oc.prototype.run=function(){for(var e=this.options,t=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,n=e.cy,r=e.eles,i=r.nodes().not(":parent"),a=tV(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),o={x:a.x1+a.w/2,y:a.y1+a.h/2},s=[],l=0,u=0;u0&&Math.abs(v[0].value-b.value)>=f&&(v=[],g.push(v)),v.push(b)}var x=l+e.minNodeSpacing;if(!e.avoidOverlap){var w=g.length>0&&g[0].length>1,E=(Math.min(a.w,a.h)/2-x)/(g.length+w?1:0);x=Math.min(x,E)}for(var k=0,C=0;C1&&e.avoidOverlap){var P=Math.cos(T)-1,_=Math.sin(T)-0;k=Math.max(Math.sqrt(x*x/(P*P+_*_)),k)}S.r=k,k+=x}if(e.equidistant){for(var M=0,B=0,N=0;N=e.numIter)&&(ob(r,e),r.temperature=r.temperature*e.coolingFactor,!(r.temperature=e.animationThreshold&&a(),eF(t)):(oB(r,e),s())}();else{for(;u;)u=o(l),l++;oB(r,e),s()}return this},od.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},od.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var op=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=tV(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),l={},u=0;u0){o.graphSet.push(C);for(var u=0;ur.count?0:r.graph},og=function e(t,n,r,i){var a=i.graphSet[r];if(-10)var s=r.nodeOverlap*o,l=Math.sqrt(i*i+a*a),u=s*i/l,c=s*a/l;else var h=oC(e,i,a),d=oC(t,-1*i,-1*a),p=d.x-h.x,f=d.y-h.y,g=p*p+f*f,l=Math.sqrt(g),s=(e.nodeRepulsion+t.nodeRepulsion)/g,u=s*p/l,c=s*f/l;e.isLocked||(e.offsetX-=u,e.offsetY-=c),t.isLocked||(t.offsetX+=u,t.offsetY+=c)}},ok=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else var i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else var a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},oC=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2):0>n&&(s<=-1*l||s>=l)&&(u.x=r-a*t/2/n,u.y=i-a/2),u},oS=function(e,t){for(var n=0;n1){var f=t.gravity*h/p,g=t.gravity*d/p;c.offsetX+=f,c.offsetY+=g}}}}},oT=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else var i={x:e,y:t};return i},oM=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;if((null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopg&&(d+=f+t.componentSpacing,h=0,p=0,f=0)}}},oN={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function oA(e){this.options=en({},oN,e)}oA.prototype.run=function(){var e=this.options,t=e.cy,n=e.eles,r=n.nodes().not(":parent");e.sort&&(r=r.sort(e.sort));var i=tV(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()});if(0===i.h||0===i.w)n.nodes().layoutPositions(this,e,function(e){return{x:i.x1,y:i.y1}});else{var a=r.size(),o=Math.sqrt(a*i.h/i.w),s=Math.round(o),l=Math.round(i.w/i.h*o),u=function(e){if(null==e)return Math.min(s,l);Math.min(s,l)==s?s=e:l=e},c=function(e){if(null==e)return Math.max(s,l);Math.max(s,l)==s?s=e:l=e},h=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=h&&null!=d)s=h,l=d;else if(null!=h&&null==d)l=Math.ceil(a/(s=h));else if(null==h&&null!=d)s=Math.ceil(a/(l=d));else if(l*s>a){var p=u(),f=c();(p-1)*f>=a?u(p-1):(f-1)*p>=a&&c(f-1)}else for(;l*s=a?c(v+1):u(g+1)}var y=i.w/l,b=i.h/s;if(e.condense&&(y=0,b=0),e.avoidOverlap)for(var x=0;x=l&&(B=0,M++)},A={},I=0;I=0;x--){var w=l[x];w.isNode()?y(w)||b(w):function(n){var r,i=n._private,a=i.rscratch,l=n.pstyle("width").pfValue,c=n.pstyle("arrow-scale").value,p=l/2+d,f=p*p,g=2*p,b=i.source,x=i.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var w,E,k,C,S=a.allpts,D=0;D+3(r=t0(e,t,S[D],S[D+1],S[D+2],S[D+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType){for(var S=a.allpts,D=0;D+5(r=tJ(e,t,S[D],S[D+1],S[D+2],S[D+3],S[D+4],S[D+5])))return v(n,r),!0}for(var b=b||i.source,x=x||i.target,T=o.getArrowWidth(l,c),P=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}],D=0;D0&&(y(b),y(x))}(w)||b(w)||b(w,"source")||b(w,"target")}return u},oY.getAllInBox=function(e,t,n,r){var i=this.getCachedZSortedEles().interactive,a=[],o=Math.min(e,n),s=Math.max(e,n),l=Math.min(t,r),u=Math.max(t,r);e=o,n=s;for(var c=tV({x1:e,y1:t=l,x2:n,y2:r=u}),h=0;h0?Math.max(e-t,0):Math.min(e+t,0)},D=S(k,g?(h+p)/2:0),T=S(C,g?(d+f)/2:0),P=!1;"auto"===y?v=Math.abs(D)>Math.abs(T)?a:i:y===u||y===l?(v=i,P=!0):(y===o||y===s)&&(v=a,P=!0);var _=v===i,M=_?T:D,B=_?C:k,N=tB(B),A=!1;!(P&&(x||w<0))&&(y===l&&B<0||y===u&&B>0||y===o&&B>0||y===s&&B<0)&&(N*=-1,M=N*Math.abs(M),A=!0);var I=function(e){return Math.abs(e)=Math.abs(M)},O=I(n=x?(w<0?1+w:w)*M:(w<0?M:0)+w*N),z=I(Math.abs(M)-Math.abs(n));if((O||z)&&!A){if(_){var L=Math.abs(k)<=p/2;if(Math.abs(B)<=d/2){var R=(c.x1+c.x2)/2,V=c.y1,F=c.y2;r.segpts=[R,V,R,F]}else if(L){var j=(c.y1+c.y2)/2,q=c.x1,X=c.x2;r.segpts=[q,j,X,j]}else r.segpts=[c.x1,c.y2]}else{var Y=Math.abs(C)<=f/2;if(Math.abs(B)<=h/2){var W=(c.y1+c.y2)/2,H=c.x1,G=c.x2;r.segpts=[H,W,G,W]}else if(Y){var K=(c.x1+c.x2)/2,U=c.y1,Z=c.y2;r.segpts=[K,U,K,Z]}else r.segpts=[c.x2,c.y1]}}else if(_){var $=c.y1+n+(g?d/2*N:0),Q=c.x1,J=c.x2;r.segpts=[Q,$,J,$]}else{var ee=c.x1+n+(g?h/2*N:0),et=c.y1,en=c.y2;r.segpts=[ee,et,ee,en]}},oH.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=!z(n.startX)||!z(n.startY),d=!z(n.arrowStartX)||!z(n.arrowStartY),p=!z(n.endX)||!z(n.endY),f=!z(n.arrowEndX)||!z(n.arrowEndY),g=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,v=tN({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),y=vd.poolIndex()){var p=h;h=d,d=p}var f=s.srcPos=h.position(),g=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),b=s.tgtW=d.outerWidth(),x=s.tgtH=d.outerHeight(),w=s.srcShape=n.nodeShapes[t.getNodeShape(h)],E=s.tgtShape=n.nodeShapes[t.getNodeShape(d)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var k=0;k0){var j=tA(l,tC(t)),q=tA(l,tC(F)),X=j;q2&&tA(l,{x:F[2],y:F[3]})0){var en=tA(u,tC(t)),er=tA(u,tC(et)),ei=en;er2&&tA(u,{x:et[2],y:et[3]})=l||b){c={cp:g,segment:y};break}}if(c)break}var x=c.cp,w=c.segment,E=(l-d)/w.length,k=w.t1-w.t0,C=i?w.t0+k*E:w.t1-k*E;C=tR(0,C,1),t=tz(x.p0,x.p1,x.p2,C),u=oJ(x.p0,x.p1,x.p2,C);break;case"straight":case"segments":case"haystack":for(var S,D,T,P,_=0,M=r.allpts.length,B=0;B+3=l));B+=2);var N=(l-P)/T;t=tL(S,D,N=tR(0,N,1)),u=oQ(S,D)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,u)}};l("source"),l("target"),this.applyLabelDimensions(e)}},oZ.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},oZ.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=ta(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=i.width,h=i.height+(l-1)*(a-1)*u;to(n.rstyle,"labelWidth",t,c),to(n.rscratch,"labelWidth",t,c),to(n.rstyle,"labelHeight",t,h),to(n.rscratch,"labelHeight",t,h),to(n.rscratch,"labelLineHeight",t,u*a)},oZ.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(to(n.rscratch,e,t,r),r):ta(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,h="anywhere"===e.pstyle("text-overflow-wrap").value,d=[],p=/[\s\u200b]+/,f=h?"":" ",g=0;gc){for(var b=v.split(p),x="",w=0;wC);T++)S+=i[T],T===i.length-1&&(D=!0);return D||(S+="…"),S}return i},oZ.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},oZ.calculateLabelDimensions=function(e,t){var n=eG(t,e._private.labelDimsKey),r=this.labelDimCache||(this.labelDimCache=[]),i=r[n];if(null!=i)return i;var a=e.pstyle("font-style").strValue,o=e.pstyle("font-size").pfValue,s=e.pstyle("font-family").strValue,l=e.pstyle("font-weight").strValue,u=this.labelCalcCanvas,c=this.labelCalcCanvasContext;if(!u){u=this.labelCalcCanvas=document.createElement("canvas"),c=this.labelCalcCanvasContext=u.getContext("2d");var h=u.style;h.position="absolute",h.left="-9999px",h.top="-9999px",h.zIndex="-1",h.visibility="hidden",h.pointerEvents="none"}c.font="".concat(a," ").concat(l," ").concat(o,"px ").concat(s);for(var d=0,p=0,f=t.split("\n"),g=0;ge.width()||28>e.height()))return o1||(e9("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),o1=!0),"rectangle";if(e.isParent())return"rectangle"===t||"roundrectangle"===t||"round-rectangle"===t||"cutrectangle"===t||"cut-rectangle"===t||"barrel"===t?t:"rectangle";if("polygon"===t){var n=e.pstyle("shape-polygon-points").value;return this.nodeShapes.makePolygon(n).name}return t};var o2={};o2.registerCalculationListeners=function(){var e=this.cy,t=e.collection(),n=this,r=function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(t.merge(e),n)for(var r=0;r=C.desktopTapThreshold2}var v=P(e);w&&(C.hoverData.tapholdCancelled=!0),t=!0,T(u,["mousemove","vmousemove","tapdrag"],e,{x:a[0],y:a[1]});var y=function(){C.data.bgActivePosistion=void 0,C.hoverData.selecting||n.emit({originalEvent:e,type:"boxstart",position:{x:a[0],y:a[1]}}),l[4]=1,C.hoverData.selecting=!0,C.redrawHint("select",!0),C.redraw()};if(3===C.hoverData.which){if(w){var b={originalEvent:e,type:"cxtdrag",position:{x:a[0],y:a[1]}};h?h.emit(b):n.emit(b),C.hoverData.cxtDragged=!0,(!C.hoverData.cxtOver||u!==C.hoverData.cxtOver)&&(C.hoverData.cxtOver&&C.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:a[0],y:a[1]}}),C.hoverData.cxtOver=u,u&&u.emit({originalEvent:e,type:"cxtdragover",position:{x:a[0],y:a[1]}}))}}else if(C.hoverData.dragging){if(t=!0,n.panningEnabled()&&n.userPanningEnabled()){if(C.hoverData.justStartedPan){var x=C.hoverData.mdownPos;E={x:(a[0]-x[0])*r,y:(a[1]-x[1])*r},C.hoverData.justStartedPan=!1}else E={x:d[0]*r,y:d[1]*r};n.panBy(E),n.emit("dragpan"),C.hoverData.dragged=!0}a=C.projectIntoViewport(e.clientX,e.clientY)}else if(1==l[4]&&(null==h||h.pannable()))w&&(!C.hoverData.dragging&&n.boxSelectionEnabled()&&(v||!n.panningEnabled()||!n.userPanningEnabled())?y():!C.hoverData.selecting&&n.panningEnabled()&&n.userPanningEnabled()&&_(h,C.hoverData.downs)&&(C.hoverData.dragging=!0,C.hoverData.justStartedPan=!0,l[4]=0,C.data.bgActivePosistion=tC(o),C.redrawHint("select",!0),C.redraw()),h&&h.pannable()&&h.active()&&h.unactivate());else{if(h&&h.pannable()&&h.active()&&h.unactivate(),h&&h.grabbed()||u==c||(c&&T(c,["mouseout","tapdragout"],e,{x:a[0],y:a[1]}),u&&T(u,["mouseover","tapdragover"],e,{x:a[0],y:a[1]}),C.hoverData.last=u),h){if(w){if(n.boxSelectionEnabled()&&v)h&&h.grabbed()&&(F(p),h.emit("freeon"),p.emit("free"),C.dragData.didDrag&&(h.emit("dragfreeon"),p.emit("dragfree"))),y();else if(h&&h.grabbed()&&C.nodeIsDraggable(h)){var w,E,k,S=!C.dragData.didDrag;S&&C.redrawHint("eles",!0),C.dragData.didDrag=!0,C.hoverData.draggingEles||V(p,{inDragLayer:!0});var D={x:0,y:0};if(z(d[0])&&z(d[1])&&(D.x+=d[0],D.y+=d[1],S)){var M=C.hoverData.dragDelta;M&&z(M[0])&&z(M[1])&&(D.x+=M[0],D.y+=M[1])}C.hoverData.draggingEles=!0,p.silentShift(D).emit("position drag"),C.redrawHint("drag",!0),C.redraw()}}else 0===(k=C.hoverData.dragDelta=C.hoverData.dragDelta||[]).length?(k.push(d[0]),k.push(d[1])):(k[0]+=d[0],k[1]+=d[1])}t=!0}if(l[2]=a[0],l[3]=a[1],t)return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1}},!1),C.registerBinding(S,"mouseup",function(r){if(C.hoverData.capture){C.hoverData.capture=!1;var i=C.cy,a=C.projectIntoViewport(r.clientX,r.clientY),o=C.selection,s=C.findNearestElement(a[0],a[1],!0,!1),l=C.dragData.possibleDragElements,u=C.hoverData.down,c=P(r);if(C.data.bgActivePosistion&&(C.redrawHint("select",!0),C.redraw()),C.hoverData.tapholdCancelled=!0,C.data.bgActivePosistion=void 0,u&&u.unactivate(),3===C.hoverData.which){var h={originalEvent:r,type:"cxttapend",position:{x:a[0],y:a[1]}};if(u?u.emit(h):i.emit(h),!C.hoverData.cxtDragged){var d={originalEvent:r,type:"cxttap",position:{x:a[0],y:a[1]}};u?u.emit(d):i.emit(d)}C.hoverData.cxtDragged=!1,C.hoverData.which=null}else if(1===C.hoverData.which){if(T(s,["mouseup","tapend","vmouseup"],r,{x:a[0],y:a[1]}),C.dragData.didDrag||C.hoverData.dragged||C.hoverData.selecting||C.hoverData.isOverThresholdDrag||(T(u,["click","tap","vclick"],r,{x:a[0],y:a[1]}),t=!1,r.timeStamp-n<=i.multiClickDebounceTime()?(e&&clearTimeout(e),t=!0,n=null,T(u,["dblclick","dbltap","vdblclick"],r,{x:a[0],y:a[1]})):(e=setTimeout(function(){t||T(u,["oneclick","onetap","voneclick"],r,{x:a[0],y:a[1]})},i.multiClickDebounceTime()),n=r.timeStamp)),null!=u||C.dragData.didDrag||C.hoverData.selecting||C.hoverData.dragged||P(r)||(i.$(D).unselect(["tapunselect"]),l.length>0&&C.redrawHint("eles",!0),C.dragData.possibleDragElements=l=i.collection()),s!=u||C.dragData.didDrag||C.hoverData.selecting||null==s||!s._private.selectable||(C.hoverData.dragging||("additive"===i.selectionType()||c?s.selected()?s.unselect(["tapunselect"]):s.select(["tapselect"]):c||(i.$(D).unmerge(s).unselect(["tapunselect"]),s.select(["tapselect"]))),C.redrawHint("eles",!0)),C.hoverData.selecting){var p=i.collection(C.getAllInBox(o[0],o[1],o[2],o[3]));C.redrawHint("select",!0),p.length>0&&C.redrawHint("eles",!0),i.emit({type:"boxend",originalEvent:r,position:{x:a[0],y:a[1]}}),"additive"!==i.selectionType()&&(c||i.$(D).unmerge(p).unselect()),p.emit("box").stdFilter(function(e){return e.selectable()&&!e.selected()}).select().emit("boxselect"),C.redraw()}if(C.hoverData.dragging&&(C.hoverData.dragging=!1,C.redrawHint("select",!0),C.redrawHint("eles",!0),C.redraw()),!o[4]){C.redrawHint("drag",!0),C.redrawHint("eles",!0);var f=u&&u.grabbed();F(l),f&&(u.emit("freeon"),l.emit("free"),C.dragData.didDrag&&(u.emit("dragfreeon"),l.emit("dragfree")))}}o[4]=0,C.hoverData.down=null,C.hoverData.cxtStarted=!1,C.hoverData.draggingEles=!1,C.hoverData.selecting=!1,C.hoverData.isOverThresholdDrag=!1,C.dragData.didDrag=!1,C.hoverData.dragged=!1,C.hoverData.dragDelta=[],C.hoverData.mdownPos=null,C.hoverData.mdownGPos=null}},!1);var K=function(e){if(!C.scrollingPage){var t=C.cy,n=t.zoom(),r=t.pan(),i=C.projectIntoViewport(e.clientX,e.clientY),a=[i[0]*n+r.x,i[1]*n+r.y];if(C.hoverData.draggingEles||C.hoverData.dragging||C.hoverData.cxtStarted||0!==C.selection[4]){e.preventDefault();return}if(t.panningEnabled()&&t.userPanningEnabled()&&t.zoomingEnabled()&&t.userZoomingEnabled()){e.preventDefault(),C.data.wheelZooming=!0,clearTimeout(C.data.wheelTimeout),C.data.wheelTimeout=setTimeout(function(){C.data.wheelZooming=!1,C.redrawHint("eles",!0),C.redraw()},150),o=(null!=e.deltaY?-(e.deltaY/250):null!=e.wheelDeltaY?e.wheelDeltaY/1e3:e.wheelDelta/1e3)*C.wheelSensitivity,1===e.deltaMode&&(o*=33);var o,s=t.zoom()*Math.pow(10,o);"gesturechange"===e.type&&(s=C.gestureStartZoom*e.scale),t.zoom({level:s,renderedPosition:{x:a[0],y:a[1]}}),t.emit("gesturechange"===e.type?"pinchzoom":"scrollzoom")}}};C.registerBinding(C.container,"wheel",K,!0),C.registerBinding(S,"scroll",function(e){C.scrollingPage=!0,clearTimeout(C.scrollingPageTimeout),C.scrollingPageTimeout=setTimeout(function(){C.scrollingPage=!1},250)},!0),C.registerBinding(C.container,"gesturestart",function(e){C.gestureStartZoom=C.cy.zoom(),C.hasTouchStarted||e.preventDefault()},!0),C.registerBinding(C.container,"gesturechange",function(e){C.hasTouchStarted||K(e)},!0),C.registerBinding(C.container,"mouseout",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseout",position:{x:t[0],y:t[1]}})},!1),C.registerBinding(C.container,"mouseover",function(e){var t=C.projectIntoViewport(e.clientX,e.clientY);C.cy.emit({originalEvent:e,type:"mouseover",position:{x:t[0],y:t[1]}})},!1);var U=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},Z=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(C.registerBinding(C.container,"touchstart",v=function(e){if(C.hasTouchStarted=!0,G(e)){q(),C.touchData.capture=!0,C.data.bgActivePosistion=void 0;var t=C.cy,n=C.touchData.now,v=C.touchData.earlier;if(e.touches[0]){var y=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);n[0]=y[0],n[1]=y[1]}if(e.touches[1]){var y=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);n[2]=y[0],n[3]=y[1]}if(e.touches[2]){var y=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);n[4]=y[0],n[5]=y[1]}if(e.touches[1]){C.touchData.singleTouchMoved=!0,F(C.dragData.touchDragEles);var b=C.findContainerClientCoords();h=b[0],d=b[1],p=b[2],f=b[3],r=e.touches[0].clientX-h,i=e.touches[0].clientY-d,a=e.touches[1].clientX-h,o=e.touches[1].clientY-d,g=0<=r&&r<=p&&0<=a&&a<=p&&0<=i&&i<=f&&0<=o&&o<=f;var x=t.pan(),w=t.zoom();if(s=U(r,i,a,o),l=Z(r,i,a,o),c=[((u=[(r+a)/2,(i+o)/2])[0]-x.x)/w,(u[1]-x.y)/w],l<4e4&&!e.touches[2]){var E=C.findNearestElement(n[0],n[1],!0,!0),k=C.findNearestElement(n[2],n[3],!0,!0);E&&E.isNode()?(E.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=E):k&&k.isNode()?(k.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start=k):t.emit({originalEvent:e,type:"cxttapstart",position:{x:n[0],y:n[1]}}),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!0,C.touchData.cxtDragged=!1,C.data.bgActivePosistion=void 0,C.redraw();return}}if(e.touches[2])t.boxSelectionEnabled()&&e.preventDefault();else if(e.touches[1]);else if(e.touches[0]){var S=C.findNearestElements(n[0],n[1],!0,!0),D=S[0];if(null!=D&&(D.activate(),C.touchData.start=D,C.touchData.starts=S,C.nodeIsGrabbable(D))){var P=C.dragData.touchDragEles=t.collection(),_=null;C.redrawHint("eles",!0),C.redrawHint("drag",!0),D.selected()?V(_=t.$(function(e){return e.selected()&&C.nodeIsGrabbable(e)}),{addToList:P}):V(D,{addToList:P}),I(D);var M=function(t){return{originalEvent:e,type:t,position:{x:n[0],y:n[1]}}};D.emit(M("grabon")),_?_.forEach(function(e){e.emit(M("grab"))}):D.emit(M("grab"))}T(D,["touchstart","tapstart","vmousedown"],e,{x:n[0],y:n[1]}),null==D&&(C.data.bgActivePosistion={x:y[0],y:y[1]},C.redrawHint("select",!0),C.redraw()),C.touchData.singleTouchMoved=!1,C.touchData.singleTouchStartTime=+new Date,clearTimeout(C.touchData.tapholdTimeout),C.touchData.tapholdTimeout=setTimeout(function(){!1!==C.touchData.singleTouchMoved||C.pinching||C.touchData.selecting||T(C.touchData.start,["taphold"],e,{x:n[0],y:n[1]})},C.tapholdDuration)}if(e.touches.length>=1){for(var B=C.touchData.startPosition=[null,null,null,null,null,null],N=0;N=C.touchTapThreshold2}if(t&&C.touchData.cxt){e.preventDefault();var D=e.touches[0].clientX-h,P=e.touches[0].clientY-d,M=e.touches[1].clientX-h,B=e.touches[1].clientY-d,N=Z(D,P,M,B);if(N/l>=2.25||N>=22500){C.touchData.cxt=!1,C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var A={originalEvent:e,type:"cxttapend",position:{x:p[0],y:p[1]}};C.touchData.start?(C.touchData.start.unactivate().emit(A),C.touchData.start=null):u.emit(A)}}if(t&&C.touchData.cxt){var A={originalEvent:e,type:"cxtdrag",position:{x:p[0],y:p[1]}};C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.touchData.start?C.touchData.start.emit(A):u.emit(A),C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxtDragged=!0;var I=C.findNearestElement(p[0],p[1],!0,!0);(!C.touchData.cxtOver||I!==C.touchData.cxtOver)&&(C.touchData.cxtOver&&C.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:p[0],y:p[1]}}),C.touchData.cxtOver=I,I&&I.emit({originalEvent:e,type:"cxtdragover",position:{x:p[0],y:p[1]}}))}else if(t&&e.touches[2]&&u.boxSelectionEnabled())e.preventDefault(),C.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,C.touchData.selecting||u.emit({originalEvent:e,type:"boxstart",position:{x:p[0],y:p[1]}}),C.touchData.selecting=!0,C.touchData.didSelect=!0,n[4]=1,n&&0!==n.length&&void 0!==n[0]?(n[2]=(p[0]+p[2]+p[4])/3,n[3]=(p[1]+p[3]+p[5])/3):(n[0]=(p[0]+p[2]+p[4])/3,n[1]=(p[1]+p[3]+p[5])/3,n[2]=(p[0]+p[2]+p[4])/3+1,n[3]=(p[1]+p[3]+p[5])/3+1),C.redrawHint("select",!0),C.redraw();else if(t&&e.touches[1]&&!C.touchData.didSelect&&u.zoomingEnabled()&&u.panningEnabled()&&u.userZoomingEnabled()&&u.userPanningEnabled()){e.preventDefault(),C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var O=C.dragData.touchDragEles;if(O){C.redrawHint("drag",!0);for(var L=0;L0&&!C.hoverData.draggingEles&&!C.swipePanning&&null!=C.data.bgActivePosistion&&(C.data.bgActivePosistion=void 0,C.redrawHint("select",!0),C.redraw())}},!1),C.registerBinding(S,"touchcancel",b=function(e){var t=C.touchData.start;C.touchData.capture=!1,t&&t.unactivate()}),C.registerBinding(S,"touchend",x=function(e){var t,n=C.touchData.start;if(C.touchData.capture){0===e.touches.length&&(C.touchData.capture=!1),e.preventDefault();var r=C.selection;C.swipePanning=!1,C.hoverData.draggingEles=!1;var i=C.cy,a=i.zoom(),o=C.touchData.now,s=C.touchData.earlier;if(e.touches[0]){var l=C.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);o[0]=l[0],o[1]=l[1]}if(e.touches[1]){var l=C.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY);o[2]=l[0],o[3]=l[1]}if(e.touches[2]){var l=C.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY);o[4]=l[0],o[5]=l[1]}if(n&&n.unactivate(),C.touchData.cxt){if(t={originalEvent:e,type:"cxttapend",position:{x:o[0],y:o[1]}},n?n.emit(t):i.emit(t),!C.touchData.cxtDragged){var u={originalEvent:e,type:"cxttap",position:{x:o[0],y:o[1]}};n?n.emit(u):i.emit(u)}C.touchData.start&&(C.touchData.start._private.grabbed=!1),C.touchData.cxt=!1,C.touchData.start=null,C.redraw();return}if(!e.touches[2]&&i.boxSelectionEnabled()&&C.touchData.selecting){C.touchData.selecting=!1;var c=i.collection(C.getAllInBox(r[0],r[1],r[2],r[3]));r[0]=void 0,r[1]=void 0,r[2]=void 0,r[3]=void 0,r[4]=0,C.redrawHint("select",!0),i.emit({type:"boxend",originalEvent:e,position:{x:o[0],y:o[1]}}),c.emit("box").stdFilter(function(e){return e.selectable()&&!e.selected()}).select().emit("boxselect"),c.nonempty()&&C.redrawHint("eles",!0),C.redraw()}if(null!=n&&n.unactivate(),e.touches[2])C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);else if(e.touches[1]);else if(e.touches[0]);else if(!e.touches[0]){C.data.bgActivePosistion=void 0,C.redrawHint("select",!0);var h=C.dragData.touchDragEles;if(null!=n){var d=n._private.grabbed;F(h),C.redrawHint("drag",!0),C.redrawHint("eles",!0),d&&(n.emit("freeon"),h.emit("free"),C.dragData.didDrag&&(n.emit("dragfreeon"),h.emit("dragfree"))),T(n,["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]}),n.unactivate(),C.touchData.start=null}else T(C.findNearestElement(o[0],o[1],!0,!0),["touchend","tapend","vmouseup","tapdragout"],e,{x:o[0],y:o[1]});var p=C.touchData.startPosition[0]-o[0],f=C.touchData.startPosition[1]-o[1];C.touchData.singleTouchMoved||(n||i.$(":selected").unselect(["tapunselect"]),T(n,["tap","vclick"],e,{x:o[0],y:o[1]}),w=!1,e.timeStamp-k<=i.multiClickDebounceTime()?(E&&clearTimeout(E),w=!0,k=null,T(n,["dbltap","vdblclick"],e,{x:o[0],y:o[1]})):(E=setTimeout(function(){w||T(n,["onetap","voneclick"],e,{x:o[0],y:o[1]})},i.multiClickDebounceTime()),k=e.timeStamp)),null!=n&&!C.dragData.didDrag&&n._private.selectable&&(p*p+f*f)*a*a0)return h[0]}return null}(e,t,p);if(null!=f){var g=tO(p[5],p[3],p[1],f);if(p.isTop&&g<=t||p.isBottom&&t<=g)return!0}}return!1}}},o6.generateBottomRoundrectangle=function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:ni(4,0),draw:function(e,t,n,r,i){this.renderer.nodeShapeImpl(this.name,e,t,n,r,i)},intersectLine:function(e,t,n,r,i,a,o){var s=e-(n/2+o),l=t-(r/2+o),u=e+(n/2+o),c=ne(i,a,e,t,s,l,u,l,!1);return c.length>0?c:tU(i,a,e,t,n,r,o)},checkPoint:function(e,t,n,r,i,a,o){var s=ns(r,i),l=2*s;if(t2(e,t,this.points,a,o,r,i-l,[0,-1],n)||t2(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!(t1(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||t6(e,t,l,l,a+r/2-s,o+i/2-s,n)||t6(e,t,l,l,a-r/2+s,o+i/2-s,n))}}},o6.registerNodeShapes=function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",ni(3,0)),this.generateRoundPolygon("round-triangle",ni(3,0)),this.generatePolygon("rectangle",ni(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",ni(5,0)),this.generateRoundPolygon("round-pentagon",ni(5,0)),this.generatePolygon("hexagon",ni(6,0)),this.generateRoundPolygon("round-hexagon",ni(6,0)),this.generatePolygon("heptagon",ni(7,0)),this.generateRoundPolygon("round-heptagon",ni(7,0)),this.generatePolygon("octagon",ni(8,0)),this.generateRoundPolygon("round-octagon",ni(8,0));var r=Array(20),i=no(5,0),a=no(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;st.className.indexOf(o)&&(t.className=(t.className||"")+" "+o),!s){var l=r.createElement("style");l.id=a,l.textContent="."+o+" { position: relative; }",i.insertBefore(l,i.children[0])}"static"===n.getComputedStyle(t).getPropertyValue("position")&&e9("A Cytoscape container has style position:static and so can not use UI extensions properly")}this.selection=[void 0,void 0,void 0,void 0,0],this.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],this.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},this.dragData={possibleDragElements:[]},this.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},this.redraws=0,this.showFps=e.showFps,this.debug=e.debug,this.hideEdgesOnViewport=e.hideEdgesOnViewport,this.textureOnViewport=e.textureOnViewport,this.wheelSensitivity=e.wheelSensitivity,this.motionBlurEnabled=e.motionBlur,this.forcedPixelRatio=z(e.pixelRatio)?e.pixelRatio:null,this.motionBlur=e.motionBlur,this.motionBlurOpacity=e.motionBlurOpacity,this.motionBlurTransparency=1-this.motionBlurOpacity,this.motionBlurPxRatio=1,this.mbPxRBlurry=1,this.minMbLowQualFrames=4,this.fullQualityMb=!1,this.clearedForMotionBlur=[],this.desktopTapThreshold=e.desktopTapThreshold,this.desktopTapThreshold2=e.desktopTapThreshold*e.desktopTapThreshold,this.touchTapThreshold=e.touchTapThreshold,this.touchTapThreshold2=e.touchTapThreshold*e.touchTapThreshold,this.tapholdDuration=500,this.bindings=[],this.beforeRenderCallbacks=[],this.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},this.registerNodeShapes(),this.registerArrowShapes(),this.registerCalculationListeners()},st.notify=function(e,t){var n=this.cy;if(!this.destroyed){if("init"===e){this.load();return}if("destroy"===e){this.destroy();return}("add"===e||"remove"===e||"move"===e&&n.hasCompoundNodes()||"load"===e||"zorder"===e||"mount"===e)&&this.invalidateCachedZSortedEles(),"viewport"===e&&this.redrawHint("select",!0),("load"===e||"resize"===e||"mount"===e)&&(this.invalidateContainerClientCoordsCache(),this.matchCanvasSize(this.container)),this.redrawHint("eles",!0),this.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},st.destroy=function(){this.destroyed=!0,this.cy.stopAnimationLoop();for(var e=0;e=e.deqFastCost*g)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(f>=e.deqNoDrawCost*sn)break;var v=e.deq(t,h,c);if(v.length>0)for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())},i(t))}}}},si=function(){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e1;t(this,e),this.idsByKey=new tl,this.keyForId=new tl,this.cachesByLvl=new tl,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=r}return i(e,[{key:"getIdsFor",value:function(e){null==e&&e3("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new tc,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new tl,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach(function(n){return t.deleteCache(e,n)})}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),sa={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},so=tt({getKey:null,doesEleInvalidateKey:e1,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:e0,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),ss=function(e,t){this.renderer=e,this.onDequeues=[];var n=so(t);en(this,n),this.lookup=new si(n.getKey,n.doesEleInvalidateKey),this.setupDequeueing()},sl=ss.prototype;sl.reasons=sa,sl.getTextureQueue=function(e){return this.eleImgCaches=this.eleImgCaches||{},this.eleImgCaches[e]=this.eleImgCaches[e]||[]},sl.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},sl.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new tf(function(e,t){return t.reqs-e.reqs})},sl.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},sl.getElement=function(e,t,n,r,i){var a,o,s,l=this,u=this.renderer,c=u.cy.zoom(),h=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed()||!l.allowEdgeTxrCaching&&e.isEdge()||!l.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(tM(c*n))),r<-4)r=-4;else if(c>=7.99||r>3)return null;var d=Math.pow(2,r),p=t.h*d,f=t.w*d,g=u.eleTextBiggerThanMin(e,d);if(!this.isVisible(e,g))return null;var v=h.get(e,r);if(v&&v.invalidated&&(v.invalidated=!1,v.texture.invalidatedWidth-=v.width),v)return v;if(a=p<=25?25:p<=50?50:50*Math.ceil(p/50),p>1024||f>1024)return null;var y=l.getTextureQueue(a),b=y[y.length-2],x=function(){return l.recycleTexture(a,f)||l.addTexture(a,f)};b||(b=y[y.length-1]),b||(b=x()),b.width-b.usedWidthr;_--)T=l.getElement(e,t,n,_,sa.downscale);P()}else{if(!E&&!k&&!C)for(var M=r-1;M>=-4;M--){var B=h.get(e,M);if(B){s=B;break}}if(w(s))return l.queueElement(e,r),s;b.context.translate(b.usedWidth,0),b.context.scale(d,d),this.drawElement(b.context,e,t,g,!1),b.context.scale(1/d,1/d),b.context.translate(-b.usedWidth,0)}return v={x:b.usedWidth,texture:b,level:r,scale:d,width:f,height:p,scaledLabelShown:g},b.usedWidth+=Math.ceil(f+8),b.eleCaches.push(v),h.set(e,r,v),l.checkTextureFullness(b),v},sl.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},sl.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?tn(t,e):e.fullnessChecks++},sl.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;tn(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,tr(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),tn(r,a),n.push(a),a}},sl.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},sl.dequeue=function(e){for(var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=[],i=this.lookup,a=0;a<1;a++)if(t.size()>0){var o=t.pop(),s=o.key,l=o.eles[0],u=i.hasCache(l,o.level);if(n[s]=null,u)continue;r.push(o);var c=this.getBoundingBox(l);this.getElement(l,c,e,o.level,sa.dequeue)}else break;return r},sl.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=eJ,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},sl.onDequeue=function(e){this.onDequeues.push(e)},sl.offDequeue=function(e){tn(this.onDequeues,e)},sl.setupDequeueing=sr.setupDequeueing({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null}a.validateLayersElesOrdering(n,e);var l=a.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[];if(a.levelIsComplete(n,e))return c;!function(){var t=function(t){if(a.validateLayersElesOrdering(t,e),a.levelIsComplete(t,e))return i=l[t],!0},r=function(e){if(!i)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};r(1),r(-1);for(var o=c.length-1;o>=0;o--){var s=c[o];s.invalid&&tn(c,s)}}();var h=function(){if(!r){r=tV();for(var t=0;t=p||!tK(d.bb,v.boundingBox()))&&!(d=function(e){var t=(e=e||{}).after;if(h(),r.w*u*(r.h*u)>16e6)return null;var i=a.makeLayer(r,n);if(null!=t){var o=c.indexOf(t)+1;c.splice(o,0,i)}else(void 0===e.insert||e.insert)&&c.unshift(i);return i}({insert:!0,after:d})))return null;i||f?a.queueLayer(d,v):a.drawEleInLayer(d,v,n,t),d.eles.push(v),b[n]=d}return i||(f?null:c)},sc.getEleLevelForLayerLevel=function(e,t){return e},sc.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();0!==o.w&&0!==o.h&&t.visible()&&(n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,!0),i.setImgSmoothing(a,!0))},sc.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0||a.invalid)return!1;r+=a.eles.length}return r===t.length},sc.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},sc.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=eR(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,function(e,n,r){t.invalidateLayer(e)}))},sc.invalidateLayer=function(e){if(this.lastInvalidationTime=eR(),!e.invalid){var t=e.level,n=e.eles;tn(this.layersByLevel[t],e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var r=0;r3)||void 0===arguments[3]||arguments[3],a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=!(arguments.length>5)||void 0===arguments[5]||arguments[5],s=this,l=t._private.rscratch;if(!(o&&!t.visible()||l.badLine||null==l.allpts||isNaN(l.allpts[0]))){n&&(r=n,e.translate(-r.x1,-r.y1));var u=o?t.pstyle("opacity").value:1,c=o?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,f=t.pstyle("line-cap").value,g=u*c,v=u*c,y=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;"straight-triangle"===h?(s.eleStrokeStyle(e,t,n),s.drawEdgeTrianglePath(t,e,l.allpts)):(e.lineWidth=p,e.lineCap=f,s.eleStrokeStyle(e,t,n),s.drawEdgePath(t,e,l.allpts,d),e.lineCap="butt")},b=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;s.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var x=t.pstyle("ghost-offset-x").pfValue,w=t.pstyle("ghost-offset-y").pfValue,E=g*t.pstyle("ghost-opacity").value;e.translate(x,w),y(E),b(E),e.translate(-x,-w)}a&&s.drawEdgeUnderlay(e,t),y(),b(),a&&s.drawEdgeOverlay(e,t),s.drawElementText(e,t,null,i),n&&e.translate(r.x1,r.y1)}};var sD=function(e){if(!["overlay","underlay"].includes(e))throw Error("Invalid state");return function(t,n){if(n.visible()){var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this.usePaths(),a=n._private.rscratch,o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-color")).value;t.lineWidth=2*o,"self"!==a.edgeType||i?t.lineCap="round":t.lineCap="butt",this.colorStrokeStyle(t,s[0],s[1],s[2],r),this.drawEdgePath(n,t,a.allpts,"solid")}}}};sS.drawEdgeOverlay=sD("overlay"),sS.drawEdgeUnderlay=sD("underlay"),sS.drawEdgePath=function(e,t,n,r){var i,a=e._private.rscratch,o=t,s=!1,l=this.usePaths(),u=e.pstyle("line-dash-pattern").pfValue,c=e.pstyle("line-dash-offset").pfValue;if(l){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(i=t=a.pathCache,s=!0):(i=t=new Path2D,a.pathCacheKey=h,a.pathCache=i)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=c;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var d=2;d+35)||void 0===arguments[5]||arguments[5];if(null==r){if(o&&!this.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=this.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p=!n;n&&(a=n,e.translate(-a.x1,-a.y1)),null==i?(this.drawText(e,t,null,p,o),t.isEdge()&&(this.drawText(e,t,"source",p,o),this.drawText(e,t,"target",p,o))):this.drawText(e,t,i,p,o),n&&e.translate(a.x1,a.y1)},sP.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2)||void 0===arguments[2]||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},sP.getTextAngle=function(e,t){var n=e._private.rscratch,r=t?t+"-":"",i=e.pstyle(r+"text-rotation"),a=ta(n,"labelAngle",t);return"autorotate"===i.strValue?e.isEdge()?a:0:"none"===i.strValue?0:i.pfValue},sP.drawText=function(e,t,n){var r=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=!(arguments.length>4)||void 0===arguments[4]||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s=ta(a,"labelX",n),l=ta(a,"labelY",n),u=this.getLabelText(t,n);if(null!=u&&""!==u&&!isNaN(s)&&!isNaN(l)){this.setupTextStyle(e,t,i);var c,h,d,p=n?n+"-":"",f=ta(a,"labelWidth",n),g=ta(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,b=t.isEdge(),x=t.pstyle("text-halign").value,w=t.pstyle("text-valign").value;switch(b&&(x="center",w="center"),s+=v,l+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(c=s,h=l,e.translate(c,h),e.rotate(d),s=0,l=0),w){case"top":break;case"center":l+=g/2;break;case"bottom":l+=g}var E=t.pstyle("text-background-opacity").value,k=t.pstyle("text-border-opacity").value,C=t.pstyle("text-border-width").pfValue,S=t.pstyle("text-background-padding").pfValue;if(E>0||C>0&&k>0){var D=s-S;switch(x){case"left":D-=f;break;case"center":D-=f/2}var T=l-g-S,P=f+2*S,_=g+2*S;if(E>0){var M=e.fillStyle,B=t.pstyle("text-background-color").value;e.fillStyle="rgba("+B[0]+","+B[1]+","+B[2]+","+E*o+")",0===t.pstyle("text-background-shape").strValue.indexOf("round")?function(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),e.fill()}(e,D,T,P,_,2):e.fillRect(D,T,P,_),e.fillStyle=M}if(C>0&&k>0){var N=e.strokeStyle,A=e.lineWidth,I=t.pstyle("text-border-color").value,O=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+I[0]+","+I[1]+","+I[2]+","+k*o+")",e.lineWidth=C,e.setLineDash)switch(O){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=C/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(e.strokeRect(D,T,P,_),"double"===O){var z=C/2;e.strokeRect(D+z,T+z,P-2*z,_-2*z)}e.setLineDash&&e.setLineDash([]),e.lineWidth=A,e.strokeStyle=N}}var L=2*t.pstyle("text-outline-width").pfValue;if(L>0&&(e.lineWidth=L),"wrap"===t.pstyle("text-wrap").value){var R=ta(a,"labelWrapCachedLines",n),V=ta(a,"labelLineHeight",n),F=f/2,j=this.getLabelJustification(t);switch("auto"===j||("left"===x?"left"===j?s+=-f:"center"===j&&(s+=-F):"center"===x?"left"===j?s+=-F:"right"===j&&(s+=F):"right"===x&&("center"===j?s+=F:"right"===j&&(s+=f))),w){case"top":case"center":case"bottom":l-=(R.length-1)*V}for(var q=0;q0&&e.strokeText(R[q],s,l),e.fillText(R[q],s,l),l+=V}else L>0&&e.strokeText(u,s,l),e.fillText(u,s,l);0!==d&&(e.rotate(-d),e.translate(-c,-h))}}};var s_={};s_.drawNode=function(e,t,n){var r,i,a,o,s=!(arguments.length>3)||void 0===arguments[3]||arguments[3],l=!(arguments.length>4)||void 0===arguments[4]||arguments[4],u=!(arguments.length>5)||void 0===arguments[5]||arguments[5],c=this,h=t._private,d=h.rscratch,p=t.position();if(z(p.x)&&z(p.y)&&(!u||t.visible())){var f=u?t.effectiveOpacity():1,g=c.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(o=n,e.translate(-o.x1,-o.y1));for(var b=t.pstyle("background-image").value,x=Array(b.length),w=Array(b.length),E=0,k=0;k0&&void 0!==arguments[0]?arguments[0]:P;c.eleFillStyle(e,t,n)},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B;c.colorStrokeStyle(e,_[0],_[1],_[2],t)},I=t.pstyle("shape").strValue,O=t.pstyle("shape-polygon-points").pfValue;if(g){e.translate(p.x,p.y);var L=c.nodePathCache=c.nodePathCache||[],R=eK("polygon"===I?I+","+O.join(","):I,""+i,""+r),V=L[R];null!=V?(a=V,v=!0,d.pathCache=a):(a=new Path2D,L[R]=d.pathCache=a)}var F=function(){if(!v){var n=p;g&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(t)].draw(a||e,n.x,n.y,r,i)}g?e.fill(a):e.fill()},j=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=h.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f;c.hasPie(t)&&(c.drawPie(e,t,a),n&&!g&&c.nodeShapes[c.getNodeShape(t)].draw(e,p.x,p.y,r,i))},X=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,n=D>0?0:255;0!==D&&(c.colorFillStyle(e,n,n,n,(D>0?D:-D)*t),g?e.fill(a):e.fill())},Y=function(){if(T>0){if(e.lineWidth=T,e.lineCap="butt",e.setLineDash)switch(M){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}if(g?e.stroke(a):e.stroke(),"double"===M){e.lineWidth=T/3;var t=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",g?e.stroke(a):e.stroke(),e.globalCompositeOperation=t}e.setLineDash&&e.setLineDash([])}};if("yes"===t.pstyle("ghost").value){var W=t.pstyle("ghost-offset-x").pfValue,H=t.pstyle("ghost-offset-y").pfValue,G=t.pstyle("ghost-opacity").value,K=G*f;e.translate(W,H),N(G*P),F(),j(K,!0),A(G*B),Y(),q(0!==D||0!==T),j(K,!1),X(K),e.translate(-W,-H)}g&&e.translate(-p.x,-p.y),l&&c.drawNodeUnderlay(e,t,p,r,i),g&&e.translate(p.x,p.y),N(),F(),j(f,!0),A(),Y(),q(0!==D||0!==T),j(f,!1),X(),g&&e.translate(-p.x,-p.y),c.drawElementText(e,t,null,s),l&&c.drawNodeOverlay(e,t,p,r,i),n&&e.translate(o.x1,o.y1)}};var sM=function(e){if(!["overlay","underlay"].includes(e))throw Error("Invalid state");return function(t,n,r,i,a){if(n.visible()){var o=n.pstyle("".concat(e,"-padding")).pfValue,s=n.pstyle("".concat(e,"-opacity")).value,l=n.pstyle("".concat(e,"-color")).value,u=n.pstyle("".concat(e,"-shape")).value;if(s>0){if(r=r||n.position(),null==i||null==a){var c=n.padding();i=n.width()+2*c,a=n.height()+2*c}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,i+2*o,a+2*o),t.fill()}}}};s_.drawNodeOverlay=sM("overlay"),s_.drawNodeUnderlay=sM("underlay"),s_.hasPie=function(e){return(e=e[0])._private.hasPie},s_.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=Math.min(t.width(),t.height())/2,u=0;this.usePaths()&&(o=0,s=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var c=1;c<=i.pieBackgroundN;c++){var h=t.pstyle("pie-"+c+"-background-size").value,d=t.pstyle("pie-"+c+"-background-color").value,p=t.pstyle("pie-"+c+"-background-opacity").value*n,f=h/100;f+u>1&&(f=1-u);var g=1.5*Math.PI+2*Math.PI*u,v=g+2*Math.PI*f;0===h||u>=1||u+f>1||(e.beginPath(),e.moveTo(o,s),e.arc(o,s,l,g,v),e.closePath(),this.colorFillStyle(e,d[0],d[1],d[2],p),e.fill(),u+=f)}};var sB={};sB.getPixelRatio=function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/t},sB.paintCache=function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var b=l.style(),x=l.zoom(),w=void 0!==i?i:x,E=l.pan(),k={x:E.x,y:E.y},C={zoom:x,pan:{x:E.x,y:E.y}},S=o.prevViewport;void 0===S||C.zoom!==S.zoom||C.pan.x!==S.pan.x||C.pan.y!==S.pan.y||g&&!f||(o.motionBlurPxRatio=1),a&&(k=a),w*=s,k.x*=s,k.y*=s;var D=o.getCachedZSortedEles();function T(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function P(e,r){var s,l,c,h;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=k,l=w,c=o.canvasWidth,h=o.canvasHeight):(s={x:E.x*p,y:E.y*p},l=x*p,c=o.canvasWidth*p,h=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?T(e,0,0,c,h):!t&&(void 0===r||r)&&e.clearRect(0,0,c,h),n||(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var _=o.data.bufferContexts[o.TEXTURE_BUFFER];_.setTransform(1,0,0,1,0,0),_.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:_,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult});var C=o.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight};C.mpan={x:(0-C.pan.x)/C.zoom,y:(0-C.pan.y)/C.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var M=u.contexts[o.NODE],B=o.textureCache.texture,C=o.textureCache.viewport;M.setTransform(1,0,0,1,0,0),d?T(M,0,0,C.width,C.height):M.clearRect(0,0,C.width,C.height);var N=b.core("outside-texture-bg-color").value,A=b.core("outside-texture-bg-opacity").value;o.colorFillStyle(M,N[0],N[1],N[2],A),M.fillRect(0,0,C.width,C.height);var x=l.zoom();P(M,!1),M.clearRect(C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s),M.drawImage(B,C.mpan.x,C.mpan.y,C.width/C.zoom/s,C.height/C.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var I=l.extent(),O=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),z=o.hideEdgesOnViewport&&O,L=[];if(L[o.NODE]=!c[o.NODE]&&d&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,L[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),L[o.DRAG]=!c[o.DRAG]&&d&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,L[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||L[o.NODE]){var R=d&&!L[o.NODE]&&1!==p,M=t||(R?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]);P(M,d&&!R?"motionBlur":void 0),z?o.drawCachedNodes(M,D.nondrag,s,I):o.drawLayeredElements(M,D.nondrag,s,I),o.debug&&o.drawDebugPoints(M,D.nondrag),n||d||(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||L[o.DRAG])){var R=d&&!L[o.DRAG]&&1!==p,M=t||(R?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]);P(M,d&&!R?"motionBlur":void 0),z?o.drawCachedNodes(M,D.drag,s,I):o.drawCachedElements(M,D.drag,s,I),o.debug&&o.drawDebugPoints(M,D.drag),n||d||(c[o.DRAG]=!1)}if(o.showFps||!r&&c[o.SELECT_BOX]&&!n){var M=t||u.contexts[o.SELECT_BOX];if(P(M),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){var x=o.cy.zoom(),V=b.core("selection-box-border-width").value/x;M.lineWidth=V,M.fillStyle="rgba("+b.core("selection-box-color").value[0]+","+b.core("selection-box-color").value[1]+","+b.core("selection-box-color").value[2]+","+b.core("selection-box-opacity").value+")",M.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),V>0&&(M.strokeStyle="rgba("+b.core("selection-box-border-color").value[0]+","+b.core("selection-box-border-color").value[1]+","+b.core("selection-box-border-color").value[2]+","+b.core("selection-box-opacity").value+")",M.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(u.bgActivePosistion&&!o.hoverData.selecting){var x=o.cy.zoom(),F=u.bgActivePosistion;M.fillStyle="rgba("+b.core("active-bg-color").value[0]+","+b.core("active-bg-color").value[1]+","+b.core("active-bg-color").value[2]+","+b.core("active-bg-opacity").value+")",M.beginPath(),M.arc(F.x,F.y,b.core("active-bg-size").pfValue/x,0,2*Math.PI),M.fill()}var j=o.lastRedrawTime;if(o.showFps&&j){var q=Math.round(1e3/(j=Math.round(j)));M.setTransform(1,0,0,1,0,0),M.fillStyle="rgba(255, 0, 0, 0.75)",M.strokeStyle="rgba(255, 0, 0, 0.75)",M.lineWidth=1,M.fillText("1 frame = "+j+" ms = "+q+" fps",0,20),M.strokeRect(0,30,250,20),M.fillRect(0,30,250*Math.min(q/60,1),20)}n||(c[o.SELECT_BOX]=!1)}if(d&&1!==p){var X=u.contexts[o.NODE],Y=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],W=u.contexts[o.DRAG],H=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],G=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):T(e,0,0,o.canvasWidth,o.canvasHeight),e.drawImage(t,0,0,o.canvasWidth*p,o.canvasHeight*p,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||L[o.NODE])&&(G(X,Y,L[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||L[o.DRAG])&&(G(W,H,L[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=C,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),d&&(o.motionBlurTimeout=setTimeout(function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()},100)),t||l.emit("render")};var sN={};sN.drawPolygonPath=function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var f=t.pan(),g={x:f.x*l,y:f.y*l};l*=t.zoom(),d.translate(g.x,g.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-g.x,-g.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h},sL.png=function(e){return sV(e,this.bufferCanvasImage(e),"image/png")},sL.jpg=function(e){return sV(e,this.bufferCanvasImage(e),"image/jpeg")};var sF={};sF.nodeShapeImpl=function(e,t,n,r,i,a,o){switch(e){case"ellipse":return this.drawEllipsePath(t,n,r,i,a);case"polygon":return this.drawPolygonPath(t,n,r,i,a,o);case"round-polygon":return this.drawRoundPolygonPath(t,n,r,i,a,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(t,n,r,i,a);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(t,n,r,i,a);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(t,n,r,i,a);case"barrel":return this.drawBarrelPath(t,n,r,i,a)}};var sj=sq.prototype;function sq(e){var t=this;t.data={canvases:Array(sj.CANVAS_LAYERS),contexts:Array(sj.CANVAS_LAYERS),canvasNeedsRedraw:Array(sj.CANVAS_LAYERS),bufferCanvases:Array(sj.BUFFER_COUNT),bufferContexts:Array(sj.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",r="rgba(0,0,0,0)";t.data.canvasContainer=document.createElement("div");var i=t.data.canvasContainer.style;t.data.canvasContainer.style[n]=r,i.position="relative",i.zIndex="0",i.overflow="hidden";var a=e.cy.container();a.appendChild(t.data.canvasContainer),a.style[n]=r;var o={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};D&&D.userAgent.match(/msie|trident|edge/i)&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;s