2 lines
2.8 MiB
2 lines
2.8 MiB
/*! For license information please see vendor-677e88ca78c86bddf13d.js.LICENSE.txt */
|
||
(self.webpackChunkExcalidrawLib=self.webpackChunkExcalidrawLib||[]).push([[4736],{5030:function(t,e){"use strict";e.K=void 0;e.K=function(t,e){void 0===e&&(e={listUnicodeChar:""}),(e=e||{}).listUnicodeChar=!!e.hasOwnProperty("listUnicodeChar")&&e.listUnicodeChar,e.stripListLeaders=!e.hasOwnProperty("stripListLeaders")||e.stripListLeaders,e.gfm=!e.hasOwnProperty("gfm")||e.gfm,e.useImgAltText=!e.hasOwnProperty("useImgAltText")||e.useImgAltText,e.preserveLinks=!!e.hasOwnProperty("preserveLinks")&&e.preserveLinks;var n=t||"";n=n.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm,"");try{e.stripListLeaders&&(n=e.listUnicodeChar?n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,e.listUnicodeChar+" $1"):n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),e.gfm&&(n=n.replace(/\n={2,}/g,"\n").replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/`{3}.*\n/g,"")),e.preserveLinks&&(n=n.replace(/\[(.*?)\][\[\(](.*?)[\]\)]/g,"$1 ($2)")),n=n.replace(/<[^>]*>/g,"").replace(/^[=\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g,e.useImgAltText?"$1":"").replace(/\[(.*?)\][\[\(].*?[\]\)]/g,"$1").replace(/^\s{0,3}>\s?/g,"").replace(/(^|\n)\s{0,3}>\s?/g,"\n\n").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s+| {0,}(\n)?\s{0,}#{0,} {0,}(\n)?\s{0,}$/gm,"$1$2$3").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/\n{2,}/g,"\n\n")}catch(e){return console.error(e),t}return n}},7122:function(t,e,n){var i;i=function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=7)}([function(e,n){e.exports=t},function(t,e,n){"use strict";var i=n(0).FDLayoutConstants;function r(){}for(var a in i)r[a]=i[a];r.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,r.DEFAULT_RADIAL_SEPARATION=i.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,n){"use strict";var i=n(0).FDLayoutEdge;function r(t,e,n){i.call(this,t,e,n)}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r},function(t,e,n){"use strict";var i=n(0).LGraph;function r(t,e,n){i.call(this,t,e,n)}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r},function(t,e,n){"use strict";var i=n(0).LGraphManager;function r(t){i.call(this,t)}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r},function(t,e,n){"use strict";var i=n(0).FDLayoutNode,r=n(0).IMath;function a(t,e,n,r){i.call(this,t,e,n,r)}for(var o in a.prototype=Object.create(i.prototype),i)a[o]=i[o];a.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||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},a.prototype.propogateDisplacementToChildren=function(t,e){for(var n,i=this.getChild().getNodes(),r=0;r<i.length;r++)null==(n=i[r]).getChild()?(n.moveBy(t,e),n.displacementX+=t,n.displacementY+=e):n.propogateDisplacementToChildren(t,e)},a.prototype.setPred1=function(t){this.pred1=t},a.prototype.getPred1=function(){return pred1},a.prototype.getPred2=function(){return pred2},a.prototype.setNext=function(t){this.next=t},a.prototype.getNext=function(){return next},a.prototype.setProcessed=function(t){this.processed=t},a.prototype.isProcessed=function(){return processed},t.exports=a},function(t,e,n){"use strict";var i=n(0).FDLayout,r=n(4),a=n(3),o=n(5),s=n(2),c=n(1),u=n(0).FDLayoutConstants,l=n(0).LayoutConstants,h=n(0).Point,f=n(0).PointD,d=n(0).Layout,g=n(0).Integer,p=n(0).IGeometry,b=n(0).LGraph,w=n(0).Transform;function m(){i.call(this),this.toBeTiled={}}for(var y in m.prototype=Object.create(i.prototype),i)m[y]=i[y];m.prototype.newGraphManager=function(){var t=new r(this);return this.graphManager=t,t},m.prototype.newGraph=function(t){return new a(null,this.graphManager,t)},m.prototype.newNode=function(t){return new o(this.graphManager,t)},m.prototype.newEdge=function(t){return new s(null,null,t)},m.prototype.initParameters=function(){i.prototype.initParameters.call(this,arguments),this.isSubLayout||(c.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=c.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=c.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=u.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=u.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=u.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=u.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=u.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=u.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/u.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=u.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},m.prototype.layout=function(){return l.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},m.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental)c.TREE_REDUCTION_ON_INCREMENTAL&&(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),e=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(t){return e.has(t)})),this.graphManager.setAllNodesToApplyGravitation(n));else{var t=this.getFlatForest();if(t.length>0)this.positionNodesRadially(t);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var e=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(n),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},m.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%u.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=u.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=u.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var n=!this.isTreeGrowing&&!this.isGrowthFinished,i=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(n,i),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},m.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},n=0;n<t.length;n++){var i=t[n].rect,r=t[n].id;e[r]={id:r,x:i.getCenterX(),y:i.getCenterY(),w:i.width,h:i.height}}return e},m.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var t=!1;if("during"===u.ANIMATE)this.emit("layoutstarted");else{for(;!t;)t=this.tick();this.graphManager.updateBounds()}},m.prototype.calculateNodesToApplyGravitationTo=function(){var t,e,n=[],i=this.graphManager.getGraphs(),r=i.length;for(e=0;e<r;e++)(t=i[e]).updateConnected(),t.isConnected||(n=n.concat(t.getNodes()));return n},m.prototype.createBendpoints=function(){var t=[];t=t.concat(this.graphManager.getAllEdges());var e,n=new Set;for(e=0;e<t.length;e++){var i=t[e];if(!n.has(i)){var r=i.getSource(),a=i.getTarget();if(r==a)i.getBendpoints().push(new f),i.getBendpoints().push(new f),this.createDummyNodesForBendpoints(i),n.add(i);else{var o=[];if(o=(o=o.concat(r.getEdgeListToNode(a))).concat(a.getEdgeListToNode(r)),!n.has(o[0])){var s;if(o.length>1)for(s=0;s<o.length;s++){var c=o[s];c.getBendpoints().push(new f),this.createDummyNodesForBendpoints(c)}o.forEach((function(t){n.add(t)}))}}}if(n.size==t.length)break}},m.prototype.positionNodesRadially=function(t){for(var e=new h(0,0),n=Math.ceil(Math.sqrt(t.length)),i=0,r=0,a=0,o=new f(0,0),s=0;s<t.length;s++){s%n==0&&(a=0,r=i,0!=s&&(r+=c.DEFAULT_COMPONENT_SEPERATION),i=0);var u=t[s],g=d.findCenterOfTree(u);e.x=a,e.y=r,(o=m.radialLayout(u,g,e)).y>i&&(i=Math.floor(o.y)),a=Math.floor(o.x+c.DEFAULT_COMPONENT_SEPERATION)}this.transform(new f(l.WORLD_CENTER_X-o.x/2,l.WORLD_CENTER_Y-o.y/2))},m.radialLayout=function(t,e,n){var i=Math.max(this.maxDiagonalInTree(t),c.DEFAULT_RADIAL_SEPARATION);m.branchRadialLayout(e,null,0,359,0,i);var r=b.calculateBounds(t),a=new w;a.setDeviceOrgX(r.getMinX()),a.setDeviceOrgY(r.getMinY()),a.setWorldOrgX(n.x),a.setWorldOrgY(n.y);for(var o=0;o<t.length;o++)t[o].transform(a);var s=new f(r.getMaxX(),r.getMaxY());return a.inverseTransformPoint(s)},m.branchRadialLayout=function(t,e,n,i,r,a){var o=(i-n+1)/2;o<0&&(o+=180);var s=(o+n)%360*p.TWO_PI/360,c=(Math.cos(s),r*Math.cos(s)),u=r*Math.sin(s);t.setCenter(c,u);var l=[],h=(l=l.concat(t.getEdges())).length;null!=e&&h--;for(var f,d=0,g=l.length,b=t.getEdgesBetween(e);b.length>1;){var w=b[0];b.splice(0,1);var y=l.indexOf(w);y>=0&&l.splice(y,1),g--,h--}f=null!=e?(l.indexOf(b[0])+1)%g:0;for(var v=Math.abs(i-n)/h,x=f;d!=h;x=++x%g){var k=l[x].getOtherEnd(t);if(k!=e){var _=(n+d*v)%360,A=(_+v)%360;m.branchRadialLayout(k,t,_,A,r+a,a),d++}}},m.maxDiagonalInTree=function(t){for(var e=g.MIN_VALUE,n=0;n<t.length;n++){var i=t[n].getDiagonal();i>e&&(e=i)}return e},m.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},m.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var n=[],i=this.graphManager.getAllNodes(),r=0;r<i.length;r++){var a=(s=i[r]).getParent();0!==this.getNodeDegreeWithChildren(s)||null!=a.id&&this.getToBeTiled(a)||n.push(s)}for(r=0;r<n.length;r++){var s,c=(s=n[r]).getParent().id;void 0===e[c]&&(e[c]=[]),e[c]=e[c].concat(s)}Object.keys(e).forEach((function(n){if(e[n].length>1){var i="DummyCompound_"+n;t.memberGroups[i]=e[n];var r=e[n][0].getParent(),a=new o(t.graphManager);a.id=i,a.paddingLeft=r.paddingLeft||0,a.paddingRight=r.paddingRight||0,a.paddingBottom=r.paddingBottom||0,a.paddingTop=r.paddingTop||0,t.idToDummyNode[i]=a;var s=t.getGraphManager().add(t.newGraph(),a),c=r.getChild();c.add(a);for(var u=0;u<e[n].length;u++){var l=e[n][u];c.remove(l),s.add(l)}}}))},m.prototype.clearCompounds=function(){var t={},e={};this.performDFSOnCompounds();for(var n=0;n<this.compoundOrder.length;n++)e[this.compoundOrder[n].id]=this.compoundOrder[n],t[this.compoundOrder[n].id]=[].concat(this.compoundOrder[n].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[n].getChild()),this.compoundOrder[n].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(t,e)},m.prototype.clearZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach((function(n){var i=t.idToDummyNode[n];e[n]=t.tileNodes(t.memberGroups[n],i.paddingLeft+i.paddingRight),i.rect.width=e[n].width,i.rect.height=e[n].height}))},m.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],n=e.id,i=e.paddingLeft,r=e.paddingTop;this.adjustLocations(this.tiledMemberPack[n],e.rect.x,e.rect.y,i,r)}},m.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach((function(n){var i=t.idToDummyNode[n],r=i.paddingLeft,a=i.paddingTop;t.adjustLocations(e[n],i.rect.x,i.rect.y,r,a)}))},m.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var n=t.getChild();if(null==n)return this.toBeTiled[e]=!1,!1;for(var i=n.getNodes(),r=0;r<i.length;r++){var a=i[r];if(this.getNodeDegree(a)>0)return this.toBeTiled[e]=!1,!1;if(null!=a.getChild()){if(!this.getToBeTiled(a))return this.toBeTiled[e]=!1,!1}else this.toBeTiled[a.id]=!1}return this.toBeTiled[e]=!0,!0},m.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),n=0,i=0;i<e.length;i++){var r=e[i];r.getSource().id!==r.getTarget().id&&(n+=1)}return n},m.prototype.getNodeDegreeWithChildren=function(t){var e=this.getNodeDegree(t);if(null==t.getChild())return e;for(var n=t.getChild().getNodes(),i=0;i<n.length;i++){var r=n[i];e+=this.getNodeDegreeWithChildren(r)}return e},m.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},m.prototype.fillCompexOrderByDFS=function(t){for(var e=0;e<t.length;e++){var n=t[e];null!=n.getChild()&&this.fillCompexOrderByDFS(n.getChild().getNodes()),this.getToBeTiled(n)&&this.compoundOrder.push(n)}},m.prototype.adjustLocations=function(t,e,n,i,r){n+=r;for(var a=e+=i,o=0;o<t.rows.length;o++){var s=t.rows[o];e=a;for(var c=0,u=0;u<s.length;u++){var l=s[u];l.rect.x=e,l.rect.y=n,e+=l.rect.width+t.horizontalPadding,l.rect.height>c&&(c=l.rect.height)}n+=c+t.verticalPadding}},m.prototype.tileCompoundMembers=function(t,e){var n=this;this.tiledMemberPack=[],Object.keys(t).forEach((function(i){var r=e[i];n.tiledMemberPack[i]=n.tileNodes(t[i],r.paddingLeft+r.paddingRight),r.rect.width=n.tiledMemberPack[i].width,r.rect.height=n.tiledMemberPack[i].height}))},m.prototype.tileNodes=function(t,e){var n={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:c.TILING_PADDING_VERTICAL,horizontalPadding:c.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.height<e.rect.width*e.rect.height?1:0}));for(var i=0;i<t.length;i++){var r=t[i];0==n.rows.length?this.insertNodeToRow(n,r,0,e):this.canAddHorizontal(n,r.rect.width,r.rect.height)?this.insertNodeToRow(n,r,this.getShortestRowIndex(n),e):this.insertNodeToRow(n,r,n.rows.length,e),this.shiftToLastRow(n)}return n},m.prototype.insertNodeToRow=function(t,e,n,i){var r=i;n==t.rows.length&&(t.rows.push([]),t.rowWidth.push(r),t.rowHeight.push(0));var a=t.rowWidth[n]+e.rect.width;t.rows[n].length>0&&(a+=t.horizontalPadding),t.rowWidth[n]=a,t.width<a&&(t.width=a);var o=e.rect.height;n>0&&(o+=t.verticalPadding);var s=0;o>t.rowHeight[n]&&(s=t.rowHeight[n],t.rowHeight[n]=o,s=t.rowHeight[n]-s),t.height+=s,t.rows[n].push(e)},m.prototype.getShortestRowIndex=function(t){for(var e=-1,n=Number.MAX_VALUE,i=0;i<t.rows.length;i++)t.rowWidth[i]<n&&(e=i,n=t.rowWidth[i]);return e},m.prototype.getLongestRowIndex=function(t){for(var e=-1,n=Number.MIN_VALUE,i=0;i<t.rows.length;i++)t.rowWidth[i]>n&&(e=i,n=t.rowWidth[i]);return e},m.prototype.canAddHorizontal=function(t,e,n){var i=this.getShortestRowIndex(t);if(i<0)return!0;var r=t.rowWidth[i];if(r+t.horizontalPadding+e<=t.width)return!0;var a,o,s=0;return t.rowHeight[i]<n&&i>0&&(s=n+t.verticalPadding-t.rowHeight[i]),a=t.width-r>=e+t.horizontalPadding?(t.height+s)/(r+e+t.horizontalPadding):(t.height+s)/t.width,s=n+t.verticalPadding,(o=t.width<e?(t.height+s)/e:(t.height+s)/t.width)<1&&(o=1/o),a<1&&(a=1/a),a<o},m.prototype.shiftToLastRow=function(t){var e=this.getLongestRowIndex(t),n=t.rowWidth.length-1,i=t.rows[e],r=i[i.length-1],a=r.width+t.horizontalPadding;if(t.width-t.rowWidth[n]>a&&e!=n){i.splice(-1,1),t.rows[n].push(r),t.rowWidth[e]=t.rowWidth[e]-a,t.rowWidth[n]=t.rowWidth[n]+a,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var o=Number.MIN_VALUE,s=0;s<i.length;s++)i[s].height>o&&(o=i[s].height);e>0&&(o+=t.verticalPadding);var c=t.rowHeight[e]+t.rowHeight[n];t.rowHeight[e]=o,t.rowHeight[n]<r.height+t.verticalPadding&&(t.rowHeight[n]=r.height+t.verticalPadding);var u=t.rowHeight[e]+t.rowHeight[n];t.height+=u-c,this.shiftToLastRow(t)}},m.prototype.tilingPreLayout=function(){c.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},m.prototype.tilingPostLayout=function(){c.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},m.prototype.reduceTrees=function(){for(var t,e=[],n=!0;n;){var i=this.graphManager.getAllNodes(),r=[];n=!1;for(var a=0;a<i.length;a++)1!=(t=i[a]).getEdges().length||t.getEdges()[0].isInterGraph||null!=t.getChild()||(r.push([t,t.getEdges()[0],t.getOwner()]),n=!0);if(1==n){for(var o=[],s=0;s<r.length;s++)1==r[s][0].getEdges().length&&(o.push(r[s]),r[s][0].getOwner().remove(r[s][0]));e.push(o),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=e},m.prototype.growTree=function(t){for(var e,n=t[t.length-1],i=0;i<n.length;i++)e=n[i],this.findPlaceforPrunedNode(e),e[2].add(e[0]),e[2].add(e[1],e[1].source,e[1].target);t.splice(t.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},m.prototype.findPlaceforPrunedNode=function(t){var e,n,i=t[0],r=(n=i==t[1].source?t[1].target:t[1].source).startX,a=n.finishX,o=n.startY,s=n.finishY,c=[0,0,0,0];if(o>0)for(var l=r;l<=a;l++)c[0]+=this.grid[l][o-1].length+this.grid[l][o].length-1;if(a<this.grid.length-1)for(l=o;l<=s;l++)c[1]+=this.grid[a+1][l].length+this.grid[a][l].length-1;if(s<this.grid[0].length-1)for(l=r;l<=a;l++)c[2]+=this.grid[l][s+1].length+this.grid[l][s].length-1;if(r>0)for(l=o;l<=s;l++)c[3]+=this.grid[r-1][l].length+this.grid[r][l].length-1;for(var h,f,d=g.MAX_VALUE,p=0;p<c.length;p++)c[p]<d?(d=c[p],h=1,f=p):c[p]==d&&h++;if(3==h&&0==d)0==c[0]&&0==c[1]&&0==c[2]?e=1:0==c[0]&&0==c[1]&&0==c[3]?e=0:0==c[0]&&0==c[2]&&0==c[3]?e=3:0==c[1]&&0==c[2]&&0==c[3]&&(e=2);else if(2==h&&0==d){var b=Math.floor(2*Math.random());e=0==c[0]&&0==c[1]?0==b?0:1:0==c[0]&&0==c[2]?0==b?0:2:0==c[0]&&0==c[3]?0==b?0:3:0==c[1]&&0==c[2]?0==b?1:2:0==c[1]&&0==c[3]?0==b?1:3:0==b?2:3}else e=4==h&&0==d?b=Math.floor(4*Math.random()):f;0==e?i.setCenter(n.getCenterX(),n.getCenterY()-n.getHeight()/2-u.DEFAULT_EDGE_LENGTH-i.getHeight()/2):1==e?i.setCenter(n.getCenterX()+n.getWidth()/2+u.DEFAULT_EDGE_LENGTH+i.getWidth()/2,n.getCenterY()):2==e?i.setCenter(n.getCenterX(),n.getCenterY()+n.getHeight()/2+u.DEFAULT_EDGE_LENGTH+i.getHeight()/2):i.setCenter(n.getCenterX()-n.getWidth()/2-u.DEFAULT_EDGE_LENGTH-i.getWidth()/2,n.getCenterY())},t.exports=m},function(t,e,n){"use strict";var i={};i.layoutBase=n(0),i.CoSEConstants=n(1),i.CoSEEdge=n(2),i.CoSEGraph=n(3),i.CoSEGraphManager=n(4),i.CoSELayout=n(6),i.CoSENode=n(5),t.exports=i}])},t.exports=i(n(5539))},3539:function(t,e,n){var i;i=function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(e,n){e.exports=t},function(t,e,n){"use strict";var i=n(0).layoutBase.LayoutConstants,r=n(0).layoutBase.FDLayoutConstants,a=n(0).CoSEConstants,o=n(0).CoSELayout,s=n(0).CoSENode,c=n(0).layoutBase.PointD,u=n(0).layoutBase.DimensionD,l={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function h(t){this.options=function(t,e){var n={};for(var i in t)n[i]=t[i];for(var i in e)n[i]=e[i];return n}(l,t),f(this.options)}var f=function(t){null!=t.nodeRepulsion&&(a.DEFAULT_REPULSION_STRENGTH=r.DEFAULT_REPULSION_STRENGTH=t.nodeRepulsion),null!=t.idealEdgeLength&&(a.DEFAULT_EDGE_LENGTH=r.DEFAULT_EDGE_LENGTH=t.idealEdgeLength),null!=t.edgeElasticity&&(a.DEFAULT_SPRING_STRENGTH=r.DEFAULT_SPRING_STRENGTH=t.edgeElasticity),null!=t.nestingFactor&&(a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(a.DEFAULT_GRAVITY_STRENGTH=r.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(a.MAX_ITERATIONS=r.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(a.DEFAULT_GRAVITY_RANGE_FACTOR=r.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(a.DEFAULT_COMPOUND_GRAVITY_STRENGTH=r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(a.DEFAULT_COOLING_FACTOR_INCREMENTAL=r.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),"draft"==t.quality?i.QUALITY=0:"proof"==t.quality?i.QUALITY=2:i.QUALITY=1,a.NODE_DIMENSIONS_INCLUDE_LABELS=r.NODE_DIMENSIONS_INCLUDE_LABELS=i.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,a.DEFAULT_INCREMENTAL=r.DEFAULT_INCREMENTAL=i.DEFAULT_INCREMENTAL=!t.randomize,a.ANIMATE=r.ANIMATE=i.ANIMATE=t.animate,a.TILE=t.tile,a.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,a.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal};h.prototype.run=function(){var t,e,n=this.options,i=(this.idToLNode={},this.layout=new o),r=this;r.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var a=i.newGraphManager();this.gm=a;var s=this.options.eles.nodes(),c=this.options.eles.edges();this.root=a.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(s),i);for(var u=0;u<c.length;u++){var l=c[u],h=this.idToLNode[l.data("source")],f=this.idToLNode[l.data("target")];h!==f&&0==h.getEdgesBetween(f).length&&(a.add(i.newEdge(),h,f).id=l.id())}var d=function(t,e){"number"==typeof t&&(t=e);var n=t.data("id"),i=r.idToLNode[n];return{x:i.getRect().getCenterX(),y:i.getRect().getCenterY()}},g=function a(){for(var o,s=function(){n.fit&&n.cy.fit(n.eles,n.padding),t||(t=!0,r.cy.one("layoutready",n.ready),r.cy.trigger({type:"layoutready",layout:r}))},c=r.options.refresh,u=0;u<c&&!o;u++)o=r.stopped||r.layout.tick();if(o)return i.checkLayoutSuccess()&&!i.isSubLayout&&i.doPostLayout(),i.tilingPostLayout&&i.tilingPostLayout(),i.isLayoutFinished=!0,r.options.eles.nodes().positions(d),s(),r.cy.one("layoutstop",r.options.stop),r.cy.trigger({type:"layoutstop",layout:r}),e&&cancelAnimationFrame(e),void(t=!1);var l=r.layout.getPositionsData();n.eles.nodes().positions((function(t,e){if("number"==typeof t&&(t=e),!t.isParent()){for(var n=t.id(),i=l[n],r=t;null==i&&(i=l[r.data("parent")]||l["DummyCompound_"+r.data("parent")],l[n]=i,null!=(r=r.parent()[0])););return null!=i?{x:i.x,y:i.y}:{x:t.position("x"),y:t.position("y")}}})),s(),e=requestAnimationFrame(a)};return i.addListener("layoutstarted",(function(){"during"===r.options.animate&&(e=requestAnimationFrame(g))})),i.runLayout(),"during"!==this.options.animate&&(r.options.eles.nodes().not(":parent").layoutPositions(r,r.options,d),t=!1),this},h.prototype.getTopMostNodes=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].id()]=!0;var i=t.filter((function(t,n){"number"==typeof t&&(t=n);for(var i=t.parent()[0];null!=i;){if(e[i.id()])return!1;i=i.parent()[0]}return!0}));return i},h.prototype.processChildrenList=function(t,e,n){for(var i=e.length,r=0;r<i;r++){var a,o,l=e[r],h=l.children(),f=l.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if((a=null!=l.outerWidth()&&null!=l.outerHeight()?t.add(new s(n.graphManager,new c(l.position("x")-f.w/2,l.position("y")-f.h/2),new u(parseFloat(f.w),parseFloat(f.h)))):t.add(new s(this.graphManager))).id=l.data("id"),a.paddingLeft=parseInt(l.css("padding")),a.paddingTop=parseInt(l.css("padding")),a.paddingRight=parseInt(l.css("padding")),a.paddingBottom=parseInt(l.css("padding")),this.options.nodeDimensionsIncludeLabels&&l.isParent()){var d=l.boundingBox({includeLabels:!0,includeNodes:!1}).w,g=l.boundingBox({includeLabels:!0,includeNodes:!1}).h,p=l.css("text-halign");a.labelWidth=d,a.labelHeight=g,a.labelPos=p}this.idToLNode[l.data("id")]=a,isNaN(a.rect.x)&&(a.rect.x=0),isNaN(a.rect.y)&&(a.rect.y=0),null!=h&&h.length>0&&(o=n.getGraphManager().add(n.newGraph(),a),this.processChildrenList(o,h,n))}},h.prototype.stop=function(){return this.stopped=!0,this};var d=function(t){t("layout","cose-bilkent",h)};"undefined"!=typeof cytoscape&&d(cytoscape),t.exports=d}])},t.exports=i(n(7122))},87:function(t,e,n){t.exports=function(){"use strict";function t(e){return t="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(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return s(t)||c(t,e)||u(t,e)||h()}function s(t){if(Array.isArray(t))return t}function c(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,a=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(i=n.next()).done)&&(a.push(i.value),!e||a.length!==e);o=!0);}catch(t){s=!0,r=t}finally{try{o||null==n.return||n.return()}finally{if(s)throw r}}return a}}function u(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var f="undefined"==typeof window?null:window,d=f?f.navigator:null;f&&f.document;var g=t(""),p=t({}),b=t((function(){})),w="undefined"==typeof HTMLElement?"undefined":t(HTMLElement),m=function(t){return t&&t.instanceString&&v(t.instanceString)?t.instanceString():null},y=function(e){return null!=e&&t(e)==g},v=function(e){return null!=e&&t(e)===b},x=function(t){return!C(t)&&(Array.isArray?Array.isArray(t):null!=t&&t instanceof Array)},k=function(e){return null!=e&&t(e)===p&&!x(e)&&e.constructor===Object},_=function(e){return null!=e&&t(e)===p},A=function(e){return null!=e&&t(e)===t(1)&&!isNaN(e)},E=function(t){return A(t)&&Math.floor(t)===t},T=function(t){return"undefined"===w?void 0:null!=t&&t instanceof HTMLElement},C=function(t){return S(t)||I(t)},S=function(t){return"collection"===m(t)&&t._private.single},I=function(t){return"collection"===m(t)&&!t._private.single},M=function(t){return"core"===m(t)},D=function(t){return"stylesheet"===m(t)},O=function(t){return"event"===m(t)},L=function(t){return null==t||!(""!==t&&!t.match(/^\s+$/))},N=function(t){return"undefined"!=typeof HTMLElement&&t instanceof HTMLElement},P=function(t){return k(t)&&A(t.x1)&&A(t.x2)&&A(t.y1)&&A(t.y2)},B=function(t){return _(t)&&v(t.then)},F=function(){return d&&d.userAgent.match(/msie|trident|edge/i)},R=function(t,e){e||(e=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);return t.join("$")});var n=function n(){var i,r=this,a=arguments,o=e.apply(r,a),s=n.cache;return(i=s[o])||(i=s[o]=t.apply(r,a)),i};return n.cache={},n},j=R((function(t){return t.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}))})),$=R((function(t){return t.replace(/(-\w)/g,(function(t){return t[1].toUpperCase()}))})),z=R((function(t,e){return t+e[0].toUpperCase()+e.substring(1)}),(function(t,e){return t+"$"+e})),q=function(t){return L(t)?t:t.charAt(0).toUpperCase()+t.substring(1)},H="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",U="rgb[a]?\\(("+H+"[%]?)\\s*,\\s*("+H+"[%]?)\\s*,\\s*("+H+"[%]?)(?:\\s*,\\s*("+H+"))?\\)",G="rgb[a]?\\((?:"+H+"[%]?)\\s*,\\s*(?:"+H+"[%]?)\\s*,\\s*(?:"+H+"[%]?)(?:\\s*,\\s*(?:"+H+"))?\\)",Y="hsl[a]?\\(("+H+")\\s*,\\s*("+H+"[%])\\s*,\\s*("+H+"[%])(?:\\s*,\\s*("+H+"))?\\)",Z="hsl[a]?\\((?:"+H+")\\s*,\\s*(?:"+H+"[%])\\s*,\\s*(?:"+H+"[%])(?:\\s*,\\s*(?:"+H+"))?\\)",W="\\#[0-9a-fA-F]{3}",K="\\#[0-9a-fA-F]{6}",X=function(t,e){return t<e?-1:t>e?1:0},V=function(t,e){return-1*X(t,e)},Q=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments,n=1;n<e.length;n++){var i=e[n];if(null!=i)for(var r=Object.keys(i),a=0;a<r.length;a++){var o=r[a];t[o]=i[o]}}return t},J=function(t){if((4===t.length||7===t.length)&&"#"===t[0]){var e,n,i,r=16;return 4===t.length?(e=parseInt(t[1]+t[1],r),n=parseInt(t[2]+t[2],r),i=parseInt(t[3]+t[3],r)):(e=parseInt(t[1]+t[2],r),n=parseInt(t[3]+t[4],r),i=parseInt(t[5]+t[6],r)),[e,n,i]}},tt=function(t){var e,n,i,r,a,o,s,c;function u(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var l=new RegExp("^"+Y+"$").exec(t);if(l){if((n=parseInt(l[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(i=parseFloat(l[2]))<0||i>100)return;if(i/=100,(r=parseFloat(l[3]))<0||r>100)return;if(r/=100,void 0!==(a=l[4])&&((a=parseFloat(a))<0||a>1))return;if(0===i)o=s=c=Math.round(255*r);else{var h=r<.5?r*(1+i):r+i-r*i,f=2*r-h;o=Math.round(255*u(f,h,n+1/3)),s=Math.round(255*u(f,h,n)),c=Math.round(255*u(f,h,n-1/3))}e=[o,s,c,a]}return e},et=function(t){var e,n=new RegExp("^"+U+"$").exec(t);if(n){e=[];for(var i=[],r=1;r<=3;r++){var a=n[r];if("%"===a[a.length-1]&&(i[r]=!0),a=parseFloat(a),i[r]&&(a=a/100*255),a<0||a>255)return;e.push(Math.floor(a))}var o=i[1]||i[2]||i[3],s=i[1]&&i[2]&&i[3];if(o&&!s)return;var c=n[4];if(void 0!==c){if((c=parseFloat(c))<0||c>1)return;e.push(c)}}return e},nt=function(t){return rt[t.toLowerCase()]},it=function(t){return(x(t)?t:null)||nt(t)||J(t)||et(t)||tt(t)},rt={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]},at=function(t){for(var e=t.map,n=t.keys,i=n.length,r=0;r<i;r++){var a=n[r];if(k(a))throw Error("Tried to set map with object key");r<n.length-1?(null==e[a]&&(e[a]={}),e=e[a]):e[a]=t.value}},ot=function(t){for(var e=t.map,n=t.keys,i=n.length,r=0;r<i;r++){var a=n[r];if(k(a))throw Error("Tried to get map with object key");if(null==(e=e[a]))return e}return e};function st(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var ct=st,ut="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function lt(t,e){return t(e={exports:{}},e.exports),e.exports}var ht="object"==typeof ut&&ut&&ut.Object===Object&&ut,ft="object"==typeof self&&self&&self.Object===Object&&self,dt=ht||ft||Function("return this")(),gt=function(){return dt.Date.now()},pt=/\s/;function bt(t){for(var e=t.length;e--&&pt.test(t.charAt(e)););return e}var wt=bt,mt=/^\s+/;function yt(t){return t?t.slice(0,wt(t)+1).replace(mt,""):t}var vt=yt,xt=dt.Symbol,kt=Object.prototype,_t=kt.hasOwnProperty,At=kt.toString,Et=xt?xt.toStringTag:void 0;function Tt(t){var e=_t.call(t,Et),n=t[Et];try{t[Et]=void 0;var i=!0}catch(t){}var r=At.call(t);return i&&(e?t[Et]=n:delete t[Et]),r}var Ct=Tt,St=Object.prototype.toString;function It(t){return St.call(t)}var Mt=It,Dt="[object Null]",Ot="[object Undefined]",Lt=xt?xt.toStringTag:void 0;function Nt(t){return null==t?void 0===t?Ot:Dt:Lt&&Lt in Object(t)?Ct(t):Mt(t)}var Pt=Nt;function Bt(t){return null!=t&&"object"==typeof t}var Ft=Bt,Rt="[object Symbol]";function jt(t){return"symbol"==typeof t||Ft(t)&&Pt(t)==Rt}var $t=jt,zt=NaN,qt=/^[-+]0x[0-9a-f]+$/i,Ht=/^0b[01]+$/i,Ut=/^0o[0-7]+$/i,Gt=parseInt;function Yt(t){if("number"==typeof t)return t;if($t(t))return zt;if(ct(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ct(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=vt(t);var n=Ht.test(t);return n||Ut.test(t)?Gt(t.slice(2),n?2:8):qt.test(t)?zt:+t}var Zt=Yt,Wt="Expected a function",Kt=Math.max,Xt=Math.min;function Vt(t,e,n){var i,r,a,o,s,c,u=0,l=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(Wt);function d(e){var n=i,a=r;return i=r=void 0,u=e,o=t.apply(a,n)}function g(t){return u=t,s=setTimeout(w,e),l?d(t):o}function p(t){var n=e-(t-c);return h?Xt(n,a-(t-u)):n}function b(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-u>=a}function w(){var t=gt();if(b(t))return m(t);s=setTimeout(w,p(t))}function m(t){return s=void 0,f&&i?d(t):(i=r=void 0,o)}function y(){void 0!==s&&clearTimeout(s),u=0,i=c=r=s=void 0}function v(){return void 0===s?o:m(gt())}function x(){var t=gt(),n=b(t);if(i=arguments,r=this,c=t,n){if(void 0===s)return g(c);if(h)return clearTimeout(s),s=setTimeout(w,e),d(c)}return void 0===s&&(s=setTimeout(w,e)),o}return e=Zt(e)||0,ct(n)&&(l=!!n.leading,a=(h="maxWait"in n)?Kt(Zt(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),x.cancel=y,x.flush=v,x}var Qt=Vt,Jt=f?f.performance:null,te=Jt&&Jt.now?function(){return Jt.now()}:function(){return Date.now()},ee=function(){if(f){if(f.requestAnimationFrame)return function(t){f.requestAnimationFrame(t)};if(f.mozRequestAnimationFrame)return function(t){f.mozRequestAnimationFrame(t)};if(f.webkitRequestAnimationFrame)return function(t){f.webkitRequestAnimationFrame(t)};if(f.msRequestAnimationFrame)return function(t){f.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout((function(){t(te())}),1e3/60)}}(),ne=function(t){return ee(t)},ie=te,re=9261,ae=65599,oe=5381,se=function(t){for(var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:re;!(e=t.next()).done;)n=n*ae+e.value|0;return n},ce=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:re)*ae+t|0},ue=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe;return(e<<5)+e+t|0},le=function(t,e){return 2097152*t+e},he=function(t){return 2097152*t[0]+t[1]},fe=function(t,e){return[ce(t[0],e[0]),ue(t[1],e[1])]},de=function(t,e){var n={value:0,done:!1},i=0,r=t.length;return se({next:function(){return i<r?n.value=t[i++]:n.done=!0,n}},e)},ge=function(t,e){var n={value:0,done:!1},i=0,r=t.length;return se({next:function(){return i<r?n.value=t.charCodeAt(i++):n.done=!0,n}},e)},pe=function(){return be(arguments)},be=function(t){for(var e,n=0;n<t.length;n++){var i=t[n];e=0===n?ge(i):ge(i,e)}return e},we=!0,me=null!=console.warn,ye=null!=console.trace,ve=Number.MAX_SAFE_INTEGER||9007199254740991,xe=function(){return!0},ke=function(){return!1},_e=function(){return 0},Ae=function(){},Ee=function(t){throw new Error(t)},Te=function(t){if(void 0===t)return we;we=!!t},Ce=function(t){Te()&&(me?console.warn(t):(console.log(t),ye&&console.trace()))},Se=function(t){return Q({},t)},Ie=function(t){return null==t?t:x(t)?t.slice():k(t)?Se(t):t},Me=function(t){return t.slice()},De=function(t,e){for(e=t="";t++<36;e+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-");return e},Oe={},Le=function(){return Oe},Ne=function(t){var e=Object.keys(t);return function(n){for(var i={},r=0;r<e.length;r++){var a=e[r],o=null==n?void 0:n[a];i[a]=void 0===o?t[a]:o}return i}},Pe=function(t,e,n){for(var i=t.length-1;i>=0&&(t[i]!==e||(t.splice(i,1),!n));i--);},Be=function(t){t.splice(0,t.length)},Fe=function(t,e){for(var n=0;n<e.length;n++){var i=e[n];t.push(i)}},Re=function(t,e,n){return n&&(e=z(n,e)),t[e]},je=function(t,e,n,i){n&&(e=z(n,e)),t[e]=i},$e=function(){function t(){e(this,t),this._obj={}}return r(t,[{key:"set",value:function(t,e){return this._obj[t]=e,this}},{key:"delete",value:function(t){return this._obj[t]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(t){return void 0!==this._obj[t]}},{key:"get",value:function(t){return this._obj[t]}}]),t}(),ze="undefined"!=typeof Map?Map:$e,qe="undefined",He=function(){function t(n){if(e(this,t),this._obj=Object.create(null),this.size=0,null!=n){var i;i=null!=n.instanceString&&n.instanceString()===this.instanceString()?n.toArray():n;for(var r=0;r<i.length;r++)this.add(i[r])}}return r(t,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(t){var e=this._obj;1!==e[t]&&(e[t]=1,this.size++)}},{key:"delete",value:function(t){var e=this._obj;1===e[t]&&(e[t]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(t){return 1===this._obj[t]}},{key:"toArray",value:function(){var t=this;return Object.keys(this._obj).filter((function(e){return t.has(e)}))}},{key:"forEach",value:function(t,e){return this.toArray().forEach(t,e)}}]),t}(),Ue=("undefined"==typeof Set?"undefined":t(Set))!==qe?Set:He,Ge=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==t&&void 0!==e&&M(t)){var i=e.group;if(null==i&&(i=e.data&&null!=e.data.source&&null!=e.data.target?"edges":"nodes"),"nodes"===i||"edges"===i){this.length=1,this[0]=this;var r=this._private={cy:t,single:!0,data:e.data||{},position:e.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:i,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!e.selected,selectable:void 0===e.selectable||!!e.selectable,locked:!!e.locked,grabbed:!1,grabbable:void 0===e.grabbable||!!e.grabbable,pannable:void 0===e.pannable?"edges"===i:!!e.pannable,active:!1,classes:new Ue,animation:{current:[],queue:[]},rscratch:{},scratch:e.scratch||{},edges:[],children:[],parent:e.parent&&e.parent.isNode()?e.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==r.position.x&&(r.position.x=0),null==r.position.y&&(r.position.y=0),e.renderedPosition){var a=e.renderedPosition,o=t.pan(),s=t.zoom();r.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var c=[];x(e.classes)?c=e.classes:y(e.classes)&&(c=e.classes.split(/\s+/));for(var u=0,l=c.length;u<l;u++){var h=c[u];h&&""!==h&&r.classes.add(h)}this.createEmitter();var f=e.style||e.css;f&&(Ce("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(f)),(void 0===n||n)&&this.restore()}else Ee("An element must be of type `nodes` or `edges`; you specified `"+i+"`")}else Ee("An element must have a core reference and parameters set")},Ye=function(t){return t={bfs:t.bfs||!t.dfs,dfs:t.dfs||!t.bfs},function(e,n,i){var r;k(e)&&!C(e)&&(e=(r=e).roots||r.root,n=r.visit,i=r.directed),i=2!==arguments.length||v(n)?i:n,n=v(n)?n:function(){};for(var a,o=this._private.cy,s=e=y(e)?this.filter(e):e,c=[],u=[],l={},h={},f={},d=0,g=this.byGroup(),p=g.nodes,b=g.edges,w=0;w<s.length;w++){var m=s[w],x=m.id();m.isNode()&&(c.unshift(m),t.bfs&&(f[x]=!0,u.push(m)),h[x]=0)}for(var _=function(){var e=t.bfs?c.shift():c.pop(),r=e.id();if(t.dfs){if(f[r])return"continue";f[r]=!0,u.push(e)}var o=h[r],s=l[r],g=null!=s?s.source():null,w=null!=s?s.target():null,m=null==s?void 0:e.same(g)?w[0]:g[0],y=void 0;if(!0===(y=n(e,s,m,d++,o)))return a=e,"break";if(!1===y)return"break";for(var v=e.connectedEdges().filter((function(t){return(!i||t.source().same(e))&&b.has(t)})),x=0;x<v.length;x++){var k=v[x],_=k.connectedNodes().filter((function(t){return!t.same(e)&&p.has(t)})),A=_.id();0===_.length||f[A]||(_=_[0],c.push(_),t.bfs&&(f[A]=!0,u.push(_)),l[A]=k,h[A]=h[r]+1)}};0!==c.length;){var A=_();if("continue"!==A&&"break"===A)break}for(var E=o.collection(),T=0;T<u.length;T++){var S=u[T],I=l[S.id()];null!=I&&E.push(I),E.push(S)}return{path:o.collection(E),found:o.collection(a)}}},Ze={breadthFirstSearch:Ye({bfs:!0}),depthFirstSearch:Ye({dfs:!0})};Ze.bfs=Ze.breadthFirstSearch,Ze.dfs=Ze.depthFirstSearch;var We=lt((function(t,e){(function(){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;i=Math.floor,l=Math.min,n=function(t,e){return t<e?-1:t>e?1:0},u=function(t,e,r,a,o){var s;if(null==r&&(r=0),null==o&&(o=n),r<0)throw new Error("lo must be non-negative");for(null==a&&(a=t.length);r<a;)o(e,t[s=i((r+a)/2)])<0?a=s:r=s+1;return[].splice.apply(t,[r,r-r].concat(e)),e},o=function(t,e,i){return null==i&&(i=n),t.push(e),g(t,0,t.length-1,i)},a=function(t,e){var i,r;return null==e&&(e=n),i=t.pop(),t.length?(r=t[0],t[0]=i,p(t,0,e)):r=i,r},c=function(t,e,i){var r;return null==i&&(i=n),r=t[0],t[0]=e,p(t,0,i),r},s=function(t,e,i){var r;return null==i&&(i=n),t.length&&i(t[0],e)<0&&(e=(r=[t[0],e])[0],t[0]=r[1],p(t,0,i)),e},r=function(t,e){var r,a,o,s,c,u;for(null==e&&(e=n),c=[],a=0,o=(s=function(){u=[];for(var e=0,n=i(t.length/2);0<=n?e<n:e>n;0<=n?e++:e--)u.push(e);return u}.apply(this).reverse()).length;a<o;a++)r=s[a],c.push(p(t,r,e));return c},d=function(t,e,i){var r;if(null==i&&(i=n),-1!==(r=t.indexOf(e)))return g(t,0,r,i),p(t,r,i)},h=function(t,e,i){var a,o,c,u,l;if(null==i&&(i=n),!(o=t.slice(0,e)).length)return o;for(r(o,i),c=0,u=(l=t.slice(e)).length;c<u;c++)a=l[c],s(o,a,i);return o.sort(i).reverse()},f=function(t,e,i){var o,s,c,h,f,d,g,p,b;if(null==i&&(i=n),10*e<=t.length){if(!(c=t.slice(0,e).sort(i)).length)return c;for(s=c[c.length-1],h=0,d=(g=t.slice(e)).length;h<d;h++)i(o=g[h],s)<0&&(u(c,o,0,null,i),c.pop(),s=c[c.length-1]);return c}for(r(t,i),b=[],f=0,p=l(e,t.length);0<=p?f<p:f>p;0<=p?++f:--f)b.push(a(t,i));return b},g=function(t,e,i,r){var a,o,s;for(null==r&&(r=n),a=t[i];i>e&&r(a,o=t[s=i-1>>1])<0;)t[i]=o,i=s;return t[i]=a},p=function(t,e,i){var r,a,o,s,c;for(null==i&&(i=n),a=t.length,c=e,o=t[e],r=2*e+1;r<a;)(s=r+1)<a&&!(i(t[r],t[s])<0)&&(r=s),t[e]=t[r],r=2*(e=r)+1;return t[e]=o,g(t,c,e,i)},e=function(){function t(t){this.cmp=null!=t?t:n,this.nodes=[]}return t.push=o,t.pop=a,t.replace=c,t.pushpop=s,t.heapify=r,t.updateItem=d,t.nlargest=h,t.nsmallest=f,t.prototype.push=function(t){return o(this.nodes,t,this.cmp)},t.prototype.pop=function(){return a(this.nodes,this.cmp)},t.prototype.peek=function(){return this.nodes[0]},t.prototype.contains=function(t){return-1!==this.nodes.indexOf(t)},t.prototype.replace=function(t){return c(this.nodes,t,this.cmp)},t.prototype.pushpop=function(t){return s(this.nodes,t,this.cmp)},t.prototype.heapify=function(){return r(this.nodes,this.cmp)},t.prototype.updateItem=function(t){return d(this.nodes,t,this.cmp)},t.prototype.clear=function(){return this.nodes=[]},t.prototype.empty=function(){return 0===this.nodes.length},t.prototype.size=function(){return this.nodes.length},t.prototype.clone=function(){var e;return(e=new t).nodes=this.nodes.slice(0),e},t.prototype.toArray=function(){return this.nodes.slice(0)},t.prototype.insert=t.prototype.push,t.prototype.top=t.prototype.peek,t.prototype.front=t.prototype.peek,t.prototype.has=t.prototype.contains,t.prototype.copy=t.prototype.clone,t}(),function(e,n){t.exports=n()}(0,(function(){return e}))}).call(ut)})),Ke=We,Xe=Ne({root:null,weight:function(t){return 1},directed:!1}),Ve={dijkstra:function(t){if(!k(t)){var e=arguments;t={root:e[0],weight:e[1],directed:e[2]}}var n=Xe(t),i=n.root,r=n.weight,a=n.directed,o=this,s=r,c=y(i)?this.filter(i)[0]:i[0],u={},l={},h={},f=this.byGroup(),d=f.nodes,g=f.edges;g.unmergeBy((function(t){return t.isLoop()}));for(var p=function(t){return u[t.id()]},b=function(t,e){u[t.id()]=e,w.updateItem(t)},w=new Ke((function(t,e){return p(t)-p(e)})),m=0;m<d.length;m++){var v=d[m];u[v.id()]=v.same(c)?0:1/0,w.push(v)}for(var x=function(t,e){for(var n,i=(a?t.edgesTo(e):t.edgesWith(e)).intersect(g),r=1/0,o=0;o<i.length;o++){var c=i[o],u=s(c);(u<r||!n)&&(r=u,n=c)}return{edge:n,dist:r}};w.size()>0;){var _=w.pop(),A=p(_),E=_.id();if(h[E]=A,A!==1/0)for(var T=_.neighborhood().intersect(d),C=0;C<T.length;C++){var S=T[C],I=S.id(),M=x(_,S),D=A+M.dist;D<p(S)&&(b(S,D),l[I]={node:_,edge:M.edge})}}return{distanceTo:function(t){var e=y(t)?d.filter(t)[0]:t[0];return h[e.id()]},pathTo:function(t){var e=y(t)?d.filter(t)[0]:t[0],n=[],i=e,r=i.id();if(e.length>0)for(n.unshift(e);l[r];){var a=l[r];n.unshift(a.edge),n.unshift(a.node),r=(i=a.node).id()}return o.spawn(n)}}}},Qe={kruskal:function(t){t=t||function(t){return 1};for(var e=this.byGroup(),n=e.nodes,i=e.edges,r=n.length,a=new Array(r),o=n,s=function(t){for(var e=0;e<a.length;e++)if(a[e].has(t))return e},c=0;c<r;c++)a[c]=this.spawn(n[c]);for(var u=i.sort((function(e,n){return t(e)-t(n)})),l=0;l<u.length;l++){var h=u[l],f=h.source()[0],d=h.target()[0],g=s(f),p=s(d),b=a[g],w=a[p];g!==p&&(o.merge(h),b.merge(w),a.splice(p,1))}return o}},Je=Ne({root:null,goal:null,weight:function(t){return 1},heuristic:function(t){return 0},directed:!1}),tn={aStar:function(t){var e=this.cy(),n=Je(t),i=n.root,r=n.goal,a=n.heuristic,o=n.directed,s=n.weight;i=e.collection(i)[0],r=e.collection(r)[0];var c,u,l=i.id(),h=r.id(),f={},d={},g={},p=new Ke((function(t,e){return d[t.id()]-d[e.id()]})),b=new Ue,w={},m={},y=function(t,e){p.push(t),b.add(e)},v=function(){c=p.pop(),u=c.id(),b.delete(u)},x=function(t){return b.has(t)};y(i,l),f[l]=0,d[l]=a(i);for(var k=0;p.size()>0;){if(v(),k++,u===h){for(var _=[],A=r,E=h,T=m[E];_.unshift(A),null!=T&&_.unshift(T),null!=(A=w[E]);)T=m[E=A.id()];return{found:!0,distance:f[u],path:this.spawn(_),steps:k}}g[u]=!0;for(var C=c._private.edges,S=0;S<C.length;S++){var I=C[S];if(this.hasElementWithId(I.id())&&(!o||I.data("source")===u)){var M=I.source(),D=I.target(),O=M.id()!==u?M:D,L=O.id();if(this.hasElementWithId(L)&&!g[L]){var N=f[u]+s(I);x(L)?N<f[L]&&(f[L]=N,d[L]=N+a(O),w[L]=c,m[L]=I):(f[L]=N,d[L]=N+a(O),y(O,L),w[L]=c,m[L]=I)}}}}return{found:!1,distance:void 0,path:void 0,steps:k}}},en=Ne({weight:function(t){return 1},directed:!1}),nn={floydWarshall:function(t){for(var e=this.cy(),n=en(t),i=n.weight,r=n.directed,a=i,o=this.byGroup(),s=o.nodes,c=o.edges,u=s.length,l=u*u,h=function(t){return s.indexOf(t)},f=function(t){return s[t]},d=new Array(l),g=0;g<l;g++){var p=g%u,b=(g-p)/u;d[g]=b===p?0:1/0}for(var w=new Array(l),m=new Array(l),v=0;v<c.length;v++){var x=c[v],k=x.source()[0],_=x.target()[0];if(k!==_){var A=h(k),E=h(_),T=A*u+E,C=a(x);if(d[T]>C&&(d[T]=C,w[T]=E,m[T]=x),!r){var S=E*u+A;!r&&d[S]>C&&(d[S]=C,w[S]=A,m[S]=x)}}}for(var I=0;I<u;I++)for(var M=0;M<u;M++)for(var D=M*u+I,O=0;O<u;O++){var L=M*u+O,N=I*u+O;d[D]+d[N]<d[L]&&(d[L]=d[D]+d[N],w[L]=w[D])}var P=function(t){return(y(t)?e.filter(t):t)[0]},B=function(t){return h(P(t))},F={distance:function(t,e){var n=B(t),i=B(e);return d[n*u+i]},path:function(t,n){var i=B(t),r=B(n),a=f(i);if(i===r)return a.collection();if(null==w[i*u+r])return e.collection();var o,s=e.collection(),c=i;for(s.merge(a);i!==r;)c=i,i=w[i*u+r],o=m[c*u+i],s.merge(o),s.merge(f(i));return s}};return F}},rn=Ne({weight:function(t){return 1},directed:!1,root:null}),an={bellmanFord:function(t){var e=this,n=rn(t),i=n.weight,r=n.directed,a=n.root,o=i,s=this,c=this.cy(),u=this.byGroup(),l=u.edges,h=u.nodes,f=h.length,d=new ze,g=!1,p=[];a=c.collection(a)[0],l.unmergeBy((function(t){return t.isLoop()}));for(var b=l.length,w=function(t){var e=d.get(t.id());return e||(e={},d.set(t.id(),e)),e},m=function(t){return(y(t)?c.$(t):t)[0]},v=function(t){return w(m(t)).dist},x=function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,i=[],r=m(t);;){if(null==r)return e.spawn();var o=w(r),c=o.edge,u=o.pred;if(i.unshift(r[0]),r.same(n)&&i.length>0)break;null!=c&&i.unshift(c),r=u}return s.spawn(i)},k=0;k<f;k++){var _=h[k],A=w(_);_.same(a)?A.dist=0:A.dist=1/0,A.pred=null,A.edge=null}for(var E=!1,T=function(t,e,n,i,r,a){var o=i.dist+a;o<r.dist&&!n.same(i.edge)&&(r.dist=o,r.pred=t,r.edge=n,E=!0)},C=1;C<f;C++){E=!1;for(var S=0;S<b;S++){var I=l[S],M=I.source(),D=I.target(),O=o(I),L=w(M),N=w(D);T(M,D,I,L,N,O),r||T(D,M,I,N,L,O)}if(!E)break}if(E)for(var P=[],B=0;B<b;B++){var F=l[B],R=F.source(),j=F.target(),$=o(F),z=w(R).dist,q=w(j).dist;if(z+$<q||!r&&q+$<z){if(g||(Ce("Graph contains a negative weight cycle for Bellman-Ford"),g=!0),!1===t.findNegativeWeightCycles)break;var H=[];z+$<q&&H.push(R),!r&&q+$<z&&H.push(j);for(var U=H.length,G=0;G<U;G++){var Y=H[G],Z=[Y];Z.push(w(Y).edge);for(var W=w(Y).pred;-1===Z.indexOf(W);)Z.push(W),Z.push(w(W).edge),W=w(W).pred;for(var K=(Z=Z.slice(Z.indexOf(W)))[0].id(),X=0,V=2;V<Z.length;V+=2)Z[V].id()<K&&(K=Z[V].id(),X=V);(Z=Z.slice(X).concat(Z.slice(0,X))).push(Z[0]);var Q=Z.map((function(t){return t.id()})).join(",");-1===P.indexOf(Q)&&(p.push(s.spawn(Z)),P.push(Q))}}}return{distanceTo:v,pathTo:x,hasNegativeWeightCycle:g,negativeWeightCycles:p}}},on=Math.sqrt(2),sn=function(t,e,n){0===n.length&&Ee("Karger-Stein must be run on a connected (sub)graph");for(var i=n[t],r=i[1],a=i[2],o=e[r],s=e[a],c=n,u=c.length-1;u>=0;u--){var l=c[u],h=l[1],f=l[2];(e[h]===o&&e[f]===s||e[h]===s&&e[f]===o)&&c.splice(u,1)}for(var d=0;d<c.length;d++){var g=c[d];g[1]===s?(c[d]=g.slice(),c[d][1]=o):g[2]===s&&(c[d]=g.slice(),c[d][2]=o)}for(var p=0;p<e.length;p++)e[p]===s&&(e[p]=o);return c},cn=function(t,e,n,i){for(;n>i;){var r=Math.floor(Math.random()*e.length);e=sn(r,t,e),n--}return e},un={kargerStein:function(){var t=this,e=this.byGroup(),n=e.nodes,i=e.edges;i.unmergeBy((function(t){return t.isLoop()}));var r=n.length,a=i.length,o=Math.ceil(Math.pow(Math.log(r)/Math.LN2,2)),s=Math.floor(r/on);if(!(r<2)){for(var c=[],u=0;u<a;u++){var l=i[u];c.push([u,n.indexOf(l.source()),n.indexOf(l.target())])}for(var h=1/0,f=[],d=new Array(r),g=new Array(r),p=new Array(r),b=function(t,e){for(var n=0;n<r;n++)e[n]=t[n]},w=0;w<=o;w++){for(var m=0;m<r;m++)g[m]=m;var y=cn(g,c.slice(),r,s),v=y.slice();b(g,p);var x=cn(g,y,s,2),k=cn(p,v,s,2);x.length<=k.length&&x.length<h?(h=x.length,f=x,b(g,d)):k.length<=x.length&&k.length<h&&(h=k.length,f=k,b(p,d))}for(var _=this.spawn(f.map((function(t){return i[t[0]]}))),A=this.spawn(),E=this.spawn(),T=d[0],C=0;C<d.length;C++){var S=d[C],I=n[C];S===T?A.merge(I):E.merge(I)}var M=function(e){var n=t.spawn();return e.forEach((function(e){n.merge(e),e.connectedEdges().forEach((function(e){t.contains(e)&&!_.contains(e)&&n.merge(e)}))})),n},D=[M(A),M(E)];return{cut:_,components:D,partition1:A,partition2:E}}Ee("At least 2 nodes are required for Karger-Stein algorithm")}},ln=function(t){return{x:t.x,y:t.y}},hn=function(t,e,n){return{x:t.x*e+n.x,y:t.y*e+n.y}},fn=function(t,e,n){return{x:(t.x-n.x)/e,y:(t.y-n.y)/e}},dn=function(t){return{x:t[0],y:t[1]}},gn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=1/0,r=e;r<n;r++){var a=t[r];isFinite(a)&&(i=Math.min(a,i))}return i},pn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=-1/0,r=e;r<n;r++){var a=t[r];isFinite(a)&&(i=Math.max(a,i))}return i},bn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=0,r=0,a=e;a<n;a++){var o=t[a];isFinite(o)&&(i+=o,r++)}return i/r},wn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n<t.length&&t.splice(n,t.length-n),e>0&&t.splice(0,e)):t=t.slice(e,n);for(var a=0,o=t.length-1;o>=0;o--){var s=t[o];r?isFinite(s)||(t[o]=-1/0,a++):t.splice(o,1)}i&&t.sort((function(t,e){return t-e}));var c=t.length,u=Math.floor(c/2);return c%2!=0?t[u+1+a]:(t[u-1+a]+t[u+a])/2},mn=function(t){return Math.PI*t/180},yn=function(t,e){return Math.atan2(e,t)-Math.PI/2},vn=Math.log2||function(t){return Math.log(t)/Math.log(2)},xn=function(t){return t>0?1:t<0?-1:0},kn=function(t,e){return Math.sqrt(_n(t,e))},_n=function(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i},An=function(t){for(var e=t.length,n=0,i=0;i<e;i++)n+=t[i];for(var r=0;r<e;r++)t[r]=t[r]/n;return t},En=function(t,e,n,i){return(1-i)*(1-i)*t+2*(1-i)*i*e+i*i*n},Tn=function(t,e,n,i){return{x:En(t.x,e.x,n.x,i),y:En(t.y,e.y,n.y,i)}},Cn=function(t,e,n,i){var r={x:e.x-t.x,y:e.y-t.y},a=kn(t,e),o={x:r.x/a,y:r.y/a};return n=null==n?0:n,i=null!=i?i:n*a,{x:t.x+o.x*i,y:t.y+o.y*i}},Sn=function(t,e,n){return Math.max(t,Math.min(n,e))},In=function(t){if(null==t)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(null!=t.x1&&null!=t.y1){if(null!=t.x2&&null!=t.y2&&t.x2>=t.x1&&t.y2>=t.y1)return{x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,w:t.x2-t.x1,h:t.y2-t.y1};if(null!=t.w&&null!=t.h&&t.w>=0&&t.h>=0)return{x1:t.x1,y1:t.y1,x2:t.x1+t.w,y2:t.y1+t.h,w:t.w,h:t.h}}},Mn=function(t){return{x1:t.x1,x2:t.x2,w:t.w,y1:t.y1,y2:t.y2,h:t.h}},Dn=function(t){t.x1=1/0,t.y1=1/0,t.x2=-1/0,t.y2=-1/0,t.w=0,t.h=0},On=function(t,e){t.x1=Math.min(t.x1,e.x1),t.x2=Math.max(t.x2,e.x2),t.w=t.x2-t.x1,t.y1=Math.min(t.y1,e.y1),t.y2=Math.max(t.y2,e.y2),t.h=t.y2-t.y1},Ln=function(t,e,n){t.x1=Math.min(t.x1,e),t.x2=Math.max(t.x2,e),t.w=t.x2-t.x1,t.y1=Math.min(t.y1,n),t.y2=Math.max(t.y2,n),t.h=t.y2-t.y1},Nn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.x1-=e,t.x2+=e,t.y1-=e,t.y2+=e,t.w=t.x2-t.x1,t.h=t.y2-t.y1,t},Pn=function(t){var e,n,i,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)e=n=i=r=a[0];else if(2===a.length)e=i=a[0],r=n=a[1];else if(4===a.length){var s=o(a,4);e=s[0],n=s[1],i=s[2],r=s[3]}return t.x1-=r,t.x2+=n,t.y1-=e,t.y2+=i,t.w=t.x2-t.x1,t.h=t.y2-t.y1,t},Bn=function(t,e){t.x1=e.x1,t.y1=e.y1,t.x2=e.x2,t.y2=e.y2,t.w=t.x2-t.x1,t.h=t.y2-t.y1},Fn=function(t,e){return!(t.x1>e.x2||e.x1>t.x2||t.x2<e.x1||e.x2<t.x1||t.y2<e.y1||e.y2<t.y1||t.y1>e.y2||e.y1>t.y2)},Rn=function(t,e,n){return t.x1<=e&&e<=t.x2&&t.y1<=n&&n<=t.y2},jn=function(t,e){return Rn(t,e.x,e.y)},$n=function(t,e){return Rn(t,e.x1,e.y1)&&Rn(t,e.x2,e.y2)},zn=function(t,e,n,i,r,a,o){var s,c=li(r,a),u=r/2,l=a/2,h=i-l-o;if((s=ii(t,e,n,i,n-u+c-o,h,n+u-c+o,h,!1)).length>0)return s;var f=n+u+o;if((s=ii(t,e,n,i,f,i-l+c-o,f,i+l-c+o,!1)).length>0)return s;var d=i+l+o;if((s=ii(t,e,n,i,n-u+c-o,d,n+u-c+o,d,!1)).length>0)return s;var g,p=n-u-o;if((s=ii(t,e,n,i,p,i-l+c-o,p,i+l-c+o,!1)).length>0)return s;var b=n-u+c,w=i-l+c;if((g=ei(t,e,n,i,b,w,c+o)).length>0&&g[0]<=b&&g[1]<=w)return[g[0],g[1]];var m=n+u-c,y=i-l+c;if((g=ei(t,e,n,i,m,y,c+o)).length>0&&g[0]>=m&&g[1]<=y)return[g[0],g[1]];var v=n+u-c,x=i+l-c;if((g=ei(t,e,n,i,v,x,c+o)).length>0&&g[0]>=v&&g[1]>=x)return[g[0],g[1]];var k=n-u+c,_=i+l-c;return(g=ei(t,e,n,i,k,_,c+o)).length>0&&g[0]<=k&&g[1]>=_?[g[0],g[1]]:[]},qn=function(t,e,n,i,r,a,o){var s=o,c=Math.min(n,r),u=Math.max(n,r),l=Math.min(i,a),h=Math.max(i,a);return c-s<=t&&t<=u+s&&l-s<=e&&e<=h+s},Hn=function(t,e,n,i,r,a,o,s,c){var u={x1:Math.min(n,o,r)-c,x2:Math.max(n,o,r)+c,y1:Math.min(i,s,a)-c,y2:Math.max(i,s,a)+c};return!(t<u.x1||t>u.x2||e<u.y1||e>u.y2)},Un=function(t,e,n,i){var r=e*e-4*t*(n-=i);if(r<0)return[];var a=Math.sqrt(r),o=2*t;return[(-e+a)/o,(-e-a)/o]},Gn=function(t,e,n,i,r){var a,o,s,c,u,l,h,f;return 0===t&&(t=1e-5),s=-27*(i/=t)+(e/=t)*(9*(n/=t)-e*e*2),a=(o=(3*n-e*e)/9)*o*o+(s/=54)*s,r[1]=0,h=e/3,a>0?(u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),l=(l=s-Math.sqrt(a))<0?-Math.pow(-l,1/3):Math.pow(l,1/3),r[0]=-h+u+l,h+=(u+l)/2,r[4]=r[2]=-h,h=Math.sqrt(3)*(-l+u)/2,r[3]=h,void(r[5]=-h)):(r[5]=r[3]=0,0===a?(f=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),r[0]=2*f-h,void(r[4]=r[2]=-(f+h))):(c=(o=-o)*o*o,c=Math.acos(s/Math.sqrt(c)),f=2*Math.sqrt(o),r[0]=-h+f*Math.cos(c/3),r[2]=-h+f*Math.cos((c+2*Math.PI)/3),void(r[4]=-h+f*Math.cos((c+4*Math.PI)/3))))},Yn=function(t,e,n,i,r,a,o,s){var c=[];Gn(1*n*n-4*n*r+2*n*o+4*r*r-4*r*o+o*o+i*i-4*i*a+2*i*s+4*a*a-4*a*s+s*s,9*n*r-3*n*n-3*n*o-6*r*r+3*r*o+9*i*a-3*i*i-3*i*s-6*a*a+3*a*s,3*n*n-6*n*r+n*o-n*t+2*r*r+2*r*t-o*t+3*i*i-6*i*a+i*s-i*e+2*a*a+2*a*e-s*e,1*n*r-n*n+n*t-r*t+i*a-i*i+i*e-a*e,c);for(var u=1e-7,l=[],h=0;h<6;h+=2)Math.abs(c[h+1])<u&&c[h]>=0&&c[h]<=1&&l.push(c[h]);l.push(1),l.push(0);for(var f,d,g,p=-1,b=0;b<l.length;b++)f=Math.pow(1-l[b],2)*n+2*(1-l[b])*l[b]*r+l[b]*l[b]*o,d=Math.pow(1-l[b],2)*i+2*(1-l[b])*l[b]*a+l[b]*l[b]*s,g=Math.pow(f-t,2)+Math.pow(d-e,2),p>=0?g<p&&(p=g):p=g;return p},Zn=function(t,e,n,i,r,a){var o=[t-n,e-i],s=[r-n,a-i],c=s[0]*s[0]+s[1]*s[1],u=o[0]*o[0]+o[1]*o[1],l=o[0]*s[0]+o[1]*s[1],h=l*l/c;return l<0?u:h>c?(t-r)*(t-r)+(e-a)*(e-a):u-h},Wn=function(t,e,n){for(var i,r,a,o,s=0,c=0;c<n.length/2;c++)if(i=n[2*c],r=n[2*c+1],c+1<n.length/2?(a=n[2*(c+1)],o=n[2*(c+1)+1]):(a=n[2*(c+1-n.length/2)],o=n[2*(c+1-n.length/2)+1]),i==t&&a==t);else{if(!(i>=t&&t>=a||i<=t&&t<=a))continue;(t-i)/(a-i)*(o-r)+r>e&&s++}return s%2!=0},Kn=function(t,e,n,i,r,a,o,s,c){var u,l=new 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,f=Math.cos(-u),d=Math.sin(-u),g=0;g<l.length/2;g++)l[2*g]=a/2*(n[2*g]*f-n[2*g+1]*d),l[2*g+1]=o/2*(n[2*g+1]*f+n[2*g]*d),l[2*g]+=i,l[2*g+1]+=r;if(c>0){var p=Qn(l,-c);h=Vn(p)}else h=l;return Wn(t,e,h)},Xn=function(t,e,n,i,r,a,o){for(var s=new Array(n.length),c=a/2,u=o/2,l=hi(a,o),h=l*l,f=0;f<n.length/4;f++){var d=void 0,g=void 0;d=0===f?n.length-2:4*f-2,g=4*f+2;var p=i+c*n[4*f],b=r+u*n[4*f+1],w=-n[d]*n[g]-n[d+1]*n[g+1],m=l/Math.tan(Math.acos(w)/2),y=p-m*n[d],v=b-m*n[d+1],x=p+m*n[g],k=b+m*n[g+1];s[4*f]=y,s[4*f+1]=v,s[4*f+2]=x,s[4*f+3]=k;var _=n[d+1],A=-n[d];_*n[g]+A*n[g+1]<0&&(_*=-1,A*=-1);var E=y+_*l,T=v+A*l;if(Math.pow(E-t,2)+Math.pow(T-e,2)<=h)return!0}return Wn(t,e,s)},Vn=function(t){for(var e,n,i,r,a,o,s,c,u=new Array(t.length/2),l=0;l<t.length/4;l++){e=t[4*l],n=t[4*l+1],i=t[4*l+2],r=t[4*l+3],l<t.length/4-1?(a=t[4*(l+1)],o=t[4*(l+1)+1],s=t[4*(l+1)+2],c=t[4*(l+1)+3]):(a=t[0],o=t[1],s=t[2],c=t[3]);var h=ii(e,n,i,r,a,o,s,c,!0);u[2*l]=h[0],u[2*l+1]=h[1]}return u},Qn=function(t,e){for(var n,i,r,a,o=new Array(2*t.length),s=0;s<t.length/2;s++){n=t[2*s],i=t[2*s+1],s<t.length/2-1?(r=t[2*(s+1)],a=t[2*(s+1)+1]):(r=t[0],a=t[1]);var c=a-i,u=-(r-n),l=Math.sqrt(c*c+u*u),h=c/l,f=u/l;o[4*s]=n+h*e,o[4*s+1]=i+f*e,o[4*s+2]=r+h*e,o[4*s+3]=a+f*e}return o},Jn=function(t,e,n,i,r,a){var o=n-t,s=i-e;o/=r,s/=a;var c=Math.sqrt(o*o+s*s),u=c-1;if(u<0)return[];var l=u/c;return[(n-t)*l+t,(i-e)*l+e]},ti=function(t,e,n,i,r,a,o){return t-=r,e-=a,(t/=n/2+o)*t+(e/=i/2+o)*e<=1},ei=function(t,e,n,i,r,a,o){var s=[n-t,i-e],c=[t-r,e-a],u=s[0]*s[0]+s[1]*s[1],l=2*(c[0]*s[0]+c[1]*s[1]),h=l*l-4*u*(c[0]*c[0]+c[1]*c[1]-o*o);if(h<0)return[];var f=(-l+Math.sqrt(h))/(2*u),d=(-l-Math.sqrt(h))/(2*u),g=Math.min(f,d),p=Math.max(f,d),b=[];if(g>=0&&g<=1&&b.push(g),p>=0&&p<=1&&b.push(p),0===b.length)return[];var w=b[0]*s[0]+t,m=b[0]*s[1]+e;return b.length>1?b[0]==b[1]?[w,m]:[w,m,b[1]*s[0]+t,b[1]*s[1]+e]:[w,m]},ni=function(t,e,n){return e<=t&&t<=n||n<=t&&t<=e?t:t<=e&&e<=n||n<=e&&e<=t?e:n},ii=function(t,e,n,i,r,a,o,s,c){var u=t-r,l=n-t,h=o-r,f=e-a,d=i-e,g=s-a,p=h*f-g*u,b=l*f-d*u,w=g*l-h*d;if(0!==w){var m=p/w,y=b/w,v=.001,x=0-v,k=1+v;return x<=m&&m<=k&&x<=y&&y<=k||c?[t+m*l,e+m*d]:[]}return 0===p||0===b?ni(t,n,o)===o?[o,s]:ni(t,n,r)===r?[r,a]:ni(r,o,n)===n?[n,i]:[]:[]},ri=function(t,e,n,i,r,a,o,s){var c,u,l,h,f,d,g=[],p=new Array(n.length),b=!0;if(null==a&&(b=!1),b){for(var w=0;w<p.length/2;w++)p[2*w]=n[2*w]*a+i,p[2*w+1]=n[2*w+1]*o+r;if(s>0){var m=Qn(p,-s);u=Vn(m)}else u=p}else u=n;for(var y=0;y<u.length/2;y++)l=u[2*y],h=u[2*y+1],y<u.length/2-1?(f=u[2*(y+1)],d=u[2*(y+1)+1]):(f=u[0],d=u[1]),0!==(c=ii(t,e,i,r,l,h,f,d)).length&&g.push(c[0],c[1]);return g},ai=function(t,e,n,i,r,a,o,s){for(var c,u=[],l=new Array(n.length),h=a/2,f=o/2,d=hi(a,o),g=0;g<n.length/4;g++){var p=void 0,b=void 0;p=0===g?n.length-2:4*g-2,b=4*g+2;var w=i+h*n[4*g],m=r+f*n[4*g+1],y=-n[p]*n[b]-n[p+1]*n[b+1],v=d/Math.tan(Math.acos(y)/2),x=w-v*n[p],k=m-v*n[p+1],_=w+v*n[b],A=m+v*n[b+1];0===g?(l[n.length-2]=x,l[n.length-1]=k):(l[4*g-2]=x,l[4*g-1]=k),l[4*g]=_,l[4*g+1]=A;var E=n[p+1],T=-n[p];E*n[b]+T*n[b+1]<0&&(E*=-1,T*=-1),0!==(c=ei(t,e,i,r,x+E*d,k+T*d,d)).length&&u.push(c[0],c[1])}for(var C=0;C<l.length/4;C++)0!==(c=ii(t,e,i,r,l[4*C],l[4*C+1],l[4*C+2],l[4*C+3],!1)).length&&u.push(c[0],c[1]);if(u.length>2){for(var S=[u[0],u[1]],I=Math.pow(S[0]-t,2)+Math.pow(S[1]-e,2),M=1;M<u.length/2;M++){var D=Math.pow(u[2*M]-t,2)+Math.pow(u[2*M+1]-e,2);D<=I&&(S[0]=u[2*M],S[1]=u[2*M+1],I=D)}return S}return u},oi=function(t,e,n){var i=[t[0]-e[0],t[1]-e[1]],r=Math.sqrt(i[0]*i[0]+i[1]*i[1]),a=(r-n)/r;return a<0&&(a=1e-5),[e[0]+a*i[0],e[1]+a*i[1]]},si=function(t,e){var n=ui(t,e);return n=ci(n)},ci=function(t){for(var e,n,i=t.length/2,r=1/0,a=1/0,o=-1/0,s=-1/0,c=0;c<i;c++)e=t[2*c],n=t[2*c+1],r=Math.min(r,e),o=Math.max(o,e),a=Math.min(a,n),s=Math.max(s,n);for(var u=2/(o-r),l=2/(s-a),h=0;h<i;h++)e=t[2*h]=t[2*h]*u,n=t[2*h+1]=t[2*h+1]*l,r=Math.min(r,e),o=Math.max(o,e),a=Math.min(a,n),s=Math.max(s,n);if(a<-1)for(var f=0;f<i;f++)n=t[2*f+1]=t[2*f+1]+(-1-a);return t},ui=function(t,e){var n=1/t*2*Math.PI,i=t%2==0?Math.PI/2+n/2:Math.PI/2;i+=e;for(var r,a=new Array(2*t),o=0;o<t;o++)r=o*n+i,a[2*o]=Math.cos(r),a[2*o+1]=Math.sin(-r);return a},li=function(t,e){return Math.min(t/4,e/4,8)},hi=function(t,e){return Math.min(t/10,e/10,8)},fi=function(){return 8},di=function(t,e,n){return[t-2*e+n,2*(e-t),t]},gi=function(t,e){return{heightOffset:Math.min(15,.05*e),widthOffset:Math.min(100,.25*t),ctrlPtOffsetPct:.05}},pi=Ne({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(t){return 1}}),bi={pageRank:function(t){for(var e=pi(t),n=e.dampingFactor,i=e.precision,r=e.iterations,a=e.weight,o=this._private.cy,s=this.byGroup(),c=s.nodes,u=s.edges,l=c.length,h=l*l,f=u.length,d=new Array(h),g=new Array(l),p=(1-n)/l,b=0;b<l;b++){for(var w=0;w<l;w++)d[b*l+w]=0;g[b]=0}for(var m=0;m<f;m++){var y=u[m],v=y.data("source"),x=y.data("target");if(v!==x){var k=c.indexOfId(v),_=c.indexOfId(x),A=a(y);d[_*l+k]+=A,g[k]+=A}}for(var E=1/l+p,T=0;T<l;T++)if(0===g[T])for(var C=0;C<l;C++)d[C*l+T]=E;else for(var S=0;S<l;S++){var I=S*l+T;d[I]=d[I]/g[T]+p}for(var M,D=new Array(l),O=new Array(l),L=0;L<l;L++)D[L]=1;for(var N=0;N<r;N++){for(var P=0;P<l;P++)O[P]=0;for(var B=0;B<l;B++)for(var F=0;F<l;F++){var R=B*l+F;O[B]+=d[R]*D[F]}An(O),M=D,D=O,O=M;for(var j=0,$=0;$<l;$++){var z=M[$]-D[$];j+=z*z}if(j<i)break}return{rank:function(t){return t=o.collection(t)[0],D[c.indexOf(t)]}}}},wi=Ne({root:null,weight:function(t){return 1},directed:!1,alpha:0}),mi={degreeCentralityNormalized:function(t){t=wi(t);var e=this.cy(),n=this.nodes(),i=n.length;if(t.directed){for(var r={},a={},o=0,s=0,c=0;c<i;c++){var u=n[c],l=u.id();t.root=u;var h=this.degreeCentrality(t);o<h.indegree&&(o=h.indegree),s<h.outdegree&&(s=h.outdegree),r[l]=h.indegree,a[l]=h.outdegree}return{indegree:function(t){return 0==o?0:(y(t)&&(t=e.filter(t)),r[t.id()]/o)},outdegree:function(t){return 0===s?0:(y(t)&&(t=e.filter(t)),a[t.id()]/s)}}}for(var f={},d=0,g=0;g<i;g++){var p=n[g];t.root=p;var b=this.degreeCentrality(t);d<b.degree&&(d=b.degree),f[p.id()]=b.degree}return{degree:function(t){return 0===d?0:(y(t)&&(t=e.filter(t)),f[t.id()]/d)}}},degreeCentrality:function(t){t=wi(t);var e=this.cy(),n=this,i=t,r=i.root,a=i.weight,o=i.directed,s=i.alpha;if(r=e.collection(r)[0],o){for(var c=r.connectedEdges(),u=c.filter((function(t){return t.target().same(r)&&n.has(t)})),l=c.filter((function(t){return t.source().same(r)&&n.has(t)})),h=u.length,f=l.length,d=0,g=0,p=0;p<u.length;p++)d+=a(u[p]);for(var b=0;b<l.length;b++)g+=a(l[b]);return{indegree:Math.pow(h,1-s)*Math.pow(d,s),outdegree:Math.pow(f,1-s)*Math.pow(g,s)}}for(var w=r.connectedEdges().intersection(n),m=w.length,y=0,v=0;v<w.length;v++)y+=a(w[v]);return{degree:Math.pow(m,1-s)*Math.pow(y,s)}}};mi.dc=mi.degreeCentrality,mi.dcn=mi.degreeCentralityNormalised=mi.degreeCentralityNormalized;var yi=Ne({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),vi={closenessCentralityNormalized:function(t){for(var e=yi(t),n=e.harmonic,i=e.weight,r=e.directed,a=this.cy(),o={},s=0,c=this.nodes(),u=this.floydWarshall({weight:i,directed:r}),l=0;l<c.length;l++){for(var h=0,f=c[l],d=0;d<c.length;d++)if(l!==d){var g=u.distance(f,c[d]);h+=n?1/g:g}n||(h=1/h),s<h&&(s=h),o[f.id()]=h}return{closeness:function(t){return 0==s?0:(t=y(t)?a.filter(t)[0].id():t.id(),o[t]/s)}}},closenessCentrality:function(t){var e=yi(t),n=e.root,i=e.weight,r=e.directed,a=e.harmonic;n=this.filter(n)[0];for(var o=this.dijkstra({root:n,weight:i,directed:r}),s=0,c=this.nodes(),u=0;u<c.length;u++){var l=c[u];if(!l.same(n)){var h=o.distanceTo(l);s+=a?1/h:h}}return a?s:1/s}};vi.cc=vi.closenessCentrality,vi.ccn=vi.closenessCentralityNormalised=vi.closenessCentralityNormalized;var xi=Ne({weight:null,directed:!1}),ki={betweennessCentrality:function(t){for(var e=xi(t),n=e.directed,i=e.weight,r=null!=i,a=this.cy(),o=this.nodes(),s={},c={},u=0,l={set:function(t,e){c[t]=e,e>u&&(u=e)},get:function(t){return c[t]}},h=0;h<o.length;h++){var f=o[h],d=f.id();s[d]=n?f.outgoers().nodes():f.openNeighborhood().nodes(),l.set(d,0)}for(var g=function(t){for(var e=o[t].id(),n=[],c={},u={},h={},f=new Ke((function(t,e){return h[t]-h[e]})),d=0;d<o.length;d++){var g=o[d].id();c[g]=[],u[g]=0,h[g]=1/0}for(u[e]=1,h[e]=0,f.push(e);!f.empty();){var p=f.pop();if(n.push(p),r)for(var b=0;b<s[p].length;b++){var w=s[p][b],m=a.getElementById(p),y=void 0;y=m.edgesTo(w).length>0?m.edgesTo(w)[0]:w.edgesTo(m)[0];var v=i(y);w=w.id(),h[w]>h[p]+v&&(h[w]=h[p]+v,f.nodes.indexOf(w)<0?f.push(w):f.updateItem(w),u[w]=0,c[w]=[]),h[w]==h[p]+v&&(u[w]=u[w]+u[p],c[w].push(p))}else for(var x=0;x<s[p].length;x++){var k=s[p][x].id();h[k]==1/0&&(f.push(k),h[k]=h[p]+1),h[k]==h[p]+1&&(u[k]=u[k]+u[p],c[k].push(p))}}for(var _={},A=0;A<o.length;A++)_[o[A].id()]=0;for(;n.length>0;){for(var E=n.pop(),T=0;T<c[E].length;T++){var C=c[E][T];_[C]=_[C]+u[C]/u[E]*(1+_[E])}E!=o[t].id()&&l.set(E,l.get(E)+_[E])}},p=0;p<o.length;p++)g(p);var b={betweenness:function(t){var e=a.collection(t).id();return l.get(e)},betweennessNormalized:function(t){if(0==u)return 0;var e=a.collection(t).id();return l.get(e)/u}};return b.betweennessNormalised=b.betweennessNormalized,b}};ki.bc=ki.betweennessCentrality;var _i=Ne({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(t){return 1}]}),Ai=function(t){return _i(t)},Ei=function(t,e){for(var n=0,i=0;i<e.length;i++)n+=e[i](t);return n},Ti=function(t,e,n){for(var i=0;i<e;i++)t[i*e+i]=n},Ci=function(t,e){for(var n,i=0;i<e;i++){n=0;for(var r=0;r<e;r++)n+=t[r*e+i];for(var a=0;a<e;a++)t[a*e+i]=t[a*e+i]/n}},Si=function(t,e,n){for(var i=new Array(n*n),r=0;r<n;r++){for(var a=0;a<n;a++)i[r*n+a]=0;for(var o=0;o<n;o++)for(var s=0;s<n;s++)i[r*n+s]+=t[r*n+o]*e[o*n+s]}return i},Ii=function(t,e,n){for(var i=t.slice(0),r=1;r<n;r++)t=Si(t,i,e);return t},Mi=function(t,e,n){for(var i=new Array(e*e),r=0;r<e*e;r++)i[r]=Math.pow(t[r],n);return Ci(i,e),i},Di=function(t,e,n,i){for(var r=0;r<n;r++)if(Math.round(t[r]*Math.pow(10,i))/Math.pow(10,i)!=Math.round(e[r]*Math.pow(10,i))/Math.pow(10,i))return!1;return!0},Oi=function(t,e,n,i){for(var r=[],a=0;a<e;a++){for(var o=[],s=0;s<e;s++)Math.round(1e3*t[a*e+s])/1e3>0&&o.push(n[s]);0!==o.length&&r.push(i.collection(o))}return r},Li=function(t,e){for(var n=0;n<t.length;n++)if(!e[n]||t[n].id()!==e[n].id())return!1;return!0},Ni=function(t){for(var e=0;e<t.length;e++)for(var n=0;n<t.length;n++)e!=n&&Li(t[e],t[n])&&t.splice(n,1);return t},Pi=function(t){for(var e=this.nodes(),n=this.edges(),i=this.cy(),r=Ai(t),a={},o=0;o<e.length;o++)a[e[o].id()]=o;for(var s,c=e.length,u=c*c,l=new Array(u),h=0;h<u;h++)l[h]=0;for(var f=0;f<n.length;f++){var d=n[f],g=a[d.source().id()],p=a[d.target().id()],b=Ei(d,r.attributes);l[g*c+p]+=b,l[p*c+g]+=b}Ti(l,c,r.multFactor),Ci(l,c);for(var w=!0,m=0;w&&m<r.maxIterations;)w=!1,s=Ii(l,c,r.expandFactor),l=Mi(s,c,r.inflateFactor),Di(l,s,u,4)||(w=!0),m++;var y=Oi(l,c,e,i);return y=Ni(y)},Bi={markovClustering:Pi,mcl:Pi},Fi=function(t){return t},Ri=function(t,e){return Math.abs(e-t)},ji=function(t,e,n){return t+Ri(e,n)},$i=function(t,e,n){return t+Math.pow(n-e,2)},zi=function(t){return Math.sqrt(t)},qi=function(t,e,n){return Math.max(t,Ri(e,n))},Hi=function(t,e,n,i,r){for(var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Fi,o=i,s=0;s<t;s++)o=r(o,e(s),n(s));return a(o)},Ui={euclidean:function(t,e,n){return t>=2?Hi(t,e,n,0,$i,zi):Hi(t,e,n,0,ji)},squaredEuclidean:function(t,e,n){return Hi(t,e,n,0,$i)},manhattan:function(t,e,n){return Hi(t,e,n,0,ji)},max:function(t,e,n){return Hi(t,e,n,-1/0,qi)}};function Gi(t,e,n,i,r,a){var o;return o=v(t)?t:Ui[t]||Ui.euclidean,0===e&&v(t)?o(r,a):o(e,n,i,r,a)}Ui["squared-euclidean"]=Ui.squaredEuclidean,Ui.squaredeuclidean=Ui.squaredEuclidean;var Yi=Ne({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Zi=function(t){return Yi(t)},Wi=function(t,e,n,i,r){var a="kMedoids"!==r?function(t){return n[t]}:function(t){return i[t](n)},o=function(t){return i[t](e)},s=n,c=e;return Gi(t,i.length,a,o,s,c)},Ki=function(t,e,n){for(var i=n.length,r=new Array(i),a=new Array(i),o=new Array(e),s=null,c=0;c<i;c++)r[c]=t.min(n[c]).value,a[c]=t.max(n[c]).value;for(var u=0;u<e;u++){s=[];for(var l=0;l<i;l++)s[l]=Math.random()*(a[l]-r[l])+r[l];o[u]=s}return o},Xi=function(t,e,n,i,r){for(var a=1/0,o=0,s=0;s<e.length;s++){var c=Wi(n,t,e[s],i,r);c<a&&(a=c,o=s)}return o},Vi=function(t,e,n){for(var i=[],r=null,a=0;a<e.length;a++)n[(r=e[a]).id()]===t&&i.push(r);return i},Qi=function(t,e,n){return Math.abs(e-t)<=n},Ji=function(t,e,n){for(var i=0;i<t.length;i++)for(var r=0;r<t[i].length;r++)if(Math.abs(t[i][r]-e[i][r])>n)return!1;return!0},tr=function(t,e,n){for(var i=0;i<n;i++)if(t===e[i])return!0;return!1},er=function(t,e){var n=new Array(e);if(t.length<50)for(var i=0;i<e;i++){for(var r=t[Math.floor(Math.random()*t.length)];tr(r,n,i);)r=t[Math.floor(Math.random()*t.length)];n[i]=r}else for(var a=0;a<e;a++)n[a]=t[Math.floor(Math.random()*t.length)];return n},nr=function(t,e,n){for(var i=0,r=0;r<e.length;r++)i+=Wi("manhattan",e[r],t,n,"kMedoids");return i},ir=function(e){var n,i=this.cy(),r=this.nodes(),a=null,o=Zi(e),s=new Array(o.k),c={};o.testMode?"number"==typeof o.testCentroids?(o.testCentroids,n=Ki(r,o.k,o.attributes)):n="object"===t(o.testCentroids)?o.testCentroids:Ki(r,o.k,o.attributes):n=Ki(r,o.k,o.attributes);for(var u=!0,l=0;u&&l<o.maxIterations;){for(var h=0;h<r.length;h++)c[(a=r[h]).id()]=Xi(a,n,o.distance,o.attributes,"kMeans");u=!1;for(var f=0;f<o.k;f++){var d=Vi(f,r,c);if(0!==d.length){for(var g=o.attributes.length,p=n[f],b=new Array(g),w=new Array(g),m=0;m<g;m++){w[m]=0;for(var y=0;y<d.length;y++)a=d[y],w[m]+=o.attributes[m](a);b[m]=w[m]/d.length,Qi(b[m],p[m],o.sensitivityThreshold)||(u=!0)}n[f]=b,s[f]=i.collection(d)}}l++}return s},rr=function(t,e,n,i,r){for(var a,o,s=0;s<e.length;s++)for(var c=0;c<t.length;c++)i[s][c]=Math.pow(n[s][c],r.m);for(var u=0;u<t.length;u++)for(var l=0;l<r.attributes.length;l++){a=0,o=0;for(var h=0;h<e.length;h++)a+=i[h][u]*r.attributes[l](e[h]),o+=i[h][u];t[u][l]=a/o}},ar=function(t,e,n,i,r){for(var a=0;a<t.length;a++)e[a]=t[a].slice();for(var o,s,c,u=2/(r.m-1),l=0;l<n.length;l++)for(var h=0;h<i.length;h++){o=0;for(var f=0;f<n.length;f++)s=Wi(r.distance,i[h],n[l],r.attributes,"cmeans"),c=Wi(r.distance,i[h],n[f],r.attributes,"cmeans"),o+=Math.pow(s/c,u);t[h][l]=1/o}},or=function(t,e,n,i){for(var r,a,o=new Array(n.k),s=0;s<o.length;s++)o[s]=[];for(var c=0;c<e.length;c++){r=-1/0,a=-1;for(var u=0;u<e[0].length;u++)e[c][u]>r&&(r=e[c][u],a=u);o[a].push(t[c])}for(var l=0;l<o.length;l++)o[l]=i.collection(o[l]);return o},sr=function(t){var e,n,i,r,a=this.cy(),o=this.nodes(),s=Zi(t);i=new Array(o.length);for(var c=0;c<o.length;c++)i[c]=new Array(s.k);n=new Array(o.length);for(var u=0;u<o.length;u++)n[u]=new Array(s.k);for(var l=0;l<o.length;l++){for(var h=0,f=0;f<s.k;f++)n[l][f]=Math.random(),h+=n[l][f];for(var d=0;d<s.k;d++)n[l][d]=n[l][d]/h}e=new Array(s.k);for(var g=0;g<s.k;g++)e[g]=new Array(s.attributes.length);r=new Array(o.length);for(var p=0;p<o.length;p++)r[p]=new Array(s.k);for(var b=!0,w=0;b&&w<s.maxIterations;)b=!1,rr(e,o,n,r,s),ar(n,i,e,o,s),Ji(n,i,s.sensitivityThreshold)||(b=!0),w++;return{clusters:or(o,n,s,a),degreeOfMembership:n}},cr={kMeans:ir,kMedoids:function(e){var n,i,r=this.cy(),a=this.nodes(),o=null,s=Zi(e),c=new Array(s.k),u={},l=new Array(s.k);s.testMode?"number"==typeof s.testCentroids||(n="object"===t(s.testCentroids)?s.testCentroids:er(a,s.k)):n=er(a,s.k);for(var h=!0,f=0;h&&f<s.maxIterations;){for(var d=0;d<a.length;d++)u[(o=a[d]).id()]=Xi(o,n,s.distance,s.attributes,"kMedoids");h=!1;for(var g=0;g<n.length;g++){var p=Vi(g,a,u);if(0!==p.length){l[g]=nr(n[g],p,s.attributes);for(var b=0;b<p.length;b++)(i=nr(p[b],p,s.attributes))<l[g]&&(l[g]=i,n[g]=p[b],h=!0);c[g]=r.collection(p)}}f++}return c},fuzzyCMeans:sr,fcm:sr},ur=Ne({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),lr={single:"min",complete:"max"},hr=function(t){var e=ur(t),n=lr[e.linkage];return null!=n&&(e.linkage=n),e},fr=function(t,e,n,i,r){for(var a,o=0,s=1/0,c=r.attributes,u=function(t,e){return Gi(r.distance,c.length,(function(e){return c[e](t)}),(function(t){return c[t](e)}),t,e)},l=0;l<t.length;l++){var h=t[l].key,f=n[h][i[h]];f<s&&(o=h,s=f)}if("threshold"===r.mode&&s>=r.threshold||"dendrogram"===r.mode&&1===t.length)return!1;var d,g=e[o],p=e[i[o]];d="dendrogram"===r.mode?{left:g,right:p,key:g.key}:{value:g.value.concat(p.value),key:g.key},t[g.index]=d,t.splice(p.index,1),e[g.key]=d;for(var b=0;b<t.length;b++){var w=t[b];g.key===w.key?a=1/0:"min"===r.linkage?(a=n[g.key][w.key],n[g.key][w.key]>n[p.key][w.key]&&(a=n[p.key][w.key])):"max"===r.linkage?(a=n[g.key][w.key],n[g.key][w.key]<n[p.key][w.key]&&(a=n[p.key][w.key])):a="mean"===r.linkage?(n[g.key][w.key]*g.size+n[p.key][w.key]*p.size)/(g.size+p.size):"dendrogram"===r.mode?u(w.value,g.value):u(w.value[0],g.value[0]),n[g.key][w.key]=n[w.key][g.key]=a}for(var m=0;m<t.length;m++){var y=t[m].key;if(i[y]===g.key||i[y]===p.key){for(var v=y,x=0;x<t.length;x++){var k=t[x].key;n[y][k]<n[y][v]&&(v=k)}i[y]=v}t[m].index=m}return g.key=p.key=g.index=p.index=null,!0},dr=function t(e,n,i){e&&(e.value?n.push(e.value):(e.left&&t(e.left,n),e.right&&t(e.right,n)))},gr=function t(e,n){if(!e)return"";if(e.left&&e.right){var i=t(e.left,n),r=t(e.right,n),a=n.add({group:"nodes",data:{id:i+","+r}});return n.add({group:"edges",data:{source:i,target:a.id()}}),n.add({group:"edges",data:{source:r,target:a.id()}}),a.id()}return e.value?e.value.id():void 0},pr=function t(e,n,i){if(!e)return[];var r=[],a=[],o=[];return 0===n?(e.left&&dr(e.left,r),e.right&&dr(e.right,a),o=r.concat(a),[i.collection(o)]):1===n?e.value?[i.collection(e.value)]:(e.left&&dr(e.left,r),e.right&&dr(e.right,a),[i.collection(r),i.collection(a)]):e.value?[i.collection(e.value)]:(e.left&&(r=t(e.left,n-1,i)),e.right&&(a=t(e.right,n-1,i)),r.concat(a))},br=function(t){for(var e=this.cy(),n=this.nodes(),i=hr(t),r=i.attributes,a=function(t,e){return Gi(i.distance,r.length,(function(e){return r[e](t)}),(function(t){return r[t](e)}),t,e)},o=[],s=[],c=[],u=[],l=0;l<n.length;l++){var h={value:"dendrogram"===i.mode?n[l]:[n[l]],key:l,index:l};o[l]=h,u[l]=h,s[l]=[],c[l]=0}for(var f=0;f<o.length;f++)for(var d=0;d<=f;d++){var g=void 0;g="dendrogram"===i.mode?f===d?1/0:a(o[f].value,o[d].value):f===d?1/0:a(o[f].value[0],o[d].value[0]),s[f][d]=g,s[d][f]=g,g<s[f][c[f]]&&(c[f]=d)}for(var p,b=fr(o,u,s,c,i);b;)b=fr(o,u,s,c,i);return"dendrogram"===i.mode?(p=pr(o[0],i.dendrogramDepth,e),i.addDendrogram&&gr(o[0],e)):(p=new Array(o.length),o.forEach((function(t,n){t.key=t.index=null,p[n]=e.collection(t.value)}))),p},wr={hierarchicalClustering:br,hca:br},mr=Ne({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),yr=function(t){var e=t.damping,n=t.preference;.5<=e&&e<1||Ee("Damping must range on [0.5, 1). Got: ".concat(e));var i=["median","mean","min","max"];return i.some((function(t){return t===n}))||A(n)||Ee("Preference must be one of [".concat(i.map((function(t){return"'".concat(t,"'")})).join(", "),"] or a number. Got: ").concat(n)),mr(t)},vr=function(t,e,n,i){var r=function(t,e){return i[e](t)};return-Gi(t,i.length,(function(t){return r(e,t)}),(function(t){return r(n,t)}),e,n)},xr=function(t,e){return"median"===e?wn(t):"mean"===e?bn(t):"min"===e?gn(t):"max"===e?pn(t):e},kr=function(t,e,n){for(var i=[],r=0;r<t;r++)e[r*t+r]+n[r*t+r]>0&&i.push(r);return i},_r=function(t,e,n){for(var i=[],r=0;r<t;r++){for(var a=-1,o=-1/0,s=0;s<n.length;s++){var c=n[s];e[r*t+c]>o&&(a=c,o=e[r*t+c])}a>0&&i.push(a)}for(var u=0;u<n.length;u++)i[n[u]]=n[u];return i},Ar=function(t,e,n){for(var i=_r(t,e,n),r=0;r<n.length;r++){for(var a=[],o=0;o<i.length;o++)i[o]===n[r]&&a.push(o);for(var s=-1,c=-1/0,u=0;u<a.length;u++){for(var l=0,h=0;h<a.length;h++)l+=e[a[h]*t+a[u]];l>c&&(s=u,c=l)}n[r]=a[s]}return i=_r(t,e,n)},Er=function(t){for(var e,n,i,r,a,o,s=this.cy(),c=this.nodes(),u=yr(t),l={},h=0;h<c.length;h++)l[c[h].id()]=h;n=(e=c.length)*e,i=new Array(n);for(var f=0;f<n;f++)i[f]=-1/0;for(var d=0;d<e;d++)for(var g=0;g<e;g++)d!==g&&(i[d*e+g]=vr(u.distance,c[d],c[g],u.attributes));r=xr(i,u.preference);for(var p=0;p<e;p++)i[p*e+p]=r;a=new Array(n);for(var b=0;b<n;b++)a[b]=0;o=new Array(n);for(var w=0;w<n;w++)o[w]=0;for(var m=new Array(e),y=new Array(e),v=new Array(e),x=0;x<e;x++)m[x]=0,y[x]=0,v[x]=0;for(var k,_=new Array(e*u.minIterations),A=0;A<_.length;A++)_[A]=0;for(k=0;k<u.maxIterations;k++){for(var E=0;E<e;E++){for(var T=-1/0,C=-1/0,S=-1,I=0,M=0;M<e;M++)m[M]=a[E*e+M],(I=o[E*e+M]+i[E*e+M])>=T?(C=T,T=I,S=M):I>C&&(C=I);for(var D=0;D<e;D++)a[E*e+D]=(1-u.damping)*(i[E*e+D]-T)+u.damping*m[D];a[E*e+S]=(1-u.damping)*(i[E*e+S]-C)+u.damping*m[S]}for(var O=0;O<e;O++){for(var L=0,N=0;N<e;N++)m[N]=o[N*e+O],y[N]=Math.max(0,a[N*e+O]),L+=y[N];L-=y[O],y[O]=a[O*e+O],L+=y[O];for(var P=0;P<e;P++)o[P*e+O]=(1-u.damping)*Math.min(0,L-y[P])+u.damping*m[P];o[O*e+O]=(1-u.damping)*(L-y[O])+u.damping*m[O]}for(var B=0,F=0;F<e;F++){var R=o[F*e+F]+a[F*e+F]>0?1:0;_[k%u.minIterations*e+F]=R,B+=R}if(B>0&&(k>=u.minIterations-1||k==u.maxIterations-1)){for(var j=0,$=0;$<e;$++){v[$]=0;for(var z=0;z<u.minIterations;z++)v[$]+=_[z*e+$];0!==v[$]&&v[$]!==u.minIterations||j++}if(j===e)break}}for(var q=kr(e,a,o),H=Ar(e,i,q),U={},G=0;G<q.length;G++)U[q[G]]=[];for(var Y=0;Y<c.length;Y++){var Z=H[l[c[Y].id()]];null!=Z&&U[Z].push(c[Y])}for(var W=new Array(q.length),K=0;K<q.length;K++)W[K]=s.collection(U[q[K]]);return W},Tr={affinityPropagation:Er,ap:Er},Cr=Ne({root:void 0,directed:!1}),Sr={hierholzer:function(t){if(!k(t)){var e=arguments;t={root:e[0],directed:e[1]}}var n,i,r,a=Cr(t),o=a.root,s=a.directed,c=this,u=!1;o&&(r=y(o)?this.filter(o)[0].id():o[0].id());var l={},h={};s?c.forEach((function(t){var e=t.id();if(t.isNode()){var r=t.indegree(!0),a=t.outdegree(!0),o=r-a,s=a-r;1==o?n?u=!0:n=e:1==s?i?u=!0:i=e:(s>1||o>1)&&(u=!0),l[e]=[],t.outgoers().forEach((function(t){t.isEdge()&&l[e].push(t.id())}))}else h[e]=[void 0,t.target().id()]})):c.forEach((function(t){var e=t.id();t.isNode()?(t.degree(!0)%2&&(n?i?u=!0:i=e:n=e),l[e]=[],t.connectedEdges().forEach((function(t){return l[e].push(t.id())}))):h[e]=[t.source().id(),t.target().id()]}));var f={found:!1,trail:void 0};if(u)return f;if(i&&n)if(s){if(r&&i!=r)return f;r=i}else{if(r&&i!=r&&n!=r)return f;r||(r=i)}else r||(r=c[0].id());var d=function(t){for(var e,n,i,r=t,a=[t];l[r].length;)e=l[r].shift(),n=h[e][0],r!=(i=h[e][1])?(l[i]=l[i].filter((function(t){return t!=e})),r=i):s||r==n||(l[n]=l[n].filter((function(t){return t!=e})),r=n),a.unshift(e),a.unshift(r);return a},g=[],p=[];for(p=d(r);1!=p.length;)0==l[p[0]].length?(g.unshift(c.getElementById(p.shift())),g.unshift(c.getElementById(p.shift()))):p=d(p.shift()).concat(p);for(var b in g.unshift(c.getElementById(p.shift())),l)if(l[b].length)return f;return f.found=!0,f.trail=this.spawn(g,!0),f}},Ir=function(){var t=this,e={},n=0,i=0,r=[],a=[],o={},s=function(n,i){for(var o=a.length-1,s=[],c=t.spawn();a[o].x!=n||a[o].y!=i;)s.push(a.pop().edge),o--;s.push(a.pop().edge),s.forEach((function(n){var i=n.connectedNodes().intersection(t);c.merge(n),i.forEach((function(n){var i=n.id(),r=n.connectedEdges().intersection(t);c.merge(n),e[i].cutVertex?c.merge(r.filter((function(t){return t.isLoop()}))):c.merge(r)}))})),r.push(c)},c=function c(u,l,h){u===h&&(i+=1),e[l]={id:n,low:n++,cutVertex:!1};var f,d,g,p,b=t.getElementById(l).connectedEdges().intersection(t);0===b.size()?r.push(t.spawn(t.getElementById(l))):b.forEach((function(t){f=t.source().id(),d=t.target().id(),(g=f===l?d:f)!==h&&(p=t.id(),o[p]||(o[p]=!0,a.push({x:l,y:g,edge:t})),g in e?e[l].low=Math.min(e[l].low,e[g].id):(c(u,g,l),e[l].low=Math.min(e[l].low,e[g].low),e[l].id<=e[g].low&&(e[l].cutVertex=!0,s(l,g))))}))};t.forEach((function(t){if(t.isNode()){var n=t.id();n in e||(i=0,c(n,n),e[n].cutVertex=i>1)}}));var u=Object.keys(e).filter((function(t){return e[t].cutVertex})).map((function(e){return t.getElementById(e)}));return{cut:t.spawn(u),components:r}},Mr=function(){var t=this,e={},n=0,i=[],r=[],a=t.spawn(t),o=function o(s){if(r.push(s),e[s]={index:n,low:n++,explored:!1},t.getElementById(s).connectedEdges().intersection(t).forEach((function(t){var n=t.target().id();n!==s&&(n in e||o(n),e[n].explored||(e[s].low=Math.min(e[s].low,e[n].low)))})),e[s].index===e[s].low){for(var c=t.spawn();;){var u=r.pop();if(c.merge(t.getElementById(u)),e[u].low=e[s].index,e[u].explored=!0,u===s)break}var l=c.edgesWith(c),h=c.merge(l);i.push(h),a=a.difference(h)}};return t.forEach((function(t){if(t.isNode()){var n=t.id();n in e||o(n)}})),{cut:a,components:i}},Dr={};[Ze,Ve,Qe,tn,nn,an,un,bi,mi,vi,ki,Bi,cr,wr,Tr,Sr,{hopcroftTarjanBiconnected:Ir,htbc:Ir,htb:Ir,hopcroftTarjanBiconnectedComponents:Ir},{tarjanStronglyConnected:Mr,tsc:Mr,tscc:Mr,tarjanStronglyConnectedComponents:Mr}].forEach((function(t){Q(Dr,t)}));var Or=0,Lr=1,Nr=2,Pr=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=Or,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof e&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))};Pr.prototype={fulfill:function(t){return Br(this,Lr,"fulfillValue",t)},reject:function(t){return Br(this,Nr,"rejectReason",t)},then:function(t,e){var n=this,i=new Pr;return n.onFulfilled.push(jr(t,i,"fulfill")),n.onRejected.push(jr(e,i,"reject")),Fr(n),i.proxy}};var Br=function(t,e,n,i){return t.state===Or&&(t.state=e,t[n]=i,Fr(t)),t},Fr=function(t){t.state===Lr?Rr(t,"onFulfilled",t.fulfillValue):t.state===Nr&&Rr(t,"onRejected",t.rejectReason)},Rr=function(t,e,n){if(0!==t[e].length){var i=t[e];t[e]=[];var r=function(){for(var t=0;t<i.length;t++)i[t](n)};"function"==typeof setImmediate?setImmediate(r):setTimeout(r,0)}},jr=function(t,e,n){return function(i){if("function"!=typeof t)e[n].call(e,i);else{var r;try{r=t(i)}catch(t){return void e.reject(t)}$r(e,r)}}},$r=function e(n,i){if(n!==i&&n.proxy!==i){var r;if("object"===t(i)&&null!==i||"function"==typeof i)try{r=i.then}catch(t){return void n.reject(t)}if("function"!=typeof r)n.fulfill(i);else{var a=!1;try{r.call(i,(function(t){a||(a=!0,t===i?n.reject(new TypeError("circular thenable chain")):e(n,t))}),(function(t){a||(a=!0,n.reject(t))}))}catch(t){a||n.reject(t)}}}else n.reject(new TypeError("cannot resolve promise with itself"))};Pr.all=function(t){return new Pr((function(e,n){for(var i=new Array(t.length),r=0,a=function(n,a){i[n]=a,++r===t.length&&e(i)},o=0;o<t.length;o++)!function(e){var i=t[e];null!=i&&null!=i.then?i.then((function(t){a(e,t)}),(function(t){n(t)})):a(e,i)}(o)}))},Pr.resolve=function(t){return new Pr((function(e,n){e(t)}))},Pr.reject=function(t){return new Pr((function(e,n){n(t)}))};var zr="undefined"!=typeof Promise?Promise:Pr,qr=function(t,e,n){var i=M(t),r=!i,a=this._private=Q({duration:1e3},e,n);if(a.target=t,a.style=a.style||a.css,a.started=!1,a.playing=!1,a.hooked=!1,a.applying=!1,a.progress=0,a.completes=[],a.frames=[],a.complete&&v(a.complete)&&a.completes.push(a.complete),r){var o=t.position();a.startPosition=a.startPosition||{x:o.x,y:o.y},a.startStyle=a.startStyle||t.cy().style().getAnimationStartStyle(t,a.style)}if(i){var s=t.pan();a.startPan={x:s.x,y:s.y},a.startZoom=t.zoom()}this.length=1,this[0]=this},Hr=qr.prototype;Q(Hr,{instanceString:function(){return"animation"},hook:function(){var t=this._private;if(!t.hooked){var e=t.target._private.animation;(t.queue?e.queue:e.current).push(this),C(t.target)&&t.target.cy().addToAnimationPool(t.target),t.hooked=!0}return this},play:function(){var t=this._private;return 1===t.progress&&(t.progress=0),t.playing=!0,t.started=!1,t.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var t=this._private;return t.applying=!0,t.started=!1,t.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var t=this._private;return t.playing=!1,t.started=!1,this},stop:function(){var t=this._private;return t.playing=!1,t.started=!1,t.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(t){var e=this._private;return void 0===t?e.progress*e.duration:this.progress(t/e.duration)},progress:function(t){var e=this._private,n=e.playing;return void 0===t?e.progress:(n&&this.pause(),e.progress=t,e.started=!1,n&&this.play(),this)},completed:function(){return 1===this._private.progress},reverse:function(){var t=this._private,e=t.playing;e&&this.pause(),t.progress=1-t.progress,t.started=!1;var n=function(e,n){var i=t[e];null!=i&&(t[e]=t[n],t[n]=i)};if(n("zoom","startZoom"),n("pan","startPan"),n("position","startPosition"),t.style)for(var i=0;i<t.style.length;i++){var r=t.style[i],a=r.name,o=t.startStyle[a];t.startStyle[a]=r,t.style[i]=o}return e&&this.play(),this},promise:function(t){var e,n=this._private;return e="frame"===t?n.frames:n.completes,new zr((function(t,n){e.push((function(){t()}))}))}}),Hr.complete=Hr.completed,Hr.run=Hr.play,Hr.running=Hr.playing;var Ur={animated:function(){return function(){var t=this,e=void 0!==t.length?t:[t];if(!(this._private.cy||this).styleEnabled())return!1;var n=e[0];return n?n._private.animation.current.length>0:void 0}},clearQueue:function(){return function(){var t=this,e=void 0!==t.length?t:[t];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n<e.length;n++)e[n]._private.animation.queue=[];return this}},delay:function(){return function(t,e){return(this._private.cy||this).styleEnabled()?this.animate({delay:t,duration:t,complete:e}):this}},delayAnimation:function(){return function(t,e){return(this._private.cy||this).styleEnabled()?this.animation({delay:t,duration:t,complete:e}):this}},animation:function(){return function(t,e){var n=this,i=void 0!==n.length,r=i?n:[n],a=this._private.cy||this,o=!i,s=!o;if(!a.styleEnabled())return this;var c=a.style();if(t=Q({},t,e),0===Object.keys(t).length)return new qr(r[0],t);switch(void 0===t.duration&&(t.duration=400),t.duration){case"slow":t.duration=600;break;case"fast":t.duration=200}if(s&&(t.style=c.getPropsList(t.style||t.css),t.css=void 0),s&&null!=t.renderedPosition){var u=t.renderedPosition,l=a.pan(),h=a.zoom();t.position=fn(u,h,l)}if(o&&null!=t.panBy){var f=t.panBy,d=a.pan();t.pan={x:d.x+f.x,y:d.y+f.y}}var g=t.center||t.centre;if(o&&null!=g){var p=a.getCenterPan(g.eles,t.zoom);null!=p&&(t.pan=p)}if(o&&null!=t.fit){var b=t.fit,w=a.getFitViewport(b.eles||b.boundingBox,b.padding);null!=w&&(t.pan=w.pan,t.zoom=w.zoom)}if(o&&k(t.zoom)){var m=a.getZoomedViewport(t.zoom);null!=m?(m.zoomed&&(t.zoom=m.zoom),m.panned&&(t.pan=m.pan)):t.zoom=null}return new qr(r[0],t)}},animate:function(){return function(t,e){var n=this,i=void 0!==n.length?n:[n];if(!(this._private.cy||this).styleEnabled())return this;e&&(t=Q({},t,e));for(var r=0;r<i.length;r++){var a=i[r],o=a.animated()&&(void 0===t.queue||t.queue);a.animation(t,o?{queue:!0}:void 0).play()}return this}},stop:function(){return function(t,e){var n=this,i=void 0!==n.length?n:[n],r=this._private.cy||this;if(!r.styleEnabled())return this;for(var a=0;a<i.length;a++){for(var o=i[a]._private,s=o.animation.current,c=0;c<s.length;c++){var u=s[c]._private;e&&(u.duration=0)}t&&(o.animation.queue=[]),e||(o.animation.current=[])}return r.notify("draw"),this}}},Gr=Array.isArray,Yr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zr=/^\w*$/;function Wr(t,e){if(Gr(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!$t(t))||Zr.test(t)||!Yr.test(t)||null!=e&&t in Object(e)}var Kr=Wr,Xr="[object AsyncFunction]",Vr="[object Function]",Qr="[object GeneratorFunction]",Jr="[object Proxy]";function ta(t){if(!ct(t))return!1;var e=Pt(t);return e==Vr||e==Qr||e==Xr||e==Jr}var ea,na=ta,ia=dt["__core-js_shared__"],ra=(ea=/[^.]+$/.exec(ia&&ia.keys&&ia.keys.IE_PROTO||""))?"Symbol(src)_1."+ea:"";function aa(t){return!!ra&&ra in t}var oa=aa,sa=Function.prototype.toString;function ca(t){if(null!=t){try{return sa.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var ua=ca,la=/[\\^$.*+?()[\]{}|]/g,ha=/^\[object .+?Constructor\]$/,fa=Function.prototype,da=Object.prototype,ga=fa.toString,pa=da.hasOwnProperty,ba=RegExp("^"+ga.call(pa).replace(la,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wa(t){return!(!ct(t)||oa(t))&&(na(t)?ba:ha).test(ua(t))}var ma=wa;function ya(t,e){return null==t?void 0:t[e]}var va=ya;function xa(t,e){var n=va(t,e);return ma(n)?n:void 0}var ka=xa,_a=ka(Object,"create");function Aa(){this.__data__=_a?_a(null):{},this.size=0}var Ea=Aa;function Ta(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Ca=Ta,Sa="__lodash_hash_undefined__",Ia=Object.prototype.hasOwnProperty;function Ma(t){var e=this.__data__;if(_a){var n=e[t];return n===Sa?void 0:n}return Ia.call(e,t)?e[t]:void 0}var Da=Ma,Oa=Object.prototype.hasOwnProperty;function La(t){var e=this.__data__;return _a?void 0!==e[t]:Oa.call(e,t)}var Na=La,Pa="__lodash_hash_undefined__";function Ba(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=_a&&void 0===e?Pa:e,this}var Fa=Ba;function Ra(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Ra.prototype.clear=Ea,Ra.prototype.delete=Ca,Ra.prototype.get=Da,Ra.prototype.has=Na,Ra.prototype.set=Fa;var ja=Ra;function $a(){this.__data__=[],this.size=0}var za=$a;function qa(t,e){return t===e||t!=t&&e!=e}var Ha=qa;function Ua(t,e){for(var n=t.length;n--;)if(Ha(t[n][0],e))return n;return-1}var Ga=Ua,Ya=Array.prototype.splice;function Za(t){var e=this.__data__,n=Ga(e,t);return!(n<0||(n==e.length-1?e.pop():Ya.call(e,n,1),--this.size,0))}var Wa=Za;function Ka(t){var e=this.__data__,n=Ga(e,t);return n<0?void 0:e[n][1]}var Xa=Ka;function Va(t){return Ga(this.__data__,t)>-1}var Qa=Va;function Ja(t,e){var n=this.__data__,i=Ga(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}var to=Ja;function eo(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}eo.prototype.clear=za,eo.prototype.delete=Wa,eo.prototype.get=Xa,eo.prototype.has=Qa,eo.prototype.set=to;var no=eo,io=ka(dt,"Map");function ro(){this.size=0,this.__data__={hash:new ja,map:new(io||no),string:new ja}}var ao=ro;function oo(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}var so=oo;function co(t,e){var n=t.__data__;return so(e)?n["string"==typeof e?"string":"hash"]:n.map}var uo=co;function lo(t){var e=uo(this,t).delete(t);return this.size-=e?1:0,e}var ho=lo;function fo(t){return uo(this,t).get(t)}var go=fo;function po(t){return uo(this,t).has(t)}var bo=po;function wo(t,e){var n=uo(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}var mo=wo;function yo(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}yo.prototype.clear=ao,yo.prototype.delete=ho,yo.prototype.get=go,yo.prototype.has=bo,yo.prototype.set=mo;var vo=yo,xo="Expected a function";function ko(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(xo);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(ko.Cache||vo),n}ko.Cache=vo;var _o=ko,Ao=500;function Eo(t){var e=_o(t,(function(t){return n.size===Ao&&n.clear(),t})),n=e.cache;return e}var To=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Co=/\\(\\)?/g,So=Eo((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(To,(function(t,n,i,r){e.push(i?r.replace(Co,"$1"):n||t)})),e})),Io=So;function Mo(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}var Do=Mo,Oo=1/0,Lo=xt?xt.prototype:void 0,No=Lo?Lo.toString:void 0;function Po(t){if("string"==typeof t)return t;if(Gr(t))return Do(t,Po)+"";if($t(t))return No?No.call(t):"";var e=t+"";return"0"==e&&1/t==-Oo?"-0":e}var Bo=Po;function Fo(t){return null==t?"":Bo(t)}var Ro=Fo;function jo(t,e){return Gr(t)?t:Kr(t,e)?[t]:Io(Ro(t))}var $o=jo,zo=1/0;function qo(t){if("string"==typeof t||$t(t))return t;var e=t+"";return"0"==e&&1/t==-zo?"-0":e}var Ho=qo;function Uo(t,e){for(var n=0,i=(e=$o(e,t)).length;null!=t&&n<i;)t=t[Ho(e[n++])];return n&&n==i?t:void 0}var Go=Uo;function Yo(t,e,n){var i=null==t?void 0:Go(t,e);return void 0===i?n:i}var Zo=Yo,Wo=function(){try{var t=ka(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();function Ko(t,e,n){"__proto__"==e&&Wo?Wo(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var Xo=Ko,Vo=Object.prototype.hasOwnProperty;function Qo(t,e,n){var i=t[e];Vo.call(t,e)&&Ha(i,n)&&(void 0!==n||e in t)||Xo(t,e,n)}var Jo=Qo,ts=9007199254740991,es=/^(?:0|[1-9]\d*)$/;function ns(t,e){var n=typeof t;return!!(e=null==e?ts:e)&&("number"==n||"symbol"!=n&&es.test(t))&&t>-1&&t%1==0&&t<e}var is=ns;function rs(t,e,n,i){if(!ct(t))return t;for(var r=-1,a=(e=$o(e,t)).length,o=a-1,s=t;null!=s&&++r<a;){var c=Ho(e[r]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=s[c];void 0===(u=i?i(l,c,s):void 0)&&(u=ct(l)?l:is(e[r+1])?[]:{})}Jo(s,c,u),s=s[c]}return t}var as=rs;function os(t,e,n){return null==t?t:as(t,e,n)}var ss=os;function cs(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}var us=cs;function ls(t){return Gr(t)?Do(t,Ho):$t(t)?[t]:us(Io(Ro(t)))}var hs=ls,fs={data:function(t){return t=Q({},{field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(t){},beforeSet:function(t,e){},onSet:function(t){},canSet:function(t){return!0}},t),function(e,n){var i=t,r=this,o=void 0!==r.length,s=o?r:[r],c=o?r[0]:r;if(y(e)){var u,l=-1!==e.indexOf(".")&&hs(e);if(i.allowGetting&&void 0===n)return c&&(i.beforeGet(c),u=l&&void 0===c._private[i.field][e]?Zo(c._private[i.field],l):c._private[i.field][e]),u;if(i.allowSetting&&void 0!==n&&!i.immutableKeys[e]){var h=a({},e,n);i.beforeSet(r,h);for(var f=0,d=s.length;f<d;f++){var g=s[f];i.canSet(g)&&(l&&void 0===c._private[i.field][e]?ss(g._private[i.field],l,n):g._private[i.field][e]=n)}i.updateStyle&&r.updateStyle(),i.onSet(r),i.settingTriggersEvent&&r[i.triggerFnName](i.settingEvent)}}else if(i.allowSetting&&k(e)){var p,b,w=e,m=Object.keys(w);i.beforeSet(r,w);for(var x=0;x<m.length;x++)if(b=w[p=m[x]],!i.immutableKeys[p])for(var _=0;_<s.length;_++){var A=s[_];i.canSet(A)&&(A._private[i.field][p]=b)}i.updateStyle&&r.updateStyle(),i.onSet(r),i.settingTriggersEvent&&r[i.triggerFnName](i.settingEvent)}else if(i.allowBinding&&v(e)){var E=e;r.on(i.bindingEvent,E)}else if(i.allowGetting&&void 0===e){var T;return c&&(i.beforeGet(c),T=c._private[i.field]),T}return r}},removeData:function(t){return t=Q({},{field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}},t),function(e){var n=t,i=this,r=void 0!==i.length?i:[i];if(y(e)){for(var a=e.split(/\s+/),o=a.length,s=0;s<o;s++){var c=a[s];if(!L(c)&&!n.immutableKeys[c])for(var u=0,l=r.length;u<l;u++)r[u]._private[n.field][c]=void 0}n.triggerEvent&&i[n.triggerFnName](n.event)}else if(void 0===e){for(var h=0,f=r.length;h<f;h++)for(var d=r[h]._private[n.field],g=Object.keys(d),p=0;p<g.length;p++){var b=g[p];!n.immutableKeys[b]&&(d[b]=void 0)}n.triggerEvent&&i[n.triggerFnName](n.event)}return i}}},ds={eventAliasesOn:function(t){var e=t;e.addListener=e.listen=e.bind=e.on,e.unlisten=e.unbind=e.off=e.removeListener,e.trigger=e.emit,e.pon=e.promiseOn=function(t,e){var n=this,i=Array.prototype.slice.call(arguments,0);return new zr((function(t,e){var r=function(e){n.off.apply(n,o),t(e)},a=i.concat([r]),o=a.concat([]);n.on.apply(n,a)}))}}},gs={};[Ur,fs,ds].forEach((function(t){Q(gs,t)}));var ps={animate:gs.animate(),animation:gs.animation(),animated:gs.animated(),clearQueue:gs.clearQueue(),delay:gs.delay(),delayAnimation:gs.delayAnimation(),stop:gs.stop()},bs={classes:function(t){var e=this;if(void 0===t){var n=[];return e[0]._private.classes.forEach((function(t){return n.push(t)})),n}x(t)||(t=(t||"").match(/\S+/g)||[]);for(var i=[],r=new Ue(t),a=0;a<e.length;a++){for(var o=e[a],s=o._private,c=s.classes,u=!1,l=0;l<t.length;l++){var h=t[l];if(!c.has(h)){u=!0;break}}u||(u=c.size!==t.length),u&&(s.classes=r,i.push(o))}return i.length>0&&this.spawn(i).updateStyle().emit("class"),e},addClass:function(t){return this.toggleClass(t,!0)},hasClass:function(t){var e=this[0];return null!=e&&e._private.classes.has(t)},toggleClass:function(t,e){x(t)||(t=t.match(/\S+/g)||[]);for(var n=this,i=void 0===e,r=[],a=0,o=n.length;a<o;a++)for(var s=n[a],c=s._private.classes,u=!1,l=0;l<t.length;l++){var h=t[l],f=c.has(h),d=!1;e||i&&!f?(c.add(h),d=!0):(!e||i&&f)&&(c.delete(h),d=!0),!u&&d&&(r.push(s),u=!0)}return r.length>0&&this.spawn(r).updateStyle().emit("class"),n},removeClass:function(t){return this.toggleClass(t,!1)},flashClass:function(t,e){var n=this;if(null==e)e=250;else if(0===e)return n;return n.addClass(t),setTimeout((function(){n.removeClass(t)}),e),n}};bs.className=bs.classNames=bs.classes;var ws={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:H,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};ws.variable="(?:[\\w-.]|(?:\\\\"+ws.metaChar+"))+",ws.className="(?:[\\w-]|(?:\\\\"+ws.metaChar+"))+",ws.value=ws.string+"|"+ws.number,ws.id=ws.variable,function(){var t,e,n;for(t=ws.comparatorOp.split("|"),n=0;n<t.length;n++)e=t[n],ws.comparatorOp+="|@"+e;for(t=ws.comparatorOp.split("|"),n=0;n<t.length;n++)(e=t[n]).indexOf("!")>=0||"="!==e&&(ws.comparatorOp+="|\\!"+e)}();var ms=function(){return{checks:[]}},ys={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},vs=[{selector:":selected",matches:function(t){return t.selected()}},{selector:":unselected",matches:function(t){return!t.selected()}},{selector:":selectable",matches:function(t){return t.selectable()}},{selector:":unselectable",matches:function(t){return!t.selectable()}},{selector:":locked",matches:function(t){return t.locked()}},{selector:":unlocked",matches:function(t){return!t.locked()}},{selector:":visible",matches:function(t){return t.visible()}},{selector:":hidden",matches:function(t){return!t.visible()}},{selector:":transparent",matches:function(t){return t.transparent()}},{selector:":grabbed",matches:function(t){return t.grabbed()}},{selector:":free",matches:function(t){return!t.grabbed()}},{selector:":removed",matches:function(t){return t.removed()}},{selector:":inside",matches:function(t){return!t.removed()}},{selector:":grabbable",matches:function(t){return t.grabbable()}},{selector:":ungrabbable",matches:function(t){return!t.grabbable()}},{selector:":animated",matches:function(t){return t.animated()}},{selector:":unanimated",matches:function(t){return!t.animated()}},{selector:":parent",matches:function(t){return t.isParent()}},{selector:":childless",matches:function(t){return t.isChildless()}},{selector:":child",matches:function(t){return t.isChild()}},{selector:":orphan",matches:function(t){return t.isOrphan()}},{selector:":nonorphan",matches:function(t){return t.isChild()}},{selector:":compound",matches:function(t){return t.isNode()?t.isParent():t.source().isParent()||t.target().isParent()}},{selector:":loop",matches:function(t){return t.isLoop()}},{selector:":simple",matches:function(t){return t.isSimple()}},{selector:":active",matches:function(t){return t.active()}},{selector:":inactive",matches:function(t){return!t.active()}},{selector:":backgrounding",matches:function(t){return t.backgrounding()}},{selector:":nonbackgrounding",matches:function(t){return!t.backgrounding()}}].sort((function(t,e){return V(t.selector,e.selector)})),xs=function(){for(var t,e={},n=0;n<vs.length;n++)e[(t=vs[n]).selector]=t.matches;return e}(),ks=function(t,e){return xs[t](e)},_s="("+vs.map((function(t){return t.selector})).join("|")+")",As=function(t){return t.replace(new RegExp("\\\\("+ws.metaChar+")","g"),(function(t,e){return e}))},Es=function(t,e,n){t[t.length-1]=n},Ts=[{name:"group",query:!0,regex:"("+ws.group+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:ys.GROUP,value:"*"===i?i:i+"s"})}},{name:"state",query:!0,regex:_s,populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:ys.STATE,value:i})}},{name:"id",query:!0,regex:"\\#("+ws.id+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:ys.ID,value:As(i)})}},{name:"className",query:!0,regex:"\\.("+ws.className+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:ys.CLASS,value:As(i)})}},{name:"dataExists",query:!0,regex:"\\[\\s*("+ws.variable+")\\s*\\]",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:ys.DATA_EXIST,field:As(i)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+ws.variable+")\\s*("+ws.comparatorOp+")\\s*("+ws.value+")\\s*\\]",populate:function(t,e,n){var i=o(n,3),r=i[0],a=i[1],s=i[2];s=null!=new RegExp("^"+ws.string+"$").exec(s)?s.substring(1,s.length-1):parseFloat(s),e.checks.push({type:ys.DATA_COMPARE,field:As(r),operator:a,value:s})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+ws.boolOp+")\\s*("+ws.variable+")\\s*\\]",populate:function(t,e,n){var i=o(n,2),r=i[0],a=i[1];e.checks.push({type:ys.DATA_BOOL,field:As(a),operator:r})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+ws.meta+")\\s*("+ws.comparatorOp+")\\s*("+ws.number+")\\s*\\]\\]",populate:function(t,e,n){var i=o(n,3),r=i[0],a=i[1],s=i[2];e.checks.push({type:ys.META_COMPARE,field:As(r),operator:a,value:parseFloat(s)})}},{name:"nextQuery",separator:!0,regex:ws.separator,populate:function(t,e){var n=t.currentSubject,i=t.edgeCount,r=t.compoundCount,a=t[t.length-1];return null!=n&&(a.subject=n,t.currentSubject=null),a.edgeCount=i,a.compoundCount=r,t.edgeCount=0,t.compoundCount=0,t[t.length++]=ms()}},{name:"directedEdge",separator:!0,regex:ws.directedEdge,populate:function(t,e){if(null==t.currentSubject){var n=ms(),i=e,r=ms();return n.checks.push({type:ys.DIRECTED_EDGE,source:i,target:r}),Es(t,e,n),t.edgeCount++,r}var a=ms(),o=e,s=ms();return a.checks.push({type:ys.NODE_SOURCE,source:o,target:s}),Es(t,e,a),t.edgeCount++,s}},{name:"undirectedEdge",separator:!0,regex:ws.undirectedEdge,populate:function(t,e){if(null==t.currentSubject){var n=ms(),i=e,r=ms();return n.checks.push({type:ys.UNDIRECTED_EDGE,nodes:[i,r]}),Es(t,e,n),t.edgeCount++,r}var a=ms(),o=e,s=ms();return a.checks.push({type:ys.NODE_NEIGHBOR,node:o,neighbor:s}),Es(t,e,a),s}},{name:"child",separator:!0,regex:ws.child,populate:function(t,e){if(null==t.currentSubject){var n=ms(),i=ms(),r=t[t.length-1];return n.checks.push({type:ys.CHILD,parent:r,child:i}),Es(t,e,n),t.compoundCount++,i}if(t.currentSubject===e){var a=ms(),o=t[t.length-1],s=ms(),c=ms(),u=ms(),l=ms();return a.checks.push({type:ys.COMPOUND_SPLIT,left:o,right:s,subject:c}),c.checks=e.checks,e.checks=[{type:ys.TRUE}],l.checks.push({type:ys.TRUE}),s.checks.push({type:ys.PARENT,parent:l,child:u}),Es(t,o,a),t.currentSubject=c,t.compoundCount++,u}var h=ms(),f=ms(),d=[{type:ys.PARENT,parent:h,child:f}];return h.checks=e.checks,e.checks=d,t.compoundCount++,f}},{name:"descendant",separator:!0,regex:ws.descendant,populate:function(t,e){if(null==t.currentSubject){var n=ms(),i=ms(),r=t[t.length-1];return n.checks.push({type:ys.DESCENDANT,ancestor:r,descendant:i}),Es(t,e,n),t.compoundCount++,i}if(t.currentSubject===e){var a=ms(),o=t[t.length-1],s=ms(),c=ms(),u=ms(),l=ms();return a.checks.push({type:ys.COMPOUND_SPLIT,left:o,right:s,subject:c}),c.checks=e.checks,e.checks=[{type:ys.TRUE}],l.checks.push({type:ys.TRUE}),s.checks.push({type:ys.ANCESTOR,ancestor:l,descendant:u}),Es(t,o,a),t.currentSubject=c,t.compoundCount++,u}var h=ms(),f=ms(),d=[{type:ys.ANCESTOR,ancestor:h,descendant:f}];return h.checks=e.checks,e.checks=d,t.compoundCount++,f}},{name:"subject",modifier:!0,regex:ws.subject,populate:function(t,e){if(null!=t.currentSubject&&t.currentSubject!==e)return Ce("Redefinition of subject in selector `"+t.toString()+"`"),!1;t.currentSubject=e;var n=t[t.length-1].checks[0],i=null==n?null:n.type;i===ys.DIRECTED_EDGE?n.type=ys.NODE_TARGET:i===ys.UNDIRECTED_EDGE&&(n.type=ys.NODE_NEIGHBOR,n.node=n.nodes[1],n.neighbor=n.nodes[0],n.nodes=null)}}];Ts.forEach((function(t){return t.regexObj=new RegExp("^"+t.regex)}));var Cs=function(t){for(var e,n,i,r=0;r<Ts.length;r++){var a=Ts[r],o=a.name,s=t.match(a.regexObj);if(null!=s){n=s,e=a,i=o;var c=s[0];t=t.substring(c.length);break}}return{expr:e,match:n,name:i,remaining:t}},Ss=function(t){var e=t.match(/^\s+/);if(e){var n=e[0];t=t.substring(n.length)}return t},Is=function(t){var e=this,n=e.inputText=t,i=e[0]=ms();for(e.length=1,n=Ss(n);;){var r=Cs(n);if(null==r.expr)return Ce("The selector `"+t+"`is invalid"),!1;var a=r.match.slice(1),o=r.expr.populate(e,i,a);if(!1===o)return!1;if(null!=o&&(i=o),(n=r.remaining).match(/^\s*$/))break}var s=e[e.length-1];null!=e.currentSubject&&(s.subject=e.currentSubject),s.edgeCount=e.edgeCount,s.compoundCount=e.compoundCount;for(var c=0;c<e.length;c++){var u=e[c];if(u.compoundCount>0&&u.edgeCount>0)return Ce("The selector `"+t+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return Ce("The selector `"+t+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&Ce("The selector `"+t+"` 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},Ms=function(){if(null!=this.toStringCache)return this.toStringCache;for(var t=function(t){return null==t?"":t},e=function(e){return y(e)?'"'+e+'"':t(e)},n=function(t){return" "+t+" "},i=function(i,a){var o=i.type,s=i.value;switch(o){case ys.GROUP:var c=t(s);return c.substring(0,c.length-1);case ys.DATA_COMPARE:var u=i.field,l=i.operator;return"["+u+n(t(l))+e(s)+"]";case ys.DATA_BOOL:var h=i.operator,f=i.field;return"["+t(h)+f+"]";case ys.DATA_EXIST:return"["+i.field+"]";case ys.META_COMPARE:var d=i.operator;return"[["+i.field+n(t(d))+e(s)+"]]";case ys.STATE:return s;case ys.ID:return"#"+s;case ys.CLASS:return"."+s;case ys.PARENT:case ys.CHILD:return r(i.parent,a)+n(">")+r(i.child,a);case ys.ANCESTOR:case ys.DESCENDANT:return r(i.ancestor,a)+" "+r(i.descendant,a);case ys.COMPOUND_SPLIT:var g=r(i.left,a),p=r(i.subject,a),b=r(i.right,a);return g+(g.length>0?" ":"")+p+b;case ys.TRUE:return""}},r=function(t,e){return t.checks.reduce((function(n,r,a){return n+(e===t&&0===a?"$":"")+i(r,e)}),"")},a="",o=0;o<this.length;o++){var s=this[o];a+=r(s,s.subject),this.length>1&&o<this.length-1&&(a+=", ")}return this.toStringCache=a,a},Ds={parse:Is,toString:Ms},Os=function(t,e,n){var i,r,a,o=y(t),s=A(t),c=y(n),u=!1,l=!1,h=!1;switch(e.indexOf("!")>=0&&(e=e.replace("!",""),l=!0),e.indexOf("@")>=0&&(e=e.replace("@",""),u=!0),(o||c||u)&&(r=o||s?""+t:"",a=""+n),u&&(t=r=r.toLowerCase(),n=a=a.toLowerCase()),e){case"*=":i=r.indexOf(a)>=0;break;case"$=":i=r.indexOf(a,r.length-a.length)>=0;break;case"^=":i=0===r.indexOf(a);break;case"=":i=t===n;break;case">":h=!0,i=t>n;break;case">=":h=!0,i=t>=n;break;case"<":h=!0,i=t<n;break;case"<=":h=!0,i=t<=n;break;default:i=!1}return!l||null==t&&h||(i=!i),i},Ls=function(t,e){switch(e){case"?":return!!t;case"!":return!t;case"^":return void 0===t}},Ns=function(t){return void 0!==t},Ps=function(t,e){return t.data(e)},Bs=function(t,e){return t[e]()},Fs=[],Rs=function(t,e){return t.checks.every((function(t){return Fs[t.type](t,e)}))};Fs[ys.GROUP]=function(t,e){var n=t.value;return"*"===n||n===e.group()},Fs[ys.STATE]=function(t,e){var n=t.value;return ks(n,e)},Fs[ys.ID]=function(t,e){var n=t.value;return e.id()===n},Fs[ys.CLASS]=function(t,e){var n=t.value;return e.hasClass(n)},Fs[ys.META_COMPARE]=function(t,e){var n=t.field,i=t.operator,r=t.value;return Os(Bs(e,n),i,r)},Fs[ys.DATA_COMPARE]=function(t,e){var n=t.field,i=t.operator,r=t.value;return Os(Ps(e,n),i,r)},Fs[ys.DATA_BOOL]=function(t,e){var n=t.field,i=t.operator;return Ls(Ps(e,n),i)},Fs[ys.DATA_EXIST]=function(t,e){var n=t.field;return t.operator,Ns(Ps(e,n))},Fs[ys.UNDIRECTED_EDGE]=function(t,e){var n=t.nodes[0],i=t.nodes[1],r=e.source(),a=e.target();return Rs(n,r)&&Rs(i,a)||Rs(i,r)&&Rs(n,a)},Fs[ys.NODE_NEIGHBOR]=function(t,e){return Rs(t.node,e)&&e.neighborhood().some((function(e){return e.isNode()&&Rs(t.neighbor,e)}))},Fs[ys.DIRECTED_EDGE]=function(t,e){return Rs(t.source,e.source())&&Rs(t.target,e.target())},Fs[ys.NODE_SOURCE]=function(t,e){return Rs(t.source,e)&&e.outgoers().some((function(e){return e.isNode()&&Rs(t.target,e)}))},Fs[ys.NODE_TARGET]=function(t,e){return Rs(t.target,e)&&e.incomers().some((function(e){return e.isNode()&&Rs(t.source,e)}))},Fs[ys.CHILD]=function(t,e){return Rs(t.child,e)&&Rs(t.parent,e.parent())},Fs[ys.PARENT]=function(t,e){return Rs(t.parent,e)&&e.children().some((function(e){return Rs(t.child,e)}))},Fs[ys.DESCENDANT]=function(t,e){return Rs(t.descendant,e)&&e.ancestors().some((function(e){return Rs(t.ancestor,e)}))},Fs[ys.ANCESTOR]=function(t,e){return Rs(t.ancestor,e)&&e.descendants().some((function(e){return Rs(t.descendant,e)}))},Fs[ys.COMPOUND_SPLIT]=function(t,e){return Rs(t.subject,e)&&Rs(t.left,e)&&Rs(t.right,e)},Fs[ys.TRUE]=function(){return!0},Fs[ys.COLLECTION]=function(t,e){return t.value.has(e)},Fs[ys.FILTER]=function(t,e){return(0,t.value)(e)};var js=function(t){var e=this;if(1===e.length&&1===e[0].checks.length&&e[0].checks[0].type===ys.ID)return t.getElementById(e[0].checks[0].value).collection();var n=function(t){for(var n=0;n<e.length;n++){var i=e[n];if(Rs(i,t))return!0}return!1};return null==e.text()&&(n=function(){return!0}),t.filter(n)},$s={matches:function(t){for(var e=this,n=0;n<e.length;n++){var i=e[n];if(Rs(i,t))return!0}return!1},filter:js},zs=function(t){this.inputText=t,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,null==t||y(t)&&t.match(/^\s*$/)||(C(t)?this.addQuery({checks:[{type:ys.COLLECTION,value:t.collection()}]}):v(t)?this.addQuery({checks:[{type:ys.FILTER,value:t}]}):y(t)?this.parse(t)||(this.invalid=!0):Ee("A selector must be created from a string; found "))},qs=zs.prototype;[Ds,$s].forEach((function(t){return Q(qs,t)})),qs.text=function(){return this.inputText},qs.size=function(){return this.length},qs.eq=function(t){return this[t]},qs.sameText=function(t){return!this.invalid&&!t.invalid&&this.text()===t.text()},qs.addQuery=function(t){this[this.length++]=t},qs.selector=qs.toString;var Hs={allAre:function(t){var e=new zs(t);return this.every((function(t){return e.matches(t)}))},is:function(t){var e=new zs(t);return this.some((function(t){return e.matches(t)}))},some:function(t,e){for(var n=0;n<this.length;n++)if(e?t.apply(e,[this[n],n,this]):t(this[n],n,this))return!0;return!1},every:function(t,e){for(var n=0;n<this.length;n++)if(!(e?t.apply(e,[this[n],n,this]):t(this[n],n,this)))return!1;return!0},same:function(t){if(this===t)return!0;t=this.cy().collection(t);var e=this.length;return e===t.length&&(1===e?this[0]===t[0]:this.every((function(e){return t.hasElementWithId(e.id())})))},anySame:function(t){return t=this.cy().collection(t),this.some((function(e){return t.hasElementWithId(e.id())}))},allAreNeighbors:function(t){t=this.cy().collection(t);var e=this.neighborhood();return t.every((function(t){return e.hasElementWithId(t.id())}))},contains:function(t){t=this.cy().collection(t);var e=this;return t.every((function(t){return e.hasElementWithId(t.id())}))}};Hs.allAreNeighbours=Hs.allAreNeighbors,Hs.has=Hs.contains,Hs.equal=Hs.equals=Hs.same;var Us,Gs,Ys=function(t,e){return function(n,i,r,a){var o,s=n,c=this;if(null==s?o="":C(s)&&1===s.length&&(o=s.id()),1===c.length&&o){var u=c[0]._private,l=u.traversalCache=u.traversalCache||{},h=l[e]=l[e]||[],f=ge(o),d=h[f];return d||(h[f]=t.call(c,n,i,r,a))}return t.call(c,n,i,r,a)}},Zs={parent:function(t){var e=[];if(1===this.length){var n=this[0]._private.parent;if(n)return n}for(var i=0;i<this.length;i++){var r=this[i]._private.parent;r&&e.push(r)}return this.spawn(e,!0).filter(t)},parents:function(t){for(var e=[],n=this.parent();n.nonempty();){for(var i=0;i<n.length;i++){var r=n[i];e.push(r)}n=n.parent()}return this.spawn(e,!0).filter(t)},commonAncestors:function(t){for(var e,n=0;n<this.length;n++){var i=this[n].parents();e=(e=e||i).intersect(i)}return e.filter(t)},orphans:function(t){return this.stdFilter((function(t){return t.isOrphan()})).filter(t)},nonorphans:function(t){return this.stdFilter((function(t){return t.isChild()})).filter(t)},children:Ys((function(t){for(var e=[],n=0;n<this.length;n++)for(var i=this[n]._private.children,r=0;r<i.length;r++)e.push(i[r]);return this.spawn(e,!0).filter(t)}),"children"),siblings:function(t){return this.parent().children().not(this).filter(t)},isParent:function(){var t=this[0];if(t)return t.isNode()&&0!==t._private.children.length},isChildless:function(){var t=this[0];if(t)return t.isNode()&&0===t._private.children.length},isChild:function(){var t=this[0];if(t)return t.isNode()&&null!=t._private.parent},isOrphan:function(){var t=this[0];if(t)return t.isNode()&&null==t._private.parent},descendants:function(t){var e=[];function n(t){for(var i=0;i<t.length;i++){var r=t[i];e.push(r),r.children().nonempty()&&n(r.children())}}return n(this.children()),this.spawn(e,!0).filter(t)}};function Ws(t,e,n,i){for(var r=[],a=new Ue,o=t.cy().hasCompoundNodes(),s=0;s<t.length;s++){var c=t[s];n?r.push(c):o&&i(r,a,c)}for(;r.length>0;){var u=r.shift();e(u),a.add(u.id()),o&&i(r,a,u)}return t}function Ks(t,e,n){if(n.isParent())for(var i=n._private.children,r=0;r<i.length;r++){var a=i[r];e.has(a.id())||t.push(a)}}function Xs(t,e,n){if(n.isChild()){var i=n._private.parent;e.has(i.id())||t.push(i)}}function Vs(t,e,n){Xs(t,e,n),Ks(t,e,n)}Zs.forEachDown=function(t){return Ws(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ks)},Zs.forEachUp=function(t){return Ws(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Xs)},Zs.forEachUpAndDown=function(t){return Ws(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Vs)},Zs.ancestors=Zs.parents,(Us=Gs={data:gs.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:gs.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:gs.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:gs.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:gs.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:gs.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var t=this[0];if(t)return t._private.data.id}}).attr=Us.data,Us.removeAttr=Us.removeData;var Qs,Js,tc=Gs,ec={};function nc(t){return function(e){var n=this;if(void 0===e&&(e=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var i=0,r=n[0],a=r._private.edges,o=0;o<a.length;o++){var s=a[o];!e&&s.isLoop()||(i+=t(r,s))}return i}}}function ic(t,e){return function(n){for(var i,r=this.nodes(),a=0;a<r.length;a++){var o=r[a][t](n);void 0===o||void 0!==i&&!e(o,i)||(i=o)}return i}}Q(ec,{degree:nc((function(t,e){return e.source().same(e.target())?2:1})),indegree:nc((function(t,e){return e.target().same(t)?1:0})),outdegree:nc((function(t,e){return e.source().same(t)?1:0}))}),Q(ec,{minDegree:ic("degree",(function(t,e){return t<e})),maxDegree:ic("degree",(function(t,e){return t>e})),minIndegree:ic("indegree",(function(t,e){return t<e})),maxIndegree:ic("indegree",(function(t,e){return t>e})),minOutdegree:ic("outdegree",(function(t,e){return t<e})),maxOutdegree:ic("outdegree",(function(t,e){return t>e}))}),Q(ec,{totalDegree:function(t){for(var e=0,n=this.nodes(),i=0;i<n.length;i++)e+=n[i].degree(t);return e}});var rc=function(t,e,n){for(var i=0;i<t.length;i++){var r=t[i];if(!r.locked()){var a=r._private.position,o={x:null!=e.x?e.x-a.x:0,y:null!=e.y?e.y-a.y:0};!r.isParent()||0===o.x&&0===o.y||r.children().shift(o,n),r.dirtyBoundingBoxCache()}}},ac={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(t){t.updateCompoundBounds()},beforeSet:function(t,e){rc(t,e,!1)},onSet:function(t){t.dirtyCompoundBoundsCache()},canSet:function(t){return!t.locked()}};Qs=Js={position:gs.data(ac),silentPosition:gs.data(Q({},ac,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(t,e){rc(t,e,!0)},onSet:function(t){t.dirtyCompoundBoundsCache()}})),positions:function(t,e){if(k(t))e?this.silentPosition(t):this.position(t);else if(v(t)){var n=t,i=this.cy();i.startBatch();for(var r=0;r<this.length;r++){var a=this[r],o=void 0;(o=n(a,r))&&(e?a.silentPosition(o):a.position(o))}i.endBatch()}return this},silentPositions:function(t){return this.positions(t,!0)},shift:function(t,e,n){var i;if(k(t)?(i={x:A(t.x)?t.x:0,y:A(t.y)?t.y:0},n=e):y(t)&&A(e)&&((i={x:0,y:0})[t]=e),null!=i){var r=this.cy();r.startBatch();for(var a=0;a<this.length;a++){var o=this[a];if(!(r.hasCompoundNodes()&&o.isChild()&&o.ancestors().anySame(this))){var s=o.position(),c={x:s.x+i.x,y:s.y+i.y};n?o.silentPosition(c):o.position(c)}}r.endBatch()}return this},silentShift:function(t,e){return k(t)?this.shift(t,!0):y(t)&&A(e)&&this.shift(t,e,!0),this},renderedPosition:function(t,e){var n=this[0],i=this.cy(),r=i.zoom(),a=i.pan(),o=k(t)?t:void 0,s=void 0!==o||void 0!==e&&y(t);if(n&&n.isNode()){if(!s){var c=n.position();return o=hn(c,r,a),void 0===t?o:o[t]}for(var u=0;u<this.length;u++){var l=this[u];void 0!==e?l.position(t,(e-a[t])/r):void 0!==o&&l.position(fn(o,r,a))}}else if(!s)return;return this},relativePosition:function(t,e){var n=this[0],i=this.cy(),r=k(t)?t:void 0,a=void 0!==r||void 0!==e&&y(t),o=i.hasCompoundNodes();if(n&&n.isNode()){if(!a){var s=n.position(),c=o?n.parent():null,u=c&&c.length>0,l=u;u&&(c=c[0]);var h=l?c.position():{x:0,y:0};return r={x:s.x-h.x,y:s.y-h.y},void 0===t?r:r[t]}for(var f=0;f<this.length;f++){var d=this[f],g=o?d.parent():null,p=g&&g.length>0,b=p;p&&(g=g[0]);var w=b?g.position():{x:0,y:0};void 0!==e?d.position(t,e+w[t]):void 0!==r&&d.position({x:r.x+w.x,y:r.y+w.y})}}else if(!a)return;return this}},Qs.modelPosition=Qs.point=Qs.position,Qs.modelPositions=Qs.points=Qs.positions,Qs.renderedPoint=Qs.renderedPosition,Qs.relativePoint=Qs.relativePosition;var oc,sc,cc=Js;oc=sc={},sc.renderedBoundingBox=function(t){var e=this.boundingBox(t),n=this.cy(),i=n.zoom(),r=n.pan(),a=e.x1*i+r.x,o=e.x2*i+r.x,s=e.y1*i+r.y,c=e.y2*i+r.y;return{x1:a,x2:o,y1:s,y2:c,w:o-a,h:c-s}},sc.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();return e.styleEnabled()&&e.hasCompoundNodes()?(this.forEachUp((function(e){if(e.isParent()){var n=e._private;n.compoundBoundsClean=!1,n.bbCache=null,t||e.emitAndNotify("bounds")}})),this):this},sc.updateCompoundBounds=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function n(t){if(t.isParent()){var e=t._private,n=t.children(),i="include"===t.pstyle("compound-sizing-wrt-labels").value,r={width:{val:t.pstyle("min-width").pfValue,left:t.pstyle("min-width-bias-left"),right:t.pstyle("min-width-bias-right")},height:{val:t.pstyle("min-height").pfValue,top:t.pstyle("min-height-bias-top"),bottom:t.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:i,includeOverlays:!1,useCache:!1}),o=e.position;0!==a.w&&0!==a.h||((a={w:t.pstyle("width").pfValue,h:t.pstyle("height").pfValue}).x1=o.x-a.w/2,a.x2=o.x+a.w/2,a.y1=o.y-a.h/2,a.y2=o.y+a.h/2);var s=r.width.left.value;"px"===r.width.left.units&&r.width.val>0&&(s=100*s/r.width.val);var c=r.width.right.value;"px"===r.width.right.units&&r.width.val>0&&(c=100*c/r.width.val);var u=r.height.top.value;"px"===r.height.top.units&&r.height.val>0&&(u=100*u/r.height.val);var l=r.height.bottom.value;"px"===r.height.bottom.units&&r.height.val>0&&(l=100*l/r.height.val);var h=w(r.width.val-a.w,s,c),f=h.biasDiff,d=h.biasComplementDiff,g=w(r.height.val-a.h,u,l),p=g.biasDiff,b=g.biasComplementDiff;e.autoPadding=m(a.w,a.h,t.pstyle("padding"),t.pstyle("padding-relative-to").value),e.autoWidth=Math.max(a.w,r.width.val),o.x=(-f+a.x1+a.x2+d)/2,e.autoHeight=Math.max(a.h,r.height.val),o.y=(-p+a.y1+a.y2+b)/2}function w(t,e,n){var i=0,r=0,a=e+n;return t>0&&a>0&&(i=e/a*t,r=n/a*t),{biasDiff:i,biasComplementDiff:r}}function m(t,e,n,i){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(i){case"width":return t>0?n.pfValue*t:0;case"height":return e>0?n.pfValue*e:0;case"average":return t>0&&e>0?n.pfValue*(t+e)/2:0;case"min":return t>0&&e>0?t>e?n.pfValue*e:n.pfValue*t:0;case"max":return t>0&&e>0?t>e?n.pfValue*t:n.pfValue*e:0;default:return 0}}}for(var i=0;i<this.length;i++){var r=this[i],a=r._private;a.compoundBoundsClean&&!t||(n(r),e.batching()||(a.compoundBoundsClean=!0))}return this};var uc=function(t){return t===1/0||t===-1/0?0:t},lc=function(t,e,n,i,r){i-e!=0&&r-n!=0&&null!=e&&null!=n&&null!=i&&null!=r&&(t.x1=e<t.x1?e:t.x1,t.x2=i>t.x2?i:t.x2,t.y1=n<t.y1?n:t.y1,t.y2=r>t.y2?r:t.y2,t.w=t.x2-t.x1,t.h=t.y2-t.y1)},hc=function(t,e){return null==e?t:lc(t,e.x1,e.y1,e.x2,e.y2)},fc=function(t,e,n){return Re(t,e,n)},dc=function(t,e,n){if(!e.cy().headless()){var i,r,a=e._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==e.pstyle(n+"-arrow-shape").value){"source"===n?(i=o.srcX,r=o.srcY):"target"===n?(i=o.tgtX,r=o.tgtY):(i=o.midX,r=o.midY);var c=a.arrowBounds=a.arrowBounds||{},u=c[n]=c[n]||{};u.x1=i-s,u.y1=r-s,u.x2=i+s,u.y2=r+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,Nn(u,1),lc(t,u.x1,u.y1,u.x2,u.y2)}}},gc=function(t,e,n){if(!e.cy().headless()){var i;i=n?n+"-":"";var r=e._private,a=r.rstyle;if(e.pstyle(i+"label").strValue){var o,s,c,u,l=e.pstyle("text-halign"),h=e.pstyle("text-valign"),f=fc(a,"labelWidth",n),d=fc(a,"labelHeight",n),g=fc(a,"labelX",n),p=fc(a,"labelY",n),b=e.pstyle(i+"text-margin-x").pfValue,w=e.pstyle(i+"text-margin-y").pfValue,m=e.isEdge(),y=e.pstyle(i+"text-rotation"),v=e.pstyle("text-outline-width").pfValue,x=e.pstyle("text-border-width").pfValue/2,k=e.pstyle("text-background-padding").pfValue,_=2,A=d,E=f,T=E/2,C=A/2;if(m)o=g-T,s=g+T,c=p-C,u=p+C;else{switch(l.value){case"left":o=g-E,s=g;break;case"center":o=g-T,s=g+T;break;case"right":o=g,s=g+E}switch(h.value){case"top":c=p-A,u=p;break;case"center":c=p-C,u=p+C;break;case"bottom":c=p,u=p+A}}o+=b-Math.max(v,x)-k-_,s+=b+Math.max(v,x)+k+_,c+=w-Math.max(v,x)-k-_,u+=w+Math.max(v,x)+k+_;var S=n||"main",I=r.labelBounds,M=I[S]=I[S]||{};M.x1=o,M.y1=c,M.x2=s,M.y2=u,M.w=s-o,M.h=u-c;var D=m&&"autorotate"===y.strValue,O=null!=y.pfValue&&0!==y.pfValue;if(D||O){var L=D?fc(r.rstyle,"labelAngle",n):y.pfValue,N=Math.cos(L),P=Math.sin(L),B=(o+s)/2,F=(c+u)/2;if(!m){switch(l.value){case"left":B=s;break;case"right":B=o}switch(h.value){case"top":F=u;break;case"bottom":F=c}}var R=function(t,e){return{x:(t-=B)*N-(e-=F)*P+B,y:t*P+e*N+F}},j=R(o,c),$=R(o,u),z=R(s,c),q=R(s,u);o=Math.min(j.x,$.x,z.x,q.x),s=Math.max(j.x,$.x,z.x,q.x),c=Math.min(j.y,$.y,z.y,q.y),u=Math.max(j.y,$.y,z.y,q.y)}var H=S+"Rot",U=I[H]=I[H]||{};U.x1=o,U.y1=c,U.x2=s,U.y2=u,U.w=s-o,U.h=u-c,lc(t,o,c,s,u),lc(r.labelBounds.all,o,c,s,u)}return t}},pc=function(t,e){var n,i,r,a,o,s,c=t._private.cy,u=c.styleEnabled(),l=c.headless(),h=In(),f=t._private,d=t.isNode(),g=t.isEdge(),p=f.rstyle,b=d&&u?t.pstyle("bounds-expansion").pfValue:[0],w=function(t){return"none"!==t.pstyle("display").value},m=!u||w(t)&&(!g||w(t.source())&&w(t.target()));if(m){var y=0;u&&e.includeOverlays&&0!==t.pstyle("overlay-opacity").value&&(y=t.pstyle("overlay-padding").value);var v=0;u&&e.includeUnderlays&&0!==t.pstyle("underlay-opacity").value&&(v=t.pstyle("underlay-padding").value);var x=Math.max(y,v),k=0;if(u&&(k=t.pstyle("width").pfValue/2),d&&e.includeNodes){var _=t.position();o=_.x,s=_.y;var A=t.outerWidth()/2,E=t.outerHeight()/2;lc(h,n=o-A,r=s-E,i=o+A,a=s+E)}else if(g&&e.includeEdges)if(u&&!l){var T=t.pstyle("curve-style").strValue;if(n=Math.min(p.srcX,p.midX,p.tgtX),i=Math.max(p.srcX,p.midX,p.tgtX),r=Math.min(p.srcY,p.midY,p.tgtY),a=Math.max(p.srcY,p.midY,p.tgtY),lc(h,n-=k,r-=k,i+=k,a+=k),"haystack"===T){var C=p.haystackPts;if(C&&2===C.length){if(n=C[0].x,r=C[0].y,n>(i=C[1].x)){var S=n;n=i,i=S}if(r>(a=C[1].y)){var I=r;r=a,a=I}lc(h,n-k,r-k,i+k,a+k)}}else if("bezier"===T||"unbundled-bezier"===T||"segments"===T||"taxi"===T){var M;switch(T){case"bezier":case"unbundled-bezier":M=p.bezierPts;break;case"segments":case"taxi":M=p.linePts}if(null!=M)for(var D=0;D<M.length;D++){var O=M[D];n=O.x-k,i=O.x+k,r=O.y-k,a=O.y+k,lc(h,n,r,i,a)}}}else{var L=t.source().position(),N=t.target().position();if((n=L.x)>(i=N.x)){var P=n;n=i,i=P}if((r=L.y)>(a=N.y)){var B=r;r=a,a=B}lc(h,n-=k,r-=k,i+=k,a+=k)}if(u&&e.includeEdges&&g&&(dc(h,t,"mid-source"),dc(h,t,"mid-target"),dc(h,t,"source"),dc(h,t,"target")),u&&"yes"===t.pstyle("ghost").value){var F=t.pstyle("ghost-offset-x").pfValue,R=t.pstyle("ghost-offset-y").pfValue;lc(h,h.x1+F,h.y1+R,h.x2+F,h.y2+R)}var j=f.bodyBounds=f.bodyBounds||{};Bn(j,h),Pn(j,b),Nn(j,1),u&&(n=h.x1,i=h.x2,r=h.y1,a=h.y2,lc(h,n-x,r-x,i+x,a+x));var $=f.overlayBounds=f.overlayBounds||{};Bn($,h),Pn($,b),Nn($,1);var z=f.labelBounds=f.labelBounds||{};null!=z.all?Dn(z.all):z.all=In(),u&&e.includeLabels&&(e.includeMainLabels&&gc(h,t,null),g&&(e.includeSourceLabels&&gc(h,t,"source"),e.includeTargetLabels&&gc(h,t,"target")))}return h.x1=uc(h.x1),h.y1=uc(h.y1),h.x2=uc(h.x2),h.y2=uc(h.y2),h.w=uc(h.x2-h.x1),h.h=uc(h.y2-h.y1),h.w>0&&h.h>0&&m&&(Pn(h,b),Nn(h,1)),h},bc=function(t){var e=0,n=function(t){return(t?1:0)<<e++},i=0;return i+=n(t.incudeNodes),i+=n(t.includeEdges),i+=n(t.includeLabels),i+=n(t.includeMainLabels),i+=n(t.includeSourceLabels),i+=n(t.includeTargetLabels),i+=n(t.includeOverlays)},wc=function(t){if(t.isEdge()){var e=t.source().position(),n=t.target().position(),i=function(t){return Math.round(t)};return de([i(e.x),i(e.y),i(n.x),i(n.y)])}return 0},mc=function(t,e){var n,i=t._private,r=t.isEdge(),a=(null==e?vc:bc(e))===vc,o=wc(t),s=i.bbCachePosKey===o,c=e.useCache&&s,u=function(t){return null==t._private.bbCache||t._private.styleDirty};if(!c||u(t)||r&&u(t.source())||u(t.target())?(s||t.recalculateRenderedStyle(c),n=pc(t,yc),i.bbCache=n,i.bbCachePosKey=o):n=i.bbCache,!a){var l=t.isNode();n=In(),(e.includeNodes&&l||e.includeEdges&&!l)&&(e.includeOverlays?hc(n,i.overlayBounds):hc(n,i.bodyBounds)),e.includeLabels&&(e.includeMainLabels&&(!r||e.includeSourceLabels&&e.includeTargetLabels)?hc(n,i.labelBounds.all):(e.includeMainLabels&&hc(n,i.labelBounds.mainRot),e.includeSourceLabels&&hc(n,i.labelBounds.sourceRot),e.includeTargetLabels&&hc(n,i.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},yc={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},vc=bc(yc),xc=Ne(yc);sc.boundingBox=function(t){var e;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==t&&void 0!==t.useCache&&!0!==t.useCache){e=In();var n=xc(t=t||yc),i=this;if(i.cy().styleEnabled())for(var r=0;r<i.length;r++){var a=i[r],o=a._private,s=wc(a),c=o.bbCachePosKey===s,u=n.useCache&&c&&!o.styleDirty;a.recalculateRenderedStyle(u)}this.updateCompoundBounds(!t.useCache);for(var l=0;l<i.length;l++){var h=i[l];hc(e,mc(h,n))}}else t=void 0===t?yc:xc(t),e=mc(this[0],t);return e.x1=uc(e.x1),e.y1=uc(e.y1),e.x2=uc(e.x2),e.y2=uc(e.y2),e.w=uc(e.x2-e.x1),e.h=uc(e.y2-e.y1),e},sc.dirtyBoundingBoxCache=function(){for(var t=0;t<this.length;t++){var e=this[t]._private;e.bbCache=null,e.bbCachePosKey=null,e.bodyBounds=null,e.overlayBounds=null,e.labelBounds.all=null,e.labelBounds.source=null,e.labelBounds.target=null,e.labelBounds.main=null,e.labelBounds.sourceRot=null,e.labelBounds.targetRot=null,e.labelBounds.mainRot=null,e.arrowBounds.source=null,e.arrowBounds.target=null,e.arrowBounds["mid-source"]=null,e.arrowBounds["mid-target"]=null}return this.emitAndNotify("bounds"),this},sc.boundingBoxAt=function(t){var e=this.nodes(),n=this.cy(),i=n.hasCompoundNodes(),r=n.collection();if(i&&(r=e.filter((function(t){return t.isParent()})),e=e.not(r)),k(t)){var a=t;t=function(){return a}}var o=function(e,n){return e._private.bbAtOldPos=t(e,n)},s=function(t){return t._private.bbAtOldPos};n.startBatch(),e.forEach(o).silentPositions(t),i&&(r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),r.updateCompoundBounds(!0));var c=Mn(this.boundingBox({useCache:!1}));return e.silentPositions(s),i&&(r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),r.updateCompoundBounds(!0)),n.endBatch(),c},oc.boundingbox=oc.bb=oc.boundingBox,oc.renderedBoundingbox=oc.renderedBoundingBox;var kc,_c,Ac=sc;kc=_c={};var Ec=function(t){t.uppercaseName=q(t.name),t.autoName="auto"+t.uppercaseName,t.labelName="label"+t.uppercaseName,t.outerName="outer"+t.uppercaseName,t.uppercaseOuterName=q(t.outerName),kc[t.name]=function(){var e=this[0],n=e._private,i=n.cy._private.styleEnabled;if(e){if(i){if(e.isParent())return e.updateCompoundBounds(),n[t.autoName]||0;var r=e.pstyle(t.name);return"label"===r.strValue?(e.recalculateRenderedStyle(),n.rstyle[t.labelName]||0):r.pfValue}return 1}},kc["outer"+t.uppercaseName]=function(){var e=this[0],n=e._private.cy._private.styleEnabled;if(e)return n?e[t.name]()+e.pstyle("border-width").pfValue+2*e.padding():1},kc["rendered"+t.uppercaseName]=function(){var e=this[0];if(e)return e[t.name]()*this.cy().zoom()},kc["rendered"+t.uppercaseOuterName]=function(){var e=this[0];if(e)return e[t.outerName]()*this.cy().zoom()}};Ec({name:"width"}),Ec({name:"height"}),_c.padding=function(){var t=this[0],e=t._private;return t.isParent()?(t.updateCompoundBounds(),void 0!==e.autoPadding?e.autoPadding:t.pstyle("padding").pfValue):t.pstyle("padding").pfValue},_c.paddedHeight=function(){var t=this[0];return t.height()+2*t.padding()},_c.paddedWidth=function(){var t=this[0];return t.width()+2*t.padding()};var Tc=_c,Cc=function(t,e){if(t.isEdge())return e(t)},Sc=function(t,e){if(t.isEdge()){var n=t.cy();return hn(e(t),n.zoom(),n.pan())}},Ic=function(t,e){if(t.isEdge()){var n=t.cy(),i=n.pan(),r=n.zoom();return e(t).map((function(t){return hn(t,r,i)}))}},Mc={controlPoints:{get:function(t){return t.renderer().getControlPoints(t)},mult:!0},segmentPoints:{get:function(t){return t.renderer().getSegmentPoints(t)},mult:!0},sourceEndpoint:{get:function(t){return t.renderer().getSourceEndpoint(t)}},targetEndpoint:{get:function(t){return t.renderer().getTargetEndpoint(t)}},midpoint:{get:function(t){return t.renderer().getEdgeMidpoint(t)}}},Dc=function(t){return"rendered"+t[0].toUpperCase()+t.substr(1)},Oc=Object.keys(Mc).reduce((function(t,e){var n=Mc[e],i=Dc(e);return t[e]=function(){return Cc(this,n.get)},n.mult?t[i]=function(){return Ic(this,n.get)}:t[i]=function(){return Sc(this,n.get)},t}),{}),Lc=Q({},cc,Ac,Tc,Oc),Nc=function(t,e){this.recycle(t,e)};function Pc(){return!1}function Bc(){return!0}Nc.prototype={instanceString:function(){return"event"},recycle:function(t,e){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=Pc,null!=t&&t.preventDefault?(this.type=t.type,this.isDefaultPrevented=t.defaultPrevented?Bc:Pc):null!=t&&t.type?e=t:this.type=t,null!=e&&(this.originalEvent=e.originalEvent,this.type=null!=e.type?e.type:this.type,this.cy=e.cy,this.target=e.target,this.position=e.position,this.renderedPosition=e.renderedPosition,this.namespace=e.namespace,this.layout=e.layout),null!=this.cy&&null!=this.position&&null==this.renderedPosition){var n=this.position,i=this.cy.zoom(),r=this.cy.pan();this.renderedPosition={x:n.x*i+r.x,y:n.y*i+r.y}}this.timeStamp=t&&t.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=Bc;var t=this.originalEvent;t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){this.isPropagationStopped=Bc;var t=this.originalEvent;t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Bc,this.stopPropagation()},isDefaultPrevented:Pc,isPropagationStopped:Pc,isImmediatePropagationStopped:Pc};var Fc=/^([^.]+)(\.(?:[^.]+))?$/,Rc=".*",jc={qualifierCompare:function(t,e){return t===e},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(t){return t},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},$c=Object.keys(jc),zc={};function qc(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:zc,e=arguments.length>1?arguments[1]:void 0,n=0;n<$c.length;n++){var i=$c[n];this[i]=t[i]||jc[i]}this.context=e||this.context,this.listeners=[],this.emitting=0}var Hc=qc.prototype,Uc=function(t,e,n,i,r,a,o){v(i)&&(r=i,i=null),o&&(a=null==a?o:Q({},a,o));for(var s=x(n)?n:n.split(/\s+/),c=0;c<s.length;c++){var u=s[c];if(!L(u)){var l=u.match(Fc);if(l&&!1===e(t,u,l[1],l[2]?l[2]:null,i,r,a))break}}},Gc=function(t,e){return t.addEventFields(t.context,e),new Nc(e.type,e)},Yc=function(t,e,n){if(O(n))e(t,n);else if(k(n))e(t,Gc(t,n));else for(var i=x(n)?n:n.split(/\s+/),r=0;r<i.length;r++){var a=i[r];if(!L(a)){var o=a.match(Fc);if(o){var s=o[1],c=o[2]?o[2]:null;e(t,Gc(t,{type:s,namespace:c,target:t.context}))}}}};Hc.on=Hc.addListener=function(t,e,n,i,r){return Uc(this,(function(t,e,n,i,r,a,o){v(a)&&t.listeners.push({event:e,callback:a,type:n,namespace:i,qualifier:r,conf:o})}),t,e,n,i,r),this},Hc.one=function(t,e,n,i){return this.on(t,e,n,i,{one:!0})},Hc.removeListener=Hc.off=function(t,e,n,i){var r=this;0!==this.emitting&&(this.listeners=Me(this.listeners));for(var a=this.listeners,o=function(o){var s=a[o];Uc(r,(function(e,n,i,r,c,u){if((s.type===i||"*"===t)&&(!r&&".*"!==s.namespace||s.namespace===r)&&(!c||e.qualifierCompare(s.qualifier,c))&&(!u||s.callback===u))return a.splice(o,1),!1}),t,e,n,i)},s=a.length-1;s>=0;s--)o(s);return this},Hc.removeAllListeners=function(){return this.removeListener("*")},Hc.emit=Hc.trigger=function(t,e,n){var i=this.listeners,r=i.length;return this.emitting++,x(e)||(e=[e]),Yc(this,(function(t,a){null!=n&&(i=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}],r=i.length);for(var o=function(n){var r=i[n];if(r.type===a.type&&(!r.namespace||r.namespace===a.namespace||r.namespace===Rc)&&t.eventMatches(t.context,r,a)){var o=[a];null!=e&&Fe(o,e),t.beforeEmit(t.context,r,a),r.conf&&r.conf.one&&(t.listeners=t.listeners.filter((function(t){return t!==r})));var s=t.callbackContext(t.context,r,a),c=r.callback.apply(s,o);t.afterEmit(t.context,r,a),!1===c&&(a.stopPropagation(),a.preventDefault())}},s=0;s<r;s++)o(s);t.bubble(t.context)&&!a.isPropagationStopped()&&t.parent(t.context).emit(a,e)}),t),this.emitting--,this};var Zc={qualifierCompare:function(t,e){return null==t||null==e?null==t&&null==e:t.sameText(e)},eventMatches:function(t,e,n){var i=e.qualifier;return null==i||t!==n.target&&S(n.target)&&i.matches(n.target)},addEventFields:function(t,e){e.cy=t.cy(),e.target=t},callbackContext:function(t,e,n){return null!=e.qualifier?n.target:t},beforeEmit:function(t,e){e.conf&&e.conf.once&&e.conf.onceCollection.removeListener(e.event,e.qualifier,e.callback)},bubble:function(){return!0},parent:function(t){return t.isChild()?t.parent():t.cy()}},Wc=function(t){return y(t)?new zs(t):t},Kc={createEmitter:function(){for(var t=0;t<this.length;t++){var e=this[t],n=e._private;n.emitter||(n.emitter=new qc(Zc,e))}return this},emitter:function(){return this._private.emitter},on:function(t,e,n){for(var i=Wc(e),r=0;r<this.length;r++)this[r].emitter().on(t,i,n);return this},removeListener:function(t,e,n){for(var i=Wc(e),r=0;r<this.length;r++)this[r].emitter().removeListener(t,i,n);return this},removeAllListeners:function(){for(var t=0;t<this.length;t++)this[t].emitter().removeAllListeners();return this},one:function(t,e,n){for(var i=Wc(e),r=0;r<this.length;r++)this[r].emitter().one(t,i,n);return this},once:function(t,e,n){for(var i=Wc(e),r=0;r<this.length;r++)this[r].emitter().on(t,i,n,{once:!0,onceCollection:this})},emit:function(t,e){for(var n=0;n<this.length;n++)this[n].emitter().emit(t,e);return this},emitAndNotify:function(t,e){if(0!==this.length)return this.cy().notify(t,this),this.emit(t,e),this}};gs.eventAliasesOn(Kc);var Xc={nodes:function(t){return this.filter((function(t){return t.isNode()})).filter(t)},edges:function(t){return this.filter((function(t){return t.isEdge()})).filter(t)},byGroup:function(){for(var t=this.spawn(),e=this.spawn(),n=0;n<this.length;n++){var i=this[n];i.isNode()?t.push(i):e.push(i)}return{nodes:t,edges:e}},filter:function(t,e){if(void 0===t)return this;if(y(t)||C(t))return new zs(t).filter(this);if(v(t)){for(var n=this.spawn(),i=this,r=0;r<i.length;r++){var a=i[r];(e?t.apply(e,[a,r,i]):t(a,r,i))&&n.push(a)}return n}return this.spawn()},not:function(t){if(t){y(t)&&(t=this.filter(t));for(var e=this.spawn(),n=0;n<this.length;n++){var i=this[n];t.has(i)||e.push(i)}return e}return this},absoluteComplement:function(){return this.cy().mutableElements().not(this)},intersect:function(t){if(y(t)){var e=t;return this.filter(e)}for(var n=this.spawn(),i=this,r=t,a=this.length<t.length,o=a?i:r,s=a?r:i,c=0;c<o.length;c++){var u=o[c];s.has(u)&&n.push(u)}return n},xor:function(t){var e=this._private.cy;y(t)&&(t=e.$(t));var n=this.spawn(),i=this,r=t,a=function(t,e){for(var i=0;i<t.length;i++){var r=t[i],a=r._private.data.id;e.hasElementWithId(a)||n.push(r)}};return a(i,r),a(r,i),n},diff:function(t){var e=this._private.cy;y(t)&&(t=e.$(t));var n=this.spawn(),i=this.spawn(),r=this.spawn(),a=this,o=t,s=function(t,e,n){for(var i=0;i<t.length;i++){var a=t[i],o=a._private.data.id;e.hasElementWithId(o)?r.merge(a):n.push(a)}};return s(a,o,n),s(o,a,i),{left:n,right:i,both:r}},add:function(t){var e=this._private.cy;if(!t)return this;if(y(t)){var n=t;t=e.mutableElements().filter(n)}for(var i=this.spawnSelf(),r=0;r<t.length;r++){var a=t[r],o=!this.has(a);o&&i.push(a)}return i},merge:function(t){var e=this._private,n=e.cy;if(!t)return this;if(t&&y(t)){var i=t;t=n.mutableElements().filter(i)}for(var r=e.map,a=0;a<t.length;a++){var o=t[a],s=o._private.data.id;if(!r.has(s)){var c=this.length++;this[c]=o,r.set(s,{ele:o,index:c})}}return this},unmergeAt:function(t){var e=this[t].id(),n=this._private.map;this[t]=void 0,n.delete(e);var i=t===this.length-1;if(this.length>1&&!i){var r=this.length-1,a=this[r],o=a._private.data.id;this[r]=void 0,this[t]=a,n.set(o,{ele:a,index:t})}return this.length--,this},unmergeOne:function(t){t=t[0];var e=this._private,n=t._private.data.id,i=e.map.get(n);if(!i)return this;var r=i.index;return this.unmergeAt(r),this},unmerge:function(t){var e=this._private.cy;if(!t)return this;if(t&&y(t)){var n=t;t=e.mutableElements().filter(n)}for(var i=0;i<t.length;i++)this.unmergeOne(t[i]);return this},unmergeBy:function(t){for(var e=this.length-1;e>=0;e--)t(this[e])&&this.unmergeAt(e);return this},map:function(t,e){for(var n=[],i=this,r=0;r<i.length;r++){var a=i[r],o=e?t.apply(e,[a,r,i]):t(a,r,i);n.push(o)}return n},reduce:function(t,e){for(var n=e,i=this,r=0;r<i.length;r++)n=t(n,i[r],r,i);return n},max:function(t,e){for(var n,i=-1/0,r=this,a=0;a<r.length;a++){var o=r[a],s=e?t.apply(e,[o,a,r]):t(o,a,r);s>i&&(i=s,n=o)}return{value:i,ele:n}},min:function(t,e){for(var n,i=1/0,r=this,a=0;a<r.length;a++){var o=r[a],s=e?t.apply(e,[o,a,r]):t(o,a,r);s<i&&(i=s,n=o)}return{value:i,ele:n}}},Vc=Xc;Vc.u=Vc["|"]=Vc["+"]=Vc.union=Vc.or=Vc.add,Vc["\\"]=Vc["!"]=Vc["-"]=Vc.difference=Vc.relativeComplement=Vc.subtract=Vc.not,Vc.n=Vc["&"]=Vc["."]=Vc.and=Vc.intersection=Vc.intersect,Vc["^"]=Vc["(+)"]=Vc["(-)"]=Vc.symmetricDifference=Vc.symdiff=Vc.xor,Vc.fnFilter=Vc.filterFn=Vc.stdFilter=Vc.filter,Vc.complement=Vc.abscomp=Vc.absoluteComplement;var Qc={isNode:function(){return"nodes"===this.group()},isEdge:function(){return"edges"===this.group()},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var t=this[0];if(t)return t._private.group}},Jc=function(t,e){var n=t.cy().hasCompoundNodes();function i(t){var e=t.pstyle("z-compound-depth");return"auto"===e.value?n?t.zDepth():0:"bottom"===e.value?-1:"top"===e.value?ve:0}var r=i(t)-i(e);if(0!==r)return r;function a(t){return"auto"===t.pstyle("z-index-compare").value&&t.isNode()?1:0}var o=a(t)-a(e);if(0!==o)return o;var s=t.pstyle("z-index").value-e.pstyle("z-index").value;return 0!==s?s:t.poolIndex()-e.poolIndex()},tu={forEach:function(t,e){if(v(t))for(var n=this.length,i=0;i<n;i++){var r=this[i];if(!1===(e?t.apply(e,[r,i,this]):t(r,i,this)))break}return this},toArray:function(){for(var t=[],e=0;e<this.length;e++)t.push(this[e]);return t},slice:function(t,e){var n=[],i=this.length;null==e&&(e=i),null==t&&(t=0),t<0&&(t=i+t),e<0&&(e=i+e);for(var r=t;r>=0&&r<e&&r<i;r++)n.push(this[r]);return this.spawn(n)},size:function(){return this.length},eq:function(t){return this[t]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return 0===this.length},nonempty:function(){return!this.empty()},sort:function(t){if(!v(t))return this;var e=this.toArray().sort(t);return this.spawn(e)},sortByZIndex:function(){return this.sort(Jc)},zDepth:function(){var t=this[0];if(t){var e=t._private;if("nodes"===e.group){var n=e.data.parent?t.parents().size():0;return t.isParent()?n:ve-1}var i=e.source,r=e.target,a=i.zDepth(),o=r.zDepth();return Math.max(a,o,0)}}};tu.each=tu.forEach;var eu=function(){var e="undefined";("undefined"==typeof Symbol?"undefined":t(Symbol))!=e&&t(Symbol.iterator)!=e&&(tu[Symbol.iterator]=function(){var t=this,e={value:void 0,done:!1},n=0,i=this.length;return a({next:function(){return n<i?e.value=t[n++]:(e.value=void 0,e.done=!0),e}},Symbol.iterator,(function(){return this}))})};eu();var nu=Ne({nodeDimensionsIncludeLabels:!1}),iu={layoutDimensions:function(t){var e;if(t=nu(t),this.takesUpSpace())if(t.nodeDimensionsIncludeLabels){var n=this.boundingBox();e={w:n.w,h:n.h}}else e={w:this.outerWidth(),h:this.outerHeight()};else e={w:0,h:0};return 0!==e.w&&0!==e.h||(e.w=e.h=1),e},layoutPositions:function(t,e,n){var i=this.nodes().filter((function(t){return!t.isParent()})),r=this.cy(),a=e.eles,o=function(t){return t.id()},s=R(n,o);t.emit({type:"layoutstart",layout:t}),t.animations=[];var c=function(t,e,n){var i={x:e.x1+e.w/2,y:e.y1+e.h/2},r={x:(n.x-i.x)*t,y:(n.y-i.y)*t};return{x:i.x+r.x,y:i.y+r.y}},u=e.spacingFactor&&1!==e.spacingFactor,l=function(){if(!u)return null;for(var t=In(),e=0;e<i.length;e++){var n=i[e],r=s(n,e);Ln(t,r.x,r.y)}return t},h=l(),f=R((function(t,n){var i=s(t,n);if(u){var r=Math.abs(e.spacingFactor);i=c(r,h,i)}return null!=e.transform&&(i=e.transform(t,i)),i}),o);if(e.animate){for(var d=0;d<i.length;d++){var g=i[d],p=f(g,d);if(null==e.animateFilter||e.animateFilter(g,d)){var b=g.animation({position:p,duration:e.animationDuration,easing:e.animationEasing});t.animations.push(b)}else g.position(p)}if(e.fit){var w=r.animation({fit:{boundingBox:a.boundingBoxAt(f),padding:e.padding},duration:e.animationDuration,easing:e.animationEasing});t.animations.push(w)}else if(void 0!==e.zoom&&void 0!==e.pan){var m=r.animation({zoom:e.zoom,pan:e.pan,duration:e.animationDuration,easing:e.animationEasing});t.animations.push(m)}t.animations.forEach((function(t){return t.play()})),t.one("layoutready",e.ready),t.emit({type:"layoutready",layout:t}),zr.all(t.animations.map((function(t){return t.promise()}))).then((function(){t.one("layoutstop",e.stop),t.emit({type:"layoutstop",layout:t})}))}else i.positions(f),e.fit&&r.fit(e.eles,e.padding),null!=e.zoom&&r.zoom(e.zoom),e.pan&&r.pan(e.pan),t.one("layoutready",e.ready),t.emit({type:"layoutready",layout:t}),t.one("layoutstop",e.stop),t.emit({type:"layoutstop",layout:t});return this},layout:function(t){return this.cy().makeLayout(Q({},t,{eles:this}))}};function ru(t,e,n){var i,r=n._private,a=r.styleCache=r.styleCache||[];return null!=(i=a[t])?i:i=a[t]=e(n)}function au(t,e){return t=ge(t),function(n){return ru(t,e,n)}}function ou(t,e){t=ge(t);var n=function(t){return e.call(t)};return function(){var e=this[0];if(e)return ru(t,n,e)}}iu.createLayout=iu.makeLayout=iu.layout;var su={recalculateRenderedStyle:function(t){var e=this.cy(),n=e.renderer(),i=e.styleEnabled();return n&&i&&n.recalculateRenderedStyle(this,t),this},dirtyStyleCache:function(){var t,e=this.cy(),n=function(t){return t._private.styleCache=null};return e.hasCompoundNodes()?((t=this.spawnSelf().merge(this.descendants()).merge(this.parents())).merge(t.connectedEdges()),t.forEach(n)):this.forEach((function(t){n(t),t.connectedEdges().forEach(n)})),this},updateStyle:function(t){var e=this._private.cy;if(!e.styleEnabled())return this;if(e.batching())return e._private.batchStyleEles.merge(this),this;var n=this;t=!(!t&&void 0!==t),e.hasCompoundNodes()&&(n=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var i=n;return t?i.emitAndNotify("style"):i.emit("style"),n.forEach((function(t){return t._private.styleDirty=!0})),this},cleanStyle:function(){var t=this.cy();if(t.styleEnabled())for(var e=0;e<this.length;e++){var n=this[e];n._private.styleDirty&&(n._private.styleDirty=!1,t.style().apply(n))}},parsedStyle:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this[0],i=n.cy();if(i.styleEnabled()&&n){this.cleanStyle();var r=n._private.style[t];return null!=r?r:e?i.style().getDefaultProperty(t):null}},numericStyle:function(t){var e=this[0];if(e.cy().styleEnabled()&&e){var n=e.pstyle(t);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(t){var e=this[0];if(e.cy().styleEnabled())return e?e.pstyle(t).units:void 0},renderedStyle:function(t){var e=this.cy();if(!e.styleEnabled())return this;var n=this[0];return n?e.style().getRenderedStyle(n,t):void 0},style:function(t,e){var n=this.cy();if(!n.styleEnabled())return this;var i=!1,r=n.style();if(k(t)){var a=t;r.applyBypass(this,a,i),this.emitAndNotify("style")}else if(y(t)){if(void 0===e){var o=this[0];return o?r.getStylePropertyValue(o,t):void 0}r.applyBypass(this,t,e,i),this.emitAndNotify("style")}else if(void 0===t){var s=this[0];return s?r.getRawStyle(s):void 0}return this},removeStyle:function(t){var e=this.cy();if(!e.styleEnabled())return this;var n=!1,i=e.style(),r=this;if(void 0===t)for(var a=0;a<r.length;a++){var o=r[a];i.removeAllBypasses(o,n)}else{t=t.split(/\s+/);for(var s=0;s<r.length;s++){var c=r[s];i.removeBypasses(c,t,n)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var t=this.cy();if(!t.styleEnabled())return 1;var e=t.hasCompoundNodes(),n=this[0];if(n){var i=n._private,r=n.pstyle("opacity").value;if(!e)return r;var a=i.data.parent?n.parents():null;if(a)for(var o=0;o<a.length;o++)r*=a[o].pstyle("opacity").value;return r}},transparent:function(){if(!this.cy().styleEnabled())return!1;var t=this[0],e=t.cy().hasCompoundNodes();return t?e?0===t.effectiveOpacity():0===t.pstyle("opacity").value:void 0},backgrounding:function(){return!!this.cy().styleEnabled()&&!!this[0]._private.backgrounding}};function cu(t,e){var n=t._private.data.parent?t.parents():null;if(n)for(var i=0;i<n.length;i++)if(!e(n[i]))return!1;return!0}function uu(t){var e=t.ok,n=t.edgeOkViaNode||t.ok,i=t.parentOk||t.ok;return function(){var t=this.cy();if(!t.styleEnabled())return!0;var r=this[0],a=t.hasCompoundNodes();if(r){var o=r._private;if(!e(r))return!1;if(r.isNode())return!a||cu(r,i);var s=o.source,c=o.target;return n(s)&&(!a||cu(s,n))&&(s===c||n(c)&&(!a||cu(c,n)))}}}var lu=au("eleTakesUpSpace",(function(t){return"element"===t.pstyle("display").value&&0!==t.width()&&(!t.isNode()||0!==t.height())}));su.takesUpSpace=ou("takesUpSpace",uu({ok:lu}));var hu=au("eleInteractive",(function(t){return"yes"===t.pstyle("events").value&&"visible"===t.pstyle("visibility").value&&lu(t)})),fu=au("parentInteractive",(function(t){return"visible"===t.pstyle("visibility").value&&lu(t)}));su.interactive=ou("interactive",uu({ok:hu,parentOk:fu,edgeOkViaNode:lu})),su.noninteractive=function(){var t=this[0];if(t)return!t.interactive()};var du=au("eleVisible",(function(t){return"visible"===t.pstyle("visibility").value&&0!==t.pstyle("opacity").pfValue&&lu(t)})),gu=lu;su.visible=ou("visible",uu({ok:du,edgeOkViaNode:gu})),su.hidden=function(){var t=this[0];if(t)return!t.visible()},su.isBundledBezier=ou("isBundledBezier",(function(){return!!this.cy().styleEnabled()&&!this.removed()&&"bezier"===this.pstyle("curve-style").value&&this.takesUpSpace()})),su.bypass=su.css=su.style,su.renderedCss=su.renderedStyle,su.removeBypass=su.removeCss=su.removeStyle,su.pstyle=su.parsedStyle;var pu={};function bu(t){return function(){var e=arguments,n=[];if(2===e.length){var i=e[0],r=e[1];this.on(t.event,i,r)}else if(1===e.length&&v(e[0])){var a=e[0];this.on(t.event,a)}else if(0===e.length||1===e.length&&x(e[0])){for(var o=1===e.length?e[0]:null,s=0;s<this.length;s++){var c=this[s],u=!t.ableField||c._private[t.ableField],l=c._private[t.field]!=t.value;if(t.overrideAble){var h=t.overrideAble(c);if(void 0!==h&&(u=h,!h))return this}u&&(c._private[t.field]=t.value,l&&n.push(c))}var f=this.spawn(n);f.updateStyle(),f.emit(t.event),o&&f.emit(o)}return this}}function wu(t){pu[t.field]=function(){var e=this[0];if(e){if(t.overrideField){var n=t.overrideField(e);if(void 0!==n)return n}return e._private[t.field]}},pu[t.on]=bu({event:t.on,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!0}),pu[t.off]=bu({event:t.off,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!1})}wu({field:"locked",overrideField:function(t){return!!t.cy().autolock()||void 0},on:"lock",off:"unlock"}),wu({field:"grabbable",overrideField:function(t){return!t.cy().autoungrabify()&&!t.pannable()&&void 0},on:"grabify",off:"ungrabify"}),wu({field:"selected",ableField:"selectable",overrideAble:function(t){return!t.cy().autounselectify()&&void 0},on:"select",off:"unselect"}),wu({field:"selectable",overrideField:function(t){return!t.cy().autounselectify()&&void 0},on:"selectify",off:"unselectify"}),pu.deselect=pu.unselect,pu.grabbed=function(){var t=this[0];if(t)return t._private.grabbed},wu({field:"active",on:"activate",off:"unactivate"}),wu({field:"pannable",on:"panify",off:"unpanify"}),pu.inactive=function(){var t=this[0];if(t)return!t._private.active};var mu={},yu=function(t){return function(e){for(var n=this,i=[],r=0;r<n.length;r++){var a=n[r];if(a.isNode()){for(var o=!1,s=a.connectedEdges(),c=0;c<s.length;c++){var u=s[c],l=u.source(),h=u.target();if(t.noIncomingEdges&&h===a&&l!==a||t.noOutgoingEdges&&l===a&&h!==a){o=!0;break}}o||i.push(a)}}return this.spawn(i,!0).filter(e)}},vu=function(t){return function(e){for(var n=this,i=[],r=0;r<n.length;r++){var a=n[r];if(a.isNode())for(var o=a.connectedEdges(),s=0;s<o.length;s++){var c=o[s],u=c.source(),l=c.target();t.outgoing&&u===a?(i.push(c),i.push(l)):t.incoming&&l===a&&(i.push(c),i.push(u))}}return this.spawn(i,!0).filter(e)}},xu=function(t){return function(e){for(var n=this,i=[],r={};;){var a=t.outgoing?n.outgoers():n.incomers();if(0===a.length)break;for(var o=!1,s=0;s<a.length;s++){var c=a[s],u=c.id();r[u]||(r[u]=!0,i.push(c),o=!0)}if(!o)break;n=a}return this.spawn(i,!0).filter(e)}};function ku(t){return function(e){for(var n=[],i=0;i<this.length;i++){var r=this[i]._private[t.attr];r&&n.push(r)}return this.spawn(n,!0).filter(e)}}function _u(t){return function(e){var n=[],i=this._private.cy,r=t||{};y(e)&&(e=i.$(e));for(var a=0;a<e.length;a++)for(var o=e[a]._private.edges,s=0;s<o.length;s++){var c=o[s],u=c._private.data,l=this.hasElementWithId(u.source)&&e.hasElementWithId(u.target),h=e.hasElementWithId(u.source)&&this.hasElementWithId(u.target);if(l||h){if(r.thisIsSrc||r.thisIsTgt){if(r.thisIsSrc&&!l)continue;if(r.thisIsTgt&&!h)continue}n.push(c)}}return this.spawn(n,!0)}}function Au(t){return t=Q({},{codirected:!1},t),function(e){for(var n=[],i=this.edges(),r=t,a=0;a<i.length;a++)for(var o=i[a]._private,s=o.source,c=s._private.data.id,u=o.data.target,l=s._private.edges,h=0;h<l.length;h++){var f=l[h],d=f._private.data,g=d.target,p=d.source,b=g===u&&p===c,w=c===g&&u===p;(r.codirected&&b||!r.codirected&&(b||w))&&n.push(f)}return this.spawn(n,!0).filter(e)}}mu.clearTraversalCache=function(){for(var t=0;t<this.length;t++)this[t]._private.traversalCache=null},Q(mu,{roots:yu({noIncomingEdges:!0}),leaves:yu({noOutgoingEdges:!0}),outgoers:Ys(vu({outgoing:!0}),"outgoers"),successors:xu({outgoing:!0}),incomers:Ys(vu({incoming:!0}),"incomers"),predecessors:xu({incoming:!0})}),Q(mu,{neighborhood:Ys((function(t){for(var e=[],n=this.nodes(),i=0;i<n.length;i++)for(var r=n[i],a=r.connectedEdges(),o=0;o<a.length;o++){var s=a[o],c=s.source(),u=s.target(),l=r===c?u:c;l.length>0&&e.push(l[0]),e.push(s[0])}return this.spawn(e,!0).filter(t)}),"neighborhood"),closedNeighborhood:function(t){return this.neighborhood().add(this).filter(t)},openNeighborhood:function(t){return this.neighborhood(t)}}),mu.neighbourhood=mu.neighborhood,mu.closedNeighbourhood=mu.closedNeighborhood,mu.openNeighbourhood=mu.openNeighborhood,Q(mu,{source:Ys((function(t){var e,n=this[0];return n&&(e=n._private.source||n.cy().collection()),e&&t?e.filter(t):e}),"source"),target:Ys((function(t){var e,n=this[0];return n&&(e=n._private.target||n.cy().collection()),e&&t?e.filter(t):e}),"target"),sources:ku({attr:"source"}),targets:ku({attr:"target"})}),Q(mu,{edgesWith:Ys(_u(),"edgesWith"),edgesTo:Ys(_u({thisIsSrc:!0}),"edgesTo")}),Q(mu,{connectedEdges:Ys((function(t){for(var e=[],n=this,i=0;i<n.length;i++){var r=n[i];if(r.isNode())for(var a=r._private.edges,o=0;o<a.length;o++){var s=a[o];e.push(s)}}return this.spawn(e,!0).filter(t)}),"connectedEdges"),connectedNodes:Ys((function(t){for(var e=[],n=this,i=0;i<n.length;i++){var r=n[i];r.isEdge()&&(e.push(r.source()[0]),e.push(r.target()[0]))}return this.spawn(e,!0).filter(t)}),"connectedNodes"),parallelEdges:Ys(Au(),"parallelEdges"),codirectedEdges:Ys(Au({codirected:!0}),"codirectedEdges")}),Q(mu,{components:function(t){var e=this,n=e.cy(),i=n.collection(),r=null==t?e.nodes():t.nodes(),a=[];null!=t&&r.empty()&&(r=t.sources());var o=function(t,e){i.merge(t),r.unmerge(t),e.merge(t)};if(r.empty())return e.spawn();var s=function(){var t=n.collection();a.push(t);var i=r[0];o(i,t),e.bfs({directed:!1,roots:i,visit:function(e){return o(e,t)}}),t.forEach((function(n){n.connectedEdges().forEach((function(n){e.has(n)&&t.has(n.source())&&t.has(n.target())&&t.merge(n)}))}))};do{s()}while(r.length>0);return a},component:function(){var t=this[0];return t.cy().mutableElements().components(t)[0]}}),mu.componentsOf=mu.components;var Eu=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==t){var r=new ze,a=!1;if(e){if(e.length>0&&k(e[0])&&!S(e[0])){a=!0;for(var o=[],s=new Ue,c=0,u=e.length;c<u;c++){var l=e[c];null==l.data&&(l.data={});var h=l.data;if(null==h.id)h.id=De();else if(t.hasElementWithId(h.id)||s.has(h.id))continue;var f=new Ge(t,l,!1);o.push(f),s.add(h.id)}e=o}}else e=[];this.length=0;for(var d=0,g=e.length;d<g;d++){var p=e[d][0];if(null!=p){var b=p._private.data.id;n&&r.has(b)||(n&&r.set(b,{index:this.length,ele:p}),this[this.length]=p,this.length++)}}this._private={eles:this,cy:t,get map(){return null==this.lazyMap&&this.rebuildMap(),this.lazyMap},set map(t){this.lazyMap=t},rebuildMap:function(){for(var t=this.lazyMap=new ze,e=this.eles,n=0;n<e.length;n++){var i=e[n];t.set(i.id(),{index:n,ele:i})}}},n&&(this._private.map=r),a&&!i&&this.restore()}else Ee("A collection must have a reference to the core")},Tu=Ge.prototype=Eu.prototype=Object.create(Array.prototype);Tu.instanceString=function(){return"collection"},Tu.spawn=function(t,e){return new Eu(this.cy(),t,e)},Tu.spawnSelf=function(){return this.spawn(this)},Tu.cy=function(){return this._private.cy},Tu.renderer=function(){return this._private.cy.renderer()},Tu.element=function(){return this[0]},Tu.collection=function(){return I(this)?this:new Eu(this._private.cy,[this])},Tu.unique=function(){return new Eu(this._private.cy,this,!0)},Tu.hasElementWithId=function(t){return t=""+t,this._private.map.has(t)},Tu.getElementById=function(t){t=""+t;var e=this._private.cy,n=this._private.map.get(t);return n?n.ele:new Eu(e)},Tu.$id=Tu.getElementById,Tu.poolIndex=function(){var t=this._private.cy._private.elements,e=this[0]._private.data.id;return t._private.map.get(e).index},Tu.indexOf=function(t){var e=t[0]._private.data.id;return this._private.map.get(e).index},Tu.indexOfId=function(t){return t=""+t,this._private.map.get(t).index},Tu.json=function(t){var e=this.element(),n=this.cy();if(null==e&&t)return this;if(null!=e){var i=e._private;if(k(t)){if(n.startBatch(),t.data){e.data(t.data);var r=i.data;if(e.isEdge()){var a=!1,o={},s=t.data.source,c=t.data.target;null!=s&&s!=r.source&&(o.source=""+s,a=!0),null!=c&&c!=r.target&&(o.target=""+c,a=!0),a&&(e=e.move(o))}else{var u="parent"in t.data,l=t.data.parent;!u||null==l&&null==r.parent||l==r.parent||(void 0===l&&(l=null),null!=l&&(l=""+l),e=e.move({parent:l}))}}t.position&&e.position(t.position);var h=function(n,r,a){var o=t[n];null!=o&&o!==i[n]&&(o?e[r]():e[a]())};return h("removed","remove","restore"),h("selected","select","unselect"),h("selectable","selectify","unselectify"),h("locked","lock","unlock"),h("grabbable","grabify","ungrabify"),h("pannable","panify","unpanify"),null!=t.classes&&e.classes(t.classes),n.endBatch(),this}if(void 0===t){var f={data:Ie(i.data),position:Ie(i.position),group:i.group,removed:i.removed,selected:i.selected,selectable:i.selectable,locked:i.locked,grabbable:i.grabbable,pannable:i.pannable,classes:null};f.classes="";var d=0;return i.classes.forEach((function(t){return f.classes+=0==d++?t:" "+t})),f}}},Tu.jsons=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e].json();t.push(n)}return t},Tu.clone=function(){for(var t=this.cy(),e=[],n=0;n<this.length;n++){var i=this[n].json(),r=new Ge(t,i,!1);e.push(r)}return new Eu(t,e)},Tu.copy=Tu.clone,Tu.restore=function(){for(var t,e,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,a=r.cy(),o=a._private,s=[],c=[],u=0,l=r.length;u<l;u++){var h=r[u];i&&!h.removed()||(h.isNode()?s.push(h):c.push(h))}t=s.concat(c);var f=function(){t.splice(e,1),e--};for(e=0;e<t.length;e++){var d=t[e],g=d._private,p=g.data;if(d.clearTraversalCache(),i||g.removed)if(void 0===p.id)p.id=De();else if(A(p.id))p.id=""+p.id;else{if(L(p.id)||!y(p.id)){Ee("Can not create element with invalid string ID `"+p.id+"`"),f();continue}if(a.hasElementWithId(p.id)){Ee("Can not create second element with ID `"+p.id+"`"),f();continue}}var b=p.id;if(d.isNode()){var w=g.position;null==w.x&&(w.x=0),null==w.y&&(w.y=0)}if(d.isEdge()){for(var m=d,v=["source","target"],x=v.length,k=!1,_=0;_<x;_++){var E=v[_],T=p[E];A(T)&&(T=p[E]=""+p[E]),null==T||""===T?(Ee("Can not create edge `"+b+"` with unspecified "+E),k=!0):a.hasElementWithId(T)||(Ee("Can not create edge `"+b+"` with nonexistant "+E+" `"+T+"`"),k=!0)}if(k){f();continue}var C=a.getElementById(p.source),S=a.getElementById(p.target);C.same(S)?C._private.edges.push(m):(C._private.edges.push(m),S._private.edges.push(m)),m._private.source=C,m._private.target=S}g.map=new ze,g.map.set(b,{ele:d,index:0}),g.removed=!1,i&&a.addToPool(d)}for(var I=0;I<s.length;I++){var M=s[I],D=M._private.data;A(D.parent)&&(D.parent=""+D.parent);var O=D.parent;if(null!=O||M._private.parent){var N=M._private.parent?a.collection().merge(M._private.parent):a.getElementById(O);if(N.empty())D.parent=void 0;else if(N[0].removed())Ce("Node added with missing parent, reference to parent removed"),D.parent=void 0,M._private.parent=null;else{for(var P=!1,B=N;!B.empty();){if(M.same(B)){P=!0,D.parent=void 0;break}B=B.parent()}P||(N[0]._private.children.push(M),M._private.parent=N[0],o.hasCompoundNodes=!0)}}}if(t.length>0){for(var F=t.length===r.length?r:new Eu(a,t),R=0;R<F.length;R++){var j=F[R];j.isNode()||(j.parallelEdges().clearTraversalCache(),j.source().clearTraversalCache(),j.target().clearTraversalCache())}(o.hasCompoundNodes?a.collection().merge(F).merge(F.connectedNodes()).merge(F.parent()):F).dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(n),n?F.emitAndNotify("add"):i&&F.emit("add")}return r},Tu.removed=function(){var t=this[0];return t&&t._private.removed},Tu.inside=function(){var t=this[0];return t&&!t._private.removed},Tu.remove=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=[],r={},a=n._private.cy;function o(t){for(var e=t._private.edges,n=0;n<e.length;n++)c(e[n])}function s(t){for(var e=t._private.children,n=0;n<e.length;n++)c(e[n])}function c(t){var n=r[t.id()];e&&t.removed()||n||(r[t.id()]=!0,t.isNode()?(i.push(t),o(t),s(t)):i.unshift(t))}for(var u=0,l=n.length;u<l;u++)c(n[u]);function h(t,e){var n=t._private.edges;Pe(n,e),t.clearTraversalCache()}function f(t){t.clearTraversalCache()}var d=[];function g(t,e){e=e[0];var n=(t=t[0])._private.children,i=t.id();Pe(n,e),e._private.parent=null,d.ids[i]||(d.ids[i]=!0,d.push(t))}d.ids={},n.dirtyCompoundBoundsCache(),e&&a.removeFromPool(i);for(var p=0;p<i.length;p++){var b=i[p];if(b.isEdge()){var w=b.source()[0],m=b.target()[0];h(w,b),h(m,b);for(var y=b.parallelEdges(),v=0;v<y.length;v++){var x=y[v];f(x),x.isBundledBezier()&&x.dirtyBoundingBoxCache()}}else{var k=b.parent();0!==k.length&&g(k,b)}e&&(b._private.removed=!0)}var _=a._private.elements;a._private.hasCompoundNodes=!1;for(var A=0;A<_.length;A++)if(_[A].isParent()){a._private.hasCompoundNodes=!0;break}var E=new Eu(this.cy(),i);E.size()>0&&(t?E.emitAndNotify("remove"):e&&E.emit("remove"));for(var T=0;T<d.length;T++){var C=d[T];e&&C.removed()||C.updateStyle()}return E},Tu.move=function(t){var e=this._private.cy,n=this,i=!1,r=!1,a=function(t){return null==t?t:""+t};if(void 0!==t.source||void 0!==t.target){var o=a(t.source),s=a(t.target),c=null!=o&&e.hasElementWithId(o),u=null!=s&&e.hasElementWithId(s);(c||u)&&(e.batch((function(){n.remove(i,r),n.emitAndNotify("moveout");for(var t=0;t<n.length;t++){var e=n[t],a=e._private.data;e.isEdge()&&(c&&(a.source=o),u&&(a.target=s))}n.restore(i,r)})),n.emitAndNotify("move"))}else if(void 0!==t.parent){var l=a(t.parent);if(null===l||e.hasElementWithId(l)){var h=null===l?void 0:l;e.batch((function(){var t=n.remove(i,r);t.emitAndNotify("moveout");for(var e=0;e<n.length;e++){var a=n[e],o=a._private.data;a.isNode()&&(o.parent=h)}t.restore(i,r)})),n.emitAndNotify("move")}}return this},[Dr,ps,bs,Hs,Zs,tc,ec,Lc,Kc,Xc,Qc,tu,iu,su,pu,mu].forEach((function(t){Q(Tu,t)}));var Cu={add:function(t){var e,n=this;if(C(t)){var i=t;if(i._private.cy===n)e=i.restore();else{for(var r=[],a=0;a<i.length;a++){var o=i[a];r.push(o.json())}e=new Eu(n,r)}}else if(x(t))e=new Eu(n,t);else if(k(t)&&(x(t.nodes)||x(t.edges))){for(var s=t,c=[],u=["nodes","edges"],l=0,h=u.length;l<h;l++){var f=u[l],d=s[f];if(x(d))for(var g=0,p=d.length;g<p;g++){var b=Q({group:f},d[g]);c.push(b)}}e=new Eu(n,c)}else e=new Ge(n,t).collection();return e},remove:function(t){if(C(t));else if(y(t)){var e=t;t=this.$(e)}return t.remove()}};function Su(t,e,n,i){var r=4,a=.001,o=1e-7,s=10,c=11,u=1/(c-1),l="undefined"!=typeof Float32Array;if(4!==arguments.length)return!1;for(var h=0;h<4;++h)if("number"!=typeof arguments[h]||isNaN(arguments[h])||!isFinite(arguments[h]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var f=l?new Float32Array(c):new Array(c);function d(t,e){return 1-3*e+3*t}function g(t,e){return 3*e-6*t}function p(t){return 3*t}function b(t,e,n){return((d(e,n)*t+g(e,n))*t+p(e))*t}function w(t,e,n){return 3*d(e,n)*t*t+2*g(e,n)*t+p(e)}function m(e,i){for(var a=0;a<r;++a){var o=w(i,t,n);if(0===o)return i;i-=(b(i,t,n)-e)/o}return i}function y(){for(var e=0;e<c;++e)f[e]=b(e*u,t,n)}function v(e,i,r){var a,c,u=0;do{(a=b(c=i+(r-i)/2,t,n)-e)>0?r=c:i=c}while(Math.abs(a)>o&&++u<s);return c}function x(e){for(var i=0,r=1,o=c-1;r!==o&&f[r]<=e;++r)i+=u;--r;var s=i+(e-f[r])/(f[r+1]-f[r])*u,l=w(s,t,n);return l>=a?m(e,s):0===l?s:v(e,i,i+u)}var k=!1;function _(){k=!0,t===e&&n===i||y()}var A=function(r){return k||_(),t===e&&n===i?r:0===r?0:1===r?1:b(x(r),e,i)};A.getControlPoints=function(){return[{x:t,y:e},{x:n,y:i}]};var E="generateBezier("+[t,e,n,i]+")";return A.toString=function(){return E},A}var Iu=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},a=e(n,.5*i,r),o=e(n,.5*i,a),s=e(n,i,o),c=1/6*(r.dx+2*(a.dx+o.dx)+s.dx),u=1/6*(r.dv+2*(a.dv+o.dv)+s.dv);return n.x=n.x+c*i,n.v=n.v+u*i,n}return function t(e,i,r){var a,o,s,c={x:-1,v:0,tension:null,friction:null},u=[0],l=0,h=1e-4,f=.016;for(e=parseFloat(e)||500,i=parseFloat(i)||20,r=r||null,c.tension=e,c.friction=i,o=(a=null!==r)?(l=t(e,i))/r*f:f;s=n(s||c,o),u.push(1+s.x),l+=16,Math.abs(s.x)>h&&Math.abs(s.v)>h;);return a?function(t){return u[t*(u.length-1)|0]}:l}}(),Mu=function(t,e,n,i){var r=Su(t,e,n,i);return function(t,e,n){return t+(e-t)*r(n)}},Du={linear:function(t,e,n){return t+(e-t)*n},ease:Mu(.25,.1,.25,1),"ease-in":Mu(.42,0,1,1),"ease-out":Mu(0,0,.58,1),"ease-in-out":Mu(.42,0,.58,1),"ease-in-sine":Mu(.47,0,.745,.715),"ease-out-sine":Mu(.39,.575,.565,1),"ease-in-out-sine":Mu(.445,.05,.55,.95),"ease-in-quad":Mu(.55,.085,.68,.53),"ease-out-quad":Mu(.25,.46,.45,.94),"ease-in-out-quad":Mu(.455,.03,.515,.955),"ease-in-cubic":Mu(.55,.055,.675,.19),"ease-out-cubic":Mu(.215,.61,.355,1),"ease-in-out-cubic":Mu(.645,.045,.355,1),"ease-in-quart":Mu(.895,.03,.685,.22),"ease-out-quart":Mu(.165,.84,.44,1),"ease-in-out-quart":Mu(.77,0,.175,1),"ease-in-quint":Mu(.755,.05,.855,.06),"ease-out-quint":Mu(.23,1,.32,1),"ease-in-out-quint":Mu(.86,0,.07,1),"ease-in-expo":Mu(.95,.05,.795,.035),"ease-out-expo":Mu(.19,1,.22,1),"ease-in-out-expo":Mu(1,0,0,1),"ease-in-circ":Mu(.6,.04,.98,.335),"ease-out-circ":Mu(.075,.82,.165,1),"ease-in-out-circ":Mu(.785,.135,.15,.86),spring:function(t,e,n){if(0===n)return Du.linear;var i=Iu(t,e,n);return function(t,e,n){return t+(e-t)*i(n)}},"cubic-bezier":Mu};function Ou(t,e,n,i,r){if(1===i)return n;if(e===n)return n;var a=r(e,n,i);return null==t||((t.roundValue||t.color)&&(a=Math.round(a)),void 0!==t.min&&(a=Math.max(a,t.min)),void 0!==t.max&&(a=Math.min(a,t.max))),a}function Lu(t,e){return null!=t.pfValue||null!=t.value?null==t.pfValue||null!=e&&"%"===e.type.units?t.value:t.pfValue:t}function Nu(t,e,n,i,r){var a=null!=r?r.type:null;n<0?n=0:n>1&&(n=1);var o=Lu(t,r),s=Lu(e,r);if(A(o)&&A(s))return Ou(a,o,s,n,i);if(x(o)&&x(s)){for(var c=[],u=0;u<s.length;u++){var l=o[u],h=s[u];if(null!=l&&null!=h){var f=Ou(a,l,h,n,i);c.push(f)}else c.push(h)}return c}}function Pu(t,e,n,i){var r=!i,a=t._private,o=e._private,s=o.easing,c=o.startTime,u=(i?t:t.cy()).style();if(!o.easingImpl)if(null==s)o.easingImpl=Du.linear;else{var l,h,f;l=y(s)?u.parse("transition-timing-function",s).value:s,y(l)?(h=l,f=[]):(h=l[1],f=l.slice(2).map((function(t){return+t}))),f.length>0?("spring"===h&&f.push(o.duration),o.easingImpl=Du[h].apply(null,f)):o.easingImpl=Du[h]}var d,g=o.easingImpl;if(d=0===o.duration?1:(n-c)/o.duration,o.applying&&(d=o.progress),d<0?d=0:d>1&&(d=1),null==o.delay){var p=o.startPosition,b=o.position;if(b&&r&&!t.locked()){var w={};Bu(p.x,b.x)&&(w.x=Nu(p.x,b.x,d,g)),Bu(p.y,b.y)&&(w.y=Nu(p.y,b.y,d,g)),t.position(w)}var m=o.startPan,v=o.pan,x=a.pan,k=null!=v&&i;k&&(Bu(m.x,v.x)&&(x.x=Nu(m.x,v.x,d,g)),Bu(m.y,v.y)&&(x.y=Nu(m.y,v.y,d,g)),t.emit("pan"));var _=o.startZoom,A=o.zoom,E=null!=A&&i;E&&(Bu(_,A)&&(a.zoom=Sn(a.minZoom,Nu(_,A,d,g),a.maxZoom)),t.emit("zoom")),(k||E)&&t.emit("viewport");var T=o.style;if(T&&T.length>0&&r){for(var C=0;C<T.length;C++){var S=T[C],I=S.name,M=S,D=o.startStyle[I],O=Nu(D,M,d,g,u.properties[D.name]);u.overrideBypass(t,I,O)}t.emit("style")}}return o.progress=d,d}function Bu(t,e){return!!(null!=t&&null!=e&&(A(t)&&A(e)||t&&e))}function Fu(t,e,n,i){var r=e._private;r.started=!0,r.startTime=n-r.progress*r.duration}function Ru(t,e){var n=e._private.aniEles,i=[];function r(e,n){var r=e._private,a=r.animation.current,o=r.animation.queue,s=!1;if(0===a.length){var c=o.shift();c&&a.push(c)}for(var u=function(t){for(var e=t.length-1;e>=0;e--)(0,t[e])();t.splice(0,t.length)},l=a.length-1;l>=0;l--){var h=a[l],f=h._private;f.stopped?(a.splice(l,1),f.hooked=!1,f.playing=!1,f.started=!1,u(f.frames)):(f.playing||f.applying)&&(f.playing&&f.applying&&(f.applying=!1),f.started||Fu(e,h,t),Pu(e,h,t,n),f.applying&&(f.applying=!1),u(f.frames),null!=f.step&&f.step(t),h.completed()&&(a.splice(l,1),f.hooked=!1,f.playing=!1,f.started=!1,u(f.completes)),s=!0)}return n||0!==a.length||0!==o.length||i.push(e),s}for(var a=!1,o=0;o<n.length;o++){var s=r(n[o]);a=a||s}var c=r(e,!0);(a||c)&&(n.length>0?e.notify("draw",n):e.notify("draw")),n.unmerge(i),e.emit("step")}var ju={animate:gs.animate(),animation:gs.animation(),animated:gs.animated(),clearQueue:gs.clearQueue(),delay:gs.delay(),delayAnimation:gs.delayAnimation(),stop:gs.stop(),addToAnimationPool:function(t){var e=this;e.styleEnabled()&&e._private.aniEles.merge(t)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var t=this;if(t._private.animationsRunning=!0,t.styleEnabled()){var e=t.renderer();e&&e.beforeRender?e.beforeRender((function(e,n){Ru(n,t)}),e.beforeRenderPriorities.animations):n()}function n(){t._private.animationsRunning&&ne((function(e){Ru(e,t),n()}))}}},$u={qualifierCompare:function(t,e){return null==t||null==e?null==t&&null==e:t.sameText(e)},eventMatches:function(t,e,n){var i=e.qualifier;return null==i||t!==n.target&&S(n.target)&&i.matches(n.target)},addEventFields:function(t,e){e.cy=t,e.target=t},callbackContext:function(t,e,n){return null!=e.qualifier?n.target:t}},zu=function(t){return y(t)?new zs(t):t},qu={createEmitter:function(){var t=this._private;return t.emitter||(t.emitter=new qc($u,this)),this},emitter:function(){return this._private.emitter},on:function(t,e,n){return this.emitter().on(t,zu(e),n),this},removeListener:function(t,e,n){return this.emitter().removeListener(t,zu(e),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(t,e,n){return this.emitter().one(t,zu(e),n),this},once:function(t,e,n){return this.emitter().one(t,zu(e),n),this},emit:function(t,e){return this.emitter().emit(t,e),this},emitAndNotify:function(t,e){return this.emit(t),this.notify(t,e),this}};gs.eventAliasesOn(qu);var Hu={png:function(t){return t=t||{},this._private.renderer.png(t)},jpg:function(t){var e=this._private.renderer;return(t=t||{}).bg=t.bg||"#fff",e.jpg(t)}};Hu.jpeg=Hu.jpg;var Uu={layout:function(t){var e=this;if(null!=t)if(null!=t.name){var n=t.name,i=e.extension("layout",n);if(null!=i){var r;r=y(t.eles)?e.$(t.eles):null!=t.eles?t.eles:e.$();var a=new i(Q({},t,{cy:e,eles:r}));return a}Ee("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Ee("A `name` must be specified to make a layout");else Ee("Layout options must be specified to make a layout")}};Uu.createLayout=Uu.makeLayout=Uu.layout;var Gu={notify:function(t,e){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var i=n.batchNotifications[t]=n.batchNotifications[t]||this.collection();null!=e&&i.merge(e)}else if(n.notificationsEnabled){var r=this.renderer();!this.destroyed()&&r&&r.notify(t,e)}},notifications:function(t){var e=this._private;return void 0===t?e.notificationsEnabled:(e.notificationsEnabled=!!t,this)},noNotifications:function(t){this.notifications(!1),t(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var t=this._private;return null==t.batchCount&&(t.batchCount=0),0===t.batchCount&&(t.batchStyleEles=this.collection(),t.batchNotifications={}),t.batchCount++,this},endBatch:function(){var t=this._private;if(0===t.batchCount)return this;if(t.batchCount--,0===t.batchCount){t.batchStyleEles.updateStyle();var e=this.renderer();Object.keys(t.batchNotifications).forEach((function(n){var i=t.batchNotifications[n];i.empty()?e.notify(n):e.notify(n,i)}))}return this},batch:function(t){return this.startBatch(),t(),this.endBatch(),this},batchData:function(t){var e=this;return this.batch((function(){for(var n=Object.keys(t),i=0;i<n.length;i++){var r=n[i],a=t[r];e.getElementById(r).data(a)}}))}},Yu=Ne({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),Zu={renderTo:function(t,e,n,i){return this._private.renderer.renderTo(t,e,n,i),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(t){var e=this,n=e.extension("renderer",t.name);if(null!=n){void 0!==t.wheelSensitivity&&Ce("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 i=Yu(t);i.cy=e,e._private.renderer=new n(i),this.notify("init")}else Ee("Can not initialise: No such renderer `".concat(t.name,"` found. Did you forget to import it and `cytoscape.use()` it?"))},destroyRenderer:function(){var t=this;t.notify("destroy");var e=t.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);t._private.renderer=null,t.mutableElements().forEach((function(t){var e=t._private;e.rscratch={},e.rstyle={},e.animation.current=[],e.animation.queue=[]}))},onRender:function(t){return this.on("render",t)},offRender:function(t){return this.off("render",t)}};Zu.invalidateDimensions=Zu.resize;var Wu={collection:function(t,e){return y(t)?this.$(t):C(t)?t.collection():x(t)?(e||(e={}),new Eu(this,t,e.unique,e.removed)):new Eu(this)},nodes:function(t){var e=this.$((function(t){return t.isNode()}));return t?e.filter(t):e},edges:function(t){var e=this.$((function(t){return t.isEdge()}));return t?e.filter(t):e},$:function(t){var e=this._private.elements;return t?e.filter(t):e.spawnSelf()},mutableElements:function(){return this._private.elements}};Wu.elements=Wu.filter=Wu.$;var Ku={},Xu="t",Vu="f";Ku.apply=function(t){for(var e=this,n=e._private.cy.collection(),i=0;i<t.length;i++){var r=t[i],a=e.getContextMeta(r);if(!a.empty){var o=e.getContextStyle(a),s=e.applyContextStyle(a,o,r);r._private.appliedInitStyle?e.updateTransitions(r,s.diffProps):r._private.appliedInitStyle=!0,e.updateStyleHints(r)&&n.push(r)}}return n},Ku.getPropertiesDiff=function(t,e){var n=this,i=n._private.propDiffs=n._private.propDiffs||{},r=t+"-"+e,a=i[r];if(a)return a;for(var o=[],s={},c=0;c<n.length;c++){var u=n[c],l=t[c]===Xu,h=e[c]===Xu,f=l!==h,d=u.mappedProperties.length>0;if(f||h&&d){var g=void 0;f&&d||f?g=u.properties:d&&(g=u.mappedProperties);for(var p=0;p<g.length;p++){for(var b=g[p],w=b.name,m=!1,y=c+1;y<n.length;y++){var v=n[y];if(e[y]===Xu&&(m=null!=v.properties[b.name]))break}s[w]||m||(s[w]=!0,o.push(w))}}}return i[r]=o,o},Ku.getContextMeta=function(t){for(var e,n=this,i="",r=t._private.styleCxtKey||"",a=0;a<n.length;a++){var o=n[a];i+=o.selector&&o.selector.matches(t)?Xu:Vu}return e=n.getPropertiesDiff(r,i),t._private.styleCxtKey=i,{key:i,diffPropNames:e,empty:0===e.length}},Ku.getContextStyle=function(t){var e=t.key,n=this,i=this._private.contextStyles=this._private.contextStyles||{};if(i[e])return i[e];for(var r={_private:{key:e}},a=0;a<n.length;a++){var o=n[a];if(e[a]===Xu)for(var s=0;s<o.properties.length;s++){var c=o.properties[s];r[c.name]=c}}return i[e]=r,r},Ku.applyContextStyle=function(t,e,n){for(var i=this,r=t.diffPropNames,a={},o=i.types,s=0;s<r.length;s++){var c=r[s],u=e[c],l=n.pstyle(c);if(!u){if(!l)continue;u=l.bypass?{name:c,deleteBypassed:!0}:{name:c,delete:!0}}if(l!==u){if(u.mapped===o.fn&&null!=l&&null!=l.mapping&&l.mapping.value===u.value){var h=l.mapping;if((h.fnValue=u.value(n))===h.prevFnValue)continue}var f=a[c]={prev:l};i.applyParsedProperty(n,u),f.next=n.pstyle(c),f.next&&f.next.bypass&&(f.next=f.next.bypassed)}}return{diffProps:a}},Ku.updateStyleHints=function(t){var e=t._private,n=this,i=n.propertyGroupNames,r=n.propertyGroupKeys,a=function(t,e,i){return n.getPropertiesHash(t,e,i)},o=e.styleKey;if(t.removed())return!1;var s="nodes"===e.group,c=t._private.style;i=Object.keys(c);for(var u=0;u<r.length;u++){var l=r[u];e.styleKeys[l]=[re,oe]}for(var h=function(t,n){return e.styleKeys[n][0]=ce(t,e.styleKeys[n][0])},f=function(t,n){return e.styleKeys[n][1]=ue(t,e.styleKeys[n][1])},d=function(t,e){h(t,e),f(t,e)},g=function(t,e){for(var n=0;n<t.length;n++){var i=t.charCodeAt(n);h(i,e),f(i,e)}},p=2e9,b=function(t){return-128<t&&t<128&&Math.floor(t)!==t?p-(1024*t|0):t},w=0;w<i.length;w++){var m=i[w],y=c[m];if(null!=y){var v=this.properties[m],x=v.type,k=v.groupKey,_=void 0;null!=v.hashOverride?_=v.hashOverride(t,y):null!=y.pfValue&&(_=y.pfValue);var A=null==v.enums?y.value:null,E=null!=_,T=E||null!=A,C=y.units;x.number&&T&&!x.multiple?(d(b(E?_:A),k),E||null==C||g(C,k)):g(y.strValue,k)}}for(var S=[re,oe],I=0;I<r.length;I++){var M=r[I],D=e.styleKeys[M];S[0]=ce(D[0],S[0]),S[1]=ue(D[1],S[1])}e.styleKey=le(S[0],S[1]);var O=e.styleKeys;e.labelDimsKey=he(O.labelDimensions);var L=a(t,["label"],O.labelDimensions);if(e.labelKey=he(L),e.labelStyleKey=he(fe(O.commonLabel,L)),!s){var N=a(t,["source-label"],O.labelDimensions);e.sourceLabelKey=he(N),e.sourceLabelStyleKey=he(fe(O.commonLabel,N));var P=a(t,["target-label"],O.labelDimensions);e.targetLabelKey=he(P),e.targetLabelStyleKey=he(fe(O.commonLabel,P))}if(s){var B=e.styleKeys,F=B.nodeBody,R=B.nodeBorder,j=B.backgroundImage,$=B.compound,z=B.pie,q=[F,R,j,$,z].filter((function(t){return null!=t})).reduce(fe,[re,oe]);e.nodeKey=he(q),e.hasPie=null!=z&&z[0]!==re&&z[1]!==oe}return o!==e.styleKey},Ku.clearStyleHints=function(t){var e=t._private;e.styleCxtKey="",e.styleKeys={},e.styleKey=null,e.labelKey=null,e.labelStyleKey=null,e.sourceLabelKey=null,e.sourceLabelStyleKey=null,e.targetLabelKey=null,e.targetLabelStyleKey=null,e.nodeKey=null,e.hasPie=null},Ku.applyParsedProperty=function(t,e){var n,i=this,r=e,a=t._private.style,o=i.types,s=i.properties[r.name].type,c=r.bypass,u=a[r.name],l=u&&u.bypass,h=t._private,f="mapping",d=function(t){return null==t?null:null!=t.pfValue?t.pfValue:t.value},g=function(){var e=d(u),n=d(r);i.checkTriggers(t,r.name,e,n)};if(r&&"pie"===r.name.substr(0,3)&&Ce("The pie style properties are deprecated. Create charts using background images instead."),"curve-style"===e.name&&t.isEdge()&&("bezier"!==e.value&&t.isLoop()||"haystack"===e.value&&(t.source().isParent()||t.target().isParent()))&&(r=e=this.parse(e.name,"bezier",c)),r.delete)return a[r.name]=void 0,g(),!0;if(r.deleteBypassed)return u?!!u.bypass&&(u.bypassed=void 0,g(),!0):(g(),!0);if(r.deleteBypass)return u?!!u.bypass&&(a[r.name]=u.bypassed,g(),!0):(g(),!0);var p=function(){Ce("Do not assign mappings to elements without corresponding data (i.e. ele `"+t.id()+"` has no mapping for property `"+r.name+"` with data field `"+r.field+"`); try a `["+r.field+"]` selector to limit scope to elements with `"+r.field+"` defined")};switch(r.mapped){case o.mapData:for(var b,w=r.field.split("."),m=h.data,y=0;y<w.length&&m;y++)m=m[w[y]];if(null==m)return p(),!1;if(!A(m))return Ce("Do not use continuous mappers without specifying numeric data (i.e. `"+r.field+": "+m+"` for `"+t.id()+"` is non-numeric)"),!1;var v=r.fieldMax-r.fieldMin;if((b=0===v?0:(m-r.fieldMin)/v)<0?b=0:b>1&&(b=1),s.color){var x=r.valueMin[0],k=r.valueMax[0],_=r.valueMin[1],E=r.valueMax[1],T=r.valueMin[2],C=r.valueMax[2],S=null==r.valueMin[3]?1:r.valueMin[3],I=null==r.valueMax[3]?1:r.valueMax[3],M=[Math.round(x+(k-x)*b),Math.round(_+(E-_)*b),Math.round(T+(C-T)*b),Math.round(S+(I-S)*b)];n={bypass:r.bypass,name:r.name,value:M,strValue:"rgb("+M[0]+", "+M[1]+", "+M[2]+")"}}else{if(!s.number)return!1;var D=r.valueMin+(r.valueMax-r.valueMin)*b;n=this.parse(r.name,D,r.bypass,f)}if(!n)return p(),!1;n.mapping=r,r=n;break;case o.data:for(var O=r.field.split("."),L=h.data,N=0;N<O.length&&L;N++)L=L[O[N]];if(null!=L&&(n=this.parse(r.name,L,r.bypass,f)),!n)return p(),!1;n.mapping=r,r=n;break;case o.fn:var P=r.value,B=null!=r.fnValue?r.fnValue:P(t);if(r.prevFnValue=B,null==B)return Ce("Custom function mappers may not return null (i.e. `"+r.name+"` for ele `"+t.id()+"` is null)"),!1;if(!(n=this.parse(r.name,B,r.bypass,f)))return Ce("Custom function mappers may not return invalid values for the property type (i.e. `"+r.name+"` for ele `"+t.id()+"` is invalid)"),!1;n.mapping=Ie(r),r=n;break;case void 0:break;default:return!1}return c?(r.bypassed=l?u.bypassed:u,a[r.name]=r):l?u.bypassed=r:a[r.name]=r,g(),!0},Ku.cleanElements=function(t,e){for(var n=0;n<t.length;n++){var i=t[n];if(this.clearStyleHints(i),i.dirtyCompoundBoundsCache(),i.dirtyBoundingBoxCache(),e)for(var r=i._private.style,a=Object.keys(r),o=0;o<a.length;o++){var s=a[o],c=r[s];null!=c&&(c.bypass?c.bypassed=null:r[s]=null)}else i._private.style={}}},Ku.update=function(){this._private.cy.mutableElements().updateStyle()},Ku.updateTransitions=function(t,e){var n=this,i=t._private,r=t.pstyle("transition-property").value,a=t.pstyle("transition-duration").pfValue,o=t.pstyle("transition-delay").pfValue;if(r.length>0&&a>0){for(var s={},c=!1,u=0;u<r.length;u++){var l=r[u],h=t.pstyle(l),f=e[l];if(f){var d=f.prev,g=null!=f.next?f.next:h,p=!1,b=void 0,w=1e-6;d&&(A(d.pfValue)&&A(g.pfValue)?(p=g.pfValue-d.pfValue,b=d.pfValue+w*p):A(d.value)&&A(g.value)?(p=g.value-d.value,b=d.value+w*p):x(d.value)&&x(g.value)&&(p=d.value[0]!==g.value[0]||d.value[1]!==g.value[1]||d.value[2]!==g.value[2],b=d.strValue),p&&(s[l]=g.strValue,this.applyBypass(t,l,b),c=!0))}}if(!c)return;i.transitioning=!0,new zr((function(e){o>0?t.delayAnimation(o).play().promise().then(e):e()})).then((function(){return t.animation({style:s,duration:a,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(t,r),t.emitAndNotify("style"),i.transitioning=!1}))}else i.transitioning&&(this.removeBypasses(t,r),t.emitAndNotify("style"),i.transitioning=!1)},Ku.checkTrigger=function(t,e,n,i,r,a){var o=this.properties[e],s=r(o);null!=s&&s(n,i)&&a(o)},Ku.checkZOrderTrigger=function(t,e,n,i){var r=this;this.checkTrigger(t,e,n,i,(function(t){return t.triggersZOrder}),(function(){r._private.cy.notify("zorder",t)}))},Ku.checkBoundsTrigger=function(t,e,n,i){this.checkTrigger(t,e,n,i,(function(t){return t.triggersBounds}),(function(r){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),!r.triggersBoundsOfParallelBeziers||("curve-style"!==e||"bezier"!==n&&"bezier"!==i)&&("display"!==e||"none"!==n&&"none"!==i)||t.parallelEdges().forEach((function(t){t.isBundledBezier()&&t.dirtyBoundingBoxCache()}))}))},Ku.checkTriggers=function(t,e,n,i){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,n,i),this.checkBoundsTrigger(t,e,n,i)};var Qu={applyBypass:function(t,e,n,i){var r=this,a=[],o=!0;if("*"===e||"**"===e){if(void 0!==n)for(var s=0;s<r.properties.length;s++){var c=r.properties[s].name,u=this.parse(c,n,!0);u&&a.push(u)}}else if(y(e)){var l=this.parse(e,n,!0);l&&a.push(l)}else{if(!k(e))return!1;var h=e;i=n;for(var f=Object.keys(h),d=0;d<f.length;d++){var g=f[d],p=h[g];if(void 0===p&&(p=h[$(g)]),void 0!==p){var b=this.parse(g,p,!0);b&&a.push(b)}}}if(0===a.length)return!1;for(var w=!1,m=0;m<t.length;m++){for(var v=t[m],x={},_=void 0,A=0;A<a.length;A++){var E=a[A];if(i){var T=v.pstyle(E.name);_=x[E.name]={prev:T}}w=this.applyParsedProperty(v,Ie(E))||w,i&&(_.next=v.pstyle(E.name))}w&&this.updateStyleHints(v),i&&this.updateTransitions(v,x,o)}return w},overrideBypass:function(t,e,n){e=j(e);for(var i=0;i<t.length;i++){var r=t[i],a=r._private.style[e],o=this.properties[e].type,s=o.color,c=o.mutiple,u=a?null!=a.pfValue?a.pfValue:a.value:null;a&&a.bypass?(a.value=n,null!=a.pfValue&&(a.pfValue=n),a.strValue=s?"rgb("+n.join(",")+")":c?n.join(" "):""+n,this.updateStyleHints(r)):this.applyBypass(r,e,n),this.checkTriggers(r,e,u,n)}},removeAllBypasses:function(t,e){return this.removeBypasses(t,this.propertyNames,e)},removeBypasses:function(t,e,n){for(var i=!0,r=0;r<t.length;r++){for(var a=t[r],o={},s=0;s<e.length;s++){var c=e[s],u=this.properties[c],l=a.pstyle(u.name);if(l&&l.bypass){var h="",f=this.parse(c,h,!0),d=o[u.name]={prev:l};this.applyParsedProperty(a,f),d.next=a.pstyle(u.name)}}this.updateStyleHints(a),n&&this.updateTransitions(a,o,i)}}},Ju={getEmSizeInPixels:function(){var t=this.containerCss("font-size");return null!=t?parseFloat(t):1},containerCss:function(t){var e=this._private.cy,n=e.container(),i=e.window();if(i&&n&&i.getComputedStyle)return i.getComputedStyle(n).getPropertyValue(t)}},tl={getRenderedStyle:function(t,e){return e?this.getStylePropertyValue(t,e,!0):this.getRawStyle(t,!0)},getRawStyle:function(t,e){var n=this;if(t=t[0]){for(var i={},r=0;r<n.properties.length;r++){var a=n.properties[r],o=n.getStylePropertyValue(t,a.name,e);null!=o&&(i[a.name]=o,i[$(a.name)]=o)}return i}},getIndexedStyle:function(t,e,n,i){var r=t.pstyle(e)[n][i];return null!=r?r:t.cy().style().getDefaultProperty(e)[n][0]},getStylePropertyValue:function(t,e,n){var i=this;if(t=t[0]){var r=i.properties[e];r.alias&&(r=r.pointsTo);var a=r.type,o=t.pstyle(r.name);if(o){var s=o.value,c=o.units,u=o.strValue;if(n&&a.number&&null!=s&&A(s)){var l=t.cy().zoom(),h=function(t){return t*l},f=function(t,e){return h(t)+e},d=x(s);return(d?c.every((function(t){return null!=t})):null!=c)?d?s.map((function(t,e){return f(t,c[e])})).join(" "):f(s,c):d?s.map((function(t){return y(t)?t:""+h(t)})).join(" "):""+h(s)}if(null!=u)return u}return null}},getAnimationStartStyle:function(t,e){for(var n={},i=0;i<e.length;i++){var r=e[i].name,a=t.pstyle(r);void 0!==a&&(a=k(a)?this.parse(r,a.strValue):this.parse(r,a)),a&&(n[r]=a)}return n},getPropsList:function(t){var e=[],n=t,i=this.properties;if(n)for(var r=Object.keys(n),a=0;a<r.length;a++){var o=r[a],s=n[o],c=i[o]||i[j(o)],u=this.parse(c.name,s);u&&e.push(u)}return e},getNonDefaultPropertiesHash:function(t,e,n){var i,r,a,o,s,c,u=n.slice();for(s=0;s<e.length;s++)if(i=e[s],null!=(r=t.pstyle(i,!1)))if(null!=r.pfValue)u[0]=ce(o,u[0]),u[1]=ue(o,u[1]);else for(a=r.strValue,c=0;c<a.length;c++)o=a.charCodeAt(c),u[0]=ce(o,u[0]),u[1]=ue(o,u[1]);return u}};tl.getPropertiesHash=tl.getNonDefaultPropertiesHash;var el={appendFromJson:function(t){for(var e=this,n=0;n<t.length;n++){var i=t[n],r=i.selector,a=i.style||i.css,o=Object.keys(a);e.selector(r);for(var s=0;s<o.length;s++){var c=o[s],u=a[c];e.css(c,u)}}return e},fromJson:function(t){var e=this;return e.resetToDefault(),e.appendFromJson(t),e},json:function(){for(var t=[],e=this.defaultLength;e<this.length;e++){for(var n=this[e],i=n.selector,r=n.properties,a={},o=0;o<r.length;o++){var s=r[o];a[s.name]=s.strValue}t.push({selector:i?i.toString():"core",style:a})}return t}},nl={appendFromString:function(t){var e,n,i,r=this,a=this,o=""+t;function s(){o=o.length>e.length?o.substr(e.length):""}function c(){n=n.length>i.length?n.substr(i.length):""}for(o=o.replace(/[/][*](\s|.)+?[*][/]/g,"");!o.match(/^\s*$/);){var u=o.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!u){Ce("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+o);break}e=u[0];var l=u[1];if("core"!==l&&new zs(l).invalid)Ce("Skipping parsing of block: Invalid selector found in string stylesheet: "+l),s();else{var h=u[2],f=!1;n=h;for(var d=[];!n.match(/^\s*$/);){var g=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!g){Ce("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+h),f=!0;break}i=g[0];var p=g[1],b=g[2];r.properties[p]?a.parse(p,b)?(d.push({name:p,val:b}),c()):(Ce("Skipping property: Invalid property definition in: "+i),c()):(Ce("Skipping property: Invalid property name in: "+i),c())}if(f){s();break}a.selector(l);for(var w=0;w<d.length;w++){var m=d[w];a.css(m.name,m.val)}s()}}return a},fromString:function(t){var e=this;return e.resetToDefault(),e.appendFromString(t),e}},il={};(function(){var t=H,e=G,n=Z,i=W,r=K,a=function(t){return"^"+t+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},o=function(a){var o=t+"|\\w+|"+e+"|"+n+"|"+i+"|"+r;return"^"+a+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+t+")\\s*\\,\\s*("+t+")\\s*,\\s*("+o+")\\s*\\,\\s*("+o+")\\)$"},s=["^url\\s*\\(\\s*['\"]?(.+?)['\"]?\\s*\\)$","^(none)$","^(.+)$"];il.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials","null"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","right-rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:a("data")},layoutData:{mapping:!0,regex:a("layoutData")},scratch:{mapping:!0,regex:a("scratch")},mapData:{mapping:!0,regex:o("mapData")},mapLayoutData:{mapping:!0,regex:o("mapLayoutData")},mapScratch:{mapping:!0,regex:o("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:s,singleRegexMatchValue:!0},urls:{regexes:s,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(t,e){switch(t.length){case 2:return"deg"!==e[0]&&"rad"!==e[0]&&"deg"!==e[1]&&"rad"!==e[1];case 1:return y(t[0])||"deg"===e[0]||"rad"===e[0];default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(t){var e=t.length;return 1===e||2===e||4===e}}};var c={zeroNonZero:function(t,e){return(null==t||null==e)&&t!==e||0==t&&0!=e||0!=t&&0==e},any:function(t,e){return t!=e},emptyNonEmpty:function(t,e){var n=L(t),i=L(e);return n&&!i||!n&&i}},u=il.types,l=[{name:"label",type:u.text,triggersBounds:c.any,triggersZOrder:c.emptyNonEmpty},{name:"text-rotation",type:u.textRotation,triggersBounds:c.any},{name:"text-margin-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"text-margin-y",type:u.bidirectionalSize,triggersBounds:c.any}],h=[{name:"source-label",type:u.text,triggersBounds:c.any},{name:"source-text-rotation",type:u.textRotation,triggersBounds:c.any},{name:"source-text-margin-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"source-text-margin-y",type:u.bidirectionalSize,triggersBounds:c.any},{name:"source-text-offset",type:u.size,triggersBounds:c.any}],f=[{name:"target-label",type:u.text,triggersBounds:c.any},{name:"target-text-rotation",type:u.textRotation,triggersBounds:c.any},{name:"target-text-margin-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"target-text-margin-y",type:u.bidirectionalSize,triggersBounds:c.any},{name:"target-text-offset",type:u.size,triggersBounds:c.any}],d=[{name:"font-family",type:u.fontFamily,triggersBounds:c.any},{name:"font-style",type:u.fontStyle,triggersBounds:c.any},{name:"font-weight",type:u.fontWeight,triggersBounds:c.any},{name:"font-size",type:u.size,triggersBounds:c.any},{name:"text-transform",type:u.textTransform,triggersBounds:c.any},{name:"text-wrap",type:u.textWrap,triggersBounds:c.any},{name:"text-overflow-wrap",type:u.textOverflowWrap,triggersBounds:c.any},{name:"text-max-width",type:u.size,triggersBounds:c.any},{name:"text-outline-width",type:u.size,triggersBounds:c.any},{name:"line-height",type:u.positiveNumber,triggersBounds:c.any}],g=[{name:"text-valign",type:u.valign,triggersBounds:c.any},{name:"text-halign",type:u.halign,triggersBounds:c.any},{name:"color",type:u.color},{name:"text-outline-color",type:u.color},{name:"text-outline-opacity",type:u.zeroOneNumber},{name:"text-background-color",type:u.color},{name:"text-background-opacity",type:u.zeroOneNumber},{name:"text-background-padding",type:u.size,triggersBounds:c.any},{name:"text-border-opacity",type:u.zeroOneNumber},{name:"text-border-color",type:u.color},{name:"text-border-width",type:u.size,triggersBounds:c.any},{name:"text-border-style",type:u.borderStyle,triggersBounds:c.any},{name:"text-background-shape",type:u.textBackgroundShape,triggersBounds:c.any},{name:"text-justification",type:u.justification}],p=[{name:"events",type:u.bool},{name:"text-events",type:u.bool}],b=[{name:"display",type:u.display,triggersZOrder:c.any,triggersBounds:c.any,triggersBoundsOfParallelBeziers:!0},{name:"visibility",type:u.visibility,triggersZOrder:c.any},{name:"opacity",type:u.zeroOneNumber,triggersZOrder:c.zeroNonZero},{name:"text-opacity",type:u.zeroOneNumber},{name:"min-zoomed-font-size",type:u.size},{name:"z-compound-depth",type:u.zCompoundDepth,triggersZOrder:c.any},{name:"z-index-compare",type:u.zIndexCompare,triggersZOrder:c.any},{name:"z-index",type:u.nonNegativeInt,triggersZOrder:c.any}],w=[{name:"overlay-padding",type:u.size,triggersBounds:c.any},{name:"overlay-color",type:u.color},{name:"overlay-opacity",type:u.zeroOneNumber,triggersBounds:c.zeroNonZero},{name:"overlay-shape",type:u.overlayShape,triggersBounds:c.any}],m=[{name:"underlay-padding",type:u.size,triggersBounds:c.any},{name:"underlay-color",type:u.color},{name:"underlay-opacity",type:u.zeroOneNumber,triggersBounds:c.zeroNonZero},{name:"underlay-shape",type:u.overlayShape,triggersBounds:c.any}],v=[{name:"transition-property",type:u.propList},{name:"transition-duration",type:u.time},{name:"transition-delay",type:u.time},{name:"transition-timing-function",type:u.easing}],x=function(t,e){return"label"===e.value?-t.poolIndex():e.pfValue},k=[{name:"height",type:u.nodeSize,triggersBounds:c.any,hashOverride:x},{name:"width",type:u.nodeSize,triggersBounds:c.any,hashOverride:x},{name:"shape",type:u.nodeShape,triggersBounds:c.any},{name:"shape-polygon-points",type:u.polygonPointList,triggersBounds:c.any},{name:"background-color",type:u.color},{name:"background-fill",type:u.fill},{name:"background-opacity",type:u.zeroOneNumber},{name:"background-blacken",type:u.nOneOneNumber},{name:"background-gradient-stop-colors",type:u.colors},{name:"background-gradient-stop-positions",type:u.percentages},{name:"background-gradient-direction",type:u.gradientDirection},{name:"padding",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"padding-relative-to",type:u.paddingRelativeTo,triggersBounds:c.any},{name:"bounds-expansion",type:u.boundsExpansion,triggersBounds:c.any}],_=[{name:"border-color",type:u.color},{name:"border-opacity",type:u.zeroOneNumber},{name:"border-width",type:u.size,triggersBounds:c.any},{name:"border-style",type:u.borderStyle}],A=[{name:"background-image",type:u.urls},{name:"background-image-crossorigin",type:u.bgCrossOrigin},{name:"background-image-opacity",type:u.zeroOneNumbers},{name:"background-image-containment",type:u.bgContainment},{name:"background-image-smoothing",type:u.bools},{name:"background-position-x",type:u.bgPos},{name:"background-position-y",type:u.bgPos},{name:"background-width-relative-to",type:u.bgRelativeTo},{name:"background-height-relative-to",type:u.bgRelativeTo},{name:"background-repeat",type:u.bgRepeat},{name:"background-fit",type:u.bgFit},{name:"background-clip",type:u.bgClip},{name:"background-width",type:u.bgWH},{name:"background-height",type:u.bgWH},{name:"background-offset-x",type:u.bgPos},{name:"background-offset-y",type:u.bgPos}],E=[{name:"position",type:u.position,triggersBounds:c.any},{name:"compound-sizing-wrt-labels",type:u.compoundIncludeLabels,triggersBounds:c.any},{name:"min-width",type:u.size,triggersBounds:c.any},{name:"min-width-bias-left",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"min-width-bias-right",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"min-height",type:u.size,triggersBounds:c.any},{name:"min-height-bias-top",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"min-height-bias-bottom",type:u.sizeMaybePercent,triggersBounds:c.any}],T=[{name:"line-style",type:u.lineStyle},{name:"line-color",type:u.color},{name:"line-fill",type:u.fill},{name:"line-cap",type:u.lineCap},{name:"line-opacity",type:u.zeroOneNumber},{name:"line-dash-pattern",type:u.numbers},{name:"line-dash-offset",type:u.number},{name:"line-gradient-stop-colors",type:u.colors},{name:"line-gradient-stop-positions",type:u.percentages},{name:"curve-style",type:u.curveStyle,triggersBounds:c.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:u.zeroOneNumber,triggersBounds:c.any},{name:"source-endpoint",type:u.edgeEndpoint,triggersBounds:c.any},{name:"target-endpoint",type:u.edgeEndpoint,triggersBounds:c.any},{name:"control-point-step-size",type:u.size,triggersBounds:c.any},{name:"control-point-distances",type:u.bidirectionalSizes,triggersBounds:c.any},{name:"control-point-weights",type:u.numbers,triggersBounds:c.any},{name:"segment-distances",type:u.bidirectionalSizes,triggersBounds:c.any},{name:"segment-weights",type:u.numbers,triggersBounds:c.any},{name:"taxi-turn",type:u.bidirectionalSizeMaybePercent,triggersBounds:c.any},{name:"taxi-turn-min-distance",type:u.size,triggersBounds:c.any},{name:"taxi-direction",type:u.axisDirection,triggersBounds:c.any},{name:"edge-distances",type:u.edgeDistances,triggersBounds:c.any},{name:"arrow-scale",type:u.positiveNumber,triggersBounds:c.any},{name:"loop-direction",type:u.angle,triggersBounds:c.any},{name:"loop-sweep",type:u.angle,triggersBounds:c.any},{name:"source-distance-from-node",type:u.size,triggersBounds:c.any},{name:"target-distance-from-node",type:u.size,triggersBounds:c.any}],C=[{name:"ghost",type:u.bool,triggersBounds:c.any},{name:"ghost-offset-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"ghost-offset-y",type:u.bidirectionalSize,triggersBounds:c.any},{name:"ghost-opacity",type:u.zeroOneNumber}],S=[{name:"selection-box-color",type:u.color},{name:"selection-box-opacity",type:u.zeroOneNumber},{name:"selection-box-border-color",type:u.color},{name:"selection-box-border-width",type:u.size},{name:"active-bg-color",type:u.color},{name:"active-bg-opacity",type:u.zeroOneNumber},{name:"active-bg-size",type:u.size},{name:"outside-texture-bg-color",type:u.color},{name:"outside-texture-bg-opacity",type:u.zeroOneNumber}],I=[];il.pieBackgroundN=16,I.push({name:"pie-size",type:u.sizeMaybePercent});for(var M=1;M<=il.pieBackgroundN;M++)I.push({name:"pie-"+M+"-background-color",type:u.color}),I.push({name:"pie-"+M+"-background-size",type:u.percent}),I.push({name:"pie-"+M+"-background-opacity",type:u.zeroOneNumber});var D=[],O=il.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:u.arrowShape,triggersBounds:c.any},{name:"arrow-color",type:u.color},{name:"arrow-fill",type:u.arrowFill}].forEach((function(t){O.forEach((function(e){var n=e+"-"+t.name,i=t.type,r=t.triggersBounds;D.push({name:n,type:i,triggersBounds:r})}))}),{});var N=il.properties=[].concat(p,v,b,w,m,C,g,d,l,h,f,k,_,A,I,E,T,D,S),P=il.propertyGroups={behavior:p,transition:v,visibility:b,overlay:w,underlay:m,ghost:C,commonLabel:g,labelDimensions:d,mainLabel:l,sourceLabel:h,targetLabel:f,nodeBody:k,nodeBorder:_,backgroundImage:A,pie:I,compound:E,edgeLine:T,edgeArrow:D,core:S},B=il.propertyGroupNames={};(il.propertyGroupKeys=Object.keys(P)).forEach((function(t){B[t]=P[t].map((function(t){return t.name})),P[t].forEach((function(e){return e.groupKey=t}))}));var F=il.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];il.propertyNames=N.map((function(t){return t.name}));for(var R=0;R<N.length;R++){var j=N[R];N[j.name]=j}for(var $=0;$<F.length;$++){var z=F[$],q=N[z.pointsTo],U={name:z.name,alias:!0,pointsTo:q};N.push(U),N[z.name]=U}})(),il.getDefaultProperty=function(t){return this.getDefaultProperties()[t]},il.getDefaultProperties=function(){var t=this._private;if(null!=t.defaultProperties)return t.defaultProperties;for(var e=Q({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce((function(t,e){for(var n=1;n<=il.pieBackgroundN;n++){var i=e.name.replace("{{i}}",n),r=e.value;t[i]=r}return t}),{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce((function(t,e){return il.arrowPrefixes.forEach((function(n){var i=n+"-"+e.name,r=e.value;t[i]=r})),t}),{})),n={},i=0;i<this.properties.length;i++){var r=this.properties[i];if(!r.pointsTo){var a=r.name,o=e[a],s=this.parse(a,o);n[a]=s}}return t.defaultProperties=n,t.defaultProperties},il.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var rl={parse:function(t,e,n,i){var r=this;if(v(e))return r.parseImplWarn(t,e,n,i);var a,o=pe(t,""+e,n?"t":"f","mapping"===i||!0===i||!1===i||null==i?"dontcare":i),s=r.propCache=r.propCache||[];return(a=s[o])||(a=s[o]=r.parseImplWarn(t,e,n,i)),(n||"mapping"===i)&&(a=Ie(a))&&(a.value=Ie(a.value)),a},parseImplWarn:function(t,e,n,i){var r=this.parseImpl(t,e,n,i);return r||null==e||Ce("The style property `".concat(t,": ").concat(e,"` is invalid")),!r||"width"!==r.name&&"height"!==r.name||"label"!==e||Ce("The style value of `label` is deprecated for `"+r.name+"`"),r},parseImpl:function(t,e,n,i){var r=this;t=j(t);var a=r.properties[t],o=e,s=r.types;if(!a)return null;if(void 0===e)return null;a.alias&&(a=a.pointsTo,t=a.name);var c=y(e);c&&(e=e.trim());var u,l,h=a.type;if(!h)return null;if(n&&(""===e||null===e))return{name:t,value:e,bypass:!0,deleteBypass:!0};if(v(e))return{name:t,value:e,strValue:"fn",mapped:s.fn,bypass:n};if(!c||i||e.length<7||"a"!==e[1]);else{if(e.length>=7&&"d"===e[0]&&(u=new RegExp(s.data.regex).exec(e))){if(n)return!1;var f=s.data;return{name:t,value:u,strValue:""+e,mapped:f,field:u[1],bypass:n}}if(e.length>=10&&"m"===e[0]&&(l=new RegExp(s.mapData.regex).exec(e))){if(n)return!1;if(h.multiple)return!1;var d=s.mapData;if(!h.color&&!h.number)return!1;var g=this.parse(t,l[4]);if(!g||g.mapped)return!1;var p=this.parse(t,l[5]);if(!p||p.mapped)return!1;if(g.pfValue===p.pfValue||g.strValue===p.strValue)return Ce("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+g.strValue+"`"),this.parse(t,g.strValue);if(h.color){var b=g.value,w=p.value;if(!(b[0]!==w[0]||b[1]!==w[1]||b[2]!==w[2]||b[3]!==w[3]&&(null!=b[3]&&1!==b[3]||null!=w[3]&&1!==w[3])))return!1}return{name:t,value:l,strValue:""+e,mapped:d,field:l[1],fieldMin:parseFloat(l[2]),fieldMax:parseFloat(l[3]),valueMin:g.value,valueMax:p.value,bypass:n}}}if(h.multiple&&"multiple"!==i){var m;if(m=c?e.split(/\s+/):x(e)?e:[e],h.evenMultiple&&m.length%2!=0)return null;for(var k=[],_=[],A=[],T="",C=!1,S=0;S<m.length;S++){var I=r.parse(t,m[S],n,"multiple");C=C||y(I.value),k.push(I.value),A.push(null!=I.pfValue?I.pfValue:I.value),_.push(I.units),T+=(S>0?" ":"")+I.strValue}return h.validate&&!h.validate(k,_)?null:h.singleEnum&&C?1===k.length&&y(k[0])?{name:t,value:k[0],strValue:k[0],bypass:n}:null:{name:t,value:k,pfValue:A,strValue:T,bypass:n,units:_}}var M=function(){for(var i=0;i<h.enums.length;i++)if(h.enums[i]===e)return{name:t,value:e,strValue:""+e,bypass:n};return null};if(h.number){var D,O="px";if(h.units&&(D=h.units),h.implicitUnits&&(O=h.implicitUnits),!h.unitless)if(c){var L="px|em"+(h.allowPercent?"|\\%":"");D&&(L=D);var N=e.match("^("+H+")("+L+")?$");N&&(e=N[1],D=N[2]||O)}else D&&!h.implicitUnits||(D=O);if(e=parseFloat(e),isNaN(e)&&void 0===h.enums)return null;if(isNaN(e)&&void 0!==h.enums)return e=o,M();if(h.integer&&!E(e))return null;if(void 0!==h.min&&(e<h.min||h.strictMin&&e===h.min)||void 0!==h.max&&(e>h.max||h.strictMax&&e===h.max))return null;var P={name:t,value:e,strValue:""+e+(D||""),units:D,bypass:n};return h.unitless||"px"!==D&&"em"!==D?P.pfValue=e:P.pfValue="px"!==D&&D?this.getEmSizeInPixels()*e:e,"ms"!==D&&"s"!==D||(P.pfValue="ms"===D?e:1e3*e),"deg"!==D&&"rad"!==D||(P.pfValue="rad"===D?e:mn(e)),"%"===D&&(P.pfValue=e/100),P}if(h.propList){var B=[],F=""+e;if("none"===F);else{for(var R=F.split(/\s*,\s*|\s+/),$=0;$<R.length;$++){var z=R[$].trim();r.properties[z]?B.push(z):Ce("`"+z+"` is not a valid property name")}if(0===B.length)return null}return{name:t,value:B,strValue:0===B.length?"none":B.join(" "),bypass:n}}if(h.color){var q=it(e);return q?{name:t,value:q,pfValue:q,strValue:"rgb("+q[0]+","+q[1]+","+q[2]+")",bypass:n}:null}if(h.regex||h.regexes){if(h.enums){var U=M();if(U)return U}for(var G=h.regexes?h.regexes:[h.regex],Y=0;Y<G.length;Y++){var Z=new RegExp(G[Y]).exec(e);if(Z)return{name:t,value:h.singleRegexMatchValue?Z[1]:Z,strValue:""+e,bypass:n}}return null}return h.string?{name:t,value:""+e,strValue:""+e,bypass:n}:h.enums?M():null}},al=function t(e){if(!(this instanceof t))return new t(e);M(e)?(this._private={cy:e,coreStyle:{}},this.length=0,this.resetToDefault()):Ee("A style must have a core reference")},ol=al.prototype;ol.instanceString=function(){return"style"},ol.clear=function(){for(var t=this._private,e=t.cy.elements(),n=0;n<this.length;n++)this[n]=void 0;return this.length=0,t.contextStyles={},t.propDiffs={},this.cleanElements(e,!0),e.forEach((function(t){var e=t[0]._private;e.styleDirty=!0,e.appliedInitStyle=!1})),this},ol.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},ol.core=function(t){return this._private.coreStyle[t]||this.getDefaultProperty(t)},ol.selector=function(t){var e="core"===t?null:new zs(t),n=this.length++;return this[n]={selector:e,properties:[],mappedProperties:[],index:n},this},ol.css=function(){var t=this,e=arguments;if(1===e.length)for(var n=e[0],i=0;i<t.properties.length;i++){var r=t.properties[i],a=n[r.name];void 0===a&&(a=n[$(r.name)]),void 0!==a&&this.cssRule(r.name,a)}else 2===e.length&&this.cssRule(e[0],e[1]);return this},ol.style=ol.css,ol.cssRule=function(t,e){var n=this.parse(t,e);if(n){var i=this.length-1;this[i].properties.push(n),this[i].properties[n.name]=n,n.name.match(/pie-(\d+)-background-size/)&&n.value&&(this._private.hasPie=!0),n.mapped&&this[i].mappedProperties.push(n),!this[i].selector&&(this._private.coreStyle[n.name]=n)}return this},ol.append=function(t){return D(t)?t.appendToStyle(this):x(t)?this.appendFromJson(t):y(t)&&this.appendFromString(t),this},al.fromJson=function(t,e){var n=new al(t);return n.fromJson(e),n},al.fromString=function(t,e){return new al(t).fromString(e)},[Ku,Qu,Ju,tl,el,nl,il,rl].forEach((function(t){Q(ol,t)})),al.types=ol.types,al.properties=ol.properties,al.propertyGroups=ol.propertyGroups,al.propertyGroupNames=ol.propertyGroupNames,al.propertyGroupKeys=ol.propertyGroupKeys;var sl={style:function(t){return t&&this.setStyle(t).update(),this._private.style},setStyle:function(t){var e=this._private;return D(t)?e.style=t.generateStyle(this):x(t)?e.style=al.fromJson(this,t):y(t)?e.style=al.fromString(this,t):e.style=al(this),e.style},updateStyle:function(){this.mutableElements().updateStyle()}},cl="single",ul={autolock:function(t){return void 0===t?this._private.autolock:(this._private.autolock=!!t,this)},autoungrabify:function(t){return void 0===t?this._private.autoungrabify:(this._private.autoungrabify=!!t,this)},autounselectify:function(t){return void 0===t?this._private.autounselectify:(this._private.autounselectify=!!t,this)},selectionType:function(t){var e=this._private;return null==e.selectionType&&(e.selectionType=cl),void 0===t?e.selectionType:("additive"!==t&&"single"!==t||(e.selectionType=t),this)},panningEnabled:function(t){return void 0===t?this._private.panningEnabled:(this._private.panningEnabled=!!t,this)},userPanningEnabled:function(t){return void 0===t?this._private.userPanningEnabled:(this._private.userPanningEnabled=!!t,this)},zoomingEnabled:function(t){return void 0===t?this._private.zoomingEnabled:(this._private.zoomingEnabled=!!t,this)},userZoomingEnabled:function(t){return void 0===t?this._private.userZoomingEnabled:(this._private.userZoomingEnabled=!!t,this)},boxSelectionEnabled:function(t){return void 0===t?this._private.boxSelectionEnabled:(this._private.boxSelectionEnabled=!!t,this)},pan:function(){var t,e,n,i,r,a=arguments,o=this._private.pan;switch(a.length){case 0:return o;case 1:if(y(a[0]))return o[t=a[0]];if(k(a[0])){if(!this._private.panningEnabled)return this;i=(n=a[0]).x,r=n.y,A(i)&&(o.x=i),A(r)&&(o.y=r),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;t=a[0],e=a[1],"x"!==t&&"y"!==t||!A(e)||(o[t]=e),this.emit("pan viewport")}return this.notify("viewport"),this},panBy:function(t,e){var n,i,r,a,o,s=arguments,c=this._private.pan;if(!this._private.panningEnabled)return this;switch(s.length){case 1:k(t)&&(a=(r=s[0]).x,o=r.y,A(a)&&(c.x+=a),A(o)&&(c.y+=o),this.emit("pan viewport"));break;case 2:i=e,"x"!==(n=t)&&"y"!==n||!A(i)||(c[n]+=i),this.emit("pan viewport")}return this.notify("viewport"),this},fit:function(t,e){var n=this.getFitViewport(t,e);if(n){var i=this._private;i.zoom=n.zoom,i.pan=n.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(t,e){if(A(t)&&void 0===e&&(e=t,t=void 0),this._private.panningEnabled&&this._private.zoomingEnabled){var n;if(y(t)){var i=t;t=this.$(i)}else if(P(t)){var r=t;(n={x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2}).w=n.x2-n.x1,n.h=n.y2-n.y1}else C(t)||(t=this.mutableElements());if(!C(t)||!t.empty()){n=n||t.boundingBox();var a,o=this.width(),s=this.height();if(e=A(e)?e:0,!isNaN(o)&&!isNaN(s)&&o>0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:a=(a=(a=Math.min((o-2*e)/n.w,(s-2*e)/n.h))>this._private.maxZoom?this._private.maxZoom:a)<this._private.minZoom?this._private.minZoom:a,pan:{x:(o-a*(n.x1+n.x2))/2,y:(s-a*(n.y1+n.y2))/2}}}}},zoomRange:function(t,e){var n=this._private;if(null==e){var i=t;t=i.min,e=i.max}return A(t)&&A(e)&&t<=e?(n.minZoom=t,n.maxZoom=e):A(t)&&void 0===e&&t<=n.maxZoom?n.minZoom=t:A(e)&&void 0===t&&e>=n.minZoom&&(n.maxZoom=e),this},minZoom:function(t){return void 0===t?this._private.minZoom:this.zoomRange({min:t})},maxZoom:function(t){return void 0===t?this._private.maxZoom:this.zoomRange({max:t})},getZoomedViewport:function(t){var e,n,i=this._private,r=i.pan,a=i.zoom,o=!1;if(i.zoomingEnabled||(o=!0),A(t)?n=t:k(t)&&(n=t.level,null!=t.position?e=hn(t.position,a,r):null!=t.renderedPosition&&(e=t.renderedPosition),null==e||i.panningEnabled||(o=!0)),n=(n=n>i.maxZoom?i.maxZoom:n)<i.minZoom?i.minZoom:n,o||!A(n)||n===a||null!=e&&(!A(e.x)||!A(e.y)))return null;if(null!=e){var s=r,c=a,u=n;return{zoomed:!0,panned:!0,zoom:u,pan:{x:-u/c*(e.x-s.x)+e.x,y:-u/c*(e.y-s.y)+e.y}}}return{zoomed:!0,panned:!1,zoom:n,pan:r}},zoom:function(t){if(void 0===t)return this._private.zoom;var e=this.getZoomedViewport(t),n=this._private;return null!=e&&e.zoomed?(n.zoom=e.zoom,e.panned&&(n.pan.x=e.pan.x,n.pan.y=e.pan.y),this.emit("zoom"+(e.panned?" pan":"")+" viewport"),this.notify("viewport"),this):this},viewport:function(t){var e=this._private,n=!0,i=!0,r=[],a=!1,o=!1;if(!t)return this;if(A(t.zoom)||(n=!1),k(t.pan)||(i=!1),!n&&!i)return this;if(n){var s=t.zoom;s<e.minZoom||s>e.maxZoom||!e.zoomingEnabled?a=!0:(e.zoom=s,r.push("zoom"))}if(i&&(!a||!t.cancelOnFailedZoom)&&e.panningEnabled){var c=t.pan;A(c.x)&&(e.pan.x=c.x,o=!1),A(c.y)&&(e.pan.y=c.y,o=!1),o||r.push("pan")}return r.length>0&&(r.push("viewport"),this.emit(r.join(" ")),this.notify("viewport")),this},center:function(t){var e=this.getCenterPan(t);return e&&(this._private.pan=e,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(t,e){if(this._private.panningEnabled){if(y(t)){var n=t;t=this.mutableElements().filter(n)}else C(t)||(t=this.mutableElements());if(0!==t.length){var i=t.boundingBox(),r=this.width(),a=this.height();return{x:(r-(e=void 0===e?this._private.zoom:e)*(i.x1+i.x2))/2,y:(a-e*(i.y1+i.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var t,e,n=this._private,i=n.container,r=this;return n.sizeCache=n.sizeCache||(i?(t=r.window().getComputedStyle(i),e=function(e){return parseFloat(t.getPropertyValue(e))},{width:i.clientWidth-e("padding-left")-e("padding-right"),height:i.clientHeight-e("padding-top")-e("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var t=this._private.pan,e=this._private.zoom,n=this.renderedExtent(),i={x1:(n.x1-t.x)/e,x2:(n.x2-t.x)/e,y1:(n.y1-t.y)/e,y2:(n.y2-t.y)/e};return i.w=i.x2-i.x1,i.h=i.y2-i.y1,i},renderedExtent:function(){var t=this.width(),e=this.height();return{x1:0,y1:0,x2:t,y2:e,w:t,h:e}},multiClickDebounceTime:function(t){return t?(this._private.multiClickDebounceTime=t,this):this._private.multiClickDebounceTime}};ul.centre=ul.center,ul.autolockNodes=ul.autolock,ul.autoungrabifyNodes=ul.autoungrabify;var ll={data:gs.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:gs.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:gs.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:gs.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};ll.attr=ll.data,ll.removeAttr=ll.removeData;var hl=function(t){var e=this,n=(t=Q({},t)).container;n&&!T(n)&&T(n[0])&&(n=n[0]);var i=n?n._cyreg:null;(i=i||{})&&i.cy&&(i.cy.destroy(),i={});var r=i.readies=i.readies||[];n&&(n._cyreg=i),i.cy=e;var a=void 0!==f&&void 0!==n&&!t.headless,o=t;o.layout=Q({name:a?"grid":"null"},o.layout),o.renderer=Q({name:a?"canvas":"null"},o.renderer);var s=function(t,e,n){return void 0!==e?e:void 0!==n?n:t},c=this._private={container:n,ready:!1,options:o,elements:new Eu(this),listeners:[],aniEles:new Eu(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:A(o.zoom)?o.zoom:1,pan:{x:k(o.pan)&&A(o.pan.x)?o.pan.x:0,y:k(o.pan)&&A(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});var u=function(t,e){if(t.some(B))return zr.all(t).then(e);e(t)};c.styleEnabled&&e.setStyle([]);var l=Q({},o,o.renderer);e.initRenderer(l);var h=function(t,n,i){e.notifications(!1);var r=e.mutableElements();r.length>0&&r.remove(),null!=t&&(k(t)||x(t))&&e.add(t),e.one("layoutready",(function(t){e.notifications(!0),e.emit(t),e.one("load",n),e.emitAndNotify("load")})).one("layoutstop",(function(){e.one("done",i),e.emit("done")}));var a=Q({},e._private.options.layout);a.eles=e.elements(),e.layout(a).run()};u([o.style,o.elements],(function(t){var n=t[0],a=t[1];c.styleEnabled&&e.style().append(n),h(a,(function(){e.startAnimationLoop(),c.ready=!0,v(o.ready)&&e.on("ready",o.ready);for(var t=0;t<r.length;t++){var n=r[t];e.on("ready",n)}i&&(i.readies=[]),e.emit("ready")}),o.done)}))},fl=hl.prototype;Q(fl,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(t){return this.isReady()?this.emitter().emit("ready",[],t):this.on("ready",t),this},destroy:function(){var t=this;if(!t.destroyed())return t.stopAnimationLoop(),t.destroyRenderer(),this.emit("destroy"),t._private.destroyed=!0,t},hasElementWithId:function(t){return this._private.elements.hasElementWithId(t)},getElementById:function(t){return this._private.elements.getElementById(t)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(t){return this._private.elements.merge(t),this},removeFromPool:function(t){return this._private.elements.unmerge(t),this},container:function(){return this._private.container||null},window:function(){if(null==this._private.container)return f;var t=this._private.container.ownerDocument;return void 0===t||null==t?f:t.defaultView||f},mount:function(t){if(null!=t){var e=this,n=e._private,i=n.options;return!T(t)&&T(t[0])&&(t=t[0]),e.stopAnimationLoop(),e.destroyRenderer(),n.container=t,n.styleEnabled=!0,e.invalidateSize(),e.initRenderer(Q({},i,i.renderer,{name:"null"===i.renderer.name?"canvas":i.renderer.name})),e.startAnimationLoop(),e.style(i.style),e.emit("mount"),e}},unmount:function(){var t=this;return t.stopAnimationLoop(),t.destroyRenderer(),t.initRenderer({name:"null"}),t.emit("unmount"),t},options:function(){return Ie(this._private.options)},json:function(t){var e=this,n=e._private,i=e.mutableElements(),r=function(t){return e.getElementById(t.id())};if(k(t)){if(e.startBatch(),t.elements){var a={},o=function(t,n){for(var i=[],r=[],o=0;o<t.length;o++){var s=t[o];if(s.data.id){var c=""+s.data.id,u=e.getElementById(c);a[c]=!0,0!==u.length?r.push({ele:u,json:s}):n?(s.group=n,i.push(s)):i.push(s)}else Ce("cy.json() cannot handle elements without an ID attribute")}e.add(i);for(var l=0;l<r.length;l++){var h=r[l],f=h.ele,d=h.json;f.json(d)}};if(x(t.elements))o(t.elements);else for(var s=["nodes","edges"],c=0;c<s.length;c++){var u=s[c],l=t.elements[u];x(l)&&o(l,u)}var h=e.collection();i.filter((function(t){return!a[t.id()]})).forEach((function(t){t.isParent()?h.merge(t):t.remove()})),h.forEach((function(t){return t.children().move({parent:null})})),h.forEach((function(t){return r(t).remove()}))}t.style&&e.style(t.style),null!=t.zoom&&t.zoom!==n.zoom&&e.zoom(t.zoom),t.pan&&(t.pan.x===n.pan.x&&t.pan.y===n.pan.y||e.pan(t.pan)),t.data&&e.data(t.data);for(var f=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],d=0;d<f.length;d++){var g=f[d];null!=t[g]&&e[g](t[g])}return e.endBatch(),this}var p={};t?p.elements=this.elements().map((function(t){return t.json()})):(p.elements={},i.forEach((function(t){var e=t.group();p.elements[e]||(p.elements[e]=[]),p.elements[e].push(t.json())}))),this._private.styleEnabled&&(p.style=e.style().json()),p.data=Ie(e.data());var b=n.options;return p.zoomingEnabled=n.zoomingEnabled,p.userZoomingEnabled=n.userZoomingEnabled,p.zoom=n.zoom,p.minZoom=n.minZoom,p.maxZoom=n.maxZoom,p.panningEnabled=n.panningEnabled,p.userPanningEnabled=n.userPanningEnabled,p.pan=Ie(n.pan),p.boxSelectionEnabled=n.boxSelectionEnabled,p.renderer=Ie(b.renderer),p.hideEdgesOnViewport=b.hideEdgesOnViewport,p.textureOnViewport=b.textureOnViewport,p.wheelSensitivity=b.wheelSensitivity,p.motionBlur=b.motionBlur,p.multiClickDebounceTime=b.multiClickDebounceTime,p}}),fl.$id=fl.getElementById,[Cu,ju,qu,Hu,Uu,Gu,Zu,Wu,sl,ul,ll].forEach((function(t){Q(fl,t)}));var dl={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}},gl={maximal:!1,acyclic:!1},pl=function(t){return t.scratch("breadthfirst")},bl=function(t,e){return t.scratch("breadthfirst",e)};function wl(t){this.options=Q({},dl,gl,t)}wl.prototype.run=function(){var t,e=this.options,n=e,i=e.cy,r=n.eles,a=r.nodes().filter((function(t){return!t.isParent()})),o=r,s=n.directed,c=n.acyclic||n.maximal||n.maximalAdjustments>0,u=In(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:i.width(),h:i.height()});if(C(n.roots))t=n.roots;else if(x(n.roots)){for(var l=[],h=0;h<n.roots.length;h++){var f=n.roots[h],d=i.getElementById(f);l.push(d)}t=i.collection(l)}else if(y(n.roots))t=i.$(n.roots);else if(s)t=a.roots();else{var g=r.components();t=i.collection();for(var p=function(e){var n=g[e],i=n.maxDegree(!1),r=n.filter((function(t){return t.degree(!1)===i}));t=t.add(r)},b=0;b<g.length;b++)p(b)}var w=[],m={},v=function(t,e){null==w[e]&&(w[e]=[]);var n=w[e].length;w[e].push(t),bl(t,{index:n,depth:e})},k=function(t,e){var n=pl(t),i=n.depth,r=n.index;w[i][r]=null,v(t,e)};o.bfs({roots:t,directed:n.directed,visit:function(t,e,n,i,r){var a=t[0],o=a.id();v(a,r),m[o]=!0}});for(var _=[],A=0;A<a.length;A++){var E=a[A];m[E.id()]||_.push(E)}var T=function(t){for(var e=w[t],n=0;n<e.length;n++){var i=e[n];null!=i?bl(i,{depth:t,index:n}):(e.splice(n,1),n--)}},S=function(){for(var t=0;t<w.length;t++)T(t)},I=function(t,e){for(var i=pl(t),a=t.incomers().filter((function(t){return t.isNode()&&r.has(t)})),o=-1,s=t.id(),c=0;c<a.length;c++){var u=a[c],l=pl(u);o=Math.max(o,l.depth)}if(i.depth<=o){if(!n.acyclic&&e[s])return null;var h=o+1;return k(t,h),e[s]=h,!0}return!1};if(s&&c){var M=[],D={},O=function(t){return M.push(t)},L=function(){return M.shift()};for(a.forEach((function(t){return M.push(t)}));M.length>0;){var N=L(),P=I(N,D);if(P)N.outgoers().filter((function(t){return t.isNode()&&r.has(t)})).forEach(O);else if(null===P){Ce("Detected double maximal shift for node `"+N.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}S();var B=0;if(n.avoidOverlap)for(var F=0;F<a.length;F++){var R=a[F].layoutDimensions(n),j=R.w,$=R.h;B=Math.max(B,j,$)}var z={},q=function(t){if(z[t.id()])return z[t.id()];for(var e=pl(t).depth,n=t.neighborhood(),i=0,r=0,o=0;o<n.length;o++){var s=n[o];if(!s.isEdge()&&!s.isParent()&&a.has(s)){var c=pl(s);if(null!=c){var u=c.index,l=c.depth;if(null!=u&&null!=l){var h=w[l].length;l<e&&(i+=u/h,r++)}}}}return i/=r=Math.max(1,r),0===r&&(i=0),z[t.id()]=i,i},H=function(t,e){var n=q(t)-q(e);return 0===n?X(t.id(),e.id()):n};void 0!==n.depthSort&&(H=n.depthSort);for(var U=0;U<w.length;U++)w[U].sort(H),T(U);for(var G=[],Y=0;Y<_.length;Y++)G.push(_[Y]);w.unshift(G),S();for(var Z=0,W=0;W<w.length;W++)Z=Math.max(w[W].length,Z);var K={x:u.x1+u.w/2,y:u.x1+u.h/2},V=w.reduce((function(t,e){return Math.max(t,e.length)}),0),Q=function(t){var e=pl(t),i=e.depth,r=e.index,a=w[i].length,o=Math.max(u.w/((n.grid?V:a)+1),B),s=Math.max(u.h/(w.length+1),B),c=Math.min(u.w/2/w.length,u.h/2/w.length);if(c=Math.max(c,B),n.circle){var l=c*i+c-(w.length>0&&w[0].length<=3?c/2:0),h=2*Math.PI/w[i].length*r;return 0===i&&1===w[0].length&&(l=1),{x:K.x+l*Math.cos(h),y:K.y+l*Math.sin(h)}}return{x:K.x+(r+1-(a+1)/2)*o,y:(i+1)*s}};return r.nodes().layoutPositions(this,n,Q),this};var ml={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(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function yl(t){this.options=Q({},ml,t)}yl.prototype.run=function(){var t=this.options,e=t,n=t.cy,i=e.eles,r=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,a=i.nodes().not(":parent");e.sort&&(a=a.sort(e.sort));for(var o,s=In(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),c={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===e.sweep?2*Math.PI-2*Math.PI/a.length:e.sweep)/Math.max(1,a.length-1),l=0,h=0;h<a.length;h++){var f=a[h].layoutDimensions(e),d=f.w,g=f.h;l=Math.max(l,d,g)}if(o=A(e.radius)?e.radius:a.length<=1?0:Math.min(s.h,s.w)/2-l,a.length>1&&e.avoidOverlap){l*=1.75;var p=Math.cos(u)-Math.cos(0),b=Math.sin(u)-Math.sin(0),w=Math.sqrt(l*l/(p*p+b*b));o=Math.max(w,o)}var m=function(t,n){var i=e.startAngle+n*u*(r?1:-1),a=o*Math.cos(i),s=o*Math.sin(i);return{x:c.x+a,y:c.y+s}};return i.nodes().layoutPositions(this,e,m),this};var vl,xl={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(t){return t.degree()},levelWidth:function(t){return t.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function kl(t){this.options=Q({},xl,t)}kl.prototype.run=function(){for(var t=this.options,e=t,n=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,i=t.cy,r=e.eles,a=r.nodes().not(":parent"),o=In(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:i.width(),h:i.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},c=[],u=0,l=0;l<a.length;l++){var h=a[l],f=void 0;f=e.concentric(h),c.push({value:f,node:h}),h._private.scratch.concentric=f}a.updateStyle();for(var d=0;d<a.length;d++){var g=a[d].layoutDimensions(e);u=Math.max(u,g.w,g.h)}c.sort((function(t,e){return e.value-t.value}));for(var p=e.levelWidth(a),b=[[]],w=b[0],m=0;m<c.length;m++){var y=c[m];w.length>0&&Math.abs(w[0].value-y.value)>=p&&(w=[],b.push(w)),w.push(y)}var v=u+e.minNodeSpacing;if(!e.avoidOverlap){var x=b.length>0&&b[0].length>1,k=(Math.min(o.w,o.h)/2-v)/(b.length+x?1:0);v=Math.min(v,k)}for(var _=0,A=0;A<b.length;A++){var E=b[A],T=void 0===e.sweep?2*Math.PI-2*Math.PI/E.length:e.sweep,C=E.dTheta=T/Math.max(1,E.length-1);if(E.length>1&&e.avoidOverlap){var S=Math.cos(C)-Math.cos(0),I=Math.sin(C)-Math.sin(0),M=Math.sqrt(v*v/(S*S+I*I));_=Math.max(M,_)}E.r=_,_+=v}if(e.equidistant){for(var D=0,O=0,L=0;L<b.length;L++){var N=b[L].r-O;D=Math.max(D,N)}O=0;for(var P=0;P<b.length;P++){var B=b[P];0===P&&(O=B.r),B.r=O,O+=D}}for(var F={},R=0;R<b.length;R++)for(var j=b[R],$=j.dTheta,z=j.r,q=0;q<j.length;q++){var H=j[q],U=e.startAngle+(n?1:-1)*$*q,G={x:s.x+z*Math.cos(U),y:s.y+z*Math.sin(U)};F[H.node.id()]=G}return r.nodes().layoutPositions(this,e,(function(t){var e=t.id();return F[e]})),this};var _l={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(t,e){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(t){return 2048},nodeOverlap:4,idealEdgeLength:function(t){return 32},edgeElasticity:function(t){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function Al(t){this.options=Q({},_l,t),this.options.layout=this}Al.prototype.run=function(){var t=this.options,e=t.cy,n=this;n.stopped=!1,!0!==t.animate&&!1!==t.animate||n.emit({type:"layoutstart",layout:n}),vl=!0===t.debug;var i=Tl(e,n,t);vl&&El(i),t.randomize&&Il(i);var r=ie(),a=function(){Dl(i,e,t),!0===t.fit&&e.fit(t.padding)},o=function(e){return!(n.stopped||e>=t.numIter||(Ol(i,t),i.temperature=i.temperature*t.coolingFactor,i.temperature<t.minTemp))},s=function(){if(!0===t.animate||!1===t.animate)a(),n.one("layoutstop",t.stop),n.emit({type:"layoutstop",layout:n});else{var e=t.eles.nodes(),r=Ml(i,t,e);e.layoutPositions(n,t,r)}},c=0,u=!0;if(!0===t.animate)!function e(){for(var n=0;u&&n<t.refresh;)u=o(c),c++,n++;u?(ie()-r>=t.animationThreshold&&a(),ne(e)):(Ul(i,t),s())}();else{for(;u;)u=o(c),c++;Ul(i,t),s()}return this},Al.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},Al.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var El,Tl=function(t,e,n){for(var i=n.eles.edges(),r=n.eles.nodes(),a=In(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()}),o={isCompound:t.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:r.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:i.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),c={},u=0;u<s.length;u++)for(var l=s[u],h=0;h<l.length;h++)c[l[h].id()]=u;for(u=0;u<o.nodeSize;u++){var f=(w=r[u]).layoutDimensions(n);(N={}).isLocked=w.locked(),N.id=w.data("id"),N.parentId=w.data("parent"),N.cmptId=c[w.id()],N.children=[],N.positionX=w.position("x"),N.positionY=w.position("y"),N.offsetX=0,N.offsetY=0,N.height=f.w,N.width=f.h,N.maxX=N.positionX+N.width/2,N.minX=N.positionX-N.width/2,N.maxY=N.positionY+N.height/2,N.minY=N.positionY-N.height/2,N.padLeft=parseFloat(w.style("padding")),N.padRight=parseFloat(w.style("padding")),N.padTop=parseFloat(w.style("padding")),N.padBottom=parseFloat(w.style("padding")),N.nodeRepulsion=v(n.nodeRepulsion)?n.nodeRepulsion(w):n.nodeRepulsion,o.layoutNodes.push(N),o.idToIndex[N.id]=u}var d=[],g=0,p=-1,b=[];for(u=0;u<o.nodeSize;u++){var w,m=(w=o.layoutNodes[u]).parentId;null!=m?o.layoutNodes[o.idToIndex[m]].children.push(w.id):(d[++p]=w.id,b.push(w.id))}for(o.graphSet.push(b);g<=p;){var y=d[g++],x=o.idToIndex[y],k=o.layoutNodes[x].children;if(k.length>0)for(o.graphSet.push(k),u=0;u<k.length;u++)d[++p]=k[u]}for(u=0;u<o.graphSet.length;u++){var _=o.graphSet[u];for(h=0;h<_.length;h++){var A=o.idToIndex[_[h]];o.indexToGraph[A]=u}}for(u=0;u<o.edgeSize;u++){var E=i[u],T={};T.id=E.data("id"),T.sourceId=E.data("source"),T.targetId=E.data("target");var C=v(n.idealEdgeLength)?n.idealEdgeLength(E):n.idealEdgeLength,S=v(n.edgeElasticity)?n.edgeElasticity(E):n.edgeElasticity,I=o.idToIndex[T.sourceId],M=o.idToIndex[T.targetId];if(o.indexToGraph[I]!=o.indexToGraph[M]){for(var D=Cl(T.sourceId,T.targetId,o),O=o.graphSet[D],L=0,N=o.layoutNodes[I];-1===O.indexOf(N.id);)N=o.layoutNodes[o.idToIndex[N.parentId]],L++;for(N=o.layoutNodes[M];-1===O.indexOf(N.id);)N=o.layoutNodes[o.idToIndex[N.parentId]],L++;C*=L*n.nestingFactor}T.idealLength=C,T.elasticity=S,o.layoutEdges.push(T)}return o},Cl=function(t,e,n){var i=Sl(t,e,0,n);return 2>i.count?0:i.graph},Sl=function t(e,n,i,r){var a=r.graphSet[i];if(-1<a.indexOf(e)&&-1<a.indexOf(n))return{count:2,graph:i};for(var o=0,s=0;s<a.length;s++){var c=a[s],u=r.idToIndex[c],l=r.layoutNodes[u].children;if(0!==l.length){var h=t(e,n,r.indexToGraph[r.idToIndex[l[0]]],r);if(0!==h.count){if(1!==h.count)return h;if(2==++o)break}}}return{count:o,graph:i}},Il=function(t,e){for(var n=t.clientWidth,i=t.clientHeight,r=0;r<t.nodeSize;r++){var a=t.layoutNodes[r];0!==a.children.length||a.isLocked||(a.positionX=Math.random()*n,a.positionY=Math.random()*i)}},Ml=function(t,e,n){var i=t.boundingBox,r={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return e.boundingBox&&(n.forEach((function(e){var n=t.layoutNodes[t.idToIndex[e.data("id")]];r.x1=Math.min(r.x1,n.positionX),r.x2=Math.max(r.x2,n.positionX),r.y1=Math.min(r.y1,n.positionY),r.y2=Math.max(r.y2,n.positionY)})),r.w=r.x2-r.x1,r.h=r.y2-r.y1),function(n,a){var o=t.layoutNodes[t.idToIndex[n.data("id")]];if(e.boundingBox){var s=(o.positionX-r.x1)/r.w,c=(o.positionY-r.y1)/r.h;return{x:i.x1+s*i.w,y:i.y1+c*i.h}}return{x:o.positionX,y:o.positionY}}},Dl=function(t,e,n){var i=n.layout,r=n.eles.nodes(),a=Ml(t,n,r);r.positions(a),!0!==t.ready&&(t.ready=!0,i.one("layoutready",n.ready),i.emit({type:"layoutready",layout:this}))},Ol=function(t,e,n){Ll(t,e),Rl(t),jl(t,e),$l(t),zl(t)},Ll=function(t,e){for(var n=0;n<t.graphSet.length;n++)for(var i=t.graphSet[n],r=i.length,a=0;a<r;a++)for(var o=t.layoutNodes[t.idToIndex[i[a]]],s=a+1;s<r;s++){var c=t.layoutNodes[t.idToIndex[i[s]]];Pl(o,c,t,e)}},Nl=function(t){return-t+2*t*Math.random()},Pl=function(t,e,n,i){if(t.cmptId===e.cmptId||n.isCompound){var r=e.positionX-t.positionX,a=e.positionY-t.positionY,o=1;0===r&&0===a&&(r=Nl(o),a=Nl(o));var s=Bl(t,e,r,a);if(s>0)var c=(l=i.nodeOverlap*s)*r/(b=Math.sqrt(r*r+a*a)),u=l*a/b;else{var l,h=Fl(t,r,a),f=Fl(e,-1*r,-1*a),d=f.x-h.x,g=f.y-h.y,p=d*d+g*g,b=Math.sqrt(p);c=(l=(t.nodeRepulsion+e.nodeRepulsion)/p)*d/b,u=l*g/b}t.isLocked||(t.offsetX-=c,t.offsetY-=u),e.isLocked||(e.offsetX+=c,e.offsetY+=u)}},Bl=function(t,e,n,i){if(n>0)var r=t.maxX-e.minX;else r=e.maxX-t.minX;if(i>0)var a=t.maxY-e.minY;else a=e.maxY-t.minY;return r>=0&&a>=0?Math.sqrt(r*r+a*a):0},Fl=function(t,e,n){var i=t.positionX,r=t.positionY,a=t.height||1,o=t.width||1,s=n/e,c=a/o,u={};return 0===e&&0<n||0===e&&0>n?(u.x=i,u.y=r+a/2,u):0<e&&-1*c<=s&&s<=c?(u.x=i+o/2,u.y=r+o*n/2/e,u):0>e&&-1*c<=s&&s<=c?(u.x=i-o/2,u.y=r-o*n/2/e,u):0<n&&(s<=-1*c||s>=c)?(u.x=i+a*e/2/n,u.y=r+a/2,u):0>n&&(s<=-1*c||s>=c)?(u.x=i-a*e/2/n,u.y=r-a/2,u):u},Rl=function(t,e){for(var n=0;n<t.edgeSize;n++){var i=t.layoutEdges[n],r=t.idToIndex[i.sourceId],a=t.layoutNodes[r],o=t.idToIndex[i.targetId],s=t.layoutNodes[o],c=s.positionX-a.positionX,u=s.positionY-a.positionY;if(0!==c||0!==u){var l=Fl(a,c,u),h=Fl(s,-1*c,-1*u),f=h.x-l.x,d=h.y-l.y,g=Math.sqrt(f*f+d*d),p=Math.pow(i.idealLength-g,2)/i.elasticity;if(0!==g)var b=p*f/g,w=p*d/g;else b=0,w=0;a.isLocked||(a.offsetX+=b,a.offsetY+=w),s.isLocked||(s.offsetX-=b,s.offsetY-=w)}}},jl=function(t,e){if(0!==e.gravity)for(var n=1,i=0;i<t.graphSet.length;i++){var r=t.graphSet[i],a=r.length;if(0===i)var o=t.clientHeight/2,s=t.clientWidth/2;else{var c=t.layoutNodes[t.idToIndex[r[0]]],u=t.layoutNodes[t.idToIndex[c.parentId]];o=u.positionX,s=u.positionY}for(var l=0;l<a;l++){var h=t.layoutNodes[t.idToIndex[r[l]]];if(!h.isLocked){var f=o-h.positionX,d=s-h.positionY,g=Math.sqrt(f*f+d*d);if(g>n){var p=e.gravity*f/g,b=e.gravity*d/g;h.offsetX+=p,h.offsetY+=b}}}}},$l=function(t,e){var n=[],i=0,r=-1;for(n.push.apply(n,t.graphSet[0]),r+=t.graphSet[0].length;i<=r;){var a=n[i++],o=t.idToIndex[a],s=t.layoutNodes[o],c=s.children;if(0<c.length&&!s.isLocked){for(var u=s.offsetX,l=s.offsetY,h=0;h<c.length;h++){var f=t.layoutNodes[t.idToIndex[c[h]]];f.offsetX+=u,f.offsetY+=l,n[++r]=c[h]}s.offsetX=0,s.offsetY=0}}},zl=function(t,e){for(var n=0;n<t.nodeSize;n++)0<(r=t.layoutNodes[n]).children.length&&(r.maxX=void 0,r.minX=void 0,r.maxY=void 0,r.minY=void 0);for(n=0;n<t.nodeSize;n++)if(!(0<(r=t.layoutNodes[n]).children.length||r.isLocked)){var i=ql(r.offsetX,r.offsetY,t.temperature);r.positionX+=i.x,r.positionY+=i.y,r.offsetX=0,r.offsetY=0,r.minX=r.positionX-r.width,r.maxX=r.positionX+r.width,r.minY=r.positionY-r.height,r.maxY=r.positionY+r.height,Hl(r,t)}for(n=0;n<t.nodeSize;n++){var r;0<(r=t.layoutNodes[n]).children.length&&!r.isLocked&&(r.positionX=(r.maxX+r.minX)/2,r.positionY=(r.maxY+r.minY)/2,r.width=r.maxX-r.minX,r.height=r.maxY-r.minY)}},ql=function(t,e,n){var i=Math.sqrt(t*t+e*e);if(i>n)var r={x:n*t/i,y:n*e/i};else r={x:t,y:e};return r},Hl=function t(e,n){var i=e.parentId;if(null!=i){var r=n.layoutNodes[n.idToIndex[i]],a=!1;return(null==r.maxX||e.maxX+r.padRight>r.maxX)&&(r.maxX=e.maxX+r.padRight,a=!0),(null==r.minX||e.minX-r.padLeft<r.minX)&&(r.minX=e.minX-r.padLeft,a=!0),(null==r.maxY||e.maxY+r.padBottom>r.maxY)&&(r.maxY=e.maxY+r.padBottom,a=!0),(null==r.minY||e.minY-r.padTop<r.minY)&&(r.minY=e.minY-r.padTop,a=!0),a?t(r,n):void 0}},Ul=function(t,e){for(var n=t.layoutNodes,i=[],r=0;r<n.length;r++){var a=n[r],o=a.cmptId;(i[o]=i[o]||[]).push(a)}var s=0;for(r=0;r<i.length;r++)if(p=i[r]){p.x1=1/0,p.x2=-1/0,p.y1=1/0,p.y2=-1/0;for(var c=0;c<p.length;c++){var u=p[c];p.x1=Math.min(p.x1,u.positionX-u.width/2),p.x2=Math.max(p.x2,u.positionX+u.width/2),p.y1=Math.min(p.y1,u.positionY-u.height/2),p.y2=Math.max(p.y2,u.positionY+u.height/2)}p.w=p.x2-p.x1,p.h=p.y2-p.y1,s+=p.w*p.h}i.sort((function(t,e){return e.w*e.h-t.w*t.h}));var l=0,h=0,f=0,d=0,g=Math.sqrt(s)*t.clientWidth/t.clientHeight;for(r=0;r<i.length;r++){var p;if(p=i[r]){for(c=0;c<p.length;c++)(u=p[c]).isLocked||(u.positionX+=l-p.x1,u.positionY+=h-p.y1);l+=p.w+e.componentSpacing,f+=p.w+e.componentSpacing,d=Math.max(d,p.h),f>g&&(h+=d+e.componentSpacing,l=0,f=0,d=0)}}},Gl={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(t){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function Yl(t){this.options=Q({},Gl,t)}Yl.prototype.run=function(){var t=this.options,e=t,n=t.cy,i=e.eles,r=i.nodes().not(":parent");e.sort&&(r=r.sort(e.sort));var a=In(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)i.nodes().layoutPositions(this,e,(function(t){return{x:a.x1,y:a.y1}}));else{var o=r.size(),s=Math.sqrt(o*a.h/a.w),c=Math.round(s),u=Math.round(a.w/a.h*s),l=function(t){if(null==t)return Math.min(c,u);Math.min(c,u)==c?c=t:u=t},h=function(t){if(null==t)return Math.max(c,u);Math.max(c,u)==c?c=t:u=t},f=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=f&&null!=d)c=f,u=d;else if(null!=f&&null==d)c=f,u=Math.ceil(o/c);else if(null==f&&null!=d)u=d,c=Math.ceil(o/u);else if(u*c>o){var g=l(),p=h();(g-1)*p>=o?l(g-1):(p-1)*g>=o&&h(p-1)}else for(;u*c<o;){var b=l(),w=h();(w+1)*b>=o?h(w+1):l(b+1)}var m=a.w/u,y=a.h/c;if(e.condense&&(m=0,y=0),e.avoidOverlap)for(var v=0;v<r.length;v++){var x=r[v],k=x._private.position;null!=k.x&&null!=k.y||(k.x=0,k.y=0);var _=x.layoutDimensions(e),A=e.avoidOverlapPadding,E=_.w+A,T=_.h+A;m=Math.max(m,E),y=Math.max(y,T)}for(var C={},S=function(t,e){return!!C["c-"+t+"-"+e]},I=function(t,e){C["c-"+t+"-"+e]=!0},M=0,D=0,O=function(){++D>=u&&(D=0,M++)},L={},N=0;N<r.length;N++){var P=r[N],B=e.position(P);if(B&&(void 0!==B.row||void 0!==B.col)){var F={row:B.row,col:B.col};if(void 0===F.col)for(F.col=0;S(F.row,F.col);)F.col++;else if(void 0===F.row)for(F.row=0;S(F.row,F.col);)F.row++;L[P.id()]=F,I(F.row,F.col)}}var R=function(t,e){var n,i;if(t.locked()||t.isParent())return!1;var r=L[t.id()];if(r)n=r.col*m+m/2+a.x1,i=r.row*y+y/2+a.y1;else{for(;S(M,D);)O();n=D*m+m/2+a.x1,i=M*y+y/2+a.y1,I(M,D),O()}return{x:n,y:i}};r.layoutPositions(this,e,R)}return this};var Zl={ready:function(){},stop:function(){}};function Wl(t){this.options=Q({},Zl,t)}Wl.prototype.run=function(){var t=this.options,e=t.eles,n=this;return t.cy,n.emit("layoutstart"),e.nodes().positions((function(){return{x:0,y:0}})),n.one("layoutready",t.ready),n.emit("layoutready"),n.one("layoutstop",t.stop),n.emit("layoutstop"),this},Wl.prototype.stop=function(){return this};var Kl={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function Xl(t){this.options=Q({},Kl,t)}Xl.prototype.run=function(){var t=this.options,e=t.eles.nodes(),n=v(t.positions);function i(e){if(null==t.positions)return ln(e.position());if(n)return t.positions(e);var i=t.positions[e._private.data.id];return null==i?null:i}return e.layoutPositions(this,t,(function(t,e){var n=i(t);return!t.locked()&&null!=n&&n})),this};var Vl={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function Ql(t){this.options=Q({},Vl,t)}Ql.prototype.run=function(){var t=this.options,e=t.cy,n=t.eles,i=In(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),r=function(t,e){return{x:i.x1+Math.round(Math.random()*i.w),y:i.y1+Math.round(Math.random()*i.h)}};return n.nodes().layoutPositions(this,t,r),this};var Jl=[{name:"breadthfirst",impl:wl},{name:"circle",impl:yl},{name:"concentric",impl:kl},{name:"cose",impl:Al},{name:"grid",impl:Yl},{name:"null",impl:Wl},{name:"preset",impl:Xl},{name:"random",impl:Ql}];function th(t){this.options=t,this.notifications=0}var eh=function(){},nh=function(){throw new Error("A headless instance can not render images")};th.prototype={recalculateRenderedStyle:eh,notify:function(){this.notifications++},init:eh,isHeadless:function(){return!0},png:nh,jpg:nh};var ih={arrowShapeWidth:.3,registerArrowShapes:function(){var t=this.arrowShapes={},e=this,n=function(t,e,n,i,r,a,o){var s=r.x-n/2-o,c=r.x+n/2+o,u=r.y-n/2-o,l=r.y+n/2+o;return s<=t&&t<=c&&u<=e&&e<=l},i=function(t,e,n,i,r){var a=t*Math.cos(i)-e*Math.sin(i),o=(t*Math.sin(i)+e*Math.cos(i))*n;return{x:a*n+r.x,y:o+r.y}},r=function(t,e,n,r){for(var a=[],o=0;o<t.length;o+=2){var s=t[o],c=t[o+1];a.push(i(s,c,e,n,r))}return a},a=function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];e.push(i.x,i.y)}return e},o=function(t){return t.pstyle("width").pfValue*t.pstyle("arrow-scale").pfValue*2},s=function(i,s){y(s)&&(s=t[s]),t[i]=Q({name:i,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(t,e,n,i,o,s){var c=a(r(this.points,n+2*s,i,o));return Wn(t,e,c)},roughCollide:n,draw:function(t,n,i,a){var o=r(this.points,n,i,a);e.arrowShapeImpl("polygon")(t,o)},spacing:function(t){return 0},gap:o},s)};s("none",{collide:ke,roughCollide:ke,draw:Ae,spacing:_e,gap:_e}),s("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),s("arrow","triangle"),s("triangle-backcurve",{points:t.triangle.points,controlPoint:[0,-.15],roughCollide:n,draw:function(t,n,a,o,s){var c=r(this.points,n,a,o),u=this.controlPoint,l=i(u[0],u[1],n,a,o);e.arrowShapeImpl(this.name)(t,c,l)},gap:function(t){return.8*o(t)}}),s("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(t,e,n,i,o,s,c){var u=a(r(this.points,n+2*c,i,o)),l=a(r(this.pointsTee,n+2*c,i,o));return Wn(t,e,u)||Wn(t,e,l)},draw:function(t,n,i,a,o){var s=r(this.points,n,i,a),c=r(this.pointsTee,n,i,a);e.arrowShapeImpl(this.name)(t,s,c)}}),s("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(t,e,n,i,o,s,c){var u=o,l=Math.pow(u.x-t,2)+Math.pow(u.y-e,2)<=Math.pow((n+2*c)*this.radius,2),h=a(r(this.points,n+2*c,i,o));return Wn(t,e,h)||l},draw:function(t,n,i,a,o){var s=r(this.pointsTr,n,i,a);e.arrowShapeImpl(this.name)(t,s,a.x,a.y,this.radius*n)},spacing:function(t){return e.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.radius}}),s("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(t,e){var n=this.baseCrossLinePts.slice(),i=e/t,r=3,a=5;return n[r]=n[r]-i,n[a]=n[a]-i,n},collide:function(t,e,n,i,o,s,c){var u=a(r(this.points,n+2*c,i,o)),l=a(r(this.crossLinePts(n,s),n+2*c,i,o));return Wn(t,e,u)||Wn(t,e,l)},draw:function(t,n,i,a,o){var s=r(this.points,n,i,a),c=r(this.crossLinePts(n,o),n,i,a);e.arrowShapeImpl(this.name)(t,s,c)}}),s("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(t){return.525*o(t)}}),s("circle",{radius:.15,collide:function(t,e,n,i,r,a,o){var s=r;return Math.pow(s.x-t,2)+Math.pow(s.y-e,2)<=Math.pow((n+2*o)*this.radius,2)},draw:function(t,n,i,r,a){e.arrowShapeImpl(this.name)(t,r.x,r.y,this.radius*n)},spacing:function(t){return e.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.radius}}),s("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(t){return 1},gap:function(t){return 1}}),s("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),s("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(t){return t.pstyle("width").pfValue*t.pstyle("arrow-scale").value}}),s("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(t){return.95*t.pstyle("width").pfValue*t.pstyle("arrow-scale").value}})}},rh={projectIntoViewport:function(t,e){var n=this.cy,i=this.findContainerClientCoords(),r=i[0],a=i[1],o=i[4],s=n.pan(),c=n.zoom();return[((t-r)/o-s.x)/c,((e-a)/o-s.y)/c]},findContainerClientCoords:function(){if(this.containerBB)return this.containerBB;var t=this.container,e=t.getBoundingClientRect(),n=this.cy.window().getComputedStyle(t),i=function(t){return parseFloat(n.getPropertyValue(t))},r={left:i("padding-left"),right:i("padding-right"),top:i("padding-top"),bottom:i("padding-bottom")},a={left:i("border-left-width"),right:i("border-right-width"),top:i("border-top-width"),bottom:i("border-bottom-width")},o=t.clientWidth,s=t.clientHeight,c=r.left+r.right,u=r.top+r.bottom,l=a.left+a.right,h=e.width/(o+l),f=o-c,d=s-u,g=e.left+r.left+a.left,p=e.top+r.top+a.top;return this.containerBB=[g,p,f,d,h]},invalidateContainerClientCoordsCache:function(){this.containerBB=null},findNearestElement:function(t,e,n,i){return this.findNearestElements(t,e,n,i)[0]},findNearestElements:function(t,e,n,i){var r,a,o=this,s=this,c=s.getCachedZSortedEles(),u=[],l=s.cy.zoom(),h=s.cy.hasCompoundNodes(),f=(i?24:8)/l,d=(i?8:2)/l,g=(i?8:2)/l,p=1/0;function b(t,e){if(t.isNode()){if(a)return;a=t,u.push(t)}if(t.isEdge()&&(null==e||e<p))if(r){if(r.pstyle("z-compound-depth").value===t.pstyle("z-compound-depth").value&&r.pstyle("z-compound-depth").value===t.pstyle("z-compound-depth").value)for(var n=0;n<u.length;n++)if(u[n].isEdge()){u[n]=t,r=t,p=null!=e?e:p;break}}else u.push(t),r=t,p=null!=e?e:p}function w(n){var i=n.outerWidth()+2*d,r=n.outerHeight()+2*d,a=i/2,c=r/2,u=n.position();if(u.x-a<=t&&t<=u.x+a&&u.y-c<=e&&e<=u.y+c&&s.nodeShapes[o.getNodeShape(n)].checkPoint(t,e,0,i,r,u.x,u.y))return b(n,0),!0}function m(n){var i,r=n._private,a=r.rscratch,c=n.pstyle("width").pfValue,l=n.pstyle("arrow-scale").value,d=c/2+f,g=d*d,p=2*d,m=r.source,y=r.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var v=a.allpts,x=0;x+3<v.length;x+=2)if(qn(t,e,v[x],v[x+1],v[x+2],v[x+3],p)&&g>(i=Zn(t,e,v[x],v[x+1],v[x+2],v[x+3])))return b(n,i),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(v=a.allpts,x=0;x+5<a.allpts.length;x+=4)if(Hn(t,e,v[x],v[x+1],v[x+2],v[x+3],v[x+4],v[x+5],p)&&g>(i=Yn(t,e,v[x],v[x+1],v[x+2],v[x+3],v[x+4],v[x+5])))return b(n,i),!0;m=m||r.source,y=y||r.target;var k=o.getArrowWidth(c,l),_=[{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}];for(x=0;x<_.length;x++){var A=_[x],E=s.arrowShapes[n.pstyle(A.name+"-arrow-shape").value],T=n.pstyle("width").pfValue;if(E.roughCollide(t,e,k,A.angle,{x:A.x,y:A.y},T,f)&&E.collide(t,e,k,A.angle,{x:A.x,y:A.y},T,f))return b(n),!0}h&&u.length>0&&(w(m),w(y))}function y(t,e,n){return Re(t,e,n)}function v(n,i){var r,a=n._private,o=g;r=i?i+"-":"",n.boundingBox();var s=a.labelBounds[i||"main"],c=n.pstyle(r+"label").value;if("yes"===n.pstyle("text-events").strValue&&c){var u=y(a.rscratch,"labelX",i),l=y(a.rscratch,"labelY",i),h=y(a.rscratch,"labelAngle",i),f=n.pstyle(r+"text-margin-x").pfValue,d=n.pstyle(r+"text-margin-y").pfValue,p=s.x1-o-f,w=s.x2+o-f,m=s.y1-o-d,v=s.y2+o-d;if(h){var x=Math.cos(h),k=Math.sin(h),_=function(t,e){return{x:(t-=u)*x-(e-=l)*k+u,y:t*k+e*x+l}},A=_(p,m),E=_(p,v),T=_(w,m),C=_(w,v),S=[A.x+f,A.y+d,T.x+f,T.y+d,C.x+f,C.y+d,E.x+f,E.y+d];if(Wn(t,e,S))return b(n),!0}else if(Rn(s,t,e))return b(n),!0}}n&&(c=c.interactive);for(var x=c.length-1;x>=0;x--){var k=c[x];k.isNode()?w(k)||v(k):m(k)||v(k)||v(k,"source")||v(k,"target")}return u},getAllInBox:function(t,e,n,i){for(var r=this.getCachedZSortedEles().interactive,a=[],o=Math.min(t,n),s=Math.max(t,n),c=Math.min(e,i),u=Math.max(e,i),l=In({x1:t=o,y1:e=c,x2:n=s,y2:i=u}),h=0;h<r.length;h++){var f=r[h];if(f.isNode()){var d=f,g=d.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});Fn(l,g)&&!$n(g,l)&&a.push(d)}else{var p=f,b=p._private,w=b.rscratch;if(null!=w.startX&&null!=w.startY&&!Rn(l,w.startX,w.startY))continue;if(null!=w.endX&&null!=w.endY&&!Rn(l,w.endX,w.endY))continue;if("bezier"===w.edgeType||"multibezier"===w.edgeType||"self"===w.edgeType||"compound"===w.edgeType||"segments"===w.edgeType||"haystack"===w.edgeType){for(var m=b.rstyle.bezierPts||b.rstyle.linePts||b.rstyle.haystackPts,y=!0,v=0;v<m.length;v++)if(!jn(l,m[v])){y=!1;break}y&&a.push(p)}else"haystack"!==w.edgeType&&"straight"!==w.edgeType||a.push(p)}}return a}},ah={calculateArrowAngles:function(t){var e,n,i,r,a,o,s=t._private.rscratch,c="haystack"===s.edgeType,u="bezier"===s.edgeType,l="multibezier"===s.edgeType,h="segments"===s.edgeType,f="compound"===s.edgeType,d="self"===s.edgeType;if(c?(i=s.haystackPts[0],r=s.haystackPts[1],a=s.haystackPts[2],o=s.haystackPts[3]):(i=s.arrowStartX,r=s.arrowStartY,a=s.arrowEndX,o=s.arrowEndY),p=s.midX,b=s.midY,h)e=i-s.segpts[0],n=r-s.segpts[1];else if(l||f||d||u){var g=s.allpts;e=i-En(g[0],g[2],g[4],.1),n=r-En(g[1],g[3],g[5],.1)}else e=i-p,n=r-b;s.srcArrowAngle=yn(e,n);var p=s.midX,b=s.midY;if(c&&(p=(i+a)/2,b=(r+o)/2),e=a-i,n=o-r,h)if((g=s.allpts).length/2%2==0){var w=(m=g.length/2)-2;e=g[m]-g[w],n=g[m+1]-g[w+1]}else{w=(m=g.length/2-1)-2;var m,y=m+2;e=g[m]-g[w],n=g[m+1]-g[w+1]}else if(l||f||d){var v,x,k,_,g=s.allpts;if(s.ctrlpts.length/2%2==0){var A=2+(E=2+(T=g.length/2-1));v=En(g[T],g[E],g[A],0),x=En(g[T+1],g[E+1],g[A+1],0),k=En(g[T],g[E],g[A],1e-4),_=En(g[T+1],g[E+1],g[A+1],1e-4)}else{var E,T;A=2+(E=g.length/2-1),v=En(g[T=E-2],g[E],g[A],.4999),x=En(g[T+1],g[E+1],g[A+1],.4999),k=En(g[T],g[E],g[A],.5),_=En(g[T+1],g[E+1],g[A+1],.5)}e=k-v,n=_-x}if(s.midtgtArrowAngle=yn(e,n),s.midDispX=e,s.midDispY=n,e*=-1,n*=-1,h&&((g=s.allpts).length/2%2==0||(e=-(g[y=2+(m=g.length/2-1)]-g[m]),n=-(g[y+1]-g[m+1]))),s.midsrcArrowAngle=yn(e,n),h)e=a-s.segpts[s.segpts.length-2],n=o-s.segpts[s.segpts.length-1];else if(l||f||d||u){var C=(g=s.allpts).length;e=a-En(g[C-6],g[C-4],g[C-2],.9),n=o-En(g[C-5],g[C-3],g[C-1],.9)}else e=a-p,n=o-b;s.tgtArrowAngle=yn(e,n)}};ah.getArrowWidth=ah.getArrowHeight=function(t,e){var n=this.arrowWidthCache=this.arrowWidthCache||{},i=n[t+", "+e];return i||(i=Math.max(Math.pow(13.37*t,.9),29)*e,n[t+", "+e]=i,i)};var oh={};function sh(t){var e=[];if(null!=t){for(var n=0;n<t.length;n+=2){var i=t[n],r=t[n+1];e.push({x:i,y:r})}return e}}oh.findHaystackPoints=function(t){for(var e=0;e<t.length;e++){var n=t[e],i=n._private,r=i.rscratch;if(!r.haystack){var a=2*Math.random()*Math.PI;r.source={x:Math.cos(a),y:Math.sin(a)},a=2*Math.random()*Math.PI,r.target={x:Math.cos(a),y:Math.sin(a)}}var o=i.source,s=i.target,c=o.position(),u=s.position(),l=o.width(),h=s.width(),f=o.height(),d=s.height(),g=n.pstyle("haystack-radius").value/2;r.haystackPts=r.allpts=[r.source.x*l*g+c.x,r.source.y*f*g+c.y,r.target.x*h*g+u.x,r.target.y*d*g+u.y],r.midX=(r.allpts[0]+r.allpts[2])/2,r.midY=(r.allpts[1]+r.allpts[3])/2,r.edgeType="haystack",r.haystack=!0,this.storeEdgeProjections(n),this.calculateArrowAngles(n),this.recalculateEdgeLabelProjections(n),this.calculateLabelAngles(n)}},oh.findSegmentsPoints=function(t,e){var n=t._private.rscratch,i=e.posPts,r=e.intersectionPts,a=e.vectorNormInverse,o=t.pstyle("edge-distances").value,s=t.pstyle("segment-weights"),c=t.pstyle("segment-distances"),u=Math.min(s.pfValue.length,c.pfValue.length);n.edgeType="segments",n.segpts=[];for(var l=0;l<u;l++){var h=s.pfValue[l],f=c.pfValue[l],d=1-h,g=h,p="node-position"===o?i:r,b={x:p.x1*d+p.x2*g,y:p.y1*d+p.y2*g};n.segpts.push(b.x+a.x*f,b.y+a.y*f)}},oh.findLoopPoints=function(t,e,n,i){var r=t._private.rscratch,a=e.dirCounts,o=e.srcPos,s=t.pstyle("control-point-distances"),c=s?s.pfValue[0]:void 0,u=t.pstyle("loop-direction").pfValue,l=t.pstyle("loop-sweep").pfValue,h=t.pstyle("control-point-step-size").pfValue;r.edgeType="self";var f=n,d=h;i&&(f=0,d=c);var g=u-Math.PI/2,p=g-l/2,b=g+l/2,w=String(u+"_"+l);f=void 0===a[w]?a[w]=0:++a[w],r.ctrlpts=[o.x+1.4*Math.cos(p)*d*(f/3+1),o.y+1.4*Math.sin(p)*d*(f/3+1),o.x+1.4*Math.cos(b)*d*(f/3+1),o.y+1.4*Math.sin(b)*d*(f/3+1)]},oh.findCompoundLoopPoints=function(t,e,n,i){var r=t._private.rscratch;r.edgeType="compound";var a=e.srcPos,o=e.tgtPos,s=e.srcW,c=e.srcH,u=e.tgtW,l=e.tgtH,h=t.pstyle("control-point-step-size").pfValue,f=t.pstyle("control-point-distances"),d=f?f.pfValue[0]:void 0,g=n,p=h;i&&(g=0,p=d);var b=50,w={x:a.x-s/2,y:a.y-c/2},m={x:o.x-u/2,y:o.y-l/2},y={x:Math.min(w.x,m.x),y:Math.min(w.y,m.y)},v=.5,x=Math.max(v,Math.log(.01*s)),k=Math.max(v,Math.log(.01*u));r.ctrlpts=[y.x,y.y-(1+Math.pow(b,1.12)/100)*p*(g/3+1)*x,y.x-(1+Math.pow(b,1.12)/100)*p*(g/3+1)*k,y.y]},oh.findStraightEdgePoints=function(t){t._private.rscratch.edgeType="straight"},oh.findBezierPoints=function(t,e,n,i,r){var a=t._private.rscratch,o=e.vectorNormInverse,s=e.posPts,c=e.intersectionPts,u=t.pstyle("edge-distances").value,l=t.pstyle("control-point-step-size").pfValue,h=t.pstyle("control-point-distances"),f=t.pstyle("control-point-weights"),d=h&&f?Math.min(h.value.length,f.value.length):1,g=h?h.pfValue[0]:void 0,p=f.value[0],b=i;a.edgeType=b?"multibezier":"bezier",a.ctrlpts=[];for(var w=0;w<d;w++){var m=(.5-e.eles.length/2+n)*l*(r?-1:1),y=void 0,v=xn(m);b&&(g=h?h.pfValue[w]:l,p=f.value[w]);var x=void 0!==(y=i?g:void 0!==g?v*g:void 0)?y:m,k=1-p,_=p,A="node-position"===u?s:c,E={x:A.x1*k+A.x2*_,y:A.y1*k+A.y2*_};a.ctrlpts.push(E.x+o.x*x,E.y+o.y*x)}},oh.findTaxiPoints=function(t,e){var n=t._private.rscratch;n.edgeType="segments";var i="vertical",r="horizontal",a="leftward",o="rightward",s="downward",c="upward",u="auto",l=e.posPts,h=e.srcW,f=e.srcH,d=e.tgtW,g=e.tgtH,p="node-position"!==t.pstyle("edge-distances").value,b=t.pstyle("taxi-direction").value,w=b,m=t.pstyle("taxi-turn"),y="%"===m.units,v=m.pfValue,x=v<0,k=t.pstyle("taxi-turn-min-distance").pfValue,_=p?(h+d)/2:0,A=p?(f+g)/2:0,E=l.x2-l.x1,T=l.y2-l.y1,C=function(t,e){return t>0?Math.max(t-e,0):Math.min(t+e,0)},S=C(E,_),I=C(T,A),M=!1;w===u?b=Math.abs(S)>Math.abs(I)?r:i:w===c||w===s?(b=i,M=!0):w!==a&&w!==o||(b=r,M=!0);var D,O=b===i,L=O?I:S,N=O?T:E,P=xn(N),B=!1;M&&(y||x)||!(w===s&&N<0||w===c&&N>0||w===a&&N>0||w===o&&N<0)||(L=(P*=-1)*Math.abs(L),B=!0);var F=function(t){return Math.abs(t)<k||Math.abs(t)>=Math.abs(L)},R=F(D=y?(v<0?1+v:v)*L:(v<0?L:0)+v*P),j=F(Math.abs(L)-Math.abs(D));if(!R&&!j||B)if(O){var $=l.y1+D+(p?f/2*P:0),z=l.x1,q=l.x2;n.segpts=[z,$,q,$]}else{var H=l.x1+D+(p?h/2*P:0),U=l.y1,G=l.y2;n.segpts=[H,U,H,G]}else if(O){var Y=Math.abs(N)<=f/2,Z=Math.abs(E)<=d/2;if(Y){var W=(l.x1+l.x2)/2,K=l.y1,X=l.y2;n.segpts=[W,K,W,X]}else if(Z){var V=(l.y1+l.y2)/2,Q=l.x1,J=l.x2;n.segpts=[Q,V,J,V]}else n.segpts=[l.x1,l.y2]}else{var tt=Math.abs(N)<=h/2,et=Math.abs(T)<=g/2;if(tt){var nt=(l.y1+l.y2)/2,it=l.x1,rt=l.x2;n.segpts=[it,nt,rt,nt]}else if(et){var at=(l.x1+l.x2)/2,ot=l.y1,st=l.y2;n.segpts=[at,ot,at,st]}else n.segpts=[l.x2,l.y1]}},oh.tryToCorrectInvalidPoints=function(t,e){var n=t._private.rscratch;if("bezier"===n.edgeType){var i=e.srcPos,r=e.tgtPos,a=e.srcW,o=e.srcH,s=e.tgtW,c=e.tgtH,u=e.srcShape,l=e.tgtShape,h=!A(n.startX)||!A(n.startY),f=!A(n.arrowStartX)||!A(n.arrowStartY),d=!A(n.endX)||!A(n.endY),g=!A(n.arrowEndX)||!A(n.arrowEndY),p=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,b=kn({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),w=b<p,m=kn({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.endX,y:n.endY}),y=m<p,v=!1;if(h||f||w){v=!0;var x={x:n.ctrlpts[0]-i.x,y:n.ctrlpts[1]-i.y},k=Math.sqrt(x.x*x.x+x.y*x.y),_={x:x.x/k,y:x.y/k},E=Math.max(a,o),T={x:n.ctrlpts[0]+2*_.x*E,y:n.ctrlpts[1]+2*_.y*E},C=u.intersectLine(i.x,i.y,a,o,T.x,T.y,0);w?(n.ctrlpts[0]=n.ctrlpts[0]+_.x*(p-b),n.ctrlpts[1]=n.ctrlpts[1]+_.y*(p-b)):(n.ctrlpts[0]=C[0]+_.x*p,n.ctrlpts[1]=C[1]+_.y*p)}if(d||g||y){v=!0;var S={x:n.ctrlpts[0]-r.x,y:n.ctrlpts[1]-r.y},I=Math.sqrt(S.x*S.x+S.y*S.y),M={x:S.x/I,y:S.y/I},D=Math.max(a,o),O={x:n.ctrlpts[0]+2*M.x*D,y:n.ctrlpts[1]+2*M.y*D},L=l.intersectLine(r.x,r.y,s,c,O.x,O.y,0);y?(n.ctrlpts[0]=n.ctrlpts[0]+M.x*(p-m),n.ctrlpts[1]=n.ctrlpts[1]+M.y*(p-m)):(n.ctrlpts[0]=L[0]+M.x*p,n.ctrlpts[1]=L[1]+M.y*p)}v&&this.findEndpoints(t)}},oh.storeAllpts=function(t){var e=t._private.rscratch;if("multibezier"===e.edgeType||"bezier"===e.edgeType||"self"===e.edgeType||"compound"===e.edgeType){e.allpts=[],e.allpts.push(e.startX,e.startY);for(var n=0;n+1<e.ctrlpts.length;n+=2)e.allpts.push(e.ctrlpts[n],e.ctrlpts[n+1]),n+3<e.ctrlpts.length&&e.allpts.push((e.ctrlpts[n]+e.ctrlpts[n+2])/2,(e.ctrlpts[n+1]+e.ctrlpts[n+3])/2);var i,r;e.allpts.push(e.endX,e.endY),e.ctrlpts.length/2%2==0?(i=e.allpts.length/2-1,e.midX=e.allpts[i],e.midY=e.allpts[i+1]):(i=e.allpts.length/2-3,r=.5,e.midX=En(e.allpts[i],e.allpts[i+2],e.allpts[i+4],r),e.midY=En(e.allpts[i+1],e.allpts[i+3],e.allpts[i+5],r))}else if("straight"===e.edgeType)e.allpts=[e.startX,e.startY,e.endX,e.endY],e.midX=(e.startX+e.endX+e.arrowStartX+e.arrowEndX)/4,e.midY=(e.startY+e.endY+e.arrowStartY+e.arrowEndY)/4;else if("segments"===e.edgeType)if(e.allpts=[],e.allpts.push(e.startX,e.startY),e.allpts.push.apply(e.allpts,e.segpts),e.allpts.push(e.endX,e.endY),e.segpts.length%4==0){var a=e.segpts.length/2,o=a-2;e.midX=(e.segpts[o]+e.segpts[a])/2,e.midY=(e.segpts[o+1]+e.segpts[a+1])/2}else{var s=e.segpts.length/2-1;e.midX=e.segpts[s],e.midY=e.segpts[s+1]}},oh.checkForInvalidEdgeWarning=function(t){var e=t[0]._private.rscratch;e.nodesOverlap||A(e.startX)&&A(e.startY)&&A(e.endX)&&A(e.endY)?e.loggedErr=!1:e.loggedErr||(e.loggedErr=!0,Ce("Edge `"+t.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},oh.findEdgeControlPoints=function(t){var e=this;if(t&&0!==t.length){for(var n=this,i=n.cy.hasCompoundNodes(),r={map:new ze,get:function(t){var e=this.map.get(t[0]);return null!=e?e.get(t[1]):null},set:function(t,e){var n=this.map.get(t[0]);null==n&&(n=new ze,this.map.set(t[0],n)),n.set(t[1],e)}},a=[],o=[],s=0;s<t.length;s++){var c=t[s],u=c._private,l=c.pstyle("curve-style").value;if(!c.removed()&&c.takesUpSpace())if("haystack"!==l){var h="unbundled-bezier"===l||"segments"===l||"straight"===l||"straight-triangle"===l||"taxi"===l,f="unbundled-bezier"===l||"bezier"===l,d=u.source,g=u.target,p=[d.poolIndex(),g.poolIndex()].sort(),b=r.get(p);null==b&&(b={eles:[]},r.set(p,b),a.push(p)),b.eles.push(c),h&&(b.hasUnbundled=!0),f&&(b.hasBezier=!0)}else o.push(c)}for(var w=function(t){var o=a[t],s=r.get(o),c=void 0;if(!s.hasUnbundled){var u=s.eles[0].parallelEdges().filter((function(t){return t.isBundledBezier()}));Be(s.eles),u.forEach((function(t){return s.eles.push(t)})),s.eles.sort((function(t,e){return t.poolIndex()-e.poolIndex()}))}var l=s.eles[0],h=l.source(),f=l.target();if(h.poolIndex()>f.poolIndex()){var d=h;h=f,f=d}var g=s.srcPos=h.position(),p=s.tgtPos=f.position(),b=s.srcW=h.outerWidth(),w=s.srcH=h.outerHeight(),m=s.tgtW=f.outerWidth(),y=s.tgtH=f.outerHeight(),v=s.srcShape=n.nodeShapes[e.getNodeShape(h)],x=s.tgtShape=n.nodeShapes[e.getNodeShape(f)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var k=0;k<s.eles.length;k++){var _=s.eles[k],E=_[0]._private.rscratch,T=_.pstyle("curve-style").value,C="unbundled-bezier"===T||"segments"===T||"taxi"===T,S=!h.same(_.source());if(!s.calculatedIntersection&&h!==f&&(s.hasBezier||s.hasUnbundled)){s.calculatedIntersection=!0;var I=v.intersectLine(g.x,g.y,b,w,p.x,p.y,0),M=s.srcIntn=I,D=x.intersectLine(p.x,p.y,m,y,g.x,g.y,0),O=s.tgtIntn=D,L=s.intersectionPts={x1:I[0],x2:D[0],y1:I[1],y2:D[1]},N=s.posPts={x1:g.x,x2:p.x,y1:g.y,y2:p.y},P=D[1]-I[1],B=D[0]-I[0],F=Math.sqrt(B*B+P*P),R=s.vector={x:B,y:P},j=s.vectorNorm={x:R.x/F,y:R.y/F},$={x:-j.y,y:j.x};s.nodesOverlap=!A(F)||x.checkPoint(I[0],I[1],0,m,y,p.x,p.y)||v.checkPoint(D[0],D[1],0,b,w,g.x,g.y),s.vectorNormInverse=$,c={nodesOverlap:s.nodesOverlap,dirCounts:s.dirCounts,calculatedIntersection:!0,hasBezier:s.hasBezier,hasUnbundled:s.hasUnbundled,eles:s.eles,srcPos:p,tgtPos:g,srcW:m,srcH:y,tgtW:b,tgtH:w,srcIntn:O,tgtIntn:M,srcShape:x,tgtShape:v,posPts:{x1:N.x2,y1:N.y2,x2:N.x1,y2:N.y1},intersectionPts:{x1:L.x2,y1:L.y2,x2:L.x1,y2:L.y1},vector:{x:-R.x,y:-R.y},vectorNorm:{x:-j.x,y:-j.y},vectorNormInverse:{x:-$.x,y:-$.y}}}var z=S?c:s;E.nodesOverlap=z.nodesOverlap,E.srcIntn=z.srcIntn,E.tgtIntn=z.tgtIntn,i&&(h.isParent()||h.isChild()||f.isParent()||f.isChild())&&(h.parents().anySame(f)||f.parents().anySame(h)||h.same(f)&&h.isParent())?e.findCompoundLoopPoints(_,z,k,C):h===f?e.findLoopPoints(_,z,k,C):"segments"===T?e.findSegmentsPoints(_,z):"taxi"===T?e.findTaxiPoints(_,z):"straight"===T||!C&&s.eles.length%2==1&&k===Math.floor(s.eles.length/2)?e.findStraightEdgePoints(_):e.findBezierPoints(_,z,k,C,S),e.findEndpoints(_),e.tryToCorrectInvalidPoints(_,z),e.checkForInvalidEdgeWarning(_),e.storeAllpts(_),e.storeEdgeProjections(_),e.calculateArrowAngles(_),e.recalculateEdgeLabelProjections(_),e.calculateLabelAngles(_)}},m=0;m<a.length;m++)w(m);this.findHaystackPoints(o)}},oh.getSegmentPoints=function(t){var e=t[0]._private.rscratch;if("segments"===e.edgeType)return this.recalculateRenderedStyle(t),sh(e.segpts)},oh.getControlPoints=function(t){var e=t[0]._private.rscratch,n=e.edgeType;if("bezier"===n||"multibezier"===n||"self"===n||"compound"===n)return this.recalculateRenderedStyle(t),sh(e.ctrlpts)},oh.getEdgeMidpoint=function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),{x:e.midX,y:e.midY}};var ch={manualEndptToPx:function(t,e){var n=this,i=t.position(),r=t.outerWidth(),a=t.outerHeight();if(2===e.value.length){var o=[e.pfValue[0],e.pfValue[1]];return"%"===e.units[0]&&(o[0]=o[0]*r),"%"===e.units[1]&&(o[1]=o[1]*a),o[0]+=i.x,o[1]+=i.y,o}var s=e.pfValue[0];s=-Math.PI/2+s;var c=2*Math.max(r,a),u=[i.x+Math.cos(s)*c,i.y+Math.sin(s)*c];return n.nodeShapes[this.getNodeShape(t)].intersectLine(i.x,i.y,r,a,u[0],u[1],0)},findEndpoints:function(t){var e,n,i,r,a,o=this,s=t.source()[0],c=t.target()[0],u=s.position(),l=c.position(),h=t.pstyle("target-arrow-shape").value,f=t.pstyle("source-arrow-shape").value,d=t.pstyle("target-distance-from-node").pfValue,g=t.pstyle("source-distance-from-node").pfValue,p=t.pstyle("curve-style").value,b=t._private.rscratch,w=b.edgeType,m="self"===w||"compound"===w,y="bezier"===w||"multibezier"===w||m,v="bezier"!==w,x="straight"===w||"segments"===w,k="segments"===w,_=y||v||x,E=m||"taxi"===p,T=t.pstyle("source-endpoint"),C=E?"outside-to-node":T.value,S=t.pstyle("target-endpoint"),I=E?"outside-to-node":S.value;if(b.srcManEndpt=T,b.tgtManEndpt=S,y){var M=[b.ctrlpts[0],b.ctrlpts[1]];n=v?[b.ctrlpts[b.ctrlpts.length-2],b.ctrlpts[b.ctrlpts.length-1]]:M,i=M}else if(x){var D=k?b.segpts.slice(0,2):[l.x,l.y];n=k?b.segpts.slice(b.segpts.length-2):[u.x,u.y],i=D}if("inside-to-node"===I)e=[l.x,l.y];else if(S.units)e=this.manualEndptToPx(c,S);else if("outside-to-line"===I)e=b.tgtIntn;else if("outside-to-node"===I||"outside-to-node-or-label"===I?r=n:"outside-to-line"!==I&&"outside-to-line-or-label"!==I||(r=[u.x,u.y]),e=o.nodeShapes[this.getNodeShape(c)].intersectLine(l.x,l.y,c.outerWidth(),c.outerHeight(),r[0],r[1],0),"outside-to-node-or-label"===I||"outside-to-line-or-label"===I){var O=c._private.rscratch,L=O.labelWidth,N=O.labelHeight,P=O.labelX,B=O.labelY,F=L/2,R=N/2,j=c.pstyle("text-valign").value;"top"===j?B-=R:"bottom"===j&&(B+=R);var $=c.pstyle("text-halign").value;"left"===$?P-=F:"right"===$&&(P+=F);var z=ri(r[0],r[1],[P-F,B-R,P+F,B-R,P+F,B+R,P-F,B+R],l.x,l.y);if(z.length>0){var q=u,H=_n(q,dn(e)),U=_n(q,dn(z)),G=H;U<H&&(e=z,G=U),z.length>2&&_n(q,{x:z[2],y:z[3]})<G&&(e=[z[2],z[3]])}}var Y=oi(e,n,o.arrowShapes[h].spacing(t)+d),Z=oi(e,n,o.arrowShapes[h].gap(t)+d);if(b.endX=Z[0],b.endY=Z[1],b.arrowEndX=Y[0],b.arrowEndY=Y[1],"inside-to-node"===C)e=[u.x,u.y];else if(T.units)e=this.manualEndptToPx(s,T);else if("outside-to-line"===C)e=b.srcIntn;else if("outside-to-node"===C||"outside-to-node-or-label"===C?a=i:"outside-to-line"!==C&&"outside-to-line-or-label"!==C||(a=[l.x,l.y]),e=o.nodeShapes[this.getNodeShape(s)].intersectLine(u.x,u.y,s.outerWidth(),s.outerHeight(),a[0],a[1],0),"outside-to-node-or-label"===C||"outside-to-line-or-label"===C){var W=s._private.rscratch,K=W.labelWidth,X=W.labelHeight,V=W.labelX,Q=W.labelY,J=K/2,tt=X/2,et=s.pstyle("text-valign").value;"top"===et?Q-=tt:"bottom"===et&&(Q+=tt);var nt=s.pstyle("text-halign").value;"left"===nt?V-=J:"right"===nt&&(V+=J);var it=ri(a[0],a[1],[V-J,Q-tt,V+J,Q-tt,V+J,Q+tt,V-J,Q+tt],u.x,u.y);if(it.length>0){var rt=l,at=_n(rt,dn(e)),ot=_n(rt,dn(it)),st=at;ot<at&&(e=[it[0],it[1]],st=ot),it.length>2&&_n(rt,{x:it[2],y:it[3]})<st&&(e=[it[2],it[3]])}}var ct=oi(e,i,o.arrowShapes[f].spacing(t)+g),ut=oi(e,i,o.arrowShapes[f].gap(t)+g);b.startX=ut[0],b.startY=ut[1],b.arrowStartX=ct[0],b.arrowStartY=ct[1],_&&(A(b.startX)&&A(b.startY)&&A(b.endX)&&A(b.endY)?b.badLine=!1:b.badLine=!0)},getSourceEndpoint:function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),"haystack"===e.edgeType?{x:e.haystackPts[0],y:e.haystackPts[1]}:{x:e.arrowStartX,y:e.arrowStartY}},getTargetEndpoint:function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),"haystack"===e.edgeType?{x:e.haystackPts[2],y:e.haystackPts[3]}:{x:e.arrowEndX,y:e.arrowEndY}}},uh={};function lh(t,e,n){for(var i=function(t,e,n,i){return En(t,e,n,i)},r=e._private.rstyle.bezierPts,a=0;a<t.bezierProjPcts.length;a++){var o=t.bezierProjPcts[a];r.push({x:i(n[0],n[2],n[4],o),y:i(n[1],n[3],n[5],o)})}}uh.storeEdgeProjections=function(t){var e=t._private,n=e.rscratch,i=n.edgeType;if(e.rstyle.bezierPts=null,e.rstyle.linePts=null,e.rstyle.haystackPts=null,"multibezier"===i||"bezier"===i||"self"===i||"compound"===i){e.rstyle.bezierPts=[];for(var r=0;r+5<n.allpts.length;r+=4)lh(this,t,n.allpts.slice(r,r+6))}else if("segments"===i){var a=e.rstyle.linePts=[];for(r=0;r+1<n.allpts.length;r+=2)a.push({x:n.allpts[r],y:n.allpts[r+1]})}else if("haystack"===i){var o=n.haystackPts;e.rstyle.haystackPts=[{x:o[0],y:o[1]},{x:o[2],y:o[3]}]}e.rstyle.arrowWidth=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth},uh.recalculateEdgeProjections=function(t){this.findEdgeControlPoints(t)};var hh={recalculateNodeLabelProjection:function(t){var e=t.pstyle("label").strValue;if(!L(e)){var n,i,r=t._private,a=t.width(),o=t.height(),s=t.padding(),c=t.position(),u=t.pstyle("text-halign").strValue,l=t.pstyle("text-valign").strValue,h=r.rscratch,f=r.rstyle;switch(u){case"left":n=c.x-a/2-s;break;case"right":n=c.x+a/2+s;break;default:n=c.x}switch(l){case"top":i=c.y-o/2-s;break;case"bottom":i=c.y+o/2+s;break;default:i=c.y}h.labelX=n,h.labelY=i,f.labelX=n,f.labelY=i,this.calculateLabelAngles(t),this.applyLabelDimensions(t)}}},fh=function(t,e){var n=Math.atan(e/t);return 0===t&&n<0&&(n*=-1),n},dh=function(t,e){var n=e.x-t.x,i=e.y-t.y;return fh(n,i)},gh=function(t,e,n,i){var r=Sn(0,i-.001,1),a=Sn(0,i+.001,1),o=Tn(t,e,n,r),s=Tn(t,e,n,a);return dh(o,s)};hh.recalculateEdgeLabelProjections=function(t){var e,n=t._private,i=n.rscratch,r=this,a={mid:t.pstyle("label").strValue,source:t.pstyle("source-label").strValue,target:t.pstyle("target-label").strValue};if(a.mid||a.source||a.target){e={x:i.midX,y:i.midY};var o=function(t,e,i){je(n.rscratch,t,e,i),je(n.rstyle,t,e,i)};o("labelX",null,e.x),o("labelY",null,e.y);var s=fh(i.midDispX,i.midDispY);o("labelAutoAngle",null,s);var c=function t(){if(t.cache)return t.cache;for(var e=[],a=0;a+5<i.allpts.length;a+=4){var o={x:i.allpts[a],y:i.allpts[a+1]},s={x:i.allpts[a+2],y:i.allpts[a+3]},c={x:i.allpts[a+4],y:i.allpts[a+5]};e.push({p0:o,p1:s,p2:c,startDist:0,length:0,segments:[]})}var u=n.rstyle.bezierPts,l=r.bezierProjPcts.length;function h(t,e,n,i,r){var a=kn(e,n),o=t.segments[t.segments.length-1],s={p0:e,p1:n,t0:i,t1:r,startDist:o?o.startDist+o.length:0,length:a};t.segments.push(s),t.length+=a}for(var f=0;f<e.length;f++){var d=e[f],g=e[f-1];g&&(d.startDist=g.startDist+g.length),h(d,d.p0,u[f*l],0,r.bezierProjPcts[0]);for(var p=0;p<l-1;p++)h(d,u[f*l+p],u[f*l+p+1],r.bezierProjPcts[p],r.bezierProjPcts[p+1]);h(d,u[f*l+l-1],d.p2,r.bezierProjPcts[l-1],1)}return t.cache=e},u=function(n){var r,s="source"===n;if(a[n]){var u=t.pstyle(n+"-text-offset").pfValue;switch(i.edgeType){case"self":case"compound":case"bezier":case"multibezier":for(var l,h=c(),f=0,d=0,g=0;g<h.length;g++){for(var p=h[s?g:h.length-1-g],b=0;b<p.segments.length;b++){var w=p.segments[s?b:p.segments.length-1-b],m=g===h.length-1&&b===p.segments.length-1;if(f=d,(d+=w.length)>=u||m){l={cp:p,segment:w};break}}if(l)break}var y=l.cp,v=l.segment,x=(u-f)/v.length,k=v.t1-v.t0,_=s?v.t0+k*x:v.t1-k*x;_=Sn(0,_,1),e=Tn(y.p0,y.p1,y.p2,_),r=gh(y.p0,y.p1,y.p2,_);break;case"straight":case"segments":case"haystack":for(var A,E,T,C,S=0,I=i.allpts.length,M=0;M+3<I&&(s?(T={x:i.allpts[M],y:i.allpts[M+1]},C={x:i.allpts[M+2],y:i.allpts[M+3]}):(T={x:i.allpts[I-2-M],y:i.allpts[I-1-M]},C={x:i.allpts[I-4-M],y:i.allpts[I-3-M]}),E=S,!((S+=A=kn(T,C))>=u));M+=2);var D=(u-E)/A;D=Sn(0,D,1),e=Cn(T,C,D),r=dh(T,C)}o("labelX",n,e.x),o("labelY",n,e.y),o("labelAutoAngle",n,r)}};u("source"),u("target"),this.applyLabelDimensions(t)}},hh.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))},hh.applyPrefixedLabelDimensions=function(t,e){var n=t._private,i=this.getLabelText(t,e),r=this.calculateLabelDimensions(t,i),a=t.pstyle("line-height").pfValue,o=t.pstyle("text-wrap").strValue,s=Re(n.rscratch,"labelWrapCachedLines",e)||[],c="wrap"!==o?1:Math.max(s.length,1),u=r.height/c,l=u*a,h=r.width,f=r.height+(c-1)*(a-1)*u;je(n.rstyle,"labelWidth",e,h),je(n.rscratch,"labelWidth",e,h),je(n.rstyle,"labelHeight",e,f),je(n.rscratch,"labelHeight",e,f),je(n.rscratch,"labelLineHeight",e,l)},hh.getLabelText=function(t,e){var n=t._private,i=e?e+"-":"",r=t.pstyle(i+"label").strValue,a=t.pstyle("text-transform").value,o=function(t,i){return i?(je(n.rscratch,t,e,i),i):Re(n.rscratch,t,e)};if(!r)return"";"none"==a||("uppercase"==a?r=r.toUpperCase():"lowercase"==a&&(r=r.toLowerCase()));var s=t.pstyle("text-wrap").value;if("wrap"===s){var c=o("labelKey");if(null!=c&&o("labelWrapKey")===c)return o("labelWrapCachedText");for(var u="",l=r.split("\n"),h=t.pstyle("text-max-width").pfValue,f="anywhere"===t.pstyle("text-overflow-wrap").value,d=[],g=/[\s\u200b]+/,p=f?"":" ",b=0;b<l.length;b++){var w=l[b],m=this.calculateLabelDimensions(t,w).width;if(f){var y=w.split("").join(u);w=y}if(m>h){for(var v=w.split(g),x="",k=0;k<v.length;k++){var _=v[k],A=0===x.length?_:x+p+_;this.calculateLabelDimensions(t,A).width<=h?x+=_+p:(x&&d.push(x),x=_+p)}x.match(/^[\s\u200b]+$/)||d.push(x)}else d.push(w)}o("labelWrapCachedLines",d),r=o("labelWrapCachedText",d.join("\n")),o("labelWrapKey",c)}else if("ellipsis"===s){var E=t.pstyle("text-max-width").pfValue,T="",C="…",S=!1;if(this.calculateLabelDimensions(t,r).width<E)return r;for(var I=0;I<r.length&&!(this.calculateLabelDimensions(t,T+r[I]+C).width>E);I++)T+=r[I],I===r.length-1&&(S=!0);return S||(T+=C),T}return r},hh.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,n=t.pstyle("text-halign").strValue;if("auto"!==e)return e;if(!t.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},hh.calculateLabelDimensions=function(t,e){var n=this,i=ge(e,t._private.labelDimsKey),r=n.labelDimCache||(n.labelDimCache=[]),a=r[i];if(null!=a)return a;var o=0,s=t.pstyle("font-style").strValue,c=t.pstyle("font-size").pfValue,u=t.pstyle("font-family").strValue,l=t.pstyle("font-weight").strValue,h=this.labelCalcCanvas,f=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=document.createElement("canvas"),f=this.labelCalcCanvasContext=h.getContext("2d");var d=h.style;d.position="absolute",d.left="-9999px",d.top="-9999px",d.zIndex="-1",d.visibility="hidden",d.pointerEvents="none"}f.font="".concat(s," ").concat(l," ").concat(c,"px ").concat(u);for(var g=0,p=0,b=e.split("\n"),w=0;w<b.length;w++){var m=b[w],y=f.measureText(m),v=Math.ceil(y.width),x=c;g=Math.max(v,g),p+=x}return g+=o,p+=o,r[i]={width:g,height:p}},hh.calculateLabelAngle=function(t,e){var n=t._private.rscratch,i=t.isEdge(),r=e?e+"-":"",a=t.pstyle(r+"text-rotation"),o=a.strValue;return"none"===o?0:i&&"autorotate"===o?n.labelAutoAngle:"autorotate"===o?0:a.pfValue},hh.calculateLabelAngles=function(t){var e=this,n=t.isEdge(),i=t._private.rscratch;i.labelAngle=e.calculateLabelAngle(t),n&&(i.sourceLabelAngle=e.calculateLabelAngle(t,"source"),i.targetLabelAngle=e.calculateLabelAngle(t,"target"))};var ph={},bh=28,wh=!1;ph.getNodeShape=function(t){var e=this,n=t.pstyle("shape").value;if("cutrectangle"===n&&(t.width()<bh||t.height()<bh))return wh||(Ce("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),wh=!0),"rectangle";if(t.isParent())return"rectangle"===n||"roundrectangle"===n||"round-rectangle"===n||"cutrectangle"===n||"cut-rectangle"===n||"barrel"===n?n:"rectangle";if("polygon"===n){var i=t.pstyle("shape-polygon-points").value;return e.nodeShapes.makePolygon(i).name}return n};var mh={registerCalculationListeners:function(){var t=this.cy,e=t.collection(),n=this,i=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.merge(t),n)for(var i=0;i<t.length;i++){var r=t[i]._private.rstyle;r.clean=!1,r.cleanConnected=!1}};n.binder(t).on("bounds.* dirty.*",(function(t){var e=t.target;i(e)})).on("style.* background.*",(function(t){var e=t.target;i(e,!1)}));var r=function(r){if(r){var a=n.onUpdateEleCalcsFns;e.cleanStyle();for(var o=0;o<e.length;o++){var s=e[o],c=s._private.rstyle;s.isNode()&&!c.cleanConnected&&(i(s.connectedEdges()),c.cleanConnected=!0)}if(a)for(var u=0;u<a.length;u++)(0,a[u])(r,e);n.recalculateRenderedStyle(e),e=t.collection()}};n.flushRenderedStyleQueue=function(){r(!0)},n.beforeRender(r,n.beforeRenderPriorities.eleCalcs)},onUpdateEleCalcs:function(t){(this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[]).push(t)},recalculateRenderedStyle:function(t,e){var n=function(t){return t._private.rstyle.cleanConnected},i=[],r=[];if(!this.destroyed){void 0===e&&(e=!0);for(var a=0;a<t.length;a++){var o=t[a],s=o._private,c=s.rstyle;!o.isEdge()||n(o.source())&&n(o.target())||(c.clean=!1),e&&c.clean||o.removed()||"none"!==o.pstyle("display").value&&("nodes"===s.group?r.push(o):i.push(o),c.clean=!0)}for(var u=0;u<r.length;u++){var l=r[u],h=l._private.rstyle,f=l.position();this.recalculateNodeLabelProjection(l),h.nodeX=f.x,h.nodeY=f.y,h.nodeW=l.pstyle("width").pfValue,h.nodeH=l.pstyle("height").pfValue}this.recalculateEdgeProjections(i);for(var d=0;d<i.length;d++){var g=i[d]._private,p=g.rstyle,b=g.rscratch;p.srcX=b.arrowStartX,p.srcY=b.arrowStartY,p.tgtX=b.arrowEndX,p.tgtY=b.arrowEndY,p.midX=b.midX,p.midY=b.midY,p.labelAngle=b.labelAngle,p.sourceLabelAngle=b.sourceLabelAngle,p.targetLabelAngle=b.targetLabelAngle}}}},yh={updateCachedGrabbedEles:function(){var t=this.cachedZSortedEles;if(t){t.drag=[],t.nondrag=[];for(var e=[],n=0;n<t.length;n++){var i=(r=t[n])._private.rscratch;r.grabbed()&&!r.isParent()?e.push(r):i.inDragLayer?t.drag.push(r):t.nondrag.push(r)}for(n=0;n<e.length;n++){var r=e[n];t.drag.push(r)}}},invalidateCachedZSortedEles:function(){this.cachedZSortedEles=null},getCachedZSortedEles:function(t){if(t||!this.cachedZSortedEles){var e=this.cy.mutableElements().toArray();e.sort(Jc),e.interactive=e.filter((function(t){return t.interactive()})),this.cachedZSortedEles=e,this.updateCachedGrabbedEles()}else e=this.cachedZSortedEles;return e}},vh={};[rh,ah,oh,ch,uh,hh,ph,mh,yh].forEach((function(t){Q(vh,t)}));var xh={getCachedImage:function(t,e,n){var i=this,r=i.imageCache=i.imageCache||{},a=r[t];if(a)return a.image.complete||a.image.addEventListener("load",n),a.image;var o=(a=r[t]=r[t]||{}).image=new Image;o.addEventListener("load",n),o.addEventListener("error",(function(){o.error=!0}));var s="data:";return t.substring(0,s.length).toLowerCase()===s||(e="null"===e?null:e,o.crossOrigin=e),o.src=t,o}},kh={registerBinding:function(t,e,n,i){var r=Array.prototype.slice.apply(arguments,[1]),a=this.binder(t);return a.on.apply(a,r)},binder:function(t){var e=this,n=e.cy.window(),i=t===n||t===n.document||t===n.document.body||N(t);if(null==e.supportsPassiveEvents){var r=!1;try{var a=Object.defineProperty({},"passive",{get:function(){return r=!0,!0}});n.addEventListener("test",null,a)}catch(t){}e.supportsPassiveEvents=r}var o=function(n,r,a){var o=Array.prototype.slice.call(arguments);return i&&e.supportsPassiveEvents&&(o[2]={capture:null!=a&&a,passive:!1,once:!1}),e.bindings.push({target:t,args:o}),(t.addEventListener||t.on).apply(t,o),this};return{on:o,addEventListener:o,addListener:o,bind:o}},nodeIsDraggable:function(t){return t&&t.isNode()&&!t.locked()&&t.grabbable()},nodeIsGrabbable:function(t){return this.nodeIsDraggable(t)&&t.interactive()},load:function(){var t=this,e=t.cy.window(),n=function(t){return t.selected()},i=function(e,n,i,r){null==e&&(e=t.cy);for(var a=0;a<n.length;a++){var o=n[a];e.emit({originalEvent:i,type:o,position:r})}},r=function(t){return t.shiftKey||t.metaKey||t.ctrlKey},a=function(e,n){var i=!0;if(t.cy.hasCompoundNodes()&&e&&e.pannable()){for(var r=0;n&&r<n.length;r++)if((e=n[r]).isNode()&&e.isParent()&&!e.pannable()){i=!1;break}}else i=!0;return i},o=function(t){t[0]._private.grabbed=!0},s=function(t){t[0]._private.grabbed=!1},c=function(t){t[0]._private.rscratch.inDragLayer=!0},u=function(t){t[0]._private.rscratch.inDragLayer=!1},l=function(t){t[0]._private.rscratch.isGrabTarget=!0},h=function(t){t[0]._private.rscratch.isGrabTarget=!1},f=function(t,e){var n=e.addToList;n.has(t)||!t.grabbable()||t.locked()||(n.merge(t),o(t))},d=function(t,e){if(t.cy().hasCompoundNodes()&&(null!=e.inDragLayer||null!=e.addToList)){var n=t.descendants();e.inDragLayer&&(n.forEach(c),n.connectedEdges().forEach(c)),e.addToList&&f(n,e)}},g=function(e,n){n=n||{};var i=e.cy().hasCompoundNodes();n.inDragLayer&&(e.forEach(c),e.neighborhood().stdFilter((function(t){return!i||t.isEdge()})).forEach(c)),n.addToList&&e.forEach((function(t){f(t,n)})),d(e,n),w(e,{inDragLayer:n.inDragLayer}),t.updateCachedGrabbedEles()},p=g,b=function(e){e&&(t.getCachedZSortedEles().forEach((function(t){s(t),u(t),h(t)})),t.updateCachedGrabbedEles())},w=function(t,e){if((null!=e.inDragLayer||null!=e.addToList)&&t.cy().hasCompoundNodes()){var n=t.ancestors().orphans();if(!n.same(t)){var i=n.descendants().spawnSelf().merge(n).unmerge(t).unmerge(t.descendants()),r=i.connectedEdges();e.inDragLayer&&(r.forEach(c),i.forEach(c)),e.addToList&&i.forEach((function(t){f(t,e)}))}}},m=function(){null!=document.activeElement&&null!=document.activeElement.blur&&document.activeElement.blur()},y="undefined"!=typeof MutationObserver,v="undefined"!=typeof ResizeObserver;y?(t.removeObserver=new MutationObserver((function(e){for(var n=0;n<e.length;n++){var i=e[n].removedNodes;if(i)for(var r=0;r<i.length;r++)if(i[r]===t.container){t.destroy();break}}})),t.container.parentNode&&t.removeObserver.observe(t.container.parentNode,{childList:!0})):t.registerBinding(t.container,"DOMNodeRemoved",(function(e){t.destroy()}));var x=Qt((function(){t.cy.resize()}),100);y&&(t.styleObserver=new MutationObserver(x),t.styleObserver.observe(t.container,{attributes:!0})),t.registerBinding(e,"resize",x),v&&(t.resizeObserver=new ResizeObserver(x),t.resizeObserver.observe(t.container));var k=function(t,e){for(;null!=t;)e(t),t=t.parentNode},_=function(){t.invalidateContainerClientCoordsCache()};k(t.container,(function(e){t.registerBinding(e,"transitionend",_),t.registerBinding(e,"animationend",_),t.registerBinding(e,"scroll",_)})),t.registerBinding(t.container,"contextmenu",(function(t){t.preventDefault()}));var E,T,C,S=function(){return 0!==t.selection[4]},I=function(e){for(var n=t.findContainerClientCoords(),i=n[0],r=n[1],a=n[2],o=n[3],s=e.touches?e.touches:[e],c=!1,u=0;u<s.length;u++){var l=s[u];if(i<=l.clientX&&l.clientX<=i+a&&r<=l.clientY&&l.clientY<=r+o){c=!0;break}}if(!c)return!1;for(var h=t.container,f=e.target.parentNode,d=!1;f;){if(f===h){d=!0;break}f=f.parentNode}return!!d};t.registerBinding(t.container,"mousedown",(function(e){if(I(e)){e.preventDefault(),m(),t.hoverData.capture=!0,t.hoverData.which=e.which;var n=t.cy,r=[e.clientX,e.clientY],a=t.projectIntoViewport(r[0],r[1]),o=t.selection,s=t.findNearestElements(a[0],a[1],!0,!1),c=s[0],u=t.dragData.possibleDragElements;t.hoverData.mdownPos=a,t.hoverData.mdownGPos=r;var h=function(){t.hoverData.tapholdCancelled=!1,clearTimeout(t.hoverData.tapholdTimeout),t.hoverData.tapholdTimeout=setTimeout((function(){if(!t.hoverData.tapholdCancelled){var i=t.hoverData.down;i?i.emit({originalEvent:e,type:"taphold",position:{x:a[0],y:a[1]}}):n.emit({originalEvent:e,type:"taphold",position:{x:a[0],y:a[1]}})}}),t.tapholdDuration)};if(3==e.which){t.hoverData.cxtStarted=!0;var f={originalEvent:e,type:"cxttapstart",position:{x:a[0],y:a[1]}};c?(c.activate(),c.emit(f),t.hoverData.down=c):n.emit(f),t.hoverData.downTime=(new Date).getTime(),t.hoverData.cxtDragged=!1}else if(1==e.which){if(c&&c.activate(),null!=c&&t.nodeIsGrabbable(c)){var d=function(t){return{originalEvent:e,type:t,position:{x:a[0],y:a[1]}}},b=function(t){t.emit(d("grab"))};if(l(c),c.selected()){u=t.dragData.possibleDragElements=n.collection();var w=n.$((function(e){return e.isNode()&&e.selected()&&t.nodeIsGrabbable(e)}));g(w,{addToList:u}),c.emit(d("grabon")),w.forEach(b)}else u=t.dragData.possibleDragElements=n.collection(),p(c,{addToList:u}),c.emit(d("grabon")).emit(d("grab"));t.redrawHint("eles",!0),t.redrawHint("drag",!0)}t.hoverData.down=c,t.hoverData.downs=s,t.hoverData.downTime=(new Date).getTime(),i(c,["mousedown","tapstart","vmousedown"],e,{x:a[0],y:a[1]}),null==c?(o[4]=1,t.data.bgActivePosistion={x:a[0],y:a[1]},t.redrawHint("select",!0),t.redraw()):c.pannable()&&(o[4]=1),h()}o[0]=o[2]=a[0],o[1]=o[3]=a[1]}}),!1),t.registerBinding(e,"mousemove",(function(e){if(t.hoverData.capture||I(e)){var n=!1,o=t.cy,s=o.zoom(),c=[e.clientX,e.clientY],u=t.projectIntoViewport(c[0],c[1]),l=t.hoverData.mdownPos,h=t.hoverData.mdownGPos,f=t.selection,d=null;t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.selecting||(d=t.findNearestElement(u[0],u[1],!0,!1));var p,w=t.hoverData.last,m=t.hoverData.down,y=[u[0]-f[2],u[1]-f[3]],v=t.dragData.possibleDragElements;if(h){var x=c[0]-h[0],k=x*x,_=c[1]-h[1],E=k+_*_;t.hoverData.isOverThresholdDrag=p=E>=t.desktopTapThreshold2}var T=r(e);p&&(t.hoverData.tapholdCancelled=!0);var C=function(){var e=t.hoverData.dragDelta=t.hoverData.dragDelta||[];0===e.length?(e.push(y[0]),e.push(y[1])):(e[0]+=y[0],e[1]+=y[1])};n=!0,i(d,["mousemove","vmousemove","tapdrag"],e,{x:u[0],y:u[1]});var S=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:u[0],y:u[1]}}),f[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()};if(3===t.hoverData.which){if(p){var M={originalEvent:e,type:"cxtdrag",position:{x:u[0],y:u[1]}};m?m.emit(M):o.emit(M),t.hoverData.cxtDragged=!0,t.hoverData.cxtOver&&d===t.hoverData.cxtOver||(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:u[0],y:u[1]}}),t.hoverData.cxtOver=d,d&&d.emit({originalEvent:e,type:"cxtdragover",position:{x:u[0],y:u[1]}}))}}else if(t.hoverData.dragging){if(n=!0,o.panningEnabled()&&o.userPanningEnabled()){var D;if(t.hoverData.justStartedPan){var O=t.hoverData.mdownPos;D={x:(u[0]-O[0])*s,y:(u[1]-O[1])*s},t.hoverData.justStartedPan=!1}else D={x:y[0]*s,y:y[1]*s};o.panBy(D),o.emit("dragpan"),t.hoverData.dragged=!0}u=t.projectIntoViewport(e.clientX,e.clientY)}else if(1!=f[4]||null!=m&&!m.pannable()){if(m&&m.pannable()&&m.active()&&m.unactivate(),m&&m.grabbed()||d==w||(w&&i(w,["mouseout","tapdragout"],e,{x:u[0],y:u[1]}),d&&i(d,["mouseover","tapdragover"],e,{x:u[0],y:u[1]}),t.hoverData.last=d),m)if(p){if(o.boxSelectionEnabled()&&T)m&&m.grabbed()&&(b(v),m.emit("freeon"),v.emit("free"),t.dragData.didDrag&&(m.emit("dragfreeon"),v.emit("dragfree"))),S();else if(m&&m.grabbed()&&t.nodeIsDraggable(m)){var L=!t.dragData.didDrag;L&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||g(v,{inDragLayer:!0});var N={x:0,y:0};if(A(y[0])&&A(y[1])&&(N.x+=y[0],N.y+=y[1],L)){var P=t.hoverData.dragDelta;P&&A(P[0])&&A(P[1])&&(N.x+=P[0],N.y+=P[1])}t.hoverData.draggingEles=!0,v.silentShift(N).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else C();n=!0}else p&&(t.hoverData.dragging||!o.boxSelectionEnabled()||!T&&o.panningEnabled()&&o.userPanningEnabled()?!t.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&a(m,t.hoverData.downs)&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,f[4]=0,t.data.bgActivePosistion=dn(l),t.redrawHint("select",!0),t.redraw()):S(),m&&m.pannable()&&m.active()&&m.unactivate());return f[2]=u[0],f[3]=u[1],n?(e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1):void 0}}),!1),t.registerBinding(e,"mouseup",(function(e){if(t.hoverData.capture){t.hoverData.capture=!1;var a=t.cy,o=t.projectIntoViewport(e.clientX,e.clientY),s=t.selection,c=t.findNearestElement(o[0],o[1],!0,!1),u=t.dragData.possibleDragElements,l=t.hoverData.down,h=r(e);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,l&&l.unactivate(),3===t.hoverData.which){var f={originalEvent:e,type:"cxttapend",position:{x:o[0],y:o[1]}};if(l?l.emit(f):a.emit(f),!t.hoverData.cxtDragged){var d={originalEvent:e,type:"cxttap",position:{x:o[0],y:o[1]}};l?l.emit(d):a.emit(d)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(1===t.hoverData.which){if(i(c,["mouseup","tapend","vmouseup"],e,{x:o[0],y:o[1]}),t.dragData.didDrag||t.hoverData.dragged||t.hoverData.selecting||t.hoverData.isOverThresholdDrag||(i(l,["click","tap","vclick"],e,{x:o[0],y:o[1]}),T=!1,e.timeStamp-C<=a.multiClickDebounceTime()?(E&&clearTimeout(E),T=!0,C=null,i(l,["dblclick","dbltap","vdblclick"],e,{x:o[0],y:o[1]})):(E=setTimeout((function(){T||i(l,["oneclick","onetap","voneclick"],e,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),C=e.timeStamp)),null!=l||t.dragData.didDrag||t.hoverData.selecting||t.hoverData.dragged||r(e)||(a.$(n).unselect(["tapunselect"]),u.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=u=a.collection()),c!=l||t.dragData.didDrag||t.hoverData.selecting||null!=c&&c._private.selectable&&(t.hoverData.dragging||("additive"===a.selectionType()||h?c.selected()?c.unselect(["tapunselect"]):c.select(["tapselect"]):h||(a.$(n).unmerge(c).unselect(["tapunselect"]),c.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var g=a.collection(t.getAllInBox(s[0],s[1],s[2],s[3]));t.redrawHint("select",!0),g.length>0&&t.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:e,position:{x:o[0],y:o[1]}});var p=function(t){return t.selectable()&&!t.selected()};"additive"===a.selectionType()||h||a.$(n).unmerge(g).unselect(),g.emit("box").stdFilter(p).select().emit("boxselect"),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!s[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var w=l&&l.grabbed();b(u),w&&(l.emit("freeon"),u.emit("free"),t.dragData.didDrag&&(l.emit("dragfreeon"),u.emit("dragfree")))}}s[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null}}),!1);var M,D,O,L,N,P,B,F,R,j,$,z,q,H=function(e){if(!t.scrollingPage){var n=t.cy,i=n.zoom(),r=n.pan(),a=t.projectIntoViewport(e.clientX,e.clientY),o=[a[0]*i+r.x,a[1]*i+r.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||S())e.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;e.preventDefault(),t.data.wheelZooming=!0,clearTimeout(t.data.wheelTimeout),t.data.wheelTimeout=setTimeout((function(){t.data.wheelZooming=!1,t.redrawHint("eles",!0),t.redraw()}),150),s=null!=e.deltaY?e.deltaY/-250:null!=e.wheelDeltaY?e.wheelDeltaY/1e3:e.wheelDelta/1e3,s*=t.wheelSensitivity,1===e.deltaMode&&(s*=33);var c=n.zoom()*Math.pow(10,s);"gesturechange"===e.type&&(c=t.gestureStartZoom*e.scale),n.zoom({level:c,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===e.type?"pinchzoom":"scrollzoom")}}};t.registerBinding(t.container,"wheel",H,!0),t.registerBinding(e,"scroll",(function(e){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout((function(){t.scrollingPage=!1}),250)}),!0),t.registerBinding(t.container,"gesturestart",(function(e){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||e.preventDefault()}),!0),t.registerBinding(t.container,"gesturechange",(function(e){t.hasTouchStarted||H(e)}),!0),t.registerBinding(t.container,"mouseout",(function(e){var n=t.projectIntoViewport(e.clientX,e.clientY);t.cy.emit({originalEvent:e,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),t.registerBinding(t.container,"mouseover",(function(e){var n=t.projectIntoViewport(e.clientX,e.clientY);t.cy.emit({originalEvent:e,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var U,G,Y,Z,W,K,X,V=function(t,e,n,i){return Math.sqrt((n-t)*(n-t)+(i-e)*(i-e))},Q=function(t,e,n,i){return(n-t)*(n-t)+(i-e)*(i-e)};if(t.registerBinding(t.container,"touchstart",U=function(e){if(t.hasTouchStarted=!0,I(e)){m(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var n=t.cy,r=t.touchData.now,a=t.touchData.earlier;if(e.touches[0]){var o=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);r[0]=o[0],r[1]=o[1]}if(e.touches[1]&&(o=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),r[2]=o[0],r[3]=o[1]),e.touches[2]&&(o=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),r[4]=o[0],r[5]=o[1]),e.touches[1]){t.touchData.singleTouchMoved=!0,b(t.dragData.touchDragEles);var s=t.findContainerClientCoords();R=s[0],j=s[1],$=s[2],z=s[3],M=e.touches[0].clientX-R,D=e.touches[0].clientY-j,O=e.touches[1].clientX-R,L=e.touches[1].clientY-j,q=0<=M&&M<=$&&0<=O&&O<=$&&0<=D&&D<=z&&0<=L&&L<=z;var c=n.pan(),u=n.zoom();N=V(M,D,O,L),P=Q(M,D,O,L),F=[((B=[(M+O)/2,(D+L)/2])[0]-c.x)/u,(B[1]-c.y)/u];var h=200;if(P<h*h&&!e.touches[2]){var f=t.findNearestElement(r[0],r[1],!0,!0),d=t.findNearestElement(r[2],r[3],!0,!0);return f&&f.isNode()?(f.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start=f):d&&d.isNode()?(d.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start=d):n.emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!0,t.touchData.cxtDragged=!1,t.data.bgActivePosistion=void 0,void t.redraw()}}if(e.touches[2])n.boxSelectionEnabled()&&e.preventDefault();else if(e.touches[1]);else if(e.touches[0]){var w=t.findNearestElements(r[0],r[1],!0,!0),y=w[0];if(null!=y&&(y.activate(),t.touchData.start=y,t.touchData.starts=w,t.nodeIsGrabbable(y))){var v=t.dragData.touchDragEles=n.collection(),x=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),y.selected()?(x=n.$((function(e){return e.selected()&&t.nodeIsGrabbable(e)})),g(x,{addToList:v})):p(y,{addToList:v}),l(y);var k=function(t){return{originalEvent:e,type:t,position:{x:r[0],y:r[1]}}};y.emit(k("grabon")),x?x.forEach((function(t){t.emit(k("grab"))})):y.emit(k("grab"))}i(y,["touchstart","tapstart","vmousedown"],e,{x:r[0],y:r[1]}),null==y&&(t.data.bgActivePosistion={x:o[0],y:o[1]},t.redrawHint("select",!0),t.redraw()),t.touchData.singleTouchMoved=!1,t.touchData.singleTouchStartTime=+new Date,clearTimeout(t.touchData.tapholdTimeout),t.touchData.tapholdTimeout=setTimeout((function(){!1!==t.touchData.singleTouchMoved||t.pinching||t.touchData.selecting||i(t.touchData.start,["taphold"],e,{x:r[0],y:r[1]})}),t.tapholdDuration)}if(e.touches.length>=1){for(var _=t.touchData.startPosition=[null,null,null,null,null,null],A=0;A<r.length;A++)_[A]=a[A]=r[A];var E=e.touches[0];t.touchData.startGPosition=[E.clientX,E.clientY]}}},!1),t.registerBinding(window,"touchmove",G=function(e){var n=t.touchData.capture;if(n||I(e)){var r=t.selection,o=t.cy,s=t.touchData.now,c=t.touchData.earlier,u=o.zoom();if(e.touches[0]){var l=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);s[0]=l[0],s[1]=l[1]}e.touches[1]&&(l=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),s[2]=l[0],s[3]=l[1]),e.touches[2]&&(l=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),s[4]=l[0],s[5]=l[1]);var h,f=t.touchData.startGPosition;if(n&&e.touches[0]&&f){for(var d=[],p=0;p<s.length;p++)d[p]=s[p]-c[p];var w=e.touches[0].clientX-f[0],m=w*w,y=e.touches[0].clientY-f[1];h=m+y*y>=t.touchTapThreshold2}if(n&&t.touchData.cxt){e.preventDefault();var v=e.touches[0].clientX-R,x=e.touches[0].clientY-j,k=e.touches[1].clientX-R,_=e.touches[1].clientY-j,E=Q(v,x,k,_),T=150,C=1.5;if(E/P>=C*C||E>=T*T){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var S={originalEvent:e,type:"cxttapend",position:{x:s[0],y:s[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(S),t.touchData.start=null):o.emit(S)}}if(n&&t.touchData.cxt){S={originalEvent:e,type:"cxtdrag",position:{x:s[0],y:s[1]}},t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(S):o.emit(S),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var B=t.findNearestElement(s[0],s[1],!0,!0);t.touchData.cxtOver&&B===t.touchData.cxtOver||(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:s[0],y:s[1]}}),t.touchData.cxtOver=B,B&&B.emit({originalEvent:e,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(n&&e.touches[2]&&o.boxSelectionEnabled())e.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:s[0],y:s[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,r[4]=1,r&&0!==r.length&&void 0!==r[0]?(r[2]=(s[0]+s[2]+s[4])/3,r[3]=(s[1]+s[3]+s[5])/3):(r[0]=(s[0]+s[2]+s[4])/3,r[1]=(s[1]+s[3]+s[5])/3,r[2]=(s[0]+s[2]+s[4])/3+1,r[3]=(s[1]+s[3]+s[5])/3+1),t.redrawHint("select",!0),t.redraw();else if(n&&e.touches[1]&&!t.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(e.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),nt=t.dragData.touchDragEles){t.redrawHint("drag",!0);for(var $=0;$<nt.length;$++){var z=nt[$]._private;z.grabbed=!1,z.rscratch.inDragLayer=!1}}var H=t.touchData.start,U=(v=e.touches[0].clientX-R,x=e.touches[0].clientY-j,k=e.touches[1].clientX-R,_=e.touches[1].clientY-j,V(v,x,k,_)),G=U/N;if(q){var Y=(v-M+(k-O))/2,Z=(x-D+(_-L))/2,W=o.zoom(),K=W*G,X=o.pan(),J=F[0]*W+X.x,tt=F[1]*W+X.y,et={x:-K/W*(J-X.x-Y)+J,y:-K/W*(tt-X.y-Z)+tt};if(H&&H.active()){var nt=t.dragData.touchDragEles;b(nt),t.redrawHint("drag",!0),t.redrawHint("eles",!0),H.unactivate().emit("freeon"),nt.emit("free"),t.dragData.didDrag&&(H.emit("dragfreeon"),nt.emit("dragfree"))}o.viewport({zoom:K,pan:et,cancelOnFailedZoom:!0}),o.emit("pinchzoom"),N=U,M=v,D=x,O=k,L=_,t.pinching=!0}e.touches[0]&&(l=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY),s[0]=l[0],s[1]=l[1]),e.touches[1]&&(l=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),s[2]=l[0],s[3]=l[1]),e.touches[2]&&(l=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),s[4]=l[0],s[5]=l[1])}else if(e.touches[0]&&!t.touchData.didSelect){var it=t.touchData.start,rt=t.touchData.last;if(t.hoverData.draggingEles||t.swipePanning||(B=t.findNearestElement(s[0],s[1],!0,!0)),n&&null!=it&&e.preventDefault(),n&&null!=it&&t.nodeIsDraggable(it))if(h){nt=t.dragData.touchDragEles;var at=!t.dragData.didDrag;at&&g(nt,{inDragLayer:!0}),t.dragData.didDrag=!0;var ot={x:0,y:0};A(d[0])&&A(d[1])&&(ot.x+=d[0],ot.y+=d[1],at&&(t.redrawHint("eles",!0),(st=t.touchData.dragDelta)&&A(st[0])&&A(st[1])&&(ot.x+=st[0],ot.y+=st[1]))),t.hoverData.draggingEles=!0,nt.silentShift(ot).emit("position drag"),t.redrawHint("drag",!0),t.touchData.startPosition[0]==c[0]&&t.touchData.startPosition[1]==c[1]&&t.redrawHint("eles",!0),t.redraw()}else{var st;0===(st=t.touchData.dragDelta=t.touchData.dragDelta||[]).length?(st.push(d[0]),st.push(d[1])):(st[0]+=d[0],st[1]+=d[1])}if(i(it||B,["touchmove","tapdrag","vmousemove"],e,{x:s[0],y:s[1]}),it&&it.grabbed()||B==rt||(rt&&rt.emit({originalEvent:e,type:"tapdragout",position:{x:s[0],y:s[1]}}),B&&B.emit({originalEvent:e,type:"tapdragover",position:{x:s[0],y:s[1]}})),t.touchData.last=B,n)for($=0;$<s.length;$++)s[$]&&t.touchData.startPosition[$]&&h&&(t.touchData.singleTouchMoved=!0);n&&(null==it||it.pannable())&&o.panningEnabled()&&o.userPanningEnabled()&&(a(it,t.touchData.starts)&&(e.preventDefault(),t.data.bgActivePosistion||(t.data.bgActivePosistion=dn(t.touchData.startPosition)),t.swipePanning?(o.panBy({x:d[0]*u,y:d[1]*u}),o.emit("dragpan")):h&&(t.swipePanning=!0,o.panBy({x:w*u,y:y*u}),o.emit("dragpan"),it&&(it.unactivate(),t.redrawHint("select",!0),t.touchData.start=null))),l=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY),s[0]=l[0],s[1]=l[1])}for(p=0;p<s.length;p++)c[p]=s[p];n&&e.touches.length>0&&!t.hoverData.draggingEles&&!t.swipePanning&&null!=t.data.bgActivePosistion&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},!1),t.registerBinding(e,"touchcancel",Y=function(e){var n=t.touchData.start;t.touchData.capture=!1,n&&n.unactivate()}),t.registerBinding(e,"touchend",Z=function(e){var r=t.touchData.start;if(t.touchData.capture){0===e.touches.length&&(t.touchData.capture=!1),e.preventDefault();var a=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var o,s=t.cy,c=s.zoom(),u=t.touchData.now,l=t.touchData.earlier;if(e.touches[0]){var h=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);u[0]=h[0],u[1]=h[1]}if(e.touches[1]&&(h=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),u[2]=h[0],u[3]=h[1]),e.touches[2]&&(h=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),u[4]=h[0],u[5]=h[1]),r&&r.unactivate(),t.touchData.cxt){if(o={originalEvent:e,type:"cxttapend",position:{x:u[0],y:u[1]}},r?r.emit(o):s.emit(o),!t.touchData.cxtDragged){var f={originalEvent:e,type:"cxttap",position:{x:u[0],y:u[1]}};r?r.emit(f):s.emit(f)}return t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,void t.redraw()}if(!e.touches[2]&&s.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var d=s.collection(t.getAllInBox(a[0],a[1],a[2],a[3]));a[0]=void 0,a[1]=void 0,a[2]=void 0,a[3]=void 0,a[4]=0,t.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:e,position:{x:u[0],y:u[1]}});var g=function(t){return t.selectable()&&!t.selected()};d.emit("box").stdFilter(g).select().emit("boxselect"),d.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(null!=r&&r.unactivate(),e.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(e.touches[1]);else if(e.touches[0]);else if(!e.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var p=t.dragData.touchDragEles;if(null!=r){var w=r._private.grabbed;b(p),t.redrawHint("drag",!0),t.redrawHint("eles",!0),w&&(r.emit("freeon"),p.emit("free"),t.dragData.didDrag&&(r.emit("dragfreeon"),p.emit("dragfree"))),i(r,["touchend","tapend","vmouseup","tapdragout"],e,{x:u[0],y:u[1]}),r.unactivate(),t.touchData.start=null}else{var m=t.findNearestElement(u[0],u[1],!0,!0);i(m,["touchend","tapend","vmouseup","tapdragout"],e,{x:u[0],y:u[1]})}var y=t.touchData.startPosition[0]-u[0],v=y*y,x=t.touchData.startPosition[1]-u[1],k=(v+x*x)*c*c;t.touchData.singleTouchMoved||(r||s.$(":selected").unselect(["tapunselect"]),i(r,["tap","vclick"],e,{x:u[0],y:u[1]}),W=!1,e.timeStamp-X<=s.multiClickDebounceTime()?(K&&clearTimeout(K),W=!0,X=null,i(r,["dbltap","vdblclick"],e,{x:u[0],y:u[1]})):(K=setTimeout((function(){W||i(r,["onetap","voneclick"],e,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),X=e.timeStamp)),null!=r&&!t.dragData.didDrag&&r._private.selectable&&k<t.touchTapThreshold2&&!t.pinching&&("single"===s.selectionType()?(s.$(n).unmerge(r).unselect(["tapunselect"]),r.select(["tapselect"])):r.selected()?r.unselect(["tapunselect"]):r.select(["tapselect"]),t.redrawHint("eles",!0)),t.touchData.singleTouchMoved=!0}for(var _=0;_<u.length;_++)l[_]=u[_];t.dragData.didDrag=!1,0===e.touches.length&&(t.touchData.dragDelta=[],t.touchData.startPosition=[null,null,null,null,null,null],t.touchData.startGPosition=null,t.touchData.didSelect=!1),e.touches.length<2&&(1===e.touches.length&&(t.touchData.startGPosition=[e.touches[0].clientX,e.touches[0].clientY]),t.pinching=!1,t.redrawHint("eles",!0),t.redraw())}},!1),"undefined"==typeof TouchEvent){var J=[],tt=function(t){return{clientX:t.clientX,clientY:t.clientY,force:1,identifier:t.pointerId,pageX:t.pageX,pageY:t.pageY,radiusX:t.width/2,radiusY:t.height/2,screenX:t.screenX,screenY:t.screenY,target:t.target}},et=function(t){return{event:t,touch:tt(t)}},nt=function(t){J.push(et(t))},it=function(t){for(var e=0;e<J.length;e++)if(J[e].event.pointerId===t.pointerId)return void J.splice(e,1)},rt=function(t){var e=J.filter((function(e){return e.event.pointerId===t.pointerId}))[0];e.event=t,e.touch=tt(t)},at=function(t){t.touches=J.map((function(t){return t.touch}))},ot=function(t){return"mouse"===t.pointerType||4===t.pointerType};t.registerBinding(t.container,"pointerdown",(function(t){ot(t)||(t.preventDefault(),nt(t),at(t),U(t))})),t.registerBinding(t.container,"pointerup",(function(t){ot(t)||(it(t),at(t),Z(t))})),t.registerBinding(t.container,"pointercancel",(function(t){ot(t)||(it(t),at(t),Y(t))})),t.registerBinding(t.container,"pointermove",(function(t){ot(t)||(t.preventDefault(),rt(t),at(t),G(t))}))}}},_h={generatePolygon:function(t,e){return this.nodeShapes[t]={renderer:this,name:t,points:e,draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl("polygon",t,e,n,i,r,this.points)},intersectLine:function(t,e,n,i,r,a,o){return ri(r,a,this.points,t,e,n/2,i/2,o)},checkPoint:function(t,e,n,i,r,a,o){return Kn(t,e,this.points,a,o,i,r,[0,-1],n)}}},generateEllipse:function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){return Jn(r,a,t,e,n/2+o,i/2+o)},checkPoint:function(t,e,n,i,r,a,o){return ti(t,e,i,r,a,o,n)}}},generateRoundPolygon:function(t,e){for(var n=new Array(2*e.length),i=0;i<e.length/2;i++){var r=2*i,a=void 0;a=i<e.length/2-1?2*(i+1):0,n[4*i]=e[r],n[4*i+1]=e[r+1];var o=e[a]-e[r],s=e[a+1]-e[r+1],c=Math.sqrt(o*o+s*s);n[4*i+2]=o/c,n[4*i+3]=s/c}return this.nodeShapes[t]={renderer:this,name:t,points:n,draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl("round-polygon",t,e,n,i,r,this.points)},intersectLine:function(t,e,n,i,r,a,o){return ai(r,a,this.points,t,e,n,i)},checkPoint:function(t,e,n,i,r,a,o){return Xn(t,e,this.points,a,o,i,r)}}},generateRoundRectangle:function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:si(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){return zn(r,a,t,e,n,i,o)},checkPoint:function(t,e,n,i,r,a,o){var s=li(i,r),c=2*s;return!!(Kn(t,e,this.points,a,o,i,r-c,[0,-1],n)||Kn(t,e,this.points,a,o,i-c,r,[0,-1],n)||ti(t,e,c,c,a-i/2+s,o-r/2+s,n)||ti(t,e,c,c,a+i/2-s,o-r/2+s,n)||ti(t,e,c,c,a+i/2-s,o+r/2-s,n)||ti(t,e,c,c,a-i/2+s,o+r/2-s,n))}}},generateCutRectangle:function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:fi(),points:si(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},generateCutTrianglePts:function(t,e,n,i){var r=this.cornerLength,a=e/2,o=t/2,s=n-o,c=n+o,u=i-a,l=i+a;return{topLeft:[s,u+r,s+r,u,s+r,u+r],topRight:[c-r,u,c,u+r,c-r,u+r],bottomRight:[c,l-r,c-r,l,c-r,l-r],bottomLeft:[s+r,l,s,l-r,s+r,l-r]}},intersectLine:function(t,e,n,i,r,a,o){var s=this.generateCutTrianglePts(n+2*o,i+2*o,t,e),c=[].concat.apply([],[s.topLeft.splice(0,4),s.topRight.splice(0,4),s.bottomRight.splice(0,4),s.bottomLeft.splice(0,4)]);return ri(r,a,c,t,e)},checkPoint:function(t,e,n,i,r,a,o){if(Kn(t,e,this.points,a,o,i,r-2*this.cornerLength,[0,-1],n))return!0;if(Kn(t,e,this.points,a,o,i-2*this.cornerLength,r,[0,-1],n))return!0;var s=this.generateCutTrianglePts(i,r,a,o);return Wn(t,e,s.topLeft)||Wn(t,e,s.topRight)||Wn(t,e,s.bottomRight)||Wn(t,e,s.bottomLeft)}}},generateBarrel:function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:si(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){var s=.15,c=.5,u=.85,l=this.generateBarrelBezierPts(n+2*o,i+2*o,t,e),h=function(t){var e=Tn({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},s),n=Tn({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},c),i=Tn({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},u);return[t[0],t[1],e.x,e.y,n.x,n.y,i.x,i.y,t[4],t[5]]},f=[].concat(h(l.topLeft),h(l.topRight),h(l.bottomRight),h(l.bottomLeft));return ri(r,a,f,t,e)},generateBarrelBezierPts:function(t,e,n,i){var r=e/2,a=t/2,o=n-a,s=n+a,c=i-r,u=i+r,l=gi(t,e),h=l.heightOffset,f=l.widthOffset,d=l.ctrlPtOffsetPct*t,g={topLeft:[o,c+h,o+d,c,o+f,c],topRight:[s-f,c,s-d,c,s,c+h],bottomRight:[s,u-h,s-d,u,s-f,u],bottomLeft:[o+f,u,o+d,u,o,u-h]};return g.topLeft.isTop=!0,g.topRight.isTop=!0,g.bottomLeft.isBottom=!0,g.bottomRight.isBottom=!0,g},checkPoint:function(t,e,n,i,r,a,o){var s=gi(i,r),c=s.heightOffset,u=s.widthOffset;if(Kn(t,e,this.points,a,o,i,r-2*c,[0,-1],n))return!0;if(Kn(t,e,this.points,a,o,i-2*u,r,[0,-1],n))return!0;for(var l=this.generateBarrelBezierPts(i,r,a,o),h=function(t,e,n){var i=n[4],r=n[2],a=n[0],o=n[5],s=n[1],c=Math.min(i,a),u=Math.max(i,a),l=Math.min(o,s),h=Math.max(o,s);if(c<=t&&t<=u&&l<=e&&e<=h){var f=di(i,r,a),d=Un(f[0],f[1],f[2],t).filter((function(t){return 0<=t&&t<=1}));if(d.length>0)return d[0]}return null},f=Object.keys(l),d=0;d<f.length;d++){var g=l[f[d]],p=h(t,e,g);if(null!=p){var b=g[5],w=g[3],m=g[1],y=En(b,w,m,p);if(g.isTop&&y<=e)return!0;if(g.isBottom&&e<=y)return!0}}return!1}}},generateBottomRoundrectangle:function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:si(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){var s=e-(i/2+o),c=ii(r,a,t,e,t-(n/2+o),s,t+(n/2+o),s,!1);return c.length>0?c:zn(r,a,t,e,n,i,o)},checkPoint:function(t,e,n,i,r,a,o){var s=li(i,r),c=2*s;if(Kn(t,e,this.points,a,o,i,r-c,[0,-1],n))return!0;if(Kn(t,e,this.points,a,o,i-c,r,[0,-1],n))return!0;var u=i/2+2*n,l=r/2+2*n;return!!Wn(t,e,[a-u,o-l,a-u,o,a+u,o,a+u,o-l])||!!ti(t,e,c,c,a+i/2-s,o+r/2-s,n)||!!ti(t,e,c,c,a-i/2+s,o+r/2-s,n)}}},registerNodeShapes:function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",si(3,0)),this.generateRoundPolygon("round-triangle",si(3,0)),this.generatePolygon("rectangle",si(4,0)),t.square=t.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",si(5,0)),this.generateRoundPolygon("round-pentagon",si(5,0)),this.generatePolygon("hexagon",si(6,0)),this.generateRoundPolygon("round-hexagon",si(6,0)),this.generatePolygon("heptagon",si(7,0)),this.generateRoundPolygon("round-heptagon",si(7,0)),this.generatePolygon("octagon",si(8,0)),this.generateRoundPolygon("round-octagon",si(8,0));var i=new Array(20),r=ui(5,0),a=ui(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s<a.length/2;s++)a[2*s]*=o,a[2*s+1]*=o;for(s=0;s<5;s++)i[4*s]=r[2*s],i[4*s+1]=r[2*s+1],i[4*s+2]=a[2*s],i[4*s+3]=a[2*s+1];i=ci(i),this.generatePolygon("star",i),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.generatePolygon("right-rhomboid",[-.333,-1,1,-1,.333,1,-1,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);var c=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",c),this.generateRoundPolygon("round-tag",c),t.makePolygon=function(t){var n,i="polygon-"+t.join("$");return(n=this[i])?n:e.generatePolygon(i,t)}}},Ah={timeToRender:function(){return this.redrawTotalTime/this.redrawCount},redraw:function(t){t=t||Le();var e=this;void 0===e.averageRedrawTime&&(e.averageRedrawTime=0),void 0===e.lastRedrawTime&&(e.lastRedrawTime=0),void 0===e.lastDrawTime&&(e.lastDrawTime=0),e.requestedFrame=!0,e.renderOptions=t},beforeRender:function(t,e){if(!this.destroyed){null==e&&Ee("Priority is not optional for beforeRender");var n=this.beforeRenderCallbacks;n.push({fn:t,priority:e}),n.sort((function(t,e){return e.priority-t.priority}))}}},Eh=function(t,e,n){for(var i=t.beforeRenderCallbacks,r=0;r<i.length;r++)i[r].fn(e,n)};Ah.startRenderLoop=function(){var t=this,e=t.cy;if(!t.renderLoopStarted){t.renderLoopStarted=!0;var n=function n(i){if(!t.destroyed){if(e.batching());else if(t.requestedFrame&&!t.skipFrame){Eh(t,!0,i);var r=ie();t.render(t.renderOptions);var a=t.lastDrawTime=ie();void 0===t.averageRedrawTime&&(t.averageRedrawTime=a-r),void 0===t.redrawCount&&(t.redrawCount=0),t.redrawCount++,void 0===t.redrawTotalTime&&(t.redrawTotalTime=0);var o=a-r;t.redrawTotalTime+=o,t.lastRedrawTime=o,t.averageRedrawTime=t.averageRedrawTime/2+o/2,t.requestedFrame=!1}else Eh(t,!1,i);t.skipFrame=!1,ne(n)}};ne(n)}};var Th=function(t){this.init(t)},Ch=Th.prototype;Ch.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],Ch.init=function(t){var e=this;e.options=t,e.cy=t.cy;var n=e.container=t.cy.container(),i=e.cy.window();if(i){var r=i.document,a=r.head,o="__________cytoscape_stylesheet",s="__________cytoscape_container",c=null!=r.getElementById(o);if(n.className.indexOf(s)<0&&(n.className=(n.className||"")+" "+s),!c){var u=r.createElement("style");u.id=o,u.textContent="."+s+" { position: relative; }",a.insertBefore(u,a.children[0])}"static"===i.getComputedStyle(n).getPropertyValue("position")&&Ce("A Cytoscape container has style position:static and so can not use UI extensions properly")}e.selection=[void 0,void 0,void 0,void 0,0],e.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],e.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},e.dragData={possibleDragElements:[]},e.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]},e.redraws=0,e.showFps=t.showFps,e.debug=t.debug,e.hideEdgesOnViewport=t.hideEdgesOnViewport,e.textureOnViewport=t.textureOnViewport,e.wheelSensitivity=t.wheelSensitivity,e.motionBlurEnabled=t.motionBlur,e.forcedPixelRatio=A(t.pixelRatio)?t.pixelRatio:null,e.motionBlur=t.motionBlur,e.motionBlurOpacity=t.motionBlurOpacity,e.motionBlurTransparency=1-e.motionBlurOpacity,e.motionBlurPxRatio=1,e.mbPxRBlurry=1,e.minMbLowQualFrames=4,e.fullQualityMb=!1,e.clearedForMotionBlur=[],e.desktopTapThreshold=t.desktopTapThreshold,e.desktopTapThreshold2=t.desktopTapThreshold*t.desktopTapThreshold,e.touchTapThreshold=t.touchTapThreshold,e.touchTapThreshold2=t.touchTapThreshold*t.touchTapThreshold,e.tapholdDuration=500,e.bindings=[],e.beforeRenderCallbacks=[],e.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},e.registerNodeShapes(),e.registerArrowShapes(),e.registerCalculationListeners()},Ch.notify=function(t,e){var n=this,i=n.cy;this.destroyed||("init"!==t?"destroy"!==t?(("add"===t||"remove"===t||"move"===t&&i.hasCompoundNodes()||"load"===t||"zorder"===t||"mount"===t)&&n.invalidateCachedZSortedEles(),"viewport"===t&&n.redrawHint("select",!0),"load"!==t&&"resize"!==t&&"mount"!==t||(n.invalidateContainerClientCoordsCache(),n.matchCanvasSize(n.container)),n.redrawHint("eles",!0),n.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()):n.destroy():n.load())},Ch.destroy=function(){var t=this;t.destroyed=!0,t.cy.stopAnimationLoop();for(var e=0;e<t.bindings.length;e++){var n=t.bindings[e],i=n.target;(i.off||i.removeEventListener).apply(i,n.args)}if(t.bindings=[],t.beforeRenderCallbacks=[],t.onUpdateEleCalcsFns=[],t.removeObserver&&t.removeObserver.disconnect(),t.styleObserver&&t.styleObserver.disconnect(),t.resizeObserver&&t.resizeObserver.disconnect(),t.labelCalcDiv)try{document.body.removeChild(t.labelCalcDiv)}catch(t){}},Ch.isHeadless=function(){return!1},[ih,vh,xh,kh,_h,Ah].forEach((function(t){Q(Ch,t)}));var Sh=1e3/60,Ih={setupDequeueing:function(t){return function(){var e=this,n=this.renderer;if(!e.dequeueingSetup){e.dequeueingSetup=!0;var i=Qt((function(){n.redrawHint("eles",!0),n.redrawHint("drag",!0),n.redraw()}),t.deqRedrawThreshold),r=function(r,a){var o=ie(),s=n.averageRedrawTime,c=n.lastRedrawTime,u=[],l=n.cy.extent(),h=n.getPixelRatio();for(r||n.flushRenderedStyleQueue();;){var f=ie(),d=f-o,g=f-a;if(c<Sh){var p=Sh-(r?s:0);if(g>=t.deqFastCost*p)break}else if(r){if(d>=t.deqCost*c||d>=t.deqAvgCost*s)break}else if(g>=t.deqNoDrawCost*Sh)break;var b=t.deq(e,h,l);if(!(b.length>0))break;for(var w=0;w<b.length;w++)u.push(b[w])}u.length>0&&(t.onDeqd(e,u),!r&&t.shouldRedraw(e,u,h,l)&&i())},a=t.priority||Ae;n.beforeRender(r,a(e))}}}},Mh=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ke;e(this,t),this.idsByKey=new ze,this.keyForId=new ze,this.cachesByLvl=new ze,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=i}return r(t,[{key:"getIdsFor",value:function(t){null==t&&Ee("Can not get id list for null key");var e=this.idsByKey,n=this.idsByKey.get(t);return n||(n=new Ue,e.set(t,n)),n}},{key:"addIdForKey",value:function(t,e){null!=t&&this.getIdsFor(t).add(e)}},{key:"deleteIdForKey",value:function(t,e){null!=t&&this.getIdsFor(t).delete(e)}},{key:"getNumberOfIdsForKey",value:function(t){return null==t?0:this.getIdsFor(t).size}},{key:"updateKeyMappingFor",value:function(t){var e=t.id(),n=this.keyForId.get(e),i=this.getKey(t);this.deleteIdForKey(n,e),this.addIdForKey(i,e),this.keyForId.set(e,i)}},{key:"deleteKeyMappingFor",value:function(t){var e=t.id(),n=this.keyForId.get(e);this.deleteIdForKey(n,e),this.keyForId.delete(e)}},{key:"keyHasChangedFor",value:function(t){var e=t.id();return this.keyForId.get(e)!==this.getKey(t)}},{key:"isInvalid",value:function(t){return this.keyHasChangedFor(t)||this.doesEleInvalidateKey(t)}},{key:"getCachesAt",value:function(t){var e=this.cachesByLvl,n=this.lvls,i=e.get(t);return i||(i=new ze,e.set(t,i),n.push(t)),i}},{key:"getCache",value:function(t,e){return this.getCachesAt(e).get(t)}},{key:"get",value:function(t,e){var n=this.getKey(t),i=this.getCache(n,e);return null!=i&&this.updateKeyMappingFor(t),i}},{key:"getForCachedKey",value:function(t,e){var n=this.keyForId.get(t.id());return this.getCache(n,e)}},{key:"hasCache",value:function(t,e){return this.getCachesAt(e).has(t)}},{key:"has",value:function(t,e){var n=this.getKey(t);return this.hasCache(n,e)}},{key:"setCache",value:function(t,e,n){n.key=t,this.getCachesAt(e).set(t,n)}},{key:"set",value:function(t,e,n){var i=this.getKey(t);this.setCache(i,e,n),this.updateKeyMappingFor(t)}},{key:"deleteCache",value:function(t,e){this.getCachesAt(e).delete(t)}},{key:"delete",value:function(t,e){var n=this.getKey(t);this.deleteCache(n,e)}},{key:"invalidateKey",value:function(t){var e=this;this.lvls.forEach((function(n){return e.deleteCache(t,n)}))}},{key:"invalidate",value:function(t){var e=t.id(),n=this.keyForId.get(e);this.deleteKeyMappingFor(t);var i=this.doesEleInvalidateKey(t);return i&&this.invalidateKey(n),i||0===this.getNumberOfIdsForKey(n)}}]),t}(),Dh=25,Oh=50,Lh=-4,Nh=3,Ph=7.99,Bh=8,Fh=1024,Rh=1024,jh=1024,$h=.2,zh=.8,qh=10,Hh=.15,Uh=.1,Gh=.9,Yh=.9,Zh=100,Wh=1,Kh={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},Xh=Ne({getKey:null,doesEleInvalidateKey:ke,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:xe,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),Vh=function(t,e){var n=this;n.renderer=t,n.onDequeues=[];var i=Xh(e);Q(n,i),n.lookup=new Mh(i.getKey,i.doesEleInvalidateKey),n.setupDequeueing()},Qh=Vh.prototype;Qh.reasons=Kh,Qh.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]},Qh.getRetiredTextureQueue=function(t){var e=this,n=e.eleImgCaches.retired=e.eleImgCaches.retired||{};return n[t]=n[t]||[]},Qh.getElementQueue=function(){var t=this;return t.eleCacheQueue=t.eleCacheQueue||new Ke((function(t,e){return e.reqs-t.reqs}))},Qh.getElementKeyToQueue=function(){var t=this;return t.eleKeyToCacheQueue=t.eleKeyToCacheQueue||{}},Qh.getElement=function(t,e,n,i,r){var a=this,o=this.renderer,s=o.cy.zoom(),c=this.lookup;if(!e||0===e.w||0===e.h||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed())return null;if(!a.allowEdgeTxrCaching&&t.isEdge()||!a.allowParentTxrCaching&&t.isParent())return null;if(null==i&&(i=Math.ceil(vn(s*n))),i<Lh)i=Lh;else if(s>=Ph||i>Nh)return null;var u=Math.pow(2,i),l=e.h*u,h=e.w*u,f=o.eleTextBiggerThanMin(t,u);if(!this.isVisible(t,f))return null;var d,g=c.get(t,i);if(g&&g.invalidated&&(g.invalidated=!1,g.texture.invalidatedWidth-=g.width),g)return g;if(d=l<=Dh?Dh:l<=Oh?Oh:Math.ceil(l/Oh)*Oh,l>jh||h>Rh)return null;var p=a.getTextureQueue(d),b=p[p.length-2],w=function(){return a.recycleTexture(d,h)||a.addTexture(d,h)};b||(b=p[p.length-1]),b||(b=w()),b.width-b.usedWidth<h&&(b=w());for(var m,y=function(t){return t&&t.scaledLabelShown===f},v=r&&r===Kh.dequeue,x=r&&r===Kh.highQuality,k=r&&r===Kh.downscale,_=i+1;_<=Nh;_++){var A=c.get(t,_);if(A){m=A;break}}var E=m&&m.level===i+1?m:null,T=function(){b.context.drawImage(E.texture.canvas,E.x,0,E.width,E.height,b.usedWidth,0,h,l)};if(b.context.setTransform(1,0,0,1,0,0),b.context.clearRect(b.usedWidth,0,h,d),y(E))T();else if(y(m)){if(!x)return a.queueElement(t,m.level-1),m;for(var C=m.level;C>i;C--)E=a.getElement(t,e,n,C,Kh.downscale);T()}else{var S;if(!v&&!x&&!k)for(var I=i-1;I>=Lh;I--){var M=c.get(t,I);if(M){S=M;break}}if(y(S))return a.queueElement(t,i),S;b.context.translate(b.usedWidth,0),b.context.scale(u,u),this.drawElement(b.context,t,e,f,!1),b.context.scale(1/u,1/u),b.context.translate(-b.usedWidth,0)}return g={x:b.usedWidth,texture:b,level:i,scale:u,width:h,height:l,scaledLabelShown:f},b.usedWidth+=Math.ceil(h+Bh),b.eleCaches.push(g),c.set(t,i,g),a.checkTextureFullness(b),g},Qh.invalidateElements=function(t){for(var e=0;e<t.length;e++)this.invalidateElement(t[e])},Qh.invalidateElement=function(t){var e=this,n=e.lookup,i=[];if(n.isInvalid(t)){for(var r=Lh;r<=Nh;r++){var a=n.getForCachedKey(t,r);a&&i.push(a)}if(n.invalidate(t))for(var o=0;o<i.length;o++){var s=i[o],c=s.texture;c.invalidatedWidth+=s.width,s.invalidated=!0,e.checkTextureUtility(c)}e.removeFromQueue(t)}},Qh.checkTextureUtility=function(t){t.invalidatedWidth>=$h*t.width&&this.retireTexture(t)},Qh.checkTextureFullness=function(t){var e=this.getTextureQueue(t.height);t.usedWidth/t.width>zh&&t.fullnessChecks>=qh?Pe(e,t):t.fullnessChecks++},Qh.retireTexture=function(t){var e=this,n=t.height,i=e.getTextureQueue(n),r=this.lookup;Pe(i,t),t.retired=!0;for(var a=t.eleCaches,o=0;o<a.length;o++){var s=a[o];r.deleteCache(s.key,s.level)}Be(a),e.getRetiredTextureQueue(n).push(t)},Qh.addTexture=function(t,e){var n=this,i={};return n.getTextureQueue(t).push(i),i.eleCaches=[],i.height=t,i.width=Math.max(Fh,e),i.usedWidth=0,i.invalidatedWidth=0,i.fullnessChecks=0,i.canvas=n.renderer.makeOffscreenCanvas(i.width,i.height),i.context=i.canvas.getContext("2d"),i},Qh.recycleTexture=function(t,e){for(var n=this,i=n.getTextureQueue(t),r=n.getRetiredTextureQueue(t),a=0;a<r.length;a++){var o=r[a];if(o.width>=e)return o.retired=!1,o.usedWidth=0,o.invalidatedWidth=0,o.fullnessChecks=0,Be(o.eleCaches),o.context.setTransform(1,0,0,1,0,0),o.context.clearRect(0,0,o.width,o.height),Pe(r,o),i.push(o),o}},Qh.queueElement=function(t,e){var n=this,i=n.getElementQueue(),r=n.getElementKeyToQueue(),a=this.getKey(t),o=r[a];if(o)o.level=Math.max(o.level,e),o.eles.merge(t),o.reqs++,i.updateItem(o);else{var s={eles:t.spawn().merge(t),level:e,reqs:1,key:a};i.push(s),r[a]=s}},Qh.dequeue=function(t){for(var e=this,n=e.getElementQueue(),i=e.getElementKeyToQueue(),r=[],a=e.lookup,o=0;o<Wh&&n.size()>0;o++){var s=n.pop(),c=s.key,u=s.eles[0],l=a.hasCache(u,s.level);if(i[c]=null,!l){r.push(s);var h=e.getBoundingBox(u);e.getElement(u,h,t,s.level,Kh.dequeue)}}return r},Qh.removeFromQueue=function(t){var e=this,n=e.getElementQueue(),i=e.getElementKeyToQueue(),r=this.getKey(t),a=i[r];null!=a&&(1===a.eles.length?(a.reqs=ve,n.updateItem(a),n.pop(),i[r]=null):a.eles.unmerge(t))},Qh.onDequeue=function(t){this.onDequeues.push(t)},Qh.offDequeue=function(t){Pe(this.onDequeues,t)},Qh.setupDequeueing=Ih.setupDequeueing({deqRedrawThreshold:Zh,deqCost:Hh,deqAvgCost:Uh,deqNoDrawCost:Gh,deqFastCost:Yh,deq:function(t,e,n){return t.dequeue(e,n)},onDeqd:function(t,e){for(var n=0;n<t.onDequeues.length;n++)(0,t.onDequeues[n])(e)},shouldRedraw:function(t,e,n,i){for(var r=0;r<e.length;r++)for(var a=e[r].eles,o=0;o<a.length;o++){var s=a[o].boundingBox();if(Fn(s,i))return!0}return!1},priority:function(t){return t.renderer.beforeRenderPriorities.eleTxrDeq}});var Jh=1,tf=-4,ef=2,nf=3.99,rf=50,af=50,of=.15,sf=.1,cf=.9,uf=.9,lf=1,hf=250,ff=16e6,df=!0,gf=function(t){var e=this,n=e.renderer=t,i=n.cy;e.layersByLevel={},e.firstGet=!0,e.lastInvalidationTime=ie()-2*hf,e.skipping=!1,e.eleTxrDeqs=i.collection(),e.scheduleElementRefinement=Qt((function(){e.refineElementTextures(e.eleTxrDeqs),e.eleTxrDeqs.unmerge(e.eleTxrDeqs)}),af),n.beforeRender((function(t,n){n-e.lastInvalidationTime<=hf?e.skipping=!0:e.skipping=!1}),n.beforeRenderPriorities.lyrTxrSkip);var r=function(t,e){return e.reqs-t.reqs};e.layersQueue=new Ke(r),e.setupDequeueing()},pf=gf.prototype,bf=0,wf=Math.pow(2,53)-1;pf.makeLayer=function(t,e){var n=Math.pow(2,e),i=Math.ceil(t.w*n),r=Math.ceil(t.h*n),a=this.renderer.makeOffscreenCanvas(i,r),o={id:bf=++bf%wf,bb:t,level:e,width:i,height:r,canvas:a,context:a.getContext("2d"),eles:[],elesQueue:[],reqs:0},s=o.context,c=-o.bb.x1,u=-o.bb.y1;return s.scale(n,n),s.translate(c,u),o},pf.getLayers=function(t,e,n){var i=this,r=i.renderer.cy.zoom(),a=i.firstGet;if(i.firstGet=!1,null==n)if((n=Math.ceil(vn(r*e)))<tf)n=tf;else if(r>=nf||n>ef)return null;i.validateLayersElesOrdering(n,t);var o,s,c=i.layersByLevel,u=Math.pow(2,n),l=c[n]=c[n]||[],h=function(){var e=function(e){if(i.validateLayersElesOrdering(e,t),i.levelIsComplete(e,t))return s=c[e],!0},r=function(t){if(!s)for(var i=n+t;tf<=i&&i<=ef&&!e(i);i+=t);};r(1),r(-1);for(var a=l.length-1;a>=0;a--){var o=l[a];o.invalid&&Pe(l,o)}};if(i.levelIsComplete(n,t))return l;h();var f=function(){if(!o){o=In();for(var e=0;e<t.length;e++)On(o,t[e].boundingBox())}return o},d=function(t){var e=(t=t||{}).after;if(f(),o.w*u*(o.h*u)>ff)return null;var r=i.makeLayer(o,n);if(null!=e){var a=l.indexOf(e)+1;l.splice(a,0,r)}else(void 0===t.insert||t.insert)&&l.unshift(r);return r};if(i.skipping&&!a)return null;for(var g=null,p=t.length/Jh,b=!a,w=0;w<t.length;w++){var m=t[w],y=m._private.rscratch,v=y.imgLayerCaches=y.imgLayerCaches||{},x=v[n];if(x)g=x;else{if((!g||g.eles.length>=p||!$n(g.bb,m.boundingBox()))&&!(g=d({insert:!0,after:g})))return null;s||b?i.queueLayer(g,m):i.drawEleInLayer(g,m,n,e),g.eles.push(m),v[n]=g}}return s||(b?null:l)},pf.getEleLevelForLayerLevel=function(t,e){return t},pf.drawEleInLayer=function(t,e,n,i){var r=this,a=this.renderer,o=t.context,s=e.boundingBox();0!==s.w&&0!==s.h&&e.visible()&&(n=r.getEleLevelForLayerLevel(n,i),a.setImgSmoothing(o,!1),a.drawCachedElement(o,e,null,null,n,df),a.setImgSmoothing(o,!0))},pf.levelIsComplete=function(t,e){var n=this.layersByLevel[t];if(!n||0===n.length)return!1;for(var i=0,r=0;r<n.length;r++){var a=n[r];if(a.reqs>0)return!1;if(a.invalid)return!1;i+=a.eles.length}return i===e.length},pf.validateLayersElesOrdering=function(t,e){var n=this.layersByLevel[t];if(n)for(var i=0;i<n.length;i++){for(var r=n[i],a=-1,o=0;o<e.length;o++)if(r.eles[0]===e[o]){a=o;break}if(a<0)this.invalidateLayer(r);else{var s=a;for(o=0;o<r.eles.length;o++)if(r.eles[o]!==e[s+o]){this.invalidateLayer(r);break}}}},pf.updateElementsInLayers=function(t,e){for(var n=this,i=S(t[0]),r=0;r<t.length;r++)for(var a=i?null:t[r],o=i?t[r]:t[r].ele,s=o._private.rscratch,c=s.imgLayerCaches=s.imgLayerCaches||{},u=tf;u<=ef;u++){var l=c[u];l&&(a&&n.getEleLevelForLayerLevel(l.level)!==a.level||e(l,o,a))}},pf.haveLayers=function(){for(var t=this,e=!1,n=tf;n<=ef;n++){var i=t.layersByLevel[n];if(i&&i.length>0){e=!0;break}}return e},pf.invalidateElements=function(t){var e=this;0!==t.length&&(e.lastInvalidationTime=ie(),0!==t.length&&e.haveLayers()&&e.updateElementsInLayers(t,(function(t,n,i){e.invalidateLayer(t)})))},pf.invalidateLayer=function(t){if(this.lastInvalidationTime=ie(),!t.invalid){var e=t.level,n=t.eles,i=this.layersByLevel[e];Pe(i,t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var r=0;r<n.length;r++){var a=n[r]._private.rscratch.imgLayerCaches;a&&(a[e]=null)}}},pf.refineElementTextures=function(t){var e=this;e.updateElementsInLayers(t,(function(t,n,i){var r=t.replacement;if(r||((r=t.replacement=e.makeLayer(t.bb,t.level)).replaces=t,r.eles=t.eles),!r.reqs)for(var a=0;a<r.eles.length;a++)e.queueLayer(r,r.eles[a])}))},pf.enqueueElementRefinement=function(t){this.eleTxrDeqs.merge(t),this.scheduleElementRefinement()},pf.queueLayer=function(t,e){var n=this.layersQueue,i=t.elesQueue,r=i.hasId=i.hasId||{};if(!t.replacement){if(e){if(r[e.id()])return;i.push(e),r[e.id()]=!0}t.reqs?(t.reqs++,n.updateItem(t)):(t.reqs=1,n.push(t))}},pf.dequeue=function(t){for(var e=this,n=e.layersQueue,i=[],r=0;r<lf&&0!==n.size();){var a=n.peek();if(a.replacement)n.pop();else if(a.replaces&&a!==a.replaces.replacement)n.pop();else if(a.invalid)n.pop();else{var o=a.elesQueue.shift();o&&(e.drawEleInLayer(a,o,a.level,t),r++),0===i.length&&i.push(!0),0===a.elesQueue.length&&(n.pop(),a.reqs=0,a.replaces&&e.applyLayerReplacement(a),e.requestRedraw())}}return i},pf.applyLayerReplacement=function(t){var e=this,n=e.layersByLevel[t.level],i=t.replaces,r=n.indexOf(i);if(!(r<0||i.invalid)){n[r]=t;for(var a=0;a<t.eles.length;a++){var o=t.eles[a]._private,s=o.imgLayerCaches=o.imgLayerCaches||{};s&&(s[t.level]=t)}e.requestRedraw()}},pf.requestRedraw=Qt((function(){var t=this.renderer;t.redrawHint("eles",!0),t.redrawHint("drag",!0),t.redraw()}),100),pf.setupDequeueing=Ih.setupDequeueing({deqRedrawThreshold:rf,deqCost:of,deqAvgCost:sf,deqNoDrawCost:cf,deqFastCost:uf,deq:function(t,e){return t.dequeue(e)},onDeqd:Ae,shouldRedraw:xe,priority:function(t){return t.renderer.beforeRenderPriorities.lyrTxrDeq}});var mf,yf={};function vf(t,e){for(var n=0;n<e.length;n++){var i=e[n];t.lineTo(i.x,i.y)}}function xf(t,e,n){for(var i,r=0;r<e.length;r++){var a=e[r];0===r&&(i=a),t.lineTo(a.x,a.y)}t.quadraticCurveTo(n.x,n.y,i.x,i.y)}function kf(t,e,n){t.beginPath&&t.beginPath();for(var i=e,r=0;r<i.length;r++){var a=i[r];t.lineTo(a.x,a.y)}var o=n,s=n[0];for(t.moveTo(s.x,s.y),r=1;r<o.length;r++)a=o[r],t.lineTo(a.x,a.y);t.closePath&&t.closePath()}function _f(t,e,n,i,r){t.beginPath&&t.beginPath(),t.arc(n,i,r,0,2*Math.PI,!1);var a=e,o=a[0];t.moveTo(o.x,o.y);for(var s=0;s<a.length;s++){var c=a[s];t.lineTo(c.x,c.y)}t.closePath&&t.closePath()}function Af(t,e,n,i){t.arc(e,n,i,0,2*Math.PI,!1)}yf.arrowShapeImpl=function(t){return(mf||(mf={polygon:vf,"triangle-backcurve":xf,"triangle-tee":kf,"circle-triangle":_f,"triangle-cross":kf,circle:Af}))[t]};var Ef={drawElement:function(t,e,n,i,r,a){var o=this;e.isNode()?o.drawNode(t,e,n,i,r,a):o.drawEdge(t,e,n,i,r,a)},drawElementOverlay:function(t,e){var n=this;e.isNode()?n.drawNodeOverlay(t,e):n.drawEdgeOverlay(t,e)},drawElementUnderlay:function(t,e){var n=this;e.isNode()?n.drawNodeUnderlay(t,e):n.drawEdgeUnderlay(t,e)},drawCachedElementPortion:function(t,e,n,i,r,a,o,s){var c=this,u=n.getBoundingBox(e);if(0!==u.w&&0!==u.h){var l=n.getElement(e,u,i,r,a);if(null!=l){var h=s(c,e);if(0===h)return;var f,d,g,p,b,w,m=o(c,e),y=u.x1,v=u.y1,x=u.w,k=u.h;if(0!==m){var _=n.getRotationPoint(e);g=_.x,p=_.y,t.translate(g,p),t.rotate(m),(b=c.getImgSmoothing(t))||c.setImgSmoothing(t,!0);var A=n.getRotationOffset(e);f=A.x,d=A.y}else f=y,d=v;1!==h&&(w=t.globalAlpha,t.globalAlpha=w*h),t.drawImage(l.texture.canvas,l.x,0,l.width,l.height,f,d,x,k),1!==h&&(t.globalAlpha=w),0!==m&&(t.rotate(-m),t.translate(-g,-p),b||c.setImgSmoothing(t,!1))}else n.drawElement(t,e)}}},Tf=function(){return 0},Cf=function(t,e){return t.getTextAngle(e,null)},Sf=function(t,e){return t.getTextAngle(e,"source")},If=function(t,e){return t.getTextAngle(e,"target")},Mf=function(t,e){return e.effectiveOpacity()},Df=function(t,e){return e.pstyle("text-opacity").pfValue*e.effectiveOpacity()};Ef.drawCachedElement=function(t,e,n,i,r,a){var o=this,s=o.data,c=s.eleTxrCache,u=s.lblTxrCache,l=s.slbTxrCache,h=s.tlbTxrCache,f=e.boundingBox(),d=!0===a?c.reasons.highQuality:null;if(0!==f.w&&0!==f.h&&e.visible()&&(!i||Fn(f,i))){var g=e.isEdge(),p=e.element()._private.rscratch.badLine;o.drawElementUnderlay(t,e),o.drawCachedElementPortion(t,e,c,n,r,d,Tf,Mf),g&&p||o.drawCachedElementPortion(t,e,u,n,r,d,Cf,Df),g&&!p&&(o.drawCachedElementPortion(t,e,l,n,r,d,Sf,Df),o.drawCachedElementPortion(t,e,h,n,r,d,If,Df)),o.drawElementOverlay(t,e)}},Ef.drawElements=function(t,e){for(var n=this,i=0;i<e.length;i++){var r=e[i];n.drawElement(t,r)}},Ef.drawCachedElements=function(t,e,n,i){for(var r=this,a=0;a<e.length;a++){var o=e[a];r.drawCachedElement(t,o,n,i)}},Ef.drawCachedNodes=function(t,e,n,i){for(var r=this,a=0;a<e.length;a++){var o=e[a];o.isNode()&&r.drawCachedElement(t,o,n,i)}},Ef.drawLayeredElements=function(t,e,n,i){var r=this,a=r.data.lyrTxrCache.getLayers(e,n);if(a)for(var o=0;o<a.length;o++){var s=a[o],c=s.bb;0!==c.w&&0!==c.h&&t.drawImage(s.canvas,c.x1,c.y1,c.w,c.h)}else r.drawCachedElements(t,e,n,i)};var Of={drawEdge:function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=e._private.rscratch;if((!a||e.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var c;n&&(c=n,t.translate(-c.x1,-c.y1));var u=a?e.pstyle("opacity").value:1,l=a?e.pstyle("line-opacity").value:1,h=e.pstyle("curve-style").value,f=e.pstyle("line-style").value,d=e.pstyle("width").pfValue,g=e.pstyle("line-cap").value,p=u*l,b=u*l,w=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;"straight-triangle"===h?(o.eleStrokeStyle(t,e,n),o.drawEdgeTrianglePath(e,t,s.allpts)):(t.lineWidth=d,t.lineCap=g,o.eleStrokeStyle(t,e,n),o.drawEdgePath(e,t,s.allpts,f),t.lineCap="butt")},m=function(){r&&o.drawEdgeOverlay(t,e)},y=function(){r&&o.drawEdgeUnderlay(t,e)},v=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b;o.drawArrowheads(t,e,n)},x=function(){o.drawElementText(t,e,null,i)};if(t.lineJoin="round","yes"===e.pstyle("ghost").value){var k=e.pstyle("ghost-offset-x").pfValue,_=e.pstyle("ghost-offset-y").pfValue,A=e.pstyle("ghost-opacity").value,E=p*A;t.translate(k,_),w(E),v(E),t.translate(-k,-_)}y(),w(),v(),m(),x(),n&&t.translate(c.x1,c.y1)}}},Lf=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n){if(n.visible()){var i=n.pstyle("".concat(t,"-opacity")).value;if(0!==i){var r=this,a=r.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(t,"-padding")).pfValue,c=n.pstyle("".concat(t,"-color")).value;e.lineWidth=s,"self"!==o.edgeType||a?e.lineCap="round":e.lineCap="butt",r.colorStrokeStyle(e,c[0],c[1],c[2],i),r.drawEdgePath(n,e,o.allpts,"solid")}}}};Of.drawEdgeOverlay=Lf("overlay"),Of.drawEdgeUnderlay=Lf("underlay"),Of.drawEdgePath=function(t,e,n,i){var r,a=t._private.rscratch,o=e,s=!1,c=this.usePaths(),u=t.pstyle("line-dash-pattern").pfValue,l=t.pstyle("line-dash-offset").pfValue;if(c){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(r=e=a.pathCache,s=!0):(r=e=new Path2D,a.pathCacheKey=h,a.pathCache=r)}if(o.setLineDash)switch(i){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=l;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var f=2;f+3<n.length;f+=4)e.quadraticCurveTo(n[f],n[f+1],n[f+2],n[f+3]);break;case"straight":case"segments":case"haystack":for(var d=2;d+1<n.length;d+=2)e.lineTo(n[d],n[d+1])}e=o,c?e.stroke(r):e.stroke(),e.setLineDash&&e.setLineDash([])},Of.drawEdgeTrianglePath=function(t,e,n){e.fillStyle=e.strokeStyle;for(var i=t.pstyle("width").pfValue,r=0;r+1<n.length;r+=2){var a=[n[r+2]-n[r],n[r+3]-n[r+1]],o=Math.sqrt(a[0]*a[0]+a[1]*a[1]),s=[a[1]/o,-a[0]/o],c=[s[0]*i/2,s[1]*i/2];e.beginPath(),e.moveTo(n[r]-c[0],n[r+1]-c[1]),e.lineTo(n[r]+c[0],n[r+1]+c[1]),e.lineTo(n[r+2],n[r+3]),e.closePath(),e.fill()}},Of.drawArrowheads=function(t,e,n){var i=e._private.rscratch,r="haystack"===i.edgeType;r||this.drawArrowhead(t,e,"source",i.arrowStartX,i.arrowStartY,i.srcArrowAngle,n),this.drawArrowhead(t,e,"mid-target",i.midX,i.midY,i.midtgtArrowAngle,n),this.drawArrowhead(t,e,"mid-source",i.midX,i.midY,i.midsrcArrowAngle,n),r||this.drawArrowhead(t,e,"target",i.arrowEndX,i.arrowEndY,i.tgtArrowAngle,n)},Of.drawArrowhead=function(t,e,n,i,r,a,o){if(!(isNaN(i)||null==i||isNaN(r)||null==r||isNaN(a)||null==a)){var s=this,c=e.pstyle(n+"-arrow-shape").value;if("none"!==c){var u="hollow"===e.pstyle(n+"-arrow-fill").value?"both":"filled",l=e.pstyle(n+"-arrow-fill").value,h=e.pstyle("width").pfValue,f=e.pstyle("opacity").value;void 0===o&&(o=f);var d=t.globalCompositeOperation;1===o&&"hollow"!==l||(t.globalCompositeOperation="destination-out",s.colorFillStyle(t,255,255,255,1),s.colorStrokeStyle(t,255,255,255,1),s.drawArrowShape(e,t,u,h,c,i,r,a),t.globalCompositeOperation=d);var g=e.pstyle(n+"-arrow-color").value;s.colorFillStyle(t,g[0],g[1],g[2],o),s.colorStrokeStyle(t,g[0],g[1],g[2],o),s.drawArrowShape(e,t,l,h,c,i,r,a)}}},Of.drawArrowShape=function(t,e,n,i,r,a,o,s){var c,u=this,l=this.usePaths()&&"triangle-cross"!==r,h=!1,f=e,d={x:a,y:o},g=t.pstyle("arrow-scale").value,p=this.getArrowWidth(i,g),b=u.arrowShapes[r];if(l){var w=u.arrowPathCache=u.arrowPathCache||[],m=ge(r),y=w[m];null!=y?(c=e=y,h=!0):(c=e=new Path2D,w[m]=c)}h||(e.beginPath&&e.beginPath(),l?b.draw(e,1,0,{x:0,y:0},1):b.draw(e,p,s,d,i),e.closePath&&e.closePath()),e=f,l&&(e.translate(a,o),e.rotate(s),e.scale(p,p)),"filled"!==n&&"both"!==n||(l?e.fill(c):e.fill()),"hollow"!==n&&"both"!==n||(e.lineWidth=(b.matchEdgeWidth?i:1)/(l?p:1),e.lineJoin="miter",l?e.stroke(c):e.stroke()),l&&(e.scale(1/p,1/p),e.rotate(-s),e.translate(-a,-o))};var Nf={safeDrawImage:function(t,e,n,i,r,a,o,s,c,u){if(!(r<=0||a<=0||c<=0||u<=0))try{t.drawImage(e,n,i,r,a,o,s,c,u)}catch(t){Ce(t)}},drawInscribedImage:function(t,e,n,i,r){var a=this,o=n.position(),s=o.x,c=o.y,u=n.cy().style(),l=u.getIndexedStyle.bind(u),h=l(n,"background-fit","value",i),f=l(n,"background-repeat","value",i),d=n.width(),g=n.height(),p=2*n.padding(),b=d+("inner"===l(n,"background-width-relative-to","value",i)?0:p),w=g+("inner"===l(n,"background-height-relative-to","value",i)?0:p),m=n._private.rscratch,y="node"===l(n,"background-clip","value",i),v=l(n,"background-image-opacity","value",i)*r,x=l(n,"background-image-smoothing","value",i),k=e.width||e.cachedW,_=e.height||e.cachedH;null!=k&&null!=_||(document.body.appendChild(e),k=e.cachedW=e.width||e.offsetWidth,_=e.cachedH=e.height||e.offsetHeight,document.body.removeChild(e));var A=k,E=_;if("auto"!==l(n,"background-width","value",i)&&(A="%"===l(n,"background-width","units",i)?l(n,"background-width","pfValue",i)*b:l(n,"background-width","pfValue",i)),"auto"!==l(n,"background-height","value",i)&&(E="%"===l(n,"background-height","units",i)?l(n,"background-height","pfValue",i)*w:l(n,"background-height","pfValue",i)),0!==A&&0!==E){if("contain"===h)A*=T=Math.min(b/A,w/E),E*=T;else if("cover"===h){var T;A*=T=Math.max(b/A,w/E),E*=T}var C=s-b/2,S=l(n,"background-position-x","units",i),I=l(n,"background-position-x","pfValue",i);C+="%"===S?(b-A)*I:I;var M=l(n,"background-offset-x","units",i),D=l(n,"background-offset-x","pfValue",i);C+="%"===M?(b-A)*D:D;var O=c-w/2,L=l(n,"background-position-y","units",i),N=l(n,"background-position-y","pfValue",i);O+="%"===L?(w-E)*N:N;var P=l(n,"background-offset-y","units",i),B=l(n,"background-offset-y","pfValue",i);O+="%"===P?(w-E)*B:B,m.pathCache&&(C-=s,O-=c,s=0,c=0);var F=t.globalAlpha;t.globalAlpha=v;var R=a.getImgSmoothing(t),j=!1;if("no"===x&&R?(a.setImgSmoothing(t,!1),j=!0):"yes"!==x||R||(a.setImgSmoothing(t,!0),j=!0),"no-repeat"===f)y&&(t.save(),m.pathCache?t.clip(m.pathCache):(a.nodeShapes[a.getNodeShape(n)].draw(t,s,c,b,w),t.clip())),a.safeDrawImage(t,e,0,0,k,_,C,O,A,E),y&&t.restore();else{var $=t.createPattern(e,f);t.fillStyle=$,a.nodeShapes[a.getNodeShape(n)].draw(t,s,c,b,w),t.translate(C,O),t.fill(),t.translate(-C,-O)}t.globalAlpha=F,j&&a.setImgSmoothing(t,R)}}},Pf={};function Bf(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;t.beginPath(),t.moveTo(e+a,n),t.lineTo(e+i-a,n),t.quadraticCurveTo(e+i,n,e+i,n+a),t.lineTo(e+i,n+r-a),t.quadraticCurveTo(e+i,n+r,e+i-a,n+r),t.lineTo(e+a,n+r),t.quadraticCurveTo(e,n+r,e,n+r-a),t.lineTo(e,n+a),t.quadraticCurveTo(e,n,e+a,n),t.closePath(),t.fill()}Pf.eleTextBiggerThanMin=function(t,e){if(!e){var n=t.cy().zoom(),i=this.getPixelRatio(),r=Math.ceil(vn(n*i));e=Math.pow(2,r)}return!(t.pstyle("font-size").pfValue*e<t.pstyle("min-zoomed-font-size").pfValue)},Pf.drawElementText=function(t,e,n,i,r){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this;if(null==i){if(a&&!o.eleTextBiggerThanMin(e))return}else if(!1===i)return;if(e.isNode()){var s=e.pstyle("label");if(!s||!s.value)return;var c=o.getLabelJustification(e);t.textAlign=c,t.textBaseline="bottom"}else{var u=e.element()._private.rscratch.badLine,l=e.pstyle("label"),h=e.pstyle("source-label"),f=e.pstyle("target-label");if(u||(!l||!l.value)&&(!h||!h.value)&&(!f||!f.value))return;t.textAlign="center",t.textBaseline="bottom"}var d,g=!n;n&&(d=n,t.translate(-d.x1,-d.y1)),null==r?(o.drawText(t,e,null,g,a),e.isEdge()&&(o.drawText(t,e,"source",g,a),o.drawText(t,e,"target",g,a))):o.drawText(t,e,r,g,a),n&&t.translate(d.x1,d.y1)},Pf.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var n=0;n<this.fontCaches.length;n++)if((e=this.fontCaches[n]).context===t)return e;return e={context:t},this.fontCaches.push(e),e},Pf.setupTextStyle=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=e.pstyle("font-style").strValue,r=e.pstyle("font-size").pfValue+"px",a=e.pstyle("font-family").strValue,o=e.pstyle("font-weight").strValue,s=n?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,c=e.pstyle("text-outline-opacity").value*s,u=e.pstyle("color").value,l=e.pstyle("text-outline-color").value;t.font=i+" "+o+" "+r+" "+a,t.lineJoin="round",this.colorFillStyle(t,u[0],u[1],u[2],s),this.colorStrokeStyle(t,l[0],l[1],l[2],c)},Pf.getTextAngle=function(t,e){var n=t._private.rscratch,i=e?e+"-":"",r=t.pstyle(i+"text-rotation"),a=Re(n,"labelAngle",e);return"autorotate"===r.strValue?t.isEdge()?a:0:"none"===r.strValue?0:r.pfValue},Pf.drawText=function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=e._private.rscratch,o=r?e.effectiveOpacity():1;if(!r||0!==o&&0!==e.pstyle("text-opacity").value){"main"===n&&(n=null);var s,c,u=Re(a,"labelX",n),l=Re(a,"labelY",n),h=this.getLabelText(e,n);if(null!=h&&""!==h&&!isNaN(u)&&!isNaN(l)){this.setupTextStyle(t,e,r);var f,d=n?n+"-":"",g=Re(a,"labelWidth",n),p=Re(a,"labelHeight",n),b=e.pstyle(d+"text-margin-x").pfValue,w=e.pstyle(d+"text-margin-y").pfValue,m=e.isEdge(),y=e.pstyle("text-halign").value,v=e.pstyle("text-valign").value;switch(m&&(y="center",v="center"),u+=b,l+=w,0!==(f=i?this.getTextAngle(e,n):0)&&(s=u,c=l,t.translate(s,c),t.rotate(f),u=0,l=0),v){case"top":break;case"center":l+=p/2;break;case"bottom":l+=p}var x=e.pstyle("text-background-opacity").value,k=e.pstyle("text-border-opacity").value,_=e.pstyle("text-border-width").pfValue,A=e.pstyle("text-background-padding").pfValue;if(x>0||_>0&&k>0){var E=u-A;switch(y){case"left":E-=g;break;case"center":E-=g/2}var T=l-p-A,C=g+2*A,S=p+2*A;if(x>0){var I=t.fillStyle,M=e.pstyle("text-background-color").value;t.fillStyle="rgba("+M[0]+","+M[1]+","+M[2]+","+x*o+")",0===e.pstyle("text-background-shape").strValue.indexOf("round")?Bf(t,E,T,C,S,2):t.fillRect(E,T,C,S),t.fillStyle=I}if(_>0&&k>0){var D=t.strokeStyle,O=t.lineWidth,L=e.pstyle("text-border-color").value,N=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+L[0]+","+L[1]+","+L[2]+","+k*o+")",t.lineWidth=_,t.setLineDash)switch(N){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=_/4,t.setLineDash([]);break;case"solid":t.setLineDash([])}if(t.strokeRect(E,T,C,S),"double"===N){var P=_/2;t.strokeRect(E+P,T+P,C-2*P,S-2*P)}t.setLineDash&&t.setLineDash([]),t.lineWidth=O,t.strokeStyle=D}}var B=2*e.pstyle("text-outline-width").pfValue;if(B>0&&(t.lineWidth=B),"wrap"===e.pstyle("text-wrap").value){var F=Re(a,"labelWrapCachedLines",n),R=Re(a,"labelLineHeight",n),j=g/2,$=this.getLabelJustification(e);switch("auto"===$||("left"===y?"left"===$?u+=-g:"center"===$&&(u+=-j):"center"===y?"left"===$?u+=-j:"right"===$&&(u+=j):"right"===y&&("center"===$?u+=j:"right"===$&&(u+=g))),v){case"top":case"center":case"bottom":l-=(F.length-1)*R}for(var z=0;z<F.length;z++)B>0&&t.strokeText(F[z],u,l),t.fillText(F[z],u,l),l+=R}else B>0&&t.strokeText(h,u,l),t.fillText(h,u,l);0!==f&&(t.rotate(-f),t.translate(-s,-c))}}};var Ff={drawNode:function(t,e,n){var i,r,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],c=this,u=e._private,l=u.rscratch,h=e.position();if(A(h.x)&&A(h.y)&&(!s||e.visible())){var f,d,g=s?e.effectiveOpacity():1,p=c.usePaths(),b=!1,w=e.padding();i=e.width()+2*w,r=e.height()+2*w,n&&(d=n,t.translate(-d.x1,-d.y1));for(var m=e.pstyle("background-image").value,y=new Array(m.length),v=new Array(m.length),x=0,k=0;k<m.length;k++){var _=m[k];if(y[k]=null!=_&&"none"!==_){var E=e.cy().style().getIndexedStyle(e,"background-image-crossorigin","value",k);x++,v[k]=c.getCachedImage(_,E,(function(){u.backgroundTimestamp=Date.now(),e.emitAndNotify("background")}))}}var T=e.pstyle("background-blacken").value,C=e.pstyle("border-width").pfValue,S=e.pstyle("background-opacity").value*g,I=e.pstyle("border-color").value,M=e.pstyle("border-style").value,D=e.pstyle("border-opacity").value*g;t.lineJoin="miter";var O=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S;c.eleFillStyle(t,e,n)},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D;c.colorStrokeStyle(t,I[0],I[1],I[2],e)},N=e.pstyle("shape").strValue,P=e.pstyle("shape-polygon-points").pfValue;if(p){t.translate(h.x,h.y);var B=c.nodePathCache=c.nodePathCache||[],F=pe("polygon"===N?N+","+P.join(","):N,""+r,""+i),R=B[F];null!=R?(f=R,b=!0,l.pathCache=f):(f=new Path2D,B[F]=l.pathCache=f)}var j=function(){if(!b){var n=h;p&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(e)].draw(f||t,n.x,n.y,i,r)}p?t.fill(f):t.fill()},$=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.backgrounding,a=0,o=0;o<v.length;o++){var s=e.cy().style().getIndexedStyle(e,"background-image-containment","value",o);i&&"over"===s||!i&&"inside"===s?a++:y[o]&&v[o].complete&&!v[o].error&&(a++,c.drawInscribedImage(t,v[o],e,o,n))}u.backgrounding=!(a===x),r!==u.backgrounding&&e.updateStyle(!1)},z=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;c.hasPie(e)&&(c.drawPie(t,e,a),n&&(p||c.nodeShapes[c.getNodeShape(e)].draw(t,h.x,h.y,i,r)))},q=function(){var e=(T>0?T:-T)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=T>0?0:255;0!==T&&(c.colorFillStyle(t,n,n,n,e),p?t.fill(f):t.fill())},H=function(){if(C>0){if(t.lineWidth=C,t.lineCap="butt",t.setLineDash)switch(M){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([])}if(p?t.stroke(f):t.stroke(),"double"===M){t.lineWidth=C/3;var e=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",p?t.stroke(f):t.stroke(),t.globalCompositeOperation=e}t.setLineDash&&t.setLineDash([])}},U=function(){o&&c.drawNodeOverlay(t,e,h,i,r)},G=function(){o&&c.drawNodeUnderlay(t,e,h,i,r)},Y=function(){c.drawElementText(t,e,null,a)};if("yes"===e.pstyle("ghost").value){var Z=e.pstyle("ghost-offset-x").pfValue,W=e.pstyle("ghost-offset-y").pfValue,K=e.pstyle("ghost-opacity").value,X=K*g;t.translate(Z,W),O(K*S),j(),$(X,!0),L(K*D),H(),z(0!==T||0!==C),$(X,!1),q(X),t.translate(-Z,-W)}p&&t.translate(-h.x,-h.y),G(),p&&t.translate(h.x,h.y),O(),j(),$(g,!0),L(),H(),z(0!==T||0!==C),$(g,!1),q(),p&&t.translate(-h.x,-h.y),Y(),U(),n&&t.translate(d.x1,d.y1)}}},Rf=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n,i,r,a){var o=this;if(n.visible()){var s=n.pstyle("".concat(t,"-padding")).pfValue,c=n.pstyle("".concat(t,"-opacity")).value,u=n.pstyle("".concat(t,"-color")).value,l=n.pstyle("".concat(t,"-shape")).value;if(c>0){if(i=i||n.position(),null==r||null==a){var h=n.padding();r=n.width()+2*h,a=n.height()+2*h}o.colorFillStyle(e,u[0],u[1],u[2],c),o.nodeShapes[l].draw(e,i.x,i.y,r+2*s,a+2*s),e.fill()}}}};Ff.drawNodeOverlay=Rf("overlay"),Ff.drawNodeUnderlay=Rf("underlay"),Ff.hasPie=function(t){return(t=t[0])._private.hasPie},Ff.drawPie=function(t,e,n,i){e=e[0],i=i||e.position();var r=e.cy().style(),a=e.pstyle("pie-size"),o=i.x,s=i.y,c=e.width(),u=e.height(),l=Math.min(c,u)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var f=1;f<=r.pieBackgroundN;f++){var d=e.pstyle("pie-"+f+"-background-size").value,g=e.pstyle("pie-"+f+"-background-color").value,p=e.pstyle("pie-"+f+"-background-opacity").value*n,b=d/100;b+h>1&&(b=1-h);var w=1.5*Math.PI+2*Math.PI*h,m=w+2*Math.PI*b;0===d||h>=1||h+b>1||(t.beginPath(),t.moveTo(o,s),t.arc(o,s,l,w,m),t.closePath(),this.colorFillStyle(t,g[0],g[1],g[2],p),t.fill(),h+=b)}};var jf={},$f=100;jf.getPixelRatio=function(){var t=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var e=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/e},jf.paintCache=function(t){for(var e,n=this.paintCaches=this.paintCaches||[],i=!0,r=0;r<n.length;r++)if((e=n[r]).context===t){i=!1;break}return i&&(e={context:t},n.push(e)),e},jf.createGradientStyleFor=function(t,e,n,i,r){var a,o=this.usePaths(),s=n.pstyle(e+"-gradient-stop-colors").value,c=n.pstyle(e+"-gradient-stop-positions").pfValue;if("radial-gradient"===i)if(n.isEdge()){var u=n.sourceEndpoint(),l=n.targetEndpoint(),h=n.midpoint(),f=kn(u,h),d=kn(l,h);a=t.createRadialGradient(h.x,h.y,0,h.x,h.y,Math.max(f,d))}else{var g=o?{x:0,y:0}:n.position(),p=n.paddedWidth(),b=n.paddedHeight();a=t.createRadialGradient(g.x,g.y,0,g.x,g.y,Math.max(p,b))}else if(n.isEdge()){var w=n.sourceEndpoint(),m=n.targetEndpoint();a=t.createLinearGradient(w.x,w.y,m.x,m.y)}else{var y=o?{x:0,y:0}:n.position(),v=n.paddedWidth()/2,x=n.paddedHeight()/2;switch(n.pstyle("background-gradient-direction").value){case"to-bottom":a=t.createLinearGradient(y.x,y.y-x,y.x,y.y+x);break;case"to-top":a=t.createLinearGradient(y.x,y.y+x,y.x,y.y-x);break;case"to-left":a=t.createLinearGradient(y.x+v,y.y,y.x-v,y.y);break;case"to-right":a=t.createLinearGradient(y.x-v,y.y,y.x+v,y.y);break;case"to-bottom-right":case"to-right-bottom":a=t.createLinearGradient(y.x-v,y.y-x,y.x+v,y.y+x);break;case"to-top-right":case"to-right-top":a=t.createLinearGradient(y.x-v,y.y+x,y.x+v,y.y-x);break;case"to-bottom-left":case"to-left-bottom":a=t.createLinearGradient(y.x+v,y.y-x,y.x-v,y.y+x);break;case"to-top-left":case"to-left-top":a=t.createLinearGradient(y.x+v,y.y+x,y.x-v,y.y-x)}}if(!a)return null;for(var k=c.length===s.length,_=s.length,A=0;A<_;A++)a.addColorStop(k?c[A]:A/(_-1),"rgba("+s[A][0]+","+s[A][1]+","+s[A][2]+","+r+")");return a},jf.gradientFillStyle=function(t,e,n,i){var r=this.createGradientStyleFor(t,"background",e,n,i);if(!r)return null;t.fillStyle=r},jf.colorFillStyle=function(t,e,n,i,r){t.fillStyle="rgba("+e+","+n+","+i+","+r+")"},jf.eleFillStyle=function(t,e,n){var i=e.pstyle("background-fill").value;if("linear-gradient"===i||"radial-gradient"===i)this.gradientFillStyle(t,e,i,n);else{var r=e.pstyle("background-color").value;this.colorFillStyle(t,r[0],r[1],r[2],n)}},jf.gradientStrokeStyle=function(t,e,n,i){var r=this.createGradientStyleFor(t,"line",e,n,i);if(!r)return null;t.strokeStyle=r},jf.colorStrokeStyle=function(t,e,n,i,r){t.strokeStyle="rgba("+e+","+n+","+i+","+r+")"},jf.eleStrokeStyle=function(t,e,n){var i=e.pstyle("line-fill").value;if("linear-gradient"===i||"radial-gradient"===i)this.gradientStrokeStyle(t,e,i,n);else{var r=e.pstyle("line-color").value;this.colorStrokeStyle(t,r[0],r[1],r[2],n)}},jf.matchCanvasSize=function(t){var e=this,n=e.data,i=e.findContainerClientCoords(),r=i[2],a=i[3],o=e.getPixelRatio(),s=e.motionBlurPxRatio;t!==e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_NODE]&&t!==e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_DRAG]||(o=s);var c,u=r*o,l=a*o;if(u!==e.canvasWidth||l!==e.canvasHeight){e.fontCaches=null;var h=n.canvasContainer;h.style.width=r+"px",h.style.height=a+"px";for(var f=0;f<e.CANVAS_LAYERS;f++)(c=n.canvases[f]).width=u,c.height=l,c.style.width=r+"px",c.style.height=a+"px";for(f=0;f<e.BUFFER_COUNT;f++)(c=n.bufferCanvases[f]).width=u,c.height=l,c.style.width=r+"px",c.style.height=a+"px";e.textureMult=1,o<=1&&(c=n.bufferCanvases[e.TEXTURE_BUFFER],e.textureMult=2,c.width=u*e.textureMult,c.height=l*e.textureMult),e.canvasWidth=u,e.canvasHeight=l}},jf.renderTo=function(t,e,n,i){this.render({forcedContext:t,forcedZoom:e,forcedPan:n,drawAllLayers:!0,forcedPxRatio:i})},jf.render=function(t){var e=(t=t||Le()).forcedContext,n=t.drawAllLayers,i=t.drawOnlyNodeLayer,r=t.forcedZoom,a=t.forcedPan,o=this,s=void 0===t.forcedPxRatio?this.getPixelRatio():t.forcedPxRatio,c=o.cy,u=o.data,l=u.canvasNeedsRedraw,h=o.textureOnViewport&&!e&&(o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming),f=void 0!==t.motionBlur?t.motionBlur:o.motionBlur,d=o.motionBlurPxRatio,g=c.hasCompoundNodes(),p=o.hoverData.draggingEles,b=!(!o.hoverData.selecting&&!o.touchData.selecting),w=f=f&&!e&&o.motionBlurEnabled&&!b;e||(o.prevPxRatio!==s&&(o.invalidateContainerClientCoordsCache(),o.matchCanvasSize(o.container),o.redrawHint("eles",!0),o.redrawHint("drag",!0)),o.prevPxRatio=s),!e&&o.motionBlurTimeout&&clearTimeout(o.motionBlurTimeout),f&&(null==o.mbFrames&&(o.mbFrames=0),o.mbFrames++,o.mbFrames<3&&(w=!1),o.mbFrames>o.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(l[o.NODE]=!0,l[o.SELECT_BOX]=!0);var m=c.style(),y=c.zoom(),v=void 0!==r?r:y,x=c.pan(),k={x:x.x,y:x.y},_={zoom:y,pan:{x:x.x,y:x.y}},A=o.prevViewport;void 0===A||_.zoom!==A.zoom||_.pan.x!==A.pan.x||_.pan.y!==A.pan.y||p&&!g||(o.motionBlurPxRatio=1),a&&(k=a),v*=s,k.x*=s,k.y*=s;var E=o.getCachedZSortedEles();function T(t,e,n,i,r){var a=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",o.colorFillStyle(t,255,255,255,o.motionBlurTransparency),t.fillRect(e,n,i,r),t.globalCompositeOperation=a}function C(t,i){var s,c,l,h;o.clearingMotionBlur||t!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&t!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=k,c=v,l=o.canvasWidth,h=o.canvasHeight):(s={x:x.x*d,y:x.y*d},c=y*d,l=o.canvasWidth*d,h=o.canvasHeight*d),t.setTransform(1,0,0,1,0,0),"motionBlur"===i?T(t,0,0,l,h):e||void 0!==i&&!i||t.clearRect(0,0,l,h),n||(t.translate(s.x,s.y),t.scale(c,c)),a&&t.translate(a.x,a.y),r&&t.scale(r,r)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=c.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var S=o.data.bufferContexts[o.TEXTURE_BUFFER];S.setTransform(1,0,0,1,0,0),S.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:S,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult}),(_=o.textureCache.viewport={zoom:c.zoom(),pan:c.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom}}l[o.DRAG]=!1,l[o.NODE]=!1;var I=u.contexts[o.NODE],M=o.textureCache.texture;_=o.textureCache.viewport,I.setTransform(1,0,0,1,0,0),f?T(I,0,0,_.width,_.height):I.clearRect(0,0,_.width,_.height);var D=m.core("outside-texture-bg-color").value,O=m.core("outside-texture-bg-opacity").value;o.colorFillStyle(I,D[0],D[1],D[2],O),I.fillRect(0,0,_.width,_.height),y=c.zoom(),C(I,!1),I.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s),I.drawImage(M,_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s)}else o.textureOnViewport&&!e&&(o.textureCache=null);var L=c.extent(),N=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),P=o.hideEdgesOnViewport&&N,B=[];if(B[o.NODE]=!l[o.NODE]&&f&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,B[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),B[o.DRAG]=!l[o.DRAG]&&f&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,B[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),l[o.NODE]||n||i||B[o.NODE]){var F=f&&!B[o.NODE]&&1!==d;C(I=e||(F?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),f&&!F?"motionBlur":void 0),P?o.drawCachedNodes(I,E.nondrag,s,L):o.drawLayeredElements(I,E.nondrag,s,L),o.debug&&o.drawDebugPoints(I,E.nondrag),n||f||(l[o.NODE]=!1)}if(!i&&(l[o.DRAG]||n||B[o.DRAG])&&(F=f&&!B[o.DRAG]&&1!==d,C(I=e||(F?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),f&&!F?"motionBlur":void 0),P?o.drawCachedNodes(I,E.drag,s,L):o.drawCachedElements(I,E.drag,s,L),o.debug&&o.drawDebugPoints(I,E.drag),n||f||(l[o.DRAG]=!1)),o.showFps||!i&&l[o.SELECT_BOX]&&!n){if(C(I=e||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){y=o.cy.zoom();var R=m.core("selection-box-border-width").value/y;I.lineWidth=R,I.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",I.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),R>0&&(I.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",I.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){y=o.cy.zoom();var j=u.bgActivePosistion;I.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",I.beginPath(),I.arc(j.x,j.y,m.core("active-bg-size").pfValue/y,0,2*Math.PI),I.fill()}var $=o.lastRedrawTime;if(o.showFps&&$){$=Math.round($);var z=Math.round(1e3/$);I.setTransform(1,0,0,1,0,0),I.fillStyle="rgba(255, 0, 0, 0.75)",I.strokeStyle="rgba(255, 0, 0, 0.75)",I.lineWidth=1,I.fillText("1 frame = "+$+" ms = "+z+" fps",0,20);var q=60;I.strokeRect(0,30,250,20),I.fillRect(0,30,250*Math.min(z/q,1),20)}n||(l[o.SELECT_BOX]=!1)}if(f&&1!==d){var H=u.contexts[o.NODE],U=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],G=u.contexts[o.DRAG],Y=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],Z=function(t,e,n){t.setTransform(1,0,0,1,0,0),n||!w?t.clearRect(0,0,o.canvasWidth,o.canvasHeight):T(t,0,0,o.canvasWidth,o.canvasHeight);var i=d;t.drawImage(e,0,0,o.canvasWidth*i,o.canvasHeight*i,0,0,o.canvasWidth,o.canvasHeight)};(l[o.NODE]||B[o.NODE])&&(Z(H,U,B[o.NODE]),l[o.NODE]=!1),(l[o.DRAG]||B[o.DRAG])&&(Z(G,Y,B[o.DRAG]),l[o.DRAG]=!1)}o.prevViewport=_,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),f&&(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,l[o.NODE]=!0,l[o.DRAG]=!0,o.redraw()}),$f)),e||c.emit("render")};for(var zf={drawPolygonPath:function(t,e,n,i,r,a){var o=i/2,s=r/2;t.beginPath&&t.beginPath(),t.moveTo(e+o*a[0],n+s*a[1]);for(var c=1;c<a.length/2;c++)t.lineTo(e+o*a[2*c],n+s*a[2*c+1]);t.closePath()},drawRoundPolygonPath:function(t,e,n,i,r,a){var o=i/2,s=r/2,c=hi(i,r);t.beginPath&&t.beginPath();for(var u=0;u<a.length/4;u++){var l=void 0,h=void 0;l=0===u?a.length-2:4*u-2,h=4*u+2;var f=e+o*a[4*u],d=n+s*a[4*u+1],g=-a[l]*a[h]-a[l+1]*a[h+1],p=c/Math.tan(Math.acos(g)/2),b=f-p*a[l],w=d-p*a[l+1],m=f+p*a[h],y=d+p*a[h+1];0===u?t.moveTo(b,w):t.lineTo(b,w),t.arcTo(f,d,m,y,c)}t.closePath()},drawRoundRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2,s=li(i,r);t.beginPath&&t.beginPath(),t.moveTo(e,n-o),t.arcTo(e+a,n-o,e+a,n,s),t.arcTo(e+a,n+o,e,n+o,s),t.arcTo(e-a,n+o,e-a,n,s),t.arcTo(e-a,n-o,e,n-o,s),t.lineTo(e,n-o),t.closePath()},drawBottomRoundRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2,s=li(i,r);t.beginPath&&t.beginPath(),t.moveTo(e,n-o),t.lineTo(e+a,n-o),t.lineTo(e+a,n),t.arcTo(e+a,n+o,e,n+o,s),t.arcTo(e-a,n+o,e-a,n,s),t.lineTo(e-a,n-o),t.lineTo(e,n-o),t.closePath()},drawCutRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2,s=fi();t.beginPath&&t.beginPath(),t.moveTo(e-a+s,n-o),t.lineTo(e+a-s,n-o),t.lineTo(e+a,n-o+s),t.lineTo(e+a,n+o-s),t.lineTo(e+a-s,n+o),t.lineTo(e-a+s,n+o),t.lineTo(e-a,n+o-s),t.lineTo(e-a,n-o+s),t.closePath()},drawBarrelPath:function(t,e,n,i,r){var a=i/2,o=r/2,s=e-a,c=e+a,u=n-o,l=n+o,h=gi(i,r),f=h.widthOffset,d=h.heightOffset,g=h.ctrlPtOffsetPct*f;t.beginPath&&t.beginPath(),t.moveTo(s,u+d),t.lineTo(s,l-d),t.quadraticCurveTo(s+g,l,s+f,l),t.lineTo(c-f,l),t.quadraticCurveTo(c-g,l,c,l-d),t.lineTo(c,u+d),t.quadraticCurveTo(c-g,u,c-f,u),t.lineTo(s+f,u),t.quadraticCurveTo(s+g,u,s,u+d),t.closePath()}},qf=Math.sin(0),Hf=Math.cos(0),Uf={},Gf={},Yf=Math.PI/40,Zf=0*Math.PI;Zf<2*Math.PI;Zf+=Yf)Uf[Zf]=Math.sin(Zf),Gf[Zf]=Math.cos(Zf);zf.drawEllipsePath=function(t,e,n,i,r){if(t.beginPath&&t.beginPath(),t.ellipse)t.ellipse(e,n,i/2,r/2,0,0,2*Math.PI);else for(var a,o,s=i/2,c=r/2,u=0*Math.PI;u<2*Math.PI;u+=Yf)a=e-s*Uf[u]*qf+s*Gf[u]*Hf,o=n+c*Gf[u]*qf+c*Uf[u]*Hf,0===u?t.moveTo(a,o):t.lineTo(a,o);t.closePath()};var Wf={};function Kf(t,e){for(var n=atob(t),i=new ArrayBuffer(n.length),r=new Uint8Array(i),a=0;a<n.length;a++)r[a]=n.charCodeAt(a);return new Blob([i],{type:e})}function Xf(t){var e=t.indexOf(",");return t.substr(e+1)}function Vf(t,e,n){var i=function(){return e.toDataURL(n,t.quality)};switch(t.output){case"blob-promise":return new zr((function(i,r){try{e.toBlob((function(t){null!=t?i(t):r(new Error("`canvas.toBlob()` sent a null value in its callback"))}),n,t.quality)}catch(t){r(t)}}));case"blob":return Kf(Xf(i()),n);case"base64":return Xf(i());default:return i()}}Wf.createBuffer=function(t,e){var n=document.createElement("canvas");return n.width=t,n.height=e,[n,n.getContext("2d")]},Wf.bufferCanvasImage=function(t){var e=this.cy,n=e.mutableElements().boundingBox(),i=this.findContainerClientCoords(),r=t.full?Math.ceil(n.w):i[2],a=t.full?Math.ceil(n.h):i[3],o=A(t.maxWidth)||A(t.maxHeight),s=this.getPixelRatio(),c=1;if(void 0!==t.scale)r*=t.scale,a*=t.scale,c=t.scale;else if(o){var u=1/0,l=1/0;A(t.maxWidth)&&(u=c*t.maxWidth/r),A(t.maxHeight)&&(l=c*t.maxHeight/a),r*=c=Math.min(u,l),a*=c}o||(r*=s,a*=s,c*=s);var h=document.createElement("canvas");h.width=r,h.height=a,h.style.width=r+"px",h.style.height=a+"px";var f=h.getContext("2d");if(r>0&&a>0){f.clearRect(0,0,r,a),f.globalCompositeOperation="source-over";var d=this.getCachedZSortedEles();if(t.full)f.translate(-n.x1*c,-n.y1*c),f.scale(c,c),this.drawElements(f,d),f.scale(1/c,1/c),f.translate(n.x1*c,n.y1*c);else{var g=e.pan(),p={x:g.x*c,y:g.y*c};c*=e.zoom(),f.translate(p.x,p.y),f.scale(c,c),this.drawElements(f,d),f.scale(1/c,1/c),f.translate(-p.x,-p.y)}t.bg&&(f.globalCompositeOperation="destination-over",f.fillStyle=t.bg,f.rect(0,0,r,a),f.fill())}return h},Wf.png=function(t){return Vf(t,this.bufferCanvasImage(t),"image/png")},Wf.jpg=function(t){return Vf(t,this.bufferCanvasImage(t),"image/jpeg")};var Qf={nodeShapeImpl:function(t,e,n,i,r,a,o){switch(t){case"ellipse":return this.drawEllipsePath(e,n,i,r,a);case"polygon":return this.drawPolygonPath(e,n,i,r,a,o);case"round-polygon":return this.drawRoundPolygonPath(e,n,i,r,a,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,n,i,r,a);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,n,i,r,a);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,n,i,r,a);case"barrel":return this.drawBarrelPath(e,n,i,r,a)}}},Jf=ed,td=ed.prototype;function ed(t){var e=this;e.data={canvases:new Array(td.CANVAS_LAYERS),contexts:new Array(td.CANVAS_LAYERS),canvasNeedsRedraw:new Array(td.CANVAS_LAYERS),bufferCanvases:new Array(td.BUFFER_COUNT),bufferContexts:new Array(td.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",i="rgba(0,0,0,0)";e.data.canvasContainer=document.createElement("div");var r=e.data.canvasContainer.style;e.data.canvasContainer.style[n]=i,r.position="relative",r.zIndex="0",r.overflow="hidden";var a=t.cy.container();a.appendChild(e.data.canvasContainer),a.style[n]=i;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"};F()&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;s<td.CANVAS_LAYERS;s++){var c=e.data.canvases[s]=document.createElement("canvas");e.data.contexts[s]=c.getContext("2d"),Object.keys(o).forEach((function(t){c.style[t]=o[t]})),c.style.position="absolute",c.setAttribute("data-id","layer"+s),c.style.zIndex=String(td.CANVAS_LAYERS-s),e.data.canvasContainer.appendChild(c),e.data.canvasNeedsRedraw[s]=!1}for(e.data.topCanvas=e.data.canvases[0],e.data.canvases[td.NODE].setAttribute("data-id","layer"+td.NODE+"-node"),e.data.canvases[td.SELECT_BOX].setAttribute("data-id","layer"+td.SELECT_BOX+"-selectbox"),e.data.canvases[td.DRAG].setAttribute("data-id","layer"+td.DRAG+"-drag"),s=0;s<td.BUFFER_COUNT;s++)e.data.bufferCanvases[s]=document.createElement("canvas"),e.data.bufferContexts[s]=e.data.bufferCanvases[s].getContext("2d"),e.data.bufferCanvases[s].style.position="absolute",e.data.bufferCanvases[s].setAttribute("data-id","buffer"+s),e.data.bufferCanvases[s].style.zIndex=String(-s-1),e.data.bufferCanvases[s].style.visibility="hidden";e.pathsEnabled=!0;var u=In(),l=function(t){return{x:(t.x1+t.x2)/2,y:(t.y1+t.y2)/2}},h=function(t){return{x:-t.w/2,y:-t.h/2}},f=function(t){var e=t[0]._private;return!(e.oldBackgroundTimestamp===e.backgroundTimestamp)},d=function(t){return t[0]._private.nodeKey},g=function(t){return t[0]._private.labelStyleKey},p=function(t){return t[0]._private.sourceLabelStyleKey},b=function(t){return t[0]._private.targetLabelStyleKey},w=function(t,n,i,r,a){return e.drawElement(t,n,i,!1,!1,a)},m=function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"main",a)},y=function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"source",a)},v=function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"target",a)},x=function(t){return t.boundingBox(),t[0]._private.bodyBounds},k=function(t){return t.boundingBox(),t[0]._private.labelBounds.main||u},_=function(t){return t.boundingBox(),t[0]._private.labelBounds.source||u},A=function(t){return t.boundingBox(),t[0]._private.labelBounds.target||u},E=function(t,e){return e},T=function(t){return l(x(t))},C=function(t,e,n){var i=t?t+"-":"";return{x:e.x+n.pstyle(i+"text-margin-x").pfValue,y:e.y+n.pstyle(i+"text-margin-y").pfValue}},S=function(t,e,n){var i=t[0]._private.rscratch;return{x:i[e],y:i[n]}},I=function(t){return C("",S(t,"labelX","labelY"),t)},M=function(t){return C("source",S(t,"sourceLabelX","sourceLabelY"),t)},D=function(t){return C("target",S(t,"targetLabelX","targetLabelY"),t)},O=function(t){return h(x(t))},L=function(t){return h(_(t))},N=function(t){return h(A(t))},P=function(t){var e=k(t),n=h(k(t));if(t.isNode()){switch(t.pstyle("text-halign").value){case"left":n.x=-e.w;break;case"right":n.x=0}switch(t.pstyle("text-valign").value){case"top":n.y=-e.h;break;case"bottom":n.y=0}}return n},B=e.data.eleTxrCache=new Vh(e,{getKey:d,doesEleInvalidateKey:f,drawElement:w,getBoundingBox:x,getRotationPoint:T,getRotationOffset:O,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),R=e.data.lblTxrCache=new Vh(e,{getKey:g,drawElement:m,getBoundingBox:k,getRotationPoint:I,getRotationOffset:P,isVisible:E}),j=e.data.slbTxrCache=new Vh(e,{getKey:p,drawElement:y,getBoundingBox:_,getRotationPoint:M,getRotationOffset:L,isVisible:E}),$=e.data.tlbTxrCache=new Vh(e,{getKey:b,drawElement:v,getBoundingBox:A,getRotationPoint:D,getRotationOffset:N,isVisible:E}),z=e.data.lyrTxrCache=new gf(e);e.onUpdateEleCalcs((function(t,e){B.invalidateElements(e),R.invalidateElements(e),j.invalidateElements(e),$.invalidateElements(e),z.invalidateElements(e);for(var n=0;n<e.length;n++){var i=e[n]._private;i.oldBackgroundTimestamp=i.backgroundTimestamp}}));var q=function(t){for(var e=0;e<t.length;e++)z.enqueueElementRefinement(t[e].ele)};B.onDequeue(q),R.onDequeue(q),j.onDequeue(q),$.onDequeue(q)}td.CANVAS_LAYERS=3,td.SELECT_BOX=0,td.DRAG=1,td.NODE=2,td.BUFFER_COUNT=3,td.TEXTURE_BUFFER=0,td.MOTIONBLUR_BUFFER_NODE=1,td.MOTIONBLUR_BUFFER_DRAG=2,td.redrawHint=function(t,e){var n=this;switch(t){case"eles":n.data.canvasNeedsRedraw[td.NODE]=e;break;case"drag":n.data.canvasNeedsRedraw[td.DRAG]=e;break;case"select":n.data.canvasNeedsRedraw[td.SELECT_BOX]=e}};var nd="undefined"!=typeof Path2D;td.path2dEnabled=function(t){if(void 0===t)return this.pathsEnabled;this.pathsEnabled=!!t},td.usePaths=function(){return nd&&this.pathsEnabled},td.setImgSmoothing=function(t,e){null!=t.imageSmoothingEnabled?t.imageSmoothingEnabled=e:(t.webkitImageSmoothingEnabled=e,t.mozImageSmoothingEnabled=e,t.msImageSmoothingEnabled=e)},td.getImgSmoothing=function(t){return null!=t.imageSmoothingEnabled?t.imageSmoothingEnabled:t.webkitImageSmoothingEnabled||t.mozImageSmoothingEnabled||t.msImageSmoothingEnabled},td.makeOffscreenCanvas=function(e,n){var i;return"undefined"!==("undefined"==typeof OffscreenCanvas?"undefined":t(OffscreenCanvas))?i=new OffscreenCanvas(e,n):((i=document.createElement("canvas")).width=e,i.height=n),i},[yf,Ef,Of,Nf,Pf,Ff,jf,zf,Wf,Qf].forEach((function(t){Q(td,t)}));var id=[{type:"layout",extensions:Jl},{type:"renderer",extensions:[{name:"null",impl:th},{name:"base",impl:Th},{name:"canvas",impl:Jf}]}],rd={},ad={};function od(t,e,n){var i=n,r=function(n){Ce("Can not register `"+e+"` for `"+t+"` since `"+n+"` already exists in the prototype and can not be overridden")};if("core"===t){if(hl.prototype[e])return r(e);hl.prototype[e]=n}else if("collection"===t){if(Eu.prototype[e])return r(e);Eu.prototype[e]=n}else if("layout"===t){for(var a=function(t){this.options=t,n.call(this,t),k(this._private)||(this._private={}),this._private.cy=t.cy,this._private.listeners=[],this.createEmitter()},o=a.prototype=Object.create(n.prototype),s=[],c=0;c<s.length;c++){var u=s[c];o[u]=o[u]||function(){return this}}o.start&&!o.run?o.run=function(){return this.start(),this}:!o.start&&o.run&&(o.start=function(){return this.run(),this});var l=n.prototype.stop;o.stop=function(){var t=this.options;if(t&&t.animate){var e=this.animations;if(e)for(var n=0;n<e.length;n++)e[n].stop()}return l?l.call(this):this.emit("layoutstop"),this},o.destroy||(o.destroy=function(){return this}),o.cy=function(){return this._private.cy};var h=function(t){return t._private.cy},f={addEventFields:function(t,e){e.layout=t,e.cy=h(t),e.target=t},bubble:function(){return!0},parent:function(t){return h(t)}};Q(o,{createEmitter:function(){return this._private.emitter=new qc(f,this),this},emitter:function(){return this._private.emitter},on:function(t,e){return this.emitter().on(t,e),this},one:function(t,e){return this.emitter().one(t,e),this},once:function(t,e){return this.emitter().one(t,e),this},removeListener:function(t,e){return this.emitter().removeListener(t,e),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(t,e){return this.emitter().emit(t,e),this}}),gs.eventAliasesOn(o),i=a}else if("renderer"===t&&"null"!==e&&"base"!==e){var d=sd("renderer","base"),g=d.prototype,p=n,b=n.prototype,w=function(){d.apply(this,arguments),p.apply(this,arguments)},m=w.prototype;for(var y in g){var v=g[y];if(null!=b[y])return r(y);m[y]=v}for(var x in b)m[x]=b[x];g.clientFunctions.forEach((function(t){m[t]=m[t]||function(){Ee("Renderer does not implement `renderer."+t+"()` on its prototype")}})),i=w}else if("__proto__"===t||"constructor"===t||"prototype"===t)return Ee(t+" is an illegal type to be registered, possibly lead to prototype pollutions");return at({map:rd,keys:[t,e],value:i})}function sd(t,e){return ot({map:rd,keys:[t,e]})}function cd(t,e,n,i,r){return at({map:ad,keys:[t,e,n,i],value:r})}function ud(t,e,n,i){return ot({map:ad,keys:[t,e,n,i]})}var ld=function(){return 2===arguments.length?sd.apply(null,arguments):3===arguments.length?od.apply(null,arguments):4===arguments.length?ud.apply(null,arguments):5===arguments.length?cd.apply(null,arguments):void Ee("Invalid extension access syntax")};hl.prototype.extension=ld,id.forEach((function(t){t.extensions.forEach((function(e){od(t.type,e.name,e.impl)}))}));var hd=function t(){if(!(this instanceof t))return new t;this.length=0},fd=hd.prototype;fd.instanceString=function(){return"stylesheet"},fd.selector=function(t){return this[this.length++]={selector:t,properties:[]},this},fd.css=function(t,e){var n=this.length-1;if(y(t))this[n].properties.push({name:t,value:e});else if(k(t))for(var i=t,r=Object.keys(i),a=0;a<r.length;a++){var o=r[a],s=i[o];if(null!=s){var c=al.properties[o]||al.properties[$(o)];if(null!=c){var u=c.name,l=s;this[n].properties.push({name:u,value:l})}}}return this},fd.style=fd.css,fd.generateStyle=function(t){var e=new al(t);return this.appendToStyle(e)},fd.appendToStyle=function(t){for(var e=0;e<this.length;e++){var n=this[e],i=n.selector,r=n.properties;t.selector(i);for(var a=0;a<r.length;a++){var o=r[a];t.css(o.name,o.value)}}return t};var dd="3.26.0",gd=function(t){return void 0===t&&(t={}),k(t)?new hl(t):y(t)?ld.apply(ld,arguments):void 0};return gd.use=function(t){var e=Array.prototype.slice.call(arguments,1);return e.unshift(gd),t.apply(null,e),this},gd.warnings=function(t){return Te(t)},gd.version=dd,gd.stylesheet=gd.Stylesheet=hd,gd}()},7530:function(t){t.exports=function(){"use strict";var t=1e3,e=6e4,n=36e5,i="millisecond",r="second",a="minute",o="hour",s="day",c="week",u="month",l="quarter",h="year",f="date",d="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|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,b={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]||e[0])+"]"}},w=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},m={s:w,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+w(i,2,"0")+":"+w(r,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),r=e.clone().add(i,u),a=n-r<0,o=e.clone().add(i+(a?-1:1),u);return+(-(i+(n-r)/(a?r-o:o-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:h,w:c,d:s,D:f,h:o,m:a,s:r,ms:i,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",v={};v[y]=b;var x=function(t){return t instanceof E},k=function t(e,n,i){var r;if(!e)return y;if("string"==typeof e){var a=e.toLowerCase();v[a]&&(r=a),n&&(v[a]=n,r=a);var o=e.split("-");if(!r&&o.length>1)return t(o[0])}else{var s=e.name;v[s]=e,r=s}return!i&&r&&(y=r),r||!i&&y},_=function(t,e){if(x(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new E(n)},A=m;A.l=k,A.i=x,A.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var E=function(){function b(t){this.$L=k(t.locale,null,!0),this.parse(t)}var w=b.prototype;return w.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(A.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(g);if(i){var r=i[2]-1||0,a=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},w.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},w.$utils=function(){return A},w.isValid=function(){return!(this.$d.toString()===d)},w.isSame=function(t,e){var n=_(t);return this.startOf(e)<=n&&n<=this.endOf(e)},w.isAfter=function(t,e){return _(t)<this.startOf(e)},w.isBefore=function(t,e){return this.endOf(e)<_(t)},w.$g=function(t,e,n){return A.u(t)?this[e]:this.set(n,t)},w.unix=function(){return Math.floor(this.valueOf()/1e3)},w.valueOf=function(){return this.$d.getTime()},w.startOf=function(t,e){var n=this,i=!!A.u(e)||e,l=A.p(t),d=function(t,e){var r=A.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return i?r:r.endOf(s)},g=function(t,e){return A.w(n.toDate()[t].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},p=this.$W,b=this.$M,w=this.$D,m="set"+(this.$u?"UTC":"");switch(l){case h:return i?d(1,0):d(31,11);case u:return i?d(1,b):d(0,b+1);case c:var y=this.$locale().weekStart||0,v=(p<y?p+7:p)-y;return d(i?w-v:w+(6-v),b);case s:case f:return g(m+"Hours",0);case o:return g(m+"Minutes",1);case a:return g(m+"Seconds",2);case r:return g(m+"Milliseconds",3);default:return this.clone()}},w.endOf=function(t){return this.startOf(t,!1)},w.$set=function(t,e){var n,c=A.p(t),l="set"+(this.$u?"UTC":""),d=(n={},n[s]=l+"Date",n[f]=l+"Date",n[u]=l+"Month",n[h]=l+"FullYear",n[o]=l+"Hours",n[a]=l+"Minutes",n[r]=l+"Seconds",n[i]=l+"Milliseconds",n)[c],g=c===s?this.$D+(e-this.$W):e;if(c===u||c===h){var p=this.clone().set(f,1);p.$d[d](g),p.init(),this.$d=p.set(f,Math.min(this.$D,p.daysInMonth())).$d}else d&&this.$d[d](g);return this.init(),this},w.set=function(t,e){return this.clone().$set(t,e)},w.get=function(t){return this[A.p(t)]()},w.add=function(i,l){var f,d=this;i=Number(i);var g=A.p(l),p=function(t){var e=_(d);return A.w(e.date(e.date()+Math.round(t*i)),d)};if(g===u)return this.set(u,this.$M+i);if(g===h)return this.set(h,this.$y+i);if(g===s)return p(1);if(g===c)return p(7);var b=(f={},f[a]=e,f[o]=n,f[r]=t,f)[g]||1,w=this.$d.getTime()+i*b;return A.w(w,this)},w.subtract=function(t,e){return this.add(-1*t,e)},w.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var i=t||"YYYY-MM-DDTHH:mm:ssZ",r=A.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,u=n.months,l=n.meridiem,h=function(t,n,r,a){return t&&(t[n]||t(e,i))||r[n].slice(0,a)},f=function(t){return A.s(a%12||12,t,"0")},g=l||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i};return i.replace(p,(function(t,i){return i||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return A.s(e.$y,4,"0");case"M":return s+1;case"MM":return A.s(s+1,2,"0");case"MMM":return h(n.monthsShort,s,u,3);case"MMMM":return h(u,s);case"D":return e.$D;case"DD":return A.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,c,2);case"ddd":return h(n.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(a);case"HH":return A.s(a,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return g(a,o,!0);case"A":return g(a,o,!1);case"m":return String(o);case"mm":return A.s(o,2,"0");case"s":return String(e.$s);case"ss":return A.s(e.$s,2,"0");case"SSS":return A.s(e.$ms,3,"0");case"Z":return r}return null}(t)||r.replace(":","")}))},w.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},w.diff=function(i,f,d){var g,p=this,b=A.p(f),w=_(i),m=(w.utcOffset()-this.utcOffset())*e,y=this-w,v=function(){return A.m(p,w)};switch(b){case h:g=v()/12;break;case u:g=v();break;case l:g=v()/3;break;case c:g=(y-m)/6048e5;break;case s:g=(y-m)/864e5;break;case o:g=y/n;break;case a:g=y/e;break;case r:g=y/t;break;default:g=y}return d?g:A.a(g)},w.daysInMonth=function(){return this.endOf(u).$D},w.$locale=function(){return v[this.$L]},w.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=k(t,e,!0);return i&&(n.$L=i),n},w.clone=function(){return A.w(this.$d,this)},w.toDate=function(){return new Date(this.valueOf())},w.toJSON=function(){return this.isValid()?this.toISOString():null},w.toISOString=function(){return this.$d.toISOString()},w.toString=function(){return this.$d.toUTCString()},b}(),T=E.prototype;return _.prototype=T,[["$ms",i],["$s",r],["$m",a],["$H",o],["$W",s],["$M",u],["$y",h],["$D",f]].forEach((function(t){T[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),_.extend=function(t,e){return t.$i||(t(e,E,_),t.$i=!0),_},_.locale=k,_.isDayjs=x,_.unix=function(t){return _(1e3*t)},_.en=v[y],_.Ls=v,_.p={},_}()},7664:function(t){t.exports=function(){"use strict";return function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return i.bind(this)(t);var r=this.$utils(),a=(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 n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.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 i.bind(this)(a)}}}()},5466:function(t){t.exports=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,n=/\d\d/,i=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,a={},o=function(t){return(t=+t)+(t>68?1900:2e3)},s=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)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],u=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},l=function(t,e){var n,i=a.meridiem;if(i){for(var r=1;r<=24;r+=1)if(t.indexOf(i(r,0,e))>-1){n=r>12;break}}else n=t===(e?"pm":"PM");return n},h={A:[r,function(t){this.afternoon=l(t,!1)}],a:[r,function(t){this.afternoon=l(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:[i,s("seconds")],ss:[i,s("seconds")],m:[i,s("minutes")],mm:[i,s("minutes")],H:[i,s("hours")],h:[i,s("hours")],HH:[i,s("hours")],hh:[i,s("hours")],D:[i,s("day")],DD:[n,s("day")],Do:[r,function(t){var e=a.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var i=1;i<=31;i+=1)e(i).replace(/\[|\]/g,"")===t&&(this.day=i)}],M:[i,s("month")],MM:[n,s("month")],MMM:[r,function(t){var e=u("months"),n=(u("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[r,function(t){var e=u("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(t){this.year=o(t)}],YYYY:[/\d{4}/,s("year")],Z:c,ZZ:c};function f(n){var i,r;i=n,r=a&&a.formats;for(var o=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var a=i&&i.toUpperCase();return n||r[i]||t[i]||r[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),s=o.length,c=0;c<s;c+=1){var u=o[c],l=h[u],f=l&&l[0],d=l&&l[1];o[c]=d?{regex:f,parser:d}:u.replace(/^\[|\]$/g,"")}return function(t){for(var e={},n=0,i=0;n<s;n+=1){var r=o[n];if("string"==typeof r)i+=r.length;else{var a=r.regex,c=r.parser,u=t.slice(i),l=a.exec(u)[0];c.call(e,l),t=t.replace(l,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}}return function(t,e,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(o=t.parseTwoDigitYear);var i=e.prototype,r=i.parse;i.parse=function(t){var e=t.date,i=t.utc,o=t.args;this.$u=i;var s=o[1];if("string"==typeof s){var c=!0===o[2],u=!0===o[3],l=c||u,h=o[2];u&&(h=o[2]),a=this.$locale(),!c&&h&&(a=n.Ls[h]),this.$d=function(t,e,n){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var i=f(e)(t),r=i.year,a=i.month,o=i.day,s=i.hours,c=i.minutes,u=i.seconds,l=i.milliseconds,h=i.zone,d=new Date,g=o||(r||a?1:d.getDate()),p=r||d.getFullYear(),b=0;r&&!a||(b=a>0?a-1:d.getMonth());var w=s||0,m=c||0,y=u||0,v=l||0;return h?new Date(Date.UTC(p,b,g,w,m,y,v+60*h.offset*1e3)):n?new Date(Date.UTC(p,b,g,w,m,y,v)):new Date(p,b,g,w,m,y,v)}catch(t){return new Date("")}}(e,s,i),this.init(),h&&!0!==h&&(this.$L=this.locale(h).$L),l&&e!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var d=s.length,g=1;g<=d;g+=1){o[1]=s[g-1];var p=n.apply(this,o);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}g===d&&(this.$d=new Date(""))}else r.call(this,t)}}}()},7547:function(t){t.exports=function(){"use strict";var t="day";return function(e,n,i){var r=function(e){return e.add(4-e.isoWeekday(),t)},a=n.prototype;a.isoWeekYear=function(){return r(this).year()},a.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var n,a,o,s=r(this),c=(n=this.isoWeekYear(),o=4-(a=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),a.isoWeekday()>4&&(o+=7),a.add(o,t));return s.diff(c,"week")+1},a.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var o=a.startOf;a.startOf=function(t,e){var n=this.$utils(),i=!!n.u(e)||e;return"isoweek"===n.p(t)?i?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):o.bind(this)(t,e)}}}()},6951:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:r}=Object;let{freeze:a,seal:o,create:s}=Object,{apply:c,construct:u}="undefined"!=typeof Reflect&&Reflect;c||(c=function(t,e,n){return t.apply(e,n)}),a||(a=function(t){return t}),o||(o=function(t){return t}),u||(u=function(t,e){return new t(...e)});const l=x(Array.prototype.forEach),h=x(Array.prototype.pop),f=x(Array.prototype.push),d=x(String.prototype.toLowerCase),g=x(String.prototype.toString),p=x(String.prototype.match),b=x(String.prototype.replace),w=x(String.prototype.indexOf),m=x(String.prototype.trim),y=x(RegExp.prototype.test),v=k(TypeError);function x(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return c(t,e,i)}}function k(t){return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return u(t,n)}}function _(t,i,r){var a;r=null!==(a=r)&&void 0!==a?a:d,e&&e(t,null);let o=i.length;for(;o--;){let e=i[o];if("string"==typeof e){const t=r(e);t!==e&&(n(i)||(i[o]=t),e=t)}t[e]=!0}return t}function A(e){const n=s(null);for(const[i,r]of t(e))n[i]=r;return n}function E(t,e){for(;null!==t;){const n=r(t,e);if(n){if(n.get)return x(n.get);if("function"==typeof n.value)return x(n.value)}t=i(t)}function n(t){return console.warn("fallback value for",t),null}return n}const T=a(["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"]),C=a(["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"]),S=a(["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"]),I=a(["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"]),M=a(["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"]),D=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=a(["#text"]),L=a(["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"]),N=a(["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"]),P=a(["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"]),B=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm),R=o(/<%[\w\W]*|[\w\W]*%>/gm),j=o(/\${[\w\W]*}/gm),$=o(/^data-[\-\w.\u00B7-\uFFFF]/),z=o(/^aria-[\-\w]+$/),q=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=o(/^(?:\w+script|data):/i),U=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=o(/^html$/i);var Y=Object.freeze({__proto__:null,MUSTACHE_EXPR:F,ERB_EXPR:R,TMPLIT_EXPR:j,DATA_ATTR:$,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:U,DOCTYPE_NAME:G});const Z=()=>"undefined"==typeof window?null:window,W=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function K(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z();const n=t=>K(t);if(n.version="3.0.3",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;const i=e.document,r=i.currentScript;let{document:o}=e;const{DocumentFragment:s,HTMLTemplateElement:c,Node:u,Element:x,NodeFilter:k,NamedNodeMap:F=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:R,DOMParser:j,trustedTypes:$}=e,z=x.prototype,H=E(z,"cloneNode"),U=E(z,"nextSibling"),X=E(z,"childNodes"),V=E(z,"parentNode");if("function"==typeof c){const t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let Q,J="";const{implementation:tt,createNodeIterator:et,createDocumentFragment:nt,getElementsByTagName:it}=o,{importNode:rt}=i;let at={};n.isSupported="function"==typeof t&&"function"==typeof V&&tt&&void 0!==tt.createHTMLDocument;const{MUSTACHE_EXPR:ot,ERB_EXPR:st,TMPLIT_EXPR:ct,DATA_ATTR:ut,ARIA_ATTR:lt,IS_SCRIPT_OR_DATA:ht,ATTR_WHITESPACE:ft}=Y;let{IS_ALLOWED_URI:dt}=Y,gt=null;const pt=_({},[...T,...C,...S,...M,...O]);let bt=null;const wt=_({},[...L,...N,...P,...B]);let mt=Object.seal(Object.create(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}})),yt=null,vt=null,xt=!0,kt=!0,_t=!1,At=!0,Et=!1,Tt=!1,Ct=!1,St=!1,It=!1,Mt=!1,Dt=!1,Ot=!0,Lt=!1;const Nt="user-content-";let Pt=!0,Bt=!1,Ft={},Rt=null;const jt=_({},["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"]);let $t=null;const zt=_({},["audio","video","img","source","image","track"]);let qt=null;const Ht=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ut="http://www.w3.org/1998/Math/MathML",Gt="http://www.w3.org/2000/svg",Yt="http://www.w3.org/1999/xhtml";let Zt=Yt,Wt=!1,Kt=null;const Xt=_({},[Ut,Gt,Yt],g);let Vt;const Qt=["application/xhtml+xml","text/html"],Jt="text/html";let te,ee=null;const ne=o.createElement("form"),ie=function(t){return t instanceof RegExp||t instanceof Function},re=function(t){if(!ee||ee!==t){if(t&&"object"==typeof t||(t={}),t=A(t),Vt=Vt=-1===Qt.indexOf(t.PARSER_MEDIA_TYPE)?Jt:t.PARSER_MEDIA_TYPE,te="application/xhtml+xml"===Vt?g:d,gt="ALLOWED_TAGS"in t?_({},t.ALLOWED_TAGS,te):pt,bt="ALLOWED_ATTR"in t?_({},t.ALLOWED_ATTR,te):wt,Kt="ALLOWED_NAMESPACES"in t?_({},t.ALLOWED_NAMESPACES,g):Xt,qt="ADD_URI_SAFE_ATTR"in t?_(A(Ht),t.ADD_URI_SAFE_ATTR,te):Ht,$t="ADD_DATA_URI_TAGS"in t?_(A(zt),t.ADD_DATA_URI_TAGS,te):zt,Rt="FORBID_CONTENTS"in t?_({},t.FORBID_CONTENTS,te):jt,yt="FORBID_TAGS"in t?_({},t.FORBID_TAGS,te):{},vt="FORBID_ATTR"in t?_({},t.FORBID_ATTR,te):{},Ft="USE_PROFILES"in t&&t.USE_PROFILES,xt=!1!==t.ALLOW_ARIA_ATTR,kt=!1!==t.ALLOW_DATA_ATTR,_t=t.ALLOW_UNKNOWN_PROTOCOLS||!1,At=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Et=t.SAFE_FOR_TEMPLATES||!1,Tt=t.WHOLE_DOCUMENT||!1,It=t.RETURN_DOM||!1,Mt=t.RETURN_DOM_FRAGMENT||!1,Dt=t.RETURN_TRUSTED_TYPE||!1,St=t.FORCE_BODY||!1,Ot=!1!==t.SANITIZE_DOM,Lt=t.SANITIZE_NAMED_PROPS||!1,Pt=!1!==t.KEEP_CONTENT,Bt=t.IN_PLACE||!1,dt=t.ALLOWED_URI_REGEXP||q,Zt=t.NAMESPACE||Yt,mt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(mt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(mt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(mt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Et&&(kt=!1),Mt&&(It=!0),Ft&&(gt=_({},[...O]),bt=[],!0===Ft.html&&(_(gt,T),_(bt,L)),!0===Ft.svg&&(_(gt,C),_(bt,N),_(bt,B)),!0===Ft.svgFilters&&(_(gt,S),_(bt,N),_(bt,B)),!0===Ft.mathMl&&(_(gt,M),_(bt,P),_(bt,B))),t.ADD_TAGS&&(gt===pt&&(gt=A(gt)),_(gt,t.ADD_TAGS,te)),t.ADD_ATTR&&(bt===wt&&(bt=A(bt)),_(bt,t.ADD_ATTR,te)),t.ADD_URI_SAFE_ATTR&&_(qt,t.ADD_URI_SAFE_ATTR,te),t.FORBID_CONTENTS&&(Rt===jt&&(Rt=A(Rt)),_(Rt,t.FORBID_CONTENTS,te)),Pt&&(gt["#text"]=!0),Tt&&_(gt,["html","head","body"]),gt.table&&(_(gt,["tbody"]),delete yt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=t.TRUSTED_TYPES_POLICY,J=Q.createHTML("")}else void 0===Q&&(Q=W($,r)),null!==Q&&"string"==typeof J&&(J=Q.createHTML(""));a&&a(t),ee=t}},ae=_({},["mi","mo","mn","ms","mtext"]),oe=_({},["foreignobject","desc","title","annotation-xml"]),se=_({},["title","style","font","a","script"]),ce=_({},C);_(ce,S),_(ce,I);const ue=_({},M);_(ue,D);const le=function(t){let e=V(t);e&&e.tagName||(e={namespaceURI:Zt,tagName:"template"});const n=d(t.tagName),i=d(e.tagName);return!!Kt[t.namespaceURI]&&(t.namespaceURI===Gt?e.namespaceURI===Yt?"svg"===n:e.namespaceURI===Ut?"svg"===n&&("annotation-xml"===i||ae[i]):Boolean(ce[n]):t.namespaceURI===Ut?e.namespaceURI===Yt?"math"===n:e.namespaceURI===Gt?"math"===n&&oe[i]:Boolean(ue[n]):t.namespaceURI===Yt?!(e.namespaceURI===Gt&&!oe[i])&&!(e.namespaceURI===Ut&&!ae[i])&&!ue[n]&&(se[n]||!ce[n]):!("application/xhtml+xml"!==Vt||!Kt[t.namespaceURI]))},he=function(t){f(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},fe=function(t,e){try{f(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!bt[t])if(It||Mt)try{he(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},de=function(t){let e,n;if(St)t="<remove></remove>"+t;else{const e=p(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Vt&&Zt===Yt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const i=Q?Q.createHTML(t):t;if(Zt===Yt)try{e=(new j).parseFromString(i,Vt)}catch(t){}if(!e||!e.documentElement){e=tt.createDocument(Zt,"template",null);try{e.documentElement.innerHTML=Wt?J:i}catch(t){}}const r=e.body||e.documentElement;return t&&n&&r.insertBefore(o.createTextNode(n),r.childNodes[0]||null),Zt===Yt?it.call(e,Tt?"html":"body")[0]:Tt?e.documentElement:r},ge=function(t){return et.call(t.ownerDocument||t,t,k.SHOW_ELEMENT|k.SHOW_COMMENT|k.SHOW_TEXT,null,!1)},pe=function(t){return t instanceof R&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof F)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},be=function(t){return"object"==typeof u?t instanceof u:t&&"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},we=function(t,e,i){at[t]&&l(at[t],(t=>{t.call(n,e,i,ee)}))},me=function(t){let e;if(we("beforeSanitizeElements",t,null),pe(t))return he(t),!0;const i=te(t.nodeName);if(we("uponSanitizeElement",t,{tagName:i,allowedTags:gt}),t.hasChildNodes()&&!be(t.firstElementChild)&&(!be(t.content)||!be(t.content.firstElementChild))&&y(/<[/\w]/g,t.innerHTML)&&y(/<[/\w]/g,t.textContent))return he(t),!0;if(!gt[i]||yt[i]){if(!yt[i]&&ve(i)){if(mt.tagNameCheck instanceof RegExp&&y(mt.tagNameCheck,i))return!1;if(mt.tagNameCheck instanceof Function&&mt.tagNameCheck(i))return!1}if(Pt&&!Rt[i]){const e=V(t)||t.parentNode,n=X(t)||t.childNodes;if(n&&e)for(let i=n.length-1;i>=0;--i)e.insertBefore(H(n[i],!0),U(t))}return he(t),!0}return t instanceof x&&!le(t)?(he(t),!0):"noscript"!==i&&"noembed"!==i||!y(/<\/no(script|embed)/i,t.innerHTML)?(Et&&3===t.nodeType&&(e=t.textContent,e=b(e,ot," "),e=b(e,st," "),e=b(e,ct," "),t.textContent!==e&&(f(n.removed,{element:t.cloneNode()}),t.textContent=e)),we("afterSanitizeElements",t,null),!1):(he(t),!0)},ye=function(t,e,n){if(Ot&&("id"===e||"name"===e)&&(n in o||n in ne))return!1;if(kt&&!vt[e]&&y(ut,e));else if(xt&&y(lt,e));else if(!bt[e]||vt[e]){if(!(ve(t)&&(mt.tagNameCheck instanceof RegExp&&y(mt.tagNameCheck,t)||mt.tagNameCheck instanceof Function&&mt.tagNameCheck(t))&&(mt.attributeNameCheck instanceof RegExp&&y(mt.attributeNameCheck,e)||mt.attributeNameCheck instanceof Function&&mt.attributeNameCheck(e))||"is"===e&&mt.allowCustomizedBuiltInElements&&(mt.tagNameCheck instanceof RegExp&&y(mt.tagNameCheck,n)||mt.tagNameCheck instanceof Function&&mt.tagNameCheck(n))))return!1}else if(qt[e]);else if(y(dt,b(n,ft,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==w(n,"data:")||!$t[t])if(_t&&!y(ht,b(n,ft,"")));else if(n)return!1;return!0},ve=function(t){return t.indexOf("-")>0},xe=function(t){let e,i,r,a;we("beforeSanitizeAttributes",t,null);const{attributes:o}=t;if(!o)return;const s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:bt};for(a=o.length;a--;){e=o[a];const{name:c,namespaceURI:u}=e;if(i="value"===c?e.value:m(e.value),r=te(c),s.attrName=r,s.attrValue=i,s.keepAttr=!0,s.forceKeepAttr=void 0,we("uponSanitizeAttribute",t,s),i=s.attrValue,s.forceKeepAttr)continue;if(fe(c,t),!s.keepAttr)continue;if(!At&&y(/\/>/i,i)){fe(c,t);continue}Et&&(i=b(i,ot," "),i=b(i,st," "),i=b(i,ct," "));const l=te(t.nodeName);if(ye(l,r,i)){if(!Lt||"id"!==r&&"name"!==r||(fe(c,t),i=Nt+i),Q&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(u);else switch($.getAttributeType(l,r)){case"TrustedHTML":i=Q.createHTML(i);break;case"TrustedScriptURL":i=Q.createScriptURL(i)}try{u?t.setAttributeNS(u,c,i):t.setAttribute(c,i),h(n.removed)}catch(t){}}}we("afterSanitizeAttributes",t,null)},ke=function t(e){let n;const i=ge(e);for(we("beforeSanitizeShadowDOM",e,null);n=i.nextNode();)we("uponSanitizeShadowNode",n,null),me(n)||(n.content instanceof s&&t(n.content),xe(n));we("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){let e,r,a,o,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Wt=!t,Wt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!be(t)){if("function"!=typeof t.toString)throw v("toString is not a function");if("string"!=typeof(t=t.toString()))throw v("dirty is not a string, aborting")}if(!n.isSupported)return t;if(Ct||re(c),n.removed=[],"string"==typeof t&&(Bt=!1),Bt){if(t.nodeName){const e=te(t.nodeName);if(!gt[e]||yt[e])throw v("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof u)e=de("\x3c!----\x3e"),r=e.ownerDocument.importNode(t,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?e=r:e.appendChild(r);else{if(!It&&!Et&&!Tt&&-1===t.indexOf("<"))return Q&&Dt?Q.createHTML(t):t;if(e=de(t),!e)return It?null:Dt?J:""}e&&St&&he(e.firstChild);const l=ge(Bt?t:e);for(;a=l.nextNode();)me(a)||(a.content instanceof s&&ke(a.content),xe(a));if(Bt)return t;if(It){if(Mt)for(o=nt.call(e.ownerDocument);e.firstChild;)o.appendChild(e.firstChild);else o=e;return(bt.shadowroot||bt.shadowrootmod)&&(o=rt.call(i,o,!0)),o}let h=Tt?e.outerHTML:e.innerHTML;return Tt&>["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&y(G,e.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+e.ownerDocument.doctype.name+">\n"+h),Et&&(h=b(h,ot," "),h=b(h,st," "),h=b(h,ct," ")),Q&&Dt?Q.createHTML(h):h},n.setConfig=function(t){re(t),Ct=!0},n.clearConfig=function(){ee=null,Ct=!1},n.isValidAttribute=function(t,e,n){ee||re({});const i=te(t),r=te(e);return ye(i,r,n)},n.addHook=function(t,e){"function"==typeof e&&(at[t]=at[t]||[],f(at[t],e))},n.removeHook=function(t){if(at[t])return h(at[t])},n.removeHooks=function(t){at[t]&&(at[t]=[])},n.removeAllHooks=function(){at={}},n}return K()}()},7697:function(t,e,n){t.exports=function(){function t(e,n,i){function r(o,s){if(!n[o]){if(!e[o]){if(a)return a(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[o]={exports:{}};e[o][0].call(u.exports,(function(t){return r(e[o][1][t]||t)}),u,u.exports,t,e,n,i)}return n[o].exports}for(var a=void 0,o=0;o<i.length;o++)r(i[o]);return r}return t}()({1:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.defaultLayoutOptions,a=void 0===i?{}:i,s=n.algorithms,c=void 0===s?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:s,u=n.workerFactory,l=n.workerUrl;if(r(this,t),this.defaultLayoutOptions=a,this.initialized=!1,void 0===l&&void 0===u)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var h=u;void 0!==l&&void 0===u&&(h=function(t){return new Worker(t)});var f=h(l);if("function"!=typeof f.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new o(f),this.worker.postMessage({cmd:"register",algorithms:c}).then((function(t){return e.initialized=!0})).catch(console.err)}return i(t,[{key:"layout",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.layoutOptions,i=void 0===n?this.defaultLayoutOptions:n,r=e.logging,a=void 0!==r&&r,o=e.measureExecutionTime,s=void 0!==o&&o;return t?this.worker.postMessage({cmd:"layout",graph:t,layoutOptions:i,options:{logging:a,measureExecutionTime:s}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),t}();n.default=a;var o=function(){function t(e){var n=this;if(r(this,t),void 0===e)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=e,this.worker.onmessage=function(t){setTimeout((function(){n.receive(n,t)}),0)}}return i(t,[{key:"postMessage",value:function(t){var e=this.id||0;this.id=e+1,t.id=e;var n=this;return new Promise((function(i,r){n.resolvers[e]=function(t,e){t?(n.convertGwtStyleError(t),r(t)):i(e)},n.worker.postMessage(t)}))}},{key:"receive",value:function(t,e){var n=e.data,i=t.resolvers[n.id];i&&(delete t.resolvers[n.id],n.error?i(n.error):i(null,n.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(t){if(t){var e=t.__java$exception;e&&(e.cause&&e.cause.backingJsObject&&(t.cause=e.cause.backingJsObject,this.convertGwtStyleError(t.cause)),delete t.__java$exception)}}}]),t}()},{}],2:[function(t,e,i){(function(t){(function(){"use strict";var n;function r(){}function a(){}function o(){}function s(){}function c(){}function u(){}function l(){}function h(){}function f(){}function d(){}function g(){}function p(){}function b(){}function w(){}function m(){}function y(){}function v(){}function x(){}function k(){}function _(){}function A(){}function E(){}function T(){}function C(){}function S(){}function I(){}function M(){}function D(){}function O(){}function L(){}function N(){}function P(){}function B(){}function F(){}function R(){}function j(){}function $(){}function z(){}function q(){}function H(){}function U(){}function G(){}function Y(){}function Z(){}function W(){}function K(){}function X(){}function V(){}function Q(){}function J(){}function tt(){}function et(){}function nt(){}function it(){}function rt(){}function at(){}function ot(){}function st(){}function ct(){}function ut(){}function lt(){}function ht(){}function ft(){}function dt(){}function gt(){}function pt(){}function bt(){}function wt(){}function mt(){}function yt(){}function vt(){}function xt(){}function kt(){}function _t(){}function At(){}function Et(){}function Tt(){}function Ct(){}function St(){}function It(){}function Mt(){}function Dt(){}function Ot(){}function Lt(){}function Nt(){}function Pt(){}function Bt(){}function Ft(){}function Rt(){}function jt(){}function $t(){}function zt(){}function qt(){}function Ht(){}function Ut(){}function Gt(){}function Yt(){}function Zt(){}function Wt(){}function Kt(){}function Xt(){}function Vt(){}function Qt(){}function Jt(){}function te(){}function ee(){}function ne(){}function ie(){}function re(){}function ae(){}function oe(){}function se(){}function ce(){}function ue(){}function le(){}function he(){}function fe(){}function de(){}function ge(){}function pe(){}function be(){}function we(){}function me(){}function ye(){}function ve(){}function xe(){}function ke(){}function _e(){}function Ae(){}function Ee(){}function Te(){}function Ce(){}function Se(){}function Ie(){}function Me(){}function De(){}function Oe(){}function Le(){}function Ne(){}function Pe(){}function Be(){}function Fe(){}function Re(){}function je(){}function $e(){}function ze(){}function qe(){}function He(){}function Ue(){}function Ge(){}function Ye(){}function Ze(){}function We(){}function Ke(){}function Xe(){}function Ve(){}function Qe(){}function Je(){}function tn(){}function en(){}function nn(){}function rn(){}function an(){}function on(){}function sn(){}function cn(){}function un(){}function ln(){}function hn(){}function fn(){}function dn(){}function gn(){}function pn(){}function bn(){}function wn(){}function mn(){}function yn(){}function vn(){}function xn(){}function kn(){}function _n(){}function An(){}function En(){}function Tn(){}function Cn(){}function Sn(){}function In(){}function Mn(){}function Dn(){}function On(){}function Ln(){}function Nn(){}function Pn(){}function Bn(){}function Fn(){}function Rn(){}function jn(){}function $n(){}function zn(){}function qn(){}function Hn(){}function Un(){}function Gn(){}function Yn(){}function Zn(){}function Wn(){}function Kn(){}function Xn(){}function Vn(){}function Qn(){}function Jn(){}function ti(){}function ei(){}function ni(){}function ii(){}function ri(){}function ai(){}function oi(){}function si(){}function ci(){}function ui(){}function li(){}function hi(){}function fi(){}function di(){}function gi(){}function pi(){}function bi(){}function wi(){}function mi(){}function yi(){}function vi(){}function xi(){}function ki(){}function _i(){}function Ai(){}function Ei(){}function Ti(){}function Ci(){}function Si(){}function Ii(){}function Mi(){}function Di(){}function Oi(){}function Li(){}function Ni(){}function Pi(){}function Bi(){}function Fi(){}function Ri(){}function ji(){}function $i(){}function zi(){}function qi(){}function Hi(){}function Ui(){}function Gi(){}function Yi(){}function Zi(){}function Wi(){}function Ki(){}function Xi(){}function Vi(){}function Qi(){}function Ji(){}function tr(){}function er(){}function nr(){}function ir(){}function rr(){}function ar(){}function or(){}function sr(){}function cr(){}function ur(){}function lr(){}function hr(){}function fr(){}function dr(){}function gr(){}function pr(){}function br(){}function wr(){}function mr(){}function yr(){}function vr(){}function xr(){}function kr(){}function _r(){}function Ar(){}function Er(){}function Tr(){}function Cr(){}function Sr(){}function Ir(){}function Mr(){}function Dr(){}function Or(){}function Lr(){}function Nr(){}function Pr(){}function Br(){}function Fr(){}function Rr(){}function jr(){}function $r(){}function zr(){}function qr(){}function Hr(){}function Ur(){}function Gr(){}function Yr(){}function Zr(){}function Wr(){}function Kr(){}function Xr(){}function Vr(){}function Qr(){}function Jr(){}function ta(){}function ea(){}function na(){}function ia(){}function ra(){}function aa(){}function oa(){}function sa(){}function ca(){}function ua(){}function la(){}function ha(){}function fa(){}function da(){}function ga(){}function pa(){}function ba(){}function wa(){}function ma(){}function ya(){}function va(){}function xa(){}function ka(){}function _a(){}function Aa(){}function Ea(){}function Ta(){}function Ca(){}function Sa(){}function Ia(){}function Ma(){}function Da(){}function Oa(){}function La(){}function Na(){}function Pa(){}function Ba(){}function Fa(){}function Ra(){}function ja(){}function $a(){}function za(){}function qa(){}function Ha(){}function Ua(){}function Ga(){}function Ya(){}function Za(){}function Wa(){}function Ka(){}function Xa(){}function Va(){}function Qa(){}function Ja(){}function to(){}function eo(){}function no(){}function io(){}function ro(){}function ao(){}function oo(){}function so(){}function co(){}function uo(){}function lo(){}function ho(){}function fo(){}function go(){}function po(){}function bo(){}function wo(){}function mo(){}function yo(){}function vo(){}function xo(){}function ko(){}function _o(){}function Ao(){}function Eo(){}function To(){}function Co(){}function So(){}function Io(){}function Mo(){}function Do(){}function Oo(){}function Lo(){}function No(){}function Po(){}function Bo(){}function Fo(){}function Ro(){}function jo(){}function $o(){}function zo(){}function qo(){}function Ho(){}function Uo(){}function Go(){}function Yo(){}function Zo(){}function Wo(){}function Ko(){}function Xo(){}function Vo(){}function Qo(){}function Jo(){}function ts(){}function es(){}function ns(){}function is(){}function rs(){}function as(){}function os(){}function ss(){}function cs(){}function us(){}function ls(){}function hs(){}function fs(){}function ds(){}function gs(){}function ps(){}function bs(){}function ws(){}function ms(){}function ys(){}function vs(){}function xs(){}function ks(){}function _s(){}function As(){}function Es(){}function Ts(){}function Cs(){}function Ss(){}function Is(){}function Ms(){}function Ds(){}function Os(){}function Ls(){}function Ns(){}function Ps(){}function Bs(){}function Fs(){}function Rs(){}function js(){}function $s(){}function zs(){}function qs(){}function Hs(){}function Us(){}function Gs(){}function Ys(){}function Zs(){}function Ws(){}function Ks(){}function Xs(){}function Vs(){}function Qs(){}function Js(){}function tc(){}function ec(){}function nc(){}function ic(){}function rc(){}function ac(){}function oc(){}function sc(){}function cc(){}function uc(){}function lc(){}function hc(){}function fc(){}function dc(){}function gc(){}function pc(){}function bc(){}function wc(){}function mc(){}function yc(){}function vc(){}function xc(){}function kc(){}function _c(){}function Ac(){}function Ec(){}function Tc(){}function Cc(){}function Sc(){}function Ic(){}function Mc(){}function Dc(){}function Oc(){}function Lc(){}function Nc(){}function Pc(){}function Bc(){}function Fc(){}function Rc(){}function jc(){}function $c(){}function zc(){}function qc(){}function Hc(){}function Uc(){}function Gc(){}function Yc(){}function Zc(){}function Wc(){}function Kc(){}function Xc(){}function Vc(){}function Qc(){}function Jc(){}function tu(){}function eu(){}function nu(){}function iu(){}function ru(){}function au(){}function ou(){}function su(){}function cu(){}function uu(){}function lu(){}function hu(){}function fu(){}function du(){}function gu(){}function pu(){}function bu(){}function wu(){}function mu(){}function yu(){}function vu(){}function xu(){}function ku(){}function _u(){}function Au(){}function Eu(){}function Tu(){}function Cu(){}function Su(){}function Iu(){}function Mu(){}function Du(){}function Ou(){}function Lu(){}function Nu(){}function Pu(){}function Bu(){}function Fu(){}function Ru(){}function ju(){}function $u(){}function zu(){}function qu(){}function Hu(){}function Uu(){}function Gu(){}function Yu(){}function Zu(){}function Wu(){}function Ku(){}function Xu(){}function Vu(){}function Qu(){}function Ju(){}function tl(){}function el(){}function nl(){}function il(){}function rl(){}function al(){}function ol(){}function sl(){}function cl(){}function ul(){}function ll(){}function hl(){}function fl(){}function dl(){}function gl(){}function pl(){}function bl(){}function wl(){}function ml(){}function yl(){}function vl(){}function xl(){}function kl(){}function _l(){}function Al(){}function El(){}function Tl(){}function Cl(){}function Sl(){}function Il(){}function Ml(){}function Dl(){}function Ol(){}function Ll(){}function Nl(){}function Pl(){}function Bl(){}function Fl(){}function Rl(){}function jl(t){}function $l(t){}function zl(){iv()}function ql(){Gut()}function Hl(){Awt()}function Ul(){$xt()}function Gl(){_Tt()}function Yl(){fFt()}function Zl(){jvt()}function Wl(){axt()}function Kl(){_E()}function Xl(){yE()}function Vl(){Hj()}function Ql(){AE()}function Jl(){Mrt()}function th(){TE()}function eh(){I6()}function nh(){Sit()}function ih(){X8()}function rh(){jJ()}function ah(){Yut()}function oh(){$Et()}function sh(){Iit()}function ch(){Y2()}function uh(){fWt()}function lh(){Gvt()}function hh(){$J()}function fh(){HZt()}function dh(){FJ()}function gh(){Mit()}function ph(){Qst()}function bh(){UJ()}function wh(){S7()}function mh(){CE()}function yh(){jDt()}function vh(){Zvt()}function xh(){zat()}function kh(){TEt()}function _h(){gFt()}function Ah(){qmt()}function Eh(){IDt()}function Th(){Rot()}function Ch(){qJ()}function Sh(){ljt()}function Ih(){LDt()}function Mh(){KOt()}function Dh(){P7()}function Oh(){CEt()}function Lh(){lWt()}function Nh(){Wut()}function Ph(){ypt()}function Bh(){Uzt()}function Fh(){sj()}function Rh(){pat()}function jh(){f$t()}function $h(t){xW(t)}function zh(t){this.a=t}function qh(t){this.a=t}function Hh(t){this.a=t}function Uh(t){this.a=t}function Gh(t){this.a=t}function Yh(t){this.a=t}function Zh(t){this.a=t}function Wh(t){this.a=t}function Kh(t){this.a=t}function Xh(t){this.a=t}function Vh(t){this.a=t}function Qh(t){this.a=t}function Jh(t){this.a=t}function tf(t){this.a=t}function ef(t){this.a=t}function nf(t){this.a=t}function rf(t){this.a=t}function af(t){this.a=t}function of(t){this.a=t}function sf(t){this.a=t}function cf(t){this.a=t}function uf(t){this.b=t}function lf(t){this.c=t}function hf(t){this.a=t}function ff(t){this.a=t}function df(t){this.a=t}function gf(t){this.a=t}function pf(t){this.a=t}function bf(t){this.a=t}function wf(t){this.a=t}function mf(t){this.a=t}function yf(t){this.a=t}function vf(t){this.a=t}function xf(t){this.a=t}function kf(t){this.a=t}function _f(t){this.a=t}function Af(t){this.a=t}function Ef(t){this.a=t}function Tf(t){this.a=t}function Cf(t){this.a=t}function Sf(){this.a=[]}function If(t,e){t.a=e}function Mf(t,e){t.a=e}function Df(t,e){t.b=e}function Of(t,e){t.b=e}function Lf(t,e){t.b=e}function Nf(t,e){t.j=e}function Pf(t,e){t.g=e}function Bf(t,e){t.i=e}function Ff(t,e){t.c=e}function Rf(t,e){t.d=e}function jf(t,e){t.d=e}function $f(t,e){t.c=e}function zf(t,e){t.k=e}function qf(t,e){t.c=e}function Hf(t,e){t.c=e}function Uf(t,e){t.a=e}function Gf(t,e){t.a=e}function Yf(t,e){t.f=e}function Zf(t,e){t.a=e}function Wf(t,e){t.b=e}function Kf(t,e){t.d=e}function Xf(t,e){t.i=e}function Vf(t,e){t.o=e}function Qf(t,e){t.r=e}function Jf(t,e){t.a=e}function td(t,e){t.b=e}function ed(t,e){t.e=e}function nd(t,e){t.f=e}function id(t,e){t.g=e}function rd(t,e){t.e=e}function ad(t,e){t.f=e}function od(t,e){t.f=e}function sd(t,e){t.n=e}function cd(t,e){t.a=e}function ud(t,e){t.a=e}function ld(t,e){t.c=e}function hd(t,e){t.c=e}function fd(t,e){t.d=e}function dd(t,e){t.e=e}function gd(t,e){t.g=e}function pd(t,e){t.a=e}function bd(t,e){t.c=e}function wd(t,e){t.d=e}function md(t,e){t.e=e}function yd(t,e){t.f=e}function vd(t,e){t.j=e}function xd(t,e){t.a=e}function kd(t,e){t.b=e}function _d(t,e){t.a=e}function Ad(t){t.b=t.a}function Ed(t){t.c=t.d.d}function Td(t){this.d=t}function Cd(t){this.a=t}function Sd(t){this.a=t}function Id(t){this.a=t}function Md(t){this.a=t}function Dd(t){this.a=t}function Od(t){this.a=t}function Ld(t){this.a=t}function Nd(t){this.a=t}function Pd(t){this.a=t}function Bd(t){this.a=t}function Fd(t){this.a=t}function Rd(t){this.a=t}function jd(t){this.a=t}function $d(t){this.a=t}function zd(t){this.b=t}function qd(t){this.b=t}function Hd(t){this.b=t}function Ud(t){this.a=t}function Gd(t){this.a=t}function Yd(t){this.a=t}function Zd(t){this.c=t}function Wd(t){this.c=t}function Kd(t){this.c=t}function Xd(t){this.a=t}function Vd(t){this.a=t}function Qd(t){this.a=t}function Jd(t){this.a=t}function tg(t){this.a=t}function eg(t){this.a=t}function ng(t){this.a=t}function ig(t){this.a=t}function rg(t){this.a=t}function ag(t){this.a=t}function og(t){this.a=t}function sg(t){this.a=t}function cg(t){this.a=t}function ug(t){this.a=t}function lg(t){this.a=t}function hg(t){this.a=t}function fg(t){this.a=t}function dg(t){this.a=t}function gg(t){this.a=t}function pg(t){this.a=t}function bg(t){this.a=t}function wg(t){this.a=t}function mg(t){this.a=t}function yg(t){this.a=t}function vg(t){this.a=t}function xg(t){this.a=t}function kg(t){this.a=t}function _g(t){this.a=t}function Ag(t){this.a=t}function Eg(t){this.a=t}function Tg(t){this.a=t}function Cg(t){this.a=t}function Sg(t){this.a=t}function Ig(t){this.a=t}function Mg(t){this.a=t}function Dg(t){this.a=t}function Og(t){this.a=t}function Lg(t){this.a=t}function Ng(t){this.a=t}function Pg(t){this.a=t}function Bg(t){this.a=t}function Fg(t){this.a=t}function Rg(t){this.a=t}function jg(t){this.a=t}function $g(t){this.a=t}function zg(t){this.e=t}function qg(t){this.a=t}function Hg(t){this.a=t}function Ug(t){this.a=t}function Gg(t){this.a=t}function Yg(t){this.a=t}function Zg(t){this.a=t}function Wg(t){this.a=t}function Kg(t){this.a=t}function Xg(t){this.a=t}function Vg(t){this.a=t}function Qg(t){this.a=t}function Jg(t){this.a=t}function tp(t){this.a=t}function ep(t){this.a=t}function np(t){this.a=t}function ip(t){this.a=t}function rp(t){this.a=t}function ap(t){this.a=t}function op(t){this.a=t}function sp(t){this.a=t}function cp(t){this.a=t}function up(t){this.a=t}function lp(t){this.a=t}function hp(t){this.a=t}function fp(t){this.a=t}function dp(t){this.a=t}function gp(t){this.a=t}function pp(t){this.a=t}function bp(t){this.a=t}function wp(t){this.a=t}function mp(t){this.a=t}function yp(t){this.a=t}function vp(t){this.a=t}function xp(t){this.a=t}function kp(t){this.a=t}function _p(t){this.a=t}function Ap(t){this.a=t}function Ep(t){this.a=t}function Tp(t){this.a=t}function Cp(t){this.a=t}function Sp(t){this.a=t}function Ip(t){this.a=t}function Mp(t){this.a=t}function Dp(t){this.a=t}function Op(t){this.a=t}function Lp(t){this.a=t}function Np(t){this.a=t}function Pp(t){this.a=t}function Bp(t){this.a=t}function Fp(t){this.a=t}function Rp(t){this.a=t}function jp(t){this.a=t}function $p(t){this.a=t}function zp(t){this.c=t}function qp(t){this.b=t}function Hp(t){this.a=t}function Up(t){this.a=t}function Gp(t){this.a=t}function Yp(t){this.a=t}function Zp(t){this.a=t}function Wp(t){this.a=t}function Kp(t){this.a=t}function Xp(t){this.a=t}function Vp(t){this.a=t}function Qp(t){this.a=t}function Jp(t){this.a=t}function tb(t){this.a=t}function eb(t){this.a=t}function nb(t){this.a=t}function ib(t){this.a=t}function rb(t){this.a=t}function ab(t){this.a=t}function ob(t){this.a=t}function sb(t){this.a=t}function cb(t){this.a=t}function ub(t){this.a=t}function lb(t){this.a=t}function hb(t){this.a=t}function fb(t){this.a=t}function db(t){this.a=t}function gb(t){this.a=t}function pb(t){this.a=t}function bb(t){this.a=t}function wb(t){this.a=t}function mb(t){this.a=t}function yb(t){this.a=t}function vb(t){this.a=t}function xb(t){this.a=t}function kb(t){this.a=t}function _b(t){this.a=t}function Ab(t){this.a=t}function Eb(t){this.a=t}function Tb(t){this.a=t}function Cb(t){this.a=t}function Sb(t){this.a=t}function Ib(t){this.a=t}function Mb(t){this.a=t}function Db(t){this.a=t}function Ob(t){this.a=t}function Lb(t){this.a=t}function Nb(t){this.a=t}function Pb(t){this.a=t}function Bb(t){this.a=t}function Fb(t){this.a=t}function Rb(t){this.a=t}function jb(t){this.a=t}function $b(t){this.a=t}function zb(t){this.a=t}function qb(t){this.a=t}function Hb(t){this.a=t}function Ub(t){this.a=t}function Gb(t){this.a=t}function Yb(t){this.a=t}function Zb(t){this.a=t}function Wb(t){this.a=t}function Kb(t){this.a=t}function Xb(t){this.a=t}function Vb(t){this.a=t}function Qb(t){this.a=t}function Jb(t){this.a=t}function tw(t){this.a=t}function ew(t){this.a=t}function nw(t){this.a=t}function iw(t){this.a=t}function rw(t){this.a=t}function aw(t){this.a=t}function ow(t){this.a=t}function sw(t){this.b=t}function cw(t){this.f=t}function uw(t){this.a=t}function lw(t){this.a=t}function hw(t){this.a=t}function fw(t){this.a=t}function dw(t){this.a=t}function gw(t){this.a=t}function pw(t){this.a=t}function bw(t){this.a=t}function ww(t){this.a=t}function mw(t){this.a=t}function yw(t){this.a=t}function vw(t){this.b=t}function xw(t){this.c=t}function kw(t){this.e=t}function _w(t){this.a=t}function Aw(t){this.a=t}function Ew(t){this.a=t}function Tw(t){this.a=t}function Cw(t){this.a=t}function Sw(t){this.d=t}function Iw(t){this.a=t}function Mw(t){this.a=t}function Dw(t){this.e=t}function Ow(){this.a=0}function Lw(){BD(this)}function Nw(){PD(this)}function Pw(){OY(this)}function Bw(){gK(this)}function Fw(){jl(this)}function Rw(){this.c=LOe}function jw(t,e){e.Wb(t)}function $w(t,e){t.b+=e}function zw(t){t.b=new cx}function qw(t){return t.e}function Hw(t){return t.a}function Uw(t){return t.a}function Gw(t){return t.a}function Yw(t){return t.a}function Zw(t){return t.a}function Ww(){return null}function Kw(){return null}function Xw(){o_(),bZt()}function Vw(t){t.b.tf(t.e)}function Qw(t,e){t.b=e-t.b}function Jw(t,e){t.a=e-t.a}function tm(t,e){e.ad(t.a)}function em(t,e){USt(e,t)}function nm(t,e,n){t.Od(n,e)}function im(t,e){t.e=e,e.b=t}function rm(t){uj(),this.a=t}function am(t){uj(),this.a=t}function om(t){uj(),this.a=t}function sm(t){WZ(),this.a=t}function cm(t){CV(),iee.be(t)}function um(){bN.call(this)}function lm(){bN.call(this)}function hm(){um.call(this)}function fm(){um.call(this)}function dm(){um.call(this)}function gm(){um.call(this)}function pm(){um.call(this)}function bm(){um.call(this)}function wm(){um.call(this)}function mm(){um.call(this)}function ym(){um.call(this)}function vm(){um.call(this)}function xm(){um.call(this)}function km(){this.a=this}function _m(){this.Bb|=256}function Am(){this.b=new CM}function Em(){Em=M,new Pw}function Tm(){hm.call(this)}function Cm(t,e){t.length=e}function Sm(t,e){Wz(t.a,e)}function Im(t,e){ZTt(t.c,e)}function Mm(t,e){AY(t.b,e)}function Dm(t,e){Mmt(t.a,e)}function Om(t,e){Dft(t.a,e)}function Lm(t,e){got(t.e,e)}function Nm(t){OMt(t.c,t.b)}function Pm(t,e){t.kc().Nb(e)}function Bm(t){this.a=wdt(t)}function Fm(){this.a=new Pw}function Rm(){this.a=new Pw}function jm(){this.a=new Nw}function $m(){this.a=new Nw}function zm(){this.a=new Nw}function qm(){this.a=new vt}function Hm(){this.a=new x6}function Um(){this.a=new fe}function Gm(){this.a=new WA}function Ym(){this.a=new B0}function Zm(){this.a=new aJ}function Wm(){this.a=new DF}function Km(){this.a=new Nw}function Xm(){this.a=new Nw}function Vm(){this.a=new Nw}function Qm(){this.a=new Nw}function Jm(){this.d=new Nw}function ty(){this.a=new Fm}function ey(){this.a=new Pw}function ny(){this.b=new Pw}function iy(){this.b=new Nw}function ry(){this.e=new Nw}function ay(){this.d=new Nw}function oy(){this.a=new oh}function sy(){Nw.call(this)}function cy(){jm.call(this)}function uy(){NF.call(this)}function ly(){Xm.call(this)}function hy(){fy.call(this)}function fy(){Fw.call(this)}function dy(){Fw.call(this)}function gy(){dy.call(this)}function py(){pV.call(this)}function by(){pV.call(this)}function wy(){Wy.call(this)}function my(){Wy.call(this)}function yy(){Wy.call(this)}function vy(){Ky.call(this)}function xy(){VA.call(this)}function ky(){ic.call(this)}function _y(){ic.call(this)}function Ay(){tv.call(this)}function Ey(){tv.call(this)}function Ty(){Pw.call(this)}function Cy(){Pw.call(this)}function Sy(){Pw.call(this)}function Iy(){Fm.call(this)}function My(){_it.call(this)}function Dy(){_m.call(this)}function Oy(){ML.call(this)}function Ly(){ML.call(this)}function Ny(){Pw.call(this)}function Py(){Pw.call(this)}function By(){Pw.call(this)}function Fy(){vc.call(this)}function Ry(){vc.call(this)}function jy(){Fy.call(this)}function $y(){Bl.call(this)}function zy(t){bet.call(this,t)}function qy(t){bet.call(this,t)}function Hy(t){Kh.call(this,t)}function Uy(t){EA.call(this,t)}function Gy(t){Uy.call(this,t)}function Yy(t){EA.call(this,t)}function Zy(){this.a=new VA}function Wy(){this.a=new Fm}function Ky(){this.a=new Pw}function Xy(){this.a=new Nw}function Vy(){this.j=new Nw}function Qy(){this.a=new Wo}function Jy(){this.a=new L_}function tv(){this.a=new yc}function ev(){ev=M,$te=new Px}function nv(){nv=M,jte=new Nx}function iv(){iv=M,Dte=new a}function rv(){rv=M,Yte=new aN}function av(t){Uy.call(this,t)}function ov(t){Uy.call(this,t)}function sv(t){p4.call(this,t)}function cv(t){p4.call(this,t)}function uv(t){KR.call(this,t)}function lv(t){xTt.call(this,t)}function hv(t){SA.call(this,t)}function fv(t){MA.call(this,t)}function dv(t){MA.call(this,t)}function gv(t){MA.call(this,t)}function pv(t){hG.call(this,t)}function bv(t){pv.call(this,t)}function wv(){Cf.call(this,{})}function mv(t){SL(),this.a=t}function yv(t){t.b=null,t.c=0}function vv(t,e){t.e=e,IPt(t,e)}function xv(t,e){t.a=e,sSt(t)}function kv(t,e,n){t.a[e.g]=n}function _v(t,e,n){pkt(n,t,e)}function Av(t,e){JF(e.i,t.n)}function Ev(t,e){lut(t).td(e)}function Tv(t,e){return t*t/e}function Cv(t,e){return t.g-e.g}function Sv(t){return new Tf(t)}function Iv(t){return new UZ(t)}function Mv(t){pv.call(this,t)}function Dv(t){pv.call(this,t)}function Ov(t){pv.call(this,t)}function Lv(t){hG.call(this,t)}function Nv(t){$at(),this.a=t}function Pv(t){oj(),this.a=t}function Bv(t){$U(),this.f=t}function Fv(t){$U(),this.f=t}function Rv(t){pv.call(this,t)}function jv(t){pv.call(this,t)}function $v(t){pv.call(this,t)}function zv(t){pv.call(this,t)}function qv(t){pv.call(this,t)}function Hv(t){return xW(t),t}function Uv(t){return xW(t),t}function Gv(t){return xW(t),t}function Yv(t){return xW(t),t}function Zv(t){return xW(t),t}function Wv(t){return t.b==t.c}function Kv(t){return!!t&&t.b}function Xv(t){return!!t&&t.k}function Vv(t){return!!t&&t.j}function Qv(t){xW(t),this.a=t}function Jv(t){return tut(t),t}function tx(t){mY(t,t.length)}function ex(t){pv.call(this,t)}function nx(t){pv.call(this,t)}function ix(t){pv.call(this,t)}function rx(t){pv.call(this,t)}function ax(t){pv.call(this,t)}function ox(t){pv.call(this,t)}function sx(t){JN.call(this,t,0)}function cx(){c1.call(this,12,3)}function ux(){ux=M,nee=new k}function lx(){lx=M,Qte=new r}function hx(){hx=M,aee=new b}function fx(){fx=M,hee=new m}function dx(){throw qw(new wm)}function gx(){throw qw(new wm)}function px(){throw qw(new wm)}function bx(){throw qw(new wm)}function wx(){throw qw(new wm)}function mx(){throw qw(new wm)}function yx(){this.a=TB(vZ(zWt))}function vx(t){uj(),this.a=vZ(t)}function xx(t,e){t.Td(e),e.Sd(t)}function kx(t,e){t.a.ec().Mc(e)}function _x(t,e,n){t.c.lf(e,n)}function Ax(t){Dv.call(this,t)}function Ex(t){jv.call(this,t)}function Tx(){Dd.call(this,"")}function Cx(){Dd.call(this,"")}function Sx(){Dd.call(this,"")}function Ix(){Dd.call(this,"")}function Mx(t){Dv.call(this,t)}function Dx(t){qd.call(this,t)}function Ox(t){dN.call(this,t)}function Lx(t){Dx.call(this,t)}function Nx(){tf.call(this,null)}function Px(){tf.call(this,null)}function Bx(){Bx=M,CV()}function Fx(){Fx=M,xne=v_t()}function Rx(t){return t.a?t.b:0}function jx(t){return t.a?t.b:0}function $x(t,e){return t.a-e.a}function zx(t,e){return t.a-e.a}function qx(t,e){return t.a-e.a}function Hx(t,e){return y9(t,e)}function Ux(t,e){return bJ(t,e)}function Gx(t,e){return e in t.a}function Yx(t,e){return t.f=e,t}function Zx(t,e){return t.b=e,t}function Wx(t,e){return t.c=e,t}function Kx(t,e){return t.g=e,t}function Xx(t,e){return t.a=e,t}function Vx(t,e){return t.f=e,t}function Qx(t,e){return t.k=e,t}function Jx(t,e){return t.a=e,t}function tk(t,e){return t.e=e,t}function ek(t,e){return t.e=e,t}function nk(t,e){return t.f=e,t}function ik(t,e){t.b=!0,t.d=e}function rk(t,e){t.b=new gD(e)}function ak(t,e,n){e.td(t.a[n])}function ok(t,e,n){e.we(t.a[n])}function sk(t,e){return t.b-e.b}function ck(t,e){return t.g-e.g}function uk(t,e){return t.s-e.s}function lk(t,e){return t?0:e-1}function hk(t,e){return t?0:e-1}function fk(t,e){return t?e-1:0}function dk(t,e){return e.Yf(t)}function gk(t,e){return t.b=e,t}function pk(t,e){return t.a=e,t}function bk(t,e){return t.c=e,t}function wk(t,e){return t.d=e,t}function mk(t,e){return t.e=e,t}function yk(t,e){return t.f=e,t}function vk(t,e){return t.a=e,t}function xk(t,e){return t.b=e,t}function kk(t,e){return t.c=e,t}function _k(t,e){return t.c=e,t}function Ak(t,e){return t.b=e,t}function Ek(t,e){return t.d=e,t}function Tk(t,e){return t.e=e,t}function Ck(t,e){return t.f=e,t}function Sk(t,e){return t.g=e,t}function Ik(t,e){return t.a=e,t}function Mk(t,e){return t.i=e,t}function Dk(t,e){return t.j=e,t}function Ok(t,e){return t.k=e,t}function Lk(t,e){return t.j=e,t}function Nk(t,e){$Et(),SJ(e,t)}function Pk(t,e,n){UU(t.a,e,n)}function Bk(t){zK.call(this,t)}function Fk(t){zK.call(this,t)}function Rk(t){tj.call(this,t)}function jk(t){Udt.call(this,t)}function $k(t){wet.call(this,t)}function zk(t){wX.call(this,t)}function qk(t){wX.call(this,t)}function Hk(){MO.call(this,"")}function Uk(){this.a=0,this.b=0}function Gk(){this.b=0,this.a=0}function Yk(t,e){t.b=0,Pnt(t,e)}function Zk(t,e){t.c=e,t.b=!0}function Wk(t,e){return t.c._b(e)}function Kk(t){return t.e&&t.e()}function Xk(t){return t?t.d:null}function Vk(t,e){return wht(t.b,e)}function Qk(t){return t?t.g:null}function Jk(t){return t?t.i:null}function t_(t){return _B(t),t.o}function e_(){e_=M,pMe=Wxt()}function n_(){n_=M,bMe=uAt()}function i_(){i_=M,tOe=Xxt()}function r_(){r_=M,pLe=Kxt()}function a_(){a_=M,bLe=rSt()}function o_(){o_=M,fDe=oit()}function s_(){throw qw(new wm)}function c_(){throw qw(new wm)}function u_(){throw qw(new wm)}function l_(){throw qw(new wm)}function h_(){throw qw(new wm)}function f_(){throw qw(new wm)}function d_(t){this.a=new ZA(t)}function g_(t){dYt(),FZt(this,t)}function p_(t){this.a=new WG(t)}function b_(t,e){for(;t.ye(e););}function w_(t,e){for(;t.sd(e););}function m_(t,e){return t.a+=e,t}function y_(t,e){return t.a+=e,t}function v_(t,e){return t.a+=e,t}function x_(t,e){return t.a+=e,t}function k_(t){return _W(t),t.a}function __(t){return t.b!=t.d.c}function A_(t){return t.l|t.m<<22}function E_(t,e){return t.d[e.p]}function T_(t,e){return CPt(t,e)}function C_(t,e,n){t.splice(e,n)}function S_(t){t.c?PBt(t):BBt(t)}function I_(t){this.a=0,this.b=t}function M_(){this.a=new INt(ike)}function D_(){this.b=new INt(Hve)}function O_(){this.b=new INt(W_e)}function L_(){this.b=new INt(W_e)}function N_(){throw qw(new wm)}function P_(){throw qw(new wm)}function B_(){throw qw(new wm)}function F_(){throw qw(new wm)}function R_(){throw qw(new wm)}function j_(){throw qw(new wm)}function $_(){throw qw(new wm)}function z_(){throw qw(new wm)}function q_(){throw qw(new wm)}function H_(){throw qw(new wm)}function U_(){throw qw(new vm)}function G_(){throw qw(new vm)}function Y_(t){this.a=new Z_(t)}function Z_(t){Git(this,t,D_t())}function W_(t){return!t||wW(t)}function K_(t){return-1!=WLe[t]}function X_(){0!=oee&&(oee=0),cee=-1}function V_(){null==SWt&&(SWt=[])}function Q_(t,e){nDt(XX(t.a),e)}function J_(t,e){nDt(XX(t.a),e)}function tA(t,e){qL.call(this,t,e)}function eA(t,e){tA.call(this,t,e)}function nA(t,e){this.b=t,this.c=e}function iA(t,e){this.b=t,this.a=e}function rA(t,e){this.a=t,this.b=e}function aA(t,e){this.a=t,this.b=e}function oA(t,e){this.a=t,this.b=e}function sA(t,e){this.a=t,this.b=e}function cA(t,e){this.a=t,this.b=e}function uA(t,e){this.a=t,this.b=e}function lA(t,e){this.a=t,this.b=e}function hA(t,e){this.a=t,this.b=e}function fA(t,e){this.b=t,this.a=e}function dA(t,e){this.b=t,this.a=e}function gA(t,e){this.b=t,this.a=e}function pA(t,e){this.b=t,this.a=e}function bA(t,e){this.f=t,this.g=e}function wA(t,e){this.e=t,this.d=e}function mA(t,e){this.g=t,this.i=e}function yA(t,e){this.a=t,this.b=e}function vA(t,e){this.a=t,this.f=e}function xA(t,e){this.b=t,this.c=e}function kA(t,e){this.a=t,this.b=e}function _A(t,e){this.a=t,this.b=e}function AA(t,e){this.a=t,this.b=e}function EA(t){oN(t.dc()),this.c=t}function TA(t){this.b=zz(vZ(t),83)}function CA(t){this.a=zz(vZ(t),83)}function SA(t){this.a=zz(vZ(t),15)}function IA(t){this.a=zz(vZ(t),15)}function MA(t){this.b=zz(vZ(t),47)}function DA(){this.q=new n.Date}function OA(){OA=M,qee=new D}function LA(){LA=M,dne=new C}function NA(t){return t.f.c+t.g.c}function PA(t,e){return t.b.Hc(e)}function BA(t,e){return t.b.Ic(e)}function FA(t,e){return t.b.Qc(e)}function RA(t,e){return t.b.Hc(e)}function jA(t,e){return t.c.uc(e)}function $A(t,e){return t.a._b(e)}function zA(t,e){return Pht(t.c,e)}function qA(t,e){return lY(t.b,e)}function HA(t,e){return t>e&&e<DKt}function UA(t,e){return t.Gc(e),t}function GA(t,e){return zrt(t,e),t}function YA(t){return ZZ(),t?lee:uee}function ZA(t){ect.call(this,t,0)}function WA(){WG.call(this,null)}function KA(){z8.call(this,null)}function XA(t){this.c=t,Dtt(this)}function VA(){CO(this),vX(this)}function QA(t,e){_W(t),t.a.Nb(e)}function JA(t,e){return t.Gc(e),t}function tE(t,e){return t.a.f=e,t}function eE(t,e){return t.a.d=e,t}function nE(t,e){return t.a.g=e,t}function iE(t,e){return t.a.j=e,t}function rE(t,e){return t.a.a=e,t}function aE(t,e){return t.a.d=e,t}function oE(t,e){return t.a.e=e,t}function sE(t,e){return t.a.g=e,t}function cE(t,e){return t.a.f=e,t}function uE(t){return t.b=!1,t}function lE(){lE=M,Cne=new SM}function hE(){hE=M,Sne=new IM}function fE(){fE=M,qne=new Y}function dE(){dE=M,mse=new Fe}function gE(){gE=M,rae=new IP}function pE(){pE=M,eie=new ut}function bE(){bE=M,xse=new Re}function wE(){wE=M,uie=new gt}function mE(){mE=M,Uoe=new ye}function yE(){yE=M,$se=new Uk}function vE(){vE=M,Goe=new Te}function xE(){xE=M,Koe=new BU}function kE(){kE=M,lse=new Ae}function _E(){_E=M,zse=new dn}function AE(){AE=M,tue=new Vn}function EE(){EE=M,gue=new Lr}function TE(){TE=M,Xue=new ra}function CE(){CE=M,Wxe=new z2}function SE(){SE=M,Z_e=new LE}function IE(){IE=M,X_e=new mB}function ME(){ME=M,UAe=new ZW}function DE(){DE=M,Wwe=new Ks}function OE(){Cit(),this.c=new cx}function LE(){bA.call(this,H1t,0)}function NE(t,e){Jbt(t.c.b,e.c,e)}function PE(t,e){Jbt(t.c.c,e.b,e)}function BE(t,e,n){yJ(t.d,e.f,n)}function FE(t,e,n,i){Jwt(t,i,e,n)}function RE(t,e,n,i){cNt(i,t,e,n)}function jE(t,e,n,i){uYt(i,t,e,n)}function $E(t,e){return t.a=e.g,t}function zE(t,e){return ixt(t.a,e)}function qE(t){return t.b?t.b:t.a}function HE(t){return(t.c+t.a)/2}function UE(){UE=M,fMe=new nc}function GE(){GE=M,SMe=new hc}function YE(){YE=M,FDe=new Cy}function ZE(){ZE=M,YDe=new Sy}function WE(){WE=M,GDe=new Ny}function KE(){KE=M,JDe=new By}function XE(){XE=M,NOe=new GO}function VE(){VE=M,POe=new YO}function QE(){QE=M,rLe=new Nu}function JE(){JE=M,oLe=new Pu}function tT(){tT=M,yDe=new Pw}function eT(){eT=M,KOe=new Nw}function nT(){nT=M,ENe=new Rl}function iT(t){n.clearTimeout(t)}function rT(t){this.a=zz(vZ(t),224)}function aT(t){return zz(t,42).cd()}function oT(t){return t.b<t.d.gc()}function sT(t,e){return SU(t.a,e)}function cT(t,e){return Xlt(t,e)>0}function uT(t,e){return Xlt(t,e)<0}function lT(t,e){return t.a.get(e)}function hT(t,e){return e.split(t)}function fT(t,e){return lY(t.e,e)}function dT(t){return xW(t),!1}function gT(t){g1.call(this,t,21)}function pT(t,e){jQ.call(this,t,e)}function bT(t,e){bA.call(this,t,e)}function wT(t,e){bA.call(this,t,e)}function mT(t){KZ(),KR.call(this,t)}function yT(t,e){kU(t,t.length,e)}function vT(t,e){XY(t,t.length,e)}function xT(t,e,n){e.ud(t.a.Ge(n))}function kT(t,e,n){e.we(t.a.Fe(n))}function _T(t,e,n){e.td(t.a.Kb(n))}function AT(t,e,n){t.Mb(n)&&e.td(n)}function ET(t,e,n){t.splice(e,0,n)}function TT(t,e){return TN(t.e,e)}function CT(t,e){this.d=t,this.e=e}function ST(t,e){this.b=t,this.a=e}function IT(t,e){this.b=t,this.a=e}function MT(t,e){this.b=t,this.a=e}function DT(t,e){this.a=t,this.b=e}function OT(t,e){this.a=t,this.b=e}function LT(t,e){this.a=t,this.b=e}function NT(t,e){this.a=t,this.b=e}function PT(t,e){this.a=t,this.b=e}function BT(t,e){this.b=t,this.a=e}function FT(t,e){this.b=t,this.a=e}function RT(t,e){bA.call(this,t,e)}function jT(t,e){bA.call(this,t,e)}function $T(t,e){bA.call(this,t,e)}function zT(t,e){bA.call(this,t,e)}function qT(t,e){bA.call(this,t,e)}function HT(t,e){bA.call(this,t,e)}function UT(t,e){bA.call(this,t,e)}function GT(t,e){bA.call(this,t,e)}function YT(t,e){bA.call(this,t,e)}function ZT(t,e){bA.call(this,t,e)}function WT(t,e){bA.call(this,t,e)}function KT(t,e){bA.call(this,t,e)}function XT(t,e){bA.call(this,t,e)}function VT(t,e){bA.call(this,t,e)}function QT(t,e){bA.call(this,t,e)}function JT(t,e){bA.call(this,t,e)}function tC(t,e){bA.call(this,t,e)}function eC(t,e){bA.call(this,t,e)}function nC(t,e){this.a=t,this.b=e}function iC(t,e){this.a=t,this.b=e}function rC(t,e){this.a=t,this.b=e}function aC(t,e){this.a=t,this.b=e}function oC(t,e){this.a=t,this.b=e}function sC(t,e){this.a=t,this.b=e}function cC(t,e){this.a=t,this.b=e}function uC(t,e){this.a=t,this.b=e}function lC(t,e){this.a=t,this.b=e}function hC(t,e){this.b=t,this.a=e}function fC(t,e){this.b=t,this.a=e}function dC(t,e){this.b=t,this.a=e}function gC(t,e){this.b=t,this.a=e}function pC(t,e){this.c=t,this.d=e}function bC(t,e){this.e=t,this.d=e}function wC(t,e){this.a=t,this.b=e}function mC(t,e){this.b=e,this.c=t}function yC(t,e){bA.call(this,t,e)}function vC(t,e){bA.call(this,t,e)}function xC(t,e){bA.call(this,t,e)}function kC(t,e){bA.call(this,t,e)}function _C(t,e){bA.call(this,t,e)}function AC(t,e){bA.call(this,t,e)}function EC(t,e){bA.call(this,t,e)}function TC(t,e){bA.call(this,t,e)}function CC(t,e){bA.call(this,t,e)}function SC(t,e){bA.call(this,t,e)}function IC(t,e){bA.call(this,t,e)}function MC(t,e){bA.call(this,t,e)}function DC(t,e){bA.call(this,t,e)}function OC(t,e){bA.call(this,t,e)}function LC(t,e){bA.call(this,t,e)}function NC(t,e){bA.call(this,t,e)}function PC(t,e){bA.call(this,t,e)}function BC(t,e){bA.call(this,t,e)}function FC(t,e){bA.call(this,t,e)}function RC(t,e){bA.call(this,t,e)}function jC(t,e){bA.call(this,t,e)}function $C(t,e){bA.call(this,t,e)}function zC(t,e){bA.call(this,t,e)}function qC(t,e){bA.call(this,t,e)}function HC(t,e){bA.call(this,t,e)}function UC(t,e){bA.call(this,t,e)}function GC(t,e){bA.call(this,t,e)}function YC(t,e){bA.call(this,t,e)}function ZC(t,e){bA.call(this,t,e)}function WC(t,e){bA.call(this,t,e)}function KC(t,e){bA.call(this,t,e)}function XC(t,e){bA.call(this,t,e)}function VC(t,e){bA.call(this,t,e)}function QC(t,e){bA.call(this,t,e)}function JC(t,e){this.b=t,this.a=e}function tS(t,e){this.a=t,this.b=e}function eS(t,e){this.a=t,this.b=e}function nS(t,e){this.a=t,this.b=e}function iS(t,e){this.a=t,this.b=e}function rS(t,e){bA.call(this,t,e)}function aS(t,e){bA.call(this,t,e)}function oS(t,e){this.b=t,this.d=e}function sS(t,e){bA.call(this,t,e)}function cS(t,e){bA.call(this,t,e)}function uS(t,e){this.a=t,this.b=e}function lS(t,e){this.a=t,this.b=e}function hS(t,e){bA.call(this,t,e)}function fS(t,e){bA.call(this,t,e)}function dS(t,e){bA.call(this,t,e)}function gS(t,e){bA.call(this,t,e)}function pS(t,e){bA.call(this,t,e)}function bS(t,e){bA.call(this,t,e)}function wS(t,e){bA.call(this,t,e)}function mS(t,e){bA.call(this,t,e)}function yS(t,e){bA.call(this,t,e)}function vS(t,e){bA.call(this,t,e)}function xS(t,e){bA.call(this,t,e)}function kS(t,e){bA.call(this,t,e)}function _S(t,e){bA.call(this,t,e)}function AS(t,e){bA.call(this,t,e)}function ES(t,e){bA.call(this,t,e)}function TS(t,e){bA.call(this,t,e)}function CS(t,e){return TN(t.c,e)}function SS(t,e){return TN(e.b,t)}function IS(t,e){return-t.b.Je(e)}function MS(t,e){return TN(t.g,e)}function DS(t,e){bA.call(this,t,e)}function OS(t,e){bA.call(this,t,e)}function LS(t,e){this.a=t,this.b=e}function NS(t,e){this.a=t,this.b=e}function PS(t,e){this.a=t,this.b=e}function BS(t,e){bA.call(this,t,e)}function FS(t,e){bA.call(this,t,e)}function RS(t,e){bA.call(this,t,e)}function jS(t,e){bA.call(this,t,e)}function $S(t,e){bA.call(this,t,e)}function zS(t,e){bA.call(this,t,e)}function qS(t,e){bA.call(this,t,e)}function HS(t,e){bA.call(this,t,e)}function US(t,e){bA.call(this,t,e)}function GS(t,e){bA.call(this,t,e)}function YS(t,e){bA.call(this,t,e)}function ZS(t,e){bA.call(this,t,e)}function WS(t,e){bA.call(this,t,e)}function KS(t,e){bA.call(this,t,e)}function XS(t,e){bA.call(this,t,e)}function VS(t,e){bA.call(this,t,e)}function QS(t,e){this.a=t,this.b=e}function JS(t,e){this.a=t,this.b=e}function tI(t,e){this.a=t,this.b=e}function eI(t,e){this.a=t,this.b=e}function nI(t,e){this.a=t,this.b=e}function iI(t,e){this.a=t,this.b=e}function rI(t,e){this.a=t,this.b=e}function aI(t,e){bA.call(this,t,e)}function oI(t,e){this.a=t,this.b=e}function sI(t,e){this.a=t,this.b=e}function cI(t,e){this.a=t,this.b=e}function uI(t,e){this.a=t,this.b=e}function lI(t,e){this.a=t,this.b=e}function hI(t,e){this.a=t,this.b=e}function fI(t,e){this.b=t,this.a=e}function dI(t,e){this.b=t,this.a=e}function gI(t,e){this.b=t,this.a=e}function pI(t,e){this.b=t,this.a=e}function bI(t,e){this.a=t,this.b=e}function wI(t,e){this.a=t,this.b=e}function mI(t,e){JLt(t.a,zz(e,56))}function yI(t,e){m9(t.a,zz(e,11))}function vI(t,e){return lq(),e!=t}function xI(){return Fx(),new xne}function kI(){HJ(),this.b=new Fm}function _I(){bPt(),this.a=new Fm}function AI(){RJ(),RU.call(this)}function EI(t,e){bA.call(this,t,e)}function TI(t,e){this.a=t,this.b=e}function CI(t,e){this.a=t,this.b=e}function SI(t,e){this.a=t,this.b=e}function II(t,e){this.a=t,this.b=e}function MI(t,e){this.a=t,this.b=e}function DI(t,e){this.a=t,this.b=e}function OI(t,e){this.d=t,this.b=e}function LI(t,e){this.d=t,this.e=e}function NI(t,e){this.f=t,this.c=e}function PI(t,e){this.b=t,this.c=e}function BI(t,e){this.i=t,this.g=e}function FI(t,e){this.e=t,this.a=e}function RI(t,e){this.a=t,this.b=e}function jI(t,e){t.i=null,srt(t,e)}function $I(t,e){t&&KW(lDe,t,e)}function zI(t,e){return apt(t.a,e)}function qI(t){return spt(t.c,t.b)}function HI(t){return t?t.dd():null}function UI(t){return null==t?null:t}function GI(t){return typeof t===LWt}function YI(t){return typeof t===NWt}function ZI(t){return typeof t===PWt}function WI(t,e){return t.Hd().Xb(e)}function KI(t,e){return Vat(t.Kc(),e)}function XI(t,e){return 0==Xlt(t,e)}function VI(t,e){return Xlt(t,e)>=0}function QI(t,e){return 0!=Xlt(t,e)}function JI(t){return""+(xW(t),t)}function tM(t,e){return t.substr(e)}function eM(t){return Ydt(t),t.d.gc()}function nM(t){return YMt(t,t.c),t}function iM(t){return Qq(null==t),t}function rM(t,e){return t.a+=""+e,t}function aM(t,e){return t.a+=""+e,t}function oM(t,e){return t.a+=""+e,t}function sM(t,e){return t.a+=""+e,t}function cM(t,e){return t.a+=""+e,t}function uM(t,e){return t.a+=""+e,t}function lM(t,e){r5(t,e,t.a,t.a.a)}function hM(t,e){r5(t,e,t.c.b,t.c)}function fM(t,e,n){jkt(e,RCt(t,n))}function dM(t,e,n){jkt(e,RCt(t,n))}function gM(t,e){Att(new DL(t),e)}function pM(t,e){t.q.setTime(k2(e))}function bM(t,e){GG.call(this,t,e)}function wM(t,e){GG.call(this,t,e)}function mM(t,e){GG.call(this,t,e)}function yM(t){OY(this),Eat(this,t)}function vM(t){return f1(t,0),null}function xM(t){return t.a=0,t.b=0,t}function kM(t,e){return t.a=e.g+1,t}function _M(t,e){return 2==t.j[e.p]}function AM(t){return uZ(zz(t,79))}function EM(){EM=M,Dre=dlt(nwt())}function TM(){TM=M,Jce=dlt(ANt())}function CM(){this.b=new ZA(net(12))}function SM(){this.b=0,this.a=!1}function IM(){this.b=0,this.a=!1}function MM(t){this.a=t,zl.call(this)}function DM(t){this.a=t,zl.call(this)}function OM(t,e){iF.call(this,t,e)}function LM(t,e){eR.call(this,t,e)}function NM(t,e){BI.call(this,t,e)}function PM(t,e){Oot.call(this,t,e)}function BM(t,e){XN.call(this,t,e)}function FM(t,e){tT(),KW(yDe,t,e)}function RM(t,e){return hP(t.a,0,e)}function jM(t,e){return t.a.a.a.cc(e)}function $M(t,e){return UI(t)===UI(e)}function zM(t,e){return Sft(t.a,e.a)}function qM(t,e){return _O(t.a,e.a)}function HM(t,e){return $Y(t.a,e.a)}function UM(t,e){return t.indexOf(e)}function GM(t,e){return t==e?0:t?1:-1}function YM(t){return t<10?"0"+t:""+t}function ZM(t){return vZ(t),new MM(t)}function WM(t){return EO(t.l,t.m,t.h)}function KM(t){return SQ((xW(t),t))}function XM(t){return SQ((xW(t),t))}function VM(t,e){return _O(t.g,e.g)}function QM(t){return typeof t===NWt}function JM(t){return t==Joe||t==nse}function tD(t){return t==Joe||t==tse}function eD(t){return _9(t.b.b,t,0)}function nD(t){this.a=xI(),this.b=t}function iD(t){this.a=xI(),this.b=t}function rD(t,e){return Wz(t.a,e),e}function aD(t,e){return Wz(t.c,e),t}function oD(t,e){return Jat(t.a,e),t}function sD(t,e){return Uj(),e.a+=t}function cD(t,e){return Uj(),e.a+=t}function uD(t,e){return Uj(),e.c+=t}function lD(t,e){G7(t,0,t.length,e)}function hD(){ng.call(this,new m4)}function fD(){sU.call(this,0,0,0,0)}function dD(){YK.call(this,0,0,0,0)}function gD(t){this.a=t.a,this.b=t.b}function pD(t){return t==jCe||t==$Ce}function bD(t){return t==qCe||t==RCe}function wD(t){return t==hme||t==lme}function mD(t){return t!=XSe&&t!=VSe}function yD(t){return t.Lg()&&t.Mg()}function vD(t){return yK(zz(t,118))}function xD(t){return Jat(new z2,t)}function kD(t,e){return new Oot(e,t)}function _D(t,e){return new Oot(e,t)}function AD(t,e,n){_nt(t,e),Ant(t,n)}function ED(t,e,n){Cnt(t,e),Tnt(t,n)}function TD(t,e,n){Snt(t,e),Int(t,n)}function CD(t,e,n){Ent(t,e),Dnt(t,n)}function SD(t,e,n){Mnt(t,e),Ont(t,n)}function ID(t,e){Fut(t,e),Bnt(t,t.D)}function MD(t){NI.call(this,t,!0)}function DD(t,e,n){NB.call(this,t,e,n)}function OD(t){DBt(),lot.call(this,t)}function LD(){bT.call(this,"Head",1)}function ND(){bT.call(this,"Tail",3)}function PD(t){t.c=P8(Ote,HWt,1,0,5,1)}function BD(t){t.a=P8(Ote,HWt,1,8,5,1)}function FD(t){Det(t.xf(),new Tg(t))}function RD(t){return null!=t?eut(t):0}function jD(t,e){return Iet(e,WQ(t))}function $D(t,e){return Iet(e,WQ(t))}function zD(t,e){return t[t.length]=e}function qD(t,e){return t[t.length]=e}function HD(t){return $z(t.b.Kc(),t.a)}function UD(t,e){return Zit(CZ(t.d),e)}function GD(t,e){return Zit(CZ(t.g),e)}function YD(t,e){return Zit(CZ(t.j),e)}function ZD(t,e){iF.call(this,t.b,e)}function WD(t){sU.call(this,t,t,t,t)}function KD(t){return t.b&&Xzt(t),t.a}function XD(t){return t.b&&Xzt(t),t.c}function VD(t,e){Xne||(t.b=e)}function QD(t,e,n){return OZ(t,e,n),n}function JD(t,e,n){OZ(t.c[e.g],e.g,n)}function tO(t,e,n){zz(t.c,69).Xh(e,n)}function eO(t,e,n){TD(n,n.i+t,n.j+e)}function nO(t,e){h7(o4(t.a),n1(e))}function iO(t,e){h7(q9(t.a),i1(e))}function rO(t){pWt(),Dw.call(this,t)}function aO(t){return null==t?0:eut(t)}function oO(){oO=M,uve=new Hdt(cSe)}function sO(){sO=M,new cO,new Nw}function cO(){new Pw,new Pw,new Pw}function uO(){uO=M,Em(),ree=new Pw}function lO(){lO=M,n.Math.log(2)}function hO(){hO=M,GE(),FOe=SMe}function fO(){throw qw(new ex(Ete))}function dO(){throw qw(new ex(Ete))}function gO(){throw qw(new ex(Tte))}function pO(){throw qw(new ex(Tte))}function bO(t){this.a=t,Xz.call(this,t)}function wO(t){this.a=t,TA.call(this,t)}function mO(t){this.a=t,TA.call(this,t)}function yO(t,e){vU(t.c,t.c.length,e)}function vO(t){return t.a<t.c.c.length}function xO(t){return t.a<t.c.a.length}function kO(t,e){return t.a?t.b:e.De()}function _O(t,e){return t<e?-1:t>e?1:0}function AO(t,e){return Xlt(t,e)>0?t:e}function EO(t,e,n){return{l:t,m:e,h:n}}function TO(t,e){null!=t.a&&yI(e,t.a)}function CO(t){t.a=new O,t.c=new O}function SO(t){this.b=t,this.a=new Nw}function IO(t){this.b=new ee,this.a=t}function MO(t){LF.call(this),this.a=t}function DO(){bT.call(this,"Range",2)}function OO(){nkt(),this.a=new INt(Yoe)}function LO(t,e){vZ(e),_K(t).Jc(new d)}function NO(t,e){return zJ(),e.n.b+=t}function PO(t,e,n){return KW(t.g,n,e)}function BO(t,e,n){return KW(t.k,n,e)}function FO(t,e){return KW(t.a,e.a,e)}function RO(t,e,n){return Mpt(e,n,t.c)}function jO(t){return new PS(t.c,t.d)}function $O(t){return new PS(t.c,t.d)}function zO(t){return new PS(t.a,t.b)}function qO(t,e){return nGt(t.a,e,null)}function HO(t){TJ(t,null),EJ(t,null)}function UO(t){WJ(t,null),KJ(t,null)}function GO(){XN.call(this,null,null)}function YO(){VN.call(this,null,null)}function ZO(t){this.a=t,Pw.call(this)}function WO(t){this.b=(TX(),new Zd(t))}function KO(t){t.j=P8(zee,lKt,310,0,0,1)}function XO(t,e,n){t.c.Vc(e,zz(n,133))}function VO(t,e,n){t.c.ji(e,zz(n,133))}function QO(t,e){lHt(t),t.Gc(zz(e,15))}function JO(t,e){return qHt(t.c,t.b,e)}function tL(t,e){return new wN(t.Kc(),e)}function eL(t,e){return-1!=zst(t.Kc(),e)}function nL(t,e){return null!=t.a.Bc(e)}function iL(t){return t.Ob()?t.Pb():null}function rL(t){return qpt(t,0,t.length)}function aL(t,e){return null!=t&&Vwt(t,e)}function oL(t,e){t.q.setHours(e),dzt(t,e)}function sL(t,e){t.c&&(Fq(e),xQ(e))}function cL(t,e,n){zz(t.Kb(n),164).Nb(e)}function uL(t,e,n){return HUt(t,e,n),n}function lL(t,e,n){t.a=1502^e,t.b=n^sVt}function hL(t,e,n){return t.a[e.g][n.g]}function fL(t,e){return t.a[e.c.p][e.p]}function dL(t,e){return t.e[e.c.p][e.p]}function gL(t,e){return t.c[e.c.p][e.p]}function pL(t,e){return t.j[e.p]=mLt(e)}function bL(t,e){return h6(t.f,e.tg())}function wL(t,e){return h6(t.b,e.tg())}function mL(t,e){return t.a<ZR(e)?-1:1}function yL(t,e,n){return n?0!=e:e!=t-1}function vL(t,e,n){return t.a=e,t.b=n,t}function xL(t,e){return t.a*=e,t.b*=e,t}function kL(t,e,n){return OZ(t.g,e,n),n}function _L(t,e,n,i){OZ(t.a[e.g],n.g,i)}function AL(t,e){jP(e,t.a.a.a,t.a.a.b)}function EL(t){t.a=zz(xot(t.b.a,4),126)}function TL(t){t.a=zz(xot(t.b.a,4),126)}function CL(t){MV(t,r8t),HLt(t,MYt(t))}function SL(){SL=M,Tne=new mv(null)}function IL(){(IL=M)(),One=new G}function ML(){this.Bb|=256,this.Bb|=512}function DL(t){this.i=t,this.f=this.i.j}function OL(t,e,n){vq.call(this,t,e,n)}function LL(t,e,n){OL.call(this,t,e,n)}function NL(t,e,n){OL.call(this,t,e,n)}function PL(t,e,n){LL.call(this,t,e,n)}function BL(t,e,n){vq.call(this,t,e,n)}function FL(t,e,n){vq.call(this,t,e,n)}function RL(t,e,n){Eq.call(this,t,e,n)}function jL(t,e,n){Eq.call(this,t,e,n)}function $L(t,e,n){RL.call(this,t,e,n)}function zL(t,e,n){BL.call(this,t,e,n)}function qL(t,e){this.a=t,TA.call(this,e)}function HL(t,e){this.a=t,sx.call(this,e)}function UL(t,e){this.a=t,sx.call(this,e)}function GL(t,e){this.a=t,sx.call(this,e)}function YL(t){this.a=t,lf.call(this,t.d)}function ZL(t){this.c=t,this.a=this.c.a}function WL(t,e){this.a=e,sx.call(this,t)}function KL(t,e){this.a=e,p4.call(this,t)}function XL(t,e){this.a=t,p4.call(this,e)}function VL(t,e){return gG(dG(t.c)).Xb(e)}function QL(t,e){return idt(t,new Sx,e).a}function JL(t,e){return vZ(e),new tN(t,e)}function tN(t,e){this.a=e,MA.call(this,t)}function eN(t){this.b=t,this.a=this.b.a.e}function nN(t){t.b.Qb(),--t.d.f.d,OU(t.d)}function iN(t){tf.call(this,zz(vZ(t),35))}function rN(t){tf.call(this,zz(vZ(t),35))}function aN(){bA.call(this,"INSTANCE",0)}function oN(t){if(!t)throw qw(new gm)}function sN(t){if(!t)throw qw(new pm)}function cN(t){if(!t)throw qw(new vm)}function uN(){uN=M,QE(),aLe=new jh}function lN(){lN=M,mee=!1,yee=!0}function hN(t){Dd.call(this,(xW(t),t))}function fN(t){Dd.call(this,(xW(t),t))}function dN(t){qd.call(this,t),this.a=t}function gN(t){Hd.call(this,t),this.a=t}function pN(t){Dx.call(this,t),this.a=t}function bN(){KO(this),kX(this),this._d()}function wN(t,e){this.a=e,MA.call(this,t)}function mN(t,e){return new jCt(t.a,t.b,e)}function yN(t,e){return t.lastIndexOf(e)}function vN(t,e,n){return t.indexOf(e,n)}function xN(t){return null==t?YWt:qdt(t)}function kN(t){return null==t?null:t.name}function _N(t){return null!=t.a?t.a:null}function AN(t){return __(t.a)?s1(t):null}function EN(t,e){return null!=OQ(t.a,e)}function TN(t,e){return!!e&&t.b[e.g]==e}function CN(t){return t.$H||(t.$H=++aie)}function SN(t){return t.l+t.m*MXt+t.h*DXt}function IN(t,e){return Wz(e.a,t.a),t.a}function MN(t,e){return Wz(e.b,t.a),t.a}function DN(t,e){return Wz(e.a,t.a),t.a}function ON(t){return CP(null!=t.a),t.a}function LN(t){ng.call(this,new H8(t))}function NN(t,e){Cbt.call(this,t,e,null)}function PN(t){this.a=t,zd.call(this,t)}function BN(){BN=M,Lre=new iF(bQt,0)}function FN(t,e){return++t.b,Wz(t.a,e)}function RN(t,e){return++t.b,v9(t.a,e)}function jN(t,e){return Sft(t.n.a,e.n.a)}function $N(t,e){return Sft(t.c.d,e.c.d)}function zN(t,e){return Sft(t.c.c,e.c.c)}function qN(t,e){return zz(l6(t.b,e),15)}function HN(t,e){return t.n.b=(xW(e),e)}function UN(t,e){return t.n.b=(xW(e),e)}function GN(t){return vO(t.a)||vO(t.b)}function YN(t,e,n){return w3(t,e,n,t.b)}function ZN(t,e,n){return w3(t,e,n,t.c)}function WN(t,e,n){zz(B9(t,e),21).Fc(n)}function KN(t,e,n){Dft(t.a,n),Mmt(t.a,e)}function XN(t,e){XE(),this.a=t,this.b=e}function VN(t,e){VE(),this.b=t,this.c=e}function QN(t,e){$U(),this.f=e,this.d=t}function JN(t,e){g6(e,t),this.d=t,this.c=e}function tP(t){var e;e=t.a,t.a=t.b,t.b=e}function eP(t){return Uj(),!!t&&!t.dc()}function nP(t){return new l4(3,t)}function iP(t,e){return new dR(t,t.gc(),e)}function rP(t){return rv(),Stt((BJ(),Wte),t)}function aP(t){this.d=t,DL.call(this,t)}function oP(t){this.c=t,DL.call(this,t)}function sP(t){this.c=t,aP.call(this,t)}function cP(){EE(),this.b=new vp(this)}function uP(t){return dit(t,OKt),new Q6(t)}function lP(t){return CV(),parseInt(t)||-1}function hP(t,e,n){return t.substr(e,n-e)}function fP(t,e,n){return vN(t,QAt(e),n)}function dP(t){return KY(t.c,t.c.length)}function gP(t){return null!=t.f?t.f:""+t.g}function pP(t){return null!=t.f?t.f:""+t.g}function bP(t){return CP(0!=t.b),t.a.a.c}function wP(t){return CP(0!=t.b),t.c.b.c}function mP(t){aL(t,150)&&zz(t,150).Gh()}function yP(t){return t.b=zz(yX(t.a),42)}function vP(t){lE(),this.b=t,this.a=!0}function xP(t){hE(),this.b=t,this.a=!0}function kP(t){t.d=new SP(t),t.e=new Pw}function _P(t){if(!t)throw qw(new mm)}function AP(t){if(!t)throw qw(new gm)}function EP(t){if(!t)throw qw(new pm)}function TP(t){if(!t)throw qw(new fm)}function CP(t){if(!t)throw qw(new vm)}function SP(t){tq.call(this,t,null,null)}function IP(){bA.call(this,"POLYOMINO",0)}function MP(t,e,n,i){uG.call(this,t,e,n,i)}function DP(t,e){return $Et(),JIt(t,e.e,e)}function OP(t,e,n){return DE(),n.qg(t,e)}function LP(t,e){return!!t.q&&lY(t.q,e)}function NP(t,e){return t>0?e*e/t:e*e*100}function PP(t,e){return t>0?e/(t*t):100*e}function BP(t,e,n){return Wz(e,ugt(t,n))}function FP(t,e,n){P7(),t.Xe(e)&&n.td(t)}function RP(t,e,n){t.Zc(e).Rb(n)}function jP(t,e,n){return t.a+=e,t.b+=n,t}function $P(t,e,n){return t.a*=e,t.b*=n,t}function zP(t,e,n){return t.a-=e,t.b-=n,t}function qP(t,e){return t.a=e.a,t.b=e.b,t}function HP(t){return t.a=-t.a,t.b=-t.b,t}function UP(t){this.c=t,this.a=1,this.b=1}function GP(t){this.c=t,Snt(t,0),Int(t,0)}function YP(t){VA.call(this),eit(this,t)}function ZP(t){RZt(),zw(this),this.mf(t)}function WP(t,e){XE(),XN.call(this,t,e)}function KP(t,e){VE(),VN.call(this,t,e)}function XP(t,e){VE(),VN.call(this,t,e)}function VP(t,e){VE(),KP.call(this,t,e)}function QP(t,e,n){v7.call(this,t,e,n,2)}function JP(t,e){hO(),aU.call(this,t,e)}function tB(t,e){hO(),JP.call(this,t,e)}function eB(t,e){hO(),JP.call(this,t,e)}function nB(t,e){hO(),eB.call(this,t,e)}function iB(t,e){hO(),aU.call(this,t,e)}function rB(t,e){hO(),iB.call(this,t,e)}function aB(t,e){hO(),aU.call(this,t,e)}function oB(t,e){return t.c.Fc(zz(e,133))}function sB(t,e,n){return Pqt($9(t,e),n)}function cB(t,e,n){return e.Qk(t.e,t.c,n)}function uB(t,e,n){return e.Rk(t.e,t.c,n)}function lB(t,e){return nht(t.e,zz(e,49))}function hB(t,e,n){lft(q9(t.a),e,i1(n))}function fB(t,e,n){lft(o4(t.a),e,n1(n))}function dB(t,e){e.$modCount=t.$modCount}function gB(){gB=M,Kxe=new sw("root")}function pB(){pB=M,wDe=new Ay,new Ey}function bB(){this.a=new wQ,this.b=new wQ}function wB(){_it.call(this),this.Bb|=qXt}function mB(){bA.call(this,"GROW_TREE",0)}function yB(t){return null==t?null:pYt(t)}function vB(t){return null==t?null:NTt(t)}function xB(t){return null==t?null:qdt(t)}function kB(t){return null==t?null:qdt(t)}function _B(t){null==t.o&&wOt(t)}function AB(t){return Qq(null==t||GI(t)),t}function EB(t){return Qq(null==t||YI(t)),t}function TB(t){return Qq(null==t||ZI(t)),t}function CB(t){this.q=new n.Date(k2(t))}function SB(t,e){this.c=t,wA.call(this,t,e)}function IB(t,e){this.a=t,SB.call(this,t,e)}function MB(t,e){this.d=t,Ed(this),this.b=e}function DB(t,e){z8.call(this,t),this.a=e}function OB(t,e){z8.call(this,t),this.a=e}function LB(t){Ugt.call(this,0,0),this.f=t}function NB(t,e,n){W6.call(this,t,e,n,null)}function PB(t,e,n){W6.call(this,t,e,n,null)}function BB(t,e,n){return t.ue(e,n)<=0?n:e}function FB(t,e,n){return t.ue(e,n)<=0?e:n}function RB(t,e){return zz(ftt(t.b,e),149)}function jB(t,e){return zz(ftt(t.c,e),229)}function $B(t){return zz(PH(t.a,t.b),287)}function zB(t){return new PS(t.c,t.d+t.a)}function qB(t){return zJ(),wD(zz(t,197))}function HB(){HB=M,Ore=edt((vpt(),jIe))}function UB(t,e){e.a?zPt(t,e):EN(t.a,e.b)}function GB(t,e){Xne||Wz(t.a,e)}function YB(t,e){return yE(),pot(e.d.i,t)}function ZB(t,e){return Mrt(),new oRt(e,t)}function WB(t,e){return MV(e,cQt),t.f=e,t}function KB(t,e,n){return n=Ejt(t,e,3,n)}function XB(t,e,n){return n=Ejt(t,e,6,n)}function VB(t,e,n){return n=Ejt(t,e,9,n)}function QB(t,e,n){++t.j,t.Ki(),L8(t,e,n)}function JB(t,e,n){++t.j,t.Hi(e,t.oi(e,n))}function tF(t,e,n){t.Zc(e).Rb(n)}function eF(t,e,n){return tqt(t.c,t.b,e,n)}function nF(t,e){return(e&FWt)%t.d.length}function iF(t,e){sw.call(this,t),this.a=e}function rF(t,e){xw.call(this,t),this.a=e}function aF(t,e){xw.call(this,t),this.a=e}function oF(t,e){this.c=t,wet.call(this,e)}function sF(t,e){this.a=t,vw.call(this,e)}function cF(t,e){this.a=t,vw.call(this,e)}function uF(t){this.a=(dit(t,OKt),new Q6(t))}function lF(t){this.a=(dit(t,OKt),new Q6(t))}function hF(t){return!t.a&&(t.a=new g),t.a}function fF(t){return t>8?0:t+1}function dF(t,e){return lN(),t==e?0:t?1:-1}function gF(t,e,n){return yU(t,zz(e,22),n)}function pF(t,e,n){return t.apply(e,n)}function bF(t,e,n){return t.a+=qpt(e,0,n),t}function wF(t,e){var n;return n=t.e,t.e=e,n}function mF(t,e){t[rVt].call(t,e)}function yF(t,e){t[rVt].call(t,e)}function vF(t,e){t.a.Vc(t.b,e),++t.b,t.c=-1}function xF(t){OY(t.e),t.d.b=t.d,t.d.a=t.d}function kF(t){t.b?kF(t.b):t.f.c.zc(t.e,t.d)}function _F(t,e,n){pE(),If(t,e.Ce(t.a,n))}function AF(t,e){return Xk(Tpt(t.a,e,!0))}function EF(t,e){return Xk(Cpt(t.a,e,!0))}function TF(t,e){return Hx(new Array(e),t)}function CF(t){return String.fromCharCode(t)}function SF(t){return null==t?null:t.message}function IF(){this.a=new Nw,this.b=new Nw}function MF(){this.a=new fe,this.b=new Am}function DF(){this.b=new Uk,this.c=new Nw}function OF(){this.d=new Uk,this.e=new Uk}function LF(){this.n=new Uk,this.o=new Uk}function NF(){this.n=new dy,this.i=new dD}function PF(){this.a=new th,this.b=new sa}function BF(){this.a=new Nw,this.d=new Nw}function FF(){this.b=new Fm,this.a=new Fm}function RF(){this.b=new Pw,this.a=new Pw}function jF(){this.b=new D_,this.a=new bo}function $F(){NF.call(this),this.a=new Uk}function zF(t){Dot.call(this,t,(J7(),Nne))}function qF(t,e,n,i){sU.call(this,t,e,n,i)}function HF(t,e,n){null!=n&&Nit(e,Oyt(t,n))}function UF(t,e,n){null!=n&&Pit(e,Oyt(t,n))}function GF(t,e,n){return n=Ejt(t,e,11,n)}function YF(t,e){return t.a+=e.a,t.b+=e.b,t}function ZF(t,e){return t.a-=e.a,t.b-=e.b,t}function WF(t,e){return t.n.a=(xW(e),e+10)}function KF(t,e){return t.n.a=(xW(e),e+10)}function XF(t,e){return e==t||Ckt(ILt(e),t)}function VF(t,e){return null==KW(t.a,e,"")}function QF(t,e){return yE(),!pot(e.d.i,t)}function JF(t,e){pD(t.f)?oOt(t,e):MAt(t,e)}function tR(t,e){return e.Hh(t.a)}function eR(t,e){Dv.call(this,i7t+t+u8t+e)}function nR(t,e,n,i){nY.call(this,t,e,n,i)}function iR(t,e,n,i){nY.call(this,t,e,n,i)}function rR(t,e,n,i){iR.call(this,t,e,n,i)}function aR(t,e,n,i){iY.call(this,t,e,n,i)}function oR(t,e,n,i){iY.call(this,t,e,n,i)}function sR(t,e,n,i){iY.call(this,t,e,n,i)}function cR(t,e,n,i){oR.call(this,t,e,n,i)}function uR(t,e,n,i){oR.call(this,t,e,n,i)}function lR(t,e,n,i){sR.call(this,t,e,n,i)}function hR(t,e,n,i){uR.call(this,t,e,n,i)}function fR(t,e,n,i){JG.call(this,t,e,n,i)}function dR(t,e,n){this.a=t,JN.call(this,e,n)}function gR(t,e,n){this.c=e,this.b=n,this.a=t}function pR(t,e,n){return t.d=zz(e.Kb(n),164)}function bR(t,e){return t.Aj().Nh().Kh(t,e)}function wR(t,e){return t.Aj().Nh().Ih(t,e)}function mR(t,e){return xW(t),UI(t)===UI(e)}function yR(t,e){return xW(t),UI(t)===UI(e)}function vR(t,e){return Xk(Tpt(t.a,e,!1))}function xR(t,e){return Xk(Cpt(t.a,e,!1))}function kR(t,e){return t.b.sd(new OT(t,e))}function _R(t,e){return t.b.sd(new LT(t,e))}function AR(t,e){return t.b.sd(new NT(t,e))}function ER(t,e,n){return t.lastIndexOf(e,n)}function TR(t,e,n){return Sft(t[e.b],t[n.b])}function CR(t,e){return hct(e,(HZt(),Fpe),t)}function SR(t,e){return _O(e.a.d.p,t.a.d.p)}function IR(t,e){return _O(t.a.d.p,e.a.d.p)}function MR(t,e){return Sft(t.c-t.s,e.c-e.s)}function DR(t){return t.c?_9(t.c.a,t,0):-1}function OR(t){return t<100?null:new $k(t)}function LR(t){return t==YSe||t==WSe||t==ZSe}function NR(t,e){return aL(e,15)&&VBt(t.c,e)}function PR(t,e){Xne||e&&(t.d=e)}function BR(t,e){return!!dut(t,e)}function FR(t,e){this.c=t,UY.call(this,t,e)}function RR(t){this.c=t,mM.call(this,gKt,0)}function jR(t,e){Qz.call(this,t,t.length,e)}function $R(t,e,n){return zz(t.c,69).lk(e,n)}function zR(t,e,n){return zz(t.c,69).mk(e,n)}function qR(t,e,n){return cB(t,zz(e,332),n)}function HR(t,e,n){return uB(t,zz(e,332),n)}function UR(t,e,n){return M_t(t,zz(e,332),n)}function GR(t,e,n){return VAt(t,zz(e,332),n)}function YR(t,e){return null==e?null:dht(t.b,e)}function ZR(t){return YI(t)?(xW(t),t):t.ke()}function WR(t){return!isNaN(t)&&!isFinite(t)}function KR(t){uj(),this.a=(TX(),new Dx(t))}function XR(t){lq(),this.d=t,this.a=new Lw}function VR(t,e,n){this.a=t,this.b=e,this.c=n}function QR(t,e,n){this.a=t,this.b=e,this.c=n}function JR(t,e,n){this.d=t,this.b=n,this.a=e}function tj(t){CO(this),vX(this),zrt(this,t)}function ej(t){PD(this),eq(this.c,0,t.Pc())}function nj(t){hW(t.a),G8(t.c,t.b),t.b=null}function ij(t){this.a=t,OA(),fot(Date.now())}function rj(){rj=M,iie=new r,rie=new r}function aj(){aj=M,Ane=new L,Ene=new N}function oj(){oj=M,gDe=P8(Ote,HWt,1,0,5,1)}function sj(){sj=M,EOe=P8(Ote,HWt,1,0,5,1)}function cj(){cj=M,TOe=P8(Ote,HWt,1,0,5,1)}function uj(){uj=M,new rm((TX(),TX(),lne))}function lj(t){return J7(),Stt((t9(),jne),t)}function hj(t){return Uut(),Stt((n8(),Jne),t)}function fj(t){return hwt(),Stt((I4(),wie),t)}function dj(t){return Ftt(),Stt((M4(),xie),t)}function gj(t){return nFt(),Stt((Bot(),$ie),t)}function pj(t){return Fet(),Stt((J6(),Wie),t)}function bj(t){return Q7(),Stt((t8(),ere),t)}function wj(t){return U9(),Stt((e8(),sre),t)}function mj(t){return bWt(),Stt((EM(),Dre),t)}function yj(t){return Fot(),Stt((n9(),jre),t)}function vj(t){return Hwt(),Stt((i9(),Gre),t)}function xj(t){return Uwt(),Stt((r9(),iae),t)}function kj(t){return gE(),Stt((X2(),oae),t)}function _j(t){return Rtt(),Stt((D4(),jae),t)}function Aj(t){return H9(),Stt((i8(),Loe),t)}function Ej(t){return xEt(),Stt((Ztt(),Hoe),t)}function Tj(t){return Ost(),Stt((e9(),rse),t)}function Cj(t){return qht(),Stt((r8(),bse),t)}function Sj(t,e){if(!t)throw qw(new jv(e))}function Ij(t){return cTt(),Stt((hnt(),Dse),t)}function Mj(t){sU.call(this,t.d,t.c,t.a,t.b)}function Dj(t){sU.call(this,t.d,t.c,t.a,t.b)}function Oj(t,e,n){this.b=t,this.c=e,this.a=n}function Lj(t,e,n){this.b=t,this.a=e,this.c=n}function Nj(t,e,n){this.a=t,this.b=e,this.c=n}function Pj(t,e,n){this.a=t,this.b=e,this.c=n}function Bj(t,e,n){this.a=t,this.b=e,this.c=n}function Fj(t,e,n){this.a=t,this.b=e,this.c=n}function Rj(t,e,n){this.b=t,this.a=e,this.c=n}function jj(t,e,n){this.e=e,this.b=t,this.d=n}function $j(t,e,n){return pE(),t.a.Od(e,n),e}function zj(t){var e;return(e=new xt).e=t,e}function qj(t){var e;return(e=new Jm).b=t,e}function Hj(){Hj=M,Yse=new Nn,Zse=new Pn}function Uj(){Uj=M,pue=new mr,bue=new yr}function Gj(t){return Mst(),Stt((o9(),cue),t)}function Yj(t){return Dst(),Stt((c9(),_ue),t)}function Zj(t){return kBt(),Stt((Gat(),Kue),t)}function Wj(t){return LCt(),Stt((gnt(),rle),t)}function Kj(t){return K8(),Stt((F4(),cle),t)}function Xj(t){return Dit(),Stt((a8(),dle),t)}function Vj(t){return N_t(),Stt((qtt(),Mue),t)}function Qj(t){return Irt(),Stt((c8(),jue),t)}function Jj(t){return cit(),Stt((o8(),mle),t)}function t$(t){return Xmt(),Stt(($tt(),Ele),t)}function e$(t){return jtt(),Stt((L4(),Ile),t)}function n$(t){return Jst(),Stt((s8(),Nle),t)}function i$(t){return wTt(),Stt((mnt(),qle),t)}function r$(t){return b9(),Stt((N4(),Yle),t)}function a$(t){return qkt(),Stt((bnt(),the),t)}function o$(t){return JEt(),Stt((pnt(),che),t)}function s$(t){return gBt(),Stt((Xst(),vhe),t)}function c$(t){return jot(),Stt((l8(),Ehe),t)}function u$(t){return G9(),Stt((u8(),Mhe),t)}function l$(t){return G2(),Stt((R4(),Nhe),t)}function h$(t){return Edt(),Stt((Htt(),Gfe),t)}function f$(t){return EAt(),Stt((wnt(),rme),t)}function d$(t){return Tlt(),Stt((h8(),ume),t)}function g$(t){return gmt(),Stt((u9(),pme),t)}function p$(t){return sit(),Stt((g8(),Yme),t)}function b$(t){return lNt(),Stt((Uat(),Ome),t)}function w$(t){return vct(),Stt((d8(),Fme),t)}function m$(t){return Y9(),Stt((B4(),zme),t)}function y$(t){return Hat(),Stt((f8(),Vme),t)}function v$(t){return Pmt(),Stt((ztt(),kme),t)}function x$(t){return D6(),Stt((P4(),eye),t)}function k$(t){return Zut(),Stt((b8(),oye),t)}function _$(t){return bat(),Stt((w8(),hye),t)}function A$(t){return Lst(),Stt((p8(),bye),t)}function E$(t){return uit(),Stt((m8(),Nye),t)}function T$(t){return X4(),Stt(($4(),Uye),t)}function C$(t){return bQ(),Stt((z4(),ive),t)}function S$(t){return cJ(),Stt((q4(),sve),t)}function I$(t){return M6(),Stt((j4(),Cve),t)}function M$(t){return pQ(),Stt((H4(),Bve),t)}function D$(t){return Yvt(),Stt((a9(),qve),t)}function O$(t){return FCt(),Stt((ynt(),Qve),t)}function L$(t){return uJ(),Stt((Y4(),$xe),t)}function N$(t){return Srt(),Stt((G4(),Jxe),t)}function P$(t){return z0(),Stt((U4(),Uxe),t)}function B$(t){return Idt(),Stt((y8(),rke),t)}function F$(t){return B7(),Stt((Z4(),cke),t)}function R$(t){return Hut(),Stt((v8(),dke),t)}function j$(t){return Dyt(),Stt((s9(),Gke),t)}function $$(t){return qat(),Stt((k8(),Xke),t)}function z$(t){return Cdt(),Stt((x8(),n_e),t)}function q$(t){return QLt(),Stt((Ytt(),z_e),t)}function H$(t){return Sdt(),Stt((_8(),Y_e),t)}function U$(t){return SE(),Stt((W2(),K_e),t)}function G$(t){return IE(),Stt((Z2(),Q_e),t)}function Y$(t){return O6(),Stt((K4(),nAe),t)}function Z$(t){return LTt(),Stt((Utt(),uAe),t)}function W$(t){return ME(),Stt((K2(),YAe),t)}function K$(t){return Nst(),Stt((W4(),XAe),t)}function X$(t){return awt(),Stt((Gtt(),dEe),t)}function V$(t){return SCt(),Stt((Yat(),_Ee),t)}function Q$(t){return pmt(),Stt((dnt(),PEe),t)}function J$(t){return p_t(),Stt((fnt(),eTe),t)}function tz(t){return dWt(),Stt((TM(),Jce),t)}function ez(t){return Crt(),Stt((O4(),Gse),t)}function nz(t){return zht(),Stt((Wtt(),UCe),t)}function iz(t){return Ret(),Stt((E8(),KCe),t)}function rz(t){return Tdt(),Stt((f9(),eSe),t)}function az(t){return eEt(),Stt((xnt(),uSe),t)}function oz(t){return cht(),Stt((A8(),xSe),t)}function sz(t){return Wvt(),Stt((h9(),CSe),t)}function cz(t){return eOt(),Stt((Pot(),RSe),t)}function uz(t){return owt(),Stt((Ktt(),GSe),t)}function lz(t){return V_t(),Stt((Het(),JSe),t)}function hz(t){return dIt(),Stt((vnt(),sIe),t)}function fz(t){return vpt(),Stt((g9(),zIe),t)}function dz(t){return ejt(),Stt((Vst(),QIe),t)}function gz(t){return kYt(),Stt((Xtt(),MIe),t)}function pz(t){return zgt(),Stt((d9(),rMe),t)}function bz(t){return qut(),Stt((l9(),hMe),t)}function wz(t){return hDt(),Stt((Zat(),aDe),t)}function mz(t,e){return xW(t),t+(xW(e),e)}function yz(t,e){return OA(),h7(XX(t.a),e)}function vz(t,e){return OA(),h7(XX(t.a),e)}function xz(t,e){this.c=t,this.a=e,this.b=e-t}function kz(t,e,n){this.a=t,this.b=e,this.c=n}function _z(t,e,n){this.a=t,this.b=e,this.c=n}function Az(t,e,n){this.a=t,this.b=e,this.c=n}function Ez(t,e,n){this.a=t,this.b=e,this.c=n}function Tz(t,e,n){this.a=t,this.b=e,this.c=n}function Cz(t,e,n){this.e=t,this.a=e,this.c=n}function Sz(t,e,n){hO(),yQ.call(this,t,e,n)}function Iz(t,e,n){hO(),rW.call(this,t,e,n)}function Mz(t,e,n){hO(),rW.call(this,t,e,n)}function Dz(t,e,n){hO(),rW.call(this,t,e,n)}function Oz(t,e,n){hO(),Iz.call(this,t,e,n)}function Lz(t,e,n){hO(),Iz.call(this,t,e,n)}function Nz(t,e,n){hO(),Lz.call(this,t,e,n)}function Pz(t,e,n){hO(),Mz.call(this,t,e,n)}function Bz(t,e,n){hO(),Dz.call(this,t,e,n)}function Fz(t,e){return vZ(t),vZ(e),new lA(t,e)}function Rz(t,e){return vZ(t),vZ(e),new jq(t,e)}function jz(t,e){return vZ(t),vZ(e),new $q(t,e)}function $z(t,e){return vZ(t),vZ(e),new fA(t,e)}function zz(t,e){return Qq(null==t||Vwt(t,e)),t}function qz(t){var e;return htt(e=new Nw,t),e}function Hz(t){var e;return htt(e=new Fm,t),e}function Uz(t){var e;return Urt(e=new Gm,t),e}function Gz(t){var e;return Urt(e=new VA,t),e}function Yz(t){return!t.e&&(t.e=new Nw),t.e}function Zz(t){return!t.c&&(t.c=new zc),t.c}function Wz(t,e){return t.c[t.c.length]=e,!0}function Kz(t,e){this.c=t,this.b=e,this.a=!1}function Xz(t){this.d=t,Ed(this),this.b=rG(t.d)}function Vz(){this.a=";,;",this.b="",this.c=""}function Qz(t,e,n){YG.call(this,e,n),this.a=t}function Jz(t,e,n){this.b=t,bM.call(this,e,n)}function tq(t,e,n){this.c=t,CT.call(this,e,n)}function eq(t,e,n){$St(n,0,t,e,n.length,!1)}function nq(t,e,n,i,r){t.b=e,t.c=n,t.d=i,t.a=r}function iq(t,e){e&&(t.b=e,t.a=(_W(e),e.a))}function rq(t,e,n,i,r){t.d=e,t.c=n,t.a=i,t.b=r}function aq(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e}function oq(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n}function sq(t){return cot(PY(QM(t)?Sot(t):t))}function cq(t,e){return _O(cH(t.d),cH(e.d))}function uq(t,e){return e==(kYt(),SIe)?t.c:t.d}function lq(){lq=M,kYt(),Fye=SIe,Rye=cIe}function hq(){this.b=Uv(EB(vwt((fFt(),ooe))))}function fq(t){return pE(),P8(Ote,HWt,1,t,5,1)}function dq(t){return new PS(t.c+t.b,t.d+t.a)}function gq(t,e){return TE(),_O(t.d.p,e.d.p)}function pq(t){return CP(0!=t.b),Oet(t,t.a.a)}function bq(t){return CP(0!=t.b),Oet(t,t.c.b)}function wq(t,e){if(!t)throw qw(new Ov(e))}function mq(t,e){if(!t)throw qw(new jv(e))}function yq(t,e,n){pC.call(this,t,e),this.b=n}function vq(t,e,n){LI.call(this,t,e),this.c=n}function xq(t,e,n){get.call(this,e,n),this.d=t}function kq(t){cj(),vc.call(this),this.th(t)}function _q(t,e,n){this.a=t,NM.call(this,e,n)}function Aq(t,e,n){this.a=t,NM.call(this,e,n)}function Eq(t,e,n){LI.call(this,t,e),this.c=n}function Tq(){F5(),cW.call(this,(WE(),GDe))}function Cq(t){return null!=t&&!Wdt(t,LDe,NDe)}function Sq(t,e){return(Kht(t)<<4|Kht(e))&VKt}function Iq(t,e){return tK(),Ymt(t,e),new UW(t,e)}function Mq(t,e){var n;t.n&&(n=e,Wz(t.f,n))}function Dq(t,e,n){ret(t,e,new UZ(n))}function Oq(t,e){var n;return n=t.c,jit(t,e),n}function Lq(t,e){return t.g=e<0?-1:e,t}function Nq(t,e){return Yet(t),t.a*=e,t.b*=e,t}function Pq(t,e,n,i,r){t.c=e,t.d=n,t.b=i,t.a=r}function Bq(t,e){return r5(t,e,t.c.b,t.c),!0}function Fq(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}function Rq(t){this.b=t,this.a=fG(this.b.a).Ed()}function jq(t,e){this.b=t,this.a=e,zl.call(this)}function $q(t,e){this.a=t,this.b=e,zl.call(this)}function zq(t,e){YG.call(this,e,1040),this.a=t}function qq(t){return 0==t||isNaN(t)?t:t<0?-1:1}function Hq(t){return EX(),SEt(t)==QQ(DEt(t))}function Uq(t){return EX(),DEt(t)==QQ(SEt(t))}function Gq(t,e){return Qkt(t,new pC(e.a,e.b))}function Yq(t){return!d5(t)&&t.c.i.c==t.d.i.c}function Zq(t){var e;return e=t.n,t.a.b+e.d+e.a}function Wq(t){var e;return e=t.n,t.e.b+e.d+e.a}function Kq(t){var e;return e=t.n,t.e.a+e.b+e.c}function Xq(t){return pWt(),new cU(0,t)}function Vq(t){return t.a?t.a:nX(t)}function Qq(t){if(!t)throw qw(new Rv(null))}function Jq(){Jq=M,TX(),sLe=new Ud(S9t)}function tH(){tH=M,new lmt((ev(),$te),(nv(),jte))}function eH(){eH=M,Mee=P8(Oee,lKt,19,256,0,1)}function nH(t,e,n,i){sgt.call(this,t,e,n,i,0,0)}function iH(t,e,n){return KW(t.b,zz(n.b,17),e)}function rH(t,e,n){return KW(t.b,zz(n.b,17),e)}function aH(t,e){return Wz(t,new PS(e.a,e.b))}function oH(t,e){return t.c<e.c?-1:t.c==e.c?0:1}function sH(t){return t.e.c.length+t.g.c.length}function cH(t){return t.e.c.length-t.g.c.length}function uH(t){return t.b.c.length-t.e.c.length}function lH(t){return zJ(),(kYt(),dIe).Hc(t.j)}function hH(t){cj(),kq.call(this,t),this.a=-1}function fH(t,e){PI.call(this,t,e),this.a=this}function dH(t,e){var n;return(n=yZ(t,e)).i=2,n}function gH(t,e){return++t.j,t.Ti(e)}function pH(t,e,n){return t.a=-1,WN(t,e.g,n),t}function bH(t,e,n){jGt(t.a,t.b,t.c,zz(e,202),n)}function wH(t,e){qit(t,null==e?null:(xW(e),e))}function mH(t,e){Rit(t,null==e?null:(xW(e),e))}function yH(t,e){Rit(t,null==e?null:(xW(e),e))}function vH(t,e,n){return new gR(pW(t).Ie(),n,e)}function xH(t,e,n,i,r,a){return Xkt(t,e,n,i,r,0,a)}function kH(){kH=M,_ee=P8(Eee,lKt,217,256,0,1)}function _H(){_H=M,Lee=P8(Ree,lKt,162,256,0,1)}function AH(){AH=M,jee=P8($ee,lKt,184,256,0,1)}function EH(){EH=M,Tee=P8(Cee,lKt,172,128,0,1)}function TH(){nq(this,!1,!1,!1,!1)}function CH(t){WZ(),this.a=(TX(),new Ud(vZ(t)))}function SH(t){for(vZ(t);t.Ob();)t.Pb(),t.Qb()}function IH(t){t.a.cd(),zz(t.a.dd(),14).gc(),gx()}function MH(t){this.c=t,this.b=this.c.d.vc().Kc()}function DH(t){this.c=t,this.a=new XA(this.c.a)}function OH(t){this.a=new ZA(t.gc()),zrt(this,t)}function LH(t){ng.call(this,new m4),zrt(this,t)}function NH(t,e){return t.a+=qpt(e,0,e.length),t}function PH(t,e){return f1(e,t.c.length),t.c[e]}function BH(t,e){return f1(e,t.a.length),t.a[e]}function FH(t,e){pE(),z8.call(this,t),this.a=e}function RH(t,e){return _bt(adt(_bt(t.a).a,e.a))}function jH(t,e){return xW(t),Pat(t,(xW(e),e))}function $H(t,e){return xW(e),Pat(e,(xW(t),t))}function zH(t,e){return OZ(e,0,qH(e[0],_bt(1)))}function qH(t,e){return RH(zz(t,162),zz(e,162))}function HH(t){return t.c-zz(PH(t.a,t.b),287).b}function UH(t){return t.q?t.q:(TX(),TX(),hne)}function GH(t){return t.e.Hd().gc()*t.c.Hd().gc()}function YH(t,e,n){return _O(e.d[t.g],n.d[t.g])}function ZH(t,e,n){return _O(t.d[e.p],t.d[n.p])}function WH(t,e,n){return _O(t.d[e.p],t.d[n.p])}function KH(t,e,n){return _O(t.d[e.p],t.d[n.p])}function XH(t,e,n){return _O(t.d[e.p],t.d[n.p])}function VH(t,e,i){return n.Math.min(i/t,1/e)}function QH(t,e){return t?0:n.Math.max(0,e-1)}function JH(t,e){var n;for(n=0;n<e;++n)t[n]=-1}function tU(t){var e;return(e=c_t(t))?tU(e):t}function eU(t,e){return null==t.a&&pFt(t),t.a[e]}function nU(t){return t.c?t.c.f:t.e.b}function iU(t){return t.c?t.c.g:t.e.a}function rU(t){wet.call(this,t.gc()),wZ(this,t)}function aU(t,e){hO(),kw.call(this,e),this.a=t}function oU(t,e,n){this.a=t,OL.call(this,e,n,2)}function sU(t,e,n,i){jl(this),rq(this,t,e,n,i)}function cU(t,e){pWt(),Dw.call(this,t),this.a=e}function uU(t){this.b=new VA,this.a=t,this.c=-1}function lU(){this.d=new PS(0,0),this.e=new Fm}function hU(t){JN.call(this,0,0),this.a=t,this.b=0}function fU(t){this.a=t,this.c=new Pw,act(this)}function dU(t){if(t.e.c!=t.b)throw qw(new mm)}function gU(t){if(t.c.e!=t.a)throw qw(new mm)}function pU(t){return QM(t)?0|t:A_(t)}function bU(t,e){return pWt(),new YY(t,e)}function wU(t,e){return null==t?null==e:yR(t,e)}function mU(t,e){return null==t?null==e:vbt(t,e)}function yU(t,e,n){return urt(t.a,e),_Y(t,e.g,n)}function vU(t,e,n){rlt(0,e,t.length),G7(t,0,e,n)}function xU(t,e,n){LJ(e,t.c.length),ET(t.c,e,n)}function kU(t,e,n){var i;for(i=0;i<e;++i)t[i]=n}function _U(t,e){var n;return Lct(n=edt(t),e),n}function AU(t,e){return!t&&(t=[]),t[t.length]=e,t}function EU(t,e){return!(void 0===t.a.get(e))}function TU(t,e){return Wit(new tt,new sg(t),e)}function CU(t){return null==t?Tne:new mv(xW(t))}function SU(t,e){return aL(e,22)&&TN(t,zz(e,22))}function IU(t,e){return aL(e,22)&&Let(t,zz(e,22))}function MU(t){return HOt(t,26)*aVt+HOt(t,27)*oVt}function DU(t){return Array.isArray(t)&&t.im===I}function OU(t){t.b?OU(t.b):t.d.dc()&&t.f.c.Bc(t.e)}function LU(t,e){YF(t.c,e),t.b.c+=e.a,t.b.d+=e.b}function NU(t,e){LU(t,ZF(new PS(e.a,e.b),t.c))}function PU(t,e){this.b=new VA,this.a=t,this.c=e}function BU(){this.b=new Ie,this.c=new fV(this)}function FU(){this.d=new mt,this.e=new hV(this)}function RU(){RJ(),this.f=new VA,this.e=new VA}function jU(){zJ(),this.k=new Pw,this.d=new Fm}function $U(){$U=M,dMe=new ZD((lWt(),oCe),0)}function zU(){zU=M,Ute=new hU(P8(Ote,HWt,1,0,5,1))}function qU(t,e,n){XDt(n,t,1),Wz(e,new aC(n,t))}function HU(t,e,n){zxt(n,t,1),Wz(e,new dC(n,t))}function UU(t,e,n){return AY(t,new PT(e.a,n.a))}function GU(t,e,n){return-_O(t.f[e.p],t.f[n.p])}function YU(t,e,n){var i;t&&((i=t.i).c=e,i.b=n)}function ZU(t,e,n){var i;t&&((i=t.i).d=e,i.a=n)}function WU(t,e,n){return t.a=-1,WN(t,e.g+1,n),t}function KU(t,e,n){return n=Ejt(t,zz(e,49),7,n)}function XU(t,e,n){return n=Ejt(t,zz(e,49),3,n)}function VU(t,e,n){this.a=t,LL.call(this,e,n,22)}function QU(t,e,n){this.a=t,LL.call(this,e,n,14)}function JU(t,e,n,i){hO(),N0.call(this,t,e,n,i)}function tG(t,e,n,i){hO(),N0.call(this,t,e,n,i)}function eG(t,e){0!=(e.Bb&h6t)&&!t.a.o&&(t.a.o=e)}function nG(t){return null!=t&&BY(t)&&!(t.im===I)}function iG(t){return!Array.isArray(t)&&t.im===I}function rG(t){return aL(t,15)?zz(t,15).Yc():t.Kc()}function aG(t){return t.Qc(P8(Ote,HWt,1,t.gc(),5,1))}function oG(t,e){return dbt($9(t,e))?e.Qh():null}function sG(t){t?zyt(t,(OA(),qee),""):OA()}function cG(t){this.a=(zU(),Ute),this.d=zz(vZ(t),47)}function uG(t,e,n,i){this.a=t,W6.call(this,t,e,n,i)}function lG(t){nT(),this.a=0,this.b=t-1,this.c=1}function hG(t){KO(this),this.g=t,kX(this),this._d()}function fG(t){return t.c?t.c:t.c=t.Id()}function dG(t){return t.d?t.d:t.d=t.Jd()}function gG(t){return t.c||(t.c=t.Dd())}function pG(t){return t.f||(t.f=t.Dc())}function bG(t){return t.i||(t.i=t.bc())}function wG(t){return pWt(),new mQ(10,t,0)}function mG(t){return QM(t)?""+t:GBt(t)}function yG(t){if(t.e.j!=t.d)throw qw(new mm)}function vG(t,e){return cot(dTt(QM(t)?Sot(t):t,e))}function xG(t,e){return cot(_Dt(QM(t)?Sot(t):t,e))}function kG(t,e){return cot(JTt(QM(t)?Sot(t):t,e))}function _G(t,e){return dF((xW(t),t),(xW(e),e))}function AG(t,e){return Sft((xW(t),t),(xW(e),e))}function EG(t,e){return vZ(e),t.a.Ad(e)&&!t.b.Ad(e)}function TG(t,e){return EO(t.l&e.l,t.m&e.m,t.h&e.h)}function CG(t,e){return EO(t.l|e.l,t.m|e.m,t.h|e.h)}function SG(t,e){return EO(t.l^e.l,t.m^e.m,t.h^e.h)}function IG(t,e){return Lht(t,(xW(e),new rg(e)))}function MG(t,e){return Lht(t,(xW(e),new ag(e)))}function DG(t){return wat(),0!=zz(t,11).e.c.length}function OG(t){return wat(),0!=zz(t,11).g.c.length}function LG(t,e){return Mrt(),Sft(e.a.o.a,t.a.o.a)}function NG(t,e,n){return EYt(t,zz(e,11),zz(n,11))}function PG(t){return t.e?B6(t.e):null}function BG(t){t.d||(t.d=t.b.Kc(),t.c=t.b.gc())}function FG(t,e,n){t.a.Mb(n)&&(t.b=!0,e.td(n))}function RG(t,e){if(t<0||t>=e)throw qw(new Tm)}function jG(t,e,n){return OZ(e,0,qH(e[0],n[0])),e}function $G(t,e,n){e.Ye(n,Uv(EB(FZ(t.b,n)))*t.a)}function zG(t,e,n){return _Bt(),Fat(t,e)&&Fat(t,n)}function qG(t){return dIt(),!t.Hc(nIe)&&!t.Hc(rIe)}function HG(t){return new PS(t.c+t.b/2,t.d+t.a/2)}function UG(t,e){return e.kh()?nht(t.b,zz(e,49)):e}function GG(t,e){this.e=t,this.d=0!=(64&e)?e|hKt:e}function YG(t,e){this.c=0,this.d=t,this.b=64|e|hKt}function ZG(t){this.b=new Q6(11),this.a=(CX(),t)}function WG(t){this.b=null,this.a=(CX(),t||gne)}function KG(t){this.a=amt(t.a),this.b=new ej(t.b)}function XG(t){this.b=t,aP.call(this,t),EL(this)}function VG(t){this.b=t,sP.call(this,t),TL(this)}function QG(t,e,n){this.a=t,nR.call(this,e,n,5,6)}function JG(t,e,n,i){this.b=t,OL.call(this,e,n,i)}function tY(t,e,n,i,r){x7.call(this,t,e,n,i,r,-1)}function eY(t,e,n,i,r){k7.call(this,t,e,n,i,r,-1)}function nY(t,e,n,i){OL.call(this,t,e,n),this.b=i}function iY(t,e,n,i){vq.call(this,t,e,n),this.b=i}function rY(t){NI.call(this,t,!1),this.a=!1}function aY(t,e){this.b=t,lf.call(this,t.b),this.a=e}function oY(t,e){WZ(),kA.call(this,t,lht(new Qv(e)))}function sY(t,e){return pWt(),new aW(t,e,0)}function cY(t,e){return pWt(),new aW(6,t,e)}function uY(t,e){return yR(t.substr(0,e.length),e)}function lY(t,e){return ZI(e)?nV(t,e):!!DV(t.f,e)}function hY(t,e){for(xW(e);t.Ob();)e.td(t.Pb())}function fY(t,e,n){DBt(),this.e=t,this.d=e,this.a=n}function dY(t,e,n,i){var r;(r=t.i).i=e,r.a=n,r.b=i}function gY(t){var e;for(e=t;e.f;)e=e.f;return e}function pY(t){var e;return CP(null!=(e=Act(t))),e}function bY(t){var e;return CP(null!=(e=vft(t))),e}function wY(t,e){var n;return g6(e,n=t.a.gc()),n-e}function mY(t,e){var n;for(n=0;n<e;++n)t[n]=!1}function yY(t,e,n,i){var r;for(r=e;r<n;++r)t[r]=i}function vY(t,e,n,i){rlt(e,n,t.length),yY(t,e,n,i)}function xY(t,e,n){RG(n,t.a.c.length),a5(t.a,n,e)}function kY(t,e,n){this.c=t,this.a=e,TX(),this.b=n}function _Y(t,e,n){var i;return i=t.b[e],t.b[e]=n,i}function AY(t,e){return null==t.a.zc(e,t)}function EY(t){if(!t)throw qw(new vm);return t.d}function TY(t,e){if(null==t)throw qw(new qv(e))}function CY(t,e){return!!e&&zrt(t,e)}function SY(t,e,n){return ilt(t,e.g,n),urt(t.c,e),t}function IY(t){return TGt(t,(zht(),jCe)),t.d=!0,t}function MY(t){return!t.j&&vd(t,zRt(t.g,t.b)),t.j}function DY(t){EP(-1!=t.b),u6(t.c,t.a=t.b),t.b=-1}function OY(t){t.f=new nD(t),t.g=new iD(t),cV(t)}function LY(t){return new FH(null,HY(t,t.length))}function NY(t){return new cG(new WL(t.a.length,t.a))}function PY(t){return EO(~t.l&CXt,~t.m&CXt,~t.h&SXt)}function BY(t){return typeof t===OWt||typeof t===BWt}function FY(t){return t==RXt?B9t:t==jXt?"-INF":""+t}function RY(t){return t==RXt?B9t:t==jXt?"-INF":""+t}function jY(t,e){return t>0?n.Math.log(t/e):-100}function $Y(t,e){return Xlt(t,e)<0?-1:Xlt(t,e)>0?1:0}function zY(t,e,n){return Cqt(t,zz(e,46),zz(n,167))}function qY(t,e){return zz(gG(fG(t.a)).Xb(e),42).cd()}function HY(t,e){return met(e,t.length),new zq(t,e)}function UY(t,e){this.d=t,DL.call(this,t),this.e=e}function GY(t){this.d=(xW(t),t),this.a=0,this.c=gKt}function YY(t,e){Dw.call(this,1),this.a=t,this.b=e}function ZY(t,e){return t.c?ZY(t.c,e):Wz(t.b,e),t}function WY(t,e,n){var i;return i=ptt(t,e),r4(t,e,n),i}function KY(t,e){return y9(t.slice(0,e),t)}function XY(t,e,n){var i;for(i=0;i<e;++i)OZ(t,i,n)}function VY(t,e,n,i,r){for(;e<n;)i[r++]=hK(t,e++)}function QY(t,e){return Sft(t.c.c+t.c.b,e.c.c+e.c.b)}function JY(t,e){return null==Tct(t.a,e,(lN(),mee))}function tZ(t,e){r5(t.d,e,t.b.b,t.b),++t.a,t.c=null}function eZ(t,e){QO(t,aL(e,153)?e:zz(e,1937).gl())}function nZ(t,e){QA(OK(t.Oc(),new Vr),new Ip(e))}function iZ(t,e,n,i,r){P_t(t,zz(l6(e.k,n),15),n,i,r)}function rZ(t){t.s=NaN,t.c=NaN,tDt(t,t.e),tDt(t,t.j)}function aZ(t){t.a=null,t.e=null,OY(t.b),t.d=0,++t.c}function oZ(t){return n.Math.abs(t.d.e-t.e.e)-t.a}function sZ(t,e,n){return zz(t.c._c(e,zz(n,133)),42)}function cZ(){return rv(),Sst(Ux(Kte,1),LKt,538,0,[Yte])}function uZ(t){return EX(),QQ(SEt(t))==QQ(DEt(t))}function lZ(t){OF.call(this),this.a=t,Wz(t.a,this)}function hZ(t,e){this.d=Cft(t),this.c=e,this.a=.5*e}function fZ(){m4.call(this),this.a=!0,this.b=!0}function dZ(t){return(null==t.i&&U$t(t),t.i).length}function gZ(t){return aL(t,99)&&0!=(zz(t,18).Bb&h6t)}function pZ(t,e){++t.j,lAt(t,t.i,e),YIt(t,zz(e,332))}function bZ(t,e){return e=t.nk(null,e),LAt(t,null,e)}function wZ(t,e){return t.hi()&&(e=tJ(t,e)),t.Wh(e)}function mZ(t,e,n){var i;return Vnt(n,i=yZ(t,e)),i}function yZ(t,e){var n;return(n=new mct).j=t,n.d=e,n}function vZ(t){if(null==t)throw qw(new bm);return t}function xZ(t){return t.j||(t.j=new gf(t))}function kZ(t){return t.f||(t.f=new YL(t))}function _Z(t){return t.k||(t.k=new Xh(t))}function AZ(t){return t.k||(t.k=new Xh(t))}function EZ(t){return t.g||(t.g=new Kh(t))}function TZ(t){return t.i||(t.i=new Jh(t))}function CZ(t){return t.d||(t.d=new nf(t))}function SZ(t){return vZ(t),aL(t,475)?zz(t,475):qdt(t)}function IZ(t){return aL(t,607)?t:new dQ(t)}function MZ(t,e){return g2(e,t.c.b.c.gc()),new uA(t,e)}function DZ(t,e,n){return pWt(),new A0(t,e,n)}function OZ(t,e,n){return TP(null==n||Vjt(t,n)),t[e]=n}function LZ(t,e){var n;return g2(e,n=t.a.gc()),n-1-e}function NZ(t,e){return t.a+=String.fromCharCode(e),t}function PZ(t,e){return t.a+=String.fromCharCode(e),t}function BZ(t,e){for(xW(e);t.c<t.d;)t.ze(e,t.c++)}function FZ(t,e){return ZI(e)?TQ(t,e):HI(DV(t.f,e))}function RZ(t,e){return EX(),t==SEt(e)?DEt(e):SEt(e)}function jZ(t,e){tW(t,new UZ(null!=e.f?e.f:""+e.g))}function $Z(t,e){tW(t,new UZ(null!=e.f?e.f:""+e.g))}function zZ(t){this.b=new Nw,this.a=new Nw,this.c=t}function qZ(t){this.c=new Uk,this.a=new Nw,this.b=t}function HZ(t){OF.call(this),this.a=new Uk,this.c=t}function UZ(t){if(null==t)throw qw(new bm);this.a=t}function GZ(t){Em(),this.b=new Nw,this.a=t,yUt(this,t)}function YZ(t){this.c=t,this.a=new VA,this.b=new VA}function ZZ(){ZZ=M,uee=new Ef(!1),lee=new Ef(!0)}function WZ(){WZ=M,uj(),zte=new TV((TX(),TX(),lne))}function KZ(){KZ=M,uj(),Xte=new mT((TX(),TX(),fne))}function XZ(){XZ=M,eOe=GIt(),wWt(),iOe&&Rxt()}function VZ(t,e){return Mrt(),zz(cK(t,e.d),15).Fc(e)}function QZ(t,e,n,i){return 0==n||(n-i)/n<t.e||e>=t.g}function JZ(t,e,n){return PFt(t,xrt(t,e,n))}function tW(t,e){var n;ptt(t,n=t.a.length),r4(t,n,e)}function eW(t,e){console[t].call(console,e)}function nW(t,e){var n;++t.j,n=t.Vi(),t.Ii(t.oi(n,e))}function iW(t,e,n){zz(e.b,65),Det(e.a,new _z(t,n,e))}function rW(t,e,n){kw.call(this,e),this.a=t,this.b=n}function aW(t,e,n){Dw.call(this,t),this.a=e,this.b=n}function oW(t,e,n){this.a=t,xw.call(this,e),this.b=n}function sW(t,e,n){this.a=t,q2.call(this,8,e,null,n)}function cW(t){this.a=(xW($7t),$7t),this.b=t,new Ny}function uW(t){this.c=t,this.b=this.c.a,this.a=this.c.e}function lW(t){this.c=t,this.b=t.a.d.a,dB(t.a.e,this)}function hW(t){EP(-1!=t.c),t.d.$c(t.c),t.b=t.c,t.c=-1}function fW(t){return n.Math.sqrt(t.a*t.a+t.b*t.b)}function dW(t,e){return RG(e,t.a.c.length),PH(t.a,e)}function gW(t,e){return UI(t)===UI(e)||null!=t&&Pht(t,e)}function pW(t){return 0>=t?new KA:Kit(t-1)}function bW(t){return!!TNe&&nV(TNe,t)}function wW(t){return t?t.dc():!t.Kc().Ob()}function mW(t){return!t.a&&t.c?t.c.b:t.a}function yW(t){return!t.a&&(t.a=new OL(LMe,t,4)),t.a}function vW(t){return!t.d&&(t.d=new OL(KDe,t,1)),t.d}function xW(t){if(null==t)throw qw(new bm);return t}function kW(t){t.c?t.c.He():(t.d=!0,VNt(t))}function _W(t){t.c?_W(t.c):(Vft(t),t.d=!0)}function AW(t){AK(t.a),t.b=P8(Ote,HWt,1,t.b.length,5,1)}function EW(t,e){return _O(e.j.c.length,t.j.c.length)}function TW(t,e){t.c<0||t.b.b<t.c?hM(t.b,e):t.a._e(e)}function CW(t,e){var n;(n=t.Yg(e))>=0?t.Bh(n):oIt(t,e)}function SW(t){return t.c.i.c==t.d.i.c}function IW(t){if(4!=t.p)throw qw(new pm);return t.e}function MW(t){if(3!=t.p)throw qw(new pm);return t.e}function DW(t){if(6!=t.p)throw qw(new pm);return t.f}function OW(t){if(6!=t.p)throw qw(new pm);return t.k}function LW(t){if(3!=t.p)throw qw(new pm);return t.j}function NW(t){if(4!=t.p)throw qw(new pm);return t.j}function PW(t){return!t.b&&(t.b=new Aw(new Py)),t.b}function BW(t){return-2==t.c&&bd(t,cEt(t.g,t.b)),t.c}function FW(t,e){var n;return(n=yZ("",t)).n=e,n.i=1,n}function RW(t,e){LU(zz(e.b,65),t),Det(e.a,new Dg(t))}function jW(t,e){h7((!t.a&&(t.a=new cF(t,t)),t.a),e)}function $W(t,e){this.b=t,UY.call(this,t,e),EL(this)}function zW(t,e){this.b=t,FR.call(this,t,e),TL(this)}function qW(t,e,n,i){mA.call(this,t,e),this.d=n,this.a=i}function HW(t,e,n,i){mA.call(this,t,n),this.a=e,this.f=i}function UW(t,e){WO.call(this,Xit(vZ(t),vZ(e))),this.a=e}function GW(){bEt.call(this,C9t,(r_(),pLe)),KHt(this)}function YW(){bEt.call(this,X7t,(i_(),tOe)),Dqt(this)}function ZW(){bA.call(this,"DELAUNAY_TRIANGULATION",0)}function WW(t){return String.fromCharCode.apply(null,t)}function KW(t,e,n){return ZI(e)?yJ(t,e,n):_St(t.f,e,n)}function XW(t){return TX(),t?t.ve():(CX(),CX(),bne)}function VW(t,e,n){return Pst(),n.pg(t,zz(e.cd(),146))}function QW(t,e){return tH(),new lmt(new rN(t),new iN(e))}function JW(t){return dit(t,PKt),eet(adt(adt(5,t),t/10|0))}function tK(){tK=M,qte=new lv(Sst(Ux(Hte,1),kKt,42,0,[]))}function eK(t){return!t.d&&(t.d=new qd(t.c.Cc())),t.d}function nK(t){return!t.a&&(t.a=new Lx(t.c.vc())),t.a}function iK(t){return!t.b&&(t.b=new Dx(t.c.ec())),t.b}function rK(t,e){for(;e-- >0;)t=t<<1|(t<0?1:0);return t}function aK(t,e){return UI(t)===UI(e)||null!=t&&Pht(t,e)}function oK(t,e){return lN(),zz(e.b,19).a<t}function sK(t,e){return lN(),zz(e.a,19).a<t}function cK(t,e){return SU(t.a,e)?t.b[zz(e,22).g]:null}function uK(t,e,n,i){t.a=hP(t.a,0,e)+""+i+tM(t.a,n)}function lK(t,e){t.u.Hc((dIt(),nIe))&&SIt(t,e),G6(t,e)}function hK(t,e){return d1(e,t.length),t.charCodeAt(e)}function fK(){pv.call(this,"There is no more element.")}function dK(t){this.d=t,this.a=this.d.b,this.b=this.d.c}function gK(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1}function pK(t,e,n,i){return Rat(t,e,n,!1),tft(t,i),t}function bK(t){return t.j.c=P8(Ote,HWt,1,0,5,1),t.a=-1,t}function wK(t){return!t.c&&(t.c=new lR(RMe,t,5,8)),t.c}function mK(t){return!t.b&&(t.b=new lR(RMe,t,4,7)),t.b}function yK(t){return!t.n&&(t.n=new nY(GMe,t,1,7)),t.n}function vK(t){return!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c}function xK(t){return t.e==I9t&&md(t,Ebt(t.g,t.b)),t.e}function kK(t){return t.f==I9t&&yd(t,mxt(t.g,t.b)),t.f}function _K(t){var e;return!(e=t.b)&&(t.b=e=new Vh(t)),e}function AK(t){var e;for(e=t.Kc();e.Ob();)e.Pb(),e.Qb()}function EK(t){if(Ydt(t.d),t.d.d!=t.c)throw qw(new mm)}function TK(t,e){this.b=t,this.c=e,this.a=new XA(this.b)}function CK(t,e,n){this.a=WKt,this.d=t,this.b=e,this.c=n}function SK(t,e){this.d=(xW(t),t),this.a=16449,this.c=e}function IK(t,e){Jft(t,Uv(Rnt(e,"x")),Uv(Rnt(e,"y")))}function MK(t,e){Jft(t,Uv(Rnt(e,"x")),Uv(Rnt(e,"y")))}function DK(t,e){return Vft(t),new FH(t,new X7(e,t.a))}function OK(t,e){return Vft(t),new FH(t,new E6(e,t.a))}function LK(t,e){return Vft(t),new DB(t,new _6(e,t.a))}function NK(t,e){return Vft(t),new OB(t,new A6(e,t.a))}function PK(t,e){return new wV(zz(vZ(t),62),zz(vZ(e),62))}function BK(t,e){return kE(),Sft((xW(t),t),(xW(e),e))}function FK(){return gE(),Sst(Ux(Cae,1),LKt,481,0,[rae])}function RK(){return SE(),Sst(Ux(V_e,1),LKt,482,0,[Z_e])}function jK(){return IE(),Sst(Ux(eAe,1),LKt,551,0,[X_e])}function $K(){return ME(),Sst(Ux(KAe,1),LKt,530,0,[UAe])}function zK(t){this.a=new Nw,this.e=P8(DNe,lKt,48,t,0,2)}function qK(t,e,n,i){this.a=t,this.e=e,this.d=n,this.c=i}function HK(t,e,n,i){this.a=t,this.c=e,this.b=n,this.d=i}function UK(t,e,n,i){this.c=t,this.b=e,this.a=n,this.d=i}function GK(t,e,n,i){this.c=t,this.b=e,this.d=n,this.a=i}function YK(t,e,n,i){this.c=t,this.d=e,this.b=n,this.a=i}function ZK(t,e,n,i){this.a=t,this.d=e,this.c=n,this.b=i}function WK(t,e,n,i){bA.call(this,t,e),this.a=n,this.b=i}function KK(t,e,n,i){this.a=t,this.c=e,this.d=n,this.b=i}function XK(t,e,n){Aqt(t.a,n),est(n),ODt(t.b,n),aHt(e,n)}function VK(t,e,n){var i;return i=LYt(t),e.Kh(n,i)}function QK(t,e){var n,i;return(n=t/e)>(i=SQ(n))&&++i,i}function JK(t){var e;return ont(e=new Rw,t),e}function tX(t){var e;return FEt(e=new Rw,t),e}function eX(t,e){return jat(e,FZ(t.f,e)),null}function nX(t){return Qit(t)||null}function iX(t){return!t.b&&(t.b=new nY(jMe,t,12,3)),t.b}function rX(t){return null!=t&&PA(kDe,t.toLowerCase())}function aX(t,e){return Sft(iU(t)*nU(t),iU(e)*nU(e))}function oX(t,e){return Sft(iU(t)*nU(t),iU(e)*nU(e))}function sX(t,e){return Sft(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}function cX(t,e){return Sft(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}function uX(t,e,n){n.a?Int(t,e.b-t.f/2):Snt(t,e.a-t.g/2)}function lX(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i}function hX(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i}function fX(t,e,n,i){this.e=t,this.a=e,this.c=n,this.d=i}function dX(t,e,n,i){this.a=t,this.c=e,this.d=n,this.b=i}function gX(t,e,n,i){hO(),n6.call(this,e,n,i),this.a=t}function pX(t,e,n,i){hO(),n6.call(this,e,n,i),this.a=t}function bX(t,e){this.a=t,MB.call(this,t,zz(t.d,15).Zc(e))}function wX(t){this.f=t,this.c=this.f.e,t.f>0&&ckt(this)}function mX(t,e,n,i){this.b=t,this.c=i,mM.call(this,e,n)}function yX(t){return CP(t.b<t.d.gc()),t.d.Xb(t.c=t.b++)}function vX(t){t.a.a=t.c,t.c.b=t.a,t.a.b=t.c.a=null,t.b=0}function xX(t,e){return t.b=e.b,t.c=e.c,t.d=e.d,t.a=e.a,t}function kX(t){return t.n&&(t.e!==zKt&&t._d(),t.j=null),t}function _X(t){return Qq(null==t||BY(t)&&!(t.im===I)),t}function AX(t){this.b=new Nw,wst(this.b,this.b),this.a=t}function EX(){EX=M,Tae=new Nw,Eae=new Pw,Aae=new Nw}function TX(){TX=M,lne=new T,hne=new S,fne=new E}function CX(){CX=M,gne=new F,pne=new F,bne=new R}function SX(){SX=M,lie=new pt,fie=new FU,hie=new bt}function IX(){256==oie&&(iie=rie,rie=new r,oie=0),++oie}function MX(t){return t.f||(t.f=new wA(t,t.c))}function DX(t){return VIt(t)&&Hv(AB(tOt(t,(HZt(),pbe))))}function OX(t,e){return JIt(t,zz(vEt(e,(HZt(),Wbe)),19),e)}function LX(t,e){return Eht(t.j,e.s,e.c)+Eht(e.e,t.s,t.c)}function NX(t,e){t.e&&!t.e.a&&($w(t.e,e),NX(t.e,e))}function PX(t,e){t.d&&!t.d.a&&($w(t.d,e),PX(t.d,e))}function BX(t,e){return-Sft(iU(t)*nU(t),iU(e)*nU(e))}function FX(t){return zz(t.cd(),146).tg()+":"+qdt(t.dd())}function RX(t){var e;Uj(),(e=zz(t.g,10)).n.a=t.d.c+e.d.b}function jX(t,e,n){return EE(),Bdt(zz(FZ(t.e,e),522),n)}function $X(t,e){return nut(t),nut(e),Cv(zz(t,22),zz(e,22))}function zX(t,e,n){t.i=0,t.e=0,e!=n&&Wct(t,e,n)}function qX(t,e,n){t.i=0,t.e=0,e!=n&&Kct(t,e,n)}function HX(t,e,n){ret(t,e,new Tf(ZR(n)))}function UX(t,e,n,i,r,a){k7.call(this,t,e,n,i,r,a?-2:-1)}function GX(t,e,n,i){LI.call(this,e,n),this.b=t,this.a=i}function YX(t,e){new VA,this.a=new xy,this.b=t,this.c=e}function ZX(t,e){return zz(vEt(t,(hWt(),afe)),15).Fc(e),e}function WX(t,e){if(null==t)throw qw(new qv(e));return t}function KX(t){return!t.q&&(t.q=new nY(XDe,t,11,10)),t.q}function XX(t){return!t.s&&(t.s=new nY($De,t,21,17)),t.s}function VX(t){return!t.a&&(t.a=new nY(YMe,t,10,11)),t.a}function QX(t){return aL(t,14)?new OH(zz(t,14)):Hz(t.Kc())}function JX(t){return new HL(t,t.e.Hd().gc()*t.c.Hd().gc())}function tV(t){return new UL(t,t.e.Hd().gc()*t.c.Hd().gc())}function eV(t){return t&&t.hashCode?t.hashCode():CN(t)}function nV(t,e){return null==e?!!DV(t.f,null):EU(t.g,e)}function iV(t){return vZ(t),iyt(new cG(JL(t.a.Kc(),new l)))}function rV(t){return TX(),aL(t,54)?new Ox(t):new dN(t)}function aV(t,e,n){return!!t.f&&t.f.Ne(e,n)}function oV(t,e){return t.a=hP(t.a,0,e)+""+tM(t.a,e+1),t}function sV(t,e){var n;return(n=nL(t.a,e))&&(e.d=null),n}function cV(t){var e,n;e=0|(n=t).$modCount,n.$modCount=e+1}function uV(t){this.b=t,this.c=t,t.e=null,t.c=null,this.a=1}function lV(t){this.b=t,this.a=new p_(zz(vZ(new te),62))}function hV(t){this.c=t,this.b=new p_(zz(vZ(new wt),62))}function fV(t){this.c=t,this.b=new p_(zz(vZ(new Se),62))}function dV(){this.a=new Xm,this.b=new ly,this.d=new Pe}function gV(){this.a=new xy,this.b=(dit(3,OKt),new Q6(3))}function pV(){this.b=new Fm,this.d=new VA,this.e=new cy}function bV(t){this.c=t.c,this.d=t.d,this.b=t.b,this.a=t.a}function wV(t,e){Gy.call(this,new WG(t)),this.a=t,this.b=e}function mV(){rTt(this,new Bh),this.wb=(XZ(),eOe),i_()}function yV(t){DAt(t,"No crossing minimization",1),HTt(t)}function vV(t){Bx(),n.setTimeout((function(){throw t}),0)}function xV(t){return t.u||(C5(t),t.u=new sF(t,t)),t.u}function kV(t){return zz(xot(t,16),26)||t.zh()}function _V(t,e){return aL(e,146)&&yR(t.b,zz(e,146).tg())}function AV(t,e){return t.a?e.Wg().Kc():zz(e.Wg(),69).Zh()}function EV(t){return t.k==(cTt(),Sse)&&LP(t,(hWt(),Ghe))}function TV(t){this.a=(TX(),aL(t,54)?new Ox(t):new dN(t))}function CV(){var t,e;CV=M,e=!Fpt(),t=new p,iee=e?new _:t}function SV(t,e){var n;return n=t_(t.gm),null==e?n:n+": "+e}function IV(t,e){var n;return k4(n=t.b.Qc(e),t.b.gc()),n}function MV(t,e){if(null==t)throw qw(new qv(e));return t}function DV(t,e){return hlt(t,e,wJ(t,null==e?0:t.b.se(e)))}function OV(t,e,n){return n>=0&&yR(t.substr(n,e.length),e)}function LV(t,e,n,i,r,a,o){return new d4(t.e,e,n,i,r,a,o)}function NV(t,e,n,i,r,a){this.a=t,kit.call(this,e,n,i,r,a)}function PV(t,e,n,i,r,a){this.a=t,kit.call(this,e,n,i,r,a)}function BV(t,e){this.g=t,this.d=Sst(Ux(Mse,1),s1t,10,0,[e])}function FV(t,e){this.e=t,this.a=Ote,this.b=OFt(e),this.c=e}function RV(t,e){NF.call(this),Bet(this),this.a=t,this.c=e}function jV(t,e,n,i){OZ(t.c[e.g],n.g,i),OZ(t.c[n.g],e.g,i)}function $V(t,e,n,i){OZ(t.c[e.g],e.g,n),OZ(t.b[e.g],e.g,i)}function zV(){return D6(),Sst(Ux(aye,1),LKt,376,0,[Jme,Qme])}function qV(){return b9(),Sst(Ux(Jle,1),LKt,479,0,[Ule,Hle])}function HV(){return jtt(),Sst(Ux(Lle,1),LKt,419,0,[Tle,Cle])}function UV(){return K8(),Sst(Ux(fle,1),LKt,422,0,[ale,ole])}function GV(){return G2(),Sst(Ux(Ufe,1),LKt,420,0,[Dhe,Ohe])}function YV(){return Y9(),Sst(Ux(Gme,1),LKt,421,0,[Rme,jme])}function ZV(){return X4(),Sst(Ux(Kye,1),LKt,523,0,[qye,zye])}function WV(){return M6(),Sst(Ux(Pve,1),LKt,520,0,[Eve,Ave])}function KV(){return bQ(),Sst(Ux(ove,1),LKt,516,0,[eve,tve])}function XV(){return cJ(),Sst(Ux(Tve,1),LKt,515,0,[rve,ave])}function VV(){return pQ(),Sst(Ux(zve,1),LKt,455,0,[Lve,Nve])}function QV(){return z0(),Sst(Ux(Qxe,1),LKt,425,0,[qxe,zxe])}function JV(){return uJ(),Sst(Ux(Hxe,1),LKt,480,0,[Fxe,Rxe])}function tQ(){return Srt(),Sst(Ux(ike,1),LKt,495,0,[Xxe,Vxe])}function eQ(){return B7(),Sst(Ux(fke,1),LKt,426,0,[ake,oke])}function nQ(){return Nst(),Sst(Ux(VAe,1),LKt,429,0,[WAe,ZAe])}function iQ(){return O6(),Sst(Ux(cAe,1),LKt,430,0,[tAe,J_e])}function rQ(){return hwt(),Sst(Ux(vie,1),LKt,428,0,[pie,gie])}function aQ(){return Ftt(),Sst(Ux(Rie,1),LKt,427,0,[mie,yie])}function oQ(){return Rtt(),Sst(Ux(Ooe,1),LKt,424,0,[Bae,Fae])}function sQ(){return Crt(),Sst(Ux(Wse,1),LKt,511,0,[Hse,qse])}function cQ(t,e,n,i){return n>=0?t.jh(e,n,i):t.Sg(null,n,i)}function uQ(t){return 0==t.b.b?t.a.$e():pq(t.b)}function lQ(t){if(5!=t.p)throw qw(new pm);return pU(t.f)}function hQ(t){if(5!=t.p)throw qw(new pm);return pU(t.k)}function fQ(t){return UI(t.a)===UI((pat(),IOe))&&RHt(t),t.a}function dQ(t){this.a=zz(vZ(t),271),this.b=(TX(),new pN(t))}function gQ(t,e){Jf(this,new PS(t.a,t.b)),td(this,Gz(e))}function pQ(){pQ=M,Lve=new cS(oQt,0),Nve=new cS(sQt,1)}function bQ(){bQ=M,eve=new aS(sQt,0),tve=new aS(oQt,1)}function wQ(){ov.call(this,new ZA(net(12))),oN(!0),this.a=2}function mQ(t,e,n){pWt(),Dw.call(this,t),this.b=e,this.a=n}function yQ(t,e,n){hO(),kw.call(this,e),this.a=t,this.b=n}function vQ(t){NF.call(this),Bet(this),this.a=t,this.c=!0}function xQ(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t}function kQ(t){mit(t.a),FD(t.a),ngt(new Cg(t.a))}function _Q(t,e){uFt(t,!0),Det(t.e.wf(),new Oj(t,!0,e))}function AQ(t,e){return a4(e),Qnt(t,P8(DNe,hXt,25,e,15,1),e)}function EQ(t,e){return EX(),t==QQ(SEt(e))||t==QQ(DEt(e))}function TQ(t,e){return null==e?HI(DV(t.f,null)):lT(t.g,e)}function CQ(t){return 0==t.b?null:(CP(0!=t.b),Oet(t,t.a.a))}function SQ(t){return 0|Math.max(Math.min(t,FWt),-2147483648)}function IQ(t,e){var n=tee[t.charCodeAt(0)];return null==n?t:n}function MQ(t,e){return WX(t,"set1"),WX(e,"set2"),new _A(t,e)}function DQ(t,e){return YF(HP(ent(t.f,e)),t.f.d)}function OQ(t,e){var n;return QUt(t,e,n=new H),n.d}function LQ(t,e,n,i){var r;r=new $F,e.a[n.g]=r,yU(t.b,i,r)}function NQ(t,e,n){var i;(i=t.Yg(e))>=0?t.sh(i,n):ELt(t,e,n)}function PQ(t,e,n){lJ(),t&&KW(hDe,t,e),t&&KW(lDe,t,n)}function BQ(t,e,n){this.i=new Nw,this.b=t,this.g=e,this.a=n}function FQ(t,e,n){this.c=new Nw,this.e=t,this.f=e,this.b=n}function RQ(t,e,n){this.a=new Nw,this.e=t,this.f=e,this.c=n}function jQ(t,e){KO(this),this.f=e,this.g=t,kX(this),this._d()}function $Q(t,e){var n;n=t.q.getHours(),t.q.setDate(e),dzt(t,n)}function zQ(t,e){var n;for(vZ(e),n=t.a;n;n=n.c)e.Od(n.g,n.i)}function qQ(t){var e;return Lct(e=new d_(net(t.length)),t),e}function HQ(t){function e(){}return e.prototype=t||{},new e}function UQ(t,e){return!!pst(t,e)&&(iit(t),!0)}function GQ(t,e){if(null==e)throw qw(new bm);return cbt(t,e)}function YQ(t){if(t.qe())return null;var e=t.n;return CWt[e]}function ZQ(t){return t.Db>>16!=3?null:zz(t.Cb,33)}function WQ(t){return t.Db>>16!=9?null:zz(t.Cb,33)}function KQ(t){return t.Db>>16!=6?null:zz(t.Cb,79)}function XQ(t){return t.Db>>16!=7?null:zz(t.Cb,235)}function VQ(t){return t.Db>>16!=7?null:zz(t.Cb,160)}function QQ(t){return t.Db>>16!=11?null:zz(t.Cb,33)}function JQ(t,e){var n;return(n=t.Yg(e))>=0?t.lh(n):UIt(t,e)}function tJ(t,e){var n;return uEt(n=new LH(e),t),new ej(n)}function eJ(t){var e;return e=t.d,e=t.si(t.f),h7(t,e),e.Ob()}function nJ(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function iJ(t,e){return n.Math.abs(t)<n.Math.abs(e)?t:e}function rJ(t){return!t.a&&(t.a=new nY(YMe,t,10,11)),t.a.i>0}function aJ(){this.a=new hD,this.e=new Fm,this.g=0,this.i=0}function oJ(t){this.a=t,this.b=P8(jye,lKt,1944,t.e.length,0,2)}function sJ(t,e,n){var i;i=Pct(t,e,n),t.b=new vrt(i.c.length)}function cJ(){cJ=M,rve=new rS(mQt,0),ave=new rS("UP",1)}function uJ(){uJ=M,Fxe=new dS(Z3t,0),Rxe=new dS("FAN",1)}function lJ(){lJ=M,hDe=new Pw,lDe=new Pw,$I(vne,new pc)}function hJ(t){if(0!=t.p)throw qw(new pm);return QI(t.f,0)}function fJ(t){if(0!=t.p)throw qw(new pm);return QI(t.k,0)}function dJ(t){return t.Db>>16!=3?null:zz(t.Cb,147)}function gJ(t){return t.Db>>16!=6?null:zz(t.Cb,235)}function pJ(t){return t.Db>>16!=17?null:zz(t.Cb,26)}function bJ(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.le(e))}function wJ(t,e){var n;return null==(n=t.a.get(e))?new Array:n}function mJ(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),dzt(t,n)}function yJ(t,e,n){return null==e?_St(t.f,null,n):cdt(t.g,e,n)}function vJ(t,e,n,i,r,a){return new N9(t.e,e,t.aj(),n,i,r,a)}function xJ(t,e,n){return t.a=hP(t.a,0,e)+""+n+tM(t.a,e),t}function kJ(t,e,n){return Wz(t.a,(tK(),Ymt(e,n),new mA(e,n))),t}function _J(t){return cN(t.c),t.e=t.a=t.c,t.c=t.c.c,++t.d,t.a.f}function AJ(t){return cN(t.e),t.c=t.a=t.e,t.e=t.e.e,--t.d,t.a.f}function EJ(t,e){t.d&&v9(t.d.e,t),t.d=e,t.d&&Wz(t.d.e,t)}function TJ(t,e){t.c&&v9(t.c.g,t),t.c=e,t.c&&Wz(t.c.g,t)}function CJ(t,e){t.c&&v9(t.c.a,t),t.c=e,t.c&&Wz(t.c.a,t)}function SJ(t,e){t.i&&v9(t.i.j,t),t.i=e,t.i&&Wz(t.i.j,t)}function IJ(t,e,n){this.a=e,this.c=t,this.b=(vZ(n),new ej(n))}function MJ(t,e,n){this.a=e,this.c=t,this.b=(vZ(n),new ej(n))}function DJ(t,e){this.a=t,this.c=zO(this.a),this.b=new bV(e)}function OJ(t){return Vft(t),DK(t,new mg(new Fm))}function LJ(t,e){if(t<0||t>e)throw qw(new Dv(_Vt+t+AVt+e))}function NJ(t,e){return IU(t.a,e)?_Y(t,zz(e,22).g,null):null}function PJ(t){return Clt(),lN(),0!=zz(t.a,81).d.e}function BJ(){BJ=M,Wte=dlt((rv(),Sst(Ux(Kte,1),LKt,538,0,[Yte])))}function FJ(){FJ=M,wye=WU(new z2,(xEt(),zoe),(dWt(),Hce))}function RJ(){RJ=M,mye=WU(new z2,(xEt(),zoe),(dWt(),Hce))}function jJ(){jJ=M,vye=WU(new z2,(xEt(),zoe),(dWt(),Hce))}function $J(){$J=M,Gye=pH(new z2,(xEt(),zoe),(dWt(),pce))}function zJ(){zJ=M,Xye=pH(new z2,(xEt(),zoe),(dWt(),pce))}function qJ(){qJ=M,Jye=pH(new z2,(xEt(),zoe),(dWt(),pce))}function HJ(){HJ=M,cve=pH(new z2,(xEt(),zoe),(dWt(),pce))}function UJ(){UJ=M,Gxe=WU(new z2,(Yvt(),$ve),(FCt(),Gve))}function GJ(t,e,n,i){this.c=t,this.d=i,WJ(this,e),KJ(this,n)}function YJ(t){this.c=new VA,this.b=t.b,this.d=t.c,this.a=t.a}function ZJ(t){this.a=n.Math.cos(t),this.b=n.Math.sin(t)}function WJ(t,e){t.a&&v9(t.a.k,t),t.a=e,t.a&&Wz(t.a.k,t)}function KJ(t,e){t.b&&v9(t.b.f,t),t.b=e,t.b&&Wz(t.b.f,t)}function XJ(t,e){iW(t,t.b,t.c),zz(t.b.b,65),e&&zz(e.b,65).b}function VJ(t,e){Yft(t,e),aL(t.Cb,88)&&OSt(C5(zz(t.Cb,88)),2)}function QJ(t,e){aL(t.Cb,88)&&OSt(C5(zz(t.Cb,88)),4),Prt(t,e)}function JJ(t,e){aL(t.Cb,179)&&(zz(t.Cb,179).tb=null),Prt(t,e)}function t1(t,e){return JE(),ltt(e)?new fH(e,t):new PI(e,t)}function e1(t,e){null!=e.c&&tW(t,new UZ(e.c))}function n1(t){var e;return i_(),ont(e=new Rw,t),e}function i1(t){var e;return i_(),ont(e=new Rw,t),e}function r1(t,e){var n;return n=new qZ(t),e.c[e.c.length]=n,n}function a1(t,e){var n;return(n=zz(dht(MX(t.a),e),14))?n.gc():0}function o1(t){return Vft(t),CX(),CX(),xet(t,pne)}function s1(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function c1(t,e){Yy.call(this,new ZA(net(t))),dit(e,uKt),this.a=e}function u1(t,e,n){Hht(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e}function l1(t,e,n){var i;Hht(e,n,t.c.length),i=n-e,C_(t.c,e,i)}function h1(t,e){lL(t,pU(n0(xG(e,24),lVt)),pU(n0(e,lVt)))}function f1(t,e){if(t<0||t>=e)throw qw(new Dv(_Vt+t+AVt+e))}function d1(t,e){if(t<0||t>=e)throw qw(new Mx(_Vt+t+AVt+e))}function g1(t,e){this.b=(xW(t),t),this.a=0==(e&$Xt)?64|e|hKt:e}function p1(t){BD(this),Cm(this.a,kct(n.Math.max(8,t))<<1)}function b1(t){return Oct(Sst(Ux(CEe,1),lKt,8,0,[t.i.n,t.n,t.a]))}function w1(){return Uut(),Sst(Ux(tie,1),LKt,132,0,[Gne,Yne,Zne])}function m1(){return Fet(),Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])}function y1(){return Q7(),Sst(Ux(nre,1),LKt,461,0,[Vie,Xie,Qie])}function v1(){return U9(),Sst(Ux(Mre,1),LKt,462,0,[are,rre,ire])}function x1(){return qht(),Sst(Ux(yse,1),LKt,423,0,[gse,dse,fse])}function k1(){return H9(),Sst(Ux(qoe,1),LKt,379,0,[Moe,Ioe,Doe])}function _1(){return Tlt(),Sst(Ux(gme,1),LKt,378,0,[ame,ome,sme])}function A1(){return Dit(),Sst(Ux(wle,1),LKt,314,0,[lle,ule,hle])}function E1(){return cit(),Sst(Ux(Ale,1),LKt,337,0,[gle,ble,ple])}function T1(){return Jst(),Sst(Ux(zle,1),LKt,450,0,[Dle,Mle,Ole])}function C1(){return Irt(),Sst(Ux(Wue,1),LKt,361,0,[Fue,Bue,Pue])}function S1(){return G9(),Sst(Ux(Lhe,1),LKt,303,0,[Che,She,The])}function I1(){return jot(),Sst(Ux(Ihe,1),LKt,292,0,[khe,_he,xhe])}function M1(){return sit(),Sst(Ux(Xme,1),LKt,452,0,[Ume,qme,Hme])}function D1(){return vct(),Sst(Ux($me,1),LKt,339,0,[Nme,Lme,Pme])}function O1(){return Hat(),Sst(Ux(tye,1),LKt,375,0,[Zme,Wme,Kme])}function L1(){return Lst(),Sst(Ux(Tye,1),LKt,377,0,[dye,gye,fye])}function N1(){return Zut(),Sst(Ux(lye,1),LKt,336,0,[nye,iye,rye])}function P1(){return bat(),Sst(Ux(pye,1),LKt,338,0,[uye,sye,cye])}function B1(){return uit(),Sst(Ux(Pye,1),LKt,454,0,[Mye,Dye,Oye])}function F1(){return Idt(),Sst(Ux(ske,1),LKt,442,0,[nke,tke,eke])}function R1(){return Hut(),Sst(Ux(Uke,1),LKt,380,0,[uke,lke,hke])}function j1(){return Cdt(),Sst(Ux(N_e,1),LKt,381,0,[Jke,t_e,Qke])}function $1(){return qat(),Sst(Ux(Vke,1),LKt,293,0,[Zke,Wke,Yke])}function z1(){return Sdt(),Sst(Ux(W_e,1),LKt,437,0,[q_e,H_e,U_e])}function q1(){return cht(),Sst(Ux(TSe,1),LKt,334,0,[mSe,wSe,ySe])}function H1(){return Ret(),Sst(Ux(tSe,1),LKt,272,0,[GCe,YCe,ZCe])}function U1(t,e){return kOt(t,e,aL(e,99)&&0!=(zz(e,18).Bb&qXt))}function G1(t,e,n){var i;return(i=oqt(t,e,!1)).b<=e&&i.a<=n}function Y1(t,e,n){var i;(i=new ao).b=e,i.a=n,++e.b,Wz(t.d,i)}function Z1(t,e){var n;return AP(!!(n=(xW(t),t).g)),xW(e),n(e)}function W1(t,e){var n,i;return i=wY(t,e),n=t.a.Zc(i),new xA(t,n)}function K1(t){return t.Db>>16!=6?null:zz(oDt(t),235)}function X1(t){if(2!=t.p)throw qw(new pm);return pU(t.f)&VKt}function V1(t){if(2!=t.p)throw qw(new pm);return pU(t.k)&VKt}function Q1(t){return t.a==(F5(),nLe)&&pd(t,iLt(t.g,t.b)),t.a}function J1(t){return t.d==(F5(),nLe)&&wd(t,PRt(t.g,t.b)),t.d}function t0(t){return CP(t.a<t.c.c.length),t.b=t.a++,t.c.c[t.b]}function e0(t,e){t.b=t.b|e.b,t.c=t.c|e.c,t.d=t.d|e.d,t.a=t.a|e.a}function n0(t,e){return cot(TG(QM(t)?Sot(t):t,QM(e)?Sot(e):e))}function i0(t,e){return cot(CG(QM(t)?Sot(t):t,QM(e)?Sot(e):e))}function r0(t,e){return cot(SG(QM(t)?Sot(t):t,QM(e)?Sot(e):e))}function a0(t){return adt(vG(fot(HOt(t,32)),32),fot(HOt(t,32)))}function o0(t){return vZ(t),aL(t,14)?new ej(zz(t,14)):qz(t.Kc())}function s0(t,e){return Btt(),t.c==e.c?Sft(e.d,t.d):Sft(t.c,e.c)}function c0(t,e){return Btt(),t.c==e.c?Sft(t.d,e.d):Sft(t.c,e.c)}function u0(t,e){return Btt(),t.c==e.c?Sft(t.d,e.d):Sft(e.c,t.c)}function l0(t,e){return Btt(),t.c==e.c?Sft(e.d,t.d):Sft(e.c,t.c)}function h0(t,e){var n;n=Uv(EB(t.a.We((lWt(),MCe)))),XYt(t,e,n)}function f0(t,e){var n;n=zz(FZ(t.g,e),57),Det(e.d,new cC(t,n))}function d0(t,e){var n,i;return(n=uvt(t))<(i=uvt(e))?-1:n>i?1:0}function g0(t,e){var n;return n=T9(e),zz(FZ(t.c,n),19).a}function p0(t,e){var n;for(n=t+"";n.length<e;)n="0"+n;return n}function b0(t){return null==t.c||0==t.c.length?"n_"+t.g:"n_"+t.c}function w0(t){return null==t.c||0==t.c.length?"n_"+t.b:"n_"+t.c}function m0(t,e){return t&&t.equals?t.equals(e):UI(t)===UI(e)}function y0(t,e){return 0==e?!!t.o&&0!=t.o.f:ywt(t,e)}function v0(t,e,n){var i;t.n&&e&&n&&(i=new tc,Wz(t.e,i))}function x0(t,e,n){var i;i=t.d[e.p],t.d[e.p]=t.d[n.p],t.d[n.p]=i}function k0(t,e,n){this.d=t,this.j=e,this.e=n,this.o=-1,this.p=3}function _0(t,e,n){this.d=t,this.k=e,this.f=n,this.o=-1,this.p=5}function A0(t,e,n){Dw.call(this,25),this.b=t,this.a=e,this.c=n}function E0(t){pWt(),Dw.call(this,t),this.c=!1,this.a=!1}function T0(t,e,n,i,r,a){Hnt.call(this,t,e,n,i,r),a&&(this.o=-2)}function C0(t,e,n,i,r,a){Unt.call(this,t,e,n,i,r),a&&(this.o=-2)}function S0(t,e,n,i,r,a){Q5.call(this,t,e,n,i,r),a&&(this.o=-2)}function I0(t,e,n,i,r,a){Znt.call(this,t,e,n,i,r),a&&(this.o=-2)}function M0(t,e,n,i,r,a){J5.call(this,t,e,n,i,r),a&&(this.o=-2)}function D0(t,e,n,i,r,a){Gnt.call(this,t,e,n,i,r),a&&(this.o=-2)}function O0(t,e,n,i,r,a){Ynt.call(this,t,e,n,i,r),a&&(this.o=-2)}function L0(t,e,n,i,r,a){t6.call(this,t,e,n,i,r),a&&(this.o=-2)}function N0(t,e,n,i){kw.call(this,n),this.b=t,this.c=e,this.d=i}function P0(t,e){this.a=new Nw,this.d=new Nw,this.f=t,this.c=e}function B0(){this.c=new OO,this.a=new dV,this.b=new ny,dE()}function F0(){Pst(),this.b=new Pw,this.a=new Pw,this.c=new Nw}function R0(t,e){this.g=t,this.d=(F5(),nLe),this.a=nLe,this.b=e}function j0(t,e){this.f=t,this.a=(F5(),eLe),this.c=eLe,this.b=e}function $0(t,e){!t.c&&(t.c=new Aat(t,0)),Tqt(t.c,(ZHt(),LLe),e)}function z0(){z0=M,qxe=new gS("DFS",0),zxe=new gS("BFS",1)}function q0(t,e,n){var i;return!!(i=zz(t.Zb().xc(e),14))&&i.Hc(n)}function H0(t,e,n){var i;return!!(i=zz(t.Zb().xc(e),14))&&i.Mc(n)}function U0(t,e,n,i){return t.a+=""+hP(null==e?YWt:qdt(e),n,i),t}function G0(t,e,n,i,r,a){return Rat(t,e,n,a),Jht(t,i),nft(t,r),t}function Y0(t){return CP(t.b.b!=t.d.a),t.c=t.b=t.b.b,--t.a,t.c.c}function Z0(t){for(;t.d>0&&0==t.a[--t.d];);0==t.a[t.d++]&&(t.e=0)}function W0(t){return t.a?0==t.e.length?t.a.a:t.a.a+""+t.e:t.c}function K0(t){return!(!t.a||0==q9(t.a.a).i||t.b&&jmt(t.b))}function X0(t){return!(!t.u||0==o4(t.u.a).i||t.n&&Rmt(t.n))}function V0(t){return vH(t.e.Hd().gc()*t.c.Hd().gc(),16,new Uh(t))}function Q0(t,e){return $Y(fot(t.q.getTime()),fot(e.q.getTime()))}function J0(t){return zz(Vbt(t,P8(vse,o1t,17,t.c.length,0,1)),474)}function t2(t){return zz(Vbt(t,P8(Mse,s1t,10,t.c.length,0,1)),193)}function e2(t){return zJ(),!(d5(t)||!d5(t)&&t.c.i.c==t.d.i.c)}function n2(t,e,n){vZ(t),Bvt(new IJ(new ej(t),e,n))}function i2(t,e,n){vZ(t),Fvt(new MJ(new ej(t),e,n))}function r2(t,e){var n;return n=1-e,t.a[n]=prt(t.a[n],n),prt(t,e)}function a2(t,e){var n;t.e=new Qy,yO(n=pBt(e),t.c),MBt(t,n,0)}function o2(t,e,n,i){var r;(r=new ys).a=e,r.b=n,r.c=i,Bq(t.a,r)}function s2(t,e,n,i){var r;(r=new ys).a=e,r.b=n,r.c=i,Bq(t.b,r)}function c2(t){var e,n;return n=njt(e=new fZ,t),xGt(e),n}function u2(){var t,e;return t=new Rw,Wz(KOe,e=t),e}function l2(t){return t.j.c=P8(Ote,HWt,1,0,5,1),AK(t.c),bK(t.a),t}function h2(t){return EE(),aL(t.g,10)?zz(t.g,10):null}function f2(t){return!_K(t).dc()&&(LO(t,new y),!0)}function d2(t){if(!("stack"in t))try{throw t}catch(t){}return t}function g2(t,e){if(t<0||t>=e)throw qw(new Dv(NSt(t,e)));return t}function p2(t,e,n){if(t<0||e<t||e>n)throw qw(new Dv(uCt(t,e,n)))}function b2(t,e){if(AY(t.a,e),e.d)throw qw(new pv(MVt));e.d=t}function w2(t,e){if(e.$modCount!=t.$modCount)throw qw(new mm)}function m2(t,e){return!!aL(e,42)&&Tyt(t.a,zz(e,42))}function y2(t,e){return!!aL(e,42)&&Tyt(t.a,zz(e,42))}function v2(t,e){return!!aL(e,42)&&Tyt(t.a,zz(e,42))}function x2(t,e){return t.a<=t.b&&(e.ud(t.a++),!0)}function k2(t){var e;return QM(t)?-0==(e=t)?0:e:wtt(t)}function _2(t){var e;return _W(t),e=new $,b_(t.a,new bg(e)),e}function A2(t){var e;return _W(t),e=new j,b_(t.a,new pg(e)),e}function E2(t,e){this.a=t,Td.call(this,t),LJ(e,t.gc()),this.b=e}function T2(t){this.e=t,this.b=this.e.a.entries(),this.a=new Array}function C2(t){return vH(t.e.Hd().gc()*t.c.Hd().gc(),273,new Hh(t))}function S2(t){return new Q6((dit(t,PKt),eet(adt(adt(5,t),t/10|0))))}function I2(t){return zz(Vbt(t,P8(Use,c1t,11,t.c.length,0,1)),1943)}function M2(t,e,n){return n.f.c.length>0?zY(t.a,e,n):zY(t.b,e,n)}function D2(t,e,n){t.d&&v9(t.d.e,t),t.d=e,t.d&&xU(t.d.e,n,t)}function O2(t,e){yZt(e,t),oq(t.d),oq(zz(vEt(t,(HZt(),Dbe)),207))}function L2(t,e){mZt(e,t),aq(t.d),aq(zz(vEt(t,(HZt(),Dbe)),207))}function N2(t,e){var n,i;return i=null,(n=GQ(t,e))&&(i=n.fe()),i}function P2(t,e){var n,i;return i=null,(n=ptt(t,e))&&(i=n.ie()),i}function B2(t,e){var n,i;return i=null,(n=GQ(t,e))&&(i=n.ie()),i}function F2(t,e){var n,i;return i=null,(n=GQ(t,e))&&(i=xCt(n)),i}function R2(t,e,n){var i;return i=Vpt(n),pRt(t.g,i,e),pRt(t.i,e,n),e}function j2(t,e,n){var i;i=Npt();try{return pF(t,e,n)}finally{v3(i)}}function $2(t){var e;e=t.Wg(),this.a=aL(e,69)?zz(e,69).Zh():e.Kc()}function z2(){Vy.call(this),this.j.c=P8(Ote,HWt,1,0,5,1),this.a=-1}function q2(t,e,n,i){this.d=t,this.n=e,this.g=n,this.o=i,this.p=-1}function H2(t,e,n,i){this.e=i,this.d=null,this.c=t,this.a=e,this.b=n}function U2(t,e,n){this.d=new $p(this),this.e=t,this.i=e,this.f=n}function G2(){G2=M,Dhe=new BC(iQt,0),Ohe=new BC("TOP_LEFT",1)}function Y2(){Y2=M,Aye=QW(rft(1),rft(4)),_ye=QW(rft(1),rft(2))}function Z2(){Z2=M,Q_e=dlt((IE(),Sst(Ux(eAe,1),LKt,551,0,[X_e])))}function W2(){W2=M,K_e=dlt((SE(),Sst(Ux(V_e,1),LKt,482,0,[Z_e])))}function K2(){K2=M,YAe=dlt((ME(),Sst(Ux(KAe,1),LKt,530,0,[UAe])))}function X2(){X2=M,oae=dlt((gE(),Sst(Ux(Cae,1),LKt,481,0,[rae])))}function V2(){return Fot(),Sst(Ux(Ure,1),LKt,406,0,[Fre,Nre,Pre,Bre])}function Q2(){return J7(),Sst(Ux($ne,1),LKt,297,0,[Nne,Pne,Bne,Fne])}function J2(){return Uwt(),Sst(Ux(aae,1),LKt,394,0,[Jre,Qre,tae,eae])}function t3(){return Hwt(),Sst(Ux(Yre,1),LKt,323,0,[zre,$re,qre,Hre])}function e3(){return Ost(),Sst(Ux(pse,1),LKt,405,0,[Joe,nse,tse,ese])}function n3(){return Mst(),Sst(Ux(wue,1),LKt,360,0,[oue,rue,aue,iue])}function i3(t,e,n,i){return aL(n,54)?new MP(t,e,n,i):new uG(t,e,n,i)}function r3(){return Dst(),Sst(Ux(Iue,1),LKt,411,0,[mue,yue,vue,xue])}function a3(t){return t.j==(kYt(),TIe)&&TN(ZMt(t),cIe)}function o3(t,e){var n;TJ(n=e.a,e.c.d),EJ(n,e.d.d),tnt(n.a,t.n)}function s3(t,e){return zz(ON(IG(zz(l6(t.k,e),15).Oc(),Xue)),113)}function c3(t,e){return zz(ON(MG(zz(l6(t.k,e),15).Oc(),Xue)),113)}function u3(t){return new g1(nat(zz(t.a.dd(),14).gc(),t.a.cd()),16)}function l3(t){return aL(t,14)?zz(t,14).dc():!t.Kc().Ob()}function h3(t){return EE(),aL(t.g,145)?zz(t.g,145):null}function f3(t){if(t.e.g!=t.b)throw qw(new mm);return!!t.c&&t.d>0}function d3(t){return CP(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}function g3(t,e){xW(e),OZ(t.a,t.c,e),t.c=t.c+1&t.a.length-1,pvt(t)}function p3(t,e){xW(e),t.b=t.b-1&t.a.length-1,OZ(t.a,t.b,e),pvt(t)}function b3(t,e){var n;for(n=t.j.c.length;n<e;n++)Wz(t.j,t.rg())}function w3(t,e,n,i){var r;return r=i[e.g][n.g],Uv(EB(vEt(t.a,r)))}function m3(t,e,n,i,r){this.i=t,this.a=e,this.e=n,this.j=i,this.f=r}function y3(t,e,n,i,r){this.a=t,this.e=e,this.f=n,this.b=i,this.g=r}function v3(t){t&&Itt((ux(),nee)),--oee,t&&-1!=cee&&(iT(cee),cee=-1)}function x3(){return gmt(),Sst(Ux(xme,1),LKt,197,0,[fme,dme,hme,lme])}function k3(){return Yvt(),Sst(Ux(Hve,1),LKt,393,0,[Fve,Rve,jve,$ve])}function _3(){return Dyt(),Sst(Ux(Kke,1),LKt,340,0,[Hke,zke,qke,$ke])}function A3(){return vpt(),Sst(Ux(VIe,1),LKt,374,0,[RIe,jIe,FIe,BIe])}function E3(){return Wvt(),Sst(Ux(FSe,1),LKt,285,0,[ESe,kSe,_Se,ASe])}function T3(){return Tdt(),Sst(Ux(cSe,1),LKt,218,0,[JCe,VCe,XCe,QCe])}function C3(){return zgt(),Sst(Ux(aMe,1),LKt,311,0,[nMe,JIe,eMe,tMe])}function S3(){return qut(),Sst(Ux(gMe,1),LKt,396,0,[sMe,cMe,oMe,uMe])}function I3(t){return lJ(),lY(hDe,t)?zz(FZ(hDe,t),331).ug():null}function M3(t,e,n){return e<0?UIt(t,n):zz(n,66).Nj().Sj(t,t.yh(),e)}function D3(t,e,n){var i;return i=Vpt(n),pRt(t.d,i,e),KW(t.e,e,n),e}function O3(t,e,n){var i;return i=Vpt(n),pRt(t.j,i,e),KW(t.k,e,n),e}function L3(t){var e;return e_(),e=new rc,t&&HLt(e,t),e}function N3(t){var e;return e=t.ri(t.i),t.i>0&&sqt(t.g,0,e,0,t.i),e}function P3(t,e){var n;return tT(),!(n=zz(FZ(yDe,t),55))||n.wj(e)}function B3(t){if(1!=t.p)throw qw(new pm);return pU(t.f)<<24>>24}function F3(t){if(1!=t.p)throw qw(new pm);return pU(t.k)<<24>>24}function R3(t){if(7!=t.p)throw qw(new pm);return pU(t.k)<<16>>16}function j3(t){if(7!=t.p)throw qw(new pm);return pU(t.f)<<16>>16}function $3(t){var e;for(e=0;t.Ob();)t.Pb(),e=adt(e,1);return eet(e)}function z3(t,e){var n;return n=new Ix,t.xd(n),n.a+="..",e.yd(n),n.a}function q3(t,e,n){var i;i=zz(FZ(t.g,n),57),Wz(t.a.c,new rI(e,i))}function H3(t,e,n){return AG(EB(HI(DV(t.f,e))),EB(HI(DV(t.f,n))))}function U3(t,e,n){return Z$t(t,e,n,aL(e,99)&&0!=(zz(e,18).Bb&qXt))}function G3(t,e,n){return mzt(t,e,n,aL(e,99)&&0!=(zz(e,18).Bb&qXt))}function Y3(t,e,n){return BOt(t,e,n,aL(e,99)&&0!=(zz(e,18).Bb&qXt))}function Z3(t,e){return t==(cTt(),Sse)&&e==Sse?4:t==Sse||e==Sse?8:32}function W3(t,e){return UI(e)===UI(t)?"(this Map)":null==e?YWt:qdt(e)}function K3(t,e){return zz(null==e?HI(DV(t.f,null)):lT(t.g,e),281)}function X3(t,e,n){var i;return i=Vpt(n),KW(t.b,i,e),KW(t.c,e,n),e}function V3(t,e){var n;for(n=e;n;)jP(t,n.i,n.j),n=QQ(n);return t}function Q3(t,e){var n;return n=rV(qz(new S9(t,e))),SH(new S9(t,e)),n}function J3(t,e){var n;return JE(),ETt(n=zz(t,66).Mj(),e),n.Ok(e)}function t4(t,e,n,i,r){Wz(e,vSt(r,WOt(r,n,i))),ZEt(t,r,e)}function e4(t,e,n){t.i=0,t.e=0,e!=n&&(Kct(t,e,n),Wct(t,e,n))}function n4(t,e){var n;n=t.q.getHours(),t.q.setFullYear(e+lXt),dzt(t,n)}function i4(t,e,n){if(n){var i=n.ee();t.a[e]=i(n)}else delete t.a[e]}function r4(t,e,n){if(n){var i=n.ee();n=i(n)}else n=void 0;t.a[e]=n}function a4(t){if(t<0)throw qw(new zv("Negative array size: "+t))}function o4(t){return t.n||(C5(t),t.n=new VU(t,KDe,t),xV(t)),t.n}function s4(t){return CP(t.a<t.c.a.length),t.b=t.a,Dtt(t),t.c.b[t.b]}function c4(t){t.b!=t.c&&(t.a=P8(Ote,HWt,1,8,5,1),t.b=0,t.c=0)}function u4(t){this.b=new Pw,this.c=new Pw,this.d=new Pw,this.a=t}function l4(t,e){pWt(),Dw.call(this,t),this.a=e,this.c=-1,this.b=-1}function h4(t,e,n,i){k0.call(this,1,n,i),$l(this),this.c=t,this.b=e}function f4(t,e,n,i){_0.call(this,1,n,i),$l(this),this.c=t,this.b=e}function d4(t,e,n,i,r,a,o){kit.call(this,e,i,r,a,o),this.c=t,this.a=n}function g4(t,e,n){this.e=t,this.a=Ote,this.b=OFt(e),this.c=e,this.d=n}function p4(t){this.e=t,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function b4(t){this.c=t,this.a=zz(Mxt(t),148),this.b=this.a.Aj().Nh()}function w4(t){this.d=t,this.b=this.d.a.entries(),this.a=this.b.next()}function m4(){Pw.call(this),kP(this),this.d.b=this.d,this.d.a=this.d}function y4(t,e){OF.call(this),this.a=t,this.b=e,Wz(this.a.b,this)}function v4(t,e){return iM(null!=e?TQ(t,e):HI(DV(t.f,e)))}function x4(t,e){return iM(null!=e?TQ(t,e):HI(DV(t.f,e)))}function k4(t,e){var n;for(n=0;n<e;++n)OZ(t,n,new Yd(zz(t[n],42)))}function _4(t,e){var n;for(n=t.d-1;n>=0&&t.a[n]===e[n];n--);return n<0}function A4(t,e){var n;return Yut(),0!=(n=t.j.g-e.j.g)?n:0}function E4(t,e){return xW(e),null!=t.a?CU(e.Kb(t.a)):Tne}function T4(t){var e;return t?new LH(t):(Urt(e=new hD,t),e)}function C4(t,e){return e.b.Kb(A9(t,e.c.Ee(),new vg(e)))}function S4(t){xAt(),lL(this,pU(n0(xG(t,24),lVt)),pU(n0(t,lVt)))}function I4(){I4=M,wie=dlt((hwt(),Sst(Ux(vie,1),LKt,428,0,[pie,gie])))}function M4(){M4=M,xie=dlt((Ftt(),Sst(Ux(Rie,1),LKt,427,0,[mie,yie])))}function D4(){D4=M,jae=dlt((Rtt(),Sst(Ux(Ooe,1),LKt,424,0,[Bae,Fae])))}function O4(){O4=M,Gse=dlt((Crt(),Sst(Ux(Wse,1),LKt,511,0,[Hse,qse])))}function L4(){L4=M,Ile=dlt((jtt(),Sst(Ux(Lle,1),LKt,419,0,[Tle,Cle])))}function N4(){N4=M,Yle=dlt((b9(),Sst(Ux(Jle,1),LKt,479,0,[Ule,Hle])))}function P4(){P4=M,eye=dlt((D6(),Sst(Ux(aye,1),LKt,376,0,[Jme,Qme])))}function B4(){B4=M,zme=dlt((Y9(),Sst(Ux(Gme,1),LKt,421,0,[Rme,jme])))}function F4(){F4=M,cle=dlt((K8(),Sst(Ux(fle,1),LKt,422,0,[ale,ole])))}function R4(){R4=M,Nhe=dlt((G2(),Sst(Ux(Ufe,1),LKt,420,0,[Dhe,Ohe])))}function j4(){j4=M,Cve=dlt((M6(),Sst(Ux(Pve,1),LKt,520,0,[Eve,Ave])))}function $4(){$4=M,Uye=dlt((X4(),Sst(Ux(Kye,1),LKt,523,0,[qye,zye])))}function z4(){z4=M,ive=dlt((bQ(),Sst(Ux(ove,1),LKt,516,0,[eve,tve])))}function q4(){q4=M,sve=dlt((cJ(),Sst(Ux(Tve,1),LKt,515,0,[rve,ave])))}function H4(){H4=M,Bve=dlt((pQ(),Sst(Ux(zve,1),LKt,455,0,[Lve,Nve])))}function U4(){U4=M,Uxe=dlt((z0(),Sst(Ux(Qxe,1),LKt,425,0,[qxe,zxe])))}function G4(){G4=M,Jxe=dlt((Srt(),Sst(Ux(ike,1),LKt,495,0,[Xxe,Vxe])))}function Y4(){Y4=M,$xe=dlt((uJ(),Sst(Ux(Hxe,1),LKt,480,0,[Fxe,Rxe])))}function Z4(){Z4=M,cke=dlt((B7(),Sst(Ux(fke,1),LKt,426,0,[ake,oke])))}function W4(){W4=M,XAe=dlt((Nst(),Sst(Ux(VAe,1),LKt,429,0,[WAe,ZAe])))}function K4(){K4=M,nAe=dlt((O6(),Sst(Ux(cAe,1),LKt,430,0,[tAe,J_e])))}function X4(){X4=M,qye=new QC("UPPER",0),zye=new QC("LOWER",1)}function V4(t,e){var n;HX(n=new wv,"x",e.a),HX(n,"y",e.b),tW(t,n)}function Q4(t,e){var n;HX(n=new wv,"x",e.a),HX(n,"y",e.b),tW(t,n)}function J4(t,e){var n,i;i=!1;do{i|=n=gct(t,e)}while(n);return i}function t5(t,e){var n,i;for(n=e,i=0;n>0;)i+=t.a[n],n-=n&-n;return i}function e5(t,e){var n;for(n=e;n;)jP(t,-n.i,-n.j),n=QQ(n);return t}function n5(t,e){var n,i;for(xW(e),i=t.Kc();i.Ob();)n=i.Pb(),e.td(n)}function i5(t,e){var n;return new mA(n=e.cd(),t.e.pc(n,zz(e.dd(),14)))}function r5(t,e,n,i){var r;(r=new O).c=e,r.b=n,r.a=i,i.b=n.a=r,++t.b}function a5(t,e,n){var i;return f1(e,t.c.length),i=t.c[e],t.c[e]=n,i}function o5(t,e,n){return zz(null==e?_St(t.f,null,n):cdt(t.g,e,n),281)}function s5(t){return t.c&&t.d?w0(t.c)+"->"+w0(t.d):"e_"+CN(t)}function c5(t,e){return(Vft(t),k_(new FH(t,new X7(e,t.a)))).sd(eie)}function u5(){return xEt(),Sst(Ux(Yoe,1),LKt,356,0,[Foe,Roe,joe,$oe,zoe])}function l5(){return kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])}function h5(t){return Bx(),function(){return j2(t,this,arguments)}}function f5(){return Date.now?Date.now():(new Date).getTime()}function d5(t){return!(!t.c||!t.d||!t.c.i||t.c.i!=t.d.i)}function g5(t){if(!t.c.Sb())throw qw(new vm);return t.a=!0,t.c.Ub()}function p5(t){t.i=0,vT(t.b,null),vT(t.c,null),t.a=null,t.e=null,++t.g}function b5(t){pT.call(this,null==t?YWt:qdt(t),aL(t,78)?zz(t,78):null)}function w5(t){iWt(),zw(this),this.a=new VA,but(this,t),Bq(this.a,t)}function m5(){PD(this),this.b=new PS(RXt,RXt),this.a=new PS(jXt,jXt)}function y5(t,e){this.c=0,this.b=e,wM.call(this,t,17493),this.a=this.c}function v5(t){x5(),Xne||(this.c=t,this.e=!0,this.a=new Nw)}function x5(){x5=M,Xne=!0,Wne=!1,Kne=!1,Qne=!1,Vne=!1}function k5(t,e){return!!aL(e,149)&&yR(t.c,zz(e,149).c)}function _5(t,e){var n;return n=0,t&&(n+=t.f.a/2),e&&(n+=e.f.a/2),n}function A5(t,e){return zz(ftt(t.d,e),23)||zz(ftt(t.e,e),23)}function E5(t){this.b=t,DL.call(this,t),this.a=zz(xot(this.b.a,4),126)}function T5(t){this.b=t,oP.call(this,t),this.a=zz(xot(this.b.a,4),126)}function C5(t){return t.t||(t.t=new pw(t),lft(new Pv(t),0,t.t)),t.t}function S5(){return zht(),Sst(Ux(WCe,1),LKt,103,0,[zCe,$Ce,jCe,RCe,qCe])}function I5(){return owt(),Sst(Ux(QSe,1),LKt,249,0,[zSe,HSe,jSe,$Se,qSe])}function M5(){return awt(),Sst(Ux(kEe,1),LKt,175,0,[lEe,uEe,sEe,hEe,cEe])}function D5(){return LTt(),Sst(Ux(GAe,1),LKt,316,0,[iAe,rAe,sAe,aAe,oAe])}function O5(){return Pmt(),Sst(Ux(Dme,1),LKt,315,0,[vme,wme,mme,bme,yme])}function L5(){return Xmt(),Sst(Ux(Sle,1),LKt,335,0,[vle,yle,kle,_le,xle])}function N5(){return QLt(),Sst(Ux(G_e,1),LKt,355,0,[B_e,P_e,R_e,F_e,j_e])}function P5(){return N_t(),Sst(Ux(Rue,1),LKt,363,0,[Eue,Cue,Sue,Tue,Aue])}function B5(){return Edt(),Sst(Ux(ime,1),LKt,163,0,[Hfe,jfe,$fe,zfe,qfe])}function F5(){var t,e;F5=M,i_(),e=new _m,eLe=e,t=new My,nLe=t}function R5(t){var e;return t.c||aL(e=t.r,88)&&(t.c=zz(e,26)),t.c}function j5(t){return t.e=3,t.d=t.Yb(),2!=t.e&&(t.e=0,!0)}function $5(t){return EO(t&CXt,t>>22&CXt,t<0?SXt:0)}function z5(t){var e,n,i;for(n=0,i=(e=t).length;n<i;++n)kW(e[n])}function q5(t,e){var n,i;(n=zz(ght(t.c,e),14))&&(i=n.gc(),n.$b(),t.d-=i)}function H5(t,e){var n;return!!(n=dut(t,e.cd()))&&aK(n.e,e.dd())}function U5(t,e){return 0==e||0==t.e?t:e>0?Apt(t,e):MPt(t,-e)}function G5(t,e){return 0==e||0==t.e?t:e>0?MPt(t,e):Apt(t,-e)}function Y5(t){if(bDt(t))return t.c=t.a,t.a.Pb();throw qw(new vm)}function Z5(t){var e,n;return e=t.c.i,n=t.d.i,e.k==(cTt(),Ese)&&n.k==Ese}function W5(t){var e;return Uot(e=new gV,t),hct(e,(HZt(),mbe),null),e}function K5(t,e,n){var i;return(i=t.Yg(e))>=0?t._g(i,n,!0):oMt(t,e,n)}function X5(t,e,n,i){var r;for(r=0;r<Jie;r++)ZU(t.a[e.g][r],n,i[e.g])}function V5(t,e,n,i){var r;for(r=0;r<tre;r++)YU(t.a[r][e.g],n,i[e.g])}function Q5(t,e,n,i,r){k0.call(this,e,i,r),$l(this),this.c=t,this.a=n}function J5(t,e,n,i,r){_0.call(this,e,i,r),$l(this),this.c=t,this.a=n}function t6(t,e,n,i,r){i6.call(this,e,i,r),$l(this),this.c=t,this.a=n}function e6(t,e,n,i,r){i6.call(this,e,i,r),$l(this),this.c=t,this.b=n}function n6(t,e,n){kw.call(this,n),this.b=t,this.c=e,this.d=(qgt(),GOe)}function i6(t,e,n){this.d=t,this.k=e?1:0,this.f=n?1:0,this.o=-1,this.p=0}function r6(t,e,n){var i;Eat(i=new ZO(t.a),t.a.a),_St(i.f,e,n),t.a.a=i}function a6(t,e){t.qi(t.i+1),kL(t,t.i,t.oi(t.i,e)),t.bi(t.i++,e),t.ci()}function o6(t){var e,n;++t.j,e=t.g,n=t.i,t.g=null,t.i=0,t.di(n,e),t.ci()}function s6(t){var e;return vZ(t),Lct(e=new Q6(JW(t.length)),t),e}function c6(t){var e;return vZ(t),JCt(e=t?new ej(t):qz(t.Kc())),lht(e)}function u6(t,e){var n;return f1(e,t.c.length),n=t.c[e],C_(t.c,e,1),n}function l6(t,e){var n;return!(n=zz(t.c.xc(e),14))&&(n=t.ic(e)),t.pc(e,n)}function h6(t,e){var n,i;return xW(t),n=t,xW(e),n==(i=e)?0:n<i?-1:1}function f6(t){var e;return e=t.e+t.f,isNaN(e)&&WR(t.d)?t.d:e}function d6(t,e){return t.a?cM(t.a,t.b):t.a=new fN(t.d),oM(t.a,e),t}function g6(t,e){if(t<0||t>e)throw qw(new Dv(bSt(t,e,"index")));return t}function p6(t,e,n,i){var r;return yAt(r=P8(DNe,hXt,25,e,15,1),t,e,n,i),r}function b6(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),dzt(t,n)}function w6(t,e){return n.Math.min(W8(e.a,t.d.d.c),W8(e.b,t.d.d.c))}function m6(t,e){return ZI(e)?null==e?wDt(t.f,null):Got(t.g,e):wDt(t.f,e)}function y6(t){this.c=t,this.a=new Wd(this.c.a),this.b=new Wd(this.c.b)}function v6(){this.e=new Nw,this.c=new Nw,this.d=new Nw,this.b=new Nw}function x6(){this.g=new zm,this.b=new zm,this.a=new Nw,this.k=new Nw}function k6(t,e,n){this.a=t,this.c=e,this.d=n,Wz(e.e,this),Wz(n.b,this)}function _6(t,e){bM.call(this,e.rd(),-6&e.qd()),xW(t),this.a=t,this.b=e}function A6(t,e){wM.call(this,e.rd(),-6&e.qd()),xW(t),this.a=t,this.b=e}function E6(t,e){mM.call(this,e.rd(),-6&e.qd()),xW(t),this.a=t,this.b=e}function T6(t,e,n){this.a=t,this.b=e,this.c=n,Wz(t.t,this),Wz(e.i,this)}function C6(){this.b=new VA,this.a=new VA,this.b=new VA,this.a=new VA}function S6(){S6=M,AEe=new sw("org.eclipse.elk.labels.labelManager")}function I6(){I6=M,nue=new iF("separateLayerConnections",(Mst(),oue))}function M6(){M6=M,Eve=new sS("REGULAR",0),Ave=new sS("CRITICAL",1)}function D6(){D6=M,Jme=new ZC("STACKED",0),Qme=new ZC("SEQUENCED",1)}function O6(){O6=M,tAe=new AS("FIXED",0),J_e=new AS("CENTER_NODE",1)}function L6(t,e){var n;return n=BUt(t,e),t.b=new vrt(n.c.length),xHt(t,n)}function N6(t,e,n){return++t.e,--t.f,zz(t.d[e].$c(n),133).dd()}function P6(t){var e;return t.a||aL(e=t.r,148)&&(t.a=zz(e,148)),t.a}function B6(t){return t.a?t.e?B6(t.e):null:t}function F6(t,e){return t.p<e.p?1:t.p>e.p?-1:0}function R6(t,e){return xW(e),t.c<t.d&&(t.ze(e,t.c++),!0)}function j6(t,e){return!!lY(t.a,e)&&(m6(t.a,e),!0)}function $6(t){var e;return e=t.cd(),Fz(zz(t.dd(),14).Nc(),new Wh(e))}function z6(t){var e;return e=zz(KY(t.b,t.b.length),9),new VR(t.a,e,t.c)}function q6(t){return Vft(t),new DB(t,new Jz(t,t.a.e,4|t.a.d))}function H6(t){var e;for(_W(t),e=0;t.a.sd(new lt);)e=adt(e,1);return e}function U6(t,e,n){var i,r;for(i=0,r=0;r<e.length;r++)i+=t.$f(e[r],i,n)}function G6(t,e){var n;t.C&&((n=zz(cK(t.b,e),124).n).d=t.C.d,n.a=t.C.a)}function Y6(t,e,n){return g2(e,t.e.Hd().gc()),g2(n,t.c.Hd().gc()),t.a[e][n]}function Z6(t,e){DBt(),this.e=t,this.d=1,this.a=Sst(Ux(DNe,1),hXt,25,15,[e])}function W6(t,e,n,i){this.f=t,this.e=e,this.d=n,this.b=i,this.c=i?i.d:null}function K6(t){var e,n,i,r;r=t.d,e=t.a,n=t.b,i=t.c,t.d=n,t.a=i,t.b=r,t.c=e}function X6(t,e,n,i){v$t(t,e,n,mzt(t,e,i,aL(e,99)&&0!=(zz(e,18).Bb&qXt)))}function V6(t,e){DAt(e,"Label management",1),iM(vEt(t,(S6(),AEe))),HTt(e)}function Q6(t){PD(this),mq(t>=0,"Initial capacity must not be negative")}function J6(){J6=M,Wie=dlt((Fet(),Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])))}function t8(){t8=M,ere=dlt((Q7(),Sst(Ux(nre,1),LKt,461,0,[Vie,Xie,Qie])))}function e8(){e8=M,sre=dlt((U9(),Sst(Ux(Mre,1),LKt,462,0,[are,rre,ire])))}function n8(){n8=M,Jne=dlt((Uut(),Sst(Ux(tie,1),LKt,132,0,[Gne,Yne,Zne])))}function i8(){i8=M,Loe=dlt((H9(),Sst(Ux(qoe,1),LKt,379,0,[Moe,Ioe,Doe])))}function r8(){r8=M,bse=dlt((qht(),Sst(Ux(yse,1),LKt,423,0,[gse,dse,fse])))}function a8(){a8=M,dle=dlt((Dit(),Sst(Ux(wle,1),LKt,314,0,[lle,ule,hle])))}function o8(){o8=M,mle=dlt((cit(),Sst(Ux(Ale,1),LKt,337,0,[gle,ble,ple])))}function s8(){s8=M,Nle=dlt((Jst(),Sst(Ux(zle,1),LKt,450,0,[Dle,Mle,Ole])))}function c8(){c8=M,jue=dlt((Irt(),Sst(Ux(Wue,1),LKt,361,0,[Fue,Bue,Pue])))}function u8(){u8=M,Mhe=dlt((G9(),Sst(Ux(Lhe,1),LKt,303,0,[Che,She,The])))}function l8(){l8=M,Ehe=dlt((jot(),Sst(Ux(Ihe,1),LKt,292,0,[khe,_he,xhe])))}function h8(){h8=M,ume=dlt((Tlt(),Sst(Ux(gme,1),LKt,378,0,[ame,ome,sme])))}function f8(){f8=M,Vme=dlt((Hat(),Sst(Ux(tye,1),LKt,375,0,[Zme,Wme,Kme])))}function d8(){d8=M,Fme=dlt((vct(),Sst(Ux($me,1),LKt,339,0,[Nme,Lme,Pme])))}function g8(){g8=M,Yme=dlt((sit(),Sst(Ux(Xme,1),LKt,452,0,[Ume,qme,Hme])))}function p8(){p8=M,bye=dlt((Lst(),Sst(Ux(Tye,1),LKt,377,0,[dye,gye,fye])))}function b8(){b8=M,oye=dlt((Zut(),Sst(Ux(lye,1),LKt,336,0,[nye,iye,rye])))}function w8(){w8=M,hye=dlt((bat(),Sst(Ux(pye,1),LKt,338,0,[uye,sye,cye])))}function m8(){m8=M,Nye=dlt((uit(),Sst(Ux(Pye,1),LKt,454,0,[Mye,Dye,Oye])))}function y8(){y8=M,rke=dlt((Idt(),Sst(Ux(ske,1),LKt,442,0,[nke,tke,eke])))}function v8(){v8=M,dke=dlt((Hut(),Sst(Ux(Uke,1),LKt,380,0,[uke,lke,hke])))}function x8(){x8=M,n_e=dlt((Cdt(),Sst(Ux(N_e,1),LKt,381,0,[Jke,t_e,Qke])))}function k8(){k8=M,Xke=dlt((qat(),Sst(Ux(Vke,1),LKt,293,0,[Zke,Wke,Yke])))}function _8(){_8=M,Y_e=dlt((Sdt(),Sst(Ux(W_e,1),LKt,437,0,[q_e,H_e,U_e])))}function A8(){A8=M,xSe=dlt((cht(),Sst(Ux(TSe,1),LKt,334,0,[mSe,wSe,ySe])))}function E8(){E8=M,KCe=dlt((Ret(),Sst(Ux(tSe,1),LKt,272,0,[GCe,YCe,ZCe])))}function T8(){return V_t(),Sst(Ux(oIe,1),LKt,98,0,[VSe,XSe,KSe,YSe,WSe,ZSe])}function C8(t,e){return!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),apt(t.o,e)}function S8(t){return!t.g&&(t.g=new uc),!t.g.d&&(t.g.d=new fw(t)),t.g.d}function I8(t){return!t.g&&(t.g=new uc),!t.g.a&&(t.g.a=new dw(t)),t.g.a}function M8(t){return!t.g&&(t.g=new uc),!t.g.b&&(t.g.b=new hw(t)),t.g.b}function D8(t){return!t.g&&(t.g=new uc),!t.g.c&&(t.g.c=new gw(t)),t.g.c}function O8(t,e,n){var i,r;for(r=new Oot(e,t),i=0;i<n;++i)omt(r);return r}function L8(t,e,n){var i,r;if(null!=n)for(i=0;i<e;++i)r=n[i],t.fi(i,r)}function N8(t,e,n,i){var r;return O$t(r=P8(DNe,hXt,25,e+1,15,1),t,e,n,i),r}function P8(t,e,n,i,r,a){var o;return o=qyt(r,i),10!=r&&Sst(Ux(t,a),e,n,r,o),o}function B8(t,e,n,i){return n&&(i=n.gh(e,Ogt(n.Tg(),t.c.Lj()),null,i)),i}function F8(t,e,n,i){return n&&(i=n.ih(e,Ogt(n.Tg(),t.c.Lj()),null,i)),i}function R8(t,e,n){zz(t.b,65),zz(t.b,65),zz(t.b,65),Det(t.a,new Nj(n,e,t))}function j8(t,e,n){if(t<0||e>n||e<t)throw qw(new Mx(vVt+t+kVt+e+hVt+n))}function $8(t){if(!t)throw qw(new $v("Unable to add element to queue"))}function z8(t){t?(this.c=t,this.b=null):(this.c=null,this.b=new Nw)}function q8(t,e){CT.call(this,t,e),this.a=P8(Rne,kKt,436,2,0,1),this.b=!0}function H8(t){ect.call(this,t,0),kP(this),this.d.b=this.d,this.d.a=this.d}function U8(t){var e;return 0==(e=t.b).b?null:zz(Fwt(e,0),188).b}function G8(t,e){var n;return(n=new H).c=!0,n.d=e.dd(),QUt(t,e.cd(),n)}function Y8(t,e){var n;n=t.q.getHours()+(e/3600|0),t.q.setSeconds(e),dzt(t,n)}function Z8(t,e,n){var i;(i=t.b[n.c.p][n.p]).b+=e.b,i.c+=e.c,i.a+=e.a,++i.a}function W8(t,e){var i,r;return i=t.a-e.a,r=t.b-e.b,n.Math.sqrt(i*i+r*r)}function K8(){K8=M,ale=new _C("QUADRATIC",0),ole=new _C("SCANLINE",1)}function X8(){X8=M,yye=WU(pH(new z2,(xEt(),Foe),(dWt(),xce)),zoe,Hce)}function V8(){return p_t(),Sst(Ux(HCe,1),LKt,291,0,[JEe,QEe,VEe,KEe,WEe,XEe])}function Q8(){return pmt(),Sst(Ux(tTe,1),LKt,248,0,[SEe,DEe,OEe,LEe,IEe,MEe])}function J8(){return LCt(),Sst(Ux(sle,1),LKt,227,0,[Jue,ele,Que,tle,nle,Vue])}function t7(){return JEt(),Sst(Ux(yhe,1),LKt,275,0,[ahe,nhe,ohe,rhe,ihe,ehe])}function e7(){return qkt(),Sst(Ux(she,1),LKt,274,0,[Xle,Kle,Qle,Wle,Vle,Zle])}function n7(){return EAt(),Sst(Ux(cme,1),LKt,313,0,[eme,Jwe,Vwe,Qwe,nme,tme])}function i7(){return wTt(),Sst(Ux(Gle,1),LKt,276,0,[Ble,Ple,Rle,Fle,$le,jle])}function r7(){return FCt(),Sst(Ux(jxe,1),LKt,327,0,[Xve,Yve,Wve,Zve,Kve,Gve])}function a7(){return dIt(),Sst(Ux(IIe,1),LKt,273,0,[rIe,nIe,iIe,eIe,tIe,aIe])}function o7(){return eEt(),Sst(Ux(vSe,1),LKt,312,0,[oSe,rSe,sSe,nSe,aSe,iSe])}function s7(){return cTt(),Sst(Ux(Ose,1),LKt,267,0,[Sse,Cse,Ese,Ise,Tse,Ase])}function c7(t){EP(!!t.c),w2(t.e,t),t.c.Qb(),t.c=null,t.b=bst(t),dB(t.e,t)}function u7(t){return w2(t.c.a.e,t),CP(t.b!=t.c.a.d),t.a=t.b,t.b=t.b.a,t.a}function l7(t){var e;return t.a||-1==t.b||(e=t.c.Tg(),t.a=iet(e,t.b)),t.a}function h7(t,e){return!(t.hi()&&t.Hc(e)||(t.Yh(e),0))}function f7(t,e){return MV(e,"Horizontal alignment cannot be null"),t.b=e,t}function d7(t,e,n){var i;return pWt(),i=tZt(t,e),n&&i&&bW(t)&&(i=null),i}function g7(t,e,n){var i;for(i=t.Kc();i.Ob();)tRt(zz(i.Pb(),37),e,n)}function p7(t,e){var n;for(n=e.Kc();n.Ob();)LRt(t,zz(n.Pb(),37),0,0)}function b7(t,e,i){var r;t.d[e.g]=i,(r=t.g.c)[e.g]=n.Math.max(r[e.g],i+1)}function w7(t,e){var n,i,r;return r=t.r,i=t.d,(n=oqt(t,e,!0)).b!=r||n.a!=i}function m7(t,e){return fT(t.e,e)||Jbt(t.e,e,new rwt(e)),zz(ftt(t.e,e),113)}function y7(t,e,n,i){return xW(t),xW(e),xW(n),xW(i),new kY(t,e,new U)}function v7(t,e,n,i){this.rj(),this.a=e,this.b=t,this.c=new JG(this,e,n,i)}function x7(t,e,n,i,r,a){q2.call(this,e,i,r,a),$l(this),this.c=t,this.b=n}function k7(t,e,n,i,r,a){q2.call(this,e,i,r,a),$l(this),this.c=t,this.a=n}function _7(t,e,n){var i,r;r=null,(i=GQ(t,n))&&(r=xCt(i)),Wbt(e,n,r)}function A7(t,e,n){var i,r;r=null,(i=GQ(t,n))&&(r=xCt(i)),Wbt(e,n,r)}function E7(t,e,n){var i;return(i=LOt(t.b,e))?Pqt($9(t,i),n):null}function T7(t,e){var n;return(n=t.Yg(e))>=0?t._g(n,!0,!0):oMt(t,e,!0)}function C7(t,e){return Sft(Uv(EB(vEt(t,(hWt(),Afe)))),Uv(EB(vEt(e,Afe))))}function S7(){S7=M,Yxe=ubt(ubt($E(new z2,(Yvt(),Rve)),(FCt(),Xve)),Yve)}function I7(t,e,n){var i;return i=Pct(t,e,n),t.b=new vrt(i.c.length),lBt(t,i)}function M7(t){if(t.b<=0)throw qw(new vm);return--t.b,t.a-=t.c.c,rft(t.a)}function D7(t){var e;if(!t.a)throw qw(new fK);return e=t.a,t.a=QQ(t.a),e}function O7(t){for(;!t.a;)if(!AR(t.c,new wg(t)))return!1;return!0}function L7(t){return vZ(t),aL(t,198)?zz(t,198):new cf(t)}function N7(t){P7(),zz(t.We((lWt(),hCe)),174).Fc((dIt(),iIe)),t.Ye(lCe,null)}function P7(){P7=M,eEe=new gs,iEe=new ps,nEe=yut((lWt(),lCe),eEe,HTe,iEe)}function B7(){B7=M,ake=new wS("LEAF_NUMBER",0),oke=new wS("NODE_SIZE",1)}function F7(t,e,n){t.a=e,t.c=n,t.b.a.$b(),vX(t.d),t.e.a.c=P8(Ote,HWt,1,0,5,1)}function R7(t){t.a=P8(DNe,hXt,25,t.b+1,15,1),t.c=P8(DNe,hXt,25,t.b,15,1),t.d=0}function j7(t,e){t.a.ue(e.d,t.b)>0&&(Wz(t.c,new yq(e.c,e.d,t.d)),t.b=e.d)}function $7(t,e){if(null==t.g||e>=t.i)throw qw(new LM(e,t.i));return t.g[e]}function z7(t,e,n){if(But(t,n),null!=n&&!t.wj(n))throw qw(new fm);return n}function q7(t){var e;if(t.Ek())for(e=t.i-1;e>=0;--e)Ket(t,e);return N3(t)}function H7(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[0];)n=e;return n}function U7(t,e){var n;return a4(e),(n=y9(t.slice(0,e),t)).length=e,n}function G7(t,e,n,i){CX(),i=i||gne,wSt(t.slice(e,n),t,e,n,-e,i)}function Y7(t,e,n,i,r){return e<0?oMt(t,n,i):zz(n,66).Nj().Pj(t,t.yh(),e,i,r)}function Z7(t){return aL(t,172)?""+zz(t,172).a:null==t?null:qdt(t)}function W7(t){return aL(t,172)?""+zz(t,172).a:null==t?null:qdt(t)}function K7(t,e){if(e.a)throw qw(new pv(MVt));AY(t.a,e),e.a=t,!t.j&&(t.j=e)}function X7(t,e){mM.call(this,e.rd(),-16449&e.qd()),xW(t),this.a=t,this.c=e}function V7(t,e){var n,i;return i=e/t.c.Hd().gc()|0,n=e%t.c.Hd().gc(),Y6(t,i,n)}function Q7(){Q7=M,Vie=new UT(oQt,0),Xie=new UT(iQt,1),Qie=new UT(sQt,2)}function J7(){J7=M,Nne=new bT("All",0),Pne=new LD,Bne=new DO,Fne=new ND}function t9(){t9=M,jne=dlt((J7(),Sst(Ux($ne,1),LKt,297,0,[Nne,Pne,Bne,Fne])))}function e9(){e9=M,rse=dlt((Ost(),Sst(Ux(pse,1),LKt,405,0,[Joe,nse,tse,ese])))}function n9(){n9=M,jre=dlt((Fot(),Sst(Ux(Ure,1),LKt,406,0,[Fre,Nre,Pre,Bre])))}function i9(){i9=M,Gre=dlt((Hwt(),Sst(Ux(Yre,1),LKt,323,0,[zre,$re,qre,Hre])))}function r9(){r9=M,iae=dlt((Uwt(),Sst(Ux(aae,1),LKt,394,0,[Jre,Qre,tae,eae])))}function a9(){a9=M,qve=dlt((Yvt(),Sst(Ux(Hve,1),LKt,393,0,[Fve,Rve,jve,$ve])))}function o9(){o9=M,cue=dlt((Mst(),Sst(Ux(wue,1),LKt,360,0,[oue,rue,aue,iue])))}function s9(){s9=M,Gke=dlt((Dyt(),Sst(Ux(Kke,1),LKt,340,0,[Hke,zke,qke,$ke])))}function c9(){c9=M,_ue=dlt((Dst(),Sst(Ux(Iue,1),LKt,411,0,[mue,yue,vue,xue])))}function u9(){u9=M,pme=dlt((gmt(),Sst(Ux(xme,1),LKt,197,0,[fme,dme,hme,lme])))}function l9(){l9=M,hMe=dlt((qut(),Sst(Ux(gMe,1),LKt,396,0,[sMe,cMe,oMe,uMe])))}function h9(){h9=M,CSe=dlt((Wvt(),Sst(Ux(FSe,1),LKt,285,0,[ESe,kSe,_Se,ASe])))}function f9(){f9=M,eSe=dlt((Tdt(),Sst(Ux(cSe,1),LKt,218,0,[JCe,VCe,XCe,QCe])))}function d9(){d9=M,rMe=dlt((zgt(),Sst(Ux(aMe,1),LKt,311,0,[nMe,JIe,eMe,tMe])))}function g9(){g9=M,zIe=dlt((vpt(),Sst(Ux(VIe,1),LKt,374,0,[RIe,jIe,FIe,BIe])))}function p9(){p9=M,Uzt(),qLe=RXt,zLe=jXt,ULe=new Nd(RXt),HLe=new Nd(jXt)}function b9(){b9=M,Ule=new MC(VJt,0),Hle=new MC("IMPROVE_STRAIGHTNESS",1)}function w9(t,e){return lq(),Wz(t,new rI(e,rft(e.e.c.length+e.g.c.length)))}function m9(t,e){return lq(),Wz(t,new rI(e,rft(e.e.c.length+e.g.c.length)))}function y9(t,e){return 10!=mtt(e)&&Sst(nut(e),e.hm,e.__elementTypeId$,mtt(e),t),t}function v9(t,e){var n;return-1!=(n=_9(t,e,0))&&(u6(t,n),!0)}function x9(t,e){var n;return(n=zz(m6(t.e,e),387))?(Fq(n),n.e):null}function k9(t){var e;return QM(t)&&(e=0-t,!isNaN(e))?e:cot(sct(t))}function _9(t,e,n){for(;n<t.c.length;++n)if(aK(e,t.c[n]))return n;return-1}function A9(t,e,n){var i;return _W(t),(i=new ct).a=e,t.a.Nb(new IT(i,n)),i.a}function E9(t){var e;return _W(t),e=P8(PNe,UXt,25,0,15,1),b_(t.a,new gg(e)),e}function T9(t){var e;return e=zz(PH(t.j,0),11),zz(vEt(e,(hWt(),pfe)),11)}function C9(t){var e;if(!trt(t))throw qw(new vm);return t.e=1,e=t.d,t.d=null,e}function S9(t,e){var n;this.f=t,this.b=e,n=zz(FZ(t.b,e),283),this.c=n?n.b:null}function I9(){Uj(),this.b=new Pw,this.f=new Pw,this.g=new Pw,this.e=new Pw}function M9(t,e){this.a=P8(Mse,s1t,10,t.a.c.length,0,1),Vbt(t.a,this.a),this.b=e}function D9(t){var e;for(e=t.p+1;e<t.c.a.c.length;++e)--zz(PH(t.c.a,e),10).p}function O9(t){var e;null!=(e=t.Ai())&&-1!=t.d&&zz(e,92).Ng(t),t.i&&t.i.Fi()}function L9(t){KO(this),this.g=t?SV(t,t.$d()):null,this.f=t,kX(this),this._d()}function N9(t,e,n,i,r,a,o){kit.call(this,e,i,r,a,o),$l(this),this.c=t,this.b=n}function P9(t,e,n,i,r){return xW(t),xW(e),xW(n),xW(i),xW(r),new kY(t,e,i)}function B9(t,e){if(e<0)throw qw(new Dv(e5t+e));return b3(t,e+1),PH(t.j,e)}function F9(t,e,n,i){if(!t)throw qw(new jv(LFt(e,Sst(Ux(Ote,1),HWt,1,5,[n,i]))))}function R9(t,e){return aK(e,PH(t.f,0))||aK(e,PH(t.f,1))||aK(e,PH(t.f,2))}function j9(t,e){LR(zz(zz(t.f,33).We((lWt(),sCe)),98))&&Vdt(vK(zz(t.f,33)),e)}function $9(t,e){var n,i;return!(i=(n=zz(e,675)).Oh())&&n.Rh(i=new FI(t,e)),i}function z9(t,e){var n,i;return!(i=(n=zz(e,677)).pk())&&n.tk(i=new R0(t,e)),i}function q9(t){return t.b||(t.b=new QU(t,KDe,t),!t.a&&(t.a=new cF(t,t))),t.b}function H9(){H9=M,Moe=new WT("XY",0),Ioe=new WT("X",1),Doe=new WT("Y",2)}function U9(){U9=M,are=new GT("TOP",0),rre=new GT(iQt,1),ire=new GT(uQt,2)}function G9(){G9=M,Che=new PC(VJt,0),She=new PC("TOP",1),The=new PC(uQt,2)}function Y9(){Y9=M,Rme=new UC("INPUT_ORDER",0),jme=new UC("PORT_DEGREE",1)}function Z9(){Z9=M,gee=EO(CXt,CXt,524287),pee=EO(0,0,IXt),bee=$5(1),$5(2),wee=$5(0)}function W9(t,e,n){t.a.c=P8(Ote,HWt,1,0,5,1),WHt(t,e,n),0==t.a.c.length||fjt(t,e)}function K9(t){var e,n;return VY(t,0,n=t.length,e=P8(MNe,KKt,25,n,15,1),0),e}function X9(t){var e;return t.dh()||(e=dZ(t.Tg())-t.Ah(),t.ph().bk(e)),t.Pg()}function V9(t){var e;return null==(e=int(xot(t,32)))&&(fbt(t),e=int(xot(t,32))),e}function Q9(t,e){var n;return(n=Ogt(t.d,e))>=0?tmt(t,n,!0,!0):oMt(t,e,!0)}function J9(t,e){var n,i;return EE(),n=h3(t),i=h3(e),!!n&&!!i&&!jwt(n.k,i.k)}function ttt(t,e){Snt(t,null==e||WR((xW(e),e))||isNaN((xW(e),e))?0:(xW(e),e))}function ett(t,e){Int(t,null==e||WR((xW(e),e))||isNaN((xW(e),e))?0:(xW(e),e))}function ntt(t,e){Cnt(t,null==e||WR((xW(e),e))||isNaN((xW(e),e))?0:(xW(e),e))}function itt(t,e){Tnt(t,null==e||WR((xW(e),e))||isNaN((xW(e),e))?0:(xW(e),e))}function rtt(t){(this.q?this.q:(TX(),TX(),hne)).Ac(t.q?t.q:(TX(),TX(),hne))}function att(t,e){return aL(e,99)&&0!=(zz(e,18).Bb&qXt)?new PM(e,t):new Oot(e,t)}function ott(t,e){return aL(e,99)&&0!=(zz(e,18).Bb&qXt)?new PM(e,t):new Oot(e,t)}function stt(t,e){Kre=new ne,nae=e,zz((Wre=t).b,65),R8(Wre,Kre,null),cHt(Wre)}function ctt(t,e,n){var i;return i=t.g[e],kL(t,e,t.oi(e,n)),t.gi(e,n,i),t.ci(),i}function utt(t,e){var n;return(n=t.Xc(e))>=0&&(t.$c(n),!0)}function ltt(t){var e;return t.d!=t.r&&(e=Mxt(t),t.e=!!e&&e.Cj()==A7t,t.d=e),t.e}function htt(t,e){var n;for(vZ(t),vZ(e),n=!1;e.Ob();)n|=t.Fc(e.Pb());return n}function ftt(t,e){var n;return(n=zz(FZ(t.e,e),387))?(sL(t,n),n.e):null}function dtt(t){var e,n;return e=t/60|0,0==(n=t%60)?""+e:e+":"+n}function gtt(t,e){return Vft(t),new FH(t,new RR(new E6(e,t.a)))}function ptt(t,e){var n=t.a[e],i=(tct(),fee)[typeof n];return i?i(n):klt(typeof n)}function btt(t){switch(t.g){case 0:return FWt;case 1:return-1;default:return 0}}function wtt(t){return jxt(t,(Z9(),wee))<0?-SN(sct(t)):t.l+t.m*MXt+t.h*DXt}function mtt(t){return null==t.__elementTypeCategory$?10:t.__elementTypeCategory$}function ytt(t){var e;return null!=(e=0==t.b.c.length?null:PH(t.b,0))&&hrt(t,0),e}function vtt(t,e){for(;e[0]<t.length&&UM(" \t\r\n",QAt(hK(t,e[0])))>=0;)++e[0]}function xtt(t,e){this.e=e,this.a=Xot(t),this.a<54?this.f=k2(t):this.c=ewt(t)}function ktt(t,e,n,i){pWt(),Dw.call(this,26),this.c=t,this.a=e,this.d=n,this.b=i}function _tt(t,e,n){var i,r;for(i=10,r=0;r<n-1;r++)e<i&&(t.a+="0"),i*=10;t.a+=e}function Att(t,e){var n;for(n=0;t.e!=t.i.gc();)bH(e,kwt(t),rft(n)),n!=FWt&&++n}function Ett(t,e){var n;for(++t.d,++t.c[e],n=e+1;n<t.a.length;)++t.a[n],n+=n&-n}function Ttt(t,e){var n,i,r;r=e.c.i,i=(n=zz(FZ(t.f,r),57)).d.c-n.e.c,Qrt(e.a,i,0)}function Ctt(t){var e,n;return e=t+128,!(n=(kH(),_ee)[e])&&(n=_ee[e]=new Od(t)),n}function Stt(t,e){var n;return xW(e),Ptt(!!(n=t[":"+e]),Sst(Ux(Ote,1),HWt,1,5,[e])),n}function Itt(t){var e,n;if(t.b){n=null;do{e=t.b,t.b=null,n=lCt(e,n)}while(t.b);t.b=n}}function Mtt(t){var e,n;if(t.a){n=null;do{e=t.a,t.a=null,n=lCt(e,n)}while(t.a);t.a=n}}function Dtt(t){var e;for(++t.a,e=t.c.a.length;t.a<e;++t.a)if(t.c.b[t.a])return}function Ott(t,e){var n,i;for(n=(i=e.c)+1;n<=e.f;n++)t.a[n]>t.a[i]&&(i=n);return i}function Ltt(t,e){var n;return 0==(n=Mdt(t.e.c,e.e.c))?Sft(t.e.d,e.e.d):n}function Ntt(t,e){return 0==e.e||0==t.e?ine:(LMt(),ONt(t,e))}function Ptt(t,e){if(!t)throw qw(new jv(QNt("Enum constant undefined: %s",e)))}function Btt(){Btt=M,sse=new Ee,cse=new _e,ase=new Me,ose=new De,use=new Oe}function Ftt(){Ftt=M,mie=new zT("BY_SIZE",0),yie=new zT("BY_SIZE_AND_SHAPE",1)}function Rtt(){Rtt=M,Bae=new ZT("EADES",0),Fae=new ZT("FRUCHTERMAN_REINGOLD",1)}function jtt(){jtt=M,Tle=new CC("READING_DIRECTION",0),Cle=new CC("ROTATION",1)}function $tt(){$tt=M,Ele=dlt((Xmt(),Sst(Ux(Sle,1),LKt,335,0,[vle,yle,kle,_le,xle])))}function ztt(){ztt=M,kme=dlt((Pmt(),Sst(Ux(Dme,1),LKt,315,0,[vme,wme,mme,bme,yme])))}function qtt(){qtt=M,Mue=dlt((N_t(),Sst(Ux(Rue,1),LKt,363,0,[Eue,Cue,Sue,Tue,Aue])))}function Htt(){Htt=M,Gfe=dlt((Edt(),Sst(Ux(ime,1),LKt,163,0,[Hfe,jfe,$fe,zfe,qfe])))}function Utt(){Utt=M,uAe=dlt((LTt(),Sst(Ux(GAe,1),LKt,316,0,[iAe,rAe,sAe,aAe,oAe])))}function Gtt(){Gtt=M,dEe=dlt((awt(),Sst(Ux(kEe,1),LKt,175,0,[lEe,uEe,sEe,hEe,cEe])))}function Ytt(){Ytt=M,z_e=dlt((QLt(),Sst(Ux(G_e,1),LKt,355,0,[B_e,P_e,R_e,F_e,j_e])))}function Ztt(){Ztt=M,Hoe=dlt((xEt(),Sst(Ux(Yoe,1),LKt,356,0,[Foe,Roe,joe,$oe,zoe])))}function Wtt(){Wtt=M,UCe=dlt((zht(),Sst(Ux(WCe,1),LKt,103,0,[zCe,$Ce,jCe,RCe,qCe])))}function Ktt(){Ktt=M,GSe=dlt((owt(),Sst(Ux(QSe,1),LKt,249,0,[zSe,HSe,jSe,$Se,qSe])))}function Xtt(){Xtt=M,MIe=dlt((kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])))}function Vtt(t,e){var n;return(n=zz(FZ(t.a,e),134))||(n=new Qt,KW(t.a,e,n)),n}function Qtt(t){var e;return!!(e=zz(vEt(t,(hWt(),Fhe)),305))&&e.a==t}function Jtt(t){var e;return!!(e=zz(vEt(t,(hWt(),Fhe)),305))&&e.i==t}function tet(t,e){return xW(e),BG(t),!!t.d.Ob()&&(e.td(t.d.Pb()),!0)}function eet(t){return Xlt(t,FWt)>0?FWt:Xlt(t,$Kt)<0?$Kt:pU(t)}function net(t){return t<3?(dit(t,MKt),t+1):t<DKt?SQ(t/.75+1):FWt}function iet(t,e){var n;return null==t.i&&U$t(t),n=t.i,e>=0&&e<n.length?n[e]:null}function ret(t,e,n){var i;if(null==e)throw qw(new bm);return i=GQ(t,e),i4(t,e,n),i}function aet(t){return t.a>=-.01&&t.a<=fQt&&(t.a=0),t.b>=-.01&&t.b<=fQt&&(t.b=0),t}function oet(t,e){return e==(aj(),aj(),Ene)?t.toLocaleLowerCase():t.toLowerCase()}function set(t){return(0!=(2&t.i)?"interface ":0!=(1&t.i)?"":"class ")+(_B(t),t.o)}function cet(t){var e;e=new Oy,h7((!t.q&&(t.q=new nY(XDe,t,11,10)),t.q),e)}function uet(t,e){var n;return n=e>0?e-1:e,Ok(Lk(znt(Lq(new Zy,n),t.n),t.j),t.k)}function het(t,e,n,i){t.j=-1,UMt(t,ACt(t,e,n),(JE(),zz(e,66).Mj().Ok(i)))}function fet(t){this.g=t,this.f=new Nw,this.a=n.Math.min(this.g.c.c,this.g.d.c)}function det(t){this.b=new Nw,this.a=new Nw,this.c=new Nw,this.d=new Nw,this.e=t}function get(t,e){this.a=new Pw,this.e=new Pw,this.b=(Tlt(),sme),this.c=t,this.b=e}function pet(t,e,n){NF.call(this),Bet(this),this.a=t,this.c=n,this.b=e.d,this.f=e.e}function bet(t){this.d=t,this.c=t.c.vc().Kc(),this.b=null,this.a=null,this.e=(rv(),Yte)}function wet(t){if(t<0)throw qw(new jv("Illegal Capacity: "+t));this.g=this.ri(t)}function met(t,e){if(0>t||t>e)throw qw(new Ax("fromIndex: 0, toIndex: "+t+hVt+e))}function yet(t){var e;if(t.a==t.b.a)throw qw(new vm);return e=t.a,t.c=e,t.a=t.a.e,e}function vet(t){var e;EP(!!t.c),e=t.c.a,Oet(t.d,t.c),t.b==t.c?t.b=e:--t.a,t.c=null}function xet(t,e){var n;return Vft(t),n=new mX(t,t.a.rd(),4|t.a.qd(),e),new FH(t,n)}function ket(t,e){var n,i;return(n=zz(dht(t.d,e),14))?(i=e,t.e.pc(i,n)):null}function _et(t,e){var n;for(n=t.Kc();n.Ob();)hct(zz(n.Pb(),70),(hWt(),sfe),e)}function Aet(t){var e;return(e=Uv(EB(vEt(t,(HZt(),obe)))))<0&&hct(t,obe,e=0),e}function Eet(t,e,i){var r;zxt(i,r=n.Math.max(0,t.b/2-.5),1),Wz(e,new iC(i,r))}function Tet(t,e,n){return SQ(qq(t.a.e[zz(e.a,10).p]-t.a.e[zz(n.a,10).p]))}function Cet(t,e,n,i,r,a){var o;TJ(o=W5(i),r),EJ(o,a),JIt(t.a,i,new Lj(o,e,n.f))}function Set(t,e){var n;if(!(n=PNt(t.Tg(),e)))throw qw(new jv(a6t+e+c6t));return n}function Iet(t,e){var n;for(n=t;QQ(n);)if((n=QQ(n))==e)return!0;return!1}function Met(t,e){var n,i,r;for(i=e.a.cd(),n=zz(e.a.dd(),14).gc(),r=0;r<n;r++)t.td(i)}function Det(t,e){var n,i,r,a;for(xW(e),r=0,a=(i=t.c).length;r<a;++r)n=i[r],e.td(n)}function Oet(t,e){var n;return n=e.c,e.a.b=e.b,e.b.a=e.a,e.a=e.b=null,e.c=null,--t.b,n}function Let(t,e){return!(!e||t.b[e.g]!=e||(OZ(t.b,e.g,null),--t.c,0))}function Net(t,e){return!!tat(t,e,pU(odt(CKt,rK(pU(odt(null==e?0:eut(e),SKt)),15))))}function Pet(t,e){LR(zz(vEt(zz(t.e,10),(HZt(),nwe)),98))&&(TX(),yO(zz(t.e,10).j,e))}function Bet(t){t.b=(Q7(),Xie),t.f=(U9(),rre),t.d=(dit(2,OKt),new Q6(2)),t.e=new Uk}function Fet(){Fet=M,Uie=new HT("BEGIN",0),Gie=new HT(iQt,1),Yie=new HT("END",2)}function Ret(){Ret=M,GCe=new jS(iQt,0),YCe=new jS("HEAD",1),ZCe=new jS("TAIL",2)}function jet(){return hDt(),Sst(Ux(oDe,1),LKt,237,0,[iDe,tDe,eDe,JMe,nDe,VMe,XMe,QMe])}function $et(){return SCt(),Sst(Ux(TEe,1),LKt,277,0,[xEe,gEe,mEe,vEe,pEe,bEe,wEe,yEe])}function zet(){return kBt(),Sst(Ux(ile,1),LKt,270,0,[zue,Uue,$ue,Zue,Hue,que,Yue,Gue])}function qet(){return lNt(),Sst(Ux(Bme,1),LKt,260,0,[Ime,Ame,Cme,Eme,Tme,_me,Sme,Mme])}function Het(){Het=M,JSe=dlt((V_t(),Sst(Ux(oIe,1),LKt,98,0,[VSe,XSe,KSe,YSe,WSe,ZSe])))}function Uet(){Uet=M,tre=(Fet(),Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])).length,Jie=tre}function Get(t){this.b=(vZ(t),new ej(t)),this.a=new Nw,this.d=new Nw,this.e=new Uk}function Yet(t){var e;return(e=n.Math.sqrt(t.a*t.a+t.b*t.b))>0&&(t.a/=e,t.b/=e),t}function Zet(t){var e;return t.w?t.w:((e=K1(t))&&!e.kh()&&(t.w=e),e)}function Wet(t){var e;return null==t?null:XAt(e=zz(t,190),e.length)}function Ket(t,e){if(null==t.g||e>=t.i)throw qw(new LM(e,t.i));return t.li(e,t.g[e])}function Xet(t){var e,n;for(e=t.a.d.j,n=t.c.d.j;e!=n;)urt(t.b,e),e=Tft(e);urt(t.b,e)}function Vet(t){var e;for(e=0;e<t.c.length;e++)(f1(e,t.c.length),zz(t.c[e],11)).p=e}function Qet(t,e,n){var i,r,a;for(r=e[n],i=0;i<r.length;i++)a=r[i],t.e[a.c.p][a.p]=i}function Jet(t,e){var n,i,r,a;for(r=0,a=(i=t.d).length;r<a;++r)n=i[r],fL(t.g,n).a=e}function tnt(t,e){var n;for(n=lwt(t,0);n.b!=n.d.c;)YF(zz(d3(n),8),e);return t}function ent(t,e){return ZF(zO(zz(FZ(t.g,e),8)),jO(zz(FZ(t.f,e),460).b))}function nnt(t){var e;return w2(t.e,t),CP(t.b),t.c=t.a,e=zz(t.a.Pb(),42),t.b=bst(t),e}function int(t){var e;return Qq(null==t||Array.isArray(t)&&!((e=mtt(t))>=14&&e<=16)),t}function rnt(t,e,n){var i=function(){return t.apply(i,arguments)};return e.apply(i,n),i}function ant(t,e,n){var i,r;i=e;do{r=Uv(t.p[i.p])+n,t.p[i.p]=r,i=t.a[i.p]}while(i!=e)}function ont(t,e){var n,i;i=t.a,n=Vht(t,e,null),i!=e&&!t.e&&(n=sGt(t,e,n)),n&&n.Fi()}function snt(t,e){return lO(),ait(jKt),n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)}function cnt(t,e){return lO(),ait(jKt),n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)}function unt(t,e){return $Et(),_O(t.b.c.length-t.e.c.length,e.b.c.length-e.e.c.length)}function lnt(t,e){return Jk(Jrt(t,e,pU(odt(CKt,rK(pU(odt(null==e?0:eut(e),SKt)),15)))))}function hnt(){hnt=M,Dse=dlt((cTt(),Sst(Ux(Ose,1),LKt,267,0,[Sse,Cse,Ese,Ise,Tse,Ase])))}function fnt(){fnt=M,eTe=dlt((p_t(),Sst(Ux(HCe,1),LKt,291,0,[JEe,QEe,VEe,KEe,WEe,XEe])))}function dnt(){dnt=M,PEe=dlt((pmt(),Sst(Ux(tTe,1),LKt,248,0,[SEe,DEe,OEe,LEe,IEe,MEe])))}function gnt(){gnt=M,rle=dlt((LCt(),Sst(Ux(sle,1),LKt,227,0,[Jue,ele,Que,tle,nle,Vue])))}function pnt(){pnt=M,che=dlt((JEt(),Sst(Ux(yhe,1),LKt,275,0,[ahe,nhe,ohe,rhe,ihe,ehe])))}function bnt(){bnt=M,the=dlt((qkt(),Sst(Ux(she,1),LKt,274,0,[Xle,Kle,Qle,Wle,Vle,Zle])))}function wnt(){wnt=M,rme=dlt((EAt(),Sst(Ux(cme,1),LKt,313,0,[eme,Jwe,Vwe,Qwe,nme,tme])))}function mnt(){mnt=M,qle=dlt((wTt(),Sst(Ux(Gle,1),LKt,276,0,[Ble,Ple,Rle,Fle,$le,jle])))}function ynt(){ynt=M,Qve=dlt((FCt(),Sst(Ux(jxe,1),LKt,327,0,[Xve,Yve,Wve,Zve,Kve,Gve])))}function vnt(){vnt=M,sIe=dlt((dIt(),Sst(Ux(IIe,1),LKt,273,0,[rIe,nIe,iIe,eIe,tIe,aIe])))}function xnt(){xnt=M,uSe=dlt((eEt(),Sst(Ux(vSe,1),LKt,312,0,[oSe,rSe,sSe,nSe,aSe,iSe])))}function knt(){return eOt(),Sst(Ux(USe,1),LKt,93,0,[ISe,SSe,DSe,BSe,PSe,NSe,OSe,LSe,MSe])}function _nt(t,e){var n;n=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,0,n,t.a))}function Ant(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,1,n,t.b))}function Ent(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,3,n,t.b))}function Tnt(t,e){var n;n=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,3,n,t.f))}function Cnt(t,e){var n;n=t.g,t.g=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,4,n,t.g))}function Snt(t,e){var n;n=t.i,t.i=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,5,n,t.i))}function Int(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,6,n,t.j))}function Mnt(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,1,n,t.j))}function Dnt(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,4,n,t.c))}function Ont(t,e){var n;n=t.k,t.k=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,2,n,t.k))}function Lnt(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new f4(t,2,n,t.d))}function Nnt(t,e){var n;n=t.s,t.s=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new f4(t,4,n,t.s))}function Pnt(t,e){var n;n=t.t,t.t=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new f4(t,5,n,t.t))}function Bnt(t,e){var n;n=t.F,t.F=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,5,n,e))}function Fnt(t,e){var n;return(n=zz(FZ((tT(),yDe),t),55))?n.xj(e):P8(Ote,HWt,1,e,5,1)}function Rnt(t,e){var n;return e in t.a&&(n=GQ(t,e).he())?n.a:null}function jnt(t,e){var n,i;return e_(),i=new cc,!!e&&MNt(i,e),Bit(n=i,t),n}function $nt(t,e,n){if(But(t,n),!t.Bk()&&null!=n&&!t.wj(n))throw qw(new fm);return n}function znt(t,e){return t.n=e,t.n?(t.f=new Nw,t.e=new Nw):(t.f=null,t.e=null),t}function qnt(t,e,n,i,r,a){var o;return Vnt(n,o=yZ(t,e)),o.i=r?8:0,o.f=i,o.e=r,o.g=a,o}function Hnt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=t,this.a=n}function Unt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=t,this.a=n}function Gnt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=t,this.a=n}function Ynt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=t,this.a=n}function Znt(t,e,n,i,r){this.d=e,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=t,this.a=n}function Wnt(t,e){var n,i,r,a;for(r=0,a=(i=e).length;r<a;++r)n=i[r],K7(t.a,n);return t}function Knt(t){var e,n,i;for(n=0,i=(e=t).length;n<i;++n)vZ(e[n]);return new DM(t)}function Xnt(t){var e=/function(?:\s+([\w$]+))?\s*\(/.exec(t);return e&&e[1]||YKt}function Vnt(t,e){if(t){e.n=t;var n=YQ(e);n?n.gm=e:CWt[t]=[e]}}function Qnt(t,e,i){var r;return r=t.length,$St(t,0,e,0,n.Math.min(i,r),!0),e}function Jnt(t,e,n){var i,r;for(r=e.Kc();r.Ob();)i=zz(r.Pb(),79),AY(t,zz(n.Kb(i),33))}function tit(){V_();for(var t=SWt,e=0;e<arguments.length;e++)t.push(arguments[e])}function eit(t,e){var n,i,r;for(i=0,r=(n=e).length;i<r;++i)r5(t,n[i],t.c.b,t.c)}function nit(t,e){t.b=n.Math.max(t.b,e.d),t.e+=e.r+(0==t.a.c.length?0:t.c),Wz(t.a,e)}function iit(t){EP(t.c>=0),abt(t.d,t.c)<0&&(t.a=t.a-1&t.d.a.length-1,t.b=t.d.c),t.c=-1}function rit(t){return t.a<54?t.f<0?-1:t.f>0?1:0:(!t.c&&(t.c=xlt(t.f)),t.c).e}function ait(t){if(!(t>=0))throw qw(new jv("tolerance ("+t+") must be >= 0"));return t}function oit(){return aEe||kut(aEe=new DFt,Sst(Ux(jie,1),HWt,130,0,[new Lh])),aEe}function sit(){sit=M,Ume=new GC(hQt,0),qme=new GC("INPUT",1),Hme=new GC("OUTPUT",2)}function cit(){cit=M,gle=new EC("ARD",0),ble=new EC("MSD",1),ple=new EC("MANUAL",2)}function uit(){uit=M,Mye=new VC("BARYCENTER",0),Dye=new VC(A1t,1),Oye=new VC(E1t,2)}function lit(t,e){var n;if(n=t.gc(),e<0||e>n)throw qw(new eR(e,n));return new FR(t,e)}function hit(t,e){var n;return aL(e,42)?t.c.Mc(e):(n=apt(t,e),Kpt(t,e),n)}function fit(t,e,n){return Mlt(t,e),Prt(t,n),Nnt(t,0),Pnt(t,1),eft(t,!0),Qht(t,!0),t}function dit(t,e){if(t<0)throw qw(new jv(e+" cannot be negative but was: "+t));return t}function git(t,e){var n,i;for(n=0,i=t.gc();n<i;++n)if(aK(e,t.Xb(n)))return n;return-1}function pit(t){var e;for(e=t.c.Cc().Kc();e.Ob();)zz(e.Pb(),14).$b();t.c.$b(),t.d=0}function bit(t){var e,n,i,r;for(i=0,r=(n=t.a).length;i<r;++i)XY(e=n[i],e.length,null)}function wit(t){var e,n;if(0==t)return 32;for(n=0,e=1;0==(e&t);e<<=1)++n;return n}function mit(t){var e;for(e=new Wd(ivt(t));e.a<e.c.c.length;)zz(t0(e),680).Gf()}function yit(t){mE(),this.g=new Pw,this.f=new Pw,this.b=new Pw,this.c=new wQ,this.i=t}function vit(){this.f=new Uk,this.d=new gy,this.c=new Uk,this.a=new Nw,this.b=new Nw}function xit(t,e,n,i){this.rj(),this.a=e,this.b=t,this.c=null,this.c=new fR(this,e,n,i)}function kit(t,e,n,i,r){this.d=t,this.n=e,this.g=n,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function _it(){ML.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=k6t}function Ait(){return ejt(),Sst(Ux(iMe,1),LKt,259,0,[UIe,YIe,HIe,ZIe,WIe,XIe,KIe,GIe,qIe])}function Eit(){return nFt(),Sst(Ux(zie,1),LKt,250,0,[Fie,Oie,Lie,Die,Pie,Bie,Nie,Mie,Iie])}function Tit(){Tit=M,Dee=Sst(Ux(DNe,1),hXt,25,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function Cit(){Cit=M,xye=pH(pH(pH(new z2,(xEt(),Foe),(dWt(),ace)),Roe,Mce),joe,Ice)}function Sit(){Sit=M,kye=pH(pH(pH(new z2,(xEt(),Foe),(dWt(),ace)),Roe,Mce),joe,Ice)}function Iit(){Iit=M,Eye=pH(pH(pH(new z2,(xEt(),Foe),(dWt(),ace)),Roe,Mce),joe,Ice)}function Mit(){Mit=M,Sye=WU(pH(pH(new z2,(xEt(),joe),(dWt(),Lce)),$oe,_ce),zoe,Oce)}function Dit(){Dit=M,lle=new AC("LAYER_SWEEP",0),ule=new AC(q1t,1),hle=new AC(VJt,2)}function Oit(t,e){var n,i;return n=t.c,(i=e.e[t.p])>0?zz(PH(n.a,i-1),10):null}function Lit(t,e){var n;n=t.k,t.k=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,2,n,t.k))}function Nit(t,e){var n;n=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,8,n,t.f))}function Pit(t,e){var n;n=t.i,t.i=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,7,n,t.i))}function Bit(t,e){var n;n=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,8,n,t.a))}function Fit(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,0,n,t.b))}function Rit(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,0,n,t.b))}function jit(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,1,n,t.c))}function $it(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,1,n,t.c))}function zit(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,4,n,t.c))}function qit(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,1,n,t.d))}function Hit(t,e){var n;n=t.D,t.D=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,2,n,t.D))}function Uit(t,e){t.r>0&&t.c<t.r&&(t.c+=e,t.i&&t.i.d>0&&0!=t.g&&Uit(t.i,e/t.r*t.i.d))}function Git(t,e,n){var i;t.b=e,t.a=n,i=512==(512&t.a)?new $y:new Bl,t.c=TBt(i,t.b,t.a)}function Yit(t,e){return LPt(t.e,e)?(JE(),ltt(e)?new fH(e,t):new PI(e,t)):new RI(e,t)}function Zit(t,e){return Qk(tat(t.a,e,pU(odt(CKt,rK(pU(odt(null==e?0:eut(e),SKt)),15)))))}function Wit(t,e,n){return P9(t,new hg(e),new ot,new fg(n),Sst(Ux(tie,1),LKt,132,0,[]))}function Kit(t){return 0>t?new KA:new OB(null,new y5(t+1,t))}function Xit(t,e){var n;return TX(),n=new ZA(1),ZI(t)?yJ(n,t,e):_St(n.f,t,e),new Zd(n)}function Vit(t,e){var n,i;return(n=t.o+t.p)<(i=e.o+e.p)?-1:n==i?0:1}function Qit(t){var e;return aL(e=vEt(t,(hWt(),pfe)),160)?vgt(zz(e,160)):null}function Jit(t){var e;return(t=n.Math.max(t,2))>(e=kct(t))?(e<<=1)>0?e:DKt:e}function trt(t){switch(sN(3!=t.e),t.e){case 2:return!1;case 0:return!0}return j5(t)}function ert(t,e){var n;return!!aL(e,8)&&(n=zz(e,8),t.a==n.a&&t.b==n.b)}function nrt(t,e,n){var i,r;return r=e>>5,i=31&e,n0(kG(t.n[n][r],pU(vG(i,1))),3)}function irt(t,e){var n,i;for(i=e.vc().Kc();i.Ob();)ykt(t,(n=zz(i.Pb(),42)).cd(),n.dd())}function rrt(t,e){var n;n=new ne,zz(e.b,65),zz(e.b,65),zz(e.b,65),Det(e.a,new Az(t,n,e))}function art(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,21,n,t.b))}function ort(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,11,n,t.d))}function srt(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,13,n,t.j))}function crt(t,e,n){var i,r,a;for(a=t.a.length-1,r=t.b,i=0;i<n;r=r+1&a,++i)OZ(e,i,t.a[r])}function urt(t,e){var n;return xW(e),n=e.g,!t.b[n]&&(OZ(t.b,n,e),++t.c,!0)}function lrt(t,e){var n;return!((n=null==e?-1:_9(t.b,e,0))<0||(hrt(t,n),0))}function hrt(t,e){var n;n=u6(t.b,t.b.c.length-1),e<t.b.c.length&&(a5(t.b,e,n),jSt(t,e))}function frt(t,e){0==(x5(),Xne?null:e.c).length&&GB(e,new Z),yJ(t.a,Xne?null:e.c,e)}function drt(t,e){DAt(e,"Hierarchical port constraint processing",1),gwt(t),QZt(t),HTt(e)}function grt(t,e){var n,i;for(i=e.Kc();i.Ob();)n=zz(i.Pb(),266),t.b=!0,AY(t.e,n),n.b=t}function prt(t,e){var n,i;return n=1-e,i=t.a[n],t.a[n]=i.a[e],i.a[e]=t,t.b=!0,i.b=!1,i}function brt(t,e){var n,i;return n=zz(vEt(t,(HZt(),uwe)),8),i=zz(vEt(e,uwe),8),Sft(n.b,i.b)}function wrt(t){FU.call(this),this.b=Uv(EB(vEt(t,(HZt(),vwe)))),this.a=zz(vEt(t,Jpe),218)}function mrt(t,e,n){U2.call(this,t,e,n),this.a=new Pw,this.b=new Pw,this.d=new Wp(this)}function yrt(t){this.e=t,this.d=new d_(net(bG(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function vrt(t){this.b=t,this.a=P8(DNe,hXt,25,t+1,15,1),this.c=P8(DNe,hXt,25,t,15,1),this.d=0}function xrt(t,e,n){var i;return _Pt(t,e,i=new Nw,n,!0,!0),t.b=new vrt(i.c.length),i}function krt(t,e){var n;return(n=zz(FZ(t.c,e),458))||((n=new ay).c=e,KW(t.c,n.c,n)),n}function _rt(t,e){var n=t.a,i=0;for(var r in n)n.hasOwnProperty(r)&&(e[i++]=r);return e}function Art(t){return null==t.b?(VE(),VE(),POe):t.Lk()?t.Kk():t.Jk()}function Ert(t){var e,n;for(n=new DL(t);n.e!=n.i.gc();)Snt(e=zz(kwt(n),33),0),Int(e,0)}function Trt(){Trt=M,uoe=new sw(DJt),loe=new sw(OJt),coe=new sw(LJt),soe=new sw(NJt)}function Crt(){Crt=M,Hse=new JT("TO_INTERNAL_LTR",0),qse=new JT("TO_INPUT_DIRECTION",1)}function Srt(){Srt=M,Xxe=new pS("P1_NODE_PLACEMENT",0),Vxe=new pS("P2_EDGE_ROUTING",1)}function Irt(){Irt=M,Fue=new xC("START",0),Bue=new xC("MIDDLE",1),Pue=new xC("END",2)}function Mrt(){Mrt=M,eue=new iF("edgelabelcenterednessanalysis.includelabel",(lN(),mee))}function Drt(t,e){QA(DK(new FH(null,new g1(new Sd(t.b),1)),new QS(t,e)),new tI(t,e))}function Ort(){this.c=new I_(0),this.b=new I_(q3t),this.d=new I_(z3t),this.a=new I_(JQt)}function Lrt(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)Yf(e=zz(n.Pb(),214),new HEt(e.e))}function Nrt(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)Gf(e=zz(n.Pb(),214),new KG(e.f))}function Prt(t,e){var n;n=t.zb,t.zb=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,1,n,t.zb))}function Brt(t,e){var n;n=t.xb,t.xb=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,3,n,t.xb))}function Frt(t,e){var n;n=t.yb,t.yb=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,2,n,t.yb))}function Rrt(t,e){var n;(n=new My).n=e,h7((!t.s&&(t.s=new nY($De,t,21,17)),t.s),n)}function jrt(t,e){var n;(n=new wB).n=e,h7((!t.s&&(t.s=new nY($De,t,21,17)),t.s),n)}function $rt(t,e){var n,i;for(G7(n=t.Pc(),0,n.length,e),i=0;i<n.length;i++)t._c(i,n[i])}function zrt(t,e){var n,i,r;for(xW(e),n=!1,r=e.Kc();r.Ob();)i=r.Pb(),n|=t.Fc(i);return n}function qrt(t){var e,n,i;for(e=0,i=t.Kc();i.Ob();)e=~~(e+=null!=(n=i.Pb())?eut(n):0);return e}function Hrt(t){var e;return 0==t?"UTC":(t<0?(t=-t,e="UTC+"):e="UTC-",e+dtt(t))}function Urt(t,e){var n;return aL(e,14)?(n=zz(e,14),t.Gc(n)):htt(t,zz(vZ(e),20).Kc())}function Grt(t,e,n){get.call(this,e,n),this.d=P8(Mse,s1t,10,t.a.c.length,0,1),Vbt(t.a,this.d)}function Yrt(t){t.a=null,t.e=null,t.b.c=P8(Ote,HWt,1,0,5,1),t.f.c=P8(Ote,HWt,1,0,5,1),t.c=null}function Zrt(t,e){e?null==t.B&&(t.B=t.D,t.D=null):null!=t.B&&(t.D=t.B,t.B=null)}function Wrt(t,e){return Uv(EB(ON(Lht(OK(new FH(null,new g1(t.c.b,16)),new Pp(t)),e))))}function Krt(t,e){return Uv(EB(ON(Lht(OK(new FH(null,new g1(t.c.b,16)),new Np(t)),e))))}function Xrt(t,e){DAt(e,k1t,1),QA(gtt(new FH(null,new g1(t.b,16)),new Qe),new Je),HTt(e)}function Vrt(t,e){var n,i;return n=zz(tOt(t,(Zvt(),Lke)),19),i=zz(tOt(e,Lke),19),_O(n.a,i.a)}function Qrt(t,e,n){var i,r;for(r=lwt(t,0);r.b!=r.d.c;)(i=zz(d3(r),8)).a+=e,i.b+=n;return t}function Jrt(t,e,n){var i;for(i=t.b[n&t.f];i;i=i.b)if(n==i.a&&gW(e,i.g))return i;return null}function tat(t,e,n){var i;for(i=t.c[n&t.f];i;i=i.d)if(n==i.f&&gW(e,i.i))return i;return null}function eat(t,e,n){var i,r,a;for(i=0,r=0;r<n;r++)a=e[r],t[r]=a<<1|i,i=a>>>31;0!=i&&(t[n]=i)}function nat(t,e){var n,i;for(TX(),i=new Nw,n=0;n<t;++n)i.c[i.c.length]=e;return new Ox(i)}function iat(t){var e;return XI((e=A2(t)).a,0)?(lE(),lE(),Cne):(lE(),new vP(e.b))}function rat(t){var e;return XI((e=A2(t)).a,0)?(lE(),lE(),Cne):(lE(),new vP(e.c))}function aat(t){var e;return XI((e=_2(t)).a,0)?(hE(),hE(),Sne):(hE(),new xP(e.b))}function oat(t){return t.b.c.i.k==(cTt(),Ese)?zz(vEt(t.b.c.i,(hWt(),pfe)),11):t.b.c}function sat(t){return t.b.d.i.k==(cTt(),Ese)?zz(vEt(t.b.d.i,(hWt(),pfe)),11):t.b.d}function cat(t,e,n,i,r,a,o,s,c,u,l,h,f){return gSt(t,e,n,i,r,a,o,s,c,u,l,h,f),Gft(t,!1),t}function uat(t,e,n,i,r,a,o){bA.call(this,t,e),this.d=n,this.e=i,this.c=r,this.b=a,this.a=s6(o)}function lat(t,e){typeof window===OWt&&typeof window.$gwt===OWt&&(window.$gwt[t]=e)}function hat(t,e){return Ost(),t==Joe&&e==nse||t==nse&&e==Joe||t==ese&&e==tse||t==tse&&e==ese}function fat(t,e){return Ost(),t==Joe&&e==tse||t==Joe&&e==ese||t==nse&&e==ese||t==nse&&e==tse}function dat(t,e){return lO(),ait(fQt),n.Math.abs(0-e)<=fQt||0==e||isNaN(0)&&isNaN(e)?0:t/e}function gat(){return gBt(),Sst(Ux(Ahe,1),LKt,256,0,[lhe,fhe,dhe,ghe,phe,bhe,mhe,uhe,hhe,whe])}function pat(){pat=M,COe=new Iy,IOe=Sst(Ux($De,1),P7t,170,0,[]),SOe=Sst(Ux(XDe,1),B7t,59,0,[])}function bat(){bat=M,uye=new KC("NO",0),sye=new KC("GREEDY",1),cye=new KC("LOOK_BACK",2)}function wat(){wat=M,Bse=new ze,Nse=new $e,Pse=new qe,Lse=new He,Fse=new Ue,Rse=new Ge}function mat(t){var e,n;for(n=0,e=new Wd(t.b);e.a<e.c.c.length;)zz(t0(e),29).p=n,++n}function yat(t,e){var n;return LIt(new PS((n=$At(t)).c,n.d),new PS(n.b,n.a),t.rf(),e,t.Hf())}function vat(t,e){var n;return t.b?null:(n=uet(t,t.g),Bq(t.a,n),n.i=t,t.d=e,n)}function xat(t,e,n){DAt(n,"DFS Treeifying phase",1),_pt(t,e),oPt(t,e),t.a=null,t.b=null,HTt(n)}function kat(t,e,n){this.g=t,this.d=e,this.e=n,this.a=new Nw,ZSt(this),TX(),yO(this.a,null)}function _at(t){this.i=t.gc(),this.i>0&&(this.g=this.ri(this.i+(this.i/8|0)+1),t.Qc(this.g))}function Aat(t,e){Eq.call(this,WOe,t,e),this.b=this,this.a=sPt(t.Tg(),iet(this.e.Tg(),this.c))}function Eat(t,e){var n,i;for(xW(e),i=e.vc().Kc();i.Ob();)n=zz(i.Pb(),42),t.zc(n.cd(),n.dd())}function Tat(t,e,n){var i;for(i=n.Kc();i.Ob();)if(!U3(t,e,i.Pb()))return!1;return!0}function Cat(t,e,n,i,r){var a;return n&&(a=Ogt(e.Tg(),t.c),r=n.gh(e,-1-(-1==a?i:a),null,r)),r}function Sat(t,e,n,i,r){var a;return n&&(a=Ogt(e.Tg(),t.c),r=n.ih(e,-1-(-1==a?i:a),null,r)),r}function Iat(t){var e;if(-2==t.b){if(0==t.e)e=-1;else for(e=0;0==t.a[e];e++);t.b=e}return t.b}function Mat(t){switch(t.g){case 2:return kYt(),SIe;case 4:return kYt(),cIe;default:return t}}function Dat(t){switch(t.g){case 1:return kYt(),TIe;case 3:return kYt(),uIe;default:return t}}function Oat(t){var e,n,i;return t.j==(kYt(),uIe)&&(n=TN(e=ZMt(t),cIe),(i=TN(e,SIe))||i&&n)}function Lat(t){var e;return new VR(e=zz(t.e&&t.e(),9),zz(KY(e,e.length),9),e.length)}function Nat(t,e){DAt(e,k1t,1),ngt(uE(new Cg((bE(),new qK(t,!1,!1,new je))))),HTt(e)}function Pat(t,e){return lN(),ZI(t)?h6(t,TB(e)):YI(t)?AG(t,EB(e)):GI(t)?_G(t,AB(e)):t.wd(e)}function Bat(t,e){e.q=t,t.d=n.Math.max(t.d,e.r),t.b+=e.d+(0==t.a.c.length?0:t.c),Wz(t.a,e)}function Fat(t,e){var n,i,r,a;return r=t.c,n=t.c+t.b,a=t.d,i=t.d+t.a,e.a>r&&e.a<n&&e.b>a&&e.b<i}function Rat(t,e,n,i){aL(t.Cb,179)&&(zz(t.Cb,179).tb=null),Prt(t,n),e&&$It(t,e),i&&t.xk(!0)}function jat(t,e){var n;HX(n=zz(e,183),"x",t.i),HX(n,"y",t.j),HX(n,I6t,t.g),HX(n,S6t,t.f)}function $at(){$at=M,Iye=ubt(kM(pH(pH(new z2,(xEt(),joe),(dWt(),Lce)),$oe,_ce),zoe),Oce)}function zat(){zat=M,Bye=ubt(kM(pH(pH(new z2,(xEt(),joe),(dWt(),Lce)),$oe,_ce),zoe),Oce)}function qat(){qat=M,Zke=new vS(VJt,0),Wke=new vS("POLAR_COORDINATE",1),Yke=new vS("ID",2)}function Hat(){Hat=M,Zme=new YC("EQUALLY",0),Wme=new YC(vQt,1),Kme=new YC("NORTH_SOUTH",2)}function Uat(){Uat=M,Ome=dlt((lNt(),Sst(Ux(Bme,1),LKt,260,0,[Ime,Ame,Cme,Eme,Tme,_me,Sme,Mme])))}function Gat(){Gat=M,Kue=dlt((kBt(),Sst(Ux(ile,1),LKt,270,0,[zue,Uue,$ue,Zue,Hue,que,Yue,Gue])))}function Yat(){Yat=M,_Ee=dlt((SCt(),Sst(Ux(TEe,1),LKt,277,0,[xEe,gEe,mEe,vEe,pEe,bEe,wEe,yEe])))}function Zat(){Zat=M,aDe=dlt((hDt(),Sst(Ux(oDe,1),LKt,237,0,[iDe,tDe,eDe,JMe,nDe,VMe,XMe,QMe])))}function Wat(){Wat=M,Xre=new iF("debugSVG",(lN(),!1)),Vre=new iF("overlapsExisted",!0)}function Kat(t,e){return P9(new cg(t),new ug(e),new lg(e),new et,Sst(Ux(tie,1),LKt,132,0,[]))}function Xat(){var t;return Hne||(Hne=new Rm,VD(t=new v5(""),(fE(),qne)),frt(Hne,t)),Hne}function Vat(t,e){for(vZ(e);t.Ob();)if(!Vot(zz(t.Pb(),10)))return!1;return!0}function Qat(t,e){var n;return!!(n=WFt(oit(),t))&&(Qwt(e,(lWt(),yCe),n),!0)}function Jat(t,e){var n;for(n=0;n<e.j.c.length;n++)zz(B9(t,n),21).Gc(zz(B9(e,n),14));return t}function tot(t,e){var n,i;for(i=new Wd(e.b);i.a<i.c.c.length;)n=zz(t0(i),29),t.a[n.p]=VEt(n)}function eot(t,e){var n,i;for(xW(e),i=t.vc().Kc();i.Ob();)n=zz(i.Pb(),42),e.Od(n.cd(),n.dd())}function not(t,e){aL(e,83)?(zz(t.c,76).Xj(),irt(t,zz(e,83))):zz(t.c,76).Wb(e)}function iot(t){return aL(t,152)?c6(zz(t,152)):aL(t,131)?zz(t,131).a:aL(t,54)?new hv(t):new SA(t)}function rot(t,e){return e<t.b.gc()?zz(t.b.Xb(e),10):e==t.b.gc()?t.a:zz(PH(t.e,e-t.b.gc()-1),10)}function aot(t,e){t.a=adt(t.a,1),t.c=n.Math.min(t.c,e),t.b=n.Math.max(t.b,e),t.d=adt(t.d,e)}function oot(t,e){DAt(e,"Edge and layer constraint edge reversal",1),zGt(NFt(t)),HTt(e)}function sot(t){var e;null==t.d?(++t.e,t.f=0,aht(null)):(++t.e,e=t.d,t.d=null,t.f=0,aht(e))}function cot(t){var e;return 0==(e=t.h)?t.l+t.m*MXt:e==SXt?t.l+t.m*MXt-DXt:t}function uot(t){return HB(),t.A.Hc((vpt(),BIe))&&!t.B.Hc((ejt(),YIe))?ept(t):null}function lot(t){if(xW(t),0==t.length)throw qw(new Ex("Zero length BigInteger"));rRt(this,t)}function hot(t){if(!t)throw qw(new $v("no calls to next() since the last call to remove()"))}function fot(t){return LXt<t&&t<DXt?t<0?n.Math.ceil(t):n.Math.floor(t):cot(wNt(t))}function dot(t,e){var n,i,r;for(n=t.c.Ee(),r=e.Kc();r.Ob();)i=r.Pb(),t.a.Od(n,i);return t.b.Kb(n)}function got(t,e){var n,i,r;if(null!=(n=t.Jg())&&t.Mg())for(i=0,r=n.length;i<r;++i)n[i].ui(e)}function pot(t,e){var n,i;for(i=mW(n=t).e;i;){if((n=i)==e)return!0;i=mW(n).e}return!1}function bot(t,e,n){var i,r;return(i=t.a.f[e.p])<(r=t.a.f[n.p])?-1:i==r?0:1}function wot(t,e,n){var i,r;return r=zz(YR(t.d,e),19),i=zz(YR(t.b,n),19),r&&i?Y6(t,r.a,i.a):null}function mot(t,e){var n,i;for(i=new DL(t);i.e!=i.i.gc();)TD(n=zz(kwt(i),33),n.i+e.b,n.j+e.d)}function yot(t,e){var n,i;for(i=new Wd(e);i.a<i.c.c.length;)n=zz(t0(i),70),Wz(t.d,n),jEt(t,n)}function vot(t,e){var n,i;i=new Nw,n=e;do{i.c[i.c.length]=n,n=zz(FZ(t.k,n),17)}while(n);return i}function xot(t,e){var n;return 0!=(t.Db&e)?-1==(n=Ryt(t,e))?t.Eb:int(t.Eb)[n]:null}function kot(t,e){var n;return(n=new Rh).G=e,!t.rb&&(t.rb=new QG(t,qDe,t)),h7(t.rb,n),n}function _ot(t,e){var n;return(n=new _m).G=e,!t.rb&&(t.rb=new QG(t,qDe,t)),h7(t.rb,n),n}function Aot(t,e){switch(e){case 1:return!!t.n&&0!=t.n.i;case 2:return null!=t.k}return y0(t,e)}function Eot(t){switch(t.a.g){case 1:return new _I;case 3:return new hvt;default:return new Sh}}function Tot(t){var e;if(t.g>1||t.Ob())return++t.a,t.g=0,e=t.i,t.Ob(),e;throw qw(new vm)}function Cot(t){var e;return oO(),sT(uve,t)||((e=new so).a=t,gF(uve,t,e)),zz(cK(uve,t),635)}function Sot(t){var e,n,i;return n=0,(i=t)<0&&(i+=DXt,n=SXt),e=SQ(i/MXt),EO(SQ(i-e*MXt),e,n)}function Iot(t){var e,n,i;for(i=0,n=new XA(t.a);n.a<n.c.a.length;)e=s4(n),t.b.Hc(e)&&++i;return i}function Mot(t){var e,n,i;for(e=1,i=t.Kc();i.Ob();)e=~~(e=31*e+(null==(n=i.Pb())?0:eut(n)));return e}function Dot(t,e){var n;this.c=t,wyt(t,n=new Nw,e,t.b,null,!1,null,!1),this.a=new E2(n,0)}function Oot(t,e){this.b=t,this.e=e,this.d=e.j,this.f=(JE(),zz(t,66).Oj()),this.k=sPt(e.e.Tg(),t)}function Lot(t,e,n){this.b=(xW(t),t),this.d=(xW(e),e),this.e=(xW(n),n),this.c=this.d+""+this.e}function Not(){this.a=zz(vwt((fFt(),Hae)),19).a,this.c=Uv(EB(vwt(aoe))),this.b=Uv(EB(vwt(eoe)))}function Pot(){Pot=M,RSe=dlt((eOt(),Sst(Ux(USe,1),LKt,93,0,[ISe,SSe,DSe,BSe,PSe,NSe,OSe,LSe,MSe])))}function Bot(){Bot=M,$ie=dlt((nFt(),Sst(Ux(zie,1),LKt,250,0,[Fie,Oie,Lie,Die,Pie,Bie,Nie,Mie,Iie])))}function Fot(){Fot=M,Fre=new YT("UP",0),Nre=new YT(mQt,1),Pre=new YT(oQt,2),Bre=new YT(sQt,3)}function Rot(){Rot=M,uJ(),vxe=new OM(W3t,xxe=Fxe),z0(),mxe=new OM(K3t,yxe=qxe)}function jot(){jot=M,khe=new NC("ONE_SIDED",0),_he=new NC("TWO_SIDED",1),xhe=new NC("OFF",2)}function $ot(t){t.r=new Fm,t.w=new Fm,t.t=new Nw,t.i=new Nw,t.d=new Fm,t.a=new dD,t.c=new Pw}function zot(t){this.n=new Nw,this.e=new VA,this.j=new VA,this.k=new Nw,this.f=new Nw,this.p=t}function qot(t,e){t.c&&(JRt(t,e,!0),QA(new FH(null,new g1(e,16)),new Hp(t))),JRt(t,e,!1)}function Hot(t,e,n){return t==(uit(),Oye)?new Ca:0!=HOt(e,1)?new Fk(n.length):new Bk(n.length)}function Uot(t,e){var n;return e?((n=e.Ve()).dc()||(t.q?Eat(t.q,n):t.q=new yM(n)),t):t}function Got(t,e){var n;return void 0===(n=t.a.get(e))?++t.d:(yF(t.a,e),--t.c,cV(t.b)),n}function Yot(t,e){var n;return 0==(n=e.p-t.p)?Sft(t.f.a*t.f.b,e.f.a*e.f.b):n}function Zot(t,e){var n,i;return(n=t.f.c.length)<(i=e.f.c.length)?-1:n==i?0:1}function Wot(t){return 0!=t.b.c.length&&zz(PH(t.b,0),70).a?zz(PH(t.b,0),70).a:nX(t)}function Kot(t){var e;if(t){if((e=t).dc())throw qw(new vm);return e.Xb(e.gc()-1)}return s1(t.Kc())}function Xot(t){var e;return Xlt(t,0)<0&&(t=sq(t)),64-(0!=(e=pU(xG(t,32)))?tMt(e):tMt(pU(t))+32)}function Vot(t){var e;return e=zz(vEt(t,(hWt(),Xhe)),61),t.k==(cTt(),Ese)&&(e==(kYt(),SIe)||e==cIe)}function Qot(t,e,n){var i,r;(r=zz(vEt(t,(HZt(),mbe)),74))&&(Kut(i=new xy,0,r),tnt(i,n),zrt(e,i))}function Jot(t,e,n){var i,r,a,o;i=(o=mW(t)).d,r=o.c,a=t.n,e&&(a.a=a.a-i.b-r.a),n&&(a.b=a.b-i.d-r.b)}function tst(t,e){var n,i;return(n=t.j)!=(i=e.j)?n.g-i.g:t.p==e.p?0:n==(kYt(),uIe)?t.p-e.p:e.p-t.p}function est(t){var e,n;for(SYt(t),n=new Wd(t.d);n.a<n.c.c.length;)(e=zz(t0(n),101)).i&&WTt(e)}function nst(t,e,n,i,r){OZ(t.c[e.g],n.g,i),OZ(t.c[n.g],e.g,i),OZ(t.b[e.g],n.g,r),OZ(t.b[n.g],e.g,r)}function ist(t,e,n,i){zz(n.b,65),zz(n.b,65),zz(i.b,65),zz(i.b,65),zz(i.b,65),Det(i.a,new _z(t,e,i))}function rst(t,e){t.d==(zht(),jCe)||t.d==qCe?zz(e.a,57).c.Fc(zz(e.b,57)):zz(e.b,57).c.Fc(zz(e.a,57))}function ast(t,e,n,i){return 1==n?(!t.n&&(t.n=new nY(GMe,t,1,7)),$wt(t.n,e,i)):iTt(t,e,n,i)}function ost(t,e){var n;return Prt(n=new qc,e),h7((!t.A&&(t.A=new NL(MOe,t,7)),t.A),n),n}function sst(t,e,n){var i,r;return r=N2(e,O6t),mkt((i=new oI(t,n)).a,i.b,r),r}function cst(t){var e;return(!t.a||0==(1&t.Bb)&&t.a.kh())&&aL(e=Mxt(t),148)&&(t.a=zz(e,148)),t.a}function ust(t,e){var n,i;for(xW(e),i=e.Kc();i.Ob();)if(n=i.Pb(),!t.Hc(n))return!1;return!0}function lst(t,e){var n,i,r;return n=t.l+e.l,i=t.m+e.m+(n>>22),r=t.h+e.h+(i>>22),EO(n&CXt,i&CXt,r&SXt)}function hst(t,e){var n,i,r;return n=t.l-e.l,i=t.m-e.m+(n>>22),r=t.h-e.h+(i>>22),EO(n&CXt,i&CXt,r&SXt)}function fst(t){var e;return t<128?(!(e=(EH(),Tee)[t])&&(e=Tee[t]=new Ld(t)),e):new Ld(t)}function dst(t){var e;return aL(t,78)?t:((e=t&&t.__java$exception)||cm(e=new _lt(t)),e)}function gst(t){if(aL(t,186))return zz(t,118);if(t)return null;throw qw(new qv(i8t))}function pst(t,e){if(null==e)return!1;for(;t.a!=t.b;)if(Pht(e,$lt(t)))return!0;return!1}function bst(t){return!!t.a.Ob()||t.a==t.d&&(t.a=new T2(t.e.f),t.a.Ob())}function wst(t,e){var n;return 0!=(n=e.Pc()).length&&(eq(t.c,t.c.length,n),!0)}function mst(t,e,n){var i,r;for(r=e.vc().Kc();r.Ob();)i=zz(r.Pb(),42),t.yc(i.cd(),i.dd(),n);return t}function yst(t,e){var n;for(n=new Wd(t.b);n.a<n.c.c.length;)hct(zz(t0(n),70),(hWt(),sfe),e)}function vst(t,e,n){var i,r;for(r=new Wd(t.b);r.a<r.c.c.length;)TD(i=zz(t0(r),33),i.i+e,i.j+n)}function xst(t,e){if(!t)throw qw(new jv(LFt("value already present: %s",Sst(Ux(Ote,1),HWt,1,5,[e]))))}function kst(t,e){return!(!t||!e||t==e)&&$pt(t.d.c,e.d.c+e.d.b)&&$pt(e.d.c,t.d.c+t.d.b)}function _st(){return x5(),Xne?new v5(null):zMt(Xat(),"com.google.common.base.Strings")}function Ast(t,e){var n;return n=uP(e.a.gc()),QA(xet(new FH(null,new g1(e,1)),t.i),new NS(t,n)),n}function Est(t){var e;return Prt(e=new qc,"T"),h7((!t.d&&(t.d=new NL(MOe,t,11)),t.d),e),e}function Tst(t){var e,n,i,r;for(e=1,n=0,r=t.gc();n<r;++n)e=31*e+(null==(i=t.ki(n))?0:eut(i));return e}function Cst(t,e,n,i){var r;return g2(e,t.e.Hd().gc()),g2(n,t.c.Hd().gc()),r=t.a[e][n],OZ(t.a[e],n,i),r}function Sst(t,e,n,i,r){return r.gm=t,r.hm=e,r.im=I,r.__elementTypeId$=n,r.__elementTypeCategory$=i,r}function Ist(t,e,i,r,a){return _Bt(),n.Math.min(YUt(t,e,i,r,a),YUt(i,r,t,e,HP(new PS(a.a,a.b))))}function Mst(){Mst=M,oue=new eC(VJt,0),rue=new eC(I1t,1),aue=new eC(M1t,2),iue=new eC("BOTH",3)}function Dst(){Dst=M,mue=new yC(iQt,0),yue=new yC(oQt,1),vue=new yC(sQt,2),xue=new yC("TOP",3)}function Ost(){Ost=M,Joe=new XT("Q1",0),nse=new XT("Q4",1),tse=new XT("Q2",2),ese=new XT("Q3",3)}function Lst(){Lst=M,dye=new XC("OFF",0),gye=new XC("SINGLE_EDGE",1),fye=new XC("MULTI_EDGE",2)}function Nst(){Nst=M,WAe=new TS("MINIMUM_SPANNING_TREE",0),ZAe=new TS("MAXIMUM_SPANNING_TREE",1)}function Pst(){Pst=M,new sw("org.eclipse.elk.addLayoutConfig"),JAe=new us,QAe=new ss,new cs}function Bst(t){var e,n;for(e=new VA,n=lwt(t.d,0);n.b!=n.d.c;)Bq(e,zz(d3(n),188).c);return e}function Fst(t){var e,n;for(n=new Nw,e=t.Kc();e.Ob();)wst(n,pBt(zz(e.Pb(),33)));return n}function Rst(t){var e;nzt(t,!0),e=XKt,LP(t,(HZt(),hwe))&&(e+=zz(vEt(t,hwe),19).a),hct(t,hwe,rft(e))}function jst(t,e,n){var i;OY(t.a),Det(n.i,new kb(t)),kbt(t,i=new SO(zz(FZ(t.a,e.b),65)),e),n.f=i}function $st(t,e){var n,i;return n=t.c,(i=e.e[t.p])<n.a.c.length-1?zz(PH(n.a,i+1),10):null}function zst(t,e){var n,i;for(WX(e,"predicate"),i=0;t.Ob();i++)if(n=t.Pb(),e.Lb(n))return i;return-1}function qst(t,e){var n,i;if(i=0,t<64&&t<=e)for(e=e<64?e:63,n=t;n<=e;n++)i=i0(i,vG(1,n));return i}function Hst(t){var e,n,i;for(TX(),i=0,n=t.Kc();n.Ob();)i+=null!=(e=n.Pb())?eut(e):0,i|=0;return i}function Ust(t){var e;return e_(),e=new oc,t&&h7((!t.a&&(t.a=new nY($Me,t,6,6)),t.a),e),e}function Gst(t){var e;return(e=new w).a=t,e.b=xct(t),e.c=P8(Vee,lKt,2,2,6,1),e.c[0]=Hrt(t),e.c[1]=Hrt(t),e}function Yst(t,e){if(0===e)return!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),void t.o.c.$b();vCt(t,e)}function Zst(t,e,n){switch(n.g){case 2:t.b=e;break;case 1:t.c=e;break;case 4:t.d=e;break;case 3:t.a=e}}function Wst(t){switch(t.g){case 1:return _Se;case 2:return kSe;case 3:return ASe;default:return ESe}}function Kst(t){switch(zz(vEt(t,(HZt(),xbe)),163).g){case 2:case 4:return!0;default:return!1}}function Xst(){Xst=M,vhe=dlt((gBt(),Sst(Ux(Ahe,1),LKt,256,0,[lhe,fhe,dhe,ghe,phe,bhe,mhe,uhe,hhe,whe])))}function Vst(){Vst=M,QIe=dlt((ejt(),Sst(Ux(iMe,1),LKt,259,0,[UIe,YIe,HIe,ZIe,WIe,XIe,KIe,GIe,qIe])))}function Qst(){Qst=M,Zxe=pH(ubt(ubt($E(pH(new z2,(Yvt(),Rve),(FCt(),Xve)),jve),Zve),Wve),$ve,Kve)}function Jst(){Jst=M,Dle=new SC(VJt,0),Mle=new SC("INCOMING_ONLY",1),Ole=new SC("OUTGOING_ONLY",2)}function tct(){tct=M,fee={boolean:YA,number:Sv,string:Iv,object:ESt,function:ESt,undefined:Ww}}function ect(t,e){mq(t>=0,"Negative initial capacity"),mq(e>=0,"Non-positive load factor"),OY(this)}function nct(t,e,n){return!(t>=128)&&QI(t<64?n0(vG(1,t),n):n0(vG(1,t-64),e),0)}function ict(t,e){return!(!t||!e||t==e)&&Mdt(t.b.c,e.b.c+e.b.b)<0&&Mdt(e.b.c,t.b.c+t.b.b)<0}function rct(t){var e,n,i;return n=t.n,i=t.o,e=t.d,new YK(n.a-e.b,n.b-e.d,i.a+(e.b+e.c),i.b+(e.d+e.a))}function act(t){var e,n,i,r;for(i=0,r=(n=t.a).length;i<r;++i)Cct(t,e=n[i],(kYt(),TIe)),Cct(t,e,uIe)}function oct(t){var e,n;for(null==t.j&&(t.j=(CV(),Mkt(iee.ce(t)))),e=0,n=t.j.length;e<n;++e);}function sct(t){var e,n;return EO(e=1+~t.l&CXt,n=~t.m+(0==e?1:0)&CXt,~t.h+(0==e&&0==n?1:0)&SXt)}function cct(t,e){return E$t(zz(zz(FZ(t.g,e.a),46).a,65),zz(zz(FZ(t.g,e.b),46).a,65))}function uct(t,e,n){var i;if(e>(i=t.gc()))throw qw(new eR(e,i));return t.hi()&&(n=tJ(t,n)),t.Vh(e,n)}function lct(t,e,n){return null==n?(!t.q&&(t.q=new Pw),m6(t.q,e)):(!t.q&&(t.q=new Pw),KW(t.q,e,n)),t}function hct(t,e,n){return null==n?(!t.q&&(t.q=new Pw),m6(t.q,e)):(!t.q&&(t.q=new Pw),KW(t.q,e,n)),t}function fct(t){var e,n;return Uot(n=new v6,t),hct(n,(Trt(),uoe),t),izt(t,n,e=new Pw),CGt(t,n,e),n}function dct(t){var e,n,i;for(_Bt(),n=P8(CEe,lKt,8,2,0,1),i=0,e=0;e<2;e++)i+=.5,n[e]=dyt(i,t);return n}function gct(t,e){var n,i,r;for(n=!1,i=t.a[e].length,r=0;r<i-1;r++)n|=Spt(t,e,r,r+1);return n}function pct(t,e,n,i,r){var a,o;for(o=n;o<=r;o++)for(a=e;a<=i;a++)yyt(t,a,o)||zFt(t,a,o,!0,!1)}function bct(t,e){this.b=t,NM.call(this,(zz(Ket(XX((XZ(),eOe).o),10),18),e.i),e.g),this.a=(pat(),IOe)}function wct(t,e){this.c=t,this.d=e,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function mct(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function yct(t,e,i){this.q=new n.Date,this.q.setFullYear(t+lXt,e,i),this.q.setHours(0,0,0,0),dzt(this,0)}function vct(){vct=M,Nme=new HC(VJt,0),Lme=new HC("NODES_AND_EDGES",1),Pme=new HC("PREFER_EDGES",2)}function xct(t){var e;return 0==t?"Etc/GMT":(t<0?(t=-t,e="Etc/GMT-"):e="Etc/GMT+",e+dtt(t))}function kct(t){var e;if(t<0)return $Kt;if(0==t)return 0;for(e=DKt;0==(e&t);e>>=1);return e}function _ct(t){var e,n;return 32==(n=tMt(t.h))?32==(e=tMt(t.m))?tMt(t.l)+32:e+20-10:n-12}function Act(t){var e;return null==(e=t.a[t.b])?null:(OZ(t.a,t.b,null),t.b=t.b+1&t.a.length-1,e)}function Ect(t){var e,n;return e=t.t-t.k[t.o.p]*t.d+t.j[t.o.p]>t.f,n=t.u+t.e[t.o.p]*t.d>t.f*t.s*t.d,e||n}function Tct(t,e,n){var i,r;return i=new q8(e,n),r=new H,t.b=KPt(t,t.b,i,r),r.b||++t.c,t.b.b=!1,r.d}function Cct(t,e,n){var i,r,a;for(a=0,r=Nht(e,n).Kc();r.Ob();)i=zz(r.Pb(),11),KW(t.c,i,rft(a++))}function Sct(t){var e,n;for(n=new Wd(t.a.b);n.a<n.c.c.length;)(e=zz(t0(n),81)).g.c=-e.g.c-e.g.b;kNt(t)}function Ict(t){var e,n;for(n=new Wd(t.a.b);n.a<n.c.c.length;)(e=zz(t0(n),57)).d.c=-e.d.c-e.d.b;xNt(t)}function Mct(t){var e;return(!t.c||0==(1&t.Bb)&&0!=(64&t.c.Db))&&aL(e=Mxt(t),88)&&(t.c=zz(e,26)),t.c}function Dct(t){var e,n,i;e=1+~t.l&CXt,n=~t.m+(0==e?1:0)&CXt,i=~t.h+(0==e&&0==n?1:0)&SXt,t.l=e,t.m=n,t.h=i}function Oct(t){var e,n,i,r,a;for(e=new Uk,r=0,a=(i=t).length;r<a;++r)n=i[r],e.a+=n.a,e.b+=n.b;return e}function Lct(t,e){var n,i,r,a,o;for(TX(),o=!1,r=0,a=(i=e).length;r<a;++r)n=i[r],o|=t.Fc(n);return o}function Nct(t){var e,n;for(_Bt(),n=-17976931348623157e292,e=0;e<t.length;e++)t[e]>n&&(n=t[e]);return n}function Pct(t,e,n){var i;return _Pt(t,e,i=new Nw,(kYt(),cIe),!0,!1),_Pt(t,n,i,SIe,!1,!1),i}function Bct(t,e,n){var i,r;return r=N2(e,"labels"),WDt((i=new bI(t,n)).a,i.b,r),r}function Fct(t,e,n,i){var r;return(r=vOt(t,e,n,i))||!(r=sft(t,n,i))||zHt(t,e,r)?r:null}function Rct(t,e,n,i){var r;return(r=xOt(t,e,n,i))||!(r=cft(t,n,i))||zHt(t,e,r)?r:null}function jct(t,e){var n;for(n=0;n<t.a.a.length;n++)if(!zz(BH(t.a,n),169).Lb(e))return!1;return!0}function $ct(t,e,n){if(vZ(e),n.Ob())for(uM(e,SZ(n.Pb()));n.Ob();)uM(e,t.a),uM(e,SZ(n.Pb()));return e}function zct(t){var e,n,i;for(TX(),i=1,n=t.Kc();n.Ob();)i=31*i+(null!=(e=n.Pb())?eut(e):0),i|=0;return i}function qct(t,e,n,i,r){var a;return a=_Dt(t,e),n&&Dct(a),r&&(t=Cyt(t,e),dee=i?sct(t):EO(t.l,t.m,t.h)),a}function Hct(t,e){var n;try{e.Vd()}catch(e){if(!aL(e=dst(e),78))throw qw(e);n=e,t.c[t.c.length]=n}}function Uct(t,e,n){var i,r;return aL(e,144)&&n?(i=zz(e,144),r=n,t.a[i.b][r.b]+t.a[r.b][i.b]):0}function Gct(t,e){switch(e){case 7:return!!t.e&&0!=t.e.i;case 8:return!!t.d&&0!=t.d.i}return fgt(t,e)}function Yct(t,e){switch(e.g){case 0:aL(t.b,631)||(t.b=new Not);break;case 1:aL(t.b,632)||(t.b=new hq)}}function Zct(t,e){for(;null!=t.g||t.c?null==t.g||0!=t.i&&zz(t.g[t.i-1],47).Ob():eJ(t);)mI(e,sLt(t))}function Wct(t,e,n){t.g=OCt(t,e,(kYt(),cIe),t.b),t.d=OCt(t,n,cIe,t.b),0!=t.g.c&&0!=t.d.c&&YEt(t)}function Kct(t,e,n){t.g=OCt(t,e,(kYt(),SIe),t.j),t.d=OCt(t,n,SIe,t.j),0!=t.g.c&&0!=t.d.c&&YEt(t)}function Xct(t,e,n){return!k_(DK(new FH(null,new g1(t.c,16)),new og(new JS(e,n)))).sd((pE(),eie))}function Vct(t){var e;return _W(t),e=new ct,t.a.sd(e)?(SL(),new mv(xW(e.a))):(SL(),SL(),Tne)}function Qct(t){var e;return!(t.b<=0)&&((e=UM("MLydhHmsSDkK",QAt(hK(t.c,0))))>1||e>=0&&t.b<3)}function Jct(t){var e,n;for(e=new xy,n=lwt(t,0);n.b!=n.d.c;)RP(e,0,new gD(zz(d3(n),8)));return e}function tut(t){var e;for(e=new Wd(t.a.b);e.a<e.c.c.length;)zz(t0(e),81).f.$b();xv(t.b,t),qNt(t)}function eut(t){return ZI(t)?ymt(t):YI(t)?KM(t):GI(t)?(xW(t),t?1231:1237):iG(t)?t.Hb():DU(t)?CN(t):eV(t)}function nut(t){return ZI(t)?Vee:YI(t)?See:GI(t)?kee:iG(t)||DU(t)?t.gm:t.gm||Array.isArray(t)&&Ux(eee,1)||eee}function iut(t){if(0===t.g)return new os;throw qw(new jv(P4t+(null!=t.f?t.f:""+t.g)))}function rut(t){if(0===t.g)return new rs;throw qw(new jv(P4t+(null!=t.f?t.f:""+t.g)))}function aut(t,e,n){if(0===e)return!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),void not(t.o,n);xSt(t,e,n)}function out(t,e,n){this.g=t,this.e=new Uk,this.f=new Uk,this.d=new VA,this.b=new VA,this.a=e,this.c=n}function sut(t,e,n,i){this.b=new Nw,this.n=new Nw,this.i=i,this.j=n,this.s=t,this.t=e,this.r=0,this.d=0}function cut(t){this.e=t,this.d=new w4(this.e.g),this.a=this.d,this.b=bst(this),this.$modCount=t.$modCount}function uut(t){for(;!t.d||!t.d.Ob();){if(!t.b||Wv(t.b))return null;t.d=zz(pY(t.b),47)}return t.d}function lut(t){return Wz(t.c,(Pst(),JAe)),cnt(t.a,Uv(EB(vwt((Rgt(),Kwe)))))?new Us:new Sb(t)}function hut(t){switch(t.g){case 1:return z3t;default:case 2:return 0;case 3:return JQt;case 4:return q3t}}function fut(){var t;return pWt(),CNe||(t=nP(tZt("M",!0)),t=bU(tZt("M",!1),t),CNe=t)}function dut(t,e){var n,i,r;for(r=t.b;r;){if(0==(n=t.a.ue(e,r.d)))return r;i=n<0?0:1,r=r.a[i]}return null}function gut(t,e,n){var i,r;lN(),i=!!AM(n),(r=zz(e.xc(i),15))||(r=new Nw,e.zc(i,r)),r.Fc(n)}function put(t,e){var n,i;return(n=zz(tOt(t,(KOt(),p_e)),19).a)==(i=zz(tOt(e,p_e),19).a)||n<i?-1:n>i?1:0}function but(t,e){return!!gNt(t,e)&&(JIt(t.b,zz(vEt(e,(hWt(),Zhe)),21),e),Bq(t.a,e),!0)}function wut(t){var e,n;(e=zz(vEt(t,(hWt(),_fe)),10))&&(v9((n=e.c).a,e),0==n.a.c.length&&v9(mW(e).b,n))}function mut(t){return Xne?P8(Une,bVt,572,0,0,1):zz(Vbt(t.a,P8(Une,bVt,572,t.a.c.length,0,1)),842)}function yut(t,e,n,i){return tK(),new lv(Sst(Ux(Hte,1),kKt,42,0,[(Ymt(t,e),new mA(t,e)),(Ymt(n,i),new mA(n,i))]))}function vut(t,e,n){var i;return fit(i=new Oy,e,n),h7((!t.q&&(t.q=new nY(XDe,t,11,10)),t.q),i),i}function xut(t){var e,n,i,r;for(n=(r=hT(DMe,t)).length,i=P8(Vee,lKt,2,n,6,1),e=0;e<n;++e)i[e]=r[e];return i}function kut(t,e){var n,i,r,a,o;for(r=0,a=(i=e).length;r<a;++r)n=i[r],o=new YZ(t),n.Qe(o),Pzt(o);OY(t.f)}function _ut(t,e){var n;return e===t||!!aL(e,224)&&(n=zz(e,224),Pht(t.Zb(),n.Zb()))}function Aut(t,e){var n;2*e+1>=t.b.c.length||(Aut(t,2*e+1),(n=2*e+2)<t.b.c.length&&Aut(t,n),jSt(t,e))}function Eut(t,e,n){var i,r;this.g=t,this.c=e,this.a=this,this.d=this,r=Jit(n),i=P8(Vte,IKt,330,r,0,1),this.b=i}function Tut(t,e,n){var i;for(i=n-1;i>=0&&t[i]===e[i];i--);return i<0?0:uT(n0(t[i],ZXt),n0(e[i],ZXt))?-1:1}function Cut(t,e){var n,i;for(i=lwt(t,0);i.b!=i.d.c;)(n=zz(d3(i),214)).e.length>0&&(e.td(n),n.i&&mft(n))}function Sut(t,e){var n,i;return i=zz(xot(t.a,4),126),n=P8(pDe,r7t,415,e,0,1),null!=i&&sqt(i,0,n,0,i.length),n}function Iut(t,e){var n;return n=new aFt(0!=(256&t.f),t.i,t.a,t.d,0!=(16&t.f),t.j,t.g,e),null!=t.e||(n.c=t),n}function Mut(t,e){var n;for(n=t.Zb().Cc().Kc();n.Ob();)if(zz(n.Pb(),14).Hc(e))return!0;return!1}function Dut(t,e,n,i,r){var a,o;for(o=n;o<=r;o++)for(a=e;a<=i;a++)if(yyt(t,a,o))return!0;return!1}function Out(t,e,n){var i,r,a,o;for(xW(n),o=!1,a=t.Zc(e),r=n.Kc();r.Ob();)i=r.Pb(),a.Rb(i),o=!0;return o}function Lut(t,e){var n;return t===e||!!aL(e,83)&&(n=zz(e,83),YTt(fG(t),n.vc()))}function Nut(t,e,n){var i,r;for(r=n.Kc();r.Ob();)if(i=zz(r.Pb(),42),t.re(e,i.dd()))return!0;return!1}function Put(t,e,n){return t.d[e.p][n.p]||(rmt(t,e,n),t.d[e.p][n.p]=!0,t.d[n.p][e.p]=!0),t.a[e.p][n.p]}function But(t,e){if(!t.ai()&&null==e)throw qw(new jv("The 'no null' constraint is violated"));return e}function Fut(t,e){null==t.D&&null!=t.B&&(t.D=t.B,t.B=null),Hit(t,null==e?null:(xW(e),e)),t.C&&t.yk(null)}function Rut(t,e){return!(!t||t==e||!LP(e,(hWt(),rfe)))&&zz(vEt(e,(hWt(),rfe)),10)!=t}function jut(t){switch(t.i){case 2:return!0;case 1:return!1;case-1:++t.c;default:return t.pl()}}function $ut(t){switch(t.i){case-2:return!0;case-1:return!1;case 1:--t.c;default:return t.ql()}}function zut(t){jQ.call(this,"The given string does not match the expected format for individual spacings.",t)}function qut(){qut=M,sMe=new aI("ELK",0),cMe=new aI("JSON",1),oMe=new aI("DOT",2),uMe=new aI("SVG",3)}function Hut(){Hut=M,uke=new mS(VJt,0),lke=new mS("RADIAL_COMPACTION",1),hke=new mS("WEDGE_COMPACTION",2)}function Uut(){Uut=M,Gne=new wT("CONCURRENT",0),Yne=new wT("IDENTITY_FINISH",1),Zne=new wT("UNORDERED",2)}function Gut(){Gut=M,gE(),cae=new OM(qQt,uae=rae),sae=new sw(HQt),lae=new sw(UQt),hae=new sw(GQt)}function Yut(){Yut=M,fue=new ki,due=new _i,hue=new Ai,lue=new Ei,xW(new Ti),uue=new B}function Zut(){Zut=M,nye=new WC("CONSERVATIVE",0),iye=new WC("CONSERVATIVE_SOFT",1),rye=new WC("SLOPPY",2)}function Wut(){Wut=M,pSe=new WD(15),gSe=new ZD((lWt(),ZTe),pSe),bSe=bCe,lSe=oTe,hSe=RTe,dSe=zTe,fSe=$Te}function Kut(t,e,n){var i,r;for(i=new VA,r=lwt(n,0);r.b!=r.d.c;)Bq(i,new gD(zz(d3(r),8)));Out(t,e,i)}function Xut(t){var e,n,i;for(e=0,i=P8(CEe,lKt,8,t.b,0,1),n=lwt(t,0);n.b!=n.d.c;)i[e++]=zz(d3(n),8);return i}function Vut(t){var e;return!t.a&&(t.a=new nY(WDe,t,9,5)),0!=(e=t.a).i?qE(zz(Ket(e,0),678)):null}function Qut(t,e){var n;return n=adt(t,e),uT(r0(t,e),0)|VI(r0(t,n),0)?n:adt(gKt,r0(kG(n,63),1))}function Jut(t,e){var n;n=null!=vwt((Rgt(),Kwe))&&null!=e.wg()?Uv(EB(e.wg()))/Uv(EB(vwt(Kwe))):1,KW(t.b,e,n)}function tlt(t,e){var n,i;return(n=zz(t.d.Bc(e),14))?((i=t.e.hc()).Gc(n),t.e.d-=n.gc(),n.$b(),i):null}function elt(t,e){var n,i;if(0!=(i=t.c[e]))for(t.c[e]=0,t.d-=i,n=e+1;n<t.a.length;)t.a[n]-=i,n+=n&-n}function nlt(t){var e;if((e=t.a.c.length)>0)return RG(e-1,t.a.c.length),u6(t.a,e-1);throw qw(new ym)}function ilt(t,e,n){if(e<0)throw qw(new Dv(e5t+e));e<t.j.c.length?a5(t.j,e,n):(b3(t,e),Wz(t.j,n))}function rlt(t,e,n){if(t>e)throw qw(new jv(vVt+t+xVt+e));if(t<0||e>n)throw qw(new Ax(vVt+t+kVt+e+hVt+n))}function alt(t){if(!t.a||0==(8&t.a.i))throw qw(new $v("Enumeration class expected for layout option "+t.f))}function olt(t){var e;++t.j,0==t.i?t.g=null:t.i<t.g.length&&(e=t.g,t.g=t.ri(t.i),sqt(e,0,t.g,0,t.i))}function slt(t,e){var n,i;for(n=t.a.length-1,t.c=t.c-1&n;e!=t.c;)i=e+1&n,OZ(t.a,e,t.a[i]),e=i;OZ(t.a,t.c,null)}function clt(t,e){var n,i;for(n=t.a.length-1;e!=t.b;)i=e-1&n,OZ(t.a,e,t.a[i]),e=i;OZ(t.a,t.b,null),t.b=t.b+1&n}function ult(t,e,n){var i;return LJ(e,t.c.length),0!=(i=n.Pc()).length&&(eq(t.c,e,i),!0)}function llt(t){var e,n;if(null==t)return null;for(e=0,n=t.length;e<n;e++)if(!Cq(t[e]))return t[e];return null}function hlt(t,e,n){var i,r,a,o;for(a=0,o=(r=n).length;a<o;++a)if(i=r[a],t.b.re(e,i.cd()))return i;return null}function flt(t){var e,n,i,r,a;for(a=1,i=0,r=(n=t).length;i<r;++i)a=31*a+(null!=(e=n[i])?eut(e):0),a|=0;return a}function dlt(t){var e,n,i,r,a;for(e={},r=0,a=(i=t).length;r<a;++r)e[":"+(null!=(n=i[r]).f?n.f:""+n.g)]=n;return e}function glt(t){var e;for(vZ(t),Sj(!0,"numberToAdvance must be nonnegative"),e=0;e<0&&bDt(t);e++)Y5(t);return e}function plt(t){var e,n,i;for(i=0,n=new cG(JL(t.a.Kc(),new l));bDt(n);)(e=zz(Y5(n),17)).c.i==e.d.i||++i;return i}function blt(t,e){var n,i,r;for(n=t,r=0;;){if(n==e)return r;if(!(i=n.e))throw qw(new gm);n=mW(i),++r}}function wlt(t,e){var n,i,r;for(r=e-t.f,i=new Wd(t.d);i.a<i.c.c.length;)kpt(n=zz(t0(i),443),n.e,n.f+r);t.f=e}function mlt(t,e,i){return n.Math.abs(e-t)<$3t||n.Math.abs(i-t)<$3t||(e-t>$3t?t-i>$3t:i-t>$3t)}function ylt(t,e){return t?e&&!t.j||aL(t,124)&&0==zz(t,124).a.b?0:t.Re():0}function vlt(t,e){return t?e&&!t.k||aL(t,124)&&0==zz(t,124).a.a?0:t.Se():0}function xlt(t){return DBt(),t<0?-1!=t?new Rwt(-1,-t):Qee:t<=10?tne[SQ(t)]:new Rwt(1,t)}function klt(t){throw tct(),qw(new bv("Unexpected typeof result '"+t+"'; please report this bug to the GWT team"))}function _lt(t){lx(),KO(this),kX(this),this.e=t,IPt(this,t),this.g=null==t?YWt:qdt(t),this.a="",this.b=t,this.a=""}function Alt(){this.a=new es,this.f=new pb(this),this.b=new bb(this),this.i=new wb(this),this.e=new mb(this)}function Elt(){av.call(this,new H8(net(16))),dit(2,uKt),this.b=2,this.a=new qW(null,null,0,null),im(this.a,this.a)}function Tlt(){Tlt=M,ame=new RC("DUMMY_NODE_OVER",0),ome=new RC("DUMMY_NODE_UNDER",1),sme=new RC("EQUAL",2)}function Clt(){Clt=M,Zoe=qQ(Sst(Ux(WCe,1),LKt,103,0,[(zht(),jCe),$Ce])),Woe=qQ(Sst(Ux(WCe,1),LKt,103,0,[qCe,RCe]))}function Slt(t){return(kYt(),vIe).Hc(t.j)?Uv(EB(vEt(t,(hWt(),Lfe)))):Oct(Sst(Ux(CEe,1),lKt,8,0,[t.i.n,t.n,t.a])).b}function Ilt(t){var e,n;for(e=t.b.a.a.ec().Kc();e.Ob();)n=new VOt(zz(e.Pb(),561),t.e,t.f),Wz(t.g,n)}function Mlt(t,e){var n,i;n=t.nk(e,null),i=null,e&&(i_(),ont(i=new Rw,t.r)),(n=HAt(t,i,n))&&n.Fi()}function Dlt(t,e){var n,i;for(i=0!=HOt(t.d,1),n=!0;n;)n=!1,n=e.c.Tf(e.e,i),n|=FNt(t,e,i,!1),i=!i;Lrt(t)}function Olt(t,e){var n,i,r;return i=!1,n=e.q.d,e.d<t.b&&(r=bNt(e.q,t.b),e.q.d>r&&(s_t(e.q,r),i=n!=e.q.d)),i}function Llt(t,e){var i,r,a,o,s;return o=e.i,s=e.j,r=o-(i=t.f).i,a=s-i.j,n.Math.sqrt(r*r+a*a)}function Nlt(t,e){var n;return(n=Qpt(t))||(!OMe&&(OMe=new Mc),Rqt(),h7((n=new Sw(QCt(e))).Vk(),t)),n}function Plt(t,e){var n,i;return(n=zz(t.c.Bc(e),14))?((i=t.hc()).Gc(n),t.d-=n.gc(),n.$b(),t.mc(i)):t.jc()}function Blt(t,e){var n;for(n=0;n<e.length;n++)if(t==(d1(n,e.length),e.charCodeAt(n)))return!0;return!1}function Flt(t,e){var n;for(n=0;n<e.length;n++)if(t==(d1(n,e.length),e.charCodeAt(n)))return!0;return!1}function Rlt(t){var e,n;if(null==t)return!1;for(e=0,n=t.length;e<n;e++)if(!Cq(t[e]))return!1;return!0}function jlt(t){var e;if(0!=t.c)return t.c;for(e=0;e<t.a.length;e++)t.c=33*t.c+(-1&t.a[e]);return t.c=t.c*t.e,t.c}function $lt(t){var e;return CP(t.a!=t.b),e=t.d.a[t.a],_P(t.b==t.d.c&&null!=e),t.c=t.a,t.a=t.a+1&t.d.a.length-1,e}function zlt(t){var e;if(!(t.c.c<0?t.a>=t.c.b:t.a<=t.c.b))throw qw(new vm);return e=t.a,t.a+=t.c.c,++t.b,rft(e)}function qlt(t){var e;return e=new fet(t),i2(t.a,use,new Qv(Sst(Ux(Qoe,1),HWt,369,0,[e]))),e.d&&Wz(e.f,e.d),e.f}function Hlt(t){var e;return Uot(e=new MO(t.a),t),hct(e,(hWt(),pfe),t),e.o.a=t.g,e.o.b=t.f,e.n.a=t.i,e.n.b=t.j,e}function Ult(t,e,n,i){var r,a;for(a=t.Kc();a.Ob();)(r=zz(a.Pb(),70)).n.a=e.a+(i.a-r.o.a)/2,r.n.b=e.b,e.b+=r.o.b+n}function Glt(t,e,n){var i;for(i=e.a.a.ec().Kc();i.Ob();)if(aV(t,zz(i.Pb(),57),n))return!0;return!1}function Ylt(t){var e,n;for(n=new Wd(t.r);n.a<n.c.c.length;)if(e=zz(t0(n),10),t.n[e.p]<=0)return e;return null}function Zlt(t){var e,n;for(n=new Fm,e=new Wd(t);e.a<e.c.c.length;)zrt(n,bBt(zz(t0(e),33)));return n}function Wlt(t){var e;return e=xD(Sye),zz(vEt(t,(hWt(),Jhe)),21).Hc((gBt(),phe))&&pH(e,(xEt(),joe),(dWt(),zce)),e}function Klt(t,e,n){var i;i=new TMt(t,e),JIt(t.r,e.Hf(),i),n&&!qG(t.u)&&(i.c=new vQ(t.d),Det(e.wf(),new Sg(i)))}function Xlt(t,e){var n;return QM(t)&&QM(e)&&(n=t-e,!isNaN(n))?n:jxt(QM(t)?Sot(t):t,QM(e)?Sot(e):e)}function Vlt(t,e){return e<t.length&&(d1(e,t.length),63!=t.charCodeAt(e))&&(d1(e,t.length),35!=t.charCodeAt(e))}function Qlt(t,e,n,i){var r,a;t.a=e,a=i?0:1,t.f=(r=new tCt(t.c,t.a,n,a),new cFt(n,t.a,r,t.e,t.b,t.c==(uit(),Dye)))}function Jlt(t,e,n){var i,r;return r=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,1,r,e),n?n.Ei(i):n=i),n}function tht(t,e,n){var i,r;return r=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,3,r,e),n?n.Ei(i):n=i),n}function eht(t,e,n){var i,r;return r=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,0,r,e),n?n.Ei(i):n=i),n}function nht(t,e){var n,i,r,a;return(a=kSt((i=e,(r=t?Qpt(t):null)&&r.Xk(),i)))==e&&(n=Qpt(t))&&n.Xk(),a}function iht(t,e){var n,i,r;for(r=1,n=t,i=e>=0?e:-e;i>0;)i%2==0?(n*=n,i=i/2|0):(r*=n,i-=1);return e<0?1/r:r}function rht(t,e){var n,i,r;for(r=1,n=t,i=e>=0?e:-e;i>0;)i%2==0?(n*=n,i=i/2|0):(r*=n,i-=1);return e<0?1/r:r}function aht(t){var e,n,i,r;if(null!=t)for(n=0;n<t.length;++n)if(e=t[n])for(zz(e.g,367),r=e.i,i=0;i<r;++i);}function oht(t){var e,i,r;for(r=0,i=new Wd(t.a);i.a<i.c.c.length;)e=zz(t0(i),187),r=n.Math.max(r,e.g);return r}function sht(t){var e,n,i;for(i=new Wd(t.b);i.a<i.c.c.length;)(e=(n=zz(t0(i),214)).c.Rf()?n.f:n.a)&&pHt(e,n.j)}function cht(){cht=M,mSe=new qS("INHERIT",0),wSe=new qS("INCLUDE_CHILDREN",1),ySe=new qS("SEPARATE_CHILDREN",2)}function uht(t,e){switch(e){case 1:return!t.n&&(t.n=new nY(GMe,t,1,7)),void lHt(t.n);case 2:return void Lit(t,null)}Yst(t,e)}function lht(t){switch(t.gc()){case 0:return zte;case 1:return new CH(vZ(t.Xb(0)));default:return new TV(t)}}function hht(t){switch(uj(),t.gc()){case 0:return KZ(),Xte;case 1:return new vx(t.Kc().Pb());default:return new mT(t)}}function fht(t){switch(uj(),t.c){case 0:return KZ(),Xte;case 1:return new vx(JSt(new XA(t)));default:return new uv(t)}}function dht(t,e){vZ(t);try{return t.xc(e)}catch(t){if(aL(t=dst(t),205)||aL(t,173))return null;throw qw(t)}}function ght(t,e){vZ(t);try{return t.Bc(e)}catch(t){if(aL(t=dst(t),205)||aL(t,173))return null;throw qw(t)}}function pht(t,e){vZ(t);try{return t.Hc(e)}catch(t){if(aL(t=dst(t),205)||aL(t,173))return!1;throw qw(t)}}function bht(t,e){vZ(t);try{return t.Mc(e)}catch(t){if(aL(t=dst(t),205)||aL(t,173))return!1;throw qw(t)}}function wht(t,e){vZ(t);try{return t._b(e)}catch(t){if(aL(t=dst(t),205)||aL(t,173))return!1;throw qw(t)}}function mht(t,e){t.a.c.length>0&&but(zz(PH(t.a,t.a.c.length-1),570),e)||Wz(t.a,new w5(e))}function yht(t){var e,n;Uj(),e=t.d.c-t.e.c,Det((n=zz(t.g,145)).b,new kp(e)),Det(n.c,new _p(e)),n5(n.i,new Ap(e))}function vht(t){var e;return(e=new Sx).a+="VerticalSegment ",sM(e,t.e),e.a+=" ",cM(e,QL(new yx,new Wd(t.k))),e.a}function xht(t){var e;return(e=zz(ftt(t.c.c,""),229))||(e=new YJ(kk(xk(new ms,""),"Other")),Jbt(t.c.c,"",e)),e}function kht(t){var e;return 0!=(64&t.Db)?SOt(t):((e=new hN(SOt(t))).a+=" (name: ",aM(e,t.zb),e.a+=")",e.a)}function _ht(t,e,n){var i,r;return r=t.sb,t.sb=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,4,r,e),n?n.Ei(i):n=i),n}function Aht(t,e){var n,i;for(n=0,i=sdt(t,e).Kc();i.Ob();)n+=null!=vEt(zz(i.Pb(),11),(hWt(),_fe))?1:0;return n}function Eht(t,e,n){var i,r,a;for(i=0,a=lwt(t,0);a.b!=a.d.c&&!((r=Uv(EB(d3(a))))>n);)r>=e&&++i;return i}function Tht(t,e,n){var i;return i=new N9(t.e,3,13,null,e.c||(wWt(),fOe),cmt(t,e),!1),n?n.Ei(i):n=i,n}function Cht(t,e,n){var i;return i=new N9(t.e,4,13,e.c||(wWt(),fOe),null,cmt(t,e),!1),n?n.Ei(i):n=i,n}function Sht(t,e,n){var i,r;return r=t.r,t.r=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,8,r,t.r),n?n.Ei(i):n=i),n}function Iht(t,e){var n,i;return!(i=(n=zz(e,676)).vk())&&n.wk(i=aL(e,88)?new OI(t,zz(e,26)):new j0(t,zz(e,148))),i}function Mht(t,e,n){var i;t.qi(t.i+1),i=t.oi(e,n),e!=t.i&&sqt(t.g,e,t.g,e+1,t.i-e),OZ(t.g,e,i),++t.i,t.bi(e,n),t.ci()}function Dht(t,e){var n;return e.a&&(n=e.a.a.length,t.a?cM(t.a,t.b):t.a=new fN(t.d),U0(t.a,e.a,e.d.length,n)),t}function Oht(t,e){var n,i,r;if(e.vi(t.a),null!=(r=zz(xot(t.a,8),1936)))for(n=0,i=r.length;n<i;++n)null.jm()}function Lht(t,e){var n;return n=new ct,t.a.sd(n)?(SL(),new mv(xW(A9(t,n.a,e)))):(_W(t),SL(),SL(),Tne)}function Nht(t,e){switch(e.g){case 2:case 1:return sdt(t,e);case 3:case 4:return iot(sdt(t,e))}return TX(),TX(),lne}function Pht(t,e){return ZI(t)?yR(t,e):YI(t)?mR(t,e):GI(t)?(xW(t),UI(t)===UI(e)):iG(t)?t.Fb(e):DU(t)?$M(t,e):m0(t,e)}function Bht(t){return t?0!=(1&t.i)?t==ONe?kee:t==DNe?Oee:t==BNe?Iee:t==PNe?See:t==LNe?Ree:t==FNe?$ee:t==NNe?Eee:Cee:t:null}function Fht(t,e,n,i,r){0!=e&&0!=i&&(1==e?r[i]=bmt(r,n,i,t[0]):1==i?r[e]=bmt(r,t,e,n[0]):QMt(t,n,r,e,i))}function Rht(t,e){var n;0!=t.c.length&&(lD(n=zz(Vbt(t,P8(Mse,s1t,10,t.c.length,0,1)),193),new Mn),iMt(n,e))}function jht(t,e){var n;0!=t.c.length&&(lD(n=zz(Vbt(t,P8(Mse,s1t,10,t.c.length,0,1)),193),new Dn),iMt(n,e))}function $ht(t,e,n,i){switch(e){case 1:return!t.n&&(t.n=new nY(GMe,t,1,7)),t.n;case 2:return t.k}return Avt(t,e,n,i)}function zht(){zht=M,zCe=new RS(hQt,0),$Ce=new RS(sQt,1),jCe=new RS(oQt,2),RCe=new RS(mQt,3),qCe=new RS("UP",4)}function qht(){qht=M,gse=new VT(VJt,0),dse=new VT("INSIDE_PORT_SIDE_GROUPS",1),fse=new VT("FORCE_MODEL_ORDER",2)}function Hht(t,e,n){if(t<0||e>n)throw qw(new Dv(vVt+t+kVt+e+", size: "+n));if(t>e)throw qw(new jv(vVt+t+xVt+e))}function Uht(t,e,n){if(e<0)oIt(t,n);else{if(!n.Ij())throw qw(new jv(a6t+n.ne()+o6t));zz(n,66).Nj().Vj(t,t.yh(),e)}}function Ght(t,e,n,i,r,a,o,s){var c;for(c=n;a<o;)c>=i||e<n&&s.ue(t[e],t[c])<=0?OZ(r,a++,t[e++]):OZ(r,a++,t[c++])}function Yht(t,e,n,i,r,a){this.e=new Nw,this.f=(sit(),Ume),Wz(this.e,t),this.d=e,this.a=n,this.b=i,this.f=r,this.c=a}function Zht(t,e){var n,i;for(i=new DL(t);i.e!=i.i.gc();)if(n=zz(kwt(i),26),UI(e)===UI(n))return!0;return!1}function Wht(t){var e,n,i,r;for(bWt(),i=0,r=(n=nwt()).length;i<r;++i)if(-1!=_9((e=n[i]).a,t,0))return e;return Ire}function Kht(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t>=48&&t<=57?t-48:0}function Xht(t){var e;return 0!=(64&t.Db)?SOt(t):((e=new hN(SOt(t))).a+=" (source: ",aM(e,t.d),e.a+=")",e.a)}function Vht(t,e,n){var i,r;return r=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,5,r,t.a),n?j_t(n,i):n=i),n}function Qht(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,2,n,e))}function Jht(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,8,n,e))}function tft(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,8,n,e))}function eft(t,e){var n;n=0!=(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,3,n,e))}function nft(t,e){var n;n=0!=(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,9,n,e))}function ift(t,e){var n;return-1==t.b&&t.a&&(n=t.a.Gj(),t.b=n?t.c.Xg(t.a.aj(),n):Ogt(t.c.Tg(),t.a)),t.c.Og(t.b,e)}function rft(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(eH(),Mee)[e])&&(n=Mee[e]=new Pd(t)),n):new Pd(t)}function aft(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(AH(),jee)[e])&&(n=jee[e]=new Fd(t)),n):new Fd(t)}function oft(t){var e;return t.k==(cTt(),Ese)&&((e=zz(vEt(t,(hWt(),Xhe)),61))==(kYt(),uIe)||e==TIe)}function sft(t,e,n){var i,r;return(r=LOt(t.b,e))&&(i=zz(Pqt($9(t,r),""),26))?vOt(t,i,e,n):null}function cft(t,e,n){var i,r;return(r=LOt(t.b,e))&&(i=zz(Pqt($9(t,r),""),26))?xOt(t,i,e,n):null}function uft(t,e){var n,i;for(i=new DL(t);i.e!=i.i.gc();)if(n=zz(kwt(i),138),UI(e)===UI(n))return!0;return!1}function lft(t,e,n){var i;if(e>(i=t.gc()))throw qw(new eR(e,i));if(t.hi()&&t.Hc(n))throw qw(new jv(s8t));t.Xh(e,n)}function hft(t,e){var n;if(null==(n=lnt(t.i,e)))throw qw(new nx("Node did not exist in input."));return jat(e,n),null}function fft(t,e){var n;if(aL(n=PNt(t,e),322))return zz(n,34);throw qw(new jv(a6t+e+"' is not a valid attribute"))}function dft(t,e,n){var i,r;for(r=aL(e,99)&&0!=(zz(e,18).Bb&qXt)?new PM(e,t):new Oot(e,t),i=0;i<n;++i)omt(r);return r}function gft(t){var e,n,i;for(i=0,n=t.length,e=0;e<n;e++)32==t[e]||13==t[e]||10==t[e]||9==t[e]||(t[i++]=t[e]);return i}function pft(t){var e,n,i;for(e=new Nw,i=new Wd(t.b);i.a<i.c.c.length;)n=zz(t0(i),594),wst(e,zz(n.jf(),14));return e}function bft(t){var e,n;for(n=zz(vEt(t,(UHt(),fxe)),15).Kc();n.Ob();)Bq((e=zz(n.Pb(),188)).b.d,e),Bq(e.c.b,e)}function wft(t){switch(zz(vEt(t,(hWt(),ife)),303).g){case 1:hct(t,ife,(G9(),The));break;case 2:hct(t,ife,(G9(),She))}}function mft(t){var e;t.g&&(BPt((e=t.c.Rf()?t.f:t.a).a,t.o,!0),BPt(e.a,t.o,!1),hct(t.o,(HZt(),nwe),(V_t(),YSe)))}function yft(t){var e;if(!t.a)throw qw(new $v("Cannot offset an unassigned cut."));e=t.c-t.b,t.b+=e,PX(t,e),NX(t,e)}function vft(t){var e;return null==(e=t.a[t.c-1&t.a.length-1])?null:(t.c=t.c-1&t.a.length-1,OZ(t.a,t.c,null),e)}function xft(t){var e,n;for(n=t.p.a.ec().Kc();n.Ob();)if((e=zz(n.Pb(),213)).f&&t.b[e.c]<-1e-10)return e;return null}function kft(t,e){switch(t.b.g){case 0:case 1:return e;case 2:case 3:return new YK(e.d,0,e.a,e.b);default:return null}}function _ft(t){switch(t.g){case 2:return $Ce;case 1:return jCe;case 4:return RCe;case 3:return qCe;default:return zCe}}function Aft(t){switch(t.g){case 1:return SIe;case 2:return uIe;case 3:return cIe;case 4:return TIe;default:return CIe}}function Eft(t){switch(t.g){case 1:return TIe;case 2:return SIe;case 3:return uIe;case 4:return cIe;default:return CIe}}function Tft(t){switch(t.g){case 1:return cIe;case 2:return TIe;case 3:return SIe;case 4:return uIe;default:return CIe}}function Cft(t){switch(t){case 0:return new yy;case 1:return new wy;case 2:return new my;default:throw qw(new gm)}}function Sft(t,e){return t<e?-1:t>e?1:t==e?0==t?Sft(1/t,1/e):0:isNaN(t)?isNaN(e)?0:1:-1}function Ift(t,e){DAt(e,"Sort end labels",1),QA(DK(gtt(new FH(null,new g1(t.b,16)),new gn),new pn),new bn),HTt(e)}function Mft(t,e,n){var i,r;return t.ej()?(r=t.fj(),i=QIt(t,e,n),t.$i(t.Zi(7,rft(n),i,e,r)),i):QIt(t,e,n)}function Dft(t,e){var n,i,r;null==t.d?(++t.e,--t.f):(r=e.cd(),N6(t,i=((n=e.Sh())&FWt)%t.d.length,OOt(t,i,n,r)))}function Oft(t,e){var n;n=0!=(t.Bb&k6t),e?t.Bb|=k6t:t.Bb&=-1025,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,10,n,e))}function Lft(t,e){var n;n=0!=(t.Bb&$Xt),e?t.Bb|=$Xt:t.Bb&=-4097,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,12,n,e))}function Nft(t,e){var n;n=0!=(t.Bb&E7t),e?t.Bb|=E7t:t.Bb&=-8193,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,15,n,e))}function Pft(t,e){var n;n=0!=(t.Bb&T7t),e?t.Bb|=T7t:t.Bb&=-2049,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,11,n,e))}function Bft(t,e){var n;return 0!=(n=Sft(t.b.c,e.b.c))||0!=(n=Sft(t.a.a,e.a.a))?n:Sft(t.a.b,e.a.b)}function Fft(t,e){var n;if(null==(n=FZ(t.k,e)))throw qw(new nx("Port did not exist in input."));return jat(e,n),null}function Rft(t){var e,n;for(n=GOt(Zet(t)).Kc();n.Ob();)if(Pjt(t,e=TB(n.Pb())))return v4((YE(),FDe),e);return null}function jft(t,e){var n,i,r,a,o;for(o=sPt(t.e.Tg(),e),a=0,n=zz(t.g,119),r=0;r<t.i;++r)i=n[r],o.rl(i.ak())&&++a;return a}function $ft(t,e,n){var i,r;return i=zz(e.We(t.a),35),r=zz(n.We(t.a),35),null!=i&&null!=r?Pat(i,r):null!=i?-1:null!=r?1:0}function zft(t,e,n){var i;if(t.c)dEt(t.c,e,n);else for(i=new Wd(t.b);i.a<i.c.c.length;)zft(zz(t0(i),157),e,n)}function qft(t,e){var n,i;for(i=new Wd(e);i.a<i.c.c.length;)n=zz(t0(i),46),v9(t.b.b,n.b),sV(zz(n.a,189),zz(n.b,81))}function Hft(t){var e,n;for(n=PZ(new Sx,91),e=!0;t.Ob();)e||(n.a+=zWt),e=!1,sM(n,t.Pb());return(n.a+="]",n).a}function Uft(t,e){var n;n=0!=(t.Bb&hKt),e?t.Bb|=hKt:t.Bb&=-16385,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,16,n,e))}function Gft(t,e){var n;n=0!=(t.Bb&h6t),e?t.Bb|=h6t:t.Bb&=-32769,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,18,n,e))}function Yft(t,e){var n;n=0!=(t.Bb&h6t),e?t.Bb|=h6t:t.Bb&=-32769,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,18,n,e))}function Zft(t,e){var n;n=0!=(t.Bb&qXt),e?t.Bb|=qXt:t.Bb&=-65537,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,20,n,e))}function Wft(t){var e;return e=P8(MNe,KKt,25,2,15,1),t-=qXt,e[0]=(t>>10)+HXt&VKt,e[1]=56320+(1023&t)&VKt,qpt(e,0,e.length)}function Kft(t){var e;return(e=zz(vEt(t,(HZt(),Ype)),103))==(zht(),zCe)?Uv(EB(vEt(t,_pe)))>=1?$Ce:RCe:e}function Xft(t){switch(zz(vEt(t,(HZt(),Jpe)),218).g){case 1:return new ia;case 3:return new ca;default:return new na}}function Vft(t){if(t.c)Vft(t.c);else if(t.d)throw qw(new $v("Stream already terminated, can't be modified or used"))}function Qft(t){var e;return 0!=(64&t.Db)?SOt(t):((e=new hN(SOt(t))).a+=" (identifier: ",aM(e,t.k),e.a+=")",e.a)}function Jft(t,e,n){var i;return e_(),_nt(i=new ac,e),Ant(i,n),t&&h7((!t.a&&(t.a=new OL(PMe,t,5)),t.a),i),i}function tdt(t,e,n,i){var r,a;return xW(i),xW(n),null==(a=null==(r=t.xc(e))?n:JA(zz(r,15),zz(n,14)))?t.Bc(e):t.zc(e,a),a}function edt(t){var e,n,i,r;return urt(n=new VR(e=zz(Kk((r=(i=t.gm).f)==Zte?i:r),9),zz(TF(e,e.length),9),0),t),n}function ndt(t,e,n){var i,r;for(r=t.a.ec().Kc();r.Ob();)if(i=zz(r.Pb(),10),ust(n,zz(PH(e,i.p),14)))return i;return null}function idt(t,e,n){try{$ct(t,e,n)}catch(t){throw aL(t=dst(t),597)?qw(new b5(t)):qw(t)}return e}function rdt(t,e){var n;return QM(t)&&QM(e)&&LXt<(n=t-e)&&n<DXt?n:cot(hst(QM(t)?Sot(t):t,QM(e)?Sot(e):e))}function adt(t,e){var n;return QM(t)&&QM(e)&&LXt<(n=t+e)&&n<DXt?n:cot(lst(QM(t)?Sot(t):t,QM(e)?Sot(e):e))}function odt(t,e){var n;return QM(t)&&QM(e)&&LXt<(n=t*e)&&n<DXt?n:cot(fHt(QM(t)?Sot(t):t,QM(e)?Sot(e):e))}function sdt(t,e){var n;return t.i||iIt(t),(n=zz(cK(t.g,e),46))?new u1(t.j,zz(n.a,19).a,zz(n.b,19).a):(TX(),TX(),lne)}function cdt(t,e,n){var i;return i=t.a.get(e),t.a.set(e,void 0===n?null:n),void 0===i?(++t.c,cV(t.b)):++t.d,i}function udt(t,e,i){t.n=xH(LNe,[lKt,zXt],[364,25],14,[i,SQ(n.Math.ceil(e/32))],2),t.o=e,t.p=i,t.j=e-1>>1,t.k=i-1>>1}function ldt(){var t,e,i;xAt(),i=Lne+++Date.now(),t=SQ(n.Math.floor(i*cVt))&lVt,e=SQ(i-t*uVt),this.a=1502^t,this.b=e^sVt}function hdt(t){var e,n;for(e=new Nw,n=new Wd(t.j);n.a<n.c.c.length;)Wz(e,zz(t0(n),11).b);return vZ(e),new MM(e)}function fdt(t){var e,n;for(e=new Nw,n=new Wd(t.j);n.a<n.c.c.length;)Wz(e,zz(t0(n),11).e);return vZ(e),new MM(e)}function ddt(t){var e,n;for(e=new Nw,n=new Wd(t.j);n.a<n.c.c.length;)Wz(e,zz(t0(n),11).g);return vZ(e),new MM(e)}function gdt(t){var e,n;for(n=nOt(Zet(pJ(t))).Kc();n.Ob();)if(Pjt(t,e=TB(n.Pb())))return x4((ZE(),YDe),e);return null}function pdt(t){var e,n;for(e=0,n=t.length;e<n;e++)if(null==t[e])throw qw(new qv("at index "+e));return new Qv(t)}function bdt(t,e){var n;if(aL(n=PNt(t.Tg(),e),99))return zz(n,18);throw qw(new jv(a6t+e+"' is not a valid reference"))}function wdt(t){var e;return(e=gTt(t))>34028234663852886e22?RXt:e<-34028234663852886e22?jXt:e}function mdt(t){return t=((t=((t-=t>>1&1431655765)>>2&858993459)+(858993459&t))>>4)+t&252645135,t+=t>>8,63&(t+=t>>16)}function ydt(t){var e,n,i;for(e=new lF(t.Hd().gc()),i=0,n=L7(t.Hd().Kc());n.Ob();)kJ(e,n.Pb(),rft(i++));return PTt(e.a)}function vdt(t,e){var n,i,r;for(r=new Pw,i=e.vc().Kc();i.Ob();)KW(r,(n=zz(i.Pb(),42)).cd(),dot(t,zz(n.dd(),15)));return r}function xdt(t,e){0==t.n.c.length&&Wz(t.n,new FQ(t.s,t.t,t.i)),Wz(t.b,e),lyt(zz(PH(t.n,t.n.c.length-1),211),e),q$t(t,e)}function kdt(t){return t.c==t.b.b&&t.i==t.g.b||(t.a.c=P8(Ote,HWt,1,0,5,1),wst(t.a,t.b),wst(t.a,t.g),t.c=t.b.b,t.i=t.g.b),t.a}function _dt(t,e){var n,i;for(i=0,n=zz(e.Kb(t),20).Kc();n.Ob();)Hv(AB(vEt(zz(n.Pb(),17),(hWt(),Sfe))))||++i;return i}function Adt(t,e){var i,r;r=Uv(EB(ipt(h2(e),(HZt(),vwe)))),zxt(e,i=n.Math.max(0,r/2-.5),1),Wz(t,new fC(e,i))}function Edt(){Edt=M,Hfe=new zC(VJt,0),jfe=new zC("FIRST",1),$fe=new zC(I1t,2),zfe=new zC("LAST",3),qfe=new zC(M1t,4)}function Tdt(){Tdt=M,JCe=new $S(hQt,0),VCe=new $S("POLYLINE",1),XCe=new $S("ORTHOGONAL",2),QCe=new $S("SPLINES",3)}function Cdt(){Cdt=M,Jke=new xS("ASPECT_RATIO_DRIVEN",0),t_e=new xS("MAX_SCALE_DRIVEN",1),Qke=new xS("AREA_DRIVEN",2)}function Sdt(){Sdt=M,q_e=new _S("P1_STRUCTURE",0),H_e=new _S("P2_PROCESSING_ORDER",1),U_e=new _S("P3_EXECUTION",2)}function Idt(){Idt=M,nke=new bS("OVERLAP_REMOVAL",0),tke=new bS("COMPACTION",1),eke=new bS("GRAPH_SIZE_CALCULATION",2)}function Mdt(t,e){return lO(),ait(jKt),n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:GM(isNaN(t),isNaN(e))}function Ddt(t,e){var n,i;for(n=lwt(t,0);n.b!=n.d.c;){if((i=Gv(EB(d3(n))))==e)return;if(i>e){Y0(n);break}}tZ(n,e)}function Odt(t,e){var n,i,r,a,o;if(n=e.f,Jbt(t.c.d,n,e),null!=e.g)for(a=0,o=(r=e.g).length;a<o;++a)i=r[a],Jbt(t.c.e,i,e)}function Ldt(t,e,n,i){var r,a,o;for(r=e+1;r<n;++r)for(a=r;a>e&&i.ue(t[a-1],t[a])>0;--a)o=t[a],OZ(t,a,t[a-1]),OZ(t,a-1,o)}function Ndt(t,e,n,i){if(e<0)ELt(t,n,i);else{if(!n.Ij())throw qw(new jv(a6t+n.ne()+o6t));zz(n,66).Nj().Tj(t,t.yh(),e,i)}}function Pdt(t,e){if(e==t.d)return t.e;if(e==t.e)return t.d;throw qw(new jv("Node "+e+" not part of edge "+t))}function Bdt(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function Fdt(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function Rdt(t,e,n,i){switch(e){case 3:return t.f;case 4:return t.g;case 5:return t.i;case 6:return t.j}return $ht(t,e,n,i)}function jdt(t){return t.k==(cTt(),Sse)&&c5(new FH(null,new GY(new cG(JL(ddt(t).a.Kc(),new l)))),new Hr)}function $dt(t){return null==t.e?t:(!t.c&&(t.c=new aFt(0!=(256&t.f),t.i,t.a,t.d,0!=(16&t.f),t.j,t.g,null)),t.c)}function zdt(t,e){return t.h==IXt&&0==t.m&&0==t.l?(e&&(dee=EO(0,0,0)),WM((Z9(),bee))):(e&&(dee=EO(t.l,t.m,t.h)),EO(0,0,0))}function qdt(t){return Array.isArray(t)&&t.im===I?t_(nut(t))+"@"+(eut(t)>>>0).toString(16):t.toString()}function Hdt(t){var e;this.a=new VR(e=zz(t.e&&t.e(),9),zz(TF(e,e.length),9),0),this.b=P8(Ote,HWt,1,this.a.a.length,5,1)}function Udt(t){var e,n,i;for(this.a=new hD,i=new Wd(t);i.a<i.c.c.length;)n=zz(t0(i),14),grt(e=new lU,n),AY(this.a,e)}function Gdt(t){var e,n;for(HB(),e=t.o.b,n=zz(zz(l6(t.r,(kYt(),TIe)),21),84).Kc();n.Ob();)zz(n.Pb(),111).e.b+=e}function Ydt(t){var e;if(t.b){if(Ydt(t.b),t.b.d!=t.c)throw qw(new mm)}else t.d.dc()&&(e=zz(t.f.c.xc(t.e),14))&&(t.d=e)}function Zdt(t){var e;return null==t||(e=t.length)>0&&(d1(e-1,t.length),58==t.charCodeAt(e-1))&&!Wdt(t,LDe,NDe)}function Wdt(t,e,n){var i,r;for(i=0,r=t.length;i<r;i++)if(nct((d1(i,t.length),t.charCodeAt(i)),e,n))return!0;return!1}function Kdt(t,e){var n,i;for(i=t.e.a.ec().Kc();i.Ob();)if(nTt(e,(n=zz(i.Pb(),266)).d)||MSt(e,n.d))return!0;return!1}function Xdt(t,e){var n,i,r;for(r=(i=HFt(t,e))[i.length-1]/2,n=0;n<i.length;n++)if(i[n]>=r)return e.c+n;return e.c+e.b.gc()}function Vdt(t,e){var n,i,r,a;for(pB(),r=e,G7(i=q7(t),0,i.length,r),n=0;n<i.length;n++)n!=(a=wxt(t,i[n],n))&&Mft(t,n,a)}function Qdt(t,e){var n,i,r,a,o,s;for(i=0,n=0,o=0,s=(a=e).length;o<s;++o)(r=a[o])>0&&(i+=r,++n);return n>1&&(i+=t.d*(n-1)),i}function Jdt(t){var e,n,i;for((i=new Tx).a+="[",e=0,n=t.gc();e<n;)aM(i,xN(t.ki(e))),++e<n&&(i.a+=zWt);return i.a+="]",i.a}function tgt(t){var e,n,i;return i=OAt(t),!W_(t.c)&&(ret(i,"knownLayouters",n=new Sf),e=new rw(n),n5(t.c,e)),i}function egt(t,e){var n,i;for(xW(e),n=!1,i=new Wd(t);i.a<i.c.c.length;)xgt(e,t0(i),!1)&&(DY(i),n=!0);return n}function ngt(t){var e,n;for(n=Uv(EB(t.a.We((lWt(),MCe)))),e=new Wd(t.a.xf());e.a<e.c.c.length;)XYt(t,zz(t0(e),680),n)}function igt(t,e){var n,i;for(i=new Wd(e);i.a<i.c.c.length;)n=zz(t0(i),46),Wz(t.b.b,zz(n.b,81)),b2(zz(n.a,189),zz(n.b,81))}function rgt(t,e,n){var i,r;for(i=(r=t.a.b).c.length;i<n;i++)xU(r,0,new qZ(t.a));CJ(e,zz(PH(r,r.c.length-n),29)),t.b[e.p]=n}function agt(t,e,n){var i;!(i=n)&&(i=Lq(new Zy,0)),DAt(i,UJt,2),vmt(t.b,e,vat(i,1)),jHt(t,e,vat(i,1)),UYt(e,vat(i,1)),HTt(i)}function ogt(t,e,n,i,r){zJ(),ZNt(oE(aE(rE(sE(new qm,0),r.d.e-t),e),r.d)),ZNt(oE(aE(rE(sE(new qm,0),n-r.a.e),r.a),i))}function sgt(t,e,n,i,r,a){this.a=t,this.c=e,this.b=n,this.f=i,this.d=r,this.e=a,this.c>0&&this.b>0&&VH(this.c,this.b,this.a)}function cgt(t){Rgt(),this.c=s6(Sst(Ux(rEe,1),HWt,831,0,[Wwe])),this.b=new Pw,this.a=t,KW(this.b,Kwe,1),Det(Xwe,new Cb(this))}function ugt(t,e){var n;return t.d?lY(t.b,e)?zz(FZ(t.b,e),51):(n=e.Kf(),KW(t.b,e,n),n):e.Kf()}function lgt(t,e){var n;return UI(t)===UI(e)||!!aL(e,91)&&(n=zz(e,91),t.e==n.e&&t.d==n.d&&_4(t,n.a))}function hgt(t){switch(kYt(),t.g){case 4:return uIe;case 1:return cIe;case 3:return TIe;case 2:return SIe;default:return CIe}}function fgt(t,e){switch(e){case 3:return 0!=t.f;case 4:return 0!=t.g;case 5:return 0!=t.i;case 6:return 0!=t.j}return Aot(t,e)}function dgt(t){switch(t.g){case 0:return new Go;case 1:return new Yo;default:throw qw(new jv(o4t+(null!=t.f?t.f:""+t.g)))}}function ggt(t){switch(t.g){case 0:return new Uo;case 1:return new Zo;default:throw qw(new jv(T1t+(null!=t.f?t.f:""+t.g)))}}function pgt(t){switch(t.g){case 0:return new Ky;case 1:return new vy;default:throw qw(new jv(P4t+(null!=t.f?t.f:""+t.g)))}}function bgt(t){switch(t.g){case 1:return new Ro;case 2:return new bB;default:throw qw(new jv(o4t+(null!=t.f?t.f:""+t.g)))}}function wgt(t){var e,n;if(t.b)return t.b;for(n=Xne?null:t.d;n;){if(e=Xne?null:n.b)return e;n=Xne?null:n.d}return fE(),qne}function mgt(t){var e,n;return 0==t.e?0:(e=t.d<<5,n=t.a[t.d-1],t.e<0&&Iat(t)==t.d-1&&(--n,n|=0),e-=tMt(n))}function ygt(t){var e,n,i;return t<nne.length?nne[t]:(e=31&t,(i=P8(DNe,hXt,25,1+(n=t>>5),15,1))[n]=1<<e,new fY(1,n+1,i))}function vgt(t){var e,n,i;return(n=t.zg())?aL(e=t.Ug(),160)&&null!=(i=vgt(zz(e,160)))?i+"."+n:n:null}function xgt(t,e,n){var i,r;for(r=t.Kc();r.Ob();)if(i=r.Pb(),UI(e)===UI(i)||null!=e&&Pht(e,i))return n&&r.Qb(),!0;return!1}function kgt(t,e,n){var i,r;if(++t.j,n.dc())return!1;for(r=n.Kc();r.Ob();)i=r.Pb(),t.Hi(e,t.oi(e,i)),++e;return!0}function _gt(t,e,n,i){var r,a;if((a=n-e)<3)for(;a<3;)t*=10,++a;else{for(r=1;a>3;)r*=10,--a;t=(t+(r>>1))/r|0}return i.i=t,!0}function Agt(t){return Clt(),lN(),!!(Fdt(zz(t.a,81).j,zz(t.b,103))||0!=zz(t.a,81).d.e&&Fdt(zz(t.a,81).j,zz(t.b,103)))}function Egt(t){P7(),zz(t.We((lWt(),HTe)),174).Hc((ejt(),KIe))&&(zz(t.We(hCe),174).Fc((dIt(),aIe)),zz(t.We(HTe),174).Mc(KIe))}function Tgt(t,e){var n;if(e){for(n=0;n<t.i;++n)if(zz(t.g[n],366).Di(e))return!1;return h7(t,e)}return!1}function Cgt(t){var e,n,i;for(e=new Sf,i=new Hd(t.b.Kc());i.b.Ob();)n=XTt(zz(i.b.Pb(),686)),WY(e,e.a.length,n);return e.a}function Sgt(t){var e;return!t.c&&(t.c=new Lt),yO(t.d,new Pt),QRt(t),e=dBt(t),QA(new FH(null,new g1(t.d,16)),new Ig(t)),e}function Igt(t){var e;return 0!=(64&t.Db)?kht(t):((e=new hN(kht(t))).a+=" (instanceClassName: ",aM(e,t.D),e.a+=")",e.a)}function Mgt(t,e){var n,i;e&&(n=Rnt(e,"x"),Ent(new Jb(t).a,(xW(n),n)),i=Rnt(e,"y"),Dnt(new tw(t).a,(xW(i),i)))}function Dgt(t,e){var n,i;e&&(n=Rnt(e,"x"),Mnt(new Kb(t).a,(xW(n),n)),i=Rnt(e,"y"),Ont(new Vb(t).a,(xW(i),i)))}function Ogt(t,e){var n,i,r;if(null==t.i&&U$t(t),n=t.i,-1!=(i=e.aj()))for(r=n.length;i<r;++i)if(n[i]==e)return i;return-1}function Lgt(t){var e,n,i,r;for(n=zz(t.g,674),i=t.i-1;i>=0;--i)for(e=n[i],r=0;r<i;++r)if(y$t(t,e,n[r])){Nvt(t,i);break}}function Ngt(t){var e=t.e;function n(t){return t&&0!=t.length?"\t"+t.join("\n\t"):""}return e&&(e.stack||n(t[ZKt]))}function Pgt(t){var e;switch(WZ(),(e=t.Pc()).length){case 0:return zte;case 1:return new CH(vZ(e[0]));default:return new TV(pdt(e))}}function Bgt(t,e){switch(e.g){case 1:return Rz(t.j,(wat(),Nse));case 2:return Rz(t.j,(wat(),Bse));default:return TX(),TX(),lne}}function Fgt(t,e){switch(e){case 3:return void Tnt(t,0);case 4:return void Cnt(t,0);case 5:return void Snt(t,0);case 6:return void Int(t,0)}uht(t,e)}function Rgt(){Rgt=M,DE(),HZt(),Kwe=Mwe,Xwe=s6(Sst(Ux(fEe,1),k3t,146,0,[ywe,vwe,kwe,_we,Twe,Cwe,Swe,Iwe,Owe,Nwe,xwe,Awe,Dwe]))}function jgt(t){var e,n;e=t.d==(LCt(),Que),n=L_t(t),hct(t.a,(HZt(),xpe),e&&!n||!e&&n?(pmt(),OEe):(pmt(),DEe))}function $gt(t,e){var n;return(n=zz(C4(t,y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15)).Qc(fq(n.gc()))}function zgt(){zgt=M,nMe=new VS("SIMPLE",0),JIe=new VS("GROUP_DEC",1),eMe=new VS("GROUP_MIXED",2),tMe=new VS("GROUP_INC",3)}function qgt(){qgt=M,GOe=new Oc,ROe=new Lc,jOe=new Nc,$Oe=new Pc,zOe=new Bc,qOe=new Fc,HOe=new Rc,UOe=new jc,YOe=new $c}function Hgt(t,e,n){Uet(),uy.call(this),this.a=xH(Zie,[lKt,aQt],[595,212],0,[tre,Jie],2),this.c=new dD,this.g=t,this.f=e,this.d=n}function Ugt(t,e){this.n=xH(LNe,[lKt,zXt],[364,25],14,[e,SQ(n.Math.ceil(t/32))],2),this.o=t,this.p=e,this.j=t-1>>1,this.k=e-1>>1}function Ggt(t,e){DAt(e,"End label post-processing",1),QA(DK(gtt(new FH(null,new g1(t.b,16)),new on),new sn),new cn),HTt(e)}function Ygt(t,e,n){var i;return i=Uv(t.p[e.i.p])+Uv(t.d[e.i.p])+e.n.b+e.a.b,Uv(t.p[n.i.p])+Uv(t.d[n.i.p])+n.n.b+n.a.b-i}function Zgt(t,e,n){var i,r;for(i=n0(n,ZXt),r=0;0!=Xlt(i,0)&&r<e;r++)i=adt(i,n0(t[r],ZXt)),t[r]=pU(i),i=xG(i,32);return pU(i)}function Wgt(t){var e,n,i,r;for(r=0,n=0,i=t.length;n<i;n++)d1(n,t.length),(e=t.charCodeAt(n))<64&&(r=i0(r,vG(1,e)));return r}function Kgt(t){var e;return null==t?null:new OD((e=zzt(t,!0)).length>0&&(d1(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}function Xgt(t){var e;return null==t?null:new OD((e=zzt(t,!0)).length>0&&(d1(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}function Vgt(t,e){return t.i>0&&(e.length<t.i&&(e=Fnt(nut(e).c,t.i)),sqt(t.g,0,e,0,t.i)),e.length>t.i&&OZ(e,t.i,null),e}function Qgt(t,e,n){var i,r,a;return t.ej()?(i=t.i,a=t.fj(),Mht(t,i,e),r=t.Zi(3,null,e,i,a),n?n.Ei(r):n=r):Mht(t,t.i,e),n}function Jgt(t,e,n){var i,r;return i=new N9(t.e,4,10,aL(r=e.c,88)?zz(r,26):(wWt(),pOe),null,cmt(t,e),!1),n?n.Ei(i):n=i,n}function tpt(t,e,n){var i,r;return i=new N9(t.e,3,10,null,aL(r=e.c,88)?zz(r,26):(wWt(),pOe),cmt(t,e),!1),n?n.Ei(i):n=i,n}function ept(t){var e;return HB(),e=new gD(zz(t.e.We((lWt(),zTe)),8)),t.B.Hc((ejt(),UIe))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function npt(t){return gmt(),(t.q?t.q:(TX(),TX(),hne))._b((HZt(),Fbe))?zz(vEt(t,Fbe),197):zz(vEt(mW(t),Rbe),197)}function ipt(t,e){var n,i;return i=null,LP(t,(HZt(),Ewe))&&(n=zz(vEt(t,Ewe),94)).Xe(e)&&(i=n.We(e)),null==i&&(i=vEt(mW(t),e)),i}function rpt(t,e){var n,i,r;return!!aL(e,42)&&(i=(n=zz(e,42)).cd(),gW(r=dht(t.Rc(),i),n.dd())&&(null!=r||t.Rc()._b(i)))}function apt(t,e){var n;return t.f>0&&(t.qj(),-1!=OOt(t,((n=null==e?0:eut(e))&FWt)%t.d.length,n,e))}function opt(t,e){var n,i;return t.f>0&&(t.qj(),n=sMt(t,((i=null==e?0:eut(e))&FWt)%t.d.length,i,e))?n.dd():null}function spt(t,e){var n,i,r,a;for(a=sPt(t.e.Tg(),e),n=zz(t.g,119),r=0;r<t.i;++r)if(i=n[r],a.rl(i.ak()))return!1;return!0}function cpt(t){if(null==t.b){for(;t.a.Ob();)if(t.b=t.a.Pb(),!zz(t.b,49).Zg())return!0;return t.b=null,!1}return!0}function upt(t,e){t.mj();try{t.d.Vc(t.e++,e),t.f=t.d.j,t.g=-1}catch(t){throw aL(t=dst(t),73)?qw(new mm):qw(t)}}function lpt(t,e){var n,i;return uO(),i=null,e==(n=hF((hx(),hx(),aee)))&&(i=zz(TQ(ree,t),615)),i||(i=new GZ(t),e==n&&yJ(ree,t,i)),i}function hpt(t,e){var i,r;t.a=adt(t.a,1),t.c=n.Math.min(t.c,e),t.b=n.Math.max(t.b,e),t.d+=e,i=e-t.f,r=t.e+i,t.f=r-t.e-i,t.e=r}function fpt(t,e){var n;t.c=e,t.a=mgt(e),t.a<54&&(t.f=(n=e.d>1?i0(vG(e.a[1],32),n0(e.a[0],ZXt)):n0(e.a[0],ZXt),k2(odt(e.e,n))))}function dpt(t,e){var n;return QM(t)&&QM(e)&&LXt<(n=t%e)&&n<DXt?n:cot((OHt(QM(t)?Sot(t):t,QM(e)?Sot(e):e,!0),dee))}function gpt(t,e){var n;FGt(e),(n=zz(vEt(t,(HZt(),Qpe)),276))&&hct(t,Qpe,Ovt(n)),tP(t.c),tP(t.f),K6(t.d),K6(zz(vEt(t,Dbe),207))}function ppt(t){this.e=P8(DNe,hXt,25,t.length,15,1),this.c=P8(ONe,tQt,25,t.length,16,1),this.b=P8(ONe,tQt,25,t.length,16,1),this.f=0}function bpt(t){var e,n;for(t.j=P8(PNe,UXt,25,t.p.c.length,15,1),n=new Wd(t.p);n.a<n.c.c.length;)e=zz(t0(n),10),t.j[e.p]=e.o.b/t.i}function wpt(t){var e;0!=t.c&&(1==(e=zz(PH(t.a,t.b),287)).b?(++t.b,t.b<t.a.c.length&&Ad(zz(PH(t.a,t.b),287))):--e.b,--t.c)}function mpt(t){var e;e=t.a;do{(e=zz(Y5(new cG(JL(ddt(e).a.Kc(),new l))),17).d.i).k==(cTt(),Cse)&&Wz(t.e,e)}while(e.k==(cTt(),Cse))}function ypt(){ypt=M,LIe=new WD(15),OIe=new ZD((lWt(),ZTe),LIe),PIe=new ZD(LCe,15),NIe=new ZD(mCe,rft(0)),DIe=new ZD(aTe,bJt)}function vpt(){vpt=M,RIe=new KS("PORTS",0),jIe=new KS("PORT_LABELS",1),FIe=new KS("NODE_LABELS",2),BIe=new KS("MINIMUM_SIZE",3)}function xpt(t,e){var n,i;for(i=e.length,n=0;n<i;n+=2)QPt(t,(d1(n,e.length),e.charCodeAt(n)),(d1(n+1,e.length),e.charCodeAt(n+1)))}function kpt(t,e,n){var i,r,a,o;for(a=e-t.e,o=n-t.f,r=new Wd(t.a);r.a<r.c.c.length;)Emt(i=zz(t0(r),187),i.s+a,i.t+o);t.e=e,t.f=n}function _pt(t,e){var n,i,r;for(r=e.b.b,t.a=new VA,t.b=P8(DNe,hXt,25,r,15,1),n=0,i=lwt(e.b,0);i.b!=i.d.c;)zz(d3(i),86).g=n++}function Apt(t,e){var n,i,r,a;return n=e>>5,e&=31,r=t.d+n+(0==e?0:1),BAt(i=P8(DNe,hXt,25,r,15,1),t.a,n,e),Z0(a=new fY(t.e,r,i)),a}function Ept(t,e,n){var i,r;i=zz(TQ(iNe,e),117),r=zz(TQ(rNe,e),117),n?(yJ(iNe,t,i),yJ(rNe,t,r)):(yJ(rNe,t,i),yJ(iNe,t,r))}function Tpt(t,e,n){var i,r,a;for(r=null,a=t.b;a;){if(i=t.a.ue(e,a.d),n&&0==i)return a;i>=0?a=a.a[1]:(r=a,a=a.a[0])}return r}function Cpt(t,e,n){var i,r,a;for(r=null,a=t.b;a;){if(i=t.a.ue(e,a.d),n&&0==i)return a;i<=0?a=a.a[0]:(r=a,a=a.a[1])}return r}function Spt(t,e,n,i){var r,a,o;return r=!1,NUt(t.f,n,i)&&(Bbt(t.f,t.a[e][n],t.a[e][i]),o=(a=t.a[e])[i],a[i]=a[n],a[n]=o,r=!0),r}function Ipt(t,e,n,i,r){var a,o,s;for(o=r;e.b!=e.c;)a=zz(pY(e),10),s=zz(sdt(a,i).Xb(0),11),t.d[s.p]=o++,n.c[n.c.length]=s;return o}function Mpt(t,e,i){var r,a,o,s,c;return s=t.k,c=e.k,a=EB(ipt(t,r=i[s.g][c.g])),o=EB(ipt(e,r)),n.Math.max((xW(a),a),(xW(o),o))}function Dpt(t,e,n){var i,r,a,o;for(i=n/t.c.length,r=0,o=new Wd(t);o.a<o.c.c.length;)wlt(a=zz(t0(o),200),a.f+i*r),skt(a,e,i),++r}function Opt(t,e,n){var i,r,a;for(r=zz(FZ(t.b,n),177),i=0,a=new Wd(e.j);a.a<a.c.c.length;)r[zz(t0(a),113).d.p]&&++i;return i}function Lpt(t){var e,n;return null!=(e=zz(xot(t.a,4),126))?(sqt(e,0,n=P8(pDe,r7t,415,e.length,0,1),0,e.length),n):gDe}function Npt(){var t;return 0!=oee&&(t=f5())-see>2e3&&(see=t,cee=n.setTimeout(X_,10)),0==oee++&&(Mtt((ux(),nee)),!0)}function Ppt(t,e){var n;for(n=new cG(JL(ddt(t).a.Kc(),new l));bDt(n);)if(zz(Y5(n),17).d.i.c==e)return!1;return!0}function Bpt(t,e){var n;if(aL(e,245)){n=zz(e,245);try{return 0==t.vd(n)}catch(t){if(!aL(t=dst(t),205))throw qw(t)}}return!1}function Fpt(){return Error.stackTraceLimit>0?(n.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function Rpt(t,e){return lO(),lO(),ait(jKt),(n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:GM(isNaN(t),isNaN(e)))>0}function jpt(t,e){return lO(),lO(),ait(jKt),(n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:GM(isNaN(t),isNaN(e)))<0}function $pt(t,e){return lO(),lO(),ait(jKt),(n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:GM(isNaN(t),isNaN(e)))<=0}function zpt(t,e){for(var n=0;!e[n]||""==e[n];)n++;for(var i=e[n++];n<e.length;n++)e[n]&&""!=e[n]&&(i+=t+e[n]);return i}function qpt(t,e,i){var r,a,o,s;for(j8(e,o=e+i,t.length),s="",a=e;a<o;)r=n.Math.min(a+1e4,o),s+=WW(t.slice(a,r)),a=r;return s}function Hpt(t){var e,n,i,r;if(null==t)return null;for(r=new Nw,n=0,i=(e=xut(t)).length;n<i;++n)Wz(r,zzt(e[n],!0));return r}function Upt(t){var e,n,i,r;if(null==t)return null;for(r=new Nw,n=0,i=(e=xut(t)).length;n<i;++n)Wz(r,zzt(e[n],!0));return r}function Gpt(t){var e,n,i,r;if(null==t)return null;for(r=new Nw,n=0,i=(e=xut(t)).length;n<i;++n)Wz(r,zzt(e[n],!0));return r}function Ypt(t,e){var n,i,r;if(t.c)Cnt(t.c,e);else for(n=e-iU(t),r=new Wd(t.d);r.a<r.c.c.length;)Ypt(i=zz(t0(r),157),iU(i)+n)}function Zpt(t,e){var n,i,r;if(t.c)Tnt(t.c,e);else for(n=e-nU(t),r=new Wd(t.a);r.a<r.c.c.length;)Zpt(i=zz(t0(r),157),nU(i)+n)}function Wpt(t,e){var n,i,r;for(i=new Q6(e.gc()),n=e.Kc();n.Ob();)(r=njt(t,zz(n.Pb(),56)))&&(i.c[i.c.length]=r);return i}function Kpt(t,e){var n,i;return t.qj(),(n=sMt(t,((i=null==e?0:eut(e))&FWt)%t.d.length,i,e))?(hit(t,n),n.dd()):null}function Xpt(t){var e,n;for(n=cCt(t),e=null;2==t.c;)VZt(t),e||(pWt(),pWt(),nHt(e=new rO(2),n),n=e),n.$l(cCt(t));return n}function Vpt(t){if(!(U6t in t.a))throw qw(new nx("Every element must have an id."));return kIt(GQ(t,U6t))}function Qpt(t){var e,n,i;if(!(i=t.Zg()))for(e=0,n=t.eh();n;n=n.eh()){if(++e>GXt)return n.fh();if((i=n.Zg())||n==t)break}return i}function Jpt(t){return lJ(),aL(t,156)?zz(FZ(lDe,vne),288).vg(t):lY(lDe,nut(t))?zz(FZ(lDe,nut(t)),288).vg(t):null}function tbt(t){if(vbt(s5t,t))return lN(),yee;if(vbt(c5t,t))return lN(),mee;throw qw(new jv("Expecting true or false"))}function ebt(t,e){if(e.c==t)return e.d;if(e.d==t)return e.c;throw qw(new jv("Input edge is not connected to the input port."))}function nbt(t,e){return t.e>e.e?1:t.e<e.e?-1:t.d>e.d?t.e:t.d<e.d?-e.e:t.e*Tut(t.a,e.a,t.d)}function ibt(t){return t>=48&&t<48+n.Math.min(10,10)?t-48:t>=97&&t<97?t-97+10:t>=65&&t<65?t-65+10:-1}function rbt(t,e){var n;return UI(e)===UI(t)||!!aL(e,21)&&(n=zz(e,21)).gc()==t.gc()&&t.Ic(n)}function abt(t,e){var n,i,r;return i=t.a.length-1,n=e-t.b&i,r=t.c-e&i,_P(n<(t.c-t.b&i)),n>=r?(slt(t,e),-1):(clt(t,e),1)}function obt(t,e){var n,i;for(d1(e,t.length),n=t.charCodeAt(e),i=e+1;i<t.length&&(d1(i,t.length),t.charCodeAt(i)==n);)++i;return i-e}function sbt(t){switch(t.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 cbt(t,e){var n,i=t.a;e=String(e),i.hasOwnProperty(e)&&(n=i[e]);var r=(tct(),fee)[typeof n];return r?r(n):klt(typeof n)}function ubt(t,e){if(t.a<0)throw qw(new $v("Did not call before(...) or after(...) before calling add(...)."));return WN(t,t.a,e),t}function lbt(t,e,n,i){var r;0!=e.c.length&&(r=TLt(n,i),QA(xet(new FH(null,new g1(cIt(e),1)),new _o),new ZK(t,n,r,i)))}function hbt(t,e,n){var i;0!=(t.Db&e)?null==n?KMt(t,e):-1==(i=Ryt(t,e))?t.Eb=n:OZ(int(t.Eb),i,n):null!=n&&vPt(t,e,n)}function fbt(t){var e;return 0==(32&t.Db)&&0!=(e=dZ(zz(xot(t,16),26)||t.zh())-dZ(t.zh()))&&hbt(t,32,P8(Ote,HWt,1,e,5,1)),t}function dbt(t){var e;return t.b||Zk(t,!(e=tR(t.e,t.a))||!yR(c5t,opt((!e.b&&(e.b=new QP((wWt(),xOe),ZOe,e)),e.b),"qualified"))),t.c}function gbt(t,e,n){var i,r;return((r=(i=zz(Ket(q9(t.a),e),87)).c||(wWt(),fOe)).kh()?nht(t.b,zz(r,49)):r)==n?d$t(i):ont(i,n),r}function pbt(t,e){(e||null==console.groupCollapsed?null!=console.group?console.group:console.log:console.groupCollapsed).call(console,t)}function bbt(t,e,n,i){zz(n.b,65),zz(n.b,65),zz(i.b,65),zz(i.b,65).c.b,R8(i,e,t)}function wbt(t){var e,n;for(e=new Wd(t.g);e.a<e.c.c.length;)zz(t0(e),562);YGt(n=new xPt(t.g,Uv(t.a),t.c)),t.g=n.b,t.d=n.a}function mbt(t,e,i){e.b=n.Math.max(e.b,-i.a),e.c=n.Math.max(e.c,i.a-t.a),e.d=n.Math.max(e.d,-i.b),e.a=n.Math.max(e.a,i.b-t.b)}function ybt(t,e){return t.e<e.e?-1:t.e>e.e?1:t.f<e.f?-1:t.f>e.f?1:eut(t)-eut(e)}function vbt(t,e){return xW(t),null!=e&&(!!yR(t,e)||t.length==e.length&&yR(t.toLowerCase(),e.toLowerCase()))}function xbt(t,e){var n,i,r,a;for(i=0,r=e.gc();i<r;++i)aL(n=e.il(i),99)&&0!=(zz(n,18).Bb&h6t)&&null!=(a=e.jl(i))&&njt(t,zz(a,56))}function kbt(t,e,n){var i,r,a;for(a=new Wd(n.a);a.a<a.c.c.length;)r=zz(t0(a),221),i=new SO(zz(FZ(t.a,r.b),65)),Wz(e.a,i),kbt(t,i,r)}function _bt(t){var e,n;return Xlt(t,-129)>0&&Xlt(t,128)<0?(e=pU(t)+128,!(n=(_H(),Lee)[e])&&(n=Lee[e]=new Bd(t)),n):new Bd(t)}function Abt(t,e){var n,i;return(n=e.Hh(t.a))&&null!=(i=TB(opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),n8t)))?i:e.ne()}function Ebt(t,e){var n,i;return(n=e.Hh(t.a))&&null!=(i=TB(opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),n8t)))?i:e.ne()}function Tbt(t,e){var n,i;for(HJ(),i=new cG(JL(hdt(t).a.Kc(),new l));bDt(i);)if((n=zz(Y5(i),17)).d.i==e||n.c.i==e)return n;return null}function Cbt(t,e,n){this.c=t,this.f=new Nw,this.e=new Uk,this.j=new TH,this.n=new TH,this.b=e,this.g=new YK(e.c,e.d,e.b,e.a),this.a=n}function Sbt(t){var e,n,i,r;for(this.a=new hD,this.d=new Fm,this.e=0,i=0,r=(n=t).length;i<r;++i)e=n[i],!this.f&&(this.f=e),b2(this,e)}function Ibt(t){DBt(),0==t.length?(this.e=0,this.d=1,this.a=Sst(Ux(DNe,1),hXt,25,15,[0])):(this.e=1,this.d=t.length,this.a=t,Z0(this))}function Mbt(t,e,n){uy.call(this),this.a=P8(Zie,aQt,212,(Fet(),Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])).length,0,1),this.b=t,this.d=e,this.c=n}function Dbt(t){this.d=new Nw,this.e=new m4,this.c=P8(DNe,hXt,25,(kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])).length,15,1),this.b=t}function Obt(t){var e,n,i,r;for(hct(r=zz(vEt(t,(hWt(),pfe)),11),Lfe,t.i.n.b),n=0,i=(e=J0(t.e)).length;n<i;++n)EJ(e[n],r)}function Lbt(t){var e,n,i,r;for(hct(e=zz(vEt(t,(hWt(),pfe)),11),Lfe,t.i.n.b),i=0,r=(n=J0(t.g)).length;i<r;++i)TJ(n[i],e)}function Nbt(t){var e,n;return!!LP(t.d.i,(HZt(),Wbe))&&(e=zz(vEt(t.c.i,Wbe),19),n=zz(vEt(t.d.i,Wbe),19),_O(e.a,n.a)>0)}function Pbt(t){var e;UI(tOt(t,(lWt(),_Te)))===UI((cht(),mSe))&&(QQ(t)?(e=zz(tOt(QQ(t),_Te),334),Qwt(t,_Te,e)):Qwt(t,_Te,ySe))}function Bbt(t,e,n){var i,r;fEt(t.e,e,n,(kYt(),SIe)),fEt(t.i,e,n,cIe),t.a&&(r=zz(vEt(e,(hWt(),pfe)),11),i=zz(vEt(n,pfe),11),x0(t.g,r,i))}function Fbt(t,e,n){var i,r,a;i=e.c.p,a=e.p,t.b[i][a]=new BV(t,e),n&&(t.a[i][a]=new zp(e),(r=zz(vEt(e,(hWt(),rfe)),10))&&JIt(t.d,r,e))}function Rbt(t,e){var n,i,r;if(Wz(Tae,t),e.Fc(t),n=zz(FZ(Eae,t),21))for(r=n.Kc();r.Ob();)i=zz(r.Pb(),33),-1!=_9(Tae,i,0)||Rbt(i,e)}function jbt(t,e,n){var i;(Wne?(wgt(t),1):Kne||Qne?(fE(),1):Vne&&(fE(),0))&&((i=new ij(e)).b=n,sTt(t,i))}function $bt(t,e){var n;n=!t.A.Hc((vpt(),jIe))||t.q==(V_t(),ZSe),t.u.Hc((dIt(),nIe))?n?PYt(t,e):sYt(t,e):t.u.Hc(rIe)&&(n?OGt(t,e):JYt(t,e))}function zbt(t,e){var n,i;++t.j,null!=e&&uMt(e,n=aL(i=t.a.Cb,97)?zz(i,97).Jg():null)?hbt(t.a,4,n):hbt(t.a,4,zz(e,126))}function qbt(t,e,i){return new YK(n.Math.min(t.a,e.a)-i/2,n.Math.min(t.b,e.b)-i/2,n.Math.abs(t.a-e.a)+i,n.Math.abs(t.b-e.b)+i)}function Hbt(t,e){var n,i;return 0!=(n=_O(t.a.c.p,e.a.c.p))?n:0!=(i=_O(t.a.d.i.p,e.a.d.i.p))?i:_O(e.a.d.p,t.a.d.p)}function Ubt(t,e,n){var i,r,a,o;return(a=e.j)!=(o=n.j)?a.g-o.g:(i=t.f[e.p],r=t.f[n.p],0==i&&0==r?0:0==i?-1:0==r?1:Sft(i,r))}function Gbt(t,e,n){var i;if(!n[e.d])for(n[e.d]=!0,i=new Wd(kdt(e));i.a<i.c.c.length;)Gbt(t,Pdt(zz(t0(i),213),e),n)}function Ybt(t,e,n){var i;switch(i=n[t.g][e],t.g){case 1:case 3:return new PS(0,i);case 2:case 4:return new PS(i,0);default:return null}}function Zbt(t,e,n){var i;i=zz(uQ(e.f),209);try{i.Ze(t,n),TW(e.f,i)}catch(t){throw aL(t=dst(t),102),qw(t)}}function Wbt(t,e,n){var i,r,a,o;return i=null,(a=mUt(oit(),e))&&(r=null,null!=(o=tUt(a,n))&&(r=t.Ye(a,o)),i=r),i}function Kbt(t,e,n,i){var r;return r=new N9(t.e,1,13,e.c||(wWt(),fOe),n.c||(wWt(),fOe),cmt(t,e),!1),i?i.Ei(r):i=r,i}function Xbt(t,e,n,i){var r;if(e>=(r=t.length))return r;for(e=e>0?e:0;e<r&&!nct((d1(e,t.length),t.charCodeAt(e)),n,i);e++);return e}function Vbt(t,e){var n,i;for(i=t.c.length,e.length<i&&(e=Hx(new Array(i),e)),n=0;n<i;++n)OZ(e,n,t.c[n]);return e.length>i&&OZ(e,i,null),e}function Qbt(t,e){var n,i;for(i=t.a.length,e.length<i&&(e=Hx(new Array(i),e)),n=0;n<i;++n)OZ(e,n,t.a[n]);return e.length>i&&OZ(e,i,null),e}function Jbt(t,e,n){var i,r,a;return(r=zz(FZ(t.e,e),387))?(a=wF(r,n),sL(t,r),a):(i=new tq(t,e,n),KW(t.e,e,i),xQ(i),null)}function twt(t){var e;if(null==t)return null;if(null==(e=NOt(zzt(t,!0))))throw qw(new ix("Invalid hexBinary value: '"+t+"'"));return e}function ewt(t){return DBt(),Xlt(t,0)<0?0!=Xlt(t,-1)?new y_t(-1,k9(t)):Qee:Xlt(t,10)<=0?tne[pU(t)]:new y_t(1,t)}function nwt(){return bWt(),Sst(Ux(Rre,1),LKt,159,0,[Cre,Tre,Sre,mre,wre,yre,kre,xre,vre,Ere,Are,_re,pre,gre,bre,fre,hre,dre,ure,cre,lre,Ire])}function iwt(t){var e;this.d=new Nw,this.j=new Uk,this.g=new Uk,e=t.g.b,this.f=zz(vEt(mW(e),(HZt(),Ype)),103),this.e=Uv(EB(wwt(e,Twe)))}function rwt(t){this.b=new Nw,this.e=new Nw,this.d=t,this.a=!k_(DK(new FH(null,new GY(new y6(t.b))),new og(new Ur))).sd((pE(),eie))}function awt(){awt=M,lEe=new DS("PARENTS",0),uEe=new DS("NODES",1),sEe=new DS("EDGES",2),hEe=new DS("PORTS",3),cEe=new DS("LABELS",4)}function owt(){owt=M,zSe=new GS("DISTRIBUTED",0),HSe=new GS("JUSTIFIED",1),jSe=new GS("BEGIN",2),$Se=new GS(iQt,3),qSe=new GS("END",4)}function swt(t){switch(t.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function cwt(t){switch(t.g){case 1:return zht(),qCe;case 4:return zht(),jCe;case 2:return zht(),$Ce;case 3:return zht(),RCe}return zht(),zCe}function uwt(t,e,n){var i;switch((i=n.q.getFullYear()-lXt+lXt)<0&&(i=-i),e){case 1:t.a+=i;break;case 2:_tt(t,i%100,2);break;default:_tt(t,i,e)}}function lwt(t,e){var n,i;if(LJ(e,t.b),e>=t.b>>1)for(i=t.c,n=t.b;n>e;--n)i=i.b;else for(i=t.a.a,n=0;n<e;++n)i=i.a;return new JR(t,e,i)}function hwt(){hwt=M,pie=new $T("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),gie=new $T("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function fwt(t){var e,n,i;for(yO(n=cSt(t),zse),(i=t.d).c=P8(Ote,HWt,1,0,5,1),e=new Wd(n);e.a<e.c.c.length;)wst(i,zz(t0(e),456).b)}function dwt(t){var e,n;for(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),e=(n=t.o).c.Kc();e.e!=e.i.gc();)zz(e.nj(),42).dd();return D8(n)}function gwt(t){var e;LR(zz(vEt(t,(HZt(),nwe)),98))&&(fMt((f1(0,(e=t.b).c.length),zz(e.c[0],29))),fMt(zz(PH(e,e.c.length-1),29)))}function pwt(t,e){var i,r,a,o;for(i=0,a=new Wd(e.a);a.a<a.c.c.length;)o=(r=zz(t0(a),10)).o.a+r.d.c+r.d.b+t.j,i=n.Math.max(i,o);return i}function bwt(t){var e,n,i,r;for(r=0,n=0,i=t.length;n<i;n++)d1(n,t.length),(e=t.charCodeAt(n))>=64&&e<128&&(r=i0(r,vG(1,e-64)));return r}function wwt(t,e){var n,i;return i=null,LP(t,(lWt(),SCe))&&(n=zz(vEt(t,SCe),94)).Xe(e)&&(i=n.We(e)),null==i&&mW(t)&&(i=vEt(mW(t),e)),i}function mwt(t,e){var n,i,r;(i=(r=e.d.i).k)!=(cTt(),Sse)&&i!=Ase&&bDt(n=new cG(JL(ddt(r).a.Kc(),new l)))&&KW(t.k,e,zz(Y5(n),17))}function ywt(t,e){var n,i,r;return i=iet(t.Tg(),e),(n=e-t.Ah())<0?(r=t.Yg(i))>=0?t.lh(r):UIt(t,i):n<0?UIt(t,i):zz(i,66).Nj().Sj(t,t.yh(),n)}function vwt(t){var e;if(aL(t.a,4)){if(null==(e=Jpt(t.a)))throw qw(new $v(u5t+t.b+"'. "+a5t+(_B(dDe),dDe.k)+o5t));return e}return t.a}function xwt(t){var e;if(null==t)return null;if(null==(e=ZYt(zzt(t,!0))))throw qw(new ix("Invalid base64Binary value: '"+t+"'"));return e}function kwt(t){var e;try{return e=t.i.Xb(t.e),t.mj(),t.g=t.e++,e}catch(e){throw aL(e=dst(e),73)?(t.mj(),qw(new vm)):qw(e)}}function _wt(t){var e;try{return e=t.c.ki(t.e),t.mj(),t.g=t.e++,e}catch(e){throw aL(e=dst(e),73)?(t.mj(),qw(new vm)):qw(e)}}function Awt(){Awt=M,lWt(),_ae=ACe,wae=vTe,fae=aTe,mae=ZTe,$xt(),xae=Eie,vae=_ie,kae=Cie,yae=kie,Gut(),gae=cae,dae=sae,pae=lae,bae=hae}function Ewt(t){switch(kE(),this.c=new Nw,this.d=t,t.g){case 0:case 2:this.a=XW(lse),this.b=RXt;break;case 3:case 1:this.a=lse,this.b=jXt}}function Twt(t,e,n){var i;if(t.c)Snt(t.c,t.c.i+e),Int(t.c,t.c.j+n);else for(i=new Wd(t.b);i.a<i.c.c.length;)Twt(zz(t0(i),157),e,n)}function Cwt(t,e){var n,i;if(t.j.length!=e.j.length)return!1;for(n=0,i=t.j.length;n<i;n++)if(!yR(t.j[n],e.j[n]))return!1;return!0}function Swt(t,e,n){var i;e.a.length>0&&(Wz(t.b,new Kz(e.a,n)),0<(i=e.a.length)?e.a=e.a.substr(0,0):0>i&&(e.a+=rL(P8(MNe,KKt,25,-i,15,1))))}function Iwt(t,e){var n,i,r;for(n=t.o,r=zz(zz(l6(t.r,e),21),84).Kc();r.Ob();)(i=zz(r.Pb(),111)).e.a=bvt(i,n.a),i.e.b=n.b*Uv(EB(i.b.We(Lre)))}function Mwt(t,e){var n,i,r,a;return r=t.k,n=Uv(EB(vEt(t,(hWt(),Afe)))),a=e.k,i=Uv(EB(vEt(e,Afe))),a!=(cTt(),Ese)?-1:r!=Ese?1:n==i?0:n<i?-1:1}function Dwt(t,e){var n,i;return n=zz(zz(FZ(t.g,e.a),46).a,65),i=zz(zz(FZ(t.g,e.b),46).a,65),W8(e.a,e.b)-W8(e.a,jO(n.b))-W8(e.b,jO(i.b))}function Owt(t,e){var n;return n=zz(vEt(t,(HZt(),mbe)),74),eL(e,mse)?n?vX(n):(n=new xy,hct(t,mbe,n)):n&&hct(t,mbe,null),n}function Lwt(t){var e;return(e=new Sx).a+="n",t.k!=(cTt(),Sse)&&cM(cM((e.a+="(",e),pP(t.k).toLowerCase()),")"),cM((e.a+="_",e),wvt(t)),e.a}function Nwt(t,e){DAt(e,"Self-Loop post-processing",1),QA(DK(DK(gtt(new FH(null,new g1(t.b,16)),new Pi),new Bi),new Fi),new Ri),HTt(e)}function Pwt(t,e,n,i){var r;return n>=0?t.hh(e,n,i):(t.eh()&&(i=(r=t.Vg())>=0?t.Qg(i):t.eh().ih(t,-1-r,null,i)),t.Sg(e,n,i))}function Bwt(t,e){switch(e){case 7:return!t.e&&(t.e=new lR(jMe,t,7,4)),void lHt(t.e);case 8:return!t.d&&(t.d=new lR(jMe,t,8,5)),void lHt(t.d)}Fgt(t,e)}function Fwt(t,e){var n;n=t.Zc(e);try{return n.Pb()}catch(t){throw aL(t=dst(t),109)?qw(new Dv("Can't get element "+e)):qw(t)}}function Rwt(t,e){this.e=t,e<WXt?(this.d=1,this.a=Sst(Ux(DNe,1),hXt,25,15,[0|e])):(this.d=2,this.a=Sst(Ux(DNe,1),hXt,25,15,[e%WXt|0,e/WXt|0]))}function jwt(t,e){var n,i,r,a;for(TX(),n=t,a=e,aL(t,21)&&!aL(e,21)&&(n=e,a=t),r=n.Kc();r.Ob();)if(i=r.Pb(),a.Hc(i))return!1;return!0}function $wt(t,e,n){var i,r,a,o;return-1!=(i=t.Xc(e))&&(t.ej()?(a=t.fj(),o=Nvt(t,i),r=t.Zi(4,o,null,i,a),n?n.Ei(r):n=r):Nvt(t,i)),n}function zwt(t,e,n){var i,r,a,o;return-1!=(i=t.Xc(e))&&(t.ej()?(a=t.fj(),o=gH(t,i),r=t.Zi(4,o,null,i,a),n?n.Ei(r):n=r):gH(t,i)),n}function qwt(t,e){var n;switch(n=zz(cK(t.b,e),124).n,e.g){case 1:t.t>=0&&(n.d=t.t);break;case 3:t.t>=0&&(n.a=t.t)}t.C&&(n.b=t.C.b,n.c=t.C.c)}function Hwt(){Hwt=M,zre=new jT(vQt,0),$re=new jT(xQt,1),qre=new jT(kQt,2),Hre=new jT(_Qt,3),zre.a=!1,$re.a=!0,qre.a=!1,Hre.a=!0}function Uwt(){Uwt=M,Jre=new RT(vQt,0),Qre=new RT(xQt,1),tae=new RT(kQt,2),eae=new RT(_Qt,3),Jre.a=!1,Qre.a=!0,tae.a=!1,eae.a=!0}function Gwt(t){var e;e=t.a;do{(e=zz(Y5(new cG(JL(fdt(e).a.Kc(),new l))),17).c.i).k==(cTt(),Cse)&&t.b.Fc(e)}while(e.k==(cTt(),Cse));t.b=iot(t.b)}function Ywt(t){var e,n,i;for(i=t.c.a,t.p=(vZ(i),new ej(i)),n=new Wd(i);n.a<n.c.c.length;)(e=zz(t0(n),10)).p=hSt(e).a;TX(),yO(t.p,new Ma)}function Zwt(t){var e,n,i;if(n=0,0==(i=pBt(t)).c.length)return 1;for(e=new Wd(i);e.a<e.c.c.length;)n+=Zwt(zz(t0(e),33));return n}function Wwt(t,e){var n,i,r;for(r=0,i=zz(zz(l6(t.r,e),21),84).Kc();i.Ob();)r+=(n=zz(i.Pb(),111)).d.b+n.b.rf().a+n.d.c,i.Ob()&&(r+=t.w);return r}function Kwt(t,e){var n,i,r;for(r=0,i=zz(zz(l6(t.r,e),21),84).Kc();i.Ob();)r+=(n=zz(i.Pb(),111)).d.d+n.b.rf().b+n.d.a,i.Ob()&&(r+=t.w);return r}function Xwt(t,e,n,i){if(e.a<i.a)return!0;if(e.a==i.a){if(e.b<i.b)return!0;if(e.b==i.b&&t.b>n.b)return!0}return!1}function Vwt(t,e){return ZI(t)?!!DWt[e]:t.hm?!!t.hm[e]:YI(t)?!!MWt[e]:!!GI(t)&&!!IWt[e]}function Qwt(t,e,n){return null==n?(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),Kpt(t.o,e)):(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),ykt(t.o,e,n)),t}function Jwt(t,e,n,i){var r;(r=Wht(e.Xe((lWt(),BTe))?zz(e.We(BTe),21):t.j))!=(bWt(),Ire)&&(n&&!sbt(r)||ZTt(POt(t,r,i),e))}function tmt(t,e,n,i){var r,a,o;return a=iet(t.Tg(),e),(r=e-t.Ah())<0?(o=t.Yg(a))>=0?t._g(o,n,!0):oMt(t,a,n):zz(a,66).Nj().Pj(t,t.yh(),r,n,i)}function emt(t,e,n,i){var r,a;n.mh(e)&&(JE(),ltt(e)?xbt(t,zz(n.ah(e),153)):(r=(a=e)?zz(i,49).xh(a):null)&&jw(n.ah(e),r))}function nmt(t){switch(t.g){case 1:return Fot(),Fre;case 3:return Fot(),Nre;case 2:return Fot(),Bre;case 4:return Fot(),Pre;default:return null}}function imt(t){switch(typeof t){case PWt:return ymt(t);case NWt:return SQ(t);case LWt:return lN(),t?1231:1237;default:return null==t?0:CN(t)}}function rmt(t,e,n){if(t.e)switch(t.b){case 1:zX(t.c,e,n);break;case 0:qX(t.c,e,n)}else e4(t.c,e,n);t.a[e.p][n.p]=t.c.i,t.a[n.p][e.p]=t.c.e}function amt(t){var e,n;if(null==t)return null;for(n=P8(Mse,lKt,193,t.length,0,2),e=0;e<n.length;e++)n[e]=zz(U7(t[e],t[e].length),193);return n}function omt(t){var e;if(jut(t))return yG(t),t.Lk()&&(e=zIt(t.e,t.b,t.c,t.a,t.j),t.j=e),t.g=t.a,++t.a,++t.c,t.i=0,t.j;throw qw(new vm)}function smt(t,e){var n,i,r,a;return(a=t.o)<(n=t.p)?a*=a:n*=n,i=a+n,(a=e.o)<(n=e.p)?a*=a:n*=n,i<(r=a+n)?-1:i==r?0:1}function cmt(t,e){var n,i;if((i=Kvt(t,e))>=0)return i;if(t.Fk())for(n=0;n<t.i;++n)if(UI(t.Gk(zz(t.g[n],56)))===UI(e))return n;return-1}function umt(t,e,n){var i,r;if(e>=(r=t.gc()))throw qw(new eR(e,r));if(t.hi()&&(i=t.Xc(n))>=0&&i!=e)throw qw(new jv(s8t));return t.mi(e,n)}function lmt(t,e){if(this.a=zz(vZ(t),245),this.b=zz(vZ(e),245),t.vd(e)>0||t==(nv(),jte)||e==(ev(),$te))throw qw(new jv("Invalid range: "+z3(t,e)))}function hmt(t){var e,n;for(this.b=new Nw,this.c=t,this.a=!1,n=new Wd(t.a);n.a<n.c.c.length;)e=zz(t0(n),10),this.a=this.a|e.k==(cTt(),Sse)}function fmt(t,e){var n,i,r;for(n=DN(new Hm,t),r=new Wd(e);r.a<r.c.c.length;)i=zz(t0(r),121),ZNt(oE(aE(sE(rE(new qm,0),0),n),i));return n}function dmt(t,e,n){var i,r,a;for(r=new cG(JL((e?fdt(t):ddt(t)).a.Kc(),new l));bDt(r);)i=zz(Y5(r),17),(a=e?i.c.i:i.d.i).k==(cTt(),Tse)&&CJ(a,n)}function gmt(){gmt=M,fme=new jC(VJt,0),dme=new jC("PORT_POSITION",1),hme=new jC("NODE_SIZE_WHERE_SPACE_PERMITS",2),lme=new jC("NODE_SIZE",3)}function pmt(){pmt=M,SEe=new BS("AUTOMATIC",0),DEe=new BS(oQt,1),OEe=new BS(sQt,2),LEe=new BS("TOP",3),IEe=new BS(uQt,4),MEe=new BS(iQt,5)}function bmt(t,e,n,i){var r,a;for(LMt(),r=0,a=0;a<n;a++)r=adt(odt(n0(e[a],ZXt),n0(i,ZXt)),n0(pU(r),ZXt)),t[a]=pU(r),r=kG(r,32);return pU(r)}function wmt(t,e,i){var r,a;for(a=0,r=0;r<Jie;r++)a=n.Math.max(a,ylt(t.a[e.g][r],i));return e==(Fet(),Gie)&&t.b&&(a=n.Math.max(a,t.b.b)),a}function mmt(t,e){var n,i;if(AP(e>0),(e&-e)==e)return SQ(e*HOt(t,31)*4.656612873077393e-10);do{i=(n=HOt(t,31))%e}while(n-i+(e-1)<0);return SQ(i)}function ymt(t){var e,n,i;return rj(),null!=(i=rie[n=":"+t])?SQ((xW(i),i)):(e=null==(i=iie[n])?JNt(t):SQ((xW(i),i)),IX(),rie[n]=e,e)}function vmt(t,e,n){DAt(n,"Compound graph preprocessor",1),t.a=new wQ,PGt(t,e,null),Gqt(t,e),nNt(t),hct(e,(hWt(),qhe),t.a),t.a=null,OY(t.b),HTt(n)}function xmt(t,e,n){switch(n.g){case 1:t.a=e.a/2,t.b=0;break;case 2:t.a=e.a,t.b=e.b/2;break;case 3:t.a=e.a/2,t.b=e.b;break;case 4:t.a=0,t.b=e.b/2}}function kmt(t){var e,n,i;for(i=zz(l6(t.a,(N_t(),Cue)),15).Kc();i.Ob();)iZ(t,n=zz(i.Pb(),101),(e=Hvt(n))[0],(Irt(),Pue),0),iZ(t,n,e[1],Fue,1)}function _mt(t){var e,n,i;for(i=zz(l6(t.a,(N_t(),Sue)),15).Kc();i.Ob();)iZ(t,n=zz(i.Pb(),101),(e=Hvt(n))[0],(Irt(),Pue),0),iZ(t,n,e[1],Fue,1)}function Amt(t){switch(t.g){case 0:return null;case 1:return new Ort;case 2:return new Qy;default:throw qw(new jv(o4t+(null!=t.f?t.f:""+t.g)))}}function Emt(t,e,n){var i,r;for(vst(t,e-t.s,n-t.t),r=new Wd(t.n);r.a<r.c.c.length;)rd(i=zz(t0(r),211),i.e+e-t.s),ad(i,i.f+n-t.t);t.s=e,t.t=n}function Tmt(t){var e,n,i,r;for(n=0,i=new Wd(t.a);i.a<i.c.c.length;)zz(t0(i),121).d=n++;return r=null,(e=pTt(t)).c.length>1&&(r=fmt(t,e)),r}function Cmt(t){var e;return t.f&&t.f.kh()&&(e=zz(t.f,49),t.f=zz(nht(t,e),82),t.f!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,9,8,e,t.f))),t.f}function Smt(t){var e;return t.i&&t.i.kh()&&(e=zz(t.i,49),t.i=zz(nht(t,e),82),t.i!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,9,7,e,t.i))),t.i}function Imt(t){var e;return t.b&&0!=(64&t.b.Db)&&(e=t.b,t.b=zz(nht(t,e),18),t.b!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,9,21,e,t.b))),t.b}function Mmt(t,e){var n,i,r;null==t.d?(++t.e,++t.f):(i=e.Sh(),fNt(t,t.f+1),r=(i&FWt)%t.d.length,!(n=t.d[r])&&(n=t.d[r]=t.uj()),n.Fc(e),++t.f)}function Dmt(t,e,n){var i;return!e.Kj()&&(-2!=e.Zj()?null==(i=e.zj())?null==n:Pht(i,n):e.Hj()==t.e.Tg()&&null==n)}function Omt(){var t;dit(16,MKt),t=Jit(16),this.b=P8(Gte,IKt,317,t,0,1),this.c=P8(Gte,IKt,317,t,0,1),this.a=null,this.e=null,this.i=0,this.f=t-1,this.g=0}function Lmt(t){LF.call(this),this.k=(cTt(),Sse),this.j=(dit(6,OKt),new Q6(6)),this.b=(dit(2,OKt),new Q6(2)),this.d=new hy,this.f=new gy,this.a=t}function Nmt(t){var e,n;t.c.length<=1||(bCt(t,zz((e=ABt(t,(kYt(),TIe))).a,19).a,zz(e.b,19).a),bCt(t,zz((n=ABt(t,SIe)).a,19).a,zz(n.b,19).a))}function Pmt(){Pmt=M,vme=new $C("SIMPLE",0),wme=new $C(q1t,1),mme=new $C("LINEAR_SEGMENTS",2),bme=new $C("BRANDES_KOEPF",3),yme=new $C(_3t,4)}function Bmt(t,e,n){LR(zz(vEt(e,(HZt(),nwe)),98))||(W9(t,e,FTt(e,n)),W9(t,e,FTt(e,(kYt(),TIe))),W9(t,e,FTt(e,uIe)),TX(),yO(e.j,new jp(t)))}function Fmt(t,e,n,i){var r;for(r=zz(l6(i?t.a:t.b,e),21).Kc();r.Ob();)if($Bt(t,n,zz(r.Pb(),33)))return!0;return!1}function Rmt(t){var e,n;for(n=new DL(t);n.e!=n.i.gc();)if((e=zz(kwt(n),87)).e||0!=(!e.d&&(e.d=new OL(KDe,e,1)),e.d).i)return!0;return!1}function jmt(t){var e,n;for(n=new DL(t);n.e!=n.i.gc();)if((e=zz(kwt(n),87)).e||0!=(!e.d&&(e.d=new OL(KDe,e,1)),e.d).i)return!0;return!1}function $mt(t){var e,n;for(e=0,n=new Wd(t.c.a);n.a<n.c.c.length;)e+=$3(new cG(JL(ddt(zz(t0(n),10)).a.Kc(),new l)));return e/t.c.a.c.length}function zmt(t){var e,n;for(t.c||YHt(t),n=new xy,t0(e=new Wd(t.a));e.a<e.c.c.length;)Bq(n,zz(t0(e),407).a);return CP(0!=n.b),Oet(n,n.c.b),n}function qmt(){qmt=M,gFt(),HAe=FAe,zAe=new WD(8),new ZD((lWt(),ZTe),zAe),new ZD(LCe,8),qAe=PAe,jAe=EAe,$Ae=TAe,RAe=new ZD(fTe,(lN(),!1))}function Hmt(t,e,n,i){switch(e){case 7:return!t.e&&(t.e=new lR(jMe,t,7,4)),t.e;case 8:return!t.d&&(t.d=new lR(jMe,t,8,5)),t.d}return Rdt(t,e,n,i)}function Umt(t){var e;return t.a&&t.a.kh()&&(e=zz(t.a,49),t.a=zz(nht(t,e),138),t.a!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,9,5,e,t.a))),t.a}function Gmt(t){return t<48||t>102?-1:t<=57?t-48:t<65?-1:t<=70?t-65+10:t<97?-1:t-97+10}function Ymt(t,e){if(null==t)throw qw(new qv("null key in entry: null="+e));if(null==e)throw qw(new qv("null value in entry: "+t+"=null"))}function Zmt(t,e){for(var n,i;t.Ob();){if(!e.Ob())return!1;if(n=t.Pb(),i=e.Pb(),!(UI(n)===UI(i)||null!=n&&Pht(n,i)))return!1}return!e.Ob()}function Wmt(t,e){var i;return i=Sst(Ux(PNe,1),UXt,25,15,[ylt(t.a[0],e),ylt(t.a[1],e),ylt(t.a[2],e)]),t.d&&(i[0]=n.Math.max(i[0],i[2]),i[2]=i[0]),i}function Kmt(t,e){var i;return i=Sst(Ux(PNe,1),UXt,25,15,[vlt(t.a[0],e),vlt(t.a[1],e),vlt(t.a[2],e)]),t.d&&(i[0]=n.Math.max(i[0],i[2]),i[2]=i[0]),i}function Xmt(){Xmt=M,vle=new TC("GREEDY",0),yle=new TC(H1t,1),kle=new TC(q1t,2),_le=new TC("MODEL_ORDER",3),xle=new TC("GREEDY_MODEL_ORDER",4)}function Vmt(t,e){var n,i,r;for(t.b[e.g]=1,i=lwt(e.d,0);i.b!=i.d.c;)r=(n=zz(d3(i),188)).c,1==t.b[r.g]?Bq(t.a,n):2==t.b[r.g]?t.b[r.g]=1:Vmt(t,r)}function Qmt(t,e){var n,i,r;for(r=new Q6(e.gc()),i=e.Kc();i.Ob();)(n=zz(i.Pb(),286)).c==n.f?hCt(t,n,n.c):aCt(t,n)||(r.c[r.c.length]=n);return r}function Jmt(t,e,n){var i,r,a,o;for(o=t.r+e,t.r+=e,t.d+=n,i=n/t.n.c.length,r=0,a=new Wd(t.n);a.a<a.c.c.length;)pOt(zz(t0(a),211),o,i,r),++r}function tyt(t){var e,n;for(yv(t.b.a),t.a=P8(die,HWt,57,t.c.c.a.b.c.length,0,1),e=0,n=new Wd(t.c.c.a.b);n.a<n.c.c.length;)zz(t0(n),57).f=e++}function eyt(t){var e,n;for(yv(t.b.a),t.a=P8(Xoe,HWt,81,t.c.a.a.b.c.length,0,1),e=0,n=new Wd(t.c.a.a.b);n.a<n.c.c.length;)zz(t0(n),81).i=e++}function nyt(t,e,n){DAt(n,"Shrinking tree compaction",1),Hv(AB(vEt(e,(Wat(),Xre))))?(rrt(t,e.f),stt(e.f,e.c)):stt(e.f,e.c),HTt(n)}function iyt(t){var e;if(e=glt(t),!bDt(t))throw qw(new Dv("position (0) must be less than the number of elements that remained ("+e+")"));return Y5(t)}function ryt(t,e,n){try{return yyt(t,e+t.j,n+t.k)}catch(t){throw aL(t=dst(t),73)?qw(new Dv(t.g+IQt+e+zWt+n+").")):qw(t)}}function ayt(t,e,n){try{return vyt(t,e+t.j,n+t.k)}catch(t){throw aL(t=dst(t),73)?qw(new Dv(t.g+IQt+e+zWt+n+").")):qw(t)}}function oyt(t,e,n){try{return xyt(t,e+t.j,n+t.k)}catch(t){throw aL(t=dst(t),73)?qw(new Dv(t.g+IQt+e+zWt+n+").")):qw(t)}}function syt(t){switch(t.g){case 1:return kYt(),SIe;case 4:return kYt(),uIe;case 3:return kYt(),cIe;case 2:return kYt(),TIe;default:return kYt(),CIe}}function cyt(t,e,n){e.k==(cTt(),Sse)&&n.k==Cse&&(t.d=Aht(e,(kYt(),TIe)),t.b=Aht(e,uIe)),n.k==Sse&&e.k==Cse&&(t.d=Aht(n,(kYt(),uIe)),t.b=Aht(n,TIe))}function uyt(t,e){var n,i;for(i=sdt(t,e).Kc();i.Ob();)if(null!=vEt(n=zz(i.Pb(),11),(hWt(),_fe))||GN(new y6(n.b)))return!0;return!1}function lyt(t,e){return Snt(e,t.e+t.d+(0==t.c.c.length?0:t.b)),Int(e,t.f),t.a=n.Math.max(t.a,e.f),t.d+=e.g+(0==t.c.c.length?0:t.b),Wz(t.c,e),!0}function hyt(t,e,n){var i,r,a,o;for(o=0,i=n/t.a.c.length,a=new Wd(t.a);a.a<a.c.c.length;)Emt(r=zz(t0(a),187),r.s,r.t+o*i),Jmt(r,t.d-r.r+e,i),++o}function fyt(t){var e,n,i;for(n=new Wd(t.b);n.a<n.c.c.length;)for(e=0,i=new Wd(zz(t0(n),29).a);i.a<i.c.c.length;)zz(t0(i),10).p=e++}function dyt(t,e){var n,i,r,a,o,s;for(r=e.length-1,o=0,s=0,i=0;i<=r;i++)a=e[i],n=mTt(r,i)*iht(1-t,r-i)*iht(t,i),o+=a.a*n,s+=a.b*n;return new PS(o,s)}function gyt(t,e){var n,i,r,a,o;for(n=e.gc(),t.qi(t.i+n),a=e.Kc(),o=t.i,t.i+=n,i=o;i<t.i;++i)r=a.Pb(),kL(t,i,t.oi(i,r)),t.bi(i,r),t.ci();return 0!=n}function pyt(t,e,n){var i,r,a;return t.ej()?(i=t.Vi(),a=t.fj(),++t.j,t.Hi(i,t.oi(i,e)),r=t.Zi(3,null,e,i,a),n?n.Ei(r):n=r):JB(t,t.Vi(),e),n}function byt(t,e,n){var i,r,a;return(0!=(64&(a=aL(r=(i=zz(Ket(o4(t.a),e),87)).c,88)?zz(r,26):(wWt(),pOe)).Db)?nht(t.b,a):a)==n?d$t(i):ont(i,n),a}function wyt(t,e,n,i,r,a,o,s){var c,u;i&&((c=i.a[0])&&wyt(t,e,n,c,r,a,o,s),Mvt(t,n,i.d,r,a,o,s)&&e.Fc(i),(u=i.a[1])&&wyt(t,e,n,u,r,a,o,s))}function myt(t,e){var n;return t.a||(n=P8(PNe,UXt,25,0,15,1),b_(t.b.a,new dg(n)),n.sort(rnt(A.prototype.te,A,[])),t.a=new jR(n,t.d)),R6(t.a,e)}function yyt(t,e,n){try{return XI(nrt(t,e,n),1)}catch(i){throw aL(i=dst(i),320)?qw(new Dv(TQt+t.o+"*"+t.p+CQt+e+zWt+n+SQt)):qw(i)}}function vyt(t,e,n){try{return XI(nrt(t,e,n),0)}catch(i){throw aL(i=dst(i),320)?qw(new Dv(TQt+t.o+"*"+t.p+CQt+e+zWt+n+SQt)):qw(i)}}function xyt(t,e,n){try{return XI(nrt(t,e,n),2)}catch(i){throw aL(i=dst(i),320)?qw(new Dv(TQt+t.o+"*"+t.p+CQt+e+zWt+n+SQt)):qw(i)}}function kyt(t,e){if(-1==t.g)throw qw(new pm);t.mj();try{t.d._c(t.g,e),t.f=t.d.j}catch(t){throw aL(t=dst(t),73)?qw(new mm):qw(t)}}function _yt(t,e,n){DAt(n,"Linear segments node placement",1),t.b=zz(vEt(e,(hWt(),Dfe)),304),XZt(t,e),yqt(t,e),Vqt(t,e),hZt(t),t.a=null,t.b=null,HTt(n)}function Ayt(t,e){var n,i,r,a;for(a=t.gc(),e.length<a&&(e=Hx(new Array(a),e)),r=e,i=t.Kc(),n=0;n<a;++n)OZ(r,n,i.Pb());return e.length>a&&OZ(e,a,null),e}function Eyt(t,e){var n,i;if(i=t.gc(),null==e){for(n=0;n<i;n++)if(null==t.Xb(n))return n}else for(n=0;n<i;n++)if(Pht(e,t.Xb(n)))return n;return-1}function Tyt(t,e){var n,i,r;return n=e.cd(),r=e.dd(),i=t.xc(n),!(!(UI(r)===UI(i)||null!=r&&Pht(r,i))||null==i&&!t._b(n))}function Cyt(t,e){var n,i,r;return e<=22?(n=t.l&(1<<e)-1,i=r=0):e<=44?(n=t.l,i=t.m&(1<<e-22)-1,r=0):(n=t.l,i=t.m,r=t.h&(1<<e-44)-1),EO(n,i,r)}function Syt(t,e){switch(e.g){case 1:return t.f.n.d+t.t;case 3:return t.f.n.a+t.t;case 2:return t.f.n.c+t.s;case 4:return t.f.n.b+t.s;default:return 0}}function Iyt(t,e){var n,i;switch(i=e.c,n=e.a,t.b.g){case 0:n.d=t.e-i.a-i.d;break;case 1:n.d+=t.e;break;case 2:n.c=t.e-i.a-i.d;break;case 3:n.c=t.e+i.d}}function Myt(t,e,n,i){var r,a;this.a=e,this.c=i,Of(this,new PS(-(r=t.a).c,-r.d)),YF(this.b,n),a=i/2,e.a?zP(this.b,0,a):zP(this.b,a,0),Wz(t.c,this)}function Dyt(){Dyt=M,Hke=new yS(VJt,0),zke=new yS(U1t,1),qke=new yS("EDGE_LENGTH_BY_POSITION",2),$ke=new yS("CROSSING_MINIMIZATION_BY_POSITION",3)}function Oyt(t,e){var n,i;if(n=zz(lnt(t.g,e),33))return n;if(i=zz(lnt(t.j,e),118))return i;throw qw(new nx("Referenced shape does not exist: "+e))}function Lyt(t,e){if(t.c==e)return t.d;if(t.d==e)return t.c;throw qw(new jv("Node 'one' must be either source or target of edge 'edge'."))}function Nyt(t,e){if(t.c.i==e)return t.d.i;if(t.d.i==e)return t.c.i;throw qw(new jv("Node "+e+" is neither source nor target of edge "+t))}function Pyt(t,e){var n;switch(e.g){case 2:case 4:n=t.a,t.c.d.n.b<n.d.n.b&&(n=t.c),dY(t,e,(Dst(),xue),n);break;case 1:case 3:dY(t,e,(Dst(),mue),null)}}function Byt(t,e,n,i,r,a){var o,s,c,u,l;for(o=rkt(e,n,a),s=n==(kYt(),uIe)||n==SIe?-1:1,u=t[n.g],l=0;l<u.length;l++)(c=u[l])>0&&(c+=r),u[l]=o,o+=s*(c+i)}function Fyt(t){var e,n,i;for(i=t.f,t.n=P8(PNe,UXt,25,i,15,1),t.d=P8(PNe,UXt,25,i,15,1),e=0;e<i;e++)n=zz(PH(t.c.b,e),29),t.n[e]=pwt(t,n),t.d[e]=XLt(t,n)}function Ryt(t,e){var n,i,r;for(r=0,i=2;i<e;i<<=1)0!=(t.Db&i)&&++r;if(0==r){for(n=e<<=1;n<=128;n<<=1)if(0!=(t.Db&n))return 0;return-1}return r}function jyt(t,e){var n,i,r,a,o;for(o=sPt(t.e.Tg(),e),a=null,n=zz(t.g,119),r=0;r<t.i;++r)i=n[r],o.rl(i.ak())&&(!a&&(a=new bc),h7(a,i));a&&sZt(t,a)}function $yt(t){var e,n;if(!t)return null;if(t.dc())return"";for(n=new Tx,e=t.Kc();e.Ob();)aM(n,TB(e.Pb())),n.a+=" ";return RM(n,n.a.length-1)}function zyt(t,e,n){var i,r,a,o;for(oct(t),null==t.k&&(t.k=P8(Jte,lKt,78,0,0,1)),r=0,a=(i=t.k).length;r<a;++r)zyt(i[r],e,"\t"+n);(o=t.f)&&zyt(o,e,n)}function qyt(t,e){var n,i=new Array(e);switch(t){case 14:case 15:n=0;break;case 16:n=!1;break;default:return i}for(var r=0;r<e;++r)i[r]=n;return i}function Hyt(t){var e;for(e=new Wd(t.a.b);e.a<e.c.c.length;)zz(t0(e),57).c.$b();Det(pD(t.d)?t.a.c:t.a.d,new Eg(t)),t.c.Me(t),$Pt(t)}function Uyt(t){var e,n,i;for(n=new Wd(t.e.c);n.a<n.c.c.length;){for(i=new Wd((e=zz(t0(n),282)).b);i.a<i.c.c.length;)$zt(zz(t0(i),447));qSt(e)}}function Gyt(t){var e,i,r,a,o;for(r=0,o=0,a=0,i=new Wd(t.a);i.a<i.c.c.length;)e=zz(t0(i),187),o=n.Math.max(o,e.r),r+=e.d+(a>0?t.c:0),++a;t.b=r,t.d=o}function Yyt(t,e){var i,r,a,o,s;for(r=0,a=0,i=0,s=new Wd(e);s.a<s.c.c.length;)o=zz(t0(s),200),r=n.Math.max(r,o.e),a+=o.b+(i>0?t.g:0),++i;t.c=a,t.d=r}function Zyt(t,e){var i;return i=Sst(Ux(PNe,1),UXt,25,15,[wmt(t,(Fet(),Uie),e),wmt(t,Gie,e),wmt(t,Yie,e)]),t.f&&(i[0]=n.Math.max(i[0],i[2]),i[2]=i[0]),i}function Wyt(t,e,n){try{zFt(t,e+t.j,n+t.k,!1,!0)}catch(t){throw aL(t=dst(t),73)?qw(new Dv(t.g+IQt+e+zWt+n+").")):qw(t)}}function Kyt(t,e,n){try{zFt(t,e+t.j,n+t.k,!0,!1)}catch(t){throw aL(t=dst(t),73)?qw(new Dv(t.g+IQt+e+zWt+n+").")):qw(t)}}function Xyt(t){var e;LP(t,(HZt(),Obe))&&((e=zz(vEt(t,Obe),21)).Hc((eOt(),ISe))?(e.Mc(ISe),e.Fc(DSe)):e.Hc(DSe)&&(e.Mc(DSe),e.Fc(ISe)))}function Vyt(t){var e;LP(t,(HZt(),Obe))&&((e=zz(vEt(t,Obe),21)).Hc((eOt(),BSe))?(e.Mc(BSe),e.Fc(NSe)):e.Hc(NSe)&&(e.Mc(NSe),e.Fc(BSe)))}function Qyt(t,e,n){DAt(n,"Self-Loop ordering",1),QA(OK(DK(DK(gtt(new FH(null,new g1(e.b,16)),new Ii),new Mi),new Di),new Oi),new dp(t)),HTt(n)}function Jyt(t,e,n,i){var r,a;for(r=e;r<t.c.length;r++){if(f1(r,t.c.length),a=zz(t.c[r],11),!n.Mb(a))return r;i.c[i.c.length]=a}return t.c.length}function tvt(t,e,n,i){var r,a,o;return null==t.a&&bTt(t,e),o=e.b.j.c.length,a=n.d.p,(r=i.d.p-1)<0&&(r=o-1),a<=r?t.a[r]-t.a[a]:t.a[o-1]-t.a[a]+t.a[r]}function evt(t){var e,n;if(!t.b)for(t.b=S2(zz(t.f,33).Ag().i),n=new DL(zz(t.f,33).Ag());n.e!=n.i.gc();)e=zz(kwt(n),137),Wz(t.b,new Fv(e));return t.b}function nvt(t){var e,n;if(!t.e)for(t.e=S2(vK(zz(t.f,33)).i),n=new DL(vK(zz(t.f,33)));n.e!=n.i.gc();)e=zz(kwt(n),118),Wz(t.e,new cw(e));return t.e}function ivt(t){var e,n;if(!t.a)for(t.a=S2(VX(zz(t.f,33)).i),n=new DL(VX(zz(t.f,33)));n.e!=n.i.gc();)e=zz(kwt(n),33),Wz(t.a,new QN(t,e));return t.a}function rvt(t){var e;if(!t.C&&(null!=t.D||null!=t.B))if(e=gGt(t))t.yk(e);else try{t.yk(null)}catch(t){if(!aL(t=dst(t),60))throw qw(t)}return t.C}function avt(t){switch(t.q.g){case 5:kkt(t,(kYt(),uIe)),kkt(t,TIe);break;case 4:oUt(t,(kYt(),uIe)),oUt(t,TIe);break;default:zCt(t,(kYt(),uIe)),zCt(t,TIe)}}function ovt(t){switch(t.q.g){case 5:_kt(t,(kYt(),cIe)),_kt(t,SIe);break;case 4:sUt(t,(kYt(),cIe)),sUt(t,SIe);break;default:qCt(t,(kYt(),cIe)),qCt(t,SIe)}}function svt(t,e){var i,r,a;for(a=new Uk,r=t.Kc();r.Ob();)tRt(i=zz(r.Pb(),37),a.a,0),a.a+=i.f.a+e,a.b=n.Math.max(a.b,i.f.b);return a.b>0&&(a.b+=e),a}function cvt(t,e){var i,r,a;for(a=new Uk,r=t.Kc();r.Ob();)tRt(i=zz(r.Pb(),37),0,a.b),a.b+=i.f.b+e,a.a=n.Math.max(a.a,i.f.a);return a.a>0&&(a.a+=e),a}function uvt(t){var e,i,r;for(r=FWt,i=new Wd(t.a);i.a<i.c.c.length;)LP(e=zz(t0(i),10),(hWt(),gfe))&&(r=n.Math.min(r,zz(vEt(e,gfe),19).a));return r}function lvt(t,e){var n,i;if(0==e.length)return 0;for(n=JZ(t.a,e[0],(kYt(),SIe)),n+=JZ(t.a,e[e.length-1],cIe),i=0;i<e.length;i++)n+=UEt(t,i,e);return n}function hvt(){wPt(),this.c=new Nw,this.i=new Nw,this.e=new hD,this.f=new hD,this.g=new hD,this.j=new Nw,this.a=new Nw,this.b=new Pw,this.k=new Pw}function fvt(t,e){var n;return t.Db>>16==6?t.Cb.ih(t,5,UMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function dvt(t){CV();var e=t.e;if(e&&e.stack){var n=e.stack,i=e+"\n";return n.substring(0,i.length)==i&&(n=n.substring(i.length)),n.split("\n")}return[]}function gvt(t){var e;return Tit(),(e=Dee)[t>>>28]|e[t>>24&15]<<4|e[t>>20&15]<<8|e[t>>16&15]<<12|e[t>>12&15]<<16|e[t>>8&15]<<20|e[t>>4&15]<<24|e[15&t]<<28}function pvt(t){var e,i,r;t.b==t.c&&(r=t.a.length,i=kct(n.Math.max(8,r))<<1,0!=t.b?(crt(t,e=TF(t.a,i),r),t.a=e,t.b=0):Cm(t.a,i),t.c=r)}function bvt(t,e){var n;return(n=t.b).Xe((lWt(),oCe))?n.Hf()==(kYt(),SIe)?-n.rf().a-Uv(EB(n.We(oCe))):e+Uv(EB(n.We(oCe))):n.Hf()==(kYt(),SIe)?-n.rf().a:e}function wvt(t){var e;return 0!=t.b.c.length&&zz(PH(t.b,0),70).a?zz(PH(t.b,0),70).a:null!=(e=nX(t))?e:""+(t.c?_9(t.c.a,t,0):-1)}function mvt(t){var e;return 0!=t.f.c.length&&zz(PH(t.f,0),70).a?zz(PH(t.f,0),70).a:null!=(e=nX(t))?e:""+(t.i?_9(t.i.j,t,0):-1)}function yvt(t,e){var n,i;if(e<0||e>=t.gc())return null;for(n=e;n<t.gc();++n)if(i=zz(t.Xb(n),128),n==t.gc()-1||!i.o)return new rI(rft(n),i);return null}function vvt(t,e,n){var i,r,a,o;for(a=t.c,i=n?t:e,r=(n?e:t).p+1;r<i.p;++r)if((o=zz(PH(a.a,r),10)).k!=(cTt(),Ase)&&!Nxt(o))return!1;return!0}function xvt(t){var e,i,r,a,o;for(o=0,a=jXt,r=0,i=new Wd(t.a);i.a<i.c.c.length;)o+=(e=zz(t0(i),187)).r+(r>0?t.c:0),a=n.Math.max(a,e.d),++r;t.e=o,t.b=a}function kvt(t){var e,n;if(!t.b)for(t.b=S2(zz(t.f,118).Ag().i),n=new DL(zz(t.f,118).Ag());n.e!=n.i.gc();)e=zz(kwt(n),137),Wz(t.b,new Fv(e));return t.b}function _vt(t,e){var n,i,r;if(e.dc())return pB(),pB(),wDe;for(n=new oF(t,e.gc()),r=new DL(t);r.e!=r.i.gc();)i=kwt(r),e.Hc(i)&&h7(n,i);return n}function Avt(t,e,n,i){return 0==e?i?(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),t.o):(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),D8(t.o)):tmt(t,e,n,i)}function Evt(t){var e,n;if(t.rb)for(e=0,n=t.rb.i;e<n;++e)mP(Ket(t.rb,e));if(t.vb)for(e=0,n=t.vb.i;e<n;++e)mP(Ket(t.vb,e));oG((MCt(),JOe),t),t.Bb|=1}function Tvt(t,e,n,i,r,a,o,s,c,u,l,h,f,d){return gSt(t,e,i,null,r,a,o,s,c,u,f,!0,d),Yft(t,l),aL(t.Cb,88)&&OSt(C5(zz(t.Cb,88)),2),n&&art(t,n),Zft(t,h),t}function Cvt(t){var e;if(null==t)return null;e=0;try{e=djt(t,$Kt,FWt)&VKt}catch(n){if(!aL(n=dst(n),127))throw qw(n);e=K9(t)[0]}return fst(e)}function Svt(t){var e;if(null==t)return null;e=0;try{e=djt(t,$Kt,FWt)&VKt}catch(n){if(!aL(n=dst(n),127))throw qw(n);e=K9(t)[0]}return fst(e)}function Ivt(t,e){var n,i,r;return!((r=t.h-e.h)<0||(n=t.l-e.l,(r+=(i=t.m-e.m+(n>>22))>>22)<0||(t.l=n&CXt,t.m=i&CXt,t.h=r&SXt,0)))}function Mvt(t,e,n,i,r,a,o){var s,c;return!(e.Ae()&&(c=t.a.ue(n,i),c<0||!r&&0==c)||e.Be()&&(s=t.a.ue(n,a),s>0||!o&&0==s))}function Dvt(t,e){if(Yut(),0!=t.j.g-e.j.g)return 0;switch(t.j.g){case 2:return _dt(e,due)-_dt(t,due);case 4:return _dt(t,fue)-_dt(e,fue)}return 0}function Ovt(t){switch(t.g){case 0:return Ple;case 1:return Ble;case 2:return Fle;case 3:return Rle;case 4:return jle;case 5:return $le;default:return null}}function Lvt(t,e,n){var i,r;return Mlt(r=new Ly,e),Prt(r,n),h7((!t.c&&(t.c=new nY(VDe,t,12,10)),t.c),r),Nnt(i=r,0),Pnt(i,1),eft(i,!0),Qht(i,!0),i}function Nvt(t,e){var n,i;if(e>=t.i)throw qw(new LM(e,t.i));return++t.j,n=t.g[e],(i=t.i-e-1)>0&&sqt(t.g,e+1,t.g,e,i),OZ(t.g,--t.i,null),t.fi(e,n),t.ci(),n}function Pvt(t,e){var n;return t.Db>>16==17?t.Cb.ih(t,21,HDe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Bvt(t){var e,n,i;for(TX(),yO(t.c,t.a),i=new Wd(t.c);i.a<i.c.c.length;)for(n=t0(i),e=new Wd(t.b);e.a<e.c.c.length;)zz(t0(e),679).Ke(n)}function Fvt(t){var e,n,i;for(TX(),yO(t.c,t.a),i=new Wd(t.c);i.a<i.c.c.length;)for(n=t0(i),e=new Wd(t.b);e.a<e.c.c.length;)zz(t0(e),369).Ke(n)}function Rvt(t){var e,n,i,r,a;for(r=FWt,a=null,i=new Wd(t.d);i.a<i.c.c.length;)(n=zz(t0(i),213)).d.j^n.e.j&&(e=n.e.e-n.d.e-n.a)<r&&(r=e,a=n);return a}function jvt(){jvt=M,poe=new OM(PJt,(lN(),!1)),hoe=new OM(BJt,100),H9(),foe=new OM(FJt,doe=Moe),goe=new OM(RJt,dJt),boe=new OM(jJt,rft(FWt))}function $vt(t,e,n){var i,r,a,o,s,c;for(c=0,r=0,a=(i=t.a[e]).length;r<a;++r)for(s=Nht(i[r],n).Kc();s.Ob();)o=zz(s.Pb(),11),KW(t.f,o,rft(c++))}function zvt(t,e,n){var i,r;if(n)for(r=((i=new lG(n.a.length)).b-i.a)*i.c<0?(nT(),ENe):new ZL(i);r.Ob();)JIt(t,e,kIt(ptt(n,zz(r.Pb(),19).a)))}function qvt(t,e,n){var i,r;if(n)for(r=((i=new lG(n.a.length)).b-i.a)*i.c<0?(nT(),ENe):new ZL(i);r.Ob();)JIt(t,e,kIt(ptt(n,zz(r.Pb(),19).a)))}function Hvt(t){var e;return $Et(),G7(e=zz(Ayt(bG(t.k),P8($Ie,QJt,61,2,0,1)),122),0,e.length,null),e[0]==(kYt(),uIe)&&e[1]==SIe&&(OZ(e,0,SIe),OZ(e,1,uIe)),e}function Uvt(t,e,n){var i,r,a;return a=lBt(t,r=WNt(t,e,n)),R7(t.b),x0(t,e,n),TX(),yO(r,new Kp(t)),i=lBt(t,r),R7(t.b),x0(t,n,e),new rI(rft(a),rft(i))}function Gvt(){Gvt=M,Yye=pH(new z2,(xEt(),zoe),(dWt(),pce)),Zye=new iF("linearSegments.inputPrio",rft(0)),Wye=new iF("linearSegments.outputPrio",rft(0))}function Yvt(){Yvt=M,Fve=new hS("P1_TREEIFICATION",0),Rve=new hS("P2_NODE_ORDERING",1),jve=new hS("P3_NODE_PLACEMENT",2),$ve=new hS("P4_EDGE_ROUTING",3)}function Zvt(){Zvt=M,lWt(),Pke=bCe,Rke=LCe,Ske=RTe,Ike=zTe,Mke=HTe,Cke=BTe,Dke=YTe,Nke=hCe,jDt(),Eke=gke,Tke=pke,Oke=wke,Lke=yke,Bke=vke,Fke=xke,jke=_ke}function Wvt(){Wvt=M,ESe=new HS("UNKNOWN",0),kSe=new HS("ABOVE",1),_Se=new HS("BELOW",2),ASe=new HS("INLINE",3),new iF("org.eclipse.elk.labelSide",ESe)}function Kvt(t,e){var n;if(t.ni()&&null!=e){for(n=0;n<t.i;++n)if(Pht(e,t.g[n]))return n}else for(n=0;n<t.i;++n)if(UI(t.g[n])===UI(e))return n;return-1}function Xvt(t,e,n){var i,r;return e.c==(sit(),Hme)&&n.c==qme?-1:e.c==qme&&n.c==Hme?1:(i=blt(e.a,t.a),r=blt(n.a,t.a),e.c==Hme?r-i:i-r)}function Vvt(t,e,n){if(n&&(e<0||e>n.a.c.length))throw qw(new jv("index must be >= 0 and <= layer node count"));t.c&&v9(t.c.a,t),t.c=n,n&&xU(n.a,e,t)}function Qvt(t,e){var n,i,r;for(i=new cG(JL(hdt(t).a.Kc(),new l));bDt(i);)return n=zz(Y5(i),17),new qh(vZ((r=zz(e.Kb(n),10)).n.b+r.o.b/2));return iv(),iv(),Dte}function Jvt(t,e){this.c=new Pw,this.a=t,this.b=e,this.d=zz(vEt(t,(hWt(),Dfe)),304),UI(vEt(t,(HZt(),Lbe)))===UI((b9(),Hle))?this.e=new by:this.e=new py}function txt(t,e){var i,r,a;for(a=0,r=new Wd(t);r.a<r.c.c.length;)i=zz(t0(r),33),a+=n.Math.pow(i.g*i.f-e,2);return n.Math.sqrt(a/(t.c.length-1))}function ext(t,e){var n,i;return i=null,t.Xe((lWt(),SCe))&&(n=zz(t.We(SCe),94)).Xe(e)&&(i=n.We(e)),null==i&&t.yf()&&(i=t.yf().We(e)),null==i&&(i=vwt(e)),i}function nxt(t,e){var n,i;n=t.Zc(e);try{return i=n.Pb(),n.Qb(),i}catch(t){throw aL(t=dst(t),109)?qw(new Dv("Can't remove element "+e)):qw(t)}}function ixt(t,e){var n,i,r;if(0==(n=Fzt(t,e,r=new yct((i=new DA).q.getFullYear()-lXt,i.q.getMonth(),i.q.getDate())))||n<e.length)throw qw(new jv(e));return r}function rxt(t,e){var n,i,r;for(xW(e),AP(e!=t),r=t.b.c.length,i=e.Kc();i.Ob();)n=i.Pb(),Wz(t.b,xW(n));return r!=t.b.c.length&&(Aut(t,0),!0)}function axt(){axt=M,lWt(),xoe=STe,new ZD(pTe,(lN(),!0)),Aoe=RTe,Eoe=zTe,Toe=HTe,_oe=BTe,Coe=YTe,Soe=hCe,jvt(),voe=poe,moe=foe,yoe=goe,koe=boe,woe=hoe}function oxt(t,e){if(e==t.c)return t.d;if(e==t.d)return t.c;throw qw(new jv("'port' must be either the source port or target port of the edge."))}function sxt(t,e,n){var i,r;switch(r=t.o,i=t.d,e.g){case 1:return-i.d-n;case 3:return r.b+i.a+n;case 2:return r.a+i.c+n;case 4:return-i.b-n;default:return 0}}function cxt(t,e,n,i){var r,a,o;for(CJ(e,zz(i.Xb(0),29)),o=i.bd(1,i.gc()),a=zz(n.Kb(e),20).Kc();a.Ob();)cxt(t,(r=zz(a.Pb(),17)).c.i==e?r.d.i:r.c.i,n,o)}function uxt(t){var e;return e=new Pw,LP(t,(hWt(),Bfe))?zz(vEt(t,Bfe),83):(QA(DK(new FH(null,new g1(t.j,16)),new er),new bp(e)),hct(t,Bfe,e),e)}function lxt(t,e){var n;return t.Db>>16==6?t.Cb.ih(t,6,jMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(IZt(),vMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function hxt(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,1,BMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(IZt(),kMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function fxt(t,e){var n;return t.Db>>16==9?t.Cb.ih(t,9,YMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(IZt(),AMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function dxt(t,e){var n;return t.Db>>16==5?t.Cb.ih(t,9,ZDe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(wWt(),uOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function gxt(t,e){var n;return t.Db>>16==3?t.Cb.ih(t,0,zMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(wWt(),nOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function pxt(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,6,UMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(wWt(),mOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function bxt(){this.a=new dc,this.g=new Omt,this.j=new Omt,this.b=new Pw,this.d=new Omt,this.i=new Omt,this.k=new Pw,this.c=new Pw,this.e=new Pw,this.f=new Pw}function wxt(t,e,n){var i,r,a;for(n<0&&(n=0),a=t.i,r=n;r<a;r++)if(i=Ket(t,r),null==e){if(null==i)return r}else if(UI(e)===UI(i)||Pht(e,i))return r;return-1}function mxt(t,e){var n,i;return(n=e.Hh(t.a))?(i=TB(opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),_9t)),yR(A9t,i)?oG(t,Zet(e.Hj())):i):null}function yxt(t,e){var n,i;if(e){if(e==t)return!0;for(n=0,i=zz(e,49).eh();i&&i!=e;i=i.eh()){if(++n>GXt)return yxt(t,i);if(i==t)return!0}}return!1}function vxt(t){switch(BN(),t.q.g){case 5:yIt(t,(kYt(),uIe)),yIt(t,TIe);break;case 4:YOt(t,(kYt(),uIe)),YOt(t,TIe);break;default:yYt(t,(kYt(),uIe)),yYt(t,TIe)}}function xxt(t){switch(BN(),t.q.g){case 5:CMt(t,(kYt(),cIe)),CMt(t,SIe);break;case 4:Iwt(t,(kYt(),cIe)),Iwt(t,SIe);break;default:vYt(t,(kYt(),cIe)),vYt(t,SIe)}}function kxt(t){var e,n;(e=zz(vEt(t,(fFt(),toe)),19))?(n=e.a,hct(t,(Trt(),loe),0==n?new ldt:new S4(n))):hct(t,(Trt(),loe),new S4(1))}function _xt(t,e){var n;switch(n=t.i,e.g){case 1:return-(t.n.b+t.o.b);case 2:return t.n.a-n.o.a;case 3:return t.n.b-n.o.b;case 4:return-(t.n.a+t.o.a)}return 0}function Axt(t,e){switch(t.g){case 0:return e==(Edt(),$fe)?rue:aue;case 1:return e==(Edt(),$fe)?rue:iue;case 2:return e==(Edt(),$fe)?iue:aue;default:return iue}}function Ext(t,e){var i,r,a;for(v9(t.a,e),t.e-=e.r+(0==t.a.c.length?0:t.c),a=e4t,r=new Wd(t.a);r.a<r.c.c.length;)i=zz(t0(r),187),a=n.Math.max(a,i.d);t.b=a}function Txt(t,e){var n;return t.Db>>16==3?t.Cb.ih(t,12,YMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(IZt(),yMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Cxt(t,e){var n;return t.Db>>16==11?t.Cb.ih(t,10,YMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(IZt(),_Me),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Sxt(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,11,HDe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(wWt(),bOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Ixt(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,12,XDe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(wWt(),yOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Mxt(t){var e;return 0==(1&t.Bb)&&t.r&&t.r.kh()&&(e=zz(t.r,49),t.r=zz(nht(t,e),138),t.r!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,9,8,e,t.r))),t.r}function Dxt(t,e,i){var r;return r=Sst(Ux(PNe,1),UXt,25,15,[rEt(t,(Fet(),Uie),e,i),rEt(t,Gie,e,i),rEt(t,Yie,e,i)]),t.f&&(r[0]=n.Math.max(r[0],r[2]),r[2]=r[0]),r}function Oxt(t,e){var n,i,r;if(0!=(r=Qmt(t,e)).c.length)for(yO(r,new ei),n=r.c.length,i=0;i<n;i++)hCt(t,(f1(i,r.c.length),zz(r.c[i],286)),EBt(t,r,i))}function Lxt(t){var e,n,i;for(i=zz(l6(t.a,(N_t(),Aue)),15).Kc();i.Ob();)for(e=bG((n=zz(i.Pb(),101)).k).Kc();e.Ob();)iZ(t,n,zz(e.Pb(),61),(Irt(),Bue),1)}function Nxt(t){var e,n;if(t.k==(cTt(),Cse))for(n=new cG(JL(hdt(t).a.Kc(),new l));bDt(n);)if(!d5(e=zz(Y5(n),17))&&t.c==Okt(e,t).c)return!0;return!1}function Pxt(t){var e,n;if(t.k==(cTt(),Cse))for(n=new cG(JL(hdt(t).a.Kc(),new l));bDt(n);)if(!d5(e=zz(Y5(n),17))&&e.c.i.c==e.d.i.c)return!0;return!1}function Bxt(t,e){var n,i;for(DAt(e,"Dull edge routing",1),i=lwt(t.b,0);i.b!=i.d.c;)for(n=lwt(zz(d3(i),86).d,0);n.b!=n.d.c;)vX(zz(d3(n),188).a)}function Fxt(t,e){var n,i,r;if(e)for(r=((n=new lG(e.a.length)).b-n.a)*n.c<0?(nT(),ENe):new ZL(n);r.Ob();)(i=P2(e,zz(r.Pb(),19).a))&&DOt(t,i)}function Rxt(){var t;for(eT(),eWt((XZ(),eOe)),$Zt(eOe),Evt(eOe),wWt(),LOe=fOe,t=new Wd(KOe);t.a<t.c.c.length;)sGt(zz(t0(t),241),fOe,null);return!0}function jxt(t,e){var n,i,r,a,o,s;return(o=t.h>>19)!=(s=e.h>>19)?s-o:(i=t.h)!=(a=e.h)?i-a:(n=t.m)!=(r=e.m)?n-r:t.l-e.l}function $xt(){$xt=M,nFt(),Cie=new OM(ZVt,Sie=Pie),Ftt(),Eie=new OM(WVt,Tie=yie),hwt(),_ie=new OM(KVt,Aie=pie),kie=new OM(XVt,(lN(),!0))}function zxt(t,e,n){var i,r;i=e*n,aL(t.g,145)?(r=h3(t)).f.d?r.f.a||(t.d.a+=i+fQt):(t.d.d-=i+fQt,t.d.a+=i+fQt):aL(t.g,10)&&(t.d.d-=i,t.d.a+=2*i)}function qxt(t,e,i){var r,a,o,s,c;for(a=t[i.g],c=new Wd(e.d);c.a<c.c.c.length;)(o=(s=zz(t0(c),101)).i)&&o.i==i&&(a[r=s.d[i.g]]=n.Math.max(a[r],o.j.b))}function Hxt(t,e){var i,r,a,o,s;for(r=0,a=0,i=0,s=new Wd(e.d);s.a<s.c.c.length;)Gyt(o=zz(t0(s),443)),r=n.Math.max(r,o.b),a+=o.d+(i>0?t.g:0),++i;e.b=r,e.e=a}function Uxt(t){var e,n,i;if(i=t.b,HA(t.i,i.length)){for(n=2*i.length,t.b=P8(Gte,IKt,317,n,0,1),t.c=P8(Gte,IKt,317,n,0,1),t.f=n-1,t.i=0,e=t.a;e;e=e.c)QSt(t,e,e);++t.g}}function Gxt(t,e,n,i){var r,a,o,s;for(r=0;r<e.o;r++)for(a=r-e.j+n,o=0;o<e.p;o++)s=o-e.k+i,yyt(e,r,o)?oyt(t,a,s)||Wyt(t,a,s):xyt(e,r,o)&&(ryt(t,a,s)||Kyt(t,a,s))}function Yxt(t,e,n){var i;(i=e.c.i).k==(cTt(),Cse)?(hct(t,(hWt(),lfe),zz(vEt(i,lfe),11)),hct(t,hfe,zz(vEt(i,hfe),11))):(hct(t,(hWt(),lfe),e.c),hct(t,hfe,n.d))}function Zxt(t,e,i){var r,a,o,s,c,u;return _Bt(),s=e/2,o=i/2,c=1,u=1,(r=n.Math.abs(t.a))>s&&(c=s/r),(a=n.Math.abs(t.b))>o&&(u=o/a),xL(t,n.Math.min(c,u)),t}function Wxt(){var t,e;Uzt();try{if(e=zz(Wkt((WE(),GDe),x6t),2014))return e}catch(e){if(!aL(e=dst(e),102))throw qw(e);t=e,sG((sO(),t))}return new sc}function Kxt(){var t,e;p9();try{if(e=zz(Wkt((WE(),GDe),C9t),2024))return e}catch(e){if(!aL(e=dst(e),102))throw qw(e);t=e,sG((sO(),t))}return new Bu}function Xxt(){var t,e;Uzt();try{if(e=zz(Wkt((WE(),GDe),X7t),1941))return e}catch(e){if(!aL(e=dst(e),102))throw qw(e);t=e,sG((sO(),t))}return new Hc}function Vxt(t,e,n){var i,r;return r=t.e,t.e=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,4,r,e),n?n.Ei(i):n=i),r!=e&&(n=sGt(t,e?kLt(t,e):t.a,n)),n}function Qxt(){DA.call(this),this.e=-1,this.a=!1,this.p=$Kt,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=$Kt}function Jxt(t,e){var n,i,r;if(i=t.b.d.d,t.a||(i+=t.b.d.a),r=e.b.d.d,e.a||(r+=e.b.d.a),0==(n=Sft(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function tkt(t,e){var n,i,r;if(i=t.b.b.d,t.a||(i+=t.b.b.a),r=e.b.b.d,e.a||(r+=e.b.b.a),0==(n=Sft(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function ekt(t,e){var n,i,r;if(i=t.b.g.d,t.a||(i+=t.b.g.a),r=e.b.g.d,e.a||(r+=e.b.g.a),0==(n=Sft(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function nkt(){nkt=M,Noe=WU(pH(pH(pH(new z2,(xEt(),$oe),(dWt(),vce)),$oe,Ace),zoe,Dce),zoe,cce),Boe=pH(pH(new z2,$oe,Qse),$oe,uce),Poe=WU(new z2,zoe,hce)}function ikt(t){var e,n,i,r,a;for(e=zz(vEt(t,(hWt(),Ghe)),83),a=t.n,i=e.Cc().Kc();i.Ob();)(r=(n=zz(i.Pb(),306)).i).c+=a.a,r.d+=a.b,n.c?PBt(n):BBt(n);hct(t,Ghe,null)}function rkt(t,e,n){var i,r;switch(i=(r=t.b).d,e.g){case 1:return-i.d-n;case 2:return r.o.a+i.c+n;case 3:return r.o.b+i.a+n;case 4:return-i.b-n;default:return-1}}function akt(t){var e,n,i,r,a;if(i=0,r=tJt,t.b)for(e=0;e<360;e++)n=.017453292519943295*e,ZRt(t,t.d,0,0,t4t,n),(a=t.b.ig(t.d))<r&&(i=n,r=a);ZRt(t,t.d,0,0,t4t,i)}function okt(t,e){var n,i,r,a;for(a=new Pw,e.e=null,e.f=null,i=new Wd(e.i);i.a<i.c.c.length;)n=zz(t0(i),65),r=zz(FZ(t.g,n.a),46),n.a=HG(n.b),KW(a,n.a,r);t.g=a}function skt(t,e,n){var i,r,a,o,s;for(r=(e-t.e)/t.d.c.length,a=0,s=new Wd(t.d);s.a<s.c.c.length;)o=zz(t0(s),443),i=t.b-o.b+n,kpt(o,o.e+a*r,o.f),hyt(o,r,i),++a}function ckt(t){var e;if(t.f.qj(),-1!=t.b){if(++t.b,e=t.f.d[t.a],t.b<e.i)return;++t.a}for(;t.a<t.f.d.length;++t.a)if((e=t.f.d[t.a])&&0!=e.i)return void(t.b=0);t.b=-1}function ukt(t,e){var n,i,r;for(n=LSt(t,0==(r=e.c.length)?"":(f1(0,e.c.length),TB(e.c[0]))),i=1;i<r&&n;++i)n=zz(n,49).oh((f1(i,e.c.length),TB(e.c[i])));return n}function lkt(t,e){var n,i;for(i=new Wd(e);i.a<i.c.c.length;)n=zz(t0(i),10),t.c[n.c.p][n.p].a=MU(t.i),t.c[n.c.p][n.p].d=Uv(t.c[n.c.p][n.p].a),t.c[n.c.p][n.p].b=1}function hkt(t,e){var i,r,a;for(a=0,r=new Wd(t);r.a<r.c.c.length;)i=zz(t0(r),157),a+=n.Math.pow(iU(i)*nU(i)-e,2);return n.Math.sqrt(a/(t.c.length-1))}function fkt(t,e,n,i){var r,a,o;return o=PFt(t,a=UFt(t,e,n,i)),fEt(t,e,n,i),R7(t.b),TX(),yO(a,new Xp(t)),r=PFt(t,a),fEt(t,n,e,i),R7(t.b),new rI(rft(o),rft(r))}function dkt(t,e,n){var i;for(DAt(n,"Interactive node placement",1),t.a=zz(vEt(e,(hWt(),Dfe)),304),i=new Wd(e.b);i.a<i.c.c.length;)eBt(t,zz(t0(i),29));HTt(n)}function gkt(t,e){DAt(e,"General Compactor",1),e.n&&t&&v0(e,c2(t),(qut(),sMe)),bgt(zz(tOt(t,(Zvt(),Tke)),380)).hg(t),e.n&&t&&v0(e,c2(t),(qut(),sMe))}function pkt(t,e,n){var i,r;for(SD(t,t.j+e,t.k+n),r=new DL((!t.a&&(t.a=new OL(PMe,t,5)),t.a));r.e!=r.i.gc();)AD(i=zz(kwt(r),469),i.a+e,i.b+n);CD(t,t.b+e,t.c+n)}function bkt(t,e,n,i){switch(n){case 7:return!t.e&&(t.e=new lR(jMe,t,7,4)),Qgt(t.e,e,i);case 8:return!t.d&&(t.d=new lR(jMe,t,8,5)),Qgt(t.d,e,i)}return zAt(t,e,n,i)}function wkt(t,e,n,i){switch(n){case 7:return!t.e&&(t.e=new lR(jMe,t,7,4)),$wt(t.e,e,i);case 8:return!t.d&&(t.d=new lR(jMe,t,8,5)),$wt(t.d,e,i)}return ast(t,e,n,i)}function mkt(t,e,n){var i,r,a;if(n)for(a=((i=new lG(n.a.length)).b-i.a)*i.c<0?(nT(),ENe):new ZL(i);a.Ob();)(r=P2(n,zz(a.Pb(),19).a))&&gIt(t,r,e)}function ykt(t,e,n){var i,r,a;return t.qj(),a=null==e?0:eut(e),t.f>0&&(r=sMt(t,(a&FWt)%t.d.length,a,e))?r.ed(n):(i=t.tj(a,e,n),t.c.Fc(i),null)}function vkt(t,e){var n,i,r,a;switch(Iht(t,e)._k()){case 3:case 2:for(r=0,a=(n=Qzt(e)).i;r<a;++r)if(5==BW(z9(t,i=zz(Ket(n,r),34))))return i}return null}function xkt(t){var e,n,i,r,a;if(HA(t.f,t.b.length))for(i=P8(Vte,IKt,330,2*t.b.length,0,1),t.b=i,r=i.length-1,n=t.a;n!=t;n=n.Rd())e=(a=zz(n,330)).d&r,a.a=i[e],i[e]=a}function kkt(t,e){var i,r,a,o;for(o=0,a=zz(zz(l6(t.r,e),21),84).Kc();a.Ob();)r=zz(a.Pb(),111),o=n.Math.max(o,r.e.a+r.b.rf().a);(i=zz(cK(t.b,e),124)).n.b=0,i.a.a=o}function _kt(t,e){var i,r,a,o;for(i=0,o=zz(zz(l6(t.r,e),21),84).Kc();o.Ob();)a=zz(o.Pb(),111),i=n.Math.max(i,a.e.b+a.b.rf().b);(r=zz(cK(t.b,e),124)).n.d=0,r.a.b=i}function Akt(t){var e,n;return n=zz(vEt(t,(hWt(),Jhe)),21),e=xD(mve),n.Hc((gBt(),bhe))&&Jat(e,xve),n.Hc(mhe)&&Jat(e,_ve),n.Hc(uhe)&&Jat(e,yve),n.Hc(hhe)&&Jat(e,vve),e}function Ekt(t,e){var n;DAt(e,"Delaunay triangulation",1),n=new Nw,Det(t.i,new vb(n)),Hv(AB(vEt(t,(Wat(),Xre)))),t.e?zrt(t.e,LZt(n)):t.e=LZt(n),HTt(e)}function Tkt(t){if(t<0)throw qw(new jv("The input must be positive"));return t<EEe.length?k2(EEe[t]):n.Math.sqrt(t4t*t)*(rht(t,t)/iht(2.718281828459045,t))}function Ckt(t,e){var n;if(t.ni()&&null!=e){for(n=0;n<t.i;++n)if(Pht(e,t.g[n]))return!0}else for(n=0;n<t.i;++n)if(UI(t.g[n])===UI(e))return!0;return!1}function Skt(t,e){if(null==e){for(;t.a.Ob();)if(null==zz(t.a.Pb(),42).dd())return!0}else for(;t.a.Ob();)if(Pht(e,zz(t.a.Pb(),42).dd()))return!0;return!1}function Ikt(t,e){var n;return e===t||!!aL(e,664)&&(n=zz(e,1947),rbt(t.g||(t.g=new Qh(t)),n.g||(n.g=new Qh(n))))}function Mkt(t){var e,i,r;for(e="Sz",i="ez",r=n.Math.min(t.length,5)-1;r>=0;r--)if(yR(t[r].d,e)||yR(t[r].d,i)){t.length>=r+1&&t.splice(0,r+1);break}return t}function Dkt(t,e){var i;return QM(t)&&QM(e)&&LXt<(i=t/e)&&i<DXt?i<0?n.Math.ceil(i):n.Math.floor(i):cot(OHt(QM(t)?Sot(t):t,QM(e)?Sot(e):e,!1))}function Okt(t,e){if(e==t.c.i)return t.d.i;if(e==t.d.i)return t.c.i;throw qw(new jv("'node' must either be the source node or target node of the edge."))}function Lkt(t){var e,n,i,r;if(r=zz(vEt(t,(hWt(),$he)),37)){for(i=new Uk,e=mW(t.c.i);e!=r;)e=mW(n=e.e),jP(YF(YF(i,n.n),e.c),e.d.b,e.d.d);return i}return $se}function Nkt(t){var e;QA(gtt(new FH(null,new g1((e=zz(vEt(t,(hWt(),Mfe)),403)).d,16)),new ji),new gp(t)),QA(DK(new FH(null,new g1(e.d,16)),new $i),new pp(t))}function Pkt(t,e){var n,i;for(n=new cG(JL((e?ddt(t):fdt(t)).a.Kc(),new l));bDt(n);)if((i=Okt(zz(Y5(n),17),t)).k==(cTt(),Cse)&&i.c!=t.c)return i;return null}function Bkt(t){var e,i,r;for(i=new Wd(t.p);i.a<i.c.c.length;)(e=zz(t0(i),10)).k==(cTt(),Sse)&&(r=e.o.b,t.i=n.Math.min(t.i,r),t.g=n.Math.max(t.g,r))}function Fkt(t,e,n){var i,r,a;for(a=new Wd(e);a.a<a.c.c.length;)i=zz(t0(a),10),t.c[i.c.p][i.p].e=!1;for(r=new Wd(e);r.a<r.c.c.length;)BGt(t,i=zz(t0(r),10),n)}function Rkt(t,e,i){var r,a;(r=Eht(e.j,i.s,i.c)+Eht(i.e,e.s,e.c))==(a=Eht(i.j,e.s,e.c)+Eht(e.e,i.s,i.c))?r>0&&(t.b+=2,t.a+=r):(t.b+=1,t.a+=n.Math.min(r,a))}function jkt(t,e){var n;if(n=!1,ZI(e)&&(n=!0,tW(t,new UZ(TB(e)))),n||aL(e,236)&&(n=!0,tW(t,new Tf(ZR(zz(e,236))))),!n)throw qw(new Lv(H6t))}function $kt(t,e,n,i){var r,a,o;return r=new N9(t.e,1,10,aL(o=e.c,88)?zz(o,26):(wWt(),pOe),aL(a=n.c,88)?zz(a,26):(wWt(),pOe),cmt(t,e),!1),i?i.Ei(r):i=r,i}function zkt(t){var e,n;switch(zz(vEt(mW(t),(HZt(),wbe)),420).g){case 0:return e=t.n,n=t.o,new PS(e.a+n.a/2,e.b+n.b/2);case 1:return new gD(t.n);default:return null}}function qkt(){qkt=M,Xle=new DC(VJt,0),Kle=new DC("LEFTUP",1),Qle=new DC("RIGHTUP",2),Wle=new DC("LEFTDOWN",3),Vle=new DC("RIGHTDOWN",4),Zle=new DC("BALANCED",5)}function Hkt(t,e,n){var i,r,a;if(0==(i=Sft(t.a[e.p],t.a[n.p]))){if(r=zz(vEt(e,(hWt(),afe)),15),a=zz(vEt(n,afe),15),r.Hc(n))return-1;if(a.Hc(e))return 1}return i}function Ukt(t){switch(t.g){case 1:return new $o;case 2:return new zo;case 3:return new jo;case 0:return null;default:throw qw(new jv(o4t+(null!=t.f?t.f:""+t.g)))}}function Gkt(t,e,n){switch(e){case 1:return!t.n&&(t.n=new nY(GMe,t,1,7)),lHt(t.n),!t.n&&(t.n=new nY(GMe,t,1,7)),void wZ(t.n,zz(n,14));case 2:return void Lit(t,TB(n))}aut(t,e,n)}function Ykt(t,e,n){switch(e){case 3:return void Tnt(t,Uv(EB(n)));case 4:return void Cnt(t,Uv(EB(n)));case 5:return void Snt(t,Uv(EB(n)));case 6:return void Int(t,Uv(EB(n)))}Gkt(t,e,n)}function Zkt(t,e,n){var i,r;(i=HAt(r=new Ly,e,null))&&i.Fi(),Prt(r,n),h7((!t.c&&(t.c=new nY(VDe,t,12,10)),t.c),r),Nnt(r,0),Pnt(r,1),eft(r,!0),Qht(r,!0)}function Wkt(t,e){var n,i;return aL(n=lT(t.g,e),235)?((i=zz(n,235)).Qh(),i.Nh()):aL(n,498)?i=zz(n,1938).b:null}function Kkt(t,e,n,i){var r,a;return vZ(e),vZ(n),F9(!!(a=zz(YR(t.d,e),19)),"Row %s not in %s",e,t.e),F9(!!(r=zz(YR(t.b,n),19)),"Column %s not in %s",n,t.c),Cst(t,a.a,r.a,i)}function Xkt(t,e,n,i,r,a,o){var s,c,u,l,h;if(h=qyt(s=(u=a==o-1)?i:0,l=r[a]),10!=i&&Sst(Ux(t,o-a),e[a],n[a],s,h),!u)for(++a,c=0;c<l;++c)h[c]=Xkt(t,e,n,i,r,a,o);return h}function Vkt(t){if(-1==t.g)throw qw(new pm);t.mj();try{t.i.$c(t.g),t.f=t.i.j,t.g<t.e&&--t.e,t.g=-1}catch(t){throw aL(t=dst(t),73)?qw(new mm):qw(t)}}function Qkt(t,e){return t.b.a=n.Math.min(t.b.a,e.c),t.b.b=n.Math.min(t.b.b,e.d),t.a.a=n.Math.max(t.a.a,e.c),t.a.b=n.Math.max(t.a.b,e.d),t.c[t.c.length]=e,!0}function Jkt(t){var e,n,i;for(i=-1,n=0,e=new Wd(t);e.a<e.c.c.length;){if(zz(t0(e),243).c==(sit(),qme)){i=0==n?0:n-1;break}n==t.c.length-1&&(i=n),n+=1}return i}function t_t(t){var e,i,r,a;for(a=0,e=0,r=new Wd(t.c);r.a<r.c.c.length;)Snt(i=zz(t0(r),33),t.e+a),Int(i,t.f),a+=i.g+t.b,e=n.Math.max(e,i.f+t.b);t.d=a-t.b,t.a=e-t.b}function e_t(t){var e,n,i;for(n=new Wd(t.a.b);n.a<n.c.c.length;)i=(e=zz(t0(n),57)).d.c,e.d.c=e.d.d,e.d.d=i,i=e.d.b,e.d.b=e.d.a,e.d.a=i,i=e.b.a,e.b.a=e.b.b,e.b.b=i;xNt(t)}function n_t(t){var e,n,i;for(n=new Wd(t.a.b);n.a<n.c.c.length;)i=(e=zz(t0(n),81)).g.c,e.g.c=e.g.d,e.g.d=i,i=e.g.b,e.g.b=e.g.a,e.g.a=i,i=e.e.a,e.e.a=e.e.b,e.e.b=i;kNt(t)}function i_t(t){var e,n,i,r,a;for(a=bG(t.k),kYt(),i=0,r=(n=Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])).length;i<r;++i)if((e=n[i])!=CIe&&!a.Hc(e))return e;return null}function r_t(t,e){var n,i;return(i=zz(_N(Vct(DK(new FH(null,new g1(e.j,16)),new da))),11))&&(n=zz(PH(i.e,0),17))?zz(vEt(n,(hWt(),gfe)),19).a:btt(t.b)}function a_t(t,e){var n,i,r;for(r=new Wd(e.a);r.a<r.c.c.length;)for(i=zz(t0(r),10),tx(t.d),n=new cG(JL(ddt(i).a.Kc(),new l));bDt(n);)WMt(t,i,zz(Y5(n),17).d.i)}function o_t(t,e){var n,i;for(v9(t.b,e),i=new Wd(t.n);i.a<i.c.c.length;)if(-1!=_9((n=zz(t0(i),211)).c,e,0)){v9(n.c,e),t_t(n),0==n.c.c.length&&v9(t.n,n);break}fqt(t)}function s_t(t,e){var i,r,a,o,s;for(s=t.f,a=0,o=0,r=new Wd(t.a);r.a<r.c.c.length;)Emt(i=zz(t0(r),187),t.e,s),w7(i,e),o=n.Math.max(o,i.r),a=s+=i.d+t.c;t.d=o,t.b=a}function c_t(t){var e,n;return l3(n=pLt(t))?null:(vZ(n),e=zz(iyt(new cG(JL(n.a.Kc(),new l))),79),SAt(zz(Ket((!e.b&&(e.b=new lR(RMe,e,4,7)),e.b),0),82)))}function u_t(t){return t.o||(t.Lj()?t.o=new oW(t,t,null):t.rk()?t.o=new rF(t,null):1==BW(z9((MCt(),JOe),t))?t.o=new b4(t):t.o=new aF(t,null)),t.o}function l_t(t,e,n,i){var r,a,o,s,c;n.mh(e)&&(r=(o=e)?zz(i,49).xh(o):null)&&(c=n.ah(e),(s=e.t)>1||-1==s?(a=zz(c,15),r.Wb(Wpt(t,a))):r.Wb(njt(t,zz(c,56))))}function h_t(t,e,n,i){V_();var r=SWt;function a(){for(var t=0;t<r.length;t++)r[t]()}if(t)try{qNe(a)()}catch(n){t(e,n)}else qNe(a)()}function f_t(t){var e,n,i,r,a;for(i=new cut(new Cd(t.b).a);i.b;)e=zz((n=nnt(i)).cd(),10),a=zz(zz(n.dd(),46).a,10),r=zz(zz(n.dd(),46).b,8),YF(xM(e.n),YF(zO(a.n),r))}function d_t(t){switch(zz(vEt(t.b,(HZt(),nbe)),375).g){case 1:QA(OK(gtt(new FH(null,new g1(t.d,16)),new jr),new $r),new zr);break;case 2:yFt(t);break;case 0:ISt(t)}}function g_t(t,e,n){DAt(n,"Straight Line Edge Routing",1),n.n&&e&&v0(n,c2(e),(qut(),sMe)),vqt(t,zz(tOt(e,(gB(),Kxe)),33)),n.n&&e&&v0(n,c2(e),(qut(),sMe))}function p_t(){p_t=M,JEe=new FS("V_TOP",0),QEe=new FS("V_CENTER",1),VEe=new FS("V_BOTTOM",2),KEe=new FS("H_LEFT",3),WEe=new FS("H_CENTER",4),XEe=new FS("H_RIGHT",5)}function b_t(t){var e;return 0!=(64&t.Db)?Igt(t):((e=new hN(Igt(t))).a+=" (abstract: ",v_(e,0!=(256&t.Bb)),e.a+=", interface: ",v_(e,0!=(512&t.Bb)),e.a+=")",e.a)}function w_t(t,e,n,i){var r,a,o;return yD(t.e)&&(o=LV(t,1,r=e.ak(),e.dd(),a=n.dd(),r.$j()?mzt(t,r,a,aL(r,99)&&0!=(zz(r,18).Bb&qXt)):-1,!0),i?i.Ei(o):i=o),i}function m_t(t){var e;null==t.c&&(e=UI(t.b)===UI(Qte)?null:t.b,t.d=null==e?YWt:nG(e)?kN(_X(e)):ZI(e)?UKt:t_(nut(e)),t.a=t.a+": "+(nG(e)?SF(_X(e)):e+""),t.c="("+t.d+") "+t.a)}function y_t(t,e){this.e=t,XI(n0(e,-4294967296),0)?(this.d=1,this.a=Sst(Ux(DNe,1),hXt,25,15,[pU(e)])):(this.d=2,this.a=Sst(Ux(DNe,1),hXt,25,15,[pU(e),pU(xG(e,32))]))}function v_t(){function t(){try{return(new Map).entries().next().done}catch(t){return!1}}return typeof Map===BWt&&Map.prototype.entries&&t()?Map:gYt()}function x_t(t,e){var n,i,r;for(r=new E2(t.e,0),n=0;r.b<r.d.gc();){if((i=Uv((CP(r.b<r.d.gc()),EB(r.d.Xb(r.c=r.b++))))-e)>F3t)return n;i>-1e-6&&++n}return n}function k_t(t,e){var n;e!=t.b?(n=null,t.b&&(n=cQ(t.b,t,-4,n)),e&&(n=Pwt(e,t,-4,n)),(n=tht(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,3,e,e))}function __t(t,e){var n;e!=t.f?(n=null,t.f&&(n=cQ(t.f,t,-1,n)),e&&(n=Pwt(e,t,-1,n)),(n=eht(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,0,e,e))}function A_t(t){var e,n,i;if(null==t)return null;if((n=zz(t,15)).dc())return"";for(i=new Tx,e=n.Kc();e.Ob();)aM(i,(ZHt(),TB(e.Pb()))),i.a+=" ";return RM(i,i.a.length-1)}function E_t(t){var e,n,i;if(null==t)return null;if((n=zz(t,15)).dc())return"";for(i=new Tx,e=n.Kc();e.Ob();)aM(i,(ZHt(),TB(e.Pb()))),i.a+=" ";return RM(i,i.a.length-1)}function T_t(t,e,n){var i,r;return i=t.c[e.c.p][e.p],r=t.c[n.c.p][n.p],null!=i.a&&null!=r.a?AG(i.a,r.a):null!=i.a?-1:null!=r.a?1:0}function C_t(t,e){var n,i,r;if(e)for(r=((n=new lG(e.a.length)).b-n.a)*n.c<0?(nT(),ENe):new ZL(n);r.Ob();)i=P2(e,zz(r.Pb(),19).a),MK(new zb(t).a,i)}function S_t(t,e){var n,i,r;if(e)for(r=((n=new lG(e.a.length)).b-n.a)*n.c<0?(nT(),ENe):new ZL(n);r.Ob();)i=P2(e,zz(r.Pb(),19).a),IK(new Ob(t).a,i)}function I_t(t){if(null!=t&&t.length>0&&33==hK(t,t.length-1))try{return null==QCt(hP(t,0,t.length-1)).e}catch(t){if(!aL(t=dst(t),32))throw qw(t)}return!1}function M_t(t,e,n){var i,r,a;return i=e.ak(),a=e.dd(),r=i.$j()?LV(t,3,i,null,a,mzt(t,i,a,aL(i,99)&&0!=(zz(i,18).Bb&qXt)),!0):LV(t,1,i,i.zj(),a,-1,!0),n?n.Ei(r):n=r,n}function D_t(){var t,e,n;for(e=0,t=0;t<"X".length;t++){if(0==(n=VMt((d1(t,"X".length),"X".charCodeAt(t)))))throw qw(new ox("Unknown Option: "+"X".substr(t)));e|=n}return e}function O_t(t,e,n){var i,r;switch(i=Kft(mW(e)),SJ(r=new ITt,e),n.g){case 1:USt(r,Eft(hgt(i)));break;case 2:USt(r,hgt(i))}return hct(r,(HZt(),ewe),EB(vEt(t,ewe))),r}function L_t(t){var e,n;return e=zz(Y5(new cG(JL(fdt(t.a).a.Kc(),new l))),17),n=zz(Y5(new cG(JL(ddt(t.a).a.Kc(),new l))),17),Hv(AB(vEt(e,(hWt(),Sfe))))||Hv(AB(vEt(n,Sfe)))}function N_t(){N_t=M,Eue=new vC("ONE_SIDE",0),Cue=new vC("TWO_SIDES_CORNER",1),Sue=new vC("TWO_SIDES_OPPOSING",2),Tue=new vC("THREE_SIDES",3),Aue=new vC("FOUR_SIDES",4)}function P_t(t,e,n,i,r){var a,o;a=zz(C4(DK(e.Oc(),new Jr),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15),o=zz(wot(t.b,n,i),15),0==r?o.Wc(0,a):o.Gc(a)}function B_t(t,e){var n,i,r;for(i=new Wd(e.a);i.a<i.c.c.length;)for(n=new cG(JL(fdt(zz(t0(i),10)).a.Kc(),new l));bDt(n);)r=zz(Y5(n),17).c.i.p,t.n[r]=t.n[r]-1}function F_t(t,e){var n,i,r,a;for(r=new Wd(e.d);r.a<r.c.c.length;)for(i=zz(t0(r),101),a=zz(FZ(t.c,i),112).o,n=new XA(i.b);n.a<n.c.a.length;)b7(i,zz(s4(n),61),a)}function R_t(t){var e;for(e=new Wd(t.e.b);e.a<e.c.c.length;)hGt(t,zz(t0(e),29));QA(DK(gtt(gtt(new FH(null,new g1(t.e.b,16)),new Za),new Ja),new to),new lb(t))}function j_t(t,e){return!!e&&!t.Di(e)&&(t.i?t.i.Ei(e):aL(e,143)?(t.i=zz(e,143),!0):(t.i=new wc,t.i.Ei(e)))}function $_t(t){if(t=zzt(t,!0),yR(s5t,t)||yR("1",t))return lN(),yee;if(yR(c5t,t)||yR("0",t))return lN(),mee;throw qw(new ix("Invalid boolean value: '"+t+"'"))}function z_t(t,e,n){var i,r,a;for(r=t.vc().Kc();r.Ob();)if(a=(i=zz(r.Pb(),42)).cd(),UI(e)===UI(a)||null!=e&&Pht(e,a))return n&&(i=new CT(i.cd(),i.dd()),r.Qb()),i;return null}function q_t(t){var e,n,i;HB(),t.B.Hc((ejt(),HIe))&&(i=t.f.i,e=new bV(t.a.c),(n=new dy).b=e.c-i.c,n.d=e.d-i.d,n.c=i.c+i.b-(e.c+e.b),n.a=i.d+i.a-(e.d+e.a),t.e.Ff(n))}function H_t(t,e,i,r){var a,o,s;for(s=n.Math.min(i,K$t(zz(t.b,65),e,i,r)),o=new Wd(t.a);o.a<o.c.c.length;)(a=zz(t0(o),221))!=e&&(s=n.Math.min(s,H_t(a,e,s,r)));return s}function U_t(t){var e,n,i;for(i=P8(Mse,lKt,193,t.b.c.length,0,2),n=new E2(t.b,0);n.b<n.d.gc();)CP(n.b<n.d.gc()),e=zz(n.d.Xb(n.c=n.b++),29),i[n.b-1]=t2(e.a);return i}function G_t(t,e,n,i,r){var a,o,s,c;for(o=tk(Jx(qj(nmt(n)),i),sxt(t,n,r)),c=FTt(t,n).Kc();c.Ob();)e[(s=zz(c.Pb(),11)).p]&&(a=e[s.p].i,Wz(o.d,new PU(a,kft(o,a))));Sgt(o)}function Y_t(t,e){this.f=new Pw,this.b=new Pw,this.j=new Pw,this.a=t,this.c=e,this.c>0&&$vt(this,this.c-1,(kYt(),cIe)),this.c<this.a.length-1&&$vt(this,this.c+1,(kYt(),SIe))}function Z_t(t){t.length>0&&t[0].length>0&&(this.c=Hv(AB(vEt(mW(t[0][0]),(hWt(),ofe))))),this.a=P8(Cye,lKt,2018,t.length,0,2),this.b=P8(Lye,lKt,2019,t.length,0,2),this.d=new Elt}function W_t(t){return 0!=t.c.length&&((f1(0,t.c.length),zz(t.c[0],17)).c.i.k==(cTt(),Cse)||c5(OK(new FH(null,new g1(t,16)),new Ra),new ja))}function K_t(t,e,n){return DAt(n,"Tree layout",1),l2(t.b),SY(t.b,(Yvt(),Fve),Fve),SY(t.b,Rve,Rve),SY(t.b,jve,jve),SY(t.b,$ve,$ve),t.a=LHt(t.b,e),dPt(t,e,vat(n,1)),HTt(n),e}function X_t(t,e){var i,r,a,o,s,c;for(s=pBt(e),a=e.f,c=e.g,o=n.Math.sqrt(a*a+c*c),r=0,i=new Wd(s);i.a<i.c.c.length;)r+=X_t(t,zz(t0(i),33));return n.Math.max(r,o)}function V_t(){V_t=M,VSe=new YS(hQt,0),XSe=new YS("FREE",1),KSe=new YS("FIXED_SIDE",2),YSe=new YS("FIXED_ORDER",3),WSe=new YS("FIXED_RATIO",4),ZSe=new YS("FIXED_POS",5)}function Q_t(t,e){var n,i,r;if(n=e.Hh(t.a))for(r=TB(opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),E9t)),i=1;i<(MCt(),tLe).length;++i)if(yR(tLe[i],r))return i;return 0}function J_t(t){var e,n,i,r;if(null==t)return YWt;for(r=new Lot(zWt,"[","]"),n=0,i=(e=t).length;n<i;++n)d6(r,""+e[n]);return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function tAt(t){var e,n,i,r;if(null==t)return YWt;for(r=new Lot(zWt,"[","]"),n=0,i=(e=t).length;n<i;++n)d6(r,""+e[n]);return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function eAt(t){var e,n,i;for(i=new Lot(zWt,"{","}"),n=t.vc().Kc();n.Ob();)d6(i,W3(t,(e=zz(n.Pb(),42)).cd())+"="+W3(t,e.dd()));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function nAt(t){for(var e,n,i,r;!Wv(t.o);)n=zz(pY(t.o),46),i=zz(n.a,121),r=Pdt(e=zz(n.b,213),i),e.e==i?(FN(r.g,e),i.e=r.e+e.a):(FN(r.b,e),i.e=r.e-e.a),Wz(t.e.a,i)}function iAt(t,e){var n,i,r;for(n=null,r=zz(e.Kb(t),20).Kc();r.Ob();)if(i=zz(r.Pb(),17),n){if((i.c.i==t?i.d.i:i.c.i)!=n)return!1}else n=i.c.i==t?i.d.i:i.c.i;return!0}function rAt(t,e){var n,i,r;for(i=new Wd(VLt(t,!1,e));i.a<i.c.c.length;)0==(n=zz(t0(i),129)).d?(WJ(n,null),KJ(n,null)):(r=n.a,WJ(n,n.b),KJ(n,r))}function aAt(t){var e,n;return Jat(e=new z2,Sve),(n=zz(vEt(t,(hWt(),Jhe)),21)).Hc((gBt(),mhe))&&Jat(e,Ove),n.Hc(uhe)&&Jat(e,Ive),n.Hc(bhe)&&Jat(e,Dve),n.Hc(hhe)&&Jat(e,Mve),e}function oAt(t){var e,n,i,r;for(CHt(t),n=new cG(JL(hdt(t).a.Kc(),new l));bDt(n);)r=(i=(e=zz(Y5(n),17)).c.i==t)?e.d:e.c,i?EJ(e,null):TJ(e,null),hct(e,(hWt(),yfe),r),cDt(t,r.i)}function sAt(t,e,n,i){var r,a;switch(r=n[(a=e.i).g][t.d[a.g]],a.g){case 1:r-=i+e.j.b,e.g.b=r;break;case 3:r+=i,e.g.b=r;break;case 4:r-=i+e.j.a,e.g.a=r;break;case 2:r+=i,e.g.a=r}}function cAt(t){var e,n;for(n=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));n.e!=n.i.gc();)if(!bDt(new cG(JL(pLt(e=zz(kwt(n),33)).a.Kc(),new l))))return e;return null}function uAt(){var t;return WMe?zz(LOt((WE(),GDe),x6t),2016):(t=zz(aL(TQ((WE(),GDe),x6t),555)?TQ(GDe,x6t):new lDt,555),WMe=!0,$Ut(t),_Wt(t),Evt(t),yJ(GDe,x6t,t),t)}function lAt(t,e,n){var i,r;if(0==t.j)return n;if(r=zz($nt(t,e,n),72),!(i=n.ak()).Ij()||!t.a.rl(i))throw qw(new pv("Invalid entry feature '"+i.Hj().zb+"."+i.ne()+"'"));return r}function hAt(t,e){var n,i,r,a,o,s,c;for(s=0,c=(o=t.a).length;s<c;++s)for(r=0,a=(i=o[s]).length;r<a;++r)if(n=i[r],UI(e)===UI(n)||null!=e&&Pht(e,n))return!0;return!1}function fAt(t){var e,n,i;return Xlt(t,0)>=0?(n=Dkt(t,OXt),i=dpt(t,OXt)):(n=Dkt(e=kG(t,1),5e8),i=adt(vG(i=dpt(e,5e8),1),n0(t,1))),i0(vG(i,32),n0(n,ZXt))}function dAt(t,e,n){var i;switch(CP(0!=e.b),i=zz(Oet(e,e.a.a),8),n.g){case 0:i.b=0;break;case 2:i.b=t.f;break;case 3:i.a=0;break;default:i.a=t.g}return tZ(lwt(e,0),i),e}function gAt(t,e,n,i){var r,a,o,s,c;switch(c=t.b,s=Ybt(o=(a=e.d).j,c.d[o.g],n),r=YF(zO(a.n),a.a),a.j.g){case 1:case 3:s.a+=r.a;break;case 2:case 4:s.b+=r.b}r5(i,s,i.c.b,i.c)}function pAt(t,e,n){var i,r,a,o;for(o=_9(t.e,e,0),(a=new ry).b=n,i=new E2(t.e,o);i.b<i.d.gc();)CP(i.b<i.d.gc()),(r=zz(i.d.Xb(i.c=i.b++),10)).p=n,Wz(a.e,r),hW(i);return a}function bAt(t,e,n,i){var r,a,o,s,c;for(r=null,a=0,s=new Wd(e);s.a<s.c.c.length;)c=(o=zz(t0(s),33)).i+o.g,t<o.j+o.f+i&&(r?n.i-c<n.i-a&&(r=o):r=o,a=r.i+r.g);return r?a+i:0}function wAt(t,e,n,i){var r,a,o,s,c;for(a=null,r=0,s=new Wd(e);s.a<s.c.c.length;)c=(o=zz(t0(s),33)).j+o.f,t<o.i+o.g+i&&(a?n.j-c<n.j-r&&(a=o):a=o,r=a.j+a.f);return a?r+i:0}function mAt(t){var e,n,i;for(e=!1,i=t.b.c.length,n=0;n<i;n++)Qct(zz(PH(t.b,n),434))?!e&&n+1<i&&Qct(zz(PH(t.b,n+1),434))&&(e=!0,zz(PH(t.b,n),434).a=!0):e=!1}function yAt(t,e,n,i,r){var a,o;for(a=0,o=0;o<r;o++)a=adt(a,rdt(n0(e[o],ZXt),n0(i[o],ZXt))),t[o]=pU(a),a=xG(a,32);for(;o<n;o++)a=adt(a,n0(e[o],ZXt)),t[o]=pU(a),a=xG(a,32)}function vAt(t,e){var n,i;for(LMt(),DBt(),i=Jee,n=t;e>1;e>>=1)0!=(1&e)&&(i=Ntt(i,n)),n=1==n.d?Ntt(n,n):new Ibt(Mjt(n.a,n.d,P8(DNe,hXt,25,n.d<<1,15,1)));return i=Ntt(i,n)}function xAt(){var t,e,n,i;for(xAt=M,Mne=P8(PNe,UXt,25,25,15,1),Dne=P8(PNe,UXt,25,33,15,1),i=152587890625e-16,e=32;e>=0;e--)Dne[e]=i,i*=.5;for(n=1,t=24;t>=0;t--)Mne[t]=n,n*=.5}function kAt(t){var e,n;if(Hv(AB(tOt(t,(HZt(),gbe)))))for(n=new cG(JL(bLt(t).a.Kc(),new l));bDt(n);)if(VIt(e=zz(Y5(n),79))&&Hv(AB(tOt(e,pbe))))return!0;return!1}function _At(t,e){var n,i,r;AY(t.f,e)&&(e.b=t,i=e.c,-1!=_9(t.j,i,0)||Wz(t.j,i),r=e.d,-1!=_9(t.j,r,0)||Wz(t.j,r),0!=(n=e.a.b).c.length&&(!t.i&&(t.i=new iwt(t)),yot(t.i,n)))}function AAt(t){var e,n,i,r;return(n=(e=t.c.d).j)==(r=(i=t.d.d).j)?e.p<i.p?0:1:Tft(n)==r?0:Aft(n)==r?1:TN(t.b.b,Tft(n))?0:1}function EAt(){EAt=M,eme=new FC(_3t,0),Jwe=new FC("LONGEST_PATH",1),Vwe=new FC("COFFMAN_GRAHAM",2),Qwe=new FC(q1t,3),nme=new FC("STRETCH_WIDTH",4),tme=new FC("MIN_WIDTH",5)}function TAt(t){var e;this.d=new Pw,this.c=t.c,this.e=t.d,this.b=t.b,this.f=new uU(t.e),this.a=t.a,t.f?this.g=t.f:this.g=new VR(e=zz(Kk(oDe),9),zz(TF(e,e.length),9),0)}function CAt(t,e){var n,i,r,a;!(r=B2(i=t,"layoutOptions"))&&(r=B2(i,T6t)),r&&(n=null,(a=r)&&(n=new AA(a,_rt(a,P8(Vee,lKt,2,0,6,1)))),n&&n5(n,new gI(a,e)))}function SAt(t){if(aL(t,239))return zz(t,33);if(aL(t,186))return WQ(zz(t,118));throw qw(t?new ex("Only support nodes and ports."):new qv(i8t))}function IAt(t,e,n,i){return e>=0&&yR(t.substr(e,"GMT".length),"GMT")||e>=0&&yR(t.substr(e,"UTC".length),"UTC")?(n[0]=e+3,xjt(t,n,i)):xjt(t,n,i)}function MAt(t,e){var n,i,r,a,o;for(a=t.g.a,o=t.g.b,i=new Wd(t.d);i.a<i.c.c.length;)(r=(n=zz(t0(i),70)).n).a=a,t.i==(kYt(),uIe)?r.b=o+t.j.b-n.o.b:r.b=o,YF(r,e),a+=n.o.a+t.e}function DAt(t,e,n){if(t.b)throw qw(new $v("The task is already done."));return null==t.p&&(t.p=e,t.r=n,t.k&&(t.o=(OA(),odt(fot(Date.now()),XKt))),!0)}function OAt(t){var e;return e=new wv,null!=t.tg()&&Dq(e,U6t,t.tg()),null!=t.ne()&&Dq(e,n8t,t.ne()),null!=t.sg()&&Dq(e,"description",t.sg()),e}function LAt(t,e,n){var i,r,a;return a=t.q,t.q=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new tY(t,1,9,a,e),n?n.Ei(r):n=r),e?(i=e.c)!=t.r&&(n=t.nk(i,n)):t.r&&(n=t.nk(null,n)),n}function NAt(t,e,n){var i,r;for(n=Pwt(e,t.e,-1-t.c,n),r=new Ew(new cut(new Cd(PW(t.a).a).a));r.a.b;)n=sGt(i=zz(nnt(r.a).cd(),87),kLt(i,t.a),n);return n}function PAt(t,e,n){var i,r;for(n=cQ(e,t.e,-1-t.c,n),r=new Ew(new cut(new Cd(PW(t.a).a).a));r.a.b;)n=sGt(i=zz(nnt(r.a).cd(),87),kLt(i,t.a),n);return n}function BAt(t,e,n,i){var r,a,o;if(0==i)sqt(e,0,t,n,t.length-n);else for(o=32-i,t[t.length-1]=0,a=t.length-1;a>n;a--)t[a]|=e[a-n-1]>>>o,t[a-1]=e[a-n-1]<<i;for(r=0;r<n;r++)t[r]=0}function FAt(t){var e,i,r,a,o;for(e=0,i=0,o=t.Kc();o.Ob();)r=zz(o.Pb(),111),e=n.Math.max(e,r.d.b),i=n.Math.max(i,r.d.c);for(a=t.Kc();a.Ob();)(r=zz(a.Pb(),111)).d.b=e,r.d.c=i}function RAt(t){var e,i,r,a,o;for(i=0,e=0,o=t.Kc();o.Ob();)r=zz(o.Pb(),111),i=n.Math.max(i,r.d.d),e=n.Math.max(e,r.d.a);for(a=t.Kc();a.Ob();)(r=zz(a.Pb(),111)).d.d=i,r.d.a=e}function jAt(t,e){var n,i,r,a;for(a=new Nw,r=0,i=e.Kc();i.Ob();){for(n=rft(zz(i.Pb(),19).a+r);n.a<t.f&&!eU(t,n.a);)n=rft(n.a+1),++r;if(n.a>=t.f)break;a.c[a.c.length]=n}return a}function $At(t){var e,n,i,r;for(e=null,r=new Wd(t.wf());r.a<r.c.c.length;)n=new YK((i=zz(t0(r),181)).qf().a,i.qf().b,i.rf().a,i.rf().b),e?ICt(e,n):e=n;return!e&&(e=new dD),e}function zAt(t,e,n,i){return 1==n?(!t.n&&(t.n=new nY(GMe,t,1,7)),Qgt(t.n,e,i)):zz(iet(zz(xot(t,16),26)||t.zh(),n),66).Nj().Qj(t,fbt(t),n-dZ(t.zh()),e,i)}function qAt(t,e,n){var i,r,a,o,s;for(i=n.gc(),t.qi(t.i+i),(s=t.i-e)>0&&sqt(t.g,e,t.g,e+i,s),o=n.Kc(),t.i+=i,r=0;r<i;++r)a=o.Pb(),kL(t,e,t.oi(e,a)),t.bi(e,a),t.ci(),++e;return 0!=i}function HAt(t,e,n){var i;return e!=t.q?(t.q&&(n=cQ(t.q,t,-10,n)),e&&(n=Pwt(e,t,-10,n)),n=LAt(t,e,n)):0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,9,e,e),n?n.Ei(i):n=i),n}function UAt(t,e,n,i){return Sj(0==(n&hKt),"flatMap does not support SUBSIZED characteristic"),Sj(0==(4&n),"flatMap does not support SORTED characteristic"),vZ(t),vZ(e),new H2(t,n,i,e)}function GAt(t,e){TY(e,"Cannot suppress a null exception."),mq(e!=t,"Exception can not suppress itself."),t.i||(null==t.k?t.k=Sst(Ux(Jte,1),lKt,78,0,[e]):t.k[t.k.length]=e)}function YAt(t,e,n,i){var r,a,o,s,c,u;for(o=n.length,a=0,r=-1,u=oet(t.substr(e),(aj(),Ane)),s=0;s<o;++s)(c=n[s].length)>a&&uY(u,oet(n[s],Ane))&&(r=s,a=c);return r>=0&&(i[0]=e+a),r}function ZAt(t,e){var n;if(0!=(n=VM(t.b.Hf(),e.b.Hf())))return n;switch(t.b.Hf().g){case 1:case 2:return _O(t.b.sf(),e.b.sf());case 3:case 4:return _O(e.b.sf(),t.b.sf())}return 0}function WAt(t){var e,n,i;for(i=t.e.c.length,t.a=xH(DNe,[lKt,hXt],[48,25],15,[i,i],2),n=new Wd(t.c);n.a<n.c.c.length;)e=zz(t0(n),282),t.a[e.c.b][e.d.b]+=zz(vEt(e,(fFt(),Jae)),19).a}function KAt(t,e,n){DAt(n,"Grow Tree",1),t.b=e.f,Hv(AB(vEt(e,(Wat(),Xre))))?(t.c=new ne,XJ(t,null)):t.c=new ne,t.a=!1,zNt(t,e.f),hct(e,Vre,(lN(),!!t.a)),HTt(n)}function XAt(t,e){var n,i,r,a,o;if(null==t)return null;for(o=P8(MNe,KKt,25,2*e,15,1),i=0,r=0;i<e;++i)n=t[i]>>4&15,a=15&t[i],o[r++]=MMe[n],o[r++]=MMe[a];return qpt(o,0,o.length)}function VAt(t,e,n){var i,r,a;return i=e.ak(),a=e.dd(),r=i.$j()?LV(t,4,i,a,null,mzt(t,i,a,aL(i,99)&&0!=(zz(i,18).Bb&qXt)),!0):LV(t,i.Kj()?2:1,i,a,i.zj(),-1,!0),n?n.Ei(r):n=r,n}function QAt(t){var e,n;return t>=qXt?(e=HXt+(t-qXt>>10&1023)&VKt,n=56320+(t-qXt&1023)&VKt,String.fromCharCode(e)+""+String.fromCharCode(n)):String.fromCharCode(t&VKt)}function JAt(t,e){var n,i,r,a;return HB(),(r=zz(zz(l6(t.r,e),21),84)).gc()>=2&&(i=zz(r.Kc().Pb(),111),n=t.u.Hc((dIt(),eIe)),a=t.u.Hc(aIe),!i.a&&!n&&(2==r.gc()||a))}function tEt(t,e,n,i,r){var a,o,s;for(a=iBt(t,e,n,i,r),s=!1;!a;)AOt(t,r,!0),s=!0,a=iBt(t,e,n,i,r);s&&AOt(t,r,!1),0!=(o=Fst(r)).c.length&&(t.d&&t.d.lg(o),tEt(t,r,n,i,o))}function eEt(){eEt=M,oSe=new zS(VJt,0),rSe=new zS("DIRECTED",1),sSe=new zS("UNDIRECTED",2),nSe=new zS("ASSOCIATION",3),aSe=new zS("GENERALIZATION",4),iSe=new zS("DEPENDENCY",5)}function nEt(t,e){var n;if(!WQ(t))throw qw(new $v(z5t));switch(n=WQ(t),e.g){case 1:return-(t.j+t.f);case 2:return t.i-n.g;case 3:return t.j-n.f;case 4:return-(t.i+t.g)}return 0}function iEt(t,e){var n,i;for(xW(e),i=t.b.c.length,Wz(t.b,e);i>0;){if(n=i,i=(i-1)/2|0,t.a.ue(PH(t.b,i),e)<=0)return a5(t.b,n,e),!0;a5(t.b,n,PH(t.b,i))}return a5(t.b,i,e),!0}function rEt(t,e,i,r){var a,o;if(a=0,i)a=vlt(t.a[i.g][e.g],r);else for(o=0;o<tre;o++)a=n.Math.max(a,vlt(t.a[o][e.g],r));return e==(Fet(),Gie)&&t.b&&(a=n.Math.max(a,t.b.a)),a}function aEt(t,e){var n,i,r,a,o;return i=t.i,r=e.i,!(!i||!r)&&i.i==r.i&&i.i!=(kYt(),cIe)&&i.i!=(kYt(),SIe)&&(n=(a=i.g.a)+i.j.a,a<=(o=r.g.a)+r.j.a&&n>=o)}function oEt(t,e,n,i){var r;if(r=!1,ZI(i)&&(r=!0,Dq(e,n,TB(i))),r||GI(i)&&(r=!0,oEt(t,e,n,i)),r||aL(i,236)&&(r=!0,HX(e,n,zz(i,236))),!r)throw qw(new Lv(H6t))}function sEt(t,e){var n,i,r;if((n=e.Hh(t.a))&&null!=(r=opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),z7t)))for(i=1;i<(MCt(),VOe).length;++i)if(yR(VOe[i],r))return i;return 0}function cEt(t,e){var n,i,r;if((n=e.Hh(t.a))&&null!=(r=opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),z7t)))for(i=1;i<(MCt(),QOe).length;++i)if(yR(QOe[i],r))return i;return 0}function uEt(t,e){var n,i,r,a;if(xW(e),(a=t.a.gc())<e.gc())for(n=t.a.ec().Kc();n.Ob();)i=n.Pb(),e.Hc(i)&&n.Qb();else for(r=e.Kc();r.Ob();)i=r.Pb(),t.a.Bc(i);return a!=t.a.gc()}function lEt(t){var e,n;switch(n=zO(Oct(Sst(Ux(CEe,1),lKt,8,0,[t.i.n,t.n,t.a]))),e=t.i.d,t.j.g){case 1:n.b-=e.d;break;case 2:n.a+=e.c;break;case 3:n.b+=e.a;break;case 4:n.a-=e.b}return n}function hEt(t){var e;for(Mrt(),e=zz(Y5(new cG(JL(fdt(t).a.Kc(),new l))),17).c.i;e.k==(cTt(),Cse);)hct(e,(hWt(),cfe),(lN(),!0)),e=zz(Y5(new cG(JL(fdt(e).a.Kc(),new l))),17).c.i}function fEt(t,e,n,i){var r,a,o;for(o=Nht(e,i).Kc();o.Ob();)r=zz(o.Pb(),11),t.d[r.p]=t.d[r.p]+t.c[n.p];for(a=Nht(n,i).Kc();a.Ob();)r=zz(a.Pb(),11),t.d[r.p]=t.d[r.p]-t.c[e.p]}function dEt(t,e,n){var i,r;for(r=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));r.e!=r.i.gc();)TD(i=zz(kwt(r),33),i.i+e,i.j+n);n5((!t.b&&(t.b=new nY(jMe,t,12,3)),t.b),new eI(e,n))}function gEt(t,e,n,i){var r,a;for(r=null==(a=e).d||t.a.ue(n.d,a.d)>0?1:0;a.a[r]!=n;)a=a.a[r],r=t.a.ue(n.d,a.d)>0?1:0;a.a[r]=i,i.b=n.b,i.a[0]=n.a[0],i.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function pEt(t){return dIt(),!(Iot(MQ(_U(nIe,Sst(Ux(IIe,1),LKt,273,0,[rIe])),t))>1||Iot(MQ(_U(eIe,Sst(Ux(IIe,1),LKt,273,0,[tIe,aIe])),t))>1)}function bEt(t,e){aL(TQ((WE(),GDe),t),498)?yJ(GDe,t,new MI(this,e)):yJ(GDe,t,this),rTt(this,e),e==(i_(),tOe)?(this.wb=zz(this,1939),zz(e,1941)):this.wb=(XZ(),eOe)}function wEt(t){var e,n;if(null==t)return null;for(e=null,n=0;n<IMe.length;++n)try{return zE(IMe[n],t)}catch(t){if(!aL(t=dst(t),32))throw qw(t);e=t}throw qw(new L9(e))}function mEt(){mEt=M,wne=Sst(Ux(Vee,1),lKt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),mne=Sst(Ux(Vee,1),lKt,2,6,["Jan","Feb","Mar","Apr",nXt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function yEt(t){var e,n,i;(e=yR(typeof e,wVt)?null:new ht)&&(fE(),eW(n=(i=900)>=XKt?"error":i>=900?"warn":i>=800?"info":"log",t.a),t.b&&BNt(e,n,t.b,"Exception: ",!0))}function vEt(t,e){var n,i;return!t.q&&(t.q=new Pw),null!=(i=FZ(t.q,e))?i:(aL(n=e.wg(),4)&&(null==n?(!t.q&&(t.q=new Pw),m6(t.q,e)):(!t.q&&(t.q=new Pw),KW(t.q,e,n))),n)}function xEt(){xEt=M,Foe=new KT("P1_CYCLE_BREAKING",0),Roe=new KT("P2_LAYERING",1),joe=new KT("P3_NODE_ORDERING",2),$oe=new KT("P4_NODE_PLACEMENT",3),zoe=new KT("P5_EDGE_ROUTING",4)}function kEt(t,e){var n,i,r,a;for(i=(1==e?Woe:Zoe).a.ec().Kc();i.Ob();)for(n=zz(i.Pb(),103),a=zz(l6(t.f.c,n),21).Kc();a.Ob();)r=zz(a.Pb(),46),v9(t.b.b,r.b),v9(t.b.a,zz(r.b,81).d)}function _Et(t,e){var n;if(Btt(),t.c==e.c){if(t.b==e.b||hat(t.b,e.b)){if(n=JM(t.b)?1:-1,t.a&&!e.a)return n;if(!t.a&&e.a)return-n}return _O(t.b.g,e.b.g)}return Sft(t.c,e.c)}function AEt(t,e){var n;DAt(e,"Hierarchical port position processing",1),(n=t.b).c.length>0&&rjt((f1(0,n.c.length),zz(n.c[0],29)),t),n.c.length>1&&rjt(zz(PH(n,n.c.length-1),29),t),HTt(e)}function EEt(t,e){var n,i;if(PEt(t,e))return!0;for(i=new Wd(e);i.a<i.c.c.length;){if($Bt(t,n=zz(t0(i),33),c_t(n)))return!0;if(Llt(t,n)-t.g<=t.a)return!0}return!1}function TEt(){TEt=M,gFt(),xAe=FAe,mAe=LAe,wAe=DAe,pAe=CAe,bAe=IAe,gAe=new WD(8),dAe=new ZD((lWt(),ZTe),gAe),yAe=new ZD(LCe,8),vAe=PAe,lAe=kAe,hAe=AAe,fAe=new ZD(fTe,(lN(),!1))}function CEt(){CEt=M,GEe=new WD(15),UEe=new ZD((lWt(),ZTe),GEe),ZEe=new ZD(LCe,15),YEe=new ZD(wCe,rft(0)),jEe=kTe,zEe=RTe,HEe=HTe,BEe=new ZD(aTe,f5t),$Ee=STe,qEe=zTe,FEe=sTe,REe=lTe}function SEt(t){if(1!=(!t.b&&(t.b=new lR(RMe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c).i)throw qw(new jv(a8t));return SAt(zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82))}function IEt(t){if(1!=(!t.b&&(t.b=new lR(RMe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c).i)throw qw(new jv(a8t));return gst(zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82))}function MEt(t){if(1!=(!t.b&&(t.b=new lR(RMe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c).i)throw qw(new jv(a8t));return gst(zz(Ket((!t.c&&(t.c=new lR(RMe,t,5,8)),t.c),0),82))}function DEt(t){if(1!=(!t.b&&(t.b=new lR(RMe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c).i)throw qw(new jv(a8t));return SAt(zz(Ket((!t.c&&(t.c=new lR(RMe,t,5,8)),t.c),0),82))}function OEt(t,e,n){var i,r,a;if(++t.j,e>=(r=t.Vi())||e<0)throw qw(new Dv(c8t+e+u8t+r));if(n>=r||n<0)throw qw(new Dv(l8t+n+u8t+r));return e!=n?(a=t.Ti(n),t.Hi(e,a),i=a):i=t.Oi(n),i}function LEt(t){var e,n,i;if(i=t,t)for(e=0,n=t.Ug();n;n=n.Ug()){if(++e>GXt)return LEt(n);if(i=n,n==t)throw qw(new $v("There is a cycle in the containment hierarchy of "+t))}return i}function NEt(t){var e,n,i;for(i=new Lot(zWt,"[","]"),n=t.Kc();n.Ob();)d6(i,UI(e=n.Pb())===UI(t)?"(this Collection)":null==e?YWt:qdt(e));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function PEt(t,e){var n,i;if(i=!1,e.gc()<2)return!1;for(n=0;n<e.gc();n++)n<e.gc()-1?i|=$Bt(t,zz(e.Xb(n),33),zz(e.Xb(n+1),33)):i|=$Bt(t,zz(e.Xb(n),33),zz(e.Xb(0),33));return i}function BEt(t,e){var n;e!=t.a?(n=null,t.a&&(n=zz(t.a,49).ih(t,4,UMe,n)),e&&(n=zz(e,49).gh(t,4,UMe,n)),(n=Jlt(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,1,e,e))}function FEt(t,e){var n;e!=t.e?(t.e&&j6(PW(t.e),t),e&&(!e.b&&(e.b=new Aw(new Py)),VF(e.b,t)),(n=Vxt(t,e,null))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,4,e,e))}function REt(t){var e,n,i;for(n=t.length,i=0;i<n&&(d1(i,t.length),t.charCodeAt(i)<=32);)++i;for(e=n;e>i&&(d1(e-1,t.length),t.charCodeAt(e-1)<=32);)--e;return i>0||e<n?t.substr(i,e-i):t}function jEt(t,e){var i;i=e.o,pD(t.f)?(t.j.a=n.Math.max(t.j.a,i.a),t.j.b+=i.b,t.d.c.length>1&&(t.j.b+=t.e)):(t.j.a+=i.a,t.j.b=n.Math.max(t.j.b,i.b),t.d.c.length>1&&(t.j.a+=t.e))}function $Et(){$Et=M,Oue=Sst(Ux($Ie,1),QJt,61,0,[(kYt(),uIe),cIe,TIe]),Due=Sst(Ux($Ie,1),QJt,61,0,[cIe,TIe,SIe]),Lue=Sst(Ux($Ie,1),QJt,61,0,[TIe,SIe,uIe]),Nue=Sst(Ux($Ie,1),QJt,61,0,[SIe,uIe,cIe])}function zEt(t,e,n,i){var r,a,o,s,c;if(a=t.c.d,o=t.d.d,a.j!=o.j)for(c=t.b,r=a.j,s=null;r!=o.j;)s=0==e?Tft(r):Aft(r),Bq(i,YF(Ybt(r,c.d[r.g],n),Ybt(s,c.d[s.g],n))),r=s}function qEt(t,e,n,i){var r,a,o,s,c;return s=zz((o=Uvt(t.a,e,n)).a,19).a,a=zz(o.b,19).a,i&&(c=zz(vEt(e,(hWt(),_fe)),10),r=zz(vEt(n,_fe),10),c&&r&&(e4(t.b,c,r),s+=t.b.i,a+=t.b.e)),s>a}function HEt(t){var e,n,i,r,a,o,s,c;for(this.a=amt(t),this.b=new Nw,i=0,r=(n=t).length;i<r;++i)for(e=n[i],a=new Nw,Wz(this.b,a),s=0,c=(o=e).length;s<c;++s)Wz(a,new ej(o[s].j))}function UEt(t,e,n){var i,r,a;return a=0,i=n[e],e<n.length-1&&(r=n[e+1],t.b[e]?(a=gWt(t.d,i,r),a+=JZ(t.a,i,(kYt(),cIe)),a+=JZ(t.a,r,SIe)):a=I7(t.a,i,r)),t.c[e]&&(a+=L6(t.a,i)),a}function GEt(t,e,n,i,r){var a,o,s,c;for(c=null,s=new Wd(i);s.a<s.c.c.length;)if((o=zz(t0(s),441))!=n&&-1!=_9(o.e,r,0)){c=o;break}TJ(a=W5(r),n.b),EJ(a,c.b),JIt(t.a,r,new Lj(a,e,n.f))}function YEt(t){for(;0!=t.g.c&&0!=t.d.c;)$B(t.g).c>$B(t.d).c?(t.i+=t.g.c,wpt(t.d)):$B(t.d).c>$B(t.g).c?(t.e+=t.d.c,wpt(t.g)):(t.i+=HH(t.g),t.e+=HH(t.d),wpt(t.g),wpt(t.d))}function ZEt(t,e,n){var i,r,a,o;for(a=e.q,o=e.r,new GJ((M6(),Ave),e,a,1),new GJ(Ave,a,o,1),r=new Wd(n);r.a<r.c.c.length;)(i=zz(t0(r),112))!=a&&i!=e&&i!=o&&(wqt(t.a,i,e),wqt(t.a,i,o))}function WEt(t,e,i,r){t.a.d=n.Math.min(e,i),t.a.a=n.Math.max(e,r)-t.a.d,e<i?(t.b=.5*(e+i),t.g=j3t*t.b+.9*e,t.f=j3t*t.b+.9*i):(t.b=.5*(e+r),t.g=j3t*t.b+.9*r,t.f=j3t*t.b+.9*e)}function KEt(){function t(){return(new Date).getTime()}CWt={},!Array.isArray&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!Date.now&&(Date.now=t)}function XEt(t,e){var n,i;i=zz(vEt(e,(HZt(),nwe)),98),hct(e,(hWt(),vfe),i),(n=e.e)&&(QA(new FH(null,new g1(n.a,16)),new Fg(t)),QA(gtt(new FH(null,new g1(n.b,16)),new me),new Rg(t)))}function VEt(t){var e,i,r,a;if(bD(zz(vEt(t.b,(HZt(),Ype)),103)))return 0;for(e=0,r=new Wd(t.a);r.a<r.c.c.length;)(i=zz(t0(r),10)).k==(cTt(),Sse)&&(a=i.o.a,e=n.Math.max(e,a));return e}function QEt(t){switch(zz(vEt(t,(HZt(),xbe)),163).g){case 1:hct(t,xbe,(Edt(),zfe));break;case 2:hct(t,xbe,(Edt(),qfe));break;case 3:hct(t,xbe,(Edt(),jfe));break;case 4:hct(t,xbe,(Edt(),$fe))}}function JEt(){JEt=M,ahe=new OC(VJt,0),nhe=new OC(oQt,1),ohe=new OC(sQt,2),rhe=new OC("LEFT_RIGHT_CONSTRAINT_LOCKING",3),ihe=new OC("LEFT_RIGHT_CONNECTION_LOCKING",4),ehe=new OC(U1t,5)}function tTt(t,e,i){var r,a,o,s,c,u,l;c=i.a/2,o=i.b/2,u=1,l=1,(r=n.Math.abs(e.a-t.a))>c&&(u=c/r),(a=n.Math.abs(e.b-t.b))>o&&(l=o/a),s=n.Math.min(u,l),t.a+=s*(e.a-t.a),t.b+=s*(e.b-t.b)}function eTt(t,e,n,i,r){var a,o;for(o=!1,a=zz(PH(n.b,0),33);hzt(t,e,a,i,r)&&(o=!0,o_t(n,a),0!=n.b.c.length);)a=zz(PH(n.b,0),33);return 0==n.b.c.length&&Ext(n.j,n),o&&Gyt(e.q),o}function nTt(t,e){var n,i,r,a;if(_Bt(),e.b<2)return!1;for(i=n=zz(d3(a=lwt(e,0)),8);a.b!=a.d.c;){if(oNt(t,i,r=zz(d3(a),8)))return!0;i=r}return!!oNt(t,i,n)}function iTt(t,e,n,i){return 0==n?(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),zR(t.o,e,i)):zz(iet(zz(xot(t,16),26)||t.zh(),n),66).Nj().Rj(t,fbt(t),n-dZ(t.zh()),e,i)}function rTt(t,e){var n;e!=t.sb?(n=null,t.sb&&(n=zz(t.sb,49).ih(t,1,qMe,n)),e&&(n=zz(e,49).gh(t,1,qMe,n)),(n=_ht(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,4,e,e))}function aTt(t,e){var n,i;if(!e)throw qw(new nx("All edge sections need an end point."));n=Rnt(e,"x"),Ent(new Rb(t).a,(xW(n),n)),i=Rnt(e,"y"),Dnt(new jb(t).a,(xW(i),i))}function oTt(t,e){var n,i;if(!e)throw qw(new nx("All edge sections need a start point."));n=Rnt(e,"x"),Mnt(new Pb(t).a,(xW(n),n)),i=Rnt(e,"y"),Ont(new Bb(t).a,(xW(i),i))}function sTt(t,e){var n,i,r,a,o;for(i=0,a=mut(t).length;i<a;++i)yEt(e);for(o=!Xne&&t.e?Xne?null:t.d:null;o;){for(n=0,r=mut(o).length;n<r;++n)yEt(e);o=!Xne&&o.e?Xne?null:o.d:null}}function cTt(){cTt=M,Sse=new QT("NORMAL",0),Cse=new QT("LONG_EDGE",1),Ese=new QT("EXTERNAL_PORT",2),Ise=new QT("NORTH_SOUTH_PORT",3),Tse=new QT("LABEL",4),Ase=new QT("BREAKING_POINT",5)}function uTt(t){var e,n,i,r;if(e=!1,LP(t,(hWt(),Ghe)))for(n=zz(vEt(t,Ghe),83),r=new Wd(t.j);r.a<r.c.c.length;)JOt(i=zz(t0(r),11))&&(e||(rIt(mW(t)),e=!0),fwt(zz(n.xc(i),306)))}function lTt(t,e,n){var i;DAt(n,"Self-Loop routing",1),i=Xft(e),iM(vEt(e,(S6(),AEe))),QA(OK(DK(DK(gtt(new FH(null,new g1(e.b,16)),new Gi),new Yi),new Zi),new Wi),new nC(t,i)),HTt(n)}function hTt(t){var e,n,i;return i=OAt(t),null!=t.e&&Dq(i,e8t,t.e),!!t.k&&Dq(i,"type",pP(t.k)),!W_(t.j)&&(n=new Sf,ret(i,P6t,n),e=new aw(n),n5(t.j,e)),i}function fTt(t){var e,n,i,r;for(r=PZ((dit(t.gc(),"size"),new Ix),123),i=!0,n=fG(t).Kc();n.Ob();)e=zz(n.Pb(),42),i||(r.a+=zWt),i=!1,sM(PZ(sM(r,e.cd()),61),e.dd());return(r.a+="}",r).a}function dTt(t,e){var n,i,r;return(e&=63)<22?(n=t.l<<e,i=t.m<<e|t.l>>22-e,r=t.h<<e|t.m>>22-e):e<44?(n=0,i=t.l<<e-22,r=t.m<<e-22|t.l>>44-e):(n=0,i=0,r=t.l<<e-44),EO(n&CXt,i&CXt,r&SXt)}function gTt(t){if(null==xee&&(xee=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!xee.test(t))throw qw(new Ex(FXt+t+'"'));return parseFloat(t)}function pTt(t){var e,n,i,r;for(e=new Nw,mY(n=P8(ONe,tQt,25,t.a.c.length,16,1),n.length),r=new Wd(t.a);r.a<r.c.c.length;)n[(i=zz(t0(r),121)).d]||(e.c[e.c.length]=i,Gbt(t,i,n));return e}function bTt(t,e){var n,i,r,a;for(a=e.b.j,t.a=P8(DNe,hXt,25,a.c.length,15,1),r=0,i=0;i<a.c.length;i++)f1(i,a.c.length),0==(n=zz(a.c[i],11)).e.c.length&&0==n.g.c.length?r+=1:r+=3,t.a[i]=r}function wTt(){wTt=M,Ble=new IC("ALWAYS_UP",0),Ple=new IC("ALWAYS_DOWN",1),Rle=new IC("DIRECTION_UP",2),Fle=new IC("DIRECTION_DOWN",3),$le=new IC("SMART_UP",4),jle=new IC("SMART_DOWN",5)}function mTt(t,e){if(t<0||e<0)throw qw(new jv("k and n must be positive"));if(e>t)throw qw(new jv("k must be smaller than n"));return 0==e||e==t?1:0==t?0:Tkt(t)/(Tkt(e)*Tkt(t-e))}function yTt(t,e){var n,i,r,a;for(n=new MD(t);null!=n.g||n.c?null==n.g||0!=n.i&&zz(n.g[n.i-1],47).Ob():eJ(n);)if(aL(a=zz(sLt(n),56),160))for(i=zz(a,160),r=0;r<e.length;r++)e[r].og(i)}function vTt(t){var e;return 0!=(64&t.Db)?Qft(t):((e=new hN(Qft(t))).a+=" (height: ",m_(e,t.f),e.a+=", width: ",m_(e,t.g),e.a+=", x: ",m_(e,t.i),e.a+=", y: ",m_(e,t.j),e.a+=")",e.a)}function xTt(t){var e,n,i,r,a,o;for(e=new m4,r=0,a=(i=t).length;r<a;++r)if(null!=Jbt(e,o=vZ((n=i[r]).cd()),vZ(n.dd())))throw qw(new jv("duplicate key: "+o));this.b=(TX(),new Zd(e))}function kTt(t){var e,n,i,r,a;if(null==t)return YWt;for(a=new Lot(zWt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],d6(a,String.fromCharCode(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function _Tt(){_Tt=M,Rtt(),Iae=new OM(uJt,Mae=Fae),rft(1),Sae=new OM(lJt,rft(300)),rft(0),Lae=new OM(hJt,rft(0)),new Ow,Nae=new OM(fJt,dJt),new Ow,Dae=new OM(gJt,5),Pae=Fae,Oae=Bae}function ATt(t,e){var n,i,r,a;for(i=(1==e?Woe:Zoe).a.ec().Kc();i.Ob();)for(n=zz(i.Pb(),103),a=zz(l6(t.f.c,n),21).Kc();a.Ob();)r=zz(a.Pb(),46),Wz(t.b.b,zz(r.b,81)),Wz(t.b.a,zz(r.b,81).d)}function ETt(t,e){var n;if(null!=e&&!t.c.Yj().wj(e))throw n=aL(e,56)?zz(e,56).Tg().zb:t_(nut(e)),qw(new Rv(a6t+t.c.ne()+"'s type '"+t.c.Yj().ne()+"' does not permit a value of type '"+n+"'"))}function TTt(t,e,n){var i,r;for(r=new E2(t.b,0);r.b<r.d.gc();)CP(r.b<r.d.gc()),UI(vEt(i=zz(r.d.Xb(r.c=r.b++),70),(hWt(),mfe)))===UI(e)&&(DCt(i.n,mW(t.c.i),n),hW(r),Wz(e.b,i))}function CTt(t,e){if(e.a)switch(zz(vEt(e.b,(hWt(),vfe)),98).g){case 0:case 1:d_t(e);case 2:QA(new FH(null,new g1(e.d,16)),new Li),uDt(t.a,e)}else QA(new FH(null,new g1(e.d,16)),new Li)}function STt(t){var e,i;return i=n.Math.sqrt((null==t.k&&(t.k=Krt(t,new _a)),Uv(t.k)/(t.b*(null==t.g&&(t.g=Wrt(t,new ka)),Uv(t.g))))),e=pU(fot(n.Math.round(i))),e=n.Math.min(e,t.f)}function ITt(){wat(),LF.call(this),this.j=(kYt(),CIe),this.a=new Uk,new hy,this.f=(dit(2,OKt),new Q6(2)),this.e=(dit(4,OKt),new Q6(4)),this.g=(dit(4,OKt),new Q6(4)),this.b=new lC(this.e,this.g)}function MTt(t,e){var n;return!Hv(AB(vEt(e,(hWt(),Sfe))))&&(n=e.c.i,(t!=(Edt(),jfe)||n.k!=(cTt(),Tse))&&zz(vEt(n,(HZt(),xbe)),163)!=$fe)}function DTt(t,e){var n;return!Hv(AB(vEt(e,(hWt(),Sfe))))&&(n=e.d.i,(t!=(Edt(),zfe)||n.k!=(cTt(),Tse))&&zz(vEt(n,(HZt(),xbe)),163)!=qfe)}function OTt(t,e){var n,i,r,a,o,s,c;for(o=t.d,c=t.o,s=new YK(-o.b,-o.d,o.b+c.a+o.c,o.d+c.b+o.a),r=0,a=(i=e).length;r<a;++r)(n=i[r])&&ICt(s,n.i);o.b=-s.c,o.d=-s.d,o.c=s.b-o.b-c.a,o.a=s.a-o.d-c.b}function LTt(){LTt=M,iAe=new ES("CENTER_DISTANCE",0),rAe=new ES("CIRCLE_UNDERLAP",1),sAe=new ES("RECTANGLE_UNDERLAP",2),aAe=new ES("INVERTED_OVERLAP",3),oAe=new ES("MINIMUM_ROOT_DISTANCE",4)}function NTt(t){var e,n,i,r;if(jBt(),null==t)return null;for(i=t.length,e=P8(MNe,KKt,25,2*i,15,1),n=0;n<i;n++)(r=t[n])<0&&(r+=256),e[2*n]=VLe[r>>4],e[2*n+1]=VLe[15&r];return qpt(e,0,e.length)}function PTt(t){var e;switch(tK(),t.c.length){case 0:return qte;case 1:return Iq((e=zz(JSt(new Wd(t)),42)).cd(),e.dd());default:return new lv(zz(Vbt(t,P8(Hte,kKt,42,t.c.length,0,1)),165))}}function BTt(t){var e,n,i,r,a;for(e=new Lw,n=new Lw,p3(e,t),p3(n,t);n.b!=n.c;)for(a=new Wd(zz(pY(n),37).a);a.a<a.c.c.length;)(r=zz(t0(a),10)).e&&(p3(e,i=r.e),p3(n,i));return e}function FTt(t,e){switch(e.g){case 1:return Rz(t.j,(wat(),Pse));case 2:return Rz(t.j,(wat(),Lse));case 3:return Rz(t.j,(wat(),Fse));case 4:return Rz(t.j,(wat(),Rse));default:return TX(),TX(),lne}}function RTt(t,e){var n,i,r;n=uq(e,t.e),i=zz(FZ(t.g.f,n),19).a,r=t.a.c.length-1,0!=t.a.c.length&&zz(PH(t.a,r),287).c==i?(++zz(PH(t.a,r),287).a,++zz(PH(t.a,r),287).b):Wz(t.a,new UP(i))}function jTt(t,e,n){var i,r;return 0!=(i=CFt(t,e,n))?i:LP(e,(hWt(),gfe))&&LP(n,gfe)?((r=_O(zz(vEt(e,gfe),19).a,zz(vEt(n,gfe),19).a))<0?cRt(t,e,n):r>0&&cRt(t,n,e),r):MMt(t,e,n)}function $Tt(t,e,n){var i,r,a,o;if(0!=e.b){for(i=new VA,o=lwt(e,0);o.b!=o.d.c;)zrt(i,Bst(a=zz(d3(o),86))),(r=a.e).a=zz(vEt(a,(UHt(),bxe)),19).a,r.b=zz(vEt(a,wxe),19).a;$Tt(t,i,vat(n,i.b/t.a|0))}}function zTt(t,e){var n,i,r,a,o;if(t.e<=e)return t.g;if(G1(t,t.g,e))return t.g;for(a=t.r,i=t.g,o=t.r,r=(a-i)/2+i;i+1<a;)(n=oqt(t,r,!1)).b<=r&&n.a<=e?(o=r,a=r):i=r,r=(a-i)/2+i;return o}function qTt(t,e,n){DAt(n,"Recursive Graph Layout",hBt(t,e,!0)),yTt(e,Sst(Ux(tEe,1),HWt,527,0,[new Dh])),C8(e,(lWt(),yCe))||yTt(e,Sst(Ux(tEe,1),HWt,527,0,[new ws])),dZt(t,e,null,n),HTt(n)}function HTt(t){var e;if(null==t.p)throw qw(new $v("The task has not begun yet."));t.b||(t.k&&(OA(),e=odt(fot(Date.now()),XKt),t.q=1e-9*k2(rdt(e,t.o))),t.c<t.r&&Uit(t,t.r-t.c),t.b=!0)}function UTt(t){var e,n,i;for(Bq(i=new xy,new PS(t.j,t.k)),n=new DL((!t.a&&(t.a=new OL(PMe,t,5)),t.a));n.e!=n.i.gc();)Bq(i,new PS((e=zz(kwt(n),469)).a,e.b));return Bq(i,new PS(t.b,t.c)),i}function GTt(t,e,n,i,r){var a,o,s,c;if(r)for(c=((a=new lG(r.a.length)).b-a.a)*a.c<0?(nT(),ENe):new ZL(a);c.Ob();)s=P2(r,zz(c.Pb(),19).a),Fjt((o=new lX(t,e,n,i)).a,o.b,o.c,o.d,s)}function YTt(t,e){var n;if(UI(t)===UI(e))return!0;if(aL(e,21)){n=zz(e,21);try{return t.gc()==n.gc()&&t.Ic(n)}catch(t){if(aL(t=dst(t),173)||aL(t,205))return!1;throw qw(t)}}return!1}function ZTt(t,e){var i;Wz(t.d,e),i=e.rf(),t.c?(t.e.a=n.Math.max(t.e.a,i.a),t.e.b+=i.b,t.d.c.length>1&&(t.e.b+=t.a)):(t.e.a+=i.a,t.e.b=n.Math.max(t.e.b,i.b),t.d.c.length>1&&(t.e.a+=t.a))}function WTt(t){var e,n,i,r;switch(e=(r=t.i).b,i=r.j,n=r.g,r.a.g){case 0:n.a=(t.g.b.o.a-i.a)/2;break;case 1:n.a=e.d.n.a+e.d.a.a;break;case 2:n.a=e.d.n.a+e.d.a.a-i.a;break;case 3:n.b=e.d.n.b+e.d.a.b}}function KTt(t,e,n,i,r){if(i<e||r<n)throw qw(new jv("The highx must be bigger then lowx and the highy must be bigger then lowy"));return t.a<e?t.a=e:t.a>i&&(t.a=i),t.b<n?t.b=n:t.b>r&&(t.b=r),t}function XTt(t){if(aL(t,149))return TNt(zz(t,149));if(aL(t,229))return tgt(zz(t,229));if(aL(t,23))return hTt(zz(t,23));throw qw(new jv(Y6t+NEt(new Qv(Sst(Ux(Ote,1),HWt,1,5,[t])))))}function VTt(t,e,n,i,r){var a,o,s;for(a=!0,o=0;o<i;o++)a&=0==n[o];if(0==r)sqt(n,i,t,0,e),o=e;else{for(s=32-r,a&=n[o]<<s==0,o=0;o<e-1;o++)t[o]=n[o+i]>>>r|n[o+i+1]<<s;t[o]=n[o+i]>>>r,++o}return a}function QTt(t,e,n,i){var r,a;if(e.k==(cTt(),Cse))for(a=new cG(JL(fdt(e).a.Kc(),new l));bDt(a);)if((r=zz(Y5(a),17)).c.i.k==Cse&&t.c.a[r.c.i.c.p]==i&&t.c.a[e.c.p]==n)return!0;return!1}function JTt(t,e){var n,i,r,a;return e&=63,n=t.h&SXt,e<22?(a=n>>>e,r=t.m>>e|n<<22-e,i=t.l>>e|t.m<<22-e):e<44?(a=0,r=n>>>e-22,i=t.m>>e-22|t.h<<44-e):(a=0,r=0,i=n>>>e-44),EO(i&CXt,r&CXt,a&SXt)}function tCt(t,e,n,i){var r;this.b=i,this.e=t==(uit(),Dye),r=e[n],this.d=xH(ONe,[lKt,tQt],[177,25],16,[r.length,r.length],2),this.a=xH(DNe,[lKt,hXt],[48,25],15,[r.length,r.length],2),this.c=new Y_t(e,n)}function eCt(t){var e,n,i;for(t.k=new c1((kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])).length,t.j.c.length),i=new Wd(t.j);i.a<i.c.c.length;)e=(n=zz(t0(i),113)).d.j,JIt(t.k,e,n);t.e=rNt(bG(t.k))}function nCt(t,e){var n,i,r;AY(t.d,e),n=new ko,KW(t.c,e,n),n.f=Slt(e.c),n.a=Slt(e.d),n.d=(wPt(),(r=e.c.i.k)==(cTt(),Sse)||r==Ase),n.e=(i=e.d.i.k)==Sse||i==Ase,n.b=e.c.j==(kYt(),SIe),n.c=e.d.j==cIe}function iCt(t){var e,n,i,r,a;for(a=FWt,r=FWt,i=new Wd(kdt(t));i.a<i.c.c.length;)e=(n=zz(t0(i),213)).e.e-n.d.e,n.e==t&&e<r?r=e:e<a&&(a=e);return r==FWt&&(r=-1),a==FWt&&(a=-1),new rI(rft(r),rft(a))}function rCt(t,e){var i,r,a;return a=tJt,Uwt(),r=Jre,a=n.Math.abs(t.b),(i=n.Math.abs(e.f-t.b))<a&&(a=i,r=tae),(i=n.Math.abs(t.a))<a&&(a=i,r=eae),(i=n.Math.abs(e.g-t.a))<a&&(a=i,r=Qre),r}function aCt(t,e){var n,i,r;for(n=e.a.o.a,r=new Td(new u1(mW(e.a).b,e.c,e.f+1));r.b<r.d.gc();)if(CP(r.b<r.d.gc()),(i=zz(r.d.Xb(r.c=r.b++),29)).c.a>=n)return hCt(t,e,i.p),!0;return!1}function oCt(t){var e;return 0!=(64&t.Db)?vTt(t):(e=new fN(t6t),!t.a||cM(cM((e.a+=' "',e),t.a),'"'),cM(x_(cM(x_(cM(x_(cM(x_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function sCt(t,e,n){var i,r,a,o,s;for(s=sPt(t.e.Tg(),e),r=zz(t.g,119),i=0,o=0;o<t.i;++o)if(a=r[o],s.rl(a.ak())){if(i==n)return fBt(t,o),JE(),zz(e,66).Oj()?a:a.dd();++i}throw qw(new Dv(i7t+n+u8t+i))}function cCt(t){var e,n,i;if(2==(e=t.c)||7==e||1==e)return pWt(),pWt(),uNe;for(i=DZt(t),n=null;2!=(e=t.c)&&7!=e&&1!=e;)n||(pWt(),pWt(),nHt(n=new rO(1),i),i=n),nHt(n,DZt(t));return i}function uCt(t,e,n){return t<0||t>n?bSt(t,n,"start index"):e<0||e>n?bSt(e,n,"end index"):LFt("end index (%s) must not be less than start index (%s)",Sst(Ux(Ote,1),HWt,1,5,[rft(e),rft(t)]))}function lCt(t,e){var n,i,r,a;for(i=0,r=t.length;i<r;i++){a=t[i];try{a[1]?a[0].jm()&&(e=AU(e,a)):a[0].jm()}catch(t){if(!aL(t=dst(t),78))throw qw(t);n=t,Bx(),vV(aL(n,477)?zz(n,477).ae():n)}}return e}function hCt(t,e,i){var r,a;for(i!=e.c+e.b.gc()&&pqt(e.a,rot(e,i-e.c)),a=e.a.c.p,t.a[a]=n.Math.max(t.a[a],e.a.o.a),r=zz(vEt(e.a,(hWt(),Cfe)),15).Kc();r.Ob();)hct(zz(r.Pb(),70),eue,(lN(),!0))}function fCt(t,e){var i,r,a;a=UNt(e),hct(e,(hWt(),ffe),a),a&&(r=FWt,DV(t.f,a)&&(r=zz(HI(DV(t.f,a)),19).a),Hv(AB(vEt(i=zz(PH(e.g,0),17),Sfe)))||KW(t,a,rft(n.Math.min(zz(vEt(i,gfe),19).a,r))))}function dCt(t,e,n){var i,r,a,o;for(e.p=-1,o=Bgt(e,(sit(),Hme)).Kc();o.Ob();)for(r=new Wd(zz(o.Pb(),11).g);r.a<r.c.c.length;)e!=(a=(i=zz(t0(r),17)).d.i)&&(a.p<0?n.Fc(i):a.p>0&&dCt(t,a,n));e.p=0}function gCt(t){var e;this.c=new VA,this.f=t.e,this.e=t.d,this.i=t.g,this.d=t.c,this.b=t.b,this.k=t.j,this.a=t.a,t.i?this.j=t.i:this.j=new VR(e=zz(Kk(kEe),9),zz(TF(e,e.length),9),0),this.g=t.f}function pCt(t){var e,n,i,r;for(e=PZ(cM(new fN("Predicates."),"and"),40),n=!0,r=new Td(t);r.b<r.d.gc();)CP(r.b<r.d.gc()),i=r.d.Xb(r.c=r.b++),n||(e.a+=","),e.a+=""+i,n=!1;return(e.a+=")",e).a}function bCt(t,e,n){var i,r,a;if(!(n<=e+2))for(r=(n-e)/2|0,i=0;i<r;++i)f1(e+i,t.c.length),a=zz(t.c[e+i],11),a5(t,e+i,(f1(n-i-1,t.c.length),zz(t.c[n-i-1],11))),f1(n-i-1,t.c.length),t.c[n-i-1]=a}function wCt(t,e,n){var i,r,a,o,s,c,u;s=(a=t.d.p).e,c=a.r,t.g=new XR(c),i=(o=t.d.o.c.p)>0?s[o-1]:P8(Mse,s1t,10,0,0,1),r=s[o],u=o<s.length-1?s[o+1]:P8(Mse,s1t,10,0,0,1),e==n-1?sJ(t.g,r,u):sJ(t.g,i,r)}function mCt(t){var e;this.j=new Nw,this.f=new Fm,this.b=new VR(e=zz(Kk($Ie),9),zz(TF(e,e.length),9),0),this.d=P8(DNe,hXt,25,(kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])).length,15,1),this.g=t}function yCt(t,e){var n,i,r;if(0!=e.c.length){for(n=EEt(t,e),r=!1;!n;)AOt(t,e,!0),r=!0,n=EEt(t,e);r&&AOt(t,e,!1),i=Fst(e),t.b&&t.b.lg(i),t.a=Llt(t,(f1(0,e.c.length),zz(e.c[0],33))),yCt(t,i)}}function vCt(t,e){var n,i,r;if(i=iet(t.Tg(),e),(n=e-t.Ah())<0){if(!i)throw qw(new jv(u6t+e+l6t));if(!i.Ij())throw qw(new jv(a6t+i.ne()+o6t));(r=t.Yg(i))>=0?t.Bh(r):oIt(t,i)}else Uht(t,n,i)}function xCt(t){var e,n;if(n=null,e=!1,aL(t,204)&&(e=!0,n=zz(t,204).a),e||aL(t,258)&&(e=!0,n=""+zz(t,258).a),e||aL(t,483)&&(e=!0,n=""+zz(t,483).a),!e)throw qw(new Lv(H6t));return n}function kCt(t,e){var n,i;if(t.f){for(;e.Ob();)if(aL(i=(n=zz(e.Pb(),72)).ak(),99)&&0!=(zz(i,18).Bb&h6t)&&(!t.e||i.Gj()!=NMe||0!=i.aj())&&null!=n.dd())return e.Ub(),!0;return!1}return e.Ob()}function _Ct(t,e){var n,i;if(t.f){for(;e.Sb();)if(aL(i=(n=zz(e.Ub(),72)).ak(),99)&&0!=(zz(i,18).Bb&h6t)&&(!t.e||i.Gj()!=NMe||0!=i.aj())&&null!=n.dd())return e.Pb(),!0;return!1}return e.Sb()}function ACt(t,e,n){var i,r,a,o,s,c;for(c=sPt(t.e.Tg(),e),i=0,s=t.i,r=zz(t.g,119),o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())){if(n==i)return o;++i,s=o+1}if(n==i)return s;throw qw(new Dv(i7t+n+u8t+i))}function ECt(t,e){var i,r,a;if(0==t.f.c.length)return null;for(a=new dD,i=new Wd(t.f);i.a<i.c.c.length;)r=zz(t0(i),70).o,a.b=n.Math.max(a.b,r.a),a.a+=r.b;return a.a+=(t.f.c.length-1)*e,a}function TCt(t,e,n){var i,r,a;for(r=new cG(JL(hdt(n).a.Kc(),new l));bDt(r);)d5(i=zz(Y5(r),17))||!d5(i)&&i.c.i.c==i.d.i.c||(a=YLt(t,i,n,new sy)).c.length>1&&(e.c[e.c.length]=a)}function CCt(t){var e,n,i;for(zrt(n=new VA,t.o),i=new cy;0!=n.b;)KYt(t,e=zz(0==n.b?null:(CP(0!=n.b),Oet(n,n.a.a)),508),!0)&&Wz(i.a,e);for(;0!=i.a.c.length;)KYt(t,e=zz(nlt(i),508),!1)}function SCt(){SCt=M,xEe=new OS(hQt,0),gEe=new OS("BOOLEAN",1),mEe=new OS("INT",2),vEe=new OS("STRING",3),pEe=new OS("DOUBLE",4),bEe=new OS("ENUM",5),wEe=new OS("ENUMSET",6),yEe=new OS("OBJECT",7)}function ICt(t,e){var i,r,a,o,s;r=n.Math.min(t.c,e.c),o=n.Math.min(t.d,e.d),(a=n.Math.max(t.c+t.b,e.c+e.b))<r&&(i=r,r=a,a=i),(s=n.Math.max(t.d+t.a,e.d+e.a))<o&&(i=o,o=s,s=i),Pq(t,r,o,a-r,s-o)}function MCt(){MCt=M,QOe=Sst(Ux(Vee,1),lKt,2,6,[p9t,b9t,w9t,m9t,y9t,v9t,e8t]),VOe=Sst(Ux(Vee,1),lKt,2,6,[p9t,"empty",b9t,j7t,"elementOnly"]),tLe=Sst(Ux(Vee,1),lKt,2,6,[p9t,"preserve","replace",x9t]),JOe=new Tq}function DCt(t,e,n){var i,r,a;if(e!=n){i=e;do{YF(t,i.c),(r=i.e)&&(jP(t,(a=i.d).b,a.d),YF(t,r.n),i=mW(r))}while(r);i=n;do{ZF(t,i.c),(r=i.e)&&(zP(t,(a=i.d).b,a.d),ZF(t,r.n),i=mW(r))}while(r)}}function OCt(t,e,n,i){var r,a,o,s,c;if(i.f.c+i.g.c==0)for(s=0,c=(o=t.a[t.c]).length;s<c;++s)KW(i,a=o[s],new kat(t,a,n));return(r=zz(HI(DV(i.f,e)),663)).b=0,r.c=r.f,0==r.c||Ad(zz(PH(r.a,r.b),287)),r}function LCt(){LCt=M,Jue=new kC("MEDIAN_LAYER",0),ele=new kC("TAIL_LAYER",1),Que=new kC("HEAD_LAYER",2),tle=new kC("SPACE_EFFICIENT_LAYER",3),nle=new kC("WIDEST_LAYER",4),Vue=new kC("CENTER_LAYER",5)}function NCt(t){switch(t.g){case 0:case 1:case 2:return kYt(),uIe;case 3:case 4:case 5:return kYt(),TIe;case 6:case 7:case 8:return kYt(),SIe;case 9:case 10:case 11:return kYt(),cIe;default:return kYt(),CIe}}function PCt(t,e){var n;return 0!=t.c.length&&(n=npt((f1(0,t.c.length),zz(t.c[0],17)).c.i),zJ(),n==(gmt(),hme)||n==lme||c5(OK(new FH(null,new g1(t,16)),new $a),new ib(e)))}function BCt(t,e,n){var i,r,a;if(!t.b[e.g]){for(t.b[e.g]=!0,!(i=n)&&(i=new C6),Bq(i.b,e),a=t.a[e.g].Kc();a.Ob();)(r=zz(a.Pb(),188)).b!=e&&BCt(t,r.b,i),r.c!=e&&BCt(t,r.c,i),Bq(i.a,r);return i}return null}function FCt(){FCt=M,Xve=new fS("ROOT_PROC",0),Yve=new fS("FAN_PROC",1),Wve=new fS("NEIGHBORS_PROC",2),Zve=new fS("LEVEL_HEIGHT",3),Kve=new fS("NODE_POSITION_PROC",4),Gve=new fS("DETREEIFYING_PROC",5)}function RCt(t,e){if(aL(e,239))return GD(t,zz(e,33));if(aL(e,186))return YD(t,zz(e,118));if(aL(e,439))return UD(t,zz(e,202));throw qw(new jv(Y6t+NEt(new Qv(Sst(Ux(Ote,1),HWt,1,5,[e])))))}function jCt(t,e,n){var i,r;if(this.f=t,g6(n,r=(i=zz(FZ(t.b,e),283))?i.a:0),n>=(r/2|0))for(this.e=i?i.c:null,this.d=r;n++<r;)AJ(this);else for(this.c=i?i.b:null;n-- >0;)_J(this);this.b=e,this.a=null}function $Ct(t,e){var n,i;e.a?YNt(t,e):(!!(n=zz(xR(t.b,e.b),57))&&n==t.a[e.b.f]&&!!n.a&&n.a!=e.b.a&&n.c.Fc(e.b),!!(i=zz(vR(t.b,e.b),57))&&t.a[i.f]==e.b&&!!i.a&&i.a!=e.b.a&&e.b.c.Fc(i),EN(t.b,e.b))}function zCt(t,e){var n,i;if(n=zz(cK(t.b,e),124),zz(zz(l6(t.r,e),21),84).dc())return n.n.b=0,void(n.n.c=0);n.n.b=t.C.b,n.n.c=t.C.c,t.A.Hc((vpt(),jIe))&&xFt(t,e),i=Wwt(t,e),SBt(t,e)==(owt(),zSe)&&(i+=2*t.w),n.a.a=i}function qCt(t,e){var n,i;if(n=zz(cK(t.b,e),124),zz(zz(l6(t.r,e),21),84).dc())return n.n.d=0,void(n.n.a=0);n.n.d=t.C.d,n.n.a=t.C.a,t.A.Hc((vpt(),jIe))&&kFt(t,e),i=Kwt(t,e),SBt(t,e)==(owt(),zSe)&&(i+=2*t.w),n.a.b=i}function HCt(t,e){var n,i,r,a;for(a=new Nw,i=new Wd(e);i.a<i.c.c.length;)Wz(a,new FT(n=zz(t0(i),65),!0)),Wz(a,new FT(n,!1));yv((r=new lV(t)).a.a),n2(a,t.b,new Qv(Sst(Ux(cie,1),HWt,679,0,[r])))}function UCt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g;return s=t.a,h=t.b,c=e.a,f=e.b,u=n.a,d=n.b,new PS(((a=s*f-h*c)*(u-(l=i.a))-(o=u*(g=i.b)-d*l)*(s-c))/(r=(s-c)*(d-g)-(h-f)*(u-l)),(a*(d-g)-o*(h-f))/r)}function GCt(t,e){var n,i,r;if(!t.d[e.p]){for(t.d[e.p]=!0,t.a[e.p]=!0,i=new cG(JL(ddt(e).a.Kc(),new l));bDt(i);)d5(n=zz(Y5(i),17))||(r=n.d.i,t.a[r.p]?Wz(t.b,n):GCt(t,r));t.a[e.p]=!1}}function YCt(t,e,n){var i;switch(i=0,zz(vEt(e,(HZt(),xbe)),163).g){case 2:i=2*-n+t.a,++t.a;break;case 1:i=-n;break;case 3:i=n;break;case 4:i=2*n+t.b,++t.b}return LP(e,(hWt(),gfe))&&(i+=zz(vEt(e,gfe),19).a),i}function ZCt(t,e,n){var i,r,a;for(n.zc(e,t),Wz(t.n,e),a=t.p.eg(e),e.j==t.p.fg()?Ddt(t.e,a):Ddt(t.j,a),rZ(t),r=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[new qg(e),new Ug(e)])));bDt(r);)i=zz(Y5(r),11),n._b(i)||ZCt(t,i,n)}function WCt(t){var e,n;return zz(tOt(t,(lWt(),RTe)),21).Hc((vpt(),BIe))?(n=zz(tOt(t,HTe),21),e=new gD(zz(tOt(t,zTe),8)),n.Hc((ejt(),UIe))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e):new Uk}function KCt(t){var e,n,i;if(!t.b){for(i=new Sc,n=new oP(Rzt(t));n.e!=n.i.gc();)0!=((e=zz(_wt(n),18)).Bb&h6t)&&h7(i,e);olt(i),t.b=new NM((zz(Ket(XX((XZ(),eOe).o),8),18),i.i),i.g),C5(t).b&=-9}return t.b}function XCt(t,e){var n,i,r,a,o,s;o=zz(Ayt(bG(e.k),P8($Ie,QJt,61,2,0,1)),122),tvt(t,s=e.g,n=c3(e,o[0]),i=s3(e,o[1]))<=tvt(t,s,r=c3(e,o[1]),a=s3(e,o[0]))?(e.a=n,e.c=i):(e.a=r,e.c=a)}function VCt(t,e,n){var i,r,a;for(DAt(n,"Processor set neighbors",1),t.a=0==e.b.b?1:e.b.b,r=null,i=lwt(e.b,0);!r&&i.b!=i.d.c;)Hv(AB(vEt(a=zz(d3(i),86),(UHt(),pxe))))&&(r=a);r&&NBt(t,new db(r),n),HTt(n)}function QCt(t){var e,n,i,r;return Rqt(),e=-1==(i=UM(t,QAt(35)))?t:t.substr(0,i),n=-1==i?null:t.substr(i+1),(r=K3(_De,e))?null!=n&&(r=Iut(r,(xW(n),n))):(r=KZt(e),o5(_De,e,r),null!=n&&(r=Iut(r,n))),r}function JCt(t){var e,n,i,r,a,o,s;if(TX(),aL(t,54))for(a=0,r=t.gc()-1;a<r;++a,--r)e=t.Xb(a),t._c(a,t.Xb(r)),t._c(r,e);else for(n=t.Yc(),o=t.Zc(t.gc());n.Tb()<o.Vb();)i=n.Pb(),s=o.Ub(),n.Wb(s),o.Wb(i)}function tSt(t,e){var n,i,r;DAt(e,"End label pre-processing",1),n=Uv(EB(vEt(t,(HZt(),kwe)))),i=Uv(EB(vEt(t,Twe))),r=bD(zz(vEt(t,Ype),103)),QA(gtt(new FH(null,new g1(t.b,16)),new ln),new Bj(n,i,r)),HTt(e)}function eSt(t,e){var n,i,r,a,o,s;for(s=0,p3(a=new Lw,e);a.b!=a.c;)for(s+=lvt((o=zz(pY(a),214)).d,o.e),r=new Wd(o.b);r.a<r.c.c.length;)i=zz(t0(r),37),(n=zz(PH(t.b,i.p),214)).s||(s+=eSt(t,n));return s}function nSt(t,e,i){var r,a;$ot(this),e==(pQ(),Lve)?AY(this.r,t.c):AY(this.w,t.c),AY(i==Lve?this.r:this.w,t.d),nCt(this,t),WEt(this,r=Slt(t.c),a=Slt(t.d),a),this.o=(wPt(),n.Math.abs(r-a)<.2)}function iSt(t,e,n){var i,r,a,o,s;if(null!=(o=zz(xot(t.a,8),1936)))for(r=0,a=o.length;r<a;++r)null.jm();i=n,0==(1&t.a.Db)&&(s=new sW(t,n,e),i.ui(s)),aL(i,672)?zz(i,672).wi(t.a):i.ti()==t.a&&i.vi(null)}function rSt(){var t;return JLe?zz(LOt((WE(),GDe),C9t),1945):(lYt(),t=zz(aL(TQ((WE(),GDe),C9t),586)?TQ(GDe,C9t):new GW,586),JLe=!0,wZt(t),mWt(t),KW((KE(),JDe),t,new Ru),Evt(t),yJ(GDe,C9t,t),t)}function aSt(t,e,n,i){var r;return(r=YAt(t,n,Sst(Ux(Vee,1),lKt,2,6,[gXt,pXt,bXt,wXt,mXt,yXt,vXt]),e))<0&&(r=YAt(t,n,Sst(Ux(Vee,1),lKt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(r<0||(i.d=r,0))}function oSt(t,e,n,i){var r;return(r=YAt(t,n,Sst(Ux(Vee,1),lKt,2,6,[gXt,pXt,bXt,wXt,mXt,yXt,vXt]),e))<0&&(r=YAt(t,n,Sst(Ux(Vee,1),lKt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(r<0||(i.d=r,0))}function sSt(t){var e,n,i;for($Ot(t),i=new Nw,n=new Wd(t.a.a.b);n.a<n.c.c.length;)Wz(i,new hC(e=zz(t0(n),81),!0)),Wz(i,new hC(e,!1));eyt(t.c),i2(i,t.b,new Qv(Sst(Ux(Qoe,1),HWt,369,0,[t.c]))),yDt(t)}function cSt(t){var e,n,i,r;for(n=new Pw,r=new Wd(t.d);r.a<r.c.c.length;)i=zz(t0(r),181),e=zz(i.We((hWt(),Yhe)),17),DV(n.f,e)||KW(n,e,new AX(e)),Wz(zz(HI(DV(n.f,e)),456).b,i);return new ej(new Md(n))}function uSt(t,e){var n,i,r,a,o;for(i=new p1(t.j.c.length),n=null,a=new Wd(t.j);a.a<a.c.c.length;)(r=zz(t0(a),11)).j!=n&&(i.b==i.c||zOt(i,n,e),c4(i),n=r.j),(o=vDt(r))&&g3(i,o);i.b==i.c||zOt(i,n,e)}function lSt(t,e){var n,i;for(i=new E2(t.b,0);i.b<i.d.gc();)CP(i.b<i.d.gc()),n=zz(i.d.Xb(i.c=i.b++),70),zz(vEt(n,(HZt(),Vpe)),272)==(Ret(),YCe)&&(hW(i),Wz(e.b,n),LP(n,(hWt(),Yhe))||hct(n,Yhe,t))}function hSt(t){var e,i,r;for(e=$3(new cG(JL(ddt(t).a.Kc(),new l))),i=new cG(JL(fdt(t).a.Kc(),new l));bDt(i);)r=$3(new cG(JL(ddt(zz(Y5(i),17).c.i).a.Kc(),new l))),e=n.Math.max(e,r);return rft(e)}function fSt(t,e,n){var i,r,a,o;for(DAt(n,"Processor arrange node",1),r=null,a=new VA,i=lwt(e.b,0);!r&&i.b!=i.d.c;)Hv(AB(vEt(o=zz(d3(i),86),(UHt(),pxe))))&&(r=o);r5(a,r,a.c.b,a.c),QGt(t,a,vat(n,1)),HTt(n)}function dSt(t,e,n){var i,r,a;i=zz(tOt(t,(lWt(),lTe)),21),r=0,a=0,e.a>n.a&&(i.Hc((p_t(),WEe))?r=(e.a-n.a)/2:i.Hc(XEe)&&(r=e.a-n.a)),e.b>n.b&&(i.Hc((p_t(),QEe))?a=(e.b-n.b)/2:i.Hc(VEe)&&(a=e.b-n.b)),dEt(t,r,a)}function gSt(t,e,n,i,r,a,o,s,c,u,l,h,f){aL(t.Cb,88)&&OSt(C5(zz(t.Cb,88)),4),Prt(t,n),t.f=o,Lft(t,s),Pft(t,c),Oft(t,u),Nft(t,l),eft(t,h),Uft(t,f),Qht(t,!0),Nnt(t,r),t.ok(a),Mlt(t,e),null!=i&&(t.i=null,srt(t,i))}function pSt(t){var e,n;if(t.f){for(;t.n>0;){if(aL(n=(e=zz(t.k.Xb(t.n-1),72)).ak(),99)&&0!=(zz(n,18).Bb&h6t)&&(!t.e||n.Gj()!=NMe||0!=n.aj())&&null!=e.dd())return!0;--t.n}return!1}return t.n>0}function bSt(t,e,n){if(t<0)return LFt(qWt,Sst(Ux(Ote,1),HWt,1,5,[n,rft(t)]));if(e<0)throw qw(new jv(UWt+e));return LFt("%s (%s) must not be greater than size (%s)",Sst(Ux(Ote,1),HWt,1,5,[n,rft(t),rft(e)]))}function wSt(t,e,n,i,r,a){var o,s,c;if(i-n<7)Ldt(e,n,i,a);else if(wSt(e,t,s=n+r,c=s+((o=i+r)-s>>1),-r,a),wSt(e,t,c,o,-r,a),a.ue(t[c-1],t[c])<=0)for(;n<i;)OZ(e,n++,t[s++]);else Ght(t,s,c,o,e,n,i,a)}function mSt(t,e){var n,i,r;for(r=new Nw,i=new Wd(t.c.a.b);i.a<i.c.c.length;)n=zz(t0(i),57),e.Lb(n)&&(Wz(r,new MT(n,!0)),Wz(r,new MT(n,!1)));tyt(t.e),n2(r,t.d,new Qv(Sst(Ux(cie,1),HWt,679,0,[t.e])))}function ySt(t,e){var n,i,r,a,o,s,c;for(c=e.d,r=e.b.j,s=new Wd(c);s.a<s.c.c.length;)for(o=zz(t0(s),101),a=P8(ONe,tQt,25,r.c.length,16,1),KW(t.b,o,a),n=o.a.d.p-1,i=o.c.d.p;n!=i;)a[n=(n+1)%r.c.length]=!0}function vSt(t,e){for(t.r=new zot(t.p),Qf(t.r,t),zrt(t.r.j,t.j),vX(t.j),Bq(t.j,e),Bq(t.r.e,e),rZ(t),rZ(t.r);0!=t.f.c.length;)UO(zz(PH(t.f,0),129));for(;0!=t.k.c.length;)UO(zz(PH(t.k,0),129));return t.r}function xSt(t,e,n){var i,r,a;if(r=iet(t.Tg(),e),(i=e-t.Ah())<0){if(!r)throw qw(new jv(u6t+e+l6t));if(!r.Ij())throw qw(new jv(a6t+r.ne()+o6t));(a=t.Yg(r))>=0?t.sh(a,n):ELt(t,r,n)}else Ndt(t,i,r,n)}function kSt(t){var e,n,i,r;if(n=zz(t,49).qh())try{if(i=null,(e=LOt((WE(),GDe),Tjt($dt(n))))&&(r=e.rh())&&(i=r.Wk(Zv(n.e))),i&&i!=t)return kSt(i)}catch(t){if(!aL(t=dst(t),60))throw qw(t)}return t}function _St(t,e,n){var i,r,a,o;if(o=null==e?0:t.b.se(e),0==(r=null==(i=t.a.get(o))?new Array:i).length)t.a.set(o,r);else if(a=hlt(t,e,r))return a.ed(n);return OZ(r,r.length,new CT(e,n)),++t.c,cV(t.b),null}function ASt(t,e){var n;return l2(t.a),SY(t.a,(Srt(),Xxe),Xxe),SY(t.a,Vxe,Vxe),pH(n=new z2,Vxe,(Idt(),nke)),UI(tOt(e,(Zvt(),Tke)))!==UI((Hut(),uke))&&pH(n,Vxe,tke),pH(n,Vxe,eke),oD(t.a,n),LHt(t.a,e)}function ESt(t){if(!t)return fx(),hee;var e=t.valueOf?t.valueOf():t;if(e!==t){var i=fee[typeof e];return i?i(e):klt(typeof e)}return t instanceof Array||t instanceof n.Array?new Af(t):new Cf(t)}function TSt(t,e,i){var r,a,o;switch(o=t.o,(a=(r=zz(cK(t.p,i),244)).i).b=CIt(r),a.a=TIt(r),a.b=n.Math.max(a.b,o.a),a.b>o.a&&!e&&(a.b=o.a),a.c=-(a.b-o.a)/2,i.g){case 1:a.d=-a.a;break;case 3:a.d=o.b}$$t(r),G$t(r)}function CSt(t,e,i){var r,a,o;switch(o=t.o,(a=(r=zz(cK(t.p,i),244)).i).b=CIt(r),a.a=TIt(r),a.a=n.Math.max(a.a,o.b),a.a>o.b&&!e&&(a.a=o.b),a.d=-(a.a-o.b)/2,i.g){case 4:a.c=-a.b;break;case 2:a.c=o.a}$$t(r),G$t(r)}function SSt(t,e){var n,i,r,a,o;if(!e.dc())if(r=zz(e.Xb(0),128),1!=e.gc())for(n=1;n<e.gc();)!r.j&&r.o||(a=yvt(e,n))&&(i=zz(a.a,19).a,kPt(t,r,o=zz(a.b,128),n,i,e),n=i+1,r=o);else kPt(t,r,r,1,0,e)}function ISt(t){var e,n,i,r;for(yO(r=new ej(t.d),new Gr),kBt(),e=Sst(Ux(ile,1),LKt,270,0,[zue,Uue,$ue,Zue,Hue,que,Yue,Gue]),n=0,i=new Wd(r);i.a<i.c.c.length;)IMt(zz(t0(i),101),e[n%e.length]),++n}function MSt(t,e){var n,i,r,a;if(_Bt(),e.b<2)return!1;for(i=n=zz(d3(a=lwt(e,0)),8);a.b!=a.d.c;){if(r=zz(d3(a),8),!Fat(t,i)||!Fat(t,r))return!1;i=r}return!(!Fat(t,i)||!Fat(t,n))}function DSt(t,e){var n,i,r,a,o;return n=Rnt(o=t,"x"),ttt(new Hb(e).a,n),i=Rnt(o,"y"),ett(new Ub(e).a,i),r=Rnt(o,I6t),ntt(new Gb(e).a,r),a=Rnt(o,S6t),itt(new Yb(e).a,a),a}function OSt(t,e){bFt(t,e),0!=(1&t.b)&&(t.a.a=null),0!=(2&t.b)&&(t.a.f=null),0!=(4&t.b)&&(t.a.g=null,t.a.i=null),0!=(16&t.b)&&(t.a.d=null,t.a.e=null),0!=(8&t.b)&&(t.a.b=null),0!=(32&t.b)&&(t.a.j=null,t.a.c=null)}function LSt(t,e){var n,i;if(i=0,e.length>0)try{i=djt(e,$Kt,FWt)}catch(t){throw aL(t=dst(t),127)?qw(new L9(t)):qw(t)}return!t.a&&(t.a=new Tw(t)),i<(n=t.a).i&&i>=0?zz(Ket(n,i),56):null}function NSt(t,e){if(t<0)return LFt(qWt,Sst(Ux(Ote,1),HWt,1,5,["index",rft(t)]));if(e<0)throw qw(new jv(UWt+e));return LFt("%s (%s) must be less than size (%s)",Sst(Ux(Ote,1),HWt,1,5,["index",rft(t),rft(e)]))}function PSt(t){var e,n,i,r,a;if(null==t)return YWt;for(a=new Lot(zWt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?cM(a.a,a.b):a.a=new fN(a.d),oM(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function BSt(t){var e,n,i,r,a;if(null==t)return YWt;for(a=new Lot(zWt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?cM(a.a,a.b):a.a=new fN(a.d),oM(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function FSt(t){var e,n,i,r,a;if(null==t)return YWt;for(a=new Lot(zWt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?cM(a.a,a.b):a.a=new fN(a.d),oM(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function RSt(t){var e,n,i,r,a;if(null==t)return YWt;for(a=new Lot(zWt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?cM(a.a,a.b):a.a=new fN(a.d),oM(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function jSt(t,e){var n,i,r,a,o,s;for(n=t.b.c.length,r=PH(t.b,e);2*e+1<n&&(s=a=2*e+1,(o=a+1)<n&&t.a.ue(PH(t.b,o),PH(t.b,a))<0&&(s=o),i=s,!(t.a.ue(r,PH(t.b,i))<0));)a5(t.b,e,PH(t.b,i)),e=i;a5(t.b,e,r)}function $St(t,e,i,r,a,o){var s,c,u,l,h;for(UI(t)===UI(i)&&(t=t.slice(e,e+a),e=0),u=i,c=e,l=e+a;c<l;)a=(s=n.Math.min(c+1e4,l))-c,(h=t.slice(c,s)).splice(0,0,r,o?a:0),Array.prototype.splice.apply(u,h),c=s,r+=a}function zSt(t,e,n){var i,r;return i=n.d,r=n.e,t.g[i.d]<=t.i[e.d]&&t.i[e.d]<=t.i[i.d]&&t.g[r.d]<=t.i[e.d]&&t.i[e.d]<=t.i[r.d]?!(t.i[i.d]<t.i[r.d]):t.i[i.d]<t.i[r.d]}function qSt(t){var e,n,i,r,a,o,s;if((i=t.a.c.length)>0)for(o=t.c.d,r=xL(ZF(new PS((s=t.d.d).a,s.b),o),1/(i+1)),a=new PS(o.a,o.b),n=new Wd(t.a);n.a<n.c.c.length;)(e=zz(t0(n),559)).d.a=a.a,e.d.b=a.b,YF(a,r)}function HSt(t,e,i){var r,a,o,s,c,u;for(u=RXt,o=new Wd(GLt(t.b));o.a<o.c.c.length;)for(a=zz(t0(o),168),c=new Wd(GLt(e.b));c.a<c.c.c.length;)s=zz(t0(c),168),r=Ist(a.a,a.b,s.a,s.b,i),u=n.Math.min(u,r);return u}function USt(t,e){if(!e)throw qw(new bm);if(t.j=e,!t.d)switch(t.j.g){case 1:t.a.a=t.o.a/2,t.a.b=0;break;case 2:t.a.a=t.o.a,t.a.b=t.o.b/2;break;case 3:t.a.a=t.o.a/2,t.a.b=t.o.b;break;case 4:t.a.a=0,t.a.b=t.o.b/2}}function GSt(t,e){var i,r;return aL(e.g,10)&&zz(e.g,10).k==(cTt(),Ese)?RXt:h3(e)?n.Math.max(0,t.b/2-.5):(i=h2(e))?(r=Uv(EB(ipt(i,(HZt(),Mwe)))),n.Math.max(0,r/2-.5)):RXt}function YSt(t,e){var i,r;return aL(e.g,10)&&zz(e.g,10).k==(cTt(),Ese)?RXt:h3(e)?n.Math.max(0,t.b/2-.5):(i=h2(e))?(r=Uv(EB(ipt(i,(HZt(),Mwe)))),n.Math.max(0,r/2-.5)):RXt}function ZSt(t){var e,n,i,r;for(r=Nht(t.d,t.e).Kc();r.Ob();)for(i=zz(r.Pb(),11),n=new Wd(t.e==(kYt(),SIe)?i.e:i.g);n.a<n.c.c.length;)d5(e=zz(t0(n),17))||e.c.i.c==e.d.i.c||(RTt(t,e),++t.f,++t.c)}function WSt(t,e){var n,i;if(e.dc())return TX(),TX(),lne;for(Wz(i=new Nw,rft($Kt)),n=1;n<t.f;++n)null==t.a&&pFt(t),t.a[n]&&Wz(i,rft(n));return 1==i.c.length?(TX(),TX(),lne):(Wz(i,rft(FWt)),bzt(e,i))}function KSt(t,e){var n,i,r,a,o,s;n=oxt(e,s=e.c.i.k!=(cTt(),Sse)?e.d:e.c).i,r=zz(FZ(t.k,s),121),i=t.i[n.p].a,DR(s.i)<(n.c?_9(n.c.a,n,0):-1)?(a=r,o=i):(a=i,o=r),ZNt(oE(aE(sE(rE(new qm,0),4),a),o))}function XSt(t,e,n){var i,r,a;if(n)for(r=((i=new lG(n.a.length)).b-i.a)*i.c<0?(nT(),ENe):new ZL(i);r.Ob();)(a=Oyt(t,kIt(ptt(n,zz(r.Pb(),19).a))))&&(!e.b&&(e.b=new lR(RMe,e,4,7)),h7(e.b,a))}function VSt(t,e,n){var i,r,a;if(n)for(r=((i=new lG(n.a.length)).b-i.a)*i.c<0?(nT(),ENe):new ZL(i);r.Ob();)(a=Oyt(t,kIt(ptt(n,zz(r.Pb(),19).a))))&&(!e.c&&(e.c=new lR(RMe,e,5,8)),h7(e.c,a))}function QSt(t,e,n){var i,r;i=e.a&t.f,e.b=t.b[i],t.b[i]=e,r=e.f&t.f,e.d=t.c[r],t.c[r]=e,n?(e.e=n.e,e.e?e.e.c=e:t.a=e,e.c=n.c,e.c?e.c.e=e:t.e=e):(e.e=t.e,e.c=null,t.e?t.e.c=e:t.a=e,t.e=e),++t.i,++t.g}function JSt(t){var e,n,i;if(e=t.Pb(),!t.Ob())return e;for(i=sM(cM(new Sx,"expected one element but was: <"),e),n=0;n<4&&t.Ob();n++)sM((i.a+=zWt,i),t.Pb());throw t.Ob()&&(i.a+=", ..."),i.a+=">",qw(new jv(i.a))}function tIt(t,e){var n;e.d?e.d.b=e.b:t.a=e.b,e.b?e.b.d=e.d:t.e=e.d,e.e||e.c?(--(n=zz(FZ(t.b,e.a),283)).a,e.e?e.e.c=e.c:n.b=e.c,e.c?e.c.e=e.e:n.c=e.e):((n=zz(m6(t.b,e.a),283)).a=0,++t.c),--t.d}function eIt(t){var e,n;return n=-t.a,e=Sst(Ux(MNe,1),KKt,25,15,[43,48,48,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&VKt,e[2]=e[2]+(n/60|0)%10&VKt,e[3]=e[3]+(n%60/10|0)&VKt,e[4]=e[4]+n%10&VKt,qpt(e,0,e.length)}function nIt(t,e,n){var i,r;for(i=e.d,r=n.d;i.a-r.a==0&&i.b-r.b==0;)i.a+=HOt(t,26)*aVt+HOt(t,27)*oVt-.5,i.b+=HOt(t,26)*aVt+HOt(t,27)*oVt-.5,r.a+=HOt(t,26)*aVt+HOt(t,27)*oVt-.5,r.b+=HOt(t,26)*aVt+HOt(t,27)*oVt-.5}function iIt(t){var e,n,i,r;for(t.g=new Hdt(zz(vZ($Ie),290)),i=0,kYt(),n=uIe,e=0;e<t.j.c.length;e++)(r=zz(PH(t.j,e),11)).j!=n&&(i!=e&&yU(t.g,n,new rI(rft(i),rft(e))),n=r.j,i=e);yU(t.g,n,new rI(rft(i),rft(e)))}function rIt(t){var e,n,i,r,a;for(n=0,e=new Wd(t.b);e.a<e.c.c.length;)for(r=new Wd(zz(t0(e),29).a);r.a<r.c.c.length;)for((i=zz(t0(r),10)).p=n++,a=new Wd(i.j);a.a<a.c.c.length;)zz(t0(a),11).p=n++}function aIt(t,e,n,i,r){var a,o,s,c;if(e)for(o=e.Kc();o.Ob();)for(c=oFt(zz(o.Pb(),10),(sit(),Hme),n).Kc();c.Ob();)s=zz(c.Pb(),11),(a=zz(HI(DV(r.f,s)),112))||(a=new zot(t.d),i.c[i.c.length]=a,ZCt(a,s,r))}function oIt(t,e){var n,i,r;if(!(r=zHt((MCt(),JOe),t.Tg(),e)))throw qw(new jv(a6t+e.ne()+o6t));JE(),zz(r,66).Oj()||(r=J1(z9(JOe,r))),i=zz((n=t.Yg(r))>=0?t._g(n,!0,!0):oMt(t,r,!0),153),zz(i,215).ol(e)}function sIt(t){var e,i;return t>-0x800000000000&&t<0x800000000000?0==t?0:((e=t<0)&&(t=-t),i=SQ(n.Math.floor(n.Math.log(t)/.6931471805599453)),(!e||t!=n.Math.pow(2,i))&&++i,i):Xot(fot(t))}function cIt(t){var e,n,i,r,a,o,s;for(a=new hD,n=new Wd(t);n.a<n.c.c.length;)o=(e=zz(t0(n),129)).a,s=e.b,a.a._b(o)||a.a._b(s)||(r=o,i=s,o.e.b+o.j.b>2&&s.e.b+s.j.b<=2&&(r=s,i=o),a.a.zc(r,a),r.q=i);return a}function uIt(t,e){var n,i,r;return Uot(i=new Lmt(t),e),hct(i,(hWt(),Khe),e),hct(i,(HZt(),nwe),(V_t(),ZSe)),hct(i,xpe,(pmt(),MEe)),zf(i,(cTt(),Ese)),SJ(n=new ITt,i),USt(n,(kYt(),SIe)),SJ(r=new ITt,i),USt(r,cIe),i}function lIt(t){switch(t.g){case 0:return new Nv((uit(),Mye));case 1:return new gh;case 2:return new xh;default:throw qw(new jv("No implementation is available for the crossing minimizer "+(null!=t.f?t.f:""+t.g)))}}function hIt(t,e){var n,i,r,a;for(t.c[e.p]=!0,Wz(t.a,e),a=new Wd(e.j);a.a<a.c.c.length;)for(n=new y6((r=zz(t0(a),11)).b);vO(n.a)||vO(n.b);)i=ebt(r,zz(vO(n.a)?t0(n.a):t0(n.b),17)).i,t.c[i.p]||hIt(t,i)}function fIt(t){var e,i,r,a,o,s,c;for(s=0,i=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));i.e!=i.i.gc();)c=(e=zz(kwt(i),33)).g,a=e.f,r=n.Math.sqrt(c*c+a*a),s=n.Math.max(r,s),o=fIt(e),s=n.Math.max(o,s);return s}function dIt(){dIt=M,rIe=new ZS("OUTSIDE",0),nIe=new ZS("INSIDE",1),iIe=new ZS("NEXT_TO_PORT_IF_POSSIBLE",2),eIe=new ZS("ALWAYS_SAME_SIDE",3),tIe=new ZS("ALWAYS_OTHER_SAME_SIDE",4),aIe=new ZS("SPACE_EFFICIENT",5)}function gIt(t,e,n){var i,r,a,o;return Lit(i=R2(t,(e_(),r=new ky,!!n&&eNt(r,n),r),e),F2(e,U6t)),CAt(e,i),uOt(e,i),DSt(e,i),a=N2(e,"ports"),SLt((o=new wI(t,i)).a,o.b,a),Bct(t,e,i),sst(t,e,i),i}function pIt(t){var e,n;return n=-t.a,e=Sst(Ux(MNe,1),KKt,25,15,[43,48,48,58,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&VKt,e[2]=e[2]+(n/60|0)%10&VKt,e[4]=e[4]+(n%60/10|0)&VKt,e[5]=e[5]+n%10&VKt,qpt(e,0,e.length)}function bIt(t){var e;return e=Sst(Ux(MNe,1),KKt,25,15,[71,77,84,45,48,48,58,48,48]),t<=0&&(e[3]=43,t=-t),e[4]=e[4]+((t/60|0)/10|0)&VKt,e[5]=e[5]+(t/60|0)%10&VKt,e[7]=e[7]+(t%60/10|0)&VKt,e[8]=e[8]+t%10&VKt,qpt(e,0,e.length)}function wIt(t){var e,n,i,r,a;if(null==t)return YWt;for(a=new Lot(zWt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?cM(a.a,a.b):a.a=new fN(a.d),oM(a.a,""+mG(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function mIt(t,e){var i,r,a;for(a=FWt,r=new Wd(kdt(e));r.a<r.c.c.length;)(i=zz(t0(r),213)).f&&!t.c[i.c]&&(t.c[i.c]=!0,a=n.Math.min(a,mIt(t,Pdt(i,e))));return t.i[e.d]=t.j,t.g[e.d]=n.Math.min(a,t.j++),t.g[e.d]}function yIt(t,e){var n,i,r;for(r=zz(zz(l6(t.r,e),21),84).Kc();r.Ob();)(i=zz(r.Pb(),111)).e.b=(n=i.b).Xe((lWt(),oCe))?n.Hf()==(kYt(),uIe)?-n.rf().b-Uv(EB(n.We(oCe))):Uv(EB(n.We(oCe))):n.Hf()==(kYt(),uIe)?-n.rf().b:0}function vIt(t){var e,n,i,r,a,o,s;for(n=XD(t.e),a=xL(zP(zO(KD(t.e)),t.d*t.a,t.c*t.b),-.5),e=n.a-a.a,r=n.b-a.b,s=0;s<t.c;s++){for(i=e,o=0;o<t.d;o++)Kdt(t.e,new YK(i,r,t.a,t.b))&&zFt(t,o,s,!1,!0),i+=t.a;r+=t.b}}function xIt(t){var e,n,i;if(Hv(AB(tOt(t,(lWt(),TTe))))){for(i=new Nw,n=new cG(JL(bLt(t).a.Kc(),new l));bDt(n);)VIt(e=zz(Y5(n),79))&&Hv(AB(tOt(e,CTe)))&&(i.c[i.c.length]=e);return i}return TX(),TX(),lne}function kIt(t){var e;if(e=!1,aL(t,204))return e=!0,zz(t,204).a;if(!e&&aL(t,258)&&zz(t,258).a%1==0)return e=!0,rft(XM(zz(t,258).a));throw qw(new nx("Id must be a string or an integer: '"+t+"'."))}function _It(t,e){var n,i,r,a,o,s;for(a=null,r=new rY((!t.a&&(t.a=new Tw(t)),t.a));gMt(r);)if(Qzt(o=(n=zz(sLt(r),56)).Tg()),null!=(i=(s=o.o)&&n.mh(s)?wR(cst(s),n.ah(s)):null)&&yR(i,e)){a=n;break}return a}function AIt(t,e,n){var i,r,a,o,s;if(dit(n,"occurrences"),0==n)return(s=zz(dht(MX(t.a),e),14))?s.gc():0;if(!(o=zz(dht(MX(t.a),e),14)))return 0;if(n>=(a=o.gc()))o.$b();else for(r=o.Kc(),i=0;i<n;i++)r.Pb(),r.Qb();return a}function EIt(t,e,n){var i,r,a;return dit(n,"oldCount"),dit(0,"newCount"),((i=zz(dht(MX(t.a),e),14))?i.gc():0)==n&&(dit(0,"count"),(a=-((r=zz(dht(MX(t.a),e),14))?r.gc():0))>0?gx():a<0&&AIt(t,e,-a),!0)}function TIt(t){var e,n,i,r,a,o;if(o=0,0==t.b){for(e=0,r=0,a=(i=Wmt(t,!0)).length;r<a;++r)(n=i[r])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1))}else o=Rx(iat(LK(DK(LY(t.a),new At),new Et)));return o>0?o+t.n.d+t.n.a:0}function CIt(t){var e,n,i,r,a,o;if(o=0,0==t.b)o=Rx(iat(LK(DK(LY(t.a),new kt),new _t)));else{for(e=0,r=0,a=(i=Kmt(t,!0)).length;r<a;++r)(n=i[r])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1))}return o>0?o+t.n.b+t.n.c:0}function SIt(t,e){var i,r,a,o;for(i=(o=zz(cK(t.b,e),124)).a,a=zz(zz(l6(t.r,e),21),84).Kc();a.Ob();)(r=zz(a.Pb(),111)).c&&(i.a=n.Math.max(i.a,Kq(r.c)));if(i.a>0)switch(e.g){case 2:o.n.c=t.s;break;case 4:o.n.b=t.s}}function IIt(t,e){var n,i,r;return 0==(n=zz(vEt(e,(fFt(),Jae)),19).a-zz(vEt(t,Jae),19).a)?(i=ZF(zO(zz(vEt(t,(Trt(),soe)),8)),zz(vEt(t,coe),8)),r=ZF(zO(zz(vEt(e,soe),8)),zz(vEt(e,coe),8)),Sft(i.a*i.b,r.a*r.b)):n}function MIt(t,e){var n,i,r;return 0==(n=zz(vEt(e,(IDt(),Oxe)),19).a-zz(vEt(t,Oxe),19).a)?(i=ZF(zO(zz(vEt(t,(UHt(),Jve)),8)),zz(vEt(t,txe),8)),r=ZF(zO(zz(vEt(e,Jve),8)),zz(vEt(e,txe),8)),Sft(i.a*i.b,r.a*r.b)):n}function DIt(t){var e,n;return(n=new Sx).a+="e_",null!=(e=Wot(t))&&(n.a+=""+e),t.c&&t.d&&(cM((n.a+=" ",n),mvt(t.c)),cM(sM((n.a+="[",n),t.c.i),"]"),cM((n.a+=i1t,n),mvt(t.d)),cM(sM((n.a+="[",n),t.d.i),"]")),n.a}function OIt(t){switch(t.g){case 0:return new bh;case 1:return new wh;case 2:return new ph;case 3:return new mh;default:throw qw(new jv("No implementation is available for the layout phase "+(null!=t.f?t.f:""+t.g)))}}function LIt(t,e,i,r,a){var o;switch(o=0,a.g){case 1:o=n.Math.max(0,e.b+t.b-(i.b+r));break;case 3:o=n.Math.max(0,-t.b-r);break;case 2:o=n.Math.max(0,-t.a-r);break;case 4:o=n.Math.max(0,e.a+t.a-(i.a+r))}return o}function NIt(t,e,n){var i,r,a;if(n)for(a=((i=new lG(n.a.length)).b-i.a)*i.c<0?(nT(),ENe):new ZL(i);a.Ob();)r=P2(n,zz(a.Pb(),19).a),N6t in r.a||P6t in r.a?lRt(t,r,e):AZt(t,r,e),CL(zz(FZ(t.b,Vpt(r)),79))}function PIt(t){var e,n;switch(t.b){case-1:return!0;case 0:return(n=t.t)>1||-1==n||(e=Mxt(t))&&(JE(),e.Cj()==A7t)?(t.b=-1,!0):(t.b=1,!1);default:return!1}}function BIt(t,e){var n,i,r,a,o;for(!e.s&&(e.s=new nY($De,e,21,17)),a=null,r=0,o=(i=e.s).i;r<o;++r)switch(BW(z9(t,n=zz(Ket(i,r),170)))){case 2:case 3:!a&&(a=new Nw),a.c[a.c.length]=n}return a||(TX(),TX(),lne)}function FIt(t,e){var n,i,r,a;if(VZt(t),0!=t.c||123!=t.a)throw qw(new ox(kWt((sO(),S8t))));if(a=112==e,i=t.d,(n=fP(t.i,125,i))<0)throw qw(new ox(kWt((sO(),I8t))));return r=hP(t.i,i,n),t.d=n+1,d7(r,a,512==(512&t.e))}function RIt(t){var e;if((e=zz(vEt(t,(HZt(),Hpe)),314))==(Dit(),lle))throw qw(new ax("The hierarchy aware processor "+e+" in child node "+t+" is only allowed if the root node specifies the same hierarchical processor."))}function jIt(t,e){var n,i,r,a;for(Uj(),n=null,r=e.Kc();r.Ob();)(i=zz(r.Pb(),128)).o||(Wz((a=new Szt($O(i.a),dq(i.a),null,zz(i.d.a.ec().Kc().Pb(),17))).c,i.a),t.c[t.c.length]=a,n&&Wz(n.d,a),n=a)}function $It(t,e){var n,i,r;if(e)if(0!=(4&e.i))for(i="[]",n=e.c;;n=n.c){if(0==(4&n.i)){Hit(t,r=Yv((_B(n),n.o+i))),Bnt(t,r);break}i+="[]"}else Hit(t,r=Yv((_B(e),e.o))),Bnt(t,r);else Hit(t,null),Bnt(t,null);t.yk(e)}function zIt(t,e,n,i,r){var a,o,s,c;return UI(c=lB(t,zz(r,56)))!==UI(r)?(s=zz(t.g[n],72),kL(t,n,lAt(t,n,a=J3(e,c))),yD(t.e)&&(j_t(o=LV(t,9,a.ak(),r,c,i,!1),new N9(t.e,9,t.c,s,a,i,!1)),O9(o)),c):r}function qIt(t,e,n){var i,r,a,o,s,c;for(i=zz(l6(t.c,e),15),r=zz(l6(t.c,n),15),a=i.Zc(i.gc()),o=r.Zc(r.gc());a.Sb()&&o.Sb();)if((s=zz(a.Ub(),19))!=(c=zz(o.Ub(),19)))return _O(s.a,c.a);return a.Ob()||o.Ob()?a.Ob()?1:-1:0}function HIt(t,e){var n,i;try{return Z1(t.a,e)}catch(r){if(aL(r=dst(r),32)){try{if(i=djt(e,$Kt,FWt),n=Kk(t.a),i>=0&&i<n.length)return n[i]}catch(t){if(!aL(t=dst(t),127))throw qw(t)}return null}throw qw(r)}}function UIt(t,e){var n,i,r;if(r=zHt((MCt(),JOe),t.Tg(),e))return JE(),zz(r,66).Oj()||(r=J1(z9(JOe,r))),i=zz((n=t.Yg(r))>=0?t._g(n,!0,!0):oMt(t,r,!0),153),zz(i,215).ll(e);throw qw(new jv(a6t+e.ne()+c6t))}function GIt(){var t;return eT(),XOe?zz(LOt((WE(),GDe),X7t),1939):(FM(Hte,new Su),eGt(),t=zz(aL(TQ((WE(),GDe),X7t),547)?TQ(GDe,X7t):new YW,547),XOe=!0,uWt(t),EWt(t),KW((KE(),JDe),t,new Uc),yJ(GDe,X7t,t),t)}function YIt(t,e){var n,i,r,a;t.j=-1,yD(t.e)?(n=t.i,a=0!=t.i,a6(t,e),i=new N9(t.e,3,t.c,null,e,n,a),r=e.Qk(t.e,t.c,null),(r=M_t(t,e,r))?(r.Ei(i),r.Fi()):got(t.e,i)):(a6(t,e),(r=e.Qk(t.e,t.c,null))&&r.Fi())}function ZIt(t,e){var n,i,r;if(r=0,(i=e[0])>=t.length)return-1;for(d1(i,t.length),n=t.charCodeAt(i);n>=48&&n<=57&&(r=10*r+(n-48),!(++i>=t.length));)d1(i,t.length),n=t.charCodeAt(i);return i>e[0]?e[0]=i:r=-1,r}function WIt(t){var e,i,r,a,o;return i=a=zz(t.a,19).a,r=o=zz(t.b,19).a,e=n.Math.max(n.Math.abs(a),n.Math.abs(o)),a<=0&&a==o?(i=0,r=o-1):a==-e&&o!=e?(i=o,r=a,o>=0&&++i):(i=-o,r=a),new rI(rft(i),rft(r))}function KIt(t,e,n,i){var r,a,o,s,c,u;for(r=0;r<e.o;r++)for(a=r-e.j+n,o=0;o<e.p;o++)if(c=a,u=s=o-e.k+i,c+=t.j,u+=t.k,c>=0&&u>=0&&c<t.o&&u<t.p&&(!vyt(e,r,o)&&ryt(t,a,s)||yyt(e,r,o)&&!ayt(t,a,s)))return!0;return!1}function XIt(t,e,n){var i,r,a,o;a=t.c,o=t.d,r=(Oct(Sst(Ux(CEe,1),lKt,8,0,[a.i.n,a.n,a.a])).b+Oct(Sst(Ux(CEe,1),lKt,8,0,[o.i.n,o.n,o.a])).b)/2,i=null,i=a.j==(kYt(),cIe)?new PS(e+a.i.c.c.a+n,r):new PS(e-n,r),RP(t.a,0,i)}function VIt(t){var e,n,i;for(e=null,n=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[(!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c)])));bDt(n);)if(i=SAt(zz(Y5(n),82)),e){if(e!=i)return!1}else e=i;return!0}function QIt(t,e,n){var i;if(++t.j,e>=t.i)throw qw(new Dv(c8t+e+u8t+t.i));if(n>=t.i)throw qw(new Dv(l8t+n+u8t+t.i));return i=t.g[n],e!=n&&(e<n?sqt(t.g,e,t.g,e+1,n-e):sqt(t.g,n+1,t.g,n,e-n),OZ(t.g,e,i),t.ei(e,i,n),t.ci()),i}function JIt(t,e,n){var i;if(i=zz(t.c.xc(e),14))return!!i.Fc(n)&&(++t.d,!0);if((i=t.ic(e)).Fc(n))return++t.d,t.c.zc(e,i),!0;throw qw(new b5("New Collection violated the Collection spec"))}function tMt(t){var e,n,i;return t<0?0:0==t?32:(n=16-(e=(i=-(t>>16))>>16&16),n+=e=(i=(t>>=e)-256)>>16&8,n+=e=(i=(t<<=e)-$Xt)>>16&4,(n+=e=(i=(t<<=e)-hKt)>>16&2)+2-(e=(i=(t<<=e)>>14)&~(i>>1)))}function eMt(t){var e,n,i,r;for(EX(),Tae=new Nw,Eae=new Pw,Aae=new Nw,!t.a&&(t.a=new nY(YMe,t,10,11)),BYt(e=t.a),r=new DL(e);r.e!=r.i.gc();)i=zz(kwt(r),33),-1==_9(Tae,i,0)&&(n=new Nw,Wz(Aae,n),Rbt(i,n));return Aae}function nMt(t,e,n){var i,r,a,o;t.a=n.b.d,aL(e,352)?(n5(a=UTt(r=oBt(zz(e,79),!1,!1)),i=new Ng(t)),X$t(a,r),null!=e.We((lWt(),MTe))&&n5(zz(e.We(MTe),74),i)):((o=zz(e,470)).Hg(o.Dg()+t.a.a),o.Ig(o.Eg()+t.a.b))}function iMt(t,e){var i,r,a,o,s,c,u,l;for(l=Uv(EB(vEt(e,(HZt(),Nwe)))),u=t[0].n.a+t[0].o.a+t[0].d.c+l,c=1;c<t.length;c++)r=t[c].n,a=t[c].o,i=t[c].d,(o=r.a-i.b-u)<0&&(r.a-=o),(s=e.f).a=n.Math.max(s.a,r.a+a.a),u=r.a+a.a+i.c+l}function rMt(t,e){var n,i,r,a,o,s;return i=zz(zz(FZ(t.g,e.a),46).a,65),r=zz(zz(FZ(t.g,e.b),46).a,65),(n=eHt(a=i.b,o=r.b))>=0?n:(s=fW(ZF(new PS(o.c+o.b/2,o.d+o.a/2),new PS(a.c+a.b/2,a.d+a.a/2))),-(Qjt(a,o)-1)*s)}function aMt(t,e,n){var i;QA(new FH(null,(!n.a&&(n.a=new nY($Me,n,6,6)),new g1(n.a,16))),new nI(t,e)),QA(new FH(null,(!n.n&&(n.n=new nY(GMe,n,1,7)),new g1(n.n,16))),new iI(t,e)),(i=zz(tOt(n,(lWt(),MTe)),74))&&Qrt(i,t,e)}function oMt(t,e,n){var i,r,a;if(a=zHt((MCt(),JOe),t.Tg(),e))return JE(),zz(a,66).Oj()||(a=J1(z9(JOe,a))),r=zz((i=t.Yg(a))>=0?t._g(i,!0,!0):oMt(t,a,!0),153),zz(r,215).hl(e,n);throw qw(new jv(a6t+e.ne()+c6t))}function sMt(t,e,n,i){var r,a,o,s,c;if(r=t.d[e])if(a=r.g,c=r.i,null!=i){for(s=0;s<c;++s)if((o=zz(a[s],133)).Sh()==n&&Pht(i,o.cd()))return o}else for(s=0;s<c;++s)if(UI((o=zz(a[s],133)).cd())===UI(i))return o;return null}function cMt(t,e){var n;if(e<0)throw qw(new Mv("Negative exponent"));if(0==e)return Jee;if(1==e||lgt(t,Jee)||lgt(t,ine))return t;if(!fDt(t,0)){for(n=1;!fDt(t,n);)++n;return Ntt(ygt(n*e),cMt(G5(t,n),e))}return vAt(t,e)}function uMt(t,e){var n,i,r;if(UI(t)===UI(e))return!0;if(null==t||null==e)return!1;if(t.length!=e.length)return!1;for(n=0;n<t.length;++n)if(i=t[n],r=e[n],!(UI(i)===UI(r)||null!=i&&Pht(i,r)))return!1;return!0}function lMt(t){var e,n,i;for(xE(),this.b=Koe,this.c=(zht(),zCe),this.f=(vE(),Goe),this.a=t,ek(this,new Ce),kNt(this),i=new Wd(t.b);i.a<i.c.c.length;)(n=zz(t0(i),81)).d||(e=new Sbt(Sst(Ux(Xoe,1),HWt,81,0,[n])),Wz(t.a,e))}function hMt(t,e,n){var i,r,a,o,s,c;if(!t||0==t.c.length)return null;for(a=new RV(e,!n),r=new Wd(t);r.a<r.c.c.length;)i=zz(t0(r),70),ZTt(a,(bE(),new zg(i)));return(o=a.i).a=(c=a.n,a.e.b+c.d+c.a),o.b=(s=a.n,a.e.a+s.b+s.c),a}function fMt(t){var e,n,i,r,a,o,s;for(lD(s=t2(t.a),new Cn),n=null,a=0,o=(r=s).length;a<o&&(i=r[a]).k==(cTt(),Ese);++a)(e=zz(vEt(i,(hWt(),Xhe)),61))!=(kYt(),SIe)&&e!=cIe||(n&&zz(vEt(n,afe),15).Fc(i),n=i)}function dMt(t,e,n){var i,r,a,o,s,c;f1(e,t.c.length),s=zz(t.c[e],329),u6(t,e),s.b/2>=n&&(i=e,a=(c=(s.c+s.a)/2)-n,s.c<=c-n&&xU(t,i++,new xz(s.c,a)),(o=c+n)<=s.a&&(r=new xz(o,s.a),LJ(i,t.c.length),ET(t.c,i,r)))}function gMt(t){var e;if(t.c||null!=t.g){if(null==t.g)return!0;if(0==t.i)return!1;e=zz(t.g[t.i-1],47)}else t.d=t.si(t.f),h7(t,t.d),e=t.d;return e==t.b&&null.km>=null.jm()?(sLt(t),gMt(t)):e.Ob()}function pMt(t,e,n){var i,r,a,o;if(!(o=n)&&(o=Lq(new Zy,0)),DAt(o,UJt,1),LUt(t.c,e),1==(a=RUt(t.a,e)).gc())Xqt(zz(a.Xb(0),37),o);else for(r=1/a.gc(),i=a.Kc();i.Ob();)Xqt(zz(i.Pb(),37),vat(o,r));_x(t.a,a,e),zBt(e),HTt(o)}function bMt(t){if(this.a=t,t.c.i.k==(cTt(),Ese))this.c=t.c,this.d=zz(vEt(t.c.i,(hWt(),Xhe)),61);else{if(t.d.i.k!=Ese)throw qw(new jv("Edge "+t+" is not an external edge."));this.c=t.d,this.d=zz(vEt(t.d.i,(hWt(),Xhe)),61)}}function wMt(t,e){var n,i,r;r=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,3,r,t.b)),e?e!=t&&(Prt(t,e.zb),Lnt(t,e.d),zit(t,null==(n=null==(i=e.c)?e.zb:i)||yR(n,e.zb)?null:n)):(Prt(t,null),Lnt(t,0),zit(t,null))}function mMt(t){var e,n;if(t.f){for(;t.n<t.o;){if(aL(n=(e=zz(t.j?t.j.pi(t.n):t.k.Xb(t.n),72)).ak(),99)&&0!=(zz(n,18).Bb&h6t)&&(!t.e||n.Gj()!=NMe||0!=n.aj())&&null!=e.dd())return!0;++t.n}return!1}return t.n<t.o}function yMt(t,e){var n;this.e=(WZ(),vZ(t),WZ(),Pgt(t)),this.c=(vZ(e),Pgt(e)),oN(this.e.Hd().dc()==this.c.Hd().dc()),this.d=ydt(this.e),this.b=ydt(this.c),n=xH(Ote,[lKt,HWt],[5,1],5,[this.e.Hd().gc(),this.c.Hd().gc()],2),this.a=n,bit(this)}function vMt(t){var e=(!tee&&(tee=VYt()),tee);return'"'+t.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,(function(t){return IQ(t,e)}))+'"'}function xMt(t){var e,n;for(SX(),this.b=lie,this.c=fie,this.g=(wE(),uie),this.d=(zht(),zCe),this.a=t,xNt(this),n=new Wd(t.b);n.a<n.c.c.length;)!(e=zz(t0(n),57)).a&&IN(Wnt(new Zm,Sst(Ux(die,1),HWt,57,0,[e])),t),e.e=new bV(e.d)}function kMt(t){var e,n,i,r,a;for(r=t.e.c.length,i=P8(Rte,eJt,15,r,0,1),a=new Wd(t.e);a.a<a.c.c.length;)i[zz(t0(a),144).b]=new VA;for(n=new Wd(t.c);n.a<n.c.c.length;)i[(e=zz(t0(n),282)).c.b].Fc(e),i[e.d.b].Fc(e);return i}function _Mt(t){var e,n,i,r,a,o;for(o=uP(t.c.length),r=new Wd(t);r.a<r.c.c.length;){for(i=zz(t0(r),10),a=new Fm,n=new cG(JL(ddt(i).a.Kc(),new l));bDt(n);)(e=zz(Y5(n),17)).c.i==e.d.i||AY(a,e.d.i);o.c[o.c.length]=a}return o}function AMt(t,e){var n,i,r,a,o;if(e>=(o=null==(n=zz(xot(t.a,4),126))?0:n.length))throw qw(new eR(e,o));return r=n[e],1==o?i=null:(sqt(n,0,i=P8(pDe,r7t,415,o-1,0,1),0,e),(a=o-e-1)>0&&sqt(n,e+1,i,e,a)),zbt(t,i),iSt(t,e,r),r}function EMt(){EMt=M,fLe=zz(Ket(XX((a_(),bLe).qb),6),34),uLe=zz(Ket(XX(bLe.qb),3),34),lLe=zz(Ket(XX(bLe.qb),4),34),hLe=zz(Ket(XX(bLe.qb),5),18),u_t(fLe),u_t(uLe),u_t(lLe),u_t(hLe),dLe=new Qv(Sst(Ux($De,1),P7t,170,0,[fLe,uLe]))}function TMt(t,e){var n;this.d=new fy,this.b=e,this.e=new gD(e.qf()),n=t.u.Hc((dIt(),iIe)),t.u.Hc(nIe)?t.D?this.a=n&&!e.If():this.a=!0:t.u.Hc(rIe)?this.a=!!n&&!(e.zf().Kc().Ob()||e.Bf().Kc().Ob()):this.a=!1}function CMt(t,e){var n,i,r,a;for(n=t.o.a,a=zz(zz(l6(t.r,e),21),84).Kc();a.Ob();)(r=zz(a.Pb(),111)).e.a=(i=r.b).Xe((lWt(),oCe))?i.Hf()==(kYt(),SIe)?-i.rf().a-Uv(EB(i.We(oCe))):n+Uv(EB(i.We(oCe))):i.Hf()==(kYt(),SIe)?-i.rf().a:n}function SMt(t,e){var n,i,r;n=zz(vEt(t,(HZt(),Ype)),103),r=zz(tOt(e,swe),61),(i=zz(vEt(t,nwe),98))!=(V_t(),XSe)&&i!=VSe?r==(kYt(),CIe)&&(r=D$t(e,n))==CIe&&(r=hgt(n)):r=Wqt(e)>0?hgt(n):Eft(hgt(n)),Qwt(e,swe,r)}function IMt(t,e){var n,i,r,a,o;for(o=t.j,e.a!=e.b&&yO(o,new Yr),r=o.c.length/2|0,i=0;i<r;i++)f1(i,o.c.length),(a=zz(o.c[i],113)).c&&USt(a.d,e.a);for(n=r;n<o.c.length;n++)f1(n,o.c.length),(a=zz(o.c[n],113)).c&&USt(a.d,e.b)}function MMt(t,e,n){var i,r,a;return i=t.c[e.c.p][e.p],r=t.c[n.c.p][n.p],null!=i.a&&null!=r.a?((a=AG(i.a,r.a))<0?cRt(t,e,n):a>0&&cRt(t,n,e),a):null!=i.a?(cRt(t,e,n),-1):null!=r.a?(cRt(t,n,e),1):0}function DMt(t,e){var n,i,r,a;t.ej()?(n=t.Vi(),a=t.fj(),++t.j,t.Hi(n,t.oi(n,e)),i=t.Zi(3,null,e,n,a),t.bj()&&(r=t.cj(e,null))?(r.Ei(i),r.Fi()):t.$i(i)):(nW(t,e),t.bj()&&(r=t.cj(e,null))&&r.Fi())}function OMt(t,e){var n,i,r,a,o;for(o=sPt(t.e.Tg(),e),r=new bc,n=zz(t.g,119),a=t.i;--a>=0;)i=n[a],o.rl(i.ak())&&h7(r,i);!sZt(t,r)&&yD(t.e)&&Lm(t,e.$j()?LV(t,6,e,(TX(),lne),null,-1,!1):LV(t,e.Kj()?2:1,e,null,null,-1,!1))}function LMt(){var t,e;for(LMt=M,sne=P8(une,lKt,91,32,0,1),cne=P8(une,lKt,91,32,0,1),t=1,e=0;e<=18;e++)sne[e]=ewt(t),cne[e]=ewt(vG(t,e)),t=odt(t,5);for(;e<cne.length;e++)sne[e]=Ntt(sne[e-1],sne[1]),cne[e]=Ntt(cne[e-1],(DBt(),ene))}function NMt(t,e){var n,i,r,a;return t.a==(JEt(),ahe)||(r=e.a.c,n=e.a.c+e.a.b,!(e.j&&(a=(i=e.A).c.c.a-i.o.a/2,r-(i.n.a+i.o.a)>a)||e.q&&(a=(i=e.C).c.c.a-i.o.a/2,i.n.a-n>a)))}function PMt(t,e){DAt(e,"Partition preprocessing",1),QA(zz(C4(DK(gtt(DK(new FH(null,new g1(t.a,16)),new mi),new yi),new vi),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15).Oc(),new xi),HTt(e)}function BMt(t){var e,n,i,r,a,o;for(HJ(),n=new m4,i=new Wd(t.e.b);i.a<i.c.c.length;)for(a=new Wd(zz(t0(i),29).a);a.a<a.c.c.length;)r=zz(t0(a),10),(e=zz(ftt(n,o=t.g[r.p]),15))||Jbt(n,o,e=new Nw),e.Fc(r);return n}function FMt(t,e){var n,i,r,a,o;for(r=e.b.b,t.a=P8(Rte,eJt,15,r,0,1),t.b=P8(ONe,tQt,25,r,16,1),o=lwt(e.b,0);o.b!=o.d.c;)a=zz(d3(o),86),t.a[a.g]=new VA;for(i=lwt(e.a,0);i.b!=i.d.c;)n=zz(d3(i),188),t.a[n.b.g].Fc(n),t.a[n.c.g].Fc(n)}function RMt(t){var e;return 0!=(64&t.Db)?SOt(t):((e=new hN(SOt(t))).a+=" (startX: ",m_(e,t.j),e.a+=", startY: ",m_(e,t.k),e.a+=", endX: ",m_(e,t.b),e.a+=", endY: ",m_(e,t.c),e.a+=", identifier: ",aM(e,t.d),e.a+=")",e.a)}function jMt(t){var e;return 0!=(64&t.Db)?kht(t):((e=new hN(kht(t))).a+=" (ordered: ",v_(e,0!=(256&t.Bb)),e.a+=", unique: ",v_(e,0!=(512&t.Bb)),e.a+=", lowerBound: ",y_(e,t.s),e.a+=", upperBound: ",y_(e,t.t),e.a+=")",e.a)}function $Mt(t,e,n,i,r,a,o,s){var c;return aL(t.Cb,88)&&OSt(C5(zz(t.Cb,88)),4),Prt(t,n),t.f=i,Lft(t,r),Pft(t,a),Oft(t,o),Nft(t,!1),eft(t,!0),Uft(t,s),Qht(t,!0),Nnt(t,0),t.b=0,Pnt(t,1),(c=HAt(t,e,null))&&c.Fi(),Gft(t,!1),t}function zMt(t,e){var i,r;return zz(TQ(t.a,e),512)||(i=new v5(e),x5(),PR(i,zMt(t,hP(r=Xne?null:i.c,0,n.Math.max(0,yN(r,QAt(46)))))),0==(Xne?null:i.c).length&&GB(i,new Z),yJ(t.a,Xne?null:i.c,i),i)}function qMt(t,e){var n;t.b=e,t.g=new Nw,n=JMt(t.b),t.e=n,t.f=n,t.c=Hv(AB(vEt(t.b,($xt(),kie)))),t.a=EB(vEt(t.b,(lWt(),aTe))),null==t.a&&(t.a=1),Uv(t.a)>1?t.e*=Uv(t.a):t.f/=Uv(t.a),Ilt(t),wbt(t),EFt(t),hct(t.b,(Awt(),bae),t.g)}function HMt(t,e,n){var i,r,a,o,s;for(i=0,s=n,e||(i=n*(t.c.length-1),s*=-1),a=new Wd(t);a.a<a.c.c.length;){for(hct(r=zz(t0(a),10),(HZt(),xpe),(pmt(),MEe)),r.o.a=i,o=FTt(r,(kYt(),cIe)).Kc();o.Ob();)zz(o.Pb(),11).n.a=i;i+=s}}function UMt(t,e,n){var i,r,a;t.ej()?(a=t.fj(),Mht(t,e,n),i=t.Zi(3,null,n,e,a),t.bj()?(r=t.cj(n,null),t.ij()&&(r=t.jj(n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):t.$i(i)):(Mht(t,e,n),t.bj()&&(r=t.cj(n,null))&&r.Fi())}function GMt(t,e,n){var i,r,a,o,s,c;return(s=t.Gk(n))!=n?(o=t.g[e],c=s,kL(t,e,t.oi(e,c)),a=o,t.gi(e,c,a),t.rk()&&(i=n,r=t.dj(i,null),!zz(s,49).eh()&&(r=t.cj(c,r)),r&&r.Fi()),yD(t.e)&&Lm(t,t.Zi(9,n,s,e,!1)),s):n}function YMt(t,e){var n,i,r;for(n=new Wd(t.a.a);n.a<n.c.c.length;)zz(t0(n),189).g=!0;for(r=new Wd(t.a.b);r.a<r.c.c.length;)(i=zz(t0(r),81)).k=Hv(AB(t.e.Kb(new rI(i,e)))),i.d.g=i.d.g&Hv(AB(t.e.Kb(new rI(i,e))));return t}function ZMt(t){var e,n,i,r,a;if(n=new VR(e=zz(Kk($Ie),9),zz(TF(e,e.length),9),0),a=zz(vEt(t,(hWt(),_fe)),10))for(r=new Wd(a.j);r.a<r.c.c.length;)UI(vEt(i=zz(t0(r),11),pfe))===UI(t)&&GN(new y6(i.b))&&urt(n,i.j);return n}function WMt(t,e,n){var i,r,a,o;if(!t.d[n.p]){for(i=new cG(JL(ddt(n).a.Kc(),new l));bDt(i);){for(a=new cG(JL(fdt(o=zz(Y5(i),17).d.i).a.Kc(),new l));bDt(a);)(r=zz(Y5(a),17)).c.i==e&&(t.a[r.p]=!0);WMt(t,e,o)}t.d[n.p]=!0}}function KMt(t,e){var n,i,r,a,o,s,c;if(1==(i=mdt(254&t.Db)))t.Eb=null;else if(a=int(t.Eb),2==i)r=Ryt(t,e),t.Eb=a[0==r?1:0];else{for(o=P8(Ote,HWt,1,i-1,5,1),n=2,s=0,c=0;n<=128;n<<=1)n==e?++s:0!=(t.Db&n)&&(o[c++]=a[s++]);t.Eb=o}t.Db&=~e}function XMt(t,e){var n,i,r,a,o;for(!e.s&&(e.s=new nY($De,e,21,17)),a=null,r=0,o=(i=e.s).i;r<o;++r)switch(BW(z9(t,n=zz(Ket(i,r),170)))){case 4:case 5:case 6:!a&&(a=new Nw),a.c[a.c.length]=n}return a||(TX(),TX(),lne)}function VMt(t){var e;switch(e=0,t){case 105:e=2;break;case 109:e=8;break;case 115:e=4;break;case 120:e=16;break;case 117:e=32;break;case 119:e=64;break;case 70:e=256;break;case 72:e=128;break;case 88:e=512;break;case 44:e=k6t}return e}function QMt(t,e,n,i,r){var a,o,s,c;if(UI(t)!==UI(e)||i!=r)for(s=0;s<i;s++){for(o=0,a=t[s],c=0;c<r;c++)o=adt(adt(odt(n0(a,ZXt),n0(e[c],ZXt)),n0(n[s+c],ZXt)),n0(pU(o),ZXt)),n[s+c]=pU(o),o=kG(o,32);n[s+r]=pU(o)}else Mjt(t,i,n)}function JMt(t){var e,i,r,a,o,s,c,u,l,h,f;for(h=0,l=0,c=(a=t.a).a.gc(),r=a.a.ec().Kc();r.Ob();)(i=zz(r.Pb(),561)).b&&Xzt(i),h+=(f=(e=i.a).a)+(s=e.b),l+=f*s;return u=n.Math.sqrt(400*c*l-4*l+h*h)+h,0==(o=2*(100*c-1))?u:u/o}function tDt(t,e){0!=e.b&&(isNaN(t.s)?t.s=Uv((CP(0!=e.b),EB(e.a.a.c))):t.s=n.Math.min(t.s,Uv((CP(0!=e.b),EB(e.a.a.c)))),isNaN(t.c)?t.c=Uv((CP(0!=e.b),EB(e.c.b.c))):t.c=n.Math.max(t.c,Uv((CP(0!=e.b),EB(e.c.b.c)))))}function eDt(t){var e,n,i;for(e=null,n=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[(!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c)])));bDt(n);)if(i=SAt(zz(Y5(n),82)),e){if(e!=QQ(i))return!0}else e=QQ(i);return!1}function nDt(t,e){var n,i,r,a;t.ej()?(n=t.i,a=t.fj(),a6(t,e),i=t.Zi(3,null,e,n,a),t.bj()?(r=t.cj(e,null),t.ij()&&(r=t.jj(e,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):t.$i(i)):(a6(t,e),t.bj()&&(r=t.cj(e,null))&&r.Fi())}function iDt(t,e,n){var i,r,a;t.ej()?(a=t.fj(),++t.j,t.Hi(e,t.oi(e,n)),i=t.Zi(3,null,n,e,a),t.bj()&&(r=t.cj(n,null))?(r.Ei(i),r.Fi()):t.$i(i)):(++t.j,t.Hi(e,t.oi(e,n)),t.bj()&&(r=t.cj(n,null))&&r.Fi())}function rDt(t){var e,n,i,r;for(r=t.length,e=null,i=0;i<r;i++)d1(i,t.length),UM(".*+?{[()|\\^$",QAt(n=t.charCodeAt(i)))>=0?(e||(e=new Cx,i>0&&aM(e,t.substr(0,i))),e.a+="\\",NZ(e,n&VKt)):e&&NZ(e,n&VKt);return e?e.a:t}function aDt(t){var e;if(!t.a)throw qw(new $v("IDataType class expected for layout option "+t.f));if(null==(e=I3(t.a)))throw qw(new $v("Couldn't create new instance of property '"+t.f+"'. "+a5t+(_B(dDe),dDe.k)+o5t));return zz(e,414)}function oDt(t){var e,n,i,r,a;return(a=t.eh())&&a.kh()&&(r=nht(t,a))!=a?(n=t.Vg(),i=(e=t.Vg())>=0?t.Qg(null):t.eh().ih(t,-1-e,null,null),t.Rg(zz(r,49),n),i&&i.Fi(),t.Lg()&&t.Mg()&&n>-1&&got(t,new tY(t,9,n,a,r)),r):a}function sDt(t){var e,n,i,r,a,o,s;for(a=0,r=t.f.e,n=0;n<r.c.length;++n)for(f1(n,r.c.length),o=zz(r.c[n],144),i=n+1;i<r.c.length;++i)f1(i,r.c.length),s=zz(r.c[i],144),e=W8(o.d,s.d)-t.a[o.b][s.b],a+=t.i[o.b][s.b]*e*e;return a}function cDt(t,e){var n;if(!LP(e,(HZt(),xbe))&&(n=Axt(zz(vEt(e,nue),360),zz(vEt(t,xbe),163)),hct(e,nue,n),!bDt(new cG(JL(hdt(e).a.Kc(),new l)))))switch(n.g){case 1:hct(e,xbe,(Edt(),jfe));break;case 2:hct(e,xbe,(Edt(),zfe))}}function uDt(t,e){var n;vFt(t),t.a=(n=new cx,QA(new FH(null,new g1(e.d,16)),new Mp(n)),n),TPt(t,zz(vEt(e.b,(HZt(),ibe)),376)),kmt(t),DDt(t),Lxt(t),_mt(t),_Ht(t,e),QA(gtt(new FH(null,V0(TZ(t.b).a)),new Wr),new Kr),e.a=!1,t.a=null}function lDt(){bEt.call(this,x6t,(e_(),pMe)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function hDt(){hDt=M,iDe=new EI(G1t,0),tDe=new EI("INSIDE_SELF_LOOPS",1),eDe=new EI("MULTI_EDGES",2),JMe=new EI("EDGE_LABELS",3),nDe=new EI("PORTS",4),VMe=new EI("COMPOUND",5),XMe=new EI("CLUSTERS",6),QMe=new EI("DISCONNECTED",7)}function fDt(t,e){var n,i,r;if(0==e)return 0!=(1&t.a[0]);if(e<0)throw qw(new Mv("Negative bit address"));if((r=e>>5)>=t.d)return t.e<0;if(n=t.a[r],e=1<<(31&e),t.e<0){if(r<(i=Iat(t)))return!1;n=i==r?-n:~n}return 0!=(n&e)}function dDt(t,e,n,i){var r;zz(n.b,65),zz(n.b,65),zz(i.b,65),zz(i.b,65),Nq(r=ZF(zO(zz(n.b,65).c),zz(i.b,65).c),HSt(zz(n.b,65),zz(i.b,65),r)),zz(i.b,65),zz(i.b,65),zz(i.b,65).c.a,r.a,zz(i.b,65).c.b,r.b,zz(i.b,65),Det(i.a,new Az(t,e,i))}function gDt(t,e){var n,i,r,a,o,s,c;if(a=e.e)for(n=oDt(a),i=zz(t.g,674),o=0;o<t.i;++o)if(Umt(c=i[o])==n&&(!c.d&&(c.d=new OL(KDe,c,1)),r=c.d,(s=zz(n.ah(wRt(a,a.Cb,a.Db>>16)),15).Xc(a))<r.i))return gDt(t,zz(Ket(r,s),87));return e}function pDt(t,e,n){var i,r=CWt,a=r[t],o=a instanceof Array?a[0]:null;a&&!o?TWt=a:(!(i=e&&e.prototype)&&(i=CWt[e]),(TWt=HQ(i)).hm=n,!e&&(TWt.im=I),r[t]=TWt);for(var s=3;s<arguments.length;++s)arguments[s].prototype=TWt;o&&(TWt.gm=o)}function bDt(t){for(var e;!zz(vZ(t.a),47).Ob();){if(t.d=uut(t),!t.d)return!1;if(t.a=zz(t.d.Pb(),47),aL(t.a,39)){if(e=zz(t.a,39),t.a=e.a,!t.b&&(t.b=new Lw),p3(t.b,t.d),e.b)for(;!Wv(e.b);)p3(t.b,zz(bY(e.b),47));t.d=e.d}}return!0}function wDt(t,e){var n,i,r,a,o;for(a=null==e?0:t.b.se(e),i=null==(n=t.a.get(a))?new Array:n,o=0;o<i.length;o++)if(r=i[o],t.b.re(e,r.cd()))return 1==i.length?(i.length=0,mF(t.a,a)):i.splice(o,1),--t.c,cV(t.b),r.dd();return null}function mDt(t,e){var n,i,r,a;for(r=1,e.j=!0,a=null,i=new Wd(kdt(e));i.a<i.c.c.length;)n=zz(t0(i),213),t.c[n.c]||(t.c[n.c]=!0,a=Pdt(n,e),n.f?r+=mDt(t,a):a.j||n.a!=n.e.e-n.d.e||(n.f=!0,AY(t.p,n),r+=mDt(t,a)));return r}function yDt(t){var e,i,r;for(i=new Wd(t.a.a.b);i.a<i.c.c.length;)e=zz(t0(i),81),xW(0),(r=0)>0&&((!pD(t.a.c)||!e.n.d)&&(!bD(t.a.c)||!e.n.b)&&(e.g.d+=n.Math.max(0,r/2-.5)),(!pD(t.a.c)||!e.n.a)&&(!bD(t.a.c)||!e.n.c)&&(e.g.a-=r-1))}function vDt(t){var e,i,r,a,o;if(o=jjt(t,a=new Nw),e=zz(vEt(t,(hWt(),_fe)),10))for(r=new Wd(e.j);r.a<r.c.c.length;)UI(vEt(i=zz(t0(r),11),pfe))===UI(t)&&(o=n.Math.max(o,jjt(i,a)));return 0==a.c.length||hct(t,dfe,o),-1!=o?a:null}function xDt(t,e,n){var i,r,a,o,s,c;r=(i=(a=zz(PH(e.e,0),17).c).i).k,s=(o=(c=zz(PH(n.g,0),17).d).i).k,r==(cTt(),Cse)?hct(t,(hWt(),lfe),zz(vEt(i,lfe),11)):hct(t,(hWt(),lfe),a),hct(t,(hWt(),hfe),s==Cse?zz(vEt(o,hfe),11):c)}function kDt(t,e){var n,i,r,a;for(n=(a=pU(odt(CKt,rK(pU(odt(null==e?0:eut(e),SKt)),15))))&t.b.length-1,r=null,i=t.b[n];i;r=i,i=i.a)if(i.d==a&&gW(i.i,e))return r?r.a=i.a:t.b[n]=i.a,xx(i.c,i.f),im(i.b,i.e),--t.f,++t.e,!0;return!1}function _Dt(t,e){var n,i,r,a,o;return e&=63,(i=0!=((n=t.h)&IXt))&&(n|=-1048576),e<22?(o=n>>e,a=t.m>>e|n<<22-e,r=t.l>>e|t.m<<22-e):e<44?(o=i?SXt:0,a=n>>e-22,r=t.m>>e-22|n<<44-e):(o=i?SXt:0,a=i?CXt:0,r=n>>e-44),EO(r&CXt,a&CXt,o&SXt)}function ADt(t){var e,i,r,a,o,s;for(this.c=new Nw,this.d=t,r=RXt,a=RXt,e=jXt,i=jXt,s=lwt(t,0);s.b!=s.d.c;)o=zz(d3(s),8),r=n.Math.min(r,o.a),a=n.Math.min(a,o.b),e=n.Math.max(e,o.a),i=n.Math.max(i,o.b);this.a=new YK(r,a,e-r,i-a)}function EDt(t,e){var n,i,r,a;for(i=new Wd(t.b);i.a<i.c.c.length;)for(a=new Wd(zz(t0(i),29).a);a.a<a.c.c.length;)for((r=zz(t0(a),10)).k==(cTt(),Tse)&&h$t(r,e),n=new cG(JL(ddt(r).a.Kc(),new l));bDt(n);)yst(zz(Y5(n),17),e)}function TDt(t){var e,n,i;this.c=t,i=zz(vEt(t,(HZt(),Ype)),103),e=Uv(EB(vEt(t,_pe))),n=Uv(EB(vEt(t,Rwe))),i==(zht(),jCe)||i==$Ce||i==zCe?this.b=e*n:this.b=1/(e*n),this.j=Uv(EB(vEt(t,Dwe))),this.e=Uv(EB(vEt(t,Mwe))),this.f=t.b.c.length}function CDt(t){var e,n;for(t.e=P8(DNe,hXt,25,t.p.c.length,15,1),t.k=P8(DNe,hXt,25,t.p.c.length,15,1),n=new Wd(t.p);n.a<n.c.c.length;)e=zz(t0(n),10),t.e[e.p]=$3(new cG(JL(fdt(e).a.Kc(),new l))),t.k[e.p]=$3(new cG(JL(ddt(e).a.Kc(),new l)))}function SDt(t){var e,n,i,r,a;for(i=0,t.q=new Nw,e=new Fm,a=new Wd(t.p);a.a<a.c.c.length;){for((r=zz(t0(a),10)).p=i,n=new cG(JL(ddt(r).a.Kc(),new l));bDt(n);)AY(e,zz(Y5(n),17).d.i);e.a.Bc(r),Wz(t.q,new OH(e)),e.a.$b(),++i}}function IDt(){IDt=M,Mxe=new WD(20),Ixe=new ZD((lWt(),ZTe),Mxe),Pxe=new ZD(LCe,20),kxe=new ZD(aTe,bJt),Oxe=new ZD(wCe,rft(1)),Nxe=new ZD(xCe,(lN(),!0)),_xe=fTe,Exe=RTe,Txe=zTe,Cxe=HTe,Axe=BTe,Sxe=YTe,Dxe=hCe,Rot(),Bxe=vxe,Lxe=mxe}function MDt(t,e){var n,i,r,a,o,s,c,u,l;if(t.a.f>0&&aL(e,42)&&(t.a.qj(),a=null==(c=(u=zz(e,42)).cd())?0:eut(c),o=nF(t.a,a),n=t.a.d[o]))for(i=zz(n.g,367),l=n.i,s=0;s<l;++s)if((r=i[s]).Sh()==a&&r.Fb(u))return MDt(t,u),!0;return!1}function DDt(t){var e,n,i,r;for(r=zz(l6(t.a,(N_t(),Tue)),15).Kc();r.Ob();)iZ(t,i=zz(r.Pb(),101),(n=(e=bG(i.k)).Hc((kYt(),uIe))?e.Hc(cIe)?e.Hc(TIe)?e.Hc(SIe)?null:Oue:Nue:Lue:Due)[0],(Irt(),Pue),0),iZ(t,i,n[1],Bue,1),iZ(t,i,n[2],Fue,1)}function ODt(t,e){var n,i;JPt(t,e,n=vRt(e)),rAt(t.a,zz(vEt(mW(e.b),(hWt(),Tfe)),230)),gjt(t),F_t(t,e),i=P8(DNe,hXt,25,e.b.j.c.length,15,1),lGt(t,e,(kYt(),uIe),i,n),lGt(t,e,cIe,i,n),lGt(t,e,TIe,i,n),lGt(t,e,SIe,i,n),t.a=null,t.c=null,t.b=null}function LDt(){LDt=M,Cdt(),c_e=new OM(A4t,u_e=t_e),o_e=new OM(E4t,(lN(),!0)),rft(-1),i_e=new OM(T4t,rft(-1)),rft(-1),r_e=new OM(C4t,rft(-1)),s_e=new OM(S4t,!1),l_e=new OM(I4t,!0),a_e=new OM(M4t,!1),h_e=new OM(D4t,-1)}function NDt(t,e,n){switch(e){case 7:return!t.e&&(t.e=new lR(jMe,t,7,4)),lHt(t.e),!t.e&&(t.e=new lR(jMe,t,7,4)),void wZ(t.e,zz(n,14));case 8:return!t.d&&(t.d=new lR(jMe,t,8,5)),lHt(t.d),!t.d&&(t.d=new lR(jMe,t,8,5)),void wZ(t.d,zz(n,14))}Ykt(t,e,n)}function PDt(t,e){var n,i,r,a,o;if(UI(e)===UI(t))return!0;if(!aL(e,15))return!1;if(o=zz(e,15),t.gc()!=o.gc())return!1;for(a=o.Kc(),i=t.Kc();i.Ob();)if(n=i.Pb(),r=a.Pb(),!(UI(n)===UI(r)||null!=n&&Pht(n,r)))return!1;return!0}function BDt(t,e){var n,i,r,a;for((a=zz(C4(gtt(gtt(new FH(null,new g1(e.b,16)),new Fn),new Rn),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15)).Jc(new jn),n=0,r=a.Kc();r.Ob();)-1==(i=zz(r.Pb(),11)).p&&zDt(t,i,n++)}function FDt(t){switch(t.g){case 0:return new Ch;case 1:return new hh;case 2:return new lh;case 3:return new kI;case 4:return new jU;default:throw qw(new jv("No implementation is available for the node placer "+(null!=t.f?t.f:""+t.g)))}}function RDt(t){switch(t.g){case 0:return new RU;case 1:return new dh;case 2:return new ih;case 3:return new rh;case 4:return new AI;default:throw qw(new jv("No implementation is available for the cycle breaker "+(null!=t.f?t.f:""+t.g)))}}function jDt(){jDt=M,yke=new OM(c4t,rft(0)),vke=new OM(u4t,0),Hut(),pke=new OM(l4t,bke=uke),rft(0),gke=new OM(h4t,rft(1)),qat(),xke=new OM(f4t,kke=Zke),B7(),_ke=new OM(d4t,Ake=oke),Dyt(),wke=new OM(g4t,mke=Hke)}function $Dt(t,e,n){var i;i=null,e&&(i=e.d),Qkt(t,new pC(e.n.a-i.b+n.a,e.n.b-i.d+n.b)),Qkt(t,new pC(e.n.a-i.b+n.a,e.n.b+e.o.b+i.a+n.b)),Qkt(t,new pC(e.n.a+e.o.a+i.c+n.a,e.n.b-i.d+n.b)),Qkt(t,new pC(e.n.a+e.o.a+i.c+n.a,e.n.b+e.o.b+i.a+n.b))}function zDt(t,e,n){var i,r,a;for(e.p=n,a=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[new qg(e),new Ug(e)])));bDt(a);)-1==(i=zz(Y5(a),11)).p&&zDt(t,i,n);if(e.i.k==(cTt(),Cse))for(r=new Wd(e.i.j);r.a<r.c.c.length;)(i=zz(t0(r),11))!=e&&-1==i.p&&zDt(t,i,n)}function qDt(t){var e,i,r,a,o;if(a=zz(C4(OJ(o1(t)),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15),r=tJt,a.gc()>=2)for(e=EB((i=a.Kc()).Pb());i.Ob();)o=e,e=EB(i.Pb()),r=n.Math.min(r,(xW(e),e-(xW(o),o)));return r}function HDt(t,e){var n,i,r,a,o;r5(i=new VA,e,i.c.b,i.c);do{for(CP(0!=i.b),n=zz(Oet(i,i.a.a),86),t.b[n.g]=1,a=lwt(n.d,0);a.b!=a.d.c;)o=(r=zz(d3(a),188)).c,1==t.b[o.g]?Bq(t.a,r):2==t.b[o.g]?t.b[o.g]=1:r5(i,o,i.c.b,i.c)}while(0!=i.b)}function UDt(t,e){var n,i,r;if(UI(e)===UI(vZ(t)))return!0;if(!aL(e,15))return!1;if(i=zz(e,15),(r=t.gc())!=i.gc())return!1;if(aL(i,54)){for(n=0;n<r;n++)if(!gW(t.Xb(n),i.Xb(n)))return!1;return!0}return Zmt(t.Kc(),i.Kc())}function GDt(t,e){var n;if(0!=t.c.length){if(2==t.c.length)h$t((f1(0,t.c.length),zz(t.c[0],10)),(Wvt(),kSe)),h$t((f1(1,t.c.length),zz(t.c[1],10)),_Se);else for(n=new Wd(t);n.a<n.c.c.length;)h$t(zz(t0(n),10),e);t.c=P8(Ote,HWt,1,0,5,1)}}function YDt(t){var e,n;if(2!=t.c.length)throw qw(new $v("Order only allowed for two paths."));f1(0,t.c.length),e=zz(t.c[0],17),f1(1,t.c.length),n=zz(t.c[1],17),e.d.i!=n.c.i&&(t.c=P8(Ote,HWt,1,0,5,1),t.c[t.c.length]=n,t.c[t.c.length]=e)}function ZDt(t,e){var n,i,r,a,o;for(i=new m4,a=T4(new Qv(t.g)).a.ec().Kc();a.Ob();){if(!(r=zz(a.Pb(),10))){Mq(e,"There are no classes in a balanced layout.");break}(n=zz(ftt(i,o=t.j[r.p]),15))||Jbt(i,o,n=new Nw),n.Fc(r)}return i}function WDt(t,e,n){var i,r,a,o;if(n)for(r=((i=new lG(n.a.length)).b-i.a)*i.c<0?(nT(),ENe):new ZL(i);r.Ob();)(a=P2(n,zz(r.Pb(),19).a))&&(o=jnt(F2(a,D6t),e),KW(t.f,o,a),U6t in a.a&&Lit(o,F2(a,U6t)),CAt(a,o),DSt(a,o))}function KDt(t,e){var n,i,r;for(DAt(e,"Port side processing",1),r=new Wd(t.a);r.a<r.c.c.length;)ozt(zz(t0(r),10));for(n=new Wd(t.b);n.a<n.c.c.length;)for(i=new Wd(zz(t0(n),29).a);i.a<i.c.c.length;)ozt(zz(t0(i),10));HTt(e)}function XDt(t,e,n){var i,r,a,o,s;if(!(r=t.f)&&(r=zz(t.a.a.ec().Kc().Pb(),57)),zxt(r,e,n),1!=t.a.a.gc())for(i=e*n,o=t.a.a.ec().Kc();o.Ob();)(a=zz(o.Pb(),57))!=r&&((s=h3(a)).f.d?(a.d.d+=i+fQt,a.d.a-=i+fQt):s.f.a&&(a.d.a-=i+fQt))}function VDt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g;return s=i-t,c=r-e,u=(o=n.Math.atan2(s,c))+JQt,l=o-JQt,h=a*n.Math.sin(u)+t,d=a*n.Math.cos(u)+e,f=a*n.Math.sin(l)+t,g=a*n.Math.cos(l)+e,s6(Sst(Ux(CEe,1),lKt,8,0,[new PS(h,d),new PS(f,g)]))}function QDt(t,e,i,r){var a,o,s,c,u,l,h,f;a=i,o=h=e;do{o=t.a[o.p],f=t.g[o.p],c=Uv(t.p[f.p])+Uv(t.d[o.p])-o.d.d,(u=Oit(o,r))&&(l=t.g[u.p],s=Uv(t.p[l.p])+Uv(t.d[u.p])+u.o.b+u.d.a,a=n.Math.min(a,c-(s+RO(t.k,o,u))))}while(h!=o);return a}function JDt(t,e,i,r){var a,o,s,c,u,l,h,f;a=i,o=h=e;do{o=t.a[o.p],f=t.g[o.p],s=Uv(t.p[f.p])+Uv(t.d[o.p])+o.o.b+o.d.a,(u=$st(o,r))&&(l=t.g[u.p],c=Uv(t.p[l.p])+Uv(t.d[u.p])-u.d.d,a=n.Math.min(a,c-(s+RO(t.k,o,u))))}while(h!=o);return a}function tOt(t,e){var n,i;return!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),null!=(i=opt(t.o,e))?i:(aL(n=e.wg(),4)&&(null==n?(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),Kpt(t.o,e)):(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),ykt(t.o,e,n))),n)}function eOt(){eOt=M,ISe=new US("H_LEFT",0),SSe=new US("H_CENTER",1),DSe=new US("H_RIGHT",2),BSe=new US("V_TOP",3),PSe=new US("V_CENTER",4),NSe=new US("V_BOTTOM",5),OSe=new US("INSIDE",6),LSe=new US("OUTSIDE",7),MSe=new US("H_PRIORITY",8)}function nOt(t){var e,n,i,r,a,o,s;if((e=t.Hh(X7t))&&null!=(s=TB(opt((!e.b&&(e.b=new QP((wWt(),xOe),ZOe,e)),e.b),"settingDelegates")))){for(n=new Nw,a=0,o=(r=kRt(s,"\\w+")).length;a<o;++a)i=r[a],n.c[n.c.length]=i;return n}return TX(),TX(),lne}function iOt(t,e){var n,i,r,a,o,s,c;if(!e.f)throw qw(new jv("The input edge is not a tree edge."));for(a=null,r=FWt,i=new Wd(t.d);i.a<i.c.c.length;)s=(n=zz(t0(i),213)).d,c=n.e,zSt(t,s,e)&&!zSt(t,c,e)&&(o=c.e-s.e-n.a)<r&&(r=o,a=n);return a}function rOt(t){var e,n,i,r,a,o;if(!(t.f.e.c.length<=1)){e=0,r=sDt(t),n=RXt;do{for(e>0&&(r=n),o=new Wd(t.f.e);o.a<o.c.c.length;)Hv(AB(vEt(a=zz(t0(o),144),(axt(),voe))))||(i=t$t(t,a),YF(xM(a.d),i));n=sDt(t)}while(!QZ(t,e++,r,n))}}function aOt(t,e){var n,i,r;for(DAt(e,"Layer constraint preprocessing",1),n=new Nw,r=new E2(t.a,0);r.b<r.d.gc();)CP(r.b<r.d.gc()),Kst(i=zz(r.d.Xb(r.c=r.b++),10))&&(oAt(i),n.c[n.c.length]=i,hW(r));0==n.c.length||hct(t,(hWt(),tfe),n),HTt(e)}function oOt(t,e){var n,i,r,a,o;for(a=t.g.a,o=t.g.b,i=new Wd(t.d);i.a<i.c.c.length;)r=(n=zz(t0(i),70)).n,t.a==(Dst(),yue)||t.i==(kYt(),cIe)?r.a=a:t.a==vue||t.i==(kYt(),SIe)?r.a=a+t.j.a-n.o.a:r.a=a+(t.j.a-n.o.a)/2,r.b=o,YF(r,e),o+=n.o.b+t.e}function sOt(t,e,n){var i,r,a,o;for(DAt(n,"Processor set coordinates",1),t.a=0==e.b.b?1:e.b.b,a=null,i=lwt(e.b,0);!a&&i.b!=i.d.c;)Hv(AB(vEt(o=zz(d3(i),86),(UHt(),pxe))))&&(a=o,(r=o.e).a=zz(vEt(o,bxe),19).a,r.b=0);$Tt(t,Bst(a),vat(n,1)),HTt(n)}function cOt(t,e,n){var i,r,a;for(DAt(n,"Processor determine the height for each level",1),t.a=0==e.b.b?1:e.b.b,r=null,i=lwt(e.b,0);!r&&i.b!=i.d.c;)Hv(AB(vEt(a=zz(d3(i),86),(UHt(),pxe))))&&(r=a);r&&tBt(t,s6(Sst(Ux(Vve,1),nJt,86,0,[r])),n),HTt(n)}function uOt(t,e){var n,i,r,a,o;(a=B2(t,"individualSpacings"))&&(!C8(e,(lWt(),SCe))&&(n=new Qs,Qwt(e,SCe,n)),r=zz(tOt(e,SCe),373),i=null,(o=a)&&(i=new AA(o,_rt(o,P8(Vee,lKt,2,0,6,1)))),i&&n5(i,new pI(o,r)))}function lOt(t,e){var n,i,r,a,o,s;return a=null,(J6t in(o=t).a||t8t in o.a||F6t in o.a)&&(s=Ust(e),i=B2(o,J6t),Dgt(new qb(s).a,i),r=B2(o,t8t),Mgt(new Qb(s).a,r),n=N2(o,F6t),S_t(new ew(s).a,n),a=n),a}function hOt(t,e){var n,i,r;if(e===t)return!0;if(aL(e,543)){if(r=zz(e,835),t.a.d!=r.a.d||_K(t).gc()!=_K(r).gc())return!1;for(i=_K(r).Kc();i.Ob();)if(a1(t,(n=zz(i.Pb(),416)).a.cd())!=zz(n.a.dd(),14).gc())return!1;return!0}return!1}function fOt(t){var e,n,i,r;return e=i=zz(t.a,19).a,n=r=zz(t.b,19).a,0==i&&0==r?n-=1:-1==i&&r<=0?(e=0,n-=2):i<=0&&r>0?(e-=1,n-=1):i>=0&&r<0?(e+=1,n+=1):i>0&&r>=0?(e-=1,n+=1):(e+=1,n-=1),new rI(rft(e),rft(n))}function dOt(t,e){return t.c<e.c?-1:t.c>e.c?1:t.b<e.b?-1:t.b>e.b?1:t.a!=e.a?eut(t.a)-eut(e.a):t.d==(X4(),qye)&&e.d==zye?-1:t.d==zye&&e.d==qye?1:0}function gOt(t,e){var n,i,r,a,o;return o=(a=e.a).c.i==e.b?a.d:a.c,i=a.c.i==e.b?a.c:a.d,(r=Ygt(t.a,o,i))>0&&r<tJt?(n=QDt(t.a,i.i,r,t.c),ant(t.a,i.i,-n),n>0):r<0&&-r<tJt&&(n=JDt(t.a,i.i,-r,t.c),ant(t.a,i.i,n),n>0)}function pOt(t,e,n,i){var r,a,o,s,c,u;for(r=(e-t.d)/t.c.c.length,a=0,t.a+=n,t.d=e,u=new Wd(t.c);u.a<u.c.c.length;)s=(c=zz(t0(u),33)).g,o=c.f,Snt(c,c.i+a*r),Int(c,c.j+i*n),Cnt(c,c.g+r),Tnt(c,t.a),++a,dSt(c,new PS(c.g,c.f),new PS(s,o))}function bOt(t){var e,n,i,r,a,o,s;if(null==t)return null;for(s=t.length,o=P8(NNe,y6t,25,r=(s+1)/2|0,15,1),s%2!=0&&(o[--r]=tFt((d1(s-1,t.length),t.charCodeAt(s-1)))),n=0,i=0;n<r;++n)e=tFt(hK(t,i++)),a=tFt(hK(t,i++)),o[n]=(e<<4|a)<<24>>24;return o}function wOt(t){if(t.pe()){var e=t.c;return e.qe()?t.o="["+e.n:e.pe()?t.o="["+e.ne():t.o="[L"+e.ne()+";",t.b=e.me()+"[]",void(t.k=e.oe()+"[]")}var n=t.j,i=t.d;i=i.split("/"),t.o=zpt(".",[n,zpt("$",i)]),t.b=zpt(".",[n,zpt(".",i)]),t.k=i[i.length-1]}function mOt(t,e){var n,i,r,a,o;for(o=null,a=new Wd(t.e.a);a.a<a.c.c.length;)if((r=zz(t0(a),121)).b.a.c.length==r.g.a.c.length){for(i=r.e,o=iCt(r),n=r.e-zz(o.a,19).a+1;n<r.e+zz(o.b,19).a;n++)e[n]<e[i]&&(i=n);e[i]<e[r.e]&&(--e[r.e],++e[i],r.e=i)}}function yOt(t){var e,i,r,a,o,s,c;for(r=RXt,i=jXt,e=new Wd(t.e.b);e.a<e.c.c.length;)for(o=new Wd(zz(t0(e),29).a);o.a<o.c.c.length;)a=zz(t0(o),10),s=(c=Uv(t.p[a.p]))+Uv(t.b[t.g[a.p].p]),r=n.Math.min(r,c),i=n.Math.max(i,s);return i-r}function vOt(t,e,n,i){var r,a,o,s,c,u;for(c=null,s=0,u=(r=_Rt(t,e)).gc();s<u;++s)if(yR(i,xK(z9(t,a=zz(r.Xb(s),170)))))if(o=kK(z9(t,a)),null==n){if(null==o)return a;!c&&(c=a)}else{if(yR(n,o))return a;null==o&&!c&&(c=a)}return null}function xOt(t,e,n,i){var r,a,o,s,c,u;for(c=null,s=0,u=(r=ARt(t,e)).gc();s<u;++s)if(yR(i,xK(z9(t,a=zz(r.Xb(s),170)))))if(o=kK(z9(t,a)),null==n){if(null==o)return a;!c&&(c=a)}else{if(yR(n,o))return a;null==o&&!c&&(c=a)}return null}function kOt(t,e,n){var i,r,a,o,s,c;if(o=new bc,s=sPt(t.e.Tg(),e),i=zz(t.g,119),JE(),zz(e,66).Oj())for(a=0;a<t.i;++a)r=i[a],s.rl(r.ak())&&h7(o,r);else for(a=0;a<t.i;++a)r=i[a],s.rl(r.ak())&&(c=r.dd(),h7(o,n?zIt(t,e,a,o.i,c):c));return N3(o)}function _Ot(t,e){var n,i,r,a;for(n=new Hdt(sle),LCt(),r=0,a=(i=Sst(Ux(sle,1),LKt,227,0,[Jue,ele,Que,tle,nle,Vue])).length;r<a;++r)gF(n,i[r],new Nw);return QA(OK(DK(gtt(new FH(null,new g1(t.b,16)),new Jn),new ti),new lp(e)),new hp(n)),n}function AOt(t,e,i){var r,a,o,s,c,u,l,h;for(o=e.Kc();o.Ob();)u=(a=zz(o.Pb(),33)).i+a.g/2,h=a.j+a.f/2,c=u-((s=t.f).i+s.g/2),l=h-(s.j+s.f/2),r=n.Math.sqrt(c*c+l*l),c*=t.e/r,l*=t.e/r,i?(u-=c,h-=l):(u+=c,h+=l),Snt(a,u-a.g/2),Int(a,h-a.f/2)}function EOt(t){var e,n,i;if(!t.c&&null!=t.b){for(e=t.b.length-4;e>=0;e-=2)for(n=0;n<=e;n+=2)(t.b[n]>t.b[n+2]||t.b[n]===t.b[n+2]&&t.b[n+1]>t.b[n+3])&&(i=t.b[n+2],t.b[n+2]=t.b[n],t.b[n]=i,i=t.b[n+3],t.b[n+3]=t.b[n+1],t.b[n+1]=i);t.c=!0}}function TOt(t,e){var n,i,r,a,o,s;for(a=(1==e?Woe:Zoe).a.ec().Kc();a.Ob();)for(r=zz(a.Pb(),103),s=zz(l6(t.f.c,r),21).Kc();s.Ob();)switch(o=zz(s.Pb(),46),i=zz(o.b,81),n=zz(o.a,189).c,r.g){case 2:case 1:i.g.d+=n;break;case 4:case 3:i.g.c+=n}}function COt(t,e){var n,i,r,a,o,s,c,u,l;for(u=-1,l=0,s=0,c=(o=t).length;s<c;++s){for(a=o[s],n=new xq(-1==u?t[0]:t[u],e,(Tlt(),sme)),i=0;i<a.length;i++)for(r=i+1;r<a.length;r++)LP(a[i],(hWt(),gfe))&&LP(a[r],gfe)&&fZt(n,a[i],a[r])>0&&++l;++u}return l}function SOt(t){var e;return(e=new fN(t_(t.gm))).a+="@",cM(e,(eut(t)>>>0).toString(16)),t.kh()?(e.a+=" (eProxyURI: ",sM(e,t.qh()),t.$g()&&(e.a+=" eClass: ",sM(e,t.$g())),e.a+=")"):t.$g()&&(e.a+=" (eClass: ",sM(e,t.$g()),e.a+=")"),e.a}function IOt(t){var e,n,i;if(t.e)throw qw(new $v((_B(bie),OVt+bie.k+LVt)));for(t.d==(zht(),zCe)&&EGt(t,jCe),n=new Wd(t.a.a);n.a<n.c.c.length;)(e=zz(t0(n),307)).g=e.i;for(i=new Wd(t.a.b);i.a<i.c.c.length;)zz(t0(i),57).i=jXt;return t.b.Le(t),t}function MOt(t,e){var n,i,r,a,o;if(e<2*t.b)throw qw(new jv("The knot vector must have at least two time the dimension elements."));for(t.f=1,r=0;r<t.b;r++)Wz(t.e,0);for(n=o=e+1-2*t.b,a=1;a<o;a++)Wz(t.e,a/n);if(t.d)for(i=0;i<t.b;i++)Wz(t.e,1)}function DOt(t,e){var n,i,r,a,o;if(a=e,!(o=zz(Zit(CZ(t.i),a),33)))throw qw(new nx("Unable to find elk node for json object '"+F2(a,U6t)+"' Panic!"));i=N2(a,"edges"),NIt((n=new sI(t,o)).a,n.b,i),r=N2(a,O6t),Fxt(new Nb(t).a,r)}function OOt(t,e,n,i){var r,a,o,s,c;if(null!=i){if(r=t.d[e])for(a=r.g,c=r.i,s=0;s<c;++s)if((o=zz(a[s],133)).Sh()==n&&Pht(i,o.cd()))return s}else if(r=t.d[e])for(a=r.g,c=r.i,s=0;s<c;++s)if(UI((o=zz(a[s],133)).cd())===UI(i))return s;return-1}function LOt(t,e){var n,i;return aL(n=null==e?HI(DV(t.f,null)):lT(t.g,e),235)?((i=zz(n,235)).Qh(),i):aL(n,498)?((i=zz(n,1938).a)&&(null==i.yb||(null==e?_St(t.f,null,i):cdt(t.g,e,i))),i):null}function NOt(t){var e,n,i,r,a,o,s;if(jBt(),null==t)return null;if((r=t.length)%2!=0)return null;for(e=K9(t),n=P8(NNe,y6t,25,a=r/2|0,15,1),i=0;i<a;i++){if(-1==(o=XLe[e[2*i]]))return null;if(-1==(s=XLe[e[2*i+1]]))return null;n[i]=(o<<4|s)<<24>>24}return n}function POt(t,e,n){var i,r,a;if(!(r=zz(cK(t.i,e),306)))if(r=new pet(t.d,e,n),yU(t.i,e,r),sbt(e))_L(t.a,e.c,e.b,r);else switch(a=NCt(e),i=zz(cK(t.p,a),244),a.g){case 1:case 3:r.j=!0,kv(i,e.b,r);break;case 4:case 2:r.k=!0,kv(i,e.c,r)}return r}function BOt(t,e,n,i){var r,a,o,s,c,u;if(s=new bc,c=sPt(t.e.Tg(),e),r=zz(t.g,119),JE(),zz(e,66).Oj())for(o=0;o<t.i;++o)a=r[o],c.rl(a.ak())&&h7(s,a);else for(o=0;o<t.i;++o)a=r[o],c.rl(a.ak())&&(u=a.dd(),h7(s,i?zIt(t,e,o,s.i,u):u));return Vgt(s,n)}function FOt(t,e){var i,r,a,o,s,c;if((r=t.b[e.p])>=0)return r;for(a=1,o=new Wd(e.j);o.a<o.c.c.length;)for(i=new Wd(zz(t0(o),11).g);i.a<i.c.c.length;)e!=(c=zz(t0(i),17).d.i)&&(s=FOt(t,c),a=n.Math.max(a,s+1));return rgt(t,e,a),a}function ROt(t,e,n){var i,r,a;for(i=1;i<t.c.length;i++){for(f1(i,t.c.length),a=zz(t.c[i],10),r=i;r>0&&e.ue((f1(r-1,t.c.length),zz(t.c[r-1],10)),a)>0;)a5(t,r,(f1(r-1,t.c.length),zz(t.c[r-1],10))),--r;f1(r,t.c.length),t.c[r]=a}n.a=new Pw,n.b=new Pw}function jOt(t,e,n){var i,r,a,o,s,c,u;for(u=new VR(i=zz(e.e&&e.e(),9),zz(TF(i,i.length),9),0),o=0,s=(a=kRt(n,"[\\[\\]\\s,]+")).length;o<s;++o)if(0!=REt(r=a[o]).length){if(null==(c=HIt(t,r)))return null;urt(u,zz(c,22))}return u}function $Ot(t){var e,i,r;for(i=new Wd(t.a.a.b);i.a<i.c.c.length;)e=zz(t0(i),81),xW(0),(r=0)>0&&((!pD(t.a.c)||!e.n.d)&&(!bD(t.a.c)||!e.n.b)&&(e.g.d-=n.Math.max(0,r/2-.5)),(!pD(t.a.c)||!e.n.a)&&(!bD(t.a.c)||!e.n.c)&&(e.g.a+=n.Math.max(0,r-1)))}function zOt(t,e,n){var i;if(2==(t.c-t.b&t.a.length-1))e==(kYt(),uIe)||e==cIe?(_et(zz(Act(t),15),(Wvt(),kSe)),_et(zz(Act(t),15),_Se)):(_et(zz(Act(t),15),(Wvt(),_Se)),_et(zz(Act(t),15),kSe));else for(i=new dK(t);i.a!=i.b;)_et(zz($lt(i),15),n)}function qOt(t,e){var n,i,r,a,o,s;for(o=new E2(i=qz(new uw(t)),i.c.length),s=new E2(r=qz(new uw(e)),r.c.length),a=null;o.b>0&&s.b>0&&(CP(o.b>0),n=zz(o.a.Xb(o.c=--o.b),33),CP(s.b>0),n==zz(s.a.Xb(s.c=--s.b),33));)a=n;return a}function HOt(t,e){var i,r,a,o;return a=t.a*sVt+1502*t.b,o=t.b*sVt+11,a+=i=n.Math.floor(o*cVt),o-=i*uVt,a%=uVt,t.a=a,t.b=o,e<=24?n.Math.floor(t.a*Mne[e]):((r=t.a*(1<<e-24)+n.Math.floor(t.b*Dne[e]))>=2147483648&&(r-=WXt),r)}function UOt(t,e,n){var i,r,a,o;g0(t,e)>g0(t,n)?(i=sdt(n,(kYt(),cIe)),t.d=i.dc()?0:sH(zz(i.Xb(0),11)),o=sdt(e,SIe),t.b=o.dc()?0:sH(zz(o.Xb(0),11))):(r=sdt(n,(kYt(),SIe)),t.d=r.dc()?0:sH(zz(r.Xb(0),11)),a=sdt(e,cIe),t.b=a.dc()?0:sH(zz(a.Xb(0),11)))}function GOt(t){var e,n,i,r,a,o,s;if(t&&(e=t.Hh(X7t))&&null!=(o=TB(opt((!e.b&&(e.b=new QP((wWt(),xOe),ZOe,e)),e.b),"conversionDelegates")))){for(s=new Nw,r=0,a=(i=kRt(o,"\\w+")).length;r<a;++r)n=i[r],s.c[s.c.length]=n;return s}return TX(),TX(),lne}function YOt(t,e){var n,i,r,a;for(n=t.o.a,a=zz(zz(l6(t.r,e),21),84).Kc();a.Ob();)(r=zz(a.Pb(),111)).e.a=n*Uv(EB(r.b.We(Lre))),r.e.b=(i=r.b).Xe((lWt(),oCe))?i.Hf()==(kYt(),uIe)?-i.rf().b-Uv(EB(i.We(oCe))):Uv(EB(i.We(oCe))):i.Hf()==(kYt(),uIe)?-i.rf().b:0}function ZOt(t){var e,n,i,r,a,o,s,c;e=!0,r=null,a=null;t:for(c=new Wd(t.a);c.a<c.c.c.length;)for(i=new cG(JL(fdt(s=zz(t0(c),10)).a.Kc(),new l));bDt(i);){if(n=zz(Y5(i),17),r&&r!=s){e=!1;break t}if(r=s,o=n.c.i,a&&a!=o){e=!1;break t}a=o}return e}function WOt(t,e,n){var i,r,a,o,s,c;for(a=-1,s=-1,o=0;o<e.c.length&&(f1(o,e.c.length),!((r=zz(e.c[o],329)).c>t.c));o++)r.a>=t.s&&(a<0&&(a=o),s=o);return c=(t.s+t.c)/2,a>=0&&(c=HE((f1(i=QFt(t,e,a,s),e.c.length),zz(e.c[i],329))),dMt(e,i,n)),c}function KOt(){KOt=M,f_e=new ZD((lWt(),aTe),1.3),b_e=kTe,I_e=new WD(15),S_e=new ZD(ZTe,I_e),O_e=new ZD(LCe,15),d_e=lTe,k_e=RTe,__e=zTe,A_e=HTe,x_e=BTe,E_e=YTe,M_e=hCe,LDt(),C_e=c_e,v_e=o_e,T_e=s_e,D_e=l_e,w_e=a_e,m_e=STe,y_e=ITe,p_e=r_e,g_e=i_e,L_e=h_e}function XOt(t,e,n){var i,r,a,o,s;for(qit(r=new kc,(xW(e),e)),!r.b&&(r.b=new QP((wWt(),xOe),ZOe,r)),s=r.b,o=1;o<n.length;o+=2)ykt(s,n[o-1],n[o]);for(!t.Ab&&(t.Ab=new nY(RDe,t,0,3)),i=t.Ab,a=0;a<0;++a)i=yW(zz(Ket(i,i.i-1),590));h7(i,r)}function VOt(t,e,n){var i,r,a;for(LB.call(this,new Nw),this.a=e,this.b=n,this.e=t,t.b&&Xzt(t),i=t.a,this.d=QK(i.a,this.a),this.c=QK(i.b,this.b),udt(this,this.d,this.c),vIt(this),a=this.e.e.a.ec().Kc();a.Ob();)(r=zz(a.Pb(),266)).c.c.length>0&&BHt(this,r)}function QOt(t,e,n,i,r,a){var o,s,c;if(!r[e.b]){for(r[e.b]=!0,!(o=i)&&(o=new v6),Wz(o.e,e),c=a[e.b].Kc();c.Ob();)(s=zz(c.Pb(),282)).d!=n&&s.c!=n&&(s.c!=e&&QOt(t,s.c,e,o,r,a),s.d!=e&&QOt(t,s.d,e,o,r,a),Wz(o.c,s),wst(o.d,s.b));return o}return null}function JOt(t){var e,n,i;for(e=0,n=new Wd(t.e);n.a<n.c.c.length;)c5(new FH(null,new g1(zz(t0(n),17).b,16)),new wn)&&++e;for(i=new Wd(t.g);i.a<i.c.c.length;)c5(new FH(null,new g1(zz(t0(i),17).b,16)),new mn)&&++e;return e>=2}function tLt(t,e){var n,i,r,a;for(DAt(e,"Self-Loop pre-processing",1),i=new Wd(t.a);i.a<i.c.c.length;)jdt(n=zz(t0(i),10))&&(a=new Dbt(n),hct(n,(hWt(),Mfe),a),kjt(a),QA(OK(gtt(new FH(null,new g1((r=a).d,16)),new qi),new Hi),new Ui),rPt(r));HTt(e)}function eLt(t,e,n,i,r){var a,o,s,c,u;for(a=t.c.d.j,o=zz(Fwt(n,0),8),u=1;u<n.b;u++)c=zz(Fwt(n,u),8),r5(i,o,i.c.b,i.c),s=xL(YF(new gD(o),c),.5),YF(s,xL(new ZJ(hut(a)),r)),r5(i,s,i.c.b,i.c),o=c,a=0==e?Tft(a):Aft(a);Bq(i,(CP(0!=n.b),zz(n.c.b.c,8)))}function nLt(t){return eOt(),!(Iot(MQ(_U(OSe,Sst(Ux(USe,1),LKt,93,0,[LSe])),t))>1||Iot(MQ(_U(ISe,Sst(Ux(USe,1),LKt,93,0,[SSe,DSe])),t))>1||Iot(MQ(_U(BSe,Sst(Ux(USe,1),LKt,93,0,[PSe,NSe])),t))>1)}function iLt(t,e){var n,i,r;return(n=e.Hh(t.a))&&null!=(r=TB(opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),"affiliation")))?-1==(i=yN(r,QAt(35)))?cft(t,oG(t,Zet(e.Hj())),r):0==i?cft(t,null,r.substr(1)):cft(t,r.substr(0,i),r.substr(i+1)):null}function rLt(t){var e,n;try{return null==t?YWt:qdt(t)}catch(i){if(aL(i=dst(i),102))return e=i,n=t_(nut(t))+"@"+(OA(),(imt(t)>>>0).toString(16)),jbt(_st(),(fE(),"Exception during lenientFormat for "+n),e),"<"+n+" threw "+t_(e.gm)+">";throw qw(i)}}function aLt(t){switch(t.g){case 0:return new sh;case 1:return new nh;case 2:return new OE;case 3:return new Ia;case 4:return new FF;case 5:return new ch;default:throw qw(new jv("No implementation is available for the layerer "+(null!=t.f?t.f:""+t.g)))}}function oLt(t,e,n){var i,r,a;for(a=new Wd(t.t);a.a<a.c.c.length;)(i=zz(t0(a),268)).b.s<0&&i.c>0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&Bq(e,i.b));for(r=new Wd(t.i);r.a<r.c.c.length;)(i=zz(t0(r),268)).a.s<0&&i.c>0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&Bq(n,i.a))}function sLt(t){var e,n,i;if(null==t.g&&(t.d=t.si(t.f),h7(t,t.d),t.c))return t.f;if(i=(e=zz(t.g[t.i-1],47)).Pb(),t.e=e,(n=t.si(i)).Ob())t.d=n,h7(t,n);else for(t.d=null;!e.Ob()&&(OZ(t.g,--t.i,null),0!=t.i);)e=zz(t.g[t.i-1],47);return i}function cLt(t,e){var n,i,r,a,o,s;if(r=(i=e).ak(),LPt(t.e,r)){if(r.hi()&&U3(t,r,i.dd()))return!1}else for(s=sPt(t.e.Tg(),r),n=zz(t.g,119),a=0;a<t.i;++a)if(o=n[a],s.rl(o.ak()))return!Pht(o,i)&&(zz(umt(t,a,e),72),!0);return h7(t,e)}function uLt(t,e,i,r){var a,o,s;for(zf(a=new Lmt(t),(cTt(),Tse)),hct(a,(hWt(),pfe),e),hct(a,Cfe,r),hct(a,(HZt(),nwe),(V_t(),ZSe)),hct(a,lfe,e.c),hct(a,hfe,e.d),YPt(e,a),s=n.Math.floor(i/2),o=new Wd(a.j);o.a<o.c.c.length;)zz(t0(o),11).n.b=s;return a}function lLt(t,e){var n,i,r,a,o,s,c,u,l;for(c=uP(t.c-t.b&t.a.length-1),u=null,l=null,a=new dK(t);a.a!=a.b;)r=zz($lt(a),10),n=(s=zz(vEt(r,(hWt(),lfe)),11))?s.i:null,i=(o=zz(vEt(r,hfe),11))?o.i:null,u==n&&l==i||(GDt(c,e),u=n,l=i),c.c[c.c.length]=r;GDt(c,e)}function hLt(t){var e,i,r,a,o,s;for(e=0,i=new Wd(t.a);i.a<i.c.c.length;)for(a=new cG(JL(ddt(zz(t0(i),10)).a.Kc(),new l));bDt(a);)t==(r=zz(Y5(a),17)).d.i.c&&r.c.j==(kYt(),SIe)&&(o=b1(r.c).b,s=b1(r.d).b,e=n.Math.max(e,n.Math.abs(s-o)));return e}function fLt(t,e,n){var i,r;DAt(n,"Remove overlaps",1),n.n&&e&&v0(n,c2(e),(qut(),sMe)),i=zz(tOt(e,(gB(),Kxe)),33),t.f=i,t.a=Amt(zz(tOt(e,(Zvt(),Fke)),293)),id(t,(xW(r=EB(tOt(e,(lWt(),LCe)))),r)),WGt(t,e,pBt(i),n),n.n&&e&&v0(n,c2(e),(qut(),sMe))}function dLt(t,e,i){switch(i.g){case 1:return new PS(e.a,n.Math.min(t.d.b,e.b));case 2:return new PS(n.Math.max(t.c.a,e.a),e.b);case 3:return new PS(e.a,n.Math.max(t.c.b,e.b));case 4:return new PS(n.Math.min(e.a,t.d.a),e.b)}return new PS(e.a,e.b)}function gLt(t,e,n,i){var r,a,o,s,c,u,l,h,f;for(h=i?(kYt(),SIe):(kYt(),cIe),r=!1,u=0,l=(c=e[n]).length;u<l;++u)LR(zz(vEt(s=c[u],(HZt(),nwe)),98))||(o=s.e,(f=!sdt(s,h).dc()&&!!o)&&(a=U_t(o),t.b=new Y_t(a,i?0:a.length-1)),r|=ojt(t,s,h,f));return r}function pLt(t){var e,n,i;for(Wz(e=uP(1+(!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c).i),(!t.d&&(t.d=new lR(jMe,t,8,5)),t.d)),i=new DL((!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c));i.e!=i.i.gc();)Wz(e,(!(n=zz(kwt(i),118)).d&&(n.d=new lR(jMe,n,8,5)),n.d));return vZ(e),new MM(e)}function bLt(t){var e,n,i;for(Wz(e=uP(1+(!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c).i),(!t.e&&(t.e=new lR(jMe,t,7,4)),t.e)),i=new DL((!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c));i.e!=i.i.gc();)Wz(e,(!(n=zz(kwt(i),118)).e&&(n.e=new lR(jMe,n,7,4)),n.e));return vZ(e),new MM(e)}function wLt(t){var e,n,i,r;if(null==t)return null;if(i=zzt(t,!0),r=B9t.length,yR(i.substr(i.length-r,r),B9t))if(4==(n=i.length)){if(d1(0,i.length),43==(e=i.charCodeAt(0)))return qLe;if(45==e)return zLe}else if(3==n)return qLe;return gTt(i)}function mLt(t){var e,n,i,r;for(e=0,n=0,r=new Wd(t.j);r.a<r.c.c.length;)if(e=pU(adt(e,H6(DK(new FH(null,new g1((i=zz(t0(r),11)).e,16)),new Va)))),n=pU(adt(n,H6(DK(new FH(null,new g1(i.g,16)),new Qa)))),e>1||n>1)return 2;return e+n==1?2:0}function yLt(t,e,n){var i,r,a,o;for(DAt(n,"ELK Force",1),Hv(AB(tOt(e,(fFt(),Wae))))||kQ(new Ag((UE(),new Bv(e)))),kxt(o=fct(e)),Yct(t,zz(vEt(o,Uae),424)),r=(a=H$t(t.a,o)).Kc();r.Ob();)i=zz(r.Pb(),231),SRt(t.b,i,vat(n,1/a.gc()));CYt(o=GYt(a)),HTt(n)}function vLt(t,e){var n,i,r;if(DAt(e,"Breaking Point Processor",1),DGt(t),Hv(AB(vEt(t,(HZt(),Uwe))))){for(i=new Wd(t.b);i.a<i.c.c.length;)for(n=0,r=new Wd(zz(t0(i),29).a);r.a<r.c.c.length;)zz(t0(r),10).p=n++;uqt(t),HPt(t,!0),HPt(t,!1)}HTt(e)}function xLt(t,e,n){var i,r,a,o,s;for(o=t.c,a=(n.q?n.q:(TX(),TX(),hne)).vc().Kc();a.Ob();)r=zz(a.Pb(),42),!k_(DK(new FH(null,new g1(o,16)),new og(new LS(e,r)))).sd((pE(),eie))&&(aL(s=r.dd(),4)&&null!=(i=Jpt(s))&&(s=i),e.Ye(zz(r.cd(),146),s))}function kLt(t,e){var n,i,r,a;if(e){for(a=!(r=aL(t.Cb,88)||aL(t.Cb,99))&&aL(t.Cb,322),n=new DL((!e.a&&(e.a=new oU(e,KDe,e)),e.a));n.e!=n.i.gc();)if(i=d$t(zz(kwt(n),87)),r?aL(i,88):a?aL(i,148):i)return i;return r?(wWt(),pOe):(wWt(),fOe)}return null}function _Lt(t,e){var n,i,r,a,o;for(DAt(e,"Constraints Postprocessor",1),a=0,r=new Wd(t.b);r.a<r.c.c.length;){for(o=0,i=new Wd(zz(t0(r),29).a);i.a<i.c.c.length;)(n=zz(t0(i),10)).k==(cTt(),Sse)&&(hct(n,(HZt(),kbe),rft(a)),hct(n,zpe,rft(o)),++o);++a}HTt(e)}function ALt(t,e,n,i){var r,a,o,s,c,u;for(ZF(s=new PS(n,i),zz(vEt(e,(UHt(),txe)),8)),u=lwt(e.b,0);u.b!=u.d.c;)YF((c=zz(d3(u),86)).e,s),Bq(t.b,c);for(o=lwt(e.a,0);o.b!=o.d.c;){for(r=lwt((a=zz(d3(o),188)).a,0);r.b!=r.d.c;)YF(zz(d3(r),8),s);Bq(t.a,a)}}function ELt(t,e,n){var i,r,a;if(!(a=zHt((MCt(),JOe),t.Tg(),e)))throw qw(new jv(a6t+e.ne()+o6t));if(JE(),!zz(a,66).Oj()&&!(a=J1(z9(JOe,a))))throw qw(new jv(a6t+e.ne()+o6t));r=zz((i=t.Yg(a))>=0?t._g(i,!0,!0):oMt(t,a,!0),153),zz(r,215).ml(e,n)}function TLt(t,e){var n,i,r,a,o;for(n=new Nw,r=gtt(new FH(null,new g1(t,16)),new Ao),a=gtt(new FH(null,new g1(t,16)),new Eo),o=E9(q6(LK(CNt(Sst(Ux(nie,1),HWt,833,0,[r,a])),new To))),i=1;i<o.length;i++)o[i]-o[i-1]>=2*e&&Wz(n,new xz(o[i-1]+e,o[i]-e));return n}function CLt(t,e,n){DAt(n,"Eades radial",1),n.n&&e&&v0(n,c2(e),(qut(),sMe)),t.d=zz(tOt(e,(gB(),Kxe)),33),t.c=Uv(EB(tOt(e,(Zvt(),Bke)))),t.e=Amt(zz(tOt(e,Fke),293)),t.a=dgt(zz(tOt(e,jke),426)),t.b=Ukt(zz(tOt(e,Oke),340)),akt(t),n.n&&e&&v0(n,c2(e),(qut(),sMe))}function SLt(t,e,n){var i,r,a,o,s;if(n)for(a=((i=new lG(n.a.length)).b-i.a)*i.c<0?(nT(),ENe):new ZL(i);a.Ob();)(r=P2(n,zz(a.Pb(),19).a))&&(Lit(o=O3(t,(e_(),s=new _y,!!e&&qLt(s,e),s),r),F2(r,U6t)),CAt(r,o),DSt(r,o),Bct(t,r,o))}function ILt(t){var e,n,i,r;if(!t.j){if(r=new Ic,null==(e=COe).a.zc(t,e)){for(i=new DL(xV(t));i.e!=i.i.gc();)wZ(r,ILt(n=zz(kwt(i),26))),h7(r,n);e.a.Bc(t)}olt(r),t.j=new NM((zz(Ket(XX((XZ(),eOe).o),11),18),r.i),r.g),C5(t).b&=-33}return t.j}function MLt(t){var e,n,i,r;if(null==t)return null;if(i=zzt(t,!0),r=B9t.length,yR(i.substr(i.length-r,r),B9t))if(4==(n=i.length)){if(d1(0,i.length),43==(e=i.charCodeAt(0)))return ULe;if(45==e)return HLe}else if(3==n)return ULe;return new Bm(i)}function DLt(t){var e,n,i;return 0!=((n=t.l)&n-1)||0!=((i=t.m)&i-1)||0!=((e=t.h)&e-1)||0==e&&0==i&&0==n?-1:0==e&&0==i&&0!=n?wit(n):0==e&&0!=i&&0==n?wit(i)+22:0!=e&&0==i&&0==n?wit(e)+44:-1}function OLt(t,e){var n,i,r,a;for(DAt(e,"Edge joining",1),n=Hv(AB(vEt(t,(HZt(),Bwe)))),i=new Wd(t.b);i.a<i.c.c.length;)for(a=new E2(zz(t0(i),29).a,0);a.b<a.d.gc();)CP(a.b<a.d.gc()),(r=zz(a.d.Xb(a.c=a.b++),10)).k==(cTt(),Cse)&&(aUt(r,n),hW(a));HTt(e)}function LLt(t,e,n){var i;if(l2(t.b),SY(t.b,(Sdt(),q_e),(ME(),UAe)),SY(t.b,H_e,e.g),SY(t.b,U_e,e.a),t.a=LHt(t.b,e),DAt(n,"Compaction by shrinking a tree",t.a.c.length),e.i.c.length>1)for(i=new Wd(t.a);i.a<i.c.c.length;)zz(t0(i),51).pf(e,vat(n,1));HTt(n)}function NLt(t,e){var n,i,r,a,o;for(r=e.a&t.f,a=null,i=t.b[r];;i=i.b){if(i==e){a?a.b=e.b:t.b[r]=e.b;break}a=i}for(o=e.f&t.f,a=null,n=t.c[o];;n=n.d){if(n==e){a?a.d=e.d:t.c[o]=e.d;break}a=n}e.e?e.e.c=e.c:t.a=e.c,e.c?e.c.e=e.e:t.e=e.e,--t.i,++t.g}function PLt(t){var e,i,r,a,o,s,c,u,l,h;for(i=t.o,e=t.p,s=FWt,a=$Kt,c=FWt,o=$Kt,l=0;l<i;++l)for(h=0;h<e;++h)yyt(t,l,h)&&(s=n.Math.min(s,l),a=n.Math.max(a,l),c=n.Math.min(c,h),o=n.Math.max(o,h));return u=a-s+1,r=o-c+1,new KK(rft(s),rft(c),rft(u),rft(r))}function BLt(t,e){var n,i,r,a;for(CP((a=new E2(t,0)).b<a.d.gc()),n=zz(a.d.Xb(a.c=a.b++),140);a.b<a.d.gc();)CP(a.b<a.d.gc()),r=new yq((i=zz(a.d.Xb(a.c=a.b++),140)).c,n.d,e),CP(a.b>0),a.a.Xb(a.c=--a.b),vF(a,r),CP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),r.a=!1,n=i}function FLt(t){var e,n,i,r,a;for(i=zz(vEt(t,(hWt(),Rhe)),11),a=new Wd(t.j);a.a<a.c.c.length;){for(n=new Wd((r=zz(t0(a),11)).g);n.a<n.c.c.length;)return EJ(zz(t0(n),17),i),r;for(e=new Wd(r.e);e.a<e.c.c.length;)return TJ(zz(t0(e),17),i),r}return null}function RLt(t,e,i){var r,a;Xlt(r=fot(i.q.getTime()),0)<0?(a=XKt-pU(dpt(k9(r),XKt)))==XKt&&(a=0):a=pU(dpt(r,XKt)),1==e?PZ(t,48+(a=n.Math.min((a+50)/100|0,9))&VKt):2==e?_tt(t,a=n.Math.min((a+5)/10|0,99),2):(_tt(t,a,3),e>3&&_tt(t,0,e-3))}function jLt(t){var e,n,i,r;return UI(vEt(t,(HZt(),ube)))===UI((cht(),wSe))?!t.e&&UI(vEt(t,Fpe))!==UI((jot(),xhe)):(i=zz(vEt(t,Rpe),292),r=Hv(AB(vEt(t,qpe)))||UI(vEt(t,Hpe))===UI((Dit(),ule)),e=zz(vEt(t,Bpe),19).a,n=t.a.c.length,!r&&i!=(jot(),xhe)&&(0==e||e>n))}function $Lt(t){var e,n;for(n=0;n<t.c.length&&!(uH((f1(n,t.c.length),zz(t.c[n],113)))>0);n++);if(n>0&&n<t.c.length-1)return n;for(e=0;e<t.c.length&&!(uH((f1(e,t.c.length),zz(t.c[e],113)))>0);e++);return e>0&&n<t.c.length-1?e:t.c.length/2|0}function zLt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=6&&e){if(yxt(t,e))throw qw(new jv(p6t+RMt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?lxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Pwt(e,t,6,i)),(i=XB(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,6,e,e))}function qLt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=9&&e){if(yxt(t,e))throw qw(new jv(p6t+ZFt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?fxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Pwt(e,t,9,i)),(i=VB(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,9,e,e))}function HLt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(yxt(t,e))throw qw(new jv(p6t+dqt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?Txt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Pwt(e,t,12,i)),(i=KB(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,3,e,e))}function ULt(t){var e,n,i,r,a;if(i=Mxt(t),null==(a=t.j)&&i)return t.$j()?null:i.zj();if(aL(i,148)){if((n=i.Aj())&&(r=n.Nh())!=t.i){if((e=zz(i,148)).Ej())try{t.g=r.Kh(e,a)}catch(e){if(!aL(e=dst(e),78))throw qw(e);t.g=null}t.i=r}return t.g}return null}function GLt(t){var e;return Wz(e=new Nw,new PT(new PS(t.c,t.d),new PS(t.c+t.b,t.d))),Wz(e,new PT(new PS(t.c,t.d),new PS(t.c,t.d+t.a))),Wz(e,new PT(new PS(t.c+t.b,t.d+t.a),new PS(t.c+t.b,t.d))),Wz(e,new PT(new PS(t.c+t.b,t.d+t.a),new PS(t.c,t.d+t.a))),e}function YLt(t,e,n,i){var r,a,o;if(o=Okt(e,n),i.c[i.c.length]=e,-1==t.j[o.p]||2==t.j[o.p]||t.a[e.p])return i;for(t.j[o.p]=-1,a=new cG(JL(hdt(o).a.Kc(),new l));bDt(a);)if(!d5(r=zz(Y5(a),17))&&(d5(r)||r.c.i.c!=r.d.i.c)&&r!=e)return YLt(t,r,o,i);return i}function ZLt(t,e,n){var i,r;for(r=e.a.ec().Kc();r.Ob();)i=zz(r.Pb(),79),!zz(FZ(t.b,i),266)&&(QQ(SEt(i))==QQ(DEt(i))?nBt(t,i,n):SEt(i)==QQ(DEt(i))?null==FZ(t.c,i)&&null!=FZ(t.b,DEt(i))&&aGt(t,i,n,!1):null==FZ(t.d,i)&&null!=FZ(t.b,SEt(i))&&aGt(t,i,n,!0))}function WLt(t,e){var n,i,r,a,o,s,c;for(r=t.Kc();r.Ob();)for(i=zz(r.Pb(),10),SJ(s=new ITt,i),USt(s,(kYt(),cIe)),hct(s,(hWt(),kfe),(lN(),!0)),o=e.Kc();o.Ob();)a=zz(o.Pb(),10),SJ(c=new ITt,a),USt(c,SIe),hct(c,kfe,!0),hct(n=new gV,kfe,!0),TJ(n,s),EJ(n,c)}function KLt(t,e,n,i){var r,a,o,s;r=Opt(t,e,n),a=Opt(t,n,e),o=zz(FZ(t.c,e),112),s=zz(FZ(t.c,n),112),r<a?new GJ((M6(),Eve),o,s,a-r):a<r?new GJ((M6(),Eve),s,o,r-a):(0!=r||e.i&&n.i&&i[e.i.c][n.i.c])&&(new GJ((M6(),Eve),o,s,0),new GJ(Eve,s,o,0))}function XLt(t,e){var n,i,r,a,o,s;for(r=0,o=new Wd(e.a);o.a<o.c.c.length;)for(r+=(a=zz(t0(o),10)).o.b+a.d.a+a.d.d+t.e,i=new cG(JL(fdt(a).a.Kc(),new l));bDt(i);)(n=zz(Y5(i),17)).c.i.k==(cTt(),Ise)&&(r+=(s=zz(vEt(n.c.i,(hWt(),pfe)),10)).o.b+s.d.a+s.d.d);return r}function VLt(t,e,n){var i,r,a,o,s,c,u;for(a=new Nw,Dzt(t,u=new VA,o=new VA,e),AGt(t,u,o,e,n),c=new Wd(t);c.a<c.c.c.length;)for(r=new Wd((s=zz(t0(c),112)).k);r.a<r.c.c.length;)i=zz(t0(r),129),(!e||i.c==(M6(),Ave))&&s.g>i.b.g&&(a.c[a.c.length]=i);return a}function QLt(){QLt=M,B_e=new kS("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),P_e=new kS("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),R_e=new kS("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),F_e=new kS("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),j_e=new kS("WHOLE_DRAWING",4)}function JLt(t,e){if(aL(e,239))return hft(t,zz(e,33));if(aL(e,186))return Fft(t,zz(e,118));if(aL(e,354))return eX(t,zz(e,137));if(aL(e,352))return J$t(t,zz(e,79));if(e)return null;throw qw(new jv(Y6t+NEt(new Qv(Sst(Ux(Ote,1),HWt,1,5,[e])))))}function tNt(t){var e,n,i,r,a,o,s;for(a=new VA,r=new Wd(t.d.a);r.a<r.c.c.length;)0==(i=zz(t0(r),121)).b.a.c.length&&r5(a,i,a.c.b,a.c);if(a.b>1)for(e=DN((n=new Hm,++t.b,n),t.d),s=lwt(a,0);s.b!=s.d.c;)o=zz(d3(s),121),ZNt(oE(aE(sE(rE(new qm,1),0),e),o))}function eNt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=11&&e){if(yxt(t,e))throw qw(new jv(p6t+YFt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?Cxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Pwt(e,t,10,i)),(i=GF(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,11,e,e))}function nNt(t){var e,n,i,r;for(i=new cut(new Cd(t.b).a);i.b;)r=zz((n=nnt(i)).cd(),11),hct(e=zz(n.dd(),10),(hWt(),pfe),r),hct(r,_fe,e),hct(r,nfe,(lN(),!0)),USt(r,zz(vEt(e,Xhe),61)),vEt(e,Xhe),hct(r.i,(HZt(),nwe),(V_t(),KSe)),zz(vEt(mW(r.i),Jhe),21).Fc((gBt(),phe))}function iNt(t,e,n){var i,r,a;if(i=0,r=0,t.c)for(a=new Wd(t.d.i.j);a.a<a.c.c.length;)i+=zz(t0(a),11).e.c.length;else i=1;if(t.d)for(a=new Wd(t.c.i.j);a.a<a.c.c.length;)r+=zz(t0(a),11).g.c.length;else r=1;return(n+e)/2+.4*SQ(qq(r-i))*(n-e)}function rNt(t){var e,n;if(N_t(),t.Hc((kYt(),CIe)))throw qw(new jv("Port sides must not contain UNDEFINED"));switch(t.gc()){case 1:return Eue;case 2:return e=t.Hc(cIe)&&t.Hc(SIe),n=t.Hc(uIe)&&t.Hc(TIe),e||n?Sue:Cue;case 3:return Tue;case 4:return Aue;default:return null}}function aNt(t,e,n){var i,r,a,o;for(DAt(n,"Breaking Point Removing",1),t.a=zz(vEt(e,(HZt(),Jpe)),218),r=new Wd(e.b);r.a<r.c.c.length;)for(o=new Wd(o0(zz(t0(r),29).a));o.a<o.c.c.length;)Qtt(a=zz(t0(o),10))&&!(i=zz(vEt(a,(hWt(),Fhe)),305)).d&&YYt(t,i);HTt(n)}function oNt(t,e,n){return _Bt(),(!Fat(t,e)||!Fat(t,n))&&(vGt(new PS(t.c,t.d),new PS(t.c+t.b,t.d),e,n)||vGt(new PS(t.c+t.b,t.d),new PS(t.c+t.b,t.d+t.a),e,n)||vGt(new PS(t.c+t.b,t.d+t.a),new PS(t.c,t.d+t.a),e,n)||vGt(new PS(t.c,t.d+t.a),new PS(t.c,t.d),e,n))}function sNt(t,e){var n,i,r,a;if(!t.dc())for(n=0,i=t.gc();n<i;++n)if(null==(a=TB(t.Xb(n)))?null==e:yR(a.substr(0,3),"!##")?null!=e&&(r=e.length,!yR(a.substr(a.length-r,r),e)||a.length!=e.length+3)&&!yR(C9t,e):yR(a,S9t)&&!yR(C9t,e)||yR(a,e))return!0;return!1}function cNt(t,e,n,i){var r,a,o,s,c,u;for(o=t.j.c.length,c=P8(ore,aQt,306,o,0,1),s=0;s<o;s++)(a=zz(PH(t.j,s),11)).p=s,c[s]=hMt(vDt(a),n,i);for(XNt(t,c,n,e,i),u=new Pw,r=0;r<c.length;r++)c[r]&&KW(u,zz(PH(t.j,r),11),c[r]);u.f.c+u.g.c!=0&&(hct(t,(hWt(),Ghe),u),OTt(t,c))}function uNt(t,e,n){var i,r;for(i=new Wd(t.a.b);i.a<i.c.c.length;)if((r=h2(zz(t0(i),57)))&&r.k==(cTt(),Ese))switch(zz(vEt(r,(hWt(),Xhe)),61).g){case 4:r.n.a=e.a;break;case 2:r.n.a=n.a-(r.o.a+r.d.c);break;case 1:r.n.b=e.b;break;case 3:r.n.b=n.b-(r.o.b+r.d.a)}}function lNt(){lNt=M,Ime=new qC(VJt,0),Ame=new qC("NIKOLOV",1),Cme=new qC("NIKOLOV_PIXEL",2),Eme=new qC("NIKOLOV_IMPROVED",3),Tme=new qC("NIKOLOV_IMPROVED_PIXEL",4),_me=new qC("DUMMYNODE_PERCENTAGE",5),Sme=new qC("NODECOUNT_PERCENTAGE",6),Mme=new qC("NO_BOUNDARY",7)}function hNt(t,e,n){var i,r,a;if(!(r=zz(tOt(e,(CEt(),YEe)),19))&&(r=rft(0)),!(a=zz(tOt(n,YEe),19))&&(a=rft(0)),r.a>a.a)return-1;if(r.a<a.a)return 1;if(t.a){if(0!=(i=Sft(e.j,n.j)))return i;if(0!=(i=Sft(e.i,n.i)))return i}return Sft(e.g*e.f,n.g*n.f)}function fNt(t,e){var n,i,r,a,o,s,c,u,l,h;if(++t.e,e>(c=null==t.d?0:t.d.length)){for(l=t.d,t.d=P8(cDe,o7t,63,2*c+4,0,1),a=0;a<c;++a)if(u=l[a])for(i=u.g,h=u.i,s=0;s<h;++s)o=nF(t,(r=zz(i[s],133)).Sh()),!(n=t.d[o])&&(n=t.d[o]=t.uj()),n.Fc(r);return!0}return!1}function dNt(t,e,n){var i,r,a,o,s,c;if(a=(r=n).ak(),LPt(t.e,a)){if(a.hi())for(i=zz(t.g,119),o=0;o<t.i;++o)if(Pht(s=i[o],r)&&o!=e)throw qw(new jv(s8t))}else for(c=sPt(t.e.Tg(),a),i=zz(t.g,119),o=0;o<t.i;++o)if(s=i[o],c.rl(s.ak()))throw qw(new jv(M9t));lft(t,e,n)}function gNt(t,e){var n,i,r,a,o,s;for(n=zz(vEt(e,(hWt(),Zhe)),21),o=zz(l6((RZt(),hse),n),21),s=zz(l6(wse,n),21),a=o.Kc();a.Ob();)if(i=zz(a.Pb(),21),!zz(l6(t.b,i),15).dc())return!1;for(r=s.Kc();r.Ob();)if(i=zz(r.Pb(),21),!zz(l6(t.b,i),15).dc())return!1;return!0}function pNt(t,e){var n,i,r;for(DAt(e,"Partition postprocessing",1),n=new Wd(t.b);n.a<n.c.c.length;)for(i=new Wd(zz(t0(n),29).a);i.a<i.c.c.length;)for(r=new Wd(zz(t0(i),10).j);r.a<r.c.c.length;)Hv(AB(vEt(zz(t0(r),11),(hWt(),kfe))))&&DY(r);HTt(e)}function bNt(t,e){var n,i,r,a,o,s,c;if(1==t.a.c.length)return zTt(zz(PH(t.a,0),187),e);for(r=oht(t),o=0,s=t.d,i=r,c=t.d,a=(s-i)/2+i;i+1<s;){for(o=0,n=new Wd(t.a);n.a<n.c.c.length;)o+=oqt(zz(t0(n),187),a,!1).a;o<e?(c=a,s=a):i=a,a=(s-i)/2+i}return c}function wNt(t){var e,n,i,r;return isNaN(t)?(Z9(),wee):t<-0x8000000000000000?(Z9(),pee):t>=0x8000000000000000?(Z9(),gee):(i=!1,t<0&&(i=!0,t=-t),n=0,t>=DXt&&(t-=(n=SQ(t/DXt))*DXt),e=0,t>=MXt&&(t-=(e=SQ(t/MXt))*MXt),r=EO(SQ(t),e,n),i&&Dct(r),r)}function mNt(t,e){var n,i,r,a;for(n=!e||!t.u.Hc((dIt(),nIe)),a=0,r=new Wd(t.e.Cf());r.a<r.c.c.length;){if((i=zz(t0(r),838)).Hf()==(kYt(),CIe))throw qw(new jv("Label and node size calculator can only be used with ports that have port sides assigned."));i.vf(a++),Klt(t,i,n)}}function yNt(t,e){var n,i,r,a;return(i=e.Hh(t.a))&&(!i.b&&(i.b=new QP((wWt(),xOe),ZOe,i)),null!=(n=TB(opt(i.b,J7t)))&&aL(a=-1==(r=n.lastIndexOf("#"))?sB(t,e.Aj(),n):0==r?E7(t,null,n.substr(1)):E7(t,n.substr(0,r),n.substr(r+1)),148))?zz(a,148):null}function vNt(t,e){var n,i,r,a;return(n=e.Hh(t.a))&&(!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),null!=(r=TB(opt(n.b,k9t)))&&aL(a=-1==(i=r.lastIndexOf("#"))?sB(t,e.Aj(),r):0==i?E7(t,null,r.substr(1)):E7(t,r.substr(0,i),r.substr(i+1)),148))?zz(a,148):null}function xNt(t){var e,n,i,r,a;for(n=new Wd(t.a.a);n.a<n.c.c.length;){for((e=zz(t0(n),307)).j=null,a=e.a.a.ec().Kc();a.Ob();)xM((i=zz(a.Pb(),57)).b),(!e.j||i.d.c<e.j.d.c)&&(e.j=i);for(r=e.a.a.ec().Kc();r.Ob();)(i=zz(r.Pb(),57)).b.a=i.d.c-e.j.d.c,i.b.b=i.d.d-e.j.d.d}return t}function kNt(t){var e,n,i,r,a;for(n=new Wd(t.a.a);n.a<n.c.c.length;){for((e=zz(t0(n),189)).f=null,a=e.a.a.ec().Kc();a.Ob();)xM((i=zz(a.Pb(),81)).e),(!e.f||i.g.c<e.f.g.c)&&(e.f=i);for(r=e.a.a.ec().Kc();r.Ob();)(i=zz(r.Pb(),81)).e.a=i.g.c-e.f.g.c,i.e.b=i.g.d-e.f.g.d}return t}function _Nt(t){var e,i,r;return i=zz(t.a,19).a,r=zz(t.b,19).a,i<(e=n.Math.max(n.Math.abs(i),n.Math.abs(r)))&&r==-e?new rI(rft(i+1),rft(r)):i==e&&r<e?new rI(rft(i),rft(r+1)):i>=-e&&r==e?new rI(rft(i-1),rft(r)):new rI(rft(i),rft(r-1))}function ANt(){return dWt(),Sst(Ux(sue,1),LKt,77,0,[rce,ece,ace,xce,$ce,Ece,Yce,Mce,Rce,bce,Nce,Ice,jce,fce,Wce,Kse,Lce,qce,kce,zce,Xce,Bce,Xse,Fce,Vce,Uce,Kce,_ce,uce,Ace,vce,Zce,Jse,sce,Cce,Qse,Sce,mce,dce,Dce,pce,nce,tce,yce,gce,Oce,Gce,Vse,Pce,wce,Tce,lce,cce,Hce,oce,hce,ice])}function ENt(t,e,n){t.d=0,t.b=0,e.k==(cTt(),Ise)&&n.k==Ise&&zz(vEt(e,(hWt(),pfe)),10)==zz(vEt(n,pfe),10)&&(T9(e).j==(kYt(),uIe)?UOt(t,e,n):UOt(t,n,e)),e.k==Ise&&n.k==Cse?T9(e).j==(kYt(),uIe)?t.d=1:t.b=1:n.k==Ise&&e.k==Cse&&(T9(n).j==(kYt(),uIe)?t.b=1:t.d=1),cyt(t,e,n)}function TNt(t){var e,n,i,r,a;return a=OAt(t),null!=t.a&&Dq(a,"category",t.a),!W_(new Sd(t.d))&&(ret(a,"knownOptions",i=new Sf),e=new nw(i),n5(new Sd(t.d),e)),!W_(t.g)&&(ret(a,"supportedFeatures",r=new Sf),n=new iw(r),n5(t.g,n)),a}function CNt(t){var e,n,i,r,a,o,s,c;for(e=336,n=0,r=new uF(t.length),s=0,c=(o=t).length;s<c;++s)Vft(a=o[s]),_W(a),i=a.a,Wz(r.a,vZ(i)),e&=i.qd(),n=Qut(n,i.rd());return zz(zz(ZY(new FH(null,UAt(new g1((WZ(),Pgt(r.a)),16),new x,e,n)),new _f(t)),670),833)}function SNt(t,e){var n;t.d&&(e.c!=t.e.c||fat(t.e.b,e.b))&&(Wz(t.f,t.d),t.a=t.d.c+t.d.b,t.d=null,t.e=null),tD(e.b)?t.c=e:t.b=e,(e.b==(Ost(),Joe)&&!e.a||e.b==tse&&e.a||e.b==ese&&e.a||e.b==nse&&!e.a)&&t.c&&t.b&&(n=new YK(t.a,t.c.d,e.c-t.a,t.b.d-t.c.d),t.d=n,t.e=e)}function INt(t){var e;if(Vy.call(this),this.i=new ds,this.g=t,this.f=zz(t.e&&t.e(),9).length,0==this.f)throw qw(new jv("There must be at least one phase in the phase enumeration."));this.c=new VR(e=zz(Kk(this.g),9),zz(TF(e,e.length),9),0),this.a=new z2,this.b=new Pw}function MNt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=7&&e){if(yxt(t,e))throw qw(new jv(p6t+oCt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?hxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=zz(e,49).gh(t,1,BMe,i)),(i=KU(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,7,e,e))}function DNt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(yxt(t,e))throw qw(new jv(p6t+Xht(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?gxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=zz(e,49).gh(t,0,zMe,i)),(i=XU(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,3,e,e))}function ONt(t,e){var n,i,r,a,o,s,c,u,l;return LMt(),e.d>t.d&&(s=t,t=e,e=s),e.d<63?WPt(t,e):(u=G5(t,o=(-2&t.d)<<4),l=G5(e,o),i=czt(t,U5(u,o)),r=czt(e,U5(l,o)),c=ONt(u,l),n=ONt(i,r),a=U5(a=Lqt(Lqt(a=ONt(czt(u,i),czt(r,l)),c),n),o),Lqt(Lqt(c=U5(c,o<<1),a),n))}function LNt(t,e,n){var i,r,a,o,s;for(o=Nht(t,n),s=P8(Mse,s1t,10,e.length,0,1),i=0,a=o.Kc();a.Ob();)Hv(AB(vEt(r=zz(a.Pb(),11),(hWt(),nfe))))&&(s[i++]=zz(vEt(r,_fe),10));if(i<e.length)throw qw(new $v("Expected "+e.length+" hierarchical ports, but found only "+i+"."));return s}function NNt(t,e){var n,i,r,a,o,s;if(!t.tb){for(!t.rb&&(t.rb=new QG(t,qDe,t)),s=new ZA((a=t.rb).i),r=new DL(a);r.e!=r.i.gc();)i=zz(kwt(r),138),(n=zz(null==(o=i.ne())?_St(s.f,null,i):cdt(s.g,o,i),138))&&(null==o?_St(s.f,null,n):cdt(s.g,o,n));t.tb=s}return zz(TQ(t.tb,e),138)}function PNt(t,e){var n,i,r,a,o;if((null==t.i&&U$t(t),t.i).length,!t.p){for(o=new ZA(1+(3*t.g.i/2|0)),r=new oP(t.g);r.e!=r.i.gc();)i=zz(_wt(r),170),(n=zz(null==(a=i.ne())?_St(o.f,null,i):cdt(o.g,a,i),170))&&(null==a?_St(o.f,null,n):cdt(o.g,a,n));t.p=o}return zz(TQ(t.p,e),170)}function BNt(t,e,n,i,r){var a,o,s,c;for(pbt(i+SV(n,n.$d()),r),eW(e,Ngt(n)),(a=n.f)&&BNt(t,e,a,"Caused by: ",!1),null==n.k&&(n.k=P8(Jte,lKt,78,0,0,1)),s=0,c=(o=n.k).length;s<c;++s)BNt(t,e,o[s],"Suppressed: ",!1);null!=console.groupEnd&&console.groupEnd.call(console)}function FNt(t,e,n,i){var r,a,o,s;for(o=(s=e.e).length,a=e.q._f(s,n?0:o-1,n),a|=wFt(t,s[n?0:o-1],n,i),r=n?1:o-2;n?r<o:r>=0;r+=n?1:-1)a|=e.c.Sf(s,r,n,i&&!Hv(AB(vEt(e.j,(hWt(),Qhe))))&&!Hv(AB(vEt(e.j,(hWt(),Ife))))),a|=e.q._f(s,r,n),a|=wFt(t,s[r],n,i);return AY(t.c,e),a}function RNt(t,e,n){var i,r,a,o,s,c,u,l;for(u=0,l=(c=I2(t.j)).length;u<l;++u){if(s=c[u],n==(sit(),qme)||n==Ume)for(a=0,o=(r=J0(s.g)).length;a<o;++a)DTt(e,i=r[a])&&nzt(i,!0);if(n==Hme||n==Ume)for(a=0,o=(r=J0(s.e)).length;a<o;++a)MTt(e,i=r[a])&&nzt(i,!0)}}function jNt(t){var e,n;switch(e=null,n=null,i_t(t).g){case 1:kYt(),e=cIe,n=SIe;break;case 2:kYt(),e=TIe,n=uIe;break;case 3:kYt(),e=SIe,n=cIe;break;case 4:kYt(),e=uIe,n=TIe}Uf(t,zz(ON(MG(zz(l6(t.k,e),15).Oc(),Xue)),113)),Hf(t,zz(ON(IG(zz(l6(t.k,n),15).Oc(),Xue)),113))}function $Nt(t){var e,n,i,r,a,o;if((r=zz(PH(t.j,0),11)).e.c.length+r.g.c.length==0)t.n.a=0;else{for(o=0,i=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[new qg(r),new Ug(r)])));bDt(i);)o+=(n=zz(Y5(i),11)).i.n.a+n.n.a+n.a.a;a=(e=zz(vEt(t,(HZt(),twe)),8))?e.a:0,t.n.a=o/(r.e.c.length+r.g.c.length)-a}}function zNt(t,e){var n,i,r;for(i=new Wd(e.a);i.a<i.c.c.length;)n=zz(t0(i),221),LU(zz(n.b,65),ZF(zO(zz(e.b,65).c),zz(e.b,65).a)),(r=Qjt(zz(e.b,65).b,zz(n.b,65).b))>1&&(t.a=!0),NU(zz(n.b,65),YF(zO(zz(e.b,65).c),xL(ZF(zO(zz(n.b,65).a),zz(e.b,65).a),r))),XJ(t,e),zNt(t,n)}function qNt(t){var e,n,i,r,a,o;for(r=new Wd(t.a.a);r.a<r.c.c.length;)(n=zz(t0(r),189)).e=0,n.d.a.$b();for(i=new Wd(t.a.a);i.a<i.c.c.length;)for(e=(n=zz(t0(i),189)).a.a.ec().Kc();e.Ob();)for(o=zz(e.Pb(),81).f.Kc();o.Ob();)(a=zz(o.Pb(),81)).d!=n&&(AY(n.d,a),++a.d.e)}function HNt(t){var e,n,i,r,a,o,s,c;for(n=0,e=c=t.j.c.length,r=2*c,s=new Wd(t.j);s.a<s.c.c.length;)switch((o=zz(t0(s),11)).j.g){case 2:case 4:o.p=-1;break;case 1:case 3:i=o.e.c.length,a=o.g.c.length,o.p=i>0&&a>0?e++:i>0?n++:a>0?r++:n++}TX(),yO(t.j,new di)}function UNt(t){var e,n;n=null,e=zz(PH(t.g,0),17);do{if(LP(n=e.d.i,(hWt(),hfe)))return zz(vEt(n,hfe),11).i;if(n.k!=(cTt(),Sse)&&bDt(new cG(JL(ddt(n).a.Kc(),new l))))e=zz(Y5(new cG(JL(ddt(n).a.Kc(),new l))),17);else if(n.k!=Sse)return null}while(n&&n.k!=(cTt(),Sse));return n}function GNt(t,e){var n,i,r,a,o,s,c,u,l;for(s=e.j,o=e.g,c=zz(PH(s,s.c.length-1),113),f1(0,s.c.length),u=tvt(t,o,c,l=zz(s.c[0],113)),a=1;a<s.c.length;a++)f1(a-1,s.c.length),n=zz(s.c[a-1],113),f1(a,s.c.length),(i=tvt(t,o,n,r=zz(s.c[a],113)))>u&&(c=n,l=r,u=i);e.a=l,e.c=c}function YNt(t,e){var n;if(!JY(t.b,e.b))throw qw(new $v("Invalid hitboxes for scanline constraint calculation."));(kst(e.b,zz(EF(t.b,e.b),57))||kst(e.b,zz(AF(t.b,e.b),57)))&&(OA(),e.b),t.a[e.b.f]=zz(xR(t.b,e.b),57),(n=zz(vR(t.b,e.b),57))&&(t.a[n.f]=e.b)}function ZNt(t){if(!t.a.d||!t.a.e)throw qw(new $v((_B(qie),qie.k+" must have a source and target "+(_B(Hie),Hie.k+" specified."))));if(t.a.d==t.a.e)throw qw(new $v("Network simplex does not support self-loops: "+t.a+" "+t.a.d+" "+t.a.e));return FN(t.a.d.g,t.a),FN(t.a.e.b,t.a),t.a}function WNt(t,e,n){var i,r,a,o,s,c,u;for(u=new p_(new Qp(t)),s=0,c=(o=Sst(Ux(Use,1),c1t,11,0,[e,n])).length;s<c;++s)for(a=o[s],Tct(u.a,a,(lN(),mee)),r=new y6(a.b);vO(r.a)||vO(r.b);)(i=zz(vO(r.a)?t0(r.a):t0(r.b),17)).c==i.d||JY(u,a==i.c?i.d:i.c);return vZ(u),new ej(u)}function KNt(t,e,n){var i,r,a,o,s,c;if(i=0,0!=e.b&&0!=n.b){a=lwt(e,0),o=lwt(n,0),s=Uv(EB(d3(a))),c=Uv(EB(d3(o))),r=!0;do{if(s>c-t.b&&s<c+t.b)return-1;s>c-t.a&&s<c+t.a&&++i,s<=c&&a.b!=a.d.c?s=Uv(EB(d3(a))):c<=s&&o.b!=o.d.c?c=Uv(EB(d3(o))):r=!1}while(r)}return i}function XNt(t,e,n,i,r){var a,o,s,c;for(c=new VR(a=zz(Kk($Ie),9),zz(TF(a,a.length),9),0),s=new Wd(t.j);s.a<s.c.c.length;)e[(o=zz(t0(s),11)).p]&&(qYt(o,e[o.p],i),urt(c,o.j));r?(G_t(t,e,(kYt(),cIe),2*n,i),G_t(t,e,SIe,2*n,i)):(G_t(t,e,(kYt(),uIe),2*n,i),G_t(t,e,TIe,2*n,i))}function VNt(t){var e,n,i,r,a;if(a=new Nw,Det(t.b,new xg(a)),t.b.c=P8(Ote,HWt,1,0,5,1),0!=a.c.length){for(f1(0,a.c.length),e=zz(a.c[0],78),n=1,i=a.c.length;n<i;++n)f1(n,a.c.length),(r=zz(a.c[n],78))!=e&&GAt(e,r);if(aL(e,60))throw qw(zz(e,60));if(aL(e,289))throw qw(zz(e,289))}}function QNt(t,e){var n,i,r,a;for(t=null==t?YWt:(xW(t),t),n=new Ix,a=0,i=0;i<e.length&&-1!=(r=t.indexOf("%s",a));)cM(n,t.substr(a,r-a)),sM(n,e[i++]),a=r+2;if(cM(n,t.substr(a)),i<e.length){for(n.a+=" [",sM(n,e[i++]);i<e.length;)n.a+=zWt,sM(n,e[i++]);n.a+="]"}return n.a}function JNt(t){var e,n,i,r;for(e=0,r=(i=t.length)-4,n=0;n<r;)d1(n+3,t.length),e=t.charCodeAt(n+3)+(d1(n+2,t.length),31*(t.charCodeAt(n+2)+(d1(n+1,t.length),31*(t.charCodeAt(n+1)+(d1(n,t.length),31*(t.charCodeAt(n)+31*e)))))),e|=0,n+=4;for(;n<i;)e=31*e+hK(t,n++);return e|=0}function tPt(t){var e;for(e=new cG(JL(ddt(t).a.Kc(),new l));bDt(e);)if(zz(Y5(e),17).d.i.k!=(cTt(),Tse))throw qw(new rx(S1t+wvt(t)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function ePt(t,e,i,r){var a,o,s,c,u,h,f;for(c=0,u=new Wd(t.a);u.a<u.c.c.length;){for(s=0,o=new cG(JL(fdt(zz(t0(u),10)).a.Kc(),new l));bDt(o);)h=b1((a=zz(Y5(o),17)).c).b,f=b1(a.d).b,s=n.Math.max(s,n.Math.abs(f-h));c=n.Math.max(c,s)}return r*n.Math.min(1,e/i)*c}function nPt(t){var e;return e=new Cx,0!=(256&t)&&(e.a+="F"),0!=(128&t)&&(e.a+="H"),0!=(512&t)&&(e.a+="X"),0!=(2&t)&&(e.a+="i"),0!=(8&t)&&(e.a+="m"),0!=(4&t)&&(e.a+="s"),0!=(32&t)&&(e.a+="u"),0!=(64&t)&&(e.a+="w"),0!=(16&t)&&(e.a+="x"),0!=(t&k6t)&&(e.a+=","),Yv(e.a)}function iPt(t,e){var n,i,r;for(DAt(e,"Resize child graph to fit parent.",1),i=new Wd(t.b);i.a<i.c.c.length;)n=zz(t0(i),29),wst(t.a,n.a),n.a.c=P8(Ote,HWt,1,0,5,1);for(r=new Wd(t.a);r.a<r.c.c.length;)CJ(zz(t0(r),10),null);t.b.c=P8(Ote,HWt,1,0,5,1),qPt(t),t.e&&Cjt(t.e,t),HTt(e)}function rPt(t){var e,n,i,r,a,o,s;if(r=(i=t.b).e,a=LR(zz(vEt(i,(HZt(),nwe)),98)),n=!!r&&zz(vEt(r,(hWt(),Jhe)),21).Hc((gBt(),fhe)),!a&&!n)for(s=new Rd(new Md(t.e).a.vc().Kc());s.a.Ob();)e=zz(s.a.Pb(),42),(o=zz(e.dd(),113)).a&&(SJ(o.d,null),o.c=!0,t.a=!0)}function aPt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(h=-1,f=0,u=0,l=(c=t).length;u<l;++u){for(o=0,s=(a=c[u]).length;o<s;++o)for(r=a[o],e=new wC(-1==h?t[0]:t[h],uxt(r)),n=0;n<r.j.c.length;n++)for(i=n+1;i<r.j.c.length;i++)NG(e,zz(PH(r.j,n),11),zz(PH(r.j,i),11))>0&&++f;++h}return f}function oPt(t,e){var n,i,r,a,o;for(o=zz(vEt(e,(IDt(),Lxe)),425),a=lwt(e.b,0);a.b!=a.d.c;)if(r=zz(d3(a),86),0==t.b[r.g]){switch(o.g){case 0:Vmt(t,r);break;case 1:HDt(t,r)}t.b[r.g]=2}for(i=lwt(t.a,0);i.b!=i.d.c;)xgt((n=zz(d3(i),188)).b.d,n,!0),xgt(n.c.b,n,!0);hct(e,(UHt(),fxe),t.a)}function sPt(t,e){var n,i,r,a;return JE(),e?e==(ZHt(),RLe)||(e==vLe||e==mLe||e==yLe)&&t!=wLe?new oYt(t,e):((n=(i=zz(e,677)).pk())||(xK(z9((MCt(),JOe),e)),n=i.pk()),!n.i&&(n.i=new Pw),!(r=zz(HI(DV((a=n.i).f,t)),1942))&&KW(a,t,r=new oYt(t,e)),r):oLe}function cPt(t,e){var n,i,r,a,o,s,c,u;for(s=zz(vEt(t,(hWt(),pfe)),11),c=Oct(Sst(Ux(CEe,1),lKt,8,0,[s.i.n,s.n,s.a])).a,u=t.i.n.b,r=0,a=(i=J0(t.e)).length;r<a;++r)EJ(n=i[r],s),hM(n.a,new PS(c,u)),e&&((o=zz(vEt(n,(HZt(),mbe)),74))||(o=new xy,hct(n,mbe,o)),Bq(o,new PS(c,u)))}function uPt(t,e){var n,i,r,a,o,s,c,u;for(i=zz(vEt(t,(hWt(),pfe)),11),c=Oct(Sst(Ux(CEe,1),lKt,8,0,[i.i.n,i.n,i.a])).a,u=t.i.n.b,o=0,s=(a=J0(t.g)).length;o<s;++o)TJ(r=a[o],i),lM(r.a,new PS(c,u)),e&&((n=zz(vEt(r,(HZt(),mbe)),74))||(n=new xy,hct(r,mbe,n)),Bq(n,new PS(c,u)))}function lPt(t,e){var n,i,r,a,o;for(t.b=new Nw,t.d=zz(vEt(e,(hWt(),Tfe)),230),t.e=a0(t.d),a=new VA,r=s6(Sst(Ux(kse,1),JJt,37,0,[e])),o=0;o<r.c.length;)f1(o,r.c.length),(i=zz(r.c[o],37)).p=o++,wst(r,(n=new IUt(i,t.a,t.b)).b),Wz(t.b,n),n.s&&tZ(lwt(a,0),n);return t.c=new Fm,a}function hPt(t,e){var n,i,r,a,o,s;for(o=zz(zz(l6(t.r,e),21),84).Kc();o.Ob();)(n=(a=zz(o.Pb(),111)).c?Kq(a.c):0)>0?a.a?n>(s=a.b.rf().a)&&(r=(n-s)/2,a.d.b=r,a.d.c=r):a.d.c=t.s+n:qG(t.u)&&((i=$At(a.b)).c<0&&(a.d.b=-i.c),i.c+i.b>a.b.rf().a&&(a.d.c=i.c+i.b-a.b.rf().a))}function fPt(t,e){var n,i;for(DAt(e,"Semi-Interactive Crossing Minimization Processor",1),n=!1,i=new Wd(t.b);i.a<i.c.c.length;)n|=null!=Lht(xet(DK(DK(new FH(null,new g1(zz(t0(i),29).a,16)),new Xi),new Vi),new Qi),new Ji).a;n&&hct(t,(hWt(),ofe),(lN(),!0)),HTt(e)}function dPt(t,e,n){var i,r,a;if(!(r=n)&&(r=new Zy),DAt(r,"Layout",t.a.c.length),Hv(AB(vEt(e,(IDt(),_xe)))))for(OA(),i=0;i<t.a.c.length;i++)i++,t_(nut(zz(PH(t.a,i),51)));for(a=new Wd(t.a);a.a<a.c.c.length;)zz(t0(a),51).pf(e,vat(r,1));HTt(r)}function gPt(t){var e,i;if(e=zz(t.a,19).a,i=zz(t.b,19).a,e>=0){if(e==i)return new rI(rft(-e-1),rft(-e-1));if(e==-i)return new rI(rft(-e),rft(i+1))}return n.Math.abs(e)>n.Math.abs(i)?new rI(rft(-e),rft(e<0?i:i+1)):new rI(rft(e+1),rft(i))}function pPt(t){var e,n;n=zz(vEt(t,(HZt(),xbe)),163),e=zz(vEt(t,(hWt(),ife)),303),n==(Edt(),$fe)?(hct(t,xbe,Hfe),hct(t,ife,(G9(),She))):n==qfe?(hct(t,xbe,Hfe),hct(t,ife,(G9(),The))):e==(G9(),She)?(hct(t,xbe,$fe),hct(t,ife,Che)):e==The&&(hct(t,xbe,qfe),hct(t,ife,Che))}function bPt(){bPt=M,kve=new co,mve=pH(new z2,(xEt(),joe),(dWt(),kce)),xve=WU(pH(new z2,joe,Bce),zoe,Pce),_ve=ubt(ubt($E(WU(pH(new z2,Foe,Yce),zoe,Gce),$oe),Uce),Zce),yve=WU(pH(pH(pH(new z2,Roe,Ece),$oe,Cce),$oe,Sce),zoe,Tce),vve=WU(pH(pH(new z2,$oe,Sce),$oe,sce),zoe,oce)}function wPt(){wPt=M,Sve=pH(WU(new z2,(xEt(),zoe),(dWt(),lce)),joe,kce),Ove=ubt(ubt($E(WU(pH(new z2,Foe,Yce),zoe,Gce),$oe),Uce),Zce),Ive=WU(pH(pH(pH(new z2,Roe,Ece),$oe,Cce),$oe,Sce),zoe,Tce),Dve=pH(pH(new z2,joe,Bce),zoe,Pce),Mve=WU(pH(pH(new z2,$oe,Sce),$oe,sce),zoe,oce)}function mPt(t,e,n,i,r){var a,o;(d5(e)||e.c.i.c!=e.d.i.c)&&ert(Oct(Sst(Ux(CEe,1),lKt,8,0,[r.i.n,r.n,r.a])),n)||d5(e)||(e.c==r?RP(e.a,0,new gD(n)):Bq(e.a,new gD(n)),i&&!$A(t.a,n)&&((o=zz(vEt(e,(HZt(),mbe)),74))||(o=new xy,hct(e,mbe,o)),r5(o,a=new gD(n),o.c.b,o.c),AY(t.a,a)))}function yPt(t){var e;for(e=new cG(JL(fdt(t).a.Kc(),new l));bDt(e);)if(zz(Y5(e),17).c.i.k!=(cTt(),Tse))throw qw(new rx(S1t+wvt(t)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function vPt(t,e,n){var i,r,a,o,s,c;if(0==(r=mdt(254&t.Db)))t.Eb=n;else{if(1==r)o=P8(Ote,HWt,1,2,5,1),0==Ryt(t,e)?(o[0]=n,o[1]=t.Eb):(o[0]=t.Eb,o[1]=n);else for(o=P8(Ote,HWt,1,r+1,5,1),a=int(t.Eb),i=2,s=0,c=0;i<=128;i<<=1)i==e?o[c++]=n:0!=(t.Db&i)&&(o[c++]=a[s++]);t.Eb=o}t.Db|=e}function xPt(t,e,i){var r,a,o,s;for(this.b=new Nw,a=0,r=0,s=new Wd(t);s.a<s.c.c.length;)o=zz(t0(s),167),i&&jzt(o),Wz(this.b,o),a+=o.o,r+=o.p;this.b.c.length>0&&(a+=(o=zz(PH(this.b,0),167)).o,r+=o.p),a*=2,r*=2,e>1?a=SQ(n.Math.ceil(a*e)):r=SQ(n.Math.ceil(r/e)),this.a=new Ugt(a,r)}function kPt(t,e,i,r,a,o){var s,c,u,l,h,f,d,g,p,b;for(l=r,e.j&&e.o?(p=(d=zz(FZ(t.f,e.A),57)).d.c+d.d.b,--l):p=e.a.c+e.a.b,h=a,i.q&&i.o?(u=(d=zz(FZ(t.f,i.C),57)).d.c,++h):u=i.a.c,g=p+(c=(u-p)/n.Math.max(2,h-l)),f=l;f<h;++f)b=(s=zz(o.Xb(f),128)).a.b,s.a.c=g-b/2,g+=c}function _Pt(t,e,n,i,r,a){var o,s,c,u,l,h;for(u=n.c.length,a&&(t.c=P8(DNe,hXt,25,e.length,15,1)),o=r?0:e.length-1;r?o<e.length:o>=0;o+=r?1:-1){for(s=e[o],c=i==(kYt(),cIe)?r?sdt(s,i):iot(sdt(s,i)):r?iot(sdt(s,i)):sdt(s,i),a&&(t.c[s.p]=c.gc()),h=c.Kc();h.Ob();)l=zz(h.Pb(),11),t.d[l.p]=u++;wst(n,c)}}function APt(t,e,n){var i,r,a,o,s,c,u,l;for(a=Uv(EB(t.b.Kc().Pb())),u=Uv(EB(Kot(e.b))),i=xL(zO(t.a),u-n),r=xL(zO(e.a),n-a),xL(l=YF(i,r),1/(u-a)),this.a=l,this.b=new Nw,s=!0,(o=t.b.Kc()).Pb();o.Ob();)c=Uv(EB(o.Pb())),s&&c-n>F3t&&(this.b.Fc(n),s=!1),this.b.Fc(c);s&&this.b.Fc(n)}function EPt(t){var e,n,i,r;if(hRt(t,t.n),t.d.c.length>0){for(tx(t.c);mDt(t,zz(t0(new Wd(t.e.a)),121))<t.e.a.c.length;){for(r=(e=Rvt(t)).e.e-e.d.e-e.a,e.e.j&&(r=-r),i=new Wd(t.e.a);i.a<i.c.c.length;)(n=zz(t0(i),121)).j&&(n.e+=r);tx(t.c)}tx(t.c),mIt(t,zz(t0(new Wd(t.e.a)),121)),wUt(t)}}function TPt(t,e){var n,i,r,a,o;for(r=zz(l6(t.a,(N_t(),Eue)),15).Kc();r.Ob();)switch(i=zz(r.Pb(),101),n=zz(PH(i.j,0),113).d.j,yO(a=new ej(i.j),new Qr),e.g){case 1:P_t(t,a,n,(Irt(),Bue),1);break;case 0:P_t(t,new u1(a,0,o=$Lt(a)),n,(Irt(),Bue),0),P_t(t,new u1(a,o,a.c.length),n,Bue,1)}}function CPt(t,e){var n,i;if(Pst(),n=A5(oit(),e.tg())){if(i=n.j,aL(t,239))return rJ(zz(t,33))?TN(i,(awt(),uEe))||TN(i,lEe):TN(i,(awt(),uEe));if(aL(t,352))return TN(i,(awt(),sEe));if(aL(t,186))return TN(i,(awt(),hEe));if(aL(t,354))return TN(i,(awt(),cEe))}return!0}function SPt(t,e,n){var i,r,a,o,s,c;if(a=(r=n).ak(),LPt(t.e,a)){if(a.hi())for(i=zz(t.g,119),o=0;o<t.i;++o)if(Pht(s=i[o],r)&&o!=e)throw qw(new jv(s8t))}else for(c=sPt(t.e.Tg(),a),i=zz(t.g,119),o=0;o<t.i;++o)if(s=i[o],c.rl(s.ak())&&o!=e)throw qw(new jv(M9t));return zz(umt(t,e,n),72)}function IPt(t,e){if(e instanceof Object)try{if(e.__java$exception=t,-1!=navigator.userAgent.toLowerCase().indexOf("msie")&&$doc.documentMode<9)return;var n=t;Object.defineProperties(e,{cause:{get:function(){var t=n.Zd();return t&&t.Xd()}},suppressed:{get:function(){return n.Yd()}}})}catch(t){}}function MPt(t,e){var n,i,r,a,o;if(i=e>>5,e&=31,i>=t.d)return t.e<0?(DBt(),Qee):(DBt(),ine);if(a=t.d-i,VTt(r=P8(DNe,hXt,25,a+1,15,1),a,t.a,i,e),t.e<0){for(n=0;n<i&&0==t.a[n];n++);if(n<i||e>0&&t.a[n]<<32-e!=0){for(n=0;n<a&&-1==r[n];n++)r[n]=0;n==a&&++a,++r[n]}}return Z0(o=new fY(t.e,a,r)),o}function DPt(t){var e,n,i,r;return n=new Og(r=WQ(t)),i=new Lg(r),wst(e=new Nw,(!t.d&&(t.d=new lR(jMe,t,8,5)),t.d)),wst(e,(!t.e&&(t.e=new lR(jMe,t,7,4)),t.e)),zz(C4(OK(DK(new FH(null,new g1(e,16)),n),i),P9(new X,new V,new rt,new at,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Zne),Yne]))),21)}function OPt(t,e,n,i){var r,a,o,s,c;if(JE(),s=zz(e,66).Oj(),LPt(t.e,e)){if(e.hi()&&Z$t(t,e,i,aL(e,99)&&0!=(zz(e,18).Bb&qXt)))throw qw(new jv(s8t))}else for(c=sPt(t.e.Tg(),e),r=zz(t.g,119),o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak()))throw qw(new jv(M9t));lft(t,ACt(t,e,n),s?zz(i,72):J3(e,i))}function LPt(t,e){var n,i,r;return JE(),!!e.$j()||-2==e.Zj()&&(e==(EMt(),fLe)||e==uLe||e==lLe||e==hLe||!(Ogt(r=t.Tg(),e)>=0)&&(!(n=zHt((MCt(),JOe),r,e))||((i=n.Zj())>1||-1==i)&&3!=BW(z9(JOe,n))))}function NPt(t,e,n,i){var r,a,o,s,c;return s=SAt(zz(Ket((!e.b&&(e.b=new lR(RMe,e,4,7)),e.b),0),82)),c=SAt(zz(Ket((!e.c&&(e.c=new lR(RMe,e,5,8)),e.c),0),82)),QQ(s)==QQ(c)||Iet(c,s)?null:(o=ZQ(e))==n?i:(a=zz(FZ(t.a,o),10))&&(r=a.e)?r:null}function PPt(t,e){var n;switch(DAt(e,"Label side selection ("+(n=zz(vEt(t,(HZt(),Qpe)),276))+")",1),n.g){case 0:EDt(t,(Wvt(),kSe));break;case 1:EDt(t,(Wvt(),_Se));break;case 2:lzt(t,(Wvt(),kSe));break;case 3:lzt(t,(Wvt(),_Se));break;case 4:cBt(t,(Wvt(),kSe));break;case 5:cBt(t,(Wvt(),_Se))}HTt(e)}function BPt(t,e,n){var i,r,a,o,s;if((a=t[fk(n,t.length)])[0].k==(cTt(),Ese))for(r=hk(n,a.length),s=e.j,i=0;i<s.c.length;i++)f1(i,s.c.length),o=zz(s.c[i],11),(n?o.j==(kYt(),cIe):o.j==(kYt(),SIe))&&Hv(AB(vEt(o,(hWt(),nfe))))&&(a5(s,i,zz(vEt(a[r],(hWt(),pfe)),11)),r+=n?1:-1)}function FPt(t,e){var n,i,r,a,o;o=new Nw,n=e;do{(a=zz(FZ(t.b,n),128)).B=n.c,a.D=n.d,o.c[o.c.length]=a,n=zz(FZ(t.k,n),17)}while(n);return f1(0,o.c.length),(i=zz(o.c[0],128)).j=!0,i.A=zz(i.d.a.ec().Kc().Pb(),17).c.i,(r=zz(PH(o,o.c.length-1),128)).q=!0,r.C=zz(r.d.a.ec().Kc().Pb(),17).d.i,o}function RPt(t){if(null==t.g)switch(t.p){case 0:t.g=hJ(t)?(lN(),yee):(lN(),mee);break;case 1:t.g=Ctt(B3(t));break;case 2:t.g=fst(X1(t));break;case 3:t.g=MW(t);break;case 4:t.g=new Nd(IW(t));break;case 6:t.g=_bt(DW(t));break;case 5:t.g=rft(lQ(t));break;case 7:t.g=aft(j3(t))}return t.g}function jPt(t){if(null==t.n)switch(t.p){case 0:t.n=fJ(t)?(lN(),yee):(lN(),mee);break;case 1:t.n=Ctt(F3(t));break;case 2:t.n=fst(V1(t));break;case 3:t.n=LW(t);break;case 4:t.n=new Nd(NW(t));break;case 6:t.n=_bt(OW(t));break;case 5:t.n=rft(hQ(t));break;case 7:t.n=aft(R3(t))}return t.n}function $Pt(t){var e,n,i,r,a,o;for(r=new Wd(t.a.a);r.a<r.c.c.length;)(n=zz(t0(r),307)).g=0,n.i=0,n.e.a.$b();for(i=new Wd(t.a.a);i.a<i.c.c.length;)for(e=(n=zz(t0(i),307)).a.a.ec().Kc();e.Ob();)for(o=zz(e.Pb(),57).c.Kc();o.Ob();)(a=zz(o.Pb(),57)).a!=n&&(AY(n.e,a),++a.a.g,++a.a.i)}function zPt(t,e){var n,i,r;if(!JY(t.a,e.b))throw qw(new $v("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=new $d(new zF(new PN(new jd(t.a.a).a).b));oT(i.a.a);)if(n=zz(yP(i.a).cd(),65),ict(e.b,n))Pk(t.b.a,e.b,n),r=!0;else if(r)break}function qPt(t){var e,i,r,a,o;a=zz(vEt(t,(HZt(),$be)),21),o=zz(vEt(t,Hbe),21),e=new gD(i=new PS(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a)),a.Hc((vpt(),BIe))&&(r=zz(vEt(t,qbe),8),o.Hc((ejt(),UIe))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=n.Math.max(i.a,r.a),e.b=n.Math.max(i.b,r.b)),Wzt(t,i,e)}function HPt(t,e){var n,i,r,a,o,s,c,u;r=e?new wa:new ma,a=!1;do{for(a=!1,o=(e?iot(t.b):t.b).Kc();o.Ob();)for(u=o0(zz(o.Pb(),29).a),e||new hv(u),c=new Wd(u);c.a<c.c.c.length;)s=zz(t0(c),10),r.Mb(s)&&(i=s,n=zz(vEt(s,(hWt(),Fhe)),305),a=iFt(i,e?n.b:n.k,e,!1))}while(a)}function UPt(t,e,n){var i,r,a,o;for(DAt(n,"Longest path layering",1),t.a=e,o=t.a.a,t.b=P8(DNe,hXt,25,o.c.length,15,1),i=0,a=new Wd(o);a.a<a.c.c.length;)zz(t0(a),10).p=i,t.b[i]=-1,++i;for(r=new Wd(o);r.a<r.c.c.length;)FOt(t,zz(t0(r),10));o.c=P8(Ote,HWt,1,0,5,1),t.a=null,t.b=null,HTt(n)}function GPt(t,e){var n,i,r;e.a?(JY(t.b,e.b),t.a[e.b.i]=zz(xR(t.b,e.b),81),(n=zz(vR(t.b,e.b),81))&&(t.a[n.i]=e.b)):(!!(i=zz(xR(t.b,e.b),81))&&i==t.a[e.b.i]&&!!i.d&&i.d!=e.b.d&&i.f.Fc(e.b),!!(r=zz(vR(t.b,e.b),81))&&t.a[r.i]==e.b&&!!r.d&&r.d!=e.b.d&&e.b.f.Fc(r),EN(t.b,e.b))}function YPt(t,e){var i,r,a,o,s,c;return o=t.d,(c=Uv(EB(vEt(t,(HZt(),obe)))))<0&&hct(t,obe,c=0),e.o.b=c,s=n.Math.floor(c/2),USt(r=new ITt,(kYt(),SIe)),SJ(r,e),r.n.b=s,USt(a=new ITt,cIe),SJ(a,e),a.n.b=s,EJ(t,r),Uot(i=new gV,t),hct(i,mbe,null),TJ(i,a),EJ(i,o),_$t(e,t,i),lSt(t,i),i}function ZPt(t){var e,n;return n=zz(vEt(t,(hWt(),Jhe)),21),e=new z2,n.Hc((gBt(),dhe))&&(Jat(e,dve),Jat(e,pve)),(n.Hc(phe)||Hv(AB(vEt(t,(HZt(),sbe)))))&&(Jat(e,pve),n.Hc(bhe)&&Jat(e,bve)),n.Hc(fhe)&&Jat(e,fve),n.Hc(mhe)&&Jat(e,wve),n.Hc(ghe)&&Jat(e,gve),n.Hc(uhe)&&Jat(e,lve),n.Hc(hhe)&&Jat(e,hve),e}function WPt(t,e){var n,i,r,a,o,s,c,u,l;return a=(n=t.d)+(i=e.d),o=t.e!=e.e?-1:1,2==a?(l=pU(c=odt(n0(t.a[0],ZXt),n0(e.a[0],ZXt))),0==(u=pU(kG(c,32)))?new Z6(o,l):new fY(o,2,Sst(Ux(DNe,1),hXt,25,15,[l,u]))):(Fht(t.a,n,e.a,i,r=P8(DNe,hXt,25,a,15,1)),Z0(s=new fY(o,a,r)),s)}function KPt(t,e,n,i){var r,a;return e?0==(r=t.a.ue(n.d,e.d))?(i.d=wF(e,n.e),i.b=!0,e):(a=r<0?0:1,e.a[a]=KPt(t,e.a[a],n,i),Kv(e.a[a])&&(Kv(e.a[1-a])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):Kv(e.a[a].a[a])?e=prt(e,1-a):Kv(e.a[a].a[1-a])&&(e=r2(e,1-a))),e):n}function XPt(t,e,i){var r,a,o,s;a=t.i,r=t.n,V5(t,(Fet(),Uie),a.c+r.b,i),V5(t,Yie,a.c+a.b-r.c-i[2],i),s=a.b-r.b-r.c,i[0]>0&&(i[0]+=t.d,s-=i[0]),i[2]>0&&(i[2]+=t.d,s-=i[2]),o=n.Math.max(0,s),i[1]=n.Math.max(i[1],s),V5(t,Gie,a.c+r.b+i[0]-(i[1]-s)/2,i),e==Gie&&(t.c.b=o,t.c.c=a.c+r.b+(o-s)/2)}function VPt(){this.c=P8(PNe,UXt,25,(kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])).length,15,1),this.b=P8(PNe,UXt,25,Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe]).length,15,1),this.a=P8(PNe,UXt,25,Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe]).length,15,1),yT(this.c,RXt),yT(this.b,jXt),yT(this.a,jXt)}function QPt(t,e,n){var i,r,a,o;if(e<=n?(r=e,a=n):(r=n,a=e),i=0,null==t.b)t.b=P8(DNe,hXt,25,2,15,1),t.b[0]=r,t.b[1]=a,t.c=!0;else{if(i=t.b.length,t.b[i-1]+1==r)return void(t.b[i-1]=a);o=P8(DNe,hXt,25,i+2,15,1),sqt(t.b,0,o,0,i),t.b=o,t.b[i-1]>=r&&(t.c=!1,t.a=!1),t.b[i++]=r,t.b[i]=a,t.c||EOt(t)}}function JPt(t,e,n){var i,r,a,o,s,c,u;for(u=e.d,t.a=new Q6(u.c.length),t.c=new Pw,s=new Wd(u);s.a<s.c.c.length;)o=zz(t0(s),101),a=new zot(null),Wz(t.a,a),KW(t.c,o,a);for(t.b=new Pw,ySt(t,e),i=0;i<u.c.length-1;i++)for(c=zz(PH(e.d,i),101),r=i+1;r<u.c.length;r++)KLt(t,c,zz(PH(e.d,r),101),n)}function tBt(t,e,n){var i,r,a,o,s,c;if(!l3(e)){for(DAt(c=vat(n,(aL(e,14)?zz(e,14).gc():$3(e.Kc()))/t.a|0),Y3t,1),s=new Mo,o=0,a=e.Kc();a.Ob();)i=zz(a.Pb(),86),s=Knt(Sst(Ux(Bte,1),HWt,20,0,[s,new db(i)])),o<i.f.b&&(o=i.f.b);for(r=e.Kc();r.Ob();)hct(i=zz(r.Pb(),86),(UHt(),sxe),o);HTt(c),tBt(t,s,n)}}function eBt(t,e){var i,r,a,o,s,c,u;for(i=jXt,cTt(),c=Sse,a=new Wd(e.a);a.a<a.c.c.length;)(o=(r=zz(t0(a),10)).k)!=Sse&&(null==(s=EB(vEt(r,(hWt(),wfe))))?(i=n.Math.max(i,0),r.n.b=i+ZN(t.a,o,c)):r.n.b=(xW(s),s)),u=ZN(t.a,o,c),r.n.b<i+u+r.d.d&&(r.n.b=i+u+r.d.d),i=r.n.b+r.o.b+r.d.a,c=o}function nBt(t,e,n){var i,r,a;for(Uot(a=new ADt(WZt(UTt(oBt(e,!1,!1)),Uv(EB(tOt(e,(Awt(),wae))))+t.a)),e),KW(t.b,e,a),n.c[n.c.length]=a,!e.n&&(e.n=new nY(GMe,e,1,7)),r=new DL(e.n);r.e!=r.i.gc();)i=JFt(t,zz(kwt(r),137),!0,0,0),n.c[n.c.length]=i;return a}function iBt(t,e,n,i,r){var a,o,s;if(t.d&&t.d.lg(r),Fmt(t,n,zz(r.Xb(0),33),!1))return!0;if(Fmt(t,i,zz(r.Xb(r.gc()-1),33),!0))return!0;if(PEt(t,r))return!0;for(s=r.Kc();s.Ob();)for(o=zz(s.Pb(),33),a=e.Kc();a.Ob();)if($Bt(t,o,zz(a.Pb(),33)))return!0;return!1}function rBt(t,e,n){var i,r,a,o,s,c,u,l,h;h=e.c.length;t:for(a=zz((u=t.Yg(n))>=0?t._g(u,!1,!0):oMt(t,n,!1),58).Kc();a.Ob();){for(r=zz(a.Pb(),56),l=0;l<h;++l)if(f1(l,e.c.length),c=(o=zz(e.c[l],72)).dd(),s=o.ak(),i=r.bh(s,!1),null==c?null!=i:!Pht(c,i))continue t;return r}return null}function aBt(t,e,n,i){var r,a,o,s;for(r=zz(FTt(e,(kYt(),SIe)).Kc().Pb(),11),a=zz(FTt(e,cIe).Kc().Pb(),11),s=new Wd(t.j);s.a<s.c.c.length;){for(o=zz(t0(s),11);0!=o.e.c.length;)EJ(zz(PH(o.e,0),17),r);for(;0!=o.g.c.length;)TJ(zz(PH(o.g,0),17),a)}n||hct(e,(hWt(),lfe),null),i||hct(e,(hWt(),hfe),null)}function oBt(t,e,n){var i,r;if(0==(!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i)return Ust(t);if(i=zz(Ket((!t.a&&(t.a=new nY($Me,t,6,6)),t.a),0),202),e&&(lHt((!i.a&&(i.a=new OL(PMe,i,5)),i.a)),Mnt(i,0),Ont(i,0),Ent(i,0),Dnt(i,0)),n)for(!t.a&&(t.a=new nY($Me,t,6,6)),r=t.a;r.i>1;)fBt(r,r.i-1);return i}function sBt(t,e){var n,i,r,a,o,s,c;for(DAt(e,"Comment post-processing",1),a=new Wd(t.b);a.a<a.c.c.length;){for(r=zz(t0(a),29),i=new Nw,s=new Wd(r.a);s.a<s.c.c.length;)o=zz(t0(s),10),c=zz(vEt(o,(hWt(),Rfe)),15),n=zz(vEt(o,Bhe),15),(c||n)&&(KGt(o,c,n),c&&wst(i,c),n&&wst(i,n));wst(r.a,i)}HTt(e)}function cBt(t,e){var n,i,r,a,o,s;for(n=new Lw,r=new Wd(t.b);r.a<r.c.c.length;){for(s=!0,i=0,o=new Wd(zz(t0(r),29).a);o.a<o.c.c.length;)switch((a=zz(t0(o),10)).k.g){case 4:++i;case 1:g3(n,a);break;case 0:uSt(a,e);default:n.b==n.c||mjt(n,i,s,!1,e),s=!1,i=0}n.b==n.c||mjt(n,i,s,!0,e)}}function uBt(t,e){var n,i,r,a,o,s;for(r=new Nw,n=0;n<=t.i;n++)(i=new qZ(e)).p=t.i-n,r.c[r.c.length]=i;for(s=new Wd(t.o);s.a<s.c.c.length;)CJ(o=zz(t0(s),10),zz(PH(r,t.i-t.f[o.p]),29));for(a=new Wd(r);a.a<a.c.c.length;)0==zz(t0(a),29).a.c.length&&DY(a);e.b.c=P8(Ote,HWt,1,0,5,1),wst(e.b,r)}function lBt(t,e){var n,i,r,a,o,s;for(n=0,s=new Wd(e);s.a<s.c.c.length;){for(o=zz(t0(s),11),elt(t.b,t.d[o.p]),r=new y6(o.b);vO(r.a)||vO(r.b);)(a=E_(t,o==(i=zz(vO(r.a)?t0(r.a):t0(r.b),17)).c?i.d:i.c))>t.d[o.p]&&(n+=t5(t.b,a),p3(t.a,rft(a)));for(;!Wv(t.a);)Ett(t.b,zz(pY(t.a),19).a)}return n}function hBt(t,e,n){var i,r,a,o;for(a=(!e.a&&(e.a=new nY(YMe,e,10,11)),e.a).i,r=new DL((!e.a&&(e.a=new nY(YMe,e,10,11)),e.a));r.e!=r.i.gc();)0==(!(i=zz(kwt(r),33)).a&&(i.a=new nY(YMe,i,10,11)),i.a).i||(a+=hBt(t,i,!1));if(n)for(o=QQ(e);o;)a+=(!o.a&&(o.a=new nY(YMe,o,10,11)),o.a).i,o=QQ(o);return a}function fBt(t,e){var n,i,r,a;return t.ej()?(i=null,r=t.fj(),t.ij()&&(i=t.kj(t.pi(e),null)),n=t.Zi(4,a=Nvt(t,e),null,e,r),t.bj()&&null!=a?(i=t.dj(a,i))?(i.Ei(n),i.Fi()):t.$i(n):i?(i.Ei(n),i.Fi()):t.$i(n),a):(a=Nvt(t,e),t.bj()&&null!=a&&(i=t.dj(a,null))&&i.Fi(),a)}function dBt(t){var e,i,r,a,o,s,c,u,l,h;for(l=t.a,e=new Fm,u=0,r=new Wd(t.d);r.a<r.c.c.length;){for(h=0,$rt((i=zz(t0(r),222)).b,new Dt),s=lwt(i.b,0);s.b!=s.d.c;)o=zz(d3(s),222),e.a._b(o)&&(a=i.c,h<(c=o.c).d+c.a+l&&h+a.a+l>c.d&&(h=c.d+c.a+l));i.c.d=h,e.a.zc(i,e),u=n.Math.max(u,i.c.d+i.c.a)}return u}function gBt(){gBt=M,lhe=new LC("COMMENTS",0),fhe=new LC("EXTERNAL_PORTS",1),dhe=new LC("HYPEREDGES",2),ghe=new LC("HYPERNODES",3),phe=new LC("NON_FREE_PORTS",4),bhe=new LC("NORTH_SOUTH_PORTS",5),mhe=new LC(G1t,6),uhe=new LC("CENTER_LABELS",7),hhe=new LC("END_LABELS",8),whe=new LC("PARTITIONS",9)}function pBt(t){var e,n,i,r,a;for(r=new Nw,e=new OH((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a)),i=new cG(JL(bLt(t).a.Kc(),new l));bDt(i);)aL(Ket((!(n=zz(Y5(i),79)).b&&(n.b=new lR(RMe,n,4,7)),n.b),0),186)||(a=SAt(zz(Ket((!n.c&&(n.c=new lR(RMe,n,5,8)),n.c),0),82)),e.a._b(a)||(r.c[r.c.length]=a));return r}function bBt(t){var e,n,i,r,a;for(r=new Fm,e=new OH((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a)),i=new cG(JL(bLt(t).a.Kc(),new l));bDt(i);)aL(Ket((!(n=zz(Y5(i),79)).b&&(n.b=new lR(RMe,n,4,7)),n.b),0),186)||(a=SAt(zz(Ket((!n.c&&(n.c=new lR(RMe,n,5,8)),n.c),0),82)),e.a._b(a)||r.a.zc(a,r));return r}function wBt(t,e,n,i,r){return i<0?((i=YAt(t,r,Sst(Ux(Vee,1),lKt,2,6,[QKt,JKt,tXt,eXt,nXt,iXt,rXt,aXt,oXt,sXt,cXt,uXt]),e))<0&&(i=YAt(t,r,Sst(Ux(Vee,1),lKt,2,6,["Jan","Feb","Mar","Apr",nXt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(i<0||(n.k=i,0))):i>0&&(n.k=i-1,!0)}function mBt(t,e,n,i,r){return i<0?((i=YAt(t,r,Sst(Ux(Vee,1),lKt,2,6,[QKt,JKt,tXt,eXt,nXt,iXt,rXt,aXt,oXt,sXt,cXt,uXt]),e))<0&&(i=YAt(t,r,Sst(Ux(Vee,1),lKt,2,6,["Jan","Feb","Mar","Apr",nXt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(i<0||(n.k=i,0))):i>0&&(n.k=i-1,!0)}function yBt(t,e,n,i,r,a){var o,s,c;if(s=32,i<0){if(e[0]>=t.length)return!1;if(43!=(s=hK(t,e[0]))&&45!=s)return!1;if(++e[0],(i=ZIt(t,e))<0)return!1;45==s&&(i=-i)}return 32==s&&e[0]-n==2&&2==r.b&&(o=(c=(new DA).q.getFullYear()-lXt+lXt-80)%100,a.a=i==o,i+=100*(c/100|0)+(i<o?100:0)),a.p=i,!0}function vBt(t,e){var i,r,a;QQ(t)&&(a=zz(vEt(e,(HZt(),$be)),174),UI(tOt(t,nwe))===UI((V_t(),VSe))&&Qwt(t,nwe,XSe),UE(),r=UGt(new Bv(QQ(t)),new QN(QQ(t)?new Bv(QQ(t)):null,t),!1,!0),urt(a,(vpt(),BIe)),(i=zz(vEt(e,qbe),8)).a=n.Math.max(r.a,i.a),i.b=n.Math.max(r.b,i.b))}function xBt(t,e,n){var i,r,a,o,s,c;for(o=zz(vEt(t,(hWt(),tfe)),15).Kc();o.Ob();){switch(a=zz(o.Pb(),10),zz(vEt(a,(HZt(),xbe)),163).g){case 2:CJ(a,e);break;case 4:CJ(a,n)}for(r=new cG(JL(hdt(a).a.Kc(),new l));bDt(r);)(i=zz(Y5(r),17)).c&&i.d||(s=!i.d,c=zz(vEt(i,yfe),11),s?EJ(i,c):TJ(i,c))}}function kBt(){kBt=M,zue=new WK(vQt,0,(kYt(),uIe),uIe),Uue=new WK(kQt,1,TIe,TIe),$ue=new WK(xQt,2,cIe,cIe),Zue=new WK(_Qt,3,SIe,SIe),Hue=new WK("NORTH_WEST_CORNER",4,SIe,uIe),que=new WK("NORTH_EAST_CORNER",5,uIe,cIe),Yue=new WK("SOUTH_WEST_CORNER",6,TIe,SIe),Gue=new WK("SOUTH_EAST_CORNER",7,cIe,TIe)}function _Bt(){_Bt=M,EEe=Sst(Ux(LNe,1),zXt,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}]),n.Math.pow(2,-65)}function ABt(t,e){var n,i,r,a,o;if(0==t.c.length)return new rI(rft(0),rft(0));for(n=(f1(0,t.c.length),zz(t.c[0],11)).j,o=0,a=e.g,i=e.g+1;o<t.c.length-1&&n.g<a;)n=(f1(++o,t.c.length),zz(t.c[o],11)).j;for(r=o;r<t.c.length-1&&n.g<i;)++r,n=(f1(o,t.c.length),zz(t.c[o],11)).j;return new rI(rft(o),rft(r))}function EBt(t,e,i){var r,a,o,s,c,u,l,h,f,d;for(o=e.c.length,f1(i,e.c.length),c=(s=zz(e.c[i],286)).a.o.a,f=s.c,d=0,l=s.c;l<=s.f;l++){if(c<=t.a[l])return l;for(h=t.a[l],u=null,a=i+1;a<o;a++)f1(a,e.c.length),(r=zz(e.c[a],286)).c<=l&&r.f>=l&&(u=r);u&&(h=n.Math.max(h,u.a.o.a)),h>d&&(f=l,d=h)}return f}function TBt(t,e,n){var i,r,a;if(t.e=n,t.d=0,t.b=0,t.f=1,t.i=e,16==(16&t.e)&&(t.i=mRt(t.i)),t.j=t.i.length,VZt(t),a=Xpt(t),t.d!=t.j)throw qw(new ox(kWt((sO(),p8t))));if(t.g){for(i=0;i<t.g.a.c.length;i++)if(r=zz(dW(t.g,i),584),t.f<=r.a)throw qw(new ox(kWt((sO(),b8t))));t.g.a.c=P8(Ote,HWt,1,0,5,1)}return a}function CBt(t,e){var n,i,r;if(null==e){for(!t.a&&(t.a=new nY(WDe,t,9,5)),i=new DL(t.a);i.e!=i.i.gc();)if(null==(null==(r=(n=zz(kwt(i),678)).c)?n.zb:r))return n}else for(!t.a&&(t.a=new nY(WDe,t,9,5)),i=new DL(t.a);i.e!=i.i.gc();)if(yR(e,null==(r=(n=zz(kwt(i),678)).c)?n.zb:r))return n;return null}function SBt(t,e){var n;switch(n=null,e.g){case 1:t.e.Xe((lWt(),nCe))&&(n=zz(t.e.We(nCe),249));break;case 3:t.e.Xe((lWt(),iCe))&&(n=zz(t.e.We(iCe),249));break;case 2:t.e.Xe((lWt(),eCe))&&(n=zz(t.e.We(eCe),249));break;case 4:t.e.Xe((lWt(),rCe))&&(n=zz(t.e.We(rCe),249))}return!n&&(n=zz(t.e.We((lWt(),JTe)),249)),n}function IBt(t,e,n){var i,r,a,o,s,c;for(e.p=1,r=e.c,c=Bgt(e,(sit(),Hme)).Kc();c.Ob();)for(i=new Wd(zz(c.Pb(),11).g);i.a<i.c.c.length;)e!=(s=zz(t0(i),17).d.i)&&s.c.p<=r.p&&((a=r.p+1)==n.b.c.length?((o=new qZ(n)).p=a,Wz(n.b,o),CJ(s,o)):CJ(s,o=zz(PH(n.b,a),29)),IBt(t,s,n))}function MBt(t,e,i){var r,a,o,s,c,u;for(a=i,o=0,c=new Wd(e);c.a<c.c.c.length;)Qwt(s=zz(t0(c),33),(Zvt(),Lke),rft(a++)),u=pBt(s),r=n.Math.atan2(s.j+s.f/2,s.i+s.g/2),(r+=r<0?t4t:0)<.7853981633974483||r>m4t?yO(u,t.b):r<=m4t&&r>y4t?yO(u,t.d):r<=y4t&&r>v4t?yO(u,t.c):r<=v4t&&yO(u,t.a),o=MBt(t,u,o);return a}function DBt(){var t;for(DBt=M,Jee=new Z6(1,1),ene=new Z6(1,10),ine=new Z6(0,0),Qee=new Z6(-1,1),tne=Sst(Ux(une,1),lKt,91,0,[ine,Jee,new Z6(1,2),new Z6(1,3),new Z6(1,4),new Z6(1,5),new Z6(1,6),new Z6(1,7),new Z6(1,8),new Z6(1,9),ene]),nne=P8(une,lKt,91,32,0,1),t=0;t<nne.length;t++)nne[t]=ewt(vG(1,t))}function OBt(t,e,n,i,r,a){var o,s,c,u;for(s=!k_(DK(t.Oc(),new og(new Qn))).sd((pE(),eie)),o=t,a==(zht(),qCe)&&(o=aL(o,152)?c6(zz(o,152)):aL(o,131)?zz(o,131).a:aL(o,54)?new hv(o):new SA(o)),u=o.Kc();u.Ob();)(c=zz(u.Pb(),70)).n.a=e.a,c.n.b=s?e.b+(i.b-c.o.b)/2:r?e.b:e.b+i.b-c.o.b,e.a+=c.o.a+n}function LBt(t,e,n,i){var r,a,o,s,c;for(r=(i.c+i.a)/2,vX(e.j),Bq(e.j,r),vX(n.e),Bq(n.e,r),c=new Gk,o=new Wd(t.f);o.a<o.c.c.length;)Rkt(c,e,s=zz(t0(o),129).a),Rkt(c,n,s);for(a=new Wd(t.k);a.a<a.c.c.length;)Rkt(c,e,s=zz(t0(a),129).b),Rkt(c,n,s);return c.b+=2,c.a+=LX(e,t.q),c.a+=LX(t.q,n),c}function NBt(t,e,n){var i,r,a,o,s;if(!l3(e)){for(DAt(s=vat(n,(aL(e,14)?zz(e,14).gc():$3(e.Kc()))/t.a|0),Y3t,1),o=new Oo,a=null,r=e.Kc();r.Ob();)i=zz(r.Pb(),86),o=Knt(Sst(Ux(Bte,1),HWt,20,0,[o,new db(i)])),a&&(hct(a,(UHt(),dxe),i),hct(i,axe,a),U8(i)==U8(a)&&(hct(a,gxe,i),hct(i,oxe,a))),a=i;HTt(s),NBt(t,o,n)}}function PBt(t){var e,n,i,r,a,o,s;for(n=t.i,e=t.n,s=n.d,t.f==(U9(),rre)?s+=(n.a-t.e.b)/2:t.f==ire&&(s+=n.a-t.e.b),r=new Wd(t.d);r.a<r.c.c.length;){switch(o=(i=zz(t0(r),181)).rf(),(a=new Uk).b=s,s+=o.b+t.a,t.b.g){case 0:a.a=n.c+e.b;break;case 1:a.a=n.c+e.b+(n.b-o.a)/2;break;case 2:a.a=n.c+n.b-e.c-o.a}i.tf(a)}}function BBt(t){var e,n,i,r,a,o,s;for(n=t.i,e=t.n,s=n.c,t.b==(Q7(),Xie)?s+=(n.b-t.e.a)/2:t.b==Qie&&(s+=n.b-t.e.a),r=new Wd(t.d);r.a<r.c.c.length;){switch(o=(i=zz(t0(r),181)).rf(),(a=new Uk).a=s,s+=o.a+t.a,t.f.g){case 0:a.b=n.d+e.d;break;case 1:a.b=n.d+e.d+(n.a-o.b)/2;break;case 2:a.b=n.d+n.a-e.a-o.b}i.tf(a)}}function FBt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;u=n.a.c,o=n.a.c+n.a.b,f=(a=zz(FZ(n.c,e),459)).f,d=a.a,s=new PS(u,f),l=new PS(o,d),r=u,n.p||(r+=t.c),c=new PS(r+=n.F+n.v*t.b,f),h=new PS(r,d),eit(e.a,Sst(Ux(CEe,1),lKt,8,0,[s,c])),n.d.a.gc()>1&&(i=new PS(r,n.b),Bq(e.a,i)),eit(e.a,Sst(Ux(CEe,1),lKt,8,0,[h,l]))}function RBt(t){NE(t,new TAt(mk(gk(wk(bk(new bs,$5t),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new Vs))),s2(t,$5t,VQt,LIe),s2(t,$5t,yJt,15),s2(t,$5t,xJt,rft(0)),s2(t,$5t,XQt,bJt)}function jBt(){var t,e,n,i,r,a;for(jBt=M,XLe=P8(NNe,y6t,25,255,15,1),VLe=P8(MNe,KKt,25,16,15,1),e=0;e<255;e++)XLe[e]=-1;for(n=57;n>=48;n--)XLe[n]=n-48<<24>>24;for(i=70;i>=65;i--)XLe[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)XLe[r]=r-97+10<<24>>24;for(a=0;a<10;a++)VLe[a]=48+a&VKt;for(t=10;t<=15;t++)VLe[t]=65+t-10&VKt}function $Bt(t,e,n){var i,r,a,o,s,c,u,l;return s=e.i-t.g/2,c=n.i-t.g/2,u=e.j-t.g/2,l=n.j-t.g/2,a=e.g+t.g/2,o=n.g+t.g/2,i=e.f+t.g/2,r=n.f+t.g/2,s<c+o&&c<s&&u<l+r&&l<u||c<s+a&&s<c&&l<u+i&&u<l||s<c+o&&c<s&&u<l&&l<u+i||c<s+a&&s<c&&u<l+r&&l<u}function zBt(t){var e,i,r,a,o;a=zz(vEt(t,(HZt(),$be)),21),o=zz(vEt(t,Hbe),21),e=new gD(i=new PS(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a)),a.Hc((vpt(),BIe))&&(r=zz(vEt(t,qbe),8),o.Hc((ejt(),UIe))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=n.Math.max(i.a,r.a),e.b=n.Math.max(i.b,r.b)),Hv(AB(vEt(t,zbe)))||Zzt(t,i,e)}function qBt(t,e){var n,i,r,a;for(a=sdt(e,(kYt(),TIe)).Kc();a.Ob();)i=zz(a.Pb(),11),(n=zz(vEt(i,(hWt(),_fe)),10))&&ZNt(oE(aE(sE(rE(new qm,0),.1),t.i[e.p].d),t.i[n.p].a));for(r=sdt(e,uIe).Kc();r.Ob();)i=zz(r.Pb(),11),(n=zz(vEt(i,(hWt(),_fe)),10))&&ZNt(oE(aE(sE(rE(new qm,0),.1),t.i[n.p].d),t.i[e.p].a))}function HBt(t){var e,n,i,r,a;if(!t.c){if(a=new _c,null==(e=COe).a.zc(t,e)){for(i=new DL(o4(t));i.e!=i.i.gc();)aL(r=d$t(n=zz(kwt(i),87)),88)&&wZ(a,HBt(zz(r,26))),h7(a,n);e.a.Bc(t),e.a.gc()}Lgt(a),olt(a),t.c=new NM((zz(Ket(XX((XZ(),eOe).o),15),18),a.i),a.g),C5(t).b&=-33}return t.c}function UBt(t){var e;if(10!=t.c)throw qw(new ox(kWt((sO(),w8t))));switch(e=t.a){case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw qw(new ox(kWt((sO(),Z8t))))}return e}function GBt(t){var e,n,i,r;if(0==t.l&&0==t.m&&0==t.h)return"0";if(t.h==IXt&&0==t.m&&0==t.l)return"-9223372036854775808";if(t.h>>19!=0)return"-"+GBt(sct(t));for(n=t,i="";0!=n.l||0!=n.m||0!=n.h;){if(n=OHt(n,$5(OXt),!0),e=""+A_(dee),0!=n.l||0!=n.m||0!=n.h)for(r=9-e.length;r>0;r--)e="0"+e;i=e+i}return i}function YBt(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var t="__proto__",e=Object.create(null);return void 0===e[t]&&0==Object.getOwnPropertyNames(e).length&&(e[t]=42,42===e[t]&&0!=Object.getOwnPropertyNames(e).length)}function ZBt(t){var e,n,i,r,a,o,s;for(e=!1,n=0,r=new Wd(t.d.b);r.a<r.c.c.length;)for((i=zz(t0(r),29)).p=n++,o=new Wd(i.a);o.a<o.c.c.length;)a=zz(t0(o),10),!e&&!l3(hdt(a))&&(e=!0);s=_U((zht(),zCe),Sst(Ux(WCe,1),LKt,103,0,[jCe,$Ce])),e||(urt(s,qCe),urt(s,RCe)),t.a=new det(s),OY(t.f),OY(t.b),OY(t.e),OY(t.g)}function WBt(t,e,n){var i,r,a,o,s,c,u,l,h;for(i=n.c,r=n.d,s=b1(e.c),c=b1(e.d),i==e.c?(s=dLt(t,s,r),c=lEt(e.d)):(s=lEt(e.c),c=dLt(t,c,r)),r5(u=new Rk(e.a),s,u.a,u.a.a),r5(u,c,u.c.b,u.c),o=e.c==i,h=new Qm,a=0;a<u.b-1;++a)l=new rI(zz(Fwt(u,a),8),zz(Fwt(u,a+1),8)),o&&0==a||!o&&a==u.b-2?h.b=l:Wz(h.a,l);return h}function KBt(t,e){var n,i,r,a;if(0!=(a=t.j.g-e.j.g))return a;if(n=zz(vEt(t,(HZt(),iwe)),19),i=zz(vEt(e,iwe),19),n&&i&&0!=(r=n.a-i.a))return r;switch(t.j.g){case 1:return Sft(t.n.a,e.n.a);case 2:return Sft(t.n.b,e.n.b);case 3:return Sft(e.n.a,t.n.a);case 4:return Sft(e.n.b,t.n.b);default:throw qw(new $v(a1t))}}function XBt(t,e,i,r){var a,o,s,c;if($3((Hj(),new cG(JL(hdt(e).a.Kc(),new l))))>=t.a)return-1;if(!iAt(e,i))return-1;if(l3(zz(r.Kb(e),20)))return 1;for(a=0,s=zz(r.Kb(e),20).Kc();s.Ob();){if(-1==(c=XBt(t,(o=zz(s.Pb(),17)).c.i==e?o.d.i:o.c.i,i,r)))return-1;if((a=n.Math.max(a,c))>t.c-1)return-1}return a+1}function VBt(t,e){var n,i,r,a,o,s;if(UI(e)===UI(t))return!0;if(!aL(e,15))return!1;if(i=zz(e,15),s=t.gc(),i.gc()!=s)return!1;if(o=i.Kc(),t.ni()){for(n=0;n<s;++n)if(r=t.ki(n),a=o.Pb(),null==r?null!=a:!Pht(r,a))return!1}else for(n=0;n<s;++n)if(r=t.ki(n),a=o.Pb(),UI(r)!==UI(a))return!1;return!0}function QBt(t,e){var n,i,r,a,o,s;if(t.f>0)if(t.qj(),null!=e){for(a=0;a<t.d.length;++a)if(n=t.d[a])for(i=zz(n.g,367),s=n.i,o=0;o<s;++o)if(Pht(e,(r=i[o]).dd()))return!0}else for(a=0;a<t.d.length;++a)if(n=t.d[a])for(i=zz(n.g,367),s=n.i,o=0;o<s;++o)if(r=i[o],UI(e)===UI(r.dd()))return!0;return!1}function JBt(t,e,n){var i,r,a,o;DAt(n,"Orthogonally routing hierarchical port edges",1),t.a=0,PUt(e,i=Zqt(e)),VHt(t,e,i),fYt(e),r=zz(vEt(e,(HZt(),nwe)),98),IGt((f1(0,(a=e.b).c.length),zz(a.c[0],29)),r,e),IGt(zz(PH(a,a.c.length-1),29),r,e),Ezt((f1(0,(o=e.b).c.length),zz(o.c[0],29))),Ezt(zz(PH(o,o.c.length-1),29)),HTt(n)}function tFt(t){switch(t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return t-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return t-65+10<<24>>24;default:throw qw(new Ex("Invalid hexadecimal"))}}function eFt(t,e,n){var i,r,a,o;for(DAt(n,"Processor order nodes",2),t.a=Uv(EB(vEt(e,(IDt(),Pxe)))),r=new VA,o=lwt(e.b,0);o.b!=o.d.c;)Hv(AB(vEt(a=zz(d3(o),86),(UHt(),pxe))))&&r5(r,a,r.c.b,r.c);CP(0!=r.b),jqt(t,i=zz(r.a.a.c,86)),!n.b&&Uit(n,1),qFt(t,i,0-Uv(EB(vEt(i,(UHt(),sxe))))/2,0),!n.b&&Uit(n,1),HTt(n)}function nFt(){nFt=M,Fie=new qT("SPIRAL",0),Oie=new qT("LINE_BY_LINE",1),Lie=new qT("MANHATTAN",2),Die=new qT("JITTER",3),Pie=new qT("QUADRANTS_LINE_BY_LINE",4),Bie=new qT("QUADRANTS_MANHATTAN",5),Nie=new qT("QUADRANTS_JITTER",6),Mie=new qT("COMBINE_LINE_BY_LINE_MANHATTAN",7),Iie=new qT("COMBINE_JITTER_MANHATTAN",8)}function iFt(t,e,n,i){var r,a,o,s,c,u;for(c=Pkt(t,n),u=Pkt(e,n),r=!1;c&&u&&(i||vvt(c,u,n));)o=Pkt(c,n),s=Pkt(u,n),D9(e),D9(t),a=c.c,aUt(c,!1),aUt(u,!1),n?(Vvt(e,u.p,a),e.p=u.p,Vvt(t,c.p+1,a),t.p=c.p):(Vvt(t,c.p,a),t.p=c.p,Vvt(e,u.p+1,a),e.p=u.p),CJ(c,null),CJ(u,null),c=o,u=s,r=!0;return r}function rFt(t,e,n,i){var r,a,o,s,c;for(r=!1,a=!1,s=new Wd(i.j);s.a<s.c.c.length;)UI(vEt(o=zz(t0(s),11),(hWt(),pfe)))===UI(n)&&(0==o.g.c.length?0==o.e.c.length||(r=!0):a=!0);return c=0,r&&r^a?c=n.j==(kYt(),uIe)?-t.e[i.c.p][i.p]:e-t.e[i.c.p][i.p]:a&&r^a?c=t.e[i.c.p][i.p]+1:r&&a&&(c=n.j==(kYt(),uIe)?0:e/2),c}function aFt(t,e,n,i,r,a,o,s){var c,u,l;for(c=0,null!=e&&(c^=ymt(e.toLowerCase())),null!=n&&(c^=ymt(n)),null!=i&&(c^=ymt(i)),null!=o&&(c^=ymt(o)),null!=s&&(c^=ymt(s)),u=0,l=a.length;u<l;u++)c^=ymt(a[u]);t?c|=256:c&=-257,r?c|=16:c&=-17,this.f=c,this.i=null==e?null:(xW(e),e),this.a=n,this.d=i,this.j=a,this.g=o,this.e=s}function oFt(t,e,n){var i,r;switch(r=null,e.g){case 1:wat(),r=Nse;break;case 2:wat(),r=Bse}switch(i=null,n.g){case 1:wat(),i=Pse;break;case 2:wat(),i=Lse;break;case 3:wat(),i=Fse;break;case 4:wat(),i=Rse}return r&&i?Rz(t.j,new zh(new Qv(Sst(Ux(Nte,1),HWt,169,0,[zz(vZ(r),169),zz(vZ(i),169)])))):(TX(),TX(),lne)}function sFt(t){var e,n,i;switch(e=zz(vEt(t,(HZt(),qbe)),8),hct(t,qbe,new PS(e.b,e.a)),zz(vEt(t,xpe),248).g){case 1:hct(t,xpe,(pmt(),LEe));break;case 2:hct(t,xpe,(pmt(),IEe));break;case 3:hct(t,xpe,(pmt(),DEe));break;case 4:hct(t,xpe,(pmt(),OEe))}(t.q?t.q:(TX(),TX(),hne))._b(uwe)&&(i=(n=zz(vEt(t,uwe),8)).a,n.a=n.b,n.b=i)}function cFt(t,e,n,i,r,a){if(this.b=n,this.d=r,t>=e.length)throw qw(new Dv("Greedy SwitchDecider: Free layer not in graph."));this.c=e[t],this.e=new XR(i),xrt(this.e,this.c,(kYt(),SIe)),this.i=new XR(i),xrt(this.i,this.c,cIe),this.f=new fU(this.c),this.a=!a&&r.i&&!r.s&&this.c[0].k==(cTt(),Ese),this.a&&wCt(this,t,e.length)}function uFt(t,e){var n,i,r,a,o,s;a=!t.B.Hc((ejt(),qIe)),o=t.B.Hc(GIe),t.a=new Hgt(o,a,t.c),t.n&&xX(t.a.n,t.n),kv(t.g,(Fet(),Gie),t.a),e||((i=new Mbt(1,a,t.c)).n.a=t.k,yU(t.p,(kYt(),uIe),i),(r=new Mbt(1,a,t.c)).n.d=t.k,yU(t.p,TIe,r),(s=new Mbt(0,a,t.c)).n.c=t.k,yU(t.p,SIe,s),(n=new Mbt(0,a,t.c)).n.b=t.k,yU(t.p,cIe,n))}function lFt(t){var e,n,i;switch((e=zz(vEt(t.d,(HZt(),Jpe)),218)).g){case 2:n=TZt(t);break;case 3:i=new Nw,QA(DK(OK(gtt(gtt(new FH(null,new g1(t.d.b,16)),new Mr),new Dr),new Or),new wr),new Sp(i)),n=i;break;default:throw qw(new $v("Compaction not supported for "+e+" edges."))}wHt(t,n),n5(new Sd(t.g),new Tp(t))}function hFt(t,e){var n;return n=new Qt,e&&Uot(n,zz(FZ(t.a,BMe),94)),aL(e,470)&&Uot(n,zz(FZ(t.a,FMe),94)),aL(e,354)?(Uot(n,zz(FZ(t.a,GMe),94)),n):(aL(e,82)&&Uot(n,zz(FZ(t.a,RMe),94)),aL(e,239)?(Uot(n,zz(FZ(t.a,YMe),94)),n):aL(e,186)?(Uot(n,zz(FZ(t.a,ZMe),94)),n):(aL(e,352)&&Uot(n,zz(FZ(t.a,jMe),94)),n))}function fFt(){fFt=M,Jae=new ZD((lWt(),wCe),rft(1)),aoe=new ZD(LCe,80),roe=new ZD(TCe,5),$ae=new ZD(aTe,bJt),toe=new ZD(mCe,rft(1)),ioe=new ZD(xCe,(lN(),!0)),Xae=new WD(50),Kae=new ZD(ZTe,Xae),qae=STe,Vae=sCe,zae=new ZD(pTe,!1),Wae=YTe,Zae=HTe,Yae=RTe,Gae=BTe,Qae=hCe,_Tt(),Uae=Iae,ooe=Nae,Hae=Sae,eoe=Dae,noe=Lae}function dFt(t){var e,n,i,r,a,o,s;for(s=new m5,o=new Wd(t.a);o.a<o.c.c.length;)if((a=zz(t0(o),10)).k!=(cTt(),Ese))for($Dt(s,a,new Uk),r=new cG(JL(ddt(a).a.Kc(),new l));bDt(r);)if((i=zz(Y5(r),17)).c.i.k!=Ese&&i.d.i.k!=Ese)for(n=lwt(i.a,0);n.b!=n.d.c;)Qkt(s,new pC((e=zz(d3(n),8)).a,e.b));return s}function gFt(){gFt=M,FAe=new sw(j4t),ME(),PAe=new OM(U4t,BAe=UAe),Nst(),LAe=new OM($4t,NAe=WAe),LTt(),DAe=new OM(z4t,OAe=rAe),CAe=new OM(q4t,null),O6(),IAe=new OM(H4t,MAe=J_e),SE(),kAe=new OM(G4t,_Ae=Z_e),AAe=new OM(Y4t,(lN(),!1)),EAe=new OM(Z4t,rft(64)),TAe=new OM(W4t,!0),SAe=tAe}function pFt(t){var e,n,i,r,a;if(null==t.a)if(t.a=P8(ONe,tQt,25,t.c.b.c.length,16,1),t.a[0]=!1,LP(t.c,(HZt(),Ywe)))for(n=zz(vEt(t.c,Ywe),15).Kc();n.Ob();)(e=zz(n.Pb(),19).a)>0&&e<t.a.length&&(t.a[e]=!1);else for((a=new Wd(t.c.b)).a<a.c.c.length&&t0(a),i=1;a.a<a.c.c.length;)r=zz(t0(a),29),t.a[i++]=ZOt(r)}function bFt(t,e){var n,i;switch(i=t.b,e){case 1:t.b|=1,t.b|=4,t.b|=8;break;case 2:t.b|=2,t.b|=4,t.b|=8;break;case 4:t.b|=1,t.b|=2,t.b|=4,t.b|=8;break;case 3:t.b|=16,t.b|=8;break;case 0:t.b|=32,t.b|=16,t.b|=8,t.b|=1,t.b|=2,t.b|=4}if(t.b!=i&&t.c)for(n=new DL(t.c);n.e!=n.i.gc();)OSt(C5(zz(kwt(n),473)),e)}function wFt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;for(r=!1,s=0,c=(o=e).length;s<c;++s)a=o[s],Hv((lN(),!!a.e))&&!zz(PH(t.b,a.e.p),214).s&&(r|=(u=a.e,(h=(l=zz(PH(t.b,u.p),214)).e)[f=hk(n,h.length)][0].k==(cTt(),Ese)?h[f]=LNt(a,h[f],n?(kYt(),SIe):(kYt(),cIe)):l.c.Tf(h,n),d=FNt(t,l,n,i),BPt(l.e,l.o,n),d));return r}function mFt(t,e){var n,i,r,a,o;for(a=(!e.a&&(e.a=new nY(YMe,e,10,11)),e.a).i,r=new DL((!e.a&&(e.a=new nY(YMe,e,10,11)),e.a));r.e!=r.i.gc();)UI(tOt(i=zz(kwt(r),33),(lWt(),_Te)))!==UI((cht(),ySe))&&((o=zz(tOt(e,yCe),149))==(n=zz(tOt(i,yCe),149))||o&&k5(o,n))&&0!=(!i.a&&(i.a=new nY(YMe,i,10,11)),i.a).i&&(a+=mFt(t,i));return a}function yFt(t){var e,n,i,r,a,o,s;for(i=0,s=0,o=new Wd(t.d);o.a<o.c.c.length;)a=zz(t0(o),101),r=zz(C4(DK(new FH(null,new g1(a.j,16)),new Zr),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15),n=null,i<=s?(kYt(),n=uIe,i+=r.gc()):s<i&&(kYt(),n=TIe,s+=r.gc()),e=n,QA(OK(r.Oc(),new qr),new Dp(e))}function vFt(t){var e,n,i,r,a,o,s,c;for(t.b=new yMt(new Qv((kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe]))),new Qv((Irt(),Sst(Ux(Wue,1),LKt,361,0,[Fue,Bue,Pue])))),s=0,c=(o=Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])).length;s<c;++s)for(a=o[s],i=0,r=(n=Sst(Ux(Wue,1),LKt,361,0,[Fue,Bue,Pue])).length;i<r;++i)e=n[i],Kkt(t.b,a,e,new Nw)}function xFt(t,e){var n,i,r,a,o,s,c,u,l,h;if(o=zz(zz(l6(t.r,e),21),84),s=t.u.Hc((dIt(),rIe)),n=t.u.Hc(eIe),i=t.u.Hc(tIe),u=t.u.Hc(aIe),h=t.B.Hc((ejt(),XIe)),l=!n&&!i&&(u||2==o.gc()),hPt(t,e),r=null,c=null,s){for(c=r=zz((a=o.Kc()).Pb(),111);a.Ob();)c=zz(a.Pb(),111);r.d.b=0,c.d.c=0,l&&!r.a&&(r.d.c=0)}h&&(FAt(o),s&&(r.d.b=0,c.d.c=0))}function kFt(t,e){var n,i,r,a,o,s,c,u,l,h;if(o=zz(zz(l6(t.r,e),21),84),s=t.u.Hc((dIt(),rIe)),n=t.u.Hc(eIe),i=t.u.Hc(tIe),c=t.u.Hc(aIe),h=t.B.Hc((ejt(),XIe)),u=!n&&!i&&(c||2==o.gc()),Xjt(t,e),l=null,r=null,s){for(r=l=zz((a=o.Kc()).Pb(),111);a.Ob();)r=zz(a.Pb(),111);l.d.d=0,r.d.a=0,u&&!l.a&&(l.d.a=0)}h&&(RAt(o),s&&(l.d.d=0,r.d.a=0))}function _Ft(t,e,n){var i,r,a,o,s;if(i=e.k,e.p>=0)return!1;if(e.p=n.b,Wz(n.e,e),i==(cTt(),Cse)||i==Ise)for(r=new Wd(e.j);r.a<r.c.c.length;)for(s=new Gg(new Wd(new Ug(zz(t0(r),11)).a.g));vO(s.a);)if(o=(a=zz(t0(s.a),17).d.i).k,e.c!=a.c&&(o==Cse||o==Ise)&&_Ft(t,a,n))return!0;return!0}function AFt(t){var e;return 0!=(64&t.Db)?jMt(t):((e=new hN(jMt(t))).a+=" (changeable: ",v_(e,0!=(t.Bb&k6t)),e.a+=", volatile: ",v_(e,0!=(t.Bb&T7t)),e.a+=", transient: ",v_(e,0!=(t.Bb&$Xt)),e.a+=", defaultValueLiteral: ",aM(e,t.j),e.a+=", unsettable: ",v_(e,0!=(t.Bb&E7t)),e.a+=", derived: ",v_(e,0!=(t.Bb&hKt)),e.a+=")",e.a)}function EFt(t){var e,n,i,r,a,o,s,c,u,l;for(n=PLt(t.d),a=(r=zz(vEt(t.b,(Awt(),mae)),116)).b+r.c,o=r.d+r.a,c=n.d.a*t.e+a,s=n.b.a*t.f+o,Lf(t.b,new PS(c,s)),l=new Wd(t.g);l.a<l.c.c.length;)e=YF($P(new PS((u=zz(t0(l),562)).g-n.a.a,u.i-n.c.a),u.a,u.b),xL(zP(zO(KD(u.e)),u.d*u.a,u.c*u.b),-.5)),i=XD(u.e),ik(u.e,ZF(e,i))}function TFt(t,e,n,i){var r,a,o,s,c;for(c=P8(PNe,lKt,104,(kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])).length,0,2),o=0,s=(a=Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])).length;o<s;++o)c[(r=a[o]).g]=P8(PNe,UXt,25,t.c[r.g],15,1);return qxt(c,t,uIe),qxt(c,t,TIe),Byt(c,t,uIe,e,n,i),Byt(c,t,cIe,e,n,i),Byt(c,t,TIe,e,n,i),Byt(c,t,SIe,e,n,i),c}function CFt(t,e,n){if(lY(t.a,e)){if($A(zz(FZ(t.a,e),53),n))return 1}else KW(t.a,e,new Fm);if(lY(t.a,n)){if($A(zz(FZ(t.a,n),53),e))return-1}else KW(t.a,n,new Fm);if(lY(t.b,e)){if($A(zz(FZ(t.b,e),53),n))return-1}else KW(t.b,e,new Fm);if(lY(t.b,n)){if($A(zz(FZ(t.b,n),53),e))return 1}else KW(t.b,n,new Fm);return 0}function SFt(t,e,n,i){var r,a,o,s,c,u;if(null==n)for(r=zz(t.g,119),s=0;s<t.i;++s)if((o=r[s]).ak()==e)return $wt(t,o,i);return JE(),a=zz(e,66).Oj()?zz(n,72):J3(e,n),yD(t.e)?(u=!spt(t,e),i=Qgt(t,a,i),c=e.$j()?LV(t,3,e,null,n,mzt(t,e,n,aL(e,99)&&0!=(zz(e,18).Bb&qXt)),u):LV(t,1,e,e.zj(),n,-1,u),i?i.Ei(c):i=c):i=Qgt(t,a,i),i}function IFt(t){var e,i,r,a,o,s;t.q!=(V_t(),WSe)&&t.q!=ZSe&&(a=t.f.n.d+Zq(zz(cK(t.b,(kYt(),uIe)),124))+t.c,e=t.f.n.a+Zq(zz(cK(t.b,TIe),124))+t.c,r=zz(cK(t.b,cIe),124),s=zz(cK(t.b,SIe),124),o=n.Math.max(0,r.n.d-a),o=n.Math.max(o,s.n.d-a),i=n.Math.max(0,r.n.a-e),i=n.Math.max(i,s.n.a-e),r.n.d=o,s.n.d=o,r.n.a=i,s.n.a=i)}function MFt(t,e){var n,i,r,a,o,s,c;for(DAt(e,"Restoring reversed edges",1),o=new Wd(t.b);o.a<o.c.c.length;)for(s=new Wd(zz(t0(o),29).a);s.a<s.c.c.length;)for(c=new Wd(zz(t0(s),10).j);c.a<c.c.c.length;)for(r=0,a=(i=J0(zz(t0(c),11).g)).length;r<a;++r)Hv(AB(vEt(n=i[r],(hWt(),Sfe))))&&nzt(n,!1);HTt(e)}function DFt(){this.b=new m4,this.d=new m4,this.e=new m4,this.c=new m4,this.a=new Pw,this.f=new Pw,PQ(CEe,new vs,new xs),PQ(NEe,new Os,new Ls),PQ(_se,new Ns,new Ps),PQ(jse,new Fs,new Rs),PQ(lMe,new js,new $s),PQ(yne,new ks,new _s),PQ(Ine,new As,new Es),PQ(kne,new Ts,new Cs),PQ(_ne,new Ss,new Is),PQ(zne,new Ms,new Ds)}function OFt(t){var e,n,i,r,a,o;return a=0,(e=Mxt(t)).Bj()&&(a|=4),0!=(t.Bb&E7t)&&(a|=2),aL(t,99)?(r=Imt(n=zz(t,18)),0!=(n.Bb&h6t)&&(a|=32),r&&(dZ(pJ(r)),a|=8,((o=r.t)>1||-1==o)&&(a|=16),0!=(r.Bb&h6t)&&(a|=64)),0!=(n.Bb&qXt)&&(a|=T7t),a|=k6t):aL(e,457)?a|=512:(i=e.Bj())&&0!=(1&i.i)&&(a|=256),0!=(512&t.Bb)&&(a|=128),a}function LFt(t,e){var n,i,r,a,o;for(t=null==t?YWt:(xW(t),t),r=0;r<e.length;r++)e[r]=rLt(e[r]);for(n=new Ix,o=0,i=0;i<e.length&&-1!=(a=t.indexOf("%s",o));)n.a+=""+hP(null==t?YWt:(xW(t),t),o,a),sM(n,e[i++]),o=a+2;if(U0(n,t,o,t.length),i<e.length){for(n.a+=" [",sM(n,e[i++]);i<e.length;)n.a+=zWt,sM(n,e[i++]);n.a+="]"}return n.a}function NFt(t){var e,n,i,r,a;for(a=new Q6(t.a.c.length),r=new Wd(t.a);r.a<r.c.c.length;){switch(i=zz(t0(r),10),e=null,(n=zz(vEt(i,(HZt(),xbe)),163)).g){case 1:case 2:Jst(),e=Ole;break;case 3:case 4:Jst(),e=Mle}e?(hct(i,(hWt(),Uhe),(Jst(),Ole)),e==Mle?RNt(i,n,(sit(),qme)):e==Ole&&RNt(i,n,(sit(),Hme))):a.c[a.c.length]=i}return a}function PFt(t,e){var n,i,r,a,o,s,c;for(n=0,c=new Wd(e);c.a<c.c.c.length;){for(s=zz(t0(c),11),elt(t.b,t.d[s.p]),o=0,r=new y6(s.b);vO(r.a)||vO(r.b);)SW(i=zz(vO(r.a)?t0(r.a):t0(r.b),17))?(a=E_(t,s==i.c?i.d:i.c))>t.d[s.p]&&(n+=t5(t.b,a),p3(t.a,rft(a))):++o;for(n+=t.b.d*o;!Wv(t.a);)Ett(t.b,zz(pY(t.a),19).a)}return n}function BFt(t,e){var n;return t.f==sLe?(n=BW(z9((MCt(),JOe),e)),t.e?4==n&&e!=(EMt(),fLe)&&e!=(EMt(),uLe)&&e!=(EMt(),lLe)&&e!=(EMt(),hLe):2==n):!(!t.d||!(t.d.Hc(e)||t.d.Hc(J1(z9((MCt(),JOe),e)))||t.d.Hc(zHt((MCt(),JOe),t.b,e))))||!(!t.f||!sNt((MCt(),t.f),kK(z9(JOe,e))))&&(n=BW(z9(JOe,e)),t.e?4==n:2==n)}function FFt(t,e,i,r){var a,o,s,c,u,l,h,f;return u=(s=zz(tOt(i,(lWt(),bCe)),8)).a,h=s.b+t,(a=n.Math.atan2(h,u))<0&&(a+=t4t),(a+=e)>t4t&&(a-=t4t),l=(c=zz(tOt(r,bCe),8)).a,f=c.b+t,(o=n.Math.atan2(f,l))<0&&(o+=t4t),(o+=e)>t4t&&(o-=t4t),lO(),ait(1e-10),n.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:a<o?-1:a>o?1:GM(isNaN(a),isNaN(o))}function RFt(t){var e,n,i,r,a,o,s;for(s=new Pw,i=new Wd(t.a.b);i.a<i.c.c.length;)KW(s,e=zz(t0(i),57),new Nw);for(r=new Wd(t.a.b);r.a<r.c.c.length;)for((e=zz(t0(r),57)).i=jXt,o=e.c.Kc();o.Ob();)a=zz(o.Pb(),57),zz(HI(DV(s.f,a)),15).Fc(e);for(n=new Wd(t.a.b);n.a<n.c.c.length;)(e=zz(t0(n),57)).c.$b(),e.c=zz(HI(DV(s.f,e)),15);$Pt(t)}function jFt(t){var e,n,i,r,a,o,s;for(s=new Pw,i=new Wd(t.a.b);i.a<i.c.c.length;)KW(s,e=zz(t0(i),81),new Nw);for(r=new Wd(t.a.b);r.a<r.c.c.length;)for((e=zz(t0(r),81)).o=jXt,o=e.f.Kc();o.Ob();)a=zz(o.Pb(),81),zz(HI(DV(s.f,a)),15).Fc(e);for(n=new Wd(t.a.b);n.a<n.c.c.length;)(e=zz(t0(n),81)).f.$b(),e.f=zz(HI(DV(s.f,e)),15);qNt(t)}function $Ft(t,e,n,i){var r,a;for(Gxt(t,e,n,i),Pf(e,t.j-e.j+n),Bf(e,t.k-e.k+i),a=new Wd(e.f);a.a<a.c.c.length;)switch((r=zz(t0(a),324)).a.g){case 0:pct(t,e.g+r.b.a,0,e.g+r.c.a,e.i-1);break;case 1:pct(t,e.g+e.o,e.i+r.b.a,t.o-1,e.i+r.c.a);break;case 2:pct(t,e.g+r.b.a,e.i+e.p,e.g+r.c.a,t.p-1);break;default:pct(t,0,e.i+r.b.a,e.g-1,e.i+r.c.a)}}function zFt(t,e,n,i,r){var a,o;try{if(e>=t.o)throw qw(new Tm);o=e>>5,a=vG(1,pU(vG(31&e,1))),t.n[n][o]=r?i0(t.n[n][o],a):n0(t.n[n][o],sq(a)),a=vG(a,1),t.n[n][o]=i?i0(t.n[n][o],a):n0(t.n[n][o],sq(a))}catch(i){throw aL(i=dst(i),320)?qw(new Dv(TQt+t.o+"*"+t.p+CQt+e+zWt+n+SQt)):qw(i)}}function qFt(t,e,i,r){var a,o;e&&(a=Uv(EB(vEt(e,(UHt(),hxe))))+r,o=i+Uv(EB(vEt(e,sxe)))/2,hct(e,bxe,rft(pU(fot(n.Math.round(a))))),hct(e,wxe,rft(pU(fot(n.Math.round(o))))),0==e.d.b||qFt(t,zz(iL(new gb(lwt(new db(e).a.d,0))),86),i+Uv(EB(vEt(e,sxe)))+t.a,r+Uv(EB(vEt(e,cxe)))),null!=vEt(e,gxe)&&qFt(t,zz(vEt(e,gxe),86),i,r))}function HFt(t,e){var i,r,a,o,s,c,u,l,h,f,d;for(a=2*Uv(EB(vEt(u=mW(e.a),(HZt(),Awe)))),h=Uv(EB(vEt(u,Dwe))),l=n.Math.max(a,h),o=P8(PNe,UXt,25,e.f-e.c+1,15,1),r=-l,i=0,c=e.b.Kc();c.Ob();)s=zz(c.Pb(),10),r+=t.a[s.c.p]+l,o[i++]=r;for(r+=t.a[e.a.c.p]+l,o[i++]=r,d=new Wd(e.e);d.a<d.c.c.length;)f=zz(t0(d),10),r+=t.a[f.c.p]+l,o[i++]=r;return o}function UFt(t,e,n,i){var r,a,o,s,c,u,l,h;for(h=new p_(new Vp(t)),s=0,c=(o=Sst(Ux(Mse,1),s1t,10,0,[e,n])).length;s<c;++s)for(l=Nht(o[s],i).Kc();l.Ob();)for(a=new y6((u=zz(l.Pb(),11)).b);vO(a.a)||vO(a.b);)d5(r=zz(vO(a.a)?t0(a.a):t0(a.b),17))||(Tct(h.a,u,(lN(),mee)),SW(r)&&JY(h,u==r.c?r.d:r.c));return vZ(h),new ej(h)}function GFt(t,e){var n,i,r,a;if(0!=(a=zz(tOt(t,(lWt(),gCe)),61).g-zz(tOt(e,gCe),61).g))return a;if(n=zz(tOt(t,uCe),19),i=zz(tOt(e,uCe),19),n&&i&&0!=(r=n.a-i.a))return r;switch(zz(tOt(t,gCe),61).g){case 1:return Sft(t.i,e.i);case 2:return Sft(t.j,e.j);case 3:return Sft(e.i,t.i);case 4:return Sft(e.j,t.j);default:throw qw(new $v(a1t))}}function YFt(t){var e,n,i;return 0!=(64&t.Db)?vTt(t):(e=new fN(e6t),(n=t.k)?cM(cM((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new nY(GMe,t,1,7)),t.n.i>0&&(!(i=(!t.n&&(t.n=new nY(GMe,t,1,7)),zz(Ket(t.n,0),137)).a)||cM(cM((e.a+=' "',e),i),'"'))),cM(x_(cM(x_(cM(x_(cM(x_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function ZFt(t){var e,n,i;return 0!=(64&t.Db)?vTt(t):(e=new fN(n6t),(n=t.k)?cM(cM((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new nY(GMe,t,1,7)),t.n.i>0&&(!(i=(!t.n&&(t.n=new nY(GMe,t,1,7)),zz(Ket(t.n,0),137)).a)||cM(cM((e.a+=' "',e),i),'"'))),cM(x_(cM(x_(cM(x_(cM(x_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function WFt(t,e){var n,i,r,a,o,s;if(null==e||0==e.length)return null;if(!(r=zz(TQ(t.a,e),149))){for(i=new Rd(new Md(t.b).a.vc().Kc());i.a.Ob();)if(a=zz(i.a.Pb(),42),o=(n=zz(a.dd(),149)).c,s=e.length,yR(o.substr(o.length-s,s),e)&&(e.length==o.length||46==hK(o,o.length-e.length-1))){if(r)return null;r=n}r&&yJ(t.a,e,r)}return r}function KFt(t,e){var n,i,r;return n=new Nt,(i=zz(C4(OK(new FH(null,new g1(t.f,16)),n),P9(new X,new V,new rt,new at,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Zne),Yne]))),21).gc())<(r=zz(C4(OK(new FH(null,new g1(e.f,16)),n),P9(new X,new V,new rt,new at,Sst(Ux(tie,1),LKt,132,0,[Zne,Yne]))),21).gc())?-1:i==r?0:1}function XFt(t){var e,n,i;LP(t,(HZt(),Obe))&&((i=zz(vEt(t,Obe),21)).dc()||(n=new VR(e=zz(Kk(USe),9),zz(TF(e,e.length),9),0),i.Hc((eOt(),OSe))?urt(n,OSe):urt(n,LSe),i.Hc(MSe)||urt(n,MSe),i.Hc(ISe)?urt(n,BSe):i.Hc(SSe)?urt(n,PSe):i.Hc(DSe)&&urt(n,NSe),i.Hc(BSe)?urt(n,ISe):i.Hc(PSe)?urt(n,SSe):i.Hc(NSe)&&urt(n,DSe),hct(t,Obe,n)))}function VFt(t){var e,n,i,r,a,o,s;for(r=zz(vEt(t,(hWt(),rfe)),10),f1(0,(i=t.j).c.length),n=zz(i.c[0],11),o=new Wd(r.j);o.a<o.c.c.length;)if(UI(a=zz(t0(o),11))===UI(vEt(n,pfe))){a.j==(kYt(),uIe)&&t.p>r.p?(USt(a,TIe),a.d&&(s=a.o.b,e=a.a.b,a.a.b=s-e)):a.j==TIe&&r.p>t.p&&(USt(a,uIe),a.d&&(s=a.o.b,e=a.a.b,a.a.b=-(s-e)));break}return r}function QFt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g;if(a=n,n<i)for(d=new zot(t.p),g=new zot(t.p),zrt(d.e,t.e),d.q=t.q,d.r=g,rZ(d),zrt(g.j,t.j),g.r=d,rZ(g),h=zz((f=new rI(d,g)).a,112),l=zz(f.b,112),f1(a,e.c.length),o=LBt(t,h,l,r=zz(e.c[a],329)),u=n+1;u<=i;u++)f1(u,e.c.length),Xwt(s=zz(e.c[u],329),c=LBt(t,h,l,s),r,o)&&(r=s,o=c);return a}function JFt(t,e,n,i,r){var a,o,s,c,u,l,h;if(!(aL(e,239)||aL(e,354)||aL(e,186)))throw qw(new jv("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return o=t.a/2,c=e.i+i-o,l=e.j+r-o,u=c+e.g+t.a,h=l+e.f+t.a,Bq(a=new xy,new PS(c,l)),Bq(a,new PS(c,h)),Bq(a,new PS(u,h)),Bq(a,new PS(u,l)),Uot(s=new ADt(a),e),n&&KW(t.b,e,s),s}function tRt(t,e,n){var i,r,a,o,s,c,u,l;for(a=new PS(e,n),u=new Wd(t.a);u.a<u.c.c.length;)for(YF((c=zz(t0(u),10)).n,a),l=new Wd(c.j);l.a<l.c.c.length;)for(r=new Wd(zz(t0(l),11).g);r.a<r.c.c.length;)for(tnt((i=zz(t0(r),17)).a,a),(o=zz(vEt(i,(HZt(),mbe)),74))&&tnt(o,a),s=new Wd(i.b);s.a<s.c.c.length;)YF(zz(t0(s),70).n,a)}function eRt(t,e,n){var i,r,a,o,s,c,u,l;for(a=new PS(e,n),u=new Wd(t.a);u.a<u.c.c.length;)for(YF((c=zz(t0(u),10)).n,a),l=new Wd(c.j);l.a<l.c.c.length;)for(r=new Wd(zz(t0(l),11).g);r.a<r.c.c.length;)for(tnt((i=zz(t0(r),17)).a,a),(o=zz(vEt(i,(HZt(),mbe)),74))&&tnt(o,a),s=new Wd(i.b);s.a<s.c.c.length;)YF(zz(t0(s),70).n,a)}function nRt(t){if(0==(!t.b&&(t.b=new lR(RMe,t,4,7)),t.b).i)throw qw(new ax("Edges must have a source."));if(0==(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c).i)throw qw(new ax("Edges must have a target."));if(!t.b&&(t.b=new lR(RMe,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c.i<=1)))throw qw(new ax("Hyperedges are not supported."))}function iRt(t,e){var n,i,r,a,o,s,c,u,l,h;for(h=0,p3(a=new Lw,e);a.b!=a.c;)for(c=zz(pY(a),214),u=0,l=zz(vEt(e.j,(HZt(),Lpe)),339),o=Uv(EB(vEt(e.j,Ipe))),s=Uv(EB(vEt(e.j,Mpe))),l!=(vct(),Nme)&&(u+=o*COt(c.e,l),u+=s*aPt(c.e)),h+=lvt(c.d,c.e)+u,r=new Wd(c.b);r.a<r.c.c.length;)i=zz(t0(r),37),(n=zz(PH(t.b,i.p),214)).s||(h+=eSt(t,n));return h}function rRt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(c=d=e.length,d1(0,e.length),45==e.charCodeAt(0)?(h=-1,f=1,--d):(h=1,f=0),r=d/(a=(cqt(),one)[10])|0,0!=(b=d%a)&&++r,s=P8(DNe,hXt,25,r,15,1),n=ane[8],o=0,g=f+(0==b?a:b),p=f;p<c;g=(p=g)+a)i=djt(e.substr(p,g-p),$Kt,FWt),LMt(),u=bmt(s,s,o,n),u+=Zgt(s,o,i),s[o++]=u;l=o,t.e=h,t.d=l,t.a=s,Z0(t)}function aRt(t,e,n,i,r,a,o){if(t.c=i.qf().a,t.d=i.qf().b,r&&(t.c+=r.qf().a,t.d+=r.qf().b),t.b=e.rf().a,t.a=e.rf().b,r)switch(r.Hf().g){case 0:case 2:t.c+=r.rf().a+o+a.a+o;break;case 4:t.c-=o+a.a+o+e.rf().a;break;case 1:t.c+=r.rf().a+o,t.d-=o+a.b+o+e.rf().b;break;case 3:t.c+=r.rf().a+o,t.d+=r.rf().b+o+a.b+o}else n?t.c-=o+e.rf().a:t.c+=i.rf().a+o}function oRt(t,e){var n,i;for(this.b=new Nw,this.e=new Nw,this.a=t,this.d=e,Gwt(this),mpt(this),this.b.dc()?this.c=t.c.p:this.c=zz(this.b.Xb(0),10).c.p,0==this.e.c.length?this.f=t.c.p:this.f=zz(PH(this.e,this.e.c.length-1),10).c.p,i=zz(vEt(t,(hWt(),Cfe)),15).Kc();i.Ob();)if(LP(n=zz(i.Pb(),70),(HZt(),Kpe))){this.d=zz(vEt(n,Kpe),227);break}}function sRt(t,e,n){var i,r,a,o,s,c,u,l;for(i=zz(FZ(t.a,e),53),a=zz(FZ(t.a,n),53),r=zz(FZ(t.e,e),53),o=zz(FZ(t.e,n),53),i.a.zc(n,i),o.a.zc(e,o),l=a.a.ec().Kc();l.Ob();)u=zz(l.Pb(),10),i.a.zc(u,i),AY(zz(FZ(t.e,u),53),e),zrt(zz(FZ(t.e,u),53),r);for(c=r.a.ec().Kc();c.Ob();)s=zz(c.Pb(),10),o.a.zc(s,o),AY(zz(FZ(t.a,s),53),n),zrt(zz(FZ(t.a,s),53),a)}function cRt(t,e,n){var i,r,a,o,s,c,u,l;for(i=zz(FZ(t.a,e),53),a=zz(FZ(t.a,n),53),r=zz(FZ(t.b,e),53),o=zz(FZ(t.b,n),53),i.a.zc(n,i),o.a.zc(e,o),l=a.a.ec().Kc();l.Ob();)u=zz(l.Pb(),10),i.a.zc(u,i),AY(zz(FZ(t.b,u),53),e),zrt(zz(FZ(t.b,u),53),r);for(c=r.a.ec().Kc();c.Ob();)s=zz(c.Pb(),10),o.a.zc(s,o),AY(zz(FZ(t.a,s),53),n),zrt(zz(FZ(t.a,s),53),a)}function uRt(t,e){var n,i,r;switch(DAt(e,"Breaking Point Insertion",1),i=new TDt(t),zz(vEt(t,(HZt(),zwe)),337).g){case 2:r=new Aa;case 0:r=new ga;break;default:r=new Ea}if(n=r.Vf(t,i),Hv(AB(vEt(t,Hwe)))&&(n=FHt(t,n)),!r.Wf()&&LP(t,Zwe))switch(zz(vEt(t,Zwe),338).g){case 2:n=WSt(i,n);break;case 1:n=jAt(i,n)}n.dc()||nZt(t,n),HTt(e)}function lRt(t,e,n){var i,r,a,o,s,c,u;if(u=e,Lit(c=X3(t,L3(n),u),F2(u,U6t)),o=N2(u,N6t),XSt((i=new cI(t,c)).a,i.b,o),s=N2(u,P6t),VSt((r=new uI(t,c)).a,r.b,s),0==(!c.b&&(c.b=new lR(RMe,c,4,7)),c.b).i||0==(!c.c&&(c.c=new lR(RMe,c,5,8)),c.c).i)throw a=F2(u,U6t),qw(new nx(W6t+a+K6t));return CAt(u,c),lZt(t,u,c),Bct(t,u,c)}function hRt(t,e){var i,r,a,o,s,c,u;for(a=P8(DNe,hXt,25,t.e.a.c.length,15,1),s=new Wd(t.e.a);s.a<s.c.c.length;)a[(o=zz(t0(s),121)).d]+=o.b.a.c.length;for(c=Gz(e);0!=c.b;)for(r=L7(new Wd((o=zz(0==c.b?null:(CP(0!=c.b),Oet(c,c.a.a)),121)).g.a));r.Ob();)(u=(i=zz(r.Pb(),213)).e).e=n.Math.max(u.e,o.e+i.a),--a[u.d],0==a[u.d]&&r5(c,u,c.c.b,c.c)}function fRt(t){var e,i,r,a,o,s,c,u,l,h,f;for(i=$Kt,a=FWt,c=new Wd(t.e.a);c.a<c.c.c.length;)o=zz(t0(c),121),a=n.Math.min(a,o.e),i=n.Math.max(i,o.e);for(e=P8(DNe,hXt,25,i-a+1,15,1),s=new Wd(t.e.a);s.a<s.c.c.length;)(o=zz(t0(s),121)).e-=a,++e[o.e];if(r=0,null!=t.k)for(h=0,f=(l=t.k).length;h<f&&(u=l[h],e[r++]+=u,e.length!=r);++h);return e}function dRt(t){switch(t.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return zz(jPt(t),19).a==t.o;case 1:case 2:if(-2==t.o)return!1;switch(t.p){case 0:case 1:case 2:case 6:case 5:case 7:return XI(t.k,t.f);case 3:case 4:return t.j==t.e;default:return null==t.n?null==t.g:Pht(t.n,t.g)}default:return!1}}function gRt(t){NE(t,new TAt(mk(gk(wk(bk(new bs,j5t),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new Xs))),s2(t,j5t,VQt,pSe),s2(t,j5t,w3t,vwt(bSe)),s2(t,j5t,w5t,vwt(lSe)),s2(t,j5t,SJt,vwt(hSe)),s2(t,j5t,qJt,vwt(dSe)),s2(t,j5t,Q2t,vwt(fSe))}function pRt(t,e,n){var i,r,a,o;if(i=pU(odt(CKt,rK(pU(odt(null==e?0:eut(e),SKt)),15))),o=pU(odt(CKt,rK(pU(odt(null==n?0:eut(n),SKt)),15))),(a=Jrt(t,e,i))&&o==a.f&&gW(n,a.i))return n;if(tat(t,n,o))throw qw(new jv("value already present: "+n));return r=new HW(e,i,n,o),a?(NLt(t,a),QSt(t,r,a),a.e=null,a.c=null,a.i):(QSt(t,r,null),Uxt(t),null)}function bRt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;u=n.a.c,o=n.a.c+n.a.b,f=(a=zz(FZ(n.c,e),459)).f,d=a.a,s=a.b?new PS(o,f):new PS(u,f),l=a.c?new PS(u,d):new PS(o,d),r=u,n.p||(r+=t.c),c=new PS(r+=n.F+n.v*t.b,f),h=new PS(r,d),eit(e.a,Sst(Ux(CEe,1),lKt,8,0,[s,c])),n.d.a.gc()>1&&(i=new PS(r,n.b),Bq(e.a,i)),eit(e.a,Sst(Ux(CEe,1),lKt,8,0,[h,l]))}function wRt(t,e,n){var i,r,a,o,s,c;if(e){if(n<=-1){if(aL(i=iet(e.Tg(),-1-n),99))return zz(i,18);for(s=0,c=(o=zz(e.ah(i),153)).gc();s<c;++s)if(UI(o.jl(s))===UI(t)&&aL(r=o.il(s),99)&&0!=((a=zz(r,18)).Bb&h6t))return a;throw qw(new $v("The containment feature could not be located"))}return Imt(zz(iet(t.Tg(),n),18))}return null}function mRt(t){var e,n,i,r,a;for(i=t.length,e=new Cx,a=0;a<i;)if(9!=(n=hK(t,a++))&&10!=n&&12!=n&&13!=n&&32!=n)if(35!=n)92==n&&a<i?35==(d1(a,t.length),r=t.charCodeAt(a))||9==r||10==r||12==r||13==r||32==r?(NZ(e,r&VKt),++a):(e.a+="\\",NZ(e,r&VKt),++a):NZ(e,n&VKt);else for(;a<i&&13!=(n=hK(t,a++))&&10!=n;);return e.a}function yRt(t,e){var n,i,r;for(i=new Wd(e);i.a<i.c.c.length;)if(n=zz(t0(i),33),JIt(t.a,n,n),JIt(t.b,n,n),0!=(r=pBt(n)).c.length)for(t.d&&t.d.lg(r),JIt(t.a,n,(f1(0,r.c.length),zz(r.c[0],33))),JIt(t.b,n,zz(PH(r,r.c.length-1),33));0!=Fst(r).c.length;)r=Fst(r),t.d&&t.d.lg(r),JIt(t.a,n,(f1(0,r.c.length),zz(r.c[0],33))),JIt(t.b,n,zz(PH(r,r.c.length-1),33))}function vRt(t){var e,n,i,r,a,o,s,c,u,l;for(n=0,s=new Wd(t.d);s.a<s.c.c.length;)(o=zz(t0(s),101)).i&&(o.i.c=n++);for(e=xH(ONe,[lKt,tQt],[177,25],16,[n,n],2),l=t.d,r=0;r<l.c.length;r++)if(f1(r,l.c.length),(c=zz(l.c[r],101)).i)for(a=r+1;a<l.c.length;a++)f1(a,l.c.length),(u=zz(l.c[a],101)).i&&(i=aEt(c,u),e[c.i.c][u.i.c]=i,e[u.i.c][c.i.c]=i);return e}function xRt(t,e,n,i){var r,a,o;return o=new vA(e,n),t.a?i?(++(r=zz(FZ(t.b,e),283)).a,o.d=i.d,o.e=i.e,o.b=i,o.c=i,i.e?i.e.c=o:zz(FZ(t.b,e),283).b=o,i.d?i.d.b=o:t.a=o,i.d=o,i.e=o):(t.e.b=o,o.d=t.e,t.e=o,(r=zz(FZ(t.b,e),283))?(++r.a,(a=r.c).c=o,o.e=a,r.c=o):(KW(t.b,e,r=new uV(o)),++t.c)):(t.a=t.e=o,KW(t.b,e,new uV(o)),++t.c),++t.d,o}function kRt(t,e){var n,i,r,a,o,s,c,u;for(n=new RegExp(e,"g"),c=P8(Vee,lKt,2,0,6,1),i=0,u=t,a=null;;){if(null==(s=n.exec(u))||""==u){c[i]=u;break}o=s.index,c[i]=u.substr(0,o),u=hP(u,o+s[0].length,u.length),n.lastIndex=0,a==u&&(c[i]=u.substr(0,1),u=u.substr(1)),a=u,++i}if(t.length>0){for(r=c.length;r>0&&""==c[r-1];)--r;r<c.length&&(c.length=r)}return c}function _Rt(t,e){var n,i,r,a,o,s,c,u;for(s=null,r=!1,a=0,c=o4((u=xV(e)).a).i;a<c;++a)(n=_Rt(t,zz(iUt(u,a,aL(o=zz(Ket(o4(u.a),a),87).c,88)?zz(o,26):(wWt(),pOe)),26))).dc()||(s?(r||(r=!0,s=new rU(s)),s.Gc(n)):s=n);return(i=BIt(t,e)).dc()?s||(TX(),TX(),lne):s?(r||(s=new rU(s)),s.Gc(i),s):i}function ARt(t,e){var n,i,r,a,o,s,c,u;for(s=null,i=!1,a=0,c=o4((u=xV(e)).a).i;a<c;++a)(n=ARt(t,zz(iUt(u,a,aL(o=zz(Ket(o4(u.a),a),87).c,88)?zz(o,26):(wWt(),pOe)),26))).dc()||(s?(i||(i=!0,s=new rU(s)),s.Gc(n)):s=n);return(r=XMt(t,e)).dc()?s||(TX(),TX(),lne):s?(i||(s=new rU(s)),s.Gc(r),s):r}function ERt(t,e,n){var i,r,a,o,s,c;if(aL(e,72))return $wt(t,e,n);for(s=null,a=null,i=zz(t.g,119),o=0;o<t.i;++o)if(Pht(e,(r=i[o]).dd())&&aL(a=r.ak(),99)&&0!=(zz(a,18).Bb&h6t)){s=r;break}return s&&(yD(t.e)&&(c=a.$j()?LV(t,4,a,e,null,mzt(t,a,e,aL(a,99)&&0!=(zz(a,18).Bb&qXt)),!0):LV(t,a.Kj()?2:1,a,e,a.zj(),-1,!0),n?n.Ei(c):n=c),n=ERt(t,s,n)),n}function TRt(t){var e,i,r,a;r=t.o,HB(),t.A.dc()||Pht(t.A,Ore)?a=r.a:(a=CIt(t.f),t.A.Hc((vpt(),FIe))&&!t.B.Hc((ejt(),ZIe))&&(a=n.Math.max(a,CIt(zz(cK(t.p,(kYt(),uIe)),244))),a=n.Math.max(a,CIt(zz(cK(t.p,TIe),244)))),(e=uot(t))&&(a=n.Math.max(a,e.a))),Hv(AB(t.e.yf().We((lWt(),$Te))))?r.a=n.Math.max(r.a,a):r.a=a,(i=t.f.i).c=0,i.b=a,$$t(t.f)}function CRt(t,e){var n,i,r,a,o,s,c,u,l;if((n=e.Hh(t.a))&&null!=(c=TB(opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),"memberTypes")))){for(u=new Nw,o=0,s=(a=kRt(c,"\\w")).length;o<s;++o)aL(l=-1==(i=(r=a[o]).lastIndexOf("#"))?sB(t,e.Aj(),r):0==i?E7(t,null,r.substr(1)):E7(t,r.substr(0,i),r.substr(i+1)),148)&&Wz(u,zz(l,148));return u}return TX(),TX(),lne}function SRt(t,e,n){var i,r,a,o,s,c,u,l;for(DAt(n,sJt,1),t.bf(e),a=0;t.df(a);){for(l=new Wd(e.e);l.a<l.c.c.length;)for(c=zz(t0(l),144),s=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[e.e,e.d,e.b])));bDt(s);)(o=zz(Y5(s),357))!=c&&(r=t.af(o,c))&&YF(c.a,r);for(u=new Wd(e.e);u.a<u.c.c.length;)KTt(i=(c=zz(t0(u),144)).a,-t.d,-t.d,t.d,t.d),YF(c.d,i),xM(i);t.cf(),++a}HTt(n)}function IRt(t,e,n){var i,r,a,o;if(o=sPt(t.e.Tg(),e),i=zz(t.g,119),JE(),zz(e,66).Oj()){for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&Pht(r,n))return fBt(t,a),!0}else if(null!=n){for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&Pht(n,r.dd()))return fBt(t,a),!0}else for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&null==r.dd())return fBt(t,a),!0;return!1}function MRt(t,e){var n,i,r,a,o;for(null==t.c||t.c.length<e.c.length?t.c=P8(ONe,tQt,25,e.c.length,16,1):tx(t.c),t.a=new Nw,i=0,o=new Wd(e);o.a<o.c.c.length;)(r=zz(t0(o),10)).p=i++;for(n=new VA,a=new Wd(e);a.a<a.c.c.length;)r=zz(t0(a),10),t.c[r.p]||(hIt(t,r),0==n.b||(CP(0!=n.b),zz(n.a.a.c,15)).gc()<t.a.c.length?lM(n,t.a):hM(n,t.a),t.a=new Nw);return n}function DRt(t,e,n,i){var r,a,o,s,c,u,l;for(Snt(o=zz(Ket(e,0),33),0),Int(o,0),(c=new Nw).c[c.c.length]=o,s=o,a=new nH(t.a,o.g,o.f,(QLt(),j_e)),u=1;u<e.i;u++)Snt(l=zz(Ket(e,u),33),(r=sHt(t,eqt(t,B_e,l,s,a,c,n),eqt(t,P_e,l,s,a,c,n),eqt(t,R_e,l,s,a,c,n),eqt(t,F_e,l,s,a,c,n),l,s,i)).d),Int(l,r.e),od(r,j_e),a=r,s=l,c.c[c.c.length]=l;return a}function ORt(t){NE(t,new TAt(mk(gk(wk(bk(new bs,V4t),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new is))),s2(t,V4t,j4t,vwt(HAe)),s2(t,V4t,VQt,zAe),s2(t,V4t,yJt,8),s2(t,V4t,U4t,vwt(qAe)),s2(t,V4t,Z4t,vwt(jAe)),s2(t,V4t,W4t,vwt($Ae)),s2(t,V4t,W2t,(lN(),!1))}function LRt(t,e,n,i){var r,a,o,s,c,u,l,h;for(o=jP(e.c,n,i),l=new Wd(e.a);l.a<l.c.c.length;){for(YF((u=zz(t0(l),10)).n,o),h=new Wd(u.j);h.a<h.c.c.length;)for(a=new Wd(zz(t0(h),11).g);a.a<a.c.c.length;)for(tnt((r=zz(t0(a),17)).a,o),(s=zz(vEt(r,(HZt(),mbe)),74))&&tnt(s,o),c=new Wd(r.b);c.a<c.c.c.length;)YF(zz(t0(c),70).n,o);Wz(t.a,u),u.a=t}}function NRt(t,e){var n,i,r,a;if(DAt(e,"Node and Port Label Placement and Node Sizing",1),FD((bE(),new qK(t,!0,!0,new Kn))),zz(vEt(t,(hWt(),Jhe)),21).Hc((gBt(),fhe)))for(i=(r=zz(vEt(t,(HZt(),awe)),21)).Hc((dIt(),iIe)),a=Hv(AB(vEt(t,owe))),n=new Wd(t.b);n.a<n.c.c.length;)QA(DK(new FH(null,new g1(zz(t0(n),29).a,16)),new Xn),new Rj(r,i,a));HTt(e)}function PRt(t,e){var n,i,r,a,o,s;if((n=e.Hh(t.a))&&null!=(s=TB(opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),e8t))))switch(r=yN(s,QAt(35)),i=e.Hj(),-1==r?(o=oG(t,Zet(i)),a=s):0==r?(o=null,a=s.substr(1)):(o=s.substr(0,r),a=s.substr(r+1)),BW(z9(t,e))){case 2:case 3:return Fct(t,i,o,a);case 0:case 4:case 5:case 6:return Rct(t,i,o,a)}return null}function BRt(t,e,n){var i,r,a,o,s;if(JE(),o=zz(e,66).Oj(),LPt(t.e,e)){if(e.hi()&&Z$t(t,e,n,aL(e,99)&&0!=(zz(e,18).Bb&qXt)))return!1}else for(s=sPt(t.e.Tg(),e),i=zz(t.g,119),a=0;a<t.i;++a)if(r=i[a],s.rl(r.ak()))return!(o?Pht(r,n):null==n?null==r.dd():Pht(n,r.dd()))&&(zz(umt(t,a,o?zz(n,72):J3(e,n)),72),!0);return h7(t,o?zz(n,72):J3(e,n))}function FRt(t){var e,n,i,r,a;if(t.d)throw qw(new $v((_B(Voe),OVt+Voe.k+LVt)));for(t.c==(zht(),zCe)&&TGt(t,jCe),e=new Wd(t.a.a);e.a<e.c.c.length;)zz(t0(e),189).e=0;for(r=new Wd(t.a.b);r.a<r.c.c.length;)for((i=zz(t0(r),81)).o=jXt,n=i.f.Kc();n.Ob();)++zz(n.Pb(),81).d.e;for(GGt(t),a=new Wd(t.a.b);a.a<a.c.c.length;)zz(t0(a),81).k=!0;return t}function RRt(t,e){var n,i,r,a,o,s,c,u;for(s=new mCt(t),r5(n=new VA,e,n.c.b,n.c);0!=n.b;){for((i=zz(0==n.b?null:(CP(0!=n.b),Oet(n,n.a.a)),113)).d.p=1,o=new Wd(i.e);o.a<o.c.c.length;)_At(s,r=zz(t0(o),409)),0==(u=r.d).d.p&&r5(n,u,n.c.b,n.c);for(a=new Wd(i.b);a.a<a.c.c.length;)_At(s,r=zz(t0(a),409)),0==(c=r.c).d.p&&r5(n,c,n.c.b,n.c)}return s}function jRt(t){var e,n,i,r,a;if(1!=(i=Uv(EB(tOt(t,(lWt(),vCe))))))for(ED(t,i*t.g,i*t.f),n=ZM(jz((!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c),new qs)),a=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[(!t.n&&(t.n=new nY(GMe,t,1,7)),t.n),(!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c),n])));bDt(a);)(r=zz(Y5(a),470)).Gg(i*r.Dg(),i*r.Eg()),r.Fg(i*r.Cg(),i*r.Bg()),(e=zz(r.We(aCe),8))&&(e.a*=i,e.b*=i)}function $Rt(t,e,n,i,r){var a,o,s,c,u,l;for(a=new Wd(t.b);a.a<a.c.c.length;)for(u=0,l=(c=t2(zz(t0(a),29).a)).length;u<l;++u)switch(zz(vEt(s=c[u],(HZt(),xbe)),163).g){case 1:yPt(s),CJ(s,e),dmt(s,!0,i);break;case 3:tPt(s),CJ(s,n),dmt(s,!1,r)}for(o=new E2(t.b,0);o.b<o.d.gc();)0==(CP(o.b<o.d.gc()),zz(o.d.Xb(o.c=o.b++),29)).a.c.length&&hW(o)}function zRt(t,e){var n,i,r,a,o,s,c;if((n=e.Hh(t.a))&&null!=(c=TB(opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),T9t)))){for(i=new Nw,o=0,s=(a=kRt(c,"\\w")).length;o<s;++o)yR(r=a[o],"##other")?Wz(i,"!##"+oG(t,Zet(e.Hj()))):yR(r,"##local")?i.c[i.c.length]=null:yR(r,A9t)?Wz(i,oG(t,Zet(e.Hj()))):i.c[i.c.length]=r;return i}return TX(),TX(),lne}function qRt(t,e){var n,i,r;return n=new Yt,(i=1==(i=zz(C4(OK(new FH(null,new g1(t.f,16)),n),P9(new X,new V,new rt,new at,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Zne),Yne]))),21).gc())?1:0)<(r=1==(r=zz(C4(OK(new FH(null,new g1(e.f,16)),n),P9(new X,new V,new rt,new at,Sst(Ux(tie,1),LKt,132,0,[Zne,Yne]))),21).gc())?1:0)?-1:i==r?0:1}function HRt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(r=Hv(AB(vEt(s=t.i,(HZt(),gbe)))),l=0,i=0,u=new Wd(t.g);u.a<u.c.c.length;)a=(o=d5(c=zz(t0(u),17)))&&r&&Hv(AB(vEt(c,pbe))),f=c.d.i,o&&a?++i:o&&!a?++l:mW(f).e==s?++i:++l;for(n=new Wd(t.e);n.a<n.c.c.length;)a=(o=d5(e=zz(t0(n),17)))&&r&&Hv(AB(vEt(e,pbe))),h=e.c.i,o&&a?++l:o&&!a?++i:mW(h).e==s?++l:++i;return l-i}function URt(t,e,n,i){this.e=t,this.k=zz(vEt(t,(hWt(),Dfe)),304),this.g=P8(Mse,s1t,10,e,0,1),this.b=P8(See,lKt,333,e,7,1),this.a=P8(Mse,s1t,10,e,0,1),this.d=P8(See,lKt,333,e,7,1),this.j=P8(Mse,s1t,10,e,0,1),this.i=P8(See,lKt,333,e,7,1),this.p=P8(See,lKt,333,e,7,1),this.n=P8(kee,lKt,476,e,8,1),vT(this.n,(lN(),!1)),this.f=P8(kee,lKt,476,e,8,1),vT(this.f,!0),this.o=n,this.c=i}function GRt(t,e){var n,i,r;if(!e.dc())if(zz(e.Xb(0),286).d==(LCt(),tle))Oxt(t,e);else for(i=e.Kc();i.Ob();){switch((n=zz(i.Pb(),286)).d.g){case 5:hCt(t,n,Xdt(t,n));break;case 0:hCt(t,n,(r=(n.f-n.c+1-1)/2|0,n.c+r));break;case 4:hCt(t,n,Ott(t,n));break;case 2:jgt(n),hCt(t,n,L_t(n)?n.c:n.f);break;case 1:jgt(n),hCt(t,n,L_t(n)?n.f:n.c)}hEt(n.a)}}function YRt(t,e){var n,i,r,a,o;if(!e.e){for(e.e=!0,i=e.d.a.ec().Kc();i.Ob();)n=zz(i.Pb(),17),e.o&&e.d.a.gc()<=1?(o=new PS((a=e.a.c)+(e.a.c+e.a.b-a)/2,e.b),Bq(zz(e.d.a.ec().Kc().Pb(),17).a,o)):(r=zz(FZ(e.c,n),459)).b||r.c?bRt(t,n,e):t.d==(Zut(),rye)&&(r.d||r.e)&&NMt(t,e)&&e.d.a.gc()<=1?bGt(n,e):FBt(t,n,e);e.k&&n5(e.d,new An)}}function ZRt(t,e,i,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,m,y;for(c=(r+a)/2+o,b=i*n.Math.cos(c),w=i*n.Math.sin(c),m=b-e.g/2,y=w-e.f/2,Snt(e,m),Int(e,y),f=t.a.jg(e),(p=2*n.Math.acos(i/i+t.c))<a-r?(d=p/f,s=(r+a-p)/2):(d=(a-r)/f,s=r),g=pBt(e),t.e&&(t.e.kg(t.d),t.e.lg(g)),l=new Wd(g);l.a<l.c.c.length;)u=zz(t0(l),33),h=t.a.jg(u),ZRt(t,u,i+t.c,s,s+d*h,o),s+=d*h}function WRt(t,e,n){var i;switch(i=n.q.getMonth(),e){case 5:cM(t,Sst(Ux(Vee,1),lKt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:cM(t,Sst(Ux(Vee,1),lKt,2,6,[QKt,JKt,tXt,eXt,nXt,iXt,rXt,aXt,oXt,sXt,cXt,uXt])[i]);break;case 3:cM(t,Sst(Ux(Vee,1),lKt,2,6,["Jan","Feb","Mar","Apr",nXt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:_tt(t,i+1,e)}}function KRt(t,e){var n,i,r,a;if(DAt(e,"Network simplex",1),t.e.a.c.length<1)HTt(e);else{for(r=new Wd(t.e.a);r.a<r.c.c.length;)zz(t0(r),121).e=0;for((a=t.e.a.c.length>=40)&&A$t(t),qqt(t),EPt(t),n=xft(t),i=0;n&&i<t.f;)ijt(t,n,iOt(t,n)),n=xft(t),++i;a&&nAt(t),t.a?mOt(t,fRt(t)):fRt(t),t.b=null,t.d=null,t.p=null,t.c=null,t.g=null,t.i=null,t.n=null,t.o=null,HTt(e)}}function XRt(t,e,n,i){var r,a,o,s,c,u,l,h;for(ZF(s=new PS(n,i),zz(vEt(e,(Trt(),coe)),8)),h=new Wd(e.e);h.a<h.c.c.length;)YF((l=zz(t0(h),144)).d,s),Wz(t.e,l);for(o=new Wd(e.c);o.a<o.c.c.length;){for(r=new Wd((a=zz(t0(o),282)).a);r.a<r.c.c.length;)YF(zz(t0(r),559).d,s);Wz(t.c,a)}for(u=new Wd(e.d);u.a<u.c.c.length;)YF((c=zz(t0(u),447)).d,s),Wz(t.d,c)}function VRt(t,e){var n,i,r,a,o,s,c,u;for(c=new Wd(e.j);c.a<c.c.c.length;)for(r=new y6((s=zz(t0(c),11)).b);vO(r.a)||vO(r.b);)e!=(a=(n=(i=zz(vO(r.a)?t0(r.a):t0(r.b),17)).c==s?i.d:i.c).i)&&((u=zz(vEt(i,(HZt(),hwe)),19).a)<0&&(u=0),o=a.p,0==t.b[o]&&(i.d==n?(t.a[o]-=u+1,t.a[o]<=0&&t.c[o]>0&&Bq(t.f,a)):(t.c[o]-=u+1,t.c[o]<=0&&t.a[o]>0&&Bq(t.e,a))))}function QRt(t){var e,n,i,r,a,o,s;for(a=new p_(zz(vZ(new Bt),62)),s=jXt,n=new Wd(t.d);n.a<n.c.c.length;){for(s=(e=zz(t0(n),222)).c.c;0!=a.a.c&&(o=zz(EY(H7(a.a)),222)).c.c+o.c.b<s;)OQ(a.a,o);for(r=new $d(new zF(new PN(new jd(a.a).a).b));oT(r.a.a);)Bq((i=zz(yP(r.a).cd(),222)).b,e),Bq(e.b,i);Tct(a.a,e,(lN(),mee))}}function JRt(t,e,n){var i,r,a,o,s,c,u,l,h;for(a=new Q6(e.c.length),u=new Wd(e);u.a<u.c.c.length;)o=zz(t0(u),10),Wz(a,t.b[o.c.p][o.p]);for(vHt(t,a,n),h=null;h=iGt(a);)azt(t,zz(h.a,233),zz(h.b,233),a);for(e.c=P8(Ote,HWt,1,0,5,1),r=new Wd(a);r.a<r.c.c.length;)for(c=0,l=(s=(i=zz(t0(r),233)).d).length;c<l;++c)o=s[c],e.c[e.c.length]=o,t.a[o.c.p][o.p].a=fL(i.g,i.d[0]).a}function tjt(t,e){var n,i,r,a;if(0<(aL(t,14)?zz(t,14).gc():$3(t.Kc()))){if(1<(r=e)){for(--r,a=new mo,i=t.Kc();i.Ob();)n=zz(i.Pb(),86),a=Knt(Sst(Ux(Bte,1),HWt,20,0,[a,new db(n)]));return tjt(a,r)}if(r<0){for(a=new yo,i=t.Kc();i.Ob();)n=zz(i.Pb(),86),a=Knt(Sst(Ux(Bte,1),HWt,20,0,[a,new db(n)]));if(0<(aL(a,14)?zz(a,14).gc():$3(a.Kc())))return tjt(a,r)}}return zz(iL(t.Kc()),86)}function ejt(){ejt=M,UIe=new XS("DEFAULT_MINIMUM_SIZE",0),YIe=new XS("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),HIe=new XS("COMPUTE_PADDING",2),ZIe=new XS("OUTSIDE_NODE_LABELS_OVERHANG",3),WIe=new XS("PORTS_OVERHANG",4),XIe=new XS("UNIFORM_PORT_SPACING",5),KIe=new XS("SPACE_EFFICIENT_PORT_LABELS",6),GIe=new XS("FORCE_TABULAR_NODE_LABELS",7),qIe=new XS("ASYMMETRICAL",8)}function njt(t,e){var n,i,r,a,o,s,c,u;if(e){if(n=(a=e.Tg())?Zet(a).Nh().Jh(a):null){for(Jbt(t,e,n),c=0,u=(null==(r=e.Tg()).i&&U$t(r),r.i).length;c<u;++c)null==r.i&&U$t(r),i=r.i,(s=c>=0&&c<i.length?i[c]:null).Ij()&&!s.Jj()&&(aL(s,322)?emt(t,zz(s,34),e,n):0!=((o=zz(s,18)).Bb&h6t)&&l_t(t,o,e,n));e.kh()&&zz(n,49).vh(zz(e,49).qh())}return n}return null}function ijt(t,e,n){var i,r,a;if(!e.f)throw qw(new jv("Given leave edge is no tree edge."));if(n.f)throw qw(new jv("Given enter edge is a tree edge already."));for(e.f=!1,nL(t.p,e),n.f=!0,AY(t.p,n),i=n.e.e-n.d.e-n.a,zSt(t,n.e,e)||(i=-i),a=new Wd(t.e.a);a.a<a.c.c.length;)zSt(t,r=zz(t0(a),121),e)||(r.e+=i);t.j=1,tx(t.c),mIt(t,zz(t0(new Wd(t.e.a)),121)),wUt(t)}function rjt(t,e){var n,i,r,a,o,s;if((s=zz(vEt(e,(HZt(),nwe)),98))==(V_t(),WSe)||s==ZSe)for(r=new PS(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,o=new Wd(t.a);o.a<o.c.c.length;)(a=zz(t0(o),10)).k==(cTt(),Ese)&&((n=zz(vEt(a,(hWt(),Xhe)),61))!=(kYt(),cIe)&&n!=SIe||(i=Uv(EB(vEt(a,Afe))),s==WSe&&(i*=r),a.n.b=i-zz(vEt(a,twe),8).b,Jot(a,!1,!0)))}function ajt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;if(Qet(t,e,n),a=e[n],d=i?(kYt(),SIe):(kYt(),cIe),yL(e.length,n,i)){for(U6(t,r=e[i?n-1:n+1],i?(sit(),Hme):(sit(),qme)),l=0,f=(c=a).length;l<f;++l)Bmt(t,o=c[l],d);for(U6(t,a,i?(sit(),qme):(sit(),Hme)),u=0,h=(s=r).length;u<h;++u)(o=s[u]).e||Bmt(t,o,Eft(d))}else for(u=0,h=(s=a).length;u<h;++u)Bmt(t,o=s[u],d);return!1}function ojt(t,e,n,i){var r,a,o,s,c;s=sdt(e,n),(n==(kYt(),TIe)||n==SIe)&&(s=aL(s,152)?c6(zz(s,152)):aL(s,131)?zz(s,131).a:aL(s,54)?new hv(s):new SA(s)),o=!1;do{for(r=!1,a=0;a<s.gc()-1;a++)qEt(t,zz(s.Xb(a),11),zz(s.Xb(a+1),11),i)&&(o=!0,x0(t.a,zz(s.Xb(a),11),zz(s.Xb(a+1),11)),c=zz(s.Xb(a+1),11),s._c(a+1,zz(s.Xb(a),11)),s._c(a,c),r=!0)}while(r);return o}function sjt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;if(!yD(t.e))return zz(QIt(t,e,n),72);if(e!=n&&(o=(d=(r=zz(t.g,119))[n]).ak(),LPt(t.e,o))){for(g=sPt(t.e.Tg(),o),c=-1,s=-1,i=0,u=0,h=e>n?e:n;u<=h;++u)u==n?s=i++:(a=r[u],l=g.rl(a.ak()),u==e&&(c=u!=h||l?i:i-1),l&&++i);return f=zz(Mft(t,e,n),72),s!=c&&Lm(t,new k7(t.e,7,o,rft(s),d.dd(),c)),f}return zz(Mft(t,e,n),72)}function cjt(t,e){var n,i,r,a,o,s;for(DAt(e,"Port order processing",1),s=zz(vEt(t,(HZt(),cwe)),421),n=new Wd(t.b);n.a<n.c.c.length;)for(r=new Wd(zz(t0(n),29).a);r.a<r.c.c.length;)i=zz(t0(r),10),a=zz(vEt(i,nwe),98),o=i.j,a==(V_t(),YSe)||a==WSe||a==ZSe?(TX(),yO(o,uue)):a!=XSe&&a!=VSe&&(TX(),yO(o,hue),Nmt(o),s==(Y9(),jme)&&yO(o,lue)),i.i=!0,iIt(i);HTt(e)}function ujt(t){var e,i,r,a,o,s,c,u;for(u=new Pw,e=new $m,s=t.Kc();s.Ob();)a=zz(s.Pb(),10),c=DN(cE(new Hm,a),e),_St(u.f,a,c);for(o=t.Kc();o.Ob();)for(r=new cG(JL(ddt(a=zz(o.Pb(),10)).a.Kc(),new l));bDt(r);)d5(i=zz(Y5(r),17))||ZNt(oE(aE(rE(sE(new qm,n.Math.max(1,zz(vEt(i,(HZt(),fwe)),19).a)),1),zz(FZ(u,i.c.i),121)),zz(FZ(u,i.d.i),121)));return e}function ljt(){ljt=M,dve=pH(new z2,(xEt(),$oe),(dWt(),mce)),pve=pH(new z2,joe,kce),bve=WU(pH(new z2,joe,Bce),zoe,Pce),fve=WU(pH(pH(new z2,joe,fce),$oe,dce),zoe,gce),wve=ubt(ubt($E(WU(pH(new z2,Foe,Yce),zoe,Gce),$oe),Uce),Zce),gve=WU(new z2,zoe,yce),lve=WU(pH(pH(pH(new z2,Roe,Ece),$oe,Cce),$oe,Sce),zoe,Tce),hve=WU(pH(pH(new z2,$oe,Sce),$oe,sce),zoe,oce)}function hjt(t,e,n,i,r,a){var o,s,c,u,l,h;for(o=dTt(e,c=_ct(e)-_ct(t)),s=EO(0,0,0);c>=0&&(!Ivt(t,o)||(c<22?s.l|=1<<c:c<44?s.m|=1<<c-22:s.h|=1<<c-44,0!=t.l||0!=t.m||0!=t.h));)u=o.m,l=o.h,h=o.l,o.h=l>>>1,o.m=u>>>1|(1&l)<<21,o.l=h>>>1|(1&u)<<21,--c;return n&&Dct(s),a&&(i?(dee=sct(t),r&&(dee=hst(dee,(Z9(),bee)))):dee=EO(t.l,t.m,t.h)),s}function fjt(t,e){var n,i,r,a,o,s,c,u,l,h;for(u=t.e[e.c.p][e.p]+1,c=e.c.a.c.length+1,s=new Wd(t.a);s.a<s.c.c.length;){for(o=zz(t0(s),11),h=0,a=0,r=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[new qg(o),new Ug(o)])));bDt(r);)(i=zz(Y5(r),11)).i.c==e.c&&(h+=dL(t,i.i)+1,++a);n=h/a,(l=o.j)==(kYt(),cIe)?t.f[o.p]=n<u?t.c-n:t.b+(c-n):l==SIe&&(t.f[o.p]=n<u?t.b+n:t.c-(c-n))}}function djt(t,e,n){var i,r,a,o;if(null==t)throw qw(new Ex(YWt));for(i=(a=t.length)>0&&(d1(0,t.length),45==t.charCodeAt(0)||(d1(0,t.length),43==t.charCodeAt(0)))?1:0;i<a;i++)if(-1==ibt((d1(i,t.length),t.charCodeAt(i))))throw qw(new Ex(FXt+t+'"'));if(r=(o=parseInt(t,10))<e,isNaN(o))throw qw(new Ex(FXt+t+'"'));if(r||o>n)throw qw(new Ex(FXt+t+'"'));return o}function gjt(t){var e,i,r,a,o,s;for(o=new VA,a=new Wd(t.a);a.a<a.c.c.length;)Kf(r=zz(t0(a),112),r.f.c.length),Xf(r,r.k.c.length),0==r.i&&(r.o=0,r5(o,r,o.c.b,o.c));for(;0!=o.b;)for(i=(r=zz(0==o.b?null:(CP(0!=o.b),Oet(o,o.a.a)),112)).o+1,e=new Wd(r.f);e.a<e.c.c.length;)Vf(s=zz(t0(e),129).a,n.Math.max(s.o,i)),Xf(s,s.i-1),0==s.i&&r5(o,s,o.c.b,o.c)}function pjt(t){var e,n,i,r,a,o,s,c;for(o=new Wd(t);o.a<o.c.c.length;){for(a=zz(t0(o),79),s=(i=SAt(zz(Ket((!a.b&&(a.b=new lR(RMe,a,4,7)),a.b),0),82))).i,c=i.j,SD(r=zz(Ket((!a.a&&(a.a=new nY($Me,a,6,6)),a.a),0),202),r.j+s,r.k+c),CD(r,r.b+s,r.c+c),n=new DL((!r.a&&(r.a=new OL(PMe,r,5)),r.a));n.e!=n.i.gc();)AD(e=zz(kwt(n),469),e.a+s,e.b+c);Qrt(zz(tOt(a,(lWt(),MTe)),74),s,c)}}function bjt(t){switch(t){case 100:return vWt(lte,!0);case 68:return vWt(lte,!1);case 119:return vWt(hte,!0);case 87:return vWt(hte,!1);case 115:return vWt(fte,!0);case 83:return vWt(fte,!1);case 99:return vWt(dte,!0);case 67:return vWt(dte,!1);case 105:return vWt(gte,!0);case 73:return vWt(gte,!1);default:throw qw(new pv(ute+t.toString(16)))}}function wjt(t){var e,i,r,a,o;switch(a=zz(PH(t.a,0),10),e=new Lmt(t),Wz(t.a,e),e.o.a=n.Math.max(1,a.o.a),e.o.b=n.Math.max(1,a.o.b),e.n.a=a.n.a,e.n.b=a.n.b,zz(vEt(a,(hWt(),Xhe)),61).g){case 4:e.n.a+=2;break;case 1:e.n.b+=2;break;case 2:e.n.a-=2;break;case 3:e.n.b-=2}return SJ(r=new ITt,e),TJ(i=new gV,o=zz(PH(a.j,0),11)),EJ(i,r),YF(xM(r.n),o.n),YF(xM(r.a),o.a),e}function mjt(t,e,n,i,r){n&&(!i||(t.c-t.b&t.a.length-1)>1)&&1==e&&zz(t.a[t.b],10).k==(cTt(),Tse)?h$t(zz(t.a[t.b],10),(Wvt(),kSe)):i&&(!n||(t.c-t.b&t.a.length-1)>1)&&1==e&&zz(t.a[t.c-1&t.a.length-1],10).k==(cTt(),Tse)?h$t(zz(t.a[t.c-1&t.a.length-1],10),(Wvt(),_Se)):2==(t.c-t.b&t.a.length-1)?(h$t(zz(Act(t),10),(Wvt(),kSe)),h$t(zz(Act(t),10),_Se)):lLt(t,r),c4(t)}function yjt(t,e,i){var r,a,o,s,c;for(o=0,a=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));a.e!=a.i.gc();)s="",0==(!(r=zz(kwt(a),33)).n&&(r.n=new nY(GMe,r,1,7)),r.n).i||(s=zz(Ket((!r.n&&(r.n=new nY(GMe,r,1,7)),r.n),0),137).a),Uot(c=new out(o++,e,s),r),hct(c,(UHt(),uxe),r),c.e.b=r.j+r.f/2,c.f.a=n.Math.max(r.g,1),c.e.a=r.i+r.g/2,c.f.b=n.Math.max(r.f,1),Bq(e.b,c),_St(i.f,r,c)}function vjt(t){var e,n,i,r,a;i=zz(vEt(t,(hWt(),pfe)),33),a=zz(tOt(i,(HZt(),$be)),174).Hc((vpt(),jIe)),t.e||(r=zz(vEt(t,Jhe),21),e=new PS(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),r.Hc((gBt(),fhe))?(Qwt(i,nwe,(V_t(),ZSe)),jYt(i,e.a,e.b,!1,!0)):Hv(AB(tOt(i,zbe)))||jYt(i,e.a,e.b,!0,!0)),Qwt(i,$be,a?edt(jIe):new VR(n=zz(Kk(VIe),9),zz(TF(n,n.length),9),0))}function xjt(t,e,n){var i,r,a,o;if(e[0]>=t.length)return n.o=0,!0;switch(hK(t,e[0])){case 43:r=1;break;case 45:r=-1;break;default:return n.o=0,!0}if(++e[0],a=e[0],0==(o=ZIt(t,e))&&e[0]==a)return!1;if(e[0]<t.length&&58==hK(t,e[0])){if(i=60*o,++e[0],a=e[0],0==(o=ZIt(t,e))&&e[0]==a)return!1;i+=o}else(i=o)<24&&e[0]-a<=2?i*=60:i=i%100+60*(i/100|0);return i*=r,n.o=-i,!0}function kjt(t){var e,n,i,r,a,o,s;for(r=new Nw,i=new cG(JL(ddt(t.b).a.Kc(),new l));bDt(i);)d5(n=zz(Y5(i),17))&&Wz(r,new k6(n,m7(t,n.c),m7(t,n.d)));for(s=new Rd(new Md(t.e).a.vc().Kc());s.a.Ob();)e=zz(s.a.Pb(),42),(a=zz(e.dd(),113)).d.p=0;for(o=new Rd(new Md(t.e).a.vc().Kc());o.a.Ob();)e=zz(o.a.Pb(),42),0==(a=zz(e.dd(),113)).d.p&&Wz(t.d,RRt(t,a))}function _jt(t){var e,n,i,r,a;for(a=WQ(t),r=new DL((!t.e&&(t.e=new lR(jMe,t,7,4)),t.e));r.e!=r.i.gc();)if(i=zz(kwt(r),79),!Iet(SAt(zz(Ket((!i.c&&(i.c=new lR(RMe,i,5,8)),i.c),0),82)),a))return!0;for(n=new DL((!t.d&&(t.d=new lR(jMe,t,8,5)),t.d));n.e!=n.i.gc();)if(e=zz(kwt(n),79),!Iet(SAt(zz(Ket((!e.b&&(e.b=new lR(RMe,e,4,7)),e.b),0),82)),a))return!0;return!1}function Ajt(t){var e,i,r,a,o,s,c,u;for(u=new xy,c=null,i=zz(d3(e=lwt(t,0)),8),a=zz(d3(e),8);e.b!=e.d.c;)c=i,i=a,a=zz(d3(e),8),o=aet(ZF(new PS(c.a,c.b),i)),s=aet(ZF(new PS(a.a,a.b),i)),r=10,r=n.Math.min(r,n.Math.abs(o.a+o.b)/2),r=n.Math.min(r,n.Math.abs(s.a+s.b)/2),o.a=qq(o.a)*r,o.b=qq(o.b)*r,s.a=qq(s.a)*r,s.b=qq(s.b)*r,Bq(u,YF(o,i)),Bq(u,YF(s,i));return u}function Ejt(t,e,n,i){var r,a,o,s,c;return o=t.eh(),r=null,(c=t.Zg())?e&&0==(wRt(t,e,n).Bb&qXt)?(i=$wt(c.Vk(),t,i),t.uh(null),r=e.fh()):c=null:(o&&(c=o.fh()),e&&(r=e.fh())),c!=r&&c&&c.Zk(t),s=t.Vg(),t.Rg(e,n),c!=r&&r&&r.Yk(t),t.Lg()&&t.Mg()&&(o&&s>=0&&s!=n&&(a=new tY(t,1,s,o,null),i?i.Ei(a):i=a),n>=0&&(a=new tY(t,1,n,s==n?o:null,e),i?i.Ei(a):i=a)),i}function Tjt(t){var e,n,i;if(null==t.b){if(i=new Tx,null!=t.i&&(aM(i,t.i),i.a+=":"),0!=(256&t.f)){for(0!=(256&t.f)&&null!=t.a&&(rX(t.i)||(i.a+="//"),aM(i,t.a)),null!=t.d&&(i.a+="/",aM(i,t.d)),0!=(16&t.f)&&(i.a+="/"),e=0,n=t.j.length;e<n;e++)0!=e&&(i.a+="/"),aM(i,t.j[e]);null!=t.g&&(i.a+="?",aM(i,t.g))}else aM(i,t.a);null!=t.e&&(i.a+="#",aM(i,t.e)),t.b=i.a}return t.b}function Cjt(t,e){var n,i,r,a,o,s;for(r=new Wd(e.a);r.a<r.c.c.length;)aL(a=vEt(i=zz(t0(r),10),(hWt(),pfe)),11)&&(s=x$t(e,i,(o=zz(a,11)).o.a,o.o.b),o.n.a=s.a,o.n.b=s.b,USt(o,zz(vEt(i,Xhe),61)));n=new PS(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),zz(vEt(e,(hWt(),Jhe)),21).Hc((gBt(),fhe))?(hct(t,(HZt(),nwe),(V_t(),ZSe)),zz(vEt(mW(t),Jhe),21).Fc(phe),gUt(t,n,!1)):gUt(t,n,!0)}function Sjt(t,e,n){var i,r,a,o,s;DAt(n,"Minimize Crossings "+t.a,1),i=0==e.b.c.length||!k_(DK(new FH(null,new g1(e.b,16)),new og(new Da))).sd((pE(),eie)),s=1==e.b.c.length&&1==zz(PH(e.b,0),29).a.c.length,a=UI(vEt(e,(HZt(),ube)))===UI((cht(),wSe)),i||s&&!a||(Cut(r=lPt(t,e),(o=zz(Fwt(r,0),214)).c.Rf()?o.c.Lf()?new Yp(t):new Zp(t):new Gp(t)),sht(t)),HTt(n)}function Ijt(t,e,n,i){var r,a,o,s;if(s=pU(odt(CKt,rK(pU(odt(null==e?0:eut(e),SKt)),15))),r=pU(odt(CKt,rK(pU(odt(null==n?0:eut(n),SKt)),15))),o=tat(t,e,s),a=Jrt(t,n,r),o&&r==o.a&&gW(n,o.g))return n;if(a&&!i)throw qw(new jv("key already present: "+n));return o&&NLt(t,o),a&&NLt(t,a),QSt(t,new HW(n,r,e,s),a),a&&(a.e=null,a.c=null),o&&(o.e=null,o.c=null),Uxt(t),o?o.g:null}function Mjt(t,e,n){var i,r,a,o,s;for(a=0;a<e;a++){for(i=0,s=a+1;s<e;s++)i=adt(adt(odt(n0(t[a],ZXt),n0(t[s],ZXt)),n0(n[a+s],ZXt)),n0(pU(i),ZXt)),n[a+s]=pU(i),i=kG(i,32);n[a+e]=pU(i)}for(eat(n,n,e<<1),i=0,r=0,o=0;r<e;++r,o++)i=adt(adt(odt(n0(t[r],ZXt),n0(t[r],ZXt)),n0(n[o],ZXt)),n0(pU(i),ZXt)),n[o]=pU(i),i=adt(i=kG(i,32),n0(n[++o],ZXt)),n[o]=pU(i),i=kG(i,32);return n}function Djt(t,e,i){var r,a,o,s,c,u,l,h;if(!l3(e)){for(u=Uv(EB(ipt(i.c,(HZt(),Nwe)))),!(l=zz(ipt(i.c,Lwe),142))&&(l=new fy),r=i.a,a=null,c=e.Kc();c.Ob();)s=zz(c.Pb(),11),h=0,a?(h=u,h+=a.o.b):h=l.d,o=DN(cE(new Hm,s),t.f),KW(t.k,s,o),ZNt(oE(aE(rE(sE(new qm,0),SQ(n.Math.ceil(h))),r),o)),a=s,r=o;ZNt(oE(aE(rE(sE(new qm,0),SQ(n.Math.ceil(l.a+a.o.b))),r),i.d))}}function Ojt(t,e,n,i,r,a,o,s){var c,u,l;return l=!1,u=a-n.s,c=n.t-e.f+oqt(n,u,!1).a,!(i.g+s>u)&&(c+s+oqt(i,u,!1).a<=e.b&&(w7(n,a-n.s),n.c=!0,w7(i,a-n.s),Emt(i,n.s,n.t+n.d+s),i.k=!0,Bat(n.q,i),l=!0,r&&(nit(e,i),i.j=e,t.c.length>o&&(Ext((f1(o,t.c.length),zz(t.c[o],200)),i),0==(f1(o,t.c.length),zz(t.c[o],200)).a.c.length&&u6(t,o)))),l)}function Ljt(t,e){var n,i,r,a,o;if(DAt(e,"Partition midprocessing",1),r=new wQ,QA(DK(new FH(null,new g1(t.a,16)),new pi),new fp(r)),0!=r.d){for(o=zz(C4(o1(new FH(null,(r.i||(r.i=new qL(r,r.c))).Nc())),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15),n=zz((i=o.Kc()).Pb(),19);i.Ob();)a=zz(i.Pb(),19),WLt(zz(l6(r,n),21),zz(l6(r,a),21)),n=a;HTt(e)}}function Njt(t,e,n){var i,r,a,o,s;if(0==e.p){for(e.p=1,(r=n)||(r=new rI(new Nw,new VR(i=zz(Kk($Ie),9),zz(TF(i,i.length),9),0))),zz(r.a,15).Fc(e),e.k==(cTt(),Ese)&&zz(r.b,21).Fc(zz(vEt(e,(hWt(),Xhe)),61)),o=new Wd(e.j);o.a<o.c.c.length;)for(a=zz(t0(o),11),s=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[new qg(a),new Ug(a)])));bDt(s);)Njt(t,zz(Y5(s),11).i,r);return r}return null}function Pjt(t,e){var n,i,r,a,o;if(t.Ab)if(t.Ab){if((o=t.Ab.i)>0)if(r=zz(t.Ab.g,1934),null==e){for(a=0;a<o;++a)if(null==(n=r[a]).d)return n}else for(a=0;a<o;++a)if(yR(e,(n=r[a]).d))return n}else if(null==e){for(i=new DL(t.Ab);i.e!=i.i.gc();)if(null==(n=zz(kwt(i),590)).d)return n}else for(i=new DL(t.Ab);i.e!=i.i.gc();)if(yR(e,(n=zz(kwt(i),590)).d))return n;return null}function Bjt(t,e){var n,i,r,a,o,s,c;if(null==(c=AB(vEt(e,(IDt(),Nxe))))||(xW(c),c)){for(FMt(t,e),r=new Nw,s=lwt(e.b,0);s.b!=s.d.c;)(n=BCt(t,zz(d3(s),86),null))&&(Uot(n,e),r.c[r.c.length]=n);if(t.a=null,t.b=null,r.c.length>1)for(i=new Wd(r);i.a<i.c.c.length;)for(a=0,o=lwt((n=zz(t0(i),135)).b,0);o.b!=o.d.c;)zz(d3(o),86).g=a++;return r}return s6(Sst(Ux(Uve,1),nJt,135,0,[e]))}function Fjt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w;ort(d=D3(t,Ust(e),r),F2(r,U6t)),p=B2(g=r,Z6t),oTt(new Lb(d).a,p),b=B2(g,"endPoint"),aTt(new Fb(d).a,b),w=N2(g,F6t),C_t(new $b(d).a,w),h=F2(r,j6t),HF((a=new lI(t,d)).a,a.b,h),f=F2(r,R6t),UF((o=new hI(t,d)).a,o.b,f),u=N2(r,z6t),zvt((s=new fI(n,d)).b,s.a,u),l=N2(r,$6t),qvt((c=new dI(i,d)).b,c.a,l)}function Rjt(t,e,n){var i,r,a,o,s;switch(s=null,e.g){case 1:for(r=new Wd(t.j);r.a<r.c.c.length;)if(Hv(AB(vEt(i=zz(t0(r),11),(hWt(),efe)))))return i;hct(s=new ITt,(hWt(),efe),(lN(),!0));break;case 2:for(o=new Wd(t.j);o.a<o.c.c.length;)if(Hv(AB(vEt(a=zz(t0(o),11),(hWt(),xfe)))))return a;hct(s=new ITt,(hWt(),xfe),(lN(),!0))}return s&&(SJ(s,t),USt(s,n),xmt(s.n,t.o,n)),s}function jjt(t,e){var i,r,a,o,s,c;for(c=-1,s=new VA,r=new y6(t.b);vO(r.a)||vO(r.b);){for(i=zz(vO(r.a)?t0(r.a):t0(r.b),17),c=n.Math.max(c,Uv(EB(vEt(i,(HZt(),obe))))),i.c==t?QA(DK(new FH(null,new g1(i.b,16)),new hn),new tp(s)):QA(DK(new FH(null,new g1(i.b,16)),new fn),new ep(s)),o=lwt(s,0);o.b!=o.d.c;)LP(a=zz(d3(o),70),(hWt(),Yhe))||hct(a,Yhe,i);wst(e,s),vX(s)}return c}function $jt(t,e,n,i,r){var a,o,s,c;zf(a=new Lmt(t),(cTt(),Ise)),hct(a,(HZt(),nwe),(V_t(),ZSe)),hct(a,(hWt(),pfe),e.c.i),hct(o=new ITt,pfe,e.c),USt(o,r),SJ(o,a),hct(e.c,_fe,a),zf(s=new Lmt(t),Ise),hct(s,nwe,ZSe),hct(s,pfe,e.d.i),hct(c=new ITt,pfe,e.d),USt(c,r),SJ(c,s),hct(e.d,_fe,s),TJ(e,o),EJ(e,c),LJ(0,n.c.length),ET(n.c,0,a),i.c[i.c.length]=s,hct(a,zhe,rft(1)),hct(s,zhe,rft(1))}function zjt(t,e,i,r,a){var o,s,c,u,l;c=a?r.b:r.a,$A(t.a,r)||(l=c>i.s&&c<i.c,u=!1,0!=i.e.b&&0!=i.j.b&&(u|=n.Math.abs(c-Uv(EB(bP(i.e))))<dJt&&n.Math.abs(c-Uv(EB(bP(i.j))))<dJt,u|=n.Math.abs(c-Uv(EB(wP(i.e))))<dJt&&n.Math.abs(c-Uv(EB(wP(i.j))))<dJt),(l||u)&&((s=zz(vEt(e,(HZt(),mbe)),74))||(s=new xy,hct(e,mbe,s)),r5(s,o=new gD(r),s.c.b,s.c),AY(t.a,o)))}function qjt(t,e,n,i){var r,a,o,s,c,u,l;if(KIt(t,e,n,i))return!0;for(o=new Wd(e.f);o.a<o.c.c.length;){switch(a=zz(t0(o),324),s=!1,u=(c=t.j-e.j+n)+e.o,r=(l=t.k-e.k+i)+e.p,a.a.g){case 0:s=Dut(t,c+a.b.a,0,c+a.c.a,l-1);break;case 1:s=Dut(t,u,l+a.b.a,t.o-1,l+a.c.a);break;case 2:s=Dut(t,c+a.b.a,r,c+a.c.a,t.p-1);break;default:s=Dut(t,0,l+a.b.a,c-1,l+a.c.a)}if(s)return!0}return!1}function Hjt(t,e){var n,i,r,a,o,s,c,u;for(a=new Wd(e.b);a.a<a.c.c.length;)for(c=new Wd(zz(t0(a),29).a);c.a<c.c.c.length;){for(s=zz(t0(c),10),u=new Nw,o=0,i=new cG(JL(fdt(s).a.Kc(),new l));bDt(i);)d5(n=zz(Y5(i),17))||!d5(n)&&n.c.i.c==n.d.i.c||((r=zz(vEt(n,(HZt(),dwe)),19).a)>o&&(o=r,u.c=P8(Ote,HWt,1,0,5,1)),r==o&&Wz(u,new rI(n.c.i,n)));TX(),yO(u,t.c),xU(t.b,s.p,u)}}function Ujt(t,e){var n,i,r,a,o,s,c,u;for(a=new Wd(e.b);a.a<a.c.c.length;)for(c=new Wd(zz(t0(a),29).a);c.a<c.c.c.length;){for(s=zz(t0(c),10),u=new Nw,o=0,i=new cG(JL(ddt(s).a.Kc(),new l));bDt(i);)d5(n=zz(Y5(i),17))||!d5(n)&&n.c.i.c==n.d.i.c||((r=zz(vEt(n,(HZt(),dwe)),19).a)>o&&(o=r,u.c=P8(Ote,HWt,1,0,5,1)),r==o&&Wz(u,new rI(n.d.i,n)));TX(),yO(u,t.c),xU(t.f,s.p,u)}}function Gjt(t){NE(t,new TAt(mk(gk(wk(bk(new bs,d5t),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new Bs))),s2(t,d5t,VQt,GEe),s2(t,d5t,yJt,15),s2(t,d5t,mJt,rft(0)),s2(t,d5t,O4t,vwt(jEe)),s2(t,d5t,SJt,vwt(zEe)),s2(t,d5t,CJt,vwt(HEe)),s2(t,d5t,XQt,f5t),s2(t,d5t,_Jt,vwt($Ee)),s2(t,d5t,qJt,vwt(qEe)),s2(t,d5t,g5t,vwt(FEe)),s2(t,d5t,c3t,vwt(REe))}function Yjt(t,e){var n,i,r,a,o,s,c,u,l;if(o=(r=t.i).o.a,a=r.o.b,o<=0&&a<=0)return kYt(),CIe;switch(u=t.n.a,l=t.n.b,s=t.o.a,n=t.o.b,e.g){case 2:case 1:if(u<0)return kYt(),SIe;if(u+s>o)return kYt(),cIe;break;case 4:case 3:if(l<0)return kYt(),uIe;if(l+n>a)return kYt(),TIe}return(c=(u+s/2)/o)+(i=(l+n/2)/a)<=1&&c-i<=0?(kYt(),SIe):c+i>=1&&c-i>=0?(kYt(),cIe):i<.5?(kYt(),uIe):(kYt(),TIe)}function Zjt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(n=!1,c=Uv(EB(vEt(e,(HZt(),Mwe)))),f=jKt*c,r=new Wd(e.b);r.a<r.c.c.length;)for(i=zz(t0(r),29),a=zz(t0(s=new Wd(i.a)),10),u=gY(t.a[a.p]);s.a<s.c.c.length;)o=zz(t0(s),10),u!=(l=gY(t.a[o.p]))&&(h=RO(t.b,a,o),a.n.b+a.o.b+a.d.a+u.a+h>o.n.b-o.d.d+l.a+f&&(d=u.g+l.g,l.a=(l.g*l.a+u.g*u.a)/d,l.g=d,u.f=l,n=!0)),a=o,u=l;return n}function Wjt(t,e,n,i,r,a,o){var s,c,u,l,h;for(h=new dD,c=e.Kc();c.Ob();)for(l=new Wd(zz(c.Pb(),839).wf());l.a<l.c.c.length;)UI((u=zz(t0(l),181)).We((lWt(),bTe)))===UI((Ret(),ZCe))&&(aRt(h,u,!1,i,r,a,o),ICt(t,h));for(s=n.Kc();s.Ob();)for(l=new Wd(zz(s.Pb(),839).wf());l.a<l.c.c.length;)UI((u=zz(t0(l),181)).We((lWt(),bTe)))===UI((Ret(),YCe))&&(aRt(h,u,!0,i,r,a,o),ICt(t,h))}function Kjt(t,e,n){var i,r,a,o,s,c,u;for(o=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));o.e!=o.i.gc();)for(r=new cG(JL(bLt(a=zz(kwt(o),33)).a.Kc(),new l));bDt(r);)eDt(i=zz(Y5(r),79))||eDt(i)||VIt(i)||(c=zz(HI(DV(n.f,a)),86),u=zz(FZ(n,SAt(zz(Ket((!i.c&&(i.c=new lR(RMe,i,5,8)),i.c),0),82))),86),c&&u&&(hct(s=new YX(c,u),(UHt(),uxe),i),Uot(s,i),Bq(c.d,s),Bq(u.b,s),Bq(e.a,s)))}function Xjt(t,e){var i,r,a,o,s,c,u;for(c=zz(zz(l6(t.r,e),21),84).Kc();c.Ob();)(r=(s=zz(c.Pb(),111)).c?Wq(s.c):0)>0?s.a?r>(u=s.b.rf().b)&&(t.v||1==s.c.d.c.length?(o=(r-u)/2,s.d.d=o,s.d.a=o):(i=(zz(PH(s.c.d,0),181).rf().b-u)/2,s.d.d=n.Math.max(0,i),s.d.a=r-i-u)):s.d.a=t.t+r:qG(t.u)&&((a=$At(s.b)).d<0&&(s.d.d=-a.d),a.d+a.a>s.b.rf().b&&(s.d.a=a.d+a.a-s.b.rf().b))}function Vjt(t,e){var n;switch(mtt(t)){case 6:return ZI(e);case 7:return YI(e);case 8:return GI(e);case 3:return Array.isArray(e)&&!((n=mtt(e))>=14&&n<=16);case 11:return null!=e&&typeof e===BWt;case 12:return null!=e&&(typeof e===OWt||typeof e==BWt);case 0:return Vwt(e,t.__elementTypeId$);case 2:return BY(e)&&!(e.im===I);case 1:return BY(e)&&!(e.im===I)||Vwt(e,t.__elementTypeId$);default:return!0}}function Qjt(t,e){var i,r,a,o;return r=n.Math.min(n.Math.abs(t.c-(e.c+e.b)),n.Math.abs(t.c+t.b-e.c)),o=n.Math.min(n.Math.abs(t.d-(e.d+e.a)),n.Math.abs(t.d+t.a-e.d)),(i=n.Math.abs(t.c+t.b/2-(e.c+e.b/2)))>t.b/2+e.b/2||(a=n.Math.abs(t.d+t.a/2-(e.d+e.a/2)))>t.a/2+e.a/2?1:0==i&&0==a?0:0==i?o/a+1:0==a?r/i+1:n.Math.min(r/i,o/a)+1}function Jjt(t,e){var i,r,a,o,s,c;return(a=rit(t))==(c=rit(e))?t.e==e.e&&t.a<54&&e.a<54?t.f<e.f?-1:t.f>e.f?1:0:(r=t.e-e.e,(i=(t.d>0?t.d:n.Math.floor((t.a-1)*YXt)+1)-(e.d>0?e.d:n.Math.floor((e.a-1)*YXt)+1))>r+1?a:i<r-1?-a:(!t.c&&(t.c=xlt(t.f)),o=t.c,!e.c&&(e.c=xlt(e.f)),s=e.c,r<0?o=Ntt(o,kzt(-r)):r>0&&(s=Ntt(s,kzt(r))),nbt(o,s))):a<c?-1:1}function t$t(t,e){var n,i,r,a,o,s,c;for(a=0,s=0,c=0,r=new Wd(t.f.e);r.a<r.c.c.length;)e!=(i=zz(t0(r),144))&&(a+=o=t.i[e.b][i.b],(n=W8(e.d,i.d))>0&&t.d!=(H9(),Doe)&&(s+=o*(i.d.a+t.a[e.b][i.b]*(e.d.a-i.d.a)/n)),n>0&&t.d!=(H9(),Ioe)&&(c+=o*(i.d.b+t.a[e.b][i.b]*(e.d.b-i.d.b)/n)));switch(t.d.g){case 1:return new PS(s/a,e.d.b);case 2:return new PS(e.d.a,c/a);default:return new PS(s/a,c/a)}}function e$t(t,e){var n,i,r,a;if(Yut(),a=zz(vEt(t.i,(HZt(),nwe)),98),0!=t.j.g-e.j.g||a!=(V_t(),YSe)&&a!=WSe&&a!=ZSe)return 0;if(a==(V_t(),YSe)&&(n=zz(vEt(t,iwe),19),i=zz(vEt(e,iwe),19),n&&i&&0!=(r=n.a-i.a)))return r;switch(t.j.g){case 1:return Sft(t.n.a,e.n.a);case 2:return Sft(t.n.b,e.n.b);case 3:return Sft(e.n.a,t.n.a);case 4:return Sft(e.n.b,t.n.b);default:throw qw(new $v(a1t))}}function n$t(t){var e,n,i,r,a;for(Wz(a=new Q6((!t.a&&(t.a=new OL(PMe,t,5)),t.a).i+2),new PS(t.j,t.k)),QA(new FH(null,(!t.a&&(t.a=new OL(PMe,t,5)),new g1(t.a,16))),new Ib(a)),Wz(a,new PS(t.b,t.c)),e=1;e<a.c.length-1;)f1(e-1,a.c.length),n=zz(a.c[e-1],8),f1(e,a.c.length),i=zz(a.c[e],8),f1(e+1,a.c.length),r=zz(a.c[e+1],8),n.a==i.a&&i.a==r.a||n.b==i.b&&i.b==r.b?u6(a,e):++e;return a}function i$t(t,e){var n,i,r,a,o,s,c;for(n=MN(iE(eE(nE(new Wm,e),new bV(e.e)),bue),t.a),0==e.j.c.length||K7(zz(PH(e.j,0),57).a,n),c=new Bw,KW(t.e,n,c),o=new Fm,s=new Fm,a=new Wd(e.k);a.a<a.c.c.length;)AY(o,(r=zz(t0(a),17)).c),AY(s,r.d);(i=o.a.gc()-s.a.gc())<0?(Zst(c,!0,(zht(),jCe)),Zst(c,!1,$Ce)):i>0&&(Zst(c,!1,(zht(),jCe)),Zst(c,!0,$Ce)),Det(e.g,new uC(t,n)),KW(t.g,e,n)}function r$t(){var t;for(r$t=M,Nee=Sst(Ux(DNe,1),hXt,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]),Pee=P8(DNe,hXt,25,37,15,1),Bee=Sst(Ux(DNe,1),hXt,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]),Fee=P8(LNe,zXt,25,37,14,1),t=2;t<=36;t++)Pee[t]=SQ(n.Math.pow(t,Nee[t])),Fee[t]=Dkt(gKt,Pee[t])}function a$t(t){var e;if(1!=(!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i)throw qw(new jv(q5t+(!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i));return e=new xy,gst(zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82))&&zrt(e,YZt(t,gst(zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82)),!1)),gst(zz(Ket((!t.c&&(t.c=new lR(RMe,t,5,8)),t.c),0),82))&&zrt(e,YZt(t,gst(zz(Ket((!t.c&&(t.c=new lR(RMe,t,5,8)),t.c),0),82)),!0)),e}function o$t(t,e){var n,i,r;for(r=!1,i=new cG(JL((e.d?t.a.c==(bQ(),eve)?fdt(e.b):ddt(e.b):t.a.c==(bQ(),tve)?fdt(e.b):ddt(e.b)).a.Kc(),new l));bDt(i);)if(n=zz(Y5(i),17),(Hv(t.a.f[t.a.g[e.b.p].p])||d5(n)||n.c.i.c!=n.d.i.c)&&!Hv(t.a.n[t.a.g[e.b.p].p])&&!Hv(t.a.n[t.a.g[e.b.p].p])&&(r=!0,$A(t.b,t.a.g[Nyt(n,e.b).p])))return e.c=!0,e.a=n,e;return e.c=r,e.a=null,e}function s$t(t,e,n,i,r){var a,o,s,c,u,l,h;for(TX(),yO(t,new Ws),s=new E2(t,0),h=new Nw,a=0;s.b<s.d.gc();)CP(s.b<s.d.gc()),o=zz(s.d.Xb(s.c=s.b++),157),0!=h.c.length&&iU(o)*nU(o)>2*a?(l=new Get(h),u=iU(o)/nU(o),c=xZt(l,e,new dy,n,i,r,u),YF(xM(l.e),c),h.c=P8(Ote,HWt,1,0,5,1),a=0,h.c[h.c.length]=l,h.c[h.c.length]=o,a=iU(l)*nU(l)+iU(o)*nU(o)):(h.c[h.c.length]=o,a+=iU(o)*nU(o));return h}function c$t(t,e,n){var i,r,a,o,s,c,u;if(0==(i=n.gc()))return!1;if(t.ej())if(c=t.fj(),kgt(t,e,n),o=1==i?t.Zi(3,null,n.Kc().Pb(),e,c):t.Zi(5,null,n,e,c),t.bj()){for(s=i<100?null:new $k(i),a=e+i,r=e;r<a;++r)u=t.Oi(r),s=t.cj(u,s);s?(s.Ei(o),s.Fi()):t.$i(o)}else t.$i(o);else if(kgt(t,e,n),t.bj()){for(s=i<100?null:new $k(i),a=e+i,r=e;r<a;++r)s=t.cj(t.Oi(r),s);s&&s.Fi()}return!0}function u$t(t,e,n){var i,r,a,o;return t.ej()?(r=null,a=t.fj(),i=t.Zi(1,o=t.Ui(e,t.oi(e,n)),n,e,a),t.bj()&&!(t.ni()&&o?Pht(o,n):UI(o)===UI(n))?(o&&(r=t.dj(o,r)),(r=t.cj(n,r))?(r.Ei(i),r.Fi()):t.$i(i)):r?(r.Ei(i),r.Fi()):t.$i(i),o):(o=t.Ui(e,t.oi(e,n)),t.bj()&&!(t.ni()&&o?Pht(o,n):UI(o)===UI(n))&&(r=null,o&&(r=t.dj(o,null)),(r=t.cj(n,r))&&r.Fi()),o)}function l$t(t,e){var i,r,a,o,s,c,u,l;if(t.e=e,t.f=zz(vEt(e,(Trt(),loe)),230),WAt(e),t.d=n.Math.max(16*e.e.c.length+e.c.c.length,256),!Hv(AB(vEt(e,(fFt(),qae)))))for(l=t.e.e.c.length,c=new Wd(e.e);c.a<c.c.c.length;)(u=zz(t0(c),144).d).a=MU(t.f)*l,u.b=MU(t.f)*l;for(i=e.b,o=new Wd(e.c);o.a<o.c.c.length;)if(a=zz(t0(o),282),(r=zz(vEt(a,noe),19).a)>0){for(s=0;s<r;s++)Wz(i,new lZ(a));qSt(a)}}function h$t(t,e){var i,r,a,o,s;if(t.k==(cTt(),Tse)&&(i=k_(DK(zz(vEt(t,(hWt(),Cfe)),15).Oc(),new og(new ri))).sd((pE(),eie))?e:(Wvt(),ASe),hct(t,sfe,i),i!=(Wvt(),_Se)))for(r=zz(vEt(t,pfe),17),s=Uv(EB(vEt(r,(HZt(),obe)))),o=0,i==kSe?o=t.o.b-n.Math.ceil(s/2):i==ASe&&(t.o.b-=Uv(EB(vEt(mW(t),kwe))),o=(t.o.b-n.Math.ceil(s))/2),a=new Wd(t.j);a.a<a.c.c.length;)zz(t0(a),11).n.b=o}function f$t(){f$t=M,QE(),ANe=new Fl,Sst(Ux(DOe,2),lKt,368,0,[Sst(Ux(DOe,1),_te,592,0,[new Y_(Y9t)])]),Sst(Ux(DOe,2),lKt,368,0,[Sst(Ux(DOe,1),_te,592,0,[new Y_(Z9t)])]),Sst(Ux(DOe,2),lKt,368,0,[Sst(Ux(DOe,1),_te,592,0,[new Y_(W9t)]),Sst(Ux(DOe,1),_te,592,0,[new Y_(Z9t)])]),new OD("-1"),Sst(Ux(DOe,2),lKt,368,0,[Sst(Ux(DOe,1),_te,592,0,[new Y_("\\c+")])]),new OD("0"),new OD("0"),new OD("1"),new OD("0"),new OD(rte)}function d$t(t){var e,n;return t.c&&t.c.kh()&&(n=zz(t.c,49),t.c=zz(nht(t,n),138),t.c!=n&&(0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,9,2,n,t.c)),aL(t.Cb,399)?t.Db>>16==-15&&t.Cb.nh()&&O9(new x7(t.Cb,9,13,n,t.c,cmt(q9(zz(t.Cb,59)),t))):aL(t.Cb,88)&&t.Db>>16==-23&&t.Cb.nh()&&(aL(e=t.c,88)||(wWt(),e=pOe),aL(n,88)||(wWt(),n=pOe),O9(new x7(t.Cb,9,10,n,e,cmt(o4(zz(t.Cb,26)),t)))))),t.c}function g$t(t,e){var n,i,r,a,o,s,c,u;for(DAt(e,"Hypernodes processing",1),i=new Wd(t.b);i.a<i.c.c.length;)for(o=new Wd(zz(t0(i),29).a);o.a<o.c.c.length;)if(Hv(AB(vEt(a=zz(t0(o),10),(HZt(),dbe))))&&a.j.c.length<=2){for(u=0,c=0,n=0,r=0,s=new Wd(a.j);s.a<s.c.c.length;)switch(zz(t0(s),11).j.g){case 1:++u;break;case 2:++c;break;case 3:++n;break;case 4:++r}0==u&&0==n&&_Zt(t,a,r<=c)}HTt(e)}function p$t(t,e){var n,i,r,a,o,s,c,u,l;for(DAt(e,"Layer constraint edge reversal",1),o=new Wd(t.b);o.a<o.c.c.length;){for(a=zz(t0(o),29),l=-1,n=new Nw,u=t2(a.a),r=0;r<u.length;r++)i=zz(vEt(u[r],(hWt(),ife)),303),-1==l?i!=(G9(),She)&&(l=r):i==(G9(),She)&&(CJ(u[r],null),Vvt(u[r],l++,a)),i==(G9(),The)&&Wz(n,u[r]);for(c=new Wd(n);c.a<c.c.c.length;)CJ(s=zz(t0(c),10),null),CJ(s,a)}HTt(e)}function b$t(t,e,n){var i,r,a,o,s,c,u,l;for(DAt(n,"Hyperedge merging",1),BDt(t,e),s=new E2(e.b,0);s.b<s.d.gc();)if(CP(s.b<s.d.gc()),0!=(u=zz(s.d.Xb(s.c=s.b++),29).a).c.length)for(i=null,r=null,a=null,o=null,c=0;c<u.c.length;c++)f1(c,u.c.length),(r=(i=zz(u.c[c],10)).k)==(cTt(),Cse)&&o==Cse&&(l=hqt(i,a)).a&&(aBt(i,a,l.b,l.c),f1(c,u.c.length),C_(u.c,c,1),--c,i=a,r=o),a=i,o=r;HTt(n)}function w$t(t,e){var n,i,r;i=0!=HOt(t.d,1),!Hv(AB(vEt(e.j,(hWt(),Qhe))))&&!Hv(AB(vEt(e.j,Ife)))||UI(vEt(e.j,(HZt(),Lpe)))===UI((vct(),Nme))?e.c.Tf(e.e,i):i=Hv(AB(vEt(e.j,Qhe))),FNt(t,e,i,!0),Hv(AB(vEt(e.j,Ife)))&&hct(e.j,Ife,(lN(),!1)),Hv(AB(vEt(e.j,Qhe)))&&(hct(e.j,Qhe,(lN(),!1)),hct(e.j,Ife,!0)),n=iRt(t,e);do{if(Lrt(t),0==n)return 0;r=n,FNt(t,e,i=!i,!1),n=iRt(t,e)}while(r>n);return r}function m$t(t,e){var n,i,r;i=0!=HOt(t.d,1),!Hv(AB(vEt(e.j,(hWt(),Qhe))))&&!Hv(AB(vEt(e.j,Ife)))||UI(vEt(e.j,(HZt(),Lpe)))===UI((vct(),Nme))?e.c.Tf(e.e,i):i=Hv(AB(vEt(e.j,Qhe))),FNt(t,e,i,!0),Hv(AB(vEt(e.j,Ife)))&&hct(e.j,Ife,(lN(),!1)),Hv(AB(vEt(e.j,Qhe)))&&(hct(e.j,Qhe,(lN(),!1)),hct(e.j,Ife,!0)),n=eSt(t,e);do{if(Lrt(t),0==n)return 0;r=n,FNt(t,e,i=!i,!1),n=eSt(t,e)}while(r>n);return r}function y$t(t,e,n){var i,r,a,o,s,c,u;if(e==n)return!0;if(e=gDt(t,e),n=gDt(t,n),i=Umt(e)){if((c=Umt(n))!=i)return!!c&&(o=i.Dj())==c.Dj()&&null!=o;if(!e.d&&(e.d=new OL(KDe,e,1)),r=(a=e.d).i,!n.d&&(n.d=new OL(KDe,n,1)),r==(u=n.d).i)for(s=0;s<r;++s)if(!y$t(t,zz(Ket(a,s),87),zz(Ket(u,s),87)))return!1;return!0}return e.e==n.e}function v$t(t,e,n,i){var r,a,o,s,c,u,l,h;if(LPt(t.e,e)){for(h=sPt(t.e.Tg(),e),a=zz(t.g,119),l=null,c=-1,s=-1,r=0,u=0;u<t.i;++u)o=a[u],h.rl(o.ak())&&(r==n&&(c=u),r==i&&(s=u,l=o.dd()),++r);if(-1==c)throw qw(new Dv(c8t+n+u8t+r));if(-1==s)throw qw(new Dv(l8t+i+u8t+r));return Mft(t,c,s),yD(t.e)&&Lm(t,LV(t,7,e,rft(i),l,n,!0)),l}throw qw(new jv("The feature must be many-valued to support move"))}function x$t(t,e,n,i){var r,a,o,s,c;switch((c=new gD(e.n)).a+=e.o.a/2,c.b+=e.o.b/2,s=Uv(EB(vEt(e,(HZt(),ewe)))),a=t.f,o=t.d,r=t.c,zz(vEt(e,(hWt(),Xhe)),61).g){case 1:c.a+=o.b+r.a-n/2,c.b=-i-s,e.n.b=-(o.d+s+r.b);break;case 2:c.a=a.a+o.b+o.c+s,c.b+=o.d+r.b-i/2,e.n.a=a.a+o.c+s-r.a;break;case 3:c.a+=o.b+r.a-n/2,c.b=a.b+o.d+o.a+s,e.n.b=a.b+o.a+s-r.b;break;case 4:c.a=-n-s,c.b+=o.d+r.b-i/2,e.n.a=-(o.b+s+r.a)}return c}function k$t(t){var e,n,i,r,a,o;return Uot(i=new vit,t),UI(vEt(i,(HZt(),Ype)))===UI((zht(),zCe))&&hct(i,Ype,Kft(i)),null==vEt(i,(S6(),AEe))&&(o=zz(LEt(t),160),hct(i,AEe,iM(o.We(AEe)))),hct(i,(hWt(),pfe),t),hct(i,Jhe,new VR(e=zz(Kk(Ahe),9),zz(TF(e,e.length),9),0)),r=SGt((QQ(t)&&(UE(),new Bv(QQ(t))),UE(),new QN(QQ(t)?new Bv(QQ(t)):null,t)),$Ce),a=zz(vEt(i,Gbe),116),nJ(n=i.d,a),nJ(n,r),i}function _$t(t,e,n){var i,r;i=e.c.i,r=n.d.i,i.k==(cTt(),Cse)?(hct(t,(hWt(),lfe),zz(vEt(i,lfe),11)),hct(t,hfe,zz(vEt(i,hfe),11)),hct(t,ufe,AB(vEt(i,ufe)))):i.k==Tse?(hct(t,(hWt(),lfe),zz(vEt(i,lfe),11)),hct(t,hfe,zz(vEt(i,hfe),11)),hct(t,ufe,(lN(),!0))):r.k==Tse?(hct(t,(hWt(),lfe),zz(vEt(r,lfe),11)),hct(t,hfe,zz(vEt(r,hfe),11)),hct(t,ufe,(lN(),!0))):(hct(t,(hWt(),lfe),e.c),hct(t,hfe,n.d))}function A$t(t){var e,n,i,r,a,o,s;for(t.o=new Lw,i=new VA,o=new Wd(t.e.a);o.a<o.c.c.length;)1==kdt(a=zz(t0(o),121)).c.length&&r5(i,a,i.c.b,i.c);for(;0!=i.b;)0!=kdt(a=zz(0==i.b?null:(CP(0!=i.b),Oet(i,i.a.a)),121)).c.length&&(e=zz(PH(kdt(a),0),213),n=a.g.a.c.length>0,s=Pdt(e,a),RN(n?s.b:s.g,e),1==kdt(s).c.length&&r5(i,s,i.c.b,i.c),r=new rI(a,e),p3(t.o,r),v9(t.e.a,a))}function E$t(t,e){var i,r,a,o;return r=n.Math.abs(HG(t.b).a-HG(e.b).a),o=n.Math.abs(HG(t.b).b-HG(e.b).b),i=1,a=1,r>t.b.b/2+e.b.b/2&&(i=1-n.Math.min(n.Math.abs(t.b.c-(e.b.c+e.b.b)),n.Math.abs(t.b.c+t.b.b-e.b.c))/r),o>t.b.a/2+e.b.a/2&&(a=1-n.Math.min(n.Math.abs(t.b.d-(e.b.d+e.b.a)),n.Math.abs(t.b.d+t.b.a-e.b.d))/o),(1-n.Math.min(i,a))*n.Math.sqrt(r*r+o*o)}function T$t(t){var e,n,i;for(eYt(t,t.e,t.f,(pQ(),Lve),!0,t.c,t.i),eYt(t,t.e,t.f,Lve,!1,t.c,t.i),eYt(t,t.e,t.f,Nve,!0,t.c,t.i),eYt(t,t.e,t.f,Nve,!1,t.c,t.i),M$t(t,t.c,t.e,t.f,t.i),n=new E2(t.i,0);n.b<n.d.gc();)for(CP(n.b<n.d.gc()),e=zz(n.d.Xb(n.c=n.b++),128),i=new E2(t.i,n.b);i.b<i.d.gc();)CP(i.b<i.d.gc()),PHt(e,zz(i.d.Xb(i.c=i.b++),128));MZt(t.i,zz(vEt(t.d,(hWt(),Tfe)),230)),GUt(t.i)}function C$t(t,e){var n,i;if(null!=e)if(i=rvt(t)){if(0==(1&i.i))return tT(),!(n=zz(FZ(yDe,i),55))||n.wj(e);if(i==ONe)return GI(e);if(i==DNe)return aL(e,19);if(i==BNe)return aL(e,155);if(i==NNe)return aL(e,217);if(i==MNe)return aL(e,172);if(i==PNe)return YI(e);if(i==FNe)return aL(e,184);if(i==LNe)return aL(e,162)}else if(aL(e,56))return t.uk(zz(e,56));return!1}function S$t(){var t,e,n,i,r,a,o,s,c;for(S$t=M,WLe=P8(NNe,y6t,25,255,15,1),KLe=P8(MNe,KKt,25,64,15,1),e=0;e<255;e++)WLe[e]=-1;for(n=90;n>=65;n--)WLe[n]=n-65<<24>>24;for(i=122;i>=97;i--)WLe[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)WLe[r]=r-48+52<<24>>24;for(WLe[43]=62,WLe[47]=63,a=0;a<=25;a++)KLe[a]=65+a&VKt;for(o=26,c=0;o<=51;++o,c++)KLe[o]=97+c&VKt;for(t=52,s=0;t<=61;++t,s++)KLe[t]=48+s&VKt;KLe[62]=43,KLe[63]=47}function I$t(t,e){var i,r,a,o,s,c,u,l,h,f,d;if(t.dc())return new Uk;for(u=0,h=0,r=t.Kc();r.Ob();)a=zz(r.Pb(),37).f,u=n.Math.max(u,a.a),h+=a.a*a.b;for(u=n.Math.max(u,n.Math.sqrt(h)*Uv(EB(vEt(zz(t.Kc().Pb(),37),(HZt(),_pe))))),f=0,d=0,c=0,i=e,s=t.Kc();s.Ob();)f+(l=(o=zz(s.Pb(),37)).f).a>u&&(f=0,d+=c+e,c=0),tRt(o,f,d),i=n.Math.max(i,f+l.a),c=n.Math.max(c,l.b),f+=l.a+e;return new PS(i+e,d+c+e)}function M$t(t,e,n,i,r){var a,o,s,c,u,l,h;for(o=new Wd(e);o.a<o.c.c.length;){if(c=(a=zz(t0(o),17)).c,n.a._b(c))pQ(),u=Lve;else{if(!i.a._b(c))throw qw(new jv("Source port must be in one of the port sets."));pQ(),u=Nve}if(l=a.d,n.a._b(l))pQ(),h=Lve;else{if(!i.a._b(l))throw qw(new jv("Target port must be in one of the port sets."));pQ(),h=Nve}s=new nSt(a,u,h),KW(t.b,a,s),r.c[r.c.length]=s}}function D$t(t,e){var n,i,r,a,o,s,c;if(!WQ(t))throw qw(new $v(z5t));if(a=(i=WQ(t)).g,r=i.f,a<=0&&r<=0)return kYt(),CIe;switch(s=t.i,c=t.j,e.g){case 2:case 1:if(s<0)return kYt(),SIe;if(s+t.g>a)return kYt(),cIe;break;case 4:case 3:if(c<0)return kYt(),uIe;if(c+t.f>r)return kYt(),TIe}return(o=(s+t.g/2)/a)+(n=(c+t.f/2)/r)<=1&&o-n<=0?(kYt(),SIe):o+n>=1&&o-n>=0?(kYt(),cIe):n<.5?(kYt(),uIe):(kYt(),TIe)}function O$t(t,e,n,i,r){var a,o;if(a=adt(n0(e[0],ZXt),n0(i[0],ZXt)),t[0]=pU(a),a=xG(a,32),n>=r){for(o=1;o<r;o++)a=adt(a,adt(n0(e[o],ZXt),n0(i[o],ZXt))),t[o]=pU(a),a=xG(a,32);for(;o<n;o++)a=adt(a,n0(e[o],ZXt)),t[o]=pU(a),a=xG(a,32)}else{for(o=1;o<n;o++)a=adt(a,adt(n0(e[o],ZXt),n0(i[o],ZXt))),t[o]=pU(a),a=xG(a,32);for(;o<r;o++)a=adt(a,n0(i[o],ZXt)),t[o]=pU(a),a=xG(a,32)}0!=Xlt(a,0)&&(t[o]=pU(a))}function L$t(t){var e,n,i,r,a,o;if(pWt(),4!=t.e&&5!=t.e)throw qw(new jv("Token#complementRanges(): must be RANGE: "+t.e));for(EOt(a=t),Uqt(a),i=a.b.length+2,0==a.b[0]&&(i-=2),(n=a.b[a.b.length-1])==cte&&(i-=2),(r=new E0(4)).b=P8(DNe,hXt,25,i,15,1),o=0,a.b[0]>0&&(r.b[o++]=0,r.b[o++]=a.b[0]-1),e=1;e<a.b.length-2;e+=2)r.b[o++]=a.b[e]+1,r.b[o++]=a.b[e+1]-1;return n!=cte&&(r.b[o++]=n+1,r.b[o]=cte),r.a=!0,r}function N$t(t,e,n){var i,r,a,o,s,c,u,l;if(0==(i=n.gc()))return!1;if(t.ej())if(u=t.fj(),qAt(t,e,n),o=1==i?t.Zi(3,null,n.Kc().Pb(),e,u):t.Zi(5,null,n,e,u),t.bj()){for(s=i<100?null:new $k(i),a=e+i,r=e;r<a;++r)l=t.g[r],s=t.cj(l,s),s=t.jj(l,s);s?(s.Ei(o),s.Fi()):t.$i(o)}else t.$i(o);else if(qAt(t,e,n),t.bj()){for(s=i<100?null:new $k(i),a=e+i,r=e;r<a;++r)c=t.g[r],s=t.cj(c,s);s&&s.Fi()}return!0}function P$t(t,e,n,i){var r,a,o,s,c;for(o=new Wd(t.k);o.a<o.c.c.length;)r=zz(t0(o),129),i&&r.c!=(M6(),Ave)||(c=r.b).g<0&&r.d>0&&(Kf(c,c.d-r.d),r.c==(M6(),Ave)&&Zf(c,c.a-r.d),c.d<=0&&c.i>0&&r5(e,c,e.c.b,e.c));for(a=new Wd(t.f);a.a<a.c.c.length;)r=zz(t0(a),129),i&&r.c!=(M6(),Ave)||(s=r.a).g<0&&r.d>0&&(Xf(s,s.i-r.d),r.c==(M6(),Ave)&&Wf(s,s.b-r.d),s.i<=0&&s.d>0&&r5(n,s,n.c.b,n.c))}function B$t(t,e,n){var i,r,a,o,s,c,u,l;for(DAt(n,"Processor compute fanout",1),OY(t.b),OY(t.a),s=null,a=lwt(e.b,0);!s&&a.b!=a.d.c;)Hv(AB(vEt(u=zz(d3(a),86),(UHt(),pxe))))&&(s=u);for(r5(c=new VA,s,c.c.b,c.c),_Yt(t,c),l=lwt(e.b,0);l.b!=l.d.c;)o=TB(vEt(u=zz(d3(l),86),(UHt(),rxe))),r=null!=TQ(t.b,o)?zz(TQ(t.b,o),19).a:0,hct(u,ixe,rft(r)),i=1+(null!=TQ(t.a,o)?zz(TQ(t.a,o),19).a:0),hct(u,exe,rft(i));HTt(n)}function F$t(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(h=x_t(t,n),s=0;s<e;s++){for(vF(r,n),f=new Nw,CP(i.b<i.d.gc()),d=zz(i.d.Xb(i.c=i.b++),407),u=h+s;u<t.b;u++)o=d,CP(i.b<i.d.gc()),Wz(f,new APt(o,d=zz(i.d.Xb(i.c=i.b++),407),n));for(l=h+s;l<t.b;l++)CP(i.b>0),i.a.Xb(i.c=--i.b),l>h+s&&hW(i);for(a=new Wd(f);a.a<a.c.c.length;)vF(i,zz(t0(a),407));if(s<e-1)for(c=h+s;c<t.b;c++)CP(i.b>0),i.a.Xb(i.c=--i.b)}}function R$t(){var t,e,n,i,r,a;if(pWt(),SNe)return SNe;for(lqt(t=new E0(4),tZt(mte,!0)),KUt(t,tZt("M",!0)),KUt(t,tZt("C",!0)),a=new E0(4),i=0;i<11;i++)QPt(a,i,i);return lqt(e=new E0(4),tZt("M",!0)),QPt(e,4448,4607),QPt(e,65438,65439),nHt(r=new rO(2),t),nHt(r,uNe),(n=new rO(2)).$l(bU(a,tZt("L",!0))),n.$l(e),n=new l4(3,n),n=new YY(r,n),SNe=n}function j$t(t){var e,n;if(!Qat(e=TB(tOt(t,(lWt(),nTe))),t)&&!C8(t,yCe)&&(0!=(!t.a&&(t.a=new nY(YMe,t,10,11)),t.a).i||Hv(AB(tOt(t,TTe))))){if(null!=e&&0!=REt(e).length)throw wGt(t,n=cM(cM(new fN("Layout algorithm '"),e),"' not found for ")),qw(new rx(n.a));if(!Qat(p1t,t))throw wGt(t,n=cM(cM(new fN("Unable to load default layout algorithm "),p1t)," for unconfigured node ")),qw(new rx(n.a))}}function $$t(t){var e,i,r,a,o,s,c,u,l,h,f,d,g;if(i=t.i,e=t.n,0==t.b)for(g=i.c+e.b,d=i.b-e.b-e.c,u=0,h=(s=t.a).length;u<h;++u)YU(a=s[u],g,d);else r=Kmt(t,!1),YU(t.a[0],i.c+e.b,r[0]),YU(t.a[2],i.c+i.b-e.c-r[2],r[2]),f=i.b-e.b-e.c,r[0]>0&&(f-=r[0]+t.c,r[0]+=t.c),r[2]>0&&(f-=r[2]+t.c),r[1]=n.Math.max(r[1],f),YU(t.a[1],i.c+e.b+r[0]-(r[1]-f)/2,r[1]);for(c=0,l=(o=t.a).length;c<l;++c)aL(a=o[c],326)&&zz(a,326).Te()}function z$t(t){var e,n,i,r,a,o,s,c,u,l,h;for((h=new oo).d=0,o=new Wd(t.b);o.a<o.c.c.length;)a=zz(t0(o),29),h.d+=a.a.c.length;for(i=0,r=0,h.a=P8(DNe,hXt,25,t.b.c.length,15,1),u=0,l=0,h.e=P8(DNe,hXt,25,h.d,15,1),n=new Wd(t.b);n.a<n.c.c.length;)for((e=zz(t0(n),29)).p=i++,h.a[e.p]=r++,l=0,c=new Wd(e.a);c.a<c.c.c.length;)(s=zz(t0(c),10)).p=u++,h.e[s.p]=l++;return h.c=new hb(h),h.b=uP(h.d),Hjt(h,t),h.f=uP(h.d),Ujt(h,t),h}function q$t(t,e){var i,r,a;for(a=zz(PH(t.n,t.n.c.length-1),211).d,t.p=n.Math.min(t.p,e.g),t.r=n.Math.max(t.r,a),t.g=n.Math.max(t.g,e.g+(1==t.b.c.length?0:t.i)),t.o=n.Math.min(t.o,e.f),t.e+=e.f+(1==t.b.c.length?0:t.i),t.f=n.Math.max(t.f,e.f),r=t.n.c.length>0?(t.n.c.length-1)*t.i:0,i=new Wd(t.n);i.a<i.c.c.length;)r+=zz(t0(i),211).a;t.d=r,t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),xvt(t.j)}function H$t(t,e){var n,i,r,a,o,s,c,u,l;if(null==(u=AB(vEt(e,(fFt(),ioe))))||(xW(u),u)){for(l=P8(ONe,tQt,25,e.e.c.length,16,1),o=kMt(e),r=new VA,c=new Wd(e.e);c.a<c.c.c.length;)(n=QOt(t,zz(t0(c),144),null,null,l,o))&&(Uot(n,e),r5(r,n,r.c.b,r.c));if(r.b>1)for(i=lwt(r,0);i.b!=i.d.c;)for(a=0,s=new Wd((n=zz(d3(i),231)).e);s.a<s.c.c.length;)zz(t0(s),144).b=a++;return r}return s6(Sst(Ux(Rae,1),nJt,231,0,[e]))}function U$t(t){var e,n,i,r,a;if(!t.g){if(a=new Ac,null==(e=COe).a.zc(t,e)){for(n=new DL(xV(t));n.e!=n.i.gc();)wZ(a,U$t(zz(kwt(n),26)));e.a.Bc(t),e.a.gc()}for(i=a.i,!t.s&&(t.s=new nY($De,t,21,17)),r=new DL(t.s);r.e!=r.i.gc();++i)sd(zz(kwt(r),449),i);wZ(a,(!t.s&&(t.s=new nY($De,t,21,17)),t.s)),olt(a),t.g=new bct(t,a),t.i=zz(a.g,247),null==t.i&&(t.i=IOe),t.p=null,C5(t).b&=-5}return t.g}function G$t(t){var e,i,r,a,o,s,c,u,l,h,f,d,g;if(r=t.i,i=t.n,0==t.b)e=Wmt(t,!1),ZU(t.a[0],r.d+i.d,e[0]),ZU(t.a[2],r.d+r.a-i.a-e[2],e[2]),f=r.a-i.d-i.a,e[0]>0&&(e[0]+=t.c,f-=e[0]),e[2]>0&&(f-=e[2]+t.c),e[1]=n.Math.max(e[1],f),ZU(t.a[1],r.d+i.d+e[0]-(e[1]-f)/2,e[1]);else for(g=r.d+i.d,d=r.a-i.d-i.a,u=0,h=(s=t.a).length;u<h;++u)ZU(a=s[u],g,d);for(c=0,l=(o=t.a).length;c<l;++c)aL(a=o[c],326)&&zz(a,326).Ue()}function Y$t(t){var e,n,i,r,a,o,s,c,u;for(u=P8(DNe,hXt,25,t.b.c.length+1,15,1),c=new Fm,i=0,a=new Wd(t.b);a.a<a.c.c.length;){for(r=zz(t0(a),29),u[i++]=c.a.gc(),s=new Wd(r.a);s.a<s.c.c.length;)for(n=new cG(JL(ddt(zz(t0(s),10)).a.Kc(),new l));bDt(n);)e=zz(Y5(n),17),c.a.zc(e,c);for(o=new Wd(r.a);o.a<o.c.c.length;)for(n=new cG(JL(fdt(zz(t0(o),10)).a.Kc(),new l));bDt(n);)e=zz(Y5(n),17),c.a.Bc(e)}return u}function Z$t(t,e,n,i){var r,a,o,s,c;if(c=sPt(t.e.Tg(),e),r=zz(t.g,119),JE(),zz(e,66).Oj()){for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&Pht(a,n))return!0}else if(null!=n){for(s=0;s<t.i;++s)if(a=r[s],c.rl(a.ak())&&Pht(n,a.dd()))return!0;if(i)for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&UI(n)===UI(lB(t,zz(a.dd(),56))))return!0}else for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&null==a.dd())return!1;return!1}function W$t(t,e,n,i){var r,a,o,s,c,u;if(u=sPt(t.e.Tg(),e),o=zz(t.g,119),LPt(t.e,e)){if(e.hi()&&(a=mzt(t,e,i,aL(e,99)&&0!=(zz(e,18).Bb&qXt)))>=0&&a!=n)throw qw(new jv(s8t));for(r=0,c=0;c<t.i;++c)if(s=o[c],u.rl(s.ak())){if(r==n)return zz(umt(t,c,(JE(),zz(e,66).Oj()?zz(i,72):J3(e,i))),72);++r}throw qw(new Dv(i7t+n+u8t+r))}for(c=0;c<t.i;++c)if(s=o[c],u.rl(s.ak()))return JE(),zz(e,66).Oj()?s:s.dd();return null}function K$t(t,e,i,r){var a,o,s,c;for(c=i,s=new Wd(e.a);s.a<s.c.c.length;){if(o=zz(t0(s),221),a=zz(o.b,65),Mdt(t.b.c,a.b.c+a.b.b)<=0&&Mdt(a.b.c,t.b.c+t.b.b)<=0&&Mdt(t.b.d,a.b.d+a.b.a)<=0&&Mdt(a.b.d,t.b.d+t.b.a)<=0){if(0==Mdt(a.b.c,t.b.c+t.b.b)&&r.a<0||0==Mdt(a.b.c+a.b.b,t.b.c)&&r.a>0||0==Mdt(a.b.d,t.b.d+t.b.a)&&r.b<0||0==Mdt(a.b.d+a.b.a,t.b.d)&&r.b>0){c=0;break}}else c=n.Math.min(c,HSt(t,a,r));c=n.Math.min(c,K$t(t,o,c,r))}return c}function X$t(t,e){var n,i,r,a,o,s;if(t.b<2)throw qw(new jv("The vector chain must contain at least a source and a target point."));for(CP(0!=t.b),SD(e,(i=zz(t.a.a.c,8)).a,i.b),s=new aP((!e.a&&(e.a=new OL(PMe,e,5)),e.a)),a=lwt(t,1);a.a<t.b-1;)o=zz(d3(a),8),s.e!=s.i.gc()?n=zz(kwt(s),469):(e_(),upt(s,n=new ac)),AD(n,o.a,o.b);for(;s.e!=s.i.gc();)kwt(s),Vkt(s);CP(0!=t.b),CD(e,(r=zz(t.c.b.c,8)).a,r.b)}function V$t(t,e){var n,i,r,a,o,s,c,u;for(n=0,i=new Wd((f1(0,t.c.length),zz(t.c[0],101)).g.b.j);i.a<i.c.c.length;)zz(t0(i),11).p=n++;for(e==(kYt(),uIe)?yO(t,new ta):yO(t,new ea),o=0,u=t.c.length-1;o<u;)f1(o,t.c.length),a=zz(t.c[o],101),f1(u,t.c.length),c=zz(t.c[u],101),r=e==uIe?a.c:a.a,s=e==uIe?c.a:c.c,dY(a,e,(Dst(),vue),r),dY(c,e,yue,s),++o,--u;o==u&&dY((f1(o,t.c.length),zz(t.c[o],101)),e,(Dst(),mue),null)}function Q$t(t,e,n){var i,r,a,o,s,c,u,l,h,f;return l=t.a.i+t.a.g/2,h=t.a.i+t.a.g/2,o=new PS(e.i+e.g/2,e.j+e.f/2),(c=zz(tOt(e,(lWt(),bCe)),8)).a=c.a+l,c.b=c.b+h,r=(o.b-c.b)/(o.a-c.a),i=o.b-r*o.a,s=new PS(n.i+n.g/2,n.j+n.f/2),(u=zz(tOt(n,bCe),8)).a=u.a+l,u.b=u.b+h,a=(s.b-u.b)/(s.a-u.a),f=(i-(s.b-a*s.a))/(a-r),!(c.a<f&&o.a<f||f<c.a&&f<o.a||u.a<f&&s.a<f||f<u.a&&f<s.a)}function J$t(t,e){var n,i,r,a,o,s;if(!(o=zz(FZ(t.c,e),183)))throw qw(new nx("Edge did not exist in input."));return i=Vpt(o),!W_((!e.a&&(e.a=new nY($Me,e,6,6)),e.a))&&(n=new Ez(t,i,s=new Sf),gM((!e.a&&(e.a=new nY($Me,e,6,6)),e.a),n),ret(o,B6t,s)),C8(e,(lWt(),MTe))&&!(!(r=zz(tOt(e,MTe),74))||wW(r))&&(n5(r,new Xb(a=new Sf)),ret(o,"junctionPoints",a)),Dq(o,"container",ZQ(e).k),null}function tzt(t,e,n){var i,r,a,o,s,c;this.a=t,this.b=e,this.c=n,this.e=s6(Sst(Ux(sie,1),HWt,168,0,[new PT(t,e),new PT(e,n),new PT(n,t)])),this.f=s6(Sst(Ux(CEe,1),lKt,8,0,[t,e,n])),this.d=(i=ZF(zO(this.b),this.a),r=ZF(zO(this.c),this.a),a=ZF(zO(this.c),this.b),o=i.a*(this.a.a+this.b.a)+i.b*(this.a.b+this.b.b),s=r.a*(this.a.a+this.c.a)+r.b*(this.a.b+this.c.b),c=2*(i.a*a.b-i.b*a.a),new PS((r.b*o-i.b*s)/c,(i.a*s-r.a*o)/c))}function ezt(t,e,n,i){var r,a,o,s,c,u,l,h,f;if(h=new UZ(t.p),ret(e,n8t,h),n&&!(t.f?rV(t.f):null).a.dc())for(ret(e,"logs",u=new Sf),s=0,f=new Hd((t.f?rV(t.f):null).b.Kc());f.b.Ob();)l=new UZ(TB(f.b.Pb())),ptt(u,s),r4(u,s,l),++s;if(i&&ret(e,"executionTime",new Tf(t.q)),!rV(t.a).a.dc())for(o=new Sf,ret(e,O6t,o),s=0,a=new Hd(rV(t.a).b.Kc());a.b.Ob();)r=zz(a.b.Pb(),1949),c=new wv,ptt(o,s),r4(o,s,c),ezt(r,c,n,i),++s}function nzt(t,e){var n,i,r,a,o,s;for(a=t.c,o=t.d,TJ(t,null),EJ(t,null),e&&Hv(AB(vEt(o,(hWt(),efe))))?TJ(t,Rjt(o.i,(sit(),Hme),(kYt(),cIe))):TJ(t,o),e&&Hv(AB(vEt(a,(hWt(),xfe))))?EJ(t,Rjt(a.i,(sit(),qme),(kYt(),SIe))):EJ(t,a),i=new Wd(t.b);i.a<i.c.c.length;)n=zz(t0(i),70),(r=zz(vEt(n,(HZt(),Vpe)),272))==(Ret(),ZCe)?hct(n,Vpe,YCe):r==YCe&&hct(n,Vpe,ZCe);s=Hv(AB(vEt(t,(hWt(),Sfe)))),hct(t,Sfe,(lN(),!s)),t.a=Jct(t.a)}function izt(t,e,i){var r,a,o,s,c;for(r=0,o=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));o.e!=o.i.gc();)s="",0==(!(a=zz(kwt(o),33)).n&&(a.n=new nY(GMe,a,1,7)),a.n).i||(s=zz(Ket((!a.n&&(a.n=new nY(GMe,a,1,7)),a.n),0),137).a),Uot(c=new HZ(s),a),hct(c,(Trt(),uoe),a),c.b=r++,c.d.a=a.i+a.g/2,c.d.b=a.j+a.f/2,c.e.a=n.Math.max(a.g,1),c.e.b=n.Math.max(a.f,1),Wz(e.e,c),_St(i.f,a,c),zz(tOt(a,(fFt(),Vae)),98),V_t()}function rzt(t,e){var i,r,a,o,s,c,u,l,h,f,d;i=DN(new Hm,t.f),c=t.i[e.c.i.p],f=t.i[e.d.i.p],s=e.c,h=e.d,o=s.a.b,l=h.a.b,c.b||(o+=s.n.b),f.b||(l+=h.n.b),u=SQ(n.Math.max(0,o-l)),a=SQ(n.Math.max(0,l-o)),d=n.Math.max(1,zz(vEt(e,(HZt(),dwe)),19).a)*Z3(e.c.i.k,e.d.i.k),r=new tS(ZNt(oE(aE(rE(sE(new qm,d),a),i),zz(FZ(t.k,e.c),121))),ZNt(oE(aE(rE(sE(new qm,d),u),i),zz(FZ(t.k,e.d),121)))),t.c[e.p]=r}function azt(t,e,n,i){var r,a,o,s,c,u;for(o=new cUt(t,e,n),c=new E2(i,0),r=!1;c.b<c.d.gc();)CP(c.b<c.d.gc()),(s=zz(c.d.Xb(c.c=c.b++),233))==e||s==n?hW(c):!r&&Uv(fL(s.g,s.d[0]).a)>Uv(fL(o.g,o.d[0]).a)?(CP(c.b>0),c.a.Xb(c.c=--c.b),vF(c,o),r=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new Nw),s.e).Mc(e),u=(!s.e&&(s.e=new Nw),s.e).Mc(n),(a||u)&&((!s.e&&(s.e=new Nw),s.e).Fc(o),++o.c));r||(i.c[i.c.length]=o)}function ozt(t){var e,n,i;if(mD(zz(vEt(t,(HZt(),nwe)),98)))for(n=new Wd(t.j);n.a<n.c.c.length;)(e=zz(t0(n),11)).j==(kYt(),CIe)&&((i=zz(vEt(e,(hWt(),_fe)),10))?USt(e,zz(vEt(i,Xhe),61)):e.e.c.length-e.g.c.length<0?USt(e,cIe):USt(e,SIe));else{for(n=new Wd(t.j);n.a<n.c.c.length;)e=zz(t0(n),11),(i=zz(vEt(e,(hWt(),_fe)),10))?USt(e,zz(vEt(i,Xhe),61)):e.e.c.length-e.g.c.length<0?USt(e,(kYt(),cIe)):USt(e,(kYt(),SIe));hct(t,nwe,(V_t(),KSe))}}function szt(t){var e,n;switch(t){case 91:case 93:case 45:case 94:case 44:case 92:n="\\"+String.fromCharCode(t&VKt);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=t<32?"\\x"+hP(e="0"+(t>>>0).toString(16),e.length-2,e.length):t>=qXt?"\\v"+hP(e="0"+(t>>>0).toString(16),e.length-6,e.length):""+String.fromCharCode(t&VKt)}return n}function czt(t,e){var n,i,r,a,o,s,c,u,l,h;if(o=t.e,0==(c=e.e))return t;if(0==o)return 0==e.e?e:new fY(-e.e,e.d,e.a);if((a=t.d)+(s=e.d)==2)return n=n0(t.a[0],ZXt),i=n0(e.a[0],ZXt),o<0&&(n=k9(n)),c<0&&(i=k9(i)),ewt(rdt(n,i));if(-1==(r=a!=s?a>s?1:-1:Tut(t.a,e.a,a)))h=-c,l=o==c?p6(e.a,s,t.a,a):N8(e.a,s,t.a,a);else if(h=o,o==c){if(0==r)return DBt(),ine;l=p6(t.a,a,e.a,s)}else l=N8(t.a,a,e.a,s);return Z0(u=new fY(h,l.length,l)),u}function uzt(t){var e,n,i,r,a,o;for(this.e=new Nw,this.a=new Nw,n=t.b-1;n<3;n++)RP(t,0,zz(Fwt(t,0),8));if(t.b<4)throw qw(new jv("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,MOt(this,t.b+this.b-1),o=new Nw,a=new Wd(this.e),e=0;e<this.b-1;e++)Wz(o,EB(t0(a)));for(r=lwt(t,0);r.b!=r.d.c;)i=zz(d3(r),8),Wz(o,EB(t0(a))),Wz(this.a,new gQ(i,o)),f1(0,o.c.length),o.c.splice(0,1)}function lzt(t,e){var n,i,r,a,o,s,c;for(r=new Wd(t.b);r.a<r.c.c.length;)for(o=new Wd(zz(t0(r),29).a);o.a<o.c.c.length;)for((a=zz(t0(o),10)).k==(cTt(),Tse)&&(s=zz(Y5(new cG(JL(fdt(a).a.Kc(),new l))),17),c=zz(Y5(new cG(JL(ddt(a).a.Kc(),new l))),17),h$t(a,Hv(AB(vEt(s,(hWt(),Sfe))))&&Hv(AB(vEt(c,Sfe)))?Wst(e):e)),i=new cG(JL(ddt(a).a.Kc(),new l));bDt(i);)yst(n=zz(Y5(i),17),Hv(AB(vEt(n,(hWt(),Sfe))))?Wst(e):e)}function hzt(t,e,n,i,r){var a,o;if(n.f>=e.o&&n.f<=e.f||.5*e.a<=n.f&&1.5*e.a>=n.f){if((a=zz(PH(e.n,e.n.c.length-1),211)).e+a.d+n.g+r<=i&&(zz(PH(e.n,e.n.c.length-1),211).f-t.f+n.f<=t.b||1==t.a.c.length))return xdt(e,n),!0;if(e.s+n.g<=i&&(e.t+e.d+n.f+r<=t.b||1==t.a.c.length))return Wz(e.b,n),o=zz(PH(e.n,e.n.c.length-1),211),Wz(e.n,new FQ(e.s,o.f+o.a+e.i,e.i)),lyt(zz(PH(e.n,e.n.c.length-1),211),n),q$t(e,n),!0}return!1}function fzt(t,e,n){var i,r,a,o;return t.ej()?(r=null,a=t.fj(),i=t.Zi(1,o=ctt(t,e,n),n,e,a),t.bj()&&!(t.ni()&&null!=o?Pht(o,n):UI(o)===UI(n))?(null!=o&&(r=t.dj(o,r)),r=t.cj(n,r),t.ij()&&(r=t.lj(o,n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):(t.ij()&&(r=t.lj(o,n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)),o):(o=ctt(t,e,n),t.bj()&&!(t.ni()&&null!=o?Pht(o,n):UI(o)===UI(n))&&(r=null,null!=o&&(r=t.dj(o,null)),(r=t.cj(n,r))&&r.Fi()),o)}function dzt(t,e){var i,r,a,o,s,c,u;e%=24,t.q.getHours()!=e&&((i=new n.Date(t.q.getTime())).setDate(i.getDate()+1),(s=t.q.getTimezoneOffset()-i.getTimezoneOffset())>0&&(c=s/60|0,u=s%60,r=t.q.getDate(),t.q.getHours()+c>=24&&++r,a=new n.Date(t.q.getFullYear(),t.q.getMonth(),r,e+c,t.q.getMinutes()+u,t.q.getSeconds(),t.q.getMilliseconds()),t.q.setTime(a.getTime()))),o=t.q.getTime(),t.q.setTime(o+36e5),t.q.getHours()!=e&&t.q.setTime(o)}function gzt(t,e){var n,i,r,a;if(DAt(e,"Path-Like Graph Wrapping",1),0!=t.b.c.length)if(null==(r=new TDt(t)).i&&(r.i=Krt(r,new xa)),n=Uv(r.i)*r.f/(null==r.i&&(r.i=Krt(r,new xa)),Uv(r.i)),r.b>n)HTt(e);else{switch(zz(vEt(t,(HZt(),zwe)),337).g){case 2:a=new Aa;break;case 0:a=new ga;break;default:a=new Ea}if(i=a.Vf(t,r),!a.Wf())switch(zz(vEt(t,Zwe),338).g){case 2:i=WSt(r,i);break;case 1:i=jAt(r,i)}rHt(t,r,i),HTt(e)}else HTt(e)}function pzt(t,e){var n,i,r,a;if(h1(t.d,t.e),t.c.a.$b(),0!=Uv(EB(vEt(e.j,(HZt(),Ipe))))||0!=Uv(EB(vEt(e.j,Ipe))))for(n=tJt,UI(vEt(e.j,Lpe))!==UI((vct(),Nme))&&hct(e.j,(hWt(),Qhe),(lN(),!0)),a=zz(vEt(e.j,Pwe),19).a,r=0;r<a&&!((i=w$t(t,e))<n&&(n=i,Nrt(t),0==n));r++);else for(n=FWt,UI(vEt(e.j,Lpe))!==UI((vct(),Nme))&&hct(e.j,(hWt(),Qhe),(lN(),!0)),a=zz(vEt(e.j,Pwe),19).a,r=0;r<a&&!((i=m$t(t,e))<n&&(n=i,Nrt(t),0==n));r++);}function bzt(t,e){var n,i,r,a,o,s;for(r=new Nw,a=0,n=0,o=0;a<e.c.length-1&&n<t.gc();){for(i=zz(t.Xb(n),19).a+o;(f1(a+1,e.c.length),zz(e.c[a+1],19)).a<i;)++a;for(s=0,i-(f1(a,e.c.length),zz(e.c[a],19)).a>(f1(a+1,e.c.length),zz(e.c[a+1],19)).a-i&&++s,Wz(r,(f1(a+s,e.c.length),zz(e.c[a+s],19))),o+=(f1(a+s,e.c.length),zz(e.c[a+s],19)).a-i,++n;n<t.gc()&&zz(t.Xb(n),19).a+o<=(f1(a+s,e.c.length),zz(e.c[a+s],19)).a;)++n;a+=1+s}return r}function wzt(t){var e,n,i,r,a;if(!t.d){if(a=new Cc,null==(e=COe).a.zc(t,e)){for(n=new DL(xV(t));n.e!=n.i.gc();)wZ(a,wzt(zz(kwt(n),26)));e.a.Bc(t),e.a.gc()}for(r=a.i,!t.q&&(t.q=new nY(XDe,t,11,10)),i=new DL(t.q);i.e!=i.i.gc();++r)zz(kwt(i),399);wZ(a,(!t.q&&(t.q=new nY(XDe,t,11,10)),t.q)),olt(a),t.d=new NM((zz(Ket(XX((XZ(),eOe).o),9),18),a.i),a.g),t.e=zz(a.g,673),null==t.e&&(t.e=SOe),C5(t).b&=-17}return t.d}function mzt(t,e,n,i){var r,a,o,s,c,u;if(u=sPt(t.e.Tg(),e),c=0,r=zz(t.g,119),JE(),zz(e,66).Oj()){for(o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(Pht(a,n))return c;++c}}else if(null!=n){for(s=0;s<t.i;++s)if(a=r[s],u.rl(a.ak())){if(Pht(n,a.dd()))return c;++c}if(i)for(c=0,o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(UI(n)===UI(lB(t,zz(a.dd(),56))))return c;++c}}else for(o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(null==a.dd())return c;++c}return-1}function yzt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(TX(),yO(t,new Ys),o=Gz(t),d=new Nw,f=new Nw,s=null,c=0;0!=o.b;)a=zz(0==o.b?null:(CP(0!=o.b),Oet(o,o.a.a)),157),!s||iU(s)*nU(s)/2<iU(a)*nU(a)?(s=a,d.c[d.c.length]=a):(c+=iU(a)*nU(a),f.c[f.c.length]=a,f.c.length>1&&(c>iU(s)*nU(s)/2||0==o.b)&&(h=new Get(f),l=iU(s)/nU(s),u=xZt(h,e,new dy,n,i,r,l),YF(xM(h.e),u),s=h,d.c[d.c.length]=h,c=0,f.c=P8(Ote,HWt,1,0,5,1)));return wst(d,f),d}function vzt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(n.mh(e)&&(l=(d=e)?zz(i,49).xh(d):null))if(p=n.bh(e,t.a),(g=e.t)>1||-1==g)if(h=zz(p,69),f=zz(l,69),h.dc())f.$b();else for(o=!!Imt(e),a=0,s=t.a?h.Kc():h.Zh();s.Ob();)u=zz(s.Pb(),56),(r=zz(ftt(t,u),56))?(o?-1==(c=f.Xc(r))?f.Xh(a,r):a!=c&&f.ji(a,r):f.Xh(a,r),++a):t.b&&!o&&(f.Xh(a,u),++a);else null==p?l.Wb(null):null==(r=ftt(t,p))?t.b&&!Imt(e)&&l.Wb(p):l.Wb(r)}function xzt(t,e){var i,r,a,o,s,c,u,h;for(i=new Ln,a=new cG(JL(fdt(e).a.Kc(),new l));bDt(a);)if(!d5(r=zz(Y5(a),17))&&iAt(c=r.c.i,Zse)){if(-1==(h=XBt(t,c,Zse,Yse)))continue;i.b=n.Math.max(i.b,h),!i.a&&(i.a=new Nw),Wz(i.a,c)}for(s=new cG(JL(ddt(e).a.Kc(),new l));bDt(s);)if(!d5(o=zz(Y5(s),17))&&iAt(u=o.d.i,Yse)){if(-1==(h=XBt(t,u,Yse,Zse)))continue;i.d=n.Math.max(i.d,h),!i.c&&(i.c=new Nw),Wz(i.c,u)}return i}function kzt(t){var e,n,i,r;if(LMt(),e=SQ(t),t<cne.length)return cne[e];if(t<=50)return cMt((DBt(),ene),e);if(t<=XKt)return U5(cMt(sne[1],e),e);if(t>1e6)throw qw(new Mv("power of ten too big"));if(t<=FWt)return U5(cMt(sne[1],e),e);for(r=i=cMt(sne[1],FWt),n=fot(t-FWt),e=SQ(t%FWt);Xlt(n,FWt)>0;)r=Ntt(r,i),n=rdt(n,FWt);for(r=U5(r=Ntt(r,cMt(sne[1],e)),FWt),n=fot(t-FWt);Xlt(n,FWt)>0;)r=U5(r,FWt),n=rdt(n,FWt);return r=U5(r,e)}function _zt(t,e){var n,i,r,a,o,s,c,u;for(DAt(e,"Hierarchical port dummy size processing",1),s=new Nw,u=new Nw,n=2*Uv(EB(vEt(t,(HZt(),xwe)))),r=new Wd(t.b);r.a<r.c.c.length;){for(i=zz(t0(r),29),s.c=P8(Ote,HWt,1,0,5,1),u.c=P8(Ote,HWt,1,0,5,1),o=new Wd(i.a);o.a<o.c.c.length;)(a=zz(t0(o),10)).k==(cTt(),Ese)&&((c=zz(vEt(a,(hWt(),Xhe)),61))==(kYt(),uIe)?s.c[s.c.length]=a:c==TIe&&(u.c[u.c.length]=a));HMt(s,!0,n),HMt(u,!1,n)}HTt(e)}function Azt(t,e){var n,i,r,a,o;DAt(e,"Layer constraint postprocessing",1),0!=(o=t.b).c.length&&(f1(0,o.c.length),$Rt(t,zz(o.c[0],29),zz(PH(o,o.c.length-1),29),n=new qZ(t),r=new qZ(t)),0==n.a.c.length||(LJ(0,o.c.length),ET(o.c,0,n)),0==r.a.c.length||(o.c[o.c.length]=r)),LP(t,(hWt(),tfe))&&(xBt(t,i=new qZ(t),a=new qZ(t)),0==i.a.c.length||(LJ(0,o.c.length),ET(o.c,0,i)),0==a.a.c.length||(o.c[o.c.length]=a)),HTt(e)}function Ezt(t){var e,n,i,r,a,o,s,c;for(o=new Wd(t.a);o.a<o.c.c.length;)if((a=zz(t0(o),10)).k==(cTt(),Ese)&&((r=zz(vEt(a,(hWt(),Xhe)),61))==(kYt(),cIe)||r==SIe))for(i=new cG(JL(hdt(a).a.Kc(),new l));bDt(i);)0!=(e=(n=zz(Y5(i),17)).a).b&&((s=n.c).i==a&&(CP(0!=e.b),zz(e.a.a.c,8).b=Oct(Sst(Ux(CEe,1),lKt,8,0,[s.i.n,s.n,s.a])).b),(c=n.d).i==a&&(CP(0!=e.b),zz(e.c.b.c,8).b=Oct(Sst(Ux(CEe,1),lKt,8,0,[c.i.n,c.n,c.a])).b))}function Tzt(t,e){var n,i,r,a,o,s,c;for(DAt(e,"Sort By Input Model "+vEt(t,(HZt(),Lpe)),1),r=0,i=new Wd(t.b);i.a<i.c.c.length;){for(n=zz(t0(i),29),c=0==r?0:r-1,s=zz(PH(t.b,c),29),o=new Wd(n.a);o.a<o.c.c.length;)UI(vEt(a=zz(t0(o),10),nwe))!==UI((V_t(),YSe))&&UI(vEt(a,nwe))!==UI(ZSe)&&(TX(),yO(a.j,new M9(s,uxt(a))),Mq(e,"Node "+a+" ports: "+a.j));TX(),yO(n.a,new Grt(s,zz(vEt(t,Lpe),339),zz(vEt(t,Dpe),378))),Mq(e,"Layer "+r+": "+n),++r}HTt(e)}function Czt(t,e){var n,i,r;if(r=k$t(e),QA(new FH(null,(!e.c&&(e.c=new nY(ZMe,e,9,9)),new g1(e.c,16))),new Yg(r)),cGt(e,i=zz(vEt(r,(hWt(),Jhe)),21)),i.Hc((gBt(),fhe)))for(n=new DL((!e.c&&(e.c=new nY(ZMe,e,9,9)),e.c));n.e!=n.i.gc();)VGt(t,e,r,zz(kwt(n),118));return 0!=zz(tOt(e,(HZt(),$be)),174).gc()&&vBt(e,r),Hv(AB(vEt(r,Zbe)))&&i.Fc(whe),LP(r,bwe)&&Ev(new cgt(Uv(EB(vEt(r,bwe)))),r),UI(tOt(e,ube))===UI((cht(),wSe))?oWt(t,e,r):iZt(t,e,r),r}function Szt(t,e,i,r){var a,o,s;if(this.j=new Nw,this.k=new Nw,this.b=new Nw,this.c=new Nw,this.e=new dD,this.i=new xy,this.f=new Bw,this.d=new Nw,this.g=new Nw,Wz(this.b,t),Wz(this.b,e),this.e.c=n.Math.min(t.a,e.a),this.e.d=n.Math.min(t.b,e.b),this.e.b=n.Math.abs(t.a-e.a),this.e.a=n.Math.abs(t.b-e.b),a=zz(vEt(r,(HZt(),mbe)),74))for(s=lwt(a,0);s.b!=s.d.c;)snt((o=zz(d3(s),8)).a,t.a)&&Bq(this.i,o);i&&Wz(this.j,i),Wz(this.k,r)}function Izt(t,e,n){var i,r,a,o,s,c,u,l,h,f;for(l=new ZG(new Pg(n)),mY(s=P8(ONe,tQt,25,t.f.e.c.length,16,1),s.length),n[e.b]=0,u=new Wd(t.f.e);u.a<u.c.c.length;)(c=zz(t0(u),144)).b!=e.b&&(n[c.b]=FWt),$8(iEt(l,c));for(;0!=l.b.c.length;)for(s[(h=zz(ytt(l),144)).b]=!0,a=mN(new yA(t.b,h),0);a.c;)s[(f=Lyt(r=zz(_J(a),282),h)).b]||(o=LP(r,(axt(),woe))?Uv(EB(vEt(r,woe))):t.c,(i=n[h.b]+o)<n[f.b]&&(n[f.b]=i,lrt(l,f),$8(iEt(l,f))))}function Mzt(t,e,n){var i,r,a,o,s,c,u,l,h;for(r=!0,o=new Wd(t.b);o.a<o.c.c.length;){for(a=zz(t0(o),29),u=jXt,l=null,c=new Wd(a.a);c.a<c.c.c.length;){if(s=zz(t0(c),10),h=Uv(e.p[s.p])+Uv(e.d[s.p])-s.d.d,i=Uv(e.p[s.p])+Uv(e.d[s.p])+s.o.b+s.d.a,!(h>u&&i>u)){r=!1,n.n&&Mq(n,"bk node placement breaks on "+s+" which should have been after "+l);break}l=s,u=Uv(e.p[s.p])+Uv(e.d[s.p])+s.o.b+s.d.a}if(!r)break}return n.n&&Mq(n,e+" is feasible: "+r),r}function Dzt(t,e,n,i){var r,a,o,s,c,u,l;for(s=-1,l=new Wd(t);l.a<l.c.c.length;)(u=zz(t0(l),112)).g=s--,o=r=pU(_2(NK(DK(new FH(null,new g1(u.f,16)),new uo),new lo)).d),c=a=pU(_2(NK(DK(new FH(null,new g1(u.k,16)),new ho),new fo)).d),i||(o=pU(_2(NK(new FH(null,new g1(u.f,16)),new go)).d),c=pU(_2(NK(new FH(null,new g1(u.k,16)),new po)).d)),u.d=o,u.a=r,u.i=c,u.b=a,0==c?r5(n,u,n.c.b,n.c):0==o&&r5(e,u,e.c.b,e.c)}function Ozt(t,e,n,i){var r,a,o,s,c,u,l;if(n.d.i!=e.i){for(zf(r=new Lmt(t),(cTt(),Cse)),hct(r,(hWt(),pfe),n),hct(r,(HZt(),nwe),(V_t(),ZSe)),i.c[i.c.length]=r,SJ(o=new ITt,r),USt(o,(kYt(),SIe)),SJ(s=new ITt,r),USt(s,cIe),l=n.d,EJ(n,o),Uot(a=new gV,n),hct(a,mbe,null),TJ(a,s),EJ(a,l),u=new E2(n.b,0);u.b<u.d.gc();)CP(u.b<u.d.gc()),UI(vEt(c=zz(u.d.Xb(u.c=u.b++),70),Vpe))===UI((Ret(),YCe))&&(hct(c,Yhe,n),hW(u),Wz(a.b,c));xDt(r,o,s)}}function Lzt(t,e,n,i){var r,a,o,s,c,u;if(n.c.i!=e.i)for(zf(r=new Lmt(t),(cTt(),Cse)),hct(r,(hWt(),pfe),n),hct(r,(HZt(),nwe),(V_t(),ZSe)),i.c[i.c.length]=r,SJ(o=new ITt,r),USt(o,(kYt(),SIe)),SJ(s=new ITt,r),USt(s,cIe),EJ(n,o),Uot(a=new gV,n),hct(a,mbe,null),TJ(a,s),EJ(a,e),xDt(r,o,s),u=new E2(n.b,0);u.b<u.d.gc();)CP(u.b<u.d.gc()),c=zz(u.d.Xb(u.c=u.b++),70),zz(vEt(c,Vpe),272)==(Ret(),YCe)&&(LP(c,Yhe)||hct(c,Yhe,n),hW(u),Wz(a.b,c))}function Nzt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,m,y;for(f=new Nw,w=T4(r),b=e*t.a,g=0,o=new Fm,s=new Fm,c=new Nw,m=0,y=0,d=0,p=0,l=0,h=0;0!=w.a.gc();)(u=ndt(w,a,s))&&(w.a.Bc(u),c.c[c.c.length]=u,o.a.zc(u,o),g=t.f[u.p],m+=t.e[u.p]-g*t.b,y+=t.c[u.p]*t.b,h+=g*t.b,p+=t.e[u.p]),(!u||0==w.a.gc()||m>=b&&t.e[u.p]>g*t.b||y>=i*b)&&(f.c[f.c.length]=c,c=new Nw,zrt(s,o),o.a.$b(),l-=h,d=n.Math.max(d,l*t.b+p),l+=y,m=y,y=0,h=0,p=0);return new rI(d,f)}function Pzt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(n=new Rd(new Md(t.c.b).a.vc().Kc());n.a.Ob();)s=zz(n.a.Pb(),42),null==(r=(e=zz(s.dd(),149)).a)&&(r=""),!(i=jB(t.c,r))&&0==r.length&&(i=xht(t)),i&&!xgt(i.c,e,!1)&&Bq(i.c,e);for(o=lwt(t.a,0);o.b!=o.d.c;)a=zz(d3(o),478),u=A5(t.c,a.a),f=A5(t.c,a.b),u&&f&&Bq(u.c,new rI(f,a.c));for(vX(t.a),h=lwt(t.b,0);h.b!=h.d.c;)l=zz(d3(h),478),e=RB(t.c,l.a),c=A5(t.c,l.b),e&&c&&BE(e,c,l.c);vX(t.b)}function Bzt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;a=new Cf(t),p5((o=new bxt).g),p5(o.j),OY(o.b),p5(o.d),p5(o.i),OY(o.k),OY(o.c),OY(o.e),d=gIt(o,a,null),DOt(o,a),r=d,e&&(s=iqt(u=new Cf(e)),yTt(r,Sst(Ux(tEe,1),HWt,527,0,[s]))),f=!1,h=!1,n&&(u=new Cf(n),d8t in u.a&&(f=GQ(u,d8t).ge().a),g8t in u.a&&(h=GQ(u,g8t).ge().a)),l=Ok(znt(new Zy,f),h),qTt(new ls,r,l),d8t in a.a&&ret(a,d8t,null),(f||h)&&(ezt(l,c=new wv,f,h),ret(a,d8t,c)),i=new Zb(o),Zct(new MD(r),i)}function Fzt(t,e,n){var i,r,a,o,s,c,u,l,h;for(o=new Qxt,u=Sst(Ux(DNe,1),hXt,25,15,[0]),r=-1,a=0,i=0,c=0;c<t.b.c.length;++c){if(!((l=zz(PH(t.b,c),434)).b>0)){if(r=-1,32==hK(l.c,0)){if(h=u[0],vtt(e,u),u[0]>h)continue}else if(OV(e,l.c,u[0])){u[0]+=l.c.length;continue}return 0}if(r<0&&l.a&&(r=c,a=u[0],i=0),r>=0){if(s=l.b,c==r&&0==(s-=i++))return 0;if(!NYt(e,u,l,s,o)){c=r-1,u[0]=a;continue}}else if(r=-1,!NYt(e,u,l,0,o))return 0}return bYt(o,n)?u[0]:0}function Rzt(t){var e,n,i,r,a,o;if(!t.f){if(o=new Ec,a=new Ec,null==(e=COe).a.zc(t,e)){for(r=new DL(xV(t));r.e!=r.i.gc();)wZ(o,Rzt(zz(kwt(r),26)));e.a.Bc(t),e.a.gc()}for(!t.s&&(t.s=new nY($De,t,21,17)),i=new DL(t.s);i.e!=i.i.gc();)aL(n=zz(kwt(i),170),99)&&h7(a,zz(n,18));olt(a),t.r=new Aq(t,(zz(Ket(XX((XZ(),eOe).o),6),18),a.i),a.g),wZ(o,t.r),olt(o),t.f=new NM((zz(Ket(XX(eOe.o),5),18),o.i),o.g),C5(t).b&=-3}return t.f}function jzt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g;for(o=t.o,i=P8(DNe,hXt,25,o,15,1),r=P8(DNe,hXt,25,o,15,1),n=t.p,e=P8(DNe,hXt,25,n,15,1),a=P8(DNe,hXt,25,n,15,1),u=0;u<o;u++){for(h=0;h<n&&!yyt(t,u,h);)++h;i[u]=h}for(l=0;l<o;l++){for(h=n-1;h>=0&&!yyt(t,l,h);)--h;r[l]=h}for(d=0;d<n;d++){for(s=0;s<o&&!yyt(t,s,d);)++s;e[d]=s}for(g=0;g<n;g++){for(s=o-1;s>=0&&!yyt(t,s,g);)--s;a[g]=s}for(c=0;c<o;c++)for(f=0;f<n;f++)c<a[f]&&c>e[f]&&f<r[c]&&f>i[c]&&zFt(t,c,f,!1,!0)}function $zt(t){var e,n,i,r,a,o,s,c;n=Hv(AB(vEt(t,(fFt(),zae)))),a=t.a.c.d,s=t.a.d.d,n?(o=xL(ZF(new PS(s.a,s.b),a),.5),c=xL(zO(t.e),.5),e=ZF(YF(new PS(a.a,a.b),o),c),qP(t.d,e)):(r=Uv(EB(vEt(t.a,roe))),i=t.d,a.a>=s.a?a.b>=s.b?(i.a=s.a+(a.a-s.a)/2+r,i.b=s.b+(a.b-s.b)/2-r-t.e.b):(i.a=s.a+(a.a-s.a)/2+r,i.b=a.b+(s.b-a.b)/2+r):a.b>=s.b?(i.a=a.a+(s.a-a.a)/2+r,i.b=s.b+(a.b-s.b)/2+r):(i.a=a.a+(s.a-a.a)/2+r,i.b=a.b+(s.b-a.b)/2-r-t.e.b))}function zzt(t,e){var n,i,r,a,o,s,c;if(null==t)return null;if(0==(a=t.length))return"";for(c=P8(MNe,KKt,25,a,15,1),j8(0,a,t.length),j8(0,a,c.length),VY(t,0,a,c,0),n=null,s=e,r=0,o=0;r<a;r++)i=c[r],AWt(),i<=32&&0!=(2&QLe[i])?s?(!n&&(n=new hN(t)),oV(n,r-o++)):(s=e,32!=i&&(!n&&(n=new hN(t)),uK(n,r-o,r-o+1,String.fromCharCode(32)))):s=!1;return s?n?(a=n.a.length)>0?hP(n.a,0,a-1):"":t.substr(0,a-1):n?n.a:t}function qzt(t){NE(t,new TAt(mk(gk(wk(bk(new bs,ZQt),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new ae))),s2(t,ZQt,WQt,vwt(_ae)),s2(t,ZQt,KQt,vwt(wae)),s2(t,ZQt,XQt,vwt(fae)),s2(t,ZQt,VQt,vwt(mae)),s2(t,ZQt,WVt,vwt(xae)),s2(t,ZQt,KVt,vwt(vae)),s2(t,ZQt,ZVt,vwt(kae)),s2(t,ZQt,XVt,vwt(yae)),s2(t,ZQt,qQt,vwt(gae)),s2(t,ZQt,HQt,vwt(dae)),s2(t,ZQt,UQt,vwt(pae)),s2(t,ZQt,GQt,vwt(bae))}function Hzt(t,e,n,i){var r,a,o,s,c,u,l;if(zf(a=new Lmt(t),(cTt(),Ise)),hct(a,(HZt(),nwe),(V_t(),ZSe)),r=0,e){for(hct(o=new ITt,(hWt(),pfe),e),hct(a,pfe,e.i),USt(o,(kYt(),SIe)),SJ(o,a),u=0,l=(c=J0(e.e)).length;u<l;++u)EJ(c[u],o);hct(e,_fe,a),++r}if(n){for(s=new ITt,hct(a,(hWt(),pfe),n.i),hct(s,pfe,n),USt(s,(kYt(),cIe)),SJ(s,a),u=0,l=(c=J0(n.g)).length;u<l;++u)TJ(c[u],s);hct(n,_fe,a),++r}return hct(a,(hWt(),zhe),rft(r)),i.c[i.c.length]=a,a}function Uzt(){Uzt=M,MMe=Sst(Ux(MNe,1),KKt,25,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),DMe=new RegExp("[ \t\n\r\f]+");try{IMe=Sst(Ux(BOe,1),HWt,2015,0,[new mw((uO(),lpt("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",hF((hx(),hx(),aee))))),new mw(lpt("yyyy-MM-dd'T'HH:mm:ss'.'SSS",hF(aee))),new mw(lpt("yyyy-MM-dd'T'HH:mm:ss",hF(aee))),new mw(lpt("yyyy-MM-dd'T'HH:mm",hF(aee))),new mw(lpt("yyyy-MM-dd",hF(aee)))])}catch(t){if(!aL(t=dst(t),78))throw qw(t)}}function Gzt(t){var e,i,r,a;if(r=UZt((!t.c&&(t.c=xlt(t.f)),t.c),0),0==t.e||0==t.a&&-1!=t.f&&t.e<0)return r;if(e=rit(t)<0?1:0,i=t.e,r.length,n.Math.abs(SQ(t.e)),a=new Ix,1==e&&(a.a+="-"),t.e>0)if((i-=r.length-e)>=0){for(a.a+="0.";i>Uee.length;i-=Uee.length)NH(a,Uee);bF(a,Uee,SQ(i)),cM(a,r.substr(e))}else cM(a,hP(r,e,SQ(i=e-i))),a.a+=".",cM(a,tM(r,SQ(i)));else{for(cM(a,r.substr(e));i<-Uee.length;i+=Uee.length)NH(a,Uee);bF(a,Uee,SQ(-i))}return a.a}function Yzt(t,e,i,r){var a,o,s,c,u,l,h,f,d;return l=(u=ZF(new PS(i.a,i.b),t)).a*e.b-u.b*e.a,h=e.a*r.b-e.b*r.a,f=(u.a*r.b-u.b*r.a)/h,d=l/h,0==h?0==l?(o=W8(t,a=YF(new PS(i.a,i.b),xL(new PS(r.a,r.b),.5))),s=W8(YF(new PS(t.a,t.b),e),a),c=.5*n.Math.sqrt(r.a*r.a+r.b*r.b),o<s&&o<=c?new PS(t.a,t.b):s<=c?YF(new PS(t.a,t.b),e):null):null:f>=0&&f<=1&&d>=0&&d<=1?YF(new PS(t.a,t.b),xL(new PS(e.a,e.b),f)):null}function Zzt(t,e,n){var i,r,a,o,s;if(i=zz(vEt(t,(HZt(),Npe)),21),n.a>e.a&&(i.Hc((p_t(),WEe))?t.c.a+=(n.a-e.a)/2:i.Hc(XEe)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(i.Hc((p_t(),QEe))?t.c.b+=(n.b-e.b)/2:i.Hc(VEe)&&(t.c.b+=n.b-e.b)),zz(vEt(t,(hWt(),Jhe)),21).Hc((gBt(),fhe))&&(n.a>e.a||n.b>e.b))for(s=new Wd(t.a);s.a<s.c.c.length;)(o=zz(t0(s),10)).k==(cTt(),Ese)&&((r=zz(vEt(o,Xhe),61))==(kYt(),cIe)?o.n.a+=n.a-e.a:r==TIe&&(o.n.b+=n.b-e.b));a=t.d,t.f.a=n.a-a.b-a.c,t.f.b=n.b-a.d-a.a}function Wzt(t,e,n){var i,r,a,o,s;if(i=zz(vEt(t,(HZt(),Npe)),21),n.a>e.a&&(i.Hc((p_t(),WEe))?t.c.a+=(n.a-e.a)/2:i.Hc(XEe)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(i.Hc((p_t(),QEe))?t.c.b+=(n.b-e.b)/2:i.Hc(VEe)&&(t.c.b+=n.b-e.b)),zz(vEt(t,(hWt(),Jhe)),21).Hc((gBt(),fhe))&&(n.a>e.a||n.b>e.b))for(o=new Wd(t.a);o.a<o.c.c.length;)(a=zz(t0(o),10)).k==(cTt(),Ese)&&((r=zz(vEt(a,Xhe),61))==(kYt(),cIe)?a.n.a+=n.a-e.a:r==TIe&&(a.n.b+=n.b-e.b));s=t.d,t.f.a=n.a-s.b-s.c,t.f.b=n.b-s.d-s.a}function Kzt(t){var e,i,r,a,o,s,c,u,l,h;for(u=new Id(new Sd(BMt(t)).a.vc().Kc());u.a.Ob();){for(r=zz(u.a.Pb(),42),l=0,h=0,l=(c=zz(r.cd(),10)).d.d,h=c.o.b+c.d.a,t.d[c.p]=0,e=c;(a=t.a[e.p])!=c;)i=Tbt(e,a),s=0,s=t.c==(bQ(),tve)?i.d.n.b+i.d.a.b-i.c.n.b-i.c.a.b:i.c.n.b+i.c.a.b-i.d.n.b-i.d.a.b,o=Uv(t.d[e.p])+s,t.d[a.p]=o,l=n.Math.max(l,a.d.d-o),h=n.Math.max(h,o+a.o.b+a.d.a),e=a;e=c;do{t.d[e.p]=Uv(t.d[e.p])+l,e=t.a[e.p]}while(e!=c);t.b[c.p]=l+h}}function Xzt(t){var e,i,r,a,o,s,c,u,l,h,f;for(t.b=!1,h=RXt,c=jXt,f=RXt,u=jXt,i=t.e.a.ec().Kc();i.Ob();)for(r=(e=zz(i.Pb(),266)).a,h=n.Math.min(h,r.c),c=n.Math.max(c,r.c+r.b),f=n.Math.min(f,r.d),u=n.Math.max(u,r.d+r.a),o=new Wd(e.c);o.a<o.c.c.length;)(a=zz(t0(o),395)).a.a?(s=(l=r.d+a.b.b)+a.c,f=n.Math.min(f,l),u=n.Math.max(u,s)):(s=(l=r.c+a.b.a)+a.c,h=n.Math.min(h,l),c=n.Math.max(c,s));t.a=new PS(c-h,u-f),t.c=new PS(h+t.d.a,f+t.d.b)}function Vzt(t,e,n){var i,r,a,o,s,c,u,l;for(l=new Nw,a=0,nit(u=new P0(0,n),new sut(0,0,u,n)),r=0,c=new DL(t);c.e!=c.i.gc();)s=zz(kwt(c),33),i=zz(PH(u.a,u.a.c.length-1),187),r+s.g+(0==zz(PH(u.a,0),187).b.c.length?0:n)>e&&(r=0,a+=u.b+n,l.c[l.c.length]=u,nit(u=new P0(a,n),i=new sut(0,u.f,u,n)),r=0),0==i.b.c.length||s.f>=i.o&&s.f<=i.f||.5*i.a<=s.f&&1.5*i.a>=s.f?xdt(i,s):(nit(u,o=new sut(i.s+i.r+n,u.f,u,n)),xdt(o,s)),r=s.i+s.g;return l.c[l.c.length]=u,l}function Qzt(t){var e,n,i,r,a,o;if(!t.a){if(t.o=null,o=new bw(t),e=new Tc,null==(n=COe).a.zc(t,n)){for(a=new DL(xV(t));a.e!=a.i.gc();)wZ(o,Qzt(zz(kwt(a),26)));n.a.Bc(t),n.a.gc()}for(!t.s&&(t.s=new nY($De,t,21,17)),r=new DL(t.s);r.e!=r.i.gc();)aL(i=zz(kwt(r),170),322)&&h7(e,zz(i,34));olt(e),t.k=new _q(t,(zz(Ket(XX((XZ(),eOe).o),7),18),e.i),e.g),wZ(o,t.k),olt(o),t.a=new NM((zz(Ket(XX(eOe.o),4),18),o.i),o.g),C5(t).b&=-2}return t.a}function Jzt(t,e,n,i,r,a,o){var s,c,u,l,h;return l=!1,s=bNt(n.q,e.f+e.b-n.q.f),!((h=r-(n.q.e+s-o))<i.g)&&(c=a==t.c.length-1&&h>=(f1(a,t.c.length),zz(t.c[a],200)).e,!((u=oqt(i,h,!1).a)>e.b&&!c)&&((c||u<=e.b)&&(c&&u>e.b?(n.d=u,w7(n,zTt(n,u))):(s_t(n.q,s),n.c=!0),w7(i,r-(n.s+n.r)),Emt(i,n.q.e+n.q.d,e.f),nit(e,i),t.c.length>a&&(Ext((f1(a,t.c.length),zz(t.c[a],200)),i),0==(f1(a,t.c.length),zz(t.c[a],200)).a.c.length&&u6(t,a)),l=!0),l))}function tqt(t,e,n,i){var r,a,o,s,c,u,l;if(l=sPt(t.e.Tg(),e),r=0,a=zz(t.g,119),c=null,JE(),zz(e,66).Oj()){for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(Pht(o,n)){c=o;break}++r}}else if(null!=n){for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(Pht(n,o.dd())){c=o;break}++r}}else for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(null==o.dd()){c=o;break}++r}return c&&(yD(t.e)&&(u=e.$j()?new d4(t.e,4,e,n,null,r,!0):LV(t,e.Kj()?2:1,e,n,e.zj(),-1,!0),i?i.Ei(u):i=u),i=ERt(t,c,i)),i}function eqt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g,p;switch(g=0,p=0,u=a.c,c=a.b,h=i.f,d=i.g,e.g){case 0:g=r.i+r.g+s,p=t.c?wAt(g,o,r,s):r.j,f=n.Math.max(u,g+d),l=n.Math.max(c,p+h);break;case 1:p=r.j+r.f+s,g=t.c?bAt(p,o,r,s):r.i,f=n.Math.max(u,g+d),l=n.Math.max(c,p+h);break;case 2:g=u+s,p=0,f=u+s+d,l=n.Math.max(c,h);break;case 3:g=0,p=c+s,f=n.Math.max(u,d),l=c+s+h;break;default:throw qw(new jv("IllegalPlacementOption."))}return new sgt(t.a,f,l,e,g,p)}function nqt(t){var e,i,r,a,o,s,c,u,l,h,f,d;if(c=t.d,f=zz(vEt(t,(hWt(),Rfe)),15),e=zz(vEt(t,Bhe),15),f||e){if(o=Uv(EB(ipt(t,(HZt(),wwe)))),s=Uv(EB(ipt(t,mwe))),d=0,f){for(l=0,a=f.Kc();a.Ob();)r=zz(a.Pb(),10),l=n.Math.max(l,r.o.b),d+=r.o.a;d+=o*(f.gc()-1),c.d+=l+s}if(i=0,e){for(l=0,a=e.Kc();a.Ob();)r=zz(a.Pb(),10),l=n.Math.max(l,r.o.b),i+=r.o.a;i+=o*(e.gc()-1),c.a+=l+s}(u=n.Math.max(d,i))>t.o.a&&(h=(u-t.o.a)/2,c.b=n.Math.max(c.b,h),c.c=n.Math.max(c.c,h))}}function iqt(t){var e,n,i,r,a,o;for(aD(r=new F0,(Pst(),QAe)),i=new Td(new Qv(new AA(t,_rt(t,P8(Vee,lKt,2,0,6,1))).b));i.b<i.d.gc();)CP(i.b<i.d.gc()),n=TB(i.d.Xb(i.c=i.b++)),(a=mUt(fDe,n))&&null!=(o=tUt(a,(e=GQ(t,n)).je()?e.je().a:e.ge()?""+e.ge().a:e.he()?""+e.he().a:e.Ib()))&&((TN(a.j,(awt(),uEe))||TN(a.j,lEe))&&lct(Vtt(r,YMe),a,o),TN(a.j,sEe)&&lct(Vtt(r,jMe),a,o),TN(a.j,hEe)&&lct(Vtt(r,ZMe),a,o),TN(a.j,cEe)&&lct(Vtt(r,GMe),a,o));return r}function rqt(t,e,n,i){var r,a,o,s,c,u;if(c=sPt(t.e.Tg(),e),a=zz(t.g,119),LPt(t.e,e)){for(r=0,s=0;s<t.i;++s)if(o=a[s],c.rl(o.ak())){if(r==n)return JE(),zz(e,66).Oj()?o:(null!=(u=o.dd())&&i&&aL(e,99)&&0!=(zz(e,18).Bb&qXt)&&(u=zIt(t,e,s,r,u)),u);++r}throw qw(new Dv(i7t+n+u8t+r))}for(r=0,s=0;s<t.i;++s){if(o=a[s],c.rl(o.ak()))return JE(),zz(e,66).Oj()?o:(null!=(u=o.dd())&&i&&aL(e,99)&&0!=(zz(e,18).Bb&qXt)&&(u=zIt(t,e,s,r,u)),u);++r}return e.zj()}function aqt(t,e,n){var i,r,a,o,s,c,u,l;if(r=zz(t.g,119),LPt(t.e,e))return JE(),zz(e,66).Oj()?new fH(e,t):new PI(e,t);for(u=sPt(t.e.Tg(),e),i=0,s=0;s<t.i;++s){if(o=(a=r[s]).ak(),u.rl(o)){if(JE(),zz(e,66).Oj())return a;if(o==(EMt(),fLe)||o==uLe){for(c=new fN(qdt(a.dd()));++s<t.i;)((o=(a=r[s]).ak())==fLe||o==uLe)&&cM(c,qdt(a.dd()));return bR(zz(e.Yj(),148),c.a)}return null!=(l=a.dd())&&n&&aL(e,99)&&0!=(zz(e,18).Bb&qXt)&&(l=zIt(t,e,s,i,l)),l}++i}return e.zj()}function oqt(t,e,i){var r,a,o,s,c,u,l,h,f,d;for(o=0,s=t.t,a=0,r=0,u=0,d=0,f=0,i&&(t.n.c=P8(Ote,HWt,1,0,5,1),Wz(t.n,new FQ(t.s,t.t,t.i))),c=0,h=new Wd(t.b);h.a<h.c.c.length;)o+(l=zz(t0(h),33)).g+(c>0?t.i:0)>e&&u>0&&(o=0,s+=u+t.i,a=n.Math.max(a,d),r+=u+t.i,u=0,d=0,i&&(++f,Wz(t.n,new FQ(t.s,s,t.i))),c=0),d+=l.g+(c>0?t.i:0),u=n.Math.max(u,l.f),i&&lyt(zz(PH(t.n,f),211),l),o+=l.g+(c>0?t.i:0),++c;return a=n.Math.max(a,d),r+=u,i&&(t.r=a,t.d=r,xvt(t.j)),new YK(t.s,t.t,a,r)}function sqt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;if(OA(),TY(t,"src"),TY(n,"dest"),f=nut(t),c=nut(n),wq(0!=(4&f.i),"srcType is not an array"),wq(0!=(4&c.i),"destType is not an array"),h=f.c,o=c.c,wq(0!=(1&h.i)?h==o:0==(1&o.i),"Array types don't match"),d=t.length,u=n.length,e<0||i<0||r<0||e+r>d||i+r>u)throw qw(new hm);if(0==(1&h.i)&&f!=c)if(l=int(t),a=int(n),UI(t)===UI(n)&&e<i)for(e+=r,s=i+r;s-- >i;)OZ(a,s,l[--e]);else for(s=i+r;i<s;)OZ(a,i++,l[e++]);else r>0&&$St(t,e,n,i,r,!0)}function cqt(){cqt=M,ane=Sst(Ux(DNe,1),hXt,25,15,[$Kt,1162261467,DKt,1220703125,362797056,1977326743,DKt,387420489,OXt,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,DKt,1291467969,1544804416,1838265625,60466176]),one=Sst(Ux(DNe,1),hXt,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 uqt(t){var e,n,i,r,a,o,s;for(i=new Wd(t.b);i.a<i.c.c.length;)for(a=new Wd(o0(zz(t0(i),29).a));a.a<a.c.c.length;)if(Jtt(r=zz(t0(a),10))&&!(n=zz(vEt(r,(hWt(),Fhe)),305)).g&&n.d)for(e=n,s=n.d;s;)iFt(s.i,s.k,!1,!0),D9(e.a),D9(s.i),D9(s.k),D9(s.b),EJ(s.c,e.c.d),EJ(e.c,null),CJ(e.a,null),CJ(s.i,null),CJ(s.k,null),CJ(s.b,null),(o=new m3(e.i,s.a,e.e,s.j,s.f)).k=e.k,o.n=e.n,o.b=e.b,o.c=s.c,o.g=e.g,o.d=s.d,hct(e.i,Fhe,o),hct(s.a,Fhe,o),s=s.d,e=o}function lqt(t,e){var n,i,r,a,o;if(o=zz(e,136),EOt(t),EOt(o),null!=o.b){if(t.c=!0,null==t.b)return t.b=P8(DNe,hXt,25,o.b.length,15,1),void sqt(o.b,0,t.b,0,o.b.length);for(a=P8(DNe,hXt,25,t.b.length+o.b.length,15,1),n=0,i=0,r=0;n<t.b.length||i<o.b.length;)n>=t.b.length?(a[r++]=o.b[i++],a[r++]=o.b[i++]):i>=o.b.length?(a[r++]=t.b[n++],a[r++]=t.b[n++]):o.b[i]<t.b[n]||o.b[i]===t.b[n]&&o.b[i+1]<t.b[n+1]?(a[r++]=o.b[i++],a[r++]=o.b[i++]):(a[r++]=t.b[n++],a[r++]=t.b[n++]);t.b=a}}function hqt(t,e){var n,i,r,a,o,s,c,u,l,h;return n=Hv(AB(vEt(t,(hWt(),ufe)))),s=Hv(AB(vEt(e,ufe))),i=zz(vEt(t,lfe),11),c=zz(vEt(e,lfe),11),r=zz(vEt(t,hfe),11),u=zz(vEt(e,hfe),11),l=!!i&&i==c,h=!!r&&r==u,n||s?(a=(!Hv(AB(vEt(t,ufe)))||Hv(AB(vEt(t,cfe))))&&(!Hv(AB(vEt(e,ufe)))||Hv(AB(vEt(e,cfe)))),o=!(Hv(AB(vEt(t,ufe)))&&Hv(AB(vEt(t,cfe)))||Hv(AB(vEt(e,ufe)))&&Hv(AB(vEt(e,cfe)))),new Fj(l&&a||h&&o,l,h)):new Fj(zz(t0(new Wd(t.j)),11).p==zz(t0(new Wd(e.j)),11).p,l,h)}function fqt(t){var e,i,r,a,o,s,c,u;for(r=0,i=0,u=new VA,e=0,c=new Wd(t.n);c.a<c.c.c.length;)0==(s=zz(t0(c),211)).c.c.length?r5(u,s,u.c.b,u.c):(r=n.Math.max(r,s.d),i+=s.a+(e>0?t.i:0)),++e;for(egt(t.n,u),t.d=i,t.r=r,t.g=0,t.f=0,t.e=0,t.o=RXt,t.p=RXt,o=new Wd(t.b);o.a<o.c.c.length;)a=zz(t0(o),33),t.p=n.Math.min(t.p,a.g),t.g=n.Math.max(t.g,a.g),t.f=n.Math.max(t.f,a.f),t.o=n.Math.min(t.o,a.f),t.e+=a.f+t.i;t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),xvt(t.j)}function dqt(t){var e,n,i,r;return 0!=(64&t.Db)?Qft(t):(e=new fN(X5t),(i=t.k)?cM(cM((e.a+=' "',e),i),'"'):(!t.n&&(t.n=new nY(GMe,t,1,7)),t.n.i>0&&(!(r=(!t.n&&(t.n=new nY(GMe,t,1,7)),zz(Ket(t.n,0),137)).a)||cM(cM((e.a+=' "',e),r),'"'))),!t.b&&(t.b=new lR(RMe,t,4,7)),n=!(t.b.i<=1&&(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c.i<=1)),e.a+=n?" [":" ",cM(e,QL(new yx,new DL(t.b))),n&&(e.a+="]"),e.a+=i1t,n&&(e.a+="["),cM(e,QL(new yx,new DL(t.c))),n&&(e.a+="]"),e.a)}function gqt(t,e){var n,i,r,a,o,s,c;if(t.a){if(c=null,null!=(s=t.a.ne())?e.a+=""+s:null!=(o=t.a.Dj())&&(-1!=(a=UM(o,QAt(91)))?(c=o.substr(a),e.a+=""+hP(null==o?YWt:(xW(o),o),0,a)):e.a+=""+o),t.d&&0!=t.d.i){for(r=!0,e.a+="<",i=new DL(t.d);i.e!=i.i.gc();)n=zz(kwt(i),87),r?r=!1:e.a+=zWt,gqt(n,e);e.a+=">"}null!=c&&(e.a+=""+c)}else t.e?null!=(s=t.e.zb)&&(e.a+=""+s):(e.a+="?",t.b?(e.a+=" super ",gqt(t.b,e)):t.f&&(e.a+=" extends ",gqt(t.f,e)))}function pqt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E;for(v=t.c,x=e.c,n=_9(v.a,t,0),i=_9(x.a,e,0),m=zz(Bgt(t,(sit(),qme)).Kc().Pb(),11),A=zz(Bgt(t,Hme).Kc().Pb(),11),y=zz(Bgt(e,qme).Kc().Pb(),11),E=zz(Bgt(e,Hme).Kc().Pb(),11),b=J0(m.e),k=J0(A.g),w=J0(y.e),_=J0(E.g),Vvt(t,i,x),u=0,d=(a=w).length;u<d;++u)EJ(a[u],m);for(l=0,g=(o=_).length;l<g;++l)TJ(o[l],A);for(Vvt(e,n,v),h=0,p=(s=b).length;h<p;++h)EJ(s[h],y);for(c=0,f=(r=k).length;c<f;++c)TJ(r[c],E)}function bqt(t,e,n,i){var r,a,o,s,c,u;if(a=Kft(i),!Hv(AB(vEt(i,(HZt(),Ibe))))&&!Hv(AB(vEt(t,dbe)))||mD(zz(vEt(t,nwe),98)))switch(SJ(s=new ITt,t),e?((u=s.n).a=e.a-t.n.a,u.b=e.b-t.n.b,KTt(u,0,0,t.o.a,t.o.b),USt(s,Yjt(s,a))):(r=hgt(a),USt(s,n==(sit(),Hme)?r:Eft(r))),o=zz(vEt(i,(hWt(),Jhe)),21),c=s.j,a.g){case 2:case 1:(c==(kYt(),uIe)||c==TIe)&&o.Fc((gBt(),bhe));break;case 4:case 3:(c==(kYt(),cIe)||c==SIe)&&o.Fc((gBt(),bhe))}else r=hgt(a),s=Rjt(t,n,n==(sit(),Hme)?r:Eft(r));return s}function wqt(t,e,i){var r,a,o,s,c,u,l;return n.Math.abs(e.s-e.c)<dJt||n.Math.abs(i.s-i.c)<dJt?0:(r=KNt(t,e.j,i.e),a=KNt(t,i.j,e.e),o=0,-1==r||-1==a?(-1==r&&(new GJ((M6(),Ave),i,e,1),++o),-1==a&&(new GJ((M6(),Ave),e,i,1),++o)):(s=Eht(e.j,i.s,i.c),s+=Eht(i.e,e.s,e.c),c=Eht(i.j,e.s,e.c),(u=r+16*s)<(l=a+16*(c+=Eht(e.e,i.s,i.c)))?new GJ((M6(),Eve),e,i,l-u):u>l?new GJ((M6(),Eve),i,e,u-l):u>0&&l>0&&(new GJ((M6(),Eve),e,i,0),new GJ(Eve,i,e,0))),o)}function mqt(t,e){var i,r,a,o,s;for(s=new cut(new Cd(t.f.b).a);s.b;){if(a=zz((o=nnt(s)).cd(),594),1==e){if(a.gf()!=(zht(),qCe)&&a.gf()!=RCe)continue}else if(a.gf()!=(zht(),jCe)&&a.gf()!=$Ce)continue;switch(r=zz(zz(o.dd(),46).b,81),i=zz(zz(o.dd(),46).a,189).c,a.gf().g){case 2:r.g.c=t.e.a,r.g.b=n.Math.max(1,r.g.b+i);break;case 1:r.g.c=r.g.c+i,r.g.b=n.Math.max(1,r.g.b-i);break;case 4:r.g.d=t.e.b,r.g.a=n.Math.max(1,r.g.a+i);break;case 3:r.g.d=r.g.d+i,r.g.a=n.Math.max(1,r.g.a-i)}}}function yqt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(c=P8(DNe,hXt,25,e.b.c.length,15,1),l=P8(Ose,LKt,267,e.b.c.length,0,1),u=P8(Mse,s1t,10,e.b.c.length,0,1),d=0,g=(f=t.a).length;d<g;++d){for(b=0,s=new Wd((h=f[d]).e);s.a<s.c.c.length;)++c[r=eD((a=zz(t0(s),10)).c)],p=Uv(EB(vEt(e,(HZt(),vwe)))),c[r]>0&&u[r]&&(p=RO(t.b,u[r],a)),b=n.Math.max(b,a.c.c.b+p);for(o=new Wd(h.e);o.a<o.c.c.length;)(a=zz(t0(o),10)).n.b=b+a.d.d,(i=a.c).c.b=b+a.d.d+a.o.b+a.d.a,l[_9(i.b.b,i,0)]=a.k,u[_9(i.b.b,i,0)]=a}}function vqt(t,e){var n,i,r,a,o,s,c,u,h,f,d;for(i=new cG(JL(bLt(e).a.Kc(),new l));bDt(i);)aL(Ket((!(n=zz(Y5(i),79)).b&&(n.b=new lR(RMe,n,4,7)),n.b),0),186)||(c=SAt(zz(Ket((!n.c&&(n.c=new lR(RMe,n,5,8)),n.c),0),82)),eDt(n)||(o=e.i+e.g/2,s=e.j+e.f/2,h=c.i+c.g/2,f=c.j+c.f/2,(d=new Uk).a=h-o,d.b=f-s,Zxt(a=new PS(d.a,d.b),e.g,e.f),d.a-=a.a,d.b-=a.b,o=h-d.a,s=f-d.b,Zxt(u=new PS(d.a,d.b),c.g,c.f),d.a-=u.a,d.b-=u.b,h=o+d.a,f=s+d.b,Mnt(r=oBt(n,!0,!0),o),Ont(r,s),Ent(r,h),Dnt(r,f),vqt(t,c)))}function xqt(t){NE(t,new TAt(mk(gk(wk(bk(new bs,R4t),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new ns))),s2(t,R4t,j4t,vwt(xAe)),s2(t,R4t,$4t,vwt(mAe)),s2(t,R4t,z4t,vwt(wAe)),s2(t,R4t,q4t,vwt(pAe)),s2(t,R4t,H4t,vwt(bAe)),s2(t,R4t,VQt,gAe),s2(t,R4t,yJt,8),s2(t,R4t,U4t,vwt(vAe)),s2(t,R4t,G4t,vwt(lAe)),s2(t,R4t,Y4t,vwt(hAe)),s2(t,R4t,W2t,(lN(),!1))}function kqt(t,e){var i,r,a,o,s,c,u,l,h,f;for(DAt(e,"Simple node placement",1),f=zz(vEt(t,(hWt(),Dfe)),304),c=0,o=new Wd(t.b);o.a<o.c.c.length;){for((s=(r=zz(t0(o),29)).c).b=0,i=null,l=new Wd(r.a);l.a<l.c.c.length;)u=zz(t0(l),10),i&&(s.b+=Mpt(u,i,f.c)),s.b+=u.d.d+u.o.b+u.d.a,i=u;c=n.Math.max(c,s.b)}for(a=new Wd(t.b);a.a<a.c.c.length;)for(h=(c-(s=(r=zz(t0(a),29)).c).b)/2,i=null,l=new Wd(r.a);l.a<l.c.c.length;)u=zz(t0(l),10),i&&(h+=Mpt(u,i,f.c)),h+=u.d.d,u.n.b=h,h+=u.o.b+u.d.a,i=u;HTt(e)}function _qt(t,e,n,i){var r,a,o,s,c,u,l,h;if(0==i.gc())return!1;if(JE(),o=(c=zz(e,66).Oj())?i:new wet(i.gc()),LPt(t.e,e)){if(e.hi())for(l=i.Kc();l.Ob();)Z$t(t,e,u=l.Pb(),aL(e,99)&&0!=(zz(e,18).Bb&qXt))||(a=J3(e,u),o.Fc(a));else if(!c)for(l=i.Kc();l.Ob();)a=J3(e,u=l.Pb()),o.Fc(a)}else{for(h=sPt(t.e.Tg(),e),r=zz(t.g,119),s=0;s<t.i;++s)if(a=r[s],h.rl(a.ak()))throw qw(new jv(M9t));if(i.gc()>1)throw qw(new jv(M9t));c||(a=J3(e,i.Kc().Pb()),o.Fc(a))}return uct(t,ACt(t,e,n),o)}function Aqt(t,e){var n,i,r,a;for(Vet(e.b.j),QA(OK(new FH(null,new g1(e.d,16)),new aa),new oa),a=new Wd(e.d);a.a<a.c.c.length;){switch((r=zz(t0(a),101)).e.g){case 0:n=zz(PH(r.j,0),113).d.j,Uf(r,zz(ON(MG(zz(l6(r.k,n),15).Oc(),Xue)),113)),Hf(r,zz(ON(IG(zz(l6(r.k,n),15).Oc(),Xue)),113));break;case 1:i=Hvt(r),Uf(r,zz(ON(MG(zz(l6(r.k,i[0]),15).Oc(),Xue)),113)),Hf(r,zz(ON(IG(zz(l6(r.k,i[1]),15).Oc(),Xue)),113));break;case 2:XCt(t,r);break;case 3:jNt(r);break;case 4:GNt(t,r)}Xet(r)}t.a=null}function Eqt(t,e,n){var i,r,a,o,s,c,u,l;return i=t.a.o==(cJ(),ave)?RXt:jXt,!(s=o$t(t,new oS(e,n))).a&&s.c?(Bq(t.d,s),i):s.a?(r=s.a.c,c=s.a.d,n?(u=t.a.c==(bQ(),eve)?c:r,a=t.a.c==eve?r:c,o=t.a.g[a.i.p],l=Uv(t.a.p[o.p])+Uv(t.a.d[a.i.p])+a.n.b+a.a.b-Uv(t.a.d[u.i.p])-u.n.b-u.a.b):(u=t.a.c==(bQ(),tve)?c:r,a=t.a.c==tve?r:c,l=Uv(t.a.p[t.a.g[a.i.p].p])+Uv(t.a.d[a.i.p])+a.n.b+a.a.b-Uv(t.a.d[u.i.p])-u.n.b-u.a.b),t.a.n[t.a.g[r.i.p].p]=(lN(),!0),t.a.n[t.a.g[c.i.p].p]=!0,l):i}function Tqt(t,e,n){var i,r,a,o,s,c,u;if(LPt(t.e,e))JE(),OMt((s=zz(e,66).Oj()?new fH(e,t):new PI(e,t)).c,s.b),JO(s,zz(n,14));else{for(u=sPt(t.e.Tg(),e),i=zz(t.g,119),a=0;a<t.i;++a)if(r=i[a].ak(),u.rl(r)){if(r==(EMt(),fLe)||r==uLe){for(o=a,(c=Dmt(t,e,n))?fBt(t,a):++a;a<t.i;)(r=i[a].ak())==fLe||r==uLe?fBt(t,a):++a;c||zz(umt(t,o,J3(e,n)),72)}else Dmt(t,e,n)?fBt(t,a):zz(umt(t,a,(JE(),zz(e,66).Oj()?zz(n,72):J3(e,n))),72);return}Dmt(t,e,n)||h7(t,(JE(),zz(e,66).Oj()?zz(n,72):J3(e,n)))}}function Cqt(t,e,n){var i,r,a,o,s,c,u,l;return Pht(n,t.b)||(t.b=n,a=new Vt,o=zz(C4(OK(new FH(null,new g1(n.f,16)),a),P9(new X,new V,new rt,new at,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Zne),Yne]))),21),t.e=!0,t.f=!0,t.c=!0,t.d=!0,r=o.Hc((Hwt(),zre)),i=o.Hc(qre),r&&!i&&(t.f=!1),!r&&i&&(t.d=!1),r=o.Hc($re),i=o.Hc(Hre),r&&!i&&(t.c=!1),!r&&i&&(t.e=!1)),l=zz(t.a.Ce(e,n),46),c=zz(l.a,19).a,u=zz(l.b,19).a,s=!1,c<0?t.c||(s=!0):t.e||(s=!0),u<0?t.d||(s=!0):t.f||(s=!0),s?Cqt(t,l,n):l}function Sqt(t){var e,i,r,a;a=t.o,HB(),t.A.dc()||Pht(t.A,Ore)?e=a.b:(e=TIt(t.f),t.A.Hc((vpt(),FIe))&&!t.B.Hc((ejt(),ZIe))&&(e=n.Math.max(e,TIt(zz(cK(t.p,(kYt(),cIe)),244))),e=n.Math.max(e,TIt(zz(cK(t.p,SIe),244)))),(i=uot(t))&&(e=n.Math.max(e,i.b)),t.A.Hc(RIe)&&(t.q!=(V_t(),WSe)&&t.q!=ZSe||(e=n.Math.max(e,Zq(zz(cK(t.b,(kYt(),cIe)),124))),e=n.Math.max(e,Zq(zz(cK(t.b,SIe),124)))))),Hv(AB(t.e.yf().We((lWt(),$Te))))?a.b=n.Math.max(a.b,e):a.b=e,(r=t.f.i).d=0,r.a=e,G$t(t.f)}function Iqt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(l=0;l<e.length;l++){for(o=t.Kc();o.Ob();)zz(o.Pb(),225).Of(l,e);for(h=0;h<e[l].length;h++){for(s=t.Kc();s.Ob();)zz(s.Pb(),225).Pf(l,h,e);for(d=e[l][h].j,f=0;f<d.c.length;f++){for(c=t.Kc();c.Ob();)zz(c.Pb(),225).Qf(l,h,f,e);for(f1(f,d.c.length),n=0,r=new y6(zz(d.c[f],11).b);vO(r.a)||vO(r.b);)for(i=zz(vO(r.a)?t0(r.a):t0(r.b),17),u=t.Kc();u.Ob();)zz(u.Pb(),225).Nf(l,h,f,n++,i,e)}}}for(a=t.Kc();a.Ob();)zz(a.Pb(),225).Mf()}function Mqt(t,e){var n,i,r,a,o;for(t.b=Uv(EB(vEt(e,(HZt(),xwe)))),t.c=Uv(EB(vEt(e,Awe))),t.d=zz(vEt(e,rbe),336),t.a=zz(vEt(e,Cpe),275),fyt(e),r=(a=zz(C4(DK(DK(gtt(gtt(new FH(null,new g1(e.b,16)),new vn),new xn),new kn),new _n),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15)).Kc();r.Ob();)n=zz(r.Pb(),17),zz(vEt(n,(hWt(),Nfe)),15).Jc(new np(t)),hct(n,Nfe,null);for(i=a.Kc();i.Ob();)n=zz(i.Pb(),17),o=zz(vEt(n,(hWt(),Pfe)),17),zZt(t,zz(vEt(n,Ofe),15),o),hct(n,Ofe,null)}function Dqt(t){t.b=null,t.a=null,t.o=null,t.q=null,t.v=null,t.w=null,t.B=null,t.p=null,t.Q=null,t.R=null,t.S=null,t.T=null,t.U=null,t.V=null,t.W=null,t.bb=null,t.eb=null,t.ab=null,t.H=null,t.db=null,t.c=null,t.d=null,t.f=null,t.n=null,t.r=null,t.s=null,t.u=null,t.G=null,t.J=null,t.e=null,t.j=null,t.i=null,t.g=null,t.k=null,t.t=null,t.F=null,t.I=null,t.L=null,t.M=null,t.O=null,t.P=null,t.$=null,t.N=null,t.Z=null,t.cb=null,t.K=null,t.D=null,t.A=null,t.C=null,t._=null,t.fb=null,t.X=null,t.Y=null,t.gb=!1,t.hb=!1}function Oqt(t){var e,n,i,r,a;if(t.k!=(cTt(),Sse))return!1;if(t.j.c.length<=1)return!1;if(zz(vEt(t,(HZt(),nwe)),98)==(V_t(),ZSe))return!1;if(gmt(),(i=(t.q?t.q:(TX(),TX(),hne))._b(Fbe)?zz(vEt(t,Fbe),197):zz(vEt(mW(t),Rbe),197))==fme)return!1;if(i!=hme&&i!=lme){if(r=Uv(EB(ipt(t,Nwe))),!(e=zz(vEt(t,Lwe),142))&&(e=new qF(r,r,r,r)),a=sdt(t,(kYt(),SIe)),e.d+e.a+(a.gc()-1)*r>t.o.b)return!1;if(n=sdt(t,cIe),e.d+e.a+(n.gc()-1)*r>t.o.b)return!1}return!0}function Lqt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(o=t.e,c=e.e,0==o)return e;if(0==c)return t;if((a=t.d)+(s=e.d)==2)return n=n0(t.a[0],ZXt),i=n0(e.a[0],ZXt),o==c?(g=pU(l=adt(n,i)),0==(d=pU(kG(l,32)))?new Z6(o,g):new fY(o,2,Sst(Ux(DNe,1),hXt,25,15,[g,d]))):ewt(o<0?rdt(i,n):rdt(n,i));if(o==c)f=o,h=a>=s?N8(t.a,a,e.a,s):N8(e.a,s,t.a,a);else{if(0==(r=a!=s?a>s?1:-1:Tut(t.a,e.a,a)))return DBt(),ine;1==r?(f=o,h=p6(t.a,a,e.a,s)):(f=c,h=p6(e.a,s,t.a,a))}return Z0(u=new fY(f,h.length,h)),u}function Nqt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g;return f=Hv(AB(vEt(e,(HZt(),Mbe)))),d=null,o==(sit(),qme)&&r.c.i==i?d=r.c:o==Hme&&r.d.i==i&&(d=r.d),(l=s)&&f&&!d?(Wz(l.e,r),g=n.Math.max(Uv(EB(vEt(l.d,obe))),Uv(EB(vEt(r,obe)))),hct(l.d,obe,g)):(kYt(),h=CIe,d?h=d.j:mD(zz(vEt(i,nwe),98))&&(h=o==qme?SIe:cIe),u=Bqt(t,e,i,o,h,r),c=W5((mW(i),r)),o==qme?(TJ(c,zz(PH(u.j,0),11)),EJ(c,a)):(TJ(c,a),EJ(c,zz(PH(u.j,0),11))),l=new Yht(r,c,u,zz(vEt(u,(hWt(),pfe)),11),o,!d)),JIt(t.a,r,new Lj(l.d,e,o)),l}function Pqt(t,e){var n,i,r,a,o,s,c,u,l,h;if(l=null,t.d&&(l=zz(TQ(t.d,e),138)),!l){if(h=(a=t.a.Mh()).i,!t.d||NA(t.d)!=h){for(c=new Pw,t.d&&Eat(c,t.d),s=u=c.f.c+c.g.c;s<h;++s)i=zz(Ket(a,s),138),(n=zz(null==(r=Iht(t.e,i).ne())?_St(c.f,null,i):cdt(c.g,r,i),138))&&n!=i&&(null==r?_St(c.f,null,n):cdt(c.g,r,n));if(c.f.c+c.g.c!=h)for(o=0;o<u;++o)i=zz(Ket(a,o),138),(n=zz(null==(r=Iht(t.e,i).ne())?_St(c.f,null,i):cdt(c.g,r,i),138))&&n!=i&&(null==r?_St(c.f,null,n):cdt(c.g,r,n));t.d=c}l=zz(TQ(t.d,e),138)}return l}function Bqt(t,e,n,i,r,a){var o,s,c,u,l,h;return o=null,u=i==(sit(),qme)?a.c:a.d,c=Kft(e),u.i==n?(o=zz(FZ(t.b,u),10))||(hct(o=gZt(u,zz(vEt(n,(HZt(),nwe)),98),r,HRt(u),null,u.n,u.o,c,e),(hWt(),pfe),u),KW(t.b,u,o)):(s=O_t(o=gZt((l=new Qt,h=Uv(EB(vEt(e,(HZt(),vwe))))/2,lct(l,ewe,h),l),zz(vEt(n,nwe),98),r,i==qme?-1:1,null,new Uk,new PS(0,0),c,e),n,i),hct(o,(hWt(),pfe),s),KW(t.b,s,o)),zz(vEt(e,(hWt(),Jhe)),21).Fc((gBt(),fhe)),mD(zz(vEt(e,(HZt(),nwe)),98))?hct(e,nwe,(V_t(),KSe)):hct(e,nwe,(V_t(),XSe)),o}function Fqt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p;DAt(e,"Orthogonal edge routing",1),u=Uv(EB(vEt(t,(HZt(),Dwe)))),n=Uv(EB(vEt(t,xwe))),i=Uv(EB(vEt(t,Awe))),f=new hZ(0,n),p=0,o=new E2(t.b,0),s=null,l=null,c=null,h=null;do{h=(l=o.b<o.d.gc()?(CP(o.b<o.d.gc()),zz(o.d.Xb(o.c=o.b++),29)):null)?l.a:null,s&&(EHt(s,p),p+=s.c.a),g=OUt(f,t,c,h,s?p+i:p),r=!s||KI(c,(bPt(),kve)),a=!l||KI(h,(bPt(),kve)),g>0?(d=(g-1)*n,s&&(d+=i),l&&(d+=i),d<u&&!r&&!a&&(d=u),p+=d):!r&&!a&&(p+=u),s=l,c=h}while(l);t.f.a=p,HTt(e)}function Rqt(){var t;Rqt=M,_De=new Ty,xDe=P8(Vee,lKt,2,0,6,1),TDe=i0(qst(33,58),qst(1,26)),CDe=i0(qst(97,122),qst(65,90)),SDe=qst(48,57),ADe=i0(TDe,0),EDe=i0(CDe,SDe),IDe=i0(i0(0,qst(1,6)),qst(33,38)),MDe=i0(i0(SDe,qst(65,70)),qst(97,102)),PDe=i0(ADe,bwt("-_.!~*'()")),BDe=i0(EDe,Wgt("-_.!~*'()")),bwt(c7t),Wgt(c7t),i0(PDe,bwt(";:@&=+$,")),i0(BDe,Wgt(";:@&=+$,")),DDe=bwt(":/?#"),ODe=Wgt(":/?#"),LDe=bwt("/?#"),NDe=Wgt("/?#"),(t=new Fm).a.zc("jar",t),t.a.zc("zip",t),t.a.zc("archive",t),TX(),kDe=new Dx(t)}function jqt(t,e){var n,i,r,a,o;if(hct(e,(UHt(),cxe),0),r=zz(vEt(e,oxe),86),0==e.d.b)r?(o=Uv(EB(vEt(r,hxe)))+t.a+_5(r,e),hct(e,hxe,o)):hct(e,hxe,0);else{for(n=new gb(lwt(new db(e).a.d,0));__(n.a);)jqt(t,zz(d3(n.a),188).c);i=zz(iL(new gb(lwt(new db(e).a.d,0))),86),a=(Uv(EB(vEt(zz(AN(new gb(lwt(new db(e).a.d,0))),86),hxe)))+Uv(EB(vEt(i,hxe))))/2,r?(o=Uv(EB(vEt(r,hxe)))+t.a+_5(r,e),hct(e,hxe,o),hct(e,cxe,Uv(EB(vEt(e,hxe)))-a),MUt(t,e)):hct(e,hxe,a)}}function $qt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;s=0,d=0,c=AQ(t.f,t.f.length),a=t.d,o=t.i,i=t.a,r=t.b;do{for(f=0,u=new Wd(t.p);u.a<u.c.c.length;)h=DUt(t,zz(t0(u),10)),n=!0,(t.q==(lNt(),Ame)||t.q==Cme)&&(n=Hv(AB(h.b))),zz(h.a,19).a<0&&n?(++f,c=AQ(t.f,t.f.length),t.d=t.d+zz(h.a,19).a,d+=a-t.d,a=t.d+zz(h.a,19).a,o=t.i,i=o0(t.a),r=o0(t.b)):(t.f=AQ(c,c.length),t.d=a,t.a=(vZ(i),i?new ej(i):qz(new Wd(i))),t.b=(vZ(r),r?new ej(r):qz(new Wd(r))),t.i=o);++s,l=0!=f&&Hv(AB(e.Kb(new rI(rft(d),rft(s)))))}while(l)}function zqt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;return o=t.f,f=e.f,s=o==(QLt(),P_e)||o==F_e,c=o==B_e||o==R_e,d=f==B_e||f==R_e,u=o==B_e||o==P_e,g=f==B_e||f==P_e,!s||f!=P_e&&f!=F_e?c&&d?t.f==R_e?t:e:u&&g?(o==B_e?(h=t,l=e):(h=e,l=t),p=i.j+i.f,b=h.e+r.f,w=n.Math.max(p,b)-n.Math.min(i.j,h.e),a=(h.d+r.g-i.i)*w,m=i.i+i.g,y=l.d+r.g,a<=(n.Math.max(m,y)-n.Math.min(i.i,l.d))*(l.e+r.f-i.j)?t.f==B_e?t:e:t.f==P_e?t:e):t:t.f==F_e?t:e}function qqt(t){var e,n,i,r,a,o,s,c,u,l;for(u=t.e.a.c.length,a=new Wd(t.e.a);a.a<a.c.c.length;)zz(t0(a),121).j=!1;for(t.i=P8(DNe,hXt,25,u,15,1),t.g=P8(DNe,hXt,25,u,15,1),t.n=new Nw,r=0,l=new Nw,s=new Wd(t.e.a);s.a<s.c.c.length;)(o=zz(t0(s),121)).d=r++,0==o.b.a.c.length&&Wz(t.n,o),wst(l,o.g);for(e=0,i=new Wd(l);i.a<i.c.c.length;)(n=zz(t0(i),213)).c=e++,n.f=!1;c=l.c.length,null==t.b||t.b.length<c?(t.b=P8(PNe,UXt,25,c,15,1),t.c=P8(ONe,tQt,25,c,16,1)):tx(t.c),t.d=l,t.p=new LN(net(t.d.c.length)),t.j=1}function Hqt(t,e){var n,i,r,a,o,s,c,u,l;if(!(e.e.c.length<=1)){for(t.f=e,t.d=zz(vEt(t.f,(axt(),moe)),379),t.g=zz(vEt(t.f,koe),19).a,t.e=Uv(EB(vEt(t.f,yoe))),t.c=Uv(EB(vEt(t.f,woe))),aZ(t.b),r=new Wd(t.f.c);r.a<r.c.c.length;)i=zz(t0(r),282),xRt(t.b,i.c,i,null),xRt(t.b,i.d,i,null);for(s=t.f.e.c.length,t.a=xH(PNe,[lKt,UXt],[104,25],15,[s,s],2),u=new Wd(t.f.e);u.a<u.c.c.length;)Izt(t,c=zz(t0(u),144),t.a[c.b]);for(t.i=xH(PNe,[lKt,UXt],[104,25],15,[s,s],2),a=0;a<s;++a)for(o=0;o<s;++o)l=1/((n=t.a[a][o])*n),t.i[a][o]=l}}function Uqt(t){var e,n,i,r;if(!(null==t.b||t.b.length<=2||t.a)){for(e=0,r=0;r<t.b.length;){for(e!=r?(t.b[e]=t.b[r++],t.b[e+1]=t.b[r++]):r+=2,n=t.b[e+1];r<t.b.length&&!(n+1<t.b[r]);)if(n+1==t.b[r])t.b[e+1]=t.b[r+1],n=t.b[e+1],r+=2;else if(n>=t.b[r+1])r+=2;else{if(!(n<t.b[r+1]))throw qw(new pv("Token#compactRanges(): Internel Error: ["+t.b[e]+","+t.b[e+1]+"] ["+t.b[r]+","+t.b[r+1]+"]"));t.b[e+1]=t.b[r+1],n=t.b[e+1],r+=2}e+=2}e!=t.b.length&&(i=P8(DNe,hXt,25,e,15,1),sqt(t.b,0,i,0,e),t.b=i),t.a=!0}}function Gqt(t,e){var n,i,r,a,o,s,c;for(o=bG(t.a).Kc();o.Ob();){if((a=zz(o.Pb(),17)).b.c.length>0)for(i=new ej(zz(l6(t.a,a),21)),TX(),yO(i,new jg(e)),r=new E2(a.b,0);r.b<r.d.gc();){switch(CP(r.b<r.d.gc()),n=zz(r.d.Xb(r.c=r.b++),70),s=-1,zz(vEt(n,(HZt(),Vpe)),272).g){case 1:s=i.c.length-1;break;case 0:s=Jkt(i);break;case 2:s=0}-1!=s&&(f1(s,i.c.length),Wz((c=zz(i.c[s],243)).b.b,n),zz(vEt(mW(c.b.c.i),(hWt(),Jhe)),21).Fc((gBt(),hhe)),zz(vEt(mW(c.b.c.i),Jhe),21).Fc(uhe),hW(r),hct(n,mfe,a))}TJ(a,null),EJ(a,null)}}function Yqt(t,e){var n,i,r,a;return n=new Rt,1==(r=2==(r=(i=zz(C4(OK(new FH(null,new g1(t.f,16)),n),P9(new X,new V,new rt,new at,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Zne),Yne]))),21)).gc())?1:0)&&XI(dpt(zz(C4(DK(i.Lc(),new jt),Kat(_bt(0),new nt)),162).a,2),0)&&(r=0),1==(a=2==(a=(i=zz(C4(OK(new FH(null,new g1(e.f,16)),n),P9(new X,new V,new rt,new at,Sst(Ux(tie,1),LKt,132,0,[Zne,Yne]))),21)).gc())?1:0)&&XI(dpt(zz(C4(DK(i.Lc(),new $t),Kat(_bt(0),new nt)),162).a,2),0)&&(a=0),r<a?-1:r==a?0:1}function Zqt(t){var e,n,i,r,a,o,s,c,u,l,h;if(c=new Nw,!LP(t,(hWt(),Whe)))return c;for(i=zz(vEt(t,Whe),15).Kc();i.Ob();)bHt(e=zz(i.Pb(),10),t),c.c[c.c.length]=e;for(r=new Wd(t.b);r.a<r.c.c.length;)for(o=new Wd(zz(t0(r),29).a);o.a<o.c.c.length;)(a=zz(t0(o),10)).k==(cTt(),Ese)&&(s=zz(vEt(a,Khe),10))&&(SJ(u=new ITt,a),USt(u,zz(vEt(a,Xhe),61)),l=zz(PH(s.j,0),11),TJ(h=new gV,u),EJ(h,l));for(n=new Wd(c);n.a<n.c.c.length;)CJ(e=zz(t0(n),10),zz(PH(t.b,t.b.c.length-1),29));return c}function Wqt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(a=Hv(AB(tOt(e=WQ(t),(HZt(),gbe)))),l=0,r=0,u=new DL((!t.e&&(t.e=new lR(jMe,t,7,4)),t.e));u.e!=u.i.gc();)o=(s=VIt(c=zz(kwt(u),79)))&&a&&Hv(AB(tOt(c,pbe))),f=SAt(zz(Ket((!c.c&&(c.c=new lR(RMe,c,5,8)),c.c),0),82)),s&&o?++r:s&&!o?++l:QQ(f)==e||f==e?++r:++l;for(i=new DL((!t.d&&(t.d=new lR(jMe,t,8,5)),t.d));i.e!=i.i.gc();)o=(s=VIt(n=zz(kwt(i),79)))&&a&&Hv(AB(tOt(n,pbe))),h=SAt(zz(Ket((!n.b&&(n.b=new lR(RMe,n,4,7)),n.b),0),82)),s&&o?++l:s&&!o?++r:QQ(h)==e||h==e?++l:++r;return l-r}function Kqt(t,e){var n,i,r,a,o,s,c,u,l;if(DAt(e,"Edge splitting",1),t.b.c.length<=2)HTt(e);else{for(CP((a=new E2(t.b,0)).b<a.d.gc()),o=zz(a.d.Xb(a.c=a.b++),29);a.b<a.d.gc();)for(r=o,CP(a.b<a.d.gc()),o=zz(a.d.Xb(a.c=a.b++),29),s=new Wd(r.a);s.a<s.c.c.length;)for(c=new Wd(zz(t0(s),10).j);c.a<c.c.c.length;)for(i=new Wd(zz(t0(c),11).g);i.a<i.c.c.length;)(u=(n=zz(t0(i),17)).d.i.c)!=r&&u!=o&&YPt(n,(zf(l=new Lmt(t),(cTt(),Cse)),hct(l,(hWt(),pfe),n),hct(l,(HZt(),nwe),(V_t(),ZSe)),CJ(l,o),l));HTt(e)}}function Xqt(t,e){var n,i,r,a,o,s,c,u,l;if((o=null!=e.p&&!e.b)||DAt(e,sJt,1),a=1/(n=zz(vEt(t,(hWt(),Efe)),15)).gc(),e.n)for(Mq(e,"ELK Layered uses the following "+n.gc()+" modules:"),l=0,u=n.Kc();u.Ob();)Mq(e," Slot "+(l<10?"0":"")+l+++": "+t_(nut(zz(u.Pb(),51))));for(c=n.Kc();c.Ob();)zz(c.Pb(),51).pf(t,vat(e,a));for(r=new Wd(t.b);r.a<r.c.c.length;)i=zz(t0(r),29),wst(t.a,i.a),i.a.c=P8(Ote,HWt,1,0,5,1);for(s=new Wd(t.a);s.a<s.c.c.length;)CJ(zz(t0(s),10),null);t.b.c=P8(Ote,HWt,1,0,5,1),o||HTt(e)}function Vqt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_;r=Uv(EB(vEt(e,(HZt(),Bbe)))),f=4,a=3,k=20/(x=zz(vEt(e,Pwe),19).a),d=!1,u=0,s=FWt;do{for(o=1!=u,h=0!=u,_=0,m=0,v=(b=t.a).length;m<v;++m)(g=b[m]).f=null,qGt(t,g,o,h,r),_+=n.Math.abs(g.a);do{c=Zjt(t,e)}while(c);for(w=0,y=(p=t.a).length;w<y;++w)if(0!=(i=gY(g=p[w]).a))for(l=new Wd(g.e);l.a<l.c.c.length;)zz(t0(l),10).n.b+=i;0==u||1==u?--f<=0&&(_<s||-f>x)?(u=2,s=FWt):0==u?(u=1,s=_):(u=0,s=_):(d=_>=s||s-_<k,s=_,d&&--a)}while(!(d&&a<=0))}function Qqt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(g=new Pw,a=t.a.ec().Kc();a.Ob();)KW(g,i=zz(a.Pb(),168),n.Je(i));for(vZ(t),yO(o=t?new ej(t):qz(t.a.ec().Kc()),new _g(g)),s=T4(o),c=new SO(e),_St((d=new Pw).f,e,c);0!=s.a.gc();){for(u=null,l=null,h=null,r=s.a.ec().Kc();r.Ob();)if(i=zz(r.Pb(),168),Uv(EB(HI(DV(g.f,i))))<=RXt){if(lY(d,i.a)&&!lY(d,i.b)){l=i.b,h=i.a,u=i;break}if(lY(d,i.b)&&!lY(d,i.a)){l=i.a,h=i.b,u=i;break}}if(!u)break;f=new SO(l),Wz(zz(HI(DV(d.f,h)),221).a,f),_St(d.f,l,f),s.a.Bc(u)}return c}function Jqt(t,e,n){var i,r,a,o,s,c,u,l;for(DAt(n,"Depth-first cycle removal",1),c=(u=e.a).c.length,t.c=new Nw,t.d=P8(ONe,tQt,25,c,16,1),t.a=P8(ONe,tQt,25,c,16,1),t.b=new Nw,a=0,s=new Wd(u);s.a<s.c.c.length;)(o=zz(t0(s),10)).p=a,l3(fdt(o))&&Wz(t.c,o),++a;for(l=new Wd(t.c);l.a<l.c.c.length;)GCt(t,zz(t0(l),10));for(r=0;r<c;r++)t.d[r]||(f1(r,u.c.length),GCt(t,zz(u.c[r],10)));for(i=new Wd(t.b);i.a<i.c.c.length;)nzt(zz(t0(i),17),!0),hct(e,(hWt(),Hhe),(lN(),!0));t.c=null,t.d=null,t.a=null,t.b=null,HTt(n)}function tHt(t,e){var n,i,r,a,o,s,c;for(t.a.c=P8(Ote,HWt,1,0,5,1),i=lwt(e.b,0);i.b!=i.d.c;)0==(n=zz(d3(i),86)).b.b&&(hct(n,(UHt(),pxe),(lN(),!0)),Wz(t.a,n));switch(t.a.c.length){case 0:hct(r=new out(0,e,"DUMMY_ROOT"),(UHt(),pxe),(lN(),!0)),hct(r,nxe,!0),Bq(e.b,r);break;case 1:break;default:for(a=new out(0,e,"SUPER_ROOT"),s=new Wd(t.a);s.a<s.c.c.length;)hct(c=new YX(a,o=zz(t0(s),86)),(UHt(),nxe),(lN(),!0)),Bq(a.a.a,c),Bq(a.d,c),Bq(o.b,c),hct(o,pxe,!1);hct(a,(UHt(),pxe),(lN(),!0)),hct(a,nxe,!0),Bq(e.b,a)}}function eHt(t,e){var i,r,a,o,s,c;return _Bt(),o=e.c-(t.c+t.b),a=t.c-(e.c+e.b),s=t.d-(e.d+e.a),i=e.d-(t.d+t.a),r=n.Math.max(a,o),c=n.Math.max(s,i),lO(),ait(O3t),(n.Math.abs(r)<=O3t||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:GM(isNaN(r),isNaN(0)))>=0^(ait(O3t),(n.Math.abs(c)<=O3t||0==c||isNaN(c)&&isNaN(0)?0:c<0?-1:c>0?1:GM(isNaN(c),isNaN(0)))>=0)?n.Math.max(c,r):(ait(O3t),(n.Math.abs(r)<=O3t||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:GM(isNaN(r),isNaN(0)))>0?n.Math.sqrt(c*c+r*r):-n.Math.sqrt(c*c+r*r))}function nHt(t,e){var n,i,r,a,o;if(e)if(!t.a&&(t.a=new jm),2!=t.e)if(1!=e.e)0!=(o=t.a.a.c.length)?0!=(a=zz(dW(t.a,o-1),117)).e&&10!=a.e||0!=e.e&&10!=e.e?Sm(t.a,e):(0==e.e||e.bm().length,0==a.e?(n=new Cx,(i=a._l())>=qXt?aM(n,Wft(i)):NZ(n,i&VKt),a=new mQ(10,null,0),xY(t.a,a,o-1)):(a.bm().length,aM(n=new Cx,a.bm())),0==e.e?(i=e._l())>=qXt?aM(n,Wft(i)):NZ(n,i&VKt):aM(n,e.bm()),zz(a,521).b=n.a):Sm(t.a,e);else for(r=0;r<e.em();r++)nHt(t,e.am(r));else Sm(t.a,e)}function iHt(t){var e,n,i,r,a;return null!=t.g?t.g:t.a<32?(t.g=FYt(fot(t.f),SQ(t.e)),t.g):(r=UZt((!t.c&&(t.c=xlt(t.f)),t.c),0),0==t.e?r:(e=(!t.c&&(t.c=xlt(t.f)),t.c).e<0?2:1,n=r.length,i=-t.e+n-e,(a=new Sx).a+=""+r,t.e>0&&i>=-6?i>=0?xJ(a,n-SQ(t.e),String.fromCharCode(46)):(a.a=hP(a.a,0,e-1)+"0."+tM(a.a,e-1),xJ(a,e+1,qpt(Uee,0,-SQ(i)-1))):(n-e>=1&&(xJ(a,e,String.fromCharCode(46)),++n),xJ(a,n,String.fromCharCode(69)),i>0&&xJ(a,++n,String.fromCharCode(43)),xJ(a,++n,""+mG(fot(i)))),t.g=a.a,t.g))}function rHt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(!n.dc()){for(o=0,l=0,f=zz((i=n.Kc()).Pb(),19).a;o<e.f;){if(o==f&&(l=0,f=i.Ob()?zz(i.Pb(),19).a:e.f+1),o!=l)for(d=zz(PH(t.b,o),29),h=zz(PH(t.b,l),29),u=new Wd(o0(d.a));u.a<u.c.c.length;)if(Vvt(c=zz(t0(u),10),h.a.c.length,h),0==l)for(a=new Wd(o0(fdt(c)));a.a<a.c.c.length;)nzt(r=zz(t0(a),17),!0),hct(t,(hWt(),Hhe),(lN(),!0)),rUt(t,r,1);++l,++o}for(s=new E2(t.b,0);s.b<s.d.gc();)CP(s.b<s.d.gc()),0==zz(s.d.Xb(s.c=s.b++),29).a.c.length&&hW(s)}}function aHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;for(l=(o=e.b).o,c=o.d,i=Uv(EB(wwt(o,(HZt(),vwe)))),r=Uv(EB(wwt(o,kwe))),u=Uv(EB(wwt(o,Owe))),rq(s=new hy,c.d,c.c,c.a,c.b),f=TFt(e,i,r,u),w=new Wd(e.d);w.a<w.c.c.length;){for(g=(b=zz(t0(w),101)).f.a.ec().Kc();g.Ob();)a=(d=zz(g.Pb(),409)).a,h=AAt(d),m=new xy,gAt(d,d.c,f,m),zEt(d,h,f,m),gAt(d,d.d,f,m),n=m,n=t.Uf(d,h,n),vX(a.a),zrt(a.a,n),QA(new FH(null,new g1(n,16)),new gC(l,s));(p=b.i)&&(sAt(b,p,f,r),mbt(l,s,y=new gD(p.g)),YF(y,p.j),mbt(l,s,y))}rq(c,s.d,s.c,s.a,s.b)}function oHt(t,e,n){var i,r,a;if((r=zz(vEt(e,(HZt(),Cpe)),275))!=(JEt(),ahe)){switch(DAt(n,"Horizontal Compaction",1),t.a=e,Kx(i=new xMt(((a=new I9).d=e,a.c=zz(vEt(a.d,Jpe),218),ZBt(a),CUt(a),lFt(a),a.a)),t.b),1===zz(vEt(e,Tpe),422).g?Wx(i,new wrt(t.a)):Wx(i,(SX(),hie)),r.g){case 1:IOt(i);break;case 2:IOt(EGt(i,(zht(),$Ce)));break;case 3:IOt(Yx(EGt(IOt(i),(zht(),$Ce)),new br));break;case 4:IOt(Yx(EGt(IOt(i),(zht(),$Ce)),new xp(a)));break;case 5:IOt(Zx(i,gue))}EGt(i,(zht(),jCe)),i.e=!0,NGt(a),HTt(n)}}function sHt(t,e,n,i,r,a,o,s){var c,u,l,h;switch(c=s6(Sst(Ux($_e,1),HWt,220,0,[e,n,i,r])),h=null,t.b.g){case 1:h=s6(Sst(Ux(e_e,1),HWt,526,0,[new Jo,new Vo,new Qo]));break;case 0:h=s6(Sst(Ux(e_e,1),HWt,526,0,[new Qo,new Vo,new Jo]));break;case 2:h=s6(Sst(Ux(e_e,1),HWt,526,0,[new Vo,new Jo,new Qo]))}for(l=new Wd(h);l.a<l.c.c.length;)u=zz(t0(l),526),c.c.length>1&&(c=u.mg(c,t.a,s));return 1==c.c.length?zz(PH(c,c.c.length-1),220):2==c.c.length?zqt((f1(0,c.c.length),zz(c.c[0],220)),(f1(1,c.c.length),zz(c.c[1],220)),o,a):null}function cHt(t){var e,i,r,a,o,s;for(Det(t.a,new Jt),i=new Wd(t.a);i.a<i.c.c.length;)e=zz(t0(i),221),r=ZF(zO(zz(t.b,65).c),zz(e.b,65).c),nae?(s=zz(t.b,65).b,o=zz(e.b,65).b,n.Math.abs(r.a)>=n.Math.abs(r.b)?(r.b=0,o.d+o.a>s.d&&o.d<s.d+s.a&&Nq(r,n.Math.max(s.c-(o.c+o.b),o.c-(s.c+s.b)))):(r.a=0,o.c+o.b>s.c&&o.c<s.c+s.b&&Nq(r,n.Math.max(s.d-(o.d+o.a),o.d-(s.d+s.a))))):Nq(r,E$t(zz(t.b,65),zz(e.b,65))),a=n.Math.sqrt(r.a*r.a+r.b*r.b),Nq(r,a=H_t(Wre,e,a,r)),LU(zz(e.b,65),r),Det(e.a,new Dg(r)),zz(Wre.b,65),R8(Wre,Kre,e)}function uHt(t){var e,i,r,a,o,s,c,u,h,f,d,g;for(t.f=new $m,c=0,r=0,a=new Wd(t.e.b);a.a<a.c.c.length;)for(s=new Wd(zz(t0(a),29).a);s.a<s.c.c.length;){for((o=zz(t0(s),10)).p=c++,i=new cG(JL(ddt(o).a.Kc(),new l));bDt(i);)zz(Y5(i),17).p=r++;for(e=Oqt(o),f=new Wd(o.j);f.a<f.c.c.length;)h=zz(t0(f),11),e&&(g=h.a.b)!=n.Math.floor(g)&&(u=g-k2(fot(n.Math.round(g))),h.a.b-=u),(d=h.n.b+h.a.b)!=n.Math.floor(d)&&(u=d-k2(fot(n.Math.round(d))),h.n.b-=u)}t.g=c,t.b=r,t.i=P8(nve,HWt,401,c,0,1),t.c=P8(Qye,HWt,649,r,0,1),t.d.a.$b()}function lHt(t){var e,n,i,r,a,o,s,c,u;if(t.ej())if(c=t.fj(),t.i>0){if(e=new BI(t.i,t.g),a=(n=t.i)<100?null:new $k(n),t.ij())for(i=0;i<t.i;++i)o=t.g[i],a=t.kj(o,a);if(o6(t),r=1==n?t.Zi(4,Ket(e,0),null,0,c):t.Zi(6,e,null,-1,c),t.bj()){for(i=new oP(e);i.e!=i.i.gc();)a=t.dj(_wt(i),a);a?(a.Ei(r),a.Fi()):t.$i(r)}else a?(a.Ei(r),a.Fi()):t.$i(r)}else o6(t),t.$i(t.Zi(6,(TX(),lne),null,-1,c));else if(t.bj())if(t.i>0){for(s=t.g,u=t.i,o6(t),a=u<100?null:new $k(u),i=0;i<u;++i)o=s[i],a=t.dj(o,a);a&&a.Fi()}else o6(t);else o6(t)}function hHt(t,e,i){var r,a,o,s,c,u,l,h,f;for($ot(this),i==(pQ(),Lve)?AY(this.r,t):AY(this.w,t),h=RXt,l=jXt,s=e.a.ec().Kc();s.Ob();)a=zz(s.Pb(),46),c=zz(a.a,455),(u=(r=zz(a.b,17)).c)==t&&(u=r.d),AY(c==Lve?this.r:this.w,u),f=(kYt(),vIe).Hc(u.j)?Uv(EB(vEt(u,(hWt(),Lfe)))):Oct(Sst(Ux(CEe,1),lKt,8,0,[u.i.n,u.n,u.a])).b,h=n.Math.min(h,f),l=n.Math.max(l,f);for(WEt(this,(kYt(),vIe).Hc(t.j)?Uv(EB(vEt(t,(hWt(),Lfe)))):Oct(Sst(Ux(CEe,1),lKt,8,0,[t.i.n,t.n,t.a])).b,h,l),o=e.a.ec().Kc();o.Ob();)a=zz(o.Pb(),46),nCt(this,zz(a.b,17));this.o=!1}function fHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;return n=8191&t.l,i=t.l>>13|(15&t.m)<<9,r=t.m>>4&8191,a=t.m>>17|(255&t.h)<<5,o=(1048320&t.h)>>8,b=i*(s=8191&e.l),w=r*s,m=a*s,y=o*s,0!=(c=e.l>>13|(15&e.m)<<9)&&(b+=n*c,w+=i*c,m+=r*c,y+=a*c),0!=(u=e.m>>4&8191)&&(w+=n*u,m+=i*u,y+=r*u),0!=(l=e.m>>17|(255&e.h)<<5)&&(m+=n*l,y+=i*l),0!=(h=(1048320&e.h)>>8)&&(y+=n*h),d=((p=n*s)>>22)+(b>>9)+((262143&w)<<4)+((31&m)<<17),g=(w>>18)+(m>>5)+((4095&y)<<8),g+=(d+=(f=(p&CXt)+((511&b)<<13))>>22)>>22,EO(f&=CXt,d&=CXt,g&=SXt)}function dHt(t){var e,i,r,a,o,s,c;if(0!=(c=zz(PH(t.j,0),11)).g.c.length&&0!=c.e.c.length)throw qw(new $v("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(0!=c.g.c.length){for(o=RXt,i=new Wd(c.g);i.a<i.c.c.length;)e=zz(t0(i),17),r=zz(vEt(s=e.d.i,(HZt(),Sbe)),142),o=n.Math.min(o,s.n.a-r.b);return new qh(vZ(o))}if(0!=c.e.c.length){for(a=jXt,i=new Wd(c.e);i.a<i.c.c.length;)e=zz(t0(i),17),r=zz(vEt(s=e.c.i,(HZt(),Sbe)),142),a=n.Math.max(a,s.n.a+s.o.a+r.c);return new qh(vZ(a))}return iv(),iv(),Dte}function gHt(t,e){var n,i,r,a,o,s;if(t.Fk()){if(t.i>4){if(!t.wj(e))return!1;if(t.rk()){if(s=(n=(i=zz(e,49)).Ug())==t.e&&(t.Dk()?i.Og(i.Vg(),t.zk())==t.Ak():-1-i.Vg()==t.aj()),t.Ek()&&!s&&!n&&i.Zg())for(r=0;r<t.i;++r)if(UI(t.Gk(zz(t.g[r],56)))===UI(e))return!0;return s}if(t.Dk()&&!t.Ck()){if(UI(a=zz(e,56).ah(Imt(zz(t.ak(),18))))===UI(t.e))return!0;if(null==a||!zz(a,56).kh())return!1}}if(o=Ckt(t,e),t.Ek()&&!o)for(r=0;r<t.i;++r)if(UI(i=t.Gk(zz(t.g[r],56)))===UI(e))return!0;return o}return Ckt(t,e)}function pHt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(l=new Nw,f=new Fm,o=e.b,r=0;r<o.c.length;r++){for(u=(f1(r,o.c.length),zz(o.c[r],29)).a,l.c=P8(Ote,HWt,1,0,5,1),a=0;a<u.c.length;a++)(s=t.a[r][a]).p=a,s.k==(cTt(),Ise)&&(l.c[l.c.length]=s),a5(zz(PH(e.b,r),29).a,a,s),s.j.c=P8(Ote,HWt,1,0,5,1),wst(s.j,zz(zz(PH(t.b,r),15).Xb(a),14)),LR(zz(vEt(s,(HZt(),nwe)),98))||hct(s,nwe,(V_t(),YSe));for(i=new Wd(l);i.a<i.c.c.length;)h=VFt(n=zz(t0(i),10)),f.a.zc(h,f),f.a.zc(n,f)}for(c=f.a.ec().Kc();c.Ob();)s=zz(c.Pb(),10),TX(),yO(s.j,(Yut(),uue)),s.i=!0,iIt(s)}function bHt(t,e){var n,i,r,a,o,s,c,u,l,h;if(l=zz(vEt(t,(hWt(),Xhe)),61),i=zz(PH(t.j,0),11),l==(kYt(),uIe)?USt(i,TIe):l==TIe&&USt(i,uIe),zz(vEt(e,(HZt(),$be)),174).Hc((vpt(),jIe))){if(c=Uv(EB(vEt(t,Swe))),u=Uv(EB(vEt(t,Iwe))),o=Uv(EB(vEt(t,Twe))),(s=zz(vEt(e,awe),21)).Hc((dIt(),nIe)))for(n=u,h=t.o.a/2-i.n.a,a=new Wd(i.f);a.a<a.c.c.length;)(r=zz(t0(a),70)).n.b=n,r.n.a=h-r.o.a/2,n+=r.o.b+o;else if(s.Hc(rIe))for(a=new Wd(i.f);a.a<a.c.c.length;)(r=zz(t0(a),70)).n.a=c+t.o.a-i.n.a;h0(new Cg((bE(),new qK(e,!1,!1,new je))),new jj(null,t,!1))}}function wHt(t,e){var i,r,a,o,s,c,u;if(0!=e.c.length){for(TX(),vU(e.c,e.c.length,null),r=zz(t0(a=new Wd(e)),145);a.a<a.c.c.length;)i=zz(t0(a),145),!snt(r.e.c,i.e.c)||jpt(zB(r.e).b,i.e.d)||jpt(zB(i.e).b,r.e.d)?(i$t(t,r),r=i):(wst(r.k,i.k),wst(r.b,i.b),wst(r.c,i.c),zrt(r.i,i.i),wst(r.d,i.d),wst(r.j,i.j),o=n.Math.min(r.e.c,i.e.c),s=n.Math.min(r.e.d,i.e.d),c=n.Math.max(r.e.c+r.e.b,i.e.c+i.e.b)-o,u=n.Math.max(r.e.d+r.e.a,i.e.d+i.e.a)-s,Pq(r.e,o,s,c,u),e0(r.f,i.f),!r.a&&(r.a=i.a),wst(r.g,i.g),Wz(r.g,i));i$t(t,r)}}function mHt(t,e,n,i){var r,a,o,s,c,u;if((s=t.j)==(kYt(),CIe)&&e!=(V_t(),XSe)&&e!=(V_t(),VSe)&&(USt(t,s=Yjt(t,n)),!(t.q?t.q:(TX(),TX(),hne))._b((HZt(),ewe))&&s!=CIe&&(0!=t.n.a||0!=t.n.b)&&hct(t,ewe,_xt(t,s))),e==(V_t(),WSe)){switch(u=0,s.g){case 1:case 3:(a=t.i.o.a)>0&&(u=t.n.a/a);break;case 2:case 4:(r=t.i.o.b)>0&&(u=t.n.b/r)}hct(t,(hWt(),Afe),u)}if(c=t.o,o=t.a,i)o.a=i.a,o.b=i.b,t.d=!0;else if(e!=XSe&&e!=VSe&&s!=CIe)switch(s.g){case 1:o.a=c.a/2;break;case 2:o.a=c.a,o.b=c.b/2;break;case 3:o.a=c.a/2,o.b=c.b;break;case 4:o.b=c.b/2}else o.a=c.a/2,o.b=c.b/2}function yHt(t){var e,n,i,r,a,o,s,c,u,l;if(t.ej())if(l=t.Vi(),c=t.fj(),l>0)if(e=new _at(t.Gi()),a=(n=l)<100?null:new $k(n),QB(t,n,e.g),r=1==n?t.Zi(4,Ket(e,0),null,0,c):t.Zi(6,e,null,-1,c),t.bj()){for(i=new DL(e);i.e!=i.i.gc();)a=t.dj(kwt(i),a);a?(a.Ei(r),a.Fi()):t.$i(r)}else a?(a.Ei(r),a.Fi()):t.$i(r);else QB(t,t.Vi(),t.Wi()),t.$i(t.Zi(6,(TX(),lne),null,-1,c));else if(t.bj())if((l=t.Vi())>0){for(s=t.Wi(),u=l,QB(t,l,s),a=u<100?null:new $k(u),i=0;i<u;++i)o=s[i],a=t.dj(o,a);a&&a.Fi()}else QB(t,t.Vi(),t.Wi());else QB(t,t.Vi(),t.Wi())}function vHt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;for(s=new Wd(e);s.a<s.c.c.length;)(a=zz(t0(s),233)).e=null,a.c=0;for(c=null,o=new Wd(e);o.a<o.c.c.length;)if(h=(a=zz(t0(o),233)).d[0],!n||h.k==(cTt(),Sse)){for(d=zz(vEt(h,(hWt(),afe)),15).Kc();d.Ob();)f=zz(d.Pb(),10),n&&f.k!=(cTt(),Sse)||((!a.e&&(a.e=new Nw),a.e).Fc(t.b[f.c.p][f.p]),++t.b[f.c.p][f.p].c);if(!n&&h.k==(cTt(),Sse)){if(c)for(l=zz(l6(t.d,c),21).Kc();l.Ob();)for(u=zz(l.Pb(),10),r=zz(l6(t.d,h),21).Kc();r.Ob();)i=zz(r.Pb(),10),Yz(t.b[u.c.p][u.p]).Fc(t.b[i.c.p][i.p]),++t.b[i.c.p][i.p].c;c=h}}}function xHt(t,e){var n,i,r,a,o,s,c;for(n=0,c=new Nw,a=new Wd(e);a.a<a.c.c.length;){switch(r=zz(t0(a),11),elt(t.b,t.d[r.p]),c.c=P8(Ote,HWt,1,0,5,1),r.i.k.g){case 0:Det(zz(vEt(r,(hWt(),_fe)),10).j,new Jp(c));break;case 1:TO(Vct(DK(new FH(null,new g1(r.i.j,16)),new tb(r))),new eb(c));break;case 3:Wz(c,new rI(zz(vEt(r,(hWt(),pfe)),11),rft(r.e.c.length+r.g.c.length)))}for(s=new Wd(c);s.a<s.c.c.length;)o=zz(t0(s),46),(i=E_(t,zz(o.a,11)))>t.d[r.p]&&(n+=t5(t.b,i)*zz(o.b,19).a,p3(t.a,rft(i)));for(;!Wv(t.a);)Ett(t.b,zz(pY(t.a),19).a)}return n}function kHt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g;for((h=new gD(zz(tOt(t,(CEt(),qEe)),8))).a=n.Math.max(h.a-i.b-i.c,0),h.b=n.Math.max(h.b-i.d-i.a,0),(null==(a=EB(tOt(t,BEe)))||(xW(a),a<=0))&&(a=1.3),s=new Nw,f=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));f.e!=f.i.gc();)o=new GP(zz(kwt(f),33)),s.c[s.c.length]=o;switch(zz(tOt(t,FEe),311).g){case 3:g=s$t(s,e,h.a,h.b,(u=r,xW(a),u));break;case 1:g=yzt(s,e,h.a,h.b,(l=r,xW(a),l));break;default:g=THt(s,e,h.a,h.b,(c=r,xW(a),c))}jYt(t,(d=xZt(new Get(g),e,i,h.a,h.b,r,(xW(a),a))).a,d.b,!1,!0)}function _Ht(t,e){var n,i,r,a;a=new ej((n=e.b).j),r=0,(i=n.j).c=P8(Ote,HWt,1,0,5,1),nZ(zz(wot(t.b,(kYt(),uIe),(Irt(),Fue)),15),n),r=Jyt(a,r,new Pr,i),nZ(zz(wot(t.b,uIe,Bue),15),n),r=Jyt(a,r,new Nr,i),nZ(zz(wot(t.b,uIe,Pue),15),n),nZ(zz(wot(t.b,cIe,Fue),15),n),nZ(zz(wot(t.b,cIe,Bue),15),n),r=Jyt(a,r,new Br,i),nZ(zz(wot(t.b,cIe,Pue),15),n),nZ(zz(wot(t.b,TIe,Fue),15),n),r=Jyt(a,r,new Fr,i),nZ(zz(wot(t.b,TIe,Bue),15),n),r=Jyt(a,r,new Rr,i),nZ(zz(wot(t.b,TIe,Pue),15),n),nZ(zz(wot(t.b,SIe,Fue),15),n),r=Jyt(a,r,new Xr,i),nZ(zz(wot(t.b,SIe,Bue),15),n),nZ(zz(wot(t.b,SIe,Pue),15),n)}function AHt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(DAt(e,"Layer size calculation",1),h=RXt,l=jXt,a=!1,c=new Wd(t.b);c.a<c.c.c.length;)if((u=(s=zz(t0(c),29)).c).a=0,u.b=0,0!=s.a.c.length){for(a=!0,d=new Wd(s.a);d.a<d.c.c.length;)p=(f=zz(t0(d),10)).o,g=f.d,u.a=n.Math.max(u.a,p.a+g.b+g.c);b=(r=zz(PH(s.a,0),10)).n.b-r.d.d,r.k==(cTt(),Ese)&&(b-=zz(vEt(t,(HZt(),Lwe)),142).d),i=(o=zz(PH(s.a,s.a.c.length-1),10)).n.b+o.o.b+o.d.a,o.k==Ese&&(i+=zz(vEt(t,(HZt(),Lwe)),142).a),u.b=i-b,h=n.Math.min(h,b),l=n.Math.max(l,i)}a||(h=0,l=0),t.f.b=l-h,t.c.b-=h,HTt(e)}function EHt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(a=0,o=0,u=new Wd(t.a);u.a<u.c.c.length;)s=zz(t0(u),10),a=n.Math.max(a,s.d.b),o=n.Math.max(o,s.d.c);for(c=new Wd(t.a);c.a<c.c.c.length;){switch(s=zz(t0(c),10),zz(vEt(s,(HZt(),xpe)),248).g){case 1:g=0;break;case 2:g=1;break;case 5:g=.5;break;default:for(i=0,h=0,d=new Wd(s.j);d.a<d.c.c.length;)0==(f=zz(t0(d),11)).e.c.length||++i,0==f.g.c.length||++h;g=i+h==0?.5:h/(i+h)}b=t.c,l=s.o.a,w=(b.a-l)*g,g>.5?w-=2*o*(g-.5):g<.5&&(w+=2*a*(.5-g)),w<(r=s.d.b)&&(w=r),p=s.d.c,w>b.a-p-l&&(w=b.a-p-l),s.n.a=e+w}}function THt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(s=P8(PNe,UXt,25,t.c.length,15,1),rxt(f=new ZG(new Zs),t),u=0,d=new Nw;0!=f.b.c.length;)if(o=zz(0==f.b.c.length?null:PH(f.b,0),157),u>1&&iU(o)*nU(o)/2>s[0]){for(a=0;a<d.c.length-1&&iU(o)*nU(o)/2>s[a];)++a;h=new Get(new u1(d,0,a+1)),l=iU(o)/nU(o),c=xZt(h,e,new dy,n,i,r,l),YF(xM(h.e),c),$8(iEt(f,h)),rxt(f,new u1(d,a+1,d.c.length)),d.c=P8(Ote,HWt,1,0,5,1),u=0,kU(s,s.length,0)}else null!=(0==f.b.c.length?null:PH(f.b,0))&&hrt(f,0),u>0&&(s[u]=s[u-1]),s[u]+=iU(o)*nU(o),++u,d.c[d.c.length]=o;return d}function CHt(t){var e,n,i;if((n=zz(vEt(t,(HZt(),xbe)),163))==(Edt(),$fe)){for(e=new cG(JL(fdt(t).a.Kc(),new l));bDt(e);)if(!Z5(zz(Y5(e),17)))throw qw(new rx(S1t+wvt(t)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(n==qfe)for(i=new cG(JL(ddt(t).a.Kc(),new l));bDt(i);)if(!Z5(zz(Y5(i),17)))throw qw(new rx(S1t+wvt(t)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}function SHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(DAt(e,"Label dummy removal",1),i=Uv(EB(vEt(t,(HZt(),kwe)))),r=Uv(EB(vEt(t,Twe))),c=zz(vEt(t,Ype),103),s=new Wd(t.b);s.a<s.c.c.length;)for(l=new E2(zz(t0(s),29).a,0);l.b<l.d.gc();)CP(l.b<l.d.gc()),(u=zz(l.d.Xb(l.c=l.b++),10)).k==(cTt(),Tse)&&(h=zz(vEt(u,(hWt(),pfe)),17),d=Uv(EB(vEt(h,obe))),o=UI(vEt(u,sfe))===UI((Wvt(),_Se)),n=new gD(u.n),o&&(n.b+=d+i),a=new PS(u.o.a,u.o.b-d-i),f=zz(vEt(u,Cfe),15),c==(zht(),qCe)||c==RCe?OBt(f,n,r,a,o,c):Ult(f,n,r,a),wst(h.b,f),aUt(u,UI(vEt(t,Jpe))===UI((Tdt(),VCe))),hW(l));HTt(e)}function IHt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v;for(s=new Nw,r=new Wd(e.a);r.a<r.c.c.length;)for(o=new Wd(zz(t0(r),10).j);o.a<o.c.c.length;){for(u=null,y=0,v=(m=J0((a=zz(t0(o),11)).g)).length;y<v;++y)pot((w=m[y]).d.i,n)||((b=Nqt(t,e,n,w,w.c,(sit(),Hme),u))!=u&&(s.c[s.c.length]=b),b.c&&(u=b));for(c=null,g=0,p=(d=J0(a.e)).length;g<p;++g)pot((f=d[g]).c.i,n)||((b=Nqt(t,e,n,f,f.d,(sit(),qme),c))!=c&&(s.c[s.c.length]=b),b.c&&(c=b))}for(h=new Wd(s);h.a<h.c.c.length;)l=zz(t0(h),441),-1!=_9(e.a,l.a,0)||Wz(e.a,l.a),l.c&&(i.c[i.c.length]=l)}function MHt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(DAt(n,"Interactive cycle breaking",1),l=new Nw,f=new Wd(e.a);f.a<f.c.c.length;)for((h=zz(t0(f),10)).p=1,d=zkt(h).a,u=Bgt(h,(sit(),Hme)).Kc();u.Ob();)for(a=new Wd(zz(u.Pb(),11).g);a.a<a.c.c.length;)(g=(i=zz(t0(a),17)).d.i)!=h&&zkt(g).a<d&&(l.c[l.c.length]=i);for(o=new Wd(l);o.a<o.c.c.length;)nzt(i=zz(t0(o),17),!0);for(l.c=P8(Ote,HWt,1,0,5,1),c=new Wd(e.a);c.a<c.c.c.length;)(s=zz(t0(c),10)).p>0&&dCt(t,s,l);for(r=new Wd(l);r.a<r.c.c.length;)nzt(i=zz(t0(r),17),!0);l.c=P8(Ote,HWt,1,0,5,1),HTt(n)}function DHt(t,e){var n,i,r,a,o,s,c,u,l;return u="",0==e.length?t.de(WKt,YKt,-1,-1):(yR((l=REt(e)).substr(0,3),"at ")&&(l=l.substr(3)),-1==(o=(l=l.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(o=l.indexOf("@"))?(u=l,l=""):(u=REt(l.substr(o+1)),l=REt(l.substr(0,o))):(n=l.indexOf(")",o),u=l.substr(o+1,n-(o+1)),l=REt(l.substr(0,o))),-1!=(o=UM(l,QAt(46)))&&(l=l.substr(o+1)),(0==l.length||yR(l,"Anonymous function"))&&(l=YKt),s=yN(u,QAt(58)),r=ER(u,QAt(58),s-1),c=-1,i=-1,a=WKt,-1!=s&&-1!=r&&(a=u.substr(0,r),c=lP(u.substr(r+1,s-(r+1))),i=lP(u.substr(s+1))),t.de(a,l,c,i))}function OHt(t,e,n){var i,r,a,o,s,c;if(0==e.l&&0==e.m&&0==e.h)throw qw(new Mv("divide by zero"));if(0==t.l&&0==t.m&&0==t.h)return n&&(dee=EO(0,0,0)),EO(0,0,0);if(e.h==IXt&&0==e.m&&0==e.l)return zdt(t,n);if(c=!1,e.h>>19!=0&&(e=sct(e),c=!c),o=DLt(e),a=!1,r=!1,i=!1,t.h==IXt&&0==t.m&&0==t.l){if(r=!0,a=!0,-1!=o)return s=_Dt(t,o),c&&Dct(s),n&&(dee=EO(0,0,0)),s;t=WM((Z9(),gee)),i=!0,c=!c}else t.h>>19!=0&&(a=!0,t=sct(t),i=!0,c=!c);return-1!=o?qct(t,o,c,a,n):jxt(t,e)<0?(n&&(dee=a?sct(t):EO(t.l,t.m,t.h)),EO(0,0,0)):hjt(i?t:EO(t.l,t.m,t.h),e,c,a,r,n)}function LHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(t.e&&t.c.c<t.f)throw qw(new $v("Expected "+t.f+" phases to be configured; only found "+t.c.c));for(l=zz(Kk(t.g),9),d=uP(t.f),s=0,u=(a=l).length;s<u;++s)(h=zz(B9(t,(i=a[s]).g),246))?Wz(d,zz(ugt(t,h),123)):d.c[d.c.length]=null;for(g=new z2,QA(DK(OK(DK(new FH(null,new g1(d,16)),new hs),new _b(e)),new fs),new Ab(g)),Jat(g,t.a),n=new Nw,o=0,c=(r=l).length;o<c;++o)wst(n,Ast(t,QX(zz(B9(g,(i=r[o]).g),20)))),(f=zz(PH(d,i.g),123))&&(n.c[n.c.length]=f);return wst(n,Ast(t,QX(zz(B9(g,l[l.length-1].g+1),20)))),n}function NHt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g;for(DAt(i,"Model order cycle breaking",1),t.a=0,t.b=0,f=new Nw,l=e.a.c.length,u=new Wd(e.a);u.a<u.c.c.length;)LP(c=zz(t0(u),10),(hWt(),gfe))&&(l=n.Math.max(l,zz(vEt(c,gfe),19).a+1));for(g=new Wd(e.a);g.a<g.c.c.length;)for(s=YCt(t,d=zz(t0(g),10),l),h=Bgt(d,(sit(),Hme)).Kc();h.Ob();)for(o=new Wd(zz(h.Pb(),11).g);o.a<o.c.c.length;)YCt(t,(r=zz(t0(o),17)).d.i,l)<s&&(f.c[f.c.length]=r);for(a=new Wd(f);a.a<a.c.c.length;)nzt(r=zz(t0(a),17),!0),hct(e,(hWt(),Hhe),(lN(),!0));f.c=P8(Ote,HWt,1,0,5,1),HTt(i)}function PHt(t,e){var n,i,r,a,o,s,c;if(!(t.g>e.f||e.g>t.f)){for(n=0,i=0,o=t.w.a.ec().Kc();o.Ob();)r=zz(o.Pb(),11),mlt(Oct(Sst(Ux(CEe,1),lKt,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++n;for(s=t.r.a.ec().Kc();s.Ob();)r=zz(s.Pb(),11),mlt(Oct(Sst(Ux(CEe,1),lKt,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--n;for(c=e.w.a.ec().Kc();c.Ob();)r=zz(c.Pb(),11),mlt(Oct(Sst(Ux(CEe,1),lKt,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++i;for(a=e.r.a.ec().Kc();a.Ob();)r=zz(a.Pb(),11),mlt(Oct(Sst(Ux(CEe,1),lKt,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--i;n<i?new T6(t,e,i-n):i<n?new T6(e,t,n-i):(new T6(e,t,0),new T6(t,e,0))}}function BHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;for(u=e.c,r=XD(t.e),h=xL(zP(zO(KD(t.e)),t.d*t.a,t.c*t.b),-.5),n=r.a-h.a,i=r.b-h.b,n=(o=e.a).c-n,i=o.d-i,c=new Wd(u);c.a<c.c.c.length;){switch(d=n+(f=(s=zz(t0(c),395)).b).a,b=i+f.b,g=SQ(d/t.a),w=SQ(b/t.b),(a=s.a).g){case 0:Hwt(),l=zre;break;case 1:Hwt(),l=$re;break;case 2:Hwt(),l=qre;break;default:Hwt(),l=Hre}a.a?(m=SQ((b+s.c)/t.b),Wz(t.f,new Pj(l,rft(w),rft(m))),a==(Uwt(),eae)?pct(t,0,w,g,m):pct(t,g,w,t.d-1,m)):(p=SQ((d+s.c)/t.a),Wz(t.f,new Pj(l,rft(g),rft(p))),a==(Uwt(),Jre)?pct(t,g,0,p,w):pct(t,g,w,p,t.c-1))}}function FHt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v;for(f=new Nw,a=new Nw,p=null,s=e.Kc();s.Ob();)o=new qp(zz(s.Pb(),19).a),a.c[a.c.length]=o,p&&(o.d=p,p.e=o),p=o;for(y=Y$t(t),l=0;l<a.c.length;++l){for(d=null,b=B6((f1(0,a.c.length),zz(a.c[0],652))),i=null,r=RXt,h=1;h<t.b.c.length;++h)w=b?n.Math.abs(b.b-h):n.Math.abs(h-d.b)+1,(g=d?n.Math.abs(h-d.b):w+1)<w?(u=d,c=g):(u=b,c=w),v=Uv(EB(vEt(t,(HZt(),qwe)))),(m=y[h]+n.Math.pow(c,v))<r&&(r=m,(i=u).c=h),b&&h==b.b&&(d=b,b=PG(b));i&&(Wz(f,rft(i.c)),i.a=!0,yft(i))}return TX(),vU(f.c,f.c.length,null),f}function RHt(t){var e,n,i,r,a,o,s,c,u,l;for(e=new Ac,n=new Ac,u=yR(j7t,(r=Pjt(t.b,$7t))?TB(opt((!r.b&&(r.b=new QP((wWt(),xOe),ZOe,r)),r.b),z7t)):null),c=0;c<t.i;++c)aL(s=zz(t.g[c],170),99)?0!=((o=zz(s,18)).Bb&h6t)?(0==(o.Bb&hKt)||!u&&null==((a=Pjt(o,$7t))?TB(opt((!a.b&&(a.b=new QP((wWt(),xOe),ZOe,a)),a.b),e8t)):null))&&h7(e,o):(l=Imt(o))&&0!=(l.Bb&h6t)||(0==(o.Bb&hKt)||!u&&null==((i=Pjt(o,$7t))?TB(opt((!i.b&&(i.b=new QP((wWt(),xOe),ZOe,i)),i.b),e8t)):null))&&h7(n,o):(JE(),zz(s,66).Oj()&&(s.Jj()||(h7(e,s),h7(n,s))));olt(e),olt(n),t.a=zz(e.g,247),zz(n.g,247)}function jHt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;for(c=BTt(e),zz(vEt(e,(HZt(),Hpe)),314)!=(Dit(),lle)&&n5(c,new we),n5(c,new Bg(zz(vEt(e,Fpe),292))),d=0,u=new Nw,r=new dK(c);r.a!=r.b;)i=zz($lt(r),37),LUt(t.c,i),d+=(h=zz(vEt(i,(hWt(),Efe)),15)).gc(),Wz(u,new rI(i,h.Kc()));for(DAt(n,"Recursive hierarchical layout",d),f=zz(zz(PH(u,u.c.length-1),46).b,47);f.Ob();)for(s=new Wd(u);s.a<s.c.c.length;)for(o=zz(t0(s),46),h=zz(o.b,47),a=zz(o.a,37);h.Ob();){if(aL(l=zz(h.Pb(),51),507)){if(a.e)break;l.pf(a,vat(n,1));break}l.pf(a,vat(n,1))}HTt(n)}function $Ht(t,e){var n,i,r,a,o,s,c,u;if(d1(s=e.length-1,e.length),93==(o=e.charCodeAt(s))){if((a=UM(e,QAt(91)))>=0)return r=bdt(t,e.substr(1,a-1)),QYt(t,e.substr(a+1,s-(a+1)),r)}else{if(n=-1,null==Aee&&(Aee=new RegExp("\\d")),Aee.test(String.fromCharCode(o))&&(n=ER(e,QAt(46),s-1))>=0){i=zz(K5(t,Set(t,e.substr(1,n-1)),!1),58),c=0;try{c=djt(e.substr(n+1),$Kt,FWt)}catch(t){throw aL(t=dst(t),127)?qw(new L9(t)):qw(t)}if(c<i.gc())return aL(u=i.Xb(c),72)&&(u=zz(u,72).dd()),zz(u,56)}if(n<0)return zz(K5(t,Set(t,e.substr(1)),!1),56)}return null}function zHt(t,e,n){var i,r,a,o,s,c,u;if(Ogt(e,n)>=0)return n;switch(BW(z9(t,n))){case 2:if(yR("",Iht(t,n.Hj()).ne())){if(c=vOt(t,e,s=kK(z9(t,n)),xK(z9(t,n))))return c;for(o=0,u=(r=_Rt(t,e)).gc();o<u;++o)if(sNt(MY(z9(t,c=zz(r.Xb(o),170))),s))return c}return null;case 4:if(yR("",Iht(t,n.Hj()).ne())){for(i=n;i;i=Q1(z9(t,i)))if(c=xOt(t,e,kK(z9(t,i)),xK(z9(t,i))))return c;if(s=kK(z9(t,n)),yR(C9t,s))return vkt(t,e);for(o=0,u=(a=ARt(t,e)).gc();o<u;++o)if(sNt(MY(z9(t,c=zz(a.Xb(o),170))),s))return c}return null;default:return null}}function qHt(t,e,n){var i,r,a,o,s,c,u,l;if(0==n.gc())return!1;if(JE(),a=(s=zz(e,66).Oj())?n:new wet(n.gc()),LPt(t.e,e)){if(e.hi())for(u=n.Kc();u.Ob();)Z$t(t,e,c=u.Pb(),aL(e,99)&&0!=(zz(e,18).Bb&qXt))||(r=J3(e,c),a.Hc(r)||a.Fc(r));else if(!s)for(u=n.Kc();u.Ob();)r=J3(e,c=u.Pb()),a.Fc(r)}else{if(n.gc()>1)throw qw(new jv(M9t));for(l=sPt(t.e.Tg(),e),i=zz(t.g,119),o=0;o<t.i;++o)if(r=i[o],l.rl(r.ak())){if(n.Hc(s?r:r.dd()))return!1;for(u=n.Kc();u.Ob();)c=u.Pb(),zz(umt(t,o,s?zz(c,72):J3(e,c)),72);return!0}s||(r=J3(e,n.Kc().Pb()),a.Fc(r))}return wZ(t,a)}function HHt(t,e){var i,r,a,o,s,c,u;for(u=new VA,c=new Rd(new Md(t.c).a.vc().Kc());c.a.Ob();)a=zz(c.a.Pb(),42),0==(o=zz(a.dd(),458)).b&&r5(u,o,u.c.b,u.c);for(;0!=u.b;)for(null==(o=zz(0==u.b?null:(CP(0!=u.b),Oet(u,u.a.a)),458)).a&&(o.a=0),r=new Wd(o.d);r.a<r.c.c.length;)null==(i=zz(t0(r),654)).b.a?i.b.a=Uv(o.a)+i.a:e.o==(cJ(),rve)?i.b.a=n.Math.min(Uv(i.b.a),Uv(o.a)+i.a):i.b.a=n.Math.max(Uv(i.b.a),Uv(o.a)+i.a),--i.b.b,0==i.b.b&&Bq(u,i.b);for(s=new Rd(new Md(t.c).a.vc().Kc());s.a.Ob();)a=zz(s.a.Pb(),42),o=zz(a.dd(),458),e.i[o.c.p]=o.a}function UHt(){UHt=M,uxe=new sw(DJt),new sw(OJt),new iF("DEPTH",rft(0)),ixe=new iF("FAN",rft(0)),exe=new iF(Z3t,rft(0)),pxe=new iF("ROOT",(lN(),!1)),axe=new iF("LEFTNEIGHBOR",null),dxe=new iF("RIGHTNEIGHBOR",null),oxe=new iF("LEFTSIBLING",null),gxe=new iF("RIGHTSIBLING",null),nxe=new iF("DUMMY",!1),new iF("LEVEL",rft(0)),fxe=new iF("REMOVABLE_EDGES",new VA),bxe=new iF("XCOOR",rft(0)),wxe=new iF("YCOOR",rft(0)),sxe=new iF("LEVELHEIGHT",0),rxe=new iF("ID",""),lxe=new iF("POSITION",rft(0)),hxe=new iF("PRELIM",0),cxe=new iF("MODIFIER",0),txe=new sw(LJt),Jve=new sw(NJt)}function GHt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g;for(h=i+e.c.c.a,g=new Wd(e.j);g.a<g.c.c.length;){if(d=zz(t0(g),11),a=Oct(Sst(Ux(CEe,1),lKt,8,0,[d.i.n,d.n,d.a])),e.k==(cTt(),Ise)&&(c=zz(vEt(d,(hWt(),pfe)),11),a.a=Oct(Sst(Ux(CEe,1),lKt,8,0,[c.i.n,c.n,c.a])).a,e.n.a=a.a),s=new PS(0,a.b),d.j==(kYt(),cIe))s.a=h;else{if(d.j!=SIe)continue;s.a=i}if(!(n.Math.abs(a.a-s.a)<=r)||Pxt(e))for(o=d.g.c.length+d.e.c.length>1,l=new y6(d.b);vO(l.a)||vO(l.b);)f=(u=zz(vO(l.a)?t0(l.a):t0(l.b),17)).c==d?u.d:u.c,n.Math.abs(Oct(Sst(Ux(CEe,1),lKt,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&mPt(t,u,s,o,d)}}function YHt(t){var e,i,r,a,o,s;if(a=new E2(t.e,0),r=new E2(t.a,0),t.d)for(i=0;i<t.b;i++)CP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++);else for(i=0;i<t.b-1;i++)CP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),hW(a);for(e=Uv((CP(a.b<a.d.gc()),EB(a.d.Xb(a.c=a.b++))));t.f-e>F3t;){for(o=e,s=0;n.Math.abs(e-o)<F3t;)++s,e=Uv((CP(a.b<a.d.gc()),EB(a.d.Xb(a.c=a.b++)))),CP(r.b<r.d.gc()),r.d.Xb(r.c=r.b++);s<t.b&&(CP(a.b>0),a.a.Xb(a.c=--a.b),F$t(t,t.b-s,o,r,a),CP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++)),CP(r.b>0),r.a.Xb(r.c=--r.b)}if(!t.d)for(i=0;i<t.b-1;i++)CP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),hW(a);t.d=!0,t.c=!0}function ZHt(){ZHt=M,wLe=(a_(),bLe).b,vLe=zz(Ket(XX(bLe.b),0),34),mLe=zz(Ket(XX(bLe.b),1),34),yLe=zz(Ket(XX(bLe.b),2),34),MLe=bLe.bb,zz(Ket(XX(bLe.bb),0),34),zz(Ket(XX(bLe.bb),1),34),OLe=bLe.fb,LLe=zz(Ket(XX(bLe.fb),0),34),zz(Ket(XX(bLe.fb),1),34),zz(Ket(XX(bLe.fb),2),18),PLe=bLe.qb,RLe=zz(Ket(XX(bLe.qb),0),34),zz(Ket(XX(bLe.qb),1),18),zz(Ket(XX(bLe.qb),2),18),BLe=zz(Ket(XX(bLe.qb),3),34),FLe=zz(Ket(XX(bLe.qb),4),34),$Le=zz(Ket(XX(bLe.qb),6),34),jLe=zz(Ket(XX(bLe.qb),5),18),xLe=bLe.j,kLe=bLe.k,_Le=bLe.q,ALe=bLe.w,ELe=bLe.B,TLe=bLe.A,CLe=bLe.C,SLe=bLe.D,ILe=bLe._,DLe=bLe.cb,NLe=bLe.hb}function WHt(t,e,i){var r,a,o,s,c,u,l,h,f;t.c=0,t.b=0,r=2*e.c.a.c.length+1;t:for(l=i.Kc();l.Ob();){if(f=0,s=(u=zz(l.Pb(),11)).j==(kYt(),uIe)||u.j==TIe){if(!(h=zz(vEt(u,(hWt(),_fe)),10)))continue;f+=rFt(t,r,u,h)}else{for(c=new Wd(u.g);c.a<c.c.c.length;){if((a=zz(t0(c),17).d).i.c==e.c){Wz(t.a,u);continue t}f+=t.g[a.p]}for(o=new Wd(u.e);o.a<o.c.c.length;){if((a=zz(t0(o),17).c).i.c==e.c){Wz(t.a,u);continue t}f-=t.g[a.p]}}u.e.c.length+u.g.c.length>0?(t.f[u.p]=f/(u.e.c.length+u.g.c.length),t.c=n.Math.min(t.c,t.f[u.p]),t.b=n.Math.max(t.b,t.f[u.p])):s&&(t.f[u.p]=f)}}function KHt(t){t.b=null,t.bb=null,t.fb=null,t.qb=null,t.a=null,t.c=null,t.d=null,t.e=null,t.f=null,t.n=null,t.M=null,t.L=null,t.Q=null,t.R=null,t.K=null,t.db=null,t.eb=null,t.g=null,t.i=null,t.j=null,t.k=null,t.gb=null,t.o=null,t.p=null,t.q=null,t.r=null,t.$=null,t.ib=null,t.S=null,t.T=null,t.t=null,t.s=null,t.u=null,t.v=null,t.w=null,t.B=null,t.A=null,t.C=null,t.D=null,t.F=null,t.G=null,t.H=null,t.I=null,t.J=null,t.P=null,t.Z=null,t.U=null,t.V=null,t.W=null,t.X=null,t.Y=null,t._=null,t.ab=null,t.cb=null,t.hb=null,t.nb=null,t.lb=null,t.mb=null,t.ob=null,t.pb=null,t.jb=null,t.kb=null,t.N=!1,t.O=!1}function XHt(t,e,n){var i,r;for(DAt(n,"Graph transformation ("+t.a+")",1),r=o0(e.a),i=new Wd(e.b);i.a<i.c.c.length;)wst(r,zz(t0(i),29).a);if(zz(vEt(e,(HZt(),Zpe)),419)==(jtt(),Tle))switch(zz(vEt(e,Ype),103).g){case 2:L2(e,r);break;case 3:gpt(e,r);break;case 4:t.a==(Crt(),Hse)?(gpt(e,r),O2(e,r)):(O2(e,r),gpt(e,r))}else if(t.a==(Crt(),Hse))switch(zz(vEt(e,Ype),103).g){case 2:L2(e,r),O2(e,r);break;case 3:gpt(e,r),L2(e,r);break;case 4:L2(e,r),gpt(e,r)}else switch(zz(vEt(e,Ype),103).g){case 2:L2(e,r),O2(e,r);break;case 3:L2(e,r),gpt(e,r);break;case 4:gpt(e,r),L2(e,r)}HTt(n)}function VHt(t,e,n){var i,r,a,o,s,c,u,h,f,d,g;for(c=new hD,u=new hD,d=new hD,g=new hD,s=Uv(EB(vEt(e,(HZt(),Mwe)))),r=Uv(EB(vEt(e,vwe))),o=new Wd(n);o.a<o.c.c.length;)if(a=zz(t0(o),10),(h=zz(vEt(a,(hWt(),Xhe)),61))==(kYt(),uIe))for(u.a.zc(a,u),i=new cG(JL(fdt(a).a.Kc(),new l));bDt(i);)AY(c,zz(Y5(i),17).c.i);else if(h==TIe)for(g.a.zc(a,g),i=new cG(JL(fdt(a).a.Kc(),new l));bDt(i);)AY(d,zz(Y5(i),17).c.i);0!=c.a.gc()&&(f=OUt(new hZ(2,r),e,c,u,-s-e.c.b))>0&&(t.a=s+(f-1)*r,e.c.b+=t.a,e.f.b+=t.a),0!=d.a.gc()&&(f=OUt(new hZ(1,r),e,d,g,e.f.b+s-e.c.b))>0&&(e.f.b+=s+(f-1)*r)}function QHt(t,e){var n,i,r,a;a=t.F,null==e?(t.F=null,Fut(t,null)):(t.F=(xW(e),e),-1!=(i=UM(e,QAt(60)))?(r=e.substr(0,i),-1==UM(e,QAt(46))&&!yR(r,LWt)&&!yR(r,C7t)&&!yR(r,S7t)&&!yR(r,I7t)&&!yR(r,M7t)&&!yR(r,D7t)&&!yR(r,O7t)&&!yR(r,L7t)&&(r=N7t),-1!=(n=yN(e,QAt(62)))&&(r+=""+e.substr(n+1)),Fut(t,r)):(r=e,-1==UM(e,QAt(46))&&(-1!=(i=UM(e,QAt(91)))&&(r=e.substr(0,i)),yR(r,LWt)||yR(r,C7t)||yR(r,S7t)||yR(r,I7t)||yR(r,M7t)||yR(r,D7t)||yR(r,O7t)||yR(r,L7t)?r=e:(r=N7t,-1!=i&&(r+=""+e.substr(i)))),Fut(t,r),r==e&&(t.F=t.D))),0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,5,a,e))}function JHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;if(!((p=e.b.c.length)<3)){for(d=P8(DNe,hXt,25,p,15,1),h=0,l=new Wd(e.b);l.a<l.c.c.length;)u=zz(t0(l),29),d[h++]=u.a.c.length;for(f=new E2(e.b,2),i=1;i<p-1;i++)for(CP(f.b<f.d.gc()),g=new Wd((n=zz(f.d.Xb(f.c=f.b++),29)).a),a=0,s=0,c=0;c<d[i+1];c++)if(y=zz(t0(g),10),c==d[i+1]-1||QTt(t,y,i+1,i)){for(o=d[i]-1,QTt(t,y,i+1,i)&&(o=t.c.e[zz(zz(zz(PH(t.c.b,y.p),15).Xb(0),46).a,10).p]);s<=c;){if(!QTt(t,m=zz(PH(n.a,s),10),i+1,i))for(w=zz(PH(t.c.b,m.p),15).Kc();w.Ob();)b=zz(w.Pb(),46),((r=t.c.e[zz(b.a,10).p])<a||r>o)&&AY(t.b,zz(b.b,17));++s}a=o}}}function tUt(t,e){var n;if(null==e||yR(e,YWt))return null;if(0==e.length&&t.k!=(SCt(),wEe))return null;switch(t.k.g){case 1:return vbt(e,s5t)?(lN(),yee):vbt(e,c5t)?(lN(),mee):null;case 2:try{return rft(djt(e,$Kt,FWt))}catch(t){if(aL(t=dst(t),127))return null;throw qw(t)}case 4:try{return gTt(e)}catch(t){if(aL(t=dst(t),127))return null;throw qw(t)}case 3:return e;case 5:return alt(t),HIt(t,e);case 6:return alt(t),jOt(t,t.a,e);case 7:try{return(n=aDt(t)).Jf(e),n}catch(t){if(aL(t=dst(t),32))return null;throw qw(t)}default:throw qw(new $v("Invalid type set for this layout option."))}}function eUt(t){var e,n,i,r,a,o,s;for(Btt(),s=new Km,n=new Wd(t);n.a<n.c.c.length;)e=zz(t0(n),140),(!s.b||e.c>=s.b.c)&&(s.b=e),(!s.c||e.c<=s.c.c)&&(s.d=s.c,s.c=e),(!s.e||e.d>=s.e.d)&&(s.e=e),(!s.f||e.d<=s.f.d)&&(s.f=e);return i=new Ewt((Ost(),Joe)),i2(t,cse,new Qv(Sst(Ux(Qoe,1),HWt,369,0,[i]))),o=new Ewt(nse),i2(t,sse,new Qv(Sst(Ux(Qoe,1),HWt,369,0,[o]))),r=new Ewt(tse),i2(t,ose,new Qv(Sst(Ux(Qoe,1),HWt,369,0,[r]))),a=new Ewt(ese),i2(t,ase,new Qv(Sst(Ux(Qoe,1),HWt,369,0,[a]))),BLt(i.c,Joe),BLt(r.c,tse),BLt(a.c,ese),BLt(o.c,nse),s.a.c=P8(Ote,HWt,1,0,5,1),wst(s.a,i.c),wst(s.a,iot(r.c)),wst(s.a,a.c),wst(s.a,iot(o.c)),s}function nUt(t){var e;switch(t.d){case 1:if(t.hj())return-2!=t.o;break;case 2:if(t.hj())return-2==t.o;break;case 3:case 5:case 4:case 6:case 7:return t.o>-2;default:return!1}switch(e=t.gj(),t.p){case 0:return null!=e&&Hv(AB(e))!=QI(t.k,0);case 1:return null!=e&&zz(e,217).a!=pU(t.k)<<24>>24;case 2:return null!=e&&zz(e,172).a!=(pU(t.k)&VKt);case 6:return null!=e&&QI(zz(e,162).a,t.k);case 5:return null!=e&&zz(e,19).a!=pU(t.k);case 7:return null!=e&&zz(e,184).a!=pU(t.k)<<16>>16;case 3:return null!=e&&Uv(EB(e))!=t.j;case 4:return null!=e&&zz(e,155).a!=t.j;default:return null==e?null!=t.n:!Pht(e,t.n)}}function iUt(t,e,n){var i,r,a,o;return t.Fk()&&t.Ek()&&UI(o=UG(t,zz(n,56)))!==UI(n)?(t.Oi(e),t.Ui(e,z7(t,e,o)),t.rk()&&(r=zz(n,49),a=t.Dk()?t.Bk()?r.ih(t.b,Imt(zz(iet(kV(t.b),t.aj()),18)).n,zz(iet(kV(t.b),t.aj()).Yj(),26).Bj(),null):r.ih(t.b,Ogt(r.Tg(),Imt(zz(iet(kV(t.b),t.aj()),18))),null,null):r.ih(t.b,-1-t.aj(),null,null),!zz(o,49).eh()&&(i=zz(o,49),a=t.Dk()?t.Bk()?i.gh(t.b,Imt(zz(iet(kV(t.b),t.aj()),18)).n,zz(iet(kV(t.b),t.aj()).Yj(),26).Bj(),a):i.gh(t.b,Ogt(i.Tg(),Imt(zz(iet(kV(t.b),t.aj()),18))),null,a):i.gh(t.b,-1-t.aj(),null,a)),a&&a.Fi()),yD(t.b)&&t.$i(t.Zi(9,n,o,e,!1)),o):n}function rUt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;for(h=Uv(EB(vEt(t,(HZt(),_we)))),r=Uv(EB(vEt(t,Fwe))),hct(d=new Qs,_we,h+r),m=(l=e).d,b=l.c.i,y=l.d.i,w=eD(b.c),v=eD(y.c),a=new Nw,f=w;f<=v;f++)zf(c=new Lmt(t),(cTt(),Cse)),hct(c,(hWt(),pfe),l),hct(c,nwe,(V_t(),ZSe)),hct(c,Ewe,d),g=zz(PH(t.b,f),29),f==w?Vvt(c,g.a.c.length-i,g):CJ(c,g),(x=Uv(EB(vEt(l,obe))))<0&&hct(l,obe,x=0),c.o.b=x,p=n.Math.floor(x/2),USt(s=new ITt,(kYt(),SIe)),SJ(s,c),s.n.b=p,USt(u=new ITt,cIe),SJ(u,c),u.n.b=p,EJ(l,s),Uot(o=new gV,l),hct(o,mbe,null),TJ(o,u),EJ(o,m),Yxt(c,l,o),a.c[a.c.length]=o,l=o;return a}function aUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(s=zz(FTt(t,(kYt(),SIe)).Kc().Pb(),11).e,h=zz(FTt(t,cIe).Kc().Pb(),11).g,o=s.c.length,b=b1(zz(PH(t.j,0),11));o-- >0;){for(f1(0,s.c.length),d=zz(s.c[0],17),f1(0,h.c.length),r=_9((i=zz(h.c[0],17)).d.e,i,0),D2(d,i.d,r),TJ(i,null),EJ(i,null),f=d.a,e&&Bq(f,new gD(b)),n=lwt(i.a,0);n.b!=n.d.c;)Bq(f,new gD(zz(d3(n),8)));for(p=d.b,l=new Wd(i.b);l.a<l.c.c.length;)u=zz(t0(l),70),p.c[p.c.length]=u;if(g=zz(vEt(d,(HZt(),mbe)),74),a=zz(vEt(i,mbe),74))for(g||(g=new xy,hct(d,mbe,g)),c=lwt(a,0);c.b!=c.d.c;)Bq(g,new gD(zz(d3(c),8)))}}function oUt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g;if(i=zz(cK(t.b,e),124),(u=zz(zz(l6(t.r,e),21),84)).dc())return i.n.b=0,void(i.n.c=0);for(l=t.u.Hc((dIt(),nIe)),s=0,c=u.Kc(),h=null,f=0,d=0;c.Ob();)a=Uv(EB((r=zz(c.Pb(),111)).b.We((BN(),Lre)))),o=r.b.rf().a,t.A.Hc((vpt(),jIe))&&xFt(t,e),h?(g=d+h.d.c+t.w+r.d.b,s=n.Math.max(s,(lO(),ait(fQt),n.Math.abs(f-a)<=fQt||f==a||isNaN(f)&&isNaN(a)?0:g/(a-f)))):t.C&&t.C.b>0&&(s=n.Math.max(s,dat(t.C.b+r.d.b,a))),h=r,f=a,d=o;t.C&&t.C.c>0&&(g=d+t.C.c,l&&(g+=h.d.c),s=n.Math.max(s,(lO(),ait(fQt),n.Math.abs(f-1)<=fQt||1==f||isNaN(f)&&isNaN(1)?0:g/(1-f)))),i.n.b=0,i.a.a=s}function sUt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g;if(i=zz(cK(t.b,e),124),(u=zz(zz(l6(t.r,e),21),84)).dc())return i.n.d=0,void(i.n.a=0);for(l=t.u.Hc((dIt(),nIe)),s=0,t.A.Hc((vpt(),jIe))&&kFt(t,e),c=u.Kc(),h=null,d=0,f=0;c.Ob();)o=Uv(EB((r=zz(c.Pb(),111)).b.We((BN(),Lre)))),a=r.b.rf().b,h?(g=f+h.d.a+t.w+r.d.d,s=n.Math.max(s,(lO(),ait(fQt),n.Math.abs(d-o)<=fQt||d==o||isNaN(d)&&isNaN(o)?0:g/(o-d)))):t.C&&t.C.d>0&&(s=n.Math.max(s,dat(t.C.d+r.d.d,o))),h=r,d=o,f=a;t.C&&t.C.a>0&&(g=f+t.C.a,l&&(g+=h.d.a),s=n.Math.max(s,(lO(),ait(fQt),n.Math.abs(d-1)<=fQt||1==d||isNaN(d)&&isNaN(1)?0:g/(1-d)))),i.n.d=0,i.a.b=s}function cUt(t,e,n){var i,r,a,o,s,c;for(this.g=t,s=e.d.length,c=n.d.length,this.d=P8(Mse,s1t,10,s+c,0,1),o=0;o<s;o++)this.d[o]=e.d[o];for(a=0;a<c;a++)this.d[s+a]=n.d[a];if(e.e){if(this.e=Gz(e.e),this.e.Mc(n),n.e)for(r=n.e.Kc();r.Ob();)(i=zz(r.Pb(),233))!=e&&(this.e.Hc(i)?--i.c:this.e.Fc(i))}else n.e&&(this.e=Gz(n.e),this.e.Mc(e));this.f=e.f+n.f,this.a=e.a+n.a,this.a>0?Jet(this,this.f/this.a):null!=fL(e.g,e.d[0]).a&&null!=fL(n.g,n.d[0]).a?Jet(this,(Uv(fL(e.g,e.d[0]).a)+Uv(fL(n.g,n.d[0]).a))/2):null!=fL(e.g,e.d[0]).a?Jet(this,fL(e.g,e.d[0]).a):null!=fL(n.g,n.d[0]).a&&Jet(this,fL(n.g,n.d[0]).a)}function uUt(t,e){var n,i,r,a,o,s,c,u,l;for(t.a=new zZ(Lat(WCe)),i=new Wd(e.a);i.a<i.c.c.length;){for(n=zz(t0(i),841),o=new Sbt(Sst(Ux(Xoe,1),HWt,81,0,[])),Wz(t.a.a,o),c=new Wd(n.d);c.a<c.c.c.length;)zUt(u=new NN(t,s=zz(t0(c),110)),zz(vEt(n.c,(hWt(),Zhe)),21)),lY(t.g,n)||(KW(t.g,n,new PS(s.c,s.d)),KW(t.f,n,u)),Wz(t.a.b,u),b2(o,u);for(a=new Wd(n.b);a.a<a.c.c.length;)u=new NN(t,(r=zz(t0(a),594)).kf()),KW(t.b,r,new rI(o,u)),zUt(u,zz(vEt(n.c,(hWt(),Zhe)),21)),r.hf()&&(zUt(l=new Cbt(t,r.hf(),1),zz(vEt(n.c,Zhe),21)),b2(new Sbt(Sst(Ux(Xoe,1),HWt,81,0,[])),l),JIt(t.c,r.gf(),new rI(o,l)))}return t.a}function lUt(t){var e;this.a=t,e=(cTt(),Sst(Ux(Ose,1),LKt,267,0,[Sse,Cse,Ese,Ise,Tse,Ase])).length,this.b=xH(fEe,[lKt,k3t],[593,146],0,[e,e],2),this.c=xH(fEe,[lKt,k3t],[593,146],0,[e,e],2),$V(this,Sse,(HZt(),Mwe),Dwe),nst(this,Sse,Cse,_we,Awe),jV(this,Sse,Ise,_we),jV(this,Sse,Ese,_we),nst(this,Sse,Tse,Mwe,Dwe),$V(this,Cse,vwe,xwe),jV(this,Cse,Ise,vwe),jV(this,Cse,Ese,vwe),nst(this,Cse,Tse,_we,Awe),JD(this,Ise,vwe),jV(this,Ise,Ese,vwe),jV(this,Ise,Tse,Cwe),JD(this,Ese,Nwe),nst(this,Ese,Tse,Iwe,Swe),$V(this,Tse,vwe,vwe),$V(this,Ase,vwe,xwe),nst(this,Ase,Sse,_we,Awe),nst(this,Ase,Tse,_we,Awe),nst(this,Ase,Cse,_we,Awe)}function hUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(aL(o=n.ak(),99)&&0!=(zz(o,18).Bb&qXt)&&(f=zz(n.dd(),49),(p=nht(t.e,f))!=f)){if(kL(t,e,lAt(t,e,l=J3(o,p))),h=null,yD(t.e)&&(i=zHt((MCt(),JOe),t.e.Tg(),o))!=iet(t.e.Tg(),t.c)){for(b=sPt(t.e.Tg(),o),s=0,a=zz(t.g,119),c=0;c<e;++c)r=a[c],b.rl(r.ak())&&++s;(h=new d4(t.e,9,i,f,p,s,!1)).Ei(new N9(t.e,9,t.c,n,l,e,!1))}return(d=Imt(g=zz(o,18)))?(h=f.ih(t.e,Ogt(f.Tg(),d),null,h),h=zz(p,49).gh(t.e,Ogt(p.Tg(),d),null,h)):0!=(g.Bb&h6t)&&(u=-1-Ogt(t.e.Tg(),g),h=f.ih(t.e,u,null,null),!zz(p,49).eh()&&(h=zz(p,49).gh(t.e,u,null,h))),h&&h.Fi(),l}return n}function fUt(t){var e,i,r,a,o,s,c,u;for(o=new Wd(t.a.b);o.a<o.c.c.length;)(a=zz(t0(o),81)).b.c=a.g.c,a.b.d=a.g.d;for(u=new PS(RXt,RXt),e=new PS(jXt,jXt),r=new Wd(t.a.b);r.a<r.c.c.length;)i=zz(t0(r),81),u.a=n.Math.min(u.a,i.g.c),u.b=n.Math.min(u.b,i.g.d),e.a=n.Math.max(e.a,i.g.c+i.g.b),e.b=n.Math.max(e.b,i.g.d+i.g.a);for(c=AZ(t.c).a.nc();c.Ob();)s=zz(c.Pb(),46),i=zz(s.b,81),u.a=n.Math.min(u.a,i.g.c),u.b=n.Math.min(u.b,i.g.d),e.a=n.Math.max(e.a,i.g.c+i.g.b),e.b=n.Math.max(e.b,i.g.d+i.g.a);t.d=HP(new PS(u.a,u.b)),t.e=ZF(new PS(e.a,e.b),u),t.a.a.c=P8(Ote,HWt,1,0,5,1),t.a.b.c=P8(Ote,HWt,1,0,5,1)}function dUt(t){var e,n,i;for(kut(fDe,Sst(Ux(jie,1),HWt,130,0,[new Lh])),n=new Af(t),i=0;i<n.a.length;++i)yR(e=ptt(n,i).je().a,"layered")?kut(fDe,Sst(Ux(jie,1),HWt,130,0,[new uh])):yR(e,"force")?kut(fDe,Sst(Ux(jie,1),HWt,130,0,[new Gl])):yR(e,"stress")?kut(fDe,Sst(Ux(jie,1),HWt,130,0,[new Zl])):yR(e,"mrtree")?kut(fDe,Sst(Ux(jie,1),HWt,130,0,[new Th])):yR(e,"radial")?kut(fDe,Sst(Ux(jie,1),HWt,130,0,[new yh])):yR(e,"disco")?kut(fDe,Sst(Ux(jie,1),HWt,130,0,[new Ul,new ql])):yR(e,"sporeOverlap")||yR(e,"sporeCompaction")?kut(fDe,Sst(Ux(jie,1),HWt,130,0,[new _h])):yR(e,"rectpacking")&&kut(fDe,Sst(Ux(jie,1),HWt,130,0,[new Ih]))}function gUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(f=new gD(t.o),w=e.a/f.a,s=e.b/f.b,p=e.a-f.a,a=e.b-f.b,n)for(r=UI(vEt(t,(HZt(),nwe)))===UI((V_t(),ZSe)),g=new Wd(t.j);g.a<g.c.c.length;)switch((d=zz(t0(g),11)).j.g){case 1:r||(d.n.a*=w);break;case 2:d.n.a+=p,r||(d.n.b*=s);break;case 3:r||(d.n.a*=w),d.n.b+=a;break;case 4:r||(d.n.b*=s)}for(u=new Wd(t.b);u.a<u.c.c.length;)l=(c=zz(t0(u),70)).n.a+c.o.a/2,h=c.n.b+c.o.b/2,(b=l/f.a)+(o=h/f.b)>=1&&(b-o>0&&h>=0?(c.n.a+=p,c.n.b+=a*o):b-o<0&&l>=0&&(c.n.a+=p*b,c.n.b+=a));t.o.a=e.a,t.o.b=e.b,hct(t,(HZt(),$be),(vpt(),new VR(i=zz(Kk(VIe),9),zz(TF(i,i.length),9),0)))}function pUt(t,e,n,i,r,a){if(null!=e&&Wdt(e,DDe,ODe))throw qw(new jv("invalid scheme: "+e));if(!(t||null!=n&&-1==UM(n,QAt(35))&&n.length>0&&(d1(0,n.length),47!=n.charCodeAt(0))))throw qw(new jv("invalid opaquePart: "+n));if(t&&(null==e||!PA(kDe,e.toLowerCase()))&&null!=n&&Wdt(n,LDe,NDe))throw qw(new jv(u7t+n));if(t&&null!=e&&PA(kDe,e.toLowerCase())&&!I_t(n))throw qw(new jv(u7t+n));if(!Zdt(i))throw qw(new jv("invalid device: "+i));if(!Rlt(r))throw qw(new jv(null==r?"invalid segments: null":"invalid segment: "+llt(r)));if(null!=a&&-1!=UM(a,QAt(35)))throw qw(new jv("invalid query: "+a))}function bUt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;for(DAt(e,"Calculate Graph Size",1),e.n&&t&&v0(e,c2(t),(qut(),sMe)),c=tJt,u=tJt,o=e4t,s=e4t,f=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));f.e!=f.i.gc();)p=(l=zz(kwt(f),33)).i,b=l.j,m=l.g,r=l.f,a=zz(tOt(l,(lWt(),OTe)),142),c=n.Math.min(c,p-a.b),u=n.Math.min(u,b-a.d),o=n.Math.max(o,p+m+a.c),s=n.Math.max(s,b+r+a.a);for(d=new PS(c-(g=zz(tOt(t,(lWt(),ZTe)),116)).b,u-g.d),h=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));h.e!=h.i.gc();)Snt(l=zz(kwt(h),33),l.i-d.a),Int(l,l.j-d.b);w=o-c+(g.b+g.c),i=s-u+(g.d+g.a),Cnt(t,w),Tnt(t,i),e.n&&t&&v0(e,c2(t),(qut(),sMe))}function wUt(t){var e,n,i,r,a,o,s,c,u,l;for(i=new Nw,o=new Wd(t.e.a);o.a<o.c.c.length;){for(l=0,(r=zz(t0(o),121)).k.c=P8(Ote,HWt,1,0,5,1),n=new Wd(kdt(r));n.a<n.c.c.length;)(e=zz(t0(n),213)).f&&(Wz(r.k,e),++l);1==l&&(i.c[i.c.length]=r)}for(a=new Wd(i);a.a<a.c.c.length;)for(r=zz(t0(a),121);1==r.k.c.length;){for(u=zz(t0(new Wd(r.k)),213),t.b[u.c]=u.g,s=u.d,c=u.e,n=new Wd(kdt(r));n.a<n.c.c.length;)Pht(e=zz(t0(n),213),u)||(e.f?s==e.d||c==e.e?t.b[u.c]-=t.b[e.c]-e.g:t.b[u.c]+=t.b[e.c]-e.g:r==s?e.d==r?t.b[u.c]+=e.g:t.b[u.c]-=e.g:e.d==r?t.b[u.c]-=e.g:t.b[u.c]+=e.g);v9(s.k,u),v9(c.k,u),r=s==r?u.e:u.d}}function mUt(t,e){var n,i,r,a,o,s,c,u,l,h,f;if(null==e||0==e.length)return null;if(!(a=zz(TQ(t.f,e),23))){for(r=new Rd(new Md(t.d).a.vc().Kc());r.a.Ob();)if(o=zz(r.a.Pb(),42),s=(n=zz(o.dd(),23)).f,f=e.length,yR(s.substr(s.length-f,f),e)&&(e.length==s.length||46==hK(s,s.length-e.length-1))){if(a)return null;a=n}if(!a)for(i=new Rd(new Md(t.d).a.vc().Kc());i.a.Ob();)if(o=zz(i.a.Pb(),42),null!=(h=(n=zz(o.dd(),23)).g))for(u=0,l=(c=h).length;u<l;++u)if(s=c[u],f=e.length,yR(s.substr(s.length-f,f),e)&&(e.length==s.length||46==hK(s,s.length-e.length-1))){if(a)return null;a=n}a&&yJ(t.f,e,a)}return a}function yUt(t,e){var n,i,r,a,o;for(n=new Ix,o=!1,a=0;a<e.length;a++)if(d1(a,e.length),32!=(i=e.charCodeAt(a)))o?39==i?a+1<e.length&&(d1(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+=String.fromCharCode(i),++a):o=!1:n.a+=String.fromCharCode(i):UM("GyMLdkHmsSEcDahKzZv",QAt(i))>0?(Swt(t,n,0),n.a+=String.fromCharCode(i),Swt(t,n,r=obt(e,a)),a+=r-1):39==i?a+1<e.length&&(d1(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+="'",++a):o=!0:n.a+=String.fromCharCode(i);else for(Swt(t,n,0),n.a+=" ",Swt(t,n,0);a+1<e.length&&(d1(a+1,e.length),32==e.charCodeAt(a+1));)++a;Swt(t,n,0),mAt(t)}function vUt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(DAt(i,"Network simplex layering",1),t.b=e,w=4*zz(vEt(e,(HZt(),Pwe)),19).a,(b=t.b.a).c.length<1)HTt(i);else{for(p=null,a=lwt(o=MRt(t,b),0);a.b!=a.d.c;){for(r=zz(d3(a),15),c=w*SQ(n.Math.sqrt(r.gc())),KRt(Xx(Qx(Vx(zj(s=ujt(r)),c),p),!0),vat(i,1)),f=t.b.b,g=new Wd(s.a);g.a<g.c.c.length;){for(d=zz(t0(g),121);f.c.length<=d.e;)xU(f,f.c.length,new qZ(t.b));CJ(zz(d.f,10),zz(PH(f,d.e),29))}if(o.b>1)for(p=P8(DNe,hXt,25,t.b.b.c.length,15,1),h=0,l=new Wd(t.b.b);l.a<l.c.c.length;)u=zz(t0(l),29),p[h++]=u.a.c.length}b.c=P8(Ote,HWt,1,0,5,1),t.a=null,t.b=null,t.c=null,HTt(i)}}function xUt(t){var e,i,r,a,o,s,c;for(e=0,o=new Wd(t.b.a);o.a<o.c.c.length;)(r=zz(t0(o),189)).b=0,r.c=0;for(ATt(t,0),igt(t,t.g),kNt(t.c),Jv(t.c),zht(),i=jCe,FRt(nM(TGt(FRt(nM(TGt(FRt(TGt(t.c,i)),_ft(i)))),i))),TGt(t.c,jCe),qft(t,t.g),kEt(t,0),mqt(t,0),TOt(t,1),ATt(t,1),igt(t,t.d),kNt(t.c),s=new Wd(t.b.a);s.a<s.c.c.length;)r=zz(t0(s),189),e+=n.Math.abs(r.c);for(c=new Wd(t.b.a);c.a<c.c.c.length;)(r=zz(t0(c),189)).b=0,r.c=0;for(i=qCe,FRt(nM(TGt(FRt(nM(TGt(FRt(Jv(TGt(t.c,i))),_ft(i)))),i))),TGt(t.c,jCe),qft(t,t.d),kEt(t,1),mqt(t,1),TOt(t,0),Jv(t.c),a=new Wd(t.b.a);a.a<a.c.c.length;)r=zz(t0(a),189),e+=n.Math.abs(r.c);return e}function kUt(t,e){var n,i,r,a,o,s,c,u,l;if(null!=(u=e).b&&null!=t.b){for(EOt(t),Uqt(t),EOt(u),Uqt(u),n=P8(DNe,hXt,25,t.b.length+u.b.length,15,1),l=0,i=0,o=0;i<t.b.length&&o<u.b.length;)if(r=t.b[i],a=t.b[i+1],s=u.b[o],c=u.b[o+1],a<s)i+=2;else if(a>=s&&r<=c)s<=r&&a<=c?(n[l++]=r,n[l++]=a,i+=2):s<=r?(n[l++]=r,n[l++]=c,t.b[i]=c+1,o+=2):a<=c?(n[l++]=s,n[l++]=a,i+=2):(n[l++]=s,n[l++]=c,t.b[i]=c+1);else{if(!(c<r))throw qw(new pv("Token#intersectRanges(): Internal Error: ["+t.b[i]+","+t.b[i+1]+"] & ["+u.b[o]+","+u.b[o+1]+"]"));o+=2}for(;i<t.b.length;)n[l++]=t.b[i++],n[l++]=t.b[i++];t.b=P8(DNe,hXt,25,l,15,1),sqt(n,0,t.b,0,l)}}function _Ut(t){var e,i,r,a,o,s,c;for(e=new Nw,t.g=new Nw,t.d=new Nw,s=new cut(new Cd(t.f.b).a);s.b;)Wz(e,zz(zz((o=nnt(s)).dd(),46).b,81)),pD(zz(o.cd(),594).gf())?Wz(t.d,zz(o.dd(),46)):Wz(t.g,zz(o.dd(),46));for(igt(t,t.d),igt(t,t.g),t.c=new lMt(t.b),nk(t.c,(mE(),Uoe)),qft(t,t.d),qft(t,t.g),wst(e,t.c.a.b),t.e=new PS(RXt,RXt),t.a=new PS(jXt,jXt),r=new Wd(e);r.a<r.c.c.length;)i=zz(t0(r),81),t.e.a=n.Math.min(t.e.a,i.g.c),t.e.b=n.Math.min(t.e.b,i.g.d),t.a.a=n.Math.max(t.a.a,i.g.c+i.g.b),t.a.b=n.Math.max(t.a.b,i.g.d+i.g.a);ek(t.c,new xe),c=0;do{a=xUt(t),++c}while((c<2||a>jKt)&&c<10);ek(t.c,new ke),xUt(t),IY(t.c),fUt(t.f)}function AUt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(Hv(AB(vEt(n,(HZt(),gbe)))))for(r=new Wd(n.j);r.a<r.c.c.length;)for(s=0,c=(o=J0(zz(t0(r),11).g)).length;s<c;++s)(a=o[s]).d.i==n&&Hv(AB(vEt(a,pbe)))&&(l=a.c,(u=zz(FZ(t.b,l),10))||(hct(u=gZt(l,(V_t(),XSe),l.j,-1,null,null,l.o,zz(vEt(e,Ype),103),e),(hWt(),pfe),l),KW(t.b,l,u),Wz(e.a,u)),f=a.d,(h=zz(FZ(t.b,f),10))||(hct(h=gZt(f,(V_t(),XSe),f.j,1,null,null,f.o,zz(vEt(e,Ype),103),e),(hWt(),pfe),f),KW(t.b,f,h),Wz(e.a,h)),TJ(i=W5(a),zz(PH(u.j,0),11)),EJ(i,zz(PH(h.j,0),11)),JIt(t.a,a,new Lj(i,e,(sit(),Hme))),zz(vEt(e,(hWt(),Jhe)),21).Fc((gBt(),fhe)))}function EUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(DAt(n,"Label dummy switching",1),i=zz(vEt(e,(HZt(),Kpe)),227),mat(e),r=_Ot(e,i),t.a=P8(PNe,UXt,25,e.b.c.length,15,1),LCt(),l=0,d=(s=Sst(Ux(sle,1),LKt,227,0,[Jue,ele,Que,tle,nle,Vue])).length;l<d;++l)if(((a=s[l])==nle||a==Vue||a==tle)&&!zz(TN(r.a,a)?r.b[a.g]:null,15).dc()){tot(t,e);break}for(h=0,g=(c=Sst(Ux(sle,1),LKt,227,0,[Jue,ele,Que,tle,nle,Vue])).length;h<g;++h)(a=c[h])==nle||a==Vue||a==tle||GRt(t,zz(TN(r.a,a)?r.b[a.g]:null,15));for(u=0,f=(o=Sst(Ux(sle,1),LKt,227,0,[Jue,ele,Que,tle,nle,Vue])).length;u<f;++u)((a=o[u])==nle||a==Vue||a==tle)&&GRt(t,zz(TN(r.a,a)?r.b[a.g]:null,15));t.a=null,HTt(n)}function TUt(t,e){var n,i,r,a,o,s,c,u,l,h,f;switch(t.k.g){case 1:if(i=zz(vEt(t,(hWt(),pfe)),17),(n=zz(vEt(i,bfe),74))?Hv(AB(vEt(i,Sfe)))&&(n=Jct(n)):n=new xy,u=zz(vEt(t,lfe),11)){if(e<=(l=Oct(Sst(Ux(CEe,1),lKt,8,0,[u.i.n,u.n,u.a]))).a)return l.b;r5(n,l,n.a,n.a.a)}if(h=zz(vEt(t,hfe),11)){if((f=Oct(Sst(Ux(CEe,1),lKt,8,0,[h.i.n,h.n,h.a]))).a<=e)return f.b;r5(n,f,n.c.b,n.c)}if(n.b>=2){for(o=zz(d3(c=lwt(n,0)),8),s=zz(d3(c),8);s.a<e&&c.b!=c.d.c;)o=s,s=zz(d3(c),8);return o.b+(e-o.a)/(s.a-o.a)*(s.b-o.b)}break;case 3:switch(r=(a=zz(vEt(zz(PH(t.j,0),11),(hWt(),pfe)),11)).i,a.j.g){case 1:return r.n.b;case 3:return r.n.b+r.o.b}}return zkt(t).b}function CUt(t){var e,n,i,r,a,o,s,c,u,h;for(a=new Wd(t.d.b);a.a<a.c.c.length;)for(s=new Wd(zz(t0(a),29).a);s.a<s.c.c.length;)!Hv(AB(vEt(o=zz(t0(s),10),(HZt(),Ape))))||l3(hdt(o))?(r=new YK(o.n.a-o.d.b,o.n.b-o.d.d,o.o.a+o.d.b+o.d.c,o.o.b+o.d.d+o.d.a),e=MN(iE(eE(nE(new Wm,o),r),pue),t.a),IN(tE(Wnt(new Zm,Sst(Ux(die,1),HWt,57,0,[e])),e),t.a),c=new Bw,KW(t.e,e,c),(n=$3(new cG(JL(fdt(o).a.Kc(),new l)))-$3(new cG(JL(ddt(o).a.Kc(),new l))))<0?Zst(c,!0,(zht(),jCe)):n>0&&Zst(c,!0,(zht(),$Ce)),o.k==(cTt(),Ese)&&gK(c),KW(t.f,o,e)):((u=(i=zz(iV(hdt(o)),17)).c.i)==o&&(u=i.d.i),h=new rI(u,ZF(zO(o.n),u.n)),KW(t.b,o,h))}function SUt(t,e,i){var r,a,o,s,c,u,l,h;switch(DAt(i,"Node promotion heuristic",1),t.g=e,xYt(t),t.q=zz(vEt(e,(HZt(),Tbe)),260),h=zz(vEt(t.g,Ebe),19).a,o=new li,t.q.g){case 2:case 1:default:$qt(t,o);break;case 3:for(t.q=(lNt(),Mme),$qt(t,o),u=0,c=new Wd(t.a);c.a<c.c.c.length;)s=zz(t0(c),19),u=n.Math.max(u,s.a);u>t.j&&(t.q=Ame,$qt(t,o));break;case 4:for(t.q=(lNt(),Mme),$qt(t,o),l=0,a=new Wd(t.b);a.a<a.c.c.length;)r=EB(t0(a)),l=n.Math.max(l,(xW(r),r));l>t.k&&(t.q=Cme,$qt(t,o));break;case 6:$qt(t,new cp(SQ(n.Math.ceil(t.f.length*h/100))));break;case 5:$qt(t,new up(SQ(n.Math.ceil(t.d*h/100))))}uBt(t,e),HTt(i)}function IUt(t,e,n){var i,r,a,o;this.j=t,this.e=U_t(t),this.o=this.j.e,this.i=!!this.o,this.p=this.i?zz(PH(n,mW(this.o).p),214):null,r=zz(vEt(t,(hWt(),Jhe)),21),this.g=r.Hc((gBt(),fhe)),this.b=new Nw,this.d=new ppt(this.e),o=zz(vEt(this.j,Tfe),230),this.q=Hot(e,o,this.e),this.k=new oJ(this),a=s6(Sst(Ux(kue,1),HWt,225,0,[this,this.d,this.k,this.q])),e!=(uit(),Mye)||Hv(AB(vEt(t,(HZt(),Ppe))))?e==Mye&&Hv(AB(vEt(t,(HZt(),Ppe))))?(i=new Z_t(this.e),a.c[a.c.length]=i,this.c=new mrt(i,o,zz(this.q,402))):this.c=new mC(e,this):(i=new Z_t(this.e),a.c[a.c.length]=i,this.c=new U2(i,o,zz(this.q,402))),Wz(a,this.c),Iqt(a,this.e),this.s=pZt(this.k)}function MUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;for(f=(u=zz(iL(new gb(lwt(new db(e).a.d,0))),86))?zz(vEt(u,(UHt(),axe)),86):null,r=1;u&&f;){for(o=0,m=0,n=u,i=f,a=0;a<r;a++)n=U8(n),i=U8(i),m+=Uv(EB(vEt(n,(UHt(),cxe)))),o+=Uv(EB(vEt(i,cxe)));if(w=Uv(EB(vEt(f,(UHt(),hxe)))),b=Uv(EB(vEt(u,hxe))),l=_5(u,f),0<(h=w+o+t.a+l-b-m)){for(s=e,c=0;s&&s!=i;)++c,s=zz(vEt(s,oxe),86);if(!s)return;for(p=h/c,s=e;s!=i;)g=Uv(EB(vEt(s,hxe)))+h,hct(s,hxe,g),d=Uv(EB(vEt(s,cxe)))+h,hct(s,cxe,d),h-=p,s=zz(vEt(s,oxe),86)}++r,f=(u=0==u.d.b?tjt(new db(e),r):zz(iL(new gb(lwt(new db(u).a.d,0))),86))?zz(vEt(u,axe),86):null}}function DUt(t,e){var n,i,r,a,o,s,c,u,h;for(s=!0,r=0,c=t.f[e.p],u=e.o.b+t.n,n=t.c[e.p][2],a5(t.a,c,rft(zz(PH(t.a,c),19).a-1+n)),a5(t.b,c,Uv(EB(PH(t.b,c)))-u+n*t.e),++c>=t.i?(++t.i,Wz(t.a,rft(1)),Wz(t.b,u)):(i=t.c[e.p][1],a5(t.a,c,rft(zz(PH(t.a,c),19).a+1-i)),a5(t.b,c,Uv(EB(PH(t.b,c)))+u-i*t.e)),(t.q==(lNt(),Ame)&&(zz(PH(t.a,c),19).a>t.j||zz(PH(t.a,c-1),19).a>t.j)||t.q==Cme&&(Uv(EB(PH(t.b,c)))>t.k||Uv(EB(PH(t.b,c-1)))>t.k))&&(s=!1),a=new cG(JL(fdt(e).a.Kc(),new l));bDt(a);)o=zz(Y5(a),17).c.i,t.f[o.p]==c&&(r+=zz((h=DUt(t,o)).a,19).a,s=s&&Hv(AB(h.b)));return t.f[e.p]=c,new rI(rft(r+=t.c[e.p][0]),(lN(),!!s))}function OUt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,m;for(f=new Pw,s=new Nw,aIt(t,i,t.d.fg(),s,f),aIt(t,r,t.d.gg(),s,f),t.b=.2*(b=qDt(gtt(new FH(null,new g1(s,16)),new Co)),w=qDt(gtt(new FH(null,new g1(s,16)),new So)),n.Math.min(b,w)),o=0,c=0;c<s.c.length-1;c++)for(f1(c,s.c.length),u=zz(s.c[c],112),p=c+1;p<s.c.length;p++)o+=wqt(t,u,(f1(p,s.c.length),zz(s.c[p],112)));for(d=zz(vEt(e,(hWt(),Tfe)),230),o>=2&&(m=VLt(s,!0,d),!t.e&&(t.e=new fb(t)),lbt(t.e,m,s,t.b)),rAt(s,d),oGt(s),g=-1,h=new Wd(s);h.a<h.c.c.length;)l=zz(t0(h),112),n.Math.abs(l.s-l.c)<dJt||(g=n.Math.max(g,l.o),t.d.dg(l,a,t.c));return t.d.a.a.$b(),g+1}function LUt(t,e){var n,i;Uv(EB(vEt(e,(HZt(),vwe))))<2&&hct(e,vwe,2),zz(vEt(e,Ype),103)==(zht(),zCe)&&hct(e,Ype,Kft(e)),0==(n=zz(vEt(e,gwe),19)).a?hct(e,(hWt(),Tfe),new ldt):hct(e,(hWt(),Tfe),new S4(n.a)),null==AB(vEt(e,Pbe))&&hct(e,Pbe,(lN(),UI(vEt(e,Jpe))===UI((Tdt(),XCe)))),QA(new FH(null,new g1(e.a,16)),new Fg(t)),QA(gtt(new FH(null,new g1(e.b,16)),new me),new Rg(t)),i=new lUt(e),hct(e,(hWt(),Dfe),i),l2(t.a),SY(t.a,(xEt(),Foe),zz(vEt(e,Upe),246)),SY(t.a,Roe,zz(vEt(e,Cbe),246)),SY(t.a,joe,zz(vEt(e,Hpe),246)),SY(t.a,$oe,zz(vEt(e,jbe),246)),SY(t.a,zoe,Cot(zz(vEt(e,Jpe),218))),oD(t.a,NZt(e)),hct(e,Efe,LHt(t.a,e))}function NUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;return f=t.c[e],d=t.c[n],!((g=zz(vEt(f,(hWt(),afe)),15))&&0!=g.gc()&&g.Hc(d)||(p=f.k!=(cTt(),Cse)&&d.k!=Cse,m=(b=zz(vEt(f,rfe),10))!=(w=zz(vEt(d,rfe),10)),y=!!b&&b!=f||!!w&&w!=d,v=uyt(f,(kYt(),uIe)),x=uyt(d,TIe),y|=uyt(f,TIe)||uyt(d,uIe),p&&(y&&m||v||x))||f.k==(cTt(),Ise)&&d.k==Sse||d.k==(cTt(),Ise)&&f.k==Sse)&&(l=t.c[e],a=t.c[n],r=fkt(t.e,l,a,(kYt(),SIe)),c=fkt(t.i,l,a,cIe),ENt(t.f,l,a),u=Put(t.b,l,a)+zz(r.a,19).a+zz(c.a,19).a+t.f.d,s=Put(t.b,a,l)+zz(r.b,19).a+zz(c.b,19).a+t.f.b,t.a&&(h=zz(vEt(l,pfe),11),o=zz(vEt(a,pfe),11),u+=zz((i=Uvt(t.g,h,o)).a,19).a,s+=zz(i.b,19).a),u>s)}function PUt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(i=zz(vEt(t,(HZt(),nwe)),98),s=t.f,o=t.d,c=s.a+o.b+o.c,u=0-o.d-t.c.b,h=s.b+o.d+o.a-t.c.b,l=new Nw,f=new Nw,a=new Wd(e);a.a<a.c.c.length;){switch(r=zz(t0(a),10),i.g){case 1:case 2:case 3:$Nt(r);break;case 4:g=(d=zz(vEt(r,twe),8))?d.a:0,r.n.a=c*Uv(EB(vEt(r,(hWt(),Afe))))-g,Jot(r,!0,!1);break;case 5:b=(p=zz(vEt(r,twe),8))?p.a:0,r.n.a=Uv(EB(vEt(r,(hWt(),Afe))))-b,Jot(r,!0,!1),s.a=n.Math.max(s.a,r.n.a+r.o.a/2)}switch(zz(vEt(r,(hWt(),Xhe)),61).g){case 1:r.n.b=u,l.c[l.c.length]=r;break;case 3:r.n.b=h,f.c[f.c.length]=r}}switch(i.g){case 1:case 2:Rht(l,t),Rht(f,t);break;case 3:jht(l,t),jht(f,t)}}function BUt(t,e){var n,i,r,a,o,s,c,u,l,h;for(l=new Nw,h=new Lw,a=null,r=0,i=0;i<e.length;++i)switch(Rut(a,n=e[i])&&(r=Ipt(t,h,l,Rye,r)),LP(n,(hWt(),rfe))&&(a=zz(vEt(n,rfe),10)),n.k.g){case 0:for(c=HD(Rz(sdt(n,(kYt(),uIe)),new Pa));trt(c);)o=zz(C9(c),11),t.d[o.p]=r++,l.c[l.c.length]=o;for(r=Ipt(t,h,l,Rye,r),u=HD(Rz(sdt(n,TIe),new Pa));trt(u);)o=zz(C9(u),11),t.d[o.p]=r++,l.c[l.c.length]=o;break;case 3:sdt(n,Fye).dc()||(o=zz(sdt(n,Fye).Xb(0),11),t.d[o.p]=r++,l.c[l.c.length]=o),sdt(n,Rye).dc()||p3(h,n);break;case 1:for(s=sdt(n,(kYt(),SIe)).Kc();s.Ob();)o=zz(s.Pb(),11),t.d[o.p]=r++,l.c[l.c.length]=o;sdt(n,cIe).Jc(new JC(h,n))}return Ipt(t,h,l,Rye,r),l}function FUt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;for(l=RXt,h=RXt,c=jXt,u=jXt,d=new Wd(e.i);d.a<d.c.c.length;)f=zz(t0(d),65),TD(a=zz(zz(FZ(t.g,f.a),46).b,33),f.b.c,f.b.d),l=n.Math.min(l,a.i),h=n.Math.min(h,a.j),c=n.Math.max(c,a.i+a.g),u=n.Math.max(u,a.j+a.f);for(g=zz(tOt(t.c,(TEt(),dAe)),116),jYt(t.c,c-l+(g.b+g.c),u-h+(g.d+g.a),!0,!0),dEt(t.c,-l+g.b,-h+g.d),r=new DL(iX(t.c));r.e!=r.i.gc();)s=oBt(i=zz(kwt(r),79),!0,!0),p=SEt(i),w=DEt(i),b=new PS(p.i+p.g/2,p.j+p.f/2),o=new PS(w.i+w.g/2,w.j+w.f/2),Zxt(m=ZF(new PS(o.a,o.b),b),p.g,p.f),YF(b,m),Zxt(y=ZF(new PS(b.a,b.b),o),w.g,w.f),YF(o,y),SD(s,b.a,b.b),CD(s,o.a,o.b)}function RUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;if(t.c=t.d,f=null==(d=AB(vEt(e,(HZt(),pwe))))||(xW(d),d),a=zz(vEt(e,(hWt(),Jhe)),21).Hc((gBt(),fhe)),n=!((r=zz(vEt(e,nwe),98))==(V_t(),YSe)||r==WSe||r==ZSe),!f||!n&&a)h=new Qv(Sst(Ux(kse,1),JJt,37,0,[e]));else{for(l=new Wd(e.a);l.a<l.c.c.length;)zz(t0(l),10).p=0;for(h=new Nw,u=new Wd(e.a);u.a<u.c.c.length;)if(i=Njt(t,zz(t0(u),10),null)){for(Uot(c=new vit,e),hct(c,Zhe,zz(i.b,21)),xX(c.d,e.d),hct(c,qbe,null),s=zz(i.a,15).Kc();s.Ob();)o=zz(s.Pb(),10),Wz(c.a,o),o.a=c;h.Fc(c)}a&&(UI(vEt(e,Spe))===UI((qht(),fse))?t.c=t.b:t.c=t.a)}return UI(vEt(e,Spe))!==UI((qht(),gse))&&(TX(),h.ad(new Ne)),h}function jUt(t){NE(t,new TAt(yk(pk(mk(gk(wk(bk(new bs,V3t),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new Po),Q3t),edt((hDt(),QMe))))),s2(t,V3t,VQt,Mxe),s2(t,V3t,yJt,20),s2(t,V3t,XQt,bJt),s2(t,V3t,mJt,rft(1)),s2(t,V3t,kJt,(lN(),!0)),s2(t,V3t,W2t,vwt(_xe)),s2(t,V3t,SJt,vwt(Exe)),s2(t,V3t,qJt,vwt(Txe)),s2(t,V3t,CJt,vwt(Cxe)),s2(t,V3t,IJt,vwt(Axe)),s2(t,V3t,TJt,vwt(Sxe)),s2(t,V3t,MJt,vwt(Dxe)),s2(t,V3t,W3t,vwt(Bxe)),s2(t,V3t,K3t,vwt(Lxe))}function $Ut(t){t.q||(t.q=!0,t.p=kot(t,0),t.a=kot(t,1),jrt(t.a,0),t.f=kot(t,2),jrt(t.f,1),Rrt(t.f,2),t.n=kot(t,3),Rrt(t.n,3),Rrt(t.n,4),Rrt(t.n,5),Rrt(t.n,6),t.g=kot(t,4),jrt(t.g,7),Rrt(t.g,8),t.c=kot(t,5),jrt(t.c,7),jrt(t.c,8),t.i=kot(t,6),jrt(t.i,9),jrt(t.i,10),jrt(t.i,11),jrt(t.i,12),Rrt(t.i,13),t.j=kot(t,7),jrt(t.j,9),t.d=kot(t,8),jrt(t.d,3),jrt(t.d,4),jrt(t.d,5),jrt(t.d,6),Rrt(t.d,7),Rrt(t.d,8),Rrt(t.d,9),Rrt(t.d,10),t.b=kot(t,9),Rrt(t.b,0),Rrt(t.b,1),t.e=kot(t,10),Rrt(t.e,1),Rrt(t.e,2),Rrt(t.e,3),Rrt(t.e,4),jrt(t.e,5),jrt(t.e,6),jrt(t.e,7),jrt(t.e,8),jrt(t.e,9),jrt(t.e,10),Rrt(t.e,11),t.k=kot(t,11),Rrt(t.k,0),Rrt(t.k,1),t.o=_ot(t,12),t.s=_ot(t,13))}function zUt(t,e){e.dc()&&nq(t.j,!0,!0,!0,!0),Pht(e,(kYt(),pIe))&&nq(t.j,!0,!0,!0,!1),Pht(e,lIe)&&nq(t.j,!1,!0,!0,!0),Pht(e,_Ie)&&nq(t.j,!0,!0,!1,!0),Pht(e,EIe)&&nq(t.j,!0,!1,!0,!0),Pht(e,bIe)&&nq(t.j,!1,!0,!0,!1),Pht(e,hIe)&&nq(t.j,!1,!0,!1,!0),Pht(e,AIe)&&nq(t.j,!0,!1,!1,!0),Pht(e,kIe)&&nq(t.j,!0,!1,!0,!1),Pht(e,vIe)&&nq(t.j,!0,!0,!0,!0),Pht(e,dIe)&&nq(t.j,!0,!0,!0,!0),Pht(e,vIe)&&nq(t.j,!0,!0,!0,!0),Pht(e,fIe)&&nq(t.j,!0,!0,!0,!0),Pht(e,xIe)&&nq(t.j,!0,!0,!0,!0),Pht(e,yIe)&&nq(t.j,!0,!0,!0,!0),Pht(e,mIe)&&nq(t.j,!0,!0,!0,!0)}function qUt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;for(a=new Nw,u=new Wd(i);u.a<u.c.c.length;)if(o=null,(s=zz(t0(u),441)).f==(sit(),Hme))for(g=new Wd(s.e);g.a<g.c.c.length;)mW(b=(d=zz(t0(g),17)).d.i)==e?Cet(t,e,s,d,s.b,d.d):!n||pot(b,n)?GEt(t,e,s,i,d):((f=Nqt(t,e,n,d,s.b,Hme,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f));else for(h=new Wd(s.e);h.a<h.c.c.length;)if(mW(p=(l=zz(t0(h),17)).c.i)==e)Cet(t,e,s,l,l.c,s.b);else{if(!n||pot(p,n))continue;(f=Nqt(t,e,n,l,s.b,qme,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f)}for(c=new Wd(a);c.a<c.c.c.length;)s=zz(t0(c),441),-1!=_9(e.a,s.a,0)||Wz(e.a,s.a),s.c&&(r.c[r.c.length]=s)}function HUt(t,e,n){var i,r,a,o,s,c,u,l;for(c=new Nw,s=new Wd(e.a);s.a<s.c.c.length;)for(l=sdt(zz(t0(s),10),(kYt(),cIe)).Kc();l.Ob();)for(r=new Wd(zz(l.Pb(),11).g);r.a<r.c.c.length;)!d5(i=zz(t0(r),17))&&i.c.i.c==i.d.i.c||d5(i)||i.d.i.c!=n||(c.c[c.c.length]=i);for(o=iot(n.a).Kc();o.Ob();)for(l=sdt(zz(o.Pb(),10),(kYt(),SIe)).Kc();l.Ob();)for(r=new Wd(zz(l.Pb(),11).e);r.a<r.c.c.length;)if((d5(i=zz(t0(r),17))||i.c.i.c!=i.d.i.c)&&!d5(i)&&i.c.i.c==e){for(CP((u=new E2(c,c.c.length)).b>0),a=zz(u.a.Xb(u.c=--u.b),17);a!=i&&u.b>0;)t.a[a.p]=!0,t.a[i.p]=!0,CP(u.b>0),a=zz(u.a.Xb(u.c=--u.b),17);u.b>0&&hW(u)}}function UUt(t,e,n){var i,r,a,o,s,c,u,l,h;if(t.a!=e.Aj())throw qw(new jv(b6t+e.ne()+w6t));if(i=Iht((MCt(),JOe),e).$k())return i.Aj().Nh().Ih(i,n);if(o=Iht(JOe,e).al()){if(null==n)return null;if((s=zz(n,15)).dc())return"";for(h=new Tx,a=s.Kc();a.Ob();)r=a.Pb(),aM(h,o.Aj().Nh().Ih(o,r)),h.a+=" ";return RM(h,h.a.length-1)}if(!(l=Iht(JOe,e).bl()).dc()){for(u=l.Kc();u.Ob();)if((c=zz(u.Pb(),148)).wj(n))try{if(null!=(h=c.Aj().Nh().Ih(c,n)))return h}catch(t){if(!aL(t=dst(t),102))throw qw(t)}throw qw(new jv("Invalid value: '"+n+"' for datatype :"+e.ne()))}return zz(e,834).Fj(),null==n?null:aL(n,172)?""+zz(n,172).a:nut(n)==vee?qO(IMe[0],zz(n,199)):qdt(n)}function GUt(t){var e,i,r,a,o,s,c,u,l;for(u=new VA,s=new VA,a=new Wd(t);a.a<a.c.c.length;)(i=zz(t0(a),128)).v=0,i.n=i.i.c.length,i.u=i.t.c.length,0==i.n&&r5(u,i,u.c.b,u.c),0==i.u&&0==i.r.a.gc()&&r5(s,i,s.c.b,s.c);for(o=-1;0!=u.b;)for(e=new Wd((i=zz(nxt(u,0),128)).t);e.a<e.c.c.length;)(l=zz(t0(e),268).b).v=n.Math.max(l.v,i.v+1),o=n.Math.max(o,l.v),--l.n,0==l.n&&r5(u,l,u.c.b,u.c);if(o>-1){for(r=lwt(s,0);r.b!=r.d.c;)(i=zz(d3(r),128)).v=o;for(;0!=s.b;)for(e=new Wd((i=zz(nxt(s,0),128)).i);e.a<e.c.c.length;)0==(c=zz(t0(e),268).a).r.a.gc()&&(c.v=n.Math.min(c.v,i.v-1),--c.u,0==c.u&&r5(s,c,s.c.b,s.c))}}function YUt(t,e,i,r,a){var o,s,c,u;return u=RXt,s=!1,o=!!(c=Yzt(t,ZF(new PS(e.a,e.b),t),YF(new PS(i.a,i.b),a),ZF(new PS(r.a,r.b),i)))&&!(n.Math.abs(c.a-t.a)<=l5t&&n.Math.abs(c.b-t.b)<=l5t||n.Math.abs(c.a-e.a)<=l5t&&n.Math.abs(c.b-e.b)<=l5t),(c=Yzt(t,ZF(new PS(e.a,e.b),t),i,a))&&((n.Math.abs(c.a-t.a)<=l5t&&n.Math.abs(c.b-t.b)<=l5t)==(n.Math.abs(c.a-e.a)<=l5t&&n.Math.abs(c.b-e.b)<=l5t)||o?u=n.Math.min(u,fW(ZF(c,i))):s=!0),(c=Yzt(t,ZF(new PS(e.a,e.b),t),r,a))&&(s||(n.Math.abs(c.a-t.a)<=l5t&&n.Math.abs(c.b-t.b)<=l5t)==(n.Math.abs(c.a-e.a)<=l5t&&n.Math.abs(c.b-e.b)<=l5t)||o)&&(u=n.Math.min(u,fW(ZF(c,r)))),u}function ZUt(t){NE(t,new TAt(pk(mk(gk(wk(bk(new bs,$Jt),zJt),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new pe),wJt))),s2(t,$Jt,_Jt,vwt(xoe)),s2(t,$Jt,EJt,(lN(),!0)),s2(t,$Jt,SJt,vwt(Aoe)),s2(t,$Jt,qJt,vwt(Eoe)),s2(t,$Jt,CJt,vwt(Toe)),s2(t,$Jt,IJt,vwt(_oe)),s2(t,$Jt,TJt,vwt(Coe)),s2(t,$Jt,MJt,vwt(Soe)),s2(t,$Jt,PJt,vwt(voe)),s2(t,$Jt,FJt,vwt(moe)),s2(t,$Jt,RJt,vwt(yoe)),s2(t,$Jt,jJt,vwt(koe)),s2(t,$Jt,BJt,vwt(woe))}function WUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(DAt(e,"Interactive crossing minimization",1),o=0,a=new Wd(t.b);a.a<a.c.c.length;)(i=zz(t0(a),29)).p=o++;for(p=new Fk((f=U_t(t)).length),Iqt(new Qv(Sst(Ux(kue,1),HWt,225,0,[p])),f),g=0,o=0,r=new Wd(t.b);r.a<r.c.c.length;){for(n=0,h=0,l=new Wd((i=zz(t0(r),29)).a);l.a<l.c.c.length;)for((c=zz(t0(l),10)).n.a>0&&(n+=c.n.a+c.o.a/2,++h),d=new Wd(c.j);d.a<d.c.c.length;)zz(t0(d),11).p=g++;for(h>0&&(n/=h),b=P8(PNe,UXt,25,i.a.c.length,15,1),s=0,u=new Wd(i.a);u.a<u.c.c.length;)(c=zz(t0(u),10)).p=s++,b[c.p]=TUt(c,n),c.k==(cTt(),Cse)&&hct(c,(hWt(),wfe),b[c.p]);TX(),yO(i.a,new Up(b)),ajt(p,f,o,!0),++o}HTt(e)}function KUt(t,e){var n,i,r,a,o,s,c,u,l;if(5!=e.e){if(null!=(u=e).b&&null!=t.b){for(EOt(t),Uqt(t),EOt(u),Uqt(u),n=P8(DNe,hXt,25,t.b.length+u.b.length,15,1),l=0,i=0,o=0;i<t.b.length&&o<u.b.length;)if(r=t.b[i],a=t.b[i+1],s=u.b[o],c=u.b[o+1],a<s)n[l++]=t.b[i++],n[l++]=t.b[i++];else if(a>=s&&r<=c)s<=r&&a<=c?i+=2:s<=r?(t.b[i]=c+1,o+=2):a<=c?(n[l++]=r,n[l++]=s-1,i+=2):(n[l++]=r,n[l++]=s-1,t.b[i]=c+1,o+=2);else{if(!(c<r))throw qw(new pv("Token#subtractRanges(): Internal Error: ["+t.b[i]+","+t.b[i+1]+"] - ["+u.b[o]+","+u.b[o+1]+"]"));o+=2}for(;i<t.b.length;)n[l++]=t.b[i++],n[l++]=t.b[i++];t.b=P8(DNe,hXt,25,l,15,1),sqt(n,0,t.b,0,l)}}else kUt(t,e)}function XUt(t){var e,n,i,r,a,o,s;if(!t.A.dc()){if(t.A.Hc((vpt(),RIe))&&(zz(cK(t.b,(kYt(),uIe)),124).k=!0,zz(cK(t.b,TIe),124).k=!0,e=t.q!=(V_t(),WSe)&&t.q!=ZSe,Nf(zz(cK(t.b,cIe),124),e),Nf(zz(cK(t.b,SIe),124),e),Nf(t.g,e),t.A.Hc(jIe)&&(zz(cK(t.b,uIe),124).j=!0,zz(cK(t.b,TIe),124).j=!0,zz(cK(t.b,cIe),124).k=!0,zz(cK(t.b,SIe),124).k=!0,t.g.k=!0)),t.A.Hc(FIe))for(t.a.j=!0,t.a.k=!0,t.g.j=!0,t.g.k=!0,s=t.B.Hc((ejt(),ZIe)),a=0,o=(r=nwt()).length;a<o;++a)i=r[a],(n=zz(cK(t.i,i),306))&&(sbt(i)?(n.j=!0,n.k=!0):(n.j=!s,n.k=!s));t.A.Hc(BIe)&&t.B.Hc((ejt(),YIe))&&(t.g.j=!0,t.g.j=!0,t.a.j||(t.a.j=!0,t.a.k=!0,t.a.e=!0))}}function VUt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;for(n=new Wd(t.e.b);n.a<n.c.c.length;)for(r=new Wd(zz(t0(n),29).a);r.a<r.c.c.length;)if(i=zz(t0(r),10),c=(h=t.i[i.p]).a.e,s=h.d.e,i.n.b=c,p=s-c-i.o.b,e=Oqt(i),gmt(),l=(i.q?i.q:(TX(),TX(),hne))._b((HZt(),Fbe))?zz(vEt(i,Fbe),197):zz(vEt(mW(i),Rbe),197),e&&(l==hme||l==lme)&&(i.o.b+=p),e&&(l==dme||l==hme||l==lme)){for(d=new Wd(i.j);d.a<d.c.c.length;)f=zz(t0(d),11),(kYt(),dIe).Hc(f.j)&&(u=zz(FZ(t.k,f),121),f.n.b=u.e-c);for(o=new Wd(i.b);o.a<o.c.c.length;)a=zz(t0(o),70),(g=zz(vEt(i,Obe),21)).Hc((eOt(),NSe))?a.n.b+=p:g.Hc(PSe)&&(a.n.b+=p/2);(l==hme||l==lme)&&sdt(i,(kYt(),TIe)).Jc(new ob(p))}}function QUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(!t.b)return!1;for(o=null,f=null,r=1,(c=new q8(null,null)).a[1]=t.b,h=c;h.a[r];)u=r,s=f,f=h,h=h.a[r],r=(i=t.a.ue(e,h.d))<0?0:1,0==i&&(!n.c||aK(h.e,n.d))&&(o=h),h&&h.b||Kv(h.a[r])||(Kv(h.a[1-r])?f=f.a[u]=prt(h,r):Kv(h.a[1-r])||(d=f.a[1-u])&&(Kv(d.a[1-u])||Kv(d.a[u])?(a=s.a[1]==f?1:0,Kv(d.a[u])?s.a[a]=r2(f,u):Kv(d.a[1-u])&&(s.a[a]=prt(f,u)),h.b=s.a[a].b=!0,s.a[a].a[0].b=!1,s.a[a].a[1].b=!1):(f.b=!1,d.b=!0,h.b=!0)));return o&&(n.b=!0,n.d=o.e,h!=o&&(gEt(t,c,o,l=new q8(h.d,h.e)),f==o&&(f=l)),f.a[f.a[1]==h?1:0]=h.a[h.a[0]?0:1],--t.c),t.b=c.a[1],t.b&&(t.b.b=!1),n.b}function JUt(t){var e,i,r,a,o,s,c,u,l,h,f,d;for(a=new Wd(t.a.a.b);a.a<a.c.c.length;)for(u=(r=zz(t0(a),57)).c.Kc();u.Ob();)c=zz(u.Pb(),57),r.a!=c.a&&(f=pD(t.a.d)?t.a.g.Oe(r,c):t.a.g.Pe(r,c),o=r.b.a+r.d.b+f-c.b.a,o=n.Math.ceil(o),o=n.Math.max(0,o),J9(r,c)?(s=DN(new Hm,t.d),e=(l=SQ(n.Math.ceil(c.b.a-r.b.a)))-(c.b.a-r.b.a),i=r,(h=h3(r).a)||(h=h3(c).a,e=-e,i=c),h&&(i.b.a-=e,h.n.a-=e),ZNt(oE(aE(sE(rE(new qm,n.Math.max(0,l)),1),s),t.c[r.a.d])),ZNt(oE(aE(sE(rE(new qm,n.Math.max(0,-l)),1),s),t.c[c.a.d]))):(d=1,(aL(r.g,145)&&aL(c.g,10)||aL(c.g,145)&&aL(r.g,10))&&(d=2),ZNt(oE(aE(sE(rE(new qm,SQ(o)),d),t.c[r.a.d]),t.c[c.a.d]))))}function tGt(t,e,i){var r,a,o,s,c,u,l,h,f,d;if(i)for(r=-1,h=new E2(e,0);h.b<h.d.gc();){if(CP(h.b<h.d.gc()),c=zz(h.d.Xb(h.c=h.b++),10),null==(f=t.c[c.c.p][c.p].a)){for(s=r+1,o=new E2(e,h.b);o.b<o.d.gc();)if(null!=(d=gL(t,(CP(o.b<o.d.gc()),zz(o.d.Xb(o.c=o.b++),10))).a)){xW(d),s=d;break}f=(r+s)/2,t.c[c.c.p][c.p].a=f,t.c[c.c.p][c.p].d=(xW(f),f),t.c[c.c.p][c.p].b=1}xW(f),r=f}else{for(a=0,l=new Wd(e);l.a<l.c.c.length;)c=zz(t0(l),10),null!=t.c[c.c.p][c.p].a&&(a=n.Math.max(a,Uv(t.c[c.c.p][c.p].a)));for(a+=2,u=new Wd(e);u.a<u.c.c.length;)c=zz(t0(u),10),null==t.c[c.c.p][c.p].a&&(f=HOt(t.i,24)*cVt*a-1,t.c[c.c.p][c.p].a=f,t.c[c.c.p][c.p].d=f,t.c[c.c.p][c.p].b=1)}}function eGt(){FM(zDe,new eu),FM(RDe,new fu),FM(HDe,new _u),FM(qDe,new Iu),FM(UDe,new Mu),FM(ZDe,new Du),FM(WDe,new Ou),FM(qMe,new Lu),FM(zMe,new Gc),FM(HMe,new Yc),FM(LMe,new Zc),FM(XDe,new Wc),FM(UMe,new Kc),FM(VDe,new Xc),FM(QDe,new Vc),FM($De,new Qc),FM(jDe,new Jc),FM(ZOe,new tu),FM(KDe,new nu),FM(MOe,new iu),FM(kee,new ru),FM(Ux(NNe,1),new au),FM(Eee,new ou),FM(Cee,new su),FM(vee,new cu),FM(jNe,new uu),FM(See,new lu),FM(sDe,new hu),FM(vDe,new du),FM(cLe,new gu),FM(OOe,new pu),FM(Iee,new bu),FM(Oee,new wu),FM(Lte,new mu),FM(Ree,new yu),FM(Pte,new vu),FM(iLe,new xu),FM($Ne,new ku),FM($ee,new Au),FM(Vee,new Eu),FM(uDe,new Tu),FM(zNe,new Cu)}function nGt(t,e,n){var i,r,a,o,s,c,u,l,h;for(!n&&(n=Gst(e.q.getTimezoneOffset())),r=6e4*(e.q.getTimezoneOffset()-n.a),c=s=new CB(adt(fot(e.q.getTime()),r)),s.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,c=new CB(adt(fot(e.q.getTime()),r))),l=new Ix,u=t.a.length,a=0;a<u;)if((i=hK(t.a,a))>=97&&i<=122||i>=65&&i<=90){for(o=a+1;o<u&&hK(t.a,o)==i;++o);sWt(l,i,o-a,s,c,n),a=o}else if(39==i){if(++a<u&&39==hK(t.a,a)){l.a+="'",++a;continue}for(h=!1;!h;){for(o=a;o<u&&39!=hK(t.a,o);)++o;if(o>=u)throw qw(new jv("Missing trailing '"));o+1<u&&39==hK(t.a,o+1)?++o:h=!0,cM(l,hP(t.a,a,o)),a=o+1}}else l.a+=String.fromCharCode(i),++a;return l.a}function iGt(t){var e,n,i,r,a,o,s,c;for(e=null,i=new Wd(t);i.a<i.c.c.length;)Uv(fL((n=zz(t0(i),233)).g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&0==n.c&&(!e&&(e=new Nw),e.c[e.c.length]=n);if(e)for(;0!=e.c.length;){if((n=zz(u6(e,0),233)).b&&n.b.c.length>0)for(!n.b&&(n.b=new Nw),a=new Wd(n.b);a.a<a.c.c.length;)if(Gv(fL((r=zz(t0(a),233)).g,r.d[0]).a)==Gv(fL(n.g,n.d[0]).a)){if(_9(t,r,0)>_9(t,n,0))return new rI(r,n)}else if(Uv(fL(r.g,r.d[0]).a)>Uv(fL(n.g,n.d[0]).a))return new rI(r,n);for(s=(!n.e&&(n.e=new Nw),n.e).Kc();s.Ob();)!(o=zz(s.Pb(),233)).b&&(o.b=new Nw),LJ(0,(c=o.b).c.length),ET(c.c,0,n),o.c==c.c.length&&(e.c[e.c.length]=o)}return null}function rGt(t,e){var n,i,r,a,o,s;if(null==t)return YWt;if(null!=e.a.zc(t,e))return"[...]";for(n=new Lot(zWt,"[","]"),a=0,o=(r=t).length;a<o;++a)null!=(i=r[a])&&0!=(4&nut(i).i)?!Array.isArray(i)||(s=mtt(i))>=14&&s<=16?aL(i,177)?d6(n,RSt(zz(i,177))):aL(i,190)?d6(n,J_t(zz(i,190))):aL(i,195)?d6(n,kTt(zz(i,195))):aL(i,2012)?d6(n,tAt(zz(i,2012))):aL(i,48)?d6(n,FSt(zz(i,48))):aL(i,364)?d6(n,wIt(zz(i,364))):aL(i,832)?d6(n,BSt(zz(i,832))):aL(i,104)&&d6(n,PSt(zz(i,104))):e.a._b(i)?(n.a?cM(n.a,n.b):n.a=new fN(n.d),oM(n.a,"[...]")):d6(n,rGt(int(i),new OH(e))):d6(n,null==i?YWt:qdt(i));return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function aGt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;for(g=UTt(oBt(e,!1,!1)),r&&(g=Jct(g)),b=Uv(EB(tOt(e,(Awt(),wae)))),CP(0!=g.b),d=zz(g.a.a.c,8),l=zz(Fwt(g,1),8),g.b>2?(wst(u=new Nw,new u1(g,1,g.b)),Uot(p=new ADt(WZt(u,b+t.a)),e),i.c[i.c.length]=p):p=zz(FZ(t.b,r?SEt(e):DEt(e)),266),s=SEt(e),r&&(s=DEt(e)),o=rCt(d,s),c=b+t.a,o.a?(c+=n.Math.abs(d.b-l.b),f=new PS(l.a,(l.b+d.b)/2)):(c+=n.Math.abs(d.a-l.a),f=new PS((l.a+d.a)/2,l.b)),KW(r?t.d:t.c,e,new Myt(p,o,f,c)),KW(t.b,e,p),!e.n&&(e.n=new nY(GMe,e,1,7)),h=new DL(e.n);h.e!=h.i.gc();)a=JFt(t,zz(kwt(h),137),!0,0,0),i.c[i.c.length]=a}function oGt(t){var e,i,r,a,o,s,c,u,l;for(u=new Nw,s=new Nw,o=new Wd(t);o.a<o.c.c.length;)Kf(r=zz(t0(o),112),r.f.c.length),Xf(r,r.k.c.length),0==r.d&&(u.c[u.c.length]=r),0==r.i&&0==r.e.b&&(s.c[s.c.length]=r);for(i=-1;0!=u.c.length;)for(e=new Wd((r=zz(u6(u,0),112)).k);e.a<e.c.c.length;)Vf(l=zz(t0(e),129).b,n.Math.max(l.o,r.o+1)),i=n.Math.max(i,l.o),Kf(l,l.d-1),0==l.d&&(u.c[u.c.length]=l);if(i>-1){for(a=new Wd(s);a.a<a.c.c.length;)(r=zz(t0(a),112)).o=i;for(;0!=s.c.length;)for(e=new Wd((r=zz(u6(s,0),112)).f);e.a<e.c.c.length;)(c=zz(t0(e),129).a).e.b>0||(Vf(c,n.Math.min(c.o,r.o-1)),Xf(c,c.i-1),0==c.i&&(s.c[s.c.length]=c))}}function sGt(t,e,n){var i,r,a,o,s;if(s=t.c,!e&&(e=LOe),t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&(o=new tY(t,1,2,s,t.c),n?n.Ei(o):n=o),s!=e)if(aL(t.Cb,284))t.Db>>16==-10?n=zz(t.Cb,284).nk(e,n):t.Db>>16==-15&&(!e&&(wWt(),e=fOe),!s&&(wWt(),s=fOe),t.Cb.nh()&&(o=new N9(t.Cb,1,13,s,e,cmt(q9(zz(t.Cb,59)),t),!1),n?n.Ei(o):n=o));else if(aL(t.Cb,88))t.Db>>16==-23&&(aL(e,88)||(wWt(),e=pOe),aL(s,88)||(wWt(),s=pOe),t.Cb.nh()&&(o=new N9(t.Cb,1,10,s,e,cmt(o4(zz(t.Cb,26)),t),!1),n?n.Ei(o):n=o));else if(aL(t.Cb,444))for(!(a=zz(t.Cb,836)).b&&(a.b=new Aw(new Py)),r=new Ew(new cut(new Cd(a.b.a).a));r.a.b;)n=sGt(i=zz(nnt(r.a).cd(),87),kLt(i,a),n);return n}function cGt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(o=Hv(AB(tOt(t,(HZt(),gbe)))),f=zz(tOt(t,awe),21),c=!1,u=!1,h=new DL((!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c));!(h.e==h.i.gc()||c&&u);){for(a=zz(kwt(h),118),s=0,r=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[(!a.d&&(a.d=new lR(jMe,a,8,5)),a.d),(!a.e&&(a.e=new lR(jMe,a,7,4)),a.e)])));bDt(r)&&(i=zz(Y5(r),79),l=o&&VIt(i)&&Hv(AB(tOt(i,pbe))),n=gHt((!i.b&&(i.b=new lR(RMe,i,4,7)),i.b),a)?t==QQ(SAt(zz(Ket((!i.c&&(i.c=new lR(RMe,i,5,8)),i.c),0),82))):t==QQ(SAt(zz(Ket((!i.b&&(i.b=new lR(RMe,i,4,7)),i.b),0),82))),!((l||n)&&++s>1)););(s>0||f.Hc((dIt(),nIe))&&(!a.n&&(a.n=new nY(GMe,a,1,7)),a.n).i>0)&&(c=!0),s>1&&(u=!0)}c&&e.Fc((gBt(),fhe)),u&&e.Fc((gBt(),dhe))}function uGt(t){var e,i,r,a,o,s,c,u,l,h,f,d;if((d=zz(tOt(t,(lWt(),RTe)),21)).dc())return null;if(c=0,s=0,d.Hc((vpt(),RIe))){for(h=zz(tOt(t,sCe),98),r=2,i=2,a=2,o=2,e=QQ(t)?zz(tOt(QQ(t),dTe),103):zz(tOt(t,dTe),103),l=new DL((!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c));l.e!=l.i.gc();)if(u=zz(kwt(l),118),(f=zz(tOt(u,gCe),61))==(kYt(),CIe)&&(f=D$t(u,e),Qwt(u,gCe,f)),h==(V_t(),ZSe))switch(f.g){case 1:r=n.Math.max(r,u.i+u.g);break;case 2:i=n.Math.max(i,u.j+u.f);break;case 3:a=n.Math.max(a,u.i+u.g);break;case 4:o=n.Math.max(o,u.j+u.f)}else switch(f.g){case 1:r+=u.g+2;break;case 2:i+=u.f+2;break;case 3:a+=u.g+2;break;case 4:o+=u.f+2}c=n.Math.max(r,a),s=n.Math.max(i,o)}return jYt(t,c,s,!0,!0)}function lGt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;for(y=zz(C4(xet(DK(new FH(null,new g1(e.d,16)),new Op(i)),new Lp(i)),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15),f=FWt,h=$Kt,u=new Wd(e.b.j);u.a<u.c.c.length;)(c=zz(t0(u),11)).j==i&&(f=n.Math.min(f,c.p),h=n.Math.max(h,c.p));if(f==FWt)for(s=0;s<y.gc();s++)b7(zz(y.Xb(s),101),i,s);else for(JH(v=P8(DNe,hXt,25,a.length,15,1),v.length),m=y.Kc();m.Ob();){for(w=zz(m.Pb(),101),o=zz(FZ(t.b,w),177),l=0,b=f;b<=h;b++)o[b]&&(l=n.Math.max(l,r[b]));if(w.i){for(g=w.i.c,x=new Fm,d=0;d<a.length;d++)a[g][d]&&AY(x,rft(v[d]));for(;$A(x,rft(l));)++l}for(b7(w,i,l),p=f;p<=h;p++)o[p]&&(r[p]=l+1);w.i&&(v[w.i.c]=l)}}function hGt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p;for(a=null,r=new Wd(e.a);r.a<r.c.c.length;)Oqt(i=zz(t0(r),10))?(l=new UK(i,!0,c=DN(cE(new Hm,i),t.f),u=DN(cE(new Hm,i),t.f)),h=i.o.b,gmt(),d=1e4,(f=(i.q?i.q:(TX(),TX(),hne))._b((HZt(),Fbe))?zz(vEt(i,Fbe),197):zz(vEt(mW(i),Rbe),197))==lme&&(d=1),g=ZNt(oE(aE(rE(sE(new qm,d),SQ(n.Math.ceil(h))),c),u)),f==hme&&AY(t.d,g),Djt(t,iot(sdt(i,(kYt(),SIe))),l),Djt(t,sdt(i,cIe),l),o=l):(p=DN(cE(new Hm,i),t.f),QA(DK(new FH(null,new g1(i.j,16)),new za),new eS(t,p)),o=new UK(i,!1,p,p)),t.i[i.p]=o,a&&(s=a.c.d.a+RO(t.n,a.c,i)+i.d.d,a.b||(s+=a.c.o.b),ZNt(oE(aE(sE(rE(new qm,SQ(n.Math.ceil(s))),0),a.d),o.a))),a=o}function fGt(t,e){var i,r,a,o,s,c,u,h,f,d,g,p,b;for(DAt(e,"Label dummy insertions",1),d=new Nw,s=Uv(EB(vEt(t,(HZt(),kwe)))),h=Uv(EB(vEt(t,Twe))),f=zz(vEt(t,Ype),103),g=new Wd(t.a);g.a<g.c.c.length;)for(o=new cG(JL(ddt(zz(t0(g),10)).a.Kc(),new l));bDt(o);)if((a=zz(Y5(o),17)).c.i!=a.d.i&&eL(a.b,tue)){for(i=uLt(t,a,b=Aet(a),p=uP(a.b.c.length)),d.c[d.c.length]=i,r=i.o,c=new E2(a.b,0);c.b<c.d.gc();)CP(c.b<c.d.gc()),UI(vEt(u=zz(c.d.Xb(c.c=c.b++),70),Vpe))===UI((Ret(),GCe))&&(f==(zht(),qCe)||f==RCe?(r.a+=u.o.a+h,r.b=n.Math.max(r.b,u.o.b)):(r.a=n.Math.max(r.a,u.o.a),r.b+=u.o.b+h),p.c[p.c.length]=u,hW(c));f==(zht(),qCe)||f==RCe?(r.a-=h,r.b+=s+b):r.b+=s-h+b}wst(t.a,d),HTt(e)}function dGt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g;for(f=WBt(t,e,o=new bMt(e)),g=n.Math.max(Uv(EB(vEt(e,(HZt(),obe)))),1),h=new Wd(f.a);h.a<h.c.c.length;)l=zz(t0(h),46),u=qbt(zz(l.a,8),zz(l.b,8),g),Gq(i,new PS(u.c,u.d)),Gq(i,jP(new PS(u.c,u.d),u.b,0)),Gq(i,jP(new PS(u.c,u.d),0,u.a)),Gq(i,jP(new PS(u.c,u.d),u.b,u.a));switch(d=o.d,c=qbt(zz(f.b.a,8),zz(f.b.b,8),g),d==(kYt(),SIe)||d==cIe?(r.c[d.g]=n.Math.min(r.c[d.g],c.d),r.b[d.g]=n.Math.max(r.b[d.g],c.d+c.a)):(r.c[d.g]=n.Math.min(r.c[d.g],c.c),r.b[d.g]=n.Math.max(r.b[d.g],c.c+c.b)),a=jXt,s=o.c.i.d,d.g){case 4:a=s.c;break;case 2:a=s.b;break;case 1:a=s.a;break;case 3:a=s.d}return r.a[d.g]=n.Math.max(r.a[d.g],a),o}function gGt(t){var e,n,i,r;if(-1!=(e=UM(n=null!=t.D?t.D:t.B,QAt(91)))){i=n.substr(0,e),r=new Tx;do{r.a+="["}while(-1!=(e=fP(n,91,++e)));yR(i,LWt)?r.a+="Z":yR(i,C7t)?r.a+="B":yR(i,S7t)?r.a+="C":yR(i,I7t)?r.a+="D":yR(i,M7t)?r.a+="F":yR(i,D7t)?r.a+="I":yR(i,O7t)?r.a+="J":yR(i,L7t)?r.a+="S":(r.a+="L",r.a+=""+i,r.a+=";");try{return null}catch(t){if(!aL(t=dst(t),60))throw qw(t)}}else if(-1==UM(n,QAt(46))){if(yR(n,LWt))return ONe;if(yR(n,C7t))return NNe;if(yR(n,S7t))return MNe;if(yR(n,I7t))return PNe;if(yR(n,M7t))return BNe;if(yR(n,D7t))return DNe;if(yR(n,O7t))return LNe;if(yR(n,L7t))return FNe}return null}function pGt(t,e,n){var i,r,a,o,s,c,u,l;for(Uot(u=new Lmt(n),e),hct(u,(hWt(),pfe),e),u.o.a=e.g,u.o.b=e.f,u.n.a=e.i,u.n.b=e.j,Wz(n.a,u),KW(t.a,e,u),(0!=(!e.a&&(e.a=new nY(YMe,e,10,11)),e.a).i||Hv(AB(tOt(e,(HZt(),gbe)))))&&hct(u,jhe,(lN(),!0)),c=zz(vEt(n,Jhe),21),(l=zz(vEt(u,(HZt(),nwe)),98))==(V_t(),VSe)?hct(u,nwe,XSe):l!=XSe&&c.Fc((gBt(),phe)),i=zz(vEt(n,Ype),103),s=new DL((!e.c&&(e.c=new nY(ZMe,e,9,9)),e.c));s.e!=s.i.gc();)Hv(AB(tOt(o=zz(kwt(s),118),Ube)))||tYt(t,o,u,c,i,l);for(a=new DL((!e.n&&(e.n=new nY(GMe,e,1,7)),e.n));a.e!=a.i.gc();)!Hv(AB(tOt(r=zz(kwt(a),137),Ube)))&&r.a&&Wz(u.b,Hlt(r));return Hv(AB(vEt(u,Ape)))&&c.Fc((gBt(),lhe)),Hv(AB(vEt(u,dbe)))&&(c.Fc((gBt(),ghe)),c.Fc(dhe),hct(u,nwe,XSe)),u}function bGt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A;s=zz(FZ(e.c,t),459),b=e.a.c,c=e.a.c+e.a.b,o=(_=s.f)<(A=s.a),d=new PS(b,_),w=new PS(c,A),g=new PS(r=(b+c)/2,_),m=new PS(r,A),a=iNt(t,_,A),v=b1(e.B),x=new PS(r,a),k=b1(e.D),n=dct(Sst(Ux(CEe,1),lKt,8,0,[v,x,k])),h=!1,(p=e.B.i)&&p.c&&s.d&&((u=o&&p.p<p.c.a.c.length-1||!o&&p.p>0)?u&&(l=p.p,o?++l:--l,h=!(oNt(i=rct(zz(PH(p.c.a,l),10)),v,n[0])||zG(i,v,n[0]))):h=!0),f=!1,(y=e.D.i)&&y.c&&s.e&&(o&&y.p>0||!o&&y.p<y.c.a.c.length-1?(l=y.p,o?--l:++l,f=!(oNt(i=rct(zz(PH(y.c.a,l),10)),n[0],k)||zG(i,n[0],k))):f=!0),h&&f&&Bq(t.a,x),h||eit(t.a,Sst(Ux(CEe,1),lKt,8,0,[d,g])),f||eit(t.a,Sst(Ux(CEe,1),lKt,8,0,[m,w]))}function wGt(t,e){var n,i,r,a,o,s,c;if(aL(t.Ug(),160)?(wGt(zz(t.Ug(),160),e),e.a+=" > "):e.a+="Root ",yR((n=t.Tg().zb).substr(0,3),"Elk")?cM(e,n.substr(3)):e.a+=""+n,r=t.zg())cM((e.a+=" ",e),r);else if(aL(t,354)&&(c=zz(t,137).a))cM((e.a+=" ",e),c);else{for(a=new DL(t.Ag());a.e!=a.i.gc();)if(c=zz(kwt(a),137).a)return void cM((e.a+=" ",e),c);if(aL(t,352)&&(!(i=zz(t,79)).b&&(i.b=new lR(RMe,i,4,7)),0!=i.b.i&&(!i.c&&(i.c=new lR(RMe,i,5,8)),0!=i.c.i))){for(e.a+=" (",o=new aP((!i.b&&(i.b=new lR(RMe,i,4,7)),i.b));o.e!=o.i.gc();)o.e>0&&(e.a+=zWt),wGt(zz(kwt(o),160),e);for(e.a+=i1t,s=new aP((!i.c&&(i.c=new lR(RMe,i,5,8)),i.c));s.e!=s.i.gc();)s.e>0&&(e.a+=zWt),wGt(zz(kwt(s),160),e);e.a+=")"}}}function mGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(a=zz(vEt(t,(hWt(),pfe)),79)){for(i=t.a,YF(r=new gD(n),Lkt(t)),pot(t.d.i,t.c.i)?(f=t.c,ZF(h=Oct(Sst(Ux(CEe,1),lKt,8,0,[f.n,f.a])),n)):h=b1(t.c),r5(i,h,i.a,i.a.a),d=b1(t.d),null!=vEt(t,Ffe)&&YF(d,zz(vEt(t,Ffe),8)),r5(i,d,i.c.b,i.c),tnt(i,r),Nit(o=oBt(a,!0,!0),zz(Ket((!a.b&&(a.b=new lR(RMe,a,4,7)),a.b),0),82)),Pit(o,zz(Ket((!a.c&&(a.c=new lR(RMe,a,5,8)),a.c),0),82)),X$t(i,o),l=new Wd(t.b);l.a<l.c.c.length;)u=zz(t0(l),70),Cnt(s=zz(vEt(u,pfe),137),u.o.a),Tnt(s,u.o.b),TD(s,u.n.a+r.a,u.n.b+r.b),Qwt(s,(Mrt(),eue),AB(vEt(u,eue)));(c=zz(vEt(t,(HZt(),mbe)),74))?(tnt(c,r),Qwt(a,mbe,c)):Qwt(a,mbe,null),e==(Tdt(),QCe)?Qwt(a,Jpe,QCe):Qwt(a,Jpe,null)}}function yGt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;for(d=e.c.length,f=0,h=new Wd(t.b);h.a<h.c.c.length;)if(0!=(w=(l=zz(t0(h),29)).a).c.length){for(u=0,m=null,r=zz(t0(b=new Wd(w)),10),a=null;r;){if((a=zz(PH(e,r.p),257)).c>=0){for(c=null,s=new E2(l.a,u+1);s.b<s.d.gc()&&(CP(s.b<s.d.gc()),o=zz(s.d.Xb(s.c=s.b++),10),!((c=zz(PH(e,o.p),257)).d==a.d&&c.c<a.c));)c=null;c&&(m&&(a5(i,r.p,rft(zz(PH(i,r.p),19).a-1)),zz(PH(n,m.p),15).Mc(a)),a=pAt(a,r,d++),e.c[e.c.length]=a,Wz(n,new Nw),m?(zz(PH(n,m.p),15).Fc(a),Wz(i,rft(1))):Wz(i,rft(0)))}g=null,b.a<b.c.c.length&&(g=zz(t0(b),10),p=zz(PH(e,g.p),257),zz(PH(n,r.p),15).Fc(p),a5(i,g.p,rft(zz(PH(i,g.p),19).a+1))),a.d=f,a.c=u++,m=r,r=g}++f}}function vGt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;return c=t,l=ZF(new PS(e.a,e.b),t),u=i,h=ZF(new PS(r.a,r.b),i),f=c.a,b=c.b,g=u.a,m=u.b,d=l.a,w=l.b,a=(p=h.a)*w-d*(y=h.b),lO(),ait(O3t),!(n.Math.abs(0-a)<=O3t||0==a||isNaN(0)&&isNaN(a))&&(o=1/a*((f-g)*w-(b-m)*d),s=1/a*-(-(f-g)*y+(b-m)*p),ait(O3t),(n.Math.abs(0-o)<=O3t||0==o||isNaN(0)&&isNaN(o)?0:0<o?-1:0>o?1:GM(isNaN(0),isNaN(o)))<0&&(ait(O3t),(n.Math.abs(o-1)<=O3t||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:GM(isNaN(o),isNaN(1)))<0)&&(ait(O3t),(n.Math.abs(0-s)<=O3t||0==s||isNaN(0)&&isNaN(s)?0:0<s?-1:0>s?1:GM(isNaN(0),isNaN(s)))<0)&&(ait(O3t),(n.Math.abs(s-1)<=O3t||1==s||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:GM(isNaN(s),isNaN(1)))<0))}function xGt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k;for(h=new lW(new ig(t));h.b!=h.c.a.d;)for(s=zz((l=u7(h)).d,56),e=zz(l.e,56),p=0,v=(null==(o=s.Tg()).i&&U$t(o),o.i).length;p<v;++p)if(null==o.i&&U$t(o),a=o.i,(u=p>=0&&p<a.length?a[p]:null).Ij()&&!u.Jj())if(aL(u,99))0==((c=zz(u,18)).Bb&h6t)&&(!(k=Imt(c))||0==(k.Bb&h6t))&&vzt(t,c,s,e);else if(JE(),zz(u,66).Oj()&&(n=zz((x=u)?zz(e,49).xh(x):null,153)))for(d=zz(s.ah(u),153),i=n.gc(),b=0,g=d.gc();b<g;++b)if(aL(f=d.il(b),99)){if(null==(r=ftt(t,y=d.jl(b)))&&null!=y){if(m=zz(f,18),!t.b||0!=(m.Bb&h6t)||Imt(m))continue;r=y}if(!n.dl(f,r))for(w=0;w<i;++w)if(n.il(w)==f&&UI(n.jl(w))===UI(r)){n.ii(n.gc()-1,w),--i;break}}else n.dl(d.il(b),d.jl(b))}function kGt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,m,y;if(w=Vzt(e,i,t.g),a.n&&a.n&&o&&v0(a,c2(o),(qut(),sMe)),t.b)for(b=0;b<w.c.length;b++)f1(b,w.c.length),h=zz(w.c[b],200),0!=b&&(f1(b-1,w.c.length),wlt(h,(d=zz(w.c[b-1],200)).f+d.b+t.g)),vZt(b,w,i,t.g),Hxt(t,h),a.n&&o&&v0(a,c2(o),(qut(),sMe));else for(p=new Wd(w);p.a<p.c.c.length;)for(l=new Wd((g=zz(t0(p),200)).a);l.a<l.c.c.length;)Bat(m=new RQ((u=zz(t0(l),187)).s,u.t,t.g),u),Wz(g.d,m);return Yyt(t,w),a.n&&a.n&&o&&v0(a,c2(o),(qut(),sMe)),y=n.Math.max(t.d,r.a-(s.b+s.c)),c=(f=n.Math.max(t.c,r.b-(s.d+s.a)))-t.c,t.e&&t.f&&(y/f<t.a?y=f*t.a:c+=y/t.a-f),t.e&&Dpt(w,y,c),a.n&&a.n&&o&&v0(a,c2(o),(qut(),sMe)),new nH(t.a,y,t.c+c,(QLt(),j_e))}function _Gt(t){var e,i,r,a,o,s,c,u,l,h;for(t.j=P8(DNe,hXt,25,t.g,15,1),t.o=new Nw,QA(gtt(new FH(null,new g1(t.e.b,16)),new Wa),new sb(t)),t.a=P8(ONe,tQt,25,t.b,16,1),Lht(new FH(null,new g1(t.e.b,16)),new ub(t)),h=new Nw,QA(DK(gtt(new FH(null,new g1(t.e.b,16)),new Xa),new cb(t)),new nS(t,h)),c=new Wd(h);c.a<c.c.c.length;)if(!((s=zz(t0(c),508)).c.length<=1))if(2!=s.c.length){if(!W_t(s)&&!PCt(s,new Ka))for(u=new Wd(s),r=null;u.a<u.c.c.length;)e=zz(t0(u),17),i=t.c[e.p],l=!r||u.a>=u.c.c.length?Z3((cTt(),Sse),Cse):Z3((cTt(),Cse),Cse),l*=2,a=i.a.g,i.a.g=n.Math.max(a,a+(l-a)),o=i.b.g,i.b.g=n.Math.max(o,o+(l-o)),r=e}else YDt(s),Oqt((f1(0,s.c.length),zz(s.c[0],17)).d.i)||Wz(t.o,s)}function AGt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;for(y=Uz(t),c=new Nw,u=(a=t.c.length)-1,l=a+1;0!=y.a.c;){for(;0!=n.b;)CP(0!=n.b),w=zz(Oet(n,n.a.a),112),OQ(y.a,w),w.g=u--,P$t(w,e,n,i);for(;0!=e.b;)CP(0!=e.b),m=zz(Oet(e,e.a.a),112),OQ(y.a,m),m.g=l++,P$t(m,e,n,i);for(s=$Kt,p=new $d(new zF(new PN(new jd(y.a).a).b));oT(p.a.a);){if(g=zz(yP(p.a).cd(),112),!i&&g.b>0&&g.a<=0){c.c=P8(Ote,HWt,1,0,5,1),c.c[c.c.length]=g;break}(d=g.i-g.d)>=s&&(d>s&&(c.c=P8(Ote,HWt,1,0,5,1),s=d),c.c[c.c.length]=g)}0!=c.c.length&&(o=zz(PH(c,mmt(r,c.c.length)),112),OQ(y.a,o),o.g=l++,P$t(o,e,n,i),c.c=P8(Ote,HWt,1,0,5,1))}for(b=t.c.length+1,f=new Wd(t);f.a<f.c.c.length;)(h=zz(t0(f),112)).g<a&&(h.g=h.g+b)}function EGt(t,e){var n;if(t.e)throw qw(new $v((_B(bie),OVt+bie.k+LVt)));if(!TT(t.a,e))throw qw(new pv(NVt+e+PVt));if(e==t.d)return t;switch(n=t.d,t.d=e,n.g){case 0:switch(e.g){case 2:Hyt(t);break;case 1:Ict(t),Hyt(t);break;case 4:e_t(t),Hyt(t);break;case 3:e_t(t),Ict(t),Hyt(t)}break;case 2:switch(e.g){case 1:Ict(t),RFt(t);break;case 4:e_t(t),Hyt(t);break;case 3:e_t(t),Ict(t),Hyt(t)}break;case 1:switch(e.g){case 2:Ict(t),RFt(t);break;case 4:Ict(t),e_t(t),Hyt(t);break;case 3:Ict(t),e_t(t),Ict(t),Hyt(t)}break;case 4:switch(e.g){case 2:e_t(t),Hyt(t);break;case 1:e_t(t),Ict(t),Hyt(t);break;case 3:Ict(t),RFt(t)}break;case 3:switch(e.g){case 2:Ict(t),e_t(t),Hyt(t);break;case 1:Ict(t),e_t(t),Ict(t),Hyt(t);break;case 4:Ict(t),RFt(t)}}return t}function TGt(t,e){var n;if(t.d)throw qw(new $v((_B(Voe),OVt+Voe.k+LVt)));if(!CS(t.a,e))throw qw(new pv(NVt+e+PVt));if(e==t.c)return t;switch(n=t.c,t.c=e,n.g){case 0:switch(e.g){case 2:tut(t);break;case 1:Sct(t),tut(t);break;case 4:n_t(t),tut(t);break;case 3:n_t(t),Sct(t),tut(t)}break;case 2:switch(e.g){case 1:Sct(t),jFt(t);break;case 4:n_t(t),tut(t);break;case 3:n_t(t),Sct(t),tut(t)}break;case 1:switch(e.g){case 2:Sct(t),jFt(t);break;case 4:Sct(t),n_t(t),tut(t);break;case 3:Sct(t),n_t(t),Sct(t),tut(t)}break;case 4:switch(e.g){case 2:n_t(t),tut(t);break;case 1:n_t(t),Sct(t),tut(t);break;case 3:Sct(t),jFt(t)}break;case 3:switch(e.g){case 2:Sct(t),n_t(t),tut(t);break;case 1:Sct(t),n_t(t),Sct(t),tut(t);break;case 4:Sct(t),jFt(t)}}return t}function CGt(t,e,i){var r,a,o,s,c,u,h,f;for(u=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));u.e!=u.i.gc();)for(a=new cG(JL(bLt(c=zz(kwt(u),33)).a.Kc(),new l));bDt(a);){if(!(r=zz(Y5(a),79)).b&&(r.b=new lR(RMe,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new lR(RMe,r,5,8)),r.c.i<=1)))throw qw(new ax("Graph must not contain hyperedges."));if(!eDt(r)&&c!=SAt(zz(Ket((!r.c&&(r.c=new lR(RMe,r,5,8)),r.c),0),82)))for(Uot(h=new IF,r),hct(h,(Trt(),uoe),r),Ff(h,zz(HI(DV(i.f,c)),144)),Rf(h,zz(FZ(i,SAt(zz(Ket((!r.c&&(r.c=new lR(RMe,r,5,8)),r.c),0),82))),144)),Wz(e.c,h),s=new DL((!r.n&&(r.n=new nY(GMe,r,1,7)),r.n));s.e!=s.i.gc();)Uot(f=new y4(h,(o=zz(kwt(s),137)).a),o),hct(f,uoe,o),f.e.a=n.Math.max(o.g,1),f.e.b=n.Math.max(o.f,1),$zt(f),Wz(e.d,f)}}function SGt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;for(_Q(f=new iYt(t),!(e==(zht(),qCe)||e==RCe)),h=f.a,d=new dy,Fet(),s=0,u=(a=Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])).length;s<u;++s)i=a[s],(l=hL(h,Uie,i))&&(d.d=n.Math.max(d.d,l.Re()));for(o=0,c=(r=Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])).length;o<c;++o)i=r[o],(l=hL(h,Yie,i))&&(d.a=n.Math.max(d.a,l.Re()));for(w=0,y=(p=Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])).length;w<y;++w)(l=hL(h,p[w],Uie))&&(d.b=n.Math.max(d.b,l.Se()));for(b=0,m=(g=Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])).length;b<m;++b)(l=hL(h,g[b],Yie))&&(d.c=n.Math.max(d.c,l.Se()));return d.d>0&&(d.d+=h.n.d,d.d+=h.d),d.a>0&&(d.a+=h.n.a,d.a+=h.d),d.b>0&&(d.b+=h.n.b,d.b+=h.d),d.c>0&&(d.c+=h.n.c,d.c+=h.d),d}function IGt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p;for(d=i.d,f=i.c,s=(o=new PS(i.f.a+i.d.b+i.d.c,i.f.b+i.d.d+i.d.a)).b,l=new Wd(t.a);l.a<l.c.c.length;)if((c=zz(t0(l),10)).k==(cTt(),Ese)){switch(r=zz(vEt(c,(hWt(),Xhe)),61),a=zz(vEt(c,Vhe),8),h=c.n,r.g){case 2:h.a=i.f.a+d.c-f.a;break;case 4:h.a=-f.a-d.b}switch(p=0,r.g){case 2:case 4:e==(V_t(),WSe)?(g=Uv(EB(vEt(c,Afe))),h.b=o.b*g-zz(vEt(c,(HZt(),twe)),8).b,p=h.b+a.b,Jot(c,!1,!0)):e==ZSe&&(h.b=Uv(EB(vEt(c,Afe)))-zz(vEt(c,(HZt(),twe)),8).b,p=h.b+a.b,Jot(c,!1,!0))}s=n.Math.max(s,p)}for(i.f.b+=s-o.b,u=new Wd(t.a);u.a<u.c.c.length;)if((c=zz(t0(u),10)).k==(cTt(),Ese))switch(r=zz(vEt(c,(hWt(),Xhe)),61),h=c.n,r.g){case 1:h.b=-f.b-d.d;break;case 3:h.b=i.f.b+d.a-f.b}}function MGt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k;for(r=zz(vEt(t,(UHt(),uxe)),33),c=FWt,u=FWt,o=$Kt,s=$Kt,x=lwt(t.b,0);x.b!=x.d.c;)g=(y=zz(d3(x),86)).e,p=y.f,c=n.Math.min(c,g.a-p.a/2),u=n.Math.min(u,g.b-p.b/2),o=n.Math.max(o,g.a+p.a/2),s=n.Math.max(s,g.b+p.b/2);for(f=new PS((d=zz(tOt(r,(IDt(),Ixe)),116)).b-c,d.d-u),v=lwt(t.b,0);v.b!=v.d.c;)aL(h=vEt(y=zz(d3(v),86),uxe),239)&&TD(a=zz(h,33),(l=YF(y.e,f)).a-a.g/2,l.b-a.f/2);for(m=lwt(t.a,0);m.b!=m.d.c;)w=zz(d3(m),188),(i=zz(vEt(w,uxe),79))&&(r5(e=w.a,b=new gD(w.b.e),e.a,e.a.a),r5(e,k=new gD(w.c.e),e.c.b,e.c),tTt(b,zz(Fwt(e,1),8),w.b.f),tTt(k,zz(Fwt(e,e.b-2),8),w.c.f),X$t(e,oBt(i,!0,!0)));jYt(r,o-c+(d.b+d.c),s-u+(d.d+d.a),!1,!1)}function DGt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(vF(c=new E2(u=t.b,0),new qZ(t)),b=!1,a=1;c.b<c.d.gc();){for(CP(c.b<c.d.gc()),s=zz(c.d.Xb(c.c=c.b++),29),f1(a,u.c.length),d=zz(u.c[a],29),p=(g=o0(s.a)).c.length,f=new Wd(g);f.a<f.c.c.length;)CJ(l=zz(t0(f),10),d);if(b){for(h=W1(new hv(g),0);h.c.Sb();)for(r=new Wd(o0(fdt(l=zz(g5(h),10))));r.a<r.c.c.length;)nzt(i=zz(t0(r),17),!0),hct(t,(hWt(),Hhe),(lN(),!0)),n=rUt(t,i,p),e=zz(vEt(l,Fhe),305),w=zz(PH(n,n.c.length-1),17),e.k=w.c.i,e.n=w,e.b=i.d.i,e.c=i;b=!1}else 0!=g.c.length&&(f1(0,g.c.length),zz(g.c[0],10).k==(cTt(),Ase)&&(b=!0,a=-1));++a}for(o=new E2(t.b,0);o.b<o.d.gc();)CP(o.b<o.d.gc()),0==zz(o.d.Xb(o.c=o.b++),29).a.c.length&&hW(o)}function OGt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;if((h=zz(zz(l6(t.r,e),21),84)).gc()<=2||e==(kYt(),cIe)||e==(kYt(),SIe))JYt(t,e);else{for(b=t.u.Hc((dIt(),aIe)),i=e==(kYt(),uIe)?(Fot(),Fre):(Fot(),Nre),m=e==uIe?(U9(),ire):(U9(),are),r=Jx(qj(i),t.s),w=e==uIe?RXt:jXt,l=h.Kc();l.Ob();)!(c=zz(l.Pb(),111)).c||c.c.d.c.length<=0||(p=c.b.rf(),g=c.e,(d=(f=c.c).i).b=(o=f.n,f.e.a+o.b+o.c),d.a=(s=f.n,f.e.b+s.d+s.a),b?(d.c=g.a-(a=f.n,f.e.a+a.b+a.c)-t.s,b=!1):d.c=g.a+p.a+t.s,MV(m,cQt),f.f=m,f7(f,(Q7(),Qie)),Wz(r.d,new PU(d,kft(r,d))),w=e==uIe?n.Math.min(w,g.b):n.Math.max(w,g.b+c.b.rf().b));for(w+=e==uIe?-t.t:t.t,Sgt((r.e=w,r)),u=h.Kc();u.Ob();)!(c=zz(u.Pb(),111)).c||c.c.d.c.length<=0||((d=c.c.i).c-=c.e.a,d.d-=c.e.b)}}function LGt(t,e,i){var r;if(DAt(i,"StretchWidth layering",1),0!=e.a.c.length){for(t.c=e,t.t=0,t.u=0,t.i=RXt,t.g=jXt,t.d=Uv(EB(vEt(e,(HZt(),vwe)))),Ywt(t),SDt(t),CDt(t),Bkt(t),bpt(t),t.i=n.Math.max(1,t.i),t.g=n.Math.max(1,t.g),t.d=t.d/t.i,t.f=t.g/t.i,t.s=$mt(t),r=new qZ(t.c),Wz(t.c.b,r),t.r=o0(t.p),t.n=AQ(t.k,t.k.length);0!=t.r.c.length;)t.o=Ylt(t),!t.o||Ect(t)&&0!=t.b.a.gc()?(B_t(t,r),r=new qZ(t.c),Wz(t.c.b,r),zrt(t.a,t.b),t.b.a.$b(),t.t=t.u,t.u=0):Ect(t)?(t.c.b.c=P8(Ote,HWt,1,0,5,1),r=new qZ(t.c),Wz(t.c.b,r),t.t=0,t.u=0,t.b.a.$b(),t.a.a.$b(),++t.f,t.r=o0(t.p),t.n=AQ(t.k,t.k.length)):(CJ(t.o,r),v9(t.r,t.o),AY(t.b,t.o),t.t=t.t-t.k[t.o.p]*t.d+t.j[t.o.p],t.u+=t.e[t.o.p]*t.d);e.a.c=P8(Ote,HWt,1,0,5,1),JCt(e.b),HTt(i)}else HTt(i)}function NGt(t){var e,i,r,a;for(QA(DK(new FH(null,new g1(t.a.b,16)),new vr),new xr),f_t(t),QA(DK(new FH(null,new g1(t.a.b,16)),new kr),new _r),t.c==(Tdt(),QCe)&&(QA(DK(gtt(new FH(null,new g1(new Sd(t.f),1)),new Ar),new Er),new Ep(t)),QA(DK(OK(gtt(gtt(new FH(null,new g1(t.d.b,16)),new Tr),new Cr),new Sr),new Ir),new Cp(t))),a=new PS(RXt,RXt),e=new PS(jXt,jXt),r=new Wd(t.a.b);r.a<r.c.c.length;)i=zz(t0(r),57),a.a=n.Math.min(a.a,i.d.c),a.b=n.Math.min(a.b,i.d.d),e.a=n.Math.max(e.a,i.d.c+i.d.b),e.b=n.Math.max(e.b,i.d.d+i.d.a);YF(xM(t.d.c),HP(new PS(a.a,a.b))),YF(xM(t.d.f),ZF(new PS(e.a,e.b),a)),uNt(t,a,e),OY(t.f),OY(t.b),OY(t.g),OY(t.e),t.a.a.c=P8(Ote,HWt,1,0,5,1),t.a.b.c=P8(Ote,HWt,1,0,5,1),t.a=null,t.d=null}function PGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;for(i=new Nw,g=new Wd(e.a);g.a<g.c.c.length;)if((f=(d=zz(t0(g),10)).e)&&(wst(i,PGt(t,f,d)),AUt(t,f,d),zz(vEt(f,(hWt(),Jhe)),21).Hc((gBt(),fhe))))for(w=zz(vEt(d,(HZt(),nwe)),98),h=zz(vEt(d,awe),174).Hc((dIt(),nIe)),b=new Wd(d.j);b.a<b.c.c.length;)for(p=zz(t0(b),11),(r=zz(FZ(t.b,p),10))||(hct(r=gZt(p,w,p.j,-(p.e.c.length-p.g.c.length),null,new Uk,p.o,zz(vEt(f,Ype),103),f),pfe,p),KW(t.b,p,r),Wz(f.a,r)),a=zz(PH(r.j,0),11),u=new Wd(p.f);u.a<u.c.c.length;)c=zz(t0(u),70),(o=new Hk).o.a=c.o.a,o.o.b=c.o.b,Wz(a.f,o),h||(m=p.j,l=0,qG(zz(vEt(d,awe),21))&&(l=LIt(c.n,c.o,p.o,0,m)),w==(V_t(),XSe)||(kYt(),dIe).Hc(m)?o.o.a=l:o.o.b=l);return qUt(t,e,n,i,s=new Nw),n&&IHt(t,e,n,s),s}function BGt(t,e,n){var i,r,a,o,s,c,u,l;if(!t.c[e.c.p][e.p].e){for(t.c[e.c.p][e.p].e=!0,t.c[e.c.p][e.p].b=0,t.c[e.c.p][e.p].d=0,t.c[e.c.p][e.p].a=null,l=new Wd(e.j);l.a<l.c.c.length;)for(u=zz(t0(l),11),c=(n?new qg(u):new Ug(u)).Kc();c.Ob();)(o=(s=zz(c.Pb(),11)).i).c==e.c?o!=e&&(BGt(t,o,n),t.c[e.c.p][e.p].b+=t.c[o.c.p][o.p].b,t.c[e.c.p][e.p].d+=t.c[o.c.p][o.p].d):(t.c[e.c.p][e.p].d+=t.g[s.p],++t.c[e.c.p][e.p].b);if(a=zz(vEt(e,(hWt(),Phe)),15))for(r=a.Kc();r.Ob();)i=zz(r.Pb(),10),e.c==i.c&&(BGt(t,i,n),t.c[e.c.p][e.p].b+=t.c[i.c.p][i.p].b,t.c[e.c.p][e.p].d+=t.c[i.c.p][i.p].d);t.c[e.c.p][e.p].b>0&&(t.c[e.c.p][e.p].d+=HOt(t.i,24)*cVt*.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)}}function FGt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g;for(f=new Wd(t);f.a<f.c.c.length;){for(tP((h=zz(t0(f),10)).n),tP(h.o),K6(h.f),XFt(h),sFt(h),g=new Wd(h.j);g.a<g.c.c.length;){for(tP((d=zz(t0(g),11)).n),tP(d.a),tP(d.o),USt(d,syt(d.j)),(r=zz(vEt(d,(HZt(),iwe)),19))&&hct(d,iwe,rft(-r.a)),i=new Wd(d.g);i.a<i.c.c.length;){for(e=lwt((n=zz(t0(i),17)).a,0);e.b!=e.d.c;)tP(zz(d3(e),8));if(o=zz(vEt(n,mbe),74))for(a=lwt(o,0);a.b!=a.d.c;)tP(zz(d3(a),8));for(u=new Wd(n.b);u.a<u.c.c.length;)tP((s=zz(t0(u),70)).n),tP(s.o)}for(l=new Wd(d.f);l.a<l.c.c.length;)tP((s=zz(t0(l),70)).n),tP(s.o)}for(h.k==(cTt(),Ese)&&(hct(h,(hWt(),Xhe),syt(zz(vEt(h,Xhe),61))),pPt(h)),c=new Wd(h.b);c.a<c.c.c.length;)XFt(s=zz(t0(c),70)),tP(s.o),tP(s.n)}}function RGt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v;for(t.e=e,s=eMt(e),y=new Nw,i=new Wd(s);i.a<i.c.c.length;){for(n=zz(t0(i),15),v=new Nw,y.c[y.c.length]=v,c=new Fm,f=n.Kc();f.Ob();){for(a=JFt(t,h=zz(f.Pb(),33),!0,0,0),v.c[v.c.length]=a,new PS(d=h.i,g=h.j),!h.n&&(h.n=new nY(GMe,h,1,7)),l=new DL(h.n);l.e!=l.i.gc();)r=JFt(t,zz(kwt(l),137),!1,d,g),v.c[v.c.length]=r;for(!h.c&&(h.c=new nY(ZMe,h,9,9)),b=new DL(h.c);b.e!=b.i.gc();)for(o=JFt(t,p=zz(kwt(b),118),!1,d,g),v.c[v.c.length]=o,w=p.i+d,m=p.j+g,!p.n&&(p.n=new nY(GMe,p,1,7)),u=new DL(p.n);u.e!=u.i.gc();)r=JFt(t,zz(kwt(u),137),!1,w,m),v.c[v.c.length]=r;zrt(c,QX(Knt(Sst(Ux(Bte,1),HWt,20,0,[bLt(h),pLt(h)]))))}ZLt(t,c,v)}return t.f=new jk(y),Uot(t.f,e),t.f}function jGt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;null==(g=FZ(t.e,i))&&(u=zz(g=new wv,183),c=new UZ(e+"_s"+r),ret(u,U6t,c)),tW(n,d=zz(g,183)),HX(b=new wv,"x",i.j),HX(b,"y",i.k),ret(d,Z6t,b),HX(h=new wv,"x",i.b),HX(h,"y",i.c),ret(d,"endPoint",h),!W_((!i.a&&(i.a=new OL(PMe,i,5)),i.a))&&(a=new Wb(l=new Sf),n5((!i.a&&(i.a=new OL(PMe,i,5)),i.a),a),ret(d,F6t,l)),!!Cmt(i)&&oEt(t.a,d,j6t,RCt(t,Cmt(i))),!!Smt(i)&&oEt(t.a,d,R6t,RCt(t,Smt(i))),!(0==(!i.e&&(i.e=new lR($Me,i,10,9)),i.e).i)&&(o=new TI(t,f=new Sf),n5((!i.e&&(i.e=new lR($Me,i,10,9)),i.e),o),ret(d,z6t,f)),0!=(!i.g&&(i.g=new lR($Me,i,9,10)),i.g).i&&(s=new CI(t,p=new Sf),n5((!i.g&&(i.g=new lR($Me,i,9,10)),i.g),s),ret(d,$6t,p))}function $Gt(t){var e,i,r,a,o,s,c;for(HB(),r=t.f.n,s=_Z(t.r).a.nc();s.Ob();){if(a=0,(o=zz(s.Pb(),111)).b.Xe((lWt(),oCe))&&(a=Uv(EB(o.b.We(oCe))))<0)switch(o.b.Hf().g){case 1:r.d=n.Math.max(r.d,-a);break;case 3:r.a=n.Math.max(r.a,-a);break;case 2:r.c=n.Math.max(r.c,-a);break;case 4:r.b=n.Math.max(r.b,-a)}if(qG(t.u))switch(e=yat(o.b,a),c=!zz(t.e.We(HTe),174).Hc((ejt(),qIe)),i=!1,o.b.Hf().g){case 1:i=e>r.d,r.d=n.Math.max(r.d,e),c&&i&&(r.d=n.Math.max(r.d,r.a),r.a=r.d+a);break;case 3:i=e>r.a,r.a=n.Math.max(r.a,e),c&&i&&(r.a=n.Math.max(r.a,r.d),r.d=r.a+a);break;case 2:i=e>r.c,r.c=n.Math.max(r.c,e),c&&i&&(r.c=n.Math.max(r.b,r.c),r.b=r.c+a);break;case 4:i=e>r.b,r.b=n.Math.max(r.b,e),c&&i&&(r.b=n.Math.max(r.b,r.c),r.c=r.b+a)}}}function zGt(t){var e,n,i,r,a,o,s,c,u,l,h;for(u=new Wd(t);u.a<u.c.c.length;){switch(c=zz(t0(u),10),a=null,(o=zz(vEt(c,(HZt(),xbe)),163)).g){case 1:case 2:Jst(),a=Ole;break;case 3:case 4:Jst(),a=Mle}if(a)hct(c,(hWt(),Uhe),(Jst(),Ole)),a==Mle?RNt(c,o,(sit(),qme)):a==Ole&&RNt(c,o,(sit(),Hme));else if(mD(zz(vEt(c,nwe),98))&&0!=c.j.c.length){for(e=!0,h=new Wd(c.j);h.a<h.c.c.length;){if(!((l=zz(t0(h),11)).j==(kYt(),cIe)&&l.e.c.length-l.g.c.length>0||l.j==SIe&&l.e.c.length-l.g.c.length<0)){e=!1;break}for(r=new Wd(l.g);r.a<r.c.c.length;)if(n=zz(t0(r),17),(s=zz(vEt(n.d.i,xbe),163))==(Edt(),zfe)||s==qfe){e=!1;break}for(i=new Wd(l.e);i.a<i.c.c.length;)if(n=zz(t0(i),17),(s=zz(vEt(n.c.i,xbe),163))==(Edt(),jfe)||s==$fe){e=!1;break}}e&&RNt(c,o,(sit(),Ume))}}}function qGt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_;for(_=0,g=0,f=new Wd(e.e);f.a<f.c.c.length;){for(h=zz(t0(f),10),d=0,c=0,u=i?zz(vEt(h,Zye),19).a:$Kt,m=r?zz(vEt(h,Wye),19).a:$Kt,l=n.Math.max(u,m),v=new Wd(h.j);v.a<v.c.c.length;){if(y=zz(t0(v),11),x=h.n.b+y.n.b+y.a.b,r)for(s=new Wd(y.g);s.a<s.c.c.length;)p=(b=(o=zz(t0(s),17)).d).i,e!=t.a[p.p]&&(w=n.Math.max(zz(vEt(p,Zye),19).a,zz(vEt(p,Wye),19).a),(k=zz(vEt(o,(HZt(),dwe)),19).a)>=l&&k>=w&&(d+=p.n.b+b.n.b+b.a.b-x,++c));if(i)for(s=new Wd(y.e);s.a<s.c.c.length;)p=(b=(o=zz(t0(s),17)).c).i,e!=t.a[p.p]&&(w=n.Math.max(zz(vEt(p,Zye),19).a,zz(vEt(p,Wye),19).a),(k=zz(vEt(o,(HZt(),dwe)),19).a)>=l&&k>=w&&(d+=p.n.b+b.n.b+b.a.b-x,++c))}c>0&&(_+=d/c,++g)}g>0?(e.a=a*_/g,e.g=g):(e.a=0,e.g=0)}function HGt(t,e){var n,i,r,a,o,s,c,u,l,h;for(i=new Wd(t.a.b);i.a<i.c.c.length;)for(s=new Wd(zz(t0(i),29).a);s.a<s.c.c.length;)o=zz(t0(s),10),e.j[o.p]=o,e.i[o.p]=e.o==(cJ(),ave)?jXt:RXt;for(OY(t.c),a=t.a.b,e.c==(bQ(),tve)&&(a=aL(a,152)?c6(zz(a,152)):aL(a,131)?zz(a,131).a:aL(a,54)?new hv(a):new SA(a)),F7(t.e,e,t.b),vT(e.p,null),r=a.Kc();r.Ob();)for(c=zz(r.Pb(),29).a,e.o==(cJ(),ave)&&(c=aL(c,152)?c6(zz(c,152)):aL(c,131)?zz(c,131).a:aL(c,54)?new hv(c):new SA(c)),h=c.Kc();h.Ob();)l=zz(h.Pb(),10),e.g[l.p]==l&&uZt(t,l,e);for(HHt(t,e),n=a.Kc();n.Ob();)for(h=new Wd(zz(n.Pb(),29).a);h.a<h.c.c.length;)l=zz(t0(h),10),e.p[l.p]=e.p[e.g[l.p].p],l==e.g[l.p]&&(u=Uv(e.i[e.j[l.p].p]),(e.o==(cJ(),ave)&&u>jXt||e.o==rve&&u<RXt)&&(e.p[l.p]=Uv(e.p[l.p])+u));t.e.cg()}function UGt(t,e,n,i){var r,a,o,s,c;return mNt(s=new iYt(e),i),r=!0,t&&t.Xe((lWt(),dTe))&&(r=(a=zz(t.We((lWt(),dTe)),103))==(zht(),zCe)||a==jCe||a==$Ce),uFt(s,!1),Det(s.e.wf(),new Oj(s,!1,r)),LQ(s,s.f,(Fet(),Uie),(kYt(),uIe)),LQ(s,s.f,Yie,TIe),LQ(s,s.g,Uie,SIe),LQ(s,s.g,Yie,cIe),qwt(s,uIe),qwt(s,TIe),lK(s,cIe),lK(s,SIe),HB(),(o=s.A.Hc((vpt(),BIe))&&s.B.Hc((ejt(),YIe))?ept(s):null)&&rk(s.a,o),$Gt(s),avt(s),ovt(s),XUt(s),TRt(s),vxt(s),$bt(s,uIe),$bt(s,TIe),IFt(s),Sqt(s),n?(Gdt(s),xxt(s),$bt(s,cIe),$bt(s,SIe),c=s.B.Hc((ejt(),ZIe)),TSt(s,c,uIe),TSt(s,c,TIe),CSt(s,c,cIe),CSt(s,c,SIe),QA(new FH(null,new g1(new Md(s.i),0)),new St),QA(DK(new FH(null,_Z(s.r).a.oc()),new It),new Mt),q_t(s),s.e.uf(s.o),QA(new FH(null,_Z(s.r).a.oc()),new Ot),s.o):s.o}function GGt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(l=RXt,r=new Wd(t.a.b);r.a<r.c.c.length;)e=zz(t0(r),81),l=n.Math.min(l,e.d.f.g.c+e.e.a);for(g=new VA,s=new Wd(t.a.a);s.a<s.c.c.length;)(o=zz(t0(s),189)).i=l,0==o.e&&r5(g,o,g.c.b,g.c);for(;0!=g.b;){for(a=(o=zz(0==g.b?null:(CP(0!=g.b),Oet(g,g.a.a)),189)).f.g.c,d=o.a.a.ec().Kc();d.Ob();)h=zz(d.Pb(),81),b=o.i+h.e.a,h.d.g||h.g.c<b?h.o=b:h.o=h.g.c;for(a-=o.f.o,o.b+=a,t.c==(zht(),$Ce)||t.c==RCe?o.c+=a:o.c-=a,f=o.a.a.ec().Kc();f.Ob();)for(u=(h=zz(f.Pb(),81)).f.Kc();u.Ob();)c=zz(u.Pb(),81),p=pD(t.c)?t.f.ef(h,c):t.f.ff(h,c),c.d.i=n.Math.max(c.d.i,h.o+h.g.b+p-c.e.a),c.k||(c.d.i=n.Math.max(c.d.i,c.g.c-c.e.a)),--c.d.e,0==c.d.e&&Bq(g,c.d)}for(i=new Wd(t.a.b);i.a<i.c.c.length;)(e=zz(t0(i),81)).g.c=e.o}function YGt(t){var e,n,i,r,a,o,s,c;switch(s=t.b,e=t.a,0===zz(vEt(t,($xt(),Eie)),427).g?yO(s,new tg(new Ht)):yO(s,new tg(new Ut)),1===zz(vEt(t,_ie),428).g?(yO(s,new qt),yO(s,new Gt),yO(s,new Ft)):(yO(s,new qt),yO(s,new zt)),zz(vEt(t,Cie),250).g){case 0:c=new Xt;break;case 1:c=new Wt;break;case 2:c=new Kt;break;case 3:c=new Zt;break;case 5:c=new Mg(new Kt);break;case 4:c=new Mg(new Wt);break;case 7:c=new BT(new Mg(new Wt),new Mg(new Kt));break;case 8:c=new BT(new Mg(new Zt),new Mg(new Kt));break;default:c=new Mg(new Zt)}for(o=new Wd(s);o.a<o.c.c.length;){for(a=zz(t0(o),167),r=0,n=new rI(rft(i=0),rft(r));qjt(e,a,i,r);)n=zz(c.Ce(n,a),46),i=zz(n.a,19).a,r=zz(n.b,19).a;$Ft(e,a,i,r)}}function ZGt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_;for(f=(a=t.f.b).a,l=a.b,g=t.e.g,d=t.e.f,ED(t.e,a.a,a.b),k=f/g,_=l/d,u=new DL(yK(t.e));u.e!=u.i.gc();)Snt(c=zz(kwt(u),137),c.i*k),Int(c,c.j*_);for(m=new DL(vK(t.e));m.e!=m.i.gc();)v=(w=zz(kwt(m),118)).i,x=w.j,v>0&&Snt(w,v*k),x>0&&Int(w,x*_);for(eot(t.b,new he),e=new Nw,s=new cut(new Cd(t.c).a);s.b;)i=zz((o=nnt(s)).cd(),79),n=zz(o.dd(),395).a,r=oBt(i,!1,!1),X$t(h=dAt(SEt(i),UTt(r),n),r),(y=IEt(i))&&-1==_9(e,y,0)&&(e.c[e.c.length]=y,uX(y,(CP(0!=h.b),zz(h.a.a.c,8)),n));for(b=new cut(new Cd(t.d).a);b.b;)i=zz((p=nnt(b)).cd(),79),n=zz(p.dd(),395).a,r=oBt(i,!1,!1),h=dAt(DEt(i),Jct(UTt(r)),n),X$t(h=Jct(h),r),(y=MEt(i))&&-1==_9(e,y,0)&&(e.c[e.c.length]=y,uX(y,(CP(0!=h.b),zz(h.c.b.c,8)),n))}function WGt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_;if(0!=i.c.length){for(g=new Nw,d=new Wd(i);d.a<d.c.c.length;)Wz(g,new PS((f=zz(t0(d),33)).i,f.j));for(r.n&&e&&v0(r,c2(e),(qut(),sMe));PEt(t,i);)AOt(t,i,!1);for(r.n&&e&&v0(r,c2(e),(qut(),sMe)),s=0,c=0,a=null,0!=i.c.length&&(f1(0,i.c.length),s=(a=zz(i.c[0],33)).i-(f1(0,g.c.length),zz(g.c[0],8)).a,c=a.j-(f1(0,g.c.length),zz(g.c[0],8)).b),o=n.Math.sqrt(s*s+c*c),h=Zlt(i);0!=h.a.gc();){for(l=h.a.ec().Kc();l.Ob();)u=zz(l.Pb(),33),b=(p=t.f).i+p.g/2,w=p.j+p.f/2,m=u.i+u.g/2,v=u.j+u.f/2-w,k=(y=m-b)/(x=n.Math.sqrt(y*y+v*v)),_=v/x,Snt(u,u.i+k*o),Int(u,u.j+_*o);r.n&&e&&v0(r,c2(e),(qut(),sMe)),h=Zlt(new ej(h))}t.a&&t.a.lg(new ej(h)),r.n&&e&&v0(r,c2(e),(qut(),sMe)),WGt(t,e,new ej(h),r)}}function KGt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;if(b=t.n,w=t.o,d=t.d,f=Uv(EB(ipt(t,(HZt(),wwe)))),e){for(h=f*(e.gc()-1),g=0,u=e.Kc();u.Ob();)h+=(s=zz(u.Pb(),10)).o.a,g=n.Math.max(g,s.o.b);for(m=b.a-(h-w.a)/2,o=b.b-d.d+g,a=r=w.a/(e.gc()+1),c=e.Kc();c.Ob();)(s=zz(c.Pb(),10)).n.a=m,s.n.b=o-s.o.b,m+=s.o.a+f,(l=FLt(s)).n.a=s.o.a/2-l.a.a,l.n.b=s.o.b,(p=zz(vEt(s,(hWt(),Rhe)),11)).e.c.length+p.g.c.length==1&&(p.n.a=a-p.a.a,p.n.b=0,SJ(p,t)),a+=r}if(i){for(h=f*(i.gc()-1),g=0,u=i.Kc();u.Ob();)h+=(s=zz(u.Pb(),10)).o.a,g=n.Math.max(g,s.o.b);for(m=b.a-(h-w.a)/2,o=b.b+w.b+d.a-g,a=r=w.a/(i.gc()+1),c=i.Kc();c.Ob();)(s=zz(c.Pb(),10)).n.a=m,s.n.b=o,m+=s.o.a+f,(l=FLt(s)).n.a=s.o.a/2-l.a.a,l.n.b=0,(p=zz(vEt(s,(hWt(),Rhe)),11)).e.c.length+p.g.c.length==1&&(p.n.a=a-p.a.a,p.n.b=w.b,SJ(p,t)),a+=r}}function XGt(t,e){var i,r,a,o,s,c;if(zz(vEt(e,(hWt(),Jhe)),21).Hc((gBt(),fhe))){for(c=new Wd(e.a);c.a<c.c.c.length;)(o=zz(t0(c),10)).k==(cTt(),Sse)&&(a=zz(vEt(o,(HZt(),Sbe)),142),t.c=n.Math.min(t.c,o.n.a-a.b),t.a=n.Math.max(t.a,o.n.a+o.o.a+a.c),t.d=n.Math.min(t.d,o.n.b-a.d),t.b=n.Math.max(t.b,o.n.b+o.o.b+a.a));for(s=new Wd(e.a);s.a<s.c.c.length;)if((o=zz(t0(s),10)).k!=(cTt(),Sse))switch(o.k.g){case 2:if((r=zz(vEt(o,(HZt(),xbe)),163))==(Edt(),$fe)){o.n.a=t.c-10,Qvt(o,new Un).Jb(new rp(o));break}if(r==qfe){o.n.a=t.a+10,Qvt(o,new Gn).Jb(new ap(o));break}if((i=zz(vEt(o,ife),303))==(G9(),She)){dHt(o).Jb(new op(o)),o.n.b=t.d-10;break}if(i==The){dHt(o).Jb(new sp(o)),o.n.b=t.b+10;break}break;default:throw qw(new jv("The node type "+o.k+" is not supported by the "+Qce))}}}function VGt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;for(c=new PS(i.i+i.g/2,i.j+i.f/2),f=Wqt(i),d=zz(tOt(e,(HZt(),nwe)),98),p=zz(tOt(i,swe),61),zI(dwt(i),ewe)||(g=0==i.i&&0==i.j?0:nEt(i,p),Qwt(i,ewe,g)),hct(r=gZt(i,d,p,f,new PS(e.g,e.f),c,new PS(i.g,i.f),zz(vEt(n,Ype),103),n),(hWt(),pfe),i),qf(a=zz(PH(r.j,0),11),_jt(i)),hct(r,awe,(dIt(),edt(rIe))),l=zz(tOt(e,awe),174).Hc(nIe),s=new DL((!i.n&&(i.n=new nY(GMe,i,1,7)),i.n));s.e!=s.i.gc();)if(!Hv(AB(tOt(o=zz(kwt(s),137),Ube)))&&o.a&&(h=Hlt(o),Wz(a.f,h),!l))switch(u=0,qG(zz(tOt(e,awe),21))&&(u=LIt(new PS(o.i,o.j),new PS(o.g,o.f),new PS(i.g,i.f),0,p)),p.g){case 2:case 4:h.o.a=u;break;case 1:case 3:h.o.b=u}hct(r,Swe,EB(tOt(QQ(e),Swe))),hct(r,Iwe,EB(tOt(QQ(e),Iwe))),hct(r,Twe,EB(tOt(QQ(e),Twe))),Wz(n.a,r),KW(t.a,i,r)}function QGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;for(DAt(n,"Processor arrange level",1),l=0,TX(),$rt(e,new ow((UHt(),ixe))),a=e.b,s=lwt(e,e.b),u=!0;u&&s.b.b!=s.d.a;)b=zz(Y0(s),86),0==zz(vEt(b,ixe),19).a?--a:u=!1;if(o=new tj(new u1(e,0,a)),c=new tj(new u1(e,a,e.b)),0==o.b)for(d=lwt(c,0);d.b!=d.d.c;)hct(zz(d3(d),86),lxe,rft(l++));else for(h=o.b,y=lwt(o,0);y.b!=y.d.c;){for(hct(m=zz(d3(y),86),lxe,rft(l++)),QGt(t,i=Bst(m),vat(n,1/h|0)),$rt(i,XW(new ow(lxe))),f=new VA,w=lwt(i,0);w.b!=w.d.c;)for(b=zz(d3(w),86),p=lwt(m.d,0);p.b!=p.d.c;)(g=zz(d3(p),188)).c==b&&r5(f,g,f.c.b,f.c);for(vX(m.d),zrt(m.d,f),s=lwt(c,c.b),r=m.d.b,u=!0;0<r&&u&&s.b.b!=s.d.a;)b=zz(Y0(s),86),0==zz(vEt(b,ixe),19).a?(hct(b,lxe,rft(l++)),--r,vet(s)):u=!1}HTt(n)}function JGt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(DAt(e,"Inverted port preprocessing",1),s=new E2(t.b,0),n=null,b=new Nw;s.b<s.d.gc();){for(p=n,CP(s.b<s.d.gc()),n=zz(s.d.Xb(s.c=s.b++),29),l=new Wd(b);l.a<l.c.c.length;)CJ(c=zz(t0(l),10),p);for(b.c=P8(Ote,HWt,1,0,5,1),h=new Wd(n.a);h.a<h.c.c.length;)if((c=zz(t0(h),10)).k==(cTt(),Sse)&&mD(zz(vEt(c,(HZt(),nwe)),98))){for(g=oFt(c,(sit(),qme),(kYt(),cIe)).Kc();g.Ob();)for(f=zz(g.Pb(),11),r=0,a=(i=zz(Vbt(o=f.e,P8(vse,o1t,17,o.c.length,0,1)),474)).length;r<a;++r)Lzt(t,f,i[r],b);for(d=oFt(c,Hme,SIe).Kc();d.Ob();)for(f=zz(d.Pb(),11),r=0,a=(i=zz(Vbt(o=f.g,P8(vse,o1t,17,o.c.length,0,1)),474)).length;r<a;++r)Ozt(t,f,i[r],b)}}for(u=new Wd(b);u.a<u.c.c.length;)CJ(c=zz(t0(u),10),n);HTt(e)}function tYt(t,e,n,i,r,a){var o,s,c,u,l,h;for(Uot(u=new ITt,e),USt(u,zz(tOt(e,(HZt(),swe)),61)),hct(u,(hWt(),pfe),e),SJ(u,n),(h=u.o).a=e.g,h.b=e.f,(l=u.n).a=e.i,l.b=e.j,KW(t.a,e,u),(o=c5(OK(gtt(new FH(null,(!e.e&&(e.e=new lR(jMe,e,7,4)),new g1(e.e,16))),new We),new Ye),new Wg(e)))||(o=c5(OK(gtt(new FH(null,(!e.d&&(e.d=new lR(jMe,e,8,5)),new g1(e.d,16))),new Ke),new Ze),new Kg(e))),o||(o=c5(new FH(null,(!e.e&&(e.e=new lR(jMe,e,7,4)),new g1(e.e,16))),new Xe)),hct(u,nfe,(lN(),!!o)),mHt(u,a,r,zz(tOt(e,twe),8)),c=new DL((!e.n&&(e.n=new nY(GMe,e,1,7)),e.n));c.e!=c.i.gc();)!Hv(AB(tOt(s=zz(kwt(c),137),Ube)))&&s.a&&Wz(u.f,Hlt(s));switch(r.g){case 2:case 1:(u.j==(kYt(),uIe)||u.j==TIe)&&i.Fc((gBt(),bhe));break;case 4:case 3:(u.j==(kYt(),cIe)||u.j==SIe)&&i.Fc((gBt(),bhe))}return u}function eYt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,m,y;for(f=null,r==(pQ(),Lve)?f=e:r==Nve&&(f=i),p=f.a.ec().Kc();p.Ob();){for(g=zz(p.Pb(),11),b=Oct(Sst(Ux(CEe,1),lKt,8,0,[g.i.n,g.n,g.a])).b,y=new Fm,c=new Fm,l=new y6(g.b);vO(l.a)||vO(l.b);)if(Hv(AB(vEt(u=zz(vO(l.a)?t0(l.a):t0(l.b),17),(hWt(),Sfe))))==a&&-1!=_9(o,u,0)){if(w=u.d==g?u.c:u.d,m=Oct(Sst(Ux(CEe,1),lKt,8,0,[w.i.n,w.n,w.a])).b,n.Math.abs(m-b)<.2)continue;m<b?e.a._b(w)?AY(y,new rI(Lve,u)):AY(y,new rI(Nve,u)):e.a._b(w)?AY(c,new rI(Lve,u)):AY(c,new rI(Nve,u))}if(y.a.gc()>1)for(n5(y,new uS(t,d=new hHt(g,y,r))),s.c[s.c.length]=d,h=y.a.ec().Kc();h.Ob();)v9(o,zz(h.Pb(),46).b);if(c.a.gc()>1)for(n5(c,new lS(t,d=new hHt(g,c,r))),s.c[s.c.length]=d,h=c.a.ec().Kc();h.Ob();)v9(o,zz(h.Pb(),46).b)}}function nYt(t){NE(t,new TAt(pk(mk(gk(wk(bk(new bs,p4t),"ELK Radial"),'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.'),new Ho),p4t))),s2(t,p4t,w3t,vwt(Pke)),s2(t,p4t,yJt,vwt(Rke)),s2(t,p4t,SJt,vwt(Ske)),s2(t,p4t,qJt,vwt(Ike)),s2(t,p4t,CJt,vwt(Mke)),s2(t,p4t,IJt,vwt(Cke)),s2(t,p4t,TJt,vwt(Dke)),s2(t,p4t,MJt,vwt(Nke)),s2(t,p4t,h4t,vwt(Eke)),s2(t,p4t,l4t,vwt(Tke)),s2(t,p4t,g4t,vwt(Oke)),s2(t,p4t,c4t,vwt(Lke)),s2(t,p4t,u4t,vwt(Bke)),s2(t,p4t,f4t,vwt(Fke)),s2(t,p4t,d4t,vwt(jke))}function iYt(t){var e;if(this.r=PK(new Tt,new Ct),this.b=new Hdt(zz(vZ($Ie),290)),this.p=new Hdt(zz(vZ($Ie),290)),this.i=new Hdt(zz(vZ(Rre),290)),this.e=t,this.o=new gD(t.rf()),this.D=t.Df()||Hv(AB(t.We((lWt(),TTe)))),this.A=zz(t.We((lWt(),RTe)),21),this.B=zz(t.We(HTe),21),this.q=zz(t.We(sCe),98),this.u=zz(t.We(hCe),21),!pEt(this.u))throw qw(new rx("Invalid port label placement: "+this.u));if(this.v=Hv(AB(t.We(dCe))),this.j=zz(t.We(BTe),21),!nLt(this.j))throw qw(new rx("Invalid node label placement: "+this.j));this.n=zz(ext(t,NTe),116),this.k=Uv(EB(ext(t,MCe))),this.d=Uv(EB(ext(t,ICe))),this.w=Uv(EB(ext(t,FCe))),this.s=Uv(EB(ext(t,DCe))),this.t=Uv(EB(ext(t,OCe))),this.C=zz(ext(t,PCe),142),this.c=2*this.d,e=!this.B.Hc((ejt(),qIe)),this.f=new Mbt(0,e,0),this.g=new Mbt(1,e,0),kv(this.f,(Fet(),Gie),this.g)}function rYt(t,e,i,r,a){var o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T;for(v=0,b=0,p=0,g=1,y=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));y.e!=y.i.gc();)g+=$3(new cG(JL(bLt(w=zz(kwt(y),33)).a.Kc(),new l))),A=w.g,b=n.Math.max(b,A),d=w.f,p=n.Math.max(p,d),v+=A*d;for(s=v+2*r*r*g*(!t.a&&(t.a=new nY(YMe,t,10,11)),t.a).i,o=n.Math.sqrt(s),u=n.Math.max(o*i,b),c=n.Math.max(o/i,p),m=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));m.e!=m.i.gc();)w=zz(kwt(m),33),E=a.b+(HOt(e,26)*aVt+HOt(e,27)*oVt)*(u-w.g),T=a.b+(HOt(e,26)*aVt+HOt(e,27)*oVt)*(c-w.f),Snt(w,E),Int(w,T);for(_=u+(a.b+a.c),k=c+(a.d+a.a),x=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));x.e!=x.i.gc();)for(f=new cG(JL(bLt(zz(kwt(x),33)).a.Kc(),new l));bDt(f);)eDt(h=zz(Y5(f),79))||qZt(h,e,_,k);jYt(t,_+=a.b+a.c,k+=a.d+a.a,!1,!0)}function aYt(t){var e,n,i,r,a,o,s,c,u,l,h;if(null==t)throw qw(new Ex(YWt));if(u=t,c=!1,(a=t.length)>0&&(d1(0,t.length),45!=(e=t.charCodeAt(0))&&43!=e||(t=t.substr(1),--a,c=45==e)),0==a)throw qw(new Ex(FXt+u+'"'));for(;t.length>0&&(d1(0,t.length),48==t.charCodeAt(0));)t=t.substr(1),--a;if(a>(r$t(),Bee)[10])throw qw(new Ex(FXt+u+'"'));for(r=0;r<a;r++)if(-1==ibt((d1(r,t.length),t.charCodeAt(r))))throw qw(new Ex(FXt+u+'"'));for(h=0,o=Nee[10],l=Pee[10],s=k9(Fee[10]),n=!0,(i=a%o)>0&&(h=-parseInt(t.substr(0,i),10),t=t.substr(i),a-=i,n=!1);a>=o;){if(i=parseInt(t.substr(0,o),10),t=t.substr(o),a-=o,n)n=!1;else{if(Xlt(h,s)<0)throw qw(new Ex(FXt+u+'"'));h=odt(h,l)}h=rdt(h,i)}if(Xlt(h,0)>0)throw qw(new Ex(FXt+u+'"'));if(!c&&Xlt(h=k9(h),0)<0)throw qw(new Ex(FXt+u+'"'));return h}function oYt(t,e){var n,i,r,a,o,s,c;if(Jq(),this.a=new ZO(this),this.b=t,this.c=e,this.f=MY(z9((MCt(),JOe),e)),this.f.dc())if((s=vkt(JOe,t))==e)for(this.e=!0,this.d=new Nw,this.f=new fc,this.f.Fc(C9t),zz(Pqt($9(JOe,Zet(t)),""),26)==t&&this.f.Fc(oG(JOe,Zet(t))),r=ARt(JOe,t).Kc();r.Ob();)switch(i=zz(r.Pb(),170),BW(z9(JOe,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(MY(z9(JOe,i)))}else if(JE(),zz(e,66).Oj())for(this.e=!0,this.f=null,this.d=new Nw,o=0,c=(null==t.i&&U$t(t),t.i).length;o<c;++o)for(null==t.i&&U$t(t),n=t.i,i=o>=0&&o<n.length?n[o]:null,a=J1(z9(JOe,i));a;a=J1(z9(JOe,a)))a==e&&this.d.Fc(i);else 1==BW(z9(JOe,e))&&s?(this.f=null,this.d=(EMt(),dLe)):(this.f=null,this.e=!0,this.d=(TX(),new Ud(e)));else this.e=5==BW(z9(JOe,e)),this.f.Fb(sLe)&&(this.f=sLe)}function sYt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p;for(i=0,r=Syt(t,e),d=t.s,g=t.t,l=zz(zz(l6(t.r,e),21),84).Kc();l.Ob();)if((u=zz(l.Pb(),111)).c&&!(u.c.d.c.length<=0)){switch(p=u.b.rf(),c=u.b.Xe((lWt(),oCe))?Uv(EB(u.b.We(oCe))):0,(f=(h=u.c).i).b=(s=h.n,h.e.a+s.b+s.c),f.a=(o=h.n,h.e.b+o.d+o.a),e.g){case 1:f.c=u.a?(p.a-f.b)/2:p.a+d,f.d=p.b+c+r,f7(h,(Q7(),Xie)),WB(h,(U9(),are));break;case 3:f.c=u.a?(p.a-f.b)/2:p.a+d,f.d=-c-r-f.a,f7(h,(Q7(),Xie)),WB(h,(U9(),ire));break;case 2:f.c=-c-r-f.b,u.a?(a=t.v?f.a:zz(PH(h.d,0),181).rf().b,f.d=(p.b-a)/2):f.d=p.b+g,f7(h,(Q7(),Qie)),WB(h,(U9(),rre));break;case 4:f.c=p.a+c+r,u.a?(a=t.v?f.a:zz(PH(h.d,0),181).rf().b,f.d=(p.b-a)/2):f.d=p.b+g,f7(h,(Q7(),Vie)),WB(h,(U9(),rre))}(e==(kYt(),uIe)||e==TIe)&&(i=n.Math.max(i,f.a))}i>0&&(zz(cK(t.b,e),124).a.b=i)}function cYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(DAt(e,"Comment pre-processing",1),n=0,c=new Wd(t.a);c.a<c.c.c.length;)if(Hv(AB(vEt(s=zz(t0(c),10),(HZt(),Ape))))){for(++n,r=0,i=null,u=null,g=new Wd(s.j);g.a<g.c.c.length;)r+=(f=zz(t0(g),11)).e.c.length+f.g.c.length,1==f.e.c.length&&(u=(i=zz(PH(f.e,0),17)).c),1==f.g.c.length&&(u=(i=zz(PH(f.g,0),17)).d);if(1!=r||u.e.c.length+u.g.c.length!=1||Hv(AB(vEt(u.i,Ape)))){for(b=new Nw,d=new Wd(s.j);d.a<d.c.c.length;){for(h=new Wd((f=zz(t0(d),11)).g);h.a<h.c.c.length;)0==(l=zz(t0(h),17)).d.g.c.length||(b.c[b.c.length]=l);for(o=new Wd(f.e);o.a<o.c.c.length;)0==(a=zz(t0(o),17)).c.e.c.length||(b.c[b.c.length]=a)}for(p=new Wd(b);p.a<p.c.c.length;)nzt(zz(t0(p),17),!0)}else eZt(s,i,u,u.i),DY(c)}e.n&&Mq(e,"Found "+n+" comment boxes"),HTt(e)}function uYt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(f=Uv(EB(vEt(t,(HZt(),Swe)))),d=Uv(EB(vEt(t,Iwe))),h=Uv(EB(vEt(t,Twe))),s=t.o,o=(a=zz(PH(t.j,0),11)).n,p=ECt(a,h)){if(e.Hc((dIt(),nIe)))switch(zz(vEt(t,(hWt(),Xhe)),61).g){case 1:p.c=(s.a-p.b)/2-o.a,p.d=d;break;case 3:p.c=(s.a-p.b)/2-o.a,p.d=-d-p.a;break;case 2:n&&0==a.e.c.length&&0==a.g.c.length?(l=i?p.a:zz(PH(a.f,0),70).o.b,p.d=(s.b-l)/2-o.b):p.d=s.b+d-o.b,p.c=-f-p.b;break;case 4:n&&0==a.e.c.length&&0==a.g.c.length?(l=i?p.a:zz(PH(a.f,0),70).o.b,p.d=(s.b-l)/2-o.b):p.d=s.b+d-o.b,p.c=f}else if(e.Hc(rIe))switch(zz(vEt(t,(hWt(),Xhe)),61).g){case 1:case 3:p.c=o.a+f;break;case 2:case 4:n&&!a.c?(l=i?p.a:zz(PH(a.f,0),70).o.b,p.d=(s.b-l)/2-o.b):p.d=o.b+d}for(r=p.d,u=new Wd(a.f);u.a<u.c.c.length;)(g=(c=zz(t0(u),70)).n).a=p.c,g.b=r,r+=c.o.b+h}}function lYt(){FM(gLe,new Ku),FM(GLe,new ol),FM(YLe,new wl),FM(ZLe,new Sl),FM(Vee,new Ol),FM(Ux(NNe,1),new Ll),FM(kee,new Nl),FM(Eee,new Pl),FM(Vee,new ju),FM(Vee,new $u),FM(Vee,new zu),FM(See,new qu),FM(Vee,new Hu),FM(Rte,new Uu),FM(Rte,new Gu),FM(Vee,new Yu),FM(Iee,new Zu),FM(Vee,new Wu),FM(Vee,new Xu),FM(Vee,new Vu),FM(Vee,new Qu),FM(Vee,new Ju),FM(Ux(NNe,1),new tl),FM(Vee,new el),FM(Vee,new nl),FM(Rte,new il),FM(Rte,new rl),FM(Vee,new al),FM(Oee,new sl),FM(Vee,new cl),FM(Ree,new ul),FM(Vee,new ll),FM(Vee,new hl),FM(Vee,new fl),FM(Vee,new dl),FM(Rte,new gl),FM(Rte,new pl),FM(Vee,new bl),FM(Vee,new ml),FM(Vee,new yl),FM(Vee,new vl),FM(Vee,new xl),FM(Vee,new kl),FM($ee,new _l),FM(Vee,new Al),FM(Vee,new El),FM(Vee,new Tl),FM($ee,new Cl),FM(Ree,new Il),FM(Vee,new Ml),FM(Oee,new Dl)}function hYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;if((h=e.length)>0&&(d1(0,e.length),64!=(s=e.charCodeAt(0)))){if(37==s&&(c=!1,0!=(l=e.lastIndexOf("%"))&&(l==h-1||(d1(l+1,e.length),c=46==e.charCodeAt(l+1))))){if(m=yR("%",o=e.substr(1,l-1))?null:LYt(o),i=0,c)try{i=djt(e.substr(l+2),$Kt,FWt)}catch(t){throw aL(t=dst(t),127)?qw(new L9(t)):qw(t)}for(p=Art(t.Wg());p.Ob();)if(aL(d=Tot(p),510)&&(w=(r=zz(d,590)).d,(null==m?null==w:yR(m,w))&&0==i--))return r;return null}if(f=-1==(u=e.lastIndexOf("."))?e:e.substr(0,u),n=0,-1!=u)try{n=djt(e.substr(u+1),$Kt,FWt)}catch(t){if(!aL(t=dst(t),127))throw qw(t);f=e}for(f=yR("%",f)?null:LYt(f),g=Art(t.Wg());g.Ob();)if(aL(d=Tot(g),191)&&(b=(a=zz(d,191)).ne(),(null==f?null==b:yR(f,b))&&0==n--))return a;return null}return $Ht(t,e)}function fYt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A;for(y=new Nw,h=new Wd(t.b);h.a<h.c.c.length;)for(g=new Wd(zz(t0(h),29).a);g.a<g.c.c.length;)if((f=zz(t0(g),10)).k==(cTt(),Ese)&&LP(f,(hWt(),Khe))){for(p=null,w=null,b=null,k=new Wd(f.j);k.a<k.c.c.length;)switch((x=zz(t0(k),11)).j.g){case 4:p=x;break;case 2:w=x;break;default:b=x}for(u=new Rk((m=zz(PH(b.g,0),17)).a),YF(c=new gD(b.n),f.n),tZ(lwt(u,0),c),v=Jct(m.a),YF(l=new gD(b.n),f.n),r5(v,l,v.c.b,v.c),_=zz(vEt(f,Khe),10),A=zz(PH(_.j,0),11),a=0,s=(i=zz(Vbt(p.e,P8(vse,o1t,17,0,0,1)),474)).length;a<s;++a)EJ(e=i[a],A),Kut(e.a,e.a.b,u);for(r=0,o=(n=J0(w.g)).length;r<o;++r)TJ(e=n[r],A),Kut(e.a,0,v);TJ(m,null),EJ(m,null),y.c[y.c.length]=f}for(d=new Wd(y);d.a<d.c.c.length;)CJ(f=zz(t0(d),10),null)}function dYt(){var t,e,n;for(dYt=M,new xtt(1,0),new xtt(10,0),new xtt(0,0),Hee=P8(rne,lKt,240,11,0,1),Uee=P8(MNe,KKt,25,100,15,1),Gee=Sst(Ux(PNe,1),UXt,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]),Yee=P8(DNe,hXt,25,Gee.length,15,1),Zee=Sst(Ux(PNe,1),UXt,25,15,[1,10,100,XKt,1e4,GXt,1e6,1e7,1e8,OXt,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),Wee=P8(DNe,hXt,25,Zee.length,15,1),Kee=P8(rne,lKt,240,11,0,1),t=0;t<Kee.length;t++)Hee[t]=new xtt(t,0),Kee[t]=new xtt(0,t),Uee[t]=48;for(;t<Uee.length;t++)Uee[t]=48;for(n=0;n<Yee.length;n++)Yee[n]=sIt(Gee[n]);for(e=0;e<Wee.length;e++)Wee[e]=sIt(Zee[e]);LMt()}function gYt(){function t(){this.obj=this.createObject()}return t.prototype.createObject=function(t){return Object.create(null)},t.prototype.get=function(t){return this.obj[t]},t.prototype.set=function(t,e){this.obj[t]=e},t.prototype[rVt]=function(t){delete this.obj[t]},t.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},t.prototype.entries=function(){var t=this.keys(),e=this,n=0;return{next:function(){if(n>=t.length)return{done:!0};var i=t[n++];return{value:[i,e.get(i)],done:!1}}}},YBt()||(t.prototype.createObject=function(){return{}},t.prototype.get=function(t){return this.obj[":"+t]},t.prototype.set=function(t,e){this.obj[":"+t]=e},t.prototype[rVt]=function(t){delete this.obj[":"+t]},t.prototype.keys=function(){var t=[];for(var e in this.obj)58==e.charCodeAt(0)&&t.push(e.substring(1));return t}),t}function pYt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;if(S$t(),null==t)return null;if(0==(h=8*t.length))return"";for(f=h/24|0,a=null,a=P8(MNe,KKt,25,4*(0!=(s=h%24)?f+1:f),15,1),u=0,l=0,e=0,n=0,i=0,o=0,r=0,c=0;c<f;c++)e=t[r++],l=(15&(n=t[r++]))<<24>>24,u=(3&e)<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,g=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,p=0==(-128&(i=t[r++]))?i>>6<<24>>24:(i>>6^252)<<24>>24,a[o++]=KLe[d],a[o++]=KLe[g|u<<4],a[o++]=KLe[l<<2|p],a[o++]=KLe[63&i];return 8==s?(u=(3&(e=t[r]))<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,a[o++]=KLe[d],a[o++]=KLe[u<<4],a[o++]=61,a[o++]=61):16==s&&(e=t[r],l=(15&(n=t[r+1]))<<24>>24,u=(3&e)<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,g=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,a[o++]=KLe[d],a[o++]=KLe[g|u<<4],a[o++]=KLe[l<<2],a[o++]=61),qpt(a,0,a.length)}function bYt(t,e){var i,r,a,o,s,c;if(0==t.e&&t.p>0&&(t.p=-(t.p-1)),t.p>$Kt&&n4(e,t.p-lXt),s=e.q.getDate(),$Q(e,1),t.k>=0&&mJ(e,t.k),t.c>=0?$Q(e,t.c):t.k>=0?(r=35-new yct(e.q.getFullYear()-lXt,e.q.getMonth(),35).q.getDate(),$Q(e,n.Math.min(r,s))):$Q(e,s),t.f<0&&(t.f=e.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),oL(e,24==t.f&&t.g?0:t.f),t.j>=0&&b6(e,t.j),t.n>=0&&Y8(e,t.n),t.i>=0&&pM(e,adt(odt(Dkt(fot(e.q.getTime()),XKt),XKt),t.i)),t.a&&(n4(a=new DA,a.q.getFullYear()-lXt-80),uT(fot(e.q.getTime()),fot(a.q.getTime()))&&n4(e,a.q.getFullYear()-lXt+100)),t.d>=0)if(-1==t.c)(i=(7+t.d-e.q.getDay())%7)>3&&(i-=7),c=e.q.getMonth(),$Q(e,e.q.getDate()+i),e.q.getMonth()!=c&&$Q(e,e.q.getDate()+(i>0?-7:7));else if(e.q.getDay()!=t.d)return!1;return t.o>$Kt&&(o=e.q.getTimezoneOffset(),pM(e,adt(fot(e.q.getTime()),60*(t.o-o)*XKt))),!0}function wYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(aL(r=vEt(e,(hWt(),pfe)),239)){for(d=zz(r,33),g=e.e,h=new gD(e.c),a=e.d,h.a+=a.b,h.b+=a.d,TN(zz(tOt(d,(HZt(),Hbe)),174),(ejt(),HIe))&&(Mf(f=zz(tOt(d,Gbe),116),a.a),jf(f,a.d),Df(f,a.b),$f(f,a.c)),n=new Nw,u=new Wd(e.a);u.a<u.c.c.length;)for(aL(vEt(s=zz(t0(u),10),pfe),239)?IYt(s,h):aL(vEt(s,pfe),186)&&!g&&TD(i=zz(vEt(s,pfe),118),(b=x$t(e,s,i.g,i.f)).a,b.b),p=new Wd(s.j);p.a<p.c.c.length;)QA(DK(new FH(null,new g1(zz(t0(p),11).g,16)),new Xg(s)),new Vg(n));if(g)for(p=new Wd(g.j);p.a<p.c.c.length;)QA(DK(new FH(null,new g1(zz(t0(p),11).g,16)),new Qg(g)),new Jg(n));for(w=zz(tOt(d,Jpe),218),o=new Wd(n);o.a<o.c.c.length;)mGt(zz(t0(o),17),w,h);for(vjt(e),c=new Wd(e.a);c.a<c.c.c.length;)(l=(s=zz(t0(c),10)).e)&&wYt(t,l)}}function mYt(t){NE(t,new TAt(yk(pk(mk(gk(wk(bk(new bs,wJt),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new ge),wJt),_U((hDt(),eDe),Sst(Ux(oDe,1),LKt,237,0,[JMe]))))),s2(t,wJt,mJt,rft(1)),s2(t,wJt,yJt,80),s2(t,wJt,vJt,5),s2(t,wJt,XQt,bJt),s2(t,wJt,xJt,rft(1)),s2(t,wJt,kJt,(lN(),!0)),s2(t,wJt,VQt,Xae),s2(t,wJt,_Jt,vwt(qae)),s2(t,wJt,AJt,vwt(Vae)),s2(t,wJt,EJt,!1),s2(t,wJt,TJt,vwt(Wae)),s2(t,wJt,CJt,vwt(Zae)),s2(t,wJt,SJt,vwt(Yae)),s2(t,wJt,IJt,vwt(Gae)),s2(t,wJt,MJt,vwt(Qae)),s2(t,wJt,uJt,vwt(Uae)),s2(t,wJt,fJt,vwt(ooe)),s2(t,wJt,lJt,vwt(Hae)),s2(t,wJt,gJt,vwt(eoe)),s2(t,wJt,hJt,vwt(noe))}function yYt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g;if(!zz(zz(l6(t.r,e),21),84).dc()){if(u=(s=zz(cK(t.b,e),124)).i,c=s.n,h=SBt(t,e),r=u.b-c.b-c.c,a=s.a.a,o=u.c+c.b,g=t.w,h!=(owt(),zSe)&&h!=HSe||1!=zz(zz(l6(t.r,e),21),84).gc()||(a=h==zSe?a-2*t.w:a,h=$Se),r<a&&!t.B.Hc((ejt(),WIe)))h==zSe?o+=g+=(r-a)/(zz(zz(l6(t.r,e),21),84).gc()+1):g+=(r-a)/(zz(zz(l6(t.r,e),21),84).gc()-1);else switch(r<a&&(a=h==zSe?a-2*t.w:a,h=$Se),h.g){case 3:o+=(r-a)/2;break;case 4:o+=r-a;break;case 0:i=(r-a)/(zz(zz(l6(t.r,e),21),84).gc()+1),o+=g+=n.Math.max(0,i);break;case 1:i=(r-a)/(zz(zz(l6(t.r,e),21),84).gc()-1),g+=n.Math.max(0,i)}for(d=zz(zz(l6(t.r,e),21),84).Kc();d.Ob();)(f=zz(d.Pb(),111)).e.a=o+f.d.b,f.e.b=(l=f.b).Xe((lWt(),oCe))?l.Hf()==(kYt(),uIe)?-l.rf().b-Uv(EB(l.We(oCe))):Uv(EB(l.We(oCe))):l.Hf()==(kYt(),uIe)?-l.rf().b:0,o+=f.d.b+f.b.rf().a+f.d.c+g}}function vYt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p;if(!zz(zz(l6(t.r,e),21),84).dc()){if(u=(s=zz(cK(t.b,e),124)).i,c=s.n,f=SBt(t,e),r=u.a-c.d-c.a,a=s.a.b,o=u.d+c.d,p=t.w,l=t.o.a,f!=(owt(),zSe)&&f!=HSe||1!=zz(zz(l6(t.r,e),21),84).gc()||(a=f==zSe?a-2*t.w:a,f=$Se),r<a&&!t.B.Hc((ejt(),WIe)))f==zSe?o+=p+=(r-a)/(zz(zz(l6(t.r,e),21),84).gc()+1):p+=(r-a)/(zz(zz(l6(t.r,e),21),84).gc()-1);else switch(r<a&&(a=f==zSe?a-2*t.w:a,f=$Se),f.g){case 3:o+=(r-a)/2;break;case 4:o+=r-a;break;case 0:i=(r-a)/(zz(zz(l6(t.r,e),21),84).gc()+1),o+=p+=n.Math.max(0,i);break;case 1:i=(r-a)/(zz(zz(l6(t.r,e),21),84).gc()-1),p+=n.Math.max(0,i)}for(g=zz(zz(l6(t.r,e),21),84).Kc();g.Ob();)(d=zz(g.Pb(),111)).e.a=(h=d.b).Xe((lWt(),oCe))?h.Hf()==(kYt(),SIe)?-h.rf().a-Uv(EB(h.We(oCe))):l+Uv(EB(h.We(oCe))):h.Hf()==(kYt(),SIe)?-h.rf().a:l,d.e.b=o+d.d.d,o+=d.d.d+d.b.rf().b+d.d.a+p}}function xYt(t){var e,i,r,a,o,s,c,u,h,f,d,g,p,b,w;for(t.n=Uv(EB(vEt(t.g,(HZt(),Mwe)))),t.e=Uv(EB(vEt(t.g,Awe))),t.i=t.g.b.c.length,c=t.i-1,g=0,t.j=0,t.k=0,t.a=s6(P8(Oee,lKt,19,t.i,0,1)),t.b=s6(P8(See,lKt,333,t.i,7,1)),s=new Wd(t.g.b);s.a<s.c.c.length;){for((a=zz(t0(s),29)).p=c,d=new Wd(a.a);d.a<d.c.c.length;)(f=zz(t0(d),10)).p=g,++g;--c}for(t.f=P8(DNe,hXt,25,g,15,1),t.c=xH(DNe,[lKt,hXt],[48,25],15,[g,3],2),t.o=new Nw,t.p=new Nw,e=0,t.d=0,o=new Wd(t.g.b);o.a<o.c.c.length;){for(c=(a=zz(t0(o),29)).p,r=0,w=0,u=a.a.c.length,h=0,d=new Wd(a.a);d.a<d.c.c.length;)g=(f=zz(t0(d),10)).p,t.f[g]=f.c.p,h+=f.o.b+t.n,i=$3(new cG(JL(fdt(f).a.Kc(),new l))),b=$3(new cG(JL(ddt(f).a.Kc(),new l))),t.c[g][0]=b-i,t.c[g][1]=i,t.c[g][2]=b,r+=i,w+=b,i>0&&Wz(t.p,f),Wz(t.o,f);p=u+(e-=r),h+=e*t.e,a5(t.a,c,rft(p)),a5(t.b,c,h),t.j=n.Math.max(t.j,p),t.k=n.Math.max(t.k,h),t.d+=e,e+=w}}function kYt(){var t;kYt=M,CIe=new WS(hQt,0),uIe=new WS(vQt,1),cIe=new WS(xQt,2),TIe=new WS(kQt,3),SIe=new WS(_Qt,4),TX(),gIe=new Dx(new VR(t=zz(Kk($Ie),9),zz(TF(t,t.length),9),0)),pIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[]))),lIe=fht(_U(cIe,Sst(Ux($Ie,1),QJt,61,0,[]))),_Ie=fht(_U(TIe,Sst(Ux($Ie,1),QJt,61,0,[]))),EIe=fht(_U(SIe,Sst(Ux($Ie,1),QJt,61,0,[]))),vIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[TIe]))),dIe=fht(_U(cIe,Sst(Ux($Ie,1),QJt,61,0,[SIe]))),kIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[SIe]))),bIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[cIe]))),AIe=fht(_U(TIe,Sst(Ux($Ie,1),QJt,61,0,[SIe]))),hIe=fht(_U(cIe,Sst(Ux($Ie,1),QJt,61,0,[TIe]))),yIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[cIe,SIe]))),fIe=fht(_U(cIe,Sst(Ux($Ie,1),QJt,61,0,[TIe,SIe]))),xIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[TIe,SIe]))),wIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[cIe,TIe]))),mIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[cIe,TIe,SIe])))}function _Yt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;if(0!=e.b){for(f=new VA,o=null,d=null,i=SQ(n.Math.floor(n.Math.log(e.b)*n.Math.LOG10E)+1),s=0,m=lwt(e,0);m.b!=m.d.c;)for(b=zz(d3(m),86),UI(d)!==UI(vEt(b,(UHt(),rxe)))&&(d=TB(vEt(b,rxe)),s=0),o=null!=d?d+p0(s++,i):p0(s++,i),hct(b,rxe,o),p=new gb(lwt(new db(b).a.d,0));__(p.a);)r5(f,g=zz(d3(p.a),188).c,f.c.b,f.c),hct(g,rxe,o);for(h=new Pw,a=0;a<o.length-i;a++)for(w=lwt(e,0);w.b!=w.d.c;)yJ(h,c=hP(TB(vEt(b=zz(d3(w),86),(UHt(),rxe))),0,a+1),rft(null!=(null==c?HI(DV(h.f,null)):lT(h.g,c))?zz(null==c?HI(DV(h.f,null)):lT(h.g,c),19).a+1:1));for(l=new cut(new Cd(h).a);l.b;)u=nnt(l),r=rft(null!=FZ(t.a,u.cd())?zz(FZ(t.a,u.cd()),19).a:0),yJ(t.a,TB(u.cd()),rft(zz(u.dd(),19).a+r.a)),(!(r=zz(FZ(t.b,u.cd()),19))||r.a<zz(u.dd(),19).a)&&yJ(t.b,TB(u.cd()),zz(u.dd(),19));_Yt(t,f)}}function AYt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;for(DAt(i,"Interactive node layering",1),r=new Nw,g=new Wd(e.a);g.a<g.c.c.length;){for(u=(l=(f=zz(t0(g),10)).n.a)+f.o.a,u=n.Math.max(l+1,u),m=new E2(r,0),a=null;m.b<m.d.gc();){if(CP(m.b<m.d.gc()),(b=zz(m.d.Xb(m.c=m.b++),569)).c>=u){CP(m.b>0),m.a.Xb(m.c=--m.b);break}b.a>l&&(a?(wst(a.b,b.b),a.a=n.Math.max(a.a,b.a),hW(m)):(Wz(b.b,f),b.c=n.Math.min(b.c,l),b.a=n.Math.max(b.a,u),a=b))}a||((a=new iy).c=l,a.a=u,vF(m,a),Wz(a.b,f))}for(c=e.b,h=0,w=new Wd(r);w.a<w.c.c.length;)for(b=zz(t0(w),569),(o=new qZ(e)).p=h++,c.c[c.c.length]=o,p=new Wd(b.b);p.a<p.c.c.length;)CJ(f=zz(t0(p),10),o),f.p=0;for(d=new Wd(e.a);d.a<d.c.c.length;)0==(f=zz(t0(d),10)).p&&IBt(t,f,e);for(s=new E2(c,0);s.b<s.d.gc();)0==(CP(s.b<s.d.gc()),zz(s.d.Xb(s.c=s.b++),29)).a.c.length&&hW(s);e.a.c=P8(Ote,HWt,1,0,5,1),HTt(i)}function EYt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(0!=e.e.c.length&&0!=n.e.c.length){if((i=zz(PH(e.e,0),17).c.i)==(o=zz(PH(n.e,0),17).c.i))return _O(zz(vEt(zz(PH(e.e,0),17),(hWt(),gfe)),19).a,zz(vEt(zz(PH(n.e,0),17),gfe),19).a);for(h=0,f=(l=t.a).length;h<f;++h){if((u=l[h])==i)return 1;if(u==o)return-1}}return 0!=e.g.c.length&&0!=n.g.c.length?(a=zz(vEt(e,(hWt(),ffe)),10),c=zz(vEt(n,ffe),10),r=0,s=0,LP(zz(PH(e.g,0),17),gfe)&&(r=zz(vEt(zz(PH(e.g,0),17),gfe),19).a),LP(zz(PH(n.g,0),17),gfe)&&(s=zz(vEt(zz(PH(e.g,0),17),gfe),19).a),a&&a==c?Hv(AB(vEt(zz(PH(e.g,0),17),Sfe)))&&!Hv(AB(vEt(zz(PH(n.g,0),17),Sfe)))?1:!Hv(AB(vEt(zz(PH(e.g,0),17),Sfe)))&&Hv(AB(vEt(zz(PH(n.g,0),17),Sfe)))||r<s?-1:r>s?1:0:(t.b&&(t.b._b(a)&&(r=zz(t.b.xc(a),19).a),t.b._b(c)&&(s=zz(t.b.xc(c),19).a)),r<s?-1:r>s?1:0)):0!=e.e.c.length&&0!=n.g.c.length?1:-1}function TYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;for(DAt(e,D1t,1),g=new Nw,v=new Nw,u=new Wd(t.b);u.a<u.c.c.length;)for(b=-1,f=0,d=(h=t2((c=zz(t0(u),29)).a)).length;f<d;++f)if(++b,(l=h[f]).k==(cTt(),Sse)&&mD(zz(vEt(l,(HZt(),nwe)),98))){for(LR(zz(vEt(l,(HZt(),nwe)),98))||HNt(l),hct(l,(hWt(),rfe),l),g.c=P8(Ote,HWt,1,0,5,1),v.c=P8(Ote,HWt,1,0,5,1),n=new Nw,Urt(m=new VA,FTt(l,(kYt(),uIe))),OZt(t,m,g,v,n),s=b,x=l,a=new Wd(g);a.a<a.c.c.length;)Vvt(i=zz(t0(a),10),s,c),++b,hct(i,rfe,l),o=zz(PH(i.j,0),11),p=zz(vEt(o,pfe),11),Hv(AB(vEt(p,kpe)))||zz(vEt(i,afe),15).Fc(x);for(vX(m),w=FTt(l,TIe).Kc();w.Ob();)r5(m,zz(w.Pb(),11),m.a,m.a.a);for(OZt(t,m,v,null,n),y=l,r=new Wd(v);r.a<r.c.c.length;)Vvt(i=zz(t0(r),10),++b,c),hct(i,rfe,l),o=zz(PH(i.j,0),11),p=zz(vEt(o,pfe),11),Hv(AB(vEt(p,kpe)))||zz(vEt(y,afe),15).Fc(i);0==n.c.length||hct(l,Phe,n)}HTt(e)}function CYt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C;for(l=zz(vEt(t,(Trt(),uoe)),33),p=FWt,b=FWt,d=$Kt,g=$Kt,m=new Wd(t.e);m.a<m.c.c.length;)_=(w=zz(t0(m),144)).d,A=w.e,p=n.Math.min(p,_.a-A.a/2),b=n.Math.min(b,_.b-A.b/2),d=n.Math.max(d,_.a+A.a/2),g=n.Math.max(g,_.b+A.b/2);for(x=new PS((k=zz(tOt(l,(fFt(),Kae)),116)).b-p,k.d-b),c=new Wd(t.e);c.a<c.c.c.length;)aL(v=vEt(s=zz(t0(c),144),uoe),239)&&TD(h=zz(v,33),(y=YF(s.d,x)).a-h.g/2,y.b-h.f/2);for(r=new Wd(t.c);r.a<r.c.c.length;)i=zz(t0(r),282),u=oBt(zz(vEt(i,uoe),79),!0,!0),Zxt(T=ZF(zO(i.d.d),i.c.d),i.c.e.a,i.c.e.b),SD(u,(E=YF(T,i.c.d)).a,E.b),Zxt(C=ZF(zO(i.c.d),i.d.d),i.d.e.a,i.d.e.b),CD(u,(e=YF(C,i.d.d)).a,e.b);for(o=new Wd(t.d);o.a<o.c.c.length;)a=zz(t0(o),447),TD(zz(vEt(a,uoe),137),(f=YF(a.d,x)).a,f.b);jYt(l,d-p+(k.b+k.c),g-b+(k.d+k.a),!1,!0)}function SYt(t){var e,n,i,r,a,o,s,c,u,l,h;for(n=null,s=null,(r=zz(vEt(t.b,(HZt(),ibe)),376))==(D6(),Qme)&&(n=new Nw,s=new Nw),o=new Wd(t.d);o.a<o.c.c.length;)if((a=zz(t0(o),101)).i)switch(a.e.g){case 0:e=zz(s4(new XA(a.b)),61),r==Qme&&e==(kYt(),uIe)?n.c[n.c.length]=a:r==Qme&&e==(kYt(),TIe)?s.c[s.c.length]=a:Pyt(a,e);break;case 1:c=a.a.d.j,u=a.c.d.j,c==(kYt(),uIe)?dY(a,uIe,(Dst(),yue),a.a):u==uIe?dY(a,uIe,(Dst(),vue),a.c):c==TIe?dY(a,TIe,(Dst(),vue),a.a):u==TIe&&dY(a,TIe,(Dst(),yue),a.c);break;case 2:case 3:TN(i=a.b,(kYt(),uIe))?TN(i,TIe)?TN(i,SIe)?TN(i,cIe)||dY(a,uIe,(Dst(),vue),a.c):dY(a,uIe,(Dst(),yue),a.a):dY(a,uIe,(Dst(),mue),null):dY(a,TIe,(Dst(),mue),null);break;case 4:l=a.a.d.j,h=a.a.d.j,l==(kYt(),uIe)||h==uIe?dY(a,TIe,(Dst(),mue),null):dY(a,uIe,(Dst(),mue),null)}n&&(0==n.c.length||V$t(n,(kYt(),uIe)),0==s.c.length||V$t(s,(kYt(),TIe)))}function IYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;for(i=zz(vEt(t,(hWt(),pfe)),33),d=zz(vEt(t,(HZt(),zpe)),19).a,a=zz(vEt(t,kbe),19).a,Qwt(i,zpe,rft(d)),Qwt(i,kbe,rft(a)),Snt(i,t.n.a+e.a),Int(i,t.n.b+e.b),(0!=zz(tOt(i,$be),174).gc()||t.e||UI(vEt(mW(t),jbe))===UI((Pmt(),yme))&&wD((gmt(),(t.q?t.q:(TX(),TX(),hne))._b(Fbe)?zz(vEt(t,Fbe),197):zz(vEt(mW(t),Rbe),197))))&&(Cnt(i,t.o.a),Tnt(i,t.o.b)),h=new Wd(t.j);h.a<h.c.c.length;)aL(g=vEt(u=zz(t0(h),11),pfe),186)&&(TD(r=zz(g,118),u.n.a,u.n.b),Qwt(r,swe,u.j));for(f=0!=zz(vEt(t,Obe),174).gc(),c=new Wd(t.b);c.a<c.c.c.length;)o=zz(t0(c),70),(f||0!=zz(vEt(o,Obe),174).gc())&&(ED(n=zz(vEt(o,pfe),137),o.o.a,o.o.b),TD(n,o.n.a,o.n.b));if(!qG(zz(vEt(t,awe),21)))for(l=new Wd(t.j);l.a<l.c.c.length;)for(s=new Wd((u=zz(t0(l),11)).f);s.a<s.c.c.length;)o=zz(t0(s),70),Cnt(n=zz(vEt(o,pfe),137),o.o.a),Tnt(n,o.o.b),TD(n,o.n.a,o.n.b)}function MYt(t){var e,n,i,r,a;switch(MV(t,r8t),(!t.b&&(t.b=new lR(RMe,t,4,7)),t.b).i+(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c).i){case 0:throw qw(new jv("The edge must have at least one source or target."));case 1:return 0==(!t.b&&(t.b=new lR(RMe,t,4,7)),t.b).i?QQ(SAt(zz(Ket((!t.c&&(t.c=new lR(RMe,t,5,8)),t.c),0),82))):QQ(SAt(zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82)))}if(1==(!t.b&&(t.b=new lR(RMe,t,4,7)),t.b).i&&1==(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c).i){if(r=SAt(zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82)),a=SAt(zz(Ket((!t.c&&(t.c=new lR(RMe,t,5,8)),t.c),0),82)),QQ(r)==QQ(a))return QQ(r);if(r==QQ(a))return r;if(a==QQ(r))return a}for(e=SAt(zz(Y5(i=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[(!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c)])))),82));bDt(i);)if((n=SAt(zz(Y5(i),82)))!=e&&!Iet(n,e))if(QQ(n)==QQ(e))e=QQ(n);else if(!(e=qOt(e,n)))return null;return e}function DYt(t,e,i){var r,a,o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k;for(DAt(i,"Polyline edge routing",1),m=Uv(EB(vEt(e,(HZt(),ebe)))),p=Uv(EB(vEt(e,Dwe))),a=Uv(EB(vEt(e,xwe))),r=n.Math.min(1,a/p),x=0,u=0,0!=e.b.c.length&&(x=.4*r*(k=hLt(zz(PH(e.b,0),29)))),c=new E2(e.b,0);c.b<c.d.gc();){for(CP(c.b<c.d.gc()),(o=KI(s=zz(c.d.Xb(c.c=c.b++),29),kve))&&x>0&&(x-=p),EHt(s,x),f=0,g=new Wd(s.a);g.a<g.c.c.length;){for(h=0,w=new cG(JL(ddt(d=zz(t0(g),10)).a.Kc(),new l));bDt(w);)y=b1((b=zz(Y5(w),17)).c).b,v=b1(b.d).b,s!=b.d.i.c||d5(b)||(XIt(b,x,.4*r*n.Math.abs(y-v)),b.c.j==(kYt(),SIe)&&(y=0,v=0)),h=n.Math.max(h,n.Math.abs(v-y));switch(d.k.g){case 0:case 4:case 1:case 3:case 5:GHt(t,d,x,m)}f=n.Math.max(f,h)}c.b<c.d.gc()&&(k=hLt((CP(c.b<c.d.gc()),zz(c.d.Xb(c.c=c.b++),29))),f=n.Math.max(f,k),CP(c.b>0),c.a.Xb(c.c=--c.b)),u=.4*r*f,!o&&c.b<c.d.gc()&&(u+=p),x+=s.c.a+u}t.a.a.$b(),e.f.a=x,HTt(i)}function OYt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,m;for(u=new Pw,s=new wQ,i=new Wd(t.a.a.b);i.a<i.c.c.length;)if(c=h2(e=zz(t0(i),57)))_St(u.f,c,e);else if(m=h3(e))for(r=new Wd(m.k);r.a<r.c.c.length;)JIt(s,zz(t0(r),17),e);for(n=new Wd(t.a.a.b);n.a<n.c.c.length;)if(c=h2(e=zz(t0(n),57)))for(o=new cG(JL(ddt(c).a.Kc(),new l));bDt(o);)if(!d5(a=zz(Y5(o),17))&&(g=a.c,w=a.d,!(kYt(),vIe).Hc(a.c.j)||!vIe.Hc(a.d.j))){if(p=zz(FZ(u,a.d.i),57),ZNt(oE(aE(sE(rE(new qm,0),100),t.c[e.a.d]),t.c[p.a.d])),g.j==SIe&&OG((wat(),g)))for(f=zz(l6(s,a),21).Kc();f.Ob();)if((h=zz(f.Pb(),57)).d.c<e.d.c){if((d=t.c[h.a.d])==(b=t.c[e.a.d]))continue;ZNt(oE(aE(sE(rE(new qm,1),100),d),b))}if(w.j==cIe&&DG((wat(),w)))for(f=zz(l6(s,a),21).Kc();f.Ob();)if((h=zz(f.Pb(),57)).d.c>e.d.c){if((d=t.c[e.a.d])==(b=t.c[h.a.d]))continue;ZNt(oE(aE(sE(rE(new qm,1),100),d),b))}}}function LYt(t){var e,n,i,r,a,o,s,c;if(Rqt(),null==t)return null;if((r=UM(t,QAt(37)))<0)return t;for(c=new fN(t.substr(0,r)),e=P8(NNe,y6t,25,4,15,1),s=0,i=0,o=t.length;r<o;r++)if(d1(r,t.length),37==t.charCodeAt(r)&&t.length>r+2&&nct((d1(r+1,t.length),t.charCodeAt(r+1)),IDe,MDe)&&nct((d1(r+2,t.length),t.charCodeAt(r+2)),IDe,MDe))if(n=Sq((d1(r+1,t.length),t.charCodeAt(r+1)),(d1(r+2,t.length),t.charCodeAt(r+2))),r+=2,i>0?128==(192&n)?e[s++]=n<<24>>24:i=0:n>=128&&(192==(224&n)?(e[s++]=n<<24>>24,i=2):224==(240&n)?(e[s++]=n<<24>>24,i=3):240==(248&n)&&(e[s++]=n<<24>>24,i=4)),i>0){if(s==i){switch(s){case 2:PZ(c,((31&e[0])<<6|63&e[1])&VKt);break;case 3:PZ(c,((15&e[0])<<12|(63&e[1])<<6|63&e[2])&VKt)}s=0,i=0}}else{for(a=0;a<s;++a)PZ(c,e[a]&VKt);s=0,c.a+=String.fromCharCode(n)}else{for(a=0;a<s;++a)PZ(c,e[a]&VKt);s=0,PZ(c,(d1(r,t.length),t.charCodeAt(r)))}return c.a}function NYt(t,e,n,i,r){var a,o,s;if(vtt(t,e),o=e[0],a=hK(n.c,0),s=-1,Qct(n))if(i>0){if(o+i>t.length)return!1;s=ZIt(t.substr(0,o+i),e)}else s=ZIt(t,e);switch(a){case 71:return s=YAt(t,o,Sst(Ux(Vee,1),lKt,2,6,[fXt,dXt]),e),r.e=s,!0;case 77:return wBt(t,e,r,s,o);case 76:return mBt(t,e,r,s,o);case 69:return aSt(t,e,o,r);case 99:return oSt(t,e,o,r);case 97:return s=YAt(t,o,Sst(Ux(Vee,1),lKt,2,6,["AM","PM"]),e),r.b=s,!0;case 121:return yBt(t,e,o,s,n,r);case 100:return!(s<=0||(r.c=s,0));case 83:return!(s<0)&&_gt(s,o,e[0],r);case 104:12==s&&(s=0);case 75:case 72:return!(s<0||(r.f=s,r.g=!1,0));case 107:return!(s<0||(r.f=s,r.g=!0,0));case 109:return!(s<0||(r.j=s,0));case 115:return!(s<0||(r.n=s,0));case 90:if(o<t.length&&(d1(o,t.length),90==t.charCodeAt(o)))return++e[0],r.o=0,!0;case 122:case 118:return IAt(t,o,e,r);default:return!1}}function PYt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_;if(d=zz(zz(l6(t.r,e),21),84),e!=(kYt(),cIe)&&e!=SIe){for(o=e==uIe?(Fot(),Nre):(Fot(),Fre),x=e==uIe?(U9(),are):(U9(),ire),a=(r=(i=zz(cK(t.b,e),124)).i).c+Nct(Sst(Ux(PNe,1),UXt,25,15,[i.n.b,t.C.b,t.k])),m=r.c+r.b-Nct(Sst(Ux(PNe,1),UXt,25,15,[i.n.c,t.C.c,t.k])),s=Jx(qj(o),t.t),y=e==uIe?jXt:RXt,f=d.Kc();f.Ob();)!(l=zz(f.Pb(),111)).c||l.c.d.c.length<=0||(w=l.b.rf(),b=l.e,(p=(g=l.c).i).b=(u=g.n,g.e.a+u.b+u.c),p.a=(c=g.n,g.e.b+c.d+c.a),MV(x,cQt),g.f=x,f7(g,(Q7(),Qie)),p.c=b.a-(p.b-w.a)/2,k=n.Math.min(a,b.a),_=n.Math.max(m,b.a+w.a),p.c<k?p.c=k:p.c+p.b>_&&(p.c=_-p.b),Wz(s.d,new PU(p,kft(s,p))),y=e==uIe?n.Math.max(y,b.b+l.b.rf().b):n.Math.min(y,b.b));for(y+=e==uIe?t.t:-t.t,(v=Sgt((s.e=y,s)))>0&&(zz(cK(t.b,e),124).a.b=v),h=d.Kc();h.Ob();)!(l=zz(h.Pb(),111)).c||l.c.d.c.length<=0||((p=l.c.i).c-=l.e.a,p.d-=l.e.b)}else sYt(t,e)}function BYt(t){var e,n,i,r,a,o,s,c,u,h;for(e=new Pw,o=new DL(t);o.e!=o.i.gc();){for(a=zz(kwt(o),33),n=new Fm,KW(Eae,a,n),h=new oe,i=zz(C4(new FH(null,new GY(new cG(JL(pLt(a).a.Kc(),new l)))),TU(h,y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)])))),83),Jnt(n,zz(i.xc((lN(),!0)),14),new se),r=zz(C4(DK(zz(i.xc(!1),15).Lc(),new ce),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[Yne]))),15).Kc();r.Ob();)(u=IEt(zz(r.Pb(),79)))&&((s=zz(HI(DV(e.f,u)),21))||(s=DPt(u),_St(e.f,u,s)),zrt(n,s));for(i=zz(C4(new FH(null,new GY(new cG(JL(bLt(a).a.Kc(),new l)))),TU(h,y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[Yne])))),83),Jnt(n,zz(i.xc(!0),14),new ue),c=zz(C4(DK(zz(i.xc(!1),15).Lc(),new le),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[Yne]))),15).Kc();c.Ob();)(u=MEt(zz(c.Pb(),79)))&&((s=zz(HI(DV(e.f,u)),21))||(s=DPt(u),_St(e.f,u,s)),zrt(n,s))}}function FYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p;if(cqt(),(c=Xlt(t,0)<0)&&(t=k9(t)),0==Xlt(t,0))switch(e){case 0:return"0";case 1:return KXt;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(d=new Sx).a+=e<0?"0E+":"0E",d.a+=e==$Kt?"2147483648":""+-e,d.a}h=P8(MNe,KKt,25,1+(l=18),15,1),n=l,p=t;do{u=p,p=Dkt(p,10),h[--n]=pU(adt(48,rdt(u,odt(p,10))))&VKt}while(0!=Xlt(p,0));if(r=rdt(rdt(rdt(l,n),e),1),0==e)return c&&(h[--n]=45),qpt(h,n,l-n);if(e>0&&Xlt(r,-6)>=0){if(Xlt(r,0)>=0){for(a=n+pU(r),s=l-1;s>=a;s--)h[s+1]=h[s];return h[++a]=46,c&&(h[--n]=45),qpt(h,n,l-n+1)}for(o=2;uT(o,adt(k9(r),1));o++)h[--n]=48;return h[--n]=46,h[--n]=48,c&&(h[--n]=45),qpt(h,n,l-n)}return g=n+1,i=l,f=new Ix,c&&(f.a+="-"),i-g>=1?(PZ(f,h[n]),f.a+=".",f.a+=qpt(h,n+1,l-n-1)):f.a+=qpt(h,n,l-n),f.a+="E",Xlt(r,0)>0&&(f.a+="+"),f.a+=""+mG(r),f.a}function RYt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(t.e.a.$b(),t.f.a.$b(),t.c.c=P8(Ote,HWt,1,0,5,1),t.i.c=P8(Ote,HWt,1,0,5,1),t.g.a.$b(),e)for(o=new Wd(e.a);o.a<o.c.c.length;)for(l=FTt(a=zz(t0(o),10),(kYt(),cIe)).Kc();l.Ob();)for(u=zz(l.Pb(),11),AY(t.e,u),r=new Wd(u.g);r.a<r.c.c.length;)d5(i=zz(t0(r),17))||(Wz(t.c,i),mwt(t,i),((s=i.c.i.k)==(cTt(),Sse)||s==Ise||s==Ese||s==Ase)&&Wz(t.j,i),(h=(f=i.d).i.c)==n?AY(t.f,f):h==e?AY(t.e,f):v9(t.c,i));if(n)for(o=new Wd(n.a);o.a<o.c.c.length;){for(c=new Wd((a=zz(t0(o),10)).j);c.a<c.c.c.length;)for(r=new Wd(zz(t0(c),11).g);r.a<r.c.c.length;)d5(i=zz(t0(r),17))&&AY(t.g,i);for(l=FTt(a,(kYt(),SIe)).Kc();l.Ob();)for(u=zz(l.Pb(),11),AY(t.f,u),r=new Wd(u.g);r.a<r.c.c.length;)d5(i=zz(t0(r),17))||(Wz(t.c,i),mwt(t,i),((s=i.c.i.k)==(cTt(),Sse)||s==Ise||s==Ese||s==Ase)&&Wz(t.j,i),(h=(f=i.d).i.c)==n?AY(t.f,f):h==e?AY(t.e,f):v9(t.c,i))}}function jYt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_;if(w=new PS(t.g,t.f),(b=WCt(t)).a=n.Math.max(b.a,e),b.b=n.Math.max(b.b,i),_=b.a/w.a,h=b.b/w.b,x=b.a-w.a,u=b.b-w.b,r)for(s=QQ(t)?zz(tOt(QQ(t),(lWt(),dTe)),103):zz(tOt(t,(lWt(),dTe)),103),c=UI(tOt(t,(lWt(),sCe)))===UI((V_t(),ZSe)),y=new DL((!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c));y.e!=y.i.gc();)switch(m=zz(kwt(y),118),(v=zz(tOt(m,gCe),61))==(kYt(),CIe)&&(v=D$t(m,s),Qwt(m,gCe,v)),v.g){case 1:c||Snt(m,m.i*_);break;case 2:Snt(m,m.i+x),c||Int(m,m.j*h);break;case 3:c||Snt(m,m.i*_),Int(m,m.j+u);break;case 4:c||Int(m,m.j*h)}if(ED(t,b.a,b.b),a)for(d=new DL((!t.n&&(t.n=new nY(GMe,t,1,7)),t.n));d.e!=d.i.gc();)g=(f=zz(kwt(d),137)).i+f.g/2,p=f.j+f.f/2,(k=g/w.a)+(l=p/w.b)>=1&&(k-l>0&&p>=0?(Snt(f,f.i+x),Int(f,f.j+u*l)):k-l<0&&g>=0&&(Snt(f,f.i+x*k),Int(f,f.j+u)));return Qwt(t,(lWt(),RTe),(vpt(),new VR(o=zz(Kk(VIe),9),zz(TF(o,o.length),9),0))),new PS(_,h)}function $Yt(t){var e,i,r,a,o,s,c,u,l,h,f;if(h=QQ(SAt(zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82)))==QQ(SAt(zz(Ket((!t.c&&(t.c=new lR(RMe,t,5,8)),t.c),0),82))),s=new Uk,(e=zz(tOt(t,(Wut(),lSe)),74))&&e.b>=2){if(0==(!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i)e_(),i=new oc,h7((!t.a&&(t.a=new nY($Me,t,6,6)),t.a),i);else if((!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i>1)for(f=new aP((!t.a&&(t.a=new nY($Me,t,6,6)),t.a));f.e!=f.i.gc();)Vkt(f);X$t(e,zz(Ket((!t.a&&(t.a=new nY($Me,t,6,6)),t.a),0),202))}if(h)for(r=new DL((!t.a&&(t.a=new nY($Me,t,6,6)),t.a));r.e!=r.i.gc();)for(u=new DL((!(i=zz(kwt(r),202)).a&&(i.a=new OL(PMe,i,5)),i.a));u.e!=u.i.gc();)c=zz(kwt(u),469),s.a=n.Math.max(s.a,c.a),s.b=n.Math.max(s.b,c.b);for(o=new DL((!t.n&&(t.n=new nY(GMe,t,1,7)),t.n));o.e!=o.i.gc();)a=zz(kwt(o),137),(l=zz(tOt(a,bSe),8))&&TD(a,l.a,l.b),h&&(s.a=n.Math.max(s.a,a.i+a.g),s.b=n.Math.max(s.b,a.j+a.f));return s}function zYt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_;for(m=e.c.length,a=new URt(t.a,i,null,null),_=P8(PNe,UXt,25,m,15,1),g=P8(PNe,UXt,25,m,15,1),d=P8(PNe,UXt,25,m,15,1),p=0,c=0;c<m;c++)g[c]=FWt,d[c]=$Kt;for(u=0;u<m;u++)for(f1(u,e.c.length),r=zz(e.c[u],180),_[u]=yOt(r),_[p]>_[u]&&(p=u),h=new Wd(t.a.b);h.a<h.c.c.length;)for(w=new Wd(zz(t0(h),29).a);w.a<w.c.c.length;)b=zz(t0(w),10),x=Uv(r.p[b.p])+Uv(r.d[b.p]),g[u]=n.Math.min(g[u],x),d[u]=n.Math.max(d[u],x+b.o.b);for(k=P8(PNe,UXt,25,m,15,1),l=0;l<m;l++)(f1(l,e.c.length),zz(e.c[l],180)).o==(cJ(),rve)?k[l]=g[p]-g[l]:k[l]=d[p]-d[l];for(o=P8(PNe,UXt,25,m,15,1),f=new Wd(t.a.b);f.a<f.c.c.length;)for(v=new Wd(zz(t0(f),29).a);v.a<v.c.c.length;){for(y=zz(t0(v),10),s=0;s<m;s++)o[s]=Uv((f1(s,e.c.length),zz(e.c[s],180)).p[y.p])+Uv((f1(s,e.c.length),zz(e.c[s],180)).d[y.p])+k[s];o.sort(rnt(A.prototype.te,A,[])),a.p[y.p]=(o[1]+o[2])/2,a.d[y.p]=0}return a}function qYt(t,e,n){var i,r,a,o,s;switch(i=e.i,a=t.i.o,r=t.i.d,s=t.n,o=Oct(Sst(Ux(CEe,1),lKt,8,0,[s,t.a])),t.j.g){case 1:WB(e,(U9(),ire)),i.d=-r.d-n-i.a,zz(zz(PH(e.d,0),181).We((hWt(),sfe)),285)==(Wvt(),kSe)?(f7(e,(Q7(),Qie)),i.c=o.a-Uv(EB(vEt(t,dfe)))-n-i.b):(f7(e,(Q7(),Vie)),i.c=o.a+Uv(EB(vEt(t,dfe)))+n);break;case 2:f7(e,(Q7(),Vie)),i.c=a.a+r.c+n,zz(zz(PH(e.d,0),181).We((hWt(),sfe)),285)==(Wvt(),kSe)?(WB(e,(U9(),ire)),i.d=o.b-Uv(EB(vEt(t,dfe)))-n-i.a):(WB(e,(U9(),are)),i.d=o.b+Uv(EB(vEt(t,dfe)))+n);break;case 3:WB(e,(U9(),are)),i.d=a.b+r.a+n,zz(zz(PH(e.d,0),181).We((hWt(),sfe)),285)==(Wvt(),kSe)?(f7(e,(Q7(),Qie)),i.c=o.a-Uv(EB(vEt(t,dfe)))-n-i.b):(f7(e,(Q7(),Vie)),i.c=o.a+Uv(EB(vEt(t,dfe)))+n);break;case 4:f7(e,(Q7(),Qie)),i.c=-r.b-n-i.b,zz(zz(PH(e.d,0),181).We((hWt(),sfe)),285)==(Wvt(),kSe)?(WB(e,(U9(),ire)),i.d=o.b-Uv(EB(vEt(t,dfe)))-n-i.a):(WB(e,(U9(),are)),i.d=o.b+Uv(EB(vEt(t,dfe)))+n)}}function HYt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I,M;for(g=0,T=0,u=new Wd(t);u.a<u.c.c.length;)uGt(c=zz(t0(u),33)),g=n.Math.max(g,c.g),T+=c.g*c.f;for(E=txt(t,T/t.c.length),T+=t.c.length*E,g=n.Math.max(g,n.Math.sqrt(T*s))+i.b,I=i.b,M=i.d,d=0,h=i.b+i.c,Bq(A=new VA,rft(0)),k=new VA,l=new E2(t,0);l.b<l.d.gc();)CP(l.b<l.d.gc()),S=(c=zz(l.d.Xb(l.c=l.b++),33)).g,f=c.f,I+S>g&&(o&&(hM(k,d),hM(A,rft(l.b-1))),I=i.b,M+=d+e,d=0,h=n.Math.max(h,i.b+i.c+S)),Snt(c,I),Int(c,M),h=n.Math.max(h,I+S+i.c),d=n.Math.max(d,f),I+=S+e;if(h=n.Math.max(h,r),(C=M+d+i.a)<a&&(d+=a-C,C=a),o)for(I=i.b,l=new E2(t,0),hM(A,rft(t.c.length)),w=zz(d3(_=lwt(A,0)),19).a,hM(k,d),x=lwt(k,0),v=0;l.b<l.d.gc();)l.b==w&&(I=i.b,v=Uv(EB(d3(x))),w=zz(d3(_),19).a),CP(l.b<l.d.gc()),m=(c=zz(l.d.Xb(l.c=l.b++),33)).f,Tnt(c,v),p=v,l.b==w&&(b=h-I-i.c,y=c.g,Cnt(c,b),dSt(c,new PS(b,p),new PS(y,m))),I+=c.g+e;return new PS(h,C)}function UYt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T;for(DAt(e,"Compound graph postprocessor",1),i=Hv(AB(vEt(t,(HZt(),Bwe)))),c=zz(vEt(t,(hWt(),qhe)),224),h=new Fm,m=c.ec().Kc();m.Ob();){for(w=zz(m.Pb(),17),s=new ej(c.cc(w)),TX(),yO(s,new jg(t)),k=oat((f1(0,s.c.length),zz(s.c[0],243))),A=sat(zz(PH(s,s.c.length-1),243)),v=k.i,y=pot(A.i,v)?v.e:mW(v),f=Owt(w,s),vX(w.a),d=null,o=new Wd(s);o.a<o.c.c.length;)a=zz(t0(o),243),DCt(b=new Uk,a.a,y),g=a.b,Kut(r=new xy,0,g.a),tnt(r,b),x=new gD(b1(g.c)),_=new gD(b1(g.d)),YF(x,b),YF(_,b),d&&(0==r.b?p=_:(CP(0!=r.b),p=zz(r.a.a.c,8)),E=n.Math.abs(d.a-p.a)>dJt,T=n.Math.abs(d.b-p.b)>dJt,(!i&&E&&T||i&&(E||T))&&Bq(w.a,x)),zrt(w.a,r),0==r.b?d=x:(CP(0!=r.b),d=zz(r.c.b.c,8)),Qot(g,f,b),sat(a)==A&&(mW(A.i)!=a.a&&DCt(b=new Uk,mW(A.i),y),hct(w,Ffe,b)),TTt(g,w,y),h.a.zc(g,h);TJ(w,k),EJ(w,A)}for(l=h.a.ec().Kc();l.Ob();)TJ(u=zz(l.Pb(),17),null),EJ(u,null);HTt(e)}function GYt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;if(1==t.gc())return zz(t.Xb(0),231);if(t.gc()<=0)return new v6;for(a=t.Kc();a.Ob();){for(i=zz(a.Pb(),231),p=0,h=FWt,f=FWt,u=$Kt,l=$Kt,g=new Wd(i.e);g.a<g.c.c.length;)d=zz(t0(g),144),p+=zz(vEt(d,(fFt(),Jae)),19).a,h=n.Math.min(h,d.d.a-d.e.a/2),f=n.Math.min(f,d.d.b-d.e.b/2),u=n.Math.max(u,d.d.a+d.e.a/2),l=n.Math.max(l,d.d.b+d.e.b/2);hct(i,(fFt(),Jae),rft(p)),hct(i,(Trt(),coe),new PS(h,f)),hct(i,soe,new PS(u,l))}for(TX(),t.ad(new de),Uot(b=new v6,zz(t.Xb(0),94)),c=0,y=0,o=t.Kc();o.Ob();)i=zz(o.Pb(),231),w=ZF(zO(zz(vEt(i,(Trt(),soe)),8)),zz(vEt(i,coe),8)),c=n.Math.max(c,w.a),y+=w.a*w.b;for(c=n.Math.max(c,n.Math.sqrt(y)*Uv(EB(vEt(b,(fFt(),$ae))))),v=0,x=0,s=0,e=m=Uv(EB(vEt(b,aoe))),r=t.Kc();r.Ob();)i=zz(r.Pb(),231),v+(w=ZF(zO(zz(vEt(i,(Trt(),soe)),8)),zz(vEt(i,coe),8))).a>c&&(v=0,x+=s+m,s=0),XRt(b,i,v,x),e=n.Math.max(e,v+w.a),s=n.Math.max(s,w.b),v+=w.a+m;return b}function YYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;switch(l=new xy,t.a.g){case 3:f=zz(vEt(e.e,(hWt(),Nfe)),15),d=zz(vEt(e.j,Nfe),15),g=zz(vEt(e.f,Nfe),15),n=zz(vEt(e.e,Ofe),15),i=zz(vEt(e.j,Ofe),15),r=zz(vEt(e.f,Ofe),15),wst(o=new Nw,f),d.Jc(new va),wst(o,aL(d,152)?c6(zz(d,152)):aL(d,131)?zz(d,131).a:aL(d,54)?new hv(d):new SA(d)),wst(o,g),wst(a=new Nw,n),wst(a,aL(i,152)?c6(zz(i,152)):aL(i,131)?zz(i,131).a:aL(i,54)?new hv(i):new SA(i)),wst(a,r),hct(e.f,Nfe,o),hct(e.f,Ofe,a),hct(e.f,Pfe,e.f),hct(e.e,Nfe,null),hct(e.e,Ofe,null),hct(e.j,Nfe,null),hct(e.j,Ofe,null);break;case 1:zrt(l,e.e.a),Bq(l,e.i.n),zrt(l,iot(e.j.a)),Bq(l,e.a.n),zrt(l,e.f.a);break;default:zrt(l,e.e.a),zrt(l,iot(e.j.a)),zrt(l,e.f.a)}vX(e.f.a),zrt(e.f.a,l),TJ(e.f,e.e.c),s=zz(vEt(e.e,(HZt(),mbe)),74),u=zz(vEt(e.j,mbe),74),c=zz(vEt(e.f,mbe),74),(s||u||c)&&(CY(h=new xy,c),CY(h,u),CY(h,s),hct(e.f,mbe,h)),TJ(e.j,null),EJ(e.j,null),TJ(e.e,null),EJ(e.e,null),CJ(e.a,null),CJ(e.i,null),e.g&&YYt(t,e.g)}function ZYt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(S$t(),null==t)return null;if((g=gft(a=K9(t)))%4!=0)return null;if(0==(p=g/4|0))return P8(NNe,y6t,25,0,15,1);for(h=null,e=0,n=0,i=0,r=0,o=0,s=0,c=0,u=0,d=0,f=0,l=0,h=P8(NNe,y6t,25,3*p,15,1);d<p-1;d++){if(!(K_(o=a[l++])&&K_(s=a[l++])&&K_(c=a[l++])&&K_(u=a[l++])))return null;e=WLe[o],n=WLe[s],i=WLe[c],r=WLe[u],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|i>>2&15)<<24>>24,h[f++]=(i<<6|r)<<24>>24}return K_(o=a[l++])&&K_(s=a[l++])?(e=WLe[o],n=WLe[s],c=a[l++],u=a[l++],-1==WLe[c]||-1==WLe[u]?61==c&&61==u?0!=(15&n)?null:(sqt(h,0,b=P8(NNe,y6t,25,3*d+1,15,1),0,3*d),b[f]=(e<<2|n>>4)<<24>>24,b):61!=c&&61==u?0!=(3&(i=WLe[c]))?null:(sqt(h,0,b=P8(NNe,y6t,25,3*d+2,15,1),0,3*d),b[f++]=(e<<2|n>>4)<<24>>24,b[f]=((15&n)<<4|i>>2&15)<<24>>24,b):null:(i=WLe[c],r=WLe[u],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|i>>2&15)<<24>>24,h[f++]=(i<<6|r)<<24>>24,h)):null}function WYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;for(DAt(e,D1t,1),f=zz(vEt(t,(HZt(),Jpe)),218),i=new Wd(t.b);i.a<i.c.c.length;)for(o=0,s=(a=t2(zz(t0(i),29).a)).length;o<s;++o)if((r=a[o]).k==(cTt(),Ise)){if(f==(Tdt(),QCe))for(u=new Wd(r.j);u.a<u.c.c.length;)0==(c=zz(t0(u),11)).e.c.length||Obt(c),0==c.g.c.length||Lbt(c);else if(aL(vEt(r,(hWt(),pfe)),17))g=zz(vEt(r,pfe),17),p=zz(FTt(r,(kYt(),SIe)).Kc().Pb(),11),b=zz(FTt(r,cIe).Kc().Pb(),11),w=zz(vEt(p,pfe),11),TJ(g,m=zz(vEt(b,pfe),11)),EJ(g,w),(y=new gD(b.i.n)).a=Oct(Sst(Ux(CEe,1),lKt,8,0,[m.i.n,m.n,m.a])).a,Bq(g.a,y),(y=new gD(p.i.n)).a=Oct(Sst(Ux(CEe,1),lKt,8,0,[w.i.n,w.n,w.a])).a,Bq(g.a,y);else{if(r.j.c.length>=2){for(d=!0,n=zz(t0(l=new Wd(r.j)),11),h=null;l.a<l.c.c.length;)if(h=n,n=zz(t0(l),11),!Pht(vEt(h,pfe),vEt(n,pfe))){d=!1;break}}else d=!1;for(u=new Wd(r.j);u.a<u.c.c.length;)0==(c=zz(t0(u),11)).e.c.length||cPt(c,d),0==c.g.c.length||uPt(c,d)}CJ(r,null)}HTt(e)}function KYt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E;return v=t.c[(f1(0,e.c.length),zz(e.c[0],17)).p],A=t.c[(f1(1,e.c.length),zz(e.c[1],17)).p],!(v.a.e.e-v.a.a-(v.b.e.e-v.b.a)==0&&A.a.e.e-A.a.a-(A.b.e.e-A.b.a)==0||!aL(m=v.b.e.f,10)||(w=zz(m,10),k=t.i[w.p],_=w.c?_9(w.c.a,w,0):-1,o=RXt,_>0&&(a=zz(PH(w.c.a,_-1),10),s=t.i[a.p],E=n.Math.ceil(RO(t.n,a,w)),o=k.a.e-w.d.d-(s.a.e+a.o.b+a.d.a)-E),l=RXt,_<w.c.a.c.length-1&&(u=zz(PH(w.c.a,_+1),10),h=t.i[u.p],E=n.Math.ceil(RO(t.n,u,w)),l=h.a.e-u.d.d-(k.a.e+w.o.b+w.d.a)-E),!(i&&(lO(),ait(O3t),n.Math.abs(o-l)<=O3t||o==l||isNaN(o)&&isNaN(l)))&&(r=oZ(v.a),c=-oZ(v.b),f=-oZ(A.a),y=oZ(A.b),b=v.a.e.e-v.a.a-(v.b.e.e-v.b.a)>0&&A.a.e.e-A.a.a-(A.b.e.e-A.b.a)<0,p=v.a.e.e-v.a.a-(v.b.e.e-v.b.a)<0&&A.a.e.e-A.a.a-(A.b.e.e-A.b.a)>0,g=v.a.e.e+v.b.a<A.b.e.e+A.a.a,d=v.a.e.e+v.b.a>A.b.e.e+A.a.a,x=0,!b&&!p&&(d?o+f>0?x=f:l-r>0&&(x=r):g&&(o+c>0?x=c:l-y>0&&(x=y))),k.a.e+=x,k.b&&(k.d.e+=x),1)))}function XYt(t,e,i){var r,a,o,s,c,u,l,h,f,d;if(r=new YK(e.qf().a,e.qf().b,e.rf().a,e.rf().b),a=new dD,t.c)for(s=new Wd(e.wf());s.a<s.c.c.length;)o=zz(t0(s),181),a.c=o.qf().a+e.qf().a,a.d=o.qf().b+e.qf().b,a.b=o.rf().a,a.a=o.rf().b,ICt(r,a);for(l=new Wd(e.Cf());l.a<l.c.c.length;){if(h=(u=zz(t0(l),838)).qf().a+e.qf().a,f=u.qf().b+e.qf().b,t.e&&(a.c=h,a.d=f,a.b=u.rf().a,a.a=u.rf().b,ICt(r,a)),t.d)for(s=new Wd(u.wf());s.a<s.c.c.length;)o=zz(t0(s),181),a.c=o.qf().a+h,a.d=o.qf().b+f,a.b=o.rf().a,a.a=o.rf().b,ICt(r,a);if(t.b){if(d=new PS(-i,-i),zz(e.We((lWt(),hCe)),174).Hc((dIt(),rIe)))for(s=new Wd(u.wf());s.a<s.c.c.length;)o=zz(t0(s),181),d.a+=o.rf().a+i,d.b+=o.rf().b+i;d.a=n.Math.max(d.a,0),d.b=n.Math.max(d.b,0),Wjt(r,u.Bf(),u.zf(),e,u,d,i)}}t.b&&Wjt(r,e.Bf(),e.zf(),e,null,null,i),(c=new Dj(e.Af())).d=n.Math.max(0,e.qf().b-r.d),c.a=n.Math.max(0,r.d+r.a-(e.qf().b+e.rf().b)),c.b=n.Math.max(0,e.qf().a-r.c),c.c=n.Math.max(0,r.c+r.b-(e.qf().a+e.rf().a)),e.Ef(c)}function VYt(){var t=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return t[34]='\\"',t[92]="\\\\",t[173]="\\u00ad",t[1536]="\\u0600",t[1537]="\\u0601",t[1538]="\\u0602",t[1539]="\\u0603",t[1757]="\\u06dd",t[1807]="\\u070f",t[6068]="\\u17b4",t[6069]="\\u17b5",t[8203]="\\u200b",t[8204]="\\u200c",t[8205]="\\u200d",t[8206]="\\u200e",t[8207]="\\u200f",t[8232]="\\u2028",t[8233]="\\u2029",t[8234]="\\u202a",t[8235]="\\u202b",t[8236]="\\u202c",t[8237]="\\u202d",t[8238]="\\u202e",t[8288]="\\u2060",t[8289]="\\u2061",t[8290]="\\u2062",t[8291]="\\u2063",t[8292]="\\u2064",t[8298]="\\u206a",t[8299]="\\u206b",t[8300]="\\u206c",t[8301]="\\u206d",t[8302]="\\u206e",t[8303]="\\u206f",t[65279]="\\ufeff",t[65529]="\\ufff9",t[65530]="\\ufffa",t[65531]="\\ufffb",t}function QYt(t,e,n){var i,r,a,o,s,c,u,l,h,f;for(c=new Nw,h=e.length,o=Mct(n),u=0;u<h;++u){switch(l=vN(e,QAt(61),u),a=(r=cst(i=fft(o,e.substr(u,l-u)))).Aj().Nh(),hK(e,++l)){case 39:s=fP(e,39,++l),Wz(c,new SI(i,VK(e.substr(l,s-l),a,r))),u=s+1;break;case 34:s=fP(e,34,++l),Wz(c,new SI(i,VK(e.substr(l,s-l),a,r))),u=s+1;break;case 91:Wz(c,new SI(i,f=new Nw));t:for(;;){switch(hK(e,++l)){case 39:s=fP(e,39,++l),Wz(f,VK(e.substr(l,s-l),a,r)),l=s+1;break;case 34:s=fP(e,34,++l),Wz(f,VK(e.substr(l,s-l),a,r)),l=s+1;break;case 110:if(++l,e.indexOf("ull",l)!=l)throw qw(new pv(s6t));f.c[f.c.length]=null,l+=3}if(!(l<h))break;switch(d1(l,e.length),e.charCodeAt(l)){case 44:break;case 93:break t;default:throw qw(new pv("Expecting , or ]"))}}u=l+1;break;case 110:if(++l,e.indexOf("ull",l)!=l)throw qw(new pv(s6t));Wz(c,new SI(i,null)),u=l+3}if(!(u<h))break;if(d1(u,e.length),44!=e.charCodeAt(u))throw qw(new pv("Expecting ,"))}return rBt(t,c,n)}function JYt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(u=zz(zz(l6(t.r,e),21),84),o=JAt(t,e),n=t.u.Hc((dIt(),tIe)),c=u.Kc();c.Ob();)if((s=zz(c.Pb(),111)).c&&!(s.c.d.c.length<=0)){switch(f=s.b.rf(),(h=(l=s.c).i).b=(a=l.n,l.e.a+a.b+a.c),h.a=(r=l.n,l.e.b+r.d+r.a),e.g){case 1:s.a?(h.c=(f.a-h.b)/2,f7(l,(Q7(),Xie))):o||n?(h.c=-h.b-t.s,f7(l,(Q7(),Qie))):(h.c=f.a+t.s,f7(l,(Q7(),Vie))),h.d=-h.a-t.t,WB(l,(U9(),ire));break;case 3:s.a?(h.c=(f.a-h.b)/2,f7(l,(Q7(),Xie))):o||n?(h.c=-h.b-t.s,f7(l,(Q7(),Qie))):(h.c=f.a+t.s,f7(l,(Q7(),Vie))),h.d=f.b+t.t,WB(l,(U9(),are));break;case 2:s.a?(i=t.v?h.a:zz(PH(l.d,0),181).rf().b,h.d=(f.b-i)/2,WB(l,(U9(),rre))):o||n?(h.d=-h.a-t.t,WB(l,(U9(),ire))):(h.d=f.b+t.t,WB(l,(U9(),are))),h.c=f.a+t.s,f7(l,(Q7(),Vie));break;case 4:s.a?(i=t.v?h.a:zz(PH(l.d,0),181).rf().b,h.d=(f.b-i)/2,WB(l,(U9(),rre))):o||n?(h.d=-h.a-t.t,WB(l,(U9(),ire))):(h.d=f.b+t.t,WB(l,(U9(),are))),h.c=-h.b-t.s,f7(l,(Q7(),Qie))}o=!1}}function tZt(t,e){var n,i,r,a,o,s,c,u,l,h,f;if(pWt(),0==NA(iNe)){for(h=P8(INe,lKt,117,aNe.length,0,1),o=0;o<h.length;o++)h[o]=new E0(4);for(i=new Cx,a=0;a<nNe.length;a++){if(l=new E0(4),a<84?(d1(s=2*a,yte.length),f=yte.charCodeAt(s),d1(s+1,yte.length),QPt(l,f,yte.charCodeAt(s+1))):QPt(l,oNe[s=2*(a-84)],oNe[s+1]),yR(c=nNe[a],"Specials")&&QPt(l,65520,65533),yR(c,wte)&&(QPt(l,983040,1048573),QPt(l,1048576,1114109)),yJ(iNe,c,l),yJ(rNe,c,L$t(l)),0<(u=i.a.length)?i.a=i.a.substr(0,0):0>u&&(i.a+=rL(P8(MNe,KKt,25,-u,15,1))),i.a+="Is",UM(c,QAt(32))>=0)for(r=0;r<c.length;r++)d1(r,c.length),32!=c.charCodeAt(r)&&NZ(i,(d1(r,c.length),c.charCodeAt(r)));else i.a+=""+c;Ept(i.a,c,!0)}Ept(mte,"Cn",!1),Ept(vte,"Cn",!0),QPt(n=new E0(4),0,cte),yJ(iNe,"ALL",n),yJ(rNe,"ALL",L$t(n)),!TNe&&(TNe=new Pw),yJ(TNe,mte,mte),!TNe&&(TNe=new Pw),yJ(TNe,vte,vte),!TNe&&(TNe=new Pw),yJ(TNe,"ALL","ALL")}return zz(TQ(e?iNe:rNe,t),136)}function eZt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(f=!1,h=!1,mD(zz(vEt(i,(HZt(),nwe)),98))){o=!1,s=!1;t:for(g=new Wd(i.j);g.a<g.c.c.length;)for(d=zz(t0(g),11),p=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[new qg(d),new Ug(d)])));bDt(p);)if(!Hv(AB(vEt(zz(Y5(p),11).i,Ape)))){if(d.j==(kYt(),uIe)){o=!0;break t}if(d.j==TIe){s=!0;break t}}f=s&&!o,h=o&&!s}if(f||h||0==i.b.c.length)w=!h;else{for(l=0,u=new Wd(i.b);u.a<u.c.c.length;)l+=(c=zz(t0(u),70)).n.b+c.o.b/2;w=(l/=i.b.c.length)>=i.o.b/2}w?(b=zz(vEt(i,(hWt(),Rfe)),15))?f?a=b:(r=zz(vEt(i,Bhe),15))?a=b.gc()<=r.gc()?b:r:(a=new Nw,hct(i,Bhe,a)):(a=new Nw,hct(i,Rfe,a)):(r=zz(vEt(i,(hWt(),Bhe)),15))?h?a=r:(b=zz(vEt(i,Rfe),15))?a=r.gc()<=b.gc()?r:b:(a=new Nw,hct(i,Rfe,a)):(a=new Nw,hct(i,Bhe,a)),a.Fc(t),hct(t,(hWt(),Rhe),n),e.d==n?(EJ(e,null),n.e.c.length+n.g.c.length==0&&SJ(n,null),wut(n)):(TJ(e,null),n.e.c.length+n.g.c.length==0&&SJ(n,null)),vX(e.a)}function nZt(t,e){var n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I;for(m=new E2(t.b,0),p=0,u=zz((h=e.Kc()).Pb(),19).a,x=0,n=new Fm,_=new hD;m.b<m.d.gc();){for(CP(m.b<m.d.gc()),v=new Wd(zz(m.d.Xb(m.c=m.b++),29).a);v.a<v.c.c.length;){for(g=new cG(JL(ddt(y=zz(t0(v),10)).a.Kc(),new l));bDt(g);)f=zz(Y5(g),17),_.a.zc(f,_);for(d=new cG(JL(fdt(y).a.Kc(),new l));bDt(d);)f=zz(Y5(d),17),_.a.Bc(f)}if(p+1==u){for(vF(m,r=new qZ(t)),vF(m,a=new qZ(t)),E=_.a.ec().Kc();E.Ob();)A=zz(E.Pb(),17),n.a._b(A)||(++x,n.a.zc(A,n)),hct(o=new Lmt(t),(HZt(),nwe),(V_t(),KSe)),CJ(o,r),zf(o,(cTt(),Ase)),SJ(b=new ITt,o),USt(b,(kYt(),SIe)),SJ(T=new ITt,o),USt(T,cIe),hct(i=new Lmt(t),nwe,KSe),CJ(i,a),zf(i,Ase),SJ(w=new ITt,i),USt(w,SIe),SJ(C=new ITt,i),USt(C,cIe),TJ(k=new gV,A.c),EJ(k,b),TJ(I=new gV,T),EJ(I,w),TJ(A,C),s=new m3(o,i,k,I,A),hct(o,(hWt(),Fhe),s),hct(i,Fhe,s),(S=k.c.i).k==Ase&&((c=zz(vEt(S,Fhe),305)).d=s,s.g=c);if(!h.Ob())break;u=zz(h.Pb(),19).a}++p}return rft(x)}function iZt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p;for(h=0,r=new DL((!e.a&&(e.a=new nY(YMe,e,10,11)),e.a));r.e!=r.i.gc();)Hv(AB(tOt(i=zz(kwt(r),33),(HZt(),Ube))))||(UI(tOt(e,Lpe))===UI((vct(),Nme))&&UI(tOt(e,Upe))!==UI((Xmt(),_le))&&UI(tOt(e,Upe))!==UI((Xmt(),xle))&&!Hv(AB(tOt(e,Ppe)))&&UI(tOt(e,Spe))===UI((qht(),gse))||Hv(AB(tOt(i,Ope)))||(Qwt(i,(hWt(),gfe),rft(h)),++h),pGt(t,i,n));for(h=0,u=new DL((!e.b&&(e.b=new nY(jMe,e,12,3)),e.b));u.e!=u.i.gc();)s=zz(kwt(u),79),(UI(tOt(e,(HZt(),Lpe)))!==UI((vct(),Nme))||UI(tOt(e,Upe))===UI((Xmt(),_le))||UI(tOt(e,Upe))===UI((Xmt(),xle))||Hv(AB(tOt(e,Ppe)))||UI(tOt(e,Spe))!==UI((qht(),gse)))&&(Qwt(s,(hWt(),gfe),rft(h)),++h),g=SEt(s),p=DEt(s),l=Hv(AB(tOt(g,gbe))),d=!Hv(AB(tOt(s,Ube))),f=l&&VIt(s)&&Hv(AB(tOt(s,pbe))),a=QQ(g)==e&&QQ(g)==QQ(p),o=(QQ(g)==e&&p==e)^(QQ(p)==e&&g==e),d&&!f&&(o||a)&&cWt(t,s,e,n);if(QQ(e))for(c=new DL(iX(QQ(e)));c.e!=c.i.gc();)(g=SEt(s=zz(kwt(c),79)))==e&&VIt(s)&&(f=Hv(AB(tOt(g,(HZt(),gbe))))&&Hv(AB(tOt(s,pbe))))&&cWt(t,s,e,n)}function rZt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I,M,D;for(DAt(i,"MinWidth layering",1),g=e.b,A=e.a,D=zz(vEt(e,(HZt(),_be)),19).a,c=zz(vEt(e,Abe),19).a,t.b=Uv(EB(vEt(e,vwe))),t.d=RXt,x=new Wd(A);x.a<x.c.c.length;)(y=zz(t0(x),10)).k==(cTt(),Sse)&&(C=y.o.b,t.d=n.Math.min(t.d,C));for(t.d=n.Math.max(1,t.d),E=A.c.length,t.c=P8(DNe,hXt,25,E,15,1),t.f=P8(DNe,hXt,25,E,15,1),t.e=P8(PNe,UXt,25,E,15,1),l=0,t.a=0,k=new Wd(A);k.a<k.c.c.length;)(y=zz(t0(k),10)).p=l++,t.c[y.p]=plt(fdt(y)),t.f[y.p]=plt(ddt(y)),t.e[y.p]=y.o.b/t.d,t.a+=t.e[y.p];for(t.b/=t.d,t.a/=E,_=_Mt(A),yO(A,XW(new Rp(t))),b=RXt,p=FWt,s=null,M=D,I=D,o=c,a=c,D<0&&(M=zz(Aye.a.zd(),19).a,I=zz(Aye.b.zd(),19).a),c<0&&(o=zz(_ye.a.zd(),19).a,a=zz(_ye.b.zd(),19).a),S=M;S<=I;S++)for(r=o;r<=a;r++)m=Uv(EB((T=Nzt(t,S,r,A,_)).a)),w=(d=zz(T.b,15)).gc(),(m<b||m==b&&w<p)&&(b=m,p=w,s=d);for(f=s.Kc();f.Ob();){for(h=zz(f.Pb(),15),u=new qZ(e),v=h.Kc();v.Ob();)CJ(y=zz(v.Pb(),10),u);g.c[g.c.length]=u}JCt(g),A.c=P8(Ote,HWt,1,0,5,1),HTt(i)}function aZt(t,e){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E;for(t.b=e,t.a=zz(vEt(e,(HZt(),lbe)),19).a,t.c=zz(vEt(e,fbe),19).a,0==t.c&&(t.c=FWt),b=new E2(e.b,0);b.b<b.d.gc();){for(CP(b.b<b.d.gc()),p=zz(b.d.Xb(b.c=b.b++),29),c=new Nw,f=-1,v=-1,y=new Wd(p.a);y.a<y.c.c.length;)m=zz(t0(y),10),$3((Hj(),new cG(JL(hdt(m).a.Kc(),new l))))>=t.a&&(r=xzt(t,m),f=n.Math.max(f,r.b),v=n.Math.max(v,r.d),Wz(c,new rI(m,r)));for(_=new Nw,h=0;h<f;++h)xU(_,0,(CP(b.b>0),b.a.Xb(b.c=--b.b),vF(b,A=new qZ(t.b)),CP(b.b<b.d.gc()),b.d.Xb(b.c=b.b++),A));for(s=new Wd(c);s.a<s.c.c.length;)if(a=zz(t0(s),46),g=zz(a.b,571).a)for(d=new Wd(g);d.a<d.c.c.length;)cxt(t,zz(t0(d),10),Yse,_);for(i=new Nw,u=0;u<v;++u)Wz(i,(vF(b,E=new qZ(t.b)),E));for(o=new Wd(c);o.a<o.c.c.length;)if(a=zz(t0(o),46),k=zz(a.b,571).c)for(x=new Wd(k);x.a<x.c.c.length;)cxt(t,zz(t0(x),10),Zse,i)}for(w=new E2(e.b,0);w.b<w.d.gc();)CP(w.b<w.d.gc()),0==zz(w.d.Xb(w.c=w.b++),29).a.c.length&&hW(w)}function oZt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S;if(DAt(i,"Spline edge routing",1),0==e.b.c.length)return e.f.a=0,void HTt(i);m=Uv(EB(vEt(e,(HZt(),Dwe)))),c=Uv(EB(vEt(e,Awe))),s=Uv(EB(vEt(e,xwe))),A=zz(vEt(e,rbe),336)==(Zut(),rye),_=Uv(EB(vEt(e,abe))),t.d=e,t.j.c=P8(Ote,HWt,1,0,5,1),t.a.c=P8(Ote,HWt,1,0,5,1),OY(t.k),h=KI((u=zz(PH(e.b,0),29)).a,(bPt(),kve)),f=KI((p=zz(PH(e.b,e.b.c.length-1),29)).a,kve),b=new Wd(e.b),w=null,S=0;do{for(RYt(t,w,y=b.a<b.c.c.length?zz(t0(b),29):null),T$t(t),C=0,v=S,d=!w||h&&w==u,g=!y||f&&y==p,(E=jx(aat(NK(DK(new FH(null,new g1(t.i,16)),new xo),new vo))))>0?(l=0,w&&(l+=c),l+=(E-1)*s,y&&(l+=c),A&&y&&(l=n.Math.max(l,ePt(y,s,m,_))),l<m&&!d&&!g&&(C=(m-l)/2,l=m),v+=l):!d&&!g&&(v+=m),y&&EHt(y,v),k=new Wd(t.i);k.a<k.c.c.length;)(x=zz(t0(k),128)).a.c=S,x.a.b=v-S,x.F=C,x.p=!w;wst(t.a,t.i),S=v,y&&(S+=y.c.a),w=y,d=g}while(y);for(a=new Wd(t.j);a.a<a.c.c.length;)o=vot(t,r=zz(t0(a),17)),hct(r,(hWt(),Ofe),o),T=FPt(t,r),hct(r,Nfe,T);e.f.a=S,t.d=null,HTt(i)}function sZt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;if(p=0!=t.i,m=!1,b=null,yD(t.e)){if((l=e.gc())>0){for(f=l<100?null:new $k(l),g=(u=new _at(e)).g,b=P8(DNe,hXt,25,l,15,1),i=0,y=new wet(l),r=0;r<t.i;++r){d=s=t.g[r];t:for(w=0;w<2;++w){for(c=l;--c>=0;)if(null!=d?Pht(d,g[c]):UI(d)===UI(g[c])){b.length<=i&&sqt(b,0,b=P8(DNe,hXt,25,2*b.length,15,1),0,i),b[i++]=r,h7(y,g[c]);break t}if(UI(d)===UI(s))break}}if(u=y,g=y.g,l=i,i>b.length&&sqt(b,0,b=P8(DNe,hXt,25,i,15,1),0,i),i>0){for(m=!0,a=0;a<i;++a)f=GR(t,zz(d=g[a],72),f);for(o=i;--o>=0;)Nvt(t,b[o]);if(i!=l){for(r=l;--r>=i;)Nvt(u,r);sqt(b,0,b=P8(DNe,hXt,25,i,15,1),0,i)}e=u}}}else for(e=_vt(t,e),r=t.i;--r>=0;)e.Hc(t.g[r])&&(Nvt(t,r),m=!0);if(m){if(null!=b){for(h=1==(n=e.gc())?vJ(t,4,e.Kc().Pb(),null,b[0],p):vJ(t,6,e,b,b[0],p),f=n<100?null:new $k(n),r=e.Kc();r.Ob();)f=HR(t,zz(d=r.Pb(),72),f);f?(f.Ei(h),f.Fi()):got(t.e,h)}else{for(f=OR(e.gc()),r=e.Kc();r.Ob();)f=HR(t,zz(d=r.Pb(),72),f);f&&f.Fi()}return!0}return!1}function cZt(t,e){var n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,m,y;for((n=new hmt(e)).a||wjt(e),u=dFt(e),c=new wQ,b=new VPt,p=new Wd(e.a);p.a<p.c.c.length;)for(r=new cG(JL(ddt(zz(t0(p),10)).a.Kc(),new l));bDt(r);)(i=zz(Y5(r),17)).c.i.k!=(cTt(),Ese)&&i.d.i.k!=Ese||JIt(c,cwt((h=dGt(t,i,u,b)).d),h.a);for(o=new Nw,y=zz(vEt(n.c,(hWt(),Zhe)),21).Kc();y.Ob();){switch(m=zz(y.Pb(),61),g=b.c[m.g],d=b.b[m.g],s=b.a[m.g],a=null,w=null,m.g){case 4:a=new YK(t.d.a,g,u.b.a-t.d.a,d-g),w=new YK(t.d.a,g,s,d-g),Gq(u,new PS(a.c+a.b,a.d)),Gq(u,new PS(a.c+a.b,a.d+a.a));break;case 2:a=new YK(u.a.a,g,t.c.a-u.a.a,d-g),w=new YK(t.c.a-s,g,s,d-g),Gq(u,new PS(a.c,a.d)),Gq(u,new PS(a.c,a.d+a.a));break;case 1:a=new YK(g,t.d.b,d-g,u.b.b-t.d.b),w=new YK(g,t.d.b,d-g,s),Gq(u,new PS(a.c,a.d+a.a)),Gq(u,new PS(a.c+a.b,a.d+a.a));break;case 3:a=new YK(g,u.a.b,d-g,t.c.b-u.a.b),w=new YK(g,t.c.b-s,d-g,s),Gq(u,new PS(a.c,a.d)),Gq(u,new PS(a.c+a.b,a.d))}a&&((f=new ty).d=m,f.b=a,f.c=w,f.a=QX(zz(l6(c,cwt(m)),21)),o.c[o.c.length]=f)}return wst(n.b,o),n.d=qlt(eUt(u)),n}function uZt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(null==i.p[e.p]){c=!0,i.p[e.p]=0,s=e,p=i.o==(cJ(),rve)?jXt:RXt;do{a=t.b.e[s.p],o=s.c.a.c.length,i.o==rve&&a>0||i.o==ave&&a<o-1?(u=null,l=null,u=i.o==ave?zz(PH(s.c.a,a+1),10):zz(PH(s.c.a,a-1),10),uZt(t,l=i.g[u.p],i),p=t.e.bg(p,e,s),i.j[e.p]==e&&(i.j[e.p]=i.j[l.p]),i.j[e.p]==i.j[l.p]?(g=RO(t.d,s,u),i.o==ave?(r=Uv(i.p[e.p]),f=Uv(i.p[l.p])+Uv(i.d[u.p])-u.d.d-g-s.d.a-s.o.b-Uv(i.d[s.p]),c?(c=!1,i.p[e.p]=n.Math.min(f,p)):i.p[e.p]=n.Math.min(r,n.Math.min(f,p))):(r=Uv(i.p[e.p]),f=Uv(i.p[l.p])+Uv(i.d[u.p])+u.o.b+u.d.a+g+s.d.d-Uv(i.d[s.p]),c?(c=!1,i.p[e.p]=n.Math.max(f,p)):i.p[e.p]=n.Math.max(r,n.Math.max(f,p)))):(g=Uv(EB(vEt(t.a,(HZt(),Mwe)))),d=krt(t,i.j[e.p]),h=krt(t,i.j[l.p]),i.o==ave?Y1(d,h,Uv(i.p[e.p])+Uv(i.d[s.p])+s.o.b+s.d.a+g-(Uv(i.p[l.p])+Uv(i.d[u.p])-u.d.d)):Y1(d,h,Uv(i.p[e.p])+Uv(i.d[s.p])-s.d.d-Uv(i.p[l.p])-Uv(i.d[u.p])-u.o.b-u.d.a-g))):p=t.e.bg(p,e,s),s=i.a[s.p]}while(s!=e);Mm(t.e,e)}}function lZt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;for(h=e,l=new wQ,f=new wQ,a=N2(h,B6t),GTt((i=new hX(t,n,l,f)).a,i.b,i.c,i.d,a),p=(l.i||(l.i=new qL(l,l.c))).Kc();p.Ob();)for(g=zz(p.Pb(),202),s=zz(l6(l,g),21).Kc();s.Ob();){if(o=s.Pb(),!(d=zz(lnt(t.d,o),202)))throw r=F2(h,U6t),qw(new nx(X6t+o+V6t+r+K6t));!g.e&&(g.e=new lR($Me,g,10,9)),h7(g.e,d)}for(w=(f.i||(f.i=new qL(f,f.c))).Kc();w.Ob();)for(b=zz(w.Pb(),202),u=zz(l6(f,b),21).Kc();u.Ob();){if(c=u.Pb(),!(d=zz(lnt(t.d,c),202)))throw r=F2(h,U6t),qw(new nx(X6t+c+V6t+r+K6t));!b.g&&(b.g=new lR($Me,b,9,10)),h7(b.g,d)}!n.b&&(n.b=new lR(RMe,n,4,7)),0!=n.b.i&&(!n.c&&(n.c=new lR(RMe,n,5,8)),0!=n.c.i)&&(!n.b&&(n.b=new lR(RMe,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new lR(RMe,n,5,8)),n.c.i<=1))&&1==(!n.a&&(n.a=new nY($Me,n,6,6)),n.a).i&&(Cmt(m=zz(Ket((!n.a&&(n.a=new nY($Me,n,6,6)),n.a),0),202))||Smt(m)||(Nit(m,zz(Ket((!n.b&&(n.b=new lR(RMe,n,4,7)),n.b),0),82)),Pit(m,zz(Ket((!n.c&&(n.c=new lR(RMe,n,5,8)),n.c),0),82))))}function hZt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T;for(v=0,x=(y=t.a).length;v<x;++v){for(m=y[v],u=FWt,l=FWt,g=new Wd(m.e);g.a<g.c.c.length;)(o=(f=zz(t0(g),10)).c?_9(f.c.a,f,0):-1)>0?(h=zz(PH(f.c.a,o-1),10),A=RO(t.b,f,h),b=f.n.b-f.d.d-(h.n.b+h.o.b+h.d.a+A)):b=f.n.b-f.d.d,u=n.Math.min(b,u),o<f.c.a.c.length-1?(h=zz(PH(f.c.a,o+1),10),A=RO(t.b,f,h),w=h.n.b-h.d.d-(f.n.b+f.o.b+f.d.a+A)):w=2*f.n.b,l=n.Math.min(w,l);for(c=FWt,a=!1,T=new Wd((r=zz(PH(m.e,0),10)).j);T.a<T.c.c.length;)for(E=zz(t0(T),11),p=r.n.b+E.n.b+E.a.b,i=new Wd(E.e);i.a<i.c.c.length;)e=(k=zz(t0(i),17).c).i.n.b+k.n.b+k.a.b-p,n.Math.abs(e)<n.Math.abs(c)&&n.Math.abs(e)<(e<0?u:l)&&(c=e,a=!0);for(_=new Wd((s=zz(PH(m.e,m.e.c.length-1),10)).j);_.a<_.c.c.length;)for(k=zz(t0(_),11),p=s.n.b+k.n.b+k.a.b,i=new Wd(k.g);i.a<i.c.c.length;)e=(E=zz(t0(i),17).d).i.n.b+E.n.b+E.a.b-p,n.Math.abs(e)<n.Math.abs(c)&&n.Math.abs(e)<(e<0?u:l)&&(c=e,a=!0);if(a&&0!=c)for(d=new Wd(m.e);d.a<d.c.c.length;)(f=zz(t0(d),10)).n.b+=c}}function fZt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(lY(t.a,e)){if($A(zz(FZ(t.a,e),53),n))return 1}else KW(t.a,e,new Fm);if(lY(t.a,n)){if($A(zz(FZ(t.a,n),53),e))return-1}else KW(t.a,n,new Fm);if(lY(t.e,e)){if($A(zz(FZ(t.e,e),53),n))return-1}else KW(t.e,e,new Fm);if(lY(t.e,n)){if($A(zz(FZ(t.a,n),53),e))return 1}else KW(t.e,n,new Fm);if(t.c==(vct(),Pme)||!LP(e,(hWt(),gfe))||!LP(n,(hWt(),gfe))){if(c=zz(_N(E4(Vct(DK(new FH(null,new g1(e.j,16)),new ua)),new la)),11),l=zz(_N(E4(Vct(DK(new FH(null,new g1(n.j,16)),new ha)),new fa)),11),c&&l){if(s=c.i,u=l.i,s&&s==u){for(f=new Wd(s.j);f.a<f.c.c.length;){if((h=zz(t0(f),11))==c)return sRt(t,n,e),-1;if(h==l)return sRt(t,e,n),1}return _O(r_t(t,e),r_t(t,n))}for(p=0,b=(g=t.d).length;p<b;++p){if((d=g[p])==s)return sRt(t,n,e),-1;if(d==u)return sRt(t,e,n),1}}if(!LP(e,(hWt(),gfe))||!LP(n,gfe))return(r=r_t(t,e))>(o=r_t(t,n))?sRt(t,e,n):sRt(t,n,e),r<o?-1:r>o?1:0}return(i=zz(vEt(e,(hWt(),gfe)),19).a)>(a=zz(vEt(n,gfe),19).a)?sRt(t,e,n):sRt(t,n,e),i<a?-1:i>a?1:0}function dZt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(Hv(AB(tOt(e,(lWt(),GTe)))))return TX(),TX(),lne;if(c=0!=(!e.a&&(e.a=new nY(YMe,e,10,11)),e.a).i,u=!(l=xIt(e)).dc(),c||u){if(!(r=zz(tOt(e,yCe),149)))throw qw(new rx("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(p=MS(r,(hDt(),tDe)),Pbt(e),!c&&u&&!p)return TX(),TX(),lne;if(s=new Nw,UI(tOt(e,_Te))===UI((cht(),wSe))&&(MS(r,VMe)||MS(r,XMe)))for(f=mFt(t,e),zrt(d=new VA,(!e.a&&(e.a=new nY(YMe,e,10,11)),e.a));0!=d.b;)Pbt(h=zz(0==d.b?null:(CP(0!=d.b),Oet(d,d.a.a)),33)),UI(tOt(h,_Te))===UI(ySe)||C8(h,nTe)&&!k5(r,tOt(h,yCe))?(wst(s,dZt(t,h,n,i)),Qwt(h,_Te,ySe),jRt(h)):zrt(d,(!h.a&&(h.a=new nY(YMe,h,10,11)),h.a));else for(f=(!e.a&&(e.a=new nY(YMe,e,10,11)),e.a).i,o=new DL((!e.a&&(e.a=new nY(YMe,e,10,11)),e.a));o.e!=o.i.gc();)wst(s,dZt(t,a=zz(kwt(o),33),n,i)),jRt(a);for(g=new Wd(s);g.a<g.c.c.length;)Qwt(zz(t0(g),79),GTe,(lN(),!0));return Zbt(e,r,vat(i,f)),pjt(s),u&&p?l:(TX(),TX(),lne)}return TX(),TX(),lne}function gZt(t,e,n,i,r,a,o,s,c){var u,l,h,f,d,g,p;switch(d=n,zf(l=new Lmt(c),(cTt(),Ese)),hct(l,(hWt(),Vhe),o),hct(l,(HZt(),nwe),(V_t(),ZSe)),p=Uv(EB(t.We(ewe))),hct(l,ewe,p),SJ(h=new ITt,l),e!=XSe&&e!=VSe||(d=i>=0?hgt(s):Eft(hgt(s)),t.Ye(swe,d)),u=new Uk,f=!1,t.Xe(twe)?(qP(u,zz(t.We(twe),8)),f=!0):vL(u,o.a/2,o.b/2),d.g){case 4:hct(l,xbe,(Edt(),$fe)),hct(l,Uhe,(Jst(),Ole)),l.o.b=o.b,p<0&&(l.o.a=-p),USt(h,(kYt(),cIe)),f||(u.a=o.a),u.a-=o.a;break;case 2:hct(l,xbe,(Edt(),qfe)),hct(l,Uhe,(Jst(),Mle)),l.o.b=o.b,p<0&&(l.o.a=-p),USt(h,(kYt(),SIe)),f||(u.a=0);break;case 1:hct(l,ife,(G9(),She)),l.o.a=o.a,p<0&&(l.o.b=-p),USt(h,(kYt(),TIe)),f||(u.b=o.b),u.b-=o.b;break;case 3:hct(l,ife,(G9(),The)),l.o.a=o.a,p<0&&(l.o.b=-p),USt(h,(kYt(),uIe)),f||(u.b=0)}if(qP(h.n,u),hct(l,twe,u),e==YSe||e==WSe||e==ZSe){if(g=0,e==YSe&&t.Xe(iwe))switch(d.g){case 1:case 2:g=zz(t.We(iwe),19).a;break;case 3:case 4:g=-zz(t.We(iwe),19).a}else switch(d.g){case 4:case 2:g=a.b,e==WSe&&(g/=r.b);break;case 1:case 3:g=a.a,e==WSe&&(g/=r.a)}hct(l,Afe,g)}return hct(l,Xhe,d),l}function pZt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k,_;if((n=Uv(EB(vEt(t.a.j,(HZt(),jpe)))))<-1||!t.a.i||LR(zz(vEt(t.a.o,nwe),98))||sdt(t.a.o,(kYt(),cIe)).gc()<2&&sdt(t.a.o,SIe).gc()<2)return!0;if(t.a.c.Rf())return!1;for(v=0,y=0,m=new Nw,c=0,u=(s=t.a.e).length;c<u;++c){for(d=0,p=(f=s[c]).length;d<p;++d)if((h=f[d]).k!=(cTt(),Ise)){for(i=t.b[h.c.p][h.p],h.k==Ese?(i.b=1,zz(vEt(h,(hWt(),pfe)),11).j==(kYt(),cIe)&&(y+=i.a)):(_=sdt(h,(kYt(),SIe))).dc()||!eL(_,new Na)?i.c=1:((r=sdt(h,cIe)).dc()||!eL(r,new La))&&(v+=i.a),o=new cG(JL(ddt(h).a.Kc(),new l));bDt(o);)a=zz(Y5(o),17),v+=i.c,y+=i.b,Z8(t,i,a.d.i);for(k=new cG(new WL((b=Knt(Sst(Ux(Bte,1),HWt,20,0,[sdt(h,(kYt(),uIe)),sdt(h,TIe)]))).a.length,b.a));bDt(k);)x=zz(Y5(k),11),(w=zz(vEt(x,(hWt(),_fe)),10))&&(v+=i.c,y+=i.b,Z8(t,i,w))}else m.c[m.c.length]=h;for(g=new Wd(m);g.a<g.c.c.length;)for(h=zz(t0(g),10),i=t.b[h.c.p][h.p],o=new cG(JL(ddt(h).a.Kc(),new l));bDt(o);)a=zz(Y5(o),17),v+=i.c,y+=i.b,Z8(t,i,a.d.i);m.c=P8(Ote,HWt,1,0,5,1)}return(0==(e=v+y)?RXt:(v-y)/e)>=n}function bZt(){function t(t){var e=this;this.dispatch=function(e){var n=e.data;switch(n.cmd){case"algorithms":var i=Cgt((TX(),new qd(new Md(fDe.b))));t.postMessage({id:n.id,data:i});break;case"categories":var r=Cgt((TX(),new qd(new Md(fDe.c))));t.postMessage({id:n.id,data:r});break;case"options":var a=Cgt((TX(),new qd(new Md(fDe.d))));t.postMessage({id:n.id,data:a});break;case"register":dUt(n.algorithms),t.postMessage({id:n.id});break;case"layout":Bzt(n.graph,n.layoutOptions||{},n.options||{}),t.postMessage({id:n.id,data:n.graph})}},this.saveDispatch=function(n){try{e.dispatch(n)}catch(e){t.postMessage({id:n.data.id,error:e})}}}function n(e){var n=this;this.dispatcher=new t({postMessage:function(t){n.onmessage({data:t})}}),this.postMessage=function(t){setTimeout((function(){n.dispatcher.saveDispatch({data:t})}),0)}}if(o_(),typeof document===wVt&&typeof self!==wVt){var r=new t(self);self.onmessage=r.saveDispatch}else typeof e!==wVt&&e.exports&&(Object.defineProperty(i,"__esModule",{value:!0}),e.exports={default:n,Worker:n})}function wZt(t){t.N||(t.N=!0,t.b=kot(t,0),Rrt(t.b,0),Rrt(t.b,1),Rrt(t.b,2),t.bb=kot(t,1),Rrt(t.bb,0),Rrt(t.bb,1),t.fb=kot(t,2),Rrt(t.fb,3),Rrt(t.fb,4),jrt(t.fb,5),t.qb=kot(t,3),Rrt(t.qb,0),jrt(t.qb,1),jrt(t.qb,2),Rrt(t.qb,3),Rrt(t.qb,4),jrt(t.qb,5),Rrt(t.qb,6),t.a=_ot(t,4),t.c=_ot(t,5),t.d=_ot(t,6),t.e=_ot(t,7),t.f=_ot(t,8),t.g=_ot(t,9),t.i=_ot(t,10),t.j=_ot(t,11),t.k=_ot(t,12),t.n=_ot(t,13),t.o=_ot(t,14),t.p=_ot(t,15),t.q=_ot(t,16),t.s=_ot(t,17),t.r=_ot(t,18),t.t=_ot(t,19),t.u=_ot(t,20),t.v=_ot(t,21),t.w=_ot(t,22),t.B=_ot(t,23),t.A=_ot(t,24),t.C=_ot(t,25),t.D=_ot(t,26),t.F=_ot(t,27),t.G=_ot(t,28),t.H=_ot(t,29),t.J=_ot(t,30),t.I=_ot(t,31),t.K=_ot(t,32),t.M=_ot(t,33),t.L=_ot(t,34),t.P=_ot(t,35),t.Q=_ot(t,36),t.R=_ot(t,37),t.S=_ot(t,38),t.T=_ot(t,39),t.U=_ot(t,40),t.V=_ot(t,41),t.X=_ot(t,42),t.W=_ot(t,43),t.Y=_ot(t,44),t.Z=_ot(t,45),t.$=_ot(t,46),t._=_ot(t,47),t.ab=_ot(t,48),t.cb=_ot(t,49),t.db=_ot(t,50),t.eb=_ot(t,51),t.gb=_ot(t,52),t.hb=_ot(t,53),t.ib=_ot(t,54),t.jb=_ot(t,55),t.kb=_ot(t,56),t.lb=_ot(t,57),t.mb=_ot(t,58),t.nb=_ot(t,59),t.ob=_ot(t,60),t.pb=_ot(t,61))}function mZt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;if(y=0,0==e.f.a)for(w=new Wd(t);w.a<w.c.c.length;)p=zz(t0(w),10),y=n.Math.max(y,p.n.a+p.o.a+p.d.c);else y=e.f.a-e.c.a;for(y-=e.c.a,b=new Wd(t);b.a<b.c.c.length;){switch(Jw((p=zz(t0(b),10)).n,y-p.o.a),aq(p.f),Xyt(p),(p.q?p.q:(TX(),TX(),hne))._b((HZt(),uwe))&&Jw(zz(vEt(p,uwe),8),y-p.o.a),zz(vEt(p,xpe),248).g){case 1:hct(p,xpe,(pmt(),OEe));break;case 2:hct(p,xpe,(pmt(),DEe))}for(m=p.o,x=new Wd(p.j);x.a<x.c.c.length;){for(Jw((v=zz(t0(x),11)).n,m.a-v.o.a),Jw(v.a,v.o.a),USt(v,Mat(v.j)),(s=zz(vEt(v,iwe),19))&&hct(v,iwe,rft(-s.a)),o=new Wd(v.g);o.a<o.c.c.length;){for(r=lwt((a=zz(t0(o),17)).a,0);r.b!=r.d.c;)(i=zz(d3(r),8)).a=y-i.a;if(l=zz(vEt(a,mbe),74))for(u=lwt(l,0);u.b!=u.d.c;)(c=zz(d3(u),8)).a=y-c.a;for(d=new Wd(a.b);d.a<d.c.c.length;)Jw((h=zz(t0(d),70)).n,y-h.o.a)}for(g=new Wd(v.f);g.a<g.c.c.length;)Jw((h=zz(t0(g),70)).n,v.o.a-h.o.a)}for(p.k==(cTt(),Ese)&&(hct(p,(hWt(),Xhe),Mat(zz(vEt(p,Xhe),61))),QEt(p)),f=new Wd(p.b);f.a<f.c.c.length;)Xyt(h=zz(t0(f),70)),Jw(h.n,m.a-h.o.a)}}function yZt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;if(y=0,0==e.f.b)for(w=new Wd(t);w.a<w.c.c.length;)p=zz(t0(w),10),y=n.Math.max(y,p.n.b+p.o.b+p.d.a);else y=e.f.b-e.c.b;for(y-=e.c.b,b=new Wd(t);b.a<b.c.c.length;){switch(Qw((p=zz(t0(b),10)).n,y-p.o.b),oq(p.f),Vyt(p),(p.q?p.q:(TX(),TX(),hne))._b((HZt(),uwe))&&Qw(zz(vEt(p,uwe),8),y-p.o.b),zz(vEt(p,xpe),248).g){case 3:hct(p,xpe,(pmt(),IEe));break;case 4:hct(p,xpe,(pmt(),LEe))}for(m=p.o,x=new Wd(p.j);x.a<x.c.c.length;){for(Qw((v=zz(t0(x),11)).n,m.b-v.o.b),Qw(v.a,v.o.b),USt(v,Dat(v.j)),(s=zz(vEt(v,iwe),19))&&hct(v,iwe,rft(-s.a)),o=new Wd(v.g);o.a<o.c.c.length;){for(r=lwt((a=zz(t0(o),17)).a,0);r.b!=r.d.c;)(i=zz(d3(r),8)).b=y-i.b;if(l=zz(vEt(a,mbe),74))for(u=lwt(l,0);u.b!=u.d.c;)(c=zz(d3(u),8)).b=y-c.b;for(d=new Wd(a.b);d.a<d.c.c.length;)Qw((h=zz(t0(d),70)).n,y-h.o.b)}for(g=new Wd(v.f);g.a<g.c.c.length;)Qw((h=zz(t0(g),70)).n,v.o.b-h.o.b)}for(p.k==(cTt(),Ese)&&(hct(p,(hWt(),Xhe),Dat(zz(vEt(p,Xhe),61))),wft(p)),f=new Wd(p.b);f.a<f.c.c.length;)Vyt(h=zz(t0(f),70)),Qw(h.n,m.b-h.o.b)}}function vZt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;for(h=!1,u=t+1,f1(t,e.c.length),o=(l=zz(e.c[t],200)).a,s=null,a=0;a<l.a.c.length;a++)if(f1(a,o.c.length),!(r=zz(o.c[a],187)).c)if(0!=r.b.c.length){if(r.k||(s&&Gyt(s),Emt(r,(s=new RQ(s?s.e+s.d+i:0,l.f,i)).e+s.d,l.f),Wz(l.d,s),Bat(s,r),r.k=!0),c=null,d=null,a<l.a.c.length-1?d=zz(PH(l.a,a+1),187):u<e.c.length&&0!=(f1(u,e.c.length),zz(e.c[u],200)).a.c.length&&(d=zz(PH((f1(u,e.c.length),zz(e.c[u],200)).a,0),187)),f=!1,(c=d)&&(f=!Pht(c.j,l)),c){if(0==c.b.c.length){Ext(l,c);break}if(w7(r,n-r.s),Gyt(r.q),h|=eTt(l,r,c,n,i),0==c.b.c.length)for(Ext((f1(u,e.c.length),zz(e.c[u],200)),c),c=null;e.c.length>u&&0==(f1(u,e.c.length),zz(e.c[u],200)).a.c.length;)v9(e,(f1(u,e.c.length),e.c[u]));if(!c){--a;continue}if(Ojt(e,l,r,c,f,n,u,i)){h=!0;continue}if(f){if(Jzt(e,l,r,c,n,u,i)){h=!0;continue}if(Olt(l,r)){r.c=!0,h=!0;continue}}else if(Olt(l,r)){r.c=!0,h=!0;continue}if(h)continue}Olt(l,r)?(r.c=!0,h=!0,c&&(c.k=!1)):Gyt(r.q)}else OA(),Ext(l,r),--a,h=!0;return h}function xZt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I,M,D;for(b=0,C=0,l=new Wd(t.b);l.a<l.c.c.length;)(u=zz(t0(l),157)).c&&uGt(u.c),b=n.Math.max(b,iU(u)),C+=iU(u)*nU(u);for(w=C/t.b.c.length,T=hkt(t.b,w),C+=t.b.c.length*T,b=n.Math.max(b,n.Math.sqrt(C*s))+i.b,M=i.b,D=i.d,g=0,f=i.b+i.c,Bq(E=new VA,rft(0)),_=new VA,h=new E2(t.b,0),p=null,c=new Nw;h.b<h.d.gc();)CP(h.b<h.d.gc()),I=iU(u=zz(h.d.Xb(h.c=h.b++),157)),d=nU(u),M+I>b&&(o&&(hM(_,g),hM(E,rft(h.b-1)),Wz(t.d,p),c.c=P8(Ote,HWt,1,0,5,1)),M=i.b,D+=g+e,g=0,f=n.Math.max(f,i.b+i.c+I)),c.c[c.c.length]=u,Twt(u,M,D),f=n.Math.max(f,M+I+i.c),g=n.Math.max(g,d),M+=I+e,p=u;if(wst(t.a,c),Wz(t.d,zz(PH(c,c.c.length-1),157)),f=n.Math.max(f,r),(S=D+g+i.a)<a&&(g+=a-S,S=a),o)for(M=i.b,h=new E2(t.b,0),hM(E,rft(t.b.c.length)),y=zz(d3(A=lwt(E,0)),19).a,hM(_,g),k=lwt(_,0),x=0;h.b<h.d.gc();)h.b==y&&(M=i.b,x=Uv(EB(d3(k))),y=zz(d3(A),19).a),CP(h.b<h.d.gc()),Zpt(u=zz(h.d.Xb(h.c=h.b++),157),x),h.b==y&&(m=f-M-i.c,v=iU(u),Ypt(u,m),zft(u,(m-v)/2,0)),M+=iU(u)+e;return new PS(f,S)}function kZt(t){var e,n,i,r;switch(r=null,t.c){case 6:return t.Vl();case 13:return t.Wl();case 23:return t.Nl();case 22:return t.Sl();case 18:return t.Pl();case 8:VZt(t),pWt(),r=cNe;break;case 9:return t.vl(!0);case 19:return t.wl();case 10:switch(t.a){case 100:case 68:case 119:case 87:case 115:case 83:return r=t.ul(t.a),VZt(t),r;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:(e=t.tl())<qXt?(pWt(),pWt(),r=new cU(0,e)):r=wG(Wft(e));break;case 99:return t.Fl();case 67:return t.Al();case 105:return t.Il();case 73:return t.Bl();case 103:return t.Gl();case 88:return t.Cl();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t.xl();case 80:case 112:if(!(r=FIt(t,t.a)))throw qw(new ox(kWt((sO(),D8t))));break;default:r=Xq(t.a)}VZt(t);break;case 0:if(93==t.a||123==t.a||125==t.a)throw qw(new ox(kWt((sO(),M8t))));r=Xq(t.a),n=t.a,VZt(t),(64512&n)==HXt&&0==t.c&&56320==(64512&t.a)&&((i=P8(MNe,KKt,25,2,15,1))[0]=n&VKt,i[1]=t.a&VKt,r=cY(wG(qpt(i,0,i.length)),0),VZt(t));break;default:throw qw(new ox(kWt((sO(),M8t))))}return r}function _Zt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(r=new Nw,a=FWt,o=FWt,s=FWt,i)for(a=t.f.a,p=new Wd(e.j);p.a<p.c.c.length;)for(u=new Wd(zz(t0(p),11).g);u.a<u.c.c.length;)0!=(c=zz(t0(u),17)).a.b&&((h=zz(bP(c.a),8)).a<a&&(o=a-h.a,s=FWt,r.c=P8(Ote,HWt,1,0,5,1),a=h.a),h.a<=a&&(r.c[r.c.length]=c,c.a.b>1&&(s=n.Math.min(s,n.Math.abs(zz(Fwt(c.a,1),8).b-h.b)))));else for(p=new Wd(e.j);p.a<p.c.c.length;)for(u=new Wd(zz(t0(p),11).e);u.a<u.c.c.length;)0!=(c=zz(t0(u),17)).a.b&&((d=zz(wP(c.a),8)).a>a&&(o=d.a-a,s=FWt,r.c=P8(Ote,HWt,1,0,5,1),a=d.a),d.a>=a&&(r.c[r.c.length]=c,c.a.b>1&&(s=n.Math.min(s,n.Math.abs(zz(Fwt(c.a,c.a.b-2),8).b-d.b)))));if(0!=r.c.length&&o>e.o.a/2&&s>e.o.b/2){for(SJ(g=new ITt,e),USt(g,(kYt(),uIe)),g.n.a=e.o.a/2,SJ(b=new ITt,e),USt(b,TIe),b.n.a=e.o.a/2,b.n.b=e.o.b,u=new Wd(r);u.a<u.c.c.length;)c=zz(t0(u),17),i?(l=zz(pq(c.a),8),(0==c.a.b?b1(c.d):zz(bP(c.a),8)).b>=l.b?TJ(c,b):TJ(c,g)):(l=zz(bq(c.a),8),(0==c.a.b?b1(c.c):zz(wP(c.a),8)).b>=l.b?EJ(c,b):EJ(c,g)),(f=zz(vEt(c,(HZt(),mbe)),74))&&xgt(f,l,!0);e.n.a=a-e.o.a/2}}function AZt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(u=e,Lit(c=X3(t,L3(n),u),F2(u,U6t)),l=zz(lnt(t.g,kIt(GQ(u,E6t))),33),i=null,(o=GQ(u,"sourcePort"))&&(i=kIt(o)),h=zz(lnt(t.j,i),118),!l)throw qw(new nx("An edge must have a source node (edge id: '"+Vpt(u)+K6t));if(h&&!gW(WQ(h),l))throw qw(new nx("The source port of an edge must be a port of the edge's source node (edge id: '"+F2(u,U6t)+K6t));if(!c.b&&(c.b=new lR(RMe,c,4,7)),h7(c.b,h||l),f=zz(lnt(t.g,kIt(GQ(u,Q6t))),33),r=null,(s=GQ(u,"targetPort"))&&(r=kIt(s)),d=zz(lnt(t.j,r),118),!f)throw qw(new nx("An edge must have a target node (edge id: '"+Vpt(u)+K6t));if(d&&!gW(WQ(d),f))throw qw(new nx("The target port of an edge must be a port of the edge's target node (edge id: '"+F2(u,U6t)+K6t));if(!c.c&&(c.c=new lR(RMe,c,5,8)),h7(c.c,d||f),0==(!c.b&&(c.b=new lR(RMe,c,4,7)),c.b).i||0==(!c.c&&(c.c=new lR(RMe,c,5,8)),c.c).i)throw a=F2(u,U6t),qw(new nx(W6t+a+K6t));return CAt(u,c),lOt(u,c),Bct(t,u,c)}function EZt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T;return h=I$t(qN(t,(kYt(),gIe)),e),g=svt(qN(t,pIe),e),v=svt(qN(t,_Ie),e),A=cvt(qN(t,EIe),e),f=cvt(qN(t,lIe),e),m=svt(qN(t,kIe),e),p=svt(qN(t,bIe),e),k=svt(qN(t,AIe),e),x=svt(qN(t,hIe),e),E=cvt(qN(t,dIe),e),w=svt(qN(t,vIe),e),y=svt(qN(t,yIe),e),_=svt(qN(t,fIe),e),T=cvt(qN(t,xIe),e),d=cvt(qN(t,wIe),e),b=svt(qN(t,mIe),e),n=Nct(Sst(Ux(PNe,1),UXt,25,15,[m.a,A.a,k.a,T.a])),i=Nct(Sst(Ux(PNe,1),UXt,25,15,[g.a,h.a,v.a,b.a])),r=w.a,a=Nct(Sst(Ux(PNe,1),UXt,25,15,[p.a,f.a,x.a,d.a])),u=Nct(Sst(Ux(PNe,1),UXt,25,15,[m.b,g.b,p.b,y.b])),c=Nct(Sst(Ux(PNe,1),UXt,25,15,[A.b,h.b,f.b,b.b])),l=E.b,s=Nct(Sst(Ux(PNe,1),UXt,25,15,[k.b,v.b,x.b,_.b])),g7(qN(t,gIe),n+r,u+l),g7(qN(t,mIe),n+r,u+l),g7(qN(t,pIe),n+r,0),g7(qN(t,_Ie),n+r,u+l+c),g7(qN(t,EIe),0,u+l),g7(qN(t,lIe),n+r+i,u+l),g7(qN(t,bIe),n+r+i,0),g7(qN(t,AIe),0,u+l+c),g7(qN(t,hIe),n+r+i,u+l+c),g7(qN(t,dIe),0,u),g7(qN(t,vIe),n,0),g7(qN(t,fIe),0,u+l+c),g7(qN(t,wIe),n+r+i,0),(o=new Uk).a=Nct(Sst(Ux(PNe,1),UXt,25,15,[n+i+r+a,E.a,y.a,_.a])),o.b=Nct(Sst(Ux(PNe,1),UXt,25,15,[u+c+l+s,w.b,T.b,d.b])),o}function TZt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b;for(p=new Nw,f=new Wd(t.d.b);f.a<f.c.c.length;)for(g=new Wd(zz(t0(f),29).a);g.a<g.c.c.length;){for(d=zz(t0(g),10),r=zz(FZ(t.f,d),57),c=new cG(JL(ddt(d).a.Kc(),new l));bDt(c);)if(u=!0,h=null,(i=lwt((o=zz(Y5(c),17)).a,0)).b!=i.d.c){for(e=zz(d3(i),8),n=null,o.c.j==(kYt(),uIe)&&((b=new Szt(e,new PS(e.a,r.d.d),r,o)).f.a=!0,b.a=o.c,p.c[p.c.length]=b),o.c.j==TIe&&((b=new Szt(e,new PS(e.a,r.d.d+r.d.a),r,o)).f.d=!0,b.a=o.c,p.c[p.c.length]=b);i.b!=i.d.c;)n=zz(d3(i),8),snt(e.b,n.b)||(h=new Szt(e,n,null,o),p.c[p.c.length]=h,u&&(u=!1,n.b<r.d.d?h.f.a=!0:n.b>r.d.d+r.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0))),i.b!=i.d.c&&(e=n);h&&(a=zz(FZ(t.f,o.d.i),57),e.b<a.d.d?h.f.a=!0:e.b>a.d.d+a.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0))}for(s=new cG(JL(fdt(d).a.Kc(),new l));bDt(s);)0!=(o=zz(Y5(s),17)).a.b&&(e=zz(wP(o.a),8),o.d.j==(kYt(),uIe)&&((b=new Szt(e,new PS(e.a,r.d.d),r,o)).f.a=!0,b.a=o.d,p.c[p.c.length]=b),o.d.j==TIe&&((b=new Szt(e,new PS(e.a,r.d.d+r.d.a),r,o)).f.d=!0,b.a=o.d,p.c[p.c.length]=b))}return p}function CZt(t,e,n){var i,r,a,o,s,c,u;if(DAt(n,"Network simplex node placement",1),t.e=e,t.n=zz(vEt(e,(hWt(),Dfe)),304),uHt(t),R_t(t),QA(gtt(new FH(null,new g1(t.e.b,16)),new qa),new ab(t)),QA(DK(gtt(DK(gtt(new FH(null,new g1(t.e.b,16)),new eo),new no),new io),new ro),new rb(t)),Hv(AB(vEt(t.e,(HZt(),Pbe))))&&(DAt(a=vat(n,1),"Straight Edges Pre-Processing",1),_Gt(t),HTt(a)),Tmt(t.f),r=zz(vEt(e,Pwe),19).a*t.f.a.c.length,KRt(Xx(Vx(zj(t.f),r),!1),vat(n,1)),0!=t.d.a.gc()){for(DAt(a=vat(n,1),"Flexible Where Space Processing",1),o=zz(ON(MG(OK(new FH(null,new g1(t.f.a,16)),new Ha),new Ba)),19).a,s=zz(ON(IG(OK(new FH(null,new g1(t.f.a,16)),new Ua),new Fa)),19).a-o,c=DN(new Hm,t.f),u=DN(new Hm,t.f),ZNt(oE(aE(rE(sE(new qm,2e4),s),c),u)),QA(DK(DK(LY(t.i),new Ga),new Ya),new GK(o,c,s,u)),i=t.d.a.ec().Kc();i.Ob();)zz(i.Pb(),213).g=1;KRt(Xx(Vx(zj(t.f),r),!1),vat(a,1)),HTt(a)}Hv(AB(vEt(e,Pbe)))&&(DAt(a=vat(n,1),"Straight Edges Post-Processing",1),CCt(t),HTt(a)),VUt(t),t.e=null,t.f=null,t.i=null,t.c=null,OY(t.k),t.j=null,t.a=null,t.o=null,t.d.a.$b(),HTt(n)}function SZt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;for(s=new Wd(t.a.b);s.a<s.c.c.length;)for(y=new Wd(zz(t0(s),29).a);y.a<y.c.c.length;)m=zz(t0(y),10),e.g[m.p]=m,e.a[m.p]=m,e.d[m.p]=0;for(c=t.a.b,e.c==(bQ(),tve)&&(c=aL(c,152)?c6(zz(c,152)):aL(c,131)?zz(c,131).a:aL(c,54)?new hv(c):new SA(c)),o=c.Kc();o.Ob();)for(d=-1,f=zz(o.Pb(),29).a,e.o==(cJ(),ave)&&(d=FWt,f=aL(f,152)?c6(zz(f,152)):aL(f,131)?zz(f,131).a:aL(f,54)?new hv(f):new SA(f)),x=f.Kc();x.Ob();)if(v=zz(x.Pb(),10),h=null,(h=e.c==tve?zz(PH(t.b.f,v.p),15):zz(PH(t.b.b,v.p),15)).gc()>0)if(r=h.gc(),u=SQ(n.Math.floor((r+1)/2))-1,a=SQ(n.Math.ceil((r+1)/2))-1,e.o==ave)for(l=a;l>=u;l--)e.a[v.p]==v&&(p=zz(h.Xb(l),46),g=zz(p.a,10),!$A(i,p.b)&&d>t.b.e[g.p]&&(e.a[g.p]=v,e.g[v.p]=e.g[g.p],e.a[v.p]=e.g[v.p],e.f[e.g[v.p].p]=(lN(),!!(Hv(e.f[e.g[v.p].p])&v.k==(cTt(),Cse))),d=t.b.e[g.p]));else for(l=u;l<=a;l++)e.a[v.p]==v&&(w=zz(h.Xb(l),46),b=zz(w.a,10),!$A(i,w.b)&&d<t.b.e[b.p]&&(e.a[b.p]=v,e.g[v.p]=e.g[b.p],e.a[v.p]=e.g[v.p],e.f[e.g[v.p].p]=(lN(),!!(Hv(e.f[e.g[v.p].p])&v.k==(cTt(),Cse))),d=t.b.e[b.p]))}function IZt(){IZt=M,n_(),CMe=bMe.a,zz(Ket(XX(bMe.a),0),18),xMe=bMe.f,zz(Ket(XX(bMe.f),0),18),zz(Ket(XX(bMe.f),1),34),TMe=bMe.n,zz(Ket(XX(bMe.n),0),34),zz(Ket(XX(bMe.n),1),34),zz(Ket(XX(bMe.n),2),34),zz(Ket(XX(bMe.n),3),34),kMe=bMe.g,zz(Ket(XX(bMe.g),0),18),zz(Ket(XX(bMe.g),1),34),mMe=bMe.c,zz(Ket(XX(bMe.c),0),18),zz(Ket(XX(bMe.c),1),18),_Me=bMe.i,zz(Ket(XX(bMe.i),0),18),zz(Ket(XX(bMe.i),1),18),zz(Ket(XX(bMe.i),2),18),zz(Ket(XX(bMe.i),3),18),zz(Ket(XX(bMe.i),4),34),AMe=bMe.j,zz(Ket(XX(bMe.j),0),18),yMe=bMe.d,zz(Ket(XX(bMe.d),0),18),zz(Ket(XX(bMe.d),1),18),zz(Ket(XX(bMe.d),2),18),zz(Ket(XX(bMe.d),3),18),zz(Ket(XX(bMe.d),4),34),zz(Ket(XX(bMe.d),5),34),zz(Ket(XX(bMe.d),6),34),zz(Ket(XX(bMe.d),7),34),wMe=bMe.b,zz(Ket(XX(bMe.b),0),34),zz(Ket(XX(bMe.b),1),34),vMe=bMe.e,zz(Ket(XX(bMe.e),0),34),zz(Ket(XX(bMe.e),1),34),zz(Ket(XX(bMe.e),2),34),zz(Ket(XX(bMe.e),3),34),zz(Ket(XX(bMe.e),4),18),zz(Ket(XX(bMe.e),5),18),zz(Ket(XX(bMe.e),6),18),zz(Ket(XX(bMe.e),7),18),zz(Ket(XX(bMe.e),8),18),zz(Ket(XX(bMe.e),9),18),zz(Ket(XX(bMe.e),10),34),EMe=bMe.k,zz(Ket(XX(bMe.k),0),34),zz(Ket(XX(bMe.k),1),34)}function MZt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C;for(E=new VA,k=new VA,b=-1,c=new Wd(t);c.a<c.c.c.length;){for((o=zz(t0(c),128)).s=b--,l=0,y=0,a=new Wd(o.t);a.a<a.c.c.length;)y+=(i=zz(t0(a),268)).c;for(r=new Wd(o.i);r.a<r.c.c.length;)l+=(i=zz(t0(r),268)).c;o.n=l,o.u=y,0==y?r5(k,o,k.c.b,k.c):0==l&&r5(E,o,E.c.b,E.c)}for(C=T4(t),p=(h=t.c.length)+1,w=h-1,d=new Nw;0!=C.a.gc();){for(;0!=k.b;)CP(0!=k.b),x=zz(Oet(k,k.a.a),128),C.a.Bc(x),x.s=w--,oLt(x,E,k);for(;0!=E.b;)CP(0!=E.b),_=zz(Oet(E,E.a.a),128),C.a.Bc(_),_.s=p++,oLt(_,E,k);for(g=$Kt,u=C.a.ec().Kc();u.Ob();)(m=(o=zz(u.Pb(),128)).u-o.n)>=g&&(m>g&&(d.c=P8(Ote,HWt,1,0,5,1),g=m),d.c[d.c.length]=o);0!=d.c.length&&(f=zz(PH(d,mmt(e,d.c.length)),128),C.a.Bc(f),f.s=p++,oLt(f,E,k),d.c=P8(Ote,HWt,1,0,5,1))}for(v=t.c.length+1,s=new Wd(t);s.a<s.c.c.length;)(o=zz(t0(s),128)).s<h&&(o.s+=v);for(A=new Wd(t);A.a<A.c.c.length;)for(n=new E2((_=zz(t0(A),128)).t,0);n.b<n.d.gc();)CP(n.b<n.d.gc()),T=(i=zz(n.d.Xb(n.c=n.b++),268)).b,_.s>T.s&&(hW(n),v9(T.i,i),i.c>0&&(i.a=T,Wz(T.t,i),i.b=_,Wz(_.i,i)))}function DZt(t){var e,n,i,r,a;switch(e=t.c){case 11:return t.Ml();case 12:return t.Ol();case 14:return t.Ql();case 15:return t.Tl();case 16:return t.Rl();case 17:return t.Ul();case 21:return VZt(t),pWt(),pWt(),uNe;case 10:switch(t.a){case 65:return t.yl();case 90:return t.Dl();case 122:return t.Kl();case 98:return t.El();case 66:return t.zl();case 60:return t.Jl();case 62:return t.Hl()}}switch(a=kZt(t),e=t.c){case 3:return t.Zl(a);case 4:return t.Xl(a);case 5:return t.Yl(a);case 0:if(123==t.a&&t.d<t.j){if(r=t.d,i=0,n=-1,!((e=hK(t.i,r++))>=48&&e<=57))throw qw(new ox(kWt((sO(),W8t))));for(i=e-48;r<t.j&&(e=hK(t.i,r++))>=48&&e<=57;)if((i=10*i+e-48)<0)throw qw(new ox(kWt((sO(),Q8t))));if(n=i,44==e){if(r>=t.j)throw qw(new ox(kWt((sO(),X8t))));if((e=hK(t.i,r++))>=48&&e<=57){for(n=e-48;r<t.j&&(e=hK(t.i,r++))>=48&&e<=57;)if((n=10*n+e-48)<0)throw qw(new ox(kWt((sO(),Q8t))));if(i>n)throw qw(new ox(kWt((sO(),V8t))))}else n=-1}if(125!=e)throw qw(new ox(kWt((sO(),K8t))));t.sl(r)?(pWt(),pWt(),a=new l4(9,a),t.d=r+1):(pWt(),pWt(),a=new l4(3,a),t.d=r),a.dm(i),a.cm(n),VZt(t)}}return a}function OZt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E;for(g=new Q6(e.b),m=new Q6(e.b),f=new Q6(e.b),k=new Q6(e.b),p=new Q6(e.b),x=lwt(e,0);x.b!=x.d.c;)for(s=new Wd((y=zz(d3(x),11)).g);s.a<s.c.c.length;)if((a=zz(t0(s),17)).c.i==a.d.i){if(y.j==a.d.j){k.c[k.c.length]=a;continue}if(y.j==(kYt(),uIe)&&a.d.j==TIe){p.c[p.c.length]=a;continue}}for(c=new Wd(p);c.a<c.c.c.length;)$jt(t,a=zz(t0(c),17),n,i,(kYt(),cIe));for(o=new Wd(k);o.a<o.c.c.length;)a=zz(t0(o),17),zf(_=new Lmt(t),(cTt(),Ise)),hct(_,(HZt(),nwe),(V_t(),ZSe)),hct(_,(hWt(),pfe),a),hct(A=new ITt,pfe,a.d),USt(A,(kYt(),SIe)),SJ(A,_),hct(E=new ITt,pfe,a.c),USt(E,cIe),SJ(E,_),hct(a.c,_fe,_),hct(a.d,_fe,_),TJ(a,null),EJ(a,null),n.c[n.c.length]=_,hct(_,zhe,rft(2));for(v=lwt(e,0);v.b!=v.d.c;)u=(y=zz(d3(v),11)).e.c.length>0,b=y.g.c.length>0,u&&b?f.c[f.c.length]=y:u?g.c[g.c.length]=y:b&&(m.c[m.c.length]=y);for(d=new Wd(g);d.a<d.c.c.length;)Wz(r,Hzt(t,zz(t0(d),11),null,n));for(w=new Wd(m);w.a<w.c.c.length;)Wz(r,Hzt(t,null,zz(t0(w),11),n));for(h=new Wd(f);h.a<h.c.c.length;)Wz(r,Hzt(t,l=zz(t0(h),11),l,n))}function LZt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_;for(p=new PS(RXt,RXt),e=new PS(jXt,jXt),x=new Wd(t);x.a<x.c.c.length;)v=zz(t0(x),8),p.a=n.Math.min(p.a,v.a),p.b=n.Math.min(p.b,v.b),e.a=n.Math.max(e.a,v.a),e.b=n.Math.max(e.b,v.b);for(u=new PS(e.a-p.a,e.b-p.b),l=new tzt(new PS(p.a-50,p.b-u.a-50),new PS(p.a-50,e.b+u.a+50),new PS(e.a+u.b/2+50,p.b+u.b/2)),y=new Fm,a=new Nw,i=new Nw,y.a.zc(l,y),_=new Wd(t);_.a<_.c.c.length;){for(k=zz(t0(_),8),a.c=P8(Ote,HWt,1,0,5,1),m=y.a.ec().Kc();m.Ob();)W8((b=zz(m.Pb(),308)).d,b.a),Mdt(W8(b.d,k),W8(b.d,b.a))<0&&(a.c[a.c.length]=b);for(i.c=P8(Ote,HWt,1,0,5,1),w=new Wd(a);w.a<w.c.c.length;)for(d=new Wd((b=zz(t0(w),308)).e);d.a<d.c.c.length;){for(h=zz(t0(d),168),o=!0,c=new Wd(a);c.a<c.c.c.length;)(s=zz(t0(c),308))!=b&&(aK(h,PH(s.e,0))||aK(h,PH(s.e,1))||aK(h,PH(s.e,2)))&&(o=!1);o&&(i.c[i.c.length]=h)}for(uEt(y,a),n5(y,new ft),f=new Wd(i);f.a<f.c.c.length;)AY(y,new tzt(k,(h=zz(t0(f),168)).a,h.b))}for(n5(y,new kg(g=new Fm)),r=g.a.ec().Kc();r.Ob();)(R9(l,(h=zz(r.Pb(),168)).a)||R9(l,h.b))&&r.Qb();return n5(g,new dt),g}function NZt(t){var e,n,i;switch(n=zz(vEt(t,(hWt(),Jhe)),21),e=xD(Noe),zz(vEt(t,(HZt(),ube)),334)==(cht(),wSe)&&Jat(e,Poe),Hv(AB(vEt(t,sbe)))?pH(e,(xEt(),Foe),(dWt(),qce)):pH(e,(xEt(),joe),(dWt(),qce)),null!=vEt(t,(S6(),AEe))&&Jat(e,Boe),(Hv(AB(vEt(t,bbe)))||Hv(AB(vEt(t,cbe))))&&WU(e,(xEt(),zoe),(dWt(),nce)),zz(vEt(t,Ype),103).g){case 2:case 3:case 4:WU(pH(e,(xEt(),Foe),(dWt(),rce)),zoe,ice)}switch(n.Hc((gBt(),lhe))&&WU(pH(pH(e,(xEt(),Foe),(dWt(),ece)),$oe,Jse),zoe,tce),UI(vEt(t,Tbe))!==UI((lNt(),Ime))&&pH(e,(xEt(),joe),(dWt(),Nce)),n.Hc(whe)&&(pH(e,(xEt(),Foe),(dWt(),$ce)),pH(e,Roe,Rce),pH(e,joe,jce)),UI(vEt(t,Cpe))!==UI((JEt(),ahe))&&UI(vEt(t,Jpe))!==UI((Tdt(),VCe))&&WU(e,(xEt(),zoe),(dWt(),wce)),Hv(AB(vEt(t,hbe)))&&pH(e,(xEt(),joe),(dWt(),bce)),Hv(AB(vEt(t,qpe)))&&pH(e,(xEt(),joe),(dWt(),Wce)),jLt(t)&&(i=(UI(vEt(t,ube))===UI(wSe)?zz(vEt(t,Fpe),292):zz(vEt(t,Rpe),292))==(jot(),khe)?(dWt(),Fce):(dWt(),Vce),pH(e,(xEt(),$oe),i)),zz(vEt(t,Gwe),377).g){case 1:pH(e,(xEt(),$oe),(dWt(),Kce));break;case 2:WU(pH(pH(e,(xEt(),joe),(dWt(),Kse)),$oe,Xse),zoe,Vse)}return UI(vEt(t,Lpe))!==UI((vct(),Nme))&&pH(e,(xEt(),joe),(dWt(),Xce)),e}function PZt(t){NE(t,new TAt(mk(gk(wk(bk(new bs,L4t),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new ts))),s2(t,L4t,XQt,1.3),s2(t,L4t,O4t,vwt(b_e)),s2(t,L4t,VQt,I_e),s2(t,L4t,yJt,15),s2(t,L4t,c3t,vwt(d_e)),s2(t,L4t,SJt,vwt(k_e)),s2(t,L4t,qJt,vwt(__e)),s2(t,L4t,CJt,vwt(A_e)),s2(t,L4t,IJt,vwt(x_e)),s2(t,L4t,TJt,vwt(E_e)),s2(t,L4t,MJt,vwt(M_e)),s2(t,L4t,A4t,vwt(C_e)),s2(t,L4t,E4t,vwt(v_e)),s2(t,L4t,S4t,vwt(T_e)),s2(t,L4t,I4t,vwt(D_e)),s2(t,L4t,M4t,vwt(w_e)),s2(t,L4t,_Jt,vwt(m_e)),s2(t,L4t,v3t,vwt(y_e)),s2(t,L4t,C4t,vwt(p_e)),s2(t,L4t,T4t,vwt(g_e)),s2(t,L4t,D4t,vwt(L_e))}function BZt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p;if(null==n)return null;if(t.a!=e.Aj())throw qw(new jv(b6t+e.ne()+w6t));if(aL(e,457)){if(!(p=CBt(zz(e,671),n)))throw qw(new jv(m6t+n+"' is not a valid enumerator of '"+e.ne()+"'"));return p}switch(Iht((MCt(),JOe),e).cl()){case 2:n=zzt(n,!1);break;case 3:n=zzt(n,!0)}if(i=Iht(JOe,e).$k())return i.Aj().Nh().Kh(i,n);if(h=Iht(JOe,e).al()){for(p=new Nw,u=0,l=(c=xut(n)).length;u<l;++u)s=c[u],Wz(p,h.Aj().Nh().Kh(h,s));return p}if(!(g=Iht(JOe,e).bl()).dc()){for(d=g.Kc();d.Ob();){f=zz(d.Pb(),148);try{if(null!=(p=f.Aj().Nh().Kh(f,n)))return p}catch(t){if(!aL(t=dst(t),60))throw qw(t)}}throw qw(new jv(m6t+n+"' does not match any member types of the union datatype '"+e.ne()+"'"))}if(zz(e,834).Fj(),!(r=Bht(e.Bj())))return null;if(r==Cee){a=0;try{a=djt(n,$Kt,FWt)&VKt}catch(t){if(!aL(t=dst(t),127))throw qw(t);a=K9(n)[0]}return fst(a)}if(r==vee){for(o=0;o<IMe.length;++o)try{return zE(IMe[o],n)}catch(t){if(!aL(t=dst(t),32))throw qw(t)}throw qw(new jv(m6t+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw qw(new jv(m6t+n+"' is invalid. "))}function FZt(t,e){var n,i,r,a,o,s,c,u;if(n=0,o=0,a=e.length,s=null,u=new Ix,o<a&&(d1(o,e.length),43==e.charCodeAt(o))&&(++n,++o<a&&(d1(o,e.length),43==e.charCodeAt(o)||(d1(o,e.length),45==e.charCodeAt(o)))))throw qw(new Ex(FXt+e+'"'));for(;o<a&&(d1(o,e.length),46!=e.charCodeAt(o))&&(d1(o,e.length),101!=e.charCodeAt(o))&&(d1(o,e.length),69!=e.charCodeAt(o));)++o;if(u.a+=""+hP(null==e?YWt:(xW(e),e),n,o),o<a&&(d1(o,e.length),46==e.charCodeAt(o))){for(n=++o;o<a&&(d1(o,e.length),101!=e.charCodeAt(o))&&(d1(o,e.length),69!=e.charCodeAt(o));)++o;t.e=o-n,u.a+=""+hP(null==e?YWt:(xW(e),e),n,o)}else t.e=0;if(o<a&&(d1(o,e.length),101==e.charCodeAt(o)||(d1(o,e.length),69==e.charCodeAt(o)))&&(n=++o,o<a&&(d1(o,e.length),43==e.charCodeAt(o))&&++o<a&&(d1(o,e.length),45!=e.charCodeAt(o))&&++n,s=e.substr(n,a-n),t.e=t.e-djt(s,$Kt,FWt),t.e!=SQ(t.e)))throw qw(new Ex("Scale out of range."));if((c=u.a).length<16){if(t.f=(null==Xee&&(Xee=new RegExp("^[+-]?\\d*$","i")),Xee.test(c)?parseInt(c,10):NaN),isNaN(t.f))throw qw(new Ex(FXt+e+'"'));t.a=sIt(t.f)}else fpt(t,new OD(c));for(t.d=u.a.length,r=0;r<u.a.length&&(45==(i=hK(u.a,r))||48==i);++r)--t.d;0==t.d&&(t.d=1)}function RZt(){RZt=M,JIt(hse=new wQ,(kYt(),gIe),mIe),JIt(hse,EIe,mIe),JIt(hse,EIe,xIe),JIt(hse,lIe,wIe),JIt(hse,lIe,mIe),JIt(hse,pIe,mIe),JIt(hse,pIe,yIe),JIt(hse,_Ie,fIe),JIt(hse,_Ie,mIe),JIt(hse,vIe,dIe),JIt(hse,vIe,mIe),JIt(hse,vIe,yIe),JIt(hse,vIe,fIe),JIt(hse,dIe,vIe),JIt(hse,dIe,xIe),JIt(hse,dIe,wIe),JIt(hse,dIe,mIe),JIt(hse,kIe,kIe),JIt(hse,kIe,yIe),JIt(hse,kIe,xIe),JIt(hse,bIe,bIe),JIt(hse,bIe,yIe),JIt(hse,bIe,wIe),JIt(hse,AIe,AIe),JIt(hse,AIe,fIe),JIt(hse,AIe,xIe),JIt(hse,hIe,hIe),JIt(hse,hIe,fIe),JIt(hse,hIe,wIe),JIt(hse,yIe,pIe),JIt(hse,yIe,vIe),JIt(hse,yIe,kIe),JIt(hse,yIe,bIe),JIt(hse,yIe,mIe),JIt(hse,yIe,yIe),JIt(hse,yIe,xIe),JIt(hse,yIe,wIe),JIt(hse,fIe,_Ie),JIt(hse,fIe,vIe),JIt(hse,fIe,AIe),JIt(hse,fIe,hIe),JIt(hse,fIe,fIe),JIt(hse,fIe,xIe),JIt(hse,fIe,wIe),JIt(hse,fIe,mIe),JIt(hse,xIe,EIe),JIt(hse,xIe,dIe),JIt(hse,xIe,kIe),JIt(hse,xIe,AIe),JIt(hse,xIe,yIe),JIt(hse,xIe,fIe),JIt(hse,xIe,xIe),JIt(hse,xIe,mIe),JIt(hse,wIe,lIe),JIt(hse,wIe,dIe),JIt(hse,wIe,bIe),JIt(hse,wIe,hIe),JIt(hse,wIe,yIe),JIt(hse,wIe,fIe),JIt(hse,wIe,wIe),JIt(hse,wIe,mIe),JIt(hse,mIe,gIe),JIt(hse,mIe,EIe),JIt(hse,mIe,lIe),JIt(hse,mIe,pIe),JIt(hse,mIe,_Ie),JIt(hse,mIe,vIe),JIt(hse,mIe,dIe),JIt(hse,mIe,yIe),JIt(hse,mIe,fIe),JIt(hse,mIe,xIe),JIt(hse,mIe,wIe),JIt(hse,mIe,mIe)}function jZt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A;for(t.d=new PS(RXt,RXt),t.c=new PS(jXt,jXt),f=e.Kc();f.Ob();)for(y=new Wd(zz(f.Pb(),37).a);y.a<y.c.c.length;)m=zz(t0(y),10),t.d.a=n.Math.min(t.d.a,m.n.a-m.d.b),t.d.b=n.Math.min(t.d.b,m.n.b-m.d.d),t.c.a=n.Math.max(t.c.a,m.n.a+m.o.a+m.d.c),t.c.b=n.Math.max(t.c.b,m.n.b+m.o.b+m.d.a);for(c=new Vm,h=e.Kc();h.Ob();)r=cZt(t,zz(h.Pb(),37)),Wz(c.a,r),r.a=r.a|!zz(vEt(r.c,(hWt(),Zhe)),21).dc();for(t.b=(Clt(),(A=new ve).f=new yit(i),A.b=uUt(A.f,c),A),_Ut((g=t.b,new Zy,g)),t.e=new Uk,t.a=t.b.f.e,s=new Wd(c.a);s.a<s.c.c.length;)for(a=zz(t0(s),841),v=DQ(t.b,a),eRt(a.c,v.a,v.b),b=new Wd(a.c.a);b.a<b.c.c.length;)(p=zz(t0(b),10)).k==(cTt(),Ese)&&(w=dLt(t,p.n,zz(vEt(p,(hWt(),Xhe)),61)),YF(xM(p.n),w));for(o=new Wd(c.a);o.a<o.c.c.length;)for(l=new Wd(pft(a=zz(t0(o),841)));l.a<l.c.c.length;)for(RP(_=new Rk((u=zz(t0(l),17)).a),0,b1(u.c)),Bq(_,b1(u.d)),d=null,k=lwt(_,0);k.b!=k.d.c;)x=zz(d3(k),8),d?(cnt(d.a,x.a)?(t.e.a=n.Math.min(t.e.a,d.a),t.a.a=n.Math.max(t.a.a,d.a)):cnt(d.b,x.b)&&(t.e.b=n.Math.min(t.e.b,d.b),t.a.b=n.Math.max(t.a.b,d.b)),d=x):d=x;HP(t.e),YF(t.a,t.e)}function $Zt(t){XOt(t.b,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"ConsistentTransient"])),XOt(t.a,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"WellFormedSourceURI"])),XOt(t.o,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),XOt(t.p,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),XOt(t.v,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),XOt(t.R,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"WellFormedName"])),XOt(t.T,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),XOt(t.U,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),XOt(t.W,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),XOt(t.bb,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"ValidDefaultValueLiteral"])),XOt(t.eb,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),XOt(t.H,X7t,Sst(Ux(Vee,1),lKt,2,6,[Q7t,"ConsistentType ConsistentBounds ConsistentArguments"]))}function zZt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;if(!e.dc()){if(r=new xy,h=(o=n||zz(e.Xb(0),17)).c,wPt(),(u=h.i.k)!=(cTt(),Sse)&&u!=Ise&&u!=Ese&&u!=Ase)throw qw(new jv("The target node of the edge must be a normal node or a northSouthPort."));for(hM(r,Oct(Sst(Ux(CEe,1),lKt,8,0,[h.i.n,h.n,h.a]))),(kYt(),vIe).Hc(h.j)&&(d=Uv(EB(vEt(h,(hWt(),Lfe)))),r5(r,new PS(Oct(Sst(Ux(CEe,1),lKt,8,0,[h.i.n,h.n,h.a])).a,d),r.c.b,r.c)),c=null,i=!1,s=e.Kc();s.Ob();)0!=(a=zz(s.Pb(),17).a).b&&(i?(r5(r,xL(YF(c,(CP(0!=a.b),zz(a.a.a.c,8))),.5),r.c.b,r.c),i=!1):i=!0,c=zO((CP(0!=a.b),zz(a.c.b.c,8))),zrt(r,a),vX(a));f=o.d,vIe.Hc(f.j)&&(d=Uv(EB(vEt(f,(hWt(),Lfe)))),r5(r,new PS(Oct(Sst(Ux(CEe,1),lKt,8,0,[f.i.n,f.n,f.a])).a,d),r.c.b,r.c)),hM(r,Oct(Sst(Ux(CEe,1),lKt,8,0,[f.i.n,f.n,f.a]))),t.d==(Zut(),nye)&&(CP(0!=r.b),g=zz(r.a.a.c,8),p=zz(Fwt(r,1),8),(b=new ZJ(hut(h.j))).a*=5,b.b*=5,w=ZF(new PS(p.a,p.b),g),YF(m=new PS(iJ(b.a,w.a),iJ(b.b,w.b)),g),tZ(lwt(r,1),m),CP(0!=r.b),y=zz(r.c.b.c,8),v=zz(Fwt(r,r.b-2),8),(b=new ZJ(hut(f.j))).a*=5,b.b*=5,w=ZF(new PS(v.a,v.b),y),YF(x=new PS(iJ(b.a,w.a),iJ(b.b,w.b)),y),RP(r,r.b-1,x)),l=new uzt(r),zrt(o.a,zmt(l))}}function qZt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I,M,D,O,L,N,P;if(v=(m=zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82)).Dg(),x=m.Eg(),y=m.Cg()/2,g=m.Bg()/2,aL(m,186)&&(v+=WQ(w=zz(m,118)).i,v+=WQ(w).i),v+=y,x+=g,S=(T=zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82)).Dg(),I=T.Eg(),C=T.Cg()/2,k=T.Bg()/2,aL(T,186)&&(S+=WQ(E=zz(T,118)).i,S+=WQ(E).i),S+=C,I+=k,0==(!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i)e_(),c=new oc,h7((!t.a&&(t.a=new nY($Me,t,6,6)),t.a),c);else if((!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i>1)for(d=new aP((!t.a&&(t.a=new nY($Me,t,6,6)),t.a));d.e!=d.i.gc();)Vkt(d);for(p=S,S>v+y?p=v+y:S<v-y&&(p=v-y),b=I,I>x+g?b=x+g:I<x-g&&(b=x-g),p>v-y&&p<v+y&&b>x-g&&b<x+g&&(p=v+y),Mnt(s=zz(Ket((!t.a&&(t.a=new nY($Me,t,6,6)),t.a),0),202),p),Ont(s,b),_=v,v>S+C?_=S+C:v<S-C&&(_=S-C),A=x,x>I+k?A=I+k:x<I-k&&(A=I-k),_>S-C&&_<S+C&&A>I-k&&A<I+k&&(A=I+k),Ent(s,_),Dnt(s,A),lHt((!s.a&&(s.a=new OL(PMe,s,5)),s.a)),o=mmt(e,5),m==T&&++o,D=_-p,N=A-b,l=.20000000298023224*n.Math.sqrt(D*D+N*N),O=D/(o+1),P=N/(o+1),M=p,L=b,u=0;u<o;u++)L+=P,(h=(M+=O)+HOt(e,24)*cVt*l-l/2)<0?h=1:h>i&&(h=i-1),(f=L+HOt(e,24)*cVt*l-l/2)<0?f=1:f>r&&(f=r-1),e_(),_nt(a=new ac,h),Ant(a,f),h7((!s.a&&(s.a=new OL(PMe,s,5)),s.a),a)}function HZt(){HZt=M,lWt(),wwe=kCe,mwe=_Ce,ywe=ACe,vwe=ECe,kwe=TCe,_we=CCe,Twe=ICe,Swe=DCe,Iwe=OCe,Cwe=MCe,Mwe=LCe,Owe=NCe,Nwe=FCe,Ewe=SCe,fWt(),bwe=jge,xwe=$ge,Awe=zge,Dwe=qge,lwe=new ZD(wCe,rft(0)),hwe=Bge,fwe=Fge,dwe=Rge,Gwe=fpe,Fwe=Gge,Rwe=Wge,zwe=npe,jwe=Vge,$we=Jge,Zwe=wpe,Ywe=gpe,Hwe=cpe,qwe=ope,Uwe=lpe,Fbe=Cge,Rbe=Sge,rbe=Rde,abe=zde,Ybe=new WD(12),Gbe=new ZD(ZTe,Ybe),Tdt(),Jpe=new ZD(mTe,tbe=XCe),ewe=new ZD(oCe,0),gwe=new ZD(mCe,rft(1)),_pe=new ZD(aTe,bJt),Ube=GTe,nwe=sCe,swe=gCe,Gpe=fTe,xpe=iTe,ube=_Te,pwe=new ZD(xCe,(lN(),!0)),gbe=TTe,pbe=CTe,$be=RTe,Hbe=HTe,zbe=$Te,zht(),Ype=new ZD(dTe,Wpe=zCe),Obe=BTe,Dbe=NTe,awe=hCe,rwe=lCe,owe=dCe,owt(),new ZD(JTe,Kbe=HSe),Vbe=nCe,Qbe=iCe,Jbe=rCe,Xbe=eCe,Bwe=Uge,Cbe=fge,Tbe=lge,Pwe=Hge,xbe=nge,Upe=Ade,Hpe=kde,Ppe=sde,Bpe=cde,Rpe=dde,Fpe=ude,qpe=vde,Ibe=gge,Mbe=pge,wbe=Kde,jbe=Oge,Nbe=yge,sbe=Ude,Bbe=Ege,nbe=Nde,ibe=Bde,Npe=lTe,Lbe=bge,Cpe=Xfe,Tpe=Wfe,Epe=Zfe,hbe=Zde,lbe=Yde,fbe=Wde,qbe=zTe,mbe=MTe,obe=vTe,Vpe=bTe,Xpe=pTe,jpe=bde,iwe=uCe,Ape=uTe,dbe=ETe,twe=aCe,Zbe=KTe,Wbe=VTe,_be=age,Abe=sge,uwe=bCe,kpe=Yfe,Ebe=uge,Qpe=Mde,Kpe=Sde,Sbe=OTe,ybe=Jde,Pbe=kge,Lwe=PCe,Zpe=Tde,cwe=Nge,ebe=Ode,vbe=ege,$pe=mde,bbe=ITe,kbe=rge,zpe=yde,Lpe=ade,Dpe=nde,Ipe=tde,Mpe=ede,Ope=rde,Spe=Qfe,cbe=Gde}function UZt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S;if(cqt(),A=t.e,g=t.d,r=t.a,0==A)switch(e){case 0:return"0";case 1:return KXt;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(k=new Sx).a+=e<0?"0E+":"0E",k.a+=-e,k.a}if(v=P8(MNe,KKt,25,1+(y=10*g+1+7),15,1),n=y,1==g)if((s=r[0])<0){S=n0(s,ZXt);do{p=S,S=Dkt(S,10),v[--n]=48+pU(rdt(p,odt(S,10)))&VKt}while(0!=Xlt(S,0))}else{S=s;do{p=S,S=S/10|0,v[--n]=p-10*S+48&VKt}while(0!=S)}else{sqt(r,0,T=P8(DNe,hXt,25,g,15,1),0,C=g);t:for(;;){for(_=0,u=C-1;u>=0;u--)w=fAt(adt(vG(_,32),n0(T[u],ZXt))),T[u]=pU(w),_=pU(xG(w,32));m=pU(_),b=n;do{v[--n]=48+m%10&VKt}while(0!=(m=m/10|0)&&0!=n);for(i=9-b+n,c=0;c<i&&n>0;c++)v[--n]=48;for(h=C-1;0==T[h];h--)if(0==h)break t;C=h+1}for(;48==v[n];)++n}if(d=A<0,o=y-n-e-1,0==e)return d&&(v[--n]=45),qpt(v,n,y-n);if(e>0&&o>=-6){if(o>=0){for(l=n+o,f=y-1;f>=l;f--)v[f+1]=v[f];return v[++l]=46,d&&(v[--n]=45),qpt(v,n,y-n+1)}for(h=2;h<1-o;h++)v[--n]=48;return v[--n]=46,v[--n]=48,d&&(v[--n]=45),qpt(v,n,y-n)}return E=n+1,a=y,x=new Ix,d&&(x.a+="-"),a-E>=1?(PZ(x,v[n]),x.a+=".",x.a+=qpt(v,n+1,y-n-1)):x.a+=qpt(v,n,y-n),x.a+="E",o>0&&(x.a+="+"),x.a+=""+o,x.a}function GZt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;switch(t.c=e,t.g=new Pw,UE(),ngt(new Cg(new Bv(t.c))),m=TB(tOt(t.c,(TEt(),pAe))),s=zz(tOt(t.c,wAe),316),v=zz(tOt(t.c,mAe),429),a=zz(tOt(t.c,lAe),482),y=zz(tOt(t.c,bAe),430),t.j=Uv(EB(tOt(t.c,yAe))),o=t.a,s.g){case 0:o=t.a;break;case 1:o=t.b;break;case 2:o=t.i;break;case 3:o=t.e;break;case 4:o=t.f;break;default:throw qw(new jv(P4t+(null!=s.f?s.f:""+s.g)))}if(t.d=new BQ(o,v,a),hct(t.d,(Wat(),Xre),AB(tOt(t.c,fAe))),t.d.c=Hv(AB(tOt(t.c,hAe))),0==VX(t.c).i)return t.d;for(l=new DL(VX(t.c));l.e!=l.i.gc();){for(f=(u=zz(kwt(l),33)).g/2,h=u.f/2,x=new PS(u.i+f,u.j+h);lY(t.g,x);)jP(x,(n.Math.random()-.5)*dJt,(n.Math.random()-.5)*dJt);g=zz(tOt(u,(lWt(),OTe)),142),p=new DJ(x,new YK(x.a-f-t.j/2-g.b,x.b-h-t.j/2-g.d,u.g+t.j+(g.b+g.c),u.f+t.j+(g.d+g.a))),Wz(t.d.i,p),KW(t.g,x,new rI(p,u))}switch(y.g){case 0:if(null==m)t.d.d=zz(PH(t.d.i,0),65);else for(w=new Wd(t.d.i);w.a<w.c.c.length;)p=zz(t0(w),65),null!=(d=zz(zz(FZ(t.g,p.a),46).b,33).zg())&&yR(d,m)&&(t.d.d=p);break;case 1:for((i=new PS(t.c.g,t.c.f)).a*=.5,i.b*=.5,jP(i,t.c.i,t.c.j),r=RXt,b=new Wd(t.d.i);b.a<b.c.c.length;)(c=W8((p=zz(t0(b),65)).a,i))<r&&(r=c,t.d.d=p);break;default:throw qw(new jv(P4t+(null!=y.f?y.f:""+y.g)))}return t.d}function YZt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_;for(k=zz(Ket((!t.a&&(t.a=new nY($Me,t,6,6)),t.a),0),202),h=new xy,x=new Pw,_=n$t(k),_St(x.f,k,_),d=new Pw,r=new VA,p=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[(!e.d&&(e.d=new lR(jMe,e,8,5)),e.d),(!e.e&&(e.e=new lR(jMe,e,7,4)),e.e)])));bDt(p);){if(g=zz(Y5(p),79),1!=(!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i)throw qw(new jv(q5t+(!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i));g!=t&&(r5(r,w=zz(Ket((!g.a&&(g.a=new nY($Me,g,6,6)),g.a),0),202),r.c.b,r.c),(b=zz(HI(DV(x.f,w)),12))||(b=n$t(w),_St(x.f,w,b)),f=i?ZF(new gD(zz(PH(_,_.c.length-1),8)),zz(PH(b,b.c.length-1),8)):ZF(new gD((f1(0,_.c.length),zz(_.c[0],8))),(f1(0,b.c.length),zz(b.c[0],8))),_St(d.f,w,f))}if(0!=r.b)for(m=zz(PH(_,i?_.c.length-1:0),8),l=1;l<_.c.length;l++){for(y=zz(PH(_,i?_.c.length-1-l:l),8),a=lwt(r,0);a.b!=a.d.c;)w=zz(d3(a),202),(b=zz(HI(DV(x.f,w)),12)).c.length<=l?vet(a):(v=YF(new gD(zz(PH(b,i?b.c.length-1-l:l),8)),zz(HI(DV(d.f,w)),8)),y.a==v.a&&y.b==v.b||(o=y.a-m.a,c=y.b-m.b,(s=v.a-m.a)*c==(u=v.b-m.b)*o&&(0==o||isNaN(o)?o:o<0?-1:1)==(0==s||isNaN(s)?s:s<0?-1:1)&&(0==c||isNaN(c)?c:c<0?-1:1)==(0==u||isNaN(u)?u:u<0?-1:1)?(n.Math.abs(o)<n.Math.abs(s)||n.Math.abs(c)<n.Math.abs(u))&&r5(h,y,h.c.b,h.c):l>1&&r5(h,m,h.c.b,h.c),vet(a)));m=y}return h}function ZZt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I,M,D;for(DAt(n,"Greedy cycle removal",1),D=(y=e.a).c.length,t.a=P8(DNe,hXt,25,D,15,1),t.c=P8(DNe,hXt,25,D,15,1),t.b=P8(DNe,hXt,25,D,15,1),u=0,w=new Wd(y);w.a<w.c.c.length;){for((p=zz(t0(w),10)).p=u,A=new Wd(p.j);A.a<A.c.c.length;){for(s=new Wd((x=zz(t0(A),11)).e);s.a<s.c.c.length;)(i=zz(t0(s),17)).c.i!=p&&(T=zz(vEt(i,(HZt(),hwe)),19).a,t.a[u]+=T>0?T+1:1);for(o=new Wd(x.g);o.a<o.c.c.length;)(i=zz(t0(o),17)).d.i!=p&&(T=zz(vEt(i,(HZt(),hwe)),19).a,t.c[u]+=T>0?T+1:1)}0==t.c[u]?Bq(t.e,p):0==t.a[u]&&Bq(t.f,p),++u}for(g=-1,d=1,h=new Nw,t.d=zz(vEt(e,(hWt(),Tfe)),230);D>0;){for(;0!=t.e.b;)S=zz(pq(t.e),10),t.b[S.p]=g--,VRt(t,S),--D;for(;0!=t.f.b;)I=zz(pq(t.f),10),t.b[I.p]=d++,VRt(t,I),--D;if(D>0){for(f=$Kt,m=new Wd(y);m.a<m.c.c.length;)p=zz(t0(m),10),0==t.b[p.p]&&(v=t.c[p.p]-t.a[p.p])>=f&&(v>f&&(h.c=P8(Ote,HWt,1,0,5,1),f=v),h.c[h.c.length]=p);l=t.Zf(h),t.b[l.p]=d++,VRt(t,l),--D}}for(C=y.c.length+1,u=0;u<y.c.length;u++)t.b[u]<0&&(t.b[u]+=C);for(b=new Wd(y);b.a<b.c.c.length;)for(_=0,E=(k=I2((p=zz(t0(b),10)).j)).length;_<E;++_)for(a=0,c=(r=J0((x=k[_]).g)).length;a<c;++a)M=(i=r[a]).d.i.p,t.b[p.p]>t.b[M]&&(nzt(i,!0),hct(e,Hhe,(lN(),!0)));t.a=null,t.c=null,t.b=null,vX(t.f),vX(t.e),HTt(n)}function WZt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(i=new Nw,s=new Nw,b=e/2,d=t.gc(),r=zz(t.Xb(0),8),w=zz(t.Xb(1),8),Wz(i,(f1(0,(g=VDt(r.a,r.b,w.a,w.b,b)).c.length),zz(g.c[0],8))),Wz(s,(f1(1,g.c.length),zz(g.c[1],8))),u=2;u<d;u++)p=r,r=w,w=zz(t.Xb(u),8),Wz(i,(f1(1,(g=VDt(r.a,r.b,p.a,p.b,b)).c.length),zz(g.c[1],8))),Wz(s,(f1(0,g.c.length),zz(g.c[0],8))),Wz(i,(f1(0,(g=VDt(r.a,r.b,w.a,w.b,b)).c.length),zz(g.c[0],8))),Wz(s,(f1(1,g.c.length),zz(g.c[1],8)));for(Wz(i,(f1(1,(g=VDt(w.a,w.b,r.a,r.b,b)).c.length),zz(g.c[1],8))),Wz(s,(f1(0,g.c.length),zz(g.c[0],8))),n=new xy,o=new Nw,Bq(n,(f1(0,i.c.length),zz(i.c[0],8))),l=1;l<i.c.length-2;l+=2)f1(l,i.c.length),a=zz(i.c[l],8),f=UCt((f1(l-1,i.c.length),zz(i.c[l-1],8)),a,(f1(l+1,i.c.length),zz(i.c[l+1],8)),(f1(l+2,i.c.length),zz(i.c[l+2],8))),isFinite(f.a)&&isFinite(f.b)?r5(n,f,n.c.b,n.c):r5(n,a,n.c.b,n.c);for(Bq(n,zz(PH(i,i.c.length-1),8)),Wz(o,(f1(0,s.c.length),zz(s.c[0],8))),h=1;h<s.c.length-2;h+=2)f1(h,s.c.length),a=zz(s.c[h],8),f=UCt((f1(h-1,s.c.length),zz(s.c[h-1],8)),a,(f1(h+1,s.c.length),zz(s.c[h+1],8)),(f1(h+2,s.c.length),zz(s.c[h+2],8))),isFinite(f.a)&&isFinite(f.b)?o.c[o.c.length]=f:o.c[o.c.length]=a;for(Wz(o,zz(PH(s,s.c.length-1),8)),c=o.c.length-1;c>=0;c--)Bq(n,(f1(c,o.c.length),zz(o.c[c],8)));return n}function KZt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d;if(o=!0,h=null,i=null,r=null,e=!1,d=xDe,u=null,a=null,(c=Xbt(t,s=0,DDe,ODe))<t.length&&(d1(c,t.length),58==t.charCodeAt(c))&&(h=t.substr(s,c-s),s=c+1),n=null!=h&&PA(kDe,h.toLowerCase())){if(-1==(c=t.lastIndexOf("!/")))throw qw(new jv("no archive separator"));o=!0,i=hP(t,s,++c),s=c}else s>=0&&yR(t.substr(s,"//".length),"//")?(c=Xbt(t,s+=2,LDe,NDe),i=t.substr(s,c-s),s=c):null==h||s!=t.length&&(d1(s,t.length),47==t.charCodeAt(s))||(o=!1,-1==(c=vN(t,QAt(35),s))&&(c=t.length),i=t.substr(s,c-s),s=c);if(!n&&s<t.length&&(d1(s,t.length),47==t.charCodeAt(s))&&(c=Xbt(t,s+1,LDe,NDe),(l=t.substr(s+1,c-(s+1))).length>0&&58==hK(l,l.length-1)&&(r=l,s=c)),s<t.length&&(d1(s,t.length),47==t.charCodeAt(s))&&(++s,e=!0),s<t.length&&(d1(s,t.length),63!=t.charCodeAt(s))&&(d1(s,t.length),35!=t.charCodeAt(s))){for(f=new Nw;s<t.length&&(d1(s,t.length),63!=t.charCodeAt(s))&&(d1(s,t.length),35!=t.charCodeAt(s));)c=Xbt(t,s,LDe,NDe),Wz(f,t.substr(s,c-s)),(s=c)<t.length&&(d1(s,t.length),47==t.charCodeAt(s))&&(Vlt(t,++s)||(f.c[f.c.length]=""));Vbt(f,d=P8(Vee,lKt,2,f.c.length,6,1))}return s<t.length&&(d1(s,t.length),63==t.charCodeAt(s))&&(-1==(c=fP(t,35,++s))&&(c=t.length),u=t.substr(s,c-s),s=c),s<t.length&&(a=tM(t,++s)),pUt(o,h,i,r,d,u),new aFt(o,h,i,r,e,d,u,a)}function XZt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I,M,D,O;for(M=new Nw,g=new Wd(e.b);g.a<g.c.c.length;)for(x=new Wd(zz(t0(g),29).a);x.a<x.c.c.length;){for((v=zz(t0(x),10)).p=-1,f=$Kt,A=$Kt,T=new Wd(v.j);T.a<T.c.c.length;){for(a=new Wd((E=zz(t0(T),11)).e);a.a<a.c.c.length;)i=zz(t0(a),17),C=zz(vEt(i,(HZt(),dwe)),19).a,f=n.Math.max(f,C);for(r=new Wd(E.g);r.a<r.c.c.length;)i=zz(t0(r),17),C=zz(vEt(i,(HZt(),dwe)),19).a,A=n.Math.max(A,C)}hct(v,Zye,rft(f)),hct(v,Wye,rft(A))}for(w=0,d=new Wd(e.b);d.a<d.c.c.length;)for(x=new Wd(zz(t0(d),29).a);x.a<x.c.c.length;)(v=zz(t0(x),10)).p<0&&((I=new ry).b=w++,_Ft(t,v,I),M.c[M.c.length]=I);for(_=uP(M.c.length),h=uP(M.c.length),s=0;s<M.c.length;s++)Wz(_,new Nw),Wz(h,rft(0));for(yGt(e,M,_,h),D=zz(Vbt(M,P8(Vye,D3t,257,M.c.length,0,1)),840),k=zz(Vbt(_,P8(Rte,eJt,15,_.c.length,0,1)),192),l=P8(DNe,hXt,25,h.c.length,15,1),c=0;c<l.length;c++)l[c]=(f1(c,h.c.length),zz(h.c[c],19)).a;for(m=0,y=new Nw,u=0;u<D.length;u++)0==l[u]&&Wz(y,D[u]);for(b=P8(DNe,hXt,25,D.length,15,1);0!=y.c.length;)for(b[(I=zz(u6(y,0),257)).b]=m++;!k[I.b].dc();)--l[(O=zz(k[I.b].$c(0),257)).b],0==l[O.b]&&(y.c[y.c.length]=O);for(t.a=P8(Vye,D3t,257,D.length,0,1),o=0;o<D.length;o++)for(p=D[o],S=b[o],t.a[S]=p,p.b=S,x=new Wd(p.e);x.a<x.c.c.length;)(v=zz(t0(x),10)).p=S;return t.a}function VZt(t){var e,n,i;if(t.d>=t.j)return t.a=-1,void(t.c=1);if(e=hK(t.i,t.d++),t.a=e,1!=t.b){switch(e){case 124:i=2;break;case 42:i=3;break;case 43:i=4;break;case 63:i=5;break;case 41:i=7;break;case 46:i=8;break;case 91:i=9;break;case 94:i=11;break;case 36:i=12;break;case 40:if(i=6,t.d>=t.j)break;if(63!=hK(t.i,t.d))break;if(++t.d>=t.j)throw qw(new ox(kWt((sO(),m8t))));switch(e=hK(t.i,t.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(t.d>=t.j)throw qw(new ox(kWt((sO(),m8t))));if(61==(e=hK(t.i,t.d++)))i=16;else{if(33!=e)throw qw(new ox(kWt((sO(),y8t))));i=17}break;case 35:for(;t.d<t.j&&41!=(e=hK(t.i,t.d++)););if(41!=e)throw qw(new ox(kWt((sO(),v8t))));i=21;break;default:if(45==e||97<=e&&e<=122||65<=e&&e<=90){--t.d,i=22;break}if(40==e){i=23;break}throw qw(new ox(kWt((sO(),m8t))))}break;case 92:if(i=10,t.d>=t.j)throw qw(new ox(kWt((sO(),w8t))));t.a=hK(t.i,t.d++);break;default:i=0}t.c=i}else{switch(e){case 92:if(i=10,t.d>=t.j)throw qw(new ox(kWt((sO(),w8t))));t.a=hK(t.i,t.d++);break;case 45:512==(512&t.e)&&t.d<t.j&&91==hK(t.i,t.d)?(++t.d,i=24):i=0;break;case 91:if(512!=(512&t.e)&&t.d<t.j&&58==hK(t.i,t.d)){++t.d,i=20;break}default:(64512&e)==HXt&&t.d<t.j&&56320==(64512&(n=hK(t.i,t.d)))&&(t.a=qXt+(e-HXt<<10)+n-56320,++t.d),i=0}t.c=i}}function QZt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C;if((k=zz(vEt(t,(HZt(),nwe)),98))!=(V_t(),XSe)&&k!=VSe){for(u=new Q6((dit((d=(g=t.b).c.length)+2,PKt),eet(adt(adt(5,d+2),(d+2)/10|0)))),p=new Q6((dit(d+2,PKt),eet(adt(adt(5,d+2),(d+2)/10|0)))),Wz(u,new Pw),Wz(u,new Pw),Wz(p,new Nw),Wz(p,new Nw),x=new Nw,e=0;e<d;e++)for(f1(e,g.c.length),n=zz(g.c[e],29),f1(e,u.c.length),_=zz(u.c[e],83),b=new Pw,u.c[u.c.length]=b,f1(e,p.c.length),E=zz(p.c[e],15),m=new Nw,p.c[p.c.length]=m,r=new Wd(n.a);r.a<r.c.c.length;)if(oft(i=zz(t0(r),10)))x.c[x.c.length]=i;else{for(c=new cG(JL(fdt(i).a.Kc(),new l));bDt(c);)oft(T=(o=zz(Y5(c),17)).c.i)&&((A=zz(_.xc(vEt(T,(hWt(),pfe))),10))||(A=uIt(t,T),_.zc(vEt(T,pfe),A),E.Fc(A)),TJ(o,zz(PH(A.j,1),11)));for(s=new cG(JL(ddt(i).a.Kc(),new l));bDt(s);)oft(C=(o=zz(Y5(s),17)).d.i)&&((w=zz(FZ(b,vEt(C,(hWt(),pfe))),10))||(w=uIt(t,C),KW(b,vEt(C,pfe),w),m.c[m.c.length]=w),EJ(o,zz(PH(w.j,0),11)))}for(h=0;h<p.c.length;h++)if(f1(h,p.c.length),!(y=zz(p.c[h],15)).dc())for(f=null,0==h?(f=new qZ(t),LJ(0,g.c.length),ET(g.c,0,f)):h==u.c.length-1?(f=new qZ(t),g.c[g.c.length]=f):(f1(h-1,g.c.length),f=zz(g.c[h-1],29)),a=y.Kc();a.Ob();)CJ(zz(a.Pb(),10),f);for(v=new Wd(x);v.a<v.c.c.length;)CJ(zz(t0(v),10),null);hct(t,(hWt(),Whe),x)}}function JZt(t,e,n){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k;if(DAt(n,"Coffman-Graham Layering",1),0!=e.a.c.length){for(k=zz(vEt(e,(HZt(),ybe)),19).a,c=0,o=0,d=new Wd(e.a);d.a<d.c.c.length;)for((f=zz(t0(d),10)).p=c++,a=new cG(JL(ddt(f).a.Kc(),new l));bDt(a);)(r=zz(Y5(a),17)).p=o++;for(t.d=P8(ONe,tQt,25,c,16,1),t.a=P8(ONe,tQt,25,o,16,1),t.b=P8(DNe,hXt,25,c,15,1),t.e=P8(DNe,hXt,25,c,15,1),t.f=P8(DNe,hXt,25,c,15,1),pit(t.c),a_t(t,e),p=new ZG(new Bp(t)),x=new Wd(e.a);x.a<x.c.c.length;){for(a=new cG(JL(fdt(y=zz(t0(x),10)).a.Kc(),new l));bDt(a);)r=zz(Y5(a),17),t.a[r.p]||++t.b[y.p];0==t.b[y.p]&&$8(iEt(p,y))}for(s=0;0!=p.b.c.length;)for(y=zz(ytt(p),10),t.f[y.p]=s++,a=new cG(JL(ddt(y).a.Kc(),new l));bDt(a);)r=zz(Y5(a),17),t.a[r.p]||(w=r.d.i,--t.b[w.p],JIt(t.c,w,rft(t.f[y.p])),0==t.b[w.p]&&$8(iEt(p,w)));for(g=new ZG(new Fp(t)),v=new Wd(e.a);v.a<v.c.c.length;){for(a=new cG(JL(ddt(y=zz(t0(v),10)).a.Kc(),new l));bDt(a);)r=zz(Y5(a),17),t.a[r.p]||++t.e[y.p];0==t.e[y.p]&&$8(iEt(g,y))}for(i=r1(e,h=new Nw);0!=g.b.c.length;)for(m=zz(ytt(g),10),(i.a.c.length>=k||!Ppt(m,i))&&(i=r1(e,h)),CJ(m,i),a=new cG(JL(fdt(m).a.Kc(),new l));bDt(a);)r=zz(Y5(a),17),t.a[r.p]||(b=r.c.i,--t.e[b.p],0==t.e[b.p]&&$8(iEt(g,b)));for(u=h.c.length-1;u>=0;--u)Wz(e.b,(f1(u,h.c.length),zz(h.c[u],29)));e.a.c=P8(Ote,HWt,1,0,5,1),HTt(n)}else HTt(n)}function tWt(t){var e,n,i,r,a,o,s,c;for(t.b=1,VZt(t),e=null,0==t.c&&94==t.a?(VZt(t),pWt(),pWt(),QPt(e=new E0(4),0,cte),o=new E0(4)):(pWt(),pWt(),o=new E0(4)),r=!0;1!=(c=t.c);){if(0==c&&93==t.a&&!r){e&&(KUt(e,o),o=e);break}if(n=t.a,i=!1,10==c)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:lqt(o,bjt(n)),i=!0;break;case 105:case 73:case 99:case 67:lqt(o,bjt(n)),(n=-1)<0&&(i=!0);break;case 112:case 80:if(!(s=FIt(t,n)))throw qw(new ox(kWt((sO(),D8t))));lqt(o,s),i=!0;break;default:n=UBt(t)}else if(24==c&&!r){if(e&&(KUt(e,o),o=e),KUt(o,tWt(t)),0!=t.c||93!=t.a)throw qw(new ox(kWt((sO(),P8t))));break}if(VZt(t),!i){if(0==c){if(91==n)throw qw(new ox(kWt((sO(),B8t))));if(93==n)throw qw(new ox(kWt((sO(),F8t))));if(45==n&&!r&&93!=t.a)throw qw(new ox(kWt((sO(),R8t))))}if(0!=t.c||45!=t.a||45==n&&r)QPt(o,n,n);else{if(VZt(t),1==(c=t.c))throw qw(new ox(kWt((sO(),L8t))));if(0==c&&93==t.a)QPt(o,n,n),QPt(o,45,45);else{if(0==c&&93==t.a||24==c)throw qw(new ox(kWt((sO(),R8t))));if(a=t.a,0==c){if(91==a)throw qw(new ox(kWt((sO(),B8t))));if(93==a)throw qw(new ox(kWt((sO(),F8t))));if(45==a)throw qw(new ox(kWt((sO(),R8t))))}else 10==c&&(a=UBt(t));if(VZt(t),n>a)throw qw(new ox(kWt((sO(),z8t))));QPt(o,n,a)}}}r=!1}if(1==t.c)throw qw(new ox(kWt((sO(),L8t))));return EOt(o),Uqt(o),t.b=0,VZt(t),o}function eWt(t){XOt(t.c,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#decimal"])),XOt(t.d,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#integer"])),XOt(t.e,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#boolean"])),XOt(t.f,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EBoolean",n8t,"EBoolean:Object"])),XOt(t.i,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#byte"])),XOt(t.g,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#hexBinary"])),XOt(t.j,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EByte",n8t,"EByte:Object"])),XOt(t.n,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EChar",n8t,"EChar:Object"])),XOt(t.t,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#double"])),XOt(t.u,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EDouble",n8t,"EDouble:Object"])),XOt(t.F,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#float"])),XOt(t.G,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EFloat",n8t,"EFloat:Object"])),XOt(t.I,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#int"])),XOt(t.J,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EInt",n8t,"EInt:Object"])),XOt(t.N,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#long"])),XOt(t.O,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"ELong",n8t,"ELong:Object"])),XOt(t.Z,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#short"])),XOt(t.$,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EShort",n8t,"EShort:Object"])),XOt(t._,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#string"]))}function nWt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S;if(1==t.c.length)return f1(0,t.c.length),zz(t.c[0],135);if(t.c.length<=0)return new C6;for(u=new Wd(t);u.a<u.c.c.length;){for(s=zz(t0(u),135),y=0,p=FWt,b=FWt,d=$Kt,g=$Kt,m=lwt(s.b,0);m.b!=m.d.c;)w=zz(d3(m),86),y+=zz(vEt(w,(IDt(),Oxe)),19).a,p=n.Math.min(p,w.e.a),b=n.Math.min(b,w.e.b),d=n.Math.max(d,w.e.a+w.f.a),g=n.Math.max(g,w.e.b+w.f.b);hct(s,(IDt(),Oxe),rft(y)),hct(s,(UHt(),txe),new PS(p,b)),hct(s,Jve,new PS(d,g))}for(TX(),yO(t,new wo),Uot(x=new C6,(f1(0,t.c.length),zz(t.c[0],94))),f=0,T=0,l=new Wd(t);l.a<l.c.c.length;)s=zz(t0(l),135),k=ZF(zO(zz(vEt(s,(UHt(),Jve)),8)),zz(vEt(s,txe),8)),f=n.Math.max(f,k.a),T+=k.a*k.b;for(f=n.Math.max(f,n.Math.sqrt(T)*Uv(EB(vEt(x,(IDt(),kxe))))),C=0,S=0,h=0,e=_=Uv(EB(vEt(x,Pxe))),c=new Wd(t);c.a<c.c.c.length;)s=zz(t0(c),135),C+(k=ZF(zO(zz(vEt(s,(UHt(),Jve)),8)),zz(vEt(s,txe),8))).a>f&&(C=0,S+=h+_,h=0),ALt(x,s,C,S),e=n.Math.max(e,C+k.a),h=n.Math.max(h,k.b),C+=k.a+_;for(v=new Pw,i=new Pw,E=new Wd(t);E.a<E.c.c.length;)for(r=Hv(AB(vEt(A=zz(t0(E),135),(lWt(),fTe)))),o=(A.q?A.q:hne).vc().Kc();o.Ob();)lY(v,(a=zz(o.Pb(),42)).cd())?UI(zz(a.cd(),146).wg())!==UI(a.dd())&&(r&&lY(i,a.cd())?(OA(),zz(a.cd(),146).tg()):(KW(v,zz(a.cd(),146),a.dd()),hct(x,zz(a.cd(),146),a.dd()),r&&KW(i,zz(a.cd(),146),a.dd()))):(KW(v,zz(a.cd(),146),a.dd()),hct(x,zz(a.cd(),146),a.dd()));return x}function iWt(){iWt=M,RZt(),JIt(wse=new wQ,(kYt(),pIe),gIe),JIt(wse,EIe,gIe),JIt(wse,bIe,gIe),JIt(wse,kIe,gIe),JIt(wse,xIe,gIe),JIt(wse,yIe,gIe),JIt(wse,kIe,pIe),JIt(wse,gIe,lIe),JIt(wse,pIe,lIe),JIt(wse,EIe,lIe),JIt(wse,bIe,lIe),JIt(wse,vIe,lIe),JIt(wse,kIe,lIe),JIt(wse,xIe,lIe),JIt(wse,yIe,lIe),JIt(wse,dIe,lIe),JIt(wse,gIe,_Ie),JIt(wse,pIe,_Ie),JIt(wse,lIe,_Ie),JIt(wse,EIe,_Ie),JIt(wse,bIe,_Ie),JIt(wse,vIe,_Ie),JIt(wse,kIe,_Ie),JIt(wse,dIe,_Ie),JIt(wse,AIe,_Ie),JIt(wse,xIe,_Ie),JIt(wse,wIe,_Ie),JIt(wse,yIe,_Ie),JIt(wse,pIe,EIe),JIt(wse,bIe,EIe),JIt(wse,kIe,EIe),JIt(wse,yIe,EIe),JIt(wse,pIe,bIe),JIt(wse,EIe,bIe),JIt(wse,kIe,bIe),JIt(wse,bIe,bIe),JIt(wse,xIe,bIe),JIt(wse,gIe,hIe),JIt(wse,pIe,hIe),JIt(wse,lIe,hIe),JIt(wse,_Ie,hIe),JIt(wse,EIe,hIe),JIt(wse,bIe,hIe),JIt(wse,vIe,hIe),JIt(wse,kIe,hIe),JIt(wse,AIe,hIe),JIt(wse,dIe,hIe),JIt(wse,yIe,hIe),JIt(wse,xIe,hIe),JIt(wse,mIe,hIe),JIt(wse,gIe,AIe),JIt(wse,pIe,AIe),JIt(wse,lIe,AIe),JIt(wse,EIe,AIe),JIt(wse,bIe,AIe),JIt(wse,vIe,AIe),JIt(wse,kIe,AIe),JIt(wse,dIe,AIe),JIt(wse,yIe,AIe),JIt(wse,wIe,AIe),JIt(wse,mIe,AIe),JIt(wse,pIe,dIe),JIt(wse,EIe,dIe),JIt(wse,bIe,dIe),JIt(wse,kIe,dIe),JIt(wse,AIe,dIe),JIt(wse,yIe,dIe),JIt(wse,xIe,dIe),JIt(wse,gIe,fIe),JIt(wse,pIe,fIe),JIt(wse,lIe,fIe),JIt(wse,EIe,fIe),JIt(wse,bIe,fIe),JIt(wse,vIe,fIe),JIt(wse,kIe,fIe),JIt(wse,dIe,fIe),JIt(wse,yIe,fIe),JIt(wse,pIe,xIe),JIt(wse,lIe,xIe),JIt(wse,_Ie,xIe),JIt(wse,bIe,xIe),JIt(wse,gIe,wIe),JIt(wse,pIe,wIe),JIt(wse,_Ie,wIe),JIt(wse,EIe,wIe),JIt(wse,bIe,wIe),JIt(wse,vIe,wIe),JIt(wse,kIe,wIe),JIt(wse,kIe,mIe),JIt(wse,bIe,mIe),JIt(wse,dIe,gIe),JIt(wse,dIe,EIe),JIt(wse,dIe,lIe),JIt(wse,vIe,gIe),JIt(wse,vIe,pIe),JIt(wse,vIe,_Ie)}function rWt(t,e){switch(t.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 GX(t.b,t.a,e,t.c);case 1:return new LL(t.a,e,Ogt(e.Tg(),t.c));case 43:return new PL(t.a,e,Ogt(e.Tg(),t.c));case 3:return new OL(t.a,e,Ogt(e.Tg(),t.c));case 45:return new NL(t.a,e,Ogt(e.Tg(),t.c));case 41:return new v7(zz(Mxt(t.c),26),t.a,e,Ogt(e.Tg(),t.c));case 50:return new xit(zz(Mxt(t.c),26),t.a,e,Ogt(e.Tg(),t.c));case 5:return new iR(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 47:return new rR(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 7:return new nY(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 49:return new nR(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 9:return new $L(t.a,e,Ogt(e.Tg(),t.c));case 11:return new jL(t.a,e,Ogt(e.Tg(),t.c));case 13:return new RL(t.a,e,Ogt(e.Tg(),t.c));case 15:return new Eq(t.a,e,Ogt(e.Tg(),t.c));case 17:return new zL(t.a,e,Ogt(e.Tg(),t.c));case 19:return new FL(t.a,e,Ogt(e.Tg(),t.c));case 21:return new BL(t.a,e,Ogt(e.Tg(),t.c));case 23:return new vq(t.a,e,Ogt(e.Tg(),t.c));case 25:return new hR(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 27:return new lR(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 29:return new cR(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 31:return new aR(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 33:return new uR(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 35:return new sR(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 37:return new oR(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 39:return new iY(t.a,e,Ogt(e.Tg(),t.c),t.d.n);case 40:return new Aat(e,Ogt(e.Tg(),t.c));default:throw qw(new pv("Unknown feature style: "+t.e))}}function aWt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;switch(DAt(n,"Brandes & Koepf node placement",1),t.a=e,t.c=z$t(e),i=zz(vEt(e,(HZt(),Nbe)),274),d=Hv(AB(vEt(e,Pbe))),t.d=i==(qkt(),Xle)&&!d||i==Zle,JHt(t,e),v=null,x=null,b=null,w=null,dit(4,OKt),p=new Q6(4),zz(vEt(e,Nbe),274).g){case 3:b=new URt(e,t.c.d,(cJ(),rve),(bQ(),tve)),p.c[p.c.length]=b;break;case 1:w=new URt(e,t.c.d,(cJ(),ave),(bQ(),tve)),p.c[p.c.length]=w;break;case 4:v=new URt(e,t.c.d,(cJ(),rve),(bQ(),eve)),p.c[p.c.length]=v;break;case 2:x=new URt(e,t.c.d,(cJ(),ave),(bQ(),eve)),p.c[p.c.length]=x;break;default:b=new URt(e,t.c.d,(cJ(),rve),(bQ(),tve)),w=new URt(e,t.c.d,ave,tve),v=new URt(e,t.c.d,rve,eve),x=new URt(e,t.c.d,ave,eve),p.c[p.c.length]=v,p.c[p.c.length]=x,p.c[p.c.length]=b,p.c[p.c.length]=w}for(r=new iS(e,t.c),s=new Wd(p);s.a<s.c.c.length;)SZt(r,a=zz(t0(s),180),t.b),Kzt(a);for(f=new Jvt(e,t.c),c=new Wd(p);c.a<c.c.c.length;)HGt(f,a=zz(t0(c),180));if(n.n)for(u=new Wd(p);u.a<u.c.c.length;)Mq(n,(a=zz(t0(u),180))+" size is "+yOt(a));if(h=null,t.d&&Mzt(e,l=zYt(t,p,t.c.d),n)&&(h=l),!h)for(u=new Wd(p);u.a<u.c.c.length;)Mzt(e,a=zz(t0(u),180),n)&&(!h||yOt(h)>yOt(a))&&(h=a);for(!h&&(f1(0,p.c.length),h=zz(p.c[0],180)),g=new Wd(e.b);g.a<g.c.c.length;)for(y=new Wd(zz(t0(g),29).a);y.a<y.c.c.length;)(m=zz(t0(y),10)).n.b=Uv(h.p[m.p])+Uv(h.d[m.p]);for(n.n&&(Mq(n,"Chosen node placement: "+h),Mq(n,"Blocks: "+BMt(h)),Mq(n,"Classes: "+ZDt(h,n)),Mq(n,"Marked edges: "+t.b)),o=new Wd(p);o.a<o.c.c.length;)(a=zz(t0(o),180)).g=null,a.b=null,a.a=null,a.d=null,a.j=null,a.i=null,a.p=null;Yrt(t.c),t.b.a.$b(),HTt(n)}function oWt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A;for(o=new VA,m=zz(vEt(n,(HZt(),Ype)),103),g=0,zrt(o,(!e.a&&(e.a=new nY(YMe,e,10,11)),e.a));0!=o.b;)u=zz(0==o.b?null:(CP(0!=o.b),Oet(o,o.a.a)),33),(UI(tOt(e,Lpe))!==UI((vct(),Nme))||UI(tOt(e,Upe))===UI((Xmt(),_le))||UI(tOt(e,Upe))===UI((Xmt(),xle))||Hv(AB(tOt(e,Ppe)))||UI(tOt(e,Spe))!==UI((qht(),gse)))&&!Hv(AB(tOt(u,Ope)))&&Qwt(u,(hWt(),gfe),rft(g++)),!Hv(AB(tOt(u,Ube)))&&(h=0!=(!u.a&&(u.a=new nY(YMe,u,10,11)),u.a).i,d=kAt(u),f=UI(tOt(u,ube))===UI((cht(),wSe)),b=null,(A=!C8(u,(lWt(),nTe))||yR(TB(tOt(u,nTe)),p1t))&&f&&(h||d)&&(hct(b=k$t(u),Ype,m),LP(b,bwe)&&Ev(new cgt(Uv(EB(vEt(b,bwe)))),b),0!=zz(tOt(u,$be),174).gc()&&(l=b,QA(new FH(null,(!u.c&&(u.c=new nY(ZMe,u,9,9)),new g1(u.c,16))),new Zg(l)),vBt(u,b))),y=n,(v=zz(FZ(t.a,QQ(u)),10))&&(y=v.e),p=pGt(t,u,y),b&&(p.e=b,b.e=p,zrt(o,(!u.a&&(u.a=new nY(YMe,u,10,11)),u.a))));for(g=0,r5(o,e,o.c.b,o.c);0!=o.b;){for(c=new DL((!(a=zz(0==o.b?null:(CP(0!=o.b),Oet(o,o.a.a)),33)).b&&(a.b=new nY(jMe,a,12,3)),a.b));c.e!=c.i.gc();)nRt(s=zz(kwt(c),79)),(UI(tOt(e,Lpe))!==UI((vct(),Nme))||UI(tOt(e,Upe))===UI((Xmt(),_le))||UI(tOt(e,Upe))===UI((Xmt(),xle))||Hv(AB(tOt(e,Ppe)))||UI(tOt(e,Spe))!==UI((qht(),gse)))&&Qwt(s,(hWt(),gfe),rft(g++)),k=SAt(zz(Ket((!s.b&&(s.b=new lR(RMe,s,4,7)),s.b),0),82)),_=SAt(zz(Ket((!s.c&&(s.c=new lR(RMe,s,5,8)),s.c),0),82)),Hv(AB(tOt(s,Ube)))||Hv(AB(tOt(k,Ube)))||Hv(AB(tOt(_,Ube)))||(w=a,VIt(s)&&Hv(AB(tOt(k,gbe)))&&Hv(AB(tOt(s,pbe)))||Iet(_,k)?w=k:Iet(k,_)&&(w=_),y=n,(v=zz(FZ(t.a,w),10))&&(y=v.e),hct(cWt(t,s,w,y),(hWt(),$he),NPt(t,s,e,n)));if(f=UI(tOt(a,ube))===UI((cht(),wSe)))for(r=new DL((!a.a&&(a.a=new nY(YMe,a,10,11)),a.a));r.e!=r.i.gc();)A=!C8(i=zz(kwt(r),33),(lWt(),nTe))||yR(TB(tOt(i,nTe)),p1t),x=UI(tOt(i,ube))===UI(wSe),A&&x&&r5(o,i,o.c.b,o.c)}}function sWt(t,e,n,i,r,a){var o,s,c,u,l,h,f;switch(e){case 71:o=i.q.getFullYear()-lXt>=-1900?1:0,cM(t,n>=4?Sst(Ux(Vee,1),lKt,2,6,[fXt,dXt])[o]:Sst(Ux(Vee,1),lKt,2,6,["BC","AD"])[o]);break;case 121:uwt(t,n,i);break;case 77:WRt(t,n,i);break;case 107:_tt(t,0==(s=r.q.getHours())?24:s,n);break;case 83:RLt(t,n,r);break;case 69:c=i.q.getDay(),cM(t,5==n?Sst(Ux(Vee,1),lKt,2,6,["S","M","T","W","T","F","S"])[c]:4==n?Sst(Ux(Vee,1),lKt,2,6,[gXt,pXt,bXt,wXt,mXt,yXt,vXt])[c]:Sst(Ux(Vee,1),lKt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[c]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?cM(t,Sst(Ux(Vee,1),lKt,2,6,["AM","PM"])[1]):cM(t,Sst(Ux(Vee,1),lKt,2,6,["AM","PM"])[0]);break;case 104:_tt(t,0==(u=r.q.getHours()%12)?12:u,n);break;case 75:_tt(t,r.q.getHours()%12,n);break;case 72:_tt(t,r.q.getHours(),n);break;case 99:l=i.q.getDay(),5==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,["S","M","T","W","T","F","S"])[l]):4==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,[gXt,pXt,bXt,wXt,mXt,yXt,vXt])[l]):3==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[l]):_tt(t,l,1);break;case 76:h=i.q.getMonth(),5==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[h]):4==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,[QKt,JKt,tXt,eXt,nXt,iXt,rXt,aXt,oXt,sXt,cXt,uXt])[h]):3==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,["Jan","Feb","Mar","Apr",nXt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[h]):_tt(t,h+1,n);break;case 81:f=i.q.getMonth()/3|0,cM(t,n<4?Sst(Ux(Vee,1),lKt,2,6,["Q1","Q2","Q3","Q4"])[f]:Sst(Ux(Vee,1),lKt,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[f]);break;case 100:_tt(t,i.q.getDate(),n);break;case 109:_tt(t,r.q.getMinutes(),n);break;case 115:_tt(t,r.q.getSeconds(),n);break;case 122:cM(t,n<4?a.c[0]:a.c[1]);break;case 118:cM(t,a.b);break;case 90:cM(t,n<3?eIt(a):3==n?pIt(a):bIt(a.a));break;default:return!1}return!0}function cWt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S;if(nRt(e),c=zz(Ket((!e.b&&(e.b=new lR(RMe,e,4,7)),e.b),0),82),l=zz(Ket((!e.c&&(e.c=new lR(RMe,e,5,8)),e.c),0),82),s=SAt(c),u=SAt(l),o=0==(!e.a&&(e.a=new nY($Me,e,6,6)),e.a).i?null:zz(Ket((!e.a&&(e.a=new nY($Me,e,6,6)),e.a),0),202),k=zz(FZ(t.a,s),10),T=zz(FZ(t.a,u),10),_=null,C=null,aL(c,186)&&(aL(x=zz(FZ(t.a,c),299),11)?_=zz(x,11):aL(x,10)&&(k=zz(x,10),_=zz(PH(k.j,0),11))),aL(l,186)&&(aL(E=zz(FZ(t.a,l),299),11)?C=zz(E,11):aL(E,10)&&(T=zz(E,10),C=zz(PH(T.j,0),11))),!k||!T)throw qw(new ax("The source or the target of edge "+e+" 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."));for(Uot(p=new gV,e),hct(p,(hWt(),pfe),e),hct(p,(HZt(),mbe),null),d=zz(vEt(i,Jhe),21),k==T&&d.Fc((gBt(),mhe)),_||(sit(),v=Hme,A=null,o&&mD(zz(vEt(k,nwe),98))&&(V3(A=new PS(o.j,o.k),ZQ(e)),e5(A,n),Iet(u,s)&&(v=qme,YF(A,k.n))),_=bqt(k,A,v,i)),C||(sit(),v=qme,S=null,o&&mD(zz(vEt(T,nwe),98))&&(V3(S=new PS(o.b,o.c),ZQ(e)),e5(S,n)),C=bqt(T,S,v,mW(T))),TJ(p,_),EJ(p,C),(_.e.c.length>1||_.g.c.length>1||C.e.c.length>1||C.g.c.length>1)&&d.Fc((gBt(),dhe)),f=new DL((!e.n&&(e.n=new nY(GMe,e,1,7)),e.n));f.e!=f.i.gc();)if(!Hv(AB(tOt(h=zz(kwt(f),137),Ube)))&&h.a)switch(b=Hlt(h),Wz(p.b,b),zz(vEt(b,Vpe),272).g){case 1:case 2:d.Fc((gBt(),hhe));break;case 0:d.Fc((gBt(),uhe)),hct(b,Vpe,(Ret(),GCe))}if(a=zz(vEt(i,Hpe),314),w=zz(vEt(i,jbe),315),r=a==(Dit(),ule)||w==(Pmt(),wme),o&&0!=(!o.a&&(o.a=new OL(PMe,o,5)),o.a).i&&r){for(m=UTt(o),g=new xy,y=lwt(m,0);y.b!=y.d.c;)Bq(g,new gD(zz(d3(y),8)));hct(p,bfe,g)}return p}function uWt(t){t.gb||(t.gb=!0,t.b=kot(t,0),Rrt(t.b,18),jrt(t.b,19),t.a=kot(t,1),Rrt(t.a,1),jrt(t.a,2),jrt(t.a,3),jrt(t.a,4),jrt(t.a,5),t.o=kot(t,2),Rrt(t.o,8),Rrt(t.o,9),jrt(t.o,10),jrt(t.o,11),jrt(t.o,12),jrt(t.o,13),jrt(t.o,14),jrt(t.o,15),jrt(t.o,16),jrt(t.o,17),jrt(t.o,18),jrt(t.o,19),jrt(t.o,20),jrt(t.o,21),jrt(t.o,22),jrt(t.o,23),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),t.p=kot(t,3),Rrt(t.p,2),Rrt(t.p,3),Rrt(t.p,4),Rrt(t.p,5),jrt(t.p,6),jrt(t.p,7),cet(t.p),cet(t.p),t.q=kot(t,4),Rrt(t.q,8),t.v=kot(t,5),jrt(t.v,9),cet(t.v),cet(t.v),cet(t.v),t.w=kot(t,6),Rrt(t.w,2),Rrt(t.w,3),Rrt(t.w,4),jrt(t.w,5),t.B=kot(t,7),jrt(t.B,1),cet(t.B),cet(t.B),cet(t.B),t.Q=kot(t,8),jrt(t.Q,0),cet(t.Q),t.R=kot(t,9),Rrt(t.R,1),t.S=kot(t,10),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),t.T=kot(t,11),jrt(t.T,10),jrt(t.T,11),jrt(t.T,12),jrt(t.T,13),jrt(t.T,14),cet(t.T),cet(t.T),t.U=kot(t,12),Rrt(t.U,2),Rrt(t.U,3),jrt(t.U,4),jrt(t.U,5),jrt(t.U,6),jrt(t.U,7),cet(t.U),t.V=kot(t,13),jrt(t.V,10),t.W=kot(t,14),Rrt(t.W,18),Rrt(t.W,19),Rrt(t.W,20),jrt(t.W,21),jrt(t.W,22),jrt(t.W,23),t.bb=kot(t,15),Rrt(t.bb,10),Rrt(t.bb,11),Rrt(t.bb,12),Rrt(t.bb,13),Rrt(t.bb,14),Rrt(t.bb,15),Rrt(t.bb,16),jrt(t.bb,17),cet(t.bb),cet(t.bb),t.eb=kot(t,16),Rrt(t.eb,2),Rrt(t.eb,3),Rrt(t.eb,4),Rrt(t.eb,5),Rrt(t.eb,6),Rrt(t.eb,7),jrt(t.eb,8),jrt(t.eb,9),t.ab=kot(t,17),Rrt(t.ab,0),Rrt(t.ab,1),t.H=kot(t,18),jrt(t.H,0),jrt(t.H,1),jrt(t.H,2),jrt(t.H,3),jrt(t.H,4),jrt(t.H,5),cet(t.H),t.db=kot(t,19),jrt(t.db,2),t.c=_ot(t,20),t.d=_ot(t,21),t.e=_ot(t,22),t.f=_ot(t,23),t.i=_ot(t,24),t.g=_ot(t,25),t.j=_ot(t,26),t.k=_ot(t,27),t.n=_ot(t,28),t.r=_ot(t,29),t.s=_ot(t,30),t.t=_ot(t,31),t.u=_ot(t,32),t.fb=_ot(t,33),t.A=_ot(t,34),t.C=_ot(t,35),t.D=_ot(t,36),t.F=_ot(t,37),t.G=_ot(t,38),t.I=_ot(t,39),t.J=_ot(t,40),t.L=_ot(t,41),t.M=_ot(t,42),t.N=_ot(t,43),t.O=_ot(t,44),t.P=_ot(t,45),t.X=_ot(t,46),t.Y=_ot(t,47),t.Z=_ot(t,48),t.$=_ot(t,49),t._=_ot(t,50),t.cb=_ot(t,51),t.K=_ot(t,52))}function lWt(){var t,e;lWt=M,nTe=new sw(p5t),yCe=new sw(b5t),pmt(),iTe=new OM(K2t,rTe=SEe),new Ow,aTe=new OM(XQt,null),oTe=new sw(w5t),p_t(),hTe=_U(JEe,Sst(Ux(HCe,1),LKt,291,0,[KEe])),lTe=new OM(c3t,hTe),fTe=new OM(W2t,(lN(),!1)),zht(),dTe=new OM(J2t,gTe=zCe),Tdt(),mTe=new OM(x2t,yTe=JCe),kTe=new OM(O4t,!1),cht(),_Te=new OM(b2t,ATe=mSe),WTe=new WD(12),ZTe=new OM(VQt,WTe),STe=new OM(_Jt,!1),ITe=new OM(v3t,!1),YTe=new OM(TJt,!1),V_t(),sCe=new OM(AJt,cCe=VSe),bCe=new sw(w3t),wCe=new sw(mJt),mCe=new sw(xJt),xCe=new sw(kJt),DTe=new xy,MTe=new OM(u3t,DTe),uTe=new OM(f3t,!1),ETe=new OM(d3t,!1),new sw(m5t),LTe=new fy,OTe=new OM(m3t,LTe),GTe=new OM(Y2t,!1),new Ow,vCe=new OM(y5t,1),new OM(v5t,!0),rft(0),new OM(x5t,rft(100)),new OM(k5t,!1),rft(0),new OM(_5t,rft(4e3)),rft(0),new OM(A5t,rft(400)),new OM(E5t,!1),new OM(T5t,!1),new OM(C5t,!0),new OM(S5t,!1),zgt(),sTe=new OM(g5t,cTe=nMe),kCe=new OM(N2t,10),_Ce=new OM(P2t,10),ACe=new OM(WQt,20),ECe=new OM(B2t,10),TCe=new OM(vJt,2),CCe=new OM(F2t,10),ICe=new OM(R2t,0),MCe=new OM(z2t,5),DCe=new OM(j2t,1),OCe=new OM($2t,1),LCe=new OM(yJt,20),NCe=new OM(q2t,10),FCe=new OM(H2t,10),SCe=new sw(U2t),BCe=new fD,PCe=new OM(y3t,BCe),VTe=new sw(b3t),KTe=new OM(p3t,XTe=!1),PTe=new WD(5),NTe=new OM(t3t,PTe),eOt(),e=zz(Kk(USe),9),FTe=new VR(e,zz(TF(e,e.length),9),0),BTe=new OM(IJt,FTe),owt(),JTe=new OM(i3t,tCe=zSe),nCe=new sw(r3t),iCe=new sw(a3t),rCe=new sw(o3t),eCe=new sw(s3t),t=zz(Kk(VIe),9),jTe=new VR(t,zz(TF(t,t.length),9),0),RTe=new OM(SJt,jTe),UTe=edt((ejt(),UIe)),HTe=new OM(CJt,UTe),qTe=new PS(0,0),zTe=new OM(qJt,qTe),$Te=new OM(Q2t,!1),Ret(),bTe=new OM(l3t,wTe=GCe),pTe=new OM(EJt,!1),new sw(I5t),rft(1),new OM(M5t,null),aCe=new sw(g3t),uCe=new sw(h3t),kYt(),gCe=new OM(Z2t,pCe=CIe),oCe=new sw(G2t),dIt(),fCe=edt(rIe),hCe=new OM(MJt,fCe),lCe=new OM(e3t,!1),dCe=new OM(n3t,!0),TTe=new OM(X2t,!1),CTe=new OM(V2t,!1),vTe=new OM(KQt,1),eEt(),new OM(D5t,xTe=oSe),QTe=!0}function hWt(){var t,e;hWt=M,pfe=new sw(DJt),$he=new sw("coordinateOrigin"),Efe=new sw("processors"),jhe=new iF("compoundNode",(lN(),!1)),nfe=new iF("insideConnections",!1),bfe=new sw("originalBendpoints"),wfe=new sw("originalDummyNodePosition"),mfe=new sw("originalLabelEdge"),Cfe=new sw("representedLabels"),Ghe=new sw("endLabels"),Yhe=new sw("endLabel.origin"),sfe=new iF("labelSide",(Wvt(),ESe)),dfe=new iF("maxEdgeThickness",0),Sfe=new iF("reversed",!1),Tfe=new sw(OJt),lfe=new iF("longEdgeSource",null),hfe=new iF("longEdgeTarget",null),ufe=new iF("longEdgeHasLabelDummies",!1),cfe=new iF("longEdgeBeforeLabelDummy",!1),Uhe=new iF("edgeConstraint",(Jst(),Dle)),rfe=new sw("inLayerLayoutUnit"),ife=new iF("inLayerConstraint",(G9(),Che)),afe=new iF("inLayerSuccessorConstraint",new Nw),ofe=new iF("inLayerSuccessorConstraintBetweenNonDummies",!1),_fe=new sw("portDummy"),zhe=new iF("crossingHint",rft(0)),Jhe=new iF("graphProperties",new VR(e=zz(Kk(Ahe),9),zz(TF(e,e.length),9),0)),Xhe=new iF("externalPortSide",(kYt(),CIe)),Vhe=new iF("externalPortSize",new Uk),Whe=new sw("externalPortReplacedDummies"),Khe=new sw("externalPortReplacedDummy"),Zhe=new iF("externalPortConnections",new VR(t=zz(Kk($Ie),9),zz(TF(t,t.length),9),0)),Afe=new iF(bQt,0),Phe=new sw("barycenterAssociates"),Rfe=new sw("TopSideComments"),Bhe=new sw("BottomSideComments"),Rhe=new sw("CommentConnectionPort"),efe=new iF("inputCollect",!1),xfe=new iF("outputCollect",!1),Hhe=new iF("cyclic",!1),qhe=new sw("crossHierarchyMap"),Ffe=new sw("targetOffset"),new iF("splineLabelSize",new Uk),Dfe=new sw("spacings"),kfe=new iF("partitionConstraint",!1),Fhe=new sw("breakingPoint.info"),Pfe=new sw("splines.survivingEdge"),Nfe=new sw("splines.route.start"),Ofe=new sw("splines.edgeChain"),vfe=new sw("originalPortConstraints"),Mfe=new sw("selfLoopHolder"),Lfe=new sw("splines.nsPortY"),gfe=new sw("modelOrder"),ffe=new sw("longEdgeTargetNode"),Qhe=new iF(Y1t,!1),Ife=new iF(Y1t,!1),tfe=new sw("layerConstraints.hiddenNodes"),yfe=new sw("layerConstraints.opposidePort"),Bfe=new sw("targetNode.modelOrder")}function fWt(){fWt=M,jtt(),Tde=new OM(Z1t,Cde=Tle),Ude=new OM(W1t,(lN(),!1)),G2(),Kde=new OM(K1t,Xde=Dhe),gge=new OM(X1t,!1),pge=new OM(V1t,!0),Yfe=new OM(Q1t,!1),Y9(),Nge=new OM(J1t,Pge=Rme),rft(1),Hge=new OM(t0t,rft(7)),Uge=new OM(e0t,!1),Gde=new OM(n0t,!1),Xmt(),Ade=new OM(i0t,Ede=vle),EAt(),fge=new OM(r0t,dge=eme),Edt(),nge=new OM(a0t,ige=Hfe),rft(-1),ege=new OM(o0t,rft(-1)),rft(-1),rge=new OM(s0t,rft(-1)),rft(-1),age=new OM(c0t,rft(4)),rft(-1),sge=new OM(u0t,rft(2)),lNt(),lge=new OM(l0t,hge=Ime),rft(0),uge=new OM(h0t,rft(0)),Jde=new OM(f0t,rft(FWt)),Dit(),kde=new OM(d0t,_de=lle),sde=new OM(g0t,!1),bde=new OM(p0t,.1),vde=new OM(b0t,!1),rft(-1),mde=new OM(w0t,rft(-1)),rft(-1),yde=new OM(m0t,rft(-1)),rft(0),cde=new OM(y0t,rft(40)),jot(),dde=new OM(v0t,gde=_he),ude=new OM(x0t,lde=xhe),Pmt(),Oge=new OM(k0t,Lge=bme),kge=new sw(_0t),b9(),bge=new OM(A0t,wge=Hle),qkt(),yge=new OM(E0t,vge=Xle),new Ow,Ege=new OM(T0t,.3),Cge=new sw(C0t),gmt(),Sge=new OM(S0t,Ige=fme),Hat(),Nde=new OM(I0t,Pde=Wme),D6(),Bde=new OM(M0t,Fde=Jme),Zut(),Rde=new OM(D0t,jde=rye),zde=new OM(O0t,.2),Ode=new OM(L0t,2),jge=new OM(N0t,null),zge=new OM(P0t,10),$ge=new OM(B0t,10),qge=new OM(F0t,20),rft(0),Bge=new OM(R0t,rft(0)),rft(0),Fge=new OM(j0t,rft(0)),rft(0),Rge=new OM($0t,rft(0)),Zfe=new OM(z0t,!1),JEt(),Xfe=new OM(q0t,Vfe=ahe),K8(),Wfe=new OM(H0t,Kfe=ole),Zde=new OM(U0t,!1),rft(0),Yde=new OM(G0t,rft(16)),rft(0),Wde=new OM(Y0t,rft(5)),Lst(),fpe=new OM(Z0t,dpe=dye),Gge=new OM(W0t,10),Wge=new OM(K0t,1),cit(),npe=new OM(X0t,ipe=ble),Vge=new sw(V0t),tpe=rft(1),rft(0),Jge=new OM(Q0t,tpe),bat(),wpe=new OM(J0t,mpe=sye),gpe=new sw(t2t),cpe=new OM(e2t,!0),ope=new OM(n2t,2),lpe=new OM(i2t,!0),wTt(),Mde=new OM(r2t,Dde=jle),LCt(),Sde=new OM(a2t,Ide=Jue),vct(),ade=new OM(o2t,ode=Nme),rde=new OM(s2t,!1),qht(),Qfe=new OM(c2t,Jfe=gse),Tlt(),nde=new OM(u2t,ide=ame),tde=new OM(l2t,0),ede=new OM(h2t,0),Qde=kle,Vde=ule,oge=tme,cge=tme,tge=Vwe,cht(),wde=wSe,xde=lle,pde=lle,hde=lle,fde=wSe,_ge=yme,Age=bme,mge=bme,xge=bme,Tge=mme,Dge=yme,Mge=yme,Tdt(),$de=QCe,qde=QCe,Hde=rye,Lde=VCe,Yge=gye,Zge=fye,Kge=gye,Xge=fye,rpe=gye,ape=fye,Qge=ple,epe=ble,ype=gye,vpe=fye,ppe=gye,bpe=fye,upe=fye,spe=fye,hpe=fye}function dWt(){dWt=M,rce=new tC("DIRECTION_PREPROCESSOR",0),ece=new tC("COMMENT_PREPROCESSOR",1),ace=new tC("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),xce=new tC("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),$ce=new tC("PARTITION_PREPROCESSOR",4),Ece=new tC("LABEL_DUMMY_INSERTER",5),Yce=new tC("SELF_LOOP_PREPROCESSOR",6),Mce=new tC("LAYER_CONSTRAINT_PREPROCESSOR",7),Rce=new tC("PARTITION_MIDPROCESSOR",8),bce=new tC("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),Nce=new tC("NODE_PROMOTION",10),Ice=new tC("LAYER_CONSTRAINT_POSTPROCESSOR",11),jce=new tC("PARTITION_POSTPROCESSOR",12),fce=new tC("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),Wce=new tC("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Kse=new tC("BREAKING_POINT_INSERTER",15),Lce=new tC("LONG_EDGE_SPLITTER",16),qce=new tC("PORT_SIDE_PROCESSOR",17),kce=new tC("INVERTED_PORT_PROCESSOR",18),zce=new tC("PORT_LIST_SORTER",19),Xce=new tC("SORT_BY_INPUT_ORDER_OF_MODEL",20),Bce=new tC("NORTH_SOUTH_PORT_PREPROCESSOR",21),Xse=new tC("BREAKING_POINT_PROCESSOR",22),Fce=new tC(A1t,23),Vce=new tC(E1t,24),Uce=new tC("SELF_LOOP_PORT_RESTORER",25),Kce=new tC("SINGLE_EDGE_GRAPH_WRAPPER",26),_ce=new tC("IN_LAYER_CONSTRAINT_PROCESSOR",27),uce=new tC("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),Ace=new tC("LABEL_AND_NODE_SIZE_PROCESSOR",29),vce=new tC("INNERMOST_NODE_MARGIN_CALCULATOR",30),Zce=new tC("SELF_LOOP_ROUTER",31),Jse=new tC("COMMENT_NODE_MARGIN_CALCULATOR",32),sce=new tC("END_LABEL_PREPROCESSOR",33),Cce=new tC("LABEL_DUMMY_SWITCHER",34),Qse=new tC("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),Sce=new tC("LABEL_SIDE_SELECTOR",36),mce=new tC("HYPEREDGE_DUMMY_MERGER",37),dce=new tC("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),Dce=new tC("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),pce=new tC("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),nce=new tC("CONSTRAINTS_POSTPROCESSOR",41),tce=new tC("COMMENT_POSTPROCESSOR",42),yce=new tC("HYPERNODE_PROCESSOR",43),gce=new tC("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),Oce=new tC("LONG_EDGE_JOINER",45),Gce=new tC("SELF_LOOP_POSTPROCESSOR",46),Vse=new tC("BREAKING_POINT_REMOVER",47),Pce=new tC("NORTH_SOUTH_PORT_POSTPROCESSOR",48),wce=new tC("HORIZONTAL_COMPACTOR",49),Tce=new tC("LABEL_DUMMY_REMOVER",50),lce=new tC("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),cce=new tC("END_LABEL_SORTER",52),Hce=new tC("REVERSED_EDGE_RESTORER",53),oce=new tC("END_LABEL_POSTPROCESSOR",54),hce=new tC("HIERARCHICAL_NODE_RESIZER",55),ice=new tC("DIRECTION_POSTPROCESSOR",56)}function gWt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I,M,D,O,L,N,P,B,F,R,j,$,z,q,H,U,G,Y,Z,W,K,X,V,Q,J,tt,et,nt,it,rt,at,ot,st;for(Q=0,L=0,B=(M=e).length;L<B;++L)for(U=new Wd((S=M[L]).j);U.a<U.c.c.length;){for(Y=0,c=new Wd((H=zz(t0(U),11)).g);c.a<c.c.c.length;)s=zz(t0(c),17),S.c!=s.d.i.c&&++Y;Y>0&&(t.a[H.p]=Q++)}for(it=0,N=0,F=(D=i).length;N<F;++N){for(R=0,U=new Wd((S=D[N]).j);U.a<U.c.c.length&&(H=zz(t0(U),11)).j==(kYt(),uIe);)for(c=new Wd(H.e);c.a<c.c.c.length;)if(s=zz(t0(c),17),S.c!=s.c.i.c){++R;break}for($=0,Z=new E2(S.j,S.j.c.length);Z.b>0;){for(CP(Z.b>0),Y=0,c=new Wd((H=zz(Z.a.Xb(Z.c=--Z.b),11)).e);c.a<c.c.c.length;)s=zz(t0(c),17),S.c!=s.c.i.c&&++Y;Y>0&&(H.j==(kYt(),uIe)?(t.a[H.p]=it,++it):(t.a[H.p]=it+R+$,++$))}it+=$}for(G=new Pw,p=new hD,O=0,P=(I=e).length;O<P;++O)for(et=new Wd((S=I[O]).j);et.a<et.c.c.length;)for(c=new Wd((tt=zz(t0(et),11)).g);c.a<c.c.c.length;)if(at=(s=zz(t0(c),17)).d,S.c!=at.i.c)if(J=zz(HI(DV(G.f,tt)),467),rt=zz(HI(DV(G.f,at)),467),J||rt)if(J)if(rt)if(J==rt)Wz(J.a,s);else{for(Wz(J.a,s),q=new Wd(rt.d);q.a<q.c.c.length;)z=zz(t0(q),11),_St(G.f,z,J);wst(J.a,rt.a),wst(J.d,rt.d),p.a.Bc(rt)}else Wz(J.a,s),Wz(J.d,at),_St(G.f,at,J);else Wz(rt.a,s),Wz(rt.d,tt),_St(G.f,tt,rt);else g=new BF,p.a.zc(g,p),Wz(g.a,s),Wz(g.d,tt),_St(G.f,tt,g),Wz(g.d,at),_St(G.f,at,g);for(b=zz(Ayt(p,P8($ye,{3:1,4:1,5:1,1946:1},467,p.a.gc(),0,1)),1946),C=e[0].c,V=i[0].c,f=0,d=(h=b).length;f<d;++f)for((l=h[f]).e=Q,l.f=it,U=new Wd(l.d);U.a<U.c.c.length;)H=zz(t0(U),11),W=t.a[H.p],H.i.c==C?(W<l.e&&(l.e=W),W>l.b&&(l.b=W)):H.i.c==V&&(W<l.f&&(l.f=W),W>l.c&&(l.c=W));for(G7(b,0,b.length,null),nt=P8(DNe,hXt,25,b.length,15,1),r=P8(DNe,hXt,25,it+1,15,1),m=0;m<b.length;m++)nt[m]=b[m].f,r[nt[m]]=1;for(o=0,y=0;y<r.length;y++)1==r[y]?r[y]=o:--o;for(K=0,v=0;v<nt.length;v++)nt[v]+=r[nt[v]],K=n.Math.max(K,nt[v]+1);for(u=1;u<K;)u*=2;for(st=2*u-1,u-=1,ot=P8(DNe,hXt,25,st,15,1),a=0,E=0;E<nt.length;E++)for(++ot[A=nt[E]+u];A>0;)A%2>0&&(a+=ot[A+1]),++ot[A=(A-1)/2|0];for(T=P8(Hye,HWt,362,2*b.length,0,1),x=0;x<b.length;x++)T[2*x]=new HK(b[x],b[x].e,b[x].b,(X4(),qye)),T[2*x+1]=new HK(b[x],b[x].b,b[x].e,zye);for(G7(T,0,T.length,null),j=0,k=0;k<T.length;k++)switch(T[k].d.g){case 0:++j;break;case 1:a+=--j}for(X=P8(Hye,HWt,362,2*b.length,0,1),_=0;_<b.length;_++)X[2*_]=new HK(b[_],b[_].f,b[_].c,(X4(),qye)),X[2*_+1]=new HK(b[_],b[_].c,b[_].f,zye);for(G7(X,0,X.length,null),j=0,w=0;w<X.length;w++)switch(X[w].d.g){case 0:++j;break;case 1:a+=--j}return a}function pWt(){pWt=M,uNe=new Dw(7),lNe=new cU(8,94),new cU(8,64),hNe=new cU(8,36),wNe=new cU(8,65),mNe=new cU(8,122),yNe=new cU(8,90),kNe=new cU(8,98),pNe=new cU(8,66),vNe=new cU(8,60),_Ne=new cU(8,62),cNe=new Dw(11),QPt(sNe=new E0(4),48,57),QPt(xNe=new E0(4),48,57),QPt(xNe,65,90),QPt(xNe,95,95),QPt(xNe,97,122),QPt(bNe=new E0(4),9,9),QPt(bNe,10,10),QPt(bNe,12,12),QPt(bNe,13,13),QPt(bNe,32,32),fNe=L$t(sNe),gNe=L$t(xNe),dNe=L$t(bNe),iNe=new Pw,rNe=new Pw,aNe=Sst(Ux(Vee,1),lKt,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"]),nNe=Sst(Ux(Vee,1),lKt,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",wte,"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"]),oNe=Sst(Ux(DNe,1),hXt,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function bWt(){bWt=M,Cre=new uat("OUT_T_L",0,(Q7(),Vie),(U9(),ire),(Fet(),Uie),Uie,Sst(Ux(Fte,1),HWt,21,0,[_U((eOt(),LSe),Sst(Ux(USe,1),LKt,93,0,[BSe,ISe]))])),Tre=new uat("OUT_T_C",1,Xie,ire,Uie,Gie,Sst(Ux(Fte,1),HWt,21,0,[_U(LSe,Sst(Ux(USe,1),LKt,93,0,[BSe,SSe])),_U(LSe,Sst(Ux(USe,1),LKt,93,0,[BSe,SSe,MSe]))])),Sre=new uat("OUT_T_R",2,Qie,ire,Uie,Yie,Sst(Ux(Fte,1),HWt,21,0,[_U(LSe,Sst(Ux(USe,1),LKt,93,0,[BSe,DSe]))])),mre=new uat("OUT_B_L",3,Vie,are,Yie,Uie,Sst(Ux(Fte,1),HWt,21,0,[_U(LSe,Sst(Ux(USe,1),LKt,93,0,[NSe,ISe]))])),wre=new uat("OUT_B_C",4,Xie,are,Yie,Gie,Sst(Ux(Fte,1),HWt,21,0,[_U(LSe,Sst(Ux(USe,1),LKt,93,0,[NSe,SSe])),_U(LSe,Sst(Ux(USe,1),LKt,93,0,[NSe,SSe,MSe]))])),yre=new uat("OUT_B_R",5,Qie,are,Yie,Yie,Sst(Ux(Fte,1),HWt,21,0,[_U(LSe,Sst(Ux(USe,1),LKt,93,0,[NSe,DSe]))])),kre=new uat("OUT_L_T",6,Qie,are,Uie,Uie,Sst(Ux(Fte,1),HWt,21,0,[_U(LSe,Sst(Ux(USe,1),LKt,93,0,[ISe,BSe,MSe]))])),xre=new uat("OUT_L_C",7,Qie,rre,Gie,Uie,Sst(Ux(Fte,1),HWt,21,0,[_U(LSe,Sst(Ux(USe,1),LKt,93,0,[ISe,PSe])),_U(LSe,Sst(Ux(USe,1),LKt,93,0,[ISe,PSe,MSe]))])),vre=new uat("OUT_L_B",8,Qie,ire,Yie,Uie,Sst(Ux(Fte,1),HWt,21,0,[_U(LSe,Sst(Ux(USe,1),LKt,93,0,[ISe,NSe,MSe]))])),Ere=new uat("OUT_R_T",9,Vie,are,Uie,Yie,Sst(Ux(Fte,1),HWt,21,0,[_U(LSe,Sst(Ux(USe,1),LKt,93,0,[DSe,BSe,MSe]))])),Are=new uat("OUT_R_C",10,Vie,rre,Gie,Yie,Sst(Ux(Fte,1),HWt,21,0,[_U(LSe,Sst(Ux(USe,1),LKt,93,0,[DSe,PSe])),_U(LSe,Sst(Ux(USe,1),LKt,93,0,[DSe,PSe,MSe]))])),_re=new uat("OUT_R_B",11,Vie,ire,Yie,Yie,Sst(Ux(Fte,1),HWt,21,0,[_U(LSe,Sst(Ux(USe,1),LKt,93,0,[DSe,NSe,MSe]))])),pre=new uat("IN_T_L",12,Vie,are,Uie,Uie,Sst(Ux(Fte,1),HWt,21,0,[_U(OSe,Sst(Ux(USe,1),LKt,93,0,[BSe,ISe])),_U(OSe,Sst(Ux(USe,1),LKt,93,0,[BSe,ISe,MSe]))])),gre=new uat("IN_T_C",13,Xie,are,Uie,Gie,Sst(Ux(Fte,1),HWt,21,0,[_U(OSe,Sst(Ux(USe,1),LKt,93,0,[BSe,SSe])),_U(OSe,Sst(Ux(USe,1),LKt,93,0,[BSe,SSe,MSe]))])),bre=new uat("IN_T_R",14,Qie,are,Uie,Yie,Sst(Ux(Fte,1),HWt,21,0,[_U(OSe,Sst(Ux(USe,1),LKt,93,0,[BSe,DSe])),_U(OSe,Sst(Ux(USe,1),LKt,93,0,[BSe,DSe,MSe]))])),fre=new uat("IN_C_L",15,Vie,rre,Gie,Uie,Sst(Ux(Fte,1),HWt,21,0,[_U(OSe,Sst(Ux(USe,1),LKt,93,0,[PSe,ISe])),_U(OSe,Sst(Ux(USe,1),LKt,93,0,[PSe,ISe,MSe]))])),hre=new uat("IN_C_C",16,Xie,rre,Gie,Gie,Sst(Ux(Fte,1),HWt,21,0,[_U(OSe,Sst(Ux(USe,1),LKt,93,0,[PSe,SSe])),_U(OSe,Sst(Ux(USe,1),LKt,93,0,[PSe,SSe,MSe]))])),dre=new uat("IN_C_R",17,Qie,rre,Gie,Yie,Sst(Ux(Fte,1),HWt,21,0,[_U(OSe,Sst(Ux(USe,1),LKt,93,0,[PSe,DSe])),_U(OSe,Sst(Ux(USe,1),LKt,93,0,[PSe,DSe,MSe]))])),ure=new uat("IN_B_L",18,Vie,ire,Yie,Uie,Sst(Ux(Fte,1),HWt,21,0,[_U(OSe,Sst(Ux(USe,1),LKt,93,0,[NSe,ISe])),_U(OSe,Sst(Ux(USe,1),LKt,93,0,[NSe,ISe,MSe]))])),cre=new uat("IN_B_C",19,Xie,ire,Yie,Gie,Sst(Ux(Fte,1),HWt,21,0,[_U(OSe,Sst(Ux(USe,1),LKt,93,0,[NSe,SSe])),_U(OSe,Sst(Ux(USe,1),LKt,93,0,[NSe,SSe,MSe]))])),lre=new uat("IN_B_R",20,Qie,ire,Yie,Yie,Sst(Ux(Fte,1),HWt,21,0,[_U(OSe,Sst(Ux(USe,1),LKt,93,0,[NSe,DSe])),_U(OSe,Sst(Ux(USe,1),LKt,93,0,[NSe,DSe,MSe]))])),Ire=new uat(hQt,21,null,null,null,null,Sst(Ux(Fte,1),HWt,21,0,[]))}function wWt(){wWt=M,iOe=(XZ(),eOe).b,zz(Ket(XX(eOe.b),0),34),zz(Ket(XX(eOe.b),1),18),nOe=eOe.a,zz(Ket(XX(eOe.a),0),34),zz(Ket(XX(eOe.a),1),18),zz(Ket(XX(eOe.a),2),18),zz(Ket(XX(eOe.a),3),18),zz(Ket(XX(eOe.a),4),18),rOe=eOe.o,zz(Ket(XX(eOe.o),0),34),zz(Ket(XX(eOe.o),1),34),oOe=zz(Ket(XX(eOe.o),2),18),zz(Ket(XX(eOe.o),3),18),zz(Ket(XX(eOe.o),4),18),zz(Ket(XX(eOe.o),5),18),zz(Ket(XX(eOe.o),6),18),zz(Ket(XX(eOe.o),7),18),zz(Ket(XX(eOe.o),8),18),zz(Ket(XX(eOe.o),9),18),zz(Ket(XX(eOe.o),10),18),zz(Ket(XX(eOe.o),11),18),zz(Ket(XX(eOe.o),12),18),zz(Ket(XX(eOe.o),13),18),zz(Ket(XX(eOe.o),14),18),zz(Ket(XX(eOe.o),15),18),zz(Ket(KX(eOe.o),0),59),zz(Ket(KX(eOe.o),1),59),zz(Ket(KX(eOe.o),2),59),zz(Ket(KX(eOe.o),3),59),zz(Ket(KX(eOe.o),4),59),zz(Ket(KX(eOe.o),5),59),zz(Ket(KX(eOe.o),6),59),zz(Ket(KX(eOe.o),7),59),zz(Ket(KX(eOe.o),8),59),zz(Ket(KX(eOe.o),9),59),aOe=eOe.p,zz(Ket(XX(eOe.p),0),34),zz(Ket(XX(eOe.p),1),34),zz(Ket(XX(eOe.p),2),34),zz(Ket(XX(eOe.p),3),34),zz(Ket(XX(eOe.p),4),18),zz(Ket(XX(eOe.p),5),18),zz(Ket(KX(eOe.p),0),59),zz(Ket(KX(eOe.p),1),59),sOe=eOe.q,zz(Ket(XX(eOe.q),0),34),cOe=eOe.v,zz(Ket(XX(eOe.v),0),18),zz(Ket(KX(eOe.v),0),59),zz(Ket(KX(eOe.v),1),59),zz(Ket(KX(eOe.v),2),59),uOe=eOe.w,zz(Ket(XX(eOe.w),0),34),zz(Ket(XX(eOe.w),1),34),zz(Ket(XX(eOe.w),2),34),zz(Ket(XX(eOe.w),3),18),lOe=eOe.B,zz(Ket(XX(eOe.B),0),18),zz(Ket(KX(eOe.B),0),59),zz(Ket(KX(eOe.B),1),59),zz(Ket(KX(eOe.B),2),59),dOe=eOe.Q,zz(Ket(XX(eOe.Q),0),18),zz(Ket(KX(eOe.Q),0),59),gOe=eOe.R,zz(Ket(XX(eOe.R),0),34),pOe=eOe.S,zz(Ket(KX(eOe.S),0),59),zz(Ket(KX(eOe.S),1),59),zz(Ket(KX(eOe.S),2),59),zz(Ket(KX(eOe.S),3),59),zz(Ket(KX(eOe.S),4),59),zz(Ket(KX(eOe.S),5),59),zz(Ket(KX(eOe.S),6),59),zz(Ket(KX(eOe.S),7),59),zz(Ket(KX(eOe.S),8),59),zz(Ket(KX(eOe.S),9),59),zz(Ket(KX(eOe.S),10),59),zz(Ket(KX(eOe.S),11),59),zz(Ket(KX(eOe.S),12),59),zz(Ket(KX(eOe.S),13),59),zz(Ket(KX(eOe.S),14),59),bOe=eOe.T,zz(Ket(XX(eOe.T),0),18),zz(Ket(XX(eOe.T),2),18),wOe=zz(Ket(XX(eOe.T),3),18),zz(Ket(XX(eOe.T),4),18),zz(Ket(KX(eOe.T),0),59),zz(Ket(KX(eOe.T),1),59),zz(Ket(XX(eOe.T),1),18),mOe=eOe.U,zz(Ket(XX(eOe.U),0),34),zz(Ket(XX(eOe.U),1),34),zz(Ket(XX(eOe.U),2),18),zz(Ket(XX(eOe.U),3),18),zz(Ket(XX(eOe.U),4),18),zz(Ket(XX(eOe.U),5),18),zz(Ket(KX(eOe.U),0),59),yOe=eOe.V,zz(Ket(XX(eOe.V),0),18),vOe=eOe.W,zz(Ket(XX(eOe.W),0),34),zz(Ket(XX(eOe.W),1),34),zz(Ket(XX(eOe.W),2),34),zz(Ket(XX(eOe.W),3),18),zz(Ket(XX(eOe.W),4),18),zz(Ket(XX(eOe.W),5),18),kOe=eOe.bb,zz(Ket(XX(eOe.bb),0),34),zz(Ket(XX(eOe.bb),1),34),zz(Ket(XX(eOe.bb),2),34),zz(Ket(XX(eOe.bb),3),34),zz(Ket(XX(eOe.bb),4),34),zz(Ket(XX(eOe.bb),5),34),zz(Ket(XX(eOe.bb),6),34),zz(Ket(XX(eOe.bb),7),18),zz(Ket(KX(eOe.bb),0),59),zz(Ket(KX(eOe.bb),1),59),_Oe=eOe.eb,zz(Ket(XX(eOe.eb),0),34),zz(Ket(XX(eOe.eb),1),34),zz(Ket(XX(eOe.eb),2),34),zz(Ket(XX(eOe.eb),3),34),zz(Ket(XX(eOe.eb),4),34),zz(Ket(XX(eOe.eb),5),34),zz(Ket(XX(eOe.eb),6),18),zz(Ket(XX(eOe.eb),7),18),xOe=eOe.ab,zz(Ket(XX(eOe.ab),0),34),zz(Ket(XX(eOe.ab),1),34),hOe=eOe.H,zz(Ket(XX(eOe.H),0),18),zz(Ket(XX(eOe.H),1),18),zz(Ket(XX(eOe.H),2),18),zz(Ket(XX(eOe.H),3),18),zz(Ket(XX(eOe.H),4),18),zz(Ket(XX(eOe.H),5),18),zz(Ket(KX(eOe.H),0),59),AOe=eOe.db,zz(Ket(XX(eOe.db),0),18),fOe=eOe.M}function mWt(t){var e;t.O||(t.O=!0,Prt(t,"type"),Brt(t,"ecore.xml.type"),Frt(t,C9t),e=zz(LOt((WE(),GDe),C9t),1945),h7(xV(t.fb),t.b),G0(t.b,gLe,"AnyType",!1,!1,!0),cat(zz(Ket(XX(t.b),0),34),t.wb.D,j7t,null,0,-1,gLe,!1,!1,!0,!1,!1,!1),cat(zz(Ket(XX(t.b),1),34),t.wb.D,"any",null,0,-1,gLe,!0,!0,!0,!1,!1,!0),cat(zz(Ket(XX(t.b),2),34),t.wb.D,"anyAttribute",null,0,-1,gLe,!1,!1,!0,!1,!1,!1),G0(t.bb,GLe,O9t,!1,!1,!0),cat(zz(Ket(XX(t.bb),0),34),t.gb,"data",null,0,1,GLe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.bb),1),34),t.gb,Q6t,null,1,1,GLe,!1,!1,!0,!1,!0,!1),G0(t.fb,YLe,L9t,!1,!1,!0),cat(zz(Ket(XX(t.fb),0),34),e.gb,"rawValue",null,0,1,YLe,!0,!0,!0,!1,!0,!0),cat(zz(Ket(XX(t.fb),1),34),e.a,A6t,null,0,1,YLe,!0,!0,!0,!1,!0,!0),Tvt(zz(Ket(XX(t.fb),2),18),t.wb.q,null,"instanceType",1,1,YLe,!1,!1,!0,!1,!1,!1,!1),G0(t.qb,ZLe,N9t,!1,!1,!0),cat(zz(Ket(XX(t.qb),0),34),t.wb.D,j7t,null,0,-1,null,!1,!1,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.qb),1),18),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.qb),2),18),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),cat(zz(Ket(XX(t.qb),3),34),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),cat(zz(Ket(XX(t.qb),4),34),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Tvt(zz(Ket(XX(t.qb),5),18),t.bb,null,ote,0,-2,null,!0,!0,!0,!0,!1,!1,!0),cat(zz(Ket(XX(t.qb),6),34),t.gb,D6t,null,0,-2,null,!0,!0,!0,!1,!1,!0),pK(t.a,Ote,"AnySimpleType",!0),pK(t.c,Vee,"AnyURI",!0),pK(t.d,Ux(NNe,1),"Base64Binary",!0),pK(t.e,ONe,"Boolean",!0),pK(t.f,kee,"BooleanObject",!0),pK(t.g,NNe,"Byte",!0),pK(t.i,Eee,"ByteObject",!0),pK(t.j,Vee,"Date",!0),pK(t.k,Vee,"DateTime",!0),pK(t.n,rne,"Decimal",!0),pK(t.o,PNe,"Double",!0),pK(t.p,See,"DoubleObject",!0),pK(t.q,Vee,"Duration",!0),pK(t.s,Rte,"ENTITIES",!0),pK(t.r,Rte,"ENTITIESBase",!0),pK(t.t,Vee,$9t,!0),pK(t.u,BNe,"Float",!0),pK(t.v,Iee,"FloatObject",!0),pK(t.w,Vee,"GDay",!0),pK(t.B,Vee,"GMonth",!0),pK(t.A,Vee,"GMonthDay",!0),pK(t.C,Vee,"GYear",!0),pK(t.D,Vee,"GYearMonth",!0),pK(t.F,Ux(NNe,1),"HexBinary",!0),pK(t.G,Vee,"ID",!0),pK(t.H,Vee,"IDREF",!0),pK(t.J,Rte,"IDREFS",!0),pK(t.I,Rte,"IDREFSBase",!0),pK(t.K,DNe,"Int",!0),pK(t.M,une,"Integer",!0),pK(t.L,Oee,"IntObject",!0),pK(t.P,Vee,"Language",!0),pK(t.Q,LNe,"Long",!0),pK(t.R,Ree,"LongObject",!0),pK(t.S,Vee,"Name",!0),pK(t.T,Vee,z9t,!0),pK(t.U,une,"NegativeInteger",!0),pK(t.V,Vee,V9t,!0),pK(t.X,Rte,"NMTOKENS",!0),pK(t.W,Rte,"NMTOKENSBase",!0),pK(t.Y,une,"NonNegativeInteger",!0),pK(t.Z,une,"NonPositiveInteger",!0),pK(t.$,Vee,"NormalizedString",!0),pK(t._,Vee,"NOTATION",!0),pK(t.ab,Vee,"PositiveInteger",!0),pK(t.cb,Vee,"QName",!0),pK(t.db,FNe,"Short",!0),pK(t.eb,$ee,"ShortObject",!0),pK(t.gb,Vee,UKt,!0),pK(t.hb,Vee,"Time",!0),pK(t.ib,Vee,"Token",!0),pK(t.jb,FNe,"UnsignedByte",!0),pK(t.kb,$ee,"UnsignedByteObject",!0),pK(t.lb,LNe,"UnsignedInt",!0),pK(t.mb,Ree,"UnsignedIntObject",!0),pK(t.nb,une,"UnsignedLong",!0),pK(t.ob,DNe,"UnsignedShort",!0),pK(t.pb,Oee,"UnsignedShortObject",!0),Nlt(t,C9t),xWt(t))}function yWt(t){NE(t,new TAt(yk(pk(mk(gk(wk(bk(new bs,p1t),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if 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."),new Sa),p1t),_U((hDt(),iDe),Sst(Ux(oDe,1),LKt,237,0,[tDe,eDe,JMe,nDe,VMe,XMe]))))),s2(t,p1t,N2t,vwt(wwe)),s2(t,p1t,P2t,vwt(mwe)),s2(t,p1t,WQt,vwt(ywe)),s2(t,p1t,B2t,vwt(vwe)),s2(t,p1t,vJt,vwt(kwe)),s2(t,p1t,F2t,vwt(_we)),s2(t,p1t,R2t,vwt(Twe)),s2(t,p1t,j2t,vwt(Swe)),s2(t,p1t,$2t,vwt(Iwe)),s2(t,p1t,z2t,vwt(Cwe)),s2(t,p1t,yJt,vwt(Mwe)),s2(t,p1t,q2t,vwt(Owe)),s2(t,p1t,H2t,vwt(Nwe)),s2(t,p1t,U2t,vwt(Ewe)),s2(t,p1t,N0t,vwt(bwe)),s2(t,p1t,B0t,vwt(xwe)),s2(t,p1t,P0t,vwt(Awe)),s2(t,p1t,F0t,vwt(Dwe)),s2(t,p1t,mJt,rft(0)),s2(t,p1t,R0t,vwt(hwe)),s2(t,p1t,j0t,vwt(fwe)),s2(t,p1t,$0t,vwt(dwe)),s2(t,p1t,Z0t,vwt(Gwe)),s2(t,p1t,W0t,vwt(Fwe)),s2(t,p1t,K0t,vwt(Rwe)),s2(t,p1t,X0t,vwt(zwe)),s2(t,p1t,V0t,vwt(jwe)),s2(t,p1t,Q0t,vwt($we)),s2(t,p1t,J0t,vwt(Zwe)),s2(t,p1t,t2t,vwt(Ywe)),s2(t,p1t,e2t,vwt(Hwe)),s2(t,p1t,n2t,vwt(qwe)),s2(t,p1t,i2t,vwt(Uwe)),s2(t,p1t,C0t,vwt(Fbe)),s2(t,p1t,S0t,vwt(Rbe)),s2(t,p1t,D0t,vwt(rbe)),s2(t,p1t,O0t,vwt(abe)),s2(t,p1t,VQt,Ybe),s2(t,p1t,x2t,tbe),s2(t,p1t,G2t,0),s2(t,p1t,xJt,rft(1)),s2(t,p1t,XQt,bJt),s2(t,p1t,Y2t,vwt(Ube)),s2(t,p1t,AJt,vwt(nwe)),s2(t,p1t,Z2t,vwt(swe)),s2(t,p1t,W2t,vwt(Gpe)),s2(t,p1t,K2t,vwt(xpe)),s2(t,p1t,b2t,vwt(ube)),s2(t,p1t,kJt,(lN(),!0)),s2(t,p1t,X2t,vwt(gbe)),s2(t,p1t,V2t,vwt(pbe)),s2(t,p1t,SJt,vwt($be)),s2(t,p1t,CJt,vwt(Hbe)),s2(t,p1t,Q2t,vwt(zbe)),s2(t,p1t,J2t,Wpe),s2(t,p1t,IJt,vwt(Obe)),s2(t,p1t,t3t,vwt(Dbe)),s2(t,p1t,MJt,vwt(awe)),s2(t,p1t,e3t,vwt(rwe)),s2(t,p1t,n3t,vwt(owe)),s2(t,p1t,i3t,Kbe),s2(t,p1t,r3t,vwt(Vbe)),s2(t,p1t,a3t,vwt(Qbe)),s2(t,p1t,o3t,vwt(Jbe)),s2(t,p1t,s3t,vwt(Xbe)),s2(t,p1t,e0t,vwt(Bwe)),s2(t,p1t,r0t,vwt(Cbe)),s2(t,p1t,l0t,vwt(Tbe)),s2(t,p1t,t0t,vwt(Pwe)),s2(t,p1t,a0t,vwt(xbe)),s2(t,p1t,i0t,vwt(Upe)),s2(t,p1t,d0t,vwt(Hpe)),s2(t,p1t,g0t,vwt(Ppe)),s2(t,p1t,y0t,vwt(Bpe)),s2(t,p1t,v0t,vwt(Rpe)),s2(t,p1t,x0t,vwt(Fpe)),s2(t,p1t,b0t,vwt(qpe)),s2(t,p1t,X1t,vwt(Ibe)),s2(t,p1t,V1t,vwt(Mbe)),s2(t,p1t,K1t,vwt(wbe)),s2(t,p1t,k0t,vwt(jbe)),s2(t,p1t,E0t,vwt(Nbe)),s2(t,p1t,W1t,vwt(sbe)),s2(t,p1t,T0t,vwt(Bbe)),s2(t,p1t,I0t,vwt(nbe)),s2(t,p1t,M0t,vwt(ibe)),s2(t,p1t,c3t,vwt(Npe)),s2(t,p1t,A0t,vwt(Lbe)),s2(t,p1t,q0t,vwt(Cpe)),s2(t,p1t,H0t,vwt(Tpe)),s2(t,p1t,z0t,vwt(Epe)),s2(t,p1t,U0t,vwt(hbe)),s2(t,p1t,G0t,vwt(lbe)),s2(t,p1t,Y0t,vwt(fbe)),s2(t,p1t,qJt,vwt(qbe)),s2(t,p1t,u3t,vwt(mbe)),s2(t,p1t,KQt,vwt(obe)),s2(t,p1t,l3t,vwt(Vpe)),s2(t,p1t,EJt,vwt(Xpe)),s2(t,p1t,p0t,vwt(jpe)),s2(t,p1t,h3t,vwt(iwe)),s2(t,p1t,f3t,vwt(Ape)),s2(t,p1t,d3t,vwt(dbe)),s2(t,p1t,g3t,vwt(twe)),s2(t,p1t,p3t,vwt(Zbe)),s2(t,p1t,b3t,vwt(Wbe)),s2(t,p1t,c0t,vwt(_be)),s2(t,p1t,u0t,vwt(Abe)),s2(t,p1t,w3t,vwt(uwe)),s2(t,p1t,Q1t,vwt(kpe)),s2(t,p1t,h0t,vwt(Ebe)),s2(t,p1t,r2t,vwt(Qpe)),s2(t,p1t,a2t,vwt(Kpe)),s2(t,p1t,m3t,vwt(Sbe)),s2(t,p1t,f0t,vwt(ybe)),s2(t,p1t,_0t,vwt(Pbe)),s2(t,p1t,y3t,vwt(Lwe)),s2(t,p1t,Z1t,vwt(Zpe)),s2(t,p1t,J1t,vwt(cwe)),s2(t,p1t,L0t,vwt(ebe)),s2(t,p1t,o0t,vwt(vbe)),s2(t,p1t,w0t,vwt($pe)),s2(t,p1t,v3t,vwt(bbe)),s2(t,p1t,s0t,vwt(kbe)),s2(t,p1t,m0t,vwt(zpe)),s2(t,p1t,o2t,vwt(Lpe)),s2(t,p1t,u2t,vwt(Dpe)),s2(t,p1t,l2t,vwt(Ipe)),s2(t,p1t,h2t,vwt(Mpe)),s2(t,p1t,s2t,vwt(Ope)),s2(t,p1t,c2t,vwt(Spe)),s2(t,p1t,n0t,vwt(cbe))}function vWt(t,e){var n;return tNe||(tNe=new Pw,eNe=new Pw,pWt(),pWt(),xpt(n=new E0(4),"\t\n\r\r "),yJ(tNe,fte,n),yJ(eNe,fte,L$t(n)),xpt(n=new E0(4),pte),yJ(tNe,lte,n),yJ(eNe,lte,L$t(n)),xpt(n=new E0(4),pte),yJ(tNe,lte,n),yJ(eNe,lte,L$t(n)),xpt(n=new E0(4),bte),lqt(n,zz(TQ(tNe,lte),117)),yJ(tNe,hte,n),yJ(eNe,hte,L$t(n)),xpt(n=new E0(4),"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),yJ(tNe,dte,n),yJ(eNe,dte,L$t(n)),xpt(n=new E0(4),bte),QPt(n,95,95),QPt(n,58,58),yJ(tNe,gte,n),yJ(eNe,gte,L$t(n))),zz(TQ(e?tNe:eNe,t),136)}function xWt(t){XOt(t.a,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"anySimpleType"])),XOt(t.b,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"anyType",z7t,j7t])),XOt(zz(Ket(XX(t.b),0),34),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,v9t,n8t,":mixed"])),XOt(zz(Ket(XX(t.b),1),34),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,v9t,T9t,S9t,n8t,":1",F9t,"lax"])),XOt(zz(Ket(XX(t.b),2),34),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,m9t,T9t,S9t,n8t,":2",F9t,"lax"])),XOt(t.c,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"anyURI",E9t,x9t])),XOt(t.d,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"base64Binary",E9t,x9t])),XOt(t.e,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,LWt,E9t,x9t])),XOt(t.f,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"boolean:Object",J7t,LWt])),XOt(t.g,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,C7t])),XOt(t.i,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"byte:Object",J7t,C7t])),XOt(t.j,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"date",E9t,x9t])),XOt(t.k,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"dateTime",E9t,x9t])),XOt(t.n,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"decimal",E9t,x9t])),XOt(t.o,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,I7t,E9t,x9t])),XOt(t.p,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"double:Object",J7t,I7t])),XOt(t.q,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"duration",E9t,x9t])),XOt(t.s,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"ENTITIES",J7t,R9t,j9t,"1"])),XOt(t.r,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,R9t,k9t,$9t])),XOt(t.t,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,$9t,J7t,z9t])),XOt(t.u,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,M7t,E9t,x9t])),XOt(t.v,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"float:Object",J7t,M7t])),XOt(t.w,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"gDay",E9t,x9t])),XOt(t.B,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"gMonth",E9t,x9t])),XOt(t.A,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"gMonthDay",E9t,x9t])),XOt(t.C,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"gYear",E9t,x9t])),XOt(t.D,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"gYearMonth",E9t,x9t])),XOt(t.F,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"hexBinary",E9t,x9t])),XOt(t.G,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"ID",J7t,z9t])),XOt(t.H,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"IDREF",J7t,z9t])),XOt(t.J,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"IDREFS",J7t,q9t,j9t,"1"])),XOt(t.I,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,q9t,k9t,"IDREF"])),XOt(t.K,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,D7t])),XOt(t.M,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,H9t])),XOt(t.L,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"int:Object",J7t,D7t])),XOt(t.P,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"language",J7t,U9t,G9t,Y9t])),XOt(t.Q,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,O7t])),XOt(t.R,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"long:Object",J7t,O7t])),XOt(t.S,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"Name",J7t,U9t,G9t,Z9t])),XOt(t.T,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,z9t,J7t,"Name",G9t,W9t])),XOt(t.U,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"negativeInteger",J7t,K9t,X9t,"-1"])),XOt(t.V,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,V9t,J7t,U9t,G9t,"\\c+"])),XOt(t.X,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"NMTOKENS",J7t,Q9t,j9t,"1"])),XOt(t.W,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,Q9t,k9t,V9t])),XOt(t.Y,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,J9t,J7t,H9t,tte,"0"])),XOt(t.Z,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,K9t,J7t,H9t,X9t,"0"])),XOt(t.$,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,ete,J7t,PWt,E9t,"replace"])),XOt(t._,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"NOTATION",E9t,x9t])),XOt(t.ab,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"positiveInteger",J7t,J9t,tte,"1"])),XOt(t.bb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"processingInstruction_._type",z7t,"empty"])),XOt(zz(Ket(XX(t.bb),0),34),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,w9t,n8t,"data"])),XOt(zz(Ket(XX(t.bb),1),34),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,w9t,n8t,Q6t])),XOt(t.cb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"QName",E9t,x9t])),XOt(t.db,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,L7t])),XOt(t.eb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"short:Object",J7t,L7t])),XOt(t.fb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"simpleAnyType",z7t,b9t])),XOt(zz(Ket(XX(t.fb),0),34),$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,":3",z7t,b9t])),XOt(zz(Ket(XX(t.fb),1),34),$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,":4",z7t,b9t])),XOt(zz(Ket(XX(t.fb),2),18),$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,":5",z7t,b9t])),XOt(t.gb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,PWt,E9t,"preserve"])),XOt(t.hb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"time",E9t,x9t])),XOt(t.ib,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,U9t,J7t,ete,E9t,x9t])),XOt(t.jb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,nte,X9t,"255",tte,"0"])),XOt(t.kb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"unsignedByte:Object",J7t,nte])),XOt(t.lb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,ite,X9t,"4294967295",tte,"0"])),XOt(t.mb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"unsignedInt:Object",J7t,ite])),XOt(t.nb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"unsignedLong",J7t,J9t,X9t,rte,tte,"0"])),XOt(t.ob,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,ate,X9t,"65535",tte,"0"])),XOt(t.pb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"unsignedShort:Object",J7t,ate])),XOt(t.qb,$7t,Sst(Ux(Vee,1),lKt,2,6,[n8t,"",z7t,j7t])),XOt(zz(Ket(XX(t.qb),0),34),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,v9t,n8t,":mixed"])),XOt(zz(Ket(XX(t.qb),1),18),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,w9t,n8t,"xmlns:prefix"])),XOt(zz(Ket(XX(t.qb),2),18),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,w9t,n8t,"xsi:schemaLocation"])),XOt(zz(Ket(XX(t.qb),3),34),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,y9t,n8t,"cDATA",_9t,A9t])),XOt(zz(Ket(XX(t.qb),4),34),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,y9t,n8t,"comment",_9t,A9t])),XOt(zz(Ket(XX(t.qb),5),18),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,y9t,n8t,ote,_9t,A9t])),XOt(zz(Ket(XX(t.qb),6),34),$7t,Sst(Ux(Vee,1),lKt,2,6,[z7t,y9t,n8t,D6t,_9t,A9t]))}function kWt(t){return yR("_UI_EMFDiagnostic_marker",t)?"EMF Problem":yR("_UI_CircularContainment_diagnostic",t)?"An object may not circularly contain itself":yR(p8t,t)?"Wrong character.":yR(b8t,t)?"Invalid reference number.":yR(w8t,t)?"A character is required after \\.":yR(m8t,t)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":yR(y8t,t)?"'(?<' or '(?<!' is expected.":yR(v8t,t)?"A comment is not terminated.":yR(x8t,t)?"')' is expected.":yR(k8t,t)?"Unexpected end of the pattern in a modifier group.":yR(_8t,t)?"':' is expected.":yR(A8t,t)?"Unexpected end of the pattern in a conditional group.":yR(E8t,t)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":yR(T8t,t)?"There are more than three choices in a conditional group.":yR(C8t,t)?"A character in U+0040-U+005f must follow \\c.":yR(S8t,t)?"A '{' is required before a character category.":yR(I8t,t)?"A property name is not closed by '}'.":yR(M8t,t)?"Unexpected meta character.":yR(D8t,t)?"Unknown property.":yR(O8t,t)?"A POSIX character class must be closed by ':]'.":yR(L8t,t)?"Unexpected end of the pattern in a character class.":yR(N8t,t)?"Unknown name for a POSIX character class.":yR("parser.cc.4",t)?"'-' is invalid here.":yR(P8t,t)?"']' is expected.":yR(B8t,t)?"'[' is invalid in a character class. Write '\\['.":yR(F8t,t)?"']' is invalid in a character class. Write '\\]'.":yR(R8t,t)?"'-' is an invalid character range. Write '\\-'.":yR(j8t,t)?"'[' is expected.":yR($8t,t)?"')' or '-[' or '+[' or '&[' is expected.":yR(z8t,t)?"The range end code point is less than the start code point.":yR(q8t,t)?"Invalid Unicode hex notation.":yR(H8t,t)?"Overflow in a hex notation.":yR(U8t,t)?"'\\x{' must be closed by '}'.":yR(G8t,t)?"Invalid Unicode code point.":yR(Y8t,t)?"An anchor must not be here.":yR(Z8t,t)?"This expression is not supported in the current option setting.":yR(W8t,t)?"Invalid quantifier. A digit is expected.":yR(K8t,t)?"Invalid quantifier. Invalid quantity or a '}' is missing.":yR(X8t,t)?"Invalid quantifier. A digit or '}' is expected.":yR(V8t,t)?"Invalid quantifier. A min quantity must be <= a max quantity.":yR(Q8t,t)?"Invalid quantifier. A quantity value overflow.":yR("_UI_PackageRegistry_extensionpoint",t)?"Ecore Package Registry for Generated Packages":yR("_UI_DynamicPackageRegistry_extensionpoint",t)?"Ecore Package Registry for Dynamic Packages":yR("_UI_FactoryRegistry_extensionpoint",t)?"Ecore Factory Override Registry":yR("_UI_URIExtensionParserRegistry_extensionpoint",t)?"URI Extension Parser Registry":yR("_UI_URIProtocolParserRegistry_extensionpoint",t)?"URI Protocol Parser Registry":yR("_UI_URIContentParserRegistry_extensionpoint",t)?"URI Content Parser Registry":yR("_UI_ContentHandlerRegistry_extensionpoint",t)?"Content Handler Registry":yR("_UI_URIMappingRegistry_extensionpoint",t)?"URI Converter Mapping Registry":yR("_UI_PackageRegistryImplementation_extensionpoint",t)?"Ecore Package Registry Implementation":yR("_UI_ValidationDelegateRegistry_extensionpoint",t)?"Validation Delegate Registry":yR("_UI_SettingDelegateRegistry_extensionpoint",t)?"Feature Setting Delegate Factory Registry":yR("_UI_InvocationDelegateRegistry_extensionpoint",t)?"Operation Invocation Delegate Factory Registry":yR("_UI_EClassInterfaceNotAbstract_diagnostic",t)?"A class that is an interface must also be abstract":yR("_UI_EClassNoCircularSuperTypes_diagnostic",t)?"A class may not be a super type of itself":yR("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",t)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":yR("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",t)?"The opposite of the opposite may not be a reference different from this one":yR("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",t)?"The opposite must be a feature of the reference's type":yR("_UI_EReferenceTransientOppositeNotTransient_diagnostic",t)?"The opposite of a transient reference must be transient if it is proxy resolving":yR("_UI_EReferenceOppositeBothContainment_diagnostic",t)?"The opposite of a containment reference must not be a containment reference":yR("_UI_EReferenceConsistentUnique_diagnostic",t)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":yR("_UI_ETypedElementNoType_diagnostic",t)?"The typed element must have a type":yR("_UI_EAttributeNoDataType_diagnostic",t)?"The generic attribute type must not refer to a class":yR("_UI_EReferenceNoClass_diagnostic",t)?"The generic reference type must not refer to a data type":yR("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",t)?"A generic type can't refer to both a type parameter and a classifier":yR("_UI_EGenericTypeNoClass_diagnostic",t)?"A generic super type must refer to a class":yR("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",t)?"A generic type in this context must refer to a classifier or a type parameter":yR("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",t)?"A generic type may have bounds only when used as a type argument":yR("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",t)?"A generic type must not have both a lower and an upper bound":yR("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",t)?"A generic type with bounds must not also refer to a type parameter or classifier":yR("_UI_EGenericTypeNoArguments_diagnostic",t)?"A generic type may have arguments only if it refers to a classifier":yR("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",t)?"A generic type may only refer to a type parameter that is in scope":t}function _Wt(t){var e,n,i,r,a,o,s;t.r||(t.r=!0,Prt(t,"graph"),Brt(t,"graph"),Frt(t,x6t),ost(t.o,"T"),h7(xV(t.a),t.p),h7(xV(t.f),t.a),h7(xV(t.n),t.f),h7(xV(t.g),t.n),h7(xV(t.c),t.n),h7(xV(t.i),t.c),h7(xV(t.j),t.c),h7(xV(t.d),t.f),h7(xV(t.e),t.a),G0(t.p,Zre,DQt,!0,!0,!1),s=Est(o=vut(t.p,t.p,"setProperty")),e=JK(t.o),n=new Rw,h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),k_t(n,i=tX(s)),Zkt(o,e,_6t),Zkt(o,e=tX(s),A6t),s=Est(o=vut(t.p,null,"getProperty")),e=JK(t.o),n=tX(s),h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),Zkt(o,e,_6t),(a=HAt(o,e=tX(s),null))&&a.Fi(),o=vut(t.p,t.wb.e,"hasProperty"),e=JK(t.o),n=new Rw,h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),Zkt(o,e,_6t),Lvt(o=vut(t.p,t.p,"copyProperties"),t.p,E6t),o=vut(t.p,null,"getAllProperties"),e=JK(t.wb.P),n=JK(t.o),h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),i=new Rw,h7((!n.d&&(n.d=new OL(KDe,n,1)),n.d),i),n=JK(t.wb.M),h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),(r=HAt(o,e,null))&&r.Fi(),G0(t.a,NMe,Y5t,!0,!1,!0),Tvt(zz(Ket(XX(t.a),0),18),t.k,null,T6t,0,-1,NMe,!1,!1,!0,!0,!1,!1,!1),G0(t.f,BMe,W5t,!0,!1,!0),Tvt(zz(Ket(XX(t.f),0),18),t.g,zz(Ket(XX(t.g),0),18),"labels",0,-1,BMe,!1,!1,!0,!0,!1,!1,!1),cat(zz(Ket(XX(t.f),1),34),t.wb._,C6t,null,0,1,BMe,!1,!1,!0,!1,!0,!1),G0(t.n,FMe,"ElkShape",!0,!1,!0),cat(zz(Ket(XX(t.n),0),34),t.wb.t,S6t,KXt,1,1,FMe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.n),1),34),t.wb.t,I6t,KXt,1,1,FMe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.n),2),34),t.wb.t,"x",KXt,1,1,FMe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.n),3),34),t.wb.t,"y",KXt,1,1,FMe,!1,!1,!0,!1,!0,!1),Lvt(o=vut(t.n,null,"setDimensions"),t.wb.t,I6t),Lvt(o,t.wb.t,S6t),Lvt(o=vut(t.n,null,"setLocation"),t.wb.t,"x"),Lvt(o,t.wb.t,"y"),G0(t.g,GMe,t6t,!1,!1,!0),Tvt(zz(Ket(XX(t.g),0),18),t.f,zz(Ket(XX(t.f),0),18),M6t,0,1,GMe,!1,!1,!0,!1,!1,!1,!1),cat(zz(Ket(XX(t.g),1),34),t.wb._,D6t,"",0,1,GMe,!1,!1,!0,!1,!0,!1),G0(t.c,RMe,K5t,!0,!1,!0),Tvt(zz(Ket(XX(t.c),0),18),t.d,zz(Ket(XX(t.d),1),18),"outgoingEdges",0,-1,RMe,!1,!1,!0,!1,!0,!1,!1),Tvt(zz(Ket(XX(t.c),1),18),t.d,zz(Ket(XX(t.d),2),18),"incomingEdges",0,-1,RMe,!1,!1,!0,!1,!0,!1,!1),G0(t.i,YMe,e6t,!1,!1,!0),Tvt(zz(Ket(XX(t.i),0),18),t.j,zz(Ket(XX(t.j),0),18),"ports",0,-1,YMe,!1,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.i),1),18),t.i,zz(Ket(XX(t.i),2),18),O6t,0,-1,YMe,!1,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.i),2),18),t.i,zz(Ket(XX(t.i),1),18),M6t,0,1,YMe,!1,!1,!0,!1,!1,!1,!1),Tvt(zz(Ket(XX(t.i),3),18),t.d,zz(Ket(XX(t.d),0),18),"containedEdges",0,-1,YMe,!1,!1,!0,!0,!1,!1,!1),cat(zz(Ket(XX(t.i),4),34),t.wb.e,L6t,null,0,1,YMe,!0,!0,!1,!1,!0,!0),G0(t.j,ZMe,n6t,!1,!1,!0),Tvt(zz(Ket(XX(t.j),0),18),t.i,zz(Ket(XX(t.i),0),18),M6t,0,1,ZMe,!1,!1,!0,!1,!1,!1,!1),G0(t.d,jMe,X5t,!1,!1,!0),Tvt(zz(Ket(XX(t.d),0),18),t.i,zz(Ket(XX(t.i),3),18),"containingNode",0,1,jMe,!1,!1,!0,!1,!1,!1,!1),Tvt(zz(Ket(XX(t.d),1),18),t.c,zz(Ket(XX(t.c),0),18),N6t,0,-1,jMe,!1,!1,!0,!1,!0,!1,!1),Tvt(zz(Ket(XX(t.d),2),18),t.c,zz(Ket(XX(t.c),1),18),P6t,0,-1,jMe,!1,!1,!0,!1,!0,!1,!1),Tvt(zz(Ket(XX(t.d),3),18),t.e,zz(Ket(XX(t.e),5),18),B6t,0,-1,jMe,!1,!1,!0,!0,!1,!1,!1),cat(zz(Ket(XX(t.d),4),34),t.wb.e,"hyperedge",null,0,1,jMe,!0,!0,!1,!1,!0,!0),cat(zz(Ket(XX(t.d),5),34),t.wb.e,L6t,null,0,1,jMe,!0,!0,!1,!1,!0,!0),cat(zz(Ket(XX(t.d),6),34),t.wb.e,"selfloop",null,0,1,jMe,!0,!0,!1,!1,!0,!0),cat(zz(Ket(XX(t.d),7),34),t.wb.e,"connected",null,0,1,jMe,!0,!0,!1,!1,!0,!0),G0(t.b,PMe,Z5t,!1,!1,!0),cat(zz(Ket(XX(t.b),0),34),t.wb.t,"x",KXt,1,1,PMe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.b),1),34),t.wb.t,"y",KXt,1,1,PMe,!1,!1,!0,!1,!0,!1),Lvt(o=vut(t.b,null,"set"),t.wb.t,"x"),Lvt(o,t.wb.t,"y"),G0(t.e,$Me,V5t,!1,!1,!0),cat(zz(Ket(XX(t.e),0),34),t.wb.t,"startX",null,0,1,$Me,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.e),1),34),t.wb.t,"startY",null,0,1,$Me,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.e),2),34),t.wb.t,"endX",null,0,1,$Me,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.e),3),34),t.wb.t,"endY",null,0,1,$Me,!1,!1,!0,!1,!0,!1),Tvt(zz(Ket(XX(t.e),4),18),t.b,null,F6t,0,-1,$Me,!1,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.e),5),18),t.d,zz(Ket(XX(t.d),3),18),M6t,0,1,$Me,!1,!1,!0,!1,!1,!1,!1),Tvt(zz(Ket(XX(t.e),6),18),t.c,null,R6t,0,1,$Me,!1,!1,!0,!1,!0,!1,!1),Tvt(zz(Ket(XX(t.e),7),18),t.c,null,j6t,0,1,$Me,!1,!1,!0,!1,!0,!1,!1),Tvt(zz(Ket(XX(t.e),8),18),t.e,zz(Ket(XX(t.e),9),18),$6t,0,-1,$Me,!1,!1,!0,!1,!0,!1,!1),Tvt(zz(Ket(XX(t.e),9),18),t.e,zz(Ket(XX(t.e),8),18),z6t,0,-1,$Me,!1,!1,!0,!1,!0,!1,!1),cat(zz(Ket(XX(t.e),10),34),t.wb._,C6t,null,0,1,$Me,!1,!1,!0,!1,!0,!1),Lvt(o=vut(t.e,null,"setStartLocation"),t.wb.t,"x"),Lvt(o,t.wb.t,"y"),Lvt(o=vut(t.e,null,"setEndLocation"),t.wb.t,"x"),Lvt(o,t.wb.t,"y"),G0(t.k,Hte,"ElkPropertyToValueMapEntry",!1,!1,!1),e=JK(t.o),n=new Rw,h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),$Mt(zz(Ket(XX(t.k),0),34),e,"key",Hte,!1,!1,!0,!1),cat(zz(Ket(XX(t.k),1),34),t.s,A6t,null,0,1,Hte,!1,!1,!0,!1,!0,!1),pK(t.o,fEe,"IProperty",!0),pK(t.s,Ote,"PropertyValue",!0),Nlt(t,x6t))}function AWt(){AWt=M,(QLe=P8(NNe,y6t,25,qXt,15,1))[9]=35,QLe[10]=19,QLe[13]=19,QLe[32]=51,QLe[33]=49,QLe[34]=33,vY(QLe,35,38,49),QLe[38]=1,vY(QLe,39,45,49),vY(QLe,45,47,-71),QLe[47]=49,vY(QLe,48,58,-71),QLe[58]=61,QLe[59]=49,QLe[60]=1,QLe[61]=49,QLe[62]=33,vY(QLe,63,65,49),vY(QLe,65,91,-3),vY(QLe,91,93,33),QLe[93]=1,QLe[94]=33,QLe[95]=-3,QLe[96]=33,vY(QLe,97,123,-3),vY(QLe,123,183,33),QLe[183]=-87,vY(QLe,184,192,33),vY(QLe,192,215,-19),QLe[215]=33,vY(QLe,216,247,-19),QLe[247]=33,vY(QLe,248,306,-19),vY(QLe,306,308,33),vY(QLe,308,319,-19),vY(QLe,319,321,33),vY(QLe,321,329,-19),QLe[329]=33,vY(QLe,330,383,-19),QLe[383]=33,vY(QLe,384,452,-19),vY(QLe,452,461,33),vY(QLe,461,497,-19),vY(QLe,497,500,33),vY(QLe,500,502,-19),vY(QLe,502,506,33),vY(QLe,506,536,-19),vY(QLe,536,592,33),vY(QLe,592,681,-19),vY(QLe,681,699,33),vY(QLe,699,706,-19),vY(QLe,706,720,33),vY(QLe,720,722,-87),vY(QLe,722,768,33),vY(QLe,768,838,-87),vY(QLe,838,864,33),vY(QLe,864,866,-87),vY(QLe,866,902,33),QLe[902]=-19,QLe[903]=-87,vY(QLe,904,907,-19),QLe[907]=33,QLe[908]=-19,QLe[909]=33,vY(QLe,910,930,-19),QLe[930]=33,vY(QLe,931,975,-19),QLe[975]=33,vY(QLe,976,983,-19),vY(QLe,983,986,33),QLe[986]=-19,QLe[987]=33,QLe[988]=-19,QLe[989]=33,QLe[990]=-19,QLe[991]=33,QLe[992]=-19,QLe[993]=33,vY(QLe,994,1012,-19),vY(QLe,1012,1025,33),vY(QLe,1025,1037,-19),QLe[1037]=33,vY(QLe,1038,1104,-19),QLe[1104]=33,vY(QLe,1105,1117,-19),QLe[1117]=33,vY(QLe,1118,1154,-19),QLe[1154]=33,vY(QLe,1155,1159,-87),vY(QLe,1159,1168,33),vY(QLe,1168,1221,-19),vY(QLe,1221,1223,33),vY(QLe,1223,1225,-19),vY(QLe,1225,1227,33),vY(QLe,1227,1229,-19),vY(QLe,1229,1232,33),vY(QLe,1232,1260,-19),vY(QLe,1260,1262,33),vY(QLe,1262,1270,-19),vY(QLe,1270,1272,33),vY(QLe,1272,1274,-19),vY(QLe,1274,1329,33),vY(QLe,1329,1367,-19),vY(QLe,1367,1369,33),QLe[1369]=-19,vY(QLe,1370,1377,33),vY(QLe,1377,1415,-19),vY(QLe,1415,1425,33),vY(QLe,1425,1442,-87),QLe[1442]=33,vY(QLe,1443,1466,-87),QLe[1466]=33,vY(QLe,1467,1470,-87),QLe[1470]=33,QLe[1471]=-87,QLe[1472]=33,vY(QLe,1473,1475,-87),QLe[1475]=33,QLe[1476]=-87,vY(QLe,1477,1488,33),vY(QLe,1488,1515,-19),vY(QLe,1515,1520,33),vY(QLe,1520,1523,-19),vY(QLe,1523,1569,33),vY(QLe,1569,1595,-19),vY(QLe,1595,1600,33),QLe[1600]=-87,vY(QLe,1601,1611,-19),vY(QLe,1611,1619,-87),vY(QLe,1619,1632,33),vY(QLe,1632,1642,-87),vY(QLe,1642,1648,33),QLe[1648]=-87,vY(QLe,1649,1720,-19),vY(QLe,1720,1722,33),vY(QLe,1722,1727,-19),QLe[1727]=33,vY(QLe,1728,1743,-19),QLe[1743]=33,vY(QLe,1744,1748,-19),QLe[1748]=33,QLe[1749]=-19,vY(QLe,1750,1765,-87),vY(QLe,1765,1767,-19),vY(QLe,1767,1769,-87),QLe[1769]=33,vY(QLe,1770,1774,-87),vY(QLe,1774,1776,33),vY(QLe,1776,1786,-87),vY(QLe,1786,2305,33),vY(QLe,2305,2308,-87),QLe[2308]=33,vY(QLe,2309,2362,-19),vY(QLe,2362,2364,33),QLe[2364]=-87,QLe[2365]=-19,vY(QLe,2366,2382,-87),vY(QLe,2382,2385,33),vY(QLe,2385,2389,-87),vY(QLe,2389,2392,33),vY(QLe,2392,2402,-19),vY(QLe,2402,2404,-87),vY(QLe,2404,2406,33),vY(QLe,2406,2416,-87),vY(QLe,2416,2433,33),vY(QLe,2433,2436,-87),QLe[2436]=33,vY(QLe,2437,2445,-19),vY(QLe,2445,2447,33),vY(QLe,2447,2449,-19),vY(QLe,2449,2451,33),vY(QLe,2451,2473,-19),QLe[2473]=33,vY(QLe,2474,2481,-19),QLe[2481]=33,QLe[2482]=-19,vY(QLe,2483,2486,33),vY(QLe,2486,2490,-19),vY(QLe,2490,2492,33),QLe[2492]=-87,QLe[2493]=33,vY(QLe,2494,2501,-87),vY(QLe,2501,2503,33),vY(QLe,2503,2505,-87),vY(QLe,2505,2507,33),vY(QLe,2507,2510,-87),vY(QLe,2510,2519,33),QLe[2519]=-87,vY(QLe,2520,2524,33),vY(QLe,2524,2526,-19),QLe[2526]=33,vY(QLe,2527,2530,-19),vY(QLe,2530,2532,-87),vY(QLe,2532,2534,33),vY(QLe,2534,2544,-87),vY(QLe,2544,2546,-19),vY(QLe,2546,2562,33),QLe[2562]=-87,vY(QLe,2563,2565,33),vY(QLe,2565,2571,-19),vY(QLe,2571,2575,33),vY(QLe,2575,2577,-19),vY(QLe,2577,2579,33),vY(QLe,2579,2601,-19),QLe[2601]=33,vY(QLe,2602,2609,-19),QLe[2609]=33,vY(QLe,2610,2612,-19),QLe[2612]=33,vY(QLe,2613,2615,-19),QLe[2615]=33,vY(QLe,2616,2618,-19),vY(QLe,2618,2620,33),QLe[2620]=-87,QLe[2621]=33,vY(QLe,2622,2627,-87),vY(QLe,2627,2631,33),vY(QLe,2631,2633,-87),vY(QLe,2633,2635,33),vY(QLe,2635,2638,-87),vY(QLe,2638,2649,33),vY(QLe,2649,2653,-19),QLe[2653]=33,QLe[2654]=-19,vY(QLe,2655,2662,33),vY(QLe,2662,2674,-87),vY(QLe,2674,2677,-19),vY(QLe,2677,2689,33),vY(QLe,2689,2692,-87),QLe[2692]=33,vY(QLe,2693,2700,-19),QLe[2700]=33,QLe[2701]=-19,QLe[2702]=33,vY(QLe,2703,2706,-19),QLe[2706]=33,vY(QLe,2707,2729,-19),QLe[2729]=33,vY(QLe,2730,2737,-19),QLe[2737]=33,vY(QLe,2738,2740,-19),QLe[2740]=33,vY(QLe,2741,2746,-19),vY(QLe,2746,2748,33),QLe[2748]=-87,QLe[2749]=-19,vY(QLe,2750,2758,-87),QLe[2758]=33,vY(QLe,2759,2762,-87),QLe[2762]=33,vY(QLe,2763,2766,-87),vY(QLe,2766,2784,33),QLe[2784]=-19,vY(QLe,2785,2790,33),vY(QLe,2790,2800,-87),vY(QLe,2800,2817,33),vY(QLe,2817,2820,-87),QLe[2820]=33,vY(QLe,2821,2829,-19),vY(QLe,2829,2831,33),vY(QLe,2831,2833,-19),vY(QLe,2833,2835,33),vY(QLe,2835,2857,-19),QLe[2857]=33,vY(QLe,2858,2865,-19),QLe[2865]=33,vY(QLe,2866,2868,-19),vY(QLe,2868,2870,33),vY(QLe,2870,2874,-19),vY(QLe,2874,2876,33),QLe[2876]=-87,QLe[2877]=-19,vY(QLe,2878,2884,-87),vY(QLe,2884,2887,33),vY(QLe,2887,2889,-87),vY(QLe,2889,2891,33),vY(QLe,2891,2894,-87),vY(QLe,2894,2902,33),vY(QLe,2902,2904,-87),vY(QLe,2904,2908,33),vY(QLe,2908,2910,-19),QLe[2910]=33,vY(QLe,2911,2914,-19),vY(QLe,2914,2918,33),vY(QLe,2918,2928,-87),vY(QLe,2928,2946,33),vY(QLe,2946,2948,-87),QLe[2948]=33,vY(QLe,2949,2955,-19),vY(QLe,2955,2958,33),vY(QLe,2958,2961,-19),QLe[2961]=33,vY(QLe,2962,2966,-19),vY(QLe,2966,2969,33),vY(QLe,2969,2971,-19),QLe[2971]=33,QLe[2972]=-19,QLe[2973]=33,vY(QLe,2974,2976,-19),vY(QLe,2976,2979,33),vY(QLe,2979,2981,-19),vY(QLe,2981,2984,33),vY(QLe,2984,2987,-19),vY(QLe,2987,2990,33),vY(QLe,2990,2998,-19),QLe[2998]=33,vY(QLe,2999,3002,-19),vY(QLe,3002,3006,33),vY(QLe,3006,3011,-87),vY(QLe,3011,3014,33),vY(QLe,3014,3017,-87),QLe[3017]=33,vY(QLe,3018,3022,-87),vY(QLe,3022,3031,33),QLe[3031]=-87,vY(QLe,3032,3047,33),vY(QLe,3047,3056,-87),vY(QLe,3056,3073,33),vY(QLe,3073,3076,-87),QLe[3076]=33,vY(QLe,3077,3085,-19),QLe[3085]=33,vY(QLe,3086,3089,-19),QLe[3089]=33,vY(QLe,3090,3113,-19),QLe[3113]=33,vY(QLe,3114,3124,-19),QLe[3124]=33,vY(QLe,3125,3130,-19),vY(QLe,3130,3134,33),vY(QLe,3134,3141,-87),QLe[3141]=33,vY(QLe,3142,3145,-87),QLe[3145]=33,vY(QLe,3146,3150,-87),vY(QLe,3150,3157,33),vY(QLe,3157,3159,-87),vY(QLe,3159,3168,33),vY(QLe,3168,3170,-19),vY(QLe,3170,3174,33),vY(QLe,3174,3184,-87),vY(QLe,3184,3202,33),vY(QLe,3202,3204,-87),QLe[3204]=33,vY(QLe,3205,3213,-19),QLe[3213]=33,vY(QLe,3214,3217,-19),QLe[3217]=33,vY(QLe,3218,3241,-19),QLe[3241]=33,vY(QLe,3242,3252,-19),QLe[3252]=33,vY(QLe,3253,3258,-19),vY(QLe,3258,3262,33),vY(QLe,3262,3269,-87),QLe[3269]=33,vY(QLe,3270,3273,-87),QLe[3273]=33,vY(QLe,3274,3278,-87),vY(QLe,3278,3285,33),vY(QLe,3285,3287,-87),vY(QLe,3287,3294,33),QLe[3294]=-19,QLe[3295]=33,vY(QLe,3296,3298,-19),vY(QLe,3298,3302,33),vY(QLe,3302,3312,-87),vY(QLe,3312,3330,33),vY(QLe,3330,3332,-87),QLe[3332]=33,vY(QLe,3333,3341,-19),QLe[3341]=33,vY(QLe,3342,3345,-19),QLe[3345]=33,vY(QLe,3346,3369,-19),QLe[3369]=33,vY(QLe,3370,3386,-19),vY(QLe,3386,3390,33),vY(QLe,3390,3396,-87),vY(QLe,3396,3398,33),vY(QLe,3398,3401,-87),QLe[3401]=33,vY(QLe,3402,3406,-87),vY(QLe,3406,3415,33),QLe[3415]=-87,vY(QLe,3416,3424,33),vY(QLe,3424,3426,-19),vY(QLe,3426,3430,33),vY(QLe,3430,3440,-87),vY(QLe,3440,3585,33),vY(QLe,3585,3631,-19),QLe[3631]=33,QLe[3632]=-19,QLe[3633]=-87,vY(QLe,3634,3636,-19),vY(QLe,3636,3643,-87),vY(QLe,3643,3648,33),vY(QLe,3648,3654,-19),vY(QLe,3654,3663,-87),QLe[3663]=33,vY(QLe,3664,3674,-87),vY(QLe,3674,3713,33),vY(QLe,3713,3715,-19),QLe[3715]=33,QLe[3716]=-19,vY(QLe,3717,3719,33),vY(QLe,3719,3721,-19),QLe[3721]=33,QLe[3722]=-19,vY(QLe,3723,3725,33),QLe[3725]=-19,vY(QLe,3726,3732,33),vY(QLe,3732,3736,-19),QLe[3736]=33,vY(QLe,3737,3744,-19),QLe[3744]=33,vY(QLe,3745,3748,-19),QLe[3748]=33,QLe[3749]=-19,QLe[3750]=33,QLe[3751]=-19,vY(QLe,3752,3754,33),vY(QLe,3754,3756,-19),QLe[3756]=33,vY(QLe,3757,3759,-19),QLe[3759]=33,QLe[3760]=-19,QLe[3761]=-87,vY(QLe,3762,3764,-19),vY(QLe,3764,3770,-87),QLe[3770]=33,vY(QLe,3771,3773,-87),QLe[3773]=-19,vY(QLe,3774,3776,33),vY(QLe,3776,3781,-19),QLe[3781]=33,QLe[3782]=-87,QLe[3783]=33,vY(QLe,3784,3790,-87),vY(QLe,3790,3792,33),vY(QLe,3792,3802,-87),vY(QLe,3802,3864,33),vY(QLe,3864,3866,-87),vY(QLe,3866,3872,33),vY(QLe,3872,3882,-87),vY(QLe,3882,3893,33),QLe[3893]=-87,QLe[3894]=33,QLe[3895]=-87,QLe[3896]=33,QLe[3897]=-87,vY(QLe,3898,3902,33),vY(QLe,3902,3904,-87),vY(QLe,3904,3912,-19),QLe[3912]=33,vY(QLe,3913,3946,-19),vY(QLe,3946,3953,33),vY(QLe,3953,3973,-87),QLe[3973]=33,vY(QLe,3974,3980,-87),vY(QLe,3980,3984,33),vY(QLe,3984,3990,-87),QLe[3990]=33,QLe[3991]=-87,QLe[3992]=33,vY(QLe,3993,4014,-87),vY(QLe,4014,4017,33),vY(QLe,4017,4024,-87),QLe[4024]=33,QLe[4025]=-87,vY(QLe,4026,4256,33),vY(QLe,4256,4294,-19),vY(QLe,4294,4304,33),vY(QLe,4304,4343,-19),vY(QLe,4343,4352,33),QLe[4352]=-19,QLe[4353]=33,vY(QLe,4354,4356,-19),QLe[4356]=33,vY(QLe,4357,4360,-19),QLe[4360]=33,QLe[4361]=-19,QLe[4362]=33,vY(QLe,4363,4365,-19),QLe[4365]=33,vY(QLe,4366,4371,-19),vY(QLe,4371,4412,33),QLe[4412]=-19,QLe[4413]=33,QLe[4414]=-19,QLe[4415]=33,QLe[4416]=-19,vY(QLe,4417,4428,33),QLe[4428]=-19,QLe[4429]=33,QLe[4430]=-19,QLe[4431]=33,QLe[4432]=-19,vY(QLe,4433,4436,33),vY(QLe,4436,4438,-19),vY(QLe,4438,4441,33),QLe[4441]=-19,vY(QLe,4442,4447,33),vY(QLe,4447,4450,-19),QLe[4450]=33,QLe[4451]=-19,QLe[4452]=33,QLe[4453]=-19,QLe[4454]=33,QLe[4455]=-19,QLe[4456]=33,QLe[4457]=-19,vY(QLe,4458,4461,33),vY(QLe,4461,4463,-19),vY(QLe,4463,4466,33),vY(QLe,4466,4468,-19),QLe[4468]=33,QLe[4469]=-19,vY(QLe,4470,4510,33),QLe[4510]=-19,vY(QLe,4511,4520,33),QLe[4520]=-19,vY(QLe,4521,4523,33),QLe[4523]=-19,vY(QLe,4524,4526,33),vY(QLe,4526,4528,-19),vY(QLe,4528,4535,33),vY(QLe,4535,4537,-19),QLe[4537]=33,QLe[4538]=-19,QLe[4539]=33,vY(QLe,4540,4547,-19),vY(QLe,4547,4587,33),QLe[4587]=-19,vY(QLe,4588,4592,33),QLe[4592]=-19,vY(QLe,4593,4601,33),QLe[4601]=-19,vY(QLe,4602,7680,33),vY(QLe,7680,7836,-19),vY(QLe,7836,7840,33),vY(QLe,7840,7930,-19),vY(QLe,7930,7936,33),vY(QLe,7936,7958,-19),vY(QLe,7958,7960,33),vY(QLe,7960,7966,-19),vY(QLe,7966,7968,33),vY(QLe,7968,8006,-19),vY(QLe,8006,8008,33),vY(QLe,8008,8014,-19),vY(QLe,8014,8016,33),vY(QLe,8016,8024,-19),QLe[8024]=33,QLe[8025]=-19,QLe[8026]=33,QLe[8027]=-19,QLe[8028]=33,QLe[8029]=-19,QLe[8030]=33,vY(QLe,8031,8062,-19),vY(QLe,8062,8064,33),vY(QLe,8064,8117,-19),QLe[8117]=33,vY(QLe,8118,8125,-19),QLe[8125]=33,QLe[8126]=-19,vY(QLe,8127,8130,33),vY(QLe,8130,8133,-19),QLe[8133]=33,vY(QLe,8134,8141,-19),vY(QLe,8141,8144,33),vY(QLe,8144,8148,-19),vY(QLe,8148,8150,33),vY(QLe,8150,8156,-19),vY(QLe,8156,8160,33),vY(QLe,8160,8173,-19),vY(QLe,8173,8178,33),vY(QLe,8178,8181,-19),QLe[8181]=33,vY(QLe,8182,8189,-19),vY(QLe,8189,8400,33),vY(QLe,8400,8413,-87),vY(QLe,8413,8417,33),QLe[8417]=-87,vY(QLe,8418,8486,33),QLe[8486]=-19,vY(QLe,8487,8490,33),vY(QLe,8490,8492,-19),vY(QLe,8492,8494,33),QLe[8494]=-19,vY(QLe,8495,8576,33),vY(QLe,8576,8579,-19),vY(QLe,8579,12293,33),QLe[12293]=-87,QLe[12294]=33,QLe[12295]=-19,vY(QLe,12296,12321,33),vY(QLe,12321,12330,-19),vY(QLe,12330,12336,-87),QLe[12336]=33,vY(QLe,12337,12342,-87),vY(QLe,12342,12353,33),vY(QLe,12353,12437,-19),vY(QLe,12437,12441,33),vY(QLe,12441,12443,-87),vY(QLe,12443,12445,33),vY(QLe,12445,12447,-87),vY(QLe,12447,12449,33),vY(QLe,12449,12539,-19),QLe[12539]=33,vY(QLe,12540,12543,-87),vY(QLe,12543,12549,33),vY(QLe,12549,12589,-19),vY(QLe,12589,19968,33),vY(QLe,19968,40870,-19),vY(QLe,40870,44032,33),vY(QLe,44032,55204,-19),vY(QLe,55204,HXt,33),vY(QLe,57344,65534,33)}function EWt(t){var e,n,i,r,a,o,s;t.hb||(t.hb=!0,Prt(t,"ecore"),Brt(t,"ecore"),Frt(t,X7t),ost(t.fb,"E"),ost(t.L,"T"),ost(t.P,"K"),ost(t.P,"V"),ost(t.cb,"E"),h7(xV(t.b),t.bb),h7(xV(t.a),t.Q),h7(xV(t.o),t.p),h7(xV(t.p),t.R),h7(xV(t.q),t.p),h7(xV(t.v),t.q),h7(xV(t.w),t.R),h7(xV(t.B),t.Q),h7(xV(t.R),t.Q),h7(xV(t.T),t.eb),h7(xV(t.U),t.R),h7(xV(t.V),t.eb),h7(xV(t.W),t.bb),h7(xV(t.bb),t.eb),h7(xV(t.eb),t.R),h7(xV(t.db),t.R),G0(t.b,zDe,d7t,!1,!1,!0),cat(zz(Ket(XX(t.b),0),34),t.e,"iD",null,0,1,zDe,!1,!1,!0,!1,!0,!1),Tvt(zz(Ket(XX(t.b),1),18),t.q,null,"eAttributeType",1,1,zDe,!0,!0,!1,!1,!0,!1,!0),G0(t.a,RDe,l7t,!1,!1,!0),cat(zz(Ket(XX(t.a),0),34),t._,E6t,null,0,1,RDe,!1,!1,!0,!1,!0,!1),Tvt(zz(Ket(XX(t.a),1),18),t.ab,null,"details",0,-1,RDe,!1,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.a),2),18),t.Q,zz(Ket(XX(t.Q),0),18),"eModelElement",0,1,RDe,!0,!1,!0,!1,!1,!1,!1),Tvt(zz(Ket(XX(t.a),3),18),t.S,null,"contents",0,-1,RDe,!1,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.a),4),18),t.S,null,"references",0,-1,RDe,!1,!1,!0,!1,!0,!1,!1),G0(t.o,HDe,"EClass",!1,!1,!0),cat(zz(Ket(XX(t.o),0),34),t.e,"abstract",null,0,1,HDe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.o),1),34),t.e,"interface",null,0,1,HDe,!1,!1,!0,!1,!0,!1),Tvt(zz(Ket(XX(t.o),2),18),t.o,null,"eSuperTypes",0,-1,HDe,!1,!1,!0,!1,!0,!0,!1),Tvt(zz(Ket(XX(t.o),3),18),t.T,zz(Ket(XX(t.T),0),18),"eOperations",0,-1,HDe,!1,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.o),4),18),t.b,null,"eAllAttributes",0,-1,HDe,!0,!0,!1,!1,!0,!1,!0),Tvt(zz(Ket(XX(t.o),5),18),t.W,null,"eAllReferences",0,-1,HDe,!0,!0,!1,!1,!0,!1,!0),Tvt(zz(Ket(XX(t.o),6),18),t.W,null,"eReferences",0,-1,HDe,!0,!0,!1,!1,!0,!1,!0),Tvt(zz(Ket(XX(t.o),7),18),t.b,null,"eAttributes",0,-1,HDe,!0,!0,!1,!1,!0,!1,!0),Tvt(zz(Ket(XX(t.o),8),18),t.W,null,"eAllContainments",0,-1,HDe,!0,!0,!1,!1,!0,!1,!0),Tvt(zz(Ket(XX(t.o),9),18),t.T,null,"eAllOperations",0,-1,HDe,!0,!0,!1,!1,!0,!1,!0),Tvt(zz(Ket(XX(t.o),10),18),t.bb,null,"eAllStructuralFeatures",0,-1,HDe,!0,!0,!1,!1,!0,!1,!0),Tvt(zz(Ket(XX(t.o),11),18),t.o,null,"eAllSuperTypes",0,-1,HDe,!0,!0,!1,!1,!0,!1,!0),Tvt(zz(Ket(XX(t.o),12),18),t.b,null,"eIDAttribute",0,1,HDe,!0,!0,!1,!1,!1,!1,!0),Tvt(zz(Ket(XX(t.o),13),18),t.bb,zz(Ket(XX(t.bb),7),18),"eStructuralFeatures",0,-1,HDe,!1,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.o),14),18),t.H,null,"eGenericSuperTypes",0,-1,HDe,!1,!1,!0,!0,!1,!0,!1),Tvt(zz(Ket(XX(t.o),15),18),t.H,null,"eAllGenericSuperTypes",0,-1,HDe,!0,!0,!1,!1,!0,!1,!0),Lvt(s=fit(zz(Ket(KX(t.o),0),59),t.e,"isSuperTypeOf"),t.o,"someClass"),fit(zz(Ket(KX(t.o),1),59),t.I,"getFeatureCount"),Lvt(s=fit(zz(Ket(KX(t.o),2),59),t.bb,t9t),t.I,"featureID"),Lvt(s=fit(zz(Ket(KX(t.o),3),59),t.I,e9t),t.bb,n9t),Lvt(s=fit(zz(Ket(KX(t.o),4),59),t.bb,t9t),t._,"featureName"),fit(zz(Ket(KX(t.o),5),59),t.I,"getOperationCount"),Lvt(s=fit(zz(Ket(KX(t.o),6),59),t.T,"getEOperation"),t.I,"operationID"),Lvt(s=fit(zz(Ket(KX(t.o),7),59),t.I,i9t),t.T,r9t),Lvt(s=fit(zz(Ket(KX(t.o),8),59),t.T,"getOverride"),t.T,r9t),Lvt(s=fit(zz(Ket(KX(t.o),9),59),t.H,"getFeatureType"),t.bb,n9t),G0(t.p,qDe,g7t,!0,!1,!0),cat(zz(Ket(XX(t.p),0),34),t._,"instanceClassName",null,0,1,qDe,!1,!0,!0,!0,!0,!1),e=JK(t.L),n=u2(),h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),$Mt(zz(Ket(XX(t.p),1),34),e,"instanceClass",qDe,!0,!0,!1,!0),cat(zz(Ket(XX(t.p),2),34),t.M,a9t,null,0,1,qDe,!0,!0,!1,!1,!0,!0),cat(zz(Ket(XX(t.p),3),34),t._,"instanceTypeName",null,0,1,qDe,!1,!0,!0,!0,!0,!1),Tvt(zz(Ket(XX(t.p),4),18),t.U,zz(Ket(XX(t.U),3),18),"ePackage",0,1,qDe,!0,!1,!1,!1,!0,!1,!1),Tvt(zz(Ket(XX(t.p),5),18),t.db,null,o9t,0,-1,qDe,!1,!1,!0,!0,!0,!1,!1),Lvt(s=fit(zz(Ket(KX(t.p),0),59),t.e,s9t),t.M,OWt),fit(zz(Ket(KX(t.p),1),59),t.I,"getClassifierID"),G0(t.q,UDe,"EDataType",!1,!1,!0),cat(zz(Ket(XX(t.q),0),34),t.e,"serializable",s5t,0,1,UDe,!1,!1,!0,!1,!0,!1),G0(t.v,ZDe,"EEnum",!1,!1,!0),Tvt(zz(Ket(XX(t.v),0),18),t.w,zz(Ket(XX(t.w),3),18),"eLiterals",0,-1,ZDe,!1,!1,!0,!0,!1,!1,!1),Lvt(s=fit(zz(Ket(KX(t.v),0),59),t.w,c9t),t._,n8t),Lvt(s=fit(zz(Ket(KX(t.v),1),59),t.w,c9t),t.I,A6t),Lvt(s=fit(zz(Ket(KX(t.v),2),59),t.w,"getEEnumLiteralByLiteral"),t._,"literal"),G0(t.w,WDe,p7t,!1,!1,!0),cat(zz(Ket(XX(t.w),0),34),t.I,A6t,null,0,1,WDe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.w),1),34),t.A,"instance",null,0,1,WDe,!0,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.w),2),34),t._,"literal",null,0,1,WDe,!1,!1,!0,!1,!0,!1),Tvt(zz(Ket(XX(t.w),3),18),t.v,zz(Ket(XX(t.v),0),18),"eEnum",0,1,WDe,!0,!1,!1,!1,!1,!1,!1),G0(t.B,qMe,"EFactory",!1,!1,!0),Tvt(zz(Ket(XX(t.B),0),18),t.U,zz(Ket(XX(t.U),2),18),"ePackage",1,1,qMe,!0,!1,!0,!1,!1,!1,!1),Lvt(s=fit(zz(Ket(KX(t.B),0),59),t.S,"create"),t.o,"eClass"),Lvt(s=fit(zz(Ket(KX(t.B),1),59),t.M,"createFromString"),t.q,"eDataType"),Lvt(s,t._,"literalValue"),Lvt(s=fit(zz(Ket(KX(t.B),2),59),t._,"convertToString"),t.q,"eDataType"),Lvt(s,t.M,"instanceValue"),G0(t.Q,zMe,Q5t,!0,!1,!0),Tvt(zz(Ket(XX(t.Q),0),18),t.a,zz(Ket(XX(t.a),2),18),"eAnnotations",0,-1,zMe,!1,!1,!0,!0,!1,!1,!1),Lvt(s=fit(zz(Ket(KX(t.Q),0),59),t.a,"getEAnnotation"),t._,E6t),G0(t.R,HMe,J5t,!0,!1,!0),cat(zz(Ket(XX(t.R),0),34),t._,n8t,null,0,1,HMe,!1,!1,!0,!1,!0,!1),G0(t.S,LMe,"EObject",!1,!1,!0),fit(zz(Ket(KX(t.S),0),59),t.o,"eClass"),fit(zz(Ket(KX(t.S),1),59),t.e,"eIsProxy"),fit(zz(Ket(KX(t.S),2),59),t.X,"eResource"),fit(zz(Ket(KX(t.S),3),59),t.S,"eContainer"),fit(zz(Ket(KX(t.S),4),59),t.bb,"eContainingFeature"),fit(zz(Ket(KX(t.S),5),59),t.W,"eContainmentFeature"),s=fit(zz(Ket(KX(t.S),6),59),null,"eContents"),e=JK(t.fb),n=JK(t.S),h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),(r=HAt(s,e,null))&&r.Fi(),s=fit(zz(Ket(KX(t.S),7),59),null,"eAllContents"),e=JK(t.cb),n=JK(t.S),h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),(a=HAt(s,e,null))&&a.Fi(),s=fit(zz(Ket(KX(t.S),8),59),null,"eCrossReferences"),e=JK(t.fb),n=JK(t.S),h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),(o=HAt(s,e,null))&&o.Fi(),Lvt(s=fit(zz(Ket(KX(t.S),9),59),t.M,"eGet"),t.bb,n9t),Lvt(s=fit(zz(Ket(KX(t.S),10),59),t.M,"eGet"),t.bb,n9t),Lvt(s,t.e,"resolve"),Lvt(s=fit(zz(Ket(KX(t.S),11),59),null,"eSet"),t.bb,n9t),Lvt(s,t.M,"newValue"),Lvt(s=fit(zz(Ket(KX(t.S),12),59),t.e,"eIsSet"),t.bb,n9t),Lvt(s=fit(zz(Ket(KX(t.S),13),59),null,"eUnset"),t.bb,n9t),Lvt(s=fit(zz(Ket(KX(t.S),14),59),t.M,"eInvoke"),t.T,r9t),e=JK(t.fb),n=u2(),h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),Zkt(s,e,"arguments"),jW(s,t.K),G0(t.T,XDe,w7t,!1,!1,!0),Tvt(zz(Ket(XX(t.T),0),18),t.o,zz(Ket(XX(t.o),3),18),u9t,0,1,XDe,!0,!1,!1,!1,!1,!1,!1),Tvt(zz(Ket(XX(t.T),1),18),t.db,null,o9t,0,-1,XDe,!1,!1,!0,!0,!0,!1,!1),Tvt(zz(Ket(XX(t.T),2),18),t.V,zz(Ket(XX(t.V),0),18),"eParameters",0,-1,XDe,!1,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.T),3),18),t.p,null,"eExceptions",0,-1,XDe,!1,!1,!0,!1,!0,!0,!1),Tvt(zz(Ket(XX(t.T),4),18),t.H,null,"eGenericExceptions",0,-1,XDe,!1,!1,!0,!0,!1,!0,!1),fit(zz(Ket(KX(t.T),0),59),t.I,i9t),Lvt(s=fit(zz(Ket(KX(t.T),1),59),t.e,"isOverrideOf"),t.T,"someOperation"),G0(t.U,UMe,"EPackage",!1,!1,!0),cat(zz(Ket(XX(t.U),0),34),t._,"nsURI",null,0,1,UMe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.U),1),34),t._,"nsPrefix",null,0,1,UMe,!1,!1,!0,!1,!0,!1),Tvt(zz(Ket(XX(t.U),2),18),t.B,zz(Ket(XX(t.B),0),18),"eFactoryInstance",1,1,UMe,!0,!1,!0,!1,!1,!1,!1),Tvt(zz(Ket(XX(t.U),3),18),t.p,zz(Ket(XX(t.p),4),18),"eClassifiers",0,-1,UMe,!1,!1,!0,!0,!0,!1,!1),Tvt(zz(Ket(XX(t.U),4),18),t.U,zz(Ket(XX(t.U),5),18),"eSubpackages",0,-1,UMe,!1,!1,!0,!0,!0,!1,!1),Tvt(zz(Ket(XX(t.U),5),18),t.U,zz(Ket(XX(t.U),4),18),"eSuperPackage",0,1,UMe,!0,!1,!1,!1,!0,!1,!1),Lvt(s=fit(zz(Ket(KX(t.U),0),59),t.p,"getEClassifier"),t._,n8t),G0(t.V,VDe,m7t,!1,!1,!0),Tvt(zz(Ket(XX(t.V),0),18),t.T,zz(Ket(XX(t.T),2),18),"eOperation",0,1,VDe,!0,!1,!1,!1,!1,!1,!1),G0(t.W,QDe,y7t,!1,!1,!0),cat(zz(Ket(XX(t.W),0),34),t.e,"containment",null,0,1,QDe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.W),1),34),t.e,"container",null,0,1,QDe,!0,!0,!1,!1,!0,!0),cat(zz(Ket(XX(t.W),2),34),t.e,"resolveProxies",s5t,0,1,QDe,!1,!1,!0,!1,!0,!1),Tvt(zz(Ket(XX(t.W),3),18),t.W,null,"eOpposite",0,1,QDe,!1,!1,!0,!1,!0,!1,!1),Tvt(zz(Ket(XX(t.W),4),18),t.o,null,"eReferenceType",1,1,QDe,!0,!0,!1,!1,!0,!1,!0),Tvt(zz(Ket(XX(t.W),5),18),t.b,null,"eKeys",0,-1,QDe,!1,!1,!0,!1,!0,!1,!1),G0(t.bb,$De,f7t,!0,!1,!0),cat(zz(Ket(XX(t.bb),0),34),t.e,"changeable",s5t,0,1,$De,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.bb),1),34),t.e,"volatile",null,0,1,$De,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.bb),2),34),t.e,"transient",null,0,1,$De,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.bb),3),34),t._,"defaultValueLiteral",null,0,1,$De,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.bb),4),34),t.M,a9t,null,0,1,$De,!0,!0,!1,!1,!0,!0),cat(zz(Ket(XX(t.bb),5),34),t.e,"unsettable",null,0,1,$De,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.bb),6),34),t.e,"derived",null,0,1,$De,!1,!1,!0,!1,!0,!1),Tvt(zz(Ket(XX(t.bb),7),18),t.o,zz(Ket(XX(t.o),13),18),u9t,0,1,$De,!0,!1,!1,!1,!1,!1,!1),fit(zz(Ket(KX(t.bb),0),59),t.I,e9t),s=fit(zz(Ket(KX(t.bb),1),59),null,"getContainerClass"),e=JK(t.L),n=u2(),h7((!e.d&&(e.d=new OL(KDe,e,1)),e.d),n),(i=HAt(s,e,null))&&i.Fi(),G0(t.eb,jDe,h7t,!0,!1,!0),cat(zz(Ket(XX(t.eb),0),34),t.e,"ordered",s5t,0,1,jDe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.eb),1),34),t.e,"unique",s5t,0,1,jDe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.eb),2),34),t.I,"lowerBound",null,0,1,jDe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.eb),3),34),t.I,"upperBound","1",0,1,jDe,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.eb),4),34),t.e,"many",null,0,1,jDe,!0,!0,!1,!1,!0,!0),cat(zz(Ket(XX(t.eb),5),34),t.e,"required",null,0,1,jDe,!0,!0,!1,!1,!0,!0),Tvt(zz(Ket(XX(t.eb),6),18),t.p,null,"eType",0,1,jDe,!1,!0,!0,!1,!0,!0,!1),Tvt(zz(Ket(XX(t.eb),7),18),t.H,null,"eGenericType",0,1,jDe,!1,!0,!0,!0,!1,!0,!1),G0(t.ab,Hte,"EStringToStringMapEntry",!1,!1,!1),cat(zz(Ket(XX(t.ab),0),34),t._,"key",null,0,1,Hte,!1,!1,!0,!1,!0,!1),cat(zz(Ket(XX(t.ab),1),34),t._,A6t,null,0,1,Hte,!1,!1,!0,!1,!0,!1),G0(t.H,KDe,b7t,!1,!1,!0),Tvt(zz(Ket(XX(t.H),0),18),t.H,null,"eUpperBound",0,1,KDe,!1,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.H),1),18),t.H,null,"eTypeArguments",0,-1,KDe,!1,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.H),2),18),t.p,null,"eRawType",1,1,KDe,!0,!1,!1,!1,!0,!1,!0),Tvt(zz(Ket(XX(t.H),3),18),t.H,null,"eLowerBound",0,1,KDe,!1,!1,!0,!0,!1,!1,!1),Tvt(zz(Ket(XX(t.H),4),18),t.db,null,"eTypeParameter",0,1,KDe,!1,!1,!0,!1,!1,!1,!1),Tvt(zz(Ket(XX(t.H),5),18),t.p,null,"eClassifier",0,1,KDe,!1,!1,!0,!1,!0,!1,!1),Lvt(s=fit(zz(Ket(KX(t.H),0),59),t.e,s9t),t.M,OWt),G0(t.db,MOe,v7t,!1,!1,!0),Tvt(zz(Ket(XX(t.db),0),18),t.H,null,"eBounds",0,-1,MOe,!1,!1,!0,!0,!1,!1,!1),pK(t.c,rne,"EBigDecimal",!0),pK(t.d,une,"EBigInteger",!0),pK(t.e,ONe,"EBoolean",!0),pK(t.f,kee,"EBooleanObject",!0),pK(t.i,NNe,"EByte",!0),pK(t.g,Ux(NNe,1),"EByteArray",!0),pK(t.j,Eee,"EByteObject",!0),pK(t.k,MNe,"EChar",!0),pK(t.n,Cee,"ECharacterObject",!0),pK(t.r,vee,"EDate",!0),pK(t.s,jNe,"EDiagnosticChain",!1),pK(t.t,PNe,"EDouble",!0),pK(t.u,See,"EDoubleObject",!0),pK(t.fb,sDe,"EEList",!1),pK(t.A,vDe,"EEnumerator",!1),pK(t.C,cLe,"EFeatureMap",!1),pK(t.D,OOe,"EFeatureMapEntry",!1),pK(t.F,BNe,"EFloat",!0),pK(t.G,Iee,"EFloatObject",!0),pK(t.I,DNe,"EInt",!0),pK(t.J,Oee,"EIntegerObject",!0),pK(t.L,Lte,"EJavaClass",!0),pK(t.M,Ote,"EJavaObject",!0),pK(t.N,LNe,"ELong",!0),pK(t.O,Ree,"ELongObject",!0),pK(t.P,Pte,"EMap",!1),pK(t.X,iLe,"EResource",!1),pK(t.Y,$Ne,"EResourceSet",!1),pK(t.Z,FNe,"EShort",!0),pK(t.$,$ee,"EShortObject",!0),pK(t._,Vee,"EString",!0),pK(t.cb,uDe,"ETreeIterator",!1),pK(t.K,zNe,"EInvocationTargetException",!1),Nlt(t,X7t))}"undefined"!=typeof window?n=window:void 0!==t?n=t:"undefined"!=typeof self&&(n=self);var TWt,CWt,SWt,IWt,MWt,DWt,OWt="object",LWt="boolean",NWt="number",PWt="string",BWt="function",FWt=2147483647,RWt="java.lang",jWt={3:1},$Wt="com.google.common.base",zWt=", ",qWt="%s (%s) must not be negative",HWt={3:1,4:1,5:1},UWt="negative size: ",GWt="Optional.of(",YWt="null",ZWt={198:1,47:1},WWt="com.google.common.collect",KWt={198:1,47:1,125:1},XWt={224:1,3:1},VWt={47:1},QWt="java.util",JWt={83:1},tKt={20:1,28:1,14:1},eKt=1965,nKt={20:1,28:1,14:1,21:1},iKt={83:1,171:1,161:1},rKt={20:1,28:1,14:1,21:1,84:1},aKt={20:1,28:1,14:1,271:1,21:1,84:1},oKt={47:1,125:1},sKt={345:1,42:1},cKt="AbstractMapEntry",uKt="expectedValuesPerKey",lKt={3:1,6:1,4:1,5:1},hKt=16384,fKt={164:1},dKt={38:1},gKt={l:4194303,m:4194303,h:524287},pKt={196:1},bKt={245:1,3:1,35:1},wKt="range unbounded on this side",mKt={20:1},yKt={20:1,14:1},vKt={3:1,20:1,28:1,14:1},xKt={152:1,3:1,20:1,28:1,14:1,15:1,54:1},kKt={3:1,4:1,5:1,165:1},_Kt={3:1,83:1},AKt={20:1,14:1,21:1},EKt={3:1,20:1,28:1,14:1,21:1},TKt={20:1,14:1,21:1,84:1},CKt=461845907,SKt=-862048943,IKt={3:1,6:1,4:1,5:1,165:1},MKt="expectedSize",DKt=1073741824,OKt="initialArraySize",LKt={3:1,6:1,4:1,9:1,5:1},NKt={20:1,28:1,52:1,14:1,15:1},PKt="arraySize",BKt={20:1,28:1,52:1,14:1,15:1,54:1},FKt={45:1},RKt={365:1},jKt=1e-4,$Kt=-2147483648,zKt="__noinit__",qKt={3:1,102:1,60:1,78:1},HKt="com.google.gwt.core.client.impl",UKt="String",GKt="com.google.gwt.core.client",YKt="anonymous",ZKt="fnStack",WKt="Unknown",KKt={195:1,3:1,4:1},XKt=1e3,VKt=65535,QKt="January",JKt="February",tXt="March",eXt="April",nXt="May",iXt="June",rXt="July",aXt="August",oXt="September",sXt="October",cXt="November",uXt="December",lXt=1900,hXt={48:1,3:1,4:1},fXt="Before Christ",dXt="Anno Domini",gXt="Sunday",pXt="Monday",bXt="Tuesday",wXt="Wednesday",mXt="Thursday",yXt="Friday",vXt="Saturday",xXt="com.google.gwt.i18n.shared",kXt="DateTimeFormat",_Xt="com.google.gwt.i18n.client",AXt="DefaultDateTimeFormatInfo",EXt={3:1,4:1,35:1,199:1},TXt="com.google.gwt.json.client",CXt=4194303,SXt=1048575,IXt=524288,MXt=4194304,DXt=17592186044416,OXt=1e9,LXt=-17592186044416,NXt="java.io",PXt={3:1,102:1,73:1,60:1,78:1},BXt={3:1,289:1,78:1},FXt='For input string: "',RXt=1/0,jXt=-1/0,$Xt=4096,zXt={3:1,4:1,364:1},qXt=65536,HXt=55296,UXt={104:1,3:1,4:1},GXt=1e5,YXt=.3010299956639812,ZXt=4294967295,WXt=4294967296,KXt="0.0",XXt={42:1},VXt={3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1},QXt={3:1,20:1,28:1,52:1,14:1,15:1,54:1},JXt={20:1,14:1,15:1},tVt={3:1,62:1},eVt={182:1},nVt={3:1,4:1,83:1},iVt={3:1,4:1,20:1,28:1,14:1,53:1,21:1},rVt="delete",aVt=1.4901161193847656e-8,oVt=11102230246251565e-32,sVt=15525485,cVt=5.960464477539063e-8,uVt=16777216,lVt=16777215,hVt=", length: ",fVt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1},dVt={3:1,35:1,22:1,297:1},gVt="java.util.function",pVt="java.util.logging",bVt={3:1,4:1,5:1,842:1},wVt="undefined",mVt="java.util.stream",yVt={525:1,670:1},vVt="fromIndex: ",xVt=" > toIndex: ",kVt=", toIndex: ",_Vt="Index: ",AVt=", Size: ",EVt="org.eclipse.elk.alg.common",TVt={62:1},CVt="org.eclipse.elk.alg.common.compaction",SVt="Scanline/EventHandler",IVt="org.eclipse.elk.alg.common.compaction.oned",MVt="CNode belongs to another CGroup.",DVt="ISpacingsHandler/1",OVt="The ",LVt=" instance has been finished already.",NVt="The direction ",PVt=" is not supported by the CGraph instance.",BVt="OneDimensionalCompactor",FVt="OneDimensionalCompactor/lambda$0$Type",RVt="Quadruplet",jVt="ScanlineConstraintCalculator",$Vt="ScanlineConstraintCalculator/ConstraintsScanlineHandler",zVt="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",qVt="ScanlineConstraintCalculator/Timestamp",HVt="ScanlineConstraintCalculator/lambda$0$Type",UVt={169:1,45:1},GVt="org.eclipse.elk.alg.common.compaction.options",YVt="org.eclipse.elk.core.data",ZVt="org.eclipse.elk.polyomino.traversalStrategy",WVt="org.eclipse.elk.polyomino.lowLevelSort",KVt="org.eclipse.elk.polyomino.highLevelSort",XVt="org.eclipse.elk.polyomino.fill",VVt={130:1},QVt="polyomino",JVt="org.eclipse.elk.alg.common.networksimplex",tQt={177:1,3:1,4:1},eQt="org.eclipse.elk.alg.common.nodespacing",nQt="org.eclipse.elk.alg.common.nodespacing.cellsystem",iQt="CENTER",rQt={212:1,326:1},aQt={3:1,4:1,5:1,595:1},oQt="LEFT",sQt="RIGHT",cQt="Vertical alignment cannot be null",uQt="BOTTOM",lQt="org.eclipse.elk.alg.common.nodespacing.internal",hQt="UNDEFINED",fQt=.01,dQt="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",gQt="LabelPlacer/lambda$0$Type",pQt="LabelPlacer/lambda$1$Type",bQt="portRatioOrPosition",wQt="org.eclipse.elk.alg.common.overlaps",mQt="DOWN",yQt="org.eclipse.elk.alg.common.polyomino",vQt="NORTH",xQt="EAST",kQt="SOUTH",_Qt="WEST",AQt="org.eclipse.elk.alg.common.polyomino.structures",EQt="Direction",TQt="Grid is only of size ",CQt=". Requested point (",SQt=") is out of bounds.",IQt=" Given center based coordinates were (",MQt="org.eclipse.elk.graph.properties",DQt="IPropertyHolder",OQt={3:1,94:1,134:1},LQt="org.eclipse.elk.alg.common.spore",NQt="org.eclipse.elk.alg.common.utils",PQt={209:1},BQt="org.eclipse.elk.core",FQt="Connected Components Compaction",RQt="org.eclipse.elk.alg.disco",jQt="org.eclipse.elk.alg.disco.graph",$Qt="org.eclipse.elk.alg.disco.options",zQt="CompactionStrategy",qQt="org.eclipse.elk.disco.componentCompaction.strategy",HQt="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",UQt="org.eclipse.elk.disco.debug.discoGraph",GQt="org.eclipse.elk.disco.debug.discoPolys",YQt="componentCompaction",ZQt="org.eclipse.elk.disco",WQt="org.eclipse.elk.spacing.componentComponent",KQt="org.eclipse.elk.edge.thickness",XQt="org.eclipse.elk.aspectRatio",VQt="org.eclipse.elk.padding",QQt="org.eclipse.elk.alg.disco.transform",JQt=1.5707963267948966,tJt=17976931348623157e292,eJt={3:1,4:1,5:1,192:1},nJt={3:1,6:1,4:1,5:1,106:1,120:1},iJt="org.eclipse.elk.alg.force",rJt="ComponentsProcessor",aJt="ComponentsProcessor/1",oJt="org.eclipse.elk.alg.force.graph",sJt="Component Layout",cJt="org.eclipse.elk.alg.force.model",uJt="org.eclipse.elk.force.model",lJt="org.eclipse.elk.force.iterations",hJt="org.eclipse.elk.force.repulsivePower",fJt="org.eclipse.elk.force.temperature",dJt=.001,gJt="org.eclipse.elk.force.repulsion",pJt="org.eclipse.elk.alg.force.options",bJt=1.600000023841858,wJt="org.eclipse.elk.force",mJt="org.eclipse.elk.priority",yJt="org.eclipse.elk.spacing.nodeNode",vJt="org.eclipse.elk.spacing.edgeLabel",xJt="org.eclipse.elk.randomSeed",kJt="org.eclipse.elk.separateConnectedComponents",_Jt="org.eclipse.elk.interactive",AJt="org.eclipse.elk.portConstraints",EJt="org.eclipse.elk.edgeLabels.inline",TJt="org.eclipse.elk.omitNodeMicroLayout",CJt="org.eclipse.elk.nodeSize.options",SJt="org.eclipse.elk.nodeSize.constraints",IJt="org.eclipse.elk.nodeLabels.placement",MJt="org.eclipse.elk.portLabels.placement",DJt="origin",OJt="random",LJt="boundingBox.upLeft",NJt="boundingBox.lowRight",PJt="org.eclipse.elk.stress.fixed",BJt="org.eclipse.elk.stress.desiredEdgeLength",FJt="org.eclipse.elk.stress.dimension",RJt="org.eclipse.elk.stress.epsilon",jJt="org.eclipse.elk.stress.iterationLimit",$Jt="org.eclipse.elk.stress",zJt="ELK Stress",qJt="org.eclipse.elk.nodeSize.minimum",HJt="org.eclipse.elk.alg.force.stress",UJt="Layered layout",GJt="org.eclipse.elk.alg.layered",YJt="org.eclipse.elk.alg.layered.compaction.components",ZJt="org.eclipse.elk.alg.layered.compaction.oned",WJt="org.eclipse.elk.alg.layered.compaction.oned.algs",KJt="org.eclipse.elk.alg.layered.compaction.recthull",XJt="org.eclipse.elk.alg.layered.components",VJt="NONE",QJt={3:1,6:1,4:1,9:1,5:1,122:1},JJt={3:1,6:1,4:1,5:1,141:1,106:1,120:1},t1t="org.eclipse.elk.alg.layered.compound",e1t={51:1},n1t="org.eclipse.elk.alg.layered.graph",i1t=" -> ",r1t="Not supported by LGraph",a1t="Port side is undefined",o1t={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},s1t={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},c1t={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},u1t="([{\"' \t\r\n",l1t=")]}\"' \t\r\n",h1t="The given string contains parts that cannot be parsed as numbers.",f1t="org.eclipse.elk.core.math",d1t={3:1,4:1,142:1,207:1,414:1},g1t={3:1,4:1,116:1,207:1,414:1},p1t="org.eclipse.elk.layered",b1t="org.eclipse.elk.alg.layered.graph.transform",w1t="ElkGraphImporter",m1t="ElkGraphImporter/lambda$0$Type",y1t="ElkGraphImporter/lambda$1$Type",v1t="ElkGraphImporter/lambda$2$Type",x1t="ElkGraphImporter/lambda$4$Type",k1t="Node margin calculation",_1t="org.eclipse.elk.alg.layered.intermediate",A1t="ONE_SIDED_GREEDY_SWITCH",E1t="TWO_SIDED_GREEDY_SWITCH",T1t="No implementation is available for the layout processor ",C1t="IntermediateProcessorStrategy",S1t="Node '",I1t="FIRST_SEPARATE",M1t="LAST_SEPARATE",D1t="Odd port side processing",O1t="org.eclipse.elk.alg.layered.intermediate.compaction",L1t="org.eclipse.elk.alg.layered.intermediate.greedyswitch",N1t="org.eclipse.elk.alg.layered.p3order.counting",P1t={225:1},B1t="org.eclipse.elk.alg.layered.intermediate.loops",F1t="org.eclipse.elk.alg.layered.intermediate.loops.ordering",R1t="org.eclipse.elk.alg.layered.intermediate.loops.routing",j1t="org.eclipse.elk.alg.layered.intermediate.preserveorder",$1t="org.eclipse.elk.alg.layered.intermediate.wrapping",z1t="org.eclipse.elk.alg.layered.options",q1t="INTERACTIVE",H1t="DEPTH_FIRST",U1t="EDGE_LENGTH",G1t="SELF_LOOPS",Y1t="firstTryWithInitialOrder",Z1t="org.eclipse.elk.layered.directionCongruency",W1t="org.eclipse.elk.layered.feedbackEdges",K1t="org.eclipse.elk.layered.interactiveReferencePoint",X1t="org.eclipse.elk.layered.mergeEdges",V1t="org.eclipse.elk.layered.mergeHierarchyEdges",Q1t="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",J1t="org.eclipse.elk.layered.portSortingStrategy",t0t="org.eclipse.elk.layered.thoroughness",e0t="org.eclipse.elk.layered.unnecessaryBendpoints",n0t="org.eclipse.elk.layered.generatePositionAndLayerIds",i0t="org.eclipse.elk.layered.cycleBreaking.strategy",r0t="org.eclipse.elk.layered.layering.strategy",a0t="org.eclipse.elk.layered.layering.layerConstraint",o0t="org.eclipse.elk.layered.layering.layerChoiceConstraint",s0t="org.eclipse.elk.layered.layering.layerId",c0t="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",u0t="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",l0t="org.eclipse.elk.layered.layering.nodePromotion.strategy",h0t="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",f0t="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",d0t="org.eclipse.elk.layered.crossingMinimization.strategy",g0t="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",p0t="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",b0t="org.eclipse.elk.layered.crossingMinimization.semiInteractive",w0t="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",m0t="org.eclipse.elk.layered.crossingMinimization.positionId",y0t="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",v0t="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",x0t="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",k0t="org.eclipse.elk.layered.nodePlacement.strategy",_0t="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",A0t="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",E0t="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",T0t="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",C0t="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",S0t="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",I0t="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",M0t="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",D0t="org.eclipse.elk.layered.edgeRouting.splines.mode",O0t="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",L0t="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",N0t="org.eclipse.elk.layered.spacing.baseValue",P0t="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",B0t="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",F0t="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",R0t="org.eclipse.elk.layered.priority.direction",j0t="org.eclipse.elk.layered.priority.shortness",$0t="org.eclipse.elk.layered.priority.straightness",z0t="org.eclipse.elk.layered.compaction.connectedComponents",q0t="org.eclipse.elk.layered.compaction.postCompaction.strategy",H0t="org.eclipse.elk.layered.compaction.postCompaction.constraints",U0t="org.eclipse.elk.layered.highDegreeNodes.treatment",G0t="org.eclipse.elk.layered.highDegreeNodes.threshold",Y0t="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Z0t="org.eclipse.elk.layered.wrapping.strategy",W0t="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",K0t="org.eclipse.elk.layered.wrapping.correctionFactor",X0t="org.eclipse.elk.layered.wrapping.cutting.strategy",V0t="org.eclipse.elk.layered.wrapping.cutting.cuts",Q0t="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",J0t="org.eclipse.elk.layered.wrapping.validify.strategy",t2t="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",e2t="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",n2t="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",i2t="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",r2t="org.eclipse.elk.layered.edgeLabels.sideSelection",a2t="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",o2t="org.eclipse.elk.layered.considerModelOrder.strategy",s2t="org.eclipse.elk.layered.considerModelOrder.noModelOrder",c2t="org.eclipse.elk.layered.considerModelOrder.components",u2t="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",l2t="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",h2t="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",f2t="layering",d2t="layering.minWidth",g2t="layering.nodePromotion",p2t="crossingMinimization",b2t="org.eclipse.elk.hierarchyHandling",w2t="crossingMinimization.greedySwitch",m2t="nodePlacement",y2t="nodePlacement.bk",v2t="edgeRouting",x2t="org.eclipse.elk.edgeRouting",k2t="spacing",_2t="priority",A2t="compaction",E2t="compaction.postCompaction",T2t="Specifies whether and how post-process compaction is applied.",C2t="highDegreeNodes",S2t="wrapping",I2t="wrapping.cutting",M2t="wrapping.validify",D2t="wrapping.multiEdge",O2t="edgeLabels",L2t="considerModelOrder",N2t="org.eclipse.elk.spacing.commentComment",P2t="org.eclipse.elk.spacing.commentNode",B2t="org.eclipse.elk.spacing.edgeEdge",F2t="org.eclipse.elk.spacing.edgeNode",R2t="org.eclipse.elk.spacing.labelLabel",j2t="org.eclipse.elk.spacing.labelPortHorizontal",$2t="org.eclipse.elk.spacing.labelPortVertical",z2t="org.eclipse.elk.spacing.labelNode",q2t="org.eclipse.elk.spacing.nodeSelfLoop",H2t="org.eclipse.elk.spacing.portPort",U2t="org.eclipse.elk.spacing.individual",G2t="org.eclipse.elk.port.borderOffset",Y2t="org.eclipse.elk.noLayout",Z2t="org.eclipse.elk.port.side",W2t="org.eclipse.elk.debugMode",K2t="org.eclipse.elk.alignment",X2t="org.eclipse.elk.insideSelfLoops.activate",V2t="org.eclipse.elk.insideSelfLoops.yo",Q2t="org.eclipse.elk.nodeSize.fixedGraphSize",J2t="org.eclipse.elk.direction",t3t="org.eclipse.elk.nodeLabels.padding",e3t="org.eclipse.elk.portLabels.nextToPortIfPossible",n3t="org.eclipse.elk.portLabels.treatAsGroup",i3t="org.eclipse.elk.portAlignment.default",r3t="org.eclipse.elk.portAlignment.north",a3t="org.eclipse.elk.portAlignment.south",o3t="org.eclipse.elk.portAlignment.west",s3t="org.eclipse.elk.portAlignment.east",c3t="org.eclipse.elk.contentAlignment",u3t="org.eclipse.elk.junctionPoints",l3t="org.eclipse.elk.edgeLabels.placement",h3t="org.eclipse.elk.port.index",f3t="org.eclipse.elk.commentBox",d3t="org.eclipse.elk.hypernode",g3t="org.eclipse.elk.port.anchor",p3t="org.eclipse.elk.partitioning.activate",b3t="org.eclipse.elk.partitioning.partition",w3t="org.eclipse.elk.position",m3t="org.eclipse.elk.margins",y3t="org.eclipse.elk.spacing.portsSurrounding",v3t="org.eclipse.elk.interactiveLayout",x3t="org.eclipse.elk.core.util",k3t={3:1,4:1,5:1,593:1},_3t="NETWORK_SIMPLEX",A3t={123:1,51:1},E3t="org.eclipse.elk.alg.layered.p1cycles",T3t="org.eclipse.elk.alg.layered.p2layers",C3t={402:1,225:1},S3t={832:1,3:1,4:1},I3t="org.eclipse.elk.alg.layered.p3order",M3t="org.eclipse.elk.alg.layered.p4nodes",D3t={3:1,4:1,5:1,840:1},O3t=1e-5,L3t="org.eclipse.elk.alg.layered.p4nodes.bk",N3t="org.eclipse.elk.alg.layered.p5edges",P3t="org.eclipse.elk.alg.layered.p5edges.orthogonal",B3t="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",F3t=1e-6,R3t="org.eclipse.elk.alg.layered.p5edges.splines",j3t=.09999999999999998,$3t=1e-8,z3t=4.71238898038469,q3t=3.141592653589793,H3t="org.eclipse.elk.alg.mrtree",U3t="org.eclipse.elk.alg.mrtree.graph",G3t="org.eclipse.elk.alg.mrtree.intermediate",Y3t="Set neighbors in level",Z3t="DESCENDANTS",W3t="org.eclipse.elk.mrtree.weighting",K3t="org.eclipse.elk.mrtree.searchOrder",X3t="org.eclipse.elk.alg.mrtree.options",V3t="org.eclipse.elk.mrtree",Q3t="org.eclipse.elk.tree",J3t="org.eclipse.elk.alg.radial",t4t=6.283185307179586,e4t=5e-324,n4t="org.eclipse.elk.alg.radial.intermediate",i4t="org.eclipse.elk.alg.radial.intermediate.compaction",r4t={3:1,4:1,5:1,106:1},a4t="org.eclipse.elk.alg.radial.intermediate.optimization",o4t="No implementation is available for the layout option ",s4t="org.eclipse.elk.alg.radial.options",c4t="org.eclipse.elk.radial.orderId",u4t="org.eclipse.elk.radial.radius",l4t="org.eclipse.elk.radial.compactor",h4t="org.eclipse.elk.radial.compactionStepSize",f4t="org.eclipse.elk.radial.sorter",d4t="org.eclipse.elk.radial.wedgeCriteria",g4t="org.eclipse.elk.radial.optimizationCriteria",p4t="org.eclipse.elk.radial",b4t="org.eclipse.elk.alg.radial.p1position.wedge",w4t="org.eclipse.elk.alg.radial.sorting",m4t=5.497787143782138,y4t=3.9269908169872414,v4t=2.356194490192345,x4t="org.eclipse.elk.alg.rectpacking",k4t="org.eclipse.elk.alg.rectpacking.firstiteration",_4t="org.eclipse.elk.alg.rectpacking.options",A4t="org.eclipse.elk.rectpacking.optimizationGoal",E4t="org.eclipse.elk.rectpacking.lastPlaceShift",T4t="org.eclipse.elk.rectpacking.currentPosition",C4t="org.eclipse.elk.rectpacking.desiredPosition",S4t="org.eclipse.elk.rectpacking.onlyFirstIteration",I4t="org.eclipse.elk.rectpacking.rowCompaction",M4t="org.eclipse.elk.rectpacking.expandToAspectRatio",D4t="org.eclipse.elk.rectpacking.targetWidth",O4t="org.eclipse.elk.expandNodes",L4t="org.eclipse.elk.rectpacking",N4t="org.eclipse.elk.alg.rectpacking.util",P4t="No implementation available for ",B4t="org.eclipse.elk.alg.spore",F4t="org.eclipse.elk.alg.spore.options",R4t="org.eclipse.elk.sporeCompaction",j4t="org.eclipse.elk.underlyingLayoutAlgorithm",$4t="org.eclipse.elk.processingOrder.treeConstruction",z4t="org.eclipse.elk.processingOrder.spanningTreeCostFunction",q4t="org.eclipse.elk.processingOrder.preferredRoot",H4t="org.eclipse.elk.processingOrder.rootSelection",U4t="org.eclipse.elk.structure.structureExtractionStrategy",G4t="org.eclipse.elk.compaction.compactionStrategy",Y4t="org.eclipse.elk.compaction.orthogonal",Z4t="org.eclipse.elk.overlapRemoval.maxIterations",W4t="org.eclipse.elk.overlapRemoval.runScanline",K4t="processingOrder",X4t="overlapRemoval",V4t="org.eclipse.elk.sporeOverlap",Q4t="org.eclipse.elk.alg.spore.p1structure",J4t="org.eclipse.elk.alg.spore.p2processingorder",t5t="org.eclipse.elk.alg.spore.p3execution",e5t="Invalid index: ",n5t="org.eclipse.elk.core.alg",i5t={331:1},r5t={288:1},a5t="Make sure its type is registered with the ",o5t=" utility class.",s5t="true",c5t="false",u5t="Couldn't clone property '",l5t=.05,h5t="org.eclipse.elk.core.options",f5t=1.2999999523162842,d5t="org.eclipse.elk.box",g5t="org.eclipse.elk.box.packingMode",p5t="org.eclipse.elk.algorithm",b5t="org.eclipse.elk.resolvedAlgorithm",w5t="org.eclipse.elk.bendPoints",m5t="org.eclipse.elk.labelManager",y5t="org.eclipse.elk.scaleFactor",v5t="org.eclipse.elk.animate",x5t="org.eclipse.elk.animTimeFactor",k5t="org.eclipse.elk.layoutAncestors",_5t="org.eclipse.elk.maxAnimTime",A5t="org.eclipse.elk.minAnimTime",E5t="org.eclipse.elk.progressBar",T5t="org.eclipse.elk.validateGraph",C5t="org.eclipse.elk.validateOptions",S5t="org.eclipse.elk.zoomToFit",I5t="org.eclipse.elk.font.name",M5t="org.eclipse.elk.font.size",D5t="org.eclipse.elk.edge.type",O5t="partitioning",L5t="nodeLabels",N5t="portAlignment",P5t="nodeSize",B5t="port",F5t="portLabels",R5t="insideSelfLoops",j5t="org.eclipse.elk.fixed",$5t="org.eclipse.elk.random",z5t="port must have a parent node to calculate the port side",q5t="The edge needs to have exactly one edge section. Found: ",H5t="org.eclipse.elk.core.util.adapters",U5t="org.eclipse.emf.ecore",G5t="org.eclipse.elk.graph",Y5t="EMapPropertyHolder",Z5t="ElkBendPoint",W5t="ElkGraphElement",K5t="ElkConnectableShape",X5t="ElkEdge",V5t="ElkEdgeSection",Q5t="EModelElement",J5t="ENamedElement",t6t="ElkLabel",e6t="ElkNode",n6t="ElkPort",i6t={92:1,90:1},r6t="org.eclipse.emf.common.notify.impl",a6t="The feature '",o6t="' is not a valid changeable feature",s6t="Expecting null",c6t="' is not a valid feature",u6t="The feature ID",l6t=" is not a valid feature ID",h6t=32768,f6t={105:1,92:1,90:1,56:1,49:1,97:1},d6t="org.eclipse.emf.ecore.impl",g6t="org.eclipse.elk.graph.impl",p6t="Recursive containment not allowed for ",b6t="The datatype '",w6t="' is not a valid classifier",m6t="The value '",y6t={190:1,3:1,4:1},v6t="The class '",x6t="http://www.eclipse.org/elk/ElkGraph",k6t=1024,_6t="property",A6t="value",E6t="source",T6t="properties",C6t="identifier",S6t="height",I6t="width",M6t="parent",D6t="text",O6t="children",L6t="hierarchical",N6t="sources",P6t="targets",B6t="sections",F6t="bendPoints",R6t="outgoingShape",j6t="incomingShape",$6t="outgoingSections",z6t="incomingSections",q6t="org.eclipse.emf.common.util",H6t="Severe implementation error in the Json to ElkGraph importer.",U6t="id",G6t="org.eclipse.elk.graph.json",Y6t="Unhandled parameter types: ",Z6t="startPoint",W6t="An edge must have at least one source and one target (edge id: '",K6t="').",X6t="Referenced edge section does not exist: ",V6t=" (edge id: '",Q6t="target",J6t="sourcePoint",t8t="targetPoint",e8t="group",n8t="name",i8t="connectableShape cannot be null",r8t="edge cannot be null",a8t="Passed edge is not 'simple'.",o8t="org.eclipse.elk.graph.util",s8t="The 'no duplicates' constraint is violated",c8t="targetIndex=",u8t=", size=",l8t="sourceIndex=",h8t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},f8t={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},d8t="logging",g8t="measureExecutionTime",p8t="parser.parse.1",b8t="parser.parse.2",w8t="parser.next.1",m8t="parser.next.2",y8t="parser.next.3",v8t="parser.next.4",x8t="parser.factor.1",k8t="parser.factor.2",_8t="parser.factor.3",A8t="parser.factor.4",E8t="parser.factor.5",T8t="parser.factor.6",C8t="parser.atom.1",S8t="parser.atom.2",I8t="parser.atom.3",M8t="parser.atom.4",D8t="parser.atom.5",O8t="parser.cc.1",L8t="parser.cc.2",N8t="parser.cc.3",P8t="parser.cc.5",B8t="parser.cc.6",F8t="parser.cc.7",R8t="parser.cc.8",j8t="parser.ope.1",$8t="parser.ope.2",z8t="parser.ope.3",q8t="parser.descape.1",H8t="parser.descape.2",U8t="parser.descape.3",G8t="parser.descape.4",Y8t="parser.descape.5",Z8t="parser.process.1",W8t="parser.quantifier.1",K8t="parser.quantifier.2",X8t="parser.quantifier.3",V8t="parser.quantifier.4",Q8t="parser.quantifier.5",J8t="org.eclipse.emf.common.notify",t7t={415:1,672:1},e7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},n7t={366:1,143:1},i7t="index=",r7t={3:1,4:1,5:1,126:1},a7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},o7t={3:1,6:1,4:1,5:1,192:1},s7t={3:1,4:1,5:1,165:1,367:1},c7t=";/?:@&=+$,",u7t="invalid authority: ",l7t="EAnnotation",h7t="ETypedElement",f7t="EStructuralFeature",d7t="EAttribute",g7t="EClassifier",p7t="EEnumLiteral",b7t="EGenericType",w7t="EOperation",m7t="EParameter",y7t="EReference",v7t="ETypeParameter",x7t="org.eclipse.emf.ecore.util",k7t={76:1},_7t={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},A7t="org.eclipse.emf.ecore.util.FeatureMap$Entry",E7t=8192,T7t=2048,C7t="byte",S7t="char",I7t="double",M7t="float",D7t="int",O7t="long",L7t="short",N7t="java.lang.Object",P7t={3:1,4:1,5:1,247:1},B7t={3:1,4:1,5:1,673:1},F7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},R7t={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},j7t="mixed",$7t="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",z7t="kind",q7t={3:1,4:1,5:1,674:1},H7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},U7t={20:1,28:1,52:1,14:1,15:1,58:1,69:1},G7t={47:1,125:1,279:1},Y7t={72:1,332:1},Z7t="The value of type '",W7t="' must be of type '",K7t=1316,X7t="http://www.eclipse.org/emf/2002/Ecore",V7t=-32768,Q7t="constraints",J7t="baseType",t9t="getEStructuralFeature",e9t="getFeatureID",n9t="feature",i9t="getOperationID",r9t="operation",a9t="defaultValue",o9t="eTypeParameters",s9t="isInstance",c9t="getEEnumLiteral",u9t="eContainingClass",l9t={55:1},h9t={3:1,4:1,5:1,119:1},f9t="org.eclipse.emf.ecore.resource",d9t={92:1,90:1,591:1,1935:1},g9t="org.eclipse.emf.ecore.resource.impl",p9t="unspecified",b9t="simple",w9t="attribute",m9t="attributeWildcard",y9t="element",v9t="elementWildcard",x9t="collapse",k9t="itemType",_9t="namespace",A9t="##targetNamespace",E9t="whiteSpace",T9t="wildcards",C9t="http://www.eclipse.org/emf/2003/XMLType",S9t="##any",I9t="uninitialized",M9t="The multiplicity constraint is violated",D9t="org.eclipse.emf.ecore.xml.type",O9t="ProcessingInstruction",L9t="SimpleAnyType",N9t="XMLTypeDocumentRoot",P9t="org.eclipse.emf.ecore.xml.type.impl",B9t="INF",F9t="processing",R9t="ENTITIES_._base",j9t="minLength",$9t="ENTITY",z9t="NCName",q9t="IDREFS_._base",H9t="integer",U9t="token",G9t="pattern",Y9t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",Z9t="\\i\\c*",W9t="[\\i-[:]][\\c-[:]]*",K9t="nonPositiveInteger",X9t="maxInclusive",V9t="NMTOKEN",Q9t="NMTOKENS_._base",J9t="nonNegativeInteger",tte="minInclusive",ete="normalizedString",nte="unsignedByte",ite="unsignedInt",rte="18446744073709551615",ate="unsignedShort",ote="processingInstruction",ste="org.eclipse.emf.ecore.xml.type.internal",cte=1114111,ute="Internal Error: shorthands: \\u",lte="xml:isDigit",hte="xml:isWord",fte="xml:isSpace",dte="xml:isNameChar",gte="xml:isInitialNameChar",pte="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",bte="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",wte="Private Use",mte="ASSIGNED",yte="\0ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ֏ۿ܀ݏހऀॿঀ૿ఀ౿ಀഀൿༀက႟ႠჿᄀᇿሀᎠ᐀ᙿ ᚠក᠀Ḁỿἀ ⁰₠⃐℀⅏⅐←⇿∀⋿⌀⏿␀⑀①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⼀⿰ 〿ゟ゠ヿㄯ㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒐가힣豈ffﭏﭐ﷿︠︯︰﹏﹐ﹰ\ufeff\ufeff",vte="UNASSIGNED",xte={3:1,117:1},kte="org.eclipse.emf.ecore.xml.type.util",_te={3:1,4:1,5:1,368:1},Ate="org.eclipse.xtext.xbase.lib",Ete="Cannot add elements to a Range",Tte="Cannot set elements in a Range",Cte="Cannot remove elements from a Range",Ste="locale",Ite="default",Mte="user.agent";n.goog=n.goog||{},n.goog.global=n.goog.global||n,KEt(),pDt(1,null,{},r),TWt.Fb=function(t){return $M(this,t)},TWt.Gb=function(){return this.gm},TWt.Hb=function(){return CN(this)},TWt.Ib=function(){return t_(nut(this))+"@"+(eut(this)>>>0).toString(16)},TWt.equals=function(t){return this.Fb(t)},TWt.hashCode=function(){return this.Hb()},TWt.toString=function(){return this.Ib()},pDt(290,1,{290:1,2026:1},mct),TWt.le=function(t){var e;return(e=new mct).i=4,e.c=t>1?bJ(this,t-1):this,e},TWt.me=function(){return _B(this),this.b},TWt.ne=function(){return t_(this)},TWt.oe=function(){return _B(this),this.k},TWt.pe=function(){return 0!=(4&this.i)},TWt.qe=function(){return 0!=(1&this.i)},TWt.Ib=function(){return set(this)},TWt.i=0;var Dte,Ote=mZ(RWt,"Object",1),Lte=mZ(RWt,"Class",290);pDt(1998,1,jWt),mZ($Wt,"Optional",1998),pDt(1170,1998,jWt,a),TWt.Fb=function(t){return t===this},TWt.Hb=function(){return 2040732332},TWt.Ib=function(){return"Optional.absent()"},TWt.Jb=function(t){return vZ(t),iv(),Dte},mZ($Wt,"Absent",1170),pDt(628,1,{},yx),mZ($Wt,"Joiner",628);var Nte=dH($Wt,"Predicate");pDt(582,1,{169:1,582:1,3:1,45:1},zh),TWt.Mb=function(t){return jct(this,t)},TWt.Lb=function(t){return jct(this,t)},TWt.Fb=function(t){var e;return!!aL(t,582)&&(e=zz(t,582),PDt(this.a,e.a))},TWt.Hb=function(){return zct(this.a)+306654252},TWt.Ib=function(){return pCt(this.a)},mZ($Wt,"Predicates/AndPredicate",582),pDt(408,1998,{408:1,3:1},qh),TWt.Fb=function(t){var e;return!!aL(t,408)&&(e=zz(t,408),Pht(this.a,e.a))},TWt.Hb=function(){return 1502476572+eut(this.a)},TWt.Ib=function(){return GWt+this.a+")"},TWt.Jb=function(t){return new qh(WX(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},mZ($Wt,"Present",408),pDt(198,1,ZWt),TWt.Nb=function(t){hY(this,t)},TWt.Qb=function(){dx()},mZ(WWt,"UnmodifiableIterator",198),pDt(1978,198,KWt),TWt.Qb=function(){dx()},TWt.Rb=function(t){throw qw(new wm)},TWt.Wb=function(t){throw qw(new wm)},mZ(WWt,"UnmodifiableListIterator",1978),pDt(386,1978,KWt),TWt.Ob=function(){return this.c<this.d},TWt.Sb=function(){return this.c>0},TWt.Pb=function(){if(this.c>=this.d)throw qw(new vm);return this.Xb(this.c++)},TWt.Tb=function(){return this.c},TWt.Ub=function(){if(this.c<=0)throw qw(new vm);return this.Xb(--this.c)},TWt.Vb=function(){return this.c-1},TWt.c=0,TWt.d=0,mZ(WWt,"AbstractIndexedListIterator",386),pDt(699,198,ZWt),TWt.Ob=function(){return trt(this)},TWt.Pb=function(){return C9(this)},TWt.e=1,mZ(WWt,"AbstractIterator",699),pDt(1986,1,{224:1}),TWt.Zb=function(){return this.f||(this.f=this.ac())},TWt.Fb=function(t){return _ut(this,t)},TWt.Hb=function(){return eut(this.Zb())},TWt.dc=function(){return 0==this.gc()},TWt.ec=function(){return bG(this)},TWt.Ib=function(){return qdt(this.Zb())},mZ(WWt,"AbstractMultimap",1986),pDt(726,1986,XWt),TWt.$b=function(){pit(this)},TWt._b=function(t){return Wk(this,t)},TWt.ac=function(){return new wA(this,this.c)},TWt.ic=function(t){return this.hc()},TWt.bc=function(){return new qL(this,this.c)},TWt.jc=function(){return this.mc(this.hc())},TWt.kc=function(){return new qy(this)},TWt.lc=function(){return UAt(this.c.vc().Nc(),new s,64,this.d)},TWt.cc=function(t){return l6(this,t)},TWt.fc=function(t){return Plt(this,t)},TWt.gc=function(){return this.d},TWt.mc=function(t){return TX(),new qd(t)},TWt.nc=function(){return new zy(this)},TWt.oc=function(){return UAt(this.c.Cc().Nc(),new o,64,this.d)},TWt.pc=function(t,e){return new W6(this,t,e,null)},TWt.d=0,mZ(WWt,"AbstractMapBasedMultimap",726),pDt(1631,726,XWt),TWt.hc=function(){return new Q6(this.a)},TWt.jc=function(){return TX(),TX(),lne},TWt.cc=function(t){return zz(l6(this,t),15)},TWt.fc=function(t){return zz(Plt(this,t),15)},TWt.Zb=function(){return MX(this)},TWt.Fb=function(t){return _ut(this,t)},TWt.qc=function(t){return zz(l6(this,t),15)},TWt.rc=function(t){return zz(Plt(this,t),15)},TWt.mc=function(t){return rV(zz(t,15))},TWt.pc=function(t,e){return i3(this,t,zz(e,15),null)},mZ(WWt,"AbstractListMultimap",1631),pDt(732,1,VWt),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.c.Ob()||this.e.Ob()},TWt.Pb=function(){var t;return this.e.Ob()||(t=zz(this.c.Pb(),42),this.b=t.cd(),this.a=zz(t.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},TWt.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},mZ(WWt,"AbstractMapBasedMultimap/Itr",732),pDt(1099,732,VWt,zy),TWt.sc=function(t,e){return e},mZ(WWt,"AbstractMapBasedMultimap/1",1099),pDt(1100,1,{},o),TWt.Kb=function(t){return zz(t,14).Nc()},mZ(WWt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),pDt(1101,732,VWt,qy),TWt.sc=function(t,e){return new mA(t,e)},mZ(WWt,"AbstractMapBasedMultimap/2",1101);var Pte=dH(QWt,"Map");pDt(1967,1,JWt),TWt.wc=function(t){eot(this,t)},TWt.yc=function(t,e,n){return tdt(this,t,e,n)},TWt.$b=function(){this.vc().$b()},TWt.tc=function(t){return Tyt(this,t)},TWt._b=function(t){return!!z_t(this,t,!1)},TWt.uc=function(t){var e,n;for(e=this.vc().Kc();e.Ob();)if(n=zz(e.Pb(),42).dd(),UI(t)===UI(n)||null!=t&&Pht(t,n))return!0;return!1},TWt.Fb=function(t){var e,n,i;if(t===this)return!0;if(!aL(t,83))return!1;if(i=zz(t,83),this.gc()!=i.gc())return!1;for(n=i.vc().Kc();n.Ob();)if(e=zz(n.Pb(),42),!this.tc(e))return!1;return!0},TWt.xc=function(t){return HI(z_t(this,t,!1))},TWt.Hb=function(){return Hst(this.vc())},TWt.dc=function(){return 0==this.gc()},TWt.ec=function(){return new Sd(this)},TWt.zc=function(t,e){throw qw(new ex("Put not supported on this map"))},TWt.Ac=function(t){Eat(this,t)},TWt.Bc=function(t){return HI(z_t(this,t,!0))},TWt.gc=function(){return this.vc().gc()},TWt.Ib=function(){return eAt(this)},TWt.Cc=function(){return new Md(this)},mZ(QWt,"AbstractMap",1967),pDt(1987,1967,JWt),TWt.bc=function(){return new TA(this)},TWt.vc=function(){return pG(this)},TWt.ec=function(){return this.g||(this.g=this.bc())},TWt.Cc=function(){return this.i||(this.i=new CA(this))},mZ(WWt,"Maps/ViewCachingAbstractMap",1987),pDt(389,1987,JWt,wA),TWt.xc=function(t){return ket(this,t)},TWt.Bc=function(t){return tlt(this,t)},TWt.$b=function(){this.d==this.e.c?this.e.$b():SH(new MH(this))},TWt._b=function(t){return wht(this.d,t)},TWt.Ec=function(){return new Yh(this)},TWt.Dc=function(){return this.Ec()},TWt.Fb=function(t){return this===t||Pht(this.d,t)},TWt.Hb=function(){return eut(this.d)},TWt.ec=function(){return this.e.ec()},TWt.gc=function(){return this.d.gc()},TWt.Ib=function(){return qdt(this.d)},mZ(WWt,"AbstractMapBasedMultimap/AsMap",389);var Bte=dH(RWt,"Iterable");pDt(28,1,tKt),TWt.Jc=function(t){n5(this,t)},TWt.Lc=function(){return this.Oc()},TWt.Nc=function(){return new g1(this,0)},TWt.Oc=function(){return new FH(null,this.Nc())},TWt.Fc=function(t){throw qw(new ex("Add not supported on this collection"))},TWt.Gc=function(t){return zrt(this,t)},TWt.$b=function(){AK(this)},TWt.Hc=function(t){return xgt(this,t,!1)},TWt.Ic=function(t){return ust(this,t)},TWt.dc=function(){return 0==this.gc()},TWt.Mc=function(t){return xgt(this,t,!0)},TWt.Pc=function(){return aG(this)},TWt.Qc=function(t){return Ayt(this,t)},TWt.Ib=function(){return NEt(this)},mZ(QWt,"AbstractCollection",28);var Fte=dH(QWt,"Set");pDt(eKt,28,nKt),TWt.Nc=function(){return new g1(this,1)},TWt.Fb=function(t){return rbt(this,t)},TWt.Hb=function(){return Hst(this)},mZ(QWt,"AbstractSet",eKt),pDt(1970,eKt,nKt),mZ(WWt,"Sets/ImprovedAbstractSet",1970),pDt(1971,1970,nKt),TWt.$b=function(){this.Rc().$b()},TWt.Hc=function(t){return rpt(this,t)},TWt.dc=function(){return this.Rc().dc()},TWt.Mc=function(t){var e;return!!this.Hc(t)&&(e=zz(t,42),this.Rc().ec().Mc(e.cd()))},TWt.gc=function(){return this.Rc().gc()},mZ(WWt,"Maps/EntrySet",1971),pDt(1097,1971,nKt,Yh),TWt.Hc=function(t){return pht(this.a.d.vc(),t)},TWt.Kc=function(){return new MH(this.a)},TWt.Rc=function(){return this.a},TWt.Mc=function(t){var e;return!!pht(this.a.d.vc(),t)&&(e=zz(t,42),q5(this.a.e,e.cd()),!0)},TWt.Nc=function(){return Fz(this.a.d.vc().Nc(),new Zh(this.a))},mZ(WWt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),pDt(1098,1,{},Zh),TWt.Kb=function(t){return i5(this.a,zz(t,42))},mZ(WWt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),pDt(730,1,VWt,MH),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){var t;return t=zz(this.b.Pb(),42),this.a=zz(t.dd(),14),i5(this.c,t)},TWt.Ob=function(){return this.b.Ob()},TWt.Qb=function(){hot(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},mZ(WWt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),pDt(532,1970,nKt,TA),TWt.$b=function(){this.b.$b()},TWt.Hc=function(t){return this.b._b(t)},TWt.Jc=function(t){vZ(t),this.b.wc(new mf(t))},TWt.dc=function(){return this.b.dc()},TWt.Kc=function(){return new fv(this.b.vc().Kc())},TWt.Mc=function(t){return!!this.b._b(t)&&(this.b.Bc(t),!0)},TWt.gc=function(){return this.b.gc()},mZ(WWt,"Maps/KeySet",532),pDt(318,532,nKt,qL),TWt.$b=function(){SH(new nA(this,this.b.vc().Kc()))},TWt.Ic=function(t){return this.b.ec().Ic(t)},TWt.Fb=function(t){return this===t||Pht(this.b.ec(),t)},TWt.Hb=function(){return eut(this.b.ec())},TWt.Kc=function(){return new nA(this,this.b.vc().Kc())},TWt.Mc=function(t){var e,n;return n=0,(e=zz(this.b.Bc(t),14))&&(n=e.gc(),e.$b(),this.a.d-=n),n>0},TWt.Nc=function(){return this.b.ec().Nc()},mZ(WWt,"AbstractMapBasedMultimap/KeySet",318),pDt(731,1,VWt,nA),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.c.Ob()},TWt.Pb=function(){return this.a=zz(this.c.Pb(),42),this.a.cd()},TWt.Qb=function(){var t;hot(!!this.a),t=zz(this.a.dd(),14),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},mZ(WWt,"AbstractMapBasedMultimap/KeySet/1",731),pDt(491,389,{83:1,161:1},SB),TWt.bc=function(){return this.Sc()},TWt.ec=function(){return this.Tc()},TWt.Sc=function(){return new tA(this.c,this.Uc())},TWt.Tc=function(){return this.b||(this.b=this.Sc())},TWt.Uc=function(){return zz(this.d,161)},mZ(WWt,"AbstractMapBasedMultimap/SortedAsMap",491),pDt(542,491,iKt,IB),TWt.bc=function(){return new eA(this.a,zz(zz(this.d,161),171))},TWt.Sc=function(){return new eA(this.a,zz(zz(this.d,161),171))},TWt.ec=function(){return zz(this.b||(this.b=new eA(this.a,zz(zz(this.d,161),171))),271)},TWt.Tc=function(){return zz(this.b||(this.b=new eA(this.a,zz(zz(this.d,161),171))),271)},TWt.Uc=function(){return zz(zz(this.d,161),171)},mZ(WWt,"AbstractMapBasedMultimap/NavigableAsMap",542),pDt(490,318,rKt,tA),TWt.Nc=function(){return this.b.ec().Nc()},mZ(WWt,"AbstractMapBasedMultimap/SortedKeySet",490),pDt(388,490,aKt,eA),mZ(WWt,"AbstractMapBasedMultimap/NavigableKeySet",388),pDt(541,28,tKt,W6),TWt.Fc=function(t){var e,n;return Ydt(this),n=this.d.dc(),(e=this.d.Fc(t))&&(++this.f.d,n&&kF(this)),e},TWt.Gc=function(t){var e,n,i;return!t.dc()&&(Ydt(this),i=this.d.gc(),(e=this.d.Gc(t))&&(n=this.d.gc(),this.f.d+=n-i,0==i&&kF(this)),e)},TWt.$b=function(){var t;Ydt(this),0!=(t=this.d.gc())&&(this.d.$b(),this.f.d-=t,OU(this))},TWt.Hc=function(t){return Ydt(this),this.d.Hc(t)},TWt.Ic=function(t){return Ydt(this),this.d.Ic(t)},TWt.Fb=function(t){return t===this||(Ydt(this),Pht(this.d,t))},TWt.Hb=function(){return Ydt(this),eut(this.d)},TWt.Kc=function(){return Ydt(this),new Xz(this)},TWt.Mc=function(t){var e;return Ydt(this),(e=this.d.Mc(t))&&(--this.f.d,OU(this)),e},TWt.gc=function(){return eM(this)},TWt.Nc=function(){return Ydt(this),this.d.Nc()},TWt.Ib=function(){return Ydt(this),qdt(this.d)},mZ(WWt,"AbstractMapBasedMultimap/WrappedCollection",541);var Rte=dH(QWt,"List");pDt(728,541,{20:1,28:1,14:1,15:1},uG),TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return Ydt(this),this.d.Nc()},TWt.Vc=function(t,e){var n;Ydt(this),n=this.d.dc(),zz(this.d,15).Vc(t,e),++this.a.d,n&&kF(this)},TWt.Wc=function(t,e){var n,i,r;return!e.dc()&&(Ydt(this),r=this.d.gc(),(n=zz(this.d,15).Wc(t,e))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&kF(this)),n)},TWt.Xb=function(t){return Ydt(this),zz(this.d,15).Xb(t)},TWt.Xc=function(t){return Ydt(this),zz(this.d,15).Xc(t)},TWt.Yc=function(){return Ydt(this),new bO(this)},TWt.Zc=function(t){return Ydt(this),new bX(this,t)},TWt.$c=function(t){var e;return Ydt(this),e=zz(this.d,15).$c(t),--this.a.d,OU(this),e},TWt._c=function(t,e){return Ydt(this),zz(this.d,15)._c(t,e)},TWt.bd=function(t,e){return Ydt(this),i3(this.a,this.e,zz(this.d,15).bd(t,e),this.b?this.b:this)},mZ(WWt,"AbstractMapBasedMultimap/WrappedList",728),pDt(1096,728,{20:1,28:1,14:1,15:1,54:1},MP),mZ(WWt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),pDt(620,1,VWt,Xz),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return EK(this),this.b.Ob()},TWt.Pb=function(){return EK(this),this.b.Pb()},TWt.Qb=function(){nN(this)},mZ(WWt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),pDt(729,620,oKt,bO,bX),TWt.Qb=function(){nN(this)},TWt.Rb=function(t){var e;e=0==eM(this.a),(EK(this),zz(this.b,125)).Rb(t),++this.a.a.d,e&&kF(this.a)},TWt.Sb=function(){return(EK(this),zz(this.b,125)).Sb()},TWt.Tb=function(){return(EK(this),zz(this.b,125)).Tb()},TWt.Ub=function(){return(EK(this),zz(this.b,125)).Ub()},TWt.Vb=function(){return(EK(this),zz(this.b,125)).Vb()},TWt.Wb=function(t){(EK(this),zz(this.b,125)).Wb(t)},mZ(WWt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),pDt(727,541,rKt,NB),TWt.Nc=function(){return Ydt(this),this.d.Nc()},mZ(WWt,"AbstractMapBasedMultimap/WrappedSortedSet",727),pDt(1095,727,aKt,DD),mZ(WWt,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),pDt(1094,541,nKt,PB),TWt.Nc=function(){return Ydt(this),this.d.Nc()},mZ(WWt,"AbstractMapBasedMultimap/WrappedSet",1094),pDt(1103,1,{},s),TWt.Kb=function(t){return $6(zz(t,42))},mZ(WWt,"AbstractMapBasedMultimap/lambda$1$Type",1103),pDt(1102,1,{},Wh),TWt.Kb=function(t){return new mA(this.a,t)},mZ(WWt,"AbstractMapBasedMultimap/lambda$2$Type",1102);var jte,$te,zte,qte,Hte=dH(QWt,"Map/Entry");pDt(345,1,sKt),TWt.Fb=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),gW(this.cd(),e.cd())&&gW(this.dd(),e.dd()))},TWt.Hb=function(){var t,e;return t=this.cd(),e=this.dd(),(null==t?0:eut(t))^(null==e?0:eut(e))},TWt.ed=function(t){throw qw(new wm)},TWt.Ib=function(){return this.cd()+"="+this.dd()},mZ(WWt,cKt,345),pDt(1988,28,tKt),TWt.$b=function(){this.fd().$b()},TWt.Hc=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),q0(this.fd(),e.cd(),e.dd()))},TWt.Mc=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),H0(this.fd(),e.cd(),e.dd()))},TWt.gc=function(){return this.fd().d},mZ(WWt,"Multimaps/Entries",1988),pDt(733,1988,tKt,Kh),TWt.Kc=function(){return this.a.kc()},TWt.fd=function(){return this.a},TWt.Nc=function(){return this.a.lc()},mZ(WWt,"AbstractMultimap/Entries",733),pDt(734,733,nKt,Hy),TWt.Nc=function(){return this.a.lc()},TWt.Fb=function(t){return YTt(this,t)},TWt.Hb=function(){return qrt(this)},mZ(WWt,"AbstractMultimap/EntrySet",734),pDt(735,28,tKt,Xh),TWt.$b=function(){this.a.$b()},TWt.Hc=function(t){return Mut(this.a,t)},TWt.Kc=function(){return this.a.nc()},TWt.gc=function(){return this.a.d},TWt.Nc=function(){return this.a.oc()},mZ(WWt,"AbstractMultimap/Values",735),pDt(1989,28,{835:1,20:1,28:1,14:1}),TWt.Jc=function(t){vZ(t),_K(this).Jc(new wf(t))},TWt.Nc=function(){var t;return UAt(t=_K(this).Nc(),new v,64|1296&t.qd(),this.a.d)},TWt.Fc=function(t){return gx(),!0},TWt.Gc=function(t){return vZ(this),vZ(t),aL(t,543)?f2(zz(t,835)):!t.dc()&&htt(this,t.Kc())},TWt.Hc=function(t){var e;return((e=zz(dht(MX(this.a),t),14))?e.gc():0)>0},TWt.Fb=function(t){return hOt(this,t)},TWt.Hb=function(){return eut(_K(this))},TWt.dc=function(){return _K(this).dc()},TWt.Mc=function(t){return AIt(this,t,1)>0},TWt.Ib=function(){return qdt(_K(this))},mZ(WWt,"AbstractMultiset",1989),pDt(1991,1970,nKt),TWt.$b=function(){pit(this.a.a)},TWt.Hc=function(t){var e;return!(!aL(t,492)||(e=zz(t,416),zz(e.a.dd(),14).gc()<=0||a1(this.a,e.a.cd())!=zz(e.a.dd(),14).gc()))},TWt.Mc=function(t){var e,n,i;return!(!aL(t,492)||(e=(n=zz(t,416)).a.cd(),0==(i=zz(n.a.dd(),14).gc())))&&EIt(this.a,e,i)},mZ(WWt,"Multisets/EntrySet",1991),pDt(1109,1991,nKt,Vh),TWt.Kc=function(){return new gv(pG(MX(this.a.a)).Kc())},TWt.gc=function(){return MX(this.a.a).gc()},mZ(WWt,"AbstractMultiset/EntrySet",1109),pDt(619,726,XWt),TWt.hc=function(){return this.gd()},TWt.jc=function(){return this.hd()},TWt.cc=function(t){return this.jd(t)},TWt.fc=function(t){return this.kd(t)},TWt.Zb=function(){return this.f||(this.f=this.ac())},TWt.hd=function(){return TX(),TX(),fne},TWt.Fb=function(t){return _ut(this,t)},TWt.jd=function(t){return zz(l6(this,t),21)},TWt.kd=function(t){return zz(Plt(this,t),21)},TWt.mc=function(t){return TX(),new Dx(zz(t,21))},TWt.pc=function(t,e){return new PB(this,t,zz(e,21))},mZ(WWt,"AbstractSetMultimap",619),pDt(1657,619,XWt),TWt.hc=function(){return new p_(this.b)},TWt.gd=function(){return new p_(this.b)},TWt.jc=function(){return IZ(new p_(this.b))},TWt.hd=function(){return IZ(new p_(this.b))},TWt.cc=function(t){return zz(zz(l6(this,t),21),84)},TWt.jd=function(t){return zz(zz(l6(this,t),21),84)},TWt.fc=function(t){return zz(zz(Plt(this,t),21),84)},TWt.kd=function(t){return zz(zz(Plt(this,t),21),84)},TWt.mc=function(t){return aL(t,271)?IZ(zz(t,271)):(TX(),new pN(zz(t,84)))},TWt.Zb=function(){return this.f||(this.f=aL(this.c,171)?new IB(this,zz(this.c,171)):aL(this.c,161)?new SB(this,zz(this.c,161)):new wA(this,this.c))},TWt.pc=function(t,e){return aL(e,271)?new DD(this,t,zz(e,271)):new NB(this,t,zz(e,84))},mZ(WWt,"AbstractSortedSetMultimap",1657),pDt(1658,1657,XWt),TWt.Zb=function(){return zz(zz(this.f||(this.f=aL(this.c,171)?new IB(this,zz(this.c,171)):aL(this.c,161)?new SB(this,zz(this.c,161)):new wA(this,this.c)),161),171)},TWt.ec=function(){return zz(zz(this.i||(this.i=aL(this.c,171)?new eA(this,zz(this.c,171)):aL(this.c,161)?new tA(this,zz(this.c,161)):new qL(this,this.c)),84),271)},TWt.bc=function(){return aL(this.c,171)?new eA(this,zz(this.c,171)):aL(this.c,161)?new tA(this,zz(this.c,161)):new qL(this,this.c)},mZ(WWt,"AbstractSortedKeySortedSetMultimap",1658),pDt(2010,1,{1947:1}),TWt.Fb=function(t){return Ikt(this,t)},TWt.Hb=function(){return Hst(this.g||(this.g=new Qh(this)))},TWt.Ib=function(){return eAt(this.f||(this.f=new YL(this)))},mZ(WWt,"AbstractTable",2010),pDt(665,eKt,nKt,Qh),TWt.$b=function(){px()},TWt.Hc=function(t){var e,n;return!!aL(t,468)&&(e=zz(t,682),!!(n=zz(dht(kZ(this.a),WI(e.c.e,e.b)),83))&&pht(n.vc(),new mA(WI(e.c.c,e.a),Y6(e.c,e.b,e.a))))},TWt.Kc=function(){return JX(this.a)},TWt.Mc=function(t){var e,n;return!!aL(t,468)&&(e=zz(t,682),!!(n=zz(dht(kZ(this.a),WI(e.c.e,e.b)),83))&&bht(n.vc(),new mA(WI(e.c.c,e.a),Y6(e.c,e.b,e.a))))},TWt.gc=function(){return GH(this.a)},TWt.Nc=function(){return C2(this.a)},mZ(WWt,"AbstractTable/CellSet",665),pDt(1928,28,tKt,Jh),TWt.$b=function(){px()},TWt.Hc=function(t){return hAt(this.a,t)},TWt.Kc=function(){return tV(this.a)},TWt.gc=function(){return GH(this.a)},TWt.Nc=function(){return V0(this.a)},mZ(WWt,"AbstractTable/Values",1928),pDt(1632,1631,XWt),mZ(WWt,"ArrayListMultimapGwtSerializationDependencies",1632),pDt(513,1632,XWt,cx,c1),TWt.hc=function(){return new Q6(this.a)},TWt.a=0,mZ(WWt,"ArrayListMultimap",513),pDt(664,2010,{664:1,1947:1,3:1},yMt),mZ(WWt,"ArrayTable",664),pDt(1924,386,KWt,HL),TWt.Xb=function(t){return new wct(this.a,t)},mZ(WWt,"ArrayTable/1",1924),pDt(1925,1,{},Hh),TWt.ld=function(t){return new wct(this.a,t)},mZ(WWt,"ArrayTable/1methodref$getCell$Type",1925),pDt(2011,1,{682:1}),TWt.Fb=function(t){var e;return t===this||!!aL(t,468)&&(e=zz(t,682),gW(WI(this.c.e,this.b),WI(e.c.e,e.b))&&gW(WI(this.c.c,this.a),WI(e.c.c,e.a))&&gW(Y6(this.c,this.b,this.a),Y6(e.c,e.b,e.a)))},TWt.Hb=function(){return flt(Sst(Ux(Ote,1),HWt,1,5,[WI(this.c.e,this.b),WI(this.c.c,this.a),Y6(this.c,this.b,this.a)]))},TWt.Ib=function(){return"("+WI(this.c.e,this.b)+","+WI(this.c.c,this.a)+")="+Y6(this.c,this.b,this.a)},mZ(WWt,"Tables/AbstractCell",2011),pDt(468,2011,{468:1,682:1},wct),TWt.a=0,TWt.b=0,TWt.d=0,mZ(WWt,"ArrayTable/2",468),pDt(1927,1,{},Uh),TWt.ld=function(t){return V7(this.a,t)},mZ(WWt,"ArrayTable/2methodref$getValue$Type",1927),pDt(1926,386,KWt,UL),TWt.Xb=function(t){return V7(this.a,t)},mZ(WWt,"ArrayTable/3",1926),pDt(1979,1967,JWt),TWt.$b=function(){SH(this.kc())},TWt.vc=function(){return new yf(this)},TWt.lc=function(){return new SK(this.kc(),this.gc())},mZ(WWt,"Maps/IteratorBasedAbstractMap",1979),pDt(828,1979,JWt),TWt.$b=function(){throw qw(new wm)},TWt._b=function(t){return Vk(this.c,t)},TWt.kc=function(){return new GL(this,this.c.b.c.gc())},TWt.lc=function(){return vH(this.c.b.c.gc(),16,new Gh(this))},TWt.xc=function(t){var e;return(e=zz(YR(this.c,t),19))?this.nd(e.a):null},TWt.dc=function(){return this.c.b.c.dc()},TWt.ec=function(){return dG(this.c)},TWt.zc=function(t,e){var n;if(!(n=zz(YR(this.c,t),19)))throw qw(new jv(this.md()+" "+t+" not in "+dG(this.c)));return this.od(n.a,e)},TWt.Bc=function(t){throw qw(new wm)},TWt.gc=function(){return this.c.b.c.gc()},mZ(WWt,"ArrayTable/ArrayMap",828),pDt(1923,1,{},Gh),TWt.ld=function(t){return MZ(this.a,t)},mZ(WWt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),pDt(1921,345,sKt,uA),TWt.cd=function(){return VL(this.a,this.b)},TWt.dd=function(){return this.a.nd(this.b)},TWt.ed=function(t){return this.a.od(this.b,t)},TWt.b=0,mZ(WWt,"ArrayTable/ArrayMap/1",1921),pDt(1922,386,KWt,GL),TWt.Xb=function(t){return MZ(this.a,t)},mZ(WWt,"ArrayTable/ArrayMap/2",1922),pDt(1920,828,JWt,aY),TWt.md=function(){return"Column"},TWt.nd=function(t){return Y6(this.b,this.a,t)},TWt.od=function(t,e){return Cst(this.b,this.a,t,e)},TWt.a=0,mZ(WWt,"ArrayTable/Row",1920),pDt(829,828,JWt,YL),TWt.nd=function(t){return new aY(this.a,t)},TWt.zc=function(t,e){return zz(e,83),bx()},TWt.od=function(t,e){return zz(e,83),wx()},TWt.md=function(){return"Row"},mZ(WWt,"ArrayTable/RowMap",829),pDt(1120,1,fKt,lA),TWt.qd=function(){return-262&this.a.qd()},TWt.rd=function(){return this.a.rd()},TWt.Nb=function(t){this.a.Nb(new aA(t,this.b))},TWt.sd=function(t){return this.a.sd(new rA(t,this.b))},mZ(WWt,"CollectSpliterators/1",1120),pDt(1121,1,dKt,rA),TWt.td=function(t){this.a.td(this.b.Kb(t))},mZ(WWt,"CollectSpliterators/1/lambda$0$Type",1121),pDt(1122,1,dKt,aA),TWt.td=function(t){this.a.td(this.b.Kb(t))},mZ(WWt,"CollectSpliterators/1/lambda$1$Type",1122),pDt(1123,1,fKt,H2),TWt.qd=function(){return this.a},TWt.rd=function(){return this.d&&(this.b=AO(this.b,this.d.rd())),AO(this.b,0)},TWt.Nb=function(t){this.d&&(this.d.Nb(t),this.d=null),this.c.Nb(new iA(this.e,t)),this.b=0},TWt.sd=function(t){for(;;){if(this.d&&this.d.sd(t))return QI(this.b,gKt)&&(this.b=rdt(this.b,1)),!0;if(this.d=null,!this.c.sd(new oA(this,this.e)))return!1}},TWt.a=0,TWt.b=0,mZ(WWt,"CollectSpliterators/1FlatMapSpliterator",1123),pDt(1124,1,dKt,oA),TWt.td=function(t){pR(this.a,this.b,t)},mZ(WWt,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),pDt(1125,1,dKt,iA),TWt.td=function(t){cL(this.b,this.a,t)},mZ(WWt,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),pDt(1117,1,fKt,gR),TWt.qd=function(){return 16464|this.b},TWt.rd=function(){return this.a.rd()},TWt.Nb=function(t){this.a.xe(new cA(t,this.c))},TWt.sd=function(t){return this.a.ye(new sA(t,this.c))},TWt.b=0,mZ(WWt,"CollectSpliterators/1WithCharacteristics",1117),pDt(1118,1,pKt,sA),TWt.ud=function(t){this.a.td(this.b.ld(t))},mZ(WWt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),pDt(1119,1,pKt,cA),TWt.ud=function(t){this.a.td(this.b.ld(t))},mZ(WWt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),pDt(245,1,bKt),TWt.wd=function(t){return this.vd(zz(t,245))},TWt.vd=function(t){var e;return t==(ev(),$te)?1:t==(nv(),jte)?-1:(tH(),0!=(e=Pat(this.a,t.a))?e:aL(this,519)==aL(t,519)?0:aL(this,519)?1:-1)},TWt.zd=function(){return this.a},TWt.Fb=function(t){return Bpt(this,t)},mZ(WWt,"Cut",245),pDt(1761,245,bKt,Nx),TWt.vd=function(t){return t==this?0:1},TWt.xd=function(t){throw qw(new lm)},TWt.yd=function(t){t.a+="+∞)"},TWt.zd=function(){throw qw(new $v(wKt))},TWt.Hb=function(){return OA(),imt(this)},TWt.Ad=function(t){return!1},TWt.Ib=function(){return"+∞"},mZ(WWt,"Cut/AboveAll",1761),pDt(519,245,{245:1,519:1,3:1,35:1},iN),TWt.xd=function(t){sM((t.a+="(",t),this.a)},TWt.yd=function(t){PZ(sM(t,this.a),93)},TWt.Hb=function(){return~eut(this.a)},TWt.Ad=function(t){return tH(),Pat(this.a,t)<0},TWt.Ib=function(){return"/"+this.a+"\\"},mZ(WWt,"Cut/AboveValue",519),pDt(1760,245,bKt,Px),TWt.vd=function(t){return t==this?0:-1},TWt.xd=function(t){t.a+="(-∞"},TWt.yd=function(t){throw qw(new lm)},TWt.zd=function(){throw qw(new $v(wKt))},TWt.Hb=function(){return OA(),imt(this)},TWt.Ad=function(t){return!0},TWt.Ib=function(){return"-∞"},mZ(WWt,"Cut/BelowAll",1760),pDt(1762,245,bKt,rN),TWt.xd=function(t){sM((t.a+="[",t),this.a)},TWt.yd=function(t){PZ(sM(t,this.a),41)},TWt.Hb=function(){return eut(this.a)},TWt.Ad=function(t){return tH(),Pat(this.a,t)<=0},TWt.Ib=function(){return"\\"+this.a+"/"},mZ(WWt,"Cut/BelowValue",1762),pDt(537,1,mKt),TWt.Jc=function(t){n5(this,t)},TWt.Ib=function(){return Hft(zz(WX(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},mZ(WWt,"FluentIterable",537),pDt(433,537,mKt,MM),TWt.Kc=function(){return new cG(JL(this.a.Kc(),new l))},mZ(WWt,"FluentIterable/2",433),pDt(1046,537,mKt,DM),TWt.Kc=function(){return NY(this)},mZ(WWt,"FluentIterable/3",1046),pDt(708,386,KWt,WL),TWt.Xb=function(t){return this.a[t].Kc()},mZ(WWt,"FluentIterable/3/1",708),pDt(1972,1,{}),TWt.Ib=function(){return qdt(this.Bd().b)},mZ(WWt,"ForwardingObject",1972),pDt(1973,1972,yKt),TWt.Bd=function(){return this.Cd()},TWt.Jc=function(t){n5(this,t)},TWt.Lc=function(){return this.Oc()},TWt.Nc=function(){return new g1(this,0)},TWt.Oc=function(){return new FH(null,this.Nc())},TWt.Fc=function(t){return this.Cd(),c_()},TWt.Gc=function(t){return this.Cd(),u_()},TWt.$b=function(){this.Cd(),l_()},TWt.Hc=function(t){return this.Cd().Hc(t)},TWt.Ic=function(t){return this.Cd().Ic(t)},TWt.dc=function(){return this.Cd().b.dc()},TWt.Kc=function(){return this.Cd().Kc()},TWt.Mc=function(t){return this.Cd(),h_()},TWt.gc=function(){return this.Cd().b.gc()},TWt.Pc=function(){return this.Cd().Pc()},TWt.Qc=function(t){return this.Cd().Qc(t)},mZ(WWt,"ForwardingCollection",1973),pDt(1980,28,vKt),TWt.Kc=function(){return this.Ed()},TWt.Fc=function(t){throw qw(new wm)},TWt.Gc=function(t){throw qw(new wm)},TWt.$b=function(){throw qw(new wm)},TWt.Hc=function(t){return null!=t&&xgt(this,t,!1)},TWt.Dd=function(){switch(this.gc()){case 0:return WZ(),WZ(),zte;case 1:return WZ(),new CH(vZ(this.Ed().Pb()));default:return new oY(this,this.Pc())}},TWt.Mc=function(t){throw qw(new wm)},mZ(WWt,"ImmutableCollection",1980),pDt(712,1980,vKt,rm),TWt.Kc=function(){return L7(this.a.Kc())},TWt.Hc=function(t){return null!=t&&this.a.Hc(t)},TWt.Ic=function(t){return this.a.Ic(t)},TWt.dc=function(){return this.a.dc()},TWt.Ed=function(){return L7(this.a.Kc())},TWt.gc=function(){return this.a.gc()},TWt.Pc=function(){return this.a.Pc()},TWt.Qc=function(t){return this.a.Qc(t)},TWt.Ib=function(){return qdt(this.a)},mZ(WWt,"ForwardingImmutableCollection",712),pDt(152,1980,xKt),TWt.Kc=function(){return this.Ed()},TWt.Yc=function(){return this.Fd(0)},TWt.Zc=function(t){return this.Fd(t)},TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return new g1(this,16)},TWt.bd=function(t,e){return this.Gd(t,e)},TWt.Vc=function(t,e){throw qw(new wm)},TWt.Wc=function(t,e){throw qw(new wm)},TWt.Fb=function(t){return UDt(this,t)},TWt.Hb=function(){return Mot(this)},TWt.Xc=function(t){return null==t?-1:Eyt(this,t)},TWt.Ed=function(){return this.Fd(0)},TWt.Fd=function(t){return iP(this,t)},TWt.$c=function(t){throw qw(new wm)},TWt._c=function(t,e){throw qw(new wm)},TWt.Gd=function(t,e){return lht(new u1(new IA(this),t,e))},mZ(WWt,"ImmutableList",152),pDt(2006,152,xKt),TWt.Kc=function(){return L7(this.Hd().Kc())},TWt.bd=function(t,e){return lht(this.Hd().bd(t,e))},TWt.Hc=function(t){return null!=t&&this.Hd().Hc(t)},TWt.Ic=function(t){return this.Hd().Ic(t)},TWt.Fb=function(t){return Pht(this.Hd(),t)},TWt.Xb=function(t){return WI(this,t)},TWt.Hb=function(){return eut(this.Hd())},TWt.Xc=function(t){return this.Hd().Xc(t)},TWt.dc=function(){return this.Hd().dc()},TWt.Ed=function(){return L7(this.Hd().Kc())},TWt.gc=function(){return this.Hd().gc()},TWt.Gd=function(t,e){return lht(this.Hd().bd(t,e))},TWt.Pc=function(){return this.Hd().Qc(P8(Ote,HWt,1,this.Hd().gc(),5,1))},TWt.Qc=function(t){return this.Hd().Qc(t)},TWt.Ib=function(){return qdt(this.Hd())},mZ(WWt,"ForwardingImmutableList",2006),pDt(714,1,_Kt),TWt.vc=function(){return fG(this)},TWt.wc=function(t){eot(this,t)},TWt.ec=function(){return dG(this)},TWt.yc=function(t,e,n){return tdt(this,t,e,n)},TWt.Cc=function(){return this.Ld()},TWt.$b=function(){throw qw(new wm)},TWt._b=function(t){return null!=this.xc(t)},TWt.uc=function(t){return this.Ld().Hc(t)},TWt.Jd=function(){return new am(this)},TWt.Kd=function(){return new om(this)},TWt.Fb=function(t){return Lut(this,t)},TWt.Hb=function(){return fG(this).Hb()},TWt.dc=function(){return 0==this.gc()},TWt.zc=function(t,e){return mx()},TWt.Bc=function(t){throw qw(new wm)},TWt.Ib=function(){return fTt(this)},TWt.Ld=function(){return this.e?this.e:this.e=this.Kd()},TWt.c=null,TWt.d=null,TWt.e=null,mZ(WWt,"ImmutableMap",714),pDt(715,714,_Kt),TWt._b=function(t){return Vk(this,t)},TWt.uc=function(t){return jA(this.b,t)},TWt.Id=function(){return hht(new ef(this))},TWt.Jd=function(){return hht(iK(this.b))},TWt.Kd=function(){return uj(),new rm(eK(this.b))},TWt.Fb=function(t){return zA(this.b,t)},TWt.xc=function(t){return YR(this,t)},TWt.Hb=function(){return eut(this.b.c)},TWt.dc=function(){return this.b.c.dc()},TWt.gc=function(){return this.b.c.gc()},TWt.Ib=function(){return qdt(this.b.c)},mZ(WWt,"ForwardingImmutableMap",715),pDt(1974,1973,AKt),TWt.Bd=function(){return this.Md()},TWt.Cd=function(){return this.Md()},TWt.Nc=function(){return new g1(this,1)},TWt.Fb=function(t){return t===this||this.Md().Fb(t)},TWt.Hb=function(){return this.Md().Hb()},mZ(WWt,"ForwardingSet",1974),pDt(1069,1974,AKt,ef),TWt.Bd=function(){return nK(this.a.b)},TWt.Cd=function(){return nK(this.a.b)},TWt.Hc=function(t){if(aL(t,42)&&null==zz(t,42).cd())return!1;try{return RA(nK(this.a.b),t)}catch(t){if(aL(t=dst(t),205))return!1;throw qw(t)}},TWt.Md=function(){return nK(this.a.b)},TWt.Qc=function(t){var e;return e=IV(nK(this.a.b),t),nK(this.a.b).b.gc()<e.length&&OZ(e,nK(this.a.b).b.gc(),null),e},mZ(WWt,"ForwardingImmutableMap/1",1069),pDt(1981,1980,EKt),TWt.Kc=function(){return this.Ed()},TWt.Nc=function(){return new g1(this,1)},TWt.Fb=function(t){return YTt(this,t)},TWt.Hb=function(){return qrt(this)},mZ(WWt,"ImmutableSet",1981),pDt(703,1981,EKt),TWt.Kc=function(){return L7(new Hd(this.a.b.Kc()))},TWt.Hc=function(t){return null!=t&&PA(this.a,t)},TWt.Ic=function(t){return BA(this.a,t)},TWt.Hb=function(){return eut(this.a.b)},TWt.dc=function(){return this.a.b.dc()},TWt.Ed=function(){return L7(new Hd(this.a.b.Kc()))},TWt.gc=function(){return this.a.b.gc()},TWt.Pc=function(){return this.a.b.Pc()},TWt.Qc=function(t){return FA(this.a,t)},TWt.Ib=function(){return qdt(this.a.b)},mZ(WWt,"ForwardingImmutableSet",703),pDt(1975,1974,TKt),TWt.Bd=function(){return this.b},TWt.Cd=function(){return this.b},TWt.Md=function(){return this.b},TWt.Nc=function(){return new gT(this)},mZ(WWt,"ForwardingSortedSet",1975),pDt(533,1979,_Kt,Omt),TWt.Ac=function(t){Eat(this,t)},TWt.Cc=function(){return new wO(this.d||(this.d=new nf(this)))},TWt.$b=function(){p5(this)},TWt._b=function(t){return!!Jrt(this,t,pU(odt(CKt,rK(pU(odt(null==t?0:eut(t),SKt)),15))))},TWt.uc=function(t){return Net(this,t)},TWt.kc=function(){return new KL(this,this)},TWt.wc=function(t){zQ(this,t)},TWt.xc=function(t){return lnt(this,t)},TWt.ec=function(){return new mO(this)},TWt.zc=function(t,e){return pRt(this,t,e)},TWt.Bc=function(t){var e;return(e=Jrt(this,t,pU(odt(CKt,rK(pU(odt(null==t?0:eut(t),SKt)),15)))))?(NLt(this,e),e.e=null,e.c=null,e.i):null},TWt.gc=function(){return this.i},TWt.pd=function(){return new wO(this.d||(this.d=new nf(this)))},TWt.f=0,TWt.g=0,TWt.i=0,mZ(WWt,"HashBiMap",533),pDt(534,1,VWt),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return f3(this)},TWt.Pb=function(){var t;if(!f3(this))throw qw(new vm);return t=this.c,this.c=t.c,this.f=t,--this.d,this.Nd(t)},TWt.Qb=function(){if(this.e.g!=this.b)throw qw(new mm);hot(!!this.f),NLt(this.e,this.f),this.b=this.e.g,this.f=null},TWt.b=0,TWt.d=0,TWt.f=null,mZ(WWt,"HashBiMap/Itr",534),pDt(1011,534,VWt,KL),TWt.Nd=function(t){return new dA(this,t)},mZ(WWt,"HashBiMap/1",1011),pDt(1012,345,sKt,dA),TWt.cd=function(){return this.a.g},TWt.dd=function(){return this.a.i},TWt.ed=function(t){var e,n,i;return n=this.a.i,(i=pU(odt(CKt,rK(pU(odt(null==t?0:eut(t),SKt)),15))))==this.a.f&&(UI(t)===UI(n)||null!=t&&Pht(t,n))?t:(xst(!tat(this.b.a,t,i),t),NLt(this.b.a,this.a),e=new HW(this.a.g,this.a.a,t,i),QSt(this.b.a,e,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=e),this.a=e,n)},mZ(WWt,"HashBiMap/1/MapEntry",1012),pDt(238,345,{345:1,238:1,3:1,42:1},mA),TWt.cd=function(){return this.g},TWt.dd=function(){return this.i},TWt.ed=function(t){throw qw(new wm)},mZ(WWt,"ImmutableEntry",238),pDt(317,238,{345:1,317:1,238:1,3:1,42:1},HW),TWt.a=0,TWt.f=0;var Ute,Gte=mZ(WWt,"HashBiMap/BiEntry",317);pDt(610,1979,_Kt,nf),TWt.Ac=function(t){Eat(this,t)},TWt.Cc=function(){return new mO(this.a)},TWt.$b=function(){p5(this.a)},TWt._b=function(t){return Net(this.a,t)},TWt.kc=function(){return new XL(this,this.a)},TWt.wc=function(t){vZ(t),zQ(this.a,new rf(t))},TWt.xc=function(t){return Zit(this,t)},TWt.ec=function(){return new wO(this)},TWt.zc=function(t,e){return Ijt(this.a,t,e,!1)},TWt.Bc=function(t){var e;return(e=tat(this.a,t,pU(odt(CKt,rK(pU(odt(null==t?0:eut(t),SKt)),15)))))?(NLt(this.a,e),e.e=null,e.c=null,e.g):null},TWt.gc=function(){return this.a.i},TWt.pd=function(){return new mO(this.a)},mZ(WWt,"HashBiMap/Inverse",610),pDt(1008,534,VWt,XL),TWt.Nd=function(t){return new gA(this,t)},mZ(WWt,"HashBiMap/Inverse/1",1008),pDt(1009,345,sKt,gA),TWt.cd=function(){return this.a.i},TWt.dd=function(){return this.a.g},TWt.ed=function(t){var e,n,i;return i=this.a.g,(e=pU(odt(CKt,rK(pU(odt(null==t?0:eut(t),SKt)),15))))==this.a.a&&(UI(t)===UI(i)||null!=t&&Pht(t,i))?t:(xst(!Jrt(this.b.a.a,t,e),t),NLt(this.b.a.a,this.a),n=new HW(t,e,this.a.i,this.a.f),this.a=n,QSt(this.b.a.a,n,null),this.b.b=this.b.a.a.g,i)},mZ(WWt,"HashBiMap/Inverse/1/InverseEntry",1009),pDt(611,532,nKt,wO),TWt.Kc=function(){return new sv(this.a.a)},TWt.Mc=function(t){var e;return!!(e=tat(this.a.a,t,pU(odt(CKt,rK(pU(odt(null==t?0:eut(t),SKt)),15)))))&&(NLt(this.a.a,e),!0)},mZ(WWt,"HashBiMap/Inverse/InverseKeySet",611),pDt(1007,534,VWt,sv),TWt.Nd=function(t){return t.i},mZ(WWt,"HashBiMap/Inverse/InverseKeySet/1",1007),pDt(1010,1,{},rf),TWt.Od=function(t,e){nm(this.a,t,e)},mZ(WWt,"HashBiMap/Inverse/lambda$0$Type",1010),pDt(609,532,nKt,mO),TWt.Kc=function(){return new cv(this.a)},TWt.Mc=function(t){var e;return!!(e=Jrt(this.a,t,pU(odt(CKt,rK(pU(odt(null==t?0:eut(t),SKt)),15)))))&&(NLt(this.a,e),e.e=null,e.c=null,!0)},mZ(WWt,"HashBiMap/KeySet",609),pDt(1006,534,VWt,cv),TWt.Nd=function(t){return t.g},mZ(WWt,"HashBiMap/KeySet/1",1006),pDt(1093,619,XWt),mZ(WWt,"HashMultimapGwtSerializationDependencies",1093),pDt(265,1093,XWt,wQ),TWt.hc=function(){return new d_(net(this.a))},TWt.gd=function(){return new d_(net(this.a))},TWt.a=2,mZ(WWt,"HashMultimap",265),pDt(1999,152,xKt),TWt.Hc=function(t){return this.Pd().Hc(t)},TWt.dc=function(){return this.Pd().dc()},TWt.gc=function(){return this.Pd().gc()},mZ(WWt,"ImmutableAsList",1999),pDt(1931,715,_Kt),TWt.Ld=function(){return uj(),new vx(this.a)},TWt.Cc=function(){return uj(),new vx(this.a)},TWt.pd=function(){return uj(),new vx(this.a)},mZ(WWt,"ImmutableBiMap",1931),pDt(1977,1,{}),mZ(WWt,"ImmutableCollection/Builder",1977),pDt(1022,703,EKt,uv),mZ(WWt,"ImmutableEnumSet",1022),pDt(969,386,KWt,dR),TWt.Xb=function(t){return this.a.Xb(t)},mZ(WWt,"ImmutableList/1",969),pDt(968,1977,{},uF),mZ(WWt,"ImmutableList/Builder",968),pDt(614,198,ZWt,af),TWt.Ob=function(){return this.a.Ob()},TWt.Pb=function(){return zz(this.a.Pb(),42).cd()},mZ(WWt,"ImmutableMap/1",614),pDt(1041,1,{},c),TWt.Kb=function(t){return zz(t,42).cd()},mZ(WWt,"ImmutableMap/2methodref$getKey$Type",1041),pDt(1040,1,{},lF),mZ(WWt,"ImmutableMap/Builder",1040),pDt(2e3,1981,EKt),TWt.Kc=function(){return new af(fG(this.a).Ed())},TWt.Dd=function(){return new sm(this)},TWt.Jc=function(t){var e,n;for(vZ(t),n=this.gc(),e=0;e<n;e++)t.td(zz(gG(fG(this.a)).Xb(e),42).cd())},TWt.Ed=function(){var t;return(t=this.c,t||(this.c=new sm(this))).Ed()},TWt.Nc=function(){return vH(this.gc(),1296,new sf(this))},mZ(WWt,"IndexedImmutableSet",2e3),pDt(1180,2e3,EKt,am),TWt.Kc=function(){return new af(fG(this.a).Ed())},TWt.Hc=function(t){return this.a._b(t)},TWt.Jc=function(t){vZ(t),eot(this.a,new of(t))},TWt.Ed=function(){return new af(fG(this.a).Ed())},TWt.gc=function(){return this.a.gc()},TWt.Nc=function(){return Fz(fG(this.a).Nc(),new c)},mZ(WWt,"ImmutableMapKeySet",1180),pDt(1181,1,{},of),TWt.Od=function(t,e){uj(),this.a.td(t)},mZ(WWt,"ImmutableMapKeySet/lambda$0$Type",1181),pDt(1178,1980,vKt,om),TWt.Kc=function(){return new Rq(this)},TWt.Hc=function(t){return null!=t&&Skt(new Rq(this),t)},TWt.Ed=function(){return new Rq(this)},TWt.gc=function(){return this.a.gc()},TWt.Nc=function(){return Fz(fG(this.a).Nc(),new u)},mZ(WWt,"ImmutableMapValues",1178),pDt(1179,1,{},u),TWt.Kb=function(t){return zz(t,42).dd()},mZ(WWt,"ImmutableMapValues/0methodref$getValue$Type",1179),pDt(626,198,ZWt,Rq),TWt.Ob=function(){return this.a.Ob()},TWt.Pb=function(){return zz(this.a.Pb(),42).dd()},mZ(WWt,"ImmutableMapValues/1",626),pDt(1182,1,{},sf),TWt.ld=function(t){return qY(this.a,t)},mZ(WWt,"IndexedImmutableSet/0methodref$get$Type",1182),pDt(752,1999,xKt,sm),TWt.Pd=function(){return this.a},TWt.Xb=function(t){return qY(this.a,t)},TWt.gc=function(){return this.a.a.gc()},mZ(WWt,"IndexedImmutableSet/1",752),pDt(44,1,{},l),TWt.Kb=function(t){return zz(t,20).Kc()},TWt.Fb=function(t){return this===t},mZ(WWt,"Iterables/10",44),pDt(1042,537,mKt,jq),TWt.Jc=function(t){vZ(t),this.b.Jc(new pA(this.a,t))},TWt.Kc=function(){return HD(this)},mZ(WWt,"Iterables/4",1042),pDt(1043,1,dKt,pA),TWt.td=function(t){AT(this.b,this.a,t)},mZ(WWt,"Iterables/4/lambda$0$Type",1043),pDt(1044,537,mKt,$q),TWt.Jc=function(t){vZ(t),n5(this.a,new hA(t,this.b))},TWt.Kc=function(){return JL(new DL(this.a),this.b)},mZ(WWt,"Iterables/5",1044),pDt(1045,1,dKt,hA),TWt.td=function(t){this.a.td(vD(t))},mZ(WWt,"Iterables/5/lambda$0$Type",1045),pDt(1071,198,ZWt,cf),TWt.Ob=function(){return this.a.Ob()},TWt.Pb=function(){return this.a.Pb()},mZ(WWt,"Iterators/1",1071),pDt(1072,699,ZWt,fA),TWt.Yb=function(){for(var t;this.b.Ob();)if(t=this.b.Pb(),this.a.Lb(t))return t;return this.e=2,null},mZ(WWt,"Iterators/5",1072),pDt(487,1,VWt),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.b.Ob()},TWt.Pb=function(){return this.Qd(this.b.Pb())},TWt.Qb=function(){this.b.Qb()},mZ(WWt,"TransformedIterator",487),pDt(1073,487,VWt,tN),TWt.Qd=function(t){return this.a.Kb(t)},mZ(WWt,"Iterators/6",1073),pDt(717,198,ZWt,uf),TWt.Ob=function(){return!this.a},TWt.Pb=function(){if(this.a)throw qw(new vm);return this.a=!0,this.b},TWt.a=!1,mZ(WWt,"Iterators/9",717),pDt(1070,386,KWt,hU),TWt.Xb=function(t){return this.a[this.b+t]},TWt.b=0,mZ(WWt,"Iterators/ArrayItr",1070),pDt(39,1,{39:1,47:1},cG),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return bDt(this)},TWt.Pb=function(){return Y5(this)},TWt.Qb=function(){hot(!!this.c),this.c.Qb(),this.c=null},mZ(WWt,"Iterators/ConcatenatedIterator",39),pDt(22,1,{3:1,35:1,22:1}),TWt.wd=function(t){return Cv(this,zz(t,22))},TWt.Fb=function(t){return this===t},TWt.Hb=function(){return CN(this)},TWt.Ib=function(){return pP(this)},TWt.g=0;var Yte,Zte=mZ(RWt,"Enum",22);pDt(538,22,{538:1,3:1,35:1,22:1,47:1},aN),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return!1},TWt.Pb=function(){throw qw(new vm)},TWt.Qb=function(){hot(!1)};var Wte,Kte=qnt(WWt,"Iterators/EmptyModifiableIterator",538,Zte,cZ,rP);pDt(1834,619,XWt),mZ(WWt,"LinkedHashMultimapGwtSerializationDependencies",1834),pDt(1835,1834,XWt,Elt),TWt.hc=function(){return new LN(net(this.b))},TWt.$b=function(){pit(this),im(this.a,this.a)},TWt.gd=function(){return new LN(net(this.b))},TWt.ic=function(t){return new Eut(this,t,this.b)},TWt.kc=function(){return new eN(this)},TWt.lc=function(){return new g1(zz(this.g||(this.g=new Hy(this)),21),17)},TWt.ec=function(){return this.i||(this.i=new qL(this,this.c))},TWt.nc=function(){return new dv(new eN(this))},TWt.oc=function(){return Fz(new g1(zz(this.g||(this.g=new Hy(this)),21),17),new h)},TWt.b=2,mZ(WWt,"LinkedHashMultimap",1835),pDt(1838,1,{},h),TWt.Kb=function(t){return zz(t,42).dd()},mZ(WWt,"LinkedHashMultimap/0methodref$getValue$Type",1838),pDt(824,1,VWt,eN),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return yet(this)},TWt.Ob=function(){return this.a!=this.b.a},TWt.Qb=function(){hot(!!this.c),H0(this.b,this.c.g,this.c.i),this.c=null},mZ(WWt,"LinkedHashMultimap/1",824),pDt(330,238,{345:1,238:1,330:1,2020:1,3:1,42:1},qW),TWt.Rd=function(){return this.f},TWt.Sd=function(t){this.c=t},TWt.Td=function(t){this.f=t},TWt.d=0;var Xte,Vte=mZ(WWt,"LinkedHashMultimap/ValueEntry",330);pDt(1836,1970,{2020:1,20:1,28:1,14:1,21:1},Eut),TWt.Fc=function(t){var e,n,i,r,a;for(e=(a=pU(odt(CKt,rK(pU(odt(null==t?0:eut(t),SKt)),15))))&this.b.length-1,n=r=this.b[e];n;n=n.a)if(n.d==a&&gW(n.i,t))return!1;return i=new qW(this.c,t,a,r),xx(this.d,i),i.f=this,this.d=i,im(this.g.a.b,i),im(i,this.g.a),this.b[e]=i,++this.f,++this.e,xkt(this),!0},TWt.$b=function(){var t,e;for(vT(this.b,null),this.f=0,t=this.a;t!=this;t=t.Rd())im((e=zz(t,330)).b,e.e);this.a=this,this.d=this,++this.e},TWt.Hc=function(t){var e,n;for(n=pU(odt(CKt,rK(pU(odt(null==t?0:eut(t),SKt)),15))),e=this.b[n&this.b.length-1];e;e=e.a)if(e.d==n&&gW(e.i,t))return!0;return!1},TWt.Jc=function(t){var e;for(vZ(t),e=this.a;e!=this;e=e.Rd())t.td(zz(e,330).i)},TWt.Rd=function(){return this.a},TWt.Kc=function(){return new uW(this)},TWt.Mc=function(t){return kDt(this,t)},TWt.Sd=function(t){this.d=t},TWt.Td=function(t){this.a=t},TWt.gc=function(){return this.f},TWt.e=0,TWt.f=0,mZ(WWt,"LinkedHashMultimap/ValueSet",1836),pDt(1837,1,VWt,uW),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return gU(this),this.b!=this.c},TWt.Pb=function(){var t,e;if(gU(this),this.b==this.c)throw qw(new vm);return e=(t=zz(this.b,330)).i,this.d=t,this.b=t.f,e},TWt.Qb=function(){gU(this),hot(!!this.d),kDt(this.c,this.d.i),this.a=this.c.e,this.d=null},TWt.a=0,mZ(WWt,"LinkedHashMultimap/ValueSet/1",1837),pDt(766,1986,XWt,CM),TWt.Zb=function(){return this.f||(this.f=new rT(this))},TWt.Fb=function(t){return _ut(this,t)},TWt.cc=function(t){return new yA(this,t)},TWt.fc=function(t){return Q3(this,t)},TWt.$b=function(){aZ(this)},TWt._b=function(t){return qA(this,t)},TWt.ac=function(){return new rT(this)},TWt.bc=function(){return new vf(this)},TWt.qc=function(t){return new yA(this,t)},TWt.dc=function(){return!this.a},TWt.rc=function(t){return Q3(this,t)},TWt.gc=function(){return this.d},TWt.c=0,TWt.d=0,mZ(WWt,"LinkedListMultimap",766),pDt(52,28,NKt),TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return new g1(this,16)},TWt.Vc=function(t,e){throw qw(new ex("Add not supported on this list"))},TWt.Fc=function(t){return this.Vc(this.gc(),t),!0},TWt.Wc=function(t,e){var n,i,r;for(xW(e),n=!1,r=e.Kc();r.Ob();)i=r.Pb(),this.Vc(t++,i),n=!0;return n},TWt.$b=function(){this.Ud(0,this.gc())},TWt.Fb=function(t){return PDt(this,t)},TWt.Hb=function(){return zct(this)},TWt.Xc=function(t){return git(this,t)},TWt.Kc=function(){return new Td(this)},TWt.Yc=function(){return this.Zc(0)},TWt.Zc=function(t){return new E2(this,t)},TWt.$c=function(t){throw qw(new ex("Remove not supported on this list"))},TWt.Ud=function(t,e){var n,i;for(i=this.Zc(t),n=t;n<e;++n)i.Pb(),i.Qb()},TWt._c=function(t,e){throw qw(new ex("Set not supported on this list"))},TWt.bd=function(t,e){return new u1(this,t,e)},TWt.j=0,mZ(QWt,"AbstractList",52),pDt(1964,52,NKt),TWt.Vc=function(t,e){RP(this,t,e)},TWt.Wc=function(t,e){return Out(this,t,e)},TWt.Xb=function(t){return Fwt(this,t)},TWt.Kc=function(){return this.Zc(0)},TWt.$c=function(t){return nxt(this,t)},TWt._c=function(t,e){var n,i;n=this.Zc(t);try{return i=n.Pb(),n.Wb(e),i}catch(e){throw aL(e=dst(e),109)?qw(new Dv("Can't set element "+t)):qw(e)}},mZ(QWt,"AbstractSequentialList",1964),pDt(636,1964,NKt,yA),TWt.Zc=function(t){return mN(this,t)},TWt.gc=function(){var t;return(t=zz(FZ(this.a.b,this.b),283))?t.a:0},mZ(WWt,"LinkedListMultimap/1",636),pDt(1297,1970,nKt,vf),TWt.Hc=function(t){return qA(this.a,t)},TWt.Kc=function(){return new yrt(this.a)},TWt.Mc=function(t){return!Q3(this.a,t).a.dc()},TWt.gc=function(){return NA(this.a.b)},mZ(WWt,"LinkedListMultimap/1KeySetImpl",1297),pDt(1296,1,VWt,yrt),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return dU(this),!!this.c},TWt.Pb=function(){dU(this),cN(this.c),this.a=this.c,AY(this.d,this.a.a);do{this.c=this.c.b}while(this.c&&!AY(this.d,this.c.a));return this.a.a},TWt.Qb=function(){dU(this),hot(!!this.a),SH(new S9(this.e,this.a.a)),this.a=null,this.b=this.e.c},TWt.b=0,mZ(WWt,"LinkedListMultimap/DistinctKeyIterator",1296),pDt(283,1,{283:1},uV),TWt.a=0,mZ(WWt,"LinkedListMultimap/KeyList",283),pDt(1295,345,sKt,vA),TWt.cd=function(){return this.a},TWt.dd=function(){return this.f},TWt.ed=function(t){var e;return e=this.f,this.f=t,e},mZ(WWt,"LinkedListMultimap/Node",1295),pDt(560,1,oKt,S9,jCt),TWt.Nb=function(t){hY(this,t)},TWt.Rb=function(t){this.e=xRt(this.f,this.b,t,this.c),++this.d,this.a=null},TWt.Ob=function(){return!!this.c},TWt.Sb=function(){return!!this.e},TWt.Pb=function(){return _J(this)},TWt.Tb=function(){return this.d},TWt.Ub=function(){return AJ(this)},TWt.Vb=function(){return this.d-1},TWt.Qb=function(){hot(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,tIt(this.f,this.a),this.a=null},TWt.Wb=function(t){sN(!!this.a),this.a.f=t},TWt.d=0,mZ(WWt,"LinkedListMultimap/ValueForKeyIterator",560),pDt(1018,52,NKt),TWt.Vc=function(t,e){this.a.Vc(t,e)},TWt.Wc=function(t,e){return this.a.Wc(t,e)},TWt.Hc=function(t){return this.a.Hc(t)},TWt.Xb=function(t){return this.a.Xb(t)},TWt.$c=function(t){return this.a.$c(t)},TWt._c=function(t,e){return this.a._c(t,e)},TWt.gc=function(){return this.a.gc()},mZ(WWt,"Lists/AbstractListWrapper",1018),pDt(1019,1018,BKt),mZ(WWt,"Lists/RandomAccessListWrapper",1019),pDt(1021,1019,BKt,IA),TWt.Zc=function(t){return this.a.Zc(t)},mZ(WWt,"Lists/1",1021),pDt(131,52,{131:1,20:1,28:1,52:1,14:1,15:1},SA),TWt.Vc=function(t,e){this.a.Vc(wY(this,t),e)},TWt.$b=function(){this.a.$b()},TWt.Xb=function(t){return this.a.Xb(LZ(this,t))},TWt.Kc=function(){return W1(this,0)},TWt.Zc=function(t){return W1(this,t)},TWt.$c=function(t){return this.a.$c(LZ(this,t))},TWt.Ud=function(t,e){(p2(t,e,this.a.gc()),iot(this.a.bd(wY(this,e),wY(this,t)))).$b()},TWt._c=function(t,e){return this.a._c(LZ(this,t),e)},TWt.gc=function(){return this.a.gc()},TWt.bd=function(t,e){return p2(t,e,this.a.gc()),iot(this.a.bd(wY(this,e),wY(this,t)))},mZ(WWt,"Lists/ReverseList",131),pDt(280,131,{131:1,20:1,28:1,52:1,14:1,15:1,54:1},hv),mZ(WWt,"Lists/RandomAccessReverseList",280),pDt(1020,1,oKt,xA),TWt.Nb=function(t){hY(this,t)},TWt.Rb=function(t){this.c.Rb(t),this.c.Ub(),this.a=!1},TWt.Ob=function(){return this.c.Sb()},TWt.Sb=function(){return this.c.Ob()},TWt.Pb=function(){return g5(this)},TWt.Tb=function(){return wY(this.b,this.c.Tb())},TWt.Ub=function(){if(!this.c.Ob())throw qw(new vm);return this.a=!0,this.c.Pb()},TWt.Vb=function(){return wY(this.b,this.c.Tb())-1},TWt.Qb=function(){hot(this.a),this.c.Qb(),this.a=!1},TWt.Wb=function(t){sN(this.a),this.c.Wb(t)},TWt.a=!1,mZ(WWt,"Lists/ReverseList/1",1020),pDt(432,487,VWt,fv),TWt.Qd=function(t){return aT(t)},mZ(WWt,"Maps/1",432),pDt(698,487,VWt,dv),TWt.Qd=function(t){return zz(t,42).dd()},mZ(WWt,"Maps/2",698),pDt(962,487,VWt,wN),TWt.Qd=function(t){return new mA(t,jM(this.a,t))},mZ(WWt,"Maps/3",962),pDt(959,1971,nKt,yf),TWt.Jc=function(t){Pm(this.a,t)},TWt.Kc=function(){return this.a.kc()},TWt.Rc=function(){return this.a},TWt.Nc=function(){return this.a.lc()},mZ(WWt,"Maps/IteratorBasedAbstractMap/1",959),pDt(960,1,{},mf),TWt.Od=function(t,e){this.a.td(t)},mZ(WWt,"Maps/KeySet/lambda$0$Type",960),pDt(958,28,tKt,CA),TWt.$b=function(){this.a.$b()},TWt.Hc=function(t){return this.a.uc(t)},TWt.Jc=function(t){vZ(t),this.a.wc(new ff(t))},TWt.dc=function(){return this.a.dc()},TWt.Kc=function(){return new dv(this.a.vc().Kc())},TWt.Mc=function(t){var e,n;try{return xgt(this,t,!0)}catch(i){if(aL(i=dst(i),41)){for(n=this.a.vc().Kc();n.Ob();)if(gW(t,(e=zz(n.Pb(),42)).dd()))return this.a.Bc(e.cd()),!0;return!1}throw qw(i)}},TWt.gc=function(){return this.a.gc()},mZ(WWt,"Maps/Values",958),pDt(961,1,{},ff),TWt.Od=function(t,e){this.a.td(e)},mZ(WWt,"Maps/Values/lambda$0$Type",961),pDt(736,1987,JWt,rT),TWt.xc=function(t){return this.a._b(t)?this.a.cc(t):null},TWt.Bc=function(t){return this.a._b(t)?this.a.fc(t):null},TWt.$b=function(){this.a.$b()},TWt._b=function(t){return this.a._b(t)},TWt.Ec=function(){return new hf(this)},TWt.Dc=function(){return this.Ec()},TWt.dc=function(){return this.a.dc()},TWt.ec=function(){return this.a.ec()},TWt.gc=function(){return this.a.ec().gc()},mZ(WWt,"Multimaps/AsMap",736),pDt(1104,1971,nKt,hf),TWt.Kc=function(){return tL(this.a.a.ec(),new df(this))},TWt.Rc=function(){return this.a},TWt.Mc=function(t){var e;return!!rpt(this,t)&&(e=zz(t,42),kx(this.a,e.cd()),!0)},mZ(WWt,"Multimaps/AsMap/EntrySet",1104),pDt(1108,1,{},df),TWt.Kb=function(t){return jM(this,t)},TWt.Fb=function(t){return this===t},mZ(WWt,"Multimaps/AsMap/EntrySet/1",1108),pDt(543,1989,{543:1,835:1,20:1,28:1,14:1},gf),TWt.$b=function(){pit(this.a)},TWt.Hc=function(t){return Wk(this.a,t)},TWt.Jc=function(t){vZ(t),n5(EZ(this.a),new bf(t))},TWt.Kc=function(){return new fv(EZ(this.a).a.kc())},TWt.gc=function(){return this.a.d},TWt.Nc=function(){return Fz(EZ(this.a).Nc(),new f)},mZ(WWt,"Multimaps/Keys",543),pDt(1106,1,{},f),TWt.Kb=function(t){return zz(t,42).cd()},mZ(WWt,"Multimaps/Keys/0methodref$getKey$Type",1106),pDt(1105,487,VWt,gv),TWt.Qd=function(t){return new pf(zz(t,42))},mZ(WWt,"Multimaps/Keys/1",1105),pDt(1990,1,{416:1}),TWt.Fb=function(t){var e;return!!aL(t,492)&&(e=zz(t,416),zz(this.a.dd(),14).gc()==zz(e.a.dd(),14).gc()&&gW(this.a.cd(),e.a.cd()))},TWt.Hb=function(){var t;return(null==(t=this.a.cd())?0:eut(t))^zz(this.a.dd(),14).gc()},TWt.Ib=function(){var t,e;return e=xN(this.a.cd()),1==(t=zz(this.a.dd(),14).gc())?e:e+" x "+t},mZ(WWt,"Multisets/AbstractEntry",1990),pDt(492,1990,{492:1,416:1},pf),mZ(WWt,"Multimaps/Keys/1/1",492),pDt(1107,1,dKt,bf),TWt.td=function(t){this.a.td(zz(t,42).cd())},mZ(WWt,"Multimaps/Keys/lambda$1$Type",1107),pDt(1110,1,dKt,d),TWt.td=function(t){IH(zz(t,416))},mZ(WWt,"Multiset/lambda$0$Type",1110),pDt(737,1,dKt,wf),TWt.td=function(t){Met(this.a,zz(t,416))},mZ(WWt,"Multiset/lambda$1$Type",737),pDt(1111,1,{},y),mZ(WWt,"Multisets/0methodref$add$Type",1111),pDt(738,1,{},v),TWt.Kb=function(t){return u3(zz(t,416))},mZ(WWt,"Multisets/lambda$3$Type",738),pDt(2008,1,jWt),mZ(WWt,"RangeGwtSerializationDependencies",2008),pDt(514,2008,{169:1,514:1,3:1,45:1},lmt),TWt.Lb=function(t){return EG(this,zz(t,35))},TWt.Mb=function(t){return EG(this,zz(t,35))},TWt.Fb=function(t){var e;return!!aL(t,514)&&(e=zz(t,514),Bpt(this.a,e.a)&&Bpt(this.b,e.b))},TWt.Hb=function(){return 31*this.a.Hb()+this.b.Hb()},TWt.Ib=function(){return z3(this.a,this.b)},mZ(WWt,"Range",514),pDt(778,1999,xKt,oY),TWt.Zc=function(t){return iP(this.b,t)},TWt.Pd=function(){return this.a},TWt.Xb=function(t){return WI(this.b,t)},TWt.Fd=function(t){return iP(this.b,t)},mZ(WWt,"RegularImmutableAsList",778),pDt(646,2006,xKt,TV),TWt.Hd=function(){return this.a},mZ(WWt,"RegularImmutableList",646),pDt(616,715,_Kt,lv),mZ(WWt,"RegularImmutableMap",616),pDt(716,703,EKt,mT),mZ(WWt,"RegularImmutableSet",716),pDt(1976,eKt,nKt),TWt.Kc=function(){return new TK(this.a,this.b)},TWt.Fc=function(t){throw qw(new wm)},TWt.Gc=function(t){throw qw(new wm)},TWt.$b=function(){throw qw(new wm)},TWt.Mc=function(t){throw qw(new wm)},mZ(WWt,"Sets/SetView",1976),pDt(963,1976,nKt,_A),TWt.Kc=function(){return new TK(this.a,this.b)},TWt.Hc=function(t){return SU(this.a,t)&&this.b.Hc(t)},TWt.Ic=function(t){return ust(this.a,t)&&this.b.Ic(t)},TWt.dc=function(){return jwt(this.b,this.a)},TWt.Lc=function(){return DK(new FH(null,new g1(this.a,1)),new kf(this.b))},TWt.gc=function(){return Iot(this)},TWt.Oc=function(){return DK(new FH(null,new g1(this.a,1)),new xf(this.b))},mZ(WWt,"Sets/2",963),pDt(700,699,ZWt,TK),TWt.Yb=function(){for(var t;xO(this.a);)if(t=s4(this.a),this.c.Hc(t))return t;return this.e=2,null},mZ(WWt,"Sets/2/1",700),pDt(964,1,FKt,xf),TWt.Mb=function(t){return this.a.Hc(t)},mZ(WWt,"Sets/2/4methodref$contains$Type",964),pDt(965,1,FKt,kf),TWt.Mb=function(t){return this.a.Hc(t)},mZ(WWt,"Sets/2/5methodref$contains$Type",965),pDt(607,1975,{607:1,3:1,20:1,14:1,271:1,21:1,84:1},dQ),TWt.Bd=function(){return this.b},TWt.Cd=function(){return this.b},TWt.Md=function(){return this.b},TWt.Jc=function(t){this.a.Jc(t)},TWt.Lc=function(){return this.a.Lc()},TWt.Oc=function(){return this.a.Oc()},mZ(WWt,"Sets/UnmodifiableNavigableSet",607),pDt(1932,1931,_Kt,UW),TWt.Ld=function(){return uj(),new vx(this.a)},TWt.Cc=function(){return uj(),new vx(this.a)},TWt.pd=function(){return uj(),new vx(this.a)},mZ(WWt,"SingletonImmutableBiMap",1932),pDt(647,2006,xKt,CH),TWt.Hd=function(){return this.a},mZ(WWt,"SingletonImmutableList",647),pDt(350,1981,EKt,vx),TWt.Kc=function(){return new uf(this.a)},TWt.Hc=function(t){return Pht(this.a,t)},TWt.Ed=function(){return new uf(this.a)},TWt.gc=function(){return 1},mZ(WWt,"SingletonImmutableSet",350),pDt(1115,1,{},x),TWt.Kb=function(t){return zz(t,164)},mZ(WWt,"Streams/lambda$0$Type",1115),pDt(1116,1,RKt,_f),TWt.Vd=function(){z5(this.a)},mZ(WWt,"Streams/lambda$1$Type",1116),pDt(1659,1658,XWt,wV),TWt.Zb=function(){return zz(zz(this.f||(this.f=aL(this.c,171)?new IB(this,zz(this.c,171)):aL(this.c,161)?new SB(this,zz(this.c,161)):new wA(this,this.c)),161),171)},TWt.hc=function(){return new p_(this.b)},TWt.gd=function(){return new p_(this.b)},TWt.ec=function(){return zz(zz(this.i||(this.i=aL(this.c,171)?new eA(this,zz(this.c,171)):aL(this.c,161)?new tA(this,zz(this.c,161)):new qL(this,this.c)),84),271)},TWt.ac=function(){return aL(this.c,171)?new IB(this,zz(this.c,171)):aL(this.c,161)?new SB(this,zz(this.c,161)):new wA(this,this.c)},TWt.ic=function(t){return null==t&&this.a.ue(t,t),new p_(this.b)},mZ(WWt,"TreeMultimap",1659),pDt(78,1,{3:1,78:1}),TWt.Wd=function(t){return new Error(t)},TWt.Xd=function(){return this.e},TWt.Yd=function(){return $gt(OK(LY((null==this.k&&(this.k=P8(Jte,lKt,78,0,0,1)),this.k)),new P),new st)},TWt.Zd=function(){return this.f},TWt.$d=function(){return this.g},TWt._d=function(){vv(this,d2(this.Wd(SV(this,this.g)))),cm(this)},TWt.Ib=function(){return SV(this,this.$d())},TWt.e=zKt,TWt.i=!1,TWt.n=!0;var Qte,Jte=mZ(RWt,"Throwable",78);pDt(102,78,{3:1,102:1,78:1}),mZ(RWt,"Exception",102),pDt(60,102,qKt,um,pv),mZ(RWt,"RuntimeException",60),pDt(598,60,qKt),mZ(RWt,"JsException",598),pDt(863,598,qKt),mZ(HKt,"JavaScriptExceptionBase",863),pDt(477,863,{477:1,3:1,102:1,60:1,78:1},_lt),TWt.$d=function(){return m_t(this),this.c},TWt.ae=function(){return UI(this.b)===UI(Qte)?null:this.b},mZ(GKt,"JavaScriptException",477);var tee,eee=mZ(GKt,"JavaScriptObject$",0);pDt(1948,1,{}),mZ(GKt,"Scheduler",1948);var nee,iee,ree,aee,oee=0,see=0,cee=-1;pDt(890,1948,{},k),mZ(HKt,"SchedulerImpl",890),pDt(1960,1,{}),mZ(HKt,"StackTraceCreator/Collector",1960),pDt(864,1960,{},_),TWt.be=function(t){var e={},n=[];t[ZKt]=n;for(var i=arguments.callee.caller;i;){var r=(CV(),i.name||(i.name=Xnt(i.toString())));n.push(r);var a,o,s=":"+r,c=e[s];if(c)for(a=0,o=c.length;a<o;a++)if(c[a]===i)return;(c||(e[s]=[])).push(i),i=i.caller}},TWt.ce=function(t){var e,n,i,r;for(CV(),n=(i=t&&t[ZKt]?t[ZKt]:[]).length,r=P8(zee,lKt,310,n,0,1),e=0;e<n;e++)r[e]=new CK(i[e],null,-1);return r},mZ(HKt,"StackTraceCreator/CollectorLegacy",864),pDt(1961,1960,{}),TWt.be=function(t){},TWt.de=function(t,e,n,i){return new CK(e,t+"@"+i,n<0?-1:n)},TWt.ce=function(t){var e,n,i,r,a,o;if(r=dvt(t),a=P8(zee,lKt,310,0,0,1),e=0,0==(i=r.length))return a;for(yR((o=DHt(this,r[0])).d,YKt)||(a[e++]=o),n=1;n<i;n++)a[e++]=DHt(this,r[n]);return a},mZ(HKt,"StackTraceCreator/CollectorModern",1961),pDt(865,1961,{},p),TWt.de=function(t,e,n,i){return new CK(e,t,-1)},mZ(HKt,"StackTraceCreator/CollectorModernNoSourceMap",865),pDt(1050,1,{}),mZ(xXt,kXt,1050),pDt(615,1050,{615:1},GZ),mZ(_Xt,kXt,615),pDt(2001,1,{}),mZ(xXt,AXt,2001),pDt(2002,2001,{}),mZ(_Xt,AXt,2002),pDt(1090,1,{},b),mZ(_Xt,"LocaleInfo",1090),pDt(1918,1,{},w),TWt.a=0,mZ(_Xt,"TimeZone",1918),pDt(1258,2002,{},g),mZ("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1258),pDt(434,1,{434:1},Kz),TWt.a=!1,TWt.b=0,mZ(xXt,"DateTimeFormat/PatternPart",434),pDt(199,1,EXt,DA,yct,CB),TWt.wd=function(t){return Q0(this,zz(t,199))},TWt.Fb=function(t){return aL(t,199)&&XI(fot(this.q.getTime()),fot(zz(t,199).q.getTime()))},TWt.Hb=function(){var t;return pU(r0(t=fot(this.q.getTime()),kG(t,32)))},TWt.Ib=function(){var t,e,i;return t=((i=-this.q.getTimezoneOffset())>=0?"+":"")+(i/60|0),e=YM(n.Math.abs(i)%60),(mEt(),wne)[this.q.getDay()]+" "+mne[this.q.getMonth()]+" "+YM(this.q.getDate())+" "+YM(this.q.getHours())+":"+YM(this.q.getMinutes())+":"+YM(this.q.getSeconds())+" GMT"+t+e+" "+this.q.getFullYear()};var uee,lee,hee,fee,dee,gee,pee,bee,wee,mee,yee,vee=mZ(QWt,"Date",199);pDt(1915,199,EXt,Qxt),TWt.a=!1,TWt.b=0,TWt.c=0,TWt.d=0,TWt.e=0,TWt.f=0,TWt.g=!1,TWt.i=0,TWt.j=0,TWt.k=0,TWt.n=0,TWt.o=0,TWt.p=0,mZ("com.google.gwt.i18n.shared.impl","DateRecord",1915),pDt(1966,1,{}),TWt.fe=function(){return null},TWt.ge=function(){return null},TWt.he=function(){return null},TWt.ie=function(){return null},TWt.je=function(){return null},mZ(TXt,"JSONValue",1966),pDt(216,1966,{216:1},Sf,Af),TWt.Fb=function(t){return!!aL(t,216)&&m0(this.a,zz(t,216).a)},TWt.ee=function(){return Hw},TWt.Hb=function(){return eV(this.a)},TWt.fe=function(){return this},TWt.Ib=function(){var t,e,n;for(n=new fN("["),e=0,t=this.a.length;e<t;e++)e>0&&(n.a+=","),sM(n,ptt(this,e));return n.a+="]",n.a},mZ(TXt,"JSONArray",216),pDt(483,1966,{483:1},Ef),TWt.ee=function(){return Uw},TWt.ge=function(){return this},TWt.Ib=function(){return lN(),""+this.a},TWt.a=!1,mZ(TXt,"JSONBoolean",483),pDt(985,60,qKt,bv),mZ(TXt,"JSONException",985),pDt(1023,1966,{},m),TWt.ee=function(){return Kw},TWt.Ib=function(){return YWt},mZ(TXt,"JSONNull",1023),pDt(258,1966,{258:1},Tf),TWt.Fb=function(t){return!!aL(t,258)&&this.a==zz(t,258).a},TWt.ee=function(){return Gw},TWt.Hb=function(){return KM(this.a)},TWt.he=function(){return this},TWt.Ib=function(){return this.a+""},TWt.a=0,mZ(TXt,"JSONNumber",258),pDt(183,1966,{183:1},wv,Cf),TWt.Fb=function(t){return!!aL(t,183)&&m0(this.a,zz(t,183).a)},TWt.ee=function(){return Yw},TWt.Hb=function(){return eV(this.a)},TWt.ie=function(){return this},TWt.Ib=function(){var t,e,n,i,r,a;for(a=new fN("{"),t=!0,i=0,r=(n=_rt(this,P8(Vee,lKt,2,0,6,1))).length;i<r;++i)e=n[i],t?t=!1:a.a+=zWt,cM(a,vMt(e)),a.a+=":",sM(a,GQ(this,e));return a.a+="}",a.a},mZ(TXt,"JSONObject",183),pDt(596,eKt,nKt,AA),TWt.Hc=function(t){return ZI(t)&&Gx(this.a,TB(t))},TWt.Kc=function(){return new Td(new Qv(this.b))},TWt.gc=function(){return this.b.length},mZ(TXt,"JSONObject/1",596),pDt(204,1966,{204:1},UZ),TWt.Fb=function(t){return!!aL(t,204)&&yR(this.a,zz(t,204).a)},TWt.ee=function(){return Zw},TWt.Hb=function(){return ymt(this.a)},TWt.je=function(){return this},TWt.Ib=function(){return vMt(this.a)},mZ(TXt,"JSONString",204),pDt(1962,1,{525:1}),mZ(NXt,"OutputStream",1962),pDt(1963,1962,{525:1}),mZ(NXt,"FilterOutputStream",1963),pDt(866,1963,{525:1},D),mZ(NXt,"PrintStream",866),pDt(418,1,{475:1}),TWt.Ib=function(){return this.a},mZ(RWt,"AbstractStringBuilder",418),pDt(529,60,qKt,Mv),mZ(RWt,"ArithmeticException",529),pDt(73,60,PXt,hm,Dv),mZ(RWt,"IndexOutOfBoundsException",73),pDt(320,73,{3:1,320:1,102:1,73:1,60:1,78:1},Tm,Ax),mZ(RWt,"ArrayIndexOutOfBoundsException",320),pDt(528,60,qKt,fm,Ov),mZ(RWt,"ArrayStoreException",528),pDt(289,78,BXt,Lv),mZ(RWt,"Error",289),pDt(194,289,BXt,lm,b5),mZ(RWt,"AssertionError",194),IWt={3:1,476:1,35:1};var xee,kee=mZ(RWt,"Boolean",476);pDt(236,1,{3:1,236:1}),mZ(RWt,"Number",236),pDt(217,236,{3:1,217:1,35:1,236:1},Od),TWt.wd=function(t){return $x(this,zz(t,217))},TWt.ke=function(){return this.a},TWt.Fb=function(t){return aL(t,217)&&zz(t,217).a==this.a},TWt.Hb=function(){return this.a},TWt.Ib=function(){return""+this.a},TWt.a=0;var _ee,Aee,Eee=mZ(RWt,"Byte",217);pDt(172,1,{3:1,172:1,35:1},Ld),TWt.wd=function(t){return zx(this,zz(t,172))},TWt.Fb=function(t){return aL(t,172)&&zz(t,172).a==this.a},TWt.Hb=function(){return this.a},TWt.Ib=function(){return String.fromCharCode(this.a)},TWt.a=0;var Tee,Cee=mZ(RWt,"Character",172);pDt(205,60,{3:1,205:1,102:1,60:1,78:1},dm,Rv),mZ(RWt,"ClassCastException",205),MWt={3:1,35:1,333:1,236:1};var See=mZ(RWt,"Double",333);pDt(155,236,{3:1,35:1,155:1,236:1},Nd,Bm),TWt.wd=function(t){return zM(this,zz(t,155))},TWt.ke=function(){return this.a},TWt.Fb=function(t){return aL(t,155)&&mR(this.a,zz(t,155).a)},TWt.Hb=function(){return SQ(this.a)},TWt.Ib=function(){return""+this.a},TWt.a=0;var Iee=mZ(RWt,"Float",155);pDt(32,60,{3:1,102:1,32:1,60:1,78:1},gm,jv,zut),mZ(RWt,"IllegalArgumentException",32),pDt(71,60,qKt,pm,$v),mZ(RWt,"IllegalStateException",71),pDt(19,236,{3:1,35:1,19:1,236:1},Pd),TWt.wd=function(t){return qM(this,zz(t,19))},TWt.ke=function(){return this.a},TWt.Fb=function(t){return aL(t,19)&&zz(t,19).a==this.a},TWt.Hb=function(){return this.a},TWt.Ib=function(){return""+this.a},TWt.a=0;var Mee,Dee,Oee=mZ(RWt,"Integer",19);pDt(162,236,{3:1,35:1,162:1,236:1},Bd),TWt.wd=function(t){return HM(this,zz(t,162))},TWt.ke=function(){return k2(this.a)},TWt.Fb=function(t){return aL(t,162)&&XI(zz(t,162).a,this.a)},TWt.Hb=function(){return pU(this.a)},TWt.Ib=function(){return""+mG(this.a)},TWt.a=0;var Lee,Nee,Pee,Bee,Fee,Ree=mZ(RWt,"Long",162);pDt(2039,1,{}),pDt(1831,60,qKt,zv),mZ(RWt,"NegativeArraySizeException",1831),pDt(173,598,{3:1,102:1,173:1,60:1,78:1},bm,qv),TWt.Wd=function(t){return new TypeError(t)},mZ(RWt,"NullPointerException",173),pDt(127,32,{3:1,102:1,32:1,127:1,60:1,78:1},Ex),mZ(RWt,"NumberFormatException",127),pDt(184,236,{3:1,35:1,236:1,184:1},Fd),TWt.wd=function(t){return qx(this,zz(t,184))},TWt.ke=function(){return this.a},TWt.Fb=function(t){return aL(t,184)&&zz(t,184).a==this.a},TWt.Hb=function(){return this.a},TWt.Ib=function(){return""+this.a},TWt.a=0;var jee,$ee=mZ(RWt,"Short",184);pDt(310,1,{3:1,310:1},CK),TWt.Fb=function(t){var e;return!!aL(t,310)&&(e=zz(t,310),this.c==e.c&&this.d==e.d&&this.a==e.a&&this.b==e.b)},TWt.Hb=function(){return flt(Sst(Ux(Ote,1),HWt,1,5,[rft(this.c),this.a,this.d,this.b]))},TWt.Ib=function(){return this.a+"."+this.d+"("+(null!=this.b?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},TWt.c=0;var zee=mZ(RWt,"StackTraceElement",310);DWt={3:1,475:1,35:1,2:1};var qee,Hee,Uee,Gee,Yee,Zee,Wee,Kee,Xee,Vee=mZ(RWt,UKt,2);pDt(107,418,{475:1},Tx,Cx,hN),mZ(RWt,"StringBuffer",107),pDt(100,418,{475:1},Sx,Ix,fN),mZ(RWt,"StringBuilder",100),pDt(687,73,PXt,Mx),mZ(RWt,"StringIndexOutOfBoundsException",687),pDt(2043,1,{}),pDt(844,1,{},P),TWt.Kb=function(t){return zz(t,78).e},mZ(RWt,"Throwable/lambda$0$Type",844),pDt(41,60,{3:1,102:1,60:1,78:1,41:1},wm,ex),mZ(RWt,"UnsupportedOperationException",41),pDt(240,236,{3:1,35:1,236:1,240:1},xtt,g_),TWt.wd=function(t){return Jjt(this,zz(t,240))},TWt.ke=function(){return gTt(iHt(this))},TWt.Fb=function(t){var e;return this===t||!!aL(t,240)&&(e=zz(t,240),this.e==e.e&&0==Jjt(this,e))},TWt.Hb=function(){var t;return 0!=this.b?this.b:this.a<54?(t=fot(this.f),this.b=pU(n0(t,-1)),this.b=33*this.b+pU(n0(xG(t,32),-1)),this.b=17*this.b+SQ(this.e),this.b):(this.b=17*jlt(this.c)+SQ(this.e),this.b)},TWt.Ib=function(){return iHt(this)},TWt.a=0,TWt.b=0,TWt.d=0,TWt.e=0,TWt.f=0;var Qee,Jee,tne,ene,nne,ine,rne=mZ("java.math","BigDecimal",240);pDt(91,236,{3:1,35:1,236:1,91:1},Rwt,Z6,fY,y_t,Ibt,OD),TWt.wd=function(t){return nbt(this,zz(t,91))},TWt.ke=function(){return gTt(UZt(this,0))},TWt.Fb=function(t){return lgt(this,t)},TWt.Hb=function(){return jlt(this)},TWt.Ib=function(){return UZt(this,0)},TWt.b=-2,TWt.c=0,TWt.d=0,TWt.e=0;var ane,one,sne,cne,une=mZ("java.math","BigInteger",91);pDt(488,1967,JWt),TWt.$b=function(){OY(this)},TWt._b=function(t){return lY(this,t)},TWt.uc=function(t){return Nut(this,t,this.g)||Nut(this,t,this.f)},TWt.vc=function(){return new Cd(this)},TWt.xc=function(t){return FZ(this,t)},TWt.zc=function(t,e){return KW(this,t,e)},TWt.Bc=function(t){return m6(this,t)},TWt.gc=function(){return NA(this)},mZ(QWt,"AbstractHashMap",488),pDt(261,eKt,nKt,Cd),TWt.$b=function(){this.a.$b()},TWt.Hc=function(t){return y2(this,t)},TWt.Kc=function(){return new cut(this.a)},TWt.Mc=function(t){var e;return!!y2(this,t)&&(e=zz(t,42).cd(),this.a.Bc(e),!0)},TWt.gc=function(){return this.a.gc()},mZ(QWt,"AbstractHashMap/EntrySet",261),pDt(262,1,VWt,cut),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return nnt(this)},TWt.Ob=function(){return this.b},TWt.Qb=function(){c7(this)},TWt.b=!1,mZ(QWt,"AbstractHashMap/EntrySetIterator",262),pDt(417,1,VWt,Td),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return oT(this)},TWt.Pb=function(){return yX(this)},TWt.Qb=function(){hW(this)},TWt.b=0,TWt.c=-1,mZ(QWt,"AbstractList/IteratorImpl",417),pDt(96,417,oKt,E2),TWt.Qb=function(){hW(this)},TWt.Rb=function(t){vF(this,t)},TWt.Sb=function(){return this.b>0},TWt.Tb=function(){return this.b},TWt.Ub=function(){return CP(this.b>0),this.a.Xb(this.c=--this.b)},TWt.Vb=function(){return this.b-1},TWt.Wb=function(t){EP(-1!=this.c),this.a._c(this.c,t)},mZ(QWt,"AbstractList/ListIteratorImpl",96),pDt(219,52,NKt,u1),TWt.Vc=function(t,e){LJ(t,this.b),this.c.Vc(this.a+t,e),++this.b},TWt.Xb=function(t){return f1(t,this.b),this.c.Xb(this.a+t)},TWt.$c=function(t){var e;return f1(t,this.b),e=this.c.$c(this.a+t),--this.b,e},TWt._c=function(t,e){return f1(t,this.b),this.c._c(this.a+t,e)},TWt.gc=function(){return this.b},TWt.a=0,TWt.b=0,mZ(QWt,"AbstractList/SubList",219),pDt(384,eKt,nKt,Sd),TWt.$b=function(){this.a.$b()},TWt.Hc=function(t){return this.a._b(t)},TWt.Kc=function(){return new Id(this.a.vc().Kc())},TWt.Mc=function(t){return!!this.a._b(t)&&(this.a.Bc(t),!0)},TWt.gc=function(){return this.a.gc()},mZ(QWt,"AbstractMap/1",384),pDt(691,1,VWt,Id),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.a.Ob()},TWt.Pb=function(){return zz(this.a.Pb(),42).cd()},TWt.Qb=function(){this.a.Qb()},mZ(QWt,"AbstractMap/1/1",691),pDt(226,28,tKt,Md),TWt.$b=function(){this.a.$b()},TWt.Hc=function(t){return this.a.uc(t)},TWt.Kc=function(){return new Rd(this.a.vc().Kc())},TWt.gc=function(){return this.a.gc()},mZ(QWt,"AbstractMap/2",226),pDt(294,1,VWt,Rd),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.a.Ob()},TWt.Pb=function(){return zz(this.a.Pb(),42).dd()},TWt.Qb=function(){this.a.Qb()},mZ(QWt,"AbstractMap/2/1",294),pDt(484,1,{484:1,42:1}),TWt.Fb=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),aK(this.d,e.cd())&&aK(this.e,e.dd()))},TWt.cd=function(){return this.d},TWt.dd=function(){return this.e},TWt.Hb=function(){return RD(this.d)^RD(this.e)},TWt.ed=function(t){return wF(this,t)},TWt.Ib=function(){return this.d+"="+this.e},mZ(QWt,"AbstractMap/AbstractEntry",484),pDt(383,484,{484:1,383:1,42:1},CT),mZ(QWt,"AbstractMap/SimpleEntry",383),pDt(1984,1,XXt),TWt.Fb=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),aK(this.cd(),e.cd())&&aK(this.dd(),e.dd()))},TWt.Hb=function(){return RD(this.cd())^RD(this.dd())},TWt.Ib=function(){return this.cd()+"="+this.dd()},mZ(QWt,cKt,1984),pDt(1992,1967,iKt),TWt.tc=function(t){return H5(this,t)},TWt._b=function(t){return BR(this,t)},TWt.vc=function(){return new zd(this)},TWt.xc=function(t){return HI(dut(this,t))},TWt.ec=function(){return new jd(this)},mZ(QWt,"AbstractNavigableMap",1992),pDt(739,eKt,nKt,zd),TWt.Hc=function(t){return aL(t,42)&&H5(this.b,zz(t,42))},TWt.Kc=function(){return new zF(this.b)},TWt.Mc=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),G8(this.b,e))},TWt.gc=function(){return this.b.c},mZ(QWt,"AbstractNavigableMap/EntrySet",739),pDt(493,eKt,aKt,jd),TWt.Nc=function(){return new gT(this)},TWt.$b=function(){yv(this.a)},TWt.Hc=function(t){return BR(this.a,t)},TWt.Kc=function(){return new $d(new zF(new PN(this.a).b))},TWt.Mc=function(t){return!!BR(this.a,t)&&(OQ(this.a,t),!0)},TWt.gc=function(){return this.a.c},mZ(QWt,"AbstractNavigableMap/NavigableKeySet",493),pDt(494,1,VWt,$d),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return oT(this.a.a)},TWt.Pb=function(){return yP(this.a).cd()},TWt.Qb=function(){nj(this.a)},mZ(QWt,"AbstractNavigableMap/NavigableKeySet/1",494),pDt(2004,28,tKt),TWt.Fc=function(t){return $8(iEt(this,t)),!0},TWt.Gc=function(t){return xW(t),mq(t!=this,"Can't add a queue to itself"),zrt(this,t)},TWt.$b=function(){for(;null!=ytt(this););},mZ(QWt,"AbstractQueue",2004),pDt(302,28,{4:1,20:1,28:1,14:1},Lw,p1),TWt.Fc=function(t){return g3(this,t),!0},TWt.$b=function(){c4(this)},TWt.Hc=function(t){return pst(new dK(this),t)},TWt.dc=function(){return Wv(this)},TWt.Kc=function(){return new dK(this)},TWt.Mc=function(t){return UQ(new dK(this),t)},TWt.gc=function(){return this.c-this.b&this.a.length-1},TWt.Nc=function(){return new g1(this,272)},TWt.Qc=function(t){var e;return e=this.c-this.b&this.a.length-1,t.length<e&&(t=Hx(new Array(e),t)),crt(this,t,e),t.length>e&&OZ(t,e,null),t},TWt.b=0,TWt.c=0,mZ(QWt,"ArrayDeque",302),pDt(446,1,VWt,dK),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.a!=this.b},TWt.Pb=function(){return $lt(this)},TWt.Qb=function(){iit(this)},TWt.a=0,TWt.b=0,TWt.c=-1,mZ(QWt,"ArrayDeque/IteratorImpl",446),pDt(12,52,VXt,Nw,Q6,ej),TWt.Vc=function(t,e){xU(this,t,e)},TWt.Fc=function(t){return Wz(this,t)},TWt.Wc=function(t,e){return ult(this,t,e)},TWt.Gc=function(t){return wst(this,t)},TWt.$b=function(){this.c=P8(Ote,HWt,1,0,5,1)},TWt.Hc=function(t){return-1!=_9(this,t,0)},TWt.Jc=function(t){Det(this,t)},TWt.Xb=function(t){return PH(this,t)},TWt.Xc=function(t){return _9(this,t,0)},TWt.dc=function(){return 0==this.c.length},TWt.Kc=function(){return new Wd(this)},TWt.$c=function(t){return u6(this,t)},TWt.Mc=function(t){return v9(this,t)},TWt.Ud=function(t,e){l1(this,t,e)},TWt._c=function(t,e){return a5(this,t,e)},TWt.gc=function(){return this.c.length},TWt.ad=function(t){yO(this,t)},TWt.Pc=function(){return dP(this)},TWt.Qc=function(t){return Vbt(this,t)};var lne,hne,fne,dne,gne,pne,bne,wne,mne,yne=mZ(QWt,"ArrayList",12);pDt(7,1,VWt,Wd),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return vO(this)},TWt.Pb=function(){return t0(this)},TWt.Qb=function(){DY(this)},TWt.a=0,TWt.b=-1,mZ(QWt,"ArrayList/1",7),pDt(2013,n.Function,{},A),TWt.te=function(t,e){return Sft(t,e)},pDt(154,52,QXt,Qv),TWt.Hc=function(t){return-1!=git(this,t)},TWt.Jc=function(t){var e,n,i,r;for(xW(t),i=0,r=(n=this.a).length;i<r;++i)e=n[i],t.td(e)},TWt.Xb=function(t){return BH(this,t)},TWt._c=function(t,e){var n;return f1(t,this.a.length),n=this.a[t],OZ(this.a,t,e),n},TWt.gc=function(){return this.a.length},TWt.ad=function(t){vU(this.a,this.a.length,t)},TWt.Pc=function(){return Qbt(this,P8(Ote,HWt,1,this.a.length,5,1))},TWt.Qc=function(t){return Qbt(this,t)},mZ(QWt,"Arrays/ArrayList",154),pDt(940,52,QXt,T),TWt.Hc=function(t){return!1},TWt.Xb=function(t){return vM(t)},TWt.Kc=function(){return TX(),LA(),dne},TWt.Yc=function(){return TX(),LA(),dne},TWt.gc=function(){return 0},mZ(QWt,"Collections/EmptyList",940),pDt(941,1,oKt,C),TWt.Nb=function(t){hY(this,t)},TWt.Rb=function(t){throw qw(new wm)},TWt.Ob=function(){return!1},TWt.Sb=function(){return!1},TWt.Pb=function(){throw qw(new vm)},TWt.Tb=function(){return 0},TWt.Ub=function(){throw qw(new vm)},TWt.Vb=function(){return-1},TWt.Qb=function(){throw qw(new pm)},TWt.Wb=function(t){throw qw(new pm)},mZ(QWt,"Collections/EmptyListIterator",941),pDt(943,1967,_Kt,S),TWt._b=function(t){return!1},TWt.uc=function(t){return!1},TWt.vc=function(){return TX(),fne},TWt.xc=function(t){return null},TWt.ec=function(){return TX(),fne},TWt.gc=function(){return 0},TWt.Cc=function(){return TX(),lne},mZ(QWt,"Collections/EmptyMap",943),pDt(942,eKt,EKt,E),TWt.Hc=function(t){return!1},TWt.Kc=function(){return TX(),LA(),dne},TWt.gc=function(){return 0},mZ(QWt,"Collections/EmptySet",942),pDt(599,52,{3:1,20:1,28:1,52:1,14:1,15:1},Ud),TWt.Hc=function(t){return aK(this.a,t)},TWt.Xb=function(t){return f1(t,1),this.a},TWt.gc=function(){return 1},mZ(QWt,"Collections/SingletonList",599),pDt(372,1,yKt,qd),TWt.Jc=function(t){n5(this,t)},TWt.Lc=function(){return new FH(null,this.Nc())},TWt.Nc=function(){return new g1(this,0)},TWt.Oc=function(){return new FH(null,this.Nc())},TWt.Fc=function(t){return c_()},TWt.Gc=function(t){return u_()},TWt.$b=function(){l_()},TWt.Hc=function(t){return PA(this,t)},TWt.Ic=function(t){return BA(this,t)},TWt.dc=function(){return this.b.dc()},TWt.Kc=function(){return new Hd(this.b.Kc())},TWt.Mc=function(t){return h_()},TWt.gc=function(){return this.b.gc()},TWt.Pc=function(){return this.b.Pc()},TWt.Qc=function(t){return FA(this,t)},TWt.Ib=function(){return qdt(this.b)},mZ(QWt,"Collections/UnmodifiableCollection",372),pDt(371,1,VWt,Hd),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.b.Ob()},TWt.Pb=function(){return this.b.Pb()},TWt.Qb=function(){f_()},mZ(QWt,"Collections/UnmodifiableCollectionIterator",371),pDt(531,372,JXt,dN),TWt.Nc=function(){return new g1(this,16)},TWt.Vc=function(t,e){throw qw(new wm)},TWt.Wc=function(t,e){throw qw(new wm)},TWt.Fb=function(t){return Pht(this.a,t)},TWt.Xb=function(t){return this.a.Xb(t)},TWt.Hb=function(){return eut(this.a)},TWt.Xc=function(t){return this.a.Xc(t)},TWt.dc=function(){return this.a.dc()},TWt.Yc=function(){return new gN(this.a.Zc(0))},TWt.Zc=function(t){return new gN(this.a.Zc(t))},TWt.$c=function(t){throw qw(new wm)},TWt._c=function(t,e){throw qw(new wm)},TWt.ad=function(t){throw qw(new wm)},TWt.bd=function(t,e){return new dN(this.a.bd(t,e))},mZ(QWt,"Collections/UnmodifiableList",531),pDt(690,371,oKt,gN),TWt.Qb=function(){f_()},TWt.Rb=function(t){throw qw(new wm)},TWt.Sb=function(){return this.a.Sb()},TWt.Tb=function(){return this.a.Tb()},TWt.Ub=function(){return this.a.Ub()},TWt.Vb=function(){return this.a.Vb()},TWt.Wb=function(t){throw qw(new wm)},mZ(QWt,"Collections/UnmodifiableListIterator",690),pDt(600,1,JWt,Zd),TWt.wc=function(t){eot(this,t)},TWt.yc=function(t,e,n){return tdt(this,t,e,n)},TWt.$b=function(){throw qw(new wm)},TWt._b=function(t){return this.c._b(t)},TWt.uc=function(t){return jA(this,t)},TWt.vc=function(){return nK(this)},TWt.Fb=function(t){return zA(this,t)},TWt.xc=function(t){return this.c.xc(t)},TWt.Hb=function(){return eut(this.c)},TWt.dc=function(){return this.c.dc()},TWt.ec=function(){return iK(this)},TWt.zc=function(t,e){throw qw(new wm)},TWt.Bc=function(t){throw qw(new wm)},TWt.gc=function(){return this.c.gc()},TWt.Ib=function(){return qdt(this.c)},TWt.Cc=function(){return eK(this)},mZ(QWt,"Collections/UnmodifiableMap",600),pDt(382,372,AKt,Dx),TWt.Nc=function(){return new g1(this,1)},TWt.Fb=function(t){return Pht(this.b,t)},TWt.Hb=function(){return eut(this.b)},mZ(QWt,"Collections/UnmodifiableSet",382),pDt(944,382,AKt,Lx),TWt.Hc=function(t){return RA(this,t)},TWt.Ic=function(t){return this.b.Ic(t)},TWt.Kc=function(){return new Gd(this.b.Kc())},TWt.Pc=function(){var t;return k4(t=this.b.Pc(),t.length),t},TWt.Qc=function(t){return IV(this,t)},mZ(QWt,"Collections/UnmodifiableMap/UnmodifiableEntrySet",944),pDt(945,1,VWt,Gd),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return new Yd(zz(this.a.Pb(),42))},TWt.Ob=function(){return this.a.Ob()},TWt.Qb=function(){throw qw(new wm)},mZ(QWt,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",945),pDt(688,1,XXt,Yd),TWt.Fb=function(t){return this.a.Fb(t)},TWt.cd=function(){return this.a.cd()},TWt.dd=function(){return this.a.dd()},TWt.Hb=function(){return this.a.Hb()},TWt.ed=function(t){throw qw(new wm)},TWt.Ib=function(){return qdt(this.a)},mZ(QWt,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",688),pDt(601,531,{20:1,14:1,15:1,54:1},Ox),mZ(QWt,"Collections/UnmodifiableRandomAccessList",601),pDt(689,382,TKt,pN),TWt.Nc=function(){return new gT(this)},TWt.Fb=function(t){return Pht(this.a,t)},TWt.Hb=function(){return eut(this.a)},mZ(QWt,"Collections/UnmodifiableSortedSet",689),pDt(847,1,tVt,B),TWt.ue=function(t,e){var n;return 0!=(n=A4(zz(t,11),zz(e,11)))?n:e$t(zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(QWt,"Comparator/lambda$0$Type",847),pDt(751,1,tVt,F),TWt.ue=function(t,e){return jH(zz(t,35),zz(e,35))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return CX(),bne},mZ(QWt,"Comparators/NaturalOrderComparator",751),pDt(1177,1,tVt,R),TWt.ue=function(t,e){return $H(zz(t,35),zz(e,35))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return CX(),pne},mZ(QWt,"Comparators/ReverseNaturalOrderComparator",1177),pDt(64,1,tVt,tg),TWt.Fb=function(t){return this===t},TWt.ue=function(t,e){return this.a.ue(e,t)},TWt.ve=function(){return this.a},mZ(QWt,"Comparators/ReversedComparator",64),pDt(166,60,qKt,mm),mZ(QWt,"ConcurrentModificationException",166),pDt(1904,1,eVt,j),TWt.we=function(t){hpt(this,t)},TWt.Ib=function(){return"DoubleSummaryStatistics[count = "+mG(this.a)+", avg = "+(cT(this.a,0)?f6(this)/k2(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+f6(this)+"]"},TWt.a=0,TWt.b=jXt,TWt.c=RXt,TWt.d=0,TWt.e=0,TWt.f=0,mZ(QWt,"DoubleSummaryStatistics",1904),pDt(1805,60,qKt,ym),mZ(QWt,"EmptyStackException",1805),pDt(451,1967,JWt,Hdt),TWt.zc=function(t,e){return gF(this,t,e)},TWt.$b=function(){AW(this)},TWt._b=function(t){return sT(this,t)},TWt.uc=function(t){var e,n;for(n=new XA(this.a);n.a<n.c.a.length;)if(e=s4(n),aK(t,this.b[e.g]))return!0;return!1},TWt.vc=function(){return new eg(this)},TWt.xc=function(t){return cK(this,t)},TWt.Bc=function(t){return NJ(this,t)},TWt.gc=function(){return this.a.c},mZ(QWt,"EnumMap",451),pDt(1352,eKt,nKt,eg),TWt.$b=function(){AW(this.a)},TWt.Hc=function(t){return m2(this,t)},TWt.Kc=function(){return new DH(this.a)},TWt.Mc=function(t){var e;return!!m2(this,t)&&(e=zz(t,42).cd(),NJ(this.a,e),!0)},TWt.gc=function(){return this.a.a.c},mZ(QWt,"EnumMap/EntrySet",1352),pDt(1353,1,VWt,DH),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return this.b=s4(this.a),new ST(this.c,this.b)},TWt.Ob=function(){return xO(this.a)},TWt.Qb=function(){EP(!!this.b),NJ(this.c,this.b),this.b=null},mZ(QWt,"EnumMap/EntrySetIterator",1353),pDt(1354,1984,XXt,ST),TWt.cd=function(){return this.a},TWt.dd=function(){return this.b.b[this.a.g]},TWt.ed=function(t){return _Y(this.b,this.a.g,t)},mZ(QWt,"EnumMap/MapEntry",1354),pDt(174,eKt,{20:1,28:1,14:1,174:1,21:1});var vne=mZ(QWt,"EnumSet",174);pDt(156,174,{20:1,28:1,14:1,174:1,156:1,21:1},VR),TWt.Fc=function(t){return urt(this,zz(t,22))},TWt.Hc=function(t){return SU(this,t)},TWt.Kc=function(){return new XA(this)},TWt.Mc=function(t){return IU(this,t)},TWt.gc=function(){return this.c},TWt.c=0,mZ(QWt,"EnumSet/EnumSetImpl",156),pDt(343,1,VWt,XA),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return s4(this)},TWt.Ob=function(){return xO(this)},TWt.Qb=function(){EP(-1!=this.b),OZ(this.c.b,this.b,null),--this.c.c,this.b=-1},TWt.a=-1,TWt.b=-1,mZ(QWt,"EnumSet/EnumSetImpl/IteratorImpl",343),pDt(43,488,nVt,Pw,ZA,yM),TWt.re=function(t,e){return UI(t)===UI(e)||null!=t&&Pht(t,e)},TWt.se=function(t){return 0|eut(t)},mZ(QWt,"HashMap",43),pDt(53,eKt,iVt,Fm,d_,OH),TWt.Fc=function(t){return AY(this,t)},TWt.$b=function(){this.a.$b()},TWt.Hc=function(t){return $A(this,t)},TWt.dc=function(){return 0==this.a.gc()},TWt.Kc=function(){return this.a.ec().Kc()},TWt.Mc=function(t){return nL(this,t)},TWt.gc=function(){return this.a.gc()};var xne,kne=mZ(QWt,"HashSet",53);pDt(1781,1,pKt,$),TWt.ud=function(t){aot(this,t)},TWt.Ib=function(){return"IntSummaryStatistics[count = "+mG(this.a)+", avg = "+(cT(this.a,0)?k2(this.d)/k2(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+mG(this.d)+"]"},TWt.a=0,TWt.b=$Kt,TWt.c=FWt,TWt.d=0,mZ(QWt,"IntSummaryStatistics",1781),pDt(1049,1,mKt,nD),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new T2(this)},TWt.c=0,mZ(QWt,"InternalHashCodeMap",1049),pDt(711,1,VWt,T2),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return this.d=this.a[this.c++],this.d},TWt.Ob=function(){var t;return this.c<this.a.length||!(t=this.b.next()).done&&(this.a=t.value[1],this.c=0,!0)},TWt.Qb=function(){wDt(this.e,this.d.cd()),0!=this.c&&--this.c},TWt.c=0,TWt.d=null,mZ(QWt,"InternalHashCodeMap/1",711),pDt(1047,1,mKt,iD),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new w4(this)},TWt.c=0,TWt.d=0,mZ(QWt,"InternalStringMap",1047),pDt(710,1,VWt,w4),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return this.c=this.a,this.a=this.b.next(),new QR(this.d,this.c,this.d.d)},TWt.Ob=function(){return!this.a.done},TWt.Qb=function(){Got(this.d,this.c.value[0])},mZ(QWt,"InternalStringMap/1",710),pDt(1048,1984,XXt,QR),TWt.cd=function(){return this.b.value[0]},TWt.dd=function(){return this.a.d!=this.c?lT(this.a,this.b.value[0]):this.b.value[1]},TWt.ed=function(t){return cdt(this.a,this.b.value[0],t)},TWt.c=0,mZ(QWt,"InternalStringMap/2",1048),pDt(228,43,nVt,m4,H8),TWt.$b=function(){xF(this)},TWt._b=function(t){return fT(this,t)},TWt.uc=function(t){var e;for(e=this.d.a;e!=this.d;){if(aK(e.e,t))return!0;e=e.a}return!1},TWt.vc=function(){return new ig(this)},TWt.xc=function(t){return ftt(this,t)},TWt.zc=function(t,e){return Jbt(this,t,e)},TWt.Bc=function(t){return x9(this,t)},TWt.gc=function(){return NA(this.e)},TWt.c=!1,mZ(QWt,"LinkedHashMap",228),pDt(387,383,{484:1,383:1,387:1,42:1},SP,tq),mZ(QWt,"LinkedHashMap/ChainEntry",387),pDt(701,eKt,nKt,ig),TWt.$b=function(){xF(this.a)},TWt.Hc=function(t){return v2(this,t)},TWt.Kc=function(){return new lW(this)},TWt.Mc=function(t){var e;return!!v2(this,t)&&(e=zz(t,42).cd(),x9(this.a,e),!0)},TWt.gc=function(){return NA(this.a.e)},mZ(QWt,"LinkedHashMap/EntrySet",701),pDt(702,1,VWt,lW),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return u7(this)},TWt.Ob=function(){return this.b!=this.c.a.d},TWt.Qb=function(){EP(!!this.a),w2(this.c.a.e,this),Fq(this.a),m6(this.c.a.e,this.a.d),dB(this.c.a.e,this),this.a=null},mZ(QWt,"LinkedHashMap/EntrySet/EntryIterator",702),pDt(178,53,iVt,hD,LN,LH);var _ne=mZ(QWt,"LinkedHashSet",178);pDt(68,1964,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1},VA,tj),TWt.Fc=function(t){return Bq(this,t)},TWt.$b=function(){vX(this)},TWt.Zc=function(t){return lwt(this,t)},TWt.gc=function(){return this.b},TWt.b=0;var Ane,Ene,Tne,Cne,Sne,Ine=mZ(QWt,"LinkedList",68);pDt(970,1,oKt,JR),TWt.Nb=function(t){hY(this,t)},TWt.Rb=function(t){tZ(this,t)},TWt.Ob=function(){return __(this)},TWt.Sb=function(){return this.b.b!=this.d.a},TWt.Pb=function(){return d3(this)},TWt.Tb=function(){return this.a},TWt.Ub=function(){return Y0(this)},TWt.Vb=function(){return this.a-1},TWt.Qb=function(){vet(this)},TWt.Wb=function(t){EP(!!this.c),this.c.c=t},TWt.a=0,TWt.c=null,mZ(QWt,"LinkedList/ListIteratorImpl",970),pDt(608,1,{},O),mZ(QWt,"LinkedList/Node",608),pDt(1959,1,{}),mZ(QWt,"Locale",1959),pDt(861,1959,{},L),TWt.Ib=function(){return""},mZ(QWt,"Locale/1",861),pDt(862,1959,{},N),TWt.Ib=function(){return"unknown"},mZ(QWt,"Locale/4",862),pDt(109,60,{3:1,102:1,60:1,78:1,109:1},vm,fK),mZ(QWt,"NoSuchElementException",109),pDt(404,1,{404:1},mv),TWt.Fb=function(t){var e;return t===this||!!aL(t,404)&&(e=zz(t,404),aK(this.a,e.a))},TWt.Hb=function(){return RD(this.a)},TWt.Ib=function(){return null!=this.a?GWt+xN(this.a)+")":"Optional.empty()"},mZ(QWt,"Optional",404),pDt(463,1,{463:1},SM,vP),TWt.Fb=function(t){var e;return t===this||!!aL(t,463)&&(e=zz(t,463),this.a==e.a&&0==Sft(this.b,e.b))},TWt.Hb=function(){return this.a?SQ(this.b):0},TWt.Ib=function(){return this.a?"OptionalDouble.of("+this.b+")":"OptionalDouble.empty()"},TWt.a=!1,TWt.b=0,mZ(QWt,"OptionalDouble",463),pDt(517,1,{517:1},IM,xP),TWt.Fb=function(t){var e;return t===this||!!aL(t,517)&&(e=zz(t,517),this.a==e.a&&0==_O(this.b,e.b))},TWt.Hb=function(){return this.a?this.b:0},TWt.Ib=function(){return this.a?"OptionalInt.of("+this.b+")":"OptionalInt.empty()"},TWt.a=!1,TWt.b=0,mZ(QWt,"OptionalInt",517),pDt(503,2004,tKt,ZG),TWt.Gc=function(t){return rxt(this,t)},TWt.$b=function(){this.b.c=P8(Ote,HWt,1,0,5,1)},TWt.Hc=function(t){return-1!=(null==t?-1:_9(this.b,t,0))},TWt.Kc=function(){return new Kd(this)},TWt.Mc=function(t){return lrt(this,t)},TWt.gc=function(){return this.b.c.length},TWt.Nc=function(){return new g1(this,256)},TWt.Pc=function(){return dP(this.b)},TWt.Qc=function(t){return Vbt(this.b,t)},mZ(QWt,"PriorityQueue",503),pDt(1277,1,VWt,Kd),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.a<this.c.b.c.length},TWt.Pb=function(){return CP(this.a<this.c.b.c.length),this.b=this.a++,PH(this.c.b,this.b)},TWt.Qb=function(){EP(-1!=this.b),hrt(this.c,this.a=this.b),this.b=-1},TWt.a=0,TWt.b=-1,mZ(QWt,"PriorityQueue/1",1277),pDt(230,1,{230:1},ldt,S4),TWt.a=0,TWt.b=0;var Mne,Dne,One,Lne=0;mZ(QWt,"Random",230),pDt(27,1,fKt,g1,GY,SK),TWt.qd=function(){return this.a},TWt.rd=function(){return BG(this),this.c},TWt.Nb=function(t){BG(this),this.d.Nb(t)},TWt.sd=function(t){return tet(this,t)},TWt.a=0,TWt.c=0,mZ(QWt,"Spliterators/IteratorSpliterator",27),pDt(485,27,fKt,gT),mZ(QWt,"SortedSet/1",485),pDt(602,1,eVt,Xd),TWt.we=function(t){this.a.td(t)},mZ(QWt,"Spliterator/OfDouble/0methodref$accept$Type",602),pDt(603,1,eVt,Vd),TWt.we=function(t){this.a.td(t)},mZ(QWt,"Spliterator/OfDouble/1methodref$accept$Type",603),pDt(604,1,pKt,Qd),TWt.ud=function(t){this.a.td(rft(t))},mZ(QWt,"Spliterator/OfInt/2methodref$accept$Type",604),pDt(605,1,pKt,Jd),TWt.ud=function(t){this.a.td(rft(t))},mZ(QWt,"Spliterator/OfInt/3methodref$accept$Type",605),pDt(617,1,fKt),TWt.Nb=function(t){w_(this,t)},TWt.qd=function(){return this.d},TWt.rd=function(){return this.e},TWt.d=0,TWt.e=0,mZ(QWt,"Spliterators/BaseSpliterator",617),pDt(721,617,fKt),TWt.xe=function(t){b_(this,t)},TWt.Nb=function(t){aL(t,182)?b_(this,zz(t,182)):b_(this,new Vd(t))},TWt.sd=function(t){return aL(t,182)?this.ye(zz(t,182)):this.ye(new Xd(t))},mZ(QWt,"Spliterators/AbstractDoubleSpliterator",721),pDt(720,617,fKt),TWt.xe=function(t){b_(this,t)},TWt.Nb=function(t){aL(t,196)?b_(this,zz(t,196)):b_(this,new Jd(t))},TWt.sd=function(t){return aL(t,196)?this.ye(zz(t,196)):this.ye(new Qd(t))},mZ(QWt,"Spliterators/AbstractIntSpliterator",720),pDt(540,617,fKt),mZ(QWt,"Spliterators/AbstractSpliterator",540),pDt(692,1,fKt),TWt.Nb=function(t){w_(this,t)},TWt.qd=function(){return this.b},TWt.rd=function(){return this.d-this.c},TWt.b=0,TWt.c=0,TWt.d=0,mZ(QWt,"Spliterators/BaseArraySpliterator",692),pDt(947,692,fKt,zq),TWt.ze=function(t,e){ak(this,zz(t,38),e)},TWt.Nb=function(t){BZ(this,t)},TWt.sd=function(t){return R6(this,t)},mZ(QWt,"Spliterators/ArraySpliterator",947),pDt(693,692,fKt,jR),TWt.ze=function(t,e){ok(this,zz(t,182),e)},TWt.xe=function(t){BZ(this,t)},TWt.Nb=function(t){aL(t,182)?BZ(this,zz(t,182)):BZ(this,new Vd(t))},TWt.ye=function(t){return R6(this,t)},TWt.sd=function(t){return aL(t,182)?R6(this,zz(t,182)):R6(this,new Xd(t))},mZ(QWt,"Spliterators/DoubleArraySpliterator",693),pDt(1968,1,fKt),TWt.Nb=function(t){w_(this,t)},TWt.qd=function(){return 16448},TWt.rd=function(){return 0},mZ(QWt,"Spliterators/EmptySpliterator",1968),pDt(946,1968,fKt,G),TWt.xe=function(t){$h(t)},TWt.Nb=function(t){aL(t,196)?$h(zz(t,196)):$h(new Jd(t))},TWt.ye=function(t){return dT(t)},TWt.sd=function(t){return aL(t,196)?dT(zz(t,196)):dT(new Qd(t))},mZ(QWt,"Spliterators/EmptySpliterator/OfInt",946),pDt(580,52,fVt,jm),TWt.Vc=function(t,e){RG(t,this.a.c.length+1),xU(this.a,t,e)},TWt.Fc=function(t){return Wz(this.a,t)},TWt.Wc=function(t,e){return RG(t,this.a.c.length+1),ult(this.a,t,e)},TWt.Gc=function(t){return wst(this.a,t)},TWt.$b=function(){this.a.c=P8(Ote,HWt,1,0,5,1)},TWt.Hc=function(t){return-1!=_9(this.a,t,0)},TWt.Ic=function(t){return ust(this.a,t)},TWt.Jc=function(t){Det(this.a,t)},TWt.Xb=function(t){return RG(t,this.a.c.length),PH(this.a,t)},TWt.Xc=function(t){return _9(this.a,t,0)},TWt.dc=function(){return 0==this.a.c.length},TWt.Kc=function(){return new Wd(this.a)},TWt.$c=function(t){return RG(t,this.a.c.length),u6(this.a,t)},TWt.Ud=function(t,e){l1(this.a,t,e)},TWt._c=function(t,e){return RG(t,this.a.c.length),a5(this.a,t,e)},TWt.gc=function(){return this.a.c.length},TWt.ad=function(t){yO(this.a,t)},TWt.bd=function(t,e){return new u1(this.a,t,e)},TWt.Pc=function(){return dP(this.a)},TWt.Qc=function(t){return Vbt(this.a,t)},TWt.Ib=function(){return NEt(this.a)},mZ(QWt,"Vector",580),pDt(809,580,fVt,cy),mZ(QWt,"Stack",809),pDt(206,1,{206:1},Lot),TWt.Ib=function(){return W0(this)},mZ(QWt,"StringJoiner",206),pDt(544,1992,{3:1,83:1,171:1,161:1},WA,WG),TWt.$b=function(){yv(this)},TWt.vc=function(){return new PN(this)},TWt.zc=function(t,e){return Tct(this,t,e)},TWt.Bc=function(t){return OQ(this,t)},TWt.gc=function(){return this.c},TWt.c=0,mZ(QWt,"TreeMap",544),pDt(390,1,VWt,zF),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return yP(this)},TWt.Ob=function(){return oT(this.a)},TWt.Qb=function(){nj(this)},mZ(QWt,"TreeMap/EntryIterator",390),pDt(435,739,nKt,PN),TWt.$b=function(){yv(this.a)},mZ(QWt,"TreeMap/EntrySet",435),pDt(436,383,{484:1,383:1,42:1,436:1},q8),TWt.b=!1;var Nne,Pne,Bne,Fne,Rne=mZ(QWt,"TreeMap/Node",436);pDt(621,1,{},H),TWt.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},TWt.a=!1,TWt.b=!1,TWt.c=!1,mZ(QWt,"TreeMap/State",621),pDt(297,22,dVt,bT),TWt.Ae=function(){return!1},TWt.Be=function(){return!1};var jne,$ne=qnt(QWt,"TreeMap/SubMapType",297,Zte,Q2,lj);pDt(1112,297,dVt,LD),TWt.Be=function(){return!0},qnt(QWt,"TreeMap/SubMapType/1",1112,$ne,null,null),pDt(1113,297,dVt,DO),TWt.Ae=function(){return!0},TWt.Be=function(){return!0},qnt(QWt,"TreeMap/SubMapType/2",1113,$ne,null,null),pDt(1114,297,dVt,ND),TWt.Ae=function(){return!0},qnt(QWt,"TreeMap/SubMapType/3",1114,$ne,null,null),pDt(208,eKt,{3:1,20:1,28:1,14:1,271:1,21:1,84:1,208:1},Gm,p_),TWt.Nc=function(){return new gT(this)},TWt.Fc=function(t){return JY(this,t)},TWt.$b=function(){yv(this.a)},TWt.Hc=function(t){return BR(this.a,t)},TWt.Kc=function(){return new $d(new zF(new PN(new jd(this.a).a).b))},TWt.Mc=function(t){return EN(this,t)},TWt.gc=function(){return this.a.c};var zne=mZ(QWt,"TreeSet",208);pDt(966,1,{},rg),TWt.Ce=function(t,e){return BB(this.a,t,e)},mZ(gVt,"BinaryOperator/lambda$0$Type",966),pDt(967,1,{},ag),TWt.Ce=function(t,e){return FB(this.a,t,e)},mZ(gVt,"BinaryOperator/lambda$1$Type",967),pDt(846,1,{},U),TWt.Kb=function(t){return t},mZ(gVt,"Function/lambda$0$Type",846),pDt(431,1,FKt,og),TWt.Mb=function(t){return!this.a.Mb(t)},mZ(gVt,"Predicate/lambda$2$Type",431),pDt(572,1,{572:1});var qne,Hne,Une=mZ(pVt,"Handler",572);pDt(2007,1,jWt),TWt.ne=function(){return"DUMMY"},TWt.Ib=function(){return this.ne()},mZ(pVt,"Level",2007),pDt(1621,2007,jWt,Y),TWt.ne=function(){return"INFO"},mZ(pVt,"Level/LevelInfo",1621),pDt(1640,1,{},Rm),mZ(pVt,"LogManager",1640),pDt(1780,1,jWt,ij),TWt.b=null,mZ(pVt,"LogRecord",1780),pDt(512,1,{512:1},v5),TWt.e=!1;var Gne,Yne,Zne,Wne=!1,Kne=!1,Xne=!1,Vne=!1,Qne=!1;mZ(pVt,"Logger",512),pDt(819,572,{572:1},Z),mZ(pVt,"SimpleConsoleLogHandler",819),pDt(132,22,{3:1,35:1,22:1,132:1},wT);var Jne,tie=qnt(mVt,"Collector/Characteristics",132,Zte,w1,hj);pDt(744,1,{},kY),mZ(mVt,"CollectorImpl",744),pDt(1060,1,{},W),TWt.Ce=function(t,e){return Dht(zz(t,206),zz(e,206))},mZ(mVt,"Collectors/10methodref$merge$Type",1060),pDt(1061,1,{},K),TWt.Kb=function(t){return W0(zz(t,206))},mZ(mVt,"Collectors/11methodref$toString$Type",1061),pDt(1062,1,{},sg),TWt.Kb=function(t){return lN(),!!AM(t)},mZ(mVt,"Collectors/12methodref$test$Type",1062),pDt(251,1,{},z),TWt.Od=function(t,e){zz(t,14).Fc(e)},mZ(mVt,"Collectors/20methodref$add$Type",251),pDt(253,1,{},q),TWt.Ee=function(){return new Nw},mZ(mVt,"Collectors/21methodref$ctor$Type",253),pDt(346,1,{},X),TWt.Ee=function(){return new Fm},mZ(mVt,"Collectors/23methodref$ctor$Type",346),pDt(347,1,{},V),TWt.Od=function(t,e){AY(zz(t,53),e)},mZ(mVt,"Collectors/24methodref$add$Type",347),pDt(1055,1,{},Q),TWt.Ce=function(t,e){return JA(zz(t,15),zz(e,14))},mZ(mVt,"Collectors/4methodref$addAll$Type",1055),pDt(1059,1,{},J),TWt.Od=function(t,e){d6(zz(t,206),zz(e,475))},mZ(mVt,"Collectors/9methodref$add$Type",1059),pDt(1058,1,{},Vz),TWt.Ee=function(){return new Lot(this.a,this.b,this.c)},mZ(mVt,"Collectors/lambda$15$Type",1058),pDt(1063,1,{},tt),TWt.Ee=function(){var t;return Jbt(t=new m4,(lN(),!1),new Nw),Jbt(t,!0,new Nw),t},mZ(mVt,"Collectors/lambda$22$Type",1063),pDt(1064,1,{},cg),TWt.Ee=function(){return Sst(Ux(Ote,1),HWt,1,5,[this.a])},mZ(mVt,"Collectors/lambda$25$Type",1064),pDt(1065,1,{},ug),TWt.Od=function(t,e){zH(this.a,int(t))},mZ(mVt,"Collectors/lambda$26$Type",1065),pDt(1066,1,{},lg),TWt.Ce=function(t,e){return jG(this.a,int(t),int(e))},mZ(mVt,"Collectors/lambda$27$Type",1066),pDt(1067,1,{},et),TWt.Kb=function(t){return int(t)[0]},mZ(mVt,"Collectors/lambda$28$Type",1067),pDt(713,1,{},nt),TWt.Ce=function(t,e){return qH(t,e)},mZ(mVt,"Collectors/lambda$4$Type",713),pDt(252,1,{},it),TWt.Ce=function(t,e){return UA(zz(t,14),zz(e,14))},mZ(mVt,"Collectors/lambda$42$Type",252),pDt(348,1,{},rt),TWt.Ce=function(t,e){return GA(zz(t,53),zz(e,53))},mZ(mVt,"Collectors/lambda$50$Type",348),pDt(349,1,{},at),TWt.Kb=function(t){return zz(t,53)},mZ(mVt,"Collectors/lambda$51$Type",349),pDt(1054,1,{},hg),TWt.Od=function(t,e){gut(this.a,zz(t,83),e)},mZ(mVt,"Collectors/lambda$7$Type",1054),pDt(1056,1,{},ot),TWt.Ce=function(t,e){return mst(zz(t,83),zz(e,83),new Q)},mZ(mVt,"Collectors/lambda$8$Type",1056),pDt(1057,1,{},fg),TWt.Kb=function(t){return vdt(this.a,zz(t,83))},mZ(mVt,"Collectors/lambda$9$Type",1057),pDt(539,1,{}),TWt.He=function(){kW(this)},TWt.d=!1,mZ(mVt,"TerminatableStream",539),pDt(812,539,yVt,DB),TWt.He=function(){kW(this)},mZ(mVt,"DoubleStreamImpl",812),pDt(1784,721,fKt,Jz),TWt.ye=function(t){return myt(this,zz(t,182))},TWt.a=null,mZ(mVt,"DoubleStreamImpl/2",1784),pDt(1785,1,eVt,dg),TWt.we=function(t){qD(this.a,t)},mZ(mVt,"DoubleStreamImpl/2/lambda$0$Type",1785),pDt(1782,1,eVt,gg),TWt.we=function(t){zD(this.a,t)},mZ(mVt,"DoubleStreamImpl/lambda$0$Type",1782),pDt(1783,1,eVt,pg),TWt.we=function(t){hpt(this.a,t)},mZ(mVt,"DoubleStreamImpl/lambda$2$Type",1783),pDt(1358,720,fKt,y5),TWt.ye=function(t){return x2(this,zz(t,196))},TWt.a=0,TWt.b=0,TWt.c=0,mZ(mVt,"IntStream/5",1358),pDt(787,539,yVt,OB),TWt.He=function(){kW(this)},TWt.Ie=function(){return _W(this),this.a},mZ(mVt,"IntStreamImpl",787),pDt(788,539,yVt,KA),TWt.He=function(){kW(this)},TWt.Ie=function(){return _W(this),IL(),One},mZ(mVt,"IntStreamImpl/Empty",788),pDt(1463,1,pKt,bg),TWt.ud=function(t){aot(this.a,t)},mZ(mVt,"IntStreamImpl/lambda$4$Type",1463);var eie,nie=dH(mVt,"Stream");pDt(30,539,{525:1,670:1,833:1},FH),TWt.He=function(){kW(this)},mZ(mVt,"StreamImpl",30),pDt(845,1,{},st),TWt.ld=function(t){return fq(t)},mZ(mVt,"StreamImpl/0methodref$lambda$2$Type",845),pDt(1084,540,fKt,RR),TWt.sd=function(t){for(;O7(this);){if(this.a.sd(t))return!0;kW(this.b),this.b=null,this.a=null}return!1},mZ(mVt,"StreamImpl/1",1084),pDt(1085,1,dKt,wg),TWt.td=function(t){iq(this.a,zz(t,833))},mZ(mVt,"StreamImpl/1/lambda$0$Type",1085),pDt(1086,1,FKt,mg),TWt.Mb=function(t){return AY(this.a,t)},mZ(mVt,"StreamImpl/1methodref$add$Type",1086),pDt(1087,540,fKt,mX),TWt.sd=function(t){var e;return this.a||(e=new Nw,this.b.a.Nb(new yg(e)),TX(),yO(e,this.c),this.a=new g1(e,16)),tet(this.a,t)},TWt.a=null,mZ(mVt,"StreamImpl/5",1087),pDt(1088,1,dKt,yg),TWt.td=function(t){Wz(this.a,t)},mZ(mVt,"StreamImpl/5/2methodref$add$Type",1088),pDt(722,540,fKt,X7),TWt.sd=function(t){for(this.b=!1;!this.b&&this.c.sd(new DT(this,t)););return this.b},TWt.b=!1,mZ(mVt,"StreamImpl/FilterSpliterator",722),pDt(1079,1,dKt,DT),TWt.td=function(t){FG(this.a,this.b,t)},mZ(mVt,"StreamImpl/FilterSpliterator/lambda$0$Type",1079),pDt(1075,721,fKt,_6),TWt.ye=function(t){return kR(this,zz(t,182))},mZ(mVt,"StreamImpl/MapToDoubleSpliterator",1075),pDt(1078,1,dKt,OT),TWt.td=function(t){kT(this.a,this.b,t)},mZ(mVt,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1078),pDt(1074,720,fKt,A6),TWt.ye=function(t){return _R(this,zz(t,196))},mZ(mVt,"StreamImpl/MapToIntSpliterator",1074),pDt(1077,1,dKt,LT),TWt.td=function(t){xT(this.a,this.b,t)},mZ(mVt,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1077),pDt(719,540,fKt,E6),TWt.sd=function(t){return AR(this,t)},mZ(mVt,"StreamImpl/MapToObjSpliterator",719),pDt(1076,1,dKt,NT),TWt.td=function(t){_T(this.a,this.b,t)},mZ(mVt,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1076),pDt(618,1,dKt,ct),TWt.td=function(t){If(this,t)},mZ(mVt,"StreamImpl/ValueConsumer",618),pDt(1080,1,dKt,ut),TWt.td=function(t){pE()},mZ(mVt,"StreamImpl/lambda$0$Type",1080),pDt(1081,1,dKt,lt),TWt.td=function(t){pE()},mZ(mVt,"StreamImpl/lambda$1$Type",1081),pDt(1082,1,{},vg),TWt.Ce=function(t,e){return $j(this.a,t,e)},mZ(mVt,"StreamImpl/lambda$4$Type",1082),pDt(1083,1,dKt,IT),TWt.td=function(t){_F(this.b,this.a,t)},mZ(mVt,"StreamImpl/lambda$5$Type",1083),pDt(1089,1,dKt,xg),TWt.td=function(t){Hct(this.a,zz(t,365))},mZ(mVt,"TerminatableStream/lambda$0$Type",1089),pDt(2041,1,{}),pDt(1914,1,{},ht),mZ("javaemul.internal","ConsoleLogger",1914),pDt(2038,1,{});var iie,rie,aie=0,oie=0;pDt(1768,1,dKt,ft),TWt.td=function(t){zz(t,308)},mZ(EVt,"BowyerWatsonTriangulation/lambda$0$Type",1768),pDt(1769,1,dKt,kg),TWt.td=function(t){zrt(this.a,zz(t,308).e)},mZ(EVt,"BowyerWatsonTriangulation/lambda$1$Type",1769),pDt(1770,1,dKt,dt),TWt.td=function(t){zz(t,168)},mZ(EVt,"BowyerWatsonTriangulation/lambda$2$Type",1770),pDt(1765,1,TVt,_g),TWt.ue=function(t,e){return H3(this.a,zz(t,168),zz(e,168))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(EVt,"NaiveMinST/lambda$0$Type",1765),pDt(499,1,{},Ag),mZ(EVt,"NodeMicroLayout",499),pDt(168,1,{168:1},PT),TWt.Fb=function(t){var e;return!!aL(t,168)&&(e=zz(t,168),aK(this.a,e.a)&&aK(this.b,e.b)||aK(this.a,e.b)&&aK(this.b,e.a))},TWt.Hb=function(){return RD(this.a)+RD(this.b)};var sie=mZ(EVt,"TEdge",168);pDt(308,1,{308:1},tzt),TWt.Fb=function(t){var e;return!!aL(t,308)&&R9(this,(e=zz(t,308)).a)&&R9(this,e.b)&&R9(this,e.c)},TWt.Hb=function(){return RD(this.a)+RD(this.b)+RD(this.c)},mZ(EVt,"TTriangle",308),pDt(221,1,{221:1},SO),mZ(EVt,"Tree",221),pDt(1254,1,{},IJ),mZ(CVt,"Scanline",1254);var cie=dH(CVt,SVt);pDt(1692,1,{},det),mZ(IVt,"CGraph",1692),pDt(307,1,{307:1},aJ),TWt.b=0,TWt.c=0,TWt.d=0,TWt.g=0,TWt.i=0,TWt.k=jXt,mZ(IVt,"CGroup",307),pDt(815,1,{},Zm),mZ(IVt,"CGroup/CGroupBuilder",815),pDt(57,1,{57:1},DF),TWt.Ib=function(){return this.j?TB(this.j.Kb(this)):(_B(die),die.o+"@"+(CN(this)>>>0).toString(16))},TWt.f=0,TWt.i=jXt;var uie,lie,hie,fie,die=mZ(IVt,"CNode",57);pDt(814,1,{},Wm),mZ(IVt,"CNode/CNodeBuilder",814),pDt(1525,1,{},gt),TWt.Oe=function(t,e){return 0},TWt.Pe=function(t,e){return 0},mZ(IVt,DVt,1525),pDt(1790,1,{},pt),TWt.Le=function(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(l=RXt,r=new Wd(t.a.b);r.a<r.c.c.length;)e=zz(t0(r),57),l=n.Math.min(l,e.a.j.d.c+e.b.a);for(g=new VA,s=new Wd(t.a.a);s.a<s.c.c.length;)(o=zz(t0(s),307)).k=l,0==o.g&&r5(g,o,g.c.b,g.c);for(;0!=g.b;){for(a=(o=zz(0==g.b?null:(CP(0!=g.b),Oet(g,g.a.a)),307)).j.d.c,d=o.a.a.ec().Kc();d.Ob();)h=zz(d.Pb(),57),b=o.k+h.b.a,!Glt(t,o,t.d)||h.d.c<b?h.i=b:h.i=h.d.c;for(a-=o.j.i,o.b+=a,t.d==(zht(),$Ce)||t.d==RCe?o.c+=a:o.c-=a,f=o.a.a.ec().Kc();f.Ob();)for(u=(h=zz(f.Pb(),57)).c.Kc();u.Ob();)c=zz(u.Pb(),57),p=pD(t.d)?t.g.Oe(h,c):t.g.Pe(h,c),c.a.k=n.Math.max(c.a.k,h.i+h.d.b+p-c.b.a),aV(t,c,t.d)&&(c.a.k=n.Math.max(c.a.k,c.d.c-c.b.a)),--c.a.g,0==c.a.g&&Bq(g,c.a)}for(i=new Wd(t.a.b);i.a<i.c.c.length;)(e=zz(t0(i),57)).d.c=e.i},mZ(IVt,"LongestPathCompaction",1790),pDt(1690,1,{},xMt),TWt.e=!1;var gie,pie,bie=mZ(IVt,BVt,1690);pDt(1691,1,dKt,Eg),TWt.td=function(t){rst(this.a,zz(t,46))},mZ(IVt,FVt,1691),pDt(1791,1,{},bt),TWt.Me=function(t){var e,n,i,r,a,o;for(e=new Wd(t.a.b);e.a<e.c.c.length;)zz(t0(e),57).c.$b();for(i=new Wd(t.a.b);i.a<i.c.c.length;)for(n=zz(t0(i),57),a=new Wd(t.a.b);a.a<a.c.c.length;)n!=(r=zz(t0(a),57))&&(n.a&&n.a==r.a||(o=pD(t.d)?t.g.Pe(n,r):t.g.Oe(n,r),(r.d.c>n.d.c||n.d.c==r.d.c&&n.d.b<r.d.b)&&Rpt(r.d.d+r.d.a+o,n.d.d)&&jpt(r.d.d,n.d.d+n.d.a+o)&&n.c.Fc(r)))},mZ(IVt,"QuadraticConstraintCalculation",1791),pDt(522,1,{522:1},Bw),TWt.a=!1,TWt.b=!1,TWt.c=!1,TWt.d=!1,mZ(IVt,RVt,522),pDt(803,1,{},FU),TWt.Me=function(t){this.c=t,mSt(this,new yt)},mZ(IVt,jVt,803),pDt(1718,1,{679:1},hV),TWt.Ke=function(t){$Ct(this,zz(t,464))},mZ(IVt,$Vt,1718),pDt(1719,1,TVt,wt),TWt.ue=function(t,e){return sX(zz(t,57),zz(e,57))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(IVt,zVt,1719),pDt(464,1,{464:1},MT),TWt.a=!1,mZ(IVt,qVt,464),pDt(1720,1,TVt,mt),TWt.ue=function(t,e){return Jxt(zz(t,464),zz(e,464))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(IVt,HVt,1720),pDt(1721,1,UVt,yt),TWt.Lb=function(t){return zz(t,57),!0},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return zz(t,57),!0},mZ(IVt,"ScanlineConstraintCalculator/lambda$1$Type",1721),pDt(428,22,{3:1,35:1,22:1,428:1},$T);var wie,mie,yie,vie=qnt(GVt,"HighLevelSortingCriterion",428,Zte,rQ,fj);pDt(427,22,{3:1,35:1,22:1,427:1},zT);var xie,kie,_ie,Aie,Eie,Tie,Cie,Sie,Iie,Mie,Die,Oie,Lie,Nie,Pie,Bie,Fie,Rie=qnt(GVt,"LowLevelSortingCriterion",427,Zte,aQ,dj),jie=dH(YVt,"ILayoutMetaDataProvider");pDt(853,1,VVt,Ul),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,ZVt),QVt),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),Sie),(SCt(),bEe)),zie),edt((awt(),lEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,WVt),QVt),"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."),Tie),bEe),Rie),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,KVt),QVt),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),Aie),bEe),vie),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,XVt),QVt),"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."),(lN(),!0)),gEe),kee),edt(lEe))))},mZ(GVt,"PolyominoOptions",853),pDt(250,22,{3:1,35:1,22:1,250:1},qT);var $ie,zie=qnt(GVt,"TraversalStrategy",250,Zte,Eit,gj);pDt(213,1,{213:1},vt),TWt.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},TWt.a=1,TWt.b=0,TWt.c=0,TWt.f=!1,TWt.g=0;var qie=mZ(JVt,"NEdge",213);pDt(176,1,{},qm),mZ(JVt,"NEdge/NEdgeBuilder",176),pDt(653,1,{},$m),mZ(JVt,"NGraph",653),pDt(121,1,{121:1},x6),TWt.c=-1,TWt.d=0,TWt.e=0,TWt.i=-1,TWt.j=!1;var Hie=mZ(JVt,"NNode",121);pDt(795,1,JXt,zm),TWt.Jc=function(t){n5(this,t)},TWt.Lc=function(){return new FH(null,new g1(this,16))},TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return new g1(this,16)},TWt.Oc=function(){return new FH(null,new g1(this,16))},TWt.Vc=function(t,e){++this.b,xU(this.a,t,e)},TWt.Fc=function(t){return FN(this,t)},TWt.Wc=function(t,e){return++this.b,ult(this.a,t,e)},TWt.Gc=function(t){return++this.b,wst(this.a,t)},TWt.$b=function(){++this.b,this.a.c=P8(Ote,HWt,1,0,5,1)},TWt.Hc=function(t){return-1!=_9(this.a,t,0)},TWt.Ic=function(t){return ust(this.a,t)},TWt.Xb=function(t){return PH(this.a,t)},TWt.Xc=function(t){return _9(this.a,t,0)},TWt.dc=function(){return 0==this.a.c.length},TWt.Kc=function(){return L7(new Wd(this.a))},TWt.Yc=function(){throw qw(new wm)},TWt.Zc=function(t){throw qw(new wm)},TWt.$c=function(t){return++this.b,u6(this.a,t)},TWt.Mc=function(t){return RN(this,t)},TWt._c=function(t,e){return++this.b,a5(this.a,t,e)},TWt.gc=function(){return this.a.c.length},TWt.bd=function(t,e){return new u1(this.a,t,e)},TWt.Pc=function(){return dP(this.a)},TWt.Qc=function(t){return Vbt(this.a,t)},TWt.b=0,mZ(JVt,"NNode/ChangeAwareArrayList",795),pDt(269,1,{},Hm),mZ(JVt,"NNode/NNodeBuilder",269),pDt(1630,1,{},xt),TWt.a=!1,TWt.f=FWt,TWt.j=0,mZ(JVt,"NetworkSimplex",1630),pDt(1294,1,dKt,Tg),TWt.td=function(t){UGt(this.a,zz(t,680),!0,!1)},mZ(eQt,"NodeLabelAndSizeCalculator/lambda$0$Type",1294),pDt(558,1,{},Cg),TWt.b=!0,TWt.c=!0,TWt.d=!0,TWt.e=!0,mZ(eQt,"NodeMarginCalculator",558),pDt(212,1,{212:1}),TWt.j=!1,TWt.k=!1;var Uie,Gie,Yie,Zie=mZ(nQt,"Cell",212);pDt(124,212,{124:1,212:1},$F),TWt.Re=function(){return Zq(this)},TWt.Se=function(){var t;return t=this.n,this.a.a+t.b+t.c},mZ(nQt,"AtomicCell",124),pDt(232,22,{3:1,35:1,22:1,232:1},HT);var Wie,Kie=qnt(nQt,"ContainerArea",232,Zte,m1,pj);pDt(326,212,rQt),mZ(nQt,"ContainerCell",326),pDt(1473,326,rQt,Hgt),TWt.Re=function(){var t;return t=0,this.e?this.b?t=this.b.b:this.a[1][1]&&(t=this.a[1][1].Re()):t=Qdt(this,Zyt(this,!0)),t>0?t+this.n.d+this.n.a:0},TWt.Se=function(){var t,e,i,r,a;if(a=0,this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].Se());else if(this.g)a=Qdt(this,Dxt(this,null,!0));else for(Fet(),i=0,r=(e=Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])).length;i<r;++i)t=e[i],a=n.Math.max(a,Qdt(this,Dxt(this,t,!0)));return a>0?a+this.n.b+this.n.c:0},TWt.Te=function(){var t,e,n,i,r;if(this.g)for(t=Dxt(this,null,!1),Fet(),i=0,r=(n=Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])).length;i<r;++i)XPt(this,e=n[i],t);else for(Fet(),i=0,r=(n=Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])).length;i<r;++i)XPt(this,e=n[i],t=Dxt(this,e,!1))},TWt.Ue=function(){var t,e,i,r;e=this.i,t=this.n,r=Zyt(this,!1),X5(this,(Fet(),Uie),e.d+t.d,r),X5(this,Yie,e.d+e.a-t.a-r[2],r),i=e.a-t.d-t.a,r[0]>0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=n.Math.max(0,i),this.c.d=e.d+t.d+(this.c.a-i)/2,r[1]=n.Math.max(r[1],i),X5(this,Gie,e.d+t.d+r[0]-(r[1]-i)/2,r)},TWt.b=null,TWt.d=0,TWt.e=!1,TWt.f=!1,TWt.g=!1;var Xie,Vie,Qie,Jie=0,tre=0;mZ(nQt,"GridContainerCell",1473),pDt(461,22,{3:1,35:1,22:1,461:1},UT);var ere,nre=qnt(nQt,"HorizontalLabelAlignment",461,Zte,y1,bj);pDt(306,212,{212:1,306:1},vQ,pet,RV),TWt.Re=function(){return Wq(this)},TWt.Se=function(){return Kq(this)},TWt.a=0,TWt.c=!1;var ire,rre,are,ore=mZ(nQt,"LabelCell",306);pDt(244,326,{212:1,326:1,244:1},Mbt),TWt.Re=function(){return TIt(this)},TWt.Se=function(){return CIt(this)},TWt.Te=function(){$$t(this)},TWt.Ue=function(){G$t(this)},TWt.b=0,TWt.c=0,TWt.d=!1,mZ(nQt,"StripContainerCell",244),pDt(1626,1,FKt,kt),TWt.Mb=function(t){return Xv(zz(t,212))},mZ(nQt,"StripContainerCell/lambda$0$Type",1626),pDt(1627,1,{},_t),TWt.Fe=function(t){return zz(t,212).Se()},mZ(nQt,"StripContainerCell/lambda$1$Type",1627),pDt(1628,1,FKt,At),TWt.Mb=function(t){return Vv(zz(t,212))},mZ(nQt,"StripContainerCell/lambda$2$Type",1628),pDt(1629,1,{},Et),TWt.Fe=function(t){return zz(t,212).Re()},mZ(nQt,"StripContainerCell/lambda$3$Type",1629),pDt(462,22,{3:1,35:1,22:1,462:1},GT);var sre,cre,ure,lre,hre,fre,dre,gre,pre,bre,wre,mre,yre,vre,xre,kre,_re,Are,Ere,Tre,Cre,Sre,Ire,Mre=qnt(nQt,"VerticalLabelAlignment",462,Zte,v1,wj);pDt(789,1,{},iYt),TWt.c=0,TWt.d=0,TWt.k=0,TWt.s=0,TWt.t=0,TWt.v=!1,TWt.w=0,TWt.D=!1,mZ(lQt,"NodeContext",789),pDt(1471,1,TVt,Tt),TWt.ue=function(t,e){return VM(zz(t,61),zz(e,61))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(lQt,"NodeContext/0methodref$comparePortSides$Type",1471),pDt(1472,1,TVt,Ct),TWt.ue=function(t,e){return ZAt(zz(t,111),zz(e,111))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(lQt,"NodeContext/1methodref$comparePortContexts$Type",1472),pDt(159,22,{3:1,35:1,22:1,159:1},uat);var Dre,Ore,Lre,Nre,Pre,Bre,Fre,Rre=qnt(lQt,"NodeLabelLocation",159,Zte,nwt,mj);pDt(111,1,{111:1},TMt),TWt.a=!1,mZ(lQt,"PortContext",111),pDt(1476,1,dKt,St),TWt.td=function(t){S_(zz(t,306))},mZ(dQt,gQt,1476),pDt(1477,1,FKt,It),TWt.Mb=function(t){return!!zz(t,111).c},mZ(dQt,pQt,1477),pDt(1478,1,dKt,Mt),TWt.td=function(t){S_(zz(t,111).c)},mZ(dQt,"LabelPlacer/lambda$2$Type",1478),pDt(1475,1,dKt,Ot),TWt.td=function(t){HB(),Vw(zz(t,111))},mZ(dQt,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),pDt(790,1,dKt,Oj),TWt.td=function(t){FE(this.b,this.c,this.a,zz(t,181))},TWt.a=!1,TWt.c=!1,mZ(dQt,"NodeLabelCellCreator/lambda$0$Type",790),pDt(1474,1,dKt,Sg),TWt.td=function(t){Im(this.a,zz(t,181))},mZ(dQt,"PortContextCreator/lambda$0$Type",1474),pDt(1829,1,{},Lt),mZ(wQt,"GreedyRectangleStripOverlapRemover",1829),pDt(1830,1,TVt,Dt),TWt.ue=function(t,e){return $N(zz(t,222),zz(e,222))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(wQt,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),pDt(1786,1,{},Jm),TWt.a=5,TWt.e=0,mZ(wQt,"RectangleStripOverlapRemover",1786),pDt(1787,1,TVt,Pt),TWt.ue=function(t,e){return zN(zz(t,222),zz(e,222))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(wQt,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),pDt(1789,1,TVt,Bt),TWt.ue=function(t,e){return QY(zz(t,222),zz(e,222))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(wQt,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),pDt(406,22,{3:1,35:1,22:1,406:1},YT);var jre,$re,zre,qre,Hre,Ure=qnt(wQt,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,Zte,V2,yj);pDt(222,1,{222:1},PU),mZ(wQt,"RectangleStripOverlapRemover/RectangleNode",222),pDt(1788,1,dKt,Ig),TWt.td=function(t){Iyt(this.a,zz(t,222))},mZ(wQt,"RectangleStripOverlapRemover/lambda$1$Type",1788),pDt(1304,1,TVt,Ft),TWt.ue=function(t,e){return Yqt(zz(t,167),zz(e,167))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),pDt(1307,1,{},Rt),TWt.Kb=function(t){return zz(t,324).a},mZ(yQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),pDt(1308,1,FKt,jt),TWt.Mb=function(t){return zz(t,323).a},mZ(yQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),pDt(1309,1,FKt,$t),TWt.Mb=function(t){return zz(t,323).a},mZ(yQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),pDt(1302,1,TVt,zt),TWt.ue=function(t,e){return KFt(zz(t,167),zz(e,167))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),pDt(1305,1,{},Nt),TWt.Kb=function(t){return zz(t,324).a},mZ(yQt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),pDt(767,1,TVt,qt),TWt.ue=function(t,e){return Zot(zz(t,167),zz(e,167))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/MinNumOfExtensionsComparator",767),pDt(1300,1,TVt,Ht),TWt.ue=function(t,e){return Vit(zz(t,321),zz(e,321))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/MinPerimeterComparator",1300),pDt(1301,1,TVt,Ut),TWt.ue=function(t,e){return smt(zz(t,321),zz(e,321))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),pDt(1303,1,TVt,Gt),TWt.ue=function(t,e){return qRt(zz(t,167),zz(e,167))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),pDt(1306,1,{},Yt),TWt.Kb=function(t){return zz(t,324).a},mZ(yQt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),pDt(777,1,{},BT),TWt.Ce=function(t,e){return M2(this,zz(t,46),zz(e,167))},mZ(yQt,"SuccessorCombination",777),pDt(644,1,{},Zt),TWt.Ce=function(t,e){var n;return WIt((n=zz(t,46),zz(e,167),n))},mZ(yQt,"SuccessorJitter",644),pDt(643,1,{},Wt),TWt.Ce=function(t,e){var n;return gPt((n=zz(t,46),zz(e,167),n))},mZ(yQt,"SuccessorLineByLine",643),pDt(568,1,{},Kt),TWt.Ce=function(t,e){var n;return fOt((n=zz(t,46),zz(e,167),n))},mZ(yQt,"SuccessorManhattan",568),pDt(1356,1,{},Xt),TWt.Ce=function(t,e){var n;return _Nt((n=zz(t,46),zz(e,167),n))},mZ(yQt,"SuccessorMaxNormWindingInMathPosSense",1356),pDt(400,1,{},Mg),TWt.Ce=function(t,e){return zY(this,t,e)},TWt.c=!1,TWt.d=!1,TWt.e=!1,TWt.f=!1,mZ(yQt,"SuccessorQuadrantsGeneric",400),pDt(1357,1,{},Vt),TWt.Kb=function(t){return zz(t,324).a},mZ(yQt,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),pDt(323,22,{3:1,35:1,22:1,323:1},jT),TWt.a=!1;var Gre,Yre=qnt(AQt,EQt,323,Zte,t3,vj);pDt(1298,1,{}),TWt.Ib=function(){var t,e,n,i,r,a;for(n=" ",t=rft(0),r=0;r<this.o;r++)n+=""+t.a,t=rft(fF(t.a));for(n+="\n",t=rft(0),a=0;a<this.p;a++){for(n+=""+t.a,t=rft(fF(t.a)),i=0;i<this.o;i++)0==Xlt(e=nrt(this,i,a),0)?n+="_":0==Xlt(e,1)?n+="X":n+="0";n+="\n"}return hP(n,0,n.length-1)},TWt.o=0,TWt.p=0,mZ(AQt,"TwoBitGrid",1298),pDt(321,1298,{321:1},Ugt),TWt.j=0,TWt.k=0,mZ(AQt,"PlanarGrid",321),pDt(167,321,{321:1,167:1}),TWt.g=0,TWt.i=0,mZ(AQt,"Polyomino",167);var Zre=dH(MQt,DQt);pDt(134,1,OQt,Qt),TWt.Ye=function(t,e){return lct(this,t,e)},TWt.Ve=function(){return UH(this)},TWt.We=function(t){return vEt(this,t)},TWt.Xe=function(t){return LP(this,t)},mZ(MQt,"MapPropertyHolder",134),pDt(1299,134,OQt,xPt),mZ(AQt,"Polyominoes",1299);var Wre,Kre,Xre,Vre,Qre,Jre,tae,eae,nae=!1;pDt(1766,1,dKt,Jt),TWt.td=function(t){cHt(zz(t,221))},mZ(LQt,"DepthFirstCompaction/0methodref$compactTree$Type",1766),pDt(810,1,dKt,Dg),TWt.td=function(t){RW(this.a,zz(t,221))},mZ(LQt,"DepthFirstCompaction/lambda$1$Type",810),pDt(1767,1,dKt,Nj),TWt.td=function(t){bbt(this.a,this.b,this.c,zz(t,221))},mZ(LQt,"DepthFirstCompaction/lambda$2$Type",1767),pDt(65,1,{65:1},DJ),mZ(LQt,"Node",65),pDt(1250,1,{},IO),mZ(LQt,"ScanlineOverlapCheck",1250),pDt(1251,1,{679:1},lV),TWt.Ke=function(t){UB(this,zz(t,440))},mZ(LQt,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),pDt(1252,1,TVt,te),TWt.ue=function(t,e){return Bft(zz(t,65),zz(e,65))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(LQt,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),pDt(440,1,{440:1},FT),TWt.a=!1,mZ(LQt,"ScanlineOverlapCheck/Timestamp",440),pDt(1253,1,TVt,ee),TWt.ue=function(t,e){return tkt(zz(t,440),zz(e,440))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(LQt,"ScanlineOverlapCheck/lambda$0$Type",1253),pDt(550,1,{},ne),mZ(NQt,"SVGImage",550),pDt(324,1,{324:1},Pj),TWt.Ib=function(){return"("+this.a+zWt+this.b+zWt+this.c+")"},mZ(NQt,"UniqueTriple",324),pDt(209,1,PQt),mZ(BQt,"AbstractLayoutProvider",209),pDt(1132,209,PQt,ie),TWt.Ze=function(t,e){var n,i,r;DAt(e,FQt,1),this.a=Uv(EB(tOt(t,(Awt(),_ae)))),C8(t,dae)&&(i=TB(tOt(t,dae)),(n=WFt(oit(),i))&&zz(uQ(n.f),209).Ze(t,vat(e,1))),r=new u4(this.a),this.b=RGt(r,t),0===zz(tOt(t,(Gut(),cae)),481).g?(qMt(new re,this.b),Qwt(t,bae,vEt(this.b,bae))):OA(),ZGt(r),Qwt(t,pae,this.b),HTt(e)},TWt.a=0,mZ(RQt,"DisCoLayoutProvider",1132),pDt(1244,1,{},re),TWt.c=!1,TWt.e=0,TWt.f=0,mZ(RQt,"DisCoPolyominoCompactor",1244),pDt(561,1,{561:1},lU),TWt.b=!0,mZ(jQt,"DCComponent",561),pDt(394,22,{3:1,35:1,22:1,394:1},RT),TWt.a=!1;var iae,rae,aae=qnt(jQt,"DCDirection",394,Zte,J2,xj);pDt(266,134,{3:1,266:1,94:1,134:1},ADt),mZ(jQt,"DCElement",266),pDt(395,1,{395:1},Myt),TWt.c=0,mZ(jQt,"DCExtension",395),pDt(755,134,OQt,jk),mZ(jQt,"DCGraph",755),pDt(481,22,{3:1,35:1,22:1,481:1},IP);var oae,sae,cae,uae,lae,hae,fae,dae,gae,pae,bae,wae,mae,yae,vae,xae,kae,_ae,Aae,Eae,Tae,Cae=qnt($Qt,zQt,481,Zte,FK,kj);pDt(854,1,VVt,ql),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,qQt),YQt),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),uae),(SCt(),bEe)),Cae),edt((awt(),lEe))))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,HQt),YQt),"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."),vEe),Vee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,UQt),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),yEe),Ote),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,GQt),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),yEe),Ote),edt(lEe)))),qzt((new Hl,t))},mZ($Qt,"DisCoMetaDataProvider",854),pDt(998,1,VVt,Hl),TWt.Qe=function(t){qzt(t)},mZ($Qt,"DisCoOptions",998),pDt(999,1,{},ae),TWt.$e=function(){return new ie},TWt._e=function(t){},mZ($Qt,"DisCoOptions/DiscoFactory",999),pDt(562,167,{321:1,167:1,562:1},VOt),TWt.a=0,TWt.b=0,TWt.c=0,TWt.d=0,mZ("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),pDt(1268,1,FKt,oe),TWt.Mb=function(t){return AM(t)},mZ(QQt,"ElkGraphComponentsProcessor/lambda$0$Type",1268),pDt(1269,1,{},se),TWt.Kb=function(t){return EX(),SEt(zz(t,79))},mZ(QQt,"ElkGraphComponentsProcessor/lambda$1$Type",1269),pDt(1270,1,FKt,ce),TWt.Mb=function(t){return Hq(zz(t,79))},mZ(QQt,"ElkGraphComponentsProcessor/lambda$2$Type",1270),pDt(1271,1,{},ue),TWt.Kb=function(t){return EX(),DEt(zz(t,79))},mZ(QQt,"ElkGraphComponentsProcessor/lambda$3$Type",1271),pDt(1272,1,FKt,le),TWt.Mb=function(t){return Uq(zz(t,79))},mZ(QQt,"ElkGraphComponentsProcessor/lambda$4$Type",1272),pDt(1273,1,FKt,Og),TWt.Mb=function(t){return EQ(this.a,zz(t,79))},mZ(QQt,"ElkGraphComponentsProcessor/lambda$5$Type",1273),pDt(1274,1,{},Lg),TWt.Kb=function(t){return RZ(this.a,zz(t,79))},mZ(QQt,"ElkGraphComponentsProcessor/lambda$6$Type",1274),pDt(1241,1,{},u4),TWt.a=0,mZ(QQt,"ElkGraphTransformer",1241),pDt(1242,1,{},he),TWt.Od=function(t,e){nMt(this,zz(t,160),zz(e,266))},mZ(QQt,"ElkGraphTransformer/OffsetApplier",1242),pDt(1243,1,dKt,Ng),TWt.td=function(t){AL(this,zz(t,8))},mZ(QQt,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),pDt(753,1,{},fe),mZ(iJt,rJt,753),pDt(1232,1,TVt,de),TWt.ue=function(t,e){return IIt(zz(t,231),zz(e,231))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(iJt,aJt,1232),pDt(740,209,PQt,Um),TWt.Ze=function(t,e){yLt(this,t,e)},mZ(iJt,"ForceLayoutProvider",740),pDt(357,134,{3:1,357:1,94:1,134:1}),mZ(oJt,"FParticle",357),pDt(559,357,{3:1,559:1,357:1,94:1,134:1},lZ),TWt.Ib=function(){var t;return this.a?(t=_9(this.a.a,this,0))>=0?"b"+t+"["+s5(this.a)+"]":"b["+s5(this.a)+"]":"b_"+CN(this)},mZ(oJt,"FBendpoint",559),pDt(282,134,{3:1,282:1,94:1,134:1},IF),TWt.Ib=function(){return s5(this)},mZ(oJt,"FEdge",282),pDt(231,134,{3:1,231:1,94:1,134:1},v6);var Sae,Iae,Mae,Dae,Oae,Lae,Nae,Pae,Bae,Fae,Rae=mZ(oJt,"FGraph",231);pDt(447,357,{3:1,447:1,357:1,94:1,134:1},y4),TWt.Ib=function(){return null==this.b||0==this.b.length?"l["+s5(this.a)+"]":"l_"+this.b},mZ(oJt,"FLabel",447),pDt(144,357,{3:1,144:1,357:1,94:1,134:1},HZ),TWt.Ib=function(){return w0(this)},TWt.b=0,mZ(oJt,"FNode",144),pDt(2003,1,{}),TWt.bf=function(t){l$t(this,t)},TWt.cf=function(){Uyt(this)},TWt.d=0,mZ(cJt,"AbstractForceModel",2003),pDt(631,2003,{631:1},Not),TWt.af=function(t,e){var i,r,a,o;return nIt(this.f,t,e),a=ZF(zO(e.d),t.d),o=n.Math.sqrt(a.a*a.a+a.b*a.b),r=n.Math.max(0,o-fW(t.e)/2-fW(e.e)/2),xL(a,((i=Uct(this.e,t,e))>0?-jY(r,this.c)*i:PP(r,this.b)*zz(vEt(t,(fFt(),Jae)),19).a)/o),a},TWt.bf=function(t){l$t(this,t),this.a=zz(vEt(t,(fFt(),Hae)),19).a,this.c=Uv(EB(vEt(t,aoe))),this.b=Uv(EB(vEt(t,eoe)))},TWt.df=function(t){return t<this.a},TWt.a=0,TWt.b=0,TWt.c=0,mZ(cJt,"EadesModel",631),pDt(632,2003,{632:1},hq),TWt.af=function(t,e){var i,r,a,o,s;return nIt(this.f,t,e),a=ZF(zO(e.d),t.d),s=n.Math.sqrt(a.a*a.a+a.b*a.b),o=NP(r=n.Math.max(0,s-fW(t.e)/2-fW(e.e)/2),this.a)*zz(vEt(t,(fFt(),Jae)),19).a,(i=Uct(this.e,t,e))>0&&(o-=Tv(r,this.a)*i),xL(a,o*this.b/s),a},TWt.bf=function(t){var e,i,r,a,o,s,c;for(l$t(this,t),this.b=Uv(EB(vEt(t,(fFt(),ooe)))),this.c=this.b/zz(vEt(t,Hae),19).a,r=t.e.c.length,o=0,a=0,c=new Wd(t.e);c.a<c.c.c.length;)o+=(s=zz(t0(c),144)).e.a,a+=s.e.b;e=o*a,i=Uv(EB(vEt(t,aoe)))*fQt,this.a=n.Math.sqrt(e/(2*r))*i},TWt.cf=function(){Uyt(this),this.b-=this.c},TWt.df=function(t){return this.b>0},TWt.a=0,TWt.b=0,TWt.c=0,mZ(cJt,"FruchtermanReingoldModel",632),pDt(849,1,VVt,Gl),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,uJt),""),"Force Model"),"Determines the model for force calculation."),Mae),(SCt(),bEe)),Ooe),edt((awt(),lEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,lJt),""),"Iterations"),"The number of iterations on the force model."),rft(300)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,hJt),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),rft(0)),mEe),Oee),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,fJt),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),dJt),pEe),See),edt(lEe)))),o2(t,fJt,uJt,Pae),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,gJt),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),pEe),See),edt(lEe)))),o2(t,gJt,uJt,Oae),mYt((new Yl,t))},mZ(pJt,"ForceMetaDataProvider",849),pDt(424,22,{3:1,35:1,22:1,424:1},ZT);var jae,$ae,zae,qae,Hae,Uae,Gae,Yae,Zae,Wae,Kae,Xae,Vae,Qae,Jae,toe,eoe,noe,ioe,roe,aoe,ooe,soe,coe,uoe,loe,hoe,foe,doe,goe,poe,boe,woe,moe,yoe,voe,xoe,koe,_oe,Aoe,Eoe,Toe,Coe,Soe,Ioe,Moe,Doe,Ooe=qnt(pJt,"ForceModelStrategy",424,Zte,oQ,_j);pDt(988,1,VVt,Yl),TWt.Qe=function(t){mYt(t)},mZ(pJt,"ForceOptions",988),pDt(989,1,{},ge),TWt.$e=function(){return new Um},TWt._e=function(t){},mZ(pJt,"ForceOptions/ForceFactory",989),pDt(850,1,VVt,Zl),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,PJt),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(lN(),!1)),(SCt(),gEe)),kee),edt((awt(),uEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,BJt),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),pEe),See),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[sEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,FJt),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),doe),bEe),qoe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,RJt),""),"Stress Epsilon"),"Termination criterion for the iterative process."),dJt),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,jJt),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),rft(FWt)),mEe),Oee),edt(lEe)))),ZUt((new Wl,t))},mZ(pJt,"StressMetaDataProvider",850),pDt(992,1,VVt,Wl),TWt.Qe=function(t){ZUt(t)},mZ(pJt,"StressOptions",992),pDt(993,1,{},pe),TWt.$e=function(){return new MF},TWt._e=function(t){},mZ(pJt,"StressOptions/StressFactory",993),pDt(1128,209,PQt,MF),TWt.Ze=function(t,e){var n,i,r,a;for(DAt(e,zJt,1),Hv(AB(tOt(t,(axt(),xoe))))?Hv(AB(tOt(t,Coe)))||kQ(new Ag((UE(),new Bv(t)))):yLt(new Um,t,vat(e,1)),i=fct(t),a=(n=H$t(this.a,i)).Kc();a.Ob();)(r=zz(a.Pb(),231)).e.c.length<=1||(Hqt(this.b,r),rOt(this.b),Det(r.d,new be));CYt(i=GYt(n)),HTt(e)},mZ(HJt,"StressLayoutProvider",1128),pDt(1129,1,dKt,be),TWt.td=function(t){$zt(zz(t,447))},mZ(HJt,"StressLayoutProvider/lambda$0$Type",1129),pDt(990,1,{},Am),TWt.c=0,TWt.e=0,TWt.g=0,mZ(HJt,"StressMajorization",990),pDt(379,22,{3:1,35:1,22:1,379:1},WT);var Loe,Noe,Poe,Boe,Foe,Roe,joe,$oe,zoe,qoe=qnt(HJt,"StressMajorization/Dimension",379,Zte,k1,Aj);pDt(991,1,TVt,Pg),TWt.ue=function(t,e){return TR(this.a,zz(t,144),zz(e,144))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(HJt,"StressMajorization/lambda$0$Type",991),pDt(1229,1,{},B0),mZ(GJt,"ElkLayered",1229),pDt(1230,1,dKt,we),TWt.td=function(t){RIt(zz(t,37))},mZ(GJt,"ElkLayered/lambda$0$Type",1230),pDt(1231,1,dKt,Bg),TWt.td=function(t){CR(this.a,zz(t,37))},mZ(GJt,"ElkLayered/lambda$1$Type",1231),pDt(1263,1,{},OO),mZ(GJt,"GraphConfigurator",1263),pDt(759,1,dKt,Fg),TWt.td=function(t){XEt(this.a,zz(t,10))},mZ(GJt,"GraphConfigurator/lambda$0$Type",759),pDt(760,1,{},me),TWt.Kb=function(t){return nkt(),new FH(null,new g1(zz(t,29).a,16))},mZ(GJt,"GraphConfigurator/lambda$1$Type",760),pDt(761,1,dKt,Rg),TWt.td=function(t){XEt(this.a,zz(t,10))},mZ(GJt,"GraphConfigurator/lambda$2$Type",761),pDt(1127,209,PQt,Ym),TWt.Ze=function(t,e){var n;n=Czt(new ey,t),UI(tOt(t,(HZt(),ube)))===UI((cht(),wSe))?agt(this.a,n,e):pMt(this.a,n,e),wYt(new Xl,n)},mZ(GJt,"LayeredLayoutProvider",1127),pDt(356,22,{3:1,35:1,22:1,356:1},KT);var Hoe,Uoe,Goe,Yoe=qnt(GJt,"LayeredPhases",356,Zte,u5,Ej);pDt(1651,1,{},yit),TWt.i=0,mZ(YJt,"ComponentsToCGraphTransformer",1651),pDt(1652,1,{},ye),TWt.ef=function(t,e){return n.Math.min(null!=t.a?Uv(t.a):t.c.i,null!=e.a?Uv(e.a):e.c.i)},TWt.ff=function(t,e){return n.Math.min(null!=t.a?Uv(t.a):t.c.i,null!=e.a?Uv(e.a):e.c.i)},mZ(YJt,"ComponentsToCGraphTransformer/1",1652),pDt(81,1,{81:1}),TWt.i=0,TWt.k=!0,TWt.o=jXt;var Zoe,Woe,Koe,Xoe=mZ(ZJt,"CNode",81);pDt(460,81,{460:1,81:1},NN,Cbt),TWt.Ib=function(){return""},mZ(YJt,"ComponentsToCGraphTransformer/CRectNode",460),pDt(1623,1,{},ve),mZ(YJt,"OneDimensionalComponentsCompaction",1623),pDt(1624,1,{},xe),TWt.Kb=function(t){return PJ(zz(t,46))},TWt.Fb=function(t){return this===t},mZ(YJt,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),pDt(1625,1,{},ke),TWt.Kb=function(t){return Agt(zz(t,46))},TWt.Fb=function(t){return this===t},mZ(YJt,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),pDt(1654,1,{},zZ),mZ(ZJt,"CGraph",1654),pDt(189,1,{189:1},Sbt),TWt.b=0,TWt.c=0,TWt.e=0,TWt.g=!0,TWt.i=jXt,mZ(ZJt,"CGroup",189),pDt(1653,1,{},Te),TWt.ef=function(t,e){return n.Math.max(null!=t.a?Uv(t.a):t.c.i,null!=e.a?Uv(e.a):e.c.i)},TWt.ff=function(t,e){return n.Math.max(null!=t.a?Uv(t.a):t.c.i,null!=e.a?Uv(e.a):e.c.i)},mZ(ZJt,DVt,1653),pDt(1655,1,{},lMt),TWt.d=!1;var Voe=mZ(ZJt,BVt,1655);pDt(1656,1,{},Ce),TWt.Kb=function(t){return xE(),lN(),0!=zz(zz(t,46).a,81).d.e},TWt.Fb=function(t){return this===t},mZ(ZJt,FVt,1656),pDt(823,1,{},TH),TWt.a=!1,TWt.b=!1,TWt.c=!1,TWt.d=!1,mZ(ZJt,RVt,823),pDt(1825,1,{},BU),mZ(WJt,jVt,1825);var Qoe=dH(KJt,SVt);pDt(1826,1,{369:1},fV),TWt.Ke=function(t){GPt(this,zz(t,466))},mZ(WJt,$Vt,1826),pDt(1827,1,TVt,Se),TWt.ue=function(t,e){return cX(zz(t,81),zz(e,81))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(WJt,zVt,1827),pDt(466,1,{466:1},hC),TWt.a=!1,mZ(WJt,qVt,466),pDt(1828,1,TVt,Ie),TWt.ue=function(t,e){return ekt(zz(t,466),zz(e,466))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(WJt,HVt,1828),pDt(140,1,{140:1},pC,yq),TWt.Fb=function(t){var e;return null!=t&&ise==nut(t)&&(e=zz(t,140),aK(this.c,e.c)&&aK(this.d,e.d))},TWt.Hb=function(){return flt(Sst(Ux(Ote,1),HWt,1,5,[this.c,this.d]))},TWt.Ib=function(){return"("+this.c+zWt+this.d+(this.a?"cx":"")+this.b+")"},TWt.a=!0,TWt.c=0,TWt.d=0;var Joe,tse,ese,nse,ise=mZ(KJt,"Point",140);pDt(405,22,{3:1,35:1,22:1,405:1},XT);var rse,ase,ose,sse,cse,use,lse,hse,fse,dse,gse,pse=qnt(KJt,"Point/Quadrant",405,Zte,e3,Tj);pDt(1642,1,{},Km),TWt.b=null,TWt.c=null,TWt.d=null,TWt.e=null,TWt.f=null,mZ(KJt,"RectilinearConvexHull",1642),pDt(574,1,{369:1},Ewt),TWt.Ke=function(t){j7(this,zz(t,140))},TWt.b=0,mZ(KJt,"RectilinearConvexHull/MaximalElementsEventHandler",574),pDt(1644,1,TVt,Ae),TWt.ue=function(t,e){return BK(EB(t),EB(e))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),pDt(1643,1,{369:1},fet),TWt.Ke=function(t){SNt(this,zz(t,140))},TWt.a=0,TWt.b=null,TWt.c=null,TWt.d=null,TWt.e=null,mZ(KJt,"RectilinearConvexHull/RectangleEventHandler",1643),pDt(1645,1,TVt,Ee),TWt.ue=function(t,e){return s0(zz(t,140),zz(e,140))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/lambda$0$Type",1645),pDt(1646,1,TVt,_e),TWt.ue=function(t,e){return c0(zz(t,140),zz(e,140))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/lambda$1$Type",1646),pDt(1647,1,TVt,Me),TWt.ue=function(t,e){return l0(zz(t,140),zz(e,140))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/lambda$2$Type",1647),pDt(1648,1,TVt,De),TWt.ue=function(t,e){return u0(zz(t,140),zz(e,140))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/lambda$3$Type",1648),pDt(1649,1,TVt,Oe),TWt.ue=function(t,e){return _Et(zz(t,140),zz(e,140))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/lambda$4$Type",1649),pDt(1650,1,{},MJ),mZ(KJt,"Scanline",1650),pDt(2005,1,{}),mZ(XJt,"AbstractGraphPlacer",2005),pDt(325,1,{325:1},ZP),TWt.mf=function(t){return!!this.nf(t)&&(JIt(this.b,zz(vEt(t,(hWt(),Zhe)),21),t),!0)},TWt.nf=function(t){var e,n,i;for(e=zz(vEt(t,(hWt(),Zhe)),21),i=zz(l6(hse,e),21).Kc();i.Ob();)if(n=zz(i.Pb(),21),!zz(l6(this.b,n),15).dc())return!1;return!0},mZ(XJt,"ComponentGroup",325),pDt(765,2005,{},Xm),TWt.of=function(t){var e;for(e=new Wd(this.a);e.a<e.c.c.length;)if(zz(t0(e),325).mf(t))return;Wz(this.a,new ZP(t))},TWt.lf=function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(this.a.c=P8(Ote,HWt,1,0,5,1),e.a.c=P8(Ote,HWt,1,0,5,1),t.dc())return e.f.a=0,void(e.f.b=0);for(Uot(e,o=zz(t.Xb(0),37)),r=t.Kc();r.Ob();)i=zz(r.Pb(),37),this.of(i);for(g=new Uk,a=Uv(EB(vEt(o,(HZt(),ywe)))),u=new Wd(this.a);u.a<u.c.c.length;)l=EZt(s=zz(t0(u),325),a),g7(AZ(s.b),g.a,g.b),g.a+=l.a,g.b+=l.b;if(e.f.a=g.a-a,e.f.b=g.b-a,Hv(AB(vEt(o,Epe)))&&UI(vEt(o,Jpe))===UI((Tdt(),XCe))){for(d=t.Kc();d.Ob();)tRt(h=zz(d.Pb(),37),h.c.a,h.c.b);for(jZt(n=new Le,t,a),f=t.Kc();f.Ob();)YF(xM((h=zz(f.Pb(),37)).c),n.e);YF(xM(e.f),n.a)}for(c=new Wd(this.a);c.a<c.c.c.length;)p7(e,AZ((s=zz(t0(c),325)).b))},mZ(XJt,"ComponentGroupGraphPlacer",765),pDt(1293,765,{},ly),TWt.of=function(t){mht(this,t)},TWt.lf=function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;if(this.a.c=P8(Ote,HWt,1,0,5,1),e.a.c=P8(Ote,HWt,1,0,5,1),t.dc())return e.f.a=0,void(e.f.b=0);for(Uot(e,o=zz(t.Xb(0),37)),r=t.Kc();r.Ob();)mht(this,zz(r.Pb(),37));for(m=new Uk,w=new Uk,p=new Uk,g=new Uk,a=Uv(EB(vEt(o,(HZt(),ywe)))),u=new Wd(this.a);u.a<u.c.c.length;){if(s=zz(t0(u),325),pD(zz(vEt(e,(lWt(),dTe)),103))){for(p.a=m.a,b=new fv(EZ(xZ(s.b).a).a.kc());b.b.Ob();)if(zz(aT(b.b.Pb()),21).Hc((kYt(),uIe))){p.a=w.a;break}}else if(bD(zz(vEt(e,dTe),103)))for(p.b=m.b,b=new fv(EZ(xZ(s.b).a).a.kc());b.b.Ob();)if(zz(aT(b.b.Pb()),21).Hc((kYt(),SIe))){p.b=w.b;break}if(l=EZt(zz(s,570),a),g7(AZ(s.b),p.a,p.b),pD(zz(vEt(e,dTe),103))){for(w.a=p.a+l.a,g.a=n.Math.max(g.a,w.a),b=new fv(EZ(xZ(s.b).a).a.kc());b.b.Ob();)if(zz(aT(b.b.Pb()),21).Hc((kYt(),TIe))){m.a=p.a+l.a;break}w.b=p.b+l.b,p.b=w.b,g.b=n.Math.max(g.b,p.b)}else if(bD(zz(vEt(e,dTe),103))){for(w.b=p.b+l.b,g.b=n.Math.max(g.b,w.b),b=new fv(EZ(xZ(s.b).a).a.kc());b.b.Ob();)if(zz(aT(b.b.Pb()),21).Hc((kYt(),cIe))){m.b=p.b+l.b;break}w.a=p.a+l.a,p.a=w.a,g.a=n.Math.max(g.a,p.a)}}if(e.f.a=g.a-a,e.f.b=g.b-a,Hv(AB(vEt(o,Epe)))&&UI(vEt(o,Jpe))===UI((Tdt(),XCe))){for(d=t.Kc();d.Ob();)tRt(h=zz(d.Pb(),37),h.c.a,h.c.b);for(jZt(i=new Le,t,a),f=t.Kc();f.Ob();)YF(xM((h=zz(f.Pb(),37)).c),i.e);YF(xM(e.f),i.a)}for(c=new Wd(this.a);c.a<c.c.c.length;)p7(e,AZ((s=zz(t0(c),325)).b))},mZ(XJt,"ComponentGroupModelOrderGraphPlacer",1293),pDt(423,22,{3:1,35:1,22:1,423:1},VT);var bse,wse,mse,yse=qnt(XJt,"ComponentOrderingStrategy",423,Zte,x1,Cj);pDt(650,1,{},Le),mZ(XJt,"ComponentsCompactor",650),pDt(1468,12,VXt,m5),TWt.Fc=function(t){return Qkt(this,zz(t,140))},mZ(XJt,"ComponentsCompactor/Hullpoints",1468),pDt(1465,1,{841:1},hmt),TWt.a=!1,mZ(XJt,"ComponentsCompactor/InternalComponent",1465),pDt(1464,1,mKt,Vm),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new Wd(this.a)},mZ(XJt,"ComponentsCompactor/InternalConnectedComponents",1464),pDt(1467,1,{594:1},bMt),TWt.hf=function(){return null},TWt.jf=function(){return this.a},TWt.gf=function(){return cwt(this.d)},TWt.kf=function(){return this.b},mZ(XJt,"ComponentsCompactor/InternalExternalExtension",1467),pDt(1466,1,{594:1},ty),TWt.jf=function(){return this.a},TWt.gf=function(){return cwt(this.d)},TWt.hf=function(){return this.c},TWt.kf=function(){return this.b},mZ(XJt,"ComponentsCompactor/InternalUnionExternalExtension",1466),pDt(1470,1,{},VPt),mZ(XJt,"ComponentsCompactor/OuterSegments",1470),pDt(1469,1,{},Qm),mZ(XJt,"ComponentsCompactor/Segments",1469),pDt(1264,1,{},dV),mZ(XJt,rJt,1264),pDt(1265,1,TVt,Ne),TWt.ue=function(t,e){return d0(zz(t,37),zz(e,37))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(XJt,"ComponentsProcessor/lambda$0$Type",1265),pDt(570,325,{325:1,570:1},w5),TWt.mf=function(t){return but(this,t)},TWt.nf=function(t){return gNt(this,t)},mZ(XJt,"ModelOrderComponentGroup",570),pDt(1291,2005,{},Pe),TWt.lf=function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k;if(1!=t.gc()){if(t.dc())return e.a.c=P8(Ote,HWt,1,0,5,1),e.f.a=0,void(e.f.b=0);if(UI(vEt(e,(HZt(),Spe)))===UI((qht(),gse))){for(u=t.Kc();u.Ob();){for(w=0,p=new Wd((s=zz(u.Pb(),37)).a);p.a<p.c.c.length;)g=zz(t0(p),10),w+=zz(vEt(g,lwe),19).a;s.p=w}TX(),t.ad(new Be)}for(o=zz(t.Xb(0),37),e.a.c=P8(Ote,HWt,1,0,5,1),Uot(e,o),d=0,v=0,l=t.Kc();l.Ob();)m=(s=zz(l.Pb(),37)).f,d=n.Math.max(d,m.a),v+=m.a*m.b;for(d=n.Math.max(d,n.Math.sqrt(v)*Uv(EB(vEt(e,_pe)))),x=0,k=0,f=0,i=a=Uv(EB(vEt(e,ywe))),c=t.Kc();c.Ob();)x+(m=(s=zz(c.Pb(),37)).f).a>d&&(x=0,k+=f+a,f=0),tRt(s,x+(b=s.c).a,k+b.b),xM(b),i=n.Math.max(i,x+m.a),f=n.Math.max(f,m.b),x+=m.a+a;if(e.f.a=i,e.f.b=k+f,Hv(AB(vEt(o,Epe)))){for(jZt(r=new Le,t,a),h=t.Kc();h.Ob();)YF(xM(zz(h.Pb(),37).c),r.e);YF(xM(e.f),r.a)}p7(e,t)}else(y=zz(t.Xb(0),37))!=e&&(e.a.c=P8(Ote,HWt,1,0,5,1),LRt(e,y,0,0),Uot(e,y),xX(e.d,y.d),e.f.a=y.f.a,e.f.b=y.f.b)},mZ(XJt,"SimpleRowGraphPlacer",1291),pDt(1292,1,TVt,Be),TWt.ue=function(t,e){return Yot(zz(t,37),zz(e,37))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(XJt,"SimpleRowGraphPlacer/1",1292),pDt(1262,1,UVt,Fe),TWt.Lb=function(t){var e;return!!(e=zz(vEt(zz(t,243).b,(HZt(),mbe)),74))&&0!=e.b},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){var e;return!!(e=zz(vEt(zz(t,243).b,(HZt(),mbe)),74))&&0!=e.b},mZ(t1t,"CompoundGraphPostprocessor/1",1262),pDt(1261,1,e1t,ny),TWt.pf=function(t,e){vmt(this,zz(t,37),e)},mZ(t1t,"CompoundGraphPreprocessor",1261),pDt(441,1,{441:1},Yht),TWt.c=!1,mZ(t1t,"CompoundGraphPreprocessor/ExternalPort",441),pDt(243,1,{243:1},Lj),TWt.Ib=function(){return pP(this.c)+":"+DIt(this.b)},mZ(t1t,"CrossHierarchyEdge",243),pDt(763,1,TVt,jg),TWt.ue=function(t,e){return Xvt(this,zz(t,243),zz(e,243))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(t1t,"CrossHierarchyEdgeComparator",763),pDt(299,134,{3:1,299:1,94:1,134:1}),TWt.p=0,mZ(n1t,"LGraphElement",299),pDt(17,299,{3:1,17:1,299:1,94:1,134:1},gV),TWt.Ib=function(){return DIt(this)};var vse=mZ(n1t,"LEdge",17);pDt(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},vit),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new Wd(this.b)},TWt.Ib=function(){return 0==this.b.c.length?"G-unlayered"+NEt(this.a):0==this.a.c.length?"G-layered"+NEt(this.b):"G[layerless"+NEt(this.a)+", layers"+NEt(this.b)+"]"};var xse,kse=mZ(n1t,"LGraph",37);pDt(657,1,{}),TWt.qf=function(){return this.e.n},TWt.We=function(t){return vEt(this.e,t)},TWt.rf=function(){return this.e.o},TWt.sf=function(){return this.e.p},TWt.Xe=function(t){return LP(this.e,t)},TWt.tf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},TWt.uf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},TWt.vf=function(t){this.e.p=t},mZ(n1t,"LGraphAdapters/AbstractLShapeAdapter",657),pDt(577,1,{839:1},$g),TWt.wf=function(){var t,e;if(!this.b)for(this.b=uP(this.a.b.c.length),e=new Wd(this.a.b);e.a<e.c.c.length;)t=zz(t0(e),70),Wz(this.b,new zg(t));return this.b},TWt.b=null,mZ(n1t,"LGraphAdapters/LEdgeAdapter",577),pDt(656,1,{},qK),TWt.xf=function(){var t,e,n,i,r;if(!this.b)for(this.b=new Nw,n=new Wd(this.a.b);n.a<n.c.c.length;)for(r=new Wd(zz(t0(n),29).a);r.a<r.c.c.length;)if(i=zz(t0(r),10),this.c.Mb(i)&&(Wz(this.b,new jj(this,i,this.e)),this.d)){if(LP(i,(hWt(),Rfe)))for(e=zz(vEt(i,Rfe),15).Kc();e.Ob();)t=zz(e.Pb(),10),Wz(this.b,new jj(this,t,!1));if(LP(i,Bhe))for(e=zz(vEt(i,Bhe),15).Kc();e.Ob();)t=zz(e.Pb(),10),Wz(this.b,new jj(this,t,!1))}return this.b},TWt.qf=function(){throw qw(new ex(r1t))},TWt.We=function(t){return vEt(this.a,t)},TWt.rf=function(){return this.a.f},TWt.sf=function(){return this.a.p},TWt.Xe=function(t){return LP(this.a,t)},TWt.tf=function(t){throw qw(new ex(r1t))},TWt.uf=function(t){this.a.f.a=t.a,this.a.f.b=t.b},TWt.vf=function(t){this.a.p=t},TWt.b=null,TWt.d=!1,TWt.e=!1,mZ(n1t,"LGraphAdapters/LGraphAdapter",656),pDt(576,657,{181:1},zg),mZ(n1t,"LGraphAdapters/LLabelAdapter",576),pDt(575,657,{680:1},jj),TWt.yf=function(){return this.b},TWt.zf=function(){return TX(),TX(),lne},TWt.wf=function(){var t,e;if(!this.a)for(this.a=uP(zz(this.e,10).b.c.length),e=new Wd(zz(this.e,10).b);e.a<e.c.c.length;)t=zz(t0(e),70),Wz(this.a,new zg(t));return this.a},TWt.Af=function(){var t;return new qF((t=zz(this.e,10).d).d,t.c,t.a,t.b)},TWt.Bf=function(){return TX(),TX(),lne},TWt.Cf=function(){var t,e;if(!this.c)for(this.c=uP(zz(this.e,10).j.c.length),e=new Wd(zz(this.e,10).j);e.a<e.c.c.length;)t=zz(t0(e),11),Wz(this.c,new bC(t,this.d));return this.c},TWt.Df=function(){return Hv(AB(vEt(zz(this.e,10),(hWt(),jhe))))},TWt.Ef=function(t){zz(this.e,10).d.b=t.b,zz(this.e,10).d.d=t.d,zz(this.e,10).d.c=t.c,zz(this.e,10).d.a=t.a},TWt.Ff=function(t){zz(this.e,10).f.b=t.b,zz(this.e,10).f.d=t.d,zz(this.e,10).f.c=t.c,zz(this.e,10).f.a=t.a},TWt.Gf=function(){Pet(this,(bE(),xse))},TWt.a=null,TWt.b=null,TWt.c=null,TWt.d=!1,mZ(n1t,"LGraphAdapters/LNodeAdapter",575),pDt(1722,657,{838:1},bC),TWt.zf=function(){var t,e,n,i;if(this.d&&zz(this.e,11).i.k==(cTt(),Ise))return TX(),TX(),lne;if(!this.a){for(this.a=new Nw,n=new Wd(zz(this.e,11).e);n.a<n.c.c.length;)t=zz(t0(n),17),Wz(this.a,new $g(t));if(this.d&&(i=zz(vEt(zz(this.e,11),(hWt(),_fe)),10)))for(e=new cG(JL(fdt(i).a.Kc(),new l));bDt(e);)t=zz(Y5(e),17),Wz(this.a,new $g(t))}return this.a},TWt.wf=function(){var t,e;if(!this.b)for(this.b=uP(zz(this.e,11).f.c.length),e=new Wd(zz(this.e,11).f);e.a<e.c.c.length;)t=zz(t0(e),70),Wz(this.b,new zg(t));return this.b},TWt.Bf=function(){var t,e,n,i;if(this.d&&zz(this.e,11).i.k==(cTt(),Ise))return TX(),TX(),lne;if(!this.c){for(this.c=new Nw,n=new Wd(zz(this.e,11).g);n.a<n.c.c.length;)t=zz(t0(n),17),Wz(this.c,new $g(t));if(this.d&&(i=zz(vEt(zz(this.e,11),(hWt(),_fe)),10)))for(e=new cG(JL(ddt(i).a.Kc(),new l));bDt(e);)t=zz(Y5(e),17),Wz(this.c,new $g(t))}return this.c},TWt.Hf=function(){return zz(this.e,11).j},TWt.If=function(){return Hv(AB(vEt(zz(this.e,11),(hWt(),nfe))))},TWt.a=null,TWt.b=null,TWt.c=null,TWt.d=!1,mZ(n1t,"LGraphAdapters/LPortAdapter",1722),pDt(1723,1,TVt,Re),TWt.ue=function(t,e){return KBt(zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(n1t,"LGraphAdapters/PortComparator",1723),pDt(804,1,FKt,je),TWt.Mb=function(t){return zz(t,10),bE(),!0},mZ(n1t,"LGraphAdapters/lambda$0$Type",804),pDt(392,299,{3:1,299:1,392:1,94:1,134:1}),mZ(n1t,"LShape",392),pDt(70,392,{3:1,299:1,70:1,392:1,94:1,134:1},Hk,MO),TWt.Ib=function(){var t;return null==(t=Vq(this))?"label":"l_"+t},mZ(n1t,"LLabel",70),pDt(207,1,{3:1,4:1,207:1,414:1}),TWt.Fb=function(t){var e;return!!aL(t,207)&&(e=zz(t,207),this.d==e.d&&this.a==e.a&&this.b==e.b&&this.c==e.c)},TWt.Hb=function(){var t,e;return t=KM(this.b)<<16,t|=KM(this.a)&VKt,e=KM(this.c)<<16,t^(e|=KM(this.d)&VKt)},TWt.Jf=function(t){var e,n,i,r,a,o,s,c,u;for(r=0;r<t.length&&Flt((d1(r,t.length),t.charCodeAt(r)),u1t);)++r;for(e=t.length;e>0&&Flt((d1(e-1,t.length),t.charCodeAt(e-1)),l1t);)--e;if(r<e){c=kRt(t.substr(r,e-r),",|;");try{for(o=0,s=(a=c).length;o<s;++o){if(2!=(i=kRt(a[o],"=")).length)throw qw(new jv("Expecting a list of key-value pairs."));n=REt(i[0]),u=gTt(REt(i[1])),yR(n,"top")?this.d=u:yR(n,"left")?this.b=u:yR(n,"bottom")?this.a=u:yR(n,"right")&&(this.c=u)}}catch(t){throw aL(t=dst(t),127)?qw(new jv(h1t+t)):qw(t)}}},TWt.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},TWt.a=0,TWt.b=0,TWt.c=0,TWt.d=0,mZ(f1t,"Spacing",207),pDt(142,207,d1t,fy,fD,qF,Dj);var _se=mZ(f1t,"ElkMargin",142);pDt(651,142,d1t,hy),mZ(n1t,"LMargin",651),pDt(10,392,{3:1,299:1,10:1,392:1,94:1,134:1},Lmt),TWt.Ib=function(){return Lwt(this)},TWt.i=!1;var Ase,Ese,Tse,Cse,Sse,Ise,Mse=mZ(n1t,"LNode",10);pDt(267,22,{3:1,35:1,22:1,267:1},QT);var Dse,Ose=qnt(n1t,"LNode/NodeType",267,Zte,s7,Ij);pDt(116,207,g1t,dy,WD,Mj);var Lse,Nse,Pse,Bse,Fse,Rse,jse=mZ(f1t,"ElkPadding",116);pDt(764,116,g1t,gy),mZ(n1t,"LPadding",764),pDt(11,392,{3:1,299:1,11:1,392:1,94:1,134:1},ITt),TWt.Ib=function(){var t,e,n;return cM(((t=new Sx).a+="p_",t),mvt(this)),this.i&&cM(sM((t.a+="[",t),this.i),"]"),1==this.e.c.length&&0==this.g.c.length&&zz(PH(this.e,0),17).c!=this&&(e=zz(PH(this.e,0),17).c,cM((t.a+=" << ",t),mvt(e)),cM(sM((t.a+="[",t),e.i),"]")),0==this.e.c.length&&1==this.g.c.length&&zz(PH(this.g,0),17).d!=this&&(n=zz(PH(this.g,0),17).d,cM((t.a+=" >> ",t),mvt(n)),cM(sM((t.a+="[",t),n.i),"]")),t.a},TWt.c=!0,TWt.d=!1;var $se,zse,qse,Hse,Use=mZ(n1t,"LPort",11);pDt(397,1,mKt,qg),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new Hg(new Wd(this.a.e))},mZ(n1t,"LPort/1",397),pDt(1290,1,VWt,Hg),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return zz(t0(this.a),17).c},TWt.Ob=function(){return vO(this.a)},TWt.Qb=function(){DY(this.a)},mZ(n1t,"LPort/1/1",1290),pDt(359,1,mKt,Ug),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new Gg(new Wd(this.a.g))},mZ(n1t,"LPort/2",359),pDt(762,1,VWt,Gg),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return zz(t0(this.a),17).d},TWt.Ob=function(){return vO(this.a)},TWt.Qb=function(){DY(this.a)},mZ(n1t,"LPort/2/1",762),pDt(1283,1,mKt,lC),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new y6(this)},mZ(n1t,"LPort/CombineIter",1283),pDt(201,1,VWt,y6),TWt.Nb=function(t){hY(this,t)},TWt.Qb=function(){s_()},TWt.Ob=function(){return GN(this)},TWt.Pb=function(){return vO(this.a)?t0(this.a):t0(this.b)},mZ(n1t,"LPort/CombineIter/1",201),pDt(1285,1,UVt,$e),TWt.Lb=function(t){return DG(t)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),0!=zz(t,11).e.c.length},mZ(n1t,"LPort/lambda$0$Type",1285),pDt(1284,1,UVt,ze),TWt.Lb=function(t){return OG(t)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),0!=zz(t,11).g.c.length},mZ(n1t,"LPort/lambda$1$Type",1284),pDt(1286,1,UVt,qe),TWt.Lb=function(t){return wat(),zz(t,11).j==(kYt(),uIe)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),zz(t,11).j==(kYt(),uIe)},mZ(n1t,"LPort/lambda$2$Type",1286),pDt(1287,1,UVt,He),TWt.Lb=function(t){return wat(),zz(t,11).j==(kYt(),cIe)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),zz(t,11).j==(kYt(),cIe)},mZ(n1t,"LPort/lambda$3$Type",1287),pDt(1288,1,UVt,Ue),TWt.Lb=function(t){return wat(),zz(t,11).j==(kYt(),TIe)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),zz(t,11).j==(kYt(),TIe)},mZ(n1t,"LPort/lambda$4$Type",1288),pDt(1289,1,UVt,Ge),TWt.Lb=function(t){return wat(),zz(t,11).j==(kYt(),SIe)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),zz(t,11).j==(kYt(),SIe)},mZ(n1t,"LPort/lambda$5$Type",1289),pDt(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},qZ),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new Wd(this.a)},TWt.Ib=function(){return"L_"+_9(this.b.b,this,0)+NEt(this.a)},mZ(n1t,"Layer",29),pDt(1342,1,{},ey),mZ(b1t,w1t,1342),pDt(1346,1,{},Ye),TWt.Kb=function(t){return SAt(zz(t,82))},mZ(b1t,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),pDt(1349,1,{},Ze),TWt.Kb=function(t){return SAt(zz(t,82))},mZ(b1t,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),pDt(1343,1,dKt,Yg),TWt.td=function(t){SMt(this.a,zz(t,118))},mZ(b1t,m1t,1343),pDt(1344,1,dKt,Zg),TWt.td=function(t){SMt(this.a,zz(t,118))},mZ(b1t,y1t,1344),pDt(1345,1,{},We),TWt.Kb=function(t){return new FH(null,new g1(wK(zz(t,79)),16))},mZ(b1t,v1t,1345),pDt(1347,1,FKt,Wg),TWt.Mb=function(t){return jD(this.a,zz(t,33))},mZ(b1t,x1t,1347),pDt(1348,1,{},Ke),TWt.Kb=function(t){return new FH(null,new g1(mK(zz(t,79)),16))},mZ(b1t,"ElkGraphImporter/lambda$5$Type",1348),pDt(1350,1,FKt,Kg),TWt.Mb=function(t){return $D(this.a,zz(t,33))},mZ(b1t,"ElkGraphImporter/lambda$7$Type",1350),pDt(1351,1,FKt,Xe),TWt.Mb=function(t){return DX(zz(t,79))},mZ(b1t,"ElkGraphImporter/lambda$8$Type",1351),pDt(1278,1,{},Xl),mZ(b1t,"ElkGraphLayoutTransferrer",1278),pDt(1279,1,FKt,Xg),TWt.Mb=function(t){return QF(this.a,zz(t,17))},mZ(b1t,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),pDt(1280,1,dKt,Vg),TWt.td=function(t){yE(),Wz(this.a,zz(t,17))},mZ(b1t,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),pDt(1281,1,FKt,Qg),TWt.Mb=function(t){return YB(this.a,zz(t,17))},mZ(b1t,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),pDt(1282,1,dKt,Jg),TWt.td=function(t){yE(),Wz(this.a,zz(t,17))},mZ(b1t,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),pDt(1485,1,e1t,Ve),TWt.pf=function(t,e){Xrt(zz(t,37),e)},mZ(_1t,"CommentNodeMarginCalculator",1485),pDt(1486,1,{},Qe),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"CommentNodeMarginCalculator/lambda$0$Type",1486),pDt(1487,1,dKt,Je),TWt.td=function(t){nqt(zz(t,10))},mZ(_1t,"CommentNodeMarginCalculator/lambda$1$Type",1487),pDt(1488,1,e1t,tn),TWt.pf=function(t,e){sBt(zz(t,37),e)},mZ(_1t,"CommentPostprocessor",1488),pDt(1489,1,e1t,en),TWt.pf=function(t,e){cYt(zz(t,37),e)},mZ(_1t,"CommentPreprocessor",1489),pDt(1490,1,e1t,nn),TWt.pf=function(t,e){_Lt(zz(t,37),e)},mZ(_1t,"ConstraintsPostprocessor",1490),pDt(1491,1,e1t,rn),TWt.pf=function(t,e){oot(zz(t,37),e)},mZ(_1t,"EdgeAndLayerConstraintEdgeReverser",1491),pDt(1492,1,e1t,an),TWt.pf=function(t,e){Ggt(zz(t,37),e)},mZ(_1t,"EndLabelPostprocessor",1492),pDt(1493,1,{},on),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"EndLabelPostprocessor/lambda$0$Type",1493),pDt(1494,1,FKt,sn),TWt.Mb=function(t){return EV(zz(t,10))},mZ(_1t,"EndLabelPostprocessor/lambda$1$Type",1494),pDt(1495,1,dKt,cn),TWt.td=function(t){ikt(zz(t,10))},mZ(_1t,"EndLabelPostprocessor/lambda$2$Type",1495),pDt(1496,1,e1t,un),TWt.pf=function(t,e){tSt(zz(t,37),e)},mZ(_1t,"EndLabelPreprocessor",1496),pDt(1497,1,{},ln),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"EndLabelPreprocessor/lambda$0$Type",1497),pDt(1498,1,dKt,Bj),TWt.td=function(t){RE(this.a,this.b,this.c,zz(t,10))},TWt.a=0,TWt.b=0,TWt.c=!1,mZ(_1t,"EndLabelPreprocessor/lambda$1$Type",1498),pDt(1499,1,FKt,hn),TWt.Mb=function(t){return UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),ZCe))},mZ(_1t,"EndLabelPreprocessor/lambda$2$Type",1499),pDt(1500,1,dKt,tp),TWt.td=function(t){Bq(this.a,zz(t,70))},mZ(_1t,"EndLabelPreprocessor/lambda$3$Type",1500),pDt(1501,1,FKt,fn),TWt.Mb=function(t){return UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),YCe))},mZ(_1t,"EndLabelPreprocessor/lambda$4$Type",1501),pDt(1502,1,dKt,ep),TWt.td=function(t){Bq(this.a,zz(t,70))},mZ(_1t,"EndLabelPreprocessor/lambda$5$Type",1502),pDt(1551,1,e1t,Kl),TWt.pf=function(t,e){Ift(zz(t,37),e)},mZ(_1t,"EndLabelSorter",1551),pDt(1552,1,TVt,dn),TWt.ue=function(t,e){return Hbt(zz(t,456),zz(e,456))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"EndLabelSorter/1",1552),pDt(456,1,{456:1},AX),mZ(_1t,"EndLabelSorter/LabelGroup",456),pDt(1553,1,{},gn),TWt.Kb=function(t){return _E(),new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"EndLabelSorter/lambda$0$Type",1553),pDt(1554,1,FKt,pn),TWt.Mb=function(t){return _E(),zz(t,10).k==(cTt(),Sse)},mZ(_1t,"EndLabelSorter/lambda$1$Type",1554),pDt(1555,1,dKt,bn),TWt.td=function(t){uTt(zz(t,10))},mZ(_1t,"EndLabelSorter/lambda$2$Type",1555),pDt(1556,1,FKt,wn),TWt.Mb=function(t){return _E(),UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),YCe))},mZ(_1t,"EndLabelSorter/lambda$3$Type",1556),pDt(1557,1,FKt,mn),TWt.Mb=function(t){return _E(),UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),ZCe))},mZ(_1t,"EndLabelSorter/lambda$4$Type",1557),pDt(1503,1,e1t,yn),TWt.pf=function(t,e){Mqt(this,zz(t,37))},TWt.b=0,TWt.c=0,mZ(_1t,"FinalSplineBendpointsCalculator",1503),pDt(1504,1,{},vn),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),pDt(1505,1,{},xn),TWt.Kb=function(t){return new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),pDt(1506,1,FKt,kn),TWt.Mb=function(t){return!d5(zz(t,17))},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),pDt(1507,1,FKt,_n),TWt.Mb=function(t){return LP(zz(t,17),(hWt(),Nfe))},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),pDt(1508,1,dKt,np),TWt.td=function(t){YRt(this.a,zz(t,128))},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),pDt(1509,1,dKt,An),TWt.td=function(t){JCt(zz(t,17).a)},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),pDt(792,1,e1t,ip),TWt.pf=function(t,e){XHt(this,zz(t,37),e)},mZ(_1t,"GraphTransformer",792),pDt(511,22,{3:1,35:1,22:1,511:1},JT);var Gse,Yse,Zse,Wse=qnt(_1t,"GraphTransformer/Mode",511,Zte,sQ,ez);pDt(1510,1,e1t,En),TWt.pf=function(t,e){iPt(zz(t,37),e)},mZ(_1t,"HierarchicalNodeResizingProcessor",1510),pDt(1511,1,e1t,Tn),TWt.pf=function(t,e){drt(zz(t,37),e)},mZ(_1t,"HierarchicalPortConstraintProcessor",1511),pDt(1512,1,TVt,Cn),TWt.ue=function(t,e){return Mwt(zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"HierarchicalPortConstraintProcessor/NodeComparator",1512),pDt(1513,1,e1t,Sn),TWt.pf=function(t,e){_zt(zz(t,37),e)},mZ(_1t,"HierarchicalPortDummySizeProcessor",1513),pDt(1514,1,e1t,In),TWt.pf=function(t,e){JBt(this,zz(t,37),e)},TWt.a=0,mZ(_1t,"HierarchicalPortOrthogonalEdgeRouter",1514),pDt(1515,1,TVt,Mn),TWt.ue=function(t,e){return jN(zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"HierarchicalPortOrthogonalEdgeRouter/1",1515),pDt(1516,1,TVt,Dn),TWt.ue=function(t,e){return C7(zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"HierarchicalPortOrthogonalEdgeRouter/2",1516),pDt(1517,1,e1t,On),TWt.pf=function(t,e){AEt(zz(t,37),e)},mZ(_1t,"HierarchicalPortPositionProcessor",1517),pDt(1518,1,e1t,Vl),TWt.pf=function(t,e){aZt(this,zz(t,37))},TWt.a=0,TWt.c=0,mZ(_1t,"HighDegreeNodeLayeringProcessor",1518),pDt(571,1,{571:1},Ln),TWt.b=-1,TWt.d=-1,mZ(_1t,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),pDt(1519,1,{},Nn),TWt.Kb=function(t){return Hj(),fdt(zz(t,10))},TWt.Fb=function(t){return this===t},mZ(_1t,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),pDt(1520,1,{},Pn),TWt.Kb=function(t){return Hj(),ddt(zz(t,10))},TWt.Fb=function(t){return this===t},mZ(_1t,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),pDt(1526,1,e1t,Bn),TWt.pf=function(t,e){b$t(this,zz(t,37),e)},mZ(_1t,"HyperedgeDummyMerger",1526),pDt(793,1,{},Fj),TWt.a=!1,TWt.b=!1,TWt.c=!1,mZ(_1t,"HyperedgeDummyMerger/MergeState",793),pDt(1527,1,{},Fn),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"HyperedgeDummyMerger/lambda$0$Type",1527),pDt(1528,1,{},Rn),TWt.Kb=function(t){return new FH(null,new g1(zz(t,10).j,16))},mZ(_1t,"HyperedgeDummyMerger/lambda$1$Type",1528),pDt(1529,1,dKt,jn),TWt.td=function(t){zz(t,11).p=-1},mZ(_1t,"HyperedgeDummyMerger/lambda$2$Type",1529),pDt(1530,1,e1t,$n),TWt.pf=function(t,e){g$t(zz(t,37),e)},mZ(_1t,"HypernodesProcessor",1530),pDt(1531,1,e1t,zn),TWt.pf=function(t,e){p$t(zz(t,37),e)},mZ(_1t,"InLayerConstraintProcessor",1531),pDt(1532,1,e1t,qn),TWt.pf=function(t,e){Nat(zz(t,37),e)},mZ(_1t,"InnermostNodeMarginCalculator",1532),pDt(1533,1,e1t,Hn),TWt.pf=function(t,e){XGt(this,zz(t,37))},TWt.a=jXt,TWt.b=jXt,TWt.c=RXt,TWt.d=RXt;var Kse,Xse,Vse,Qse,Jse,tce,ece,nce,ice,rce,ace,oce,sce,cce,uce,lce,hce,fce,dce,gce,pce,bce,wce,mce,yce,vce,xce,kce,_ce,Ace,Ece,Tce,Cce,Sce,Ice,Mce,Dce,Oce,Lce,Nce,Pce,Bce,Fce,Rce,jce,$ce,zce,qce,Hce,Uce,Gce,Yce,Zce,Wce,Kce,Xce,Vce,Qce=mZ(_1t,"InteractiveExternalPortPositioner",1533);pDt(1534,1,{},Un),TWt.Kb=function(t){return zz(t,17).d.i},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$0$Type",1534),pDt(1535,1,{},rp),TWt.Kb=function(t){return HN(this.a,EB(t))},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$1$Type",1535),pDt(1536,1,{},Gn),TWt.Kb=function(t){return zz(t,17).c.i},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$2$Type",1536),pDt(1537,1,{},ap),TWt.Kb=function(t){return UN(this.a,EB(t))},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$3$Type",1537),pDt(1538,1,{},op),TWt.Kb=function(t){return WF(this.a,EB(t))},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$4$Type",1538),pDt(1539,1,{},sp),TWt.Kb=function(t){return KF(this.a,EB(t))},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$5$Type",1539),pDt(77,22,{3:1,35:1,22:1,77:1,234:1},tC),TWt.Kf=function(){switch(this.g){case 15:return new pa;case 22:return new ba;case 47:return new ya;case 28:case 35:return new ni;case 32:return new Ve;case 42:return new tn;case 1:return new en;case 41:return new nn;case 56:return new ip((Crt(),Hse));case 0:return new ip((Crt(),qse));case 2:return new rn;case 54:return new an;case 33:return new un;case 51:return new yn;case 55:return new En;case 13:return new Tn;case 38:return new Sn;case 44:return new In;case 40:return new On;case 9:return new Vl;case 49:return new cP;case 37:return new Bn;case 43:return new $n;case 27:return new zn;case 30:return new qn;case 3:return new Hn;case 18:return new Zn;case 29:return new Wn;case 5:return new Ql;case 50:return new Yn;case 34:return new Jl;case 36:return new ii;case 52:return new Kl;case 11:return new ai;case 7:return new eh;case 39:return new oi;case 45:return new si;case 16:return new ci;case 10:return new ui;case 48:return new hi;case 21:return new fi;case 23:return new Nv((uit(),Dye));case 8:return new gi;case 12:return new bi;case 4:return new wi;case 19:return new ah;case 17:return new Ci;case 53:return new Si;case 6:return new zi;case 25:return new oy;case 46:return new Ni;case 31:return new PF;case 14:return new Ki;case 26:return new Ta;case 20:return new tr;case 24:return new Nv((uit(),Oye));default:throw qw(new jv(T1t+(null!=this.f?this.f:""+this.g)))}};var Jce,tue,eue,nue,iue,rue,aue,oue,sue=qnt(_1t,C1t,77,Zte,ANt,tz);pDt(1540,1,e1t,Zn),TWt.pf=function(t,e){JGt(zz(t,37),e)},mZ(_1t,"InvertedPortProcessor",1540),pDt(1541,1,e1t,Wn),TWt.pf=function(t,e){NRt(zz(t,37),e)},mZ(_1t,"LabelAndNodeSizeProcessor",1541),pDt(1542,1,FKt,Kn),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Sse)},mZ(_1t,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),pDt(1543,1,FKt,Xn),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Ese)},mZ(_1t,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),pDt(1544,1,dKt,Rj),TWt.td=function(t){jE(this.b,this.a,this.c,zz(t,10))},TWt.a=!1,TWt.c=!1,mZ(_1t,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),pDt(1545,1,e1t,Ql),TWt.pf=function(t,e){fGt(zz(t,37),e)},mZ(_1t,"LabelDummyInserter",1545),pDt(1546,1,UVt,Vn),TWt.Lb=function(t){return UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),GCe))},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),GCe))},mZ(_1t,"LabelDummyInserter/1",1546),pDt(1547,1,e1t,Yn),TWt.pf=function(t,e){SHt(zz(t,37),e)},mZ(_1t,"LabelDummyRemover",1547),pDt(1548,1,FKt,Qn),TWt.Mb=function(t){return Hv(AB(vEt(zz(t,70),(HZt(),Xpe))))},mZ(_1t,"LabelDummyRemover/lambda$0$Type",1548),pDt(1359,1,e1t,Jl),TWt.pf=function(t,e){EUt(this,zz(t,37),e)},TWt.a=null,mZ(_1t,"LabelDummySwitcher",1359),pDt(286,1,{286:1},oRt),TWt.c=0,TWt.d=null,TWt.f=0,mZ(_1t,"LabelDummySwitcher/LabelDummyInfo",286),pDt(1360,1,{},Jn),TWt.Kb=function(t){return Mrt(),new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"LabelDummySwitcher/lambda$0$Type",1360),pDt(1361,1,FKt,ti),TWt.Mb=function(t){return Mrt(),zz(t,10).k==(cTt(),Tse)},mZ(_1t,"LabelDummySwitcher/lambda$1$Type",1361),pDt(1362,1,{},lp),TWt.Kb=function(t){return ZB(this.a,zz(t,10))},mZ(_1t,"LabelDummySwitcher/lambda$2$Type",1362),pDt(1363,1,dKt,hp),TWt.td=function(t){VZ(this.a,zz(t,286))},mZ(_1t,"LabelDummySwitcher/lambda$3$Type",1363),pDt(1364,1,TVt,ei),TWt.ue=function(t,e){return LG(zz(t,286),zz(e,286))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"LabelDummySwitcher/lambda$4$Type",1364),pDt(791,1,e1t,ni),TWt.pf=function(t,e){V6(zz(t,37),e)},mZ(_1t,"LabelManagementProcessor",791),pDt(1549,1,e1t,ii),TWt.pf=function(t,e){PPt(zz(t,37),e)},mZ(_1t,"LabelSideSelector",1549),pDt(1550,1,FKt,ri),TWt.Mb=function(t){return Hv(AB(vEt(zz(t,70),(HZt(),Xpe))))},mZ(_1t,"LabelSideSelector/lambda$0$Type",1550),pDt(1558,1,e1t,ai),TWt.pf=function(t,e){Azt(zz(t,37),e)},mZ(_1t,"LayerConstraintPostprocessor",1558),pDt(1559,1,e1t,eh),TWt.pf=function(t,e){aOt(zz(t,37),e)},mZ(_1t,"LayerConstraintPreprocessor",1559),pDt(360,22,{3:1,35:1,22:1,360:1},eC);var cue,uue,lue,hue,fue,due,gue,pue,bue,wue=qnt(_1t,"LayerConstraintPreprocessor/HiddenNodeConnections",360,Zte,n3,Gj);pDt(1560,1,e1t,oi),TWt.pf=function(t,e){AHt(zz(t,37),e)},mZ(_1t,"LayerSizeAndGraphHeightCalculator",1560),pDt(1561,1,e1t,si),TWt.pf=function(t,e){OLt(zz(t,37),e)},mZ(_1t,"LongEdgeJoiner",1561),pDt(1562,1,e1t,ci),TWt.pf=function(t,e){Kqt(zz(t,37),e)},mZ(_1t,"LongEdgeSplitter",1562),pDt(1563,1,e1t,ui),TWt.pf=function(t,e){SUt(this,zz(t,37),e)},TWt.d=0,TWt.e=0,TWt.i=0,TWt.j=0,TWt.k=0,TWt.n=0,mZ(_1t,"NodePromotion",1563),pDt(1564,1,{},li),TWt.Kb=function(t){return zz(t,46),lN(),!0},TWt.Fb=function(t){return this===t},mZ(_1t,"NodePromotion/lambda$0$Type",1564),pDt(1565,1,{},cp),TWt.Kb=function(t){return oK(this.a,zz(t,46))},TWt.Fb=function(t){return this===t},TWt.a=0,mZ(_1t,"NodePromotion/lambda$1$Type",1565),pDt(1566,1,{},up),TWt.Kb=function(t){return sK(this.a,zz(t,46))},TWt.Fb=function(t){return this===t},TWt.a=0,mZ(_1t,"NodePromotion/lambda$2$Type",1566),pDt(1567,1,e1t,hi),TWt.pf=function(t,e){WYt(zz(t,37),e)},mZ(_1t,"NorthSouthPortPostprocessor",1567),pDt(1568,1,e1t,fi),TWt.pf=function(t,e){TYt(zz(t,37),e)},mZ(_1t,"NorthSouthPortPreprocessor",1568),pDt(1569,1,TVt,di),TWt.ue=function(t,e){return tst(zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"NorthSouthPortPreprocessor/lambda$0$Type",1569),pDt(1570,1,e1t,gi),TWt.pf=function(t,e){Ljt(zz(t,37),e)},mZ(_1t,"PartitionMidprocessor",1570),pDt(1571,1,FKt,pi),TWt.Mb=function(t){return LP(zz(t,10),(HZt(),Wbe))},mZ(_1t,"PartitionMidprocessor/lambda$0$Type",1571),pDt(1572,1,dKt,fp),TWt.td=function(t){OX(this.a,zz(t,10))},mZ(_1t,"PartitionMidprocessor/lambda$1$Type",1572),pDt(1573,1,e1t,bi),TWt.pf=function(t,e){pNt(zz(t,37),e)},mZ(_1t,"PartitionPostprocessor",1573),pDt(1574,1,e1t,wi),TWt.pf=function(t,e){PMt(zz(t,37),e)},mZ(_1t,"PartitionPreprocessor",1574),pDt(1575,1,FKt,mi),TWt.Mb=function(t){return LP(zz(t,10),(HZt(),Wbe))},mZ(_1t,"PartitionPreprocessor/lambda$0$Type",1575),pDt(1576,1,{},yi),TWt.Kb=function(t){return new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(_1t,"PartitionPreprocessor/lambda$1$Type",1576),pDt(1577,1,FKt,vi),TWt.Mb=function(t){return Nbt(zz(t,17))},mZ(_1t,"PartitionPreprocessor/lambda$2$Type",1577),pDt(1578,1,dKt,xi),TWt.td=function(t){Rst(zz(t,17))},mZ(_1t,"PartitionPreprocessor/lambda$3$Type",1578),pDt(1579,1,e1t,ah),TWt.pf=function(t,e){cjt(zz(t,37),e)},mZ(_1t,"PortListSorter",1579),pDt(1580,1,{},ki),TWt.Kb=function(t){return Yut(),zz(t,11).e},mZ(_1t,"PortListSorter/lambda$0$Type",1580),pDt(1581,1,{},_i),TWt.Kb=function(t){return Yut(),zz(t,11).g},mZ(_1t,"PortListSorter/lambda$1$Type",1581),pDt(1582,1,TVt,Ai),TWt.ue=function(t,e){return A4(zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"PortListSorter/lambda$2$Type",1582),pDt(1583,1,TVt,Ei),TWt.ue=function(t,e){return Dvt(zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"PortListSorter/lambda$3$Type",1583),pDt(1584,1,TVt,Ti),TWt.ue=function(t,e){return e$t(zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"PortListSorter/lambda$4$Type",1584),pDt(1585,1,e1t,Ci),TWt.pf=function(t,e){KDt(zz(t,37),e)},mZ(_1t,"PortSideProcessor",1585),pDt(1586,1,e1t,Si),TWt.pf=function(t,e){MFt(zz(t,37),e)},mZ(_1t,"ReversedEdgeRestorer",1586),pDt(1591,1,e1t,oy),TWt.pf=function(t,e){Qyt(this,zz(t,37),e)},mZ(_1t,"SelfLoopPortRestorer",1591),pDt(1592,1,{},Ii),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"SelfLoopPortRestorer/lambda$0$Type",1592),pDt(1593,1,FKt,Mi),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Sse)},mZ(_1t,"SelfLoopPortRestorer/lambda$1$Type",1593),pDt(1594,1,FKt,Di),TWt.Mb=function(t){return LP(zz(t,10),(hWt(),Mfe))},mZ(_1t,"SelfLoopPortRestorer/lambda$2$Type",1594),pDt(1595,1,{},Oi),TWt.Kb=function(t){return zz(vEt(zz(t,10),(hWt(),Mfe)),403)},mZ(_1t,"SelfLoopPortRestorer/lambda$3$Type",1595),pDt(1596,1,dKt,dp),TWt.td=function(t){CTt(this.a,zz(t,403))},mZ(_1t,"SelfLoopPortRestorer/lambda$4$Type",1596),pDt(794,1,dKt,Li),TWt.td=function(t){eCt(zz(t,101))},mZ(_1t,"SelfLoopPortRestorer/lambda$5$Type",794),pDt(1597,1,e1t,Ni),TWt.pf=function(t,e){Nwt(zz(t,37),e)},mZ(_1t,"SelfLoopPostProcessor",1597),pDt(1598,1,{},Pi),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"SelfLoopPostProcessor/lambda$0$Type",1598),pDt(1599,1,FKt,Bi),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Sse)},mZ(_1t,"SelfLoopPostProcessor/lambda$1$Type",1599),pDt(1600,1,FKt,Fi),TWt.Mb=function(t){return LP(zz(t,10),(hWt(),Mfe))},mZ(_1t,"SelfLoopPostProcessor/lambda$2$Type",1600),pDt(1601,1,dKt,Ri),TWt.td=function(t){Nkt(zz(t,10))},mZ(_1t,"SelfLoopPostProcessor/lambda$3$Type",1601),pDt(1602,1,{},ji),TWt.Kb=function(t){return new FH(null,new g1(zz(t,101).f,1))},mZ(_1t,"SelfLoopPostProcessor/lambda$4$Type",1602),pDt(1603,1,dKt,gp),TWt.td=function(t){o3(this.a,zz(t,409))},mZ(_1t,"SelfLoopPostProcessor/lambda$5$Type",1603),pDt(1604,1,FKt,$i),TWt.Mb=function(t){return!!zz(t,101).i},mZ(_1t,"SelfLoopPostProcessor/lambda$6$Type",1604),pDt(1605,1,dKt,pp),TWt.td=function(t){Av(this.a,zz(t,101))},mZ(_1t,"SelfLoopPostProcessor/lambda$7$Type",1605),pDt(1587,1,e1t,zi),TWt.pf=function(t,e){tLt(zz(t,37),e)},mZ(_1t,"SelfLoopPreProcessor",1587),pDt(1588,1,{},qi),TWt.Kb=function(t){return new FH(null,new g1(zz(t,101).f,1))},mZ(_1t,"SelfLoopPreProcessor/lambda$0$Type",1588),pDt(1589,1,{},Hi),TWt.Kb=function(t){return zz(t,409).a},mZ(_1t,"SelfLoopPreProcessor/lambda$1$Type",1589),pDt(1590,1,dKt,Ui),TWt.td=function(t){HO(zz(t,17))},mZ(_1t,"SelfLoopPreProcessor/lambda$2$Type",1590),pDt(1606,1,e1t,PF),TWt.pf=function(t,e){lTt(this,zz(t,37),e)},mZ(_1t,"SelfLoopRouter",1606),pDt(1607,1,{},Gi),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"SelfLoopRouter/lambda$0$Type",1607),pDt(1608,1,FKt,Yi),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Sse)},mZ(_1t,"SelfLoopRouter/lambda$1$Type",1608),pDt(1609,1,FKt,Zi),TWt.Mb=function(t){return LP(zz(t,10),(hWt(),Mfe))},mZ(_1t,"SelfLoopRouter/lambda$2$Type",1609),pDt(1610,1,{},Wi),TWt.Kb=function(t){return zz(vEt(zz(t,10),(hWt(),Mfe)),403)},mZ(_1t,"SelfLoopRouter/lambda$3$Type",1610),pDt(1611,1,dKt,nC),TWt.td=function(t){XK(this.a,this.b,zz(t,403))},mZ(_1t,"SelfLoopRouter/lambda$4$Type",1611),pDt(1612,1,e1t,Ki),TWt.pf=function(t,e){fPt(zz(t,37),e)},mZ(_1t,"SemiInteractiveCrossMinProcessor",1612),pDt(1613,1,FKt,Xi),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Sse)},mZ(_1t,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),pDt(1614,1,FKt,Vi),TWt.Mb=function(t){return UH(zz(t,10))._b((HZt(),uwe))},mZ(_1t,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),pDt(1615,1,TVt,Qi),TWt.ue=function(t,e){return brt(zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),pDt(1616,1,{},Ji),TWt.Ce=function(t,e){return ZX(zz(t,10),zz(e,10))},mZ(_1t,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),pDt(1618,1,e1t,tr),TWt.pf=function(t,e){Tzt(zz(t,37),e)},mZ(_1t,"SortByInputModelProcessor",1618),pDt(1619,1,FKt,er),TWt.Mb=function(t){return 0!=zz(t,11).g.c.length},mZ(_1t,"SortByInputModelProcessor/lambda$0$Type",1619),pDt(1620,1,dKt,bp),TWt.td=function(t){fCt(this.a,zz(t,11))},mZ(_1t,"SortByInputModelProcessor/lambda$1$Type",1620),pDt(1693,803,{},wrt),TWt.Me=function(t){var e,n,i,r;switch(this.c=t,this.a.g){case 2:e=new Nw,QA(DK(new FH(null,new g1(this.c.a.b,16)),new pr),new sC(this,e)),mSt(this,new rr),Det(e,new ar),e.c=P8(Ote,HWt,1,0,5,1),QA(DK(new FH(null,new g1(this.c.a.b,16)),new or),new mp(e)),mSt(this,new sr),Det(e,new cr),e.c=P8(Ote,HWt,1,0,5,1),n=kO(rat(LK(new FH(null,new g1(this.c.a.b,16)),new yp(this))),new ur),QA(new FH(null,new g1(this.c.a.a,16)),new rC(n,e)),mSt(this,new hr),Det(e,new nr),e.c=P8(Ote,HWt,1,0,5,1);break;case 3:i=new Nw,mSt(this,new ir),r=kO(rat(LK(new FH(null,new g1(this.c.a.b,16)),new wp(this))),new lr),QA(DK(new FH(null,new g1(this.c.a.b,16)),new fr),new oC(r,i)),mSt(this,new dr),Det(i,new gr),i.c=P8(Ote,HWt,1,0,5,1);break;default:throw qw(new xm)}},TWt.b=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation",1693),pDt(1694,1,UVt,ir),TWt.Lb=function(t){return aL(zz(t,57).g,145)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return aL(zz(t,57).g,145)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),pDt(1695,1,{},wp),TWt.Fe=function(t){return GSt(this.a,zz(t,57))},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),pDt(1703,1,RKt,iC),TWt.Vd=function(){zxt(this.a,this.b,-1)},TWt.b=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),pDt(1705,1,UVt,rr),TWt.Lb=function(t){return aL(zz(t,57).g,145)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return aL(zz(t,57).g,145)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),pDt(1706,1,dKt,ar),TWt.td=function(t){zz(t,365).Vd()},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),pDt(1707,1,FKt,or),TWt.Mb=function(t){return aL(zz(t,57).g,10)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),pDt(1709,1,dKt,mp),TWt.td=function(t){Adt(this.a,zz(t,57))},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),pDt(1708,1,RKt,fC),TWt.Vd=function(){zxt(this.b,this.a,-1)},TWt.a=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),pDt(1710,1,UVt,sr),TWt.Lb=function(t){return aL(zz(t,57).g,10)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return aL(zz(t,57).g,10)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),pDt(1711,1,dKt,cr),TWt.td=function(t){zz(t,365).Vd()},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),pDt(1712,1,{},yp),TWt.Fe=function(t){return YSt(this.a,zz(t,57))},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),pDt(1713,1,{},ur),TWt.De=function(){return 0},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),pDt(1696,1,{},lr),TWt.De=function(){return 0},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),pDt(1715,1,dKt,rC),TWt.td=function(t){qU(this.a,this.b,zz(t,307))},TWt.a=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),pDt(1714,1,RKt,aC),TWt.Vd=function(){XDt(this.a,this.b,-1)},TWt.b=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),pDt(1716,1,UVt,hr),TWt.Lb=function(t){return zz(t,57),!0},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return zz(t,57),!0},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),pDt(1717,1,dKt,nr),TWt.td=function(t){zz(t,365).Vd()},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),pDt(1697,1,FKt,fr),TWt.Mb=function(t){return aL(zz(t,57).g,10)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),pDt(1699,1,dKt,oC),TWt.td=function(t){HU(this.a,this.b,zz(t,57))},TWt.a=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),pDt(1698,1,RKt,dC),TWt.Vd=function(){zxt(this.b,this.a,-1)},TWt.a=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),pDt(1700,1,UVt,dr),TWt.Lb=function(t){return zz(t,57),!0},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return zz(t,57),!0},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),pDt(1701,1,dKt,gr),TWt.td=function(t){zz(t,365).Vd()},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),pDt(1702,1,FKt,pr),TWt.Mb=function(t){return aL(zz(t,57).g,145)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),pDt(1704,1,dKt,sC),TWt.td=function(t){Eet(this.a,this.b,zz(t,57))},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),pDt(1521,1,e1t,cP),TWt.pf=function(t,e){oHt(this,zz(t,37),e)},mZ(O1t,"HorizontalGraphCompactor",1521),pDt(1522,1,{},vp),TWt.Oe=function(t,e){var n,i;return J9(t,e)?0:(n=h2(t),i=h2(e),n&&n.k==(cTt(),Ese)||i&&i.k==(cTt(),Ese)?0:YN(zz(vEt(this.a.a,(hWt(),Dfe)),304),n?n.k:(cTt(),Cse),i?i.k:(cTt(),Cse)))},TWt.Pe=function(t,e){var n,i;return J9(t,e)?1:(n=h2(t),i=h2(e),ZN(zz(vEt(this.a.a,(hWt(),Dfe)),304),n?n.k:(cTt(),Cse),i?i.k:(cTt(),Cse)))},mZ(O1t,"HorizontalGraphCompactor/1",1522),pDt(1523,1,{},br),TWt.Ne=function(t,e){return EE(),0==t.a.i},mZ(O1t,"HorizontalGraphCompactor/lambda$0$Type",1523),pDt(1524,1,{},xp),TWt.Ne=function(t,e){return jX(this.a,t,e)},mZ(O1t,"HorizontalGraphCompactor/lambda$1$Type",1524),pDt(1664,1,{},I9),mZ(O1t,"LGraphToCGraphTransformer",1664),pDt(1672,1,FKt,wr),TWt.Mb=function(t){return null!=t},mZ(O1t,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),pDt(1665,1,{},mr),TWt.Kb=function(t){return Uj(),qdt(vEt(zz(zz(t,57).g,10),(hWt(),pfe)))},mZ(O1t,"LGraphToCGraphTransformer/lambda$0$Type",1665),pDt(1666,1,{},yr),TWt.Kb=function(t){return Uj(),vht(zz(zz(t,57).g,145))},mZ(O1t,"LGraphToCGraphTransformer/lambda$1$Type",1666),pDt(1675,1,FKt,vr),TWt.Mb=function(t){return Uj(),aL(zz(t,57).g,10)},mZ(O1t,"LGraphToCGraphTransformer/lambda$10$Type",1675),pDt(1676,1,dKt,xr),TWt.td=function(t){RX(zz(t,57))},mZ(O1t,"LGraphToCGraphTransformer/lambda$11$Type",1676),pDt(1677,1,FKt,kr),TWt.Mb=function(t){return Uj(),aL(zz(t,57).g,145)},mZ(O1t,"LGraphToCGraphTransformer/lambda$12$Type",1677),pDt(1681,1,dKt,_r),TWt.td=function(t){yht(zz(t,57))},mZ(O1t,"LGraphToCGraphTransformer/lambda$13$Type",1681),pDt(1678,1,dKt,kp),TWt.td=function(t){sD(this.a,zz(t,8))},TWt.a=0,mZ(O1t,"LGraphToCGraphTransformer/lambda$14$Type",1678),pDt(1679,1,dKt,_p),TWt.td=function(t){uD(this.a,zz(t,110))},TWt.a=0,mZ(O1t,"LGraphToCGraphTransformer/lambda$15$Type",1679),pDt(1680,1,dKt,Ap),TWt.td=function(t){cD(this.a,zz(t,8))},TWt.a=0,mZ(O1t,"LGraphToCGraphTransformer/lambda$16$Type",1680),pDt(1682,1,{},Ar),TWt.Kb=function(t){return Uj(),new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(O1t,"LGraphToCGraphTransformer/lambda$17$Type",1682),pDt(1683,1,FKt,Er),TWt.Mb=function(t){return Uj(),d5(zz(t,17))},mZ(O1t,"LGraphToCGraphTransformer/lambda$18$Type",1683),pDt(1684,1,dKt,Ep),TWt.td=function(t){Ttt(this.a,zz(t,17))},mZ(O1t,"LGraphToCGraphTransformer/lambda$19$Type",1684),pDt(1668,1,dKt,Tp),TWt.td=function(t){f0(this.a,zz(t,145))},mZ(O1t,"LGraphToCGraphTransformer/lambda$2$Type",1668),pDt(1685,1,{},Tr),TWt.Kb=function(t){return Uj(),new FH(null,new g1(zz(t,29).a,16))},mZ(O1t,"LGraphToCGraphTransformer/lambda$20$Type",1685),pDt(1686,1,{},Cr),TWt.Kb=function(t){return Uj(),new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(O1t,"LGraphToCGraphTransformer/lambda$21$Type",1686),pDt(1687,1,{},Sr),TWt.Kb=function(t){return Uj(),zz(vEt(zz(t,17),(hWt(),Nfe)),15)},mZ(O1t,"LGraphToCGraphTransformer/lambda$22$Type",1687),pDt(1688,1,FKt,Ir),TWt.Mb=function(t){return eP(zz(t,15))},mZ(O1t,"LGraphToCGraphTransformer/lambda$23$Type",1688),pDt(1689,1,dKt,Cp),TWt.td=function(t){SSt(this.a,zz(t,15))},mZ(O1t,"LGraphToCGraphTransformer/lambda$24$Type",1689),pDt(1667,1,dKt,cC),TWt.td=function(t){q3(this.a,this.b,zz(t,145))},mZ(O1t,"LGraphToCGraphTransformer/lambda$3$Type",1667),pDt(1669,1,{},Mr),TWt.Kb=function(t){return Uj(),new FH(null,new g1(zz(t,29).a,16))},mZ(O1t,"LGraphToCGraphTransformer/lambda$4$Type",1669),pDt(1670,1,{},Dr),TWt.Kb=function(t){return Uj(),new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(O1t,"LGraphToCGraphTransformer/lambda$5$Type",1670),pDt(1671,1,{},Or),TWt.Kb=function(t){return Uj(),zz(vEt(zz(t,17),(hWt(),Nfe)),15)},mZ(O1t,"LGraphToCGraphTransformer/lambda$6$Type",1671),pDt(1673,1,dKt,Sp),TWt.td=function(t){jIt(this.a,zz(t,15))},mZ(O1t,"LGraphToCGraphTransformer/lambda$8$Type",1673),pDt(1674,1,dKt,uC),TWt.td=function(t){PO(this.a,this.b,zz(t,145))},mZ(O1t,"LGraphToCGraphTransformer/lambda$9$Type",1674),pDt(1663,1,{},Lr),TWt.Le=function(t){var e,n,i,r,a;for(this.a=t,this.d=new $m,this.c=P8(Hie,HWt,121,this.a.a.a.c.length,0,1),this.b=0,n=new Wd(this.a.a.a);n.a<n.c.c.length;)(e=zz(t0(n),307)).d=this.b,a=DN(cE(new Hm,e),this.d),this.c[this.b]=a,++this.b;for(JUt(this),OYt(this),tNt(this),KRt(zj(this.d),new Zy),r=new Wd(this.a.a.b);r.a<r.c.c.length;)(i=zz(t0(r),57)).d.c=this.c[i.a.d].e+i.b.a},TWt.b=0,mZ(O1t,"NetworkSimplexCompaction",1663),pDt(145,1,{35:1,145:1},Szt),TWt.wd=function(t){return Ltt(this,zz(t,145))},TWt.Ib=function(){return vht(this)},mZ(O1t,"VerticalSegment",145),pDt(827,1,{},Y_t),TWt.c=0,TWt.e=0,TWt.i=0,mZ(L1t,"BetweenLayerEdgeTwoNodeCrossingsCounter",827),pDt(663,1,{663:1},kat),TWt.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},TWt.b=0,TWt.c=0,TWt.f=0,mZ(L1t,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",663),pDt(287,1,{35:1,287:1},UP),TWt.wd=function(t){return oH(this,zz(t,287))},TWt.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},TWt.a=0,TWt.b=0,TWt.c=0,mZ(L1t,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",287),pDt(1929,1,{},tCt),TWt.b=0,TWt.e=!1,mZ(L1t,"CrossingMatrixFiller",1929);var mue,yue,vue,xue,kue=dH(N1t,"IInitializable");pDt(1804,1,P1t,mC),TWt.Nf=function(t,e,n,i,r,a){},TWt.Pf=function(t,e,n){},TWt.Lf=function(){return this.c!=(uit(),Dye)},TWt.Mf=function(){this.e=P8(DNe,hXt,25,this.d,15,1)},TWt.Of=function(t,e){e[t][0].c.p=t},TWt.Qf=function(t,e,n,i){++this.d},TWt.Rf=function(){return!0},TWt.Sf=function(t,e,n,i){return Qlt(this,t,e,n),J4(this,e)},TWt.Tf=function(t,e){var n;return Qlt(this,t,n=lk(e,t.length),e),gct(this,n)},TWt.d=0,mZ(L1t,"GreedySwitchHeuristic",1804),pDt(1930,1,{},fU),TWt.b=0,TWt.d=0,mZ(L1t,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",1930),pDt(1917,1,{},cFt),TWt.a=!1,mZ(L1t,"SwitchDecider",1917),pDt(101,1,{101:1},mCt),TWt.a=null,TWt.c=null,TWt.i=null,mZ(B1t,"SelfHyperLoop",101),pDt(1916,1,{},iwt),TWt.c=0,TWt.e=0,mZ(B1t,"SelfHyperLoopLabels",1916),pDt(411,22,{3:1,35:1,22:1,411:1},yC);var _ue,Aue,Eue,Tue,Cue,Sue,Iue=qnt(B1t,"SelfHyperLoopLabels/Alignment",411,Zte,r3,Yj);pDt(409,1,{409:1},k6),mZ(B1t,"SelfLoopEdge",409),pDt(403,1,{403:1},Dbt),TWt.a=!1,mZ(B1t,"SelfLoopHolder",403),pDt(1724,1,FKt,Hr),TWt.Mb=function(t){return d5(zz(t,17))},mZ(B1t,"SelfLoopHolder/lambda$0$Type",1724),pDt(113,1,{113:1},rwt),TWt.a=!1,TWt.c=!1,mZ(B1t,"SelfLoopPort",113),pDt(1792,1,FKt,Ur),TWt.Mb=function(t){return d5(zz(t,17))},mZ(B1t,"SelfLoopPort/lambda$0$Type",1792),pDt(363,22,{3:1,35:1,22:1,363:1},vC);var Mue,Due,Oue,Lue,Nue,Pue,Bue,Fue,Rue=qnt(B1t,"SelfLoopType",363,Zte,P5,Vj);pDt(1732,1,{},oh),mZ(F1t,"PortRestorer",1732),pDt(361,22,{3:1,35:1,22:1,361:1},xC);var jue,$ue,zue,que,Hue,Uue,Gue,Yue,Zue,Wue=qnt(F1t,"PortRestorer/PortSideArea",361,Zte,C1,Qj);pDt(1733,1,{},Wr),TWt.Kb=function(t){return $Et(),zz(t,15).Oc()},mZ(F1t,"PortRestorer/lambda$0$Type",1733),pDt(1734,1,dKt,Kr),TWt.td=function(t){$Et(),zz(t,113).c=!1},mZ(F1t,"PortRestorer/lambda$1$Type",1734),pDt(1743,1,FKt,Xr),TWt.Mb=function(t){return $Et(),zz(t,11).j==(kYt(),SIe)},mZ(F1t,"PortRestorer/lambda$10$Type",1743),pDt(1744,1,{},Vr),TWt.Kb=function(t){return $Et(),zz(t,113).d},mZ(F1t,"PortRestorer/lambda$11$Type",1744),pDt(1745,1,dKt,Ip),TWt.td=function(t){Nk(this.a,zz(t,11))},mZ(F1t,"PortRestorer/lambda$12$Type",1745),pDt(1735,1,dKt,Mp),TWt.td=function(t){DP(this.a,zz(t,101))},mZ(F1t,"PortRestorer/lambda$2$Type",1735),pDt(1736,1,TVt,Qr),TWt.ue=function(t,e){return unt(zz(t,113),zz(e,113))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(F1t,"PortRestorer/lambda$3$Type",1736),pDt(1737,1,FKt,Jr),TWt.Mb=function(t){return $Et(),zz(t,113).c},mZ(F1t,"PortRestorer/lambda$4$Type",1737),pDt(1738,1,FKt,Pr),TWt.Mb=function(t){return Oat(zz(t,11))},mZ(F1t,"PortRestorer/lambda$5$Type",1738),pDt(1739,1,FKt,Nr),TWt.Mb=function(t){return $Et(),zz(t,11).j==(kYt(),uIe)},mZ(F1t,"PortRestorer/lambda$6$Type",1739),pDt(1740,1,FKt,Br),TWt.Mb=function(t){return $Et(),zz(t,11).j==(kYt(),cIe)},mZ(F1t,"PortRestorer/lambda$7$Type",1740),pDt(1741,1,FKt,Fr),TWt.Mb=function(t){return a3(zz(t,11))},mZ(F1t,"PortRestorer/lambda$8$Type",1741),pDt(1742,1,FKt,Rr),TWt.Mb=function(t){return $Et(),zz(t,11).j==(kYt(),TIe)},mZ(F1t,"PortRestorer/lambda$9$Type",1742),pDt(270,22,{3:1,35:1,22:1,270:1},WK);var Kue,Xue,Vue,Que,Jue,tle,ele,nle,ile=qnt(F1t,"PortSideAssigner/Target",270,Zte,zet,Zj);pDt(1725,1,{},jr),TWt.Kb=function(t){return DK(new FH(null,new g1(zz(t,101).j,16)),new Zr)},mZ(F1t,"PortSideAssigner/lambda$1$Type",1725),pDt(1726,1,{},$r),TWt.Kb=function(t){return zz(t,113).d},mZ(F1t,"PortSideAssigner/lambda$2$Type",1726),pDt(1727,1,dKt,zr),TWt.td=function(t){USt(zz(t,11),(kYt(),uIe))},mZ(F1t,"PortSideAssigner/lambda$3$Type",1727),pDt(1728,1,{},qr),TWt.Kb=function(t){return zz(t,113).d},mZ(F1t,"PortSideAssigner/lambda$4$Type",1728),pDt(1729,1,dKt,Dp),TWt.td=function(t){em(this.a,zz(t,11))},mZ(F1t,"PortSideAssigner/lambda$5$Type",1729),pDt(1730,1,TVt,Gr),TWt.ue=function(t,e){return EW(zz(t,101),zz(e,101))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(F1t,"PortSideAssigner/lambda$6$Type",1730),pDt(1731,1,TVt,Yr),TWt.ue=function(t,e){return cq(zz(t,113),zz(e,113))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(F1t,"PortSideAssigner/lambda$7$Type",1731),pDt(805,1,FKt,Zr),TWt.Mb=function(t){return zz(t,113).c},mZ(F1t,"PortSideAssigner/lambda$8$Type",805),pDt(2009,1,{}),mZ(R1t,"AbstractSelfLoopRouter",2009),pDt(1750,1,TVt,ta),TWt.ue=function(t,e){return IR(zz(t,101),zz(e,101))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(R1t,gQt,1750),pDt(1751,1,TVt,ea),TWt.ue=function(t,e){return SR(zz(t,101),zz(e,101))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(R1t,pQt,1751),pDt(1793,2009,{},na),TWt.Uf=function(t,e,n){return n},mZ(R1t,"OrthogonalSelfLoopRouter",1793),pDt(1795,1,dKt,gC),TWt.td=function(t){mbt(this.b,this.a,zz(t,8))},mZ(R1t,"OrthogonalSelfLoopRouter/lambda$0$Type",1795),pDt(1794,1793,{},ia),TWt.Uf=function(t,e,n){var i,r;return RP(n,0,YF(zO((i=t.c.d).n),i.a)),Bq(n,YF(zO((r=t.d.d).n),r.a)),Ajt(n)},mZ(R1t,"PolylineSelfLoopRouter",1794),pDt(1746,1,{},th),TWt.a=null,mZ(R1t,"RoutingDirector",1746),pDt(1747,1,TVt,ra),TWt.ue=function(t,e){return gq(zz(t,113),zz(e,113))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(R1t,"RoutingDirector/lambda$0$Type",1747),pDt(1748,1,{},aa),TWt.Kb=function(t){return TE(),zz(t,101).j},mZ(R1t,"RoutingDirector/lambda$1$Type",1748),pDt(1749,1,dKt,oa),TWt.td=function(t){TE(),zz(t,15).ad(Xue)},mZ(R1t,"RoutingDirector/lambda$2$Type",1749),pDt(1752,1,{},sa),mZ(R1t,"RoutingSlotAssigner",1752),pDt(1753,1,FKt,Op),TWt.Mb=function(t){return SS(this.a,zz(t,101))},mZ(R1t,"RoutingSlotAssigner/lambda$0$Type",1753),pDt(1754,1,TVt,Lp),TWt.ue=function(t,e){return YH(this.a,zz(t,101),zz(e,101))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(R1t,"RoutingSlotAssigner/lambda$1$Type",1754),pDt(1796,1793,{},ca),TWt.Uf=function(t,e,n){var i,r,a,o;return i=Uv(EB(wwt(t.b.g.b,(HZt(),kwe)))),eLt(t,e,n,o=new YP(Sst(Ux(CEe,1),lKt,8,0,[(a=t.c.d,YF(new gD(a.n),a.a))])),i),Bq(o,YF(new gD((r=t.d.d).n),r.a)),zmt(new uzt(o))},mZ(R1t,"SplineSelfLoopRouter",1796),pDt(578,1,TVt,Grt,xq),TWt.ue=function(t,e){return fZt(this,zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(j1t,"ModelOrderNodeComparator",578),pDt(1755,1,FKt,ua),TWt.Mb=function(t){return 0!=zz(t,11).e.c.length},mZ(j1t,"ModelOrderNodeComparator/lambda$0$Type",1755),pDt(1756,1,{},la),TWt.Kb=function(t){return zz(PH(zz(t,11).e,0),17).c},mZ(j1t,"ModelOrderNodeComparator/lambda$1$Type",1756),pDt(1757,1,FKt,ha),TWt.Mb=function(t){return 0!=zz(t,11).e.c.length},mZ(j1t,"ModelOrderNodeComparator/lambda$2$Type",1757),pDt(1758,1,{},fa),TWt.Kb=function(t){return zz(PH(zz(t,11).e,0),17).c},mZ(j1t,"ModelOrderNodeComparator/lambda$3$Type",1758),pDt(1759,1,FKt,da),TWt.Mb=function(t){return 0!=zz(t,11).e.c.length},mZ(j1t,"ModelOrderNodeComparator/lambda$4$Type",1759),pDt(806,1,TVt,M9,wC),TWt.ue=function(t,e){return NG(this,t,e)},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(j1t,"ModelOrderPortComparator",806),pDt(801,1,{},ga),TWt.Vf=function(t,e){var i,r,a,o;for(a=STt(e),i=new Nw,o=e.f/a,r=1;r<a;++r)Wz(i,rft(pU(fot(n.Math.round(r*o)))));return i},TWt.Wf=function(){return!1},mZ($1t,"ARDCutIndexHeuristic",801),pDt(1479,1,e1t,pa),TWt.pf=function(t,e){uRt(zz(t,37),e)},mZ($1t,"BreakingPointInserter",1479),pDt(305,1,{305:1},m3),TWt.Ib=function(){var t;return(t=new Sx).a+="BPInfo[",t.a+="\n\tstart=",sM(t,this.i),t.a+="\n\tend=",sM(t,this.a),t.a+="\n\tnodeStartEdge=",sM(t,this.e),t.a+="\n\tstartEndEdge=",sM(t,this.j),t.a+="\n\toriginalEdge=",sM(t,this.f),t.a+="\n\tstartInLayerDummy=",sM(t,this.k),t.a+="\n\tstartInLayerEdge=",sM(t,this.n),t.a+="\n\tendInLayerDummy=",sM(t,this.b),t.a+="\n\tendInLayerEdge=",sM(t,this.c),t.a},mZ($1t,"BreakingPointInserter/BPInfo",305),pDt(652,1,{652:1},qp),TWt.a=!1,TWt.b=0,TWt.c=0,mZ($1t,"BreakingPointInserter/Cut",652),pDt(1480,1,e1t,ba),TWt.pf=function(t,e){vLt(zz(t,37),e)},mZ($1t,"BreakingPointProcessor",1480),pDt(1481,1,FKt,wa),TWt.Mb=function(t){return Qtt(zz(t,10))},mZ($1t,"BreakingPointProcessor/0methodref$isEnd$Type",1481),pDt(1482,1,FKt,ma),TWt.Mb=function(t){return Jtt(zz(t,10))},mZ($1t,"BreakingPointProcessor/1methodref$isStart$Type",1482),pDt(1483,1,e1t,ya),TWt.pf=function(t,e){aNt(this,zz(t,37),e)},mZ($1t,"BreakingPointRemover",1483),pDt(1484,1,dKt,va),TWt.td=function(t){zz(t,128).k=!0},mZ($1t,"BreakingPointRemover/lambda$0$Type",1484),pDt(797,1,{},TDt),TWt.b=0,TWt.e=0,TWt.f=0,TWt.j=0,mZ($1t,"GraphStats",797),pDt(798,1,{},xa),TWt.Ce=function(t,e){return n.Math.max(Uv(EB(t)),Uv(EB(e)))},mZ($1t,"GraphStats/0methodref$max$Type",798),pDt(799,1,{},ka),TWt.Ce=function(t,e){return n.Math.max(Uv(EB(t)),Uv(EB(e)))},mZ($1t,"GraphStats/2methodref$max$Type",799),pDt(1660,1,{},_a),TWt.Ce=function(t,e){return mz(EB(t),EB(e))},mZ($1t,"GraphStats/lambda$1$Type",1660),pDt(1661,1,{},Np),TWt.Kb=function(t){return pwt(this.a,zz(t,29))},mZ($1t,"GraphStats/lambda$2$Type",1661),pDt(1662,1,{},Pp),TWt.Kb=function(t){return XLt(this.a,zz(t,29))},mZ($1t,"GraphStats/lambda$6$Type",1662),pDt(800,1,{},Aa),TWt.Vf=function(t,e){return zz(vEt(t,(HZt(),jwe)),15)||(TX(),TX(),lne)},TWt.Wf=function(){return!1},mZ($1t,"ICutIndexCalculator/ManualCutIndexCalculator",800),pDt(802,1,{},Ea),TWt.Vf=function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;for(null==e.n&&Fyt(e),x=e.n,null==e.d&&Fyt(e),u=e.d,(v=P8(PNe,UXt,25,x.length,15,1))[0]=x[0],m=x[0],l=1;l<x.length;l++)v[l]=v[l-1]+x[l],m+=x[l];for(a=STt(e)-1,s=zz(vEt(t,(HZt(),$we)),19).a,r=jXt,i=new Nw,d=n.Math.max(0,a-s);d<=n.Math.min(e.f-1,a+s);d++){if(b=m/(d+1),w=0,h=1,o=new Nw,y=jXt,f=0,c=0,p=u[0],0==d)y=m,null==e.g&&(e.g=Wrt(e,new ka)),c=Uv(e.g);else{for(;h<e.f;)v[h-1]-w>=b&&(Wz(o,rft(h)),y=n.Math.max(y,v[h-1]-f),c+=p,w+=v[h-1]-w,f=v[h-1],p=u[h]),p=n.Math.max(p,u[h]),++h;c+=p}(g=n.Math.min(1/y,1/e.b/c))>r&&(r=g,i=o)}return i},TWt.Wf=function(){return!1},mZ($1t,"MSDCutIndexHeuristic",802),pDt(1617,1,e1t,Ta),TWt.pf=function(t,e){gzt(zz(t,37),e)},mZ($1t,"SingleEdgeGraphWrapper",1617),pDt(227,22,{3:1,35:1,22:1,227:1},kC);var rle,ale,ole,sle=qnt(z1t,"CenterEdgeLabelPlacementStrategy",227,Zte,J8,Wj);pDt(422,22,{3:1,35:1,22:1,422:1},_C);var cle,ule,lle,hle,fle=qnt(z1t,"ConstraintCalculationStrategy",422,Zte,UV,Kj);pDt(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},AC),TWt.Kf=function(){return lIt(this)},TWt.Xf=function(){return lIt(this)};var dle,gle,ple,ble,wle=qnt(z1t,"CrossingMinimizationStrategy",314,Zte,A1,Xj);pDt(337,22,{3:1,35:1,22:1,337:1},EC);var mle,yle,vle,xle,kle,_le,Ale=qnt(z1t,"CuttingStrategy",337,Zte,E1,Jj);pDt(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},TC),TWt.Kf=function(){return RDt(this)},TWt.Xf=function(){return RDt(this)};var Ele,Tle,Cle,Sle=qnt(z1t,"CycleBreakingStrategy",335,Zte,L5,t$);pDt(419,22,{3:1,35:1,22:1,419:1},CC);var Ile,Mle,Dle,Ole,Lle=qnt(z1t,"DirectionCongruency",419,Zte,HV,e$);pDt(450,22,{3:1,35:1,22:1,450:1},SC);var Nle,Ple,Ble,Fle,Rle,jle,$le,zle=qnt(z1t,"EdgeConstraint",450,Zte,T1,n$);pDt(276,22,{3:1,35:1,22:1,276:1},IC);var qle,Hle,Ule,Gle=qnt(z1t,"EdgeLabelSideSelection",276,Zte,i7,i$);pDt(479,22,{3:1,35:1,22:1,479:1},MC);var Yle,Zle,Wle,Kle,Xle,Vle,Qle,Jle=qnt(z1t,"EdgeStraighteningStrategy",479,Zte,qV,r$);pDt(274,22,{3:1,35:1,22:1,274:1},DC);var the,ehe,nhe,ihe,rhe,ahe,ohe,she=qnt(z1t,"FixedAlignment",274,Zte,e7,a$);pDt(275,22,{3:1,35:1,22:1,275:1},OC);var che,uhe,lhe,hhe,fhe,dhe,ghe,phe,bhe,whe,mhe,yhe=qnt(z1t,"GraphCompactionStrategy",275,Zte,t7,o$);pDt(256,22,{3:1,35:1,22:1,256:1},LC);var vhe,xhe,khe,_he,Ahe=qnt(z1t,"GraphProperties",256,Zte,gat,s$);pDt(292,22,{3:1,35:1,22:1,292:1},NC);var Ehe,The,Che,She,Ihe=qnt(z1t,"GreedySwitchType",292,Zte,I1,c$);pDt(303,22,{3:1,35:1,22:1,303:1},PC);var Mhe,Dhe,Ohe,Lhe=qnt(z1t,"InLayerConstraint",303,Zte,S1,u$);pDt(420,22,{3:1,35:1,22:1,420:1},BC);var Nhe,Phe,Bhe,Fhe,Rhe,jhe,$he,zhe,qhe,Hhe,Uhe,Ghe,Yhe,Zhe,Whe,Khe,Xhe,Vhe,Qhe,Jhe,tfe,efe,nfe,ife,rfe,afe,ofe,sfe,cfe,ufe,lfe,hfe,ffe,dfe,gfe,pfe,bfe,wfe,mfe,yfe,vfe,xfe,kfe,_fe,Afe,Efe,Tfe,Cfe,Sfe,Ife,Mfe,Dfe,Ofe,Lfe,Nfe,Pfe,Bfe,Ffe,Rfe,jfe,$fe,zfe,qfe,Hfe,Ufe=qnt(z1t,"InteractiveReferencePoint",420,Zte,GV,l$);pDt(163,22,{3:1,35:1,22:1,163:1},zC);var Gfe,Yfe,Zfe,Wfe,Kfe,Xfe,Vfe,Qfe,Jfe,tde,ede,nde,ide,rde,ade,ode,sde,cde,ude,lde,hde,fde,dde,gde,pde,bde,wde,mde,yde,vde,xde,kde,_de,Ade,Ede,Tde,Cde,Sde,Ide,Mde,Dde,Ode,Lde,Nde,Pde,Bde,Fde,Rde,jde,$de,zde,qde,Hde,Ude,Gde,Yde,Zde,Wde,Kde,Xde,Vde,Qde,Jde,tge,ege,nge,ige,rge,age,oge,sge,cge,uge,lge,hge,fge,dge,gge,pge,bge,wge,mge,yge,vge,xge,kge,_ge,Age,Ege,Tge,Cge,Sge,Ige,Mge,Dge,Oge,Lge,Nge,Pge,Bge,Fge,Rge,jge,$ge,zge,qge,Hge,Uge,Gge,Yge,Zge,Wge,Kge,Xge,Vge,Qge,Jge,tpe,epe,npe,ipe,rpe,ape,ope,spe,cpe,upe,lpe,hpe,fpe,dpe,gpe,ppe,bpe,wpe,mpe,ype,vpe,xpe,kpe,_pe,Ape,Epe,Tpe,Cpe,Spe,Ipe,Mpe,Dpe,Ope,Lpe,Npe,Ppe,Bpe,Fpe,Rpe,jpe,$pe,zpe,qpe,Hpe,Upe,Gpe,Ype,Zpe,Wpe,Kpe,Xpe,Vpe,Qpe,Jpe,tbe,ebe,nbe,ibe,rbe,abe,obe,sbe,cbe,ube,lbe,hbe,fbe,dbe,gbe,pbe,bbe,wbe,mbe,ybe,vbe,xbe,kbe,_be,Abe,Ebe,Tbe,Cbe,Sbe,Ibe,Mbe,Dbe,Obe,Lbe,Nbe,Pbe,Bbe,Fbe,Rbe,jbe,$be,zbe,qbe,Hbe,Ube,Gbe,Ybe,Zbe,Wbe,Kbe,Xbe,Vbe,Qbe,Jbe,twe,ewe,nwe,iwe,rwe,awe,owe,swe,cwe,uwe,lwe,hwe,fwe,dwe,gwe,pwe,bwe,wwe,mwe,ywe,vwe,xwe,kwe,_we,Awe,Ewe,Twe,Cwe,Swe,Iwe,Mwe,Dwe,Owe,Lwe,Nwe,Pwe,Bwe,Fwe,Rwe,jwe,$we,zwe,qwe,Hwe,Uwe,Gwe,Ywe,Zwe,Wwe,Kwe,Xwe,Vwe,Qwe,Jwe,tme,eme,nme,ime=qnt(z1t,"LayerConstraint",163,Zte,B5,h$);pDt(848,1,VVt,uh),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Z1t),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),Cde),(SCt(),bEe)),Lle),edt((awt(),lEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,W1t),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(lN(),!1)),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,K1t),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),Xde),bEe),Ufe),edt(lEe)))),o2(t,K1t,i0t,Qde),o2(t,K1t,d0t,Vde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,X1t),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,V1t),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),gEe),kee),edt(lEe)))),Odt(t,new gCt(Ck(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Q1t),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),gEe),kee),edt(hEe)),Sst(Ux(Vee,1),lKt,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,J1t),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),Pge),bEe),Gme),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,t0t),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),rft(7)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,e0t),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,n0t),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,i0t),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),Ede),bEe),Sle),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,r0t),f2t),"Node Layering Strategy"),"Strategy for node layering."),dge),bEe),cme),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,a0t),f2t),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),ige),bEe),ime),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,o0t),f2t),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=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."),rft(-1)),mEe),Oee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,s0t),f2t),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),rft(-1)),mEe),Oee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,c0t),d2t),"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."),rft(4)),mEe),Oee),edt(lEe)))),o2(t,c0t,r0t,oge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,u0t),d2t),"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."),rft(2)),mEe),Oee),edt(lEe)))),o2(t,u0t,r0t,cge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,l0t),g2t),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),hge),bEe),Bme),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,h0t),g2t),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),rft(0)),mEe),Oee),edt(lEe)))),o2(t,h0t,l0t,null),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,f0t),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),rft(FWt)),mEe),Oee),edt(lEe)))),o2(t,f0t,r0t,tge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,d0t),p2t),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),_de),bEe),wle),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,g0t),p2t),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,p0t),p2t),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),pEe),See),edt(lEe)))),o2(t,p0t,b2t,wde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,b0t),p2t),"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),gEe),kee),edt(lEe)))),o2(t,b0t,d0t,xde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,w0t),p2t),"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."),rft(-1)),mEe),Oee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,m0t),p2t),"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."),rft(-1)),mEe),Oee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,y0t),w2t),"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."),rft(40)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,v0t),w2t),"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."),gde),bEe),Ihe),edt(lEe)))),o2(t,v0t,d0t,pde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,x0t),"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."),lde),bEe),Ihe),edt(lEe)))),o2(t,x0t,d0t,hde),o2(t,x0t,b2t,fde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,k0t),m2t),"Node Placement Strategy"),"Strategy for node placement."),Lge),bEe),Dme),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,_0t),m2t),"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."),gEe),kee),edt(lEe)))),o2(t,_0t,k0t,_ge),o2(t,_0t,k0t,Age),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,A0t),y2t),"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."),wge),bEe),Jle),edt(lEe)))),o2(t,A0t,k0t,mge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,E0t),y2t),"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."),vge),bEe),she),edt(lEe)))),o2(t,E0t,k0t,xge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,T0t),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),pEe),See),edt(lEe)))),o2(t,T0t,k0t,Tge),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,C0t),"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."),bEe),xme),edt(uEe)))),o2(t,C0t,k0t,Dge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,S0t),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),Ige),bEe),xme),edt(lEe)))),o2(t,S0t,k0t,Mge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,I0t),v2t),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),Pde),bEe),tye),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,M0t),v2t),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),Fde),bEe),aye),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,D0t),"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."),jde),bEe),lye),edt(lEe)))),o2(t,D0t,x2t,$de),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,O0t),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),pEe),See),edt(lEe)))),o2(t,O0t,x2t,qde),o2(t,O0t,D0t,Hde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,L0t),"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),pEe),See),edt(lEe)))),o2(t,L0t,x2t,Lde),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,N0t),k2t),"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."),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,P0t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,B0t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,F0t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,R0t),_2t),"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."),rft(0)),mEe),Oee),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,j0t),_2t),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),rft(0)),mEe),Oee),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,$0t),_2t),"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."),rft(0)),mEe),Oee),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,z0t),A2t),FQt),"Tries to further compact components (disconnected sub-graphs)."),!1),gEe),kee),edt(lEe)))),o2(t,z0t,kJt,!0),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,q0t),E2t),"Post Compaction Strategy"),T2t),Vfe),bEe),yhe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,H0t),E2t),"Post Compaction Constraint Calculation"),T2t),Kfe),bEe),fle),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,U0t),C2t),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,G0t),C2t),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),rft(16)),mEe),Oee),edt(lEe)))),o2(t,G0t,U0t,!0),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Y0t),C2t),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),rft(5)),mEe),Oee),edt(lEe)))),o2(t,Y0t,U0t,!0),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Z0t),S2t),"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'."),dpe),bEe),Tye),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,W0t),S2t),"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),pEe),See),edt(lEe)))),o2(t,W0t,Z0t,Yge),o2(t,W0t,Z0t,Zge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,K0t),S2t),"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),pEe),See),edt(lEe)))),o2(t,K0t,Z0t,Kge),o2(t,K0t,Z0t,Xge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,X0t),I2t),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),ipe),bEe),Ale),edt(lEe)))),o2(t,X0t,Z0t,rpe),o2(t,X0t,Z0t,ape),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,V0t),I2t),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),yEe),Rte),edt(lEe)))),o2(t,V0t,X0t,Qge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Q0t),"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."),tpe),mEe),Oee),edt(lEe)))),o2(t,Q0t,X0t,epe),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,J0t),M2t),"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."),mpe),bEe),pye),edt(lEe)))),o2(t,J0t,Z0t,ype),o2(t,J0t,Z0t,vpe),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,t2t),M2t),"Valid Indices for Wrapping"),null),yEe),Rte),edt(lEe)))),o2(t,t2t,Z0t,ppe),o2(t,t2t,Z0t,bpe),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,e2t),D2t),"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),gEe),kee),edt(lEe)))),o2(t,e2t,Z0t,upe),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,n2t),D2t),"Distance Penalty When Improving Cuts"),null),2),pEe),See),edt(lEe)))),o2(t,n2t,Z0t,spe),o2(t,n2t,e2t,!0),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,i2t),D2t),"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),gEe),kee),edt(lEe)))),o2(t,i2t,Z0t,hpe),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,r2t),O2t),"Edge Label Side Selection"),"Method to decide on edge label sides."),Dde),bEe),Gle),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,a2t),O2t),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),Ide),bEe),sle),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,o2t),L2t),"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."),ode),bEe),$me),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,s2t),L2t),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,c2t),L2t),"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."),Jfe),bEe),yse),edt(lEe)))),o2(t,c2t,kJt,null),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,u2t),L2t),"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."),ide),bEe),gme),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,l2t),L2t),"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),pEe),See),edt(lEe)))),o2(t,l2t,o2t,null),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,h2t),L2t),"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),pEe),See),edt(lEe)))),o2(t,h2t,o2t,null),yWt((new fh,t))},mZ(z1t,"LayeredMetaDataProvider",848),pDt(986,1,VVt,fh),TWt.Qe=function(t){yWt(t)},mZ(z1t,"LayeredOptions",986),pDt(987,1,{},Sa),TWt.$e=function(){return new Ym},TWt._e=function(t){},mZ(z1t,"LayeredOptions/LayeredFactory",987),pDt(1372,1,{}),TWt.a=0,mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder",1372),pDt(779,1372,{},cgt),mZ(z1t,"LayeredSpacings/LayeredSpacingsBuilder",779),pDt(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},FC),TWt.Kf=function(){return aLt(this)},TWt.Xf=function(){return aLt(this)};var rme,ame,ome,sme,cme=qnt(z1t,"LayeringStrategy",313,Zte,n7,f$);pDt(378,22,{3:1,35:1,22:1,378:1},RC);var ume,lme,hme,fme,dme,gme=qnt(z1t,"LongEdgeOrderingStrategy",378,Zte,_1,d$);pDt(197,22,{3:1,35:1,22:1,197:1},jC);var pme,bme,wme,mme,yme,vme,xme=qnt(z1t,"NodeFlexibility",197,Zte,x3,g$);pDt(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},$C),TWt.Kf=function(){return FDt(this)},TWt.Xf=function(){return FDt(this)};var kme,_me,Ame,Eme,Tme,Cme,Sme,Ime,Mme,Dme=qnt(z1t,"NodePlacementStrategy",315,Zte,O5,v$);pDt(260,22,{3:1,35:1,22:1,260:1},qC);var Ome,Lme,Nme,Pme,Bme=qnt(z1t,"NodePromotionStrategy",260,Zte,qet,b$);pDt(339,22,{3:1,35:1,22:1,339:1},HC);var Fme,Rme,jme,$me=qnt(z1t,"OrderingStrategy",339,Zte,D1,w$);pDt(421,22,{3:1,35:1,22:1,421:1},UC);var zme,qme,Hme,Ume,Gme=qnt(z1t,"PortSortingStrategy",421,Zte,YV,m$);pDt(452,22,{3:1,35:1,22:1,452:1},GC);var Yme,Zme,Wme,Kme,Xme=qnt(z1t,"PortType",452,Zte,M1,p$);pDt(375,22,{3:1,35:1,22:1,375:1},YC);var Vme,Qme,Jme,tye=qnt(z1t,"SelfLoopDistributionStrategy",375,Zte,O1,y$);pDt(376,22,{3:1,35:1,22:1,376:1},ZC);var eye,nye,iye,rye,aye=qnt(z1t,"SelfLoopOrderingStrategy",376,Zte,zV,x$);pDt(304,1,{304:1},lUt),mZ(z1t,"Spacings",304),pDt(336,22,{3:1,35:1,22:1,336:1},WC);var oye,sye,cye,uye,lye=qnt(z1t,"SplineRoutingMode",336,Zte,N1,k$);pDt(338,22,{3:1,35:1,22:1,338:1},KC);var hye,fye,dye,gye,pye=qnt(z1t,"ValidifyStrategy",338,Zte,P1,_$);pDt(377,22,{3:1,35:1,22:1,377:1},XC);var bye,wye,mye,yye,vye,xye,kye,_ye,Aye,Eye,Tye=qnt(z1t,"WrappingStrategy",377,Zte,L1,A$);pDt(1383,1,A3t,dh),TWt.Yf=function(t){return zz(t,37),wye},TWt.pf=function(t,e){Jqt(this,zz(t,37),e)},mZ(E3t,"DepthFirstCycleBreaker",1383),pDt(782,1,A3t,RU),TWt.Yf=function(t){return zz(t,37),mye},TWt.pf=function(t,e){ZZt(this,zz(t,37),e)},TWt.Zf=function(t){return zz(PH(t,mmt(this.d,t.c.length)),10)},mZ(E3t,"GreedyCycleBreaker",782),pDt(1386,782,A3t,AI),TWt.Zf=function(t){var e,n,i,r;for(r=null,e=FWt,i=new Wd(t);i.a<i.c.c.length;)LP(n=zz(t0(i),10),(hWt(),gfe))&&zz(vEt(n,gfe),19).a<e&&(e=zz(vEt(n,gfe),19).a,r=n);return r||zz(PH(t,mmt(this.d,t.c.length)),10)},mZ(E3t,"GreedyModelOrderCycleBreaker",1386),pDt(1384,1,A3t,ih),TWt.Yf=function(t){return zz(t,37),yye},TWt.pf=function(t,e){MHt(this,zz(t,37),e)},mZ(E3t,"InteractiveCycleBreaker",1384),pDt(1385,1,A3t,rh),TWt.Yf=function(t){return zz(t,37),vye},TWt.pf=function(t,e){NHt(this,zz(t,37),e)},TWt.a=0,TWt.b=0,mZ(E3t,"ModelOrderCycleBreaker",1385),pDt(1389,1,A3t,OE),TWt.Yf=function(t){return zz(t,37),xye},TWt.pf=function(t,e){JZt(this,zz(t,37),e)},mZ(T3t,"CoffmanGrahamLayerer",1389),pDt(1390,1,TVt,Bp),TWt.ue=function(t,e){return qIt(this.a,zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(T3t,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1390),pDt(1391,1,TVt,Fp),TWt.ue=function(t,e){return GU(this.a,zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(T3t,"CoffmanGrahamLayerer/lambda$1$Type",1391),pDt(1392,1,A3t,Ia),TWt.Yf=function(t){return zz(t,37),pH(pH(pH(new z2,(xEt(),Foe),(dWt(),xce)),Roe,Mce),joe,Ice)},TWt.pf=function(t,e){AYt(this,zz(t,37),e)},mZ(T3t,"InteractiveLayerer",1392),pDt(569,1,{569:1},iy),TWt.a=0,TWt.c=0,mZ(T3t,"InteractiveLayerer/LayerSpan",569),pDt(1388,1,A3t,nh),TWt.Yf=function(t){return zz(t,37),kye},TWt.pf=function(t,e){UPt(this,zz(t,37),e)},mZ(T3t,"LongestPathLayerer",1388),pDt(1395,1,A3t,ch),TWt.Yf=function(t){return zz(t,37),pH(pH(pH(new z2,(xEt(),Foe),(dWt(),ace)),Roe,Mce),joe,Ice)},TWt.pf=function(t,e){rZt(this,zz(t,37),e)},TWt.a=0,TWt.b=0,TWt.d=0,mZ(T3t,"MinWidthLayerer",1395),pDt(1396,1,TVt,Rp),TWt.ue=function(t,e){return bot(this,zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(T3t,"MinWidthLayerer/MinOutgoingEdgesComparator",1396),pDt(1387,1,A3t,sh),TWt.Yf=function(t){return zz(t,37),Eye},TWt.pf=function(t,e){vUt(this,zz(t,37),e)},mZ(T3t,"NetworkSimplexLayerer",1387),pDt(1393,1,A3t,FF),TWt.Yf=function(t){return zz(t,37),pH(pH(pH(new z2,(xEt(),Foe),(dWt(),ace)),Roe,Mce),joe,Ice)},TWt.pf=function(t,e){LGt(this,zz(t,37),e)},TWt.d=0,TWt.f=0,TWt.g=0,TWt.i=0,TWt.s=0,TWt.t=0,TWt.u=0,mZ(T3t,"StretchWidthLayerer",1393),pDt(1394,1,TVt,Ma),TWt.ue=function(t,e){return F6(zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(T3t,"StretchWidthLayerer/1",1394),pDt(402,1,C3t),TWt.Nf=function(t,e,n,i,r,a){},TWt._f=function(t,e,n){return ajt(this,t,e,n)},TWt.Mf=function(){this.g=P8(BNe,S3t,25,this.d,15,1),this.f=P8(BNe,S3t,25,this.d,15,1)},TWt.Of=function(t,e){this.e[t]=P8(DNe,hXt,25,e[t].length,15,1)},TWt.Pf=function(t,e,n){n[t][e].p=e,this.e[t][e]=e},TWt.Qf=function(t,e,n,i){zz(PH(i[t][e].j,n),11).p=this.d++},TWt.b=0,TWt.c=0,TWt.d=0,mZ(I3t,"AbstractBarycenterPortDistributor",402),pDt(1633,1,TVt,jp),TWt.ue=function(t,e){return Ubt(this.a,zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(I3t,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),pDt(817,1,P1t,U2),TWt.Nf=function(t,e,n,i,r,a){},TWt.Pf=function(t,e,n){},TWt.Qf=function(t,e,n,i){},TWt.Lf=function(){return!1},TWt.Mf=function(){this.c=this.e.a,this.g=this.f.g},TWt.Of=function(t,e){e[t][0].c.p=t},TWt.Rf=function(){return!1},TWt.ag=function(t,e,n,i){n?lkt(this,t):(Fkt(this,t,i),tGt(this,t,e)),t.c.length>1&&(Hv(AB(vEt(mW((f1(0,t.c.length),zz(t.c[0],10))),(HZt(),Ppe))))?ROt(t,this.d,zz(this,660)):(TX(),yO(t,this.d)),qot(this.e,t))},TWt.Sf=function(t,e,n,i){var r,a,o,s,c,u,l;for(e!=QH(n,t.length)&&(a=t[e-(n?1:-1)],U6(this.f,a,n?(sit(),Hme):(sit(),qme))),r=t[e][0],l=!i||r.k==(cTt(),Ese),u=s6(t[e]),this.ag(u,l,!1,n),o=0,c=new Wd(u);c.a<c.c.c.length;)s=zz(t0(c),10),t[e][o++]=s;return!1},TWt.Tf=function(t,e){var n,i,r,a,o;for(a=s6(t[o=QH(e,t.length)]),this.ag(a,!1,!0,e),n=0,r=new Wd(a);r.a<r.c.c.length;)i=zz(t0(r),10),t[o][n++]=i;return!1},mZ(I3t,"BarycenterHeuristic",817),pDt(658,1,{658:1},zp),TWt.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},TWt.b=0,TWt.d=0,TWt.e=!1;var Cye=mZ(I3t,"BarycenterHeuristic/BarycenterState",658);pDt(1802,1,TVt,$p),TWt.ue=function(t,e){return T_t(this.a,zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(I3t,"BarycenterHeuristic/lambda$0$Type",1802),pDt(816,1,P1t,Z_t),TWt.Mf=function(){},TWt.Nf=function(t,e,n,i,r,a){},TWt.Qf=function(t,e,n,i){},TWt.Of=function(t,e){this.a[t]=P8(Cye,{3:1,4:1,5:1,2018:1},658,e[t].length,0,1),this.b[t]=P8(Lye,{3:1,4:1,5:1,2019:1},233,e[t].length,0,1)},TWt.Pf=function(t,e,n){Fbt(this,n[t][e],!0)},TWt.c=!1,mZ(I3t,"ForsterConstraintResolver",816),pDt(233,1,{233:1},BV,cUt),TWt.Ib=function(){var t,e;for((e=new Sx).a+="[",t=0;t<this.d.length;t++)cM(e,Lwt(this.d[t])),null!=fL(this.g,this.d[0]).a&&cM(cM((e.a+="<",e),JI(fL(this.g,this.d[0]).a)),">"),t<this.d.length-1&&(e.a+=zWt);return(e.a+="]",e).a},TWt.a=0,TWt.c=0,TWt.f=0;var Sye,Iye,Mye,Dye,Oye,Lye=mZ(I3t,"ForsterConstraintResolver/ConstraintGroup",233);pDt(1797,1,dKt,Hp),TWt.td=function(t){Fbt(this.a,zz(t,10),!1)},mZ(I3t,"ForsterConstraintResolver/lambda$0$Type",1797),pDt(214,1,{214:1,225:1},IUt),TWt.Nf=function(t,e,n,i,r,a){},TWt.Of=function(t,e){},TWt.Mf=function(){this.r=P8(DNe,hXt,25,this.n,15,1)},TWt.Pf=function(t,e,n){var i;(i=n[t][e].e)&&Wz(this.b,i)},TWt.Qf=function(t,e,n,i){++this.n},TWt.Ib=function(){return rGt(this.e,new Fm)},TWt.g=!1,TWt.i=!1,TWt.n=0,TWt.s=!1,mZ(I3t,"GraphInfoHolder",214),pDt(1832,1,P1t,Ca),TWt.Nf=function(t,e,n,i,r,a){},TWt.Of=function(t,e){},TWt.Qf=function(t,e,n,i){},TWt._f=function(t,e,n){return n&&e>0?sJ(this.a,t[e-1],t[e]):!n&&e<t.length-1?sJ(this.a,t[e],t[e+1]):xrt(this.a,t[e],n?(kYt(),SIe):(kYt(),cIe)),gLt(this,t,e,n)},TWt.Mf=function(){this.d=P8(DNe,hXt,25,this.c,15,1),this.a=new XR(this.d)},TWt.Pf=function(t,e,n){var i;i=n[t][e],this.c+=i.j.c.length},TWt.c=0,mZ(I3t,"GreedyPortDistributor",1832),pDt(1401,1,A3t,gh),TWt.Yf=function(t){return Wlt(zz(t,37))},TWt.pf=function(t,e){WUt(zz(t,37),e)},mZ(I3t,"InteractiveCrossingMinimizer",1401),pDt(1402,1,TVt,Up),TWt.ue=function(t,e){return Hkt(this,zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(I3t,"InteractiveCrossingMinimizer/1",1402),pDt(507,1,{507:1,123:1,51:1},Nv),TWt.Yf=function(t){var e;return zz(t,37),pH(e=xD(Iye),(xEt(),joe),(dWt(),zce)),e},TWt.pf=function(t,e){Sjt(this,zz(t,37),e)},TWt.e=0,mZ(I3t,"LayerSweepCrossingMinimizer",507),pDt(1398,1,dKt,Gp),TWt.td=function(t){pzt(this.a,zz(t,214))},mZ(I3t,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1398),pDt(1399,1,dKt,Yp),TWt.td=function(t){Dlt(this.a,zz(t,214))},mZ(I3t,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1399),pDt(1400,1,dKt,Zp),TWt.td=function(t){m$t(this.a,zz(t,214))},mZ(I3t,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1400),pDt(454,22,{3:1,35:1,22:1,454:1},VC);var Nye,Pye=qnt(I3t,"LayerSweepCrossingMinimizer/CrossMinType",454,Zte,B1,E$);pDt(1397,1,FKt,Da),TWt.Mb=function(t){return $at(),0==zz(t,29).a.c.length},mZ(I3t,"LayerSweepCrossingMinimizer/lambda$0$Type",1397),pDt(1799,1,P1t,oJ),TWt.Mf=function(){},TWt.Nf=function(t,e,n,i,r,a){},TWt.Qf=function(t,e,n,i){},TWt.Of=function(t,e){e[t][0].c.p=t,this.b[t]=P8(jye,{3:1,4:1,5:1,1944:1},659,e[t].length,0,1)},TWt.Pf=function(t,e,n){n[t][e].p=e,OZ(this.b[t],e,new Oa)},mZ(I3t,"LayerSweepTypeDecider",1799),pDt(659,1,{659:1},Oa),TWt.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},TWt.a=0,TWt.b=0,TWt.c=0;var Bye,Fye,Rye,jye=mZ(I3t,"LayerSweepTypeDecider/NodeInfo",659);pDt(1800,1,UVt,La),TWt.Lb=function(t){return GN(new y6(zz(t,11).b))},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return GN(new y6(zz(t,11).b))},mZ(I3t,"LayerSweepTypeDecider/lambda$0$Type",1800),pDt(1801,1,UVt,Na),TWt.Lb=function(t){return GN(new y6(zz(t,11).b))},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return GN(new y6(zz(t,11).b))},mZ(I3t,"LayerSweepTypeDecider/lambda$1$Type",1801),pDt(1833,402,C3t,Bk),TWt.$f=function(t,e,n){var i,r,a,o,s,c,u,l,h;switch(u=this.g,n.g){case 1:for(i=0,r=0,c=new Wd(t.j);c.a<c.c.c.length;)0!=(o=zz(t0(c),11)).e.c.length&&(++i,o.j==(kYt(),uIe)&&++r);for(a=e+r,h=e+i,s=Bgt(t,(sit(),qme)).Kc();s.Ob();)(o=zz(s.Pb(),11)).j==(kYt(),uIe)?(u[o.p]=a,--a):(u[o.p]=h,--h);return i;case 2:for(l=0,s=Bgt(t,(sit(),Hme)).Kc();s.Ob();)++l,u[(o=zz(s.Pb(),11)).p]=e+l;return l;default:throw qw(new gm)}},mZ(I3t,"LayerTotalPortDistributor",1833),pDt(660,817,{660:1,225:1},mrt),TWt.ag=function(t,e,n,i){n?lkt(this,t):(Fkt(this,t,i),tGt(this,t,e)),t.c.length>1&&(Hv(AB(vEt(mW((f1(0,t.c.length),zz(t.c[0],10))),(HZt(),Ppe))))?ROt(t,this.d,this):(TX(),yO(t,this.d)),Hv(AB(vEt(mW((f1(0,t.c.length),zz(t.c[0],10))),Ppe)))||qot(this.e,t))},mZ(I3t,"ModelOrderBarycenterHeuristic",660),pDt(1803,1,TVt,Wp),TWt.ue=function(t,e){return jTt(this.a,zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(I3t,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),pDt(1403,1,A3t,xh),TWt.Yf=function(t){var e;return zz(t,37),pH(e=xD(Bye),(xEt(),joe),(dWt(),zce)),e},TWt.pf=function(t,e){yV((zz(t,37),e))},mZ(I3t,"NoCrossingMinimizer",1403),pDt(796,402,C3t,Fk),TWt.$f=function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;switch(h=this.g,n.g){case 1:for(r=0,a=0,l=new Wd(t.j);l.a<l.c.c.length;)0!=(c=zz(t0(l),11)).e.c.length&&(++r,c.j==(kYt(),uIe)&&++a);for(o=e+a*(i=1/(r+1)),d=e+1-i,u=Bgt(t,(sit(),qme)).Kc();u.Ob();)(c=zz(u.Pb(),11)).j==(kYt(),uIe)?(h[c.p]=o,o-=i):(h[c.p]=d,d-=i);break;case 2:for(s=0,l=new Wd(t.j);l.a<l.c.c.length;)0==(c=zz(t0(l),11)).g.c.length||++s;for(f=e+(i=1/(s+1)),u=Bgt(t,(sit(),Hme)).Kc();u.Ob();)h[(c=zz(u.Pb(),11)).p]=f,f+=i;break;default:throw qw(new jv("Port type is undefined"))}return 1},mZ(I3t,"NodeRelativePortDistributor",796),pDt(807,1,{},KG,HEt),mZ(I3t,"SweepCopy",807),pDt(1798,1,P1t,ppt),TWt.Of=function(t,e){},TWt.Mf=function(){var t;t=P8(DNe,hXt,25,this.f,15,1),this.d=new nb(t),this.a=new XR(t)},TWt.Nf=function(t,e,n,i,r,a){var o;o=zz(PH(a[t][e].j,n),11),r.c==o&&r.c.i.c==r.d.i.c&&++this.e[t]},TWt.Pf=function(t,e,n){var i;i=n[t][e],this.c[t]=this.c[t]|i.k==(cTt(),Ise)},TWt.Qf=function(t,e,n,i){var r;(r=zz(PH(i[t][e].j,n),11)).p=this.f++,r.g.c.length+r.e.c.length>1&&(r.j==(kYt(),cIe)?this.b[t]=!0:r.j==SIe&&t>0&&(this.b[t-1]=!0))},TWt.f=0,mZ(N1t,"AllCrossingsCounter",1798),pDt(587,1,{},vrt),TWt.b=0,TWt.d=0,mZ(N1t,"BinaryIndexedTree",587),pDt(524,1,{},XR),mZ(N1t,"CrossingsCounter",524),pDt(1906,1,TVt,Kp),TWt.ue=function(t,e){return ZH(this.a,zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(N1t,"CrossingsCounter/lambda$0$Type",1906),pDt(1907,1,TVt,Xp),TWt.ue=function(t,e){return WH(this.a,zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(N1t,"CrossingsCounter/lambda$1$Type",1907),pDt(1908,1,TVt,Vp),TWt.ue=function(t,e){return KH(this.a,zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(N1t,"CrossingsCounter/lambda$2$Type",1908),pDt(1909,1,TVt,Qp),TWt.ue=function(t,e){return XH(this.a,zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(N1t,"CrossingsCounter/lambda$3$Type",1909),pDt(1910,1,dKt,Jp),TWt.td=function(t){w9(this.a,zz(t,11))},mZ(N1t,"CrossingsCounter/lambda$4$Type",1910),pDt(1911,1,FKt,tb),TWt.Mb=function(t){return vI(this.a,zz(t,11))},mZ(N1t,"CrossingsCounter/lambda$5$Type",1911),pDt(1912,1,dKt,eb),TWt.td=function(t){yI(this,t)},mZ(N1t,"CrossingsCounter/lambda$6$Type",1912),pDt(1913,1,dKt,JC),TWt.td=function(t){var e;lq(),p3(this.b,(e=this.a,zz(t,11),e))},mZ(N1t,"CrossingsCounter/lambda$7$Type",1913),pDt(826,1,UVt,Pa),TWt.Lb=function(t){return lq(),LP(zz(t,11),(hWt(),_fe))},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return lq(),LP(zz(t,11),(hWt(),_fe))},mZ(N1t,"CrossingsCounter/lambda$8$Type",826),pDt(1905,1,{},nb),mZ(N1t,"HyperedgeCrossingsCounter",1905),pDt(467,1,{35:1,467:1},BF),TWt.wd=function(t){return ybt(this,zz(t,467))},TWt.b=0,TWt.c=0,TWt.e=0,TWt.f=0;var $ye=mZ(N1t,"HyperedgeCrossingsCounter/Hyperedge",467);pDt(362,1,{35:1,362:1},HK),TWt.wd=function(t){return dOt(this,zz(t,362))},TWt.b=0,TWt.c=0;var zye,qye,Hye=mZ(N1t,"HyperedgeCrossingsCounter/HyperedgeCorner",362);pDt(523,22,{3:1,35:1,22:1,523:1},QC);var Uye,Gye,Yye,Zye,Wye,Kye=qnt(N1t,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,Zte,ZV,T$);pDt(1405,1,A3t,hh),TWt.Yf=function(t){return zz(vEt(zz(t,37),(hWt(),Jhe)),21).Hc((gBt(),fhe))?Gye:null},TWt.pf=function(t,e){dkt(this,zz(t,37),e)},mZ(M3t,"InteractiveNodePlacer",1405),pDt(1406,1,A3t,lh),TWt.Yf=function(t){return zz(vEt(zz(t,37),(hWt(),Jhe)),21).Hc((gBt(),fhe))?Yye:null},TWt.pf=function(t,e){_yt(this,zz(t,37),e)},mZ(M3t,"LinearSegmentsNodePlacer",1406),pDt(257,1,{35:1,257:1},ry),TWt.wd=function(t){return sk(this,zz(t,257))},TWt.Fb=function(t){var e;return!!aL(t,257)&&(e=zz(t,257),this.b==e.b)},TWt.Hb=function(){return this.b},TWt.Ib=function(){return"ls"+NEt(this.e)},TWt.a=0,TWt.b=0,TWt.c=-1,TWt.d=-1,TWt.g=0;var Xye,Vye=mZ(M3t,"LinearSegmentsNodePlacer/LinearSegment",257);pDt(1408,1,A3t,jU),TWt.Yf=function(t){return zz(vEt(zz(t,37),(hWt(),Jhe)),21).Hc((gBt(),fhe))?Xye:null},TWt.pf=function(t,e){CZt(this,zz(t,37),e)},TWt.b=0,TWt.g=0,mZ(M3t,"NetworkSimplexPlacer",1408),pDt(1427,1,TVt,Ba),TWt.ue=function(t,e){return _O(zz(t,19).a,zz(e,19).a)},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(M3t,"NetworkSimplexPlacer/0methodref$compare$Type",1427),pDt(1429,1,TVt,Fa),TWt.ue=function(t,e){return _O(zz(t,19).a,zz(e,19).a)},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(M3t,"NetworkSimplexPlacer/1methodref$compare$Type",1429),pDt(649,1,{649:1},tS);var Qye=mZ(M3t,"NetworkSimplexPlacer/EdgeRep",649);pDt(401,1,{401:1},UK),TWt.b=!1;var Jye,tve,eve,nve=mZ(M3t,"NetworkSimplexPlacer/NodeRep",401);pDt(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},sy),mZ(M3t,"NetworkSimplexPlacer/Path",508),pDt(1409,1,{},Ra),TWt.Kb=function(t){return zz(t,17).d.i.k},mZ(M3t,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),pDt(1410,1,FKt,ja),TWt.Mb=function(t){return zz(t,267)==(cTt(),Cse)},mZ(M3t,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),pDt(1411,1,{},$a),TWt.Kb=function(t){return zz(t,17).d.i},mZ(M3t,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),pDt(1412,1,FKt,ib),TWt.Mb=function(t){return qB(npt(zz(t,10)))},mZ(M3t,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),pDt(1413,1,FKt,za),TWt.Mb=function(t){return lH(zz(t,11))},mZ(M3t,"NetworkSimplexPlacer/lambda$0$Type",1413),pDt(1414,1,dKt,eS),TWt.td=function(t){BO(this.a,this.b,zz(t,11))},mZ(M3t,"NetworkSimplexPlacer/lambda$1$Type",1414),pDt(1423,1,dKt,rb),TWt.td=function(t){KSt(this.a,zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$10$Type",1423),pDt(1424,1,{},qa),TWt.Kb=function(t){return zJ(),new FH(null,new g1(zz(t,29).a,16))},mZ(M3t,"NetworkSimplexPlacer/lambda$11$Type",1424),pDt(1425,1,dKt,ab),TWt.td=function(t){qBt(this.a,zz(t,10))},mZ(M3t,"NetworkSimplexPlacer/lambda$12$Type",1425),pDt(1426,1,{},Ha),TWt.Kb=function(t){return zJ(),rft(zz(t,121).e)},mZ(M3t,"NetworkSimplexPlacer/lambda$13$Type",1426),pDt(1428,1,{},Ua),TWt.Kb=function(t){return zJ(),rft(zz(t,121).e)},mZ(M3t,"NetworkSimplexPlacer/lambda$15$Type",1428),pDt(1430,1,FKt,Ga),TWt.Mb=function(t){return zJ(),zz(t,401).c.k==(cTt(),Sse)},mZ(M3t,"NetworkSimplexPlacer/lambda$17$Type",1430),pDt(1431,1,FKt,Ya),TWt.Mb=function(t){return zJ(),zz(t,401).c.j.c.length>1},mZ(M3t,"NetworkSimplexPlacer/lambda$18$Type",1431),pDt(1432,1,dKt,GK),TWt.td=function(t){ogt(this.c,this.b,this.d,this.a,zz(t,401))},TWt.c=0,TWt.d=0,mZ(M3t,"NetworkSimplexPlacer/lambda$19$Type",1432),pDt(1415,1,{},Za),TWt.Kb=function(t){return zJ(),new FH(null,new g1(zz(t,29).a,16))},mZ(M3t,"NetworkSimplexPlacer/lambda$2$Type",1415),pDt(1433,1,dKt,ob),TWt.td=function(t){NO(this.a,zz(t,11))},TWt.a=0,mZ(M3t,"NetworkSimplexPlacer/lambda$20$Type",1433),pDt(1434,1,{},Wa),TWt.Kb=function(t){return zJ(),new FH(null,new g1(zz(t,29).a,16))},mZ(M3t,"NetworkSimplexPlacer/lambda$21$Type",1434),pDt(1435,1,dKt,sb),TWt.td=function(t){pL(this.a,zz(t,10))},mZ(M3t,"NetworkSimplexPlacer/lambda$22$Type",1435),pDt(1436,1,FKt,Ka),TWt.Mb=function(t){return qB(t)},mZ(M3t,"NetworkSimplexPlacer/lambda$23$Type",1436),pDt(1437,1,{},Xa),TWt.Kb=function(t){return zJ(),new FH(null,new g1(zz(t,29).a,16))},mZ(M3t,"NetworkSimplexPlacer/lambda$24$Type",1437),pDt(1438,1,FKt,cb),TWt.Mb=function(t){return _M(this.a,zz(t,10))},mZ(M3t,"NetworkSimplexPlacer/lambda$25$Type",1438),pDt(1439,1,dKt,nS),TWt.td=function(t){TCt(this.a,this.b,zz(t,10))},mZ(M3t,"NetworkSimplexPlacer/lambda$26$Type",1439),pDt(1440,1,FKt,Va),TWt.Mb=function(t){return zJ(),!d5(zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$27$Type",1440),pDt(1441,1,FKt,Qa),TWt.Mb=function(t){return zJ(),!d5(zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$28$Type",1441),pDt(1442,1,{},ub),TWt.Ce=function(t,e){return uL(this.a,zz(t,29),zz(e,29))},mZ(M3t,"NetworkSimplexPlacer/lambda$29$Type",1442),pDt(1416,1,{},Ja),TWt.Kb=function(t){return zJ(),new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(M3t,"NetworkSimplexPlacer/lambda$3$Type",1416),pDt(1417,1,FKt,to),TWt.Mb=function(t){return zJ(),e2(zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$4$Type",1417),pDt(1418,1,dKt,lb),TWt.td=function(t){rzt(this.a,zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$5$Type",1418),pDt(1419,1,{},eo),TWt.Kb=function(t){return zJ(),new FH(null,new g1(zz(t,29).a,16))},mZ(M3t,"NetworkSimplexPlacer/lambda$6$Type",1419),pDt(1420,1,FKt,no),TWt.Mb=function(t){return zJ(),zz(t,10).k==(cTt(),Sse)},mZ(M3t,"NetworkSimplexPlacer/lambda$7$Type",1420),pDt(1421,1,{},io),TWt.Kb=function(t){return zJ(),new FH(null,new GY(new cG(JL(hdt(zz(t,10)).a.Kc(),new l))))},mZ(M3t,"NetworkSimplexPlacer/lambda$8$Type",1421),pDt(1422,1,FKt,ro),TWt.Mb=function(t){return zJ(),Yq(zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$9$Type",1422),pDt(1404,1,A3t,Ch),TWt.Yf=function(t){return zz(vEt(zz(t,37),(hWt(),Jhe)),21).Hc((gBt(),fhe))?Jye:null},TWt.pf=function(t,e){kqt(zz(t,37),e)},mZ(M3t,"SimpleNodePlacer",1404),pDt(180,1,{180:1},URt),TWt.Ib=function(){var t;return t="",this.c==(bQ(),eve)?t+=sQt:this.c==tve&&(t+=oQt),this.o==(cJ(),rve)?t+=mQt:this.o==ave?t+="UP":t+="BALANCED",t},mZ(L3t,"BKAlignedLayout",180),pDt(516,22,{3:1,35:1,22:1,516:1},aS);var ive,rve,ave,ove=qnt(L3t,"BKAlignedLayout/HDirection",516,Zte,KV,C$);pDt(515,22,{3:1,35:1,22:1,515:1},rS);var sve,cve,uve,lve,hve,fve,dve,gve,pve,bve,wve,mve,yve,vve,xve,kve,_ve,Ave,Eve,Tve=qnt(L3t,"BKAlignedLayout/VDirection",515,Zte,XV,S$);pDt(1634,1,{},iS),mZ(L3t,"BKAligner",1634),pDt(1637,1,{},Jvt),mZ(L3t,"BKCompactor",1637),pDt(654,1,{654:1},ao),TWt.a=0,mZ(L3t,"BKCompactor/ClassEdge",654),pDt(458,1,{458:1},ay),TWt.a=null,TWt.b=0,mZ(L3t,"BKCompactor/ClassNode",458),pDt(1407,1,A3t,kI),TWt.Yf=function(t){return zz(vEt(zz(t,37),(hWt(),Jhe)),21).Hc((gBt(),fhe))?cve:null},TWt.pf=function(t,e){aWt(this,zz(t,37),e)},TWt.d=!1,mZ(L3t,"BKNodePlacer",1407),pDt(1635,1,{},oo),TWt.d=0,mZ(L3t,"NeighborhoodInformation",1635),pDt(1636,1,TVt,hb),TWt.ue=function(t,e){return Tet(this,zz(t,46),zz(e,46))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(L3t,"NeighborhoodInformation/NeighborComparator",1636),pDt(808,1,{}),mZ(L3t,"ThresholdStrategy",808),pDt(1763,808,{},py),TWt.bg=function(t,e,n){return this.a.o==(cJ(),ave)?RXt:jXt},TWt.cg=function(){},mZ(L3t,"ThresholdStrategy/NullThresholdStrategy",1763),pDt(579,1,{579:1},oS),TWt.c=!1,TWt.d=!1,mZ(L3t,"ThresholdStrategy/Postprocessable",579),pDt(1764,808,{},by),TWt.bg=function(t,e,n){var i,r,a;return r=e==n,i=this.a.a[n.p]==e,r||i?(a=t,this.a.c,bQ(),r&&(a=Eqt(this,e,!0)),!isNaN(a)&&!isFinite(a)&&i&&(a=Eqt(this,n,!1)),a):t},TWt.cg=function(){for(var t,e,n;0!=this.d.b;)(e=o$t(this,n=zz(CQ(this.d),579))).a&&(t=e.a,(Hv(this.a.f[this.a.g[n.b.p].p])||d5(t)||t.c.i.c!=t.d.i.c)&&(gOt(this,n)||rD(this.e,n)));for(;0!=this.e.a.c.length;)gOt(this,zz(nlt(this.e),579))},mZ(L3t,"ThresholdStrategy/SimpleThresholdStrategy",1764),pDt(635,1,{635:1,246:1,234:1},so),TWt.Kf=function(){return Eot(this)},TWt.Xf=function(){return Eot(this)},mZ(N3t,"EdgeRouterFactory",635),pDt(1458,1,A3t,Sh),TWt.Yf=function(t){return ZPt(zz(t,37))},TWt.pf=function(t,e){Fqt(zz(t,37),e)},mZ(N3t,"OrthogonalEdgeRouter",1458),pDt(1451,1,A3t,_I),TWt.Yf=function(t){return Akt(zz(t,37))},TWt.pf=function(t,e){DYt(this,zz(t,37),e)},mZ(N3t,"PolylineEdgeRouter",1451),pDt(1452,1,UVt,co),TWt.Lb=function(t){return Vot(zz(t,10))},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return Vot(zz(t,10))},mZ(N3t,"PolylineEdgeRouter/1",1452),pDt(1809,1,FKt,uo),TWt.Mb=function(t){return zz(t,129).c==(M6(),Ave)},mZ(P3t,"HyperEdgeCycleDetector/lambda$0$Type",1809),pDt(1810,1,{},lo),TWt.Ge=function(t){return zz(t,129).d},mZ(P3t,"HyperEdgeCycleDetector/lambda$1$Type",1810),pDt(1811,1,FKt,ho),TWt.Mb=function(t){return zz(t,129).c==(M6(),Ave)},mZ(P3t,"HyperEdgeCycleDetector/lambda$2$Type",1811),pDt(1812,1,{},fo),TWt.Ge=function(t){return zz(t,129).d},mZ(P3t,"HyperEdgeCycleDetector/lambda$3$Type",1812),pDt(1813,1,{},go),TWt.Ge=function(t){return zz(t,129).d},mZ(P3t,"HyperEdgeCycleDetector/lambda$4$Type",1813),pDt(1814,1,{},po),TWt.Ge=function(t){return zz(t,129).d},mZ(P3t,"HyperEdgeCycleDetector/lambda$5$Type",1814),pDt(112,1,{35:1,112:1},zot),TWt.wd=function(t){return ck(this,zz(t,112))},TWt.Fb=function(t){var e;return!!aL(t,112)&&(e=zz(t,112),this.g==e.g)},TWt.Hb=function(){return this.g},TWt.Ib=function(){var t,e,n,i;for(t=new fN("{"),i=new Wd(this.n);i.a<i.c.c.length;)null==(e=wvt((n=zz(t0(i),11)).i))&&(e="n"+DR(n.i)),t.a+=""+e,i.a<i.c.c.length&&(t.a+=",");return t.a+="}",t.a},TWt.a=0,TWt.b=0,TWt.c=NaN,TWt.d=0,TWt.g=0,TWt.i=0,TWt.o=0,TWt.s=NaN,mZ(P3t,"HyperEdgeSegment",112),pDt(129,1,{129:1},GJ),TWt.Ib=function(){return this.a+"->"+this.b+" ("+gP(this.c)+")"},TWt.d=0,mZ(P3t,"HyperEdgeSegmentDependency",129),pDt(520,22,{3:1,35:1,22:1,520:1},sS);var Cve,Sve,Ive,Mve,Dve,Ove,Lve,Nve,Pve=qnt(P3t,"HyperEdgeSegmentDependency/DependencyType",520,Zte,WV,I$);pDt(1815,1,{},fb),mZ(P3t,"HyperEdgeSegmentSplitter",1815),pDt(1816,1,{},Gk),TWt.a=0,TWt.b=0,mZ(P3t,"HyperEdgeSegmentSplitter/AreaRating",1816),pDt(329,1,{329:1},xz),TWt.a=0,TWt.b=0,TWt.c=0,mZ(P3t,"HyperEdgeSegmentSplitter/FreeArea",329),pDt(1817,1,TVt,_o),TWt.ue=function(t,e){return MR(zz(t,112),zz(e,112))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(P3t,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),pDt(1818,1,dKt,ZK),TWt.td=function(t){t4(this.a,this.d,this.c,this.b,zz(t,112))},TWt.b=0,mZ(P3t,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),pDt(1819,1,{},Ao),TWt.Kb=function(t){return new FH(null,new g1(zz(t,112).e,16))},mZ(P3t,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),pDt(1820,1,{},Eo),TWt.Kb=function(t){return new FH(null,new g1(zz(t,112).j,16))},mZ(P3t,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),pDt(1821,1,{},To),TWt.Fe=function(t){return Uv(EB(t))},mZ(P3t,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),pDt(655,1,{},hZ),TWt.a=0,TWt.b=0,TWt.c=0,mZ(P3t,"OrthogonalRoutingGenerator",655),pDt(1638,1,{},Co),TWt.Kb=function(t){return new FH(null,new g1(zz(t,112).e,16))},mZ(P3t,"OrthogonalRoutingGenerator/lambda$0$Type",1638),pDt(1639,1,{},So),TWt.Kb=function(t){return new FH(null,new g1(zz(t,112).j,16))},mZ(P3t,"OrthogonalRoutingGenerator/lambda$1$Type",1639),pDt(661,1,{}),mZ(B3t,"BaseRoutingDirectionStrategy",661),pDt(1807,661,{},wy),TWt.dg=function(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=e+t.o*i,l=new Wd(t.n);l.a<l.c.c.length;)for(u=zz(t0(l),11),f=Oct(Sst(Ux(CEe,1),lKt,8,0,[u.i.n,u.n,u.a])).a,c=new Wd(u.g);c.a<c.c.c.length;)d5(s=zz(t0(c),17))||(p=s.d,b=Oct(Sst(Ux(CEe,1),lKt,8,0,[p.i.n,p.n,p.a])).a,n.Math.abs(f-b)>dJt&&(a=t,r=new PS(f,o=h),Bq(s.a,r),zjt(this,s,a,r,!1),(d=t.r)&&(r=new PS(g=Uv(EB(Fwt(d.e,0))),o),Bq(s.a,r),zjt(this,s,a,r,!1),a=d,r=new PS(g,o=e+d.o*i),Bq(s.a,r),zjt(this,s,a,r,!1)),r=new PS(b,o),Bq(s.a,r),zjt(this,s,a,r,!1)))},TWt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},TWt.fg=function(){return kYt(),TIe},TWt.gg=function(){return kYt(),uIe},mZ(B3t,"NorthToSouthRoutingStrategy",1807),pDt(1808,661,{},my),TWt.dg=function(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=e-t.o*i,l=new Wd(t.n);l.a<l.c.c.length;)for(u=zz(t0(l),11),f=Oct(Sst(Ux(CEe,1),lKt,8,0,[u.i.n,u.n,u.a])).a,c=new Wd(u.g);c.a<c.c.c.length;)d5(s=zz(t0(c),17))||(p=s.d,b=Oct(Sst(Ux(CEe,1),lKt,8,0,[p.i.n,p.n,p.a])).a,n.Math.abs(f-b)>dJt&&(a=t,r=new PS(f,o=h),Bq(s.a,r),zjt(this,s,a,r,!1),(d=t.r)&&(r=new PS(g=Uv(EB(Fwt(d.e,0))),o),Bq(s.a,r),zjt(this,s,a,r,!1),a=d,r=new PS(g,o=e-d.o*i),Bq(s.a,r),zjt(this,s,a,r,!1)),r=new PS(b,o),Bq(s.a,r),zjt(this,s,a,r,!1)))},TWt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},TWt.fg=function(){return kYt(),uIe},TWt.gg=function(){return kYt(),TIe},mZ(B3t,"SouthToNorthRoutingStrategy",1808),pDt(1806,661,{},yy),TWt.dg=function(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=e+t.o*i,l=new Wd(t.n);l.a<l.c.c.length;)for(u=zz(t0(l),11),f=Oct(Sst(Ux(CEe,1),lKt,8,0,[u.i.n,u.n,u.a])).b,c=new Wd(u.g);c.a<c.c.c.length;)d5(s=zz(t0(c),17))||(p=s.d,b=Oct(Sst(Ux(CEe,1),lKt,8,0,[p.i.n,p.n,p.a])).b,n.Math.abs(f-b)>dJt&&(a=t,r=new PS(o=h,f),Bq(s.a,r),zjt(this,s,a,r,!0),(d=t.r)&&(r=new PS(o,g=Uv(EB(Fwt(d.e,0)))),Bq(s.a,r),zjt(this,s,a,r,!0),a=d,r=new PS(o=e+d.o*i,g),Bq(s.a,r),zjt(this,s,a,r,!0)),r=new PS(o,b),Bq(s.a,r),zjt(this,s,a,r,!0)))},TWt.eg=function(t){return t.i.n.b+t.n.b+t.a.b},TWt.fg=function(){return kYt(),cIe},TWt.gg=function(){return kYt(),SIe},mZ(B3t,"WestToEastRoutingStrategy",1806),pDt(813,1,{},uzt),TWt.Ib=function(){return NEt(this.a)},TWt.b=0,TWt.c=!1,TWt.d=!1,TWt.f=0,mZ(R3t,"NubSpline",813),pDt(407,1,{407:1},APt,gQ),mZ(R3t,"NubSpline/PolarCP",407),pDt(1453,1,A3t,hvt),TWt.Yf=function(t){return aAt(zz(t,37))},TWt.pf=function(t,e){oZt(this,zz(t,37),e)},mZ(R3t,"SplineEdgeRouter",1453),pDt(268,1,{268:1},T6),TWt.Ib=function(){return this.a+" ->("+this.c+") "+this.b},TWt.c=0,mZ(R3t,"SplineEdgeRouter/Dependency",268),pDt(455,22,{3:1,35:1,22:1,455:1},cS);var Bve,Fve,Rve,jve,$ve,zve=qnt(R3t,"SplineEdgeRouter/SideToProcess",455,Zte,VV,M$);pDt(1454,1,FKt,xo),TWt.Mb=function(t){return wPt(),!zz(t,128).o},mZ(R3t,"SplineEdgeRouter/lambda$0$Type",1454),pDt(1455,1,{},vo),TWt.Ge=function(t){return wPt(),zz(t,128).v+1},mZ(R3t,"SplineEdgeRouter/lambda$1$Type",1455),pDt(1456,1,dKt,uS),TWt.td=function(t){iH(this.a,this.b,zz(t,46))},mZ(R3t,"SplineEdgeRouter/lambda$2$Type",1456),pDt(1457,1,dKt,lS),TWt.td=function(t){rH(this.a,this.b,zz(t,46))},mZ(R3t,"SplineEdgeRouter/lambda$3$Type",1457),pDt(128,1,{35:1,128:1},nSt,hHt),TWt.wd=function(t){return uk(this,zz(t,128))},TWt.b=0,TWt.e=!1,TWt.f=0,TWt.g=0,TWt.j=!1,TWt.k=!1,TWt.n=0,TWt.o=!1,TWt.p=!1,TWt.q=!1,TWt.s=0,TWt.u=0,TWt.v=0,TWt.F=0,mZ(R3t,"SplineSegment",128),pDt(459,1,{459:1},ko),TWt.a=0,TWt.b=!1,TWt.c=!1,TWt.d=!1,TWt.e=!1,TWt.f=0,mZ(R3t,"SplineSegment/EdgeInformation",459),pDt(1234,1,{},bo),mZ(H3t,rJt,1234),pDt(1235,1,TVt,wo),TWt.ue=function(t,e){return MIt(zz(t,135),zz(e,135))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(H3t,aJt,1235),pDt(1233,1,{},D_),mZ(H3t,"MrTree",1233),pDt(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},hS),TWt.Kf=function(){return OIt(this)},TWt.Xf=function(){return OIt(this)};var qve,Hve=qnt(H3t,"TreeLayoutPhases",393,Zte,k3,D$);pDt(1130,209,PQt,jF),TWt.Ze=function(t,e){var n,i,r,a,o,s;for(Hv(AB(tOt(t,(IDt(),Sxe))))||kQ(new Ag((UE(),new Bv(t)))),Uot(o=new C6,t),hct(o,(UHt(),uxe),t),yjt(t,o,s=new Pw),Kjt(t,o,s),a=o,i=new Wd(r=Bjt(this.a,a));i.a<i.c.c.length;)n=zz(t0(i),135),K_t(this.b,n,vat(e,1/r.c.length));MGt(a=nWt(r))},mZ(H3t,"TreeLayoutProvider",1130),pDt(1847,1,mKt,mo),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return TX(),LA(),dne},mZ(H3t,"TreeUtil/1",1847),pDt(1848,1,mKt,yo),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return TX(),LA(),dne},mZ(H3t,"TreeUtil/2",1848),pDt(502,134,{3:1,502:1,94:1,134:1}),TWt.g=0,mZ(U3t,"TGraphElement",502),pDt(188,502,{3:1,188:1,502:1,94:1,134:1},YX),TWt.Ib=function(){return this.b&&this.c?b0(this.b)+"->"+b0(this.c):"e_"+eut(this)},mZ(U3t,"TEdge",188),pDt(135,134,{3:1,135:1,94:1,134:1},C6),TWt.Ib=function(){var t,e,n,i,r;for(r=null,i=lwt(this.b,0);i.b!=i.d.c;)r+=(null==(n=zz(d3(i),86)).c||0==n.c.length?"n_"+n.g:"n_"+n.c)+"\n";for(e=lwt(this.a,0);e.b!=e.d.c;)r+=((t=zz(d3(e),188)).b&&t.c?b0(t.b)+"->"+b0(t.c):"e_"+eut(t))+"\n";return r};var Uve=mZ(U3t,"TGraph",135);pDt(633,502,{3:1,502:1,633:1,94:1,134:1}),mZ(U3t,"TShape",633),pDt(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},out),TWt.Ib=function(){return b0(this)};var Gve,Yve,Zve,Wve,Kve,Xve,Vve=mZ(U3t,"TNode",86);pDt(255,1,mKt,db),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new gb(lwt(this.a.d,0))},mZ(U3t,"TNode/2",255),pDt(358,1,VWt,gb),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return zz(d3(this.a),188).c},TWt.Ob=function(){return __(this.a)},TWt.Qb=function(){vet(this.a)},mZ(U3t,"TNode/2/1",358),pDt(1840,1,e1t,RF),TWt.pf=function(t,e){B$t(this,zz(t,135),e)},mZ(G3t,"FanProcessor",1840),pDt(327,22,{3:1,35:1,22:1,327:1,234:1},fS),TWt.Kf=function(){switch(this.g){case 0:return new Xy;case 1:return new RF;case 2:return new Do;case 3:return new Io;case 4:return new Lo;case 5:return new No;default:throw qw(new jv(T1t+(null!=this.f?this.f:""+this.g)))}};var Qve,Jve,txe,exe,nxe,ixe,rxe,axe,oxe,sxe,cxe,uxe,lxe,hxe,fxe,dxe,gxe,pxe,bxe,wxe,mxe,yxe,vxe,xxe,kxe,_xe,Axe,Exe,Txe,Cxe,Sxe,Ixe,Mxe,Dxe,Oxe,Lxe,Nxe,Pxe,Bxe,Fxe,Rxe,jxe=qnt(G3t,C1t,327,Zte,r7,O$);pDt(1843,1,e1t,Io),TWt.pf=function(t,e){cOt(this,zz(t,135),e)},TWt.a=0,mZ(G3t,"LevelHeightProcessor",1843),pDt(1844,1,mKt,Mo),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return TX(),LA(),dne},mZ(G3t,"LevelHeightProcessor/1",1844),pDt(1841,1,e1t,Do),TWt.pf=function(t,e){VCt(this,zz(t,135),e)},TWt.a=0,mZ(G3t,"NeighborsProcessor",1841),pDt(1842,1,mKt,Oo),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return TX(),LA(),dne},mZ(G3t,"NeighborsProcessor/1",1842),pDt(1845,1,e1t,Lo),TWt.pf=function(t,e){sOt(this,zz(t,135),e)},TWt.a=0,mZ(G3t,"NodePositionProcessor",1845),pDt(1839,1,e1t,Xy),TWt.pf=function(t,e){tHt(this,zz(t,135))},mZ(G3t,"RootProcessor",1839),pDt(1846,1,e1t,No),TWt.pf=function(t,e){bft(zz(t,135))},mZ(G3t,"Untreeifyer",1846),pDt(851,1,VVt,Th),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,W3t),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),xxe),(SCt(),bEe)),Hxe),edt((awt(),lEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,K3t),""),"Search Order"),"Which search order to use when computing a spanning tree."),yxe),bEe),Qxe),edt(lEe)))),jUt((new Eh,t))},mZ(X3t,"MrTreeMetaDataProvider",851),pDt(994,1,VVt,Eh),TWt.Qe=function(t){jUt(t)},mZ(X3t,"MrTreeOptions",994),pDt(995,1,{},Po),TWt.$e=function(){return new jF},TWt._e=function(t){},mZ(X3t,"MrTreeOptions/MrtreeFactory",995),pDt(480,22,{3:1,35:1,22:1,480:1},dS);var $xe,zxe,qxe,Hxe=qnt(X3t,"OrderWeighting",480,Zte,JV,L$);pDt(425,22,{3:1,35:1,22:1,425:1},gS);var Uxe,Gxe,Yxe,Zxe,Wxe,Kxe,Xxe,Vxe,Qxe=qnt(X3t,"TreeifyingOrder",425,Zte,QV,P$);pDt(1459,1,A3t,bh),TWt.Yf=function(t){return zz(t,135),Gxe},TWt.pf=function(t,e){xat(this,zz(t,135),e)},mZ("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),pDt(1460,1,A3t,wh),TWt.Yf=function(t){return zz(t,135),Yxe},TWt.pf=function(t,e){fSt(this,zz(t,135),e)},mZ("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),pDt(1461,1,A3t,ph),TWt.Yf=function(t){return zz(t,135),Zxe},TWt.pf=function(t,e){eFt(this,zz(t,135),e)},TWt.a=0,mZ("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),pDt(1462,1,A3t,mh),TWt.Yf=function(t){return zz(t,135),Wxe},TWt.pf=function(t,e){Bxt(zz(t,135),e)},mZ("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462),pDt(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},pS),TWt.Kf=function(){return ggt(this)},TWt.Xf=function(){return ggt(this)};var Jxe,tke,eke,nke,ike=qnt(J3t,"RadialLayoutPhases",495,Zte,tQ,N$);pDt(1131,209,PQt,M_),TWt.Ze=function(t,e){var n,i,r;if(DAt(e,"Radial layout",ASt(this,t).c.length),Hv(AB(tOt(t,(Zvt(),Dke))))||kQ(new Ag((UE(),new Bv(t)))),r=cAt(t),Qwt(t,(gB(),Kxe),r),!r)throw qw(new jv("The given graph is not a tree!"));for(0==(n=Uv(EB(tOt(t,Bke))))&&(n=fIt(t)),Qwt(t,Bke,n),i=new Wd(ASt(this,t));i.a<i.c.c.length;)zz(t0(i),51).pf(t,vat(e,1));HTt(e)},mZ(J3t,"RadialLayoutProvider",1131),pDt(549,1,TVt,I_),TWt.ue=function(t,e){return FFt(this.a,this.b,zz(t,33),zz(e,33))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},TWt.a=0,TWt.b=0,mZ(J3t,"RadialUtil/lambda$0$Type",549),pDt(1375,1,e1t,Fo),TWt.pf=function(t,e){bUt(zz(t,33),e)},mZ(n4t,"CalculateGraphSize",1375),pDt(442,22,{3:1,35:1,22:1,442:1,234:1},bS),TWt.Kf=function(){switch(this.g){case 0:return new qo;case 1:return new Bo;case 2:return new Fo;default:throw qw(new jv(T1t+(null!=this.f?this.f:""+this.g)))}};var rke,ake,oke,ske=qnt(n4t,C1t,442,Zte,F1,B$);pDt(645,1,{}),TWt.e=1,TWt.g=0,mZ(i4t,"AbstractRadiusExtensionCompaction",645),pDt(1772,645,{},bB),TWt.hg=function(t){var e,n,i,r,a,o,s,c,u;for(this.c=zz(tOt(t,(gB(),Kxe)),33),nd(this,this.c),this.d=Amt(zz(tOt(t,(Zvt(),Fke)),293)),(c=zz(tOt(t,Eke),19))&&ed(this,c.a),id(this,(xW(s=EB(tOt(t,(lWt(),LCe)))),s)),u=pBt(this.c),this.d&&this.d.lg(u),yRt(this,u),o=new Qv(Sst(Ux(YMe,1),r4t,33,0,[this.c])),n=0;n<2;n++)for(e=0;e<u.c.length;e++)r=new Qv(Sst(Ux(YMe,1),r4t,33,0,[(f1(e,u.c.length),zz(u.c[e],33))])),a=e<u.c.length-1?(f1(e+1,u.c.length),zz(u.c[e+1],33)):(f1(0,u.c.length),zz(u.c[0],33)),i=0==e?zz(PH(u,u.c.length-1),33):(f1(e-1,u.c.length),zz(u.c[e-1],33)),tEt(this,(f1(e,u.c.length),zz(u.c[e],33),o),i,a,r)},mZ(i4t,"AnnulusWedgeCompaction",1772),pDt(1374,1,e1t,Bo),TWt.pf=function(t,e){gkt(zz(t,33),e)},mZ(i4t,"GeneralCompactor",1374),pDt(1771,645,{},Ro),TWt.hg=function(t){var e,n,i,r;n=zz(tOt(t,(gB(),Kxe)),33),this.f=n,this.b=Amt(zz(tOt(t,(Zvt(),Fke)),293)),(r=zz(tOt(t,Eke),19))&&ed(this,r.a),id(this,(xW(i=EB(tOt(t,(lWt(),LCe)))),i)),e=pBt(n),this.b&&this.b.lg(e),yCt(this,e)},TWt.a=0,mZ(i4t,"RadialCompaction",1771),pDt(1779,1,{},jo),TWt.ig=function(t){var e,n,i,r,a,o;for(this.a=t,e=0,i=0,a=new Wd(o=pBt(t));a.a<a.c.c.length;)for(r=zz(t0(a),33),n=++i;n<o.c.length;n++)Q$t(this,r,(f1(n,o.c.length),zz(o.c[n],33)))&&(e+=1);return e},mZ(a4t,"CrossingMinimizationPosition",1779),pDt(1777,1,{},$o),TWt.ig=function(t){var e,i,r,a,o,s,c,u,h,f,d,g,p;for(r=0,i=new cG(JL(bLt(t).a.Kc(),new l));bDt(i);)e=zz(Y5(i),79),h=(c=SAt(zz(Ket((!e.c&&(e.c=new lR(RMe,e,5,8)),e.c),0),82))).i+c.g/2,f=c.j+c.f/2,a=t.i+t.g/2,o=t.j+t.f/2,(d=new Uk).a=h-a,d.b=f-o,Zxt(s=new PS(d.a,d.b),t.g,t.f),d.a-=s.a,d.b-=s.b,a=h-d.a,o=f-d.b,Zxt(u=new PS(d.a,d.b),c.g,c.f),d.a-=u.a,d.b-=u.b,g=(h=a+d.a)-a,p=(f=o+d.b)-o,r+=n.Math.sqrt(g*g+p*p);return r},mZ(a4t,"EdgeLengthOptimization",1777),pDt(1778,1,{},zo),TWt.ig=function(t){var e,i,r,a,o,s,c,u,h;for(r=0,i=new cG(JL(bLt(t).a.Kc(),new l));bDt(i);)e=zz(Y5(i),79),s=(o=SAt(zz(Ket((!e.c&&(e.c=new lR(RMe,e,5,8)),e.c),0),82))).i+o.g/2,c=o.j+o.f/2,a=zz(tOt(o,(lWt(),bCe)),8),u=s-(t.i+a.a+t.g/2),h=c-(t.j+a.b+t.f),r+=n.Math.sqrt(u*u+h*h);return r},mZ(a4t,"EdgeLengthPositionOptimization",1778),pDt(1373,645,e1t,qo),TWt.pf=function(t,e){fLt(this,zz(t,33),e)},mZ("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1373),pDt(426,22,{3:1,35:1,22:1,426:1},wS);var cke,uke,lke,hke,fke=qnt(s4t,"AnnulusWedgeCriteria",426,Zte,eQ,F$);pDt(380,22,{3:1,35:1,22:1,380:1},mS);var dke,gke,pke,bke,wke,mke,yke,vke,xke,kke,_ke,Ake,Eke,Tke,Cke,Ske,Ike,Mke,Dke,Oke,Lke,Nke,Pke,Bke,Fke,Rke,jke,$ke,zke,qke,Hke,Uke=qnt(s4t,zQt,380,Zte,R1,R$);pDt(852,1,VVt,yh),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,c4t),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),rft(0)),(SCt(),mEe)),Oee),edt((awt(),uEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,u4t),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,l4t),""),"Compaction"),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),bke),bEe),Uke),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,h4t),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),rft(1)),mEe),Oee),edt(lEe)))),o2(t,h4t,l4t,null),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,f4t),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),kke),bEe),Vke),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,d4t),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),Ake),bEe),fke),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,g4t),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),mke),bEe),Kke),edt(lEe)))),nYt((new vh,t))},mZ(s4t,"RadialMetaDataProvider",852),pDt(996,1,VVt,vh),TWt.Qe=function(t){nYt(t)},mZ(s4t,"RadialOptions",996),pDt(997,1,{},Ho),TWt.$e=function(){return new M_},TWt._e=function(t){},mZ(s4t,"RadialOptions/RadialFactory",997),pDt(340,22,{3:1,35:1,22:1,340:1},yS);var Gke,Yke,Zke,Wke,Kke=qnt(s4t,"RadialTranslationStrategy",340,Zte,_3,j$);pDt(293,22,{3:1,35:1,22:1,293:1},vS);var Xke,Vke=qnt(s4t,"SortingStrategy",293,Zte,$1,$$);pDt(1449,1,A3t,Uo),TWt.Yf=function(t){return zz(t,33),null},TWt.pf=function(t,e){CLt(this,zz(t,33),e)},TWt.c=0,mZ("org.eclipse.elk.alg.radial.p1position","EadesRadial",1449),pDt(1775,1,{},Go),TWt.jg=function(t){return Zwt(t)},mZ(b4t,"AnnulusWedgeByLeafs",1775),pDt(1776,1,{},Yo),TWt.jg=function(t){return X_t(this,t)},mZ(b4t,"AnnulusWedgeByNodeSpace",1776),pDt(1450,1,A3t,Zo),TWt.Yf=function(t){return zz(t,33),null},TWt.pf=function(t,e){g_t(this,zz(t,33),e)},mZ("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1450),pDt(811,1,{},Qy),TWt.kg=function(t){},TWt.lg=function(t){tm(this,t)},mZ(w4t,"IDSorter",811),pDt(1774,1,TVt,Wo),TWt.ue=function(t,e){return Vrt(zz(t,33),zz(e,33))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(w4t,"IDSorter/lambda$0$Type",1774),pDt(1773,1,{},Ort),TWt.kg=function(t){a2(this,t)},TWt.lg=function(t){t.dc()||(this.e||a2(this,tU(zz(t.Xb(0),33))),tm(this.e,t))},mZ(w4t,"PolarCoordinateSorter",1773),pDt(1136,209,PQt,Ko),TWt.Ze=function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A;if(DAt(e,"Rectangle Packing",1),e.n&&e.n&&t&&v0(e,c2(t),(qut(),sMe)),i=Uv(EB(tOt(t,(KOt(),f_e)))),g=zz(tOt(t,C_e),381),w=Hv(AB(tOt(t,v_e))),v=Hv(AB(tOt(t,T_e))),h=Hv(AB(tOt(t,b_e))),x=zz(tOt(t,S_e),116),y=Uv(EB(tOt(t,O_e))),r=Hv(AB(tOt(t,D_e))),f=Hv(AB(tOt(t,w_e))),b=Hv(AB(tOt(t,m_e))),A=Uv(EB(tOt(t,L_e))),!t.a&&(t.a=new nY(YMe,t,10,11)),Ert(_=t.a),b){for(d=new Nw,c=new DL(_);c.e!=c.i.gc();)C8(o=zz(kwt(c),33),p_e)&&(d.c[d.c.length]=o);for(u=new Wd(d);u.a<u.c.c.length;)utt(_,o=zz(t0(u),33));for(TX(),yO(d,new Xo),l=new Wd(d);l.a<l.c.c.length;)o=zz(t0(l),33),k=zz(tOt(o,p_e),19).a,lft(_,k=n.Math.min(k,_.i),o);for(p=0,s=new DL(_);s.e!=s.i.gc();)Qwt(o=zz(kwt(s),33),g_e,rft(p)),++p}(m=WCt(t)).a-=x.b+x.c,m.b-=x.d+x.a,m.a,A<0||A<m.a?(a=DRt(new kz(i,g,w),_,y,x),e.n&&e.n&&t&&v0(e,c2(t),(qut(),sMe))):a=new nH(i,A,0,(QLt(),j_e)),m.a+=x.b+x.c,m.b+=x.d+x.a,v||(Ert(_),a=kGt(new y3(i,h,f,r,y),_,n.Math.max(m.a,a.c),m,e,t,x)),mot(_,x),jYt(t,a.c+(x.b+x.c),a.b+(x.d+x.a),!1,!0),Hv(AB(tOt(t,E_e)))||kQ(new Ag((UE(),new Bv(t)))),e.n&&e.n&&t&&v0(e,c2(t),(qut(),sMe)),HTt(e)},mZ(x4t,"RectPackingLayoutProvider",1136),pDt(1137,1,TVt,Xo),TWt.ue=function(t,e){return put(zz(t,33),zz(e,33))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(x4t,"RectPackingLayoutProvider/lambda$0$Type",1137),pDt(1256,1,{},kz),TWt.a=0,TWt.c=!1,mZ(k4t,"AreaApproximation",1256);var Qke,Jke,t_e,e_e=dH(k4t,"BestCandidateFilter");pDt(638,1,{526:1},Vo),TWt.mg=function(t,e,i){var r,a,o,s,c,u;for(u=new Nw,o=RXt,c=new Wd(t);c.a<c.c.c.length;)s=zz(t0(c),220),o=n.Math.min(o,(s.c+(i.b+i.c))*(s.b+(i.d+i.a)));for(a=new Wd(t);a.a<a.c.c.length;)((r=zz(t0(a),220)).c+(i.b+i.c))*(r.b+(i.d+i.a))==o&&(u.c[u.c.length]=r);return u},mZ(k4t,"AreaFilter",638),pDt(639,1,{526:1},Qo),TWt.mg=function(t,e,i){var r,a,o,s,c,u;for(c=new Nw,u=RXt,s=new Wd(t);s.a<s.c.c.length;)o=zz(t0(s),220),u=n.Math.min(u,n.Math.abs((o.c+(i.b+i.c))/(o.b+(i.d+i.a))-e));for(a=new Wd(t);a.a<a.c.c.length;)r=zz(t0(a),220),n.Math.abs((r.c+(i.b+i.c))/(r.b+(i.d+i.a))-e)==u&&(c.c[c.c.length]=r);return c},mZ(k4t,"AspectRatioFilter",639),pDt(637,1,{526:1},Jo),TWt.mg=function(t,e,i){var r,a,o,s,c,u;for(u=new Nw,o=jXt,c=new Wd(t);c.a<c.c.c.length;)s=zz(t0(c),220),o=n.Math.max(o,VH(s.c+(i.b+i.c),s.b+(i.d+i.a),s.a));for(a=new Wd(t);a.a<a.c.c.length;)VH((r=zz(t0(a),220)).c+(i.b+i.c),r.b+(i.d+i.a),r.a)==o&&(u.c[u.c.length]=r);return u},mZ(k4t,"ScaleMeasureFilter",637),pDt(381,22,{3:1,35:1,22:1,381:1},xS);var n_e,i_e,r_e,a_e,o_e,s_e,c_e,u_e,l_e,h_e,f_e,d_e,g_e,p_e,b_e,w_e,m_e,y_e,v_e,x_e,k_e,__e,A_e,E_e,T_e,C_e,S_e,I_e,M_e,D_e,O_e,L_e,N_e=qnt(_4t,"OptimizationGoal",381,Zte,j1,z$);pDt(856,1,VVt,Ih),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,A4t),""),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),u_e),(SCt(),bEe)),N_e),edt((awt(),uEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,E4t),""),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),(lN(),!0)),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,T4t),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),rft(-1)),mEe),Oee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,C4t),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),rft(-1)),mEe),Oee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,S4t),""),"Only Area Approximation"),"If enabled only the width approximation step is executed and the nodes are placed accordingly. The nodes are layouted according to the packingStrategy. If set to true not expansion of nodes is taking place."),!1),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,I4t),""),"Compact Rows"),"Enables compaction. Compacts blocks if they do not use the full height of the row. This option allows to have a smaller drawing. If this option is disabled all nodes are placed next to each other in rows."),!0),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,M4t),""),"Fit Aspect Ratio"),"Expands nodes if expandNodes is true to fit the aspect ratio instead of only in their bounds. The option is only useful if the used packingStrategy is ASPECT_RATIO_DRIVEN, otherwise this may result in unreasonable ndoe expansion."),!1),gEe),kee),edt(uEe)))),o2(t,M4t,O4t,null),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,D4t),""),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),pEe),See),edt(uEe)))),PZt((new Mh,t))},mZ(_4t,"RectPackingMetaDataProvider",856),pDt(1004,1,VVt,Mh),TWt.Qe=function(t){PZt(t)},mZ(_4t,"RectPackingOptions",1004),pDt(1005,1,{},ts),TWt.$e=function(){return new Ko},TWt._e=function(t){},mZ(_4t,"RectPackingOptions/RectpackingFactory",1005),pDt(1257,1,{},y3),TWt.a=0,TWt.b=!1,TWt.c=0,TWt.d=0,TWt.e=!1,TWt.f=!1,TWt.g=0,mZ("org.eclipse.elk.alg.rectpacking.seconditeration","RowFillingAndCompaction",1257),pDt(187,1,{187:1},sut),TWt.a=0,TWt.c=!1,TWt.d=0,TWt.e=0,TWt.f=0,TWt.g=0,TWt.i=0,TWt.k=!1,TWt.o=RXt,TWt.p=RXt,TWt.r=0,TWt.s=0,TWt.t=0,mZ(N4t,"Block",187),pDt(211,1,{211:1},FQ),TWt.a=0,TWt.b=0,TWt.d=0,TWt.e=0,TWt.f=0,mZ(N4t,"BlockRow",211),pDt(443,1,{443:1},RQ),TWt.b=0,TWt.c=0,TWt.d=0,TWt.e=0,TWt.f=0,mZ(N4t,"BlockStack",443),pDt(220,1,{220:1},nH,sgt),TWt.a=0,TWt.b=0,TWt.c=0,TWt.d=0,TWt.e=0;var P_e,B_e,F_e,R_e,j_e,$_e=mZ(N4t,"DrawingData",220);pDt(355,22,{3:1,35:1,22:1,355:1},kS);var z_e,q_e,H_e,U_e,G_e=qnt(N4t,"DrawingDataDescriptor",355,Zte,N5,q$);pDt(200,1,{200:1},P0),TWt.b=0,TWt.c=0,TWt.e=0,TWt.f=0,mZ(N4t,"RectRow",200),pDt(756,1,{},Alt),TWt.j=0,mZ(B4t,w1t,756),pDt(1245,1,{},es),TWt.Je=function(t){return W8(t.a,t.b)},mZ(B4t,m1t,1245),pDt(1246,1,{},pb),TWt.Je=function(t){return w6(this.a,t)},mZ(B4t,y1t,1246),pDt(1247,1,{},bb),TWt.Je=function(t){return Dwt(this.a,t)},mZ(B4t,v1t,1247),pDt(1248,1,{},wb),TWt.Je=function(t){return cct(this.a,t)},mZ(B4t,"ElkGraphImporter/lambda$3$Type",1248),pDt(1249,1,{},mb),TWt.Je=function(t){return rMt(this.a,t)},mZ(B4t,x1t,1249),pDt(1133,209,PQt,O_),TWt.Ze=function(t,e){var n,i,r,a,o,s,c,u,l,h;for(C8(t,(TEt(),xAe))&&(h=TB(tOt(t,(qmt(),HAe))),(a=WFt(oit(),h))&&zz(uQ(a.f),209).Ze(t,vat(e,1))),Qwt(t,bAe,(O6(),J_e)),Qwt(t,wAe,(LTt(),aAe)),Qwt(t,mAe,(Nst(),WAe)),o=zz(tOt(t,(qmt(),jAe)),19).a,DAt(e,"Overlap removal",1),Hv(AB(tOt(t,RAe))),c=new yb(s=new Fm),n=GZt(i=new Alt,t),u=!0,r=0;r<o&&u;){if(Hv(AB(tOt(t,$Ae)))){if(s.a.$b(),HCt(new IO(c),n.i),0==s.a.gc())break;n.e=s}for(l2(this.b),SY(this.b,(Sdt(),q_e),(ME(),UAe)),SY(this.b,H_e,n.g),SY(this.b,U_e,(IE(),X_e)),this.a=LHt(this.b,n),l=new Wd(this.a);l.a<l.c.c.length;)zz(t0(l),51).pf(n,vat(e,1));okt(i,n),u=Hv(AB(vEt(n,(Wat(),Vre)))),++r}FUt(i,n),HTt(e)},mZ(B4t,"OverlapRemovalLayoutProvider",1133),pDt(1134,1,{},yb),mZ(B4t,"OverlapRemovalLayoutProvider/lambda$0$Type",1134),pDt(437,22,{3:1,35:1,22:1,437:1},_S);var Y_e,Z_e,W_e=qnt(B4t,"SPOrEPhases",437,Zte,z1,H$);pDt(1255,1,{},L_),mZ(B4t,"ShrinkTree",1255),pDt(1135,209,PQt,Jy),TWt.Ze=function(t,e){var n,i,r,a;C8(t,(TEt(),xAe))&&(a=TB(tOt(t,xAe)),(r=WFt(oit(),a))&&zz(uQ(r.f),209).Ze(t,vat(e,1))),n=GZt(i=new Alt,t),LLt(this.a,n,vat(e,1)),FUt(i,n)},mZ(B4t,"ShrinkTreeLayoutProvider",1135),pDt(300,134,{3:1,300:1,94:1,134:1},BQ),TWt.c=!1,mZ("org.eclipse.elk.alg.spore.graph","Graph",300),pDt(482,22,{3:1,35:1,22:1,482:1,246:1,234:1},LE),TWt.Kf=function(){return iut(this)},TWt.Xf=function(){return iut(this)};var K_e,X_e,V_e=qnt(F4t,zQt,482,Zte,RK,U$);pDt(551,22,{3:1,35:1,22:1,551:1,246:1,234:1},mB),TWt.Kf=function(){return new as},TWt.Xf=function(){return new as};var Q_e,J_e,tAe,eAe=qnt(F4t,"OverlapRemovalStrategy",551,Zte,jK,G$);pDt(430,22,{3:1,35:1,22:1,430:1},AS);var nAe,iAe,rAe,aAe,oAe,sAe,cAe=qnt(F4t,"RootSelection",430,Zte,iQ,Y$);pDt(316,22,{3:1,35:1,22:1,316:1},ES);var uAe,lAe,hAe,fAe,dAe,gAe,pAe,bAe,wAe,mAe,yAe,vAe,xAe,kAe,_Ae,AAe,EAe,TAe,CAe,SAe,IAe,MAe,DAe,OAe,LAe,NAe,PAe,BAe,FAe,RAe,jAe,$Ae,zAe,qAe,HAe,UAe,GAe=qnt(F4t,"SpanningTreeCostFunction",316,Zte,D5,Z$);pDt(1002,1,VVt,kh),TWt.Qe=function(t){xqt(t)},mZ(F4t,"SporeCompactionOptions",1002),pDt(1003,1,{},ns),TWt.$e=function(){return new Jy},TWt._e=function(t){},mZ(F4t,"SporeCompactionOptions/SporeCompactionFactory",1003),pDt(855,1,VVt,_h),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,j4t),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(SCt(),vEe)),Vee),edt((awt(),lEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,U4t),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),BAe),bEe),KAe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,$4t),K4t),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),NAe),bEe),VAe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,z4t),K4t),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),OAe),bEe),GAe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,q4t),K4t),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),vEe),Vee),edt(lEe)))),o2(t,q4t,H4t,SAe),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,H4t),K4t),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),MAe),bEe),cAe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,G4t),A2t),"Compaction Strategy"),"This option defines how the compaction is applied."),_Ae),bEe),V_e),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Y4t),A2t),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(lN(),!1)),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Z4t),X4t),"Upper limit for iterations of overlap removal"),null),rft(64)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,W4t),X4t),"Whether to run a supplementary scanline overlap check."),null),!0),gEe),kee),edt(lEe)))),ORt((new Ah,t)),xqt((new kh,t))},mZ(F4t,"SporeMetaDataProvider",855),pDt(XKt,1,VVt,Ah),TWt.Qe=function(t){ORt(t)},mZ(F4t,"SporeOverlapRemovalOptions",XKt),pDt(1001,1,{},is),TWt.$e=function(){return new O_},TWt._e=function(t){},mZ(F4t,"SporeOverlapRemovalOptions/SporeOverlapFactory",1001),pDt(530,22,{3:1,35:1,22:1,530:1,246:1,234:1},ZW),TWt.Kf=function(){return rut(this)},TWt.Xf=function(){return rut(this)};var YAe,ZAe,WAe,KAe=qnt(F4t,"StructureExtractionStrategy",530,Zte,$K,W$);pDt(429,22,{3:1,35:1,22:1,429:1,246:1,234:1},TS),TWt.Kf=function(){return pgt(this)},TWt.Xf=function(){return pgt(this)};var XAe,VAe=qnt(F4t,"TreeConstructionStrategy",429,Zte,nQ,K$);pDt(1443,1,A3t,rs),TWt.Yf=function(t){return zz(t,300),new z2},TWt.pf=function(t,e){Ekt(zz(t,300),e)},mZ(Q4t,"DelaunayTriangulationPhase",1443),pDt(1444,1,dKt,vb),TWt.td=function(t){Wz(this.a,zz(t,65).a)},mZ(Q4t,"DelaunayTriangulationPhase/lambda$0$Type",1444),pDt(783,1,A3t,Ky),TWt.Yf=function(t){return zz(t,300),new z2},TWt.pf=function(t,e){this.ng(zz(t,300),e)},TWt.ng=function(t,e){var n;DAt(e,"Minimum spanning tree construction",1),n=t.d?t.d.a:zz(PH(t.i,0),65).a,jst(this,(Hv(AB(vEt(t,(Wat(),Xre)))),Qqt(t.e,n,t.b)),t),HTt(e)},mZ(J4t,"MinSTPhase",783),pDt(1446,783,A3t,vy),TWt.ng=function(t,e){var n,i;DAt(e,"Maximum spanning tree construction",1),n=new xb(t),i=t.d?t.d.c:zz(PH(t.i,0),65).c,jst(this,(Hv(AB(vEt(t,(Wat(),Xre)))),Qqt(t.e,i,n)),t),HTt(e)},mZ(J4t,"MaxSTPhase",1446),pDt(1447,1,{},xb),TWt.Je=function(t){return IS(this.a,t)},mZ(J4t,"MaxSTPhase/lambda$0$Type",1447),pDt(1445,1,dKt,kb),TWt.td=function(t){FO(this.a,zz(t,65))},mZ(J4t,"MinSTPhase/lambda$0$Type",1445),pDt(785,1,A3t,as),TWt.Yf=function(t){return zz(t,300),new z2},TWt.pf=function(t,e){KAt(this,zz(t,300),e)},TWt.a=!1,mZ(t5t,"GrowTreePhase",785),pDt(786,1,dKt,_z),TWt.td=function(t){ist(this.a,this.b,this.c,zz(t,221))},mZ(t5t,"GrowTreePhase/lambda$0$Type",786),pDt(1448,1,A3t,os),TWt.Yf=function(t){return zz(t,300),new z2},TWt.pf=function(t,e){nyt(this,zz(t,300),e)},mZ(t5t,"ShrinkTreeCompactionPhase",1448),pDt(784,1,dKt,Az),TWt.td=function(t){dDt(this.a,this.b,this.c,zz(t,221))},mZ(t5t,"ShrinkTreeCompactionPhase/lambda$0$Type",784);var QAe,JAe,tEe=dH(x3t,"IGraphElementVisitor");pDt(860,1,{527:1},F0),TWt.og=function(t){var e;Uot(e=hFt(this,t),zz(FZ(this.b,t),94)),xLt(this,t,e)},mZ(BQt,"LayoutConfigurator",860);var eEe,nEe,iEe,rEe=dH(BQt,"LayoutConfigurator/IPropertyHolderOptionFilter");pDt(932,1,{1933:1},ss),TWt.pg=function(t,e){return Pst(),!t.Xe(e)},mZ(BQt,"LayoutConfigurator/lambda$0$Type",932),pDt(933,1,{1933:1},cs),TWt.pg=function(t,e){return T_(t,e)},mZ(BQt,"LayoutConfigurator/lambda$1$Type",933),pDt(931,1,{831:1},us),TWt.qg=function(t,e){return Pst(),!t.Xe(e)},mZ(BQt,"LayoutConfigurator/lambda$2$Type",931),pDt(934,1,FKt,LS),TWt.Mb=function(t){return VW(this.a,this.b,zz(t,1933))},mZ(BQt,"LayoutConfigurator/lambda$3$Type",934),pDt(858,1,{},ls),mZ(BQt,"RecursiveGraphLayoutEngine",858),pDt(296,60,qKt,xm,rx),mZ(BQt,"UnsupportedConfigurationException",296),pDt(453,60,qKt,ax),mZ(BQt,"UnsupportedGraphException",453),pDt(754,1,{}),mZ(x3t,"AbstractRandomListAccessor",754),pDt(500,754,{},INt),TWt.rg=function(){return null},TWt.d=!0,TWt.e=!0,TWt.f=0,mZ(n5t,"AlgorithmAssembler",500),pDt(1236,1,FKt,hs),TWt.Mb=function(t){return!!zz(t,123)},mZ(n5t,"AlgorithmAssembler/lambda$0$Type",1236),pDt(1237,1,{},_b),TWt.Kb=function(t){return dk(this.a,zz(t,123))},mZ(n5t,"AlgorithmAssembler/lambda$1$Type",1237),pDt(1238,1,FKt,fs),TWt.Mb=function(t){return!!zz(t,80)},mZ(n5t,"AlgorithmAssembler/lambda$2$Type",1238),pDt(1239,1,dKt,Ab),TWt.td=function(t){Jat(this.a,zz(t,80))},mZ(n5t,"AlgorithmAssembler/lambda$3$Type",1239),pDt(1240,1,dKt,NS),TWt.td=function(t){BP(this.a,this.b,zz(t,234))},mZ(n5t,"AlgorithmAssembler/lambda$4$Type",1240),pDt(1355,1,TVt,ds),TWt.ue=function(t,e){return $X(zz(t,234),zz(e,234))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(n5t,"EnumBasedFactoryComparator",1355),pDt(80,754,{80:1},z2),TWt.rg=function(){return new Fm},TWt.a=0,mZ(n5t,"LayoutProcessorConfiguration",80),pDt(1013,1,{527:1},Dh),TWt.og=function(t){eot(nEe,new Eb(t))},mZ(YVt,"DeprecatedLayoutOptionReplacer",1013),pDt(1014,1,dKt,gs),TWt.td=function(t){N7(zz(t,160))},mZ(YVt,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1014),pDt(1015,1,dKt,ps),TWt.td=function(t){Egt(zz(t,160))},mZ(YVt,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1015),pDt(1016,1,{},Eb),TWt.Od=function(t,e){FP(this.a,zz(t,146),zz(e,38))},mZ(YVt,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1016),pDt(149,1,{686:1,149:1},TAt),TWt.Fb=function(t){return k5(this,t)},TWt.sg=function(){return this.b},TWt.tg=function(){return this.c},TWt.ne=function(){return this.e},TWt.Hb=function(){return ymt(this.c)},TWt.Ib=function(){return"Layout Algorithm: "+this.c};var aEe,oEe=mZ(YVt,"LayoutAlgorithmData",149);pDt(263,1,{},bs),mZ(YVt,"LayoutAlgorithmData/Builder",263),pDt(1017,1,{527:1},ws),TWt.og=function(t){aL(t,239)&&!Hv(AB(t.We((lWt(),GTe))))&&j$t(zz(t,33))},mZ(YVt,"LayoutAlgorithmResolver",1017),pDt(229,1,{686:1,229:1},YJ),TWt.Fb=function(t){return!!aL(t,229)&&yR(this.b,zz(t,229).b)},TWt.sg=function(){return this.a},TWt.tg=function(){return this.b},TWt.ne=function(){return this.d},TWt.Hb=function(){return ymt(this.b)},TWt.Ib=function(){return"Layout Type: "+this.b},mZ(YVt,"LayoutCategoryData",229),pDt(344,1,{},ms),mZ(YVt,"LayoutCategoryData/Builder",344),pDt(867,1,{},DFt),mZ(YVt,"LayoutMetaDataService",867),pDt(868,1,{},YZ),mZ(YVt,"LayoutMetaDataService/Registry",868),pDt(478,1,{478:1},ys),mZ(YVt,"LayoutMetaDataService/Registry/Triple",478),pDt(869,1,i5t,vs),TWt.ug=function(){return new Uk},mZ(YVt,"LayoutMetaDataService/lambda$0$Type",869),pDt(870,1,r5t,xs),TWt.vg=function(t){return zO(zz(t,8))},mZ(YVt,"LayoutMetaDataService/lambda$1$Type",870),pDt(879,1,i5t,ks),TWt.ug=function(){return new Nw},mZ(YVt,"LayoutMetaDataService/lambda$10$Type",879),pDt(880,1,r5t,_s),TWt.vg=function(t){return new ej(zz(t,12))},mZ(YVt,"LayoutMetaDataService/lambda$11$Type",880),pDt(881,1,i5t,As),TWt.ug=function(){return new VA},mZ(YVt,"LayoutMetaDataService/lambda$12$Type",881),pDt(882,1,r5t,Es),TWt.vg=function(t){return Gz(zz(t,68))},mZ(YVt,"LayoutMetaDataService/lambda$13$Type",882),pDt(883,1,i5t,Ts),TWt.ug=function(){return new Fm},mZ(YVt,"LayoutMetaDataService/lambda$14$Type",883),pDt(884,1,r5t,Cs),TWt.vg=function(t){return QX(zz(t,53))},mZ(YVt,"LayoutMetaDataService/lambda$15$Type",884),pDt(885,1,i5t,Ss),TWt.ug=function(){return new hD},mZ(YVt,"LayoutMetaDataService/lambda$16$Type",885),pDt(886,1,r5t,Is),TWt.vg=function(t){return T4(zz(t,53))},mZ(YVt,"LayoutMetaDataService/lambda$17$Type",886),pDt(887,1,i5t,Ms),TWt.ug=function(){return new Gm},mZ(YVt,"LayoutMetaDataService/lambda$18$Type",887),pDt(888,1,r5t,Ds),TWt.vg=function(t){return Uz(zz(t,208))},mZ(YVt,"LayoutMetaDataService/lambda$19$Type",888),pDt(871,1,i5t,Os),TWt.ug=function(){return new xy},mZ(YVt,"LayoutMetaDataService/lambda$2$Type",871),pDt(872,1,r5t,Ls),TWt.vg=function(t){return new Rk(zz(t,74))},mZ(YVt,"LayoutMetaDataService/lambda$3$Type",872),pDt(873,1,i5t,Ns),TWt.ug=function(){return new fy},mZ(YVt,"LayoutMetaDataService/lambda$4$Type",873),pDt(874,1,r5t,Ps),TWt.vg=function(t){return new Dj(zz(t,142))},mZ(YVt,"LayoutMetaDataService/lambda$5$Type",874),pDt(875,1,i5t,Fs),TWt.ug=function(){return new dy},mZ(YVt,"LayoutMetaDataService/lambda$6$Type",875),pDt(876,1,r5t,Rs),TWt.vg=function(t){return new Mj(zz(t,116))},mZ(YVt,"LayoutMetaDataService/lambda$7$Type",876),pDt(877,1,i5t,js),TWt.ug=function(){return new Qs},mZ(YVt,"LayoutMetaDataService/lambda$8$Type",877),pDt(878,1,r5t,$s),TWt.vg=function(t){return new rtt(zz(t,373))},mZ(YVt,"LayoutMetaDataService/lambda$9$Type",878);var sEe,cEe,uEe,lEe,hEe,fEe=dH(MQt,"IProperty");pDt(23,1,{35:1,686:1,23:1,146:1},gCt),TWt.wd=function(t){return bL(this,zz(t,146))},TWt.Fb=function(t){return aL(t,23)?yR(this.f,zz(t,23).f):aL(t,146)&&yR(this.f,zz(t,146).tg())},TWt.wg=function(){var t;if(aL(this.b,4)){if(null==(t=Jpt(this.b)))throw qw(new $v(u5t+this.f+"'. Make sure it's type is registered with the "+(_B(dDe),dDe.k)+o5t));return t}return this.b},TWt.sg=function(){return this.d},TWt.tg=function(){return this.f},TWt.ne=function(){return this.i},TWt.Hb=function(){return ymt(this.f)},TWt.Ib=function(){return"Layout Option: "+this.f},mZ(YVt,"LayoutOptionData",23),pDt(24,1,{},zs),mZ(YVt,"LayoutOptionData/Builder",24),pDt(175,22,{3:1,35:1,22:1,175:1},DS);var dEe,gEe,pEe,bEe,wEe,mEe,yEe,vEe,xEe,kEe=qnt(YVt,"LayoutOptionData/Target",175,Zte,M5,X$);pDt(277,22,{3:1,35:1,22:1,277:1},OS);var _Ee,AEe,EEe,TEe=qnt(YVt,"LayoutOptionData/Type",277,Zte,$et,V$);pDt(110,1,{110:1},dD,YK,bV),TWt.Fb=function(t){var e;return!(null==t||!aL(t,110))&&(e=zz(t,110),aK(this.c,e.c)&&aK(this.d,e.d)&&aK(this.b,e.b)&&aK(this.a,e.a))},TWt.Hb=function(){return flt(Sst(Ux(Ote,1),HWt,1,5,[this.c,this.d,this.b,this.a]))},TWt.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},TWt.a=0,TWt.b=0,TWt.c=0,TWt.d=0,mZ(f1t,"ElkRectangle",110),pDt(8,1,{3:1,4:1,8:1,414:1},Uk,ZJ,PS,gD),TWt.Fb=function(t){return ert(this,t)},TWt.Hb=function(){return KM(this.a)+gvt(KM(this.b))},TWt.Jf=function(t){var e,n,i;for(n=0;n<t.length&&Blt((d1(n,t.length),t.charCodeAt(n)),u1t);)++n;for(e=t.length;e>0&&Blt((d1(e-1,t.length),t.charCodeAt(e-1)),l1t);)--e;if(n>=e)throw qw(new jv("The given string does not contain any numbers."));if(2!=(i=kRt(t.substr(n,e-n),",|;|\r|\n")).length)throw qw(new jv("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=gTt(REt(i[0])),this.b=gTt(REt(i[1]))}catch(t){throw aL(t=dst(t),127)?qw(new jv(h1t+t)):qw(t)}},TWt.Ib=function(){return"("+this.a+","+this.b+")"},TWt.a=0,TWt.b=0;var CEe=mZ(f1t,"KVector",8);pDt(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},xy,Rk,YP),TWt.Pc=function(){return Xut(this)},TWt.Jf=function(t){var e,n,i,r,a;n=kRt(t,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),vX(this);try{for(e=0,r=0,i=0,a=0;e<n.length;)null!=n[e]&&REt(n[e]).length>0&&(r%2==0?i=gTt(n[e]):a=gTt(n[e]),r>0&&r%2!=0&&Bq(this,new PS(i,a)),++r),++e}catch(t){throw aL(t=dst(t),127)?qw(new jv("The given string does not match the expected format for vectors."+t)):qw(t)}},TWt.Ib=function(){var t,e,n;for(t=new fN("("),e=lwt(this,0);e.b!=e.d.c;)cM(t,(n=zz(d3(e),8)).a+","+n.b),e.b!=e.d.c&&(t.a+="; ");return(t.a+=")",t).a};var SEe,IEe,MEe,DEe,OEe,LEe,NEe=mZ(f1t,"KVectorChain",74);pDt(248,22,{3:1,35:1,22:1,248:1},BS);var PEe,BEe,FEe,REe,jEe,$Ee,zEe,qEe,HEe,UEe,GEe,YEe,ZEe,WEe,KEe,XEe,VEe,QEe,JEe,tTe=qnt(h5t,"Alignment",248,Zte,Q8,Q$);pDt(979,1,VVt,Oh),TWt.Qe=function(t){Gjt(t)},mZ(h5t,"BoxLayouterOptions",979),pDt(980,1,{},Bs),TWt.$e=function(){return new Gs},TWt._e=function(t){},mZ(h5t,"BoxLayouterOptions/BoxFactory",980),pDt(291,22,{3:1,35:1,22:1,291:1},FS);var eTe,nTe,iTe,rTe,aTe,oTe,sTe,cTe,uTe,lTe,hTe,fTe,dTe,gTe,pTe,bTe,wTe,mTe,yTe,vTe,xTe,kTe,_Te,ATe,ETe,TTe,CTe,STe,ITe,MTe,DTe,OTe,LTe,NTe,PTe,BTe,FTe,RTe,jTe,$Te,zTe,qTe,HTe,UTe,GTe,YTe,ZTe,WTe,KTe,XTe,VTe,QTe,JTe,tCe,eCe,nCe,iCe,rCe,aCe,oCe,sCe,cCe,uCe,lCe,hCe,fCe,dCe,gCe,pCe,bCe,wCe,mCe,yCe,vCe,xCe,kCe,_Ce,ACe,ECe,TCe,CCe,SCe,ICe,MCe,DCe,OCe,LCe,NCe,PCe,BCe,FCe,RCe,jCe,$Ce,zCe,qCe,HCe=qnt(h5t,"ContentAlignment",291,Zte,V8,J$);pDt(684,1,VVt,Lh),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,p5t),""),"Layout Algorithm"),"Select a specific layout algorithm."),(SCt(),vEe)),Vee),edt((awt(),lEe))))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,b5t),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),yEe),oEe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,K2t),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),rTe),bEe),tTe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,XQt),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,w5t),""),"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."),yEe),NEe),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,c3t),""),"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."),hTe),wEe),HCe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,W2t),""),"Debug Mode"),"Whether additional debug information shall be generated."),(lN(),!1)),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,J2t),""),EQt),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),gTe),bEe),WCe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,x2t),""),"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."),yTe),bEe),cSe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,O4t),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,b2t),""),"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`."),ATe),bEe),TSe),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[uEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,VQt),""),"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."),WTe),yEe),jse),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[uEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,_Jt),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,v3t),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,TJt),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,AJt),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),cCe),bEe),oIe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,w3t),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),yEe),CEe),_U(uEe,Sst(Ux(kEe,1),LKt,175,0,[hEe,cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,mJt),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),mEe),Oee),_U(uEe,Sst(Ux(kEe,1),LKt,175,0,[sEe]))))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,xJt),""),"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)."),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,kJt),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,u3t),""),"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."),DTe),yEe),NEe),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,f3t),""),"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),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,d3t),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,m5t),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),yEe),RNe),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,m3t),""),"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."),LTe),yEe),_se),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Y2t),""),"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),gEe),kee),_U(uEe,Sst(Ux(kEe,1),LKt,175,0,[sEe,hEe,cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,y5t),""),"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),pEe),See),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,v5t),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,x5t),""),"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'."),rft(100)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,k5t),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,_5t),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),rft(4e3)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,A5t),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),rft(400)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,E5t),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,T5t),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,C5t),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,S5t),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,g5t),"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."),cTe),bEe),aMe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,N2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,P2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,WQt),k2t),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,B2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,vJt),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,F2t),k2t),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,R2t),k2t),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,z2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,j2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,$2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,yJt),k2t),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,q2t),k2t),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,H2t),k2t),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),pEe),See),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[uEe]))))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,U2t),k2t),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),yEe),lMe),_U(uEe,Sst(Ux(kEe,1),LKt,175,0,[sEe,hEe,cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,y3t),k2t),"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."),BCe),yEe),_se),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,b3t),O5t),"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)."),mEe),Oee),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[uEe]))))),o2(t,b3t,p3t,QTe),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,p3t),O5t),"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."),XTe),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,t3t),L5t),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),PTe),yEe),jse),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,IJt),L5t),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),FTe),wEe),USe),_U(uEe,Sst(Ux(kEe,1),LKt,175,0,[cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,i3t),N5t),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),tCe),bEe),QSe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,r3t),N5t),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),bEe),QSe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,a3t),N5t),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),bEe),QSe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,o3t),N5t),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),bEe),QSe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,s3t),N5t),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),bEe),QSe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,SJt),P5t),"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."),jTe),wEe),VIe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,CJt),P5t),"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."),UTe),wEe),iMe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,qJt),P5t),"Node Size Minimum"),"The minimal size to which a node can be reduced."),qTe),yEe),CEe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Q2t),P5t),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,l3t),O2t),"Edge Label Placement"),"Gives a hint on where to put edge labels."),wTe),bEe),tSe),edt(cEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,EJt),O2t),"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),gEe),kee),edt(cEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,I5t),"font"),"Font Name"),"Font name used for a label."),vEe),Vee),edt(cEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,M5t),"font"),"Font Size"),"Font size used for a label."),mEe),Oee),edt(cEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,g3t),B5t),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),yEe),CEe),edt(hEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,h3t),B5t),"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."),mEe),Oee),edt(hEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Z2t),B5t),"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."),pCe),bEe),$Ie),edt(hEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,G2t),B5t),"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."),pEe),See),edt(hEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,MJt),F5t),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),fCe),wEe),IIe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,e3t),F5t),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,n3t),F5t),"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),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,X2t),R5t),"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),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,V2t),R5t),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),gEe),kee),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,KQt),"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),pEe),See),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,D5t),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),xTe),bEe),vSe),edt(sEe)))),PE(t,new YJ(vk(kk(xk(new ms,p1t),"Layered"),'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.'))),PE(t,new YJ(vk(kk(xk(new ms,"org.eclipse.elk.orthogonal"),"Orthogonal"),'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.'))),PE(t,new YJ(vk(kk(xk(new ms,wJt),"Force"),"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."))),PE(t,new YJ(vk(kk(xk(new ms,"org.eclipse.elk.circle"),"Circle"),"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."))),PE(t,new YJ(vk(kk(xk(new ms,Q3t),"Tree"),"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."))),PE(t,new YJ(vk(kk(xk(new ms,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),PE(t,new YJ(vk(kk(xk(new ms,p4t),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),gRt((new Nh,t)),Gjt((new Oh,t)),RBt((new Ph,t))},mZ(h5t,"CoreOptions",684),pDt(103,22,{3:1,35:1,22:1,103:1},RS);var UCe,GCe,YCe,ZCe,WCe=qnt(h5t,EQt,103,Zte,S5,nz);pDt(272,22,{3:1,35:1,22:1,272:1},jS);var KCe,XCe,VCe,QCe,JCe,tSe=qnt(h5t,"EdgeLabelPlacement",272,Zte,H1,iz);pDt(218,22,{3:1,35:1,22:1,218:1},$S);var eSe,nSe,iSe,rSe,aSe,oSe,sSe,cSe=qnt(h5t,"EdgeRouting",218,Zte,T3,rz);pDt(312,22,{3:1,35:1,22:1,312:1},zS);var uSe,lSe,hSe,fSe,dSe,gSe,pSe,bSe,wSe,mSe,ySe,vSe=qnt(h5t,"EdgeType",312,Zte,o7,az);pDt(977,1,VVt,Nh),TWt.Qe=function(t){gRt(t)},mZ(h5t,"FixedLayouterOptions",977),pDt(978,1,{},Xs),TWt.$e=function(){return new Hs},TWt._e=function(t){},mZ(h5t,"FixedLayouterOptions/FixedFactory",978),pDt(334,22,{3:1,35:1,22:1,334:1},qS);var xSe,kSe,_Se,ASe,ESe,TSe=qnt(h5t,"HierarchyHandling",334,Zte,q1,oz);pDt(285,22,{3:1,35:1,22:1,285:1},HS);var CSe,SSe,ISe,MSe,DSe,OSe,LSe,NSe,PSe,BSe,FSe=qnt(h5t,"LabelSide",285,Zte,E3,sz);pDt(93,22,{3:1,35:1,22:1,93:1},US);var RSe,jSe,$Se,zSe,qSe,HSe,USe=qnt(h5t,"NodeLabelPlacement",93,Zte,knt,cz);pDt(249,22,{3:1,35:1,22:1,249:1},GS);var GSe,YSe,ZSe,WSe,KSe,XSe,VSe,QSe=qnt(h5t,"PortAlignment",249,Zte,I5,uz);pDt(98,22,{3:1,35:1,22:1,98:1},YS);var JSe,tIe,eIe,nIe,iIe,rIe,aIe,oIe=qnt(h5t,"PortConstraints",98,Zte,T8,lz);pDt(273,22,{3:1,35:1,22:1,273:1},ZS);var sIe,cIe,uIe,lIe,hIe,fIe,dIe,gIe,pIe,bIe,wIe,mIe,yIe,vIe,xIe,kIe,_Ie,AIe,EIe,TIe,CIe,SIe,IIe=qnt(h5t,"PortLabelPlacement",273,Zte,a7,hz);pDt(61,22,{3:1,35:1,22:1,61:1},WS);var MIe,DIe,OIe,LIe,NIe,PIe,BIe,FIe,RIe,jIe,$Ie=qnt(h5t,"PortSide",61,Zte,l5,gz);pDt(981,1,VVt,Ph),TWt.Qe=function(t){RBt(t)},mZ(h5t,"RandomLayouterOptions",981),pDt(982,1,{},Vs),TWt.$e=function(){return new ec},TWt._e=function(t){},mZ(h5t,"RandomLayouterOptions/RandomFactory",982),pDt(374,22,{3:1,35:1,22:1,374:1},KS);var zIe,qIe,HIe,UIe,GIe,YIe,ZIe,WIe,KIe,XIe,VIe=qnt(h5t,"SizeConstraint",374,Zte,A3,fz);pDt(259,22,{3:1,35:1,22:1,259:1},XS);var QIe,JIe,tMe,eMe,nMe,iMe=qnt(h5t,"SizeOptions",259,Zte,Ait,dz);pDt(370,1,{1949:1},Zy),TWt.b=!1,TWt.c=0,TWt.d=-1,TWt.e=null,TWt.f=null,TWt.g=-1,TWt.j=!1,TWt.k=!1,TWt.n=!1,TWt.o=0,TWt.q=0,TWt.r=0,mZ(x3t,"BasicProgressMonitor",370),pDt(972,209,PQt,Gs),TWt.Ze=function(t,e){var n,i,r,a,o,s,c,u,l;DAt(e,"Box layout",2),r=Gv(EB(tOt(t,(CEt(),ZEe)))),a=zz(tOt(t,UEe),116),n=Hv(AB(tOt(t,jEe))),i=Hv(AB(tOt(t,$Ee))),0===zz(tOt(t,FEe),311).g?(s=new ej((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a)),TX(),yO(s,new Tb(i)),o=s,c=WCt(t),(null==(u=EB(tOt(t,BEe)))||(xW(u),u<=0))&&(u=1.3),jYt(t,(l=HYt(o,r,a,c.a,c.b,n,(xW(u),u))).a,l.b,!1,!0)):kHt(t,r,a,n),HTt(e)},mZ(x3t,"BoxLayoutProvider",972),pDt(973,1,TVt,Tb),TWt.ue=function(t,e){return hNt(this,zz(t,33),zz(e,33))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},TWt.a=!1,mZ(x3t,"BoxLayoutProvider/1",973),pDt(157,1,{157:1},Get,GP),TWt.Ib=function(){return this.c?YFt(this.c):NEt(this.b)},mZ(x3t,"BoxLayoutProvider/Group",157),pDt(311,22,{3:1,35:1,22:1,311:1},VS);var rMe,aMe=qnt(x3t,"BoxLayoutProvider/PackingMode",311,Zte,C3,pz);pDt(974,1,TVt,Ys),TWt.ue=function(t,e){return BX(zz(t,157),zz(e,157))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(x3t,"BoxLayoutProvider/lambda$0$Type",974),pDt(975,1,TVt,Zs),TWt.ue=function(t,e){return aX(zz(t,157),zz(e,157))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(x3t,"BoxLayoutProvider/lambda$1$Type",975),pDt(976,1,TVt,Ws),TWt.ue=function(t,e){return oX(zz(t,157),zz(e,157))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(x3t,"BoxLayoutProvider/lambda$2$Type",976),pDt(1365,1,{831:1},Ks),TWt.qg=function(t,e){return DE(),!aL(e,160)||T_((Pst(),zz(t,160)),e)},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),pDt(1366,1,dKt,Cb),TWt.td=function(t){Jut(this.a,zz(t,146))},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),pDt(1367,1,dKt,Us),TWt.td=function(t){zz(t,94),DE()},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),pDt(1371,1,dKt,Sb),TWt.td=function(t){Drt(this.a,zz(t,94))},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),pDt(1369,1,FKt,QS),TWt.Mb=function(t){return Xct(this.a,this.b,zz(t,146))},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),pDt(1368,1,FKt,JS),TWt.Mb=function(t){return OP(this.a,this.b,zz(t,831))},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),pDt(1370,1,dKt,tI),TWt.td=function(t){$G(this.a,this.b,zz(t,146))},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),pDt(935,1,{},qs),TWt.Kb=function(t){return vD(t)},TWt.Fb=function(t){return this===t},mZ(x3t,"ElkUtil/lambda$0$Type",935),pDt(936,1,dKt,eI),TWt.td=function(t){aMt(this.a,this.b,zz(t,79))},TWt.a=0,TWt.b=0,mZ(x3t,"ElkUtil/lambda$1$Type",936),pDt(937,1,dKt,nI),TWt.td=function(t){_v(this.a,this.b,zz(t,202))},TWt.a=0,TWt.b=0,mZ(x3t,"ElkUtil/lambda$2$Type",937),pDt(938,1,dKt,iI),TWt.td=function(t){eO(this.a,this.b,zz(t,137))},TWt.a=0,TWt.b=0,mZ(x3t,"ElkUtil/lambda$3$Type",938),pDt(939,1,dKt,Ib),TWt.td=function(t){aH(this.a,zz(t,469))},mZ(x3t,"ElkUtil/lambda$4$Type",939),pDt(342,1,{35:1,342:1},Ow),TWt.wd=function(t){return mL(this,zz(t,236))},TWt.Fb=function(t){var e;return!!aL(t,342)&&(e=zz(t,342),this.a==e.a)},TWt.Hb=function(){return SQ(this.a)},TWt.Ib=function(){return this.a+" (exclusive)"},TWt.a=0,mZ(x3t,"ExclusiveBounds/ExclusiveLowerBound",342),pDt(1138,209,PQt,Hs),TWt.Ze=function(t,e){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k,_,A;for(DAt(e,"Fixed Layout",1),o=zz(tOt(t,(lWt(),mTe)),218),d=0,g=0,m=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));m.e!=m.i.gc();){for(b=zz(kwt(m),33),(A=zz(tOt(b,(Wut(),bSe)),8))&&(TD(b,A.a,A.b),zz(tOt(b,hSe),174).Hc((vpt(),BIe))&&(p=zz(tOt(b,dSe),8)).a>0&&p.b>0&&jYt(b,p.a,p.b,!0,!0)),d=n.Math.max(d,b.i+b.g),g=n.Math.max(g,b.j+b.f),h=new DL((!b.n&&(b.n=new nY(GMe,b,1,7)),b.n));h.e!=h.i.gc();)c=zz(kwt(h),137),(A=zz(tOt(c,bSe),8))&&TD(c,A.a,A.b),d=n.Math.max(d,b.i+c.i+c.g),g=n.Math.max(g,b.j+c.j+c.f);for(x=new DL((!b.c&&(b.c=new nY(ZMe,b,9,9)),b.c));x.e!=x.i.gc();)for(v=zz(kwt(x),118),(A=zz(tOt(v,bSe),8))&&TD(v,A.a,A.b),k=b.i+v.i,_=b.j+v.j,d=n.Math.max(d,k+v.g),g=n.Math.max(g,_+v.f),u=new DL((!v.n&&(v.n=new nY(GMe,v,1,7)),v.n));u.e!=u.i.gc();)c=zz(kwt(u),137),(A=zz(tOt(c,bSe),8))&&TD(c,A.a,A.b),d=n.Math.max(d,k+c.i+c.g),g=n.Math.max(g,_+c.j+c.f);for(a=new cG(JL(bLt(b).a.Kc(),new l));bDt(a);)f=$Yt(i=zz(Y5(a),79)),d=n.Math.max(d,f.a),g=n.Math.max(g,f.b);for(r=new cG(JL(pLt(b).a.Kc(),new l));bDt(r);)QQ(SEt(i=zz(Y5(r),79)))!=t&&(f=$Yt(i),d=n.Math.max(d,f.a),g=n.Math.max(g,f.b))}if(o==(Tdt(),XCe))for(w=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));w.e!=w.i.gc();)for(r=new cG(JL(bLt(b=zz(kwt(w),33)).a.Kc(),new l));bDt(r);)0==(s=a$t(i=zz(Y5(r),79))).b?Qwt(i,MTe,null):Qwt(i,MTe,s);Hv(AB(tOt(t,(Wut(),fSe))))||jYt(t,d+(y=zz(tOt(t,gSe),116)).b+y.c,g+y.d+y.a,!0,!0),HTt(e)},mZ(x3t,"FixedLayoutProvider",1138),pDt(373,134,{3:1,414:1,373:1,94:1,134:1},Qs,rtt),TWt.Jf=function(t){var e,n,i,r,a,o,s;if(t)try{for(o=kRt(t,";,;"),r=0,a=(i=o).length;r<a;++r){if(e=kRt(i[r],"\\:"),!(n=mUt(oit(),e[0])))throw qw(new jv("Invalid option id: "+e[0]));if(null==(s=tUt(n,e[1])))throw qw(new jv("Invalid option value: "+e[1]));null==s?(!this.q&&(this.q=new Pw),m6(this.q,n)):(!this.q&&(this.q=new Pw),KW(this.q,n,s))}}catch(t){throw aL(t=dst(t),102)?qw(new zut(t)):qw(t)}},TWt.Ib=function(){return TB(C4(OK((this.q?this.q:(TX(),TX(),hne)).vc().Oc(),new Js),P9(new Vz,new J,new W,new K,Sst(Ux(tie,1),LKt,132,0,[]))))};var oMe,sMe,cMe,uMe,lMe=mZ(x3t,"IndividualSpacings",373);pDt(971,1,{},Js),TWt.Kb=function(t){return FX(zz(t,42))},mZ(x3t,"IndividualSpacings/lambda$0$Type",971),pDt(709,1,{},uU),TWt.c=0,mZ(x3t,"InstancePool",709),pDt(1275,1,{},tc),mZ(x3t,"LoggedGraph",1275),pDt(396,22,{3:1,35:1,22:1,396:1},aI);var hMe,fMe,dMe,gMe=qnt(x3t,"LoggedGraph/Type",396,Zte,S3,bz);pDt(46,1,{20:1,46:1},rI),TWt.Jc=function(t){n5(this,t)},TWt.Fb=function(t){var e,n,i;return!!aL(t,46)&&(n=zz(t,46),e=null==this.a?null==n.a:Pht(this.a,n.a),i=null==this.b?null==n.b:Pht(this.b,n.b),e&&i)},TWt.Hb=function(){var t,e,n;return t=-65536&(e=null==this.a?0:eut(this.a)),e&VKt^(-65536&(n=null==this.b?0:eut(this.b)))>>16&VKt|t^(n&VKt)<<16},TWt.Kc=function(){return new Mb(this)},TWt.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+qdt(this.b)+")":null==this.b?"pair("+qdt(this.a)+",null)":"pair("+qdt(this.a)+","+qdt(this.b)+")"},mZ(x3t,"Pair",46),pDt(983,1,VWt,Mb),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},TWt.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 qw(new vm)},TWt.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),qw(new pm)},TWt.b=!1,TWt.c=!1,mZ(x3t,"Pair/1",983),pDt(448,1,{448:1},KK),TWt.Fb=function(t){return aK(this.a,zz(t,448).a)&&aK(this.c,zz(t,448).c)&&aK(this.d,zz(t,448).d)&&aK(this.b,zz(t,448).b)},TWt.Hb=function(){return flt(Sst(Ux(Ote,1),HWt,1,5,[this.a,this.c,this.d,this.b]))},TWt.Ib=function(){return"("+this.a+zWt+this.c+zWt+this.d+zWt+this.b+")"},mZ(x3t,"Quadruple",448),pDt(1126,209,PQt,ec),TWt.Ze=function(t,e){var n;DAt(e,"Random Layout",1),0!=(!t.a&&(t.a=new nY(YMe,t,10,11)),t.a).i?(rYt(t,(n=zz(tOt(t,(ypt(),NIe)),19))&&0!=n.a?new S4(n.a):new ldt,Gv(EB(tOt(t,DIe))),Gv(EB(tOt(t,PIe))),zz(tOt(t,OIe),116)),HTt(e)):HTt(e)},mZ(x3t,"RandomLayoutProvider",1126),pDt(553,1,{}),TWt.qf=function(){return new PS(this.f.i,this.f.j)},TWt.We=function(t){return _V(t,(lWt(),oCe))?tOt(this.f,dMe):tOt(this.f,t)},TWt.rf=function(){return new PS(this.f.g,this.f.f)},TWt.sf=function(){return this.g},TWt.Xe=function(t){return C8(this.f,t)},TWt.tf=function(t){Snt(this.f,t.a),Int(this.f,t.b)},TWt.uf=function(t){Cnt(this.f,t.a),Tnt(this.f,t.b)},TWt.vf=function(t){this.g=t},TWt.g=0,mZ(H5t,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),pDt(554,1,{839:1},Db),TWt.wf=function(){var t,e;if(!this.b)for(this.b=S2(yK(this.a).i),e=new DL(yK(this.a));e.e!=e.i.gc();)t=zz(kwt(e),137),Wz(this.b,new Fv(t));return this.b},TWt.b=null,mZ(H5t,"ElkGraphAdapters/ElkEdgeAdapter",554),pDt(301,553,{},Bv),TWt.xf=function(){return ivt(this)},TWt.a=null,mZ(H5t,"ElkGraphAdapters/ElkGraphAdapter",301),pDt(630,553,{181:1},Fv),mZ(H5t,"ElkGraphAdapters/ElkLabelAdapter",630),pDt(629,553,{680:1},QN),TWt.wf=function(){return evt(this)},TWt.Af=function(){var t;return!(t=zz(tOt(this.f,(lWt(),OTe)),142))&&(t=new fy),t},TWt.Cf=function(){return nvt(this)},TWt.Ef=function(t){var e;e=new Dj(t),Qwt(this.f,(lWt(),OTe),e)},TWt.Ff=function(t){Qwt(this.f,(lWt(),ZTe),new Mj(t))},TWt.yf=function(){return this.d},TWt.zf=function(){var t,e;if(!this.a)for(this.a=new Nw,e=new cG(JL(pLt(zz(this.f,33)).a.Kc(),new l));bDt(e);)t=zz(Y5(e),79),Wz(this.a,new Db(t));return this.a},TWt.Bf=function(){var t,e;if(!this.c)for(this.c=new Nw,e=new cG(JL(bLt(zz(this.f,33)).a.Kc(),new l));bDt(e);)t=zz(Y5(e),79),Wz(this.c,new Db(t));return this.c},TWt.Df=function(){return 0!=VX(zz(this.f,33)).i||Hv(AB(zz(this.f,33).We((lWt(),TTe))))},TWt.Gf=function(){j9(this,(UE(),fMe))},TWt.a=null,TWt.b=null,TWt.c=null,TWt.d=null,TWt.e=null,mZ(H5t,"ElkGraphAdapters/ElkNodeAdapter",629),pDt(1266,553,{838:1},cw),TWt.wf=function(){return kvt(this)},TWt.zf=function(){var t,e;if(!this.a)for(this.a=uP(zz(this.f,118).xg().i),e=new DL(zz(this.f,118).xg());e.e!=e.i.gc();)t=zz(kwt(e),79),Wz(this.a,new Db(t));return this.a},TWt.Bf=function(){var t,e;if(!this.c)for(this.c=uP(zz(this.f,118).yg().i),e=new DL(zz(this.f,118).yg());e.e!=e.i.gc();)t=zz(kwt(e),79),Wz(this.c,new Db(t));return this.c},TWt.Hf=function(){return zz(zz(this.f,118).We((lWt(),gCe)),61)},TWt.If=function(){var t,e,n,i,r,a,o;for(i=WQ(zz(this.f,118)),n=new DL(zz(this.f,118).yg());n.e!=n.i.gc();)for(o=new DL((!(t=zz(kwt(n),79)).c&&(t.c=new lR(RMe,t,5,8)),t.c));o.e!=o.i.gc();){if(Iet(SAt(a=zz(kwt(o),82)),i))return!0;if(SAt(a)==i&&Hv(AB(tOt(t,(lWt(),CTe)))))return!0}for(e=new DL(zz(this.f,118).xg());e.e!=e.i.gc();)for(r=new DL((!(t=zz(kwt(e),79)).b&&(t.b=new lR(RMe,t,4,7)),t.b));r.e!=r.i.gc();)if(Iet(SAt(zz(kwt(r),82)),i))return!0;return!1},TWt.a=null,TWt.b=null,TWt.c=null,mZ(H5t,"ElkGraphAdapters/ElkPortAdapter",1266),pDt(1267,1,TVt,nc),TWt.ue=function(t,e){return GFt(zz(t,118),zz(e,118))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(H5t,"ElkGraphAdapters/PortComparator",1267);var pMe,bMe,wMe,mMe,yMe,vMe,xMe,kMe,_Me,AMe,EMe,TMe,CMe,SMe,IMe,MMe,DMe,OMe,LMe=dH(U5t,"EObject"),NMe=dH(G5t,Y5t),PMe=dH(G5t,Z5t),BMe=dH(G5t,W5t),FMe=dH(G5t,"ElkShape"),RMe=dH(G5t,K5t),jMe=dH(G5t,X5t),$Me=dH(G5t,V5t),zMe=dH(U5t,Q5t),qMe=dH(U5t,"EFactory"),HMe=dH(U5t,J5t),UMe=dH(U5t,"EPackage"),GMe=dH(G5t,t6t),YMe=dH(G5t,e6t),ZMe=dH(G5t,n6t);pDt(90,1,i6t),TWt.Jg=function(){return this.Kg(),null},TWt.Kg=function(){return null},TWt.Lg=function(){return this.Kg(),!1},TWt.Mg=function(){return!1},TWt.Ng=function(t){got(this,t)},mZ(r6t,"BasicNotifierImpl",90),pDt(97,90,f6t),TWt.nh=function(){return yD(this)},TWt.Og=function(t,e){return t},TWt.Pg=function(){throw qw(new wm)},TWt.Qg=function(t){var e;return e=Imt(zz(iet(this.Tg(),this.Vg()),18)),this.eh().ih(this,e.n,e.f,t)},TWt.Rg=function(t,e){throw qw(new wm)},TWt.Sg=function(t,e,n){return Ejt(this,t,e,n)},TWt.Tg=function(){var t;return this.Pg()&&(t=this.Pg().ck())?t:this.zh()},TWt.Ug=function(){return oDt(this)},TWt.Vg=function(){throw qw(new wm)},TWt.Wg=function(){var t,e;return!(e=this.ph().dk())&&this.Pg().ik((XE(),e=null==(t=fQ(U$t(this.Tg())))?NOe:new XN(this,t))),e},TWt.Xg=function(t,e){return t},TWt.Yg=function(t){return t.Gj()?t.aj():Ogt(this.Tg(),t)},TWt.Zg=function(){var t;return(t=this.Pg())?t.fk():null},TWt.$g=function(){return this.Pg()?this.Pg().ck():null},TWt._g=function(t,e,n){return tmt(this,t,e,n)},TWt.ah=function(t){return T7(this,t)},TWt.bh=function(t,e){return K5(this,t,e)},TWt.dh=function(){var t;return!!(t=this.Pg())&&t.gk()},TWt.eh=function(){throw qw(new wm)},TWt.fh=function(){return Qpt(this)},TWt.gh=function(t,e,n,i){return Pwt(this,t,e,i)},TWt.hh=function(t,e,n){return zz(iet(this.Tg(),e),66).Nj().Qj(this,this.yh(),e-this.Ah(),t,n)},TWt.ih=function(t,e,n,i){return cQ(this,t,e,i)},TWt.jh=function(t,e,n){return zz(iet(this.Tg(),e),66).Nj().Rj(this,this.yh(),e-this.Ah(),t,n)},TWt.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},TWt.lh=function(t){return ywt(this,t)},TWt.mh=function(t){return JQ(this,t)},TWt.oh=function(t){return $Ht(this,t)},TWt.ph=function(){throw qw(new wm)},TWt.qh=function(){return this.Pg()?this.Pg().ek():null},TWt.rh=function(){return Qpt(this)},TWt.sh=function(t,e){xSt(this,t,e)},TWt.th=function(t){this.ph().hk(t)},TWt.uh=function(t){this.ph().kk(t)},TWt.vh=function(t){this.ph().jk(t)},TWt.wh=function(t,e){var n,i,r,a;return(a=this.Zg())&&t&&(e=$wt(a.Vk(),this,e),a.Zk(this)),(i=this.eh())&&(0!=(wRt(this,this.eh(),this.Vg()).Bb&qXt)?(r=i.fh())&&(t?!a&&r.Zk(this):r.Yk(this)):(e=(n=this.Vg())>=0?this.Qg(e):this.eh().ih(this,-1-n,null,e),e=this.Sg(null,-1,e))),this.uh(t),e},TWt.xh=function(t){var e,n,i,r,a,o,s;if((a=Ogt(n=this.Tg(),t))>=(e=this.Ah()))return zz(t,66).Nj().Uj(this,this.yh(),a-e);if(a<=-1){if(!(o=zHt((MCt(),JOe),n,t)))throw qw(new jv(a6t+t.ne()+c6t));if(JE(),zz(o,66).Oj()||(o=J1(z9(JOe,o))),r=zz((i=this.Yg(o))>=0?this._g(i,!0,!0):oMt(this,o,!0),153),(s=o.Zj())>1||-1==s)return zz(zz(r,215).hl(t,!1),76)}else if(t.$j())return zz((i=this.Yg(t))>=0?this._g(i,!1,!0):oMt(this,t,!1),76);return new II(this,t)},TWt.yh=function(){return X9(this)},TWt.zh=function(){return(XZ(),eOe).S},TWt.Ah=function(){return dZ(this.zh())},TWt.Bh=function(t){vCt(this,t)},TWt.Ib=function(){return SOt(this)},mZ(d6t,"BasicEObjectImpl",97),pDt(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),TWt.Ch=function(t){return V9(this)[t]},TWt.Dh=function(t,e){OZ(V9(this),t,e)},TWt.Eh=function(t){OZ(V9(this),t,null)},TWt.Jg=function(){return zz(xot(this,4),126)},TWt.Kg=function(){throw qw(new wm)},TWt.Lg=function(){return 0!=(4&this.Db)},TWt.Pg=function(){throw qw(new wm)},TWt.Fh=function(t){hbt(this,2,t)},TWt.Rg=function(t,e){this.Db=e<<16|255&this.Db,this.Fh(t)},TWt.Tg=function(){return kV(this)},TWt.Vg=function(){return this.Db>>16},TWt.Wg=function(){var t;return XE(),null==(t=fQ(U$t(zz(xot(this,16),26)||this.zh())))?NOe:new XN(this,t)},TWt.Mg=function(){return 0==(1&this.Db)},TWt.Zg=function(){return zz(xot(this,128),1935)},TWt.$g=function(){return zz(xot(this,16),26)},TWt.dh=function(){return 0!=(32&this.Db)},TWt.eh=function(){return zz(xot(this,2),49)},TWt.kh=function(){return 0!=(64&this.Db)},TWt.ph=function(){throw qw(new wm)},TWt.qh=function(){return zz(xot(this,64),281)},TWt.th=function(t){hbt(this,16,t)},TWt.uh=function(t){hbt(this,128,t)},TWt.vh=function(t){hbt(this,64,t)},TWt.yh=function(){return fbt(this)},TWt.Db=0,mZ(d6t,"MinimalEObjectImpl",114),pDt(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),TWt.Fh=function(t){this.Cb=t},TWt.eh=function(){return this.Cb},mZ(d6t,"MinimalEObjectImpl/Container",115),pDt(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),TWt._g=function(t,e,n){return Avt(this,t,e,n)},TWt.jh=function(t,e,n){return iTt(this,t,e,n)},TWt.lh=function(t){return y0(this,t)},TWt.sh=function(t,e){aut(this,t,e)},TWt.zh=function(){return IZt(),CMe},TWt.Bh=function(t){Yst(this,t)},TWt.Ve=function(){return dwt(this)},TWt.We=function(t){return tOt(this,t)},TWt.Xe=function(t){return C8(this,t)},TWt.Ye=function(t,e){return Qwt(this,t,e)},mZ(g6t,"EMapPropertyHolderImpl",1985),pDt(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ac),TWt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return tmt(this,t,e,n)},TWt.lh=function(t){switch(t){case 0:return 0!=this.a;case 1:return 0!=this.b}return ywt(this,t)},TWt.sh=function(t,e){switch(t){case 0:return void _nt(this,Uv(EB(e)));case 1:return void Ant(this,Uv(EB(e)))}xSt(this,t,e)},TWt.zh=function(){return IZt(),wMe},TWt.Bh=function(t){switch(t){case 0:return void _nt(this,0);case 1:return void Ant(this,0)}vCt(this,t)},TWt.Ib=function(){var t;return 0!=(64&this.Db)?SOt(this):((t=new hN(SOt(this))).a+=" (x: ",m_(t,this.a),t.a+=", y: ",m_(t,this.b),t.a+=")",t.a)},TWt.a=0,TWt.b=0,mZ(g6t,"ElkBendPointImpl",567),pDt(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}),TWt._g=function(t,e,n){return $ht(this,t,e,n)},TWt.hh=function(t,e,n){return zAt(this,t,e,n)},TWt.jh=function(t,e,n){return ast(this,t,e,n)},TWt.lh=function(t){return Aot(this,t)},TWt.sh=function(t,e){Gkt(this,t,e)},TWt.zh=function(){return IZt(),xMe},TWt.Bh=function(t){uht(this,t)},TWt.zg=function(){return this.k},TWt.Ag=function(){return yK(this)},TWt.Ib=function(){return Qft(this)},TWt.k=null,mZ(g6t,"ElkGraphElementImpl",723),pDt(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}),TWt._g=function(t,e,n){return Rdt(this,t,e,n)},TWt.lh=function(t){return fgt(this,t)},TWt.sh=function(t,e){Ykt(this,t,e)},TWt.zh=function(){return IZt(),TMe},TWt.Bh=function(t){Fgt(this,t)},TWt.Bg=function(){return this.f},TWt.Cg=function(){return this.g},TWt.Dg=function(){return this.i},TWt.Eg=function(){return this.j},TWt.Fg=function(t,e){ED(this,t,e)},TWt.Gg=function(t,e){TD(this,t,e)},TWt.Hg=function(t){Snt(this,t)},TWt.Ig=function(t){Int(this,t)},TWt.Ib=function(){return vTt(this)},TWt.f=0,TWt.g=0,TWt.i=0,TWt.j=0,mZ(g6t,"ElkShapeImpl",724),pDt(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}),TWt._g=function(t,e,n){return Hmt(this,t,e,n)},TWt.hh=function(t,e,n){return bkt(this,t,e,n)},TWt.jh=function(t,e,n){return wkt(this,t,e,n)},TWt.lh=function(t){return Gct(this,t)},TWt.sh=function(t,e){NDt(this,t,e)},TWt.zh=function(){return IZt(),mMe},TWt.Bh=function(t){Bwt(this,t)},TWt.xg=function(){return!this.d&&(this.d=new lR(jMe,this,8,5)),this.d},TWt.yg=function(){return!this.e&&(this.e=new lR(jMe,this,7,4)),this.e},mZ(g6t,"ElkConnectableShapeImpl",725),pDt(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},rc),TWt.Qg=function(t){return Txt(this,t)},TWt._g=function(t,e,n){switch(t){case 3:return ZQ(this);case 4:return!this.b&&(this.b=new lR(RMe,this,4,7)),this.b;case 5:return!this.c&&(this.c=new lR(RMe,this,5,8)),this.c;case 6:return!this.a&&(this.a=new nY($Me,this,6,6)),this.a;case 7:return lN(),!this.b&&(this.b=new lR(RMe,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new lR(RMe,this,5,8)),this.c.i<=1));case 8:return lN(),!!eDt(this);case 9:return lN(),!!VIt(this);case 10:return lN(),!this.b&&(this.b=new lR(RMe,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new lR(RMe,this,5,8)),0!=this.c.i)}return $ht(this,t,e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 3:return this.Cb&&(n=(i=this.Db>>16)>=0?Txt(this,n):this.Cb.ih(this,-1-i,null,n)),KB(this,zz(t,33),n);case 4:return!this.b&&(this.b=new lR(RMe,this,4,7)),Qgt(this.b,t,n);case 5:return!this.c&&(this.c=new lR(RMe,this,5,8)),Qgt(this.c,t,n);case 6:return!this.a&&(this.a=new nY($Me,this,6,6)),Qgt(this.a,t,n)}return zAt(this,t,e,n)},TWt.jh=function(t,e,n){switch(e){case 3:return KB(this,null,n);case 4:return!this.b&&(this.b=new lR(RMe,this,4,7)),$wt(this.b,t,n);case 5:return!this.c&&(this.c=new lR(RMe,this,5,8)),$wt(this.c,t,n);case 6:return!this.a&&(this.a=new nY($Me,this,6,6)),$wt(this.a,t,n)}return ast(this,t,e,n)},TWt.lh=function(t){switch(t){case 3:return!!ZQ(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 lR(RMe,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new lR(RMe,this,5,8)),this.c.i<=1));case 8:return eDt(this);case 9:return VIt(this);case 10:return!this.b&&(this.b=new lR(RMe,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new lR(RMe,this,5,8)),0!=this.c.i)}return Aot(this,t)},TWt.sh=function(t,e){switch(t){case 3:return void HLt(this,zz(e,33));case 4:return!this.b&&(this.b=new lR(RMe,this,4,7)),lHt(this.b),!this.b&&(this.b=new lR(RMe,this,4,7)),void wZ(this.b,zz(e,14));case 5:return!this.c&&(this.c=new lR(RMe,this,5,8)),lHt(this.c),!this.c&&(this.c=new lR(RMe,this,5,8)),void wZ(this.c,zz(e,14));case 6:return!this.a&&(this.a=new nY($Me,this,6,6)),lHt(this.a),!this.a&&(this.a=new nY($Me,this,6,6)),void wZ(this.a,zz(e,14))}Gkt(this,t,e)},TWt.zh=function(){return IZt(),yMe},TWt.Bh=function(t){switch(t){case 3:return void HLt(this,null);case 4:return!this.b&&(this.b=new lR(RMe,this,4,7)),void lHt(this.b);case 5:return!this.c&&(this.c=new lR(RMe,this,5,8)),void lHt(this.c);case 6:return!this.a&&(this.a=new nY($Me,this,6,6)),void lHt(this.a)}uht(this,t)},TWt.Ib=function(){return dqt(this)},mZ(g6t,"ElkEdgeImpl",352),pDt(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},oc),TWt.Qg=function(t){return lxt(this,t)},TWt._g=function(t,e,n){switch(t){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 OL(PMe,this,5)),this.a;case 6:return KQ(this);case 7:return e?Smt(this):this.i;case 8:return e?Cmt(this):this.f;case 9:return!this.g&&(this.g=new lR($Me,this,9,10)),this.g;case 10:return!this.e&&(this.e=new lR($Me,this,10,9)),this.e;case 11:return this.d}return Avt(this,t,e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?lxt(this,n):this.Cb.ih(this,-1-i,null,n)),XB(this,zz(t,79),n);case 9:return!this.g&&(this.g=new lR($Me,this,9,10)),Qgt(this.g,t,n);case 10:return!this.e&&(this.e=new lR($Me,this,10,9)),Qgt(this.e,t,n)}return zz(iet(zz(xot(this,16),26)||(IZt(),vMe),e),66).Nj().Qj(this,fbt(this),e-dZ((IZt(),vMe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 5:return!this.a&&(this.a=new OL(PMe,this,5)),$wt(this.a,t,n);case 6:return XB(this,null,n);case 9:return!this.g&&(this.g=new lR($Me,this,9,10)),$wt(this.g,t,n);case 10:return!this.e&&(this.e=new lR($Me,this,10,9)),$wt(this.e,t,n)}return iTt(this,t,e,n)},TWt.lh=function(t){switch(t){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!!KQ(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 y0(this,t)},TWt.sh=function(t,e){switch(t){case 1:return void Mnt(this,Uv(EB(e)));case 2:return void Ont(this,Uv(EB(e)));case 3:return void Ent(this,Uv(EB(e)));case 4:return void Dnt(this,Uv(EB(e)));case 5:return!this.a&&(this.a=new OL(PMe,this,5)),lHt(this.a),!this.a&&(this.a=new OL(PMe,this,5)),void wZ(this.a,zz(e,14));case 6:return void zLt(this,zz(e,79));case 7:return void Pit(this,zz(e,82));case 8:return void Nit(this,zz(e,82));case 9:return!this.g&&(this.g=new lR($Me,this,9,10)),lHt(this.g),!this.g&&(this.g=new lR($Me,this,9,10)),void wZ(this.g,zz(e,14));case 10:return!this.e&&(this.e=new lR($Me,this,10,9)),lHt(this.e),!this.e&&(this.e=new lR($Me,this,10,9)),void wZ(this.e,zz(e,14));case 11:return void ort(this,TB(e))}aut(this,t,e)},TWt.zh=function(){return IZt(),vMe},TWt.Bh=function(t){switch(t){case 1:return void Mnt(this,0);case 2:return void Ont(this,0);case 3:return void Ent(this,0);case 4:return void Dnt(this,0);case 5:return!this.a&&(this.a=new OL(PMe,this,5)),void lHt(this.a);case 6:return void zLt(this,null);case 7:return void Pit(this,null);case 8:return void Nit(this,null);case 9:return!this.g&&(this.g=new lR($Me,this,9,10)),void lHt(this.g);case 10:return!this.e&&(this.e=new lR($Me,this,10,9)),void lHt(this.e);case 11:return void ort(this,null)}Yst(this,t)},TWt.Ib=function(){return RMt(this)},TWt.b=0,TWt.c=0,TWt.d=null,TWt.j=0,TWt.k=0,mZ(g6t,"ElkEdgeSectionImpl",439),pDt(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),TWt._g=function(t,e,n){return 0==t?(!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab):Y7(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e,n)},TWt.hh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n)):zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Qj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.jh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n)):zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Rj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.lh=function(t){return 0==t?!!this.Ab&&0!=this.Ab.i:M3(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.oh=function(t){return hYt(this,t)},TWt.sh=function(t,e){if(0===t)return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));Ndt(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e)},TWt.uh=function(t){hbt(this,128,t)},TWt.zh=function(){return wWt(),dOe},TWt.Bh=function(t){if(0===t)return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);Uht(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.Gh=function(){this.Bb|=1},TWt.Hh=function(t){return Pjt(this,t)},TWt.Bb=0,mZ(d6t,"EModelElementImpl",150),pDt(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},Bh),TWt.Ih=function(t,e){return UUt(this,t,e)},TWt.Jh=function(t){var e,n,i,r;if(this.a!=Zet(t)||0!=(256&t.Bb))throw qw(new jv(v6t+t.zb+w6t));for(n=xV(t);0!=o4(n.a).i;){if(rvt(e=zz(iUt(n,0,aL(r=zz(Ket(o4(n.a),0),87).c,88)?zz(r,26):(wWt(),pOe)),26)))return zz(i=Zet(e).Nh().Jh(e),49).th(t),i;n=xV(e)}return"java.util.Map$Entry"==(null!=t.D?t.D:t.B)?new hH(t):new kq(t)},TWt.Kh=function(t,e){return BZt(this,t,e)},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.a}return Y7(this,t-dZ((wWt(),lOe)),iet(zz(xot(this,16),26)||lOe,t),e,n)},TWt.hh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 1:return this.a&&(n=zz(this.a,49).ih(this,4,UMe,n)),Jlt(this,zz(t,235),n)}return zz(iet(zz(xot(this,16),26)||(wWt(),lOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),lOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 1:return Jlt(this,null,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),lOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),lOe)),t,n)},TWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return M3(this,t-dZ((wWt(),lOe)),iet(zz(xot(this,16),26)||lOe,t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void BEt(this,zz(e,235))}Ndt(this,t-dZ((wWt(),lOe)),iet(zz(xot(this,16),26)||lOe,t),e)},TWt.zh=function(){return wWt(),lOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void BEt(this,null)}Uht(this,t-dZ((wWt(),lOe)),iet(zz(xot(this,16),26)||lOe,t))},mZ(d6t,"EFactoryImpl",704),pDt(k6t,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},sc),TWt.Ih=function(t,e){switch(t.yj()){case 12:return zz(e,146).tg();case 13:return qdt(e);default:throw qw(new jv(b6t+t.ne()+w6t))}},TWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=Zet(t))?cmt(e.Mh(),t):-1),t.G){case 4:return new cc;case 6:return new ky;case 7:return new _y;case 8:return new rc;case 9:return new ac;case 10:return new oc;case 11:return new lc;default:throw qw(new jv(v6t+t.zb+w6t))}},TWt.Kh=function(t,e){switch(t.yj()){case 13:case 12:return null;default:throw qw(new jv(b6t+t.ne()+w6t))}},mZ(g6t,"ElkGraphFactoryImpl",k6t),pDt(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}),TWt.Wg=function(){var t;return null==(t=fQ(U$t(zz(xot(this,16),26)||this.zh())))?(XE(),XE(),NOe):new WP(this,t)},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.ne()}return Y7(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e,n)},TWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return M3(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void this.Lh(TB(e))}Ndt(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e)},TWt.zh=function(){return wWt(),gOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void this.Lh(null)}Uht(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.ne=function(){return this.zb},TWt.Lh=function(t){Prt(this,t)},TWt.Ib=function(){return kht(this)},TWt.zb=null,mZ(d6t,"ENamedElementImpl",438),pDt(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},mV),TWt.Qg=function(t){return pxt(this,t)},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,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 QG(this,qDe,this)),this.rb;case 6:return!this.vb&&(this.vb=new nR(UMe,this,6,7)),this.vb;case 7:return e?this.Db>>16==7?zz(this.Cb,235):null:XQ(this)}return Y7(this,t-dZ((wWt(),mOe)),iet(zz(xot(this,16),26)||mOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 4:return this.sb&&(n=zz(this.sb,49).ih(this,1,qMe,n)),_ht(this,zz(t,471),n);case 5:return!this.rb&&(this.rb=new QG(this,qDe,this)),Qgt(this.rb,t,n);case 6:return!this.vb&&(this.vb=new nR(UMe,this,6,7)),Qgt(this.vb,t,n);case 7:return this.Cb&&(n=(i=this.Db>>16)>=0?pxt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,7,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),mOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),mOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 4:return _ht(this,null,n);case 5:return!this.rb&&(this.rb=new QG(this,qDe,this)),$wt(this.rb,t,n);case 6:return!this.vb&&(this.vb=new nR(UMe,this,6,7)),$wt(this.vb,t,n);case 7:return Ejt(this,null,7,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),mOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),mOe)),t,n)},TWt.lh=function(t){switch(t){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!!XQ(this)}return M3(this,t-dZ((wWt(),mOe)),iet(zz(xot(this,16),26)||mOe,t))},TWt.oh=function(t){return NNt(this,t)||hYt(this,t)},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void Prt(this,TB(e));case 2:return void Frt(this,TB(e));case 3:return void Brt(this,TB(e));case 4:return void rTt(this,zz(e,471));case 5:return!this.rb&&(this.rb=new QG(this,qDe,this)),lHt(this.rb),!this.rb&&(this.rb=new QG(this,qDe,this)),void wZ(this.rb,zz(e,14));case 6:return!this.vb&&(this.vb=new nR(UMe,this,6,7)),lHt(this.vb),!this.vb&&(this.vb=new nR(UMe,this,6,7)),void wZ(this.vb,zz(e,14))}Ndt(this,t-dZ((wWt(),mOe)),iet(zz(xot(this,16),26)||mOe,t),e)},TWt.vh=function(t){var e,n;if(t&&this.rb)for(n=new DL(this.rb);n.e!=n.i.gc();)aL(e=kwt(n),351)&&(zz(e,351).w=null);hbt(this,64,t)},TWt.zh=function(){return wWt(),mOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void Prt(this,null);case 2:return void Frt(this,null);case 3:return void Brt(this,null);case 4:return void rTt(this,null);case 5:return!this.rb&&(this.rb=new QG(this,qDe,this)),void lHt(this.rb);case 6:return!this.vb&&(this.vb=new nR(UMe,this,6,7)),void lHt(this.vb)}Uht(this,t-dZ((wWt(),mOe)),iet(zz(xot(this,16),26)||mOe,t))},TWt.Gh=function(){Evt(this)},TWt.Mh=function(){return!this.rb&&(this.rb=new QG(this,qDe,this)),this.rb},TWt.Nh=function(){return this.sb},TWt.Oh=function(){return this.ub},TWt.Ph=function(){return this.xb},TWt.Qh=function(){return this.yb},TWt.Rh=function(t){this.ub=t},TWt.Ib=function(){var t;return 0!=(64&this.Db)?kht(this):((t=new hN(kht(this))).a+=" (nsURI: ",aM(t,this.yb),t.a+=", nsPrefix: ",aM(t,this.xb),t.a+=")",t.a)},TWt.xb=null,TWt.yb=null,mZ(d6t,"EPackageImpl",179),pDt(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},lDt),TWt.q=!1,TWt.r=!1;var WMe=!1;mZ(g6t,"ElkGraphPackageImpl",555),pDt(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},cc),TWt.Qg=function(t){return hxt(this,t)},TWt._g=function(t,e,n){switch(t){case 7:return VQ(this);case 8:return this.a}return Rdt(this,t,e,n)},TWt.hh=function(t,e,n){var i;return 7===e?(this.Cb&&(n=(i=this.Db>>16)>=0?hxt(this,n):this.Cb.ih(this,-1-i,null,n)),KU(this,zz(t,160),n)):zAt(this,t,e,n)},TWt.jh=function(t,e,n){return 7==e?KU(this,null,n):ast(this,t,e,n)},TWt.lh=function(t){switch(t){case 7:return!!VQ(this);case 8:return!yR("",this.a)}return fgt(this,t)},TWt.sh=function(t,e){switch(t){case 7:return void MNt(this,zz(e,160));case 8:return void Bit(this,TB(e))}Ykt(this,t,e)},TWt.zh=function(){return IZt(),kMe},TWt.Bh=function(t){switch(t){case 7:return void MNt(this,null);case 8:return void Bit(this,"")}Fgt(this,t)},TWt.Ib=function(){return oCt(this)},TWt.a="",mZ(g6t,"ElkLabelImpl",354),pDt(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},ky),TWt.Qg=function(t){return Cxt(this,t)},TWt._g=function(t,e,n){switch(t){case 9:return!this.c&&(this.c=new nY(ZMe,this,9,9)),this.c;case 10:return!this.a&&(this.a=new nY(YMe,this,10,11)),this.a;case 11:return QQ(this);case 12:return!this.b&&(this.b=new nY(jMe,this,12,3)),this.b;case 13:return lN(),!this.a&&(this.a=new nY(YMe,this,10,11)),this.a.i>0}return Hmt(this,t,e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 9:return!this.c&&(this.c=new nY(ZMe,this,9,9)),Qgt(this.c,t,n);case 10:return!this.a&&(this.a=new nY(YMe,this,10,11)),Qgt(this.a,t,n);case 11:return this.Cb&&(n=(i=this.Db>>16)>=0?Cxt(this,n):this.Cb.ih(this,-1-i,null,n)),GF(this,zz(t,33),n);case 12:return!this.b&&(this.b=new nY(jMe,this,12,3)),Qgt(this.b,t,n)}return bkt(this,t,e,n)},TWt.jh=function(t,e,n){switch(e){case 9:return!this.c&&(this.c=new nY(ZMe,this,9,9)),$wt(this.c,t,n);case 10:return!this.a&&(this.a=new nY(YMe,this,10,11)),$wt(this.a,t,n);case 11:return GF(this,null,n);case 12:return!this.b&&(this.b=new nY(jMe,this,12,3)),$wt(this.b,t,n)}return wkt(this,t,e,n)},TWt.lh=function(t){switch(t){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!QQ(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new nY(YMe,this,10,11)),this.a.i>0}return Gct(this,t)},TWt.sh=function(t,e){switch(t){case 9:return!this.c&&(this.c=new nY(ZMe,this,9,9)),lHt(this.c),!this.c&&(this.c=new nY(ZMe,this,9,9)),void wZ(this.c,zz(e,14));case 10:return!this.a&&(this.a=new nY(YMe,this,10,11)),lHt(this.a),!this.a&&(this.a=new nY(YMe,this,10,11)),void wZ(this.a,zz(e,14));case 11:return void eNt(this,zz(e,33));case 12:return!this.b&&(this.b=new nY(jMe,this,12,3)),lHt(this.b),!this.b&&(this.b=new nY(jMe,this,12,3)),void wZ(this.b,zz(e,14))}NDt(this,t,e)},TWt.zh=function(){return IZt(),_Me},TWt.Bh=function(t){switch(t){case 9:return!this.c&&(this.c=new nY(ZMe,this,9,9)),void lHt(this.c);case 10:return!this.a&&(this.a=new nY(YMe,this,10,11)),void lHt(this.a);case 11:return void eNt(this,null);case 12:return!this.b&&(this.b=new nY(jMe,this,12,3)),void lHt(this.b)}Bwt(this,t)},TWt.Ib=function(){return YFt(this)},mZ(g6t,"ElkNodeImpl",239),pDt(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},_y),TWt.Qg=function(t){return fxt(this,t)},TWt._g=function(t,e,n){return 9==t?WQ(this):Hmt(this,t,e,n)},TWt.hh=function(t,e,n){var i;return 9===e?(this.Cb&&(n=(i=this.Db>>16)>=0?fxt(this,n):this.Cb.ih(this,-1-i,null,n)),VB(this,zz(t,33),n)):bkt(this,t,e,n)},TWt.jh=function(t,e,n){return 9==e?VB(this,null,n):wkt(this,t,e,n)},TWt.lh=function(t){return 9==t?!!WQ(this):Gct(this,t)},TWt.sh=function(t,e){9!==t?NDt(this,t,e):qLt(this,zz(e,33))},TWt.zh=function(){return IZt(),AMe},TWt.Bh=function(t){9!==t?Bwt(this,t):qLt(this,null)},TWt.Ib=function(){return ZFt(this)},mZ(g6t,"ElkPortImpl",186);var KMe=dH(q6t,"BasicEMap/Entry");pDt(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},lc),TWt.Fb=function(t){return this===t},TWt.cd=function(){return this.b},TWt.Hb=function(){return CN(this)},TWt.Uh=function(t){Fit(this,zz(t,146))},TWt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return tmt(this,t,e,n)},TWt.lh=function(t){switch(t){case 0:return!!this.b;case 1:return null!=this.c}return ywt(this,t)},TWt.sh=function(t,e){switch(t){case 0:return void Fit(this,zz(e,146));case 1:return void $it(this,e)}xSt(this,t,e)},TWt.zh=function(){return IZt(),EMe},TWt.Bh=function(t){switch(t){case 0:return void Fit(this,null);case 1:return void $it(this,null)}vCt(this,t)},TWt.Sh=function(){var t;return-1==this.a&&(t=this.b,this.a=t?eut(t):0),this.a},TWt.dd=function(){return this.c},TWt.Th=function(t){this.a=t},TWt.ed=function(t){var e;return e=this.c,$it(this,t),e},TWt.Ib=function(){var t;return 0!=(64&this.Db)?SOt(this):(cM(cM(cM(t=new Sx,this.b?this.b.tg():YWt),i1t),xN(this.c)),t.a)},TWt.a=-1,TWt.c=null;var XMe,VMe,QMe,JMe,tDe,eDe,nDe,iDe,rDe=mZ(g6t,"ElkPropertyToValueMapEntryImpl",1092);pDt(984,1,{},dc),mZ(G6t,"JsonAdapter",984),pDt(210,60,qKt,nx),mZ(G6t,"JsonImportException",210),pDt(857,1,{},bxt),mZ(G6t,"JsonImporter",857),pDt(891,1,{},oI),mZ(G6t,"JsonImporter/lambda$0$Type",891),pDt(892,1,{},sI),mZ(G6t,"JsonImporter/lambda$1$Type",892),pDt(900,1,{},Ob),mZ(G6t,"JsonImporter/lambda$10$Type",900),pDt(902,1,{},cI),mZ(G6t,"JsonImporter/lambda$11$Type",902),pDt(903,1,{},uI),mZ(G6t,"JsonImporter/lambda$12$Type",903),pDt(909,1,{},hX),mZ(G6t,"JsonImporter/lambda$13$Type",909),pDt(908,1,{},lX),mZ(G6t,"JsonImporter/lambda$14$Type",908),pDt(904,1,{},lI),mZ(G6t,"JsonImporter/lambda$15$Type",904),pDt(905,1,{},hI),mZ(G6t,"JsonImporter/lambda$16$Type",905),pDt(906,1,{},fI),mZ(G6t,"JsonImporter/lambda$17$Type",906),pDt(907,1,{},dI),mZ(G6t,"JsonImporter/lambda$18$Type",907),pDt(912,1,{},Lb),mZ(G6t,"JsonImporter/lambda$19$Type",912),pDt(893,1,{},Nb),mZ(G6t,"JsonImporter/lambda$2$Type",893),pDt(910,1,{},Pb),mZ(G6t,"JsonImporter/lambda$20$Type",910),pDt(911,1,{},Bb),mZ(G6t,"JsonImporter/lambda$21$Type",911),pDt(915,1,{},Fb),mZ(G6t,"JsonImporter/lambda$22$Type",915),pDt(913,1,{},Rb),mZ(G6t,"JsonImporter/lambda$23$Type",913),pDt(914,1,{},jb),mZ(G6t,"JsonImporter/lambda$24$Type",914),pDt(917,1,{},$b),mZ(G6t,"JsonImporter/lambda$25$Type",917),pDt(916,1,{},zb),mZ(G6t,"JsonImporter/lambda$26$Type",916),pDt(918,1,dKt,gI),TWt.td=function(t){_7(this.b,this.a,TB(t))},mZ(G6t,"JsonImporter/lambda$27$Type",918),pDt(919,1,dKt,pI),TWt.td=function(t){A7(this.b,this.a,TB(t))},mZ(G6t,"JsonImporter/lambda$28$Type",919),pDt(920,1,{},bI),mZ(G6t,"JsonImporter/lambda$29$Type",920),pDt(896,1,{},qb),mZ(G6t,"JsonImporter/lambda$3$Type",896),pDt(921,1,{},wI),mZ(G6t,"JsonImporter/lambda$30$Type",921),pDt(922,1,{},Hb),mZ(G6t,"JsonImporter/lambda$31$Type",922),pDt(923,1,{},Ub),mZ(G6t,"JsonImporter/lambda$32$Type",923),pDt(924,1,{},Gb),mZ(G6t,"JsonImporter/lambda$33$Type",924),pDt(925,1,{},Yb),mZ(G6t,"JsonImporter/lambda$34$Type",925),pDt(859,1,{},Zb),mZ(G6t,"JsonImporter/lambda$35$Type",859),pDt(929,1,{},Ez),mZ(G6t,"JsonImporter/lambda$36$Type",929),pDt(926,1,dKt,Wb),TWt.td=function(t){V4(this.a,zz(t,469))},mZ(G6t,"JsonImporter/lambda$37$Type",926),pDt(927,1,dKt,TI),TWt.td=function(t){fM(this.a,this.b,zz(t,202))},mZ(G6t,"JsonImporter/lambda$38$Type",927),pDt(928,1,dKt,CI),TWt.td=function(t){dM(this.a,this.b,zz(t,202))},mZ(G6t,"JsonImporter/lambda$39$Type",928),pDt(894,1,{},Kb),mZ(G6t,"JsonImporter/lambda$4$Type",894),pDt(930,1,dKt,Xb),TWt.td=function(t){Q4(this.a,zz(t,8))},mZ(G6t,"JsonImporter/lambda$40$Type",930),pDt(895,1,{},Vb),mZ(G6t,"JsonImporter/lambda$5$Type",895),pDt(899,1,{},Qb),mZ(G6t,"JsonImporter/lambda$6$Type",899),pDt(897,1,{},Jb),mZ(G6t,"JsonImporter/lambda$7$Type",897),pDt(898,1,{},tw),mZ(G6t,"JsonImporter/lambda$8$Type",898),pDt(901,1,{},ew),mZ(G6t,"JsonImporter/lambda$9$Type",901),pDt(948,1,dKt,nw),TWt.td=function(t){tW(this.a,new UZ(TB(t)))},mZ(G6t,"JsonMetaDataConverter/lambda$0$Type",948),pDt(949,1,dKt,iw),TWt.td=function(t){jZ(this.a,zz(t,237))},mZ(G6t,"JsonMetaDataConverter/lambda$1$Type",949),pDt(950,1,dKt,rw),TWt.td=function(t){e1(this.a,zz(t,149))},mZ(G6t,"JsonMetaDataConverter/lambda$2$Type",950),pDt(951,1,dKt,aw),TWt.td=function(t){$Z(this.a,zz(t,175))},mZ(G6t,"JsonMetaDataConverter/lambda$3$Type",951),pDt(237,22,{3:1,35:1,22:1,237:1},EI);var aDe,oDe=qnt(MQt,"GraphFeature",237,Zte,jet,wz);pDt(13,1,{35:1,146:1},sw,iF,OM,ZD),TWt.wd=function(t){return wL(this,zz(t,146))},TWt.Fb=function(t){return _V(this,t)},TWt.wg=function(){return vwt(this)},TWt.tg=function(){return this.b},TWt.Hb=function(){return ymt(this.b)},TWt.Ib=function(){return this.b},mZ(MQt,"Property",13),pDt(818,1,TVt,ow),TWt.ue=function(t,e){return $ft(this,zz(t,94),zz(e,94))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(MQt,"PropertyHolderComparator",818),pDt(695,1,VWt,uw),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return D7(this)},TWt.Qb=function(){s_()},TWt.Ob=function(){return!!this.a},mZ(o8t,"ElkGraphUtil/AncestorIterator",695);var sDe=dH(q6t,"EList");pDt(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),TWt.Vc=function(t,e){lft(this,t,e)},TWt.Fc=function(t){return h7(this,t)},TWt.Wc=function(t,e){return uct(this,t,e)},TWt.Gc=function(t){return wZ(this,t)},TWt.Zh=function(){return new oP(this)},TWt.$h=function(){return new sP(this)},TWt._h=function(t){return lit(this,t)},TWt.ai=function(){return!0},TWt.bi=function(t,e){},TWt.ci=function(){},TWt.di=function(t,e){L8(this,t,e)},TWt.ei=function(t,e,n){},TWt.fi=function(t,e){},TWt.gi=function(t,e,n){},TWt.Fb=function(t){return VBt(this,t)},TWt.Hb=function(){return Tst(this)},TWt.hi=function(){return!1},TWt.Kc=function(){return new DL(this)},TWt.Yc=function(){return new aP(this)},TWt.Zc=function(t){var e;if(e=this.gc(),t<0||t>e)throw qw(new eR(t,e));return new UY(this,t)},TWt.ji=function(t,e){this.ii(t,this.Xc(e))},TWt.Mc=function(t){return utt(this,t)},TWt.li=function(t,e){return e},TWt._c=function(t,e){return umt(this,t,e)},TWt.Ib=function(){return Jdt(this)},TWt.ni=function(){return!0},TWt.oi=function(t,e){return But(this,e)},mZ(q6t,"AbstractEList",67),pDt(63,67,h8t,bc,wet,_at),TWt.Vh=function(t,e){return qAt(this,t,e)},TWt.Wh=function(t){return gyt(this,t)},TWt.Xh=function(t,e){Mht(this,t,e)},TWt.Yh=function(t){a6(this,t)},TWt.pi=function(t){return $7(this,t)},TWt.$b=function(){o6(this)},TWt.Hc=function(t){return Ckt(this,t)},TWt.Xb=function(t){return Ket(this,t)},TWt.qi=function(t){var e,n,i;++this.j,t>(n=null==this.g?0:this.g.length)&&(i=this.g,(e=n+(n/2|0)+4)<t&&(e=t),this.g=this.ri(e),null!=i&&sqt(i,0,this.g,0,this.i))},TWt.Xc=function(t){return Kvt(this,t)},TWt.dc=function(){return 0==this.i},TWt.ii=function(t,e){return QIt(this,t,e)},TWt.ri=function(t){return P8(Ote,HWt,1,t,5,1)},TWt.ki=function(t){return this.g[t]},TWt.$c=function(t){return Nvt(this,t)},TWt.mi=function(t,e){return ctt(this,t,e)},TWt.gc=function(){return this.i},TWt.Pc=function(){return N3(this)},TWt.Qc=function(t){return Vgt(this,t)},TWt.i=0;var cDe=mZ(q6t,"BasicEList",63),uDe=dH(q6t,"TreeIterator");pDt(694,63,f8t),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return null!=this.g||this.c?null==this.g||0!=this.i&&zz(this.g[this.i-1],47).Ob():eJ(this)},TWt.Pb=function(){return sLt(this)},TWt.Qb=function(){if(!this.e)throw qw(new $v("There is no valid object to remove."));this.e.Qb()},TWt.c=!1,mZ(q6t,"AbstractTreeIterator",694),pDt(685,694,f8t,MD),TWt.si=function(t){var e;return aL(e=zz(t,56).Wg().Kc(),279)&&zz(e,279).Nk(new gc),e},mZ(o8t,"ElkGraphUtil/PropertiesSkippingTreeIterator",685),pDt(952,1,{},gc),mZ(o8t,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",952);var lDe,hDe,fDe,dDe=mZ(o8t,"ElkReflect",null);pDt(889,1,r5t,pc),TWt.vg=function(t){return lJ(),z6(zz(t,174))},mZ(o8t,"ElkReflect/lambda$0$Type",889),dH(q6t,"ResourceLocator"),pDt(1051,1,{}),mZ(q6t,"DelegatingResourceLocator",1051),pDt(1052,1051,{}),mZ("org.eclipse.emf.common","EMFPlugin",1052);var gDe,pDe=dH(J8t,"Adapter"),bDe=dH(J8t,"Notification");pDt(1153,1,t7t),TWt.ti=function(){return this.d},TWt.ui=function(t){},TWt.vi=function(t){this.d=t},TWt.wi=function(t){this.d==t&&(this.d=null)},TWt.d=null,mZ(r6t,"AdapterImpl",1153),pDt(1995,67,e7t),TWt.Vh=function(t,e){return kgt(this,t,e)},TWt.Wh=function(t){var e,n,i;if(++this.j,t.dc())return!1;for(e=this.Vi(),i=t.Kc();i.Ob();)n=i.Pb(),this.Ii(this.oi(e,n)),++e;return!0},TWt.Xh=function(t,e){JB(this,t,e)},TWt.Yh=function(t){nW(this,t)},TWt.Gi=function(){return this.Ji()},TWt.$b=function(){QB(this,this.Vi(),this.Wi())},TWt.Hc=function(t){return this.Li(t)},TWt.Ic=function(t){return this.Mi(t)},TWt.Hi=function(t,e){this.Si().jm()},TWt.Ii=function(t){this.Si().jm()},TWt.Ji=function(){return this.Si()},TWt.Ki=function(){this.Si().jm()},TWt.Li=function(t){return this.Si().jm()},TWt.Mi=function(t){return this.Si().jm()},TWt.Ni=function(t){return this.Si().jm()},TWt.Oi=function(t){return this.Si().jm()},TWt.Pi=function(){return this.Si().jm()},TWt.Qi=function(t){return this.Si().jm()},TWt.Ri=function(){return this.Si().jm()},TWt.Ti=function(t){return this.Si().jm()},TWt.Ui=function(t,e){return this.Si().jm()},TWt.Vi=function(){return this.Si().jm()},TWt.Wi=function(){return this.Si().jm()},TWt.Xi=function(t){return this.Si().jm()},TWt.Yi=function(){return this.Si().jm()},TWt.Fb=function(t){return this.Ni(t)},TWt.Xb=function(t){return this.li(t,this.Oi(t))},TWt.Hb=function(){return this.Pi()},TWt.Xc=function(t){return this.Qi(t)},TWt.dc=function(){return this.Ri()},TWt.ii=function(t,e){return OEt(this,t,e)},TWt.ki=function(t){return this.Oi(t)},TWt.$c=function(t){return gH(this,t)},TWt.Mc=function(t){var e;return(e=this.Xc(t))>=0&&(this.$c(e),!0)},TWt.mi=function(t,e){return this.Ui(t,this.oi(t,e))},TWt.gc=function(){return this.Vi()},TWt.Pc=function(){return this.Wi()},TWt.Qc=function(t){return this.Xi(t)},TWt.Ib=function(){return this.Yi()},mZ(q6t,"DelegatingEList",1995),pDt(1996,1995,e7t),TWt.Vh=function(t,e){return c$t(this,t,e)},TWt.Wh=function(t){return this.Vh(this.Vi(),t)},TWt.Xh=function(t,e){iDt(this,t,e)},TWt.Yh=function(t){DMt(this,t)},TWt.ai=function(){return!this.bj()},TWt.$b=function(){yHt(this)},TWt.Zi=function(t,e,n,i,r){return new NV(this,t,e,n,i,r)},TWt.$i=function(t){got(this.Ai(),t)},TWt._i=function(){return null},TWt.aj=function(){return-1},TWt.Ai=function(){return null},TWt.bj=function(){return!1},TWt.cj=function(t,e){return e},TWt.dj=function(t,e){return e},TWt.ej=function(){return!1},TWt.fj=function(){return!this.Ri()},TWt.ii=function(t,e){var n,i;return this.ej()?(i=this.fj(),n=OEt(this,t,e),this.$i(this.Zi(7,rft(e),n,t,i)),n):OEt(this,t,e)},TWt.$c=function(t){var e,n,i,r;return this.ej()?(n=null,i=this.fj(),e=this.Zi(4,r=gH(this,t),null,t,i),this.bj()&&r?(n=this.dj(r,n))?(n.Ei(e),n.Fi()):this.$i(e):n?(n.Ei(e),n.Fi()):this.$i(e),r):(r=gH(this,t),this.bj()&&r&&(n=this.dj(r,null))&&n.Fi(),r)},TWt.mi=function(t,e){return u$t(this,t,e)},mZ(r6t,"DelegatingNotifyingListImpl",1996),pDt(143,1,n7t),TWt.Ei=function(t){return j_t(this,t)},TWt.Fi=function(){O9(this)},TWt.xi=function(){return this.d},TWt._i=function(){return null},TWt.gj=function(){return null},TWt.yi=function(t){return-1},TWt.zi=function(){return RPt(this)},TWt.Ai=function(){return null},TWt.Bi=function(){return jPt(this)},TWt.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},TWt.hj=function(){return!1},TWt.Di=function(t){var e,n,i,r,a,o,s,c;switch(this.d){case 1:case 2:switch(t.xi()){case 1:case 2:if(UI(t.Ai())===UI(this.Ai())&&this.yi(null)==t.yi(null))return this.g=t.zi(),1==t.xi()&&(this.d=1),!0}case 4:if(4===t.xi()&&UI(t.Ai())===UI(this.Ai())&&this.yi(null)==t.yi(null))return o=nUt(this),a=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=t.Ci(),this.d=6,c=new wet(2),a<=i?(h7(c,this.n),h7(c,t.Bi()),this.g=Sst(Ux(DNe,1),hXt,25,15,[this.o=a,i+1])):(h7(c,t.Bi()),h7(c,this.n),this.g=Sst(Ux(DNe,1),hXt,25,15,[this.o=i,a])),this.n=c,o||(this.o=-2-this.o-1),!0;break;case 6:if(4===t.xi()&&UI(t.Ai())===UI(this.Ai())&&this.yi(null)==t.yi(null)){for(o=nUt(this),i=t.Ci(),s=zz(this.g,48),n=P8(DNe,hXt,25,s.length+1,15,1),e=0;e<s.length&&(r=s[e])<=i;)n[e++]=r,++i;for(zz(this.n,15).Vc(e,t.Bi()),n[e]=i;++e<n.length;)n[e]=s[e-1];return this.g=n,o||(this.o=-2-n[0]),!0}}return!1},TWt.Ib=function(){var t,e,n;switch((n=new hN(t_(this.gm)+"@"+(eut(this)>>>0).toString(16))).a+=" (eventType: ",this.d){case 1:n.a+="SET";break;case 2:n.a+="UNSET";break;case 3:n.a+="ADD";break;case 5:n.a+="ADD_MANY";break;case 4:n.a+="REMOVE";break;case 6:n.a+="REMOVE_MANY";break;case 7:n.a+="MOVE";break;case 8:n.a+="REMOVING_ADAPTER";break;case 9:n.a+="RESOLVE";break;default:y_(n,this.d)}if(dRt(this)&&(n.a+=", touch: true"),n.a+=", position: ",y_(n,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),n.a+=", notifier: ",rM(n,this.Ai()),n.a+=", feature: ",rM(n,this._i()),n.a+=", oldValue: ",rM(n,jPt(this)),n.a+=", newValue: ",6==this.d&&aL(this.g,48)){for(e=zz(this.g,48),n.a+="[",t=0;t<e.length;)n.a+=e[t],++t<e.length&&(n.a+=zWt);n.a+="]"}else rM(n,RPt(this));return n.a+=", isTouch: ",v_(n,dRt(this)),n.a+=", wasSet: ",v_(n,nUt(this)),n.a+=")",n.a},TWt.d=0,TWt.e=0,TWt.f=0,TWt.j=0,TWt.k=0,TWt.o=0,TWt.p=0,mZ(r6t,"NotificationImpl",143),pDt(1167,143,n7t,NV),TWt._i=function(){return this.a._i()},TWt.yi=function(t){return this.a.aj()},TWt.Ai=function(){return this.a.Ai()},mZ(r6t,"DelegatingNotifyingListImpl/1",1167),pDt(242,63,h8t,wc,$k),TWt.Fc=function(t){return Tgt(this,zz(t,366))},TWt.Ei=function(t){return Tgt(this,t)},TWt.Fi=function(){var t,e,n;for(t=0;t<this.i;++t)null!=(n=(e=zz(this.g[t],366)).Ai())&&-1!=e.xi()&&zz(n,92).Ng(e)},TWt.ri=function(t){return P8(bDe,HWt,366,t,0,1)},mZ(r6t,"NotificationChainImpl",242),pDt(1378,90,i6t),TWt.Kg=function(){return this.e},TWt.Mg=function(){return 0!=(1&this.f)},TWt.f=1,mZ(r6t,"NotifierImpl",1378),pDt(1993,63,h8t),TWt.Vh=function(t,e){return N$t(this,t,e)},TWt.Wh=function(t){return this.Vh(this.i,t)},TWt.Xh=function(t,e){UMt(this,t,e)},TWt.Yh=function(t){nDt(this,t)},TWt.ai=function(){return!this.bj()},TWt.$b=function(){lHt(this)},TWt.Zi=function(t,e,n,i,r){return new PV(this,t,e,n,i,r)},TWt.$i=function(t){got(this.Ai(),t)},TWt._i=function(){return null},TWt.aj=function(){return-1},TWt.Ai=function(){return null},TWt.bj=function(){return!1},TWt.ij=function(){return!1},TWt.cj=function(t,e){return e},TWt.dj=function(t,e){return e},TWt.ej=function(){return!1},TWt.fj=function(){return 0!=this.i},TWt.ii=function(t,e){return Mft(this,t,e)},TWt.$c=function(t){return fBt(this,t)},TWt.mi=function(t,e){return fzt(this,t,e)},TWt.jj=function(t,e){return e},TWt.kj=function(t,e){return e},TWt.lj=function(t,e,n){return n},mZ(r6t,"NotifyingListImpl",1993),pDt(1166,143,n7t,PV),TWt._i=function(){return this.a._i()},TWt.yi=function(t){return this.a.aj()},TWt.Ai=function(){return this.a.Ai()},mZ(r6t,"NotifyingListImpl/1",1166),pDt(953,63,h8t,oF),TWt.Hc=function(t){return this.i>10?(this.b&&this.c.j==this.a||(this.b=new OH(this),this.a=this.j),$A(this.b,t)):Ckt(this,t)},TWt.ni=function(){return!0},TWt.a=0,mZ(q6t,"AbstractEList/1",953),pDt(295,73,PXt,eR),mZ(q6t,"AbstractEList/BasicIndexOutOfBoundsException",295),pDt(40,1,VWt,DL),TWt.Nb=function(t){hY(this,t)},TWt.mj=function(){if(this.i.j!=this.f)throw qw(new mm)},TWt.nj=function(){return kwt(this)},TWt.Ob=function(){return this.e!=this.i.gc()},TWt.Pb=function(){return this.nj()},TWt.Qb=function(){Vkt(this)},TWt.e=0,TWt.f=0,TWt.g=-1,mZ(q6t,"AbstractEList/EIterator",40),pDt(278,40,oKt,aP,UY),TWt.Qb=function(){Vkt(this)},TWt.Rb=function(t){upt(this,t)},TWt.oj=function(){var t;try{return t=this.d.Xb(--this.e),this.mj(),this.g=this.e,t}catch(t){throw aL(t=dst(t),73)?(this.mj(),qw(new vm)):qw(t)}},TWt.pj=function(t){kyt(this,t)},TWt.Sb=function(){return 0!=this.e},TWt.Tb=function(){return this.e},TWt.Ub=function(){return this.oj()},TWt.Vb=function(){return this.e-1},TWt.Wb=function(t){this.pj(t)},mZ(q6t,"AbstractEList/EListIterator",278),pDt(341,40,VWt,oP),TWt.nj=function(){return _wt(this)},TWt.Qb=function(){throw qw(new wm)},mZ(q6t,"AbstractEList/NonResolvingEIterator",341),pDt(385,278,oKt,sP,FR),TWt.Rb=function(t){throw qw(new wm)},TWt.nj=function(){var t;try{return t=this.c.ki(this.e),this.mj(),this.g=this.e++,t}catch(t){throw aL(t=dst(t),73)?(this.mj(),qw(new vm)):qw(t)}},TWt.oj=function(){var t;try{return t=this.c.ki(--this.e),this.mj(),this.g=this.e,t}catch(t){throw aL(t=dst(t),73)?(this.mj(),qw(new vm)):qw(t)}},TWt.Qb=function(){throw qw(new wm)},TWt.Wb=function(t){throw qw(new wm)},mZ(q6t,"AbstractEList/NonResolvingEListIterator",385),pDt(1982,67,a7t),TWt.Vh=function(t,e){var n,i,r,a,o,s,c,u,l;if(0!=(i=e.gc())){for(n=Sut(this,(u=null==(c=zz(xot(this.a,4),126))?0:c.length)+i),(l=u-t)>0&&sqt(c,t,n,t+i,l),s=e.Kc(),a=0;a<i;++a)QD(n,t+a,But(this,o=s.Pb()));for(zbt(this,n),r=0;r<i;++r)o=n[t],this.bi(t,o),++t;return!0}return++this.j,!1},TWt.Wh=function(t){var e,n,i,r,a,o,s,c,u;if(0!=(i=t.gc())){for(e=Sut(this,u=(c=null==(n=zz(xot(this.a,4),126))?0:n.length)+i),s=t.Kc(),a=c;a<u;++a)QD(e,a,But(this,o=s.Pb()));for(zbt(this,e),r=c;r<u;++r)o=e[r],this.bi(r,o);return!0}return++this.j,!1},TWt.Xh=function(t,e){var n,i,r,a;n=Sut(this,(r=null==(i=zz(xot(this.a,4),126))?0:i.length)+1),a=But(this,e),t!=r&&sqt(i,t,n,t+1,r-t),OZ(n,t,a),zbt(this,n),this.bi(t,e)},TWt.Yh=function(t){var e,n,i;QD(e=Sut(this,(i=null==(n=zz(xot(this.a,4),126))?0:n.length)+1),i,But(this,t)),zbt(this,e),this.bi(i,t)},TWt.Zh=function(){return new T5(this)},TWt.$h=function(){return new VG(this)},TWt._h=function(t){var e,n;if(n=null==(e=zz(xot(this.a,4),126))?0:e.length,t<0||t>n)throw qw(new eR(t,n));return new zW(this,t)},TWt.$b=function(){var t,e;++this.j,e=null==(t=zz(xot(this.a,4),126))?0:t.length,zbt(this,null),L8(this,e,t)},TWt.Hc=function(t){var e,n,i,r;if(null!=(e=zz(xot(this.a,4),126)))if(null!=t){for(i=0,r=(n=e).length;i<r;++i)if(Pht(t,n[i]))return!0}else for(i=0,r=(n=e).length;i<r;++i)if(UI(n[i])===UI(t))return!0;return!1},TWt.Xb=function(t){var e,n;if(t>=(n=null==(e=zz(xot(this.a,4),126))?0:e.length))throw qw(new eR(t,n));return e[t]},TWt.Xc=function(t){var e,n,i;if(null!=(e=zz(xot(this.a,4),126)))if(null!=t){for(n=0,i=e.length;n<i;++n)if(Pht(t,e[n]))return n}else for(n=0,i=e.length;n<i;++n)if(UI(e[n])===UI(t))return n;return-1},TWt.dc=function(){return null==zz(xot(this.a,4),126)},TWt.Kc=function(){return new E5(this)},TWt.Yc=function(){return new XG(this)},TWt.Zc=function(t){var e,n;if(n=null==(e=zz(xot(this.a,4),126))?0:e.length,t<0||t>n)throw qw(new eR(t,n));return new $W(this,t)},TWt.ii=function(t,e){var n,i,r;if(t>=(r=null==(n=Lpt(this))?0:n.length))throw qw(new Dv(c8t+t+u8t+r));if(e>=r)throw qw(new Dv(l8t+e+u8t+r));return i=n[e],t!=e&&(t<e?sqt(n,t,n,t+1,e-t):sqt(n,e+1,n,e,t-e),OZ(n,t,i),zbt(this,n)),i},TWt.ki=function(t){return zz(xot(this.a,4),126)[t]},TWt.$c=function(t){return AMt(this,t)},TWt.mi=function(t,e){var n,i;return i=(n=Lpt(this))[t],QD(n,t,But(this,e)),zbt(this,n),i},TWt.gc=function(){var t;return null==(t=zz(xot(this.a,4),126))?0:t.length},TWt.Pc=function(){var t,e,n;return n=null==(t=zz(xot(this.a,4),126))?0:t.length,e=P8(pDe,r7t,415,n,0,1),n>0&&sqt(t,0,e,0,n),e},TWt.Qc=function(t){var e,n;return(n=null==(e=zz(xot(this.a,4),126))?0:e.length)>0&&(t.length<n&&(t=Fnt(nut(t).c,n)),sqt(e,0,t,0,n)),t.length>n&&OZ(t,n,null),t},mZ(q6t,"ArrayDelegatingEList",1982),pDt(1038,40,VWt,E5),TWt.mj=function(){if(this.b.j!=this.f||UI(zz(xot(this.b.a,4),126))!==UI(this.a))throw qw(new mm)},TWt.Qb=function(){Vkt(this),this.a=zz(xot(this.b.a,4),126)},mZ(q6t,"ArrayDelegatingEList/EIterator",1038),pDt(706,278,oKt,XG,$W),TWt.mj=function(){if(this.b.j!=this.f||UI(zz(xot(this.b.a,4),126))!==UI(this.a))throw qw(new mm)},TWt.pj=function(t){kyt(this,t),this.a=zz(xot(this.b.a,4),126)},TWt.Qb=function(){Vkt(this),this.a=zz(xot(this.b.a,4),126)},mZ(q6t,"ArrayDelegatingEList/EListIterator",706),pDt(1039,341,VWt,T5),TWt.mj=function(){if(this.b.j!=this.f||UI(zz(xot(this.b.a,4),126))!==UI(this.a))throw qw(new mm)},mZ(q6t,"ArrayDelegatingEList/NonResolvingEIterator",1039),pDt(707,385,oKt,VG,zW),TWt.mj=function(){if(this.b.j!=this.f||UI(zz(xot(this.b.a,4),126))!==UI(this.a))throw qw(new mm)},mZ(q6t,"ArrayDelegatingEList/NonResolvingEListIterator",707),pDt(606,295,PXt,LM),mZ(q6t,"BasicEList/BasicIndexOutOfBoundsException",606),pDt(696,63,h8t,BI),TWt.Vc=function(t,e){throw qw(new wm)},TWt.Fc=function(t){throw qw(new wm)},TWt.Wc=function(t,e){throw qw(new wm)},TWt.Gc=function(t){throw qw(new wm)},TWt.$b=function(){throw qw(new wm)},TWt.qi=function(t){throw qw(new wm)},TWt.Kc=function(){return this.Zh()},TWt.Yc=function(){return this.$h()},TWt.Zc=function(t){return this._h(t)},TWt.ii=function(t,e){throw qw(new wm)},TWt.ji=function(t,e){throw qw(new wm)},TWt.$c=function(t){throw qw(new wm)},TWt.Mc=function(t){throw qw(new wm)},TWt._c=function(t,e){throw qw(new wm)},mZ(q6t,"BasicEList/UnmodifiableEList",696),pDt(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),TWt.Vc=function(t,e){XO(this,t,zz(e,42))},TWt.Fc=function(t){return oB(this,zz(t,42))},TWt.Jc=function(t){n5(this,t)},TWt.Xb=function(t){return zz(Ket(this.c,t),133)},TWt.ii=function(t,e){return zz(this.c.ii(t,e),42)},TWt.ji=function(t,e){VO(this,t,zz(e,42))},TWt.Lc=function(){return new FH(null,new g1(this,16))},TWt.$c=function(t){return zz(this.c.$c(t),42)},TWt._c=function(t,e){return sZ(this,t,zz(e,42))},TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return new g1(this,16)},TWt.Oc=function(){return new FH(null,new g1(this,16))},TWt.Wc=function(t,e){return this.c.Wc(t,e)},TWt.Gc=function(t){return this.c.Gc(t)},TWt.$b=function(){this.c.$b()},TWt.Hc=function(t){return this.c.Hc(t)},TWt.Ic=function(t){return ust(this.c,t)},TWt.qj=function(){var t,e;if(null==this.d){for(this.d=P8(cDe,o7t,63,2*this.f+1,0,1),e=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)Mmt(this,zz(t.nj(),133));this.e=e}},TWt.Fb=function(t){return NR(this,t)},TWt.Hb=function(){return Tst(this.c)},TWt.Xc=function(t){return this.c.Xc(t)},TWt.rj=function(){this.c=new lw(this)},TWt.dc=function(){return 0==this.f},TWt.Kc=function(){return this.c.Kc()},TWt.Yc=function(){return this.c.Yc()},TWt.Zc=function(t){return this.c.Zc(t)},TWt.sj=function(){return D8(this)},TWt.tj=function(t,e,n){return new Tz(t,e,n)},TWt.uj=function(){return new mc},TWt.Mc=function(t){return hit(this,t)},TWt.gc=function(){return this.f},TWt.bd=function(t,e){return new u1(this.c,t,e)},TWt.Pc=function(){return this.c.Pc()},TWt.Qc=function(t){return this.c.Qc(t)},TWt.Ib=function(){return Jdt(this.c)},TWt.e=0,TWt.f=0,mZ(q6t,"BasicEMap",705),pDt(1033,63,h8t,lw),TWt.bi=function(t,e){Dm(this,zz(e,133))},TWt.ei=function(t,e,n){var i;++(i=this,zz(e,133),i).a.e},TWt.fi=function(t,e){Om(this,zz(e,133))},TWt.gi=function(t,e,n){KN(this,zz(e,133),zz(n,133))},TWt.di=function(t,e){sot(this.a)},mZ(q6t,"BasicEMap/1",1033),pDt(1034,63,h8t,mc),TWt.ri=function(t){return P8(mDe,s7t,612,t,0,1)},mZ(q6t,"BasicEMap/2",1034),pDt(1035,eKt,nKt,hw),TWt.$b=function(){this.a.c.$b()},TWt.Hc=function(t){return apt(this.a,t)},TWt.Kc=function(){return 0==this.a.f?(pB(),wDe.a):new zk(this.a)},TWt.Mc=function(t){var e;return e=this.a.f,Kpt(this.a,t),this.a.f!=e},TWt.gc=function(){return this.a.f},mZ(q6t,"BasicEMap/3",1035),pDt(1036,28,tKt,fw),TWt.$b=function(){this.a.c.$b()},TWt.Hc=function(t){return QBt(this.a,t)},TWt.Kc=function(){return 0==this.a.f?(pB(),wDe.a):new qk(this.a)},TWt.gc=function(){return this.a.f},mZ(q6t,"BasicEMap/4",1036),pDt(1037,eKt,nKt,dw),TWt.$b=function(){this.a.c.$b()},TWt.Hc=function(t){var e,n,i,r,a,o,s,c,u;if(this.a.f>0&&aL(t,42)&&(this.a.qj(),r=null==(s=(c=zz(t,42)).cd())?0:eut(s),a=nF(this.a,r),e=this.a.d[a]))for(n=zz(e.g,367),u=e.i,o=0;o<u;++o)if((i=n[o]).Sh()==r&&i.Fb(c))return!0;return!1},TWt.Kc=function(){return 0==this.a.f?(pB(),wDe.a):new wX(this.a)},TWt.Mc=function(t){return MDt(this,t)},TWt.gc=function(){return this.a.f},mZ(q6t,"BasicEMap/5",1037),pDt(613,1,VWt,wX),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return-1!=this.b},TWt.Pb=function(){var t;if(this.f.e!=this.c)throw qw(new mm);if(-1==this.b)throw qw(new vm);return this.d=this.a,this.e=this.b,ckt(this),t=zz(this.f.d[this.d].g[this.e],133),this.vj(t)},TWt.Qb=function(){if(this.f.e!=this.c)throw qw(new mm);if(-1==this.e)throw qw(new pm);this.f.c.Mc(Ket(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&-1!=this.b&&--this.b},TWt.vj=function(t){return t},TWt.a=0,TWt.b=-1,TWt.c=0,TWt.d=0,TWt.e=0,mZ(q6t,"BasicEMap/BasicEMapIterator",613),pDt(1031,613,VWt,zk),TWt.vj=function(t){return t.cd()},mZ(q6t,"BasicEMap/BasicEMapKeyIterator",1031),pDt(1032,613,VWt,qk),TWt.vj=function(t){return t.dd()},mZ(q6t,"BasicEMap/BasicEMapValueIterator",1032),pDt(1030,1,JWt,gw),TWt.wc=function(t){eot(this,t)},TWt.yc=function(t,e,n){return tdt(this,t,e,n)},TWt.$b=function(){this.a.c.$b()},TWt._b=function(t){return zI(this,t)},TWt.uc=function(t){return QBt(this.a,t)},TWt.vc=function(){return I8(this.a)},TWt.Fb=function(t){return NR(this.a,t)},TWt.xc=function(t){return opt(this.a,t)},TWt.Hb=function(){return Tst(this.a.c)},TWt.dc=function(){return 0==this.a.f},TWt.ec=function(){return M8(this.a)},TWt.zc=function(t,e){return ykt(this.a,t,e)},TWt.Bc=function(t){return Kpt(this.a,t)},TWt.gc=function(){return this.a.f},TWt.Ib=function(){return Jdt(this.a.c)},TWt.Cc=function(){return S8(this.a)},mZ(q6t,"BasicEMap/DelegatingMap",1030),pDt(612,1,{42:1,133:1,612:1},Tz),TWt.Fb=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),(null!=this.b?Pht(this.b,e.cd()):UI(this.b)===UI(e.cd()))&&(null!=this.c?Pht(this.c,e.dd()):UI(this.c)===UI(e.dd())))},TWt.Sh=function(){return this.a},TWt.cd=function(){return this.b},TWt.dd=function(){return this.c},TWt.Hb=function(){return this.a^(null==this.c?0:eut(this.c))},TWt.Th=function(t){this.a=t},TWt.Uh=function(t){throw qw(new um)},TWt.ed=function(t){var e;return e=this.c,this.c=t,e},TWt.Ib=function(){return this.b+"->"+this.c},TWt.a=0;var wDe,mDe=mZ(q6t,"BasicEMap/EntryImpl",612);pDt(536,1,{},uc),mZ(q6t,"BasicEMap/View",536),pDt(768,1,{}),TWt.Fb=function(t){return PDt((TX(),lne),t)},TWt.Hb=function(){return zct((TX(),lne))},TWt.Ib=function(){return NEt((TX(),lne))},mZ(q6t,"ECollections/BasicEmptyUnmodifiableEList",768),pDt(1312,1,oKt,yc),TWt.Nb=function(t){hY(this,t)},TWt.Rb=function(t){throw qw(new wm)},TWt.Ob=function(){return!1},TWt.Sb=function(){return!1},TWt.Pb=function(){throw qw(new vm)},TWt.Tb=function(){return 0},TWt.Ub=function(){throw qw(new vm)},TWt.Vb=function(){return-1},TWt.Qb=function(){throw qw(new wm)},TWt.Wb=function(t){throw qw(new wm)},mZ(q6t,"ECollections/BasicEmptyUnmodifiableEList/1",1312),pDt(1310,768,{20:1,14:1,15:1,58:1},Ay),TWt.Vc=function(t,e){N_()},TWt.Fc=function(t){return P_()},TWt.Wc=function(t,e){return B_()},TWt.Gc=function(t){return F_()},TWt.$b=function(){R_()},TWt.Hc=function(t){return!1},TWt.Ic=function(t){return!1},TWt.Jc=function(t){n5(this,t)},TWt.Xb=function(t){return vM((TX(),t)),null},TWt.Xc=function(t){return-1},TWt.dc=function(){return!0},TWt.Kc=function(){return this.a},TWt.Yc=function(){return this.a},TWt.Zc=function(t){return this.a},TWt.ii=function(t,e){return j_()},TWt.ji=function(t,e){$_()},TWt.Lc=function(){return new FH(null,new g1(this,16))},TWt.$c=function(t){return z_()},TWt.Mc=function(t){return q_()},TWt._c=function(t,e){return H_()},TWt.gc=function(){return 0},TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return new g1(this,16)},TWt.Oc=function(){return new FH(null,new g1(this,16))},TWt.bd=function(t,e){return TX(),new u1(lne,t,e)},TWt.Pc=function(){return aG((TX(),lne))},TWt.Qc=function(t){return TX(),Ayt(lne,t)},mZ(q6t,"ECollections/EmptyUnmodifiableEList",1310),pDt(1311,768,{20:1,14:1,15:1,58:1,589:1},Ey),TWt.Vc=function(t,e){N_()},TWt.Fc=function(t){return P_()},TWt.Wc=function(t,e){return B_()},TWt.Gc=function(t){return F_()},TWt.$b=function(){R_()},TWt.Hc=function(t){return!1},TWt.Ic=function(t){return!1},TWt.Jc=function(t){n5(this,t)},TWt.Xb=function(t){return vM((TX(),t)),null},TWt.Xc=function(t){return-1},TWt.dc=function(){return!0},TWt.Kc=function(){return this.a},TWt.Yc=function(){return this.a},TWt.Zc=function(t){return this.a},TWt.ii=function(t,e){return j_()},TWt.ji=function(t,e){$_()},TWt.Lc=function(){return new FH(null,new g1(this,16))},TWt.$c=function(t){return z_()},TWt.Mc=function(t){return q_()},TWt._c=function(t,e){return H_()},TWt.gc=function(){return 0},TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return new g1(this,16)},TWt.Oc=function(){return new FH(null,new g1(this,16))},TWt.bd=function(t,e){return TX(),new u1(lne,t,e)},TWt.Pc=function(){return aG((TX(),lne))},TWt.Qc=function(t){return TX(),Ayt(lne,t)},TWt.sj=function(){return TX(),TX(),hne},mZ(q6t,"ECollections/EmptyUnmodifiableEMap",1311);var yDe,vDe=dH(q6t,"Enumerator");pDt(281,1,{281:1},aFt),TWt.Fb=function(t){var e;return this===t||!!aL(t,281)&&(e=zz(t,281),this.f==e.f&&mU(this.i,e.i)&&wU(this.a,0!=(256&this.f)?0!=(256&e.f)?e.a:null:0!=(256&e.f)?null:e.a)&&wU(this.d,e.d)&&wU(this.g,e.g)&&wU(this.e,e.e)&&Cwt(this,e))},TWt.Hb=function(){return this.f},TWt.Ib=function(){return Tjt(this)},TWt.f=0;var xDe,kDe,_De,ADe=0,EDe=0,TDe=0,CDe=0,SDe=0,IDe=0,MDe=0,DDe=0,ODe=0,LDe=0,NDe=0,PDe=0,BDe=0;mZ(q6t,"URI",281),pDt(1091,43,nVt,Ty),TWt.zc=function(t,e){return zz(yJ(this,TB(t),zz(e,281)),281)},mZ(q6t,"URI/URICache",1091),pDt(497,63,h8t,fc,rU),TWt.hi=function(){return!0},mZ(q6t,"UniqueEList",497),pDt(581,60,qKt,L9),mZ(q6t,"WrappedException",581);var FDe,RDe=dH(U5t,l7t),jDe=dH(U5t,h7t),$De=dH(U5t,f7t),zDe=dH(U5t,d7t),qDe=dH(U5t,g7t),HDe=dH(U5t,"EClass"),UDe=dH(U5t,"EDataType");pDt(1183,43,nVt,Cy),TWt.xc=function(t){return ZI(t)?TQ(this,t):HI(DV(this.f,t))},mZ(U5t,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var GDe,YDe,ZDe=dH(U5t,"EEnum"),WDe=dH(U5t,p7t),KDe=dH(U5t,b7t),XDe=dH(U5t,w7t),VDe=dH(U5t,m7t),QDe=dH(U5t,y7t);pDt(1029,1,{},hc),TWt.Ib=function(){return"NIL"},mZ(U5t,"EStructuralFeature/Internal/DynamicValueHolder/1",1029),pDt(1028,43,nVt,Sy),TWt.xc=function(t){return ZI(t)?TQ(this,t):HI(DV(this.f,t))},mZ(U5t,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var JDe,tOe,eOe,nOe,iOe,rOe,aOe,oOe,sOe,cOe,uOe,lOe,hOe,fOe,dOe,gOe,pOe,bOe,wOe,mOe,yOe,vOe,xOe,kOe,_Oe,AOe,EOe,TOe,COe,SOe,IOe,MOe=dH(U5t,v7t),DOe=dH(U5t,"EValidator/PatternMatcher"),OOe=dH(x7t,"FeatureMap/Entry");pDt(535,1,{72:1},SI),TWt.ak=function(){return this.a},TWt.dd=function(){return this.b},mZ(d6t,"BasicEObjectImpl/1",535),pDt(1027,1,k7t,II),TWt.Wj=function(t){return K5(this.a,this.b,t)},TWt.fj=function(){return JQ(this.a,this.b)},TWt.Wb=function(t){NQ(this.a,this.b,t)},TWt.Xj=function(){CW(this.a,this.b)},mZ(d6t,"BasicEObjectImpl/4",1027),pDt(1983,1,{108:1}),TWt.bk=function(t){this.e=0==t?EOe:P8(Ote,HWt,1,t,5,1)},TWt.Ch=function(t){return this.e[t]},TWt.Dh=function(t,e){this.e[t]=e},TWt.Eh=function(t){this.e[t]=null},TWt.ck=function(){return this.c},TWt.dk=function(){throw qw(new wm)},TWt.ek=function(){throw qw(new wm)},TWt.fk=function(){return this.d},TWt.gk=function(){return null!=this.e},TWt.hk=function(t){this.c=t},TWt.ik=function(t){throw qw(new wm)},TWt.jk=function(t){throw qw(new wm)},TWt.kk=function(t){this.d=t},mZ(d6t,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),pDt(185,1983,{108:1},Fh),TWt.dk=function(){return this.a},TWt.ek=function(){return this.b},TWt.ik=function(t){this.a=t},TWt.jk=function(t){this.b=t},mZ(d6t,"BasicEObjectImpl/EPropertiesHolderImpl",185),pDt(506,97,f6t,vc),TWt.Kg=function(){return this.f},TWt.Pg=function(){return this.k},TWt.Rg=function(t,e){this.g=t,this.i=e},TWt.Tg=function(){return 0==(2&this.j)?this.zh():this.ph().ck()},TWt.Vg=function(){return this.i},TWt.Mg=function(){return 0!=(1&this.j)},TWt.eh=function(){return this.g},TWt.kh=function(){return 0!=(4&this.j)},TWt.ph=function(){return!this.k&&(this.k=new Fh),this.k},TWt.th=function(t){this.ph().hk(t),t?this.j|=2:this.j&=-3},TWt.vh=function(t){this.ph().jk(t),t?this.j|=4:this.j&=-5},TWt.zh=function(){return(XZ(),eOe).S},TWt.i=0,TWt.j=1,mZ(d6t,"EObjectImpl",506),pDt(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},kq),TWt.Ch=function(t){return this.e[t]},TWt.Dh=function(t,e){this.e[t]=e},TWt.Eh=function(t){this.e[t]=null},TWt.Tg=function(){return this.d},TWt.Yg=function(t){return Ogt(this.d,t)},TWt.$g=function(){return this.d},TWt.dh=function(){return null!=this.e},TWt.ph=function(){return!this.k&&(this.k=new xc),this.k},TWt.th=function(t){this.d=t},TWt.yh=function(){var t;return null==this.e&&(t=dZ(this.d),this.e=0==t?TOe:P8(Ote,HWt,1,t,5,1)),this},TWt.Ah=function(){return 0},mZ(d6t,"DynamicEObjectImpl",780),pDt(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},hH),TWt.Fb=function(t){return this===t},TWt.Hb=function(){return CN(this)},TWt.th=function(t){this.d=t,this.b=PNt(t,"key"),this.c=PNt(t,A6t)},TWt.Sh=function(){var t;return-1==this.a&&(t=Q9(this,this.b),this.a=null==t?0:eut(t)),this.a},TWt.cd=function(){return Q9(this,this.b)},TWt.dd=function(){return Q9(this,this.c)},TWt.Th=function(t){this.a=t},TWt.Uh=function(t){NQ(this,this.b,t)},TWt.ed=function(t){var e;return e=Q9(this,this.c),NQ(this,this.c,t),e},TWt.a=0,mZ(d6t,"DynamicEObjectImpl/BasicEMapEntry",1376),pDt(1377,1,{108:1},xc),TWt.bk=function(t){throw qw(new wm)},TWt.Ch=function(t){throw qw(new wm)},TWt.Dh=function(t,e){throw qw(new wm)},TWt.Eh=function(t){throw qw(new wm)},TWt.ck=function(){throw qw(new wm)},TWt.dk=function(){return this.a},TWt.ek=function(){return this.b},TWt.fk=function(){return this.c},TWt.gk=function(){throw qw(new wm)},TWt.hk=function(t){throw qw(new wm)},TWt.ik=function(t){this.a=t},TWt.jk=function(t){this.b=t},TWt.kk=function(t){this.c=t},mZ(d6t,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),pDt(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},kc),TWt.Qg=function(t){return gxt(this,t)},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new QP((wWt(),xOe),ZOe,this)),this.b):(!this.b&&(this.b=new QP((wWt(),xOe),ZOe,this)),D8(this.b));case 3:return dJ(this);case 4:return!this.a&&(this.a=new OL(LMe,this,4)),this.a;case 5:return!this.c&&(this.c=new FL(LMe,this,5)),this.c}return Y7(this,t-dZ((wWt(),nOe)),iet(zz(xot(this,16),26)||nOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 3:return this.Cb&&(n=(i=this.Db>>16)>=0?gxt(this,n):this.Cb.ih(this,-1-i,null,n)),XU(this,zz(t,147),n)}return zz(iet(zz(xot(this,16),26)||(wWt(),nOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),nOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 2:return!this.b&&(this.b=new QP((wWt(),xOe),ZOe,this)),zR(this.b,t,n);case 3:return XU(this,null,n);case 4:return!this.a&&(this.a=new OL(LMe,this,4)),$wt(this.a,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),nOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),nOe)),t,n)},TWt.lh=function(t){switch(t){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!!dJ(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return M3(this,t-dZ((wWt(),nOe)),iet(zz(xot(this,16),26)||nOe,t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void wH(this,TB(e));case 2:return!this.b&&(this.b=new QP((wWt(),xOe),ZOe,this)),void not(this.b,e);case 3:return void DNt(this,zz(e,147));case 4:return!this.a&&(this.a=new OL(LMe,this,4)),lHt(this.a),!this.a&&(this.a=new OL(LMe,this,4)),void wZ(this.a,zz(e,14));case 5:return!this.c&&(this.c=new FL(LMe,this,5)),lHt(this.c),!this.c&&(this.c=new FL(LMe,this,5)),void wZ(this.c,zz(e,14))}Ndt(this,t-dZ((wWt(),nOe)),iet(zz(xot(this,16),26)||nOe,t),e)},TWt.zh=function(){return wWt(),nOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void qit(this,null);case 2:return!this.b&&(this.b=new QP((wWt(),xOe),ZOe,this)),void this.b.c.$b();case 3:return void DNt(this,null);case 4:return!this.a&&(this.a=new OL(LMe,this,4)),void lHt(this.a);case 5:return!this.c&&(this.c=new FL(LMe,this,5)),void lHt(this.c)}Uht(this,t-dZ((wWt(),nOe)),iet(zz(xot(this,16),26)||nOe,t))},TWt.Ib=function(){return Xht(this)},TWt.d=null,mZ(d6t,"EAnnotationImpl",510),pDt(151,705,_7t,v7),TWt.Xh=function(t,e){tO(this,t,zz(e,42))},TWt.lk=function(t,e){return $R(this,zz(t,42),e)},TWt.pi=function(t){return zz(zz(this.c,69).pi(t),133)},TWt.Zh=function(){return zz(this.c,69).Zh()},TWt.$h=function(){return zz(this.c,69).$h()},TWt._h=function(t){return zz(this.c,69)._h(t)},TWt.mk=function(t,e){return zR(this,t,e)},TWt.Wj=function(t){return zz(this.c,76).Wj(t)},TWt.rj=function(){},TWt.fj=function(){return zz(this.c,76).fj()},TWt.tj=function(t,e,n){var i;return(i=zz(Zet(this.b).Nh().Jh(this.b),133)).Th(t),i.Uh(e),i.ed(n),i},TWt.uj=function(){return new Iw(this)},TWt.Wb=function(t){not(this,t)},TWt.Xj=function(){zz(this.c,76).Xj()},mZ(x7t,"EcoreEMap",151),pDt(158,151,_7t,QP),TWt.qj=function(){var t,e,n,i,r;if(null==this.d){for(r=P8(cDe,o7t,63,2*this.f+1,0,1),n=this.c.Kc();n.e!=n.i.gc();)!(t=r[i=((e=zz(n.nj(),133)).Sh()&FWt)%r.length])&&(t=r[i]=new Iw(this)),t.Fc(e);this.d=r}},mZ(d6t,"EAnnotationImpl/1",158),pDt(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}),TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),!!this.$j();case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q}return Y7(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 9:return bZ(this,n)}return zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Rj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);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==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i)}return M3(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void this.Lh(TB(e));case 2:return void Qht(this,Hv(AB(e)));case 3:return void eft(this,Hv(AB(e)));case 4:return void Nnt(this,zz(e,19).a);case 5:return void this.ok(zz(e,19).a);case 8:return void Mlt(this,zz(e,138));case 9:return void((n=HAt(this,zz(e,87),null))&&n.Fi())}Ndt(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e)},TWt.zh=function(){return wWt(),_Oe},TWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void this.Lh(null);case 2:return void Qht(this,!0);case 3:return void eft(this,!0);case 4:return void Nnt(this,0);case 5:return void this.ok(1);case 8:return void Mlt(this,null);case 9:return void((e=HAt(this,null,null))&&e.Fi())}Uht(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.Gh=function(){Mxt(this),this.Bb|=1},TWt.Yj=function(){return Mxt(this)},TWt.Zj=function(){return this.t},TWt.$j=function(){var t;return(t=this.t)>1||-1==t},TWt.hi=function(){return 0!=(512&this.Bb)},TWt.nk=function(t,e){return Sht(this,t,e)},TWt.ok=function(t){Pnt(this,t)},TWt.Ib=function(){return jMt(this)},TWt.s=0,TWt.t=1,mZ(d6t,"ETypedElementImpl",284),pDt(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}),TWt.Qg=function(t){return Pvt(this,t)},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),!!this.$j();case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q;case 10:return lN(),0!=(this.Bb&k6t);case 11:return lN(),0!=(this.Bb&T7t);case 12:return lN(),0!=(this.Bb&$Xt);case 13:return this.j;case 14:return ULt(this);case 15:return lN(),0!=(this.Bb&E7t);case 16:return lN(),0!=(this.Bb&hKt);case 17:return pJ(this)}return Y7(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 17:return this.Cb&&(n=(i=this.Db>>16)>=0?Pvt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,17,n)}return zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Qj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 9:return bZ(this,n);case 17:return Ejt(this,null,17,n)}return zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Rj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);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==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return 0==(this.Bb&k6t);case 11:return 0!=(this.Bb&T7t);case 12:return 0!=(this.Bb&$Xt);case 13:return null!=this.j;case 14:return null!=ULt(this);case 15:return 0!=(this.Bb&E7t);case 16:return 0!=(this.Bb&hKt);case 17:return!!pJ(this)}return M3(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void QJ(this,TB(e));case 2:return void Qht(this,Hv(AB(e)));case 3:return void eft(this,Hv(AB(e)));case 4:return void Nnt(this,zz(e,19).a);case 5:return void this.ok(zz(e,19).a);case 8:return void Mlt(this,zz(e,138));case 9:return void((n=HAt(this,zz(e,87),null))&&n.Fi());case 10:return void Oft(this,Hv(AB(e)));case 11:return void Pft(this,Hv(AB(e)));case 12:return void Lft(this,Hv(AB(e)));case 13:return void jI(this,TB(e));case 15:return void Nft(this,Hv(AB(e)));case 16:return void Uft(this,Hv(AB(e)))}Ndt(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e)},TWt.zh=function(){return wWt(),kOe},TWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,88)&&OSt(C5(zz(this.Cb,88)),4),void Prt(this,null);case 2:return void Qht(this,!0);case 3:return void eft(this,!0);case 4:return void Nnt(this,0);case 5:return void this.ok(1);case 8:return void Mlt(this,null);case 9:return void((e=HAt(this,null,null))&&e.Fi());case 10:return void Oft(this,!0);case 11:return void Pft(this,!1);case 12:return void Lft(this,!1);case 13:return this.i=null,void srt(this,null);case 15:return void Nft(this,!1);case 16:return void Uft(this,!1)}Uht(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.Gh=function(){xK(z9((MCt(),JOe),this)),Mxt(this),this.Bb|=1},TWt.Gj=function(){return this.f},TWt.zj=function(){return ULt(this)},TWt.Hj=function(){return pJ(this)},TWt.Lj=function(){return null},TWt.pk=function(){return this.k},TWt.aj=function(){return this.n},TWt.Mj=function(){return u_t(this)},TWt.Nj=function(){var t,e,n,i,r,a,o,s,c;return this.p||((null==(n=pJ(this)).i&&U$t(n),n.i).length,(i=this.Lj())&&dZ(pJ(i)),t=(o=(r=Mxt(this)).Bj())?0!=(1&o.i)?o==ONe?kee:o==DNe?Oee:o==BNe?Iee:o==PNe?See:o==LNe?Ree:o==FNe?$ee:o==NNe?Eee:Cee:o:null,e=ULt(this),s=r.zj(),gdt(this),0!=(this.Bb&hKt)&&((a=vkt((MCt(),JOe),n))&&a!=this||(a=J1(z9(JOe,this))))?this.p=new DI(this,a):this.$j()?this.rk()?i?0!=(this.Bb&E7t)?t?this.sk()?this.p=new fX(47,t,this,i):this.p=new fX(5,t,this,i):this.sk()?this.p=new g4(46,this,i):this.p=new g4(4,this,i):t?this.sk()?this.p=new fX(49,t,this,i):this.p=new fX(7,t,this,i):this.sk()?this.p=new g4(48,this,i):this.p=new g4(6,this,i):0!=(this.Bb&E7t)?t?t==Hte?this.p=new Cz(50,KMe,this):this.sk()?this.p=new Cz(43,t,this):this.p=new Cz(1,t,this):this.sk()?this.p=new FV(42,this):this.p=new FV(0,this):t?t==Hte?this.p=new Cz(41,KMe,this):this.sk()?this.p=new Cz(45,t,this):this.p=new Cz(3,t,this):this.sk()?this.p=new FV(44,this):this.p=new FV(2,this):aL(r,148)?t==OOe?this.p=new FV(40,this):0!=(512&this.Bb)?0!=(this.Bb&E7t)?this.p=t?new Cz(9,t,this):new FV(8,this):this.p=t?new Cz(11,t,this):new FV(10,this):0!=(this.Bb&E7t)?this.p=t?new Cz(13,t,this):new FV(12,this):this.p=t?new Cz(15,t,this):new FV(14,this):i?(c=i.t)>1||-1==c?this.sk()?0!=(this.Bb&E7t)?this.p=t?new fX(25,t,this,i):new g4(24,this,i):this.p=t?new fX(27,t,this,i):new g4(26,this,i):0!=(this.Bb&E7t)?this.p=t?new fX(29,t,this,i):new g4(28,this,i):this.p=t?new fX(31,t,this,i):new g4(30,this,i):this.sk()?0!=(this.Bb&E7t)?this.p=t?new fX(33,t,this,i):new g4(32,this,i):this.p=t?new fX(35,t,this,i):new g4(34,this,i):0!=(this.Bb&E7t)?this.p=t?new fX(37,t,this,i):new g4(36,this,i):this.p=t?new fX(39,t,this,i):new g4(38,this,i):this.sk()?0!=(this.Bb&E7t)?this.p=t?new Cz(17,t,this):new FV(16,this):this.p=t?new Cz(19,t,this):new FV(18,this):0!=(this.Bb&E7t)?this.p=t?new Cz(21,t,this):new FV(20,this):this.p=t?new Cz(23,t,this):new FV(22,this):this.qk()?this.sk()?this.p=new Sz(zz(r,26),this,i):this.p=new yQ(zz(r,26),this,i):aL(r,148)?t==OOe?this.p=new FV(40,this):0!=(this.Bb&E7t)?this.p=t?new tG(e,s,this,(qgt(),o==DNe?HOe:o==ONe?ROe:o==LNe?UOe:o==BNe?qOe:o==PNe?zOe:o==FNe?YOe:o==NNe?jOe:o==MNe?$Oe:GOe)):new pX(zz(r,148),e,s,this):this.p=t?new JU(e,s,this,(qgt(),o==DNe?HOe:o==ONe?ROe:o==LNe?UOe:o==BNe?qOe:o==PNe?zOe:o==FNe?YOe:o==NNe?jOe:o==MNe?$Oe:GOe)):new gX(zz(r,148),e,s,this):this.rk()?i?0!=(this.Bb&E7t)?this.sk()?this.p=new Nz(zz(r,26),this,i):this.p=new Lz(zz(r,26),this,i):this.sk()?this.p=new Oz(zz(r,26),this,i):this.p=new Iz(zz(r,26),this,i):0!=(this.Bb&E7t)?this.sk()?this.p=new nB(zz(r,26),this):this.p=new eB(zz(r,26),this):this.sk()?this.p=new tB(zz(r,26),this):this.p=new JP(zz(r,26),this):this.sk()?i?0!=(this.Bb&E7t)?this.p=new Pz(zz(r,26),this,i):this.p=new Mz(zz(r,26),this,i):0!=(this.Bb&E7t)?this.p=new rB(zz(r,26),this):this.p=new iB(zz(r,26),this):i?0!=(this.Bb&E7t)?this.p=new Bz(zz(r,26),this,i):this.p=new Dz(zz(r,26),this,i):0!=(this.Bb&E7t)?this.p=new aB(zz(r,26),this):this.p=new aU(zz(r,26),this)),this.p},TWt.Ij=function(){return 0!=(this.Bb&k6t)},TWt.qk=function(){return!1},TWt.rk=function(){return!1},TWt.Jj=function(){return 0!=(this.Bb&hKt)},TWt.Oj=function(){return ltt(this)},TWt.sk=function(){return!1},TWt.Kj=function(){return 0!=(this.Bb&E7t)},TWt.tk=function(t){this.k=t},TWt.Lh=function(t){QJ(this,t)},TWt.Ib=function(){return AFt(this)},TWt.e=!1,TWt.n=0,mZ(d6t,"EStructuralFeatureImpl",449),pDt(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},My),TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),!!PIt(this);case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q;case 10:return lN(),0!=(this.Bb&k6t);case 11:return lN(),0!=(this.Bb&T7t);case 12:return lN(),0!=(this.Bb&$Xt);case 13:return this.j;case 14:return ULt(this);case 15:return lN(),0!=(this.Bb&E7t);case 16:return lN(),0!=(this.Bb&hKt);case 17:return pJ(this);case 18:return lN(),0!=(this.Bb&h6t);case 19:return e?cst(this):P6(this)}return Y7(this,t-dZ((wWt(),iOe)),iet(zz(xot(this,16),26)||iOe,t),e,n)},TWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return PIt(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return 0==(this.Bb&k6t);case 11:return 0!=(this.Bb&T7t);case 12:return 0!=(this.Bb&$Xt);case 13:return null!=this.j;case 14:return null!=ULt(this);case 15:return 0!=(this.Bb&E7t);case 16:return 0!=(this.Bb&hKt);case 17:return!!pJ(this);case 18:return 0!=(this.Bb&h6t);case 19:return!!P6(this)}return M3(this,t-dZ((wWt(),iOe)),iet(zz(xot(this,16),26)||iOe,t))},TWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void QJ(this,TB(e));case 2:return void Qht(this,Hv(AB(e)));case 3:return void eft(this,Hv(AB(e)));case 4:return void Nnt(this,zz(e,19).a);case 5:return void Yk(this,zz(e,19).a);case 8:return void Mlt(this,zz(e,138));case 9:return void((n=HAt(this,zz(e,87),null))&&n.Fi());case 10:return void Oft(this,Hv(AB(e)));case 11:return void Pft(this,Hv(AB(e)));case 12:return void Lft(this,Hv(AB(e)));case 13:return void jI(this,TB(e));case 15:return void Nft(this,Hv(AB(e)));case 16:return void Uft(this,Hv(AB(e)));case 18:return void Gft(this,Hv(AB(e)))}Ndt(this,t-dZ((wWt(),iOe)),iet(zz(xot(this,16),26)||iOe,t),e)},TWt.zh=function(){return wWt(),iOe},TWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,88)&&OSt(C5(zz(this.Cb,88)),4),void Prt(this,null);case 2:return void Qht(this,!0);case 3:return void eft(this,!0);case 4:return void Nnt(this,0);case 5:return this.b=0,void Pnt(this,1);case 8:return void Mlt(this,null);case 9:return void((e=HAt(this,null,null))&&e.Fi());case 10:return void Oft(this,!0);case 11:return void Pft(this,!1);case 12:return void Lft(this,!1);case 13:return this.i=null,void srt(this,null);case 15:return void Nft(this,!1);case 16:return void Uft(this,!1);case 18:return void Gft(this,!1)}Uht(this,t-dZ((wWt(),iOe)),iet(zz(xot(this,16),26)||iOe,t))},TWt.Gh=function(){cst(this),xK(z9((MCt(),JOe),this)),Mxt(this),this.Bb|=1},TWt.$j=function(){return PIt(this)},TWt.nk=function(t,e){return this.b=0,this.a=null,Sht(this,t,e)},TWt.ok=function(t){Yk(this,t)},TWt.Ib=function(){var t;return 0!=(64&this.Db)?AFt(this):((t=new hN(AFt(this))).a+=" (iD: ",v_(t,0!=(this.Bb&h6t)),t.a+=")",t.a)},TWt.b=0,mZ(d6t,"EAttributeImpl",322),pDt(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}),TWt.uk=function(t){return t.Tg()==this},TWt.Qg=function(t){return fvt(this,t)},TWt.Rg=function(t,e){this.w=null,this.Db=e<<16|255&this.Db,this.Cb=t},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return rvt(this);case 4:return this.zj();case 5:return this.F;case 6:return e?Zet(this):gJ(this);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),this.A}return Y7(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?fvt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,6,n)}return zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Qj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 6:return Ejt(this,null,6,n);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),$wt(this.A,t,n)}return zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Rj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.lh=function(t){switch(t){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!!rvt(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!gJ(this);case 7:return!!this.A&&0!=this.A.i}return M3(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void JJ(this,TB(e));case 2:return void ID(this,TB(e));case 5:return void QHt(this,TB(e));case 7:return!this.A&&(this.A=new NL(MOe,this,7)),lHt(this.A),!this.A&&(this.A=new NL(MOe,this,7)),void wZ(this.A,zz(e,14))}Ndt(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e)},TWt.zh=function(){return wWt(),aOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,179)&&(zz(this.Cb,179).tb=null),void Prt(this,null);case 2:return Fut(this,null),void Bnt(this,this.D);case 5:return void QHt(this,null);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),void lHt(this.A)}Uht(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.yj=function(){var t;return-1==this.G&&(this.G=(t=Zet(this))?cmt(t.Mh(),this):-1),this.G},TWt.zj=function(){return null},TWt.Aj=function(){return Zet(this)},TWt.vk=function(){return this.v},TWt.Bj=function(){return rvt(this)},TWt.Cj=function(){return null!=this.D?this.D:this.B},TWt.Dj=function(){return this.F},TWt.wj=function(t){return C$t(this,t)},TWt.wk=function(t){this.v=t},TWt.xk=function(t){Zrt(this,t)},TWt.yk=function(t){this.C=t},TWt.Lh=function(t){JJ(this,t)},TWt.Ib=function(){return Igt(this)},TWt.C=null,TWt.D=null,TWt.G=-1,mZ(d6t,"EClassifierImpl",351),pDt(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},Rh),TWt.uk=function(t){return XF(this,t.Tg())},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return rvt(this);case 4:return null;case 5:return this.F;case 6:return e?Zet(this):gJ(this);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),this.A;case 8:return lN(),0!=(256&this.Bb);case 9:return lN(),0!=(512&this.Bb);case 10:return xV(this);case 11:return!this.q&&(this.q=new nY(XDe,this,11,10)),this.q;case 12:return Qzt(this);case 13:return Rzt(this);case 14:return Rzt(this),this.r;case 15:return Qzt(this),this.k;case 16:return KCt(this);case 17:return wzt(this);case 18:return U$t(this);case 19:return ILt(this);case 20:return Qzt(this),this.o;case 21:return!this.s&&(this.s=new nY($De,this,21,17)),this.s;case 22:return o4(this);case 23:return HBt(this)}return Y7(this,t-dZ((wWt(),rOe)),iet(zz(xot(this,16),26)||rOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?fvt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,6,n);case 11:return!this.q&&(this.q=new nY(XDe,this,11,10)),Qgt(this.q,t,n);case 21:return!this.s&&(this.s=new nY($De,this,21,17)),Qgt(this.s,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),rOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),rOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 6:return Ejt(this,null,6,n);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),$wt(this.A,t,n);case 11:return!this.q&&(this.q=new nY(XDe,this,11,10)),$wt(this.q,t,n);case 21:return!this.s&&(this.s=new nY($De,this,21,17)),$wt(this.s,t,n);case 22:return $wt(o4(this),t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),rOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),rOe)),t,n)},TWt.lh=function(t){switch(t){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!!rvt(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!gJ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==o4(this.u.a).i||this.n&&Rmt(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=Qzt(this).i;case 13:return 0!=Rzt(this).i;case 14:return Rzt(this),0!=this.r.i;case 15:return Qzt(this),0!=this.k.i;case 16:return 0!=KCt(this).i;case 17:return 0!=wzt(this).i;case 18:return 0!=U$t(this).i;case 19:return 0!=ILt(this).i;case 20:return Qzt(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&Rmt(this.n);case 23:return 0!=HBt(this).i}return M3(this,t-dZ((wWt(),rOe)),iet(zz(xot(this,16),26)||rOe,t))},TWt.oh=function(t){return(null==this.i||this.q&&0!=this.q.i?null:PNt(this,t))||hYt(this,t)},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void JJ(this,TB(e));case 2:return void ID(this,TB(e));case 5:return void QHt(this,TB(e));case 7:return!this.A&&(this.A=new NL(MOe,this,7)),lHt(this.A),!this.A&&(this.A=new NL(MOe,this,7)),void wZ(this.A,zz(e,14));case 8:return void Jht(this,Hv(AB(e)));case 9:return void nft(this,Hv(AB(e)));case 10:return yHt(xV(this)),void wZ(xV(this),zz(e,14));case 11:return!this.q&&(this.q=new nY(XDe,this,11,10)),lHt(this.q),!this.q&&(this.q=new nY(XDe,this,11,10)),void wZ(this.q,zz(e,14));case 21:return!this.s&&(this.s=new nY($De,this,21,17)),lHt(this.s),!this.s&&(this.s=new nY($De,this,21,17)),void wZ(this.s,zz(e,14));case 22:return lHt(o4(this)),void wZ(o4(this),zz(e,14))}Ndt(this,t-dZ((wWt(),rOe)),iet(zz(xot(this,16),26)||rOe,t),e)},TWt.zh=function(){return wWt(),rOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,179)&&(zz(this.Cb,179).tb=null),void Prt(this,null);case 2:return Fut(this,null),void Bnt(this,this.D);case 5:return void QHt(this,null);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),void lHt(this.A);case 8:return void Jht(this,!1);case 9:return void nft(this,!1);case 10:return void(this.u&&yHt(this.u));case 11:return!this.q&&(this.q=new nY(XDe,this,11,10)),void lHt(this.q);case 21:return!this.s&&(this.s=new nY($De,this,21,17)),void lHt(this.s);case 22:return void(this.n&&lHt(this.n))}Uht(this,t-dZ((wWt(),rOe)),iet(zz(xot(this,16),26)||rOe,t))},TWt.Gh=function(){var t,e;if(Qzt(this),Rzt(this),KCt(this),wzt(this),U$t(this),ILt(this),HBt(this),o6(Zz(C5(this))),this.s)for(t=0,e=this.s.i;t<e;++t)mP(Ket(this.s,t));if(this.q)for(t=0,e=this.q.i;t<e;++t)mP(Ket(this.q,t));Iht((MCt(),JOe),this).ne(),this.Bb|=1},TWt.Ib=function(){return b_t(this)},TWt.k=null,TWt.r=null,mZ(d6t,"EClassImpl",88),pDt(1994,1993,F7t),TWt.Vh=function(t,e){return N$t(this,t,e)},TWt.Wh=function(t){return N$t(this,this.i,t)},TWt.Xh=function(t,e){UMt(this,t,e)},TWt.Yh=function(t){nDt(this,t)},TWt.lk=function(t,e){return Qgt(this,t,e)},TWt.pi=function(t){return $7(this,t)},TWt.mk=function(t,e){return $wt(this,t,e)},TWt.mi=function(t,e){return fzt(this,t,e)},TWt.Zh=function(){return new oP(this)},TWt.$h=function(){return new sP(this)},TWt._h=function(t){return lit(this,t)},mZ(x7t,"NotifyingInternalEListImpl",1994),pDt(622,1994,R7t),TWt.Hc=function(t){return gHt(this,t)},TWt.Zi=function(t,e,n,i,r){return vJ(this,t,e,n,i,r)},TWt.$i=function(t){Lm(this,t)},TWt.Wj=function(t){return this},TWt.ak=function(){return iet(this.e.Tg(),this.aj())},TWt._i=function(){return this.ak()},TWt.aj=function(){return Ogt(this.e.Tg(),this.ak())},TWt.zk=function(){return zz(this.ak().Yj(),26).Bj()},TWt.Ak=function(){return Imt(zz(this.ak(),18)).n},TWt.Ai=function(){return this.e},TWt.Bk=function(){return!0},TWt.Ck=function(){return!1},TWt.Dk=function(){return!1},TWt.Ek=function(){return!1},TWt.Xc=function(t){return cmt(this,t)},TWt.cj=function(t,e){var n;return n=zz(t,49),this.Dk()?this.Bk()?n.gh(this.e,this.Ak(),this.zk(),e):n.gh(this.e,Ogt(n.Tg(),Imt(zz(this.ak(),18))),null,e):n.gh(this.e,-1-this.aj(),null,e)},TWt.dj=function(t,e){var n;return n=zz(t,49),this.Dk()?this.Bk()?n.ih(this.e,this.Ak(),this.zk(),e):n.ih(this.e,Ogt(n.Tg(),Imt(zz(this.ak(),18))),null,e):n.ih(this.e,-1-this.aj(),null,e)},TWt.rk=function(){return!1},TWt.Fk=function(){return!0},TWt.wj=function(t){return P3(this.d,t)},TWt.ej=function(){return yD(this.e)},TWt.fj=function(){return 0!=this.i},TWt.ri=function(t){return Fnt(this.d,t)},TWt.li=function(t,e){return this.Fk()&&this.Ek()?GMt(this,t,zz(e,56)):e},TWt.Gk=function(t){return t.kh()?nht(this.e,zz(t,49)):t},TWt.Wb=function(t){QO(this,t)},TWt.Pc=function(){return q7(this)},TWt.Qc=function(t){var e;if(this.Ek())for(e=this.i-1;e>=0;--e)Ket(this,e);return Vgt(this,t)},TWt.Xj=function(){lHt(this)},TWt.oi=function(t,e){return $nt(this,t,e)},mZ(x7t,"EcoreEList",622),pDt(496,622,R7t,vq),TWt.ai=function(){return!1},TWt.aj=function(){return this.c},TWt.bj=function(){return!1},TWt.Fk=function(){return!0},TWt.hi=function(){return!0},TWt.li=function(t,e){return e},TWt.ni=function(){return!1},TWt.c=0,mZ(x7t,"EObjectEList",496),pDt(85,496,R7t,OL),TWt.bj=function(){return!0},TWt.Dk=function(){return!1},TWt.rk=function(){return!0},mZ(x7t,"EObjectContainmentEList",85),pDt(545,85,R7t,LL),TWt.ci=function(){this.b=!0},TWt.fj=function(){return this.b},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.b,this.b=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.b=!1},TWt.b=!1,mZ(x7t,"EObjectContainmentEList/Unsettable",545),pDt(1140,545,R7t,VU),TWt.ii=function(t,e){var n,i;return n=zz(Mft(this,t,e),87),yD(this.e)&&Lm(this,new k7(this.a,7,(wWt(),oOe),rft(e),aL(i=n.c,88)?zz(i,26):pOe,t)),n},TWt.jj=function(t,e){return tpt(this,zz(t,87),e)},TWt.kj=function(t,e){return Jgt(this,zz(t,87),e)},TWt.lj=function(t,e,n){return $kt(this,zz(t,87),zz(e,87),n)},TWt.Zi=function(t,e,n,i,r){switch(t){case 3:return vJ(this,t,e,n,i,this.i>1);case 5:return vJ(this,t,e,n,i,this.i-zz(n,15).gc()>0);default:return new N9(this.e,t,this.c,e,n,i,!0)}},TWt.ij=function(){return!0},TWt.fj=function(){return Rmt(this)},TWt.Xj=function(){lHt(this)},mZ(d6t,"EClassImpl/1",1140),pDt(1154,1153,t7t),TWt.ui=function(t){var e,n,i,r,a,o,s;if(8!=(n=t.xi())){if(0==(i=swt(t)))switch(n){case 1:case 9:null!=(s=t.Bi())&&(!(e=C5(zz(s,473))).c&&(e.c=new zc),utt(e.c,t.Ai())),null!=(o=t.zi())&&0==(1&(r=zz(o,473)).Bb)&&(!(e=C5(r)).c&&(e.c=new zc),h7(e.c,zz(t.Ai(),26)));break;case 3:null!=(o=t.zi())&&0==(1&(r=zz(o,473)).Bb)&&(!(e=C5(r)).c&&(e.c=new zc),h7(e.c,zz(t.Ai(),26)));break;case 5:if(null!=(o=t.zi()))for(a=zz(o,14).Kc();a.Ob();)0==(1&(r=zz(a.Pb(),473)).Bb)&&(!(e=C5(r)).c&&(e.c=new zc),h7(e.c,zz(t.Ai(),26)));break;case 4:null!=(s=t.Bi())&&0==(1&(r=zz(s,473)).Bb)&&(!(e=C5(r)).c&&(e.c=new zc),utt(e.c,t.Ai()));break;case 6:if(null!=(s=t.Bi()))for(a=zz(s,14).Kc();a.Ob();)0==(1&(r=zz(a.Pb(),473)).Bb)&&(!(e=C5(r)).c&&(e.c=new zc),utt(e.c,t.Ai()))}this.Hk(i)}},TWt.Hk=function(t){bFt(this,t)},TWt.b=63,mZ(d6t,"ESuperAdapter",1154),pDt(1155,1154,t7t,pw),TWt.Hk=function(t){OSt(this,t)},mZ(d6t,"EClassImpl/10",1155),pDt(1144,696,R7t),TWt.Vh=function(t,e){return qAt(this,t,e)},TWt.Wh=function(t){return gyt(this,t)},TWt.Xh=function(t,e){Mht(this,t,e)},TWt.Yh=function(t){a6(this,t)},TWt.pi=function(t){return $7(this,t)},TWt.mi=function(t,e){return ctt(this,t,e)},TWt.lk=function(t,e){throw qw(new wm)},TWt.Zh=function(){return new oP(this)},TWt.$h=function(){return new sP(this)},TWt._h=function(t){return lit(this,t)},TWt.mk=function(t,e){throw qw(new wm)},TWt.Wj=function(t){return this},TWt.fj=function(){return 0!=this.i},TWt.Wb=function(t){throw qw(new wm)},TWt.Xj=function(){throw qw(new wm)},mZ(x7t,"EcoreEList/UnmodifiableEList",1144),pDt(319,1144,R7t,NM),TWt.ni=function(){return!1},mZ(x7t,"EcoreEList/UnmodifiableEList/FastCompare",319),pDt(1147,319,R7t,bct),TWt.Xc=function(t){var e,n;if(aL(t,170)&&-1!=(e=zz(t,170).aj()))for(n=this.i;e<n;++e)if(UI(this.g[e])===UI(t))return e;return-1},mZ(d6t,"EClassImpl/1EAllStructuralFeaturesList",1147),pDt(1141,497,h8t,_c),TWt.ri=function(t){return P8(KDe,q7t,87,t,0,1)},TWt.ni=function(){return!1},mZ(d6t,"EClassImpl/1EGenericSuperTypeEList",1141),pDt(623,497,h8t,Ac),TWt.ri=function(t){return P8($De,P7t,170,t,0,1)},TWt.ni=function(){return!1},mZ(d6t,"EClassImpl/1EStructuralFeatureUniqueEList",623),pDt(741,497,h8t,Ec),TWt.ri=function(t){return P8(QDe,P7t,18,t,0,1)},TWt.ni=function(){return!1},mZ(d6t,"EClassImpl/1ReferenceList",741),pDt(1142,497,h8t,bw),TWt.bi=function(t,e){eG(this,zz(e,34))},TWt.ri=function(t){return P8(zDe,P7t,34,t,0,1)},TWt.ni=function(){return!1},mZ(d6t,"EClassImpl/2",1142),pDt(1143,497,h8t,Tc),TWt.ri=function(t){return P8(zDe,P7t,34,t,0,1)},TWt.ni=function(){return!1},mZ(d6t,"EClassImpl/3",1143),pDt(1145,319,R7t,_q),TWt.Fc=function(t){return yz(this,zz(t,34))},TWt.Yh=function(t){Q_(this,zz(t,34))},mZ(d6t,"EClassImpl/4",1145),pDt(1146,319,R7t,Aq),TWt.Fc=function(t){return vz(this,zz(t,18))},TWt.Yh=function(t){J_(this,zz(t,18))},mZ(d6t,"EClassImpl/5",1146),pDt(1148,497,h8t,Cc),TWt.ri=function(t){return P8(XDe,B7t,59,t,0,1)},TWt.ni=function(){return!1},mZ(d6t,"EClassImpl/6",1148),pDt(1149,497,h8t,Sc),TWt.ri=function(t){return P8(QDe,P7t,18,t,0,1)},TWt.ni=function(){return!1},mZ(d6t,"EClassImpl/7",1149),pDt(1997,1996,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,69:1}),TWt.Vh=function(t,e){return c$t(this,t,e)},TWt.Wh=function(t){return c$t(this,this.Vi(),t)},TWt.Xh=function(t,e){iDt(this,t,e)},TWt.Yh=function(t){DMt(this,t)},TWt.lk=function(t,e){return pyt(this,t,e)},TWt.mk=function(t,e){return zwt(this,t,e)},TWt.mi=function(t,e){return u$t(this,t,e)},TWt.pi=function(t){return this.Oi(t)},TWt.Zh=function(){return new oP(this)},TWt.Gi=function(){return this.Ji()},TWt.$h=function(){return new sP(this)},TWt._h=function(t){return lit(this,t)},mZ(x7t,"DelegatingNotifyingInternalEListImpl",1997),pDt(742,1997,H7t),TWt.ai=function(){var t;return aL(t=iet(kV(this.b),this.aj()).Yj(),148)&&!aL(t,457)&&0==(1&t.Bj().i)},TWt.Hc=function(t){var e,n,i,r,a,o,s;if(this.Fk()){if((s=this.Vi())>4){if(!this.wj(t))return!1;if(this.rk()){if(o=(e=(n=zz(t,49)).Ug())==this.b&&(this.Dk()?n.Og(n.Vg(),zz(iet(kV(this.b),this.aj()).Yj(),26).Bj())==Imt(zz(iet(kV(this.b),this.aj()),18)).n:-1-n.Vg()==this.aj()),this.Ek()&&!o&&!e&&n.Zg())for(i=0;i<s;++i)if(UI(UG(this,this.Oi(i)))===UI(t))return!0;return o}if(this.Dk()&&!this.Ck()){if(UI(r=zz(t,56).ah(Imt(zz(iet(kV(this.b),this.aj()),18))))===UI(this.b))return!0;if(null==r||!zz(r,56).kh())return!1}}if(a=this.Li(t),this.Ek()&&!a)for(i=0;i<s;++i)if(UI(n=UG(this,this.Oi(i)))===UI(t))return!0;return a}return this.Li(t)},TWt.Zi=function(t,e,n,i,r){return new N9(this.b,t,this.aj(),e,n,i,r)},TWt.$i=function(t){got(this.b,t)},TWt.Wj=function(t){return this},TWt._i=function(){return iet(kV(this.b),this.aj())},TWt.aj=function(){return Ogt(kV(this.b),iet(kV(this.b),this.aj()))},TWt.Ai=function(){return this.b},TWt.Bk=function(){return!!iet(kV(this.b),this.aj()).Yj().Bj()},TWt.bj=function(){var t;return!(!aL(t=iet(kV(this.b),this.aj()),99)||0==(zz(t,18).Bb&h6t)&&!Imt(zz(t,18)))},TWt.Ck=function(){var t,e,n;return!!aL(t=iet(kV(this.b),this.aj()),99)&&!!(e=Imt(zz(t,18)))&&((n=e.t)>1||-1==n)},TWt.Dk=function(){var t;return!!aL(t=iet(kV(this.b),this.aj()),99)&&!!Imt(zz(t,18))},TWt.Ek=function(){var t;return!!aL(t=iet(kV(this.b),this.aj()),99)&&0!=(zz(t,18).Bb&qXt)},TWt.Xc=function(t){var e,n,i;if((n=this.Qi(t))>=0)return n;if(this.Fk())for(e=0,i=this.Vi();e<i;++e)if(UI(UG(this,this.Oi(e)))===UI(t))return e;return-1},TWt.cj=function(t,e){var n;return n=zz(t,49),this.Dk()?this.Bk()?n.gh(this.b,Imt(zz(iet(kV(this.b),this.aj()),18)).n,zz(iet(kV(this.b),this.aj()).Yj(),26).Bj(),e):n.gh(this.b,Ogt(n.Tg(),Imt(zz(iet(kV(this.b),this.aj()),18))),null,e):n.gh(this.b,-1-this.aj(),null,e)},TWt.dj=function(t,e){var n;return n=zz(t,49),this.Dk()?this.Bk()?n.ih(this.b,Imt(zz(iet(kV(this.b),this.aj()),18)).n,zz(iet(kV(this.b),this.aj()).Yj(),26).Bj(),e):n.ih(this.b,Ogt(n.Tg(),Imt(zz(iet(kV(this.b),this.aj()),18))),null,e):n.ih(this.b,-1-this.aj(),null,e)},TWt.rk=function(){var t;return!!aL(t=iet(kV(this.b),this.aj()),99)&&0!=(zz(t,18).Bb&h6t)},TWt.Fk=function(){return aL(iet(kV(this.b),this.aj()).Yj(),88)},TWt.wj=function(t){return iet(kV(this.b),this.aj()).Yj().wj(t)},TWt.ej=function(){return yD(this.b)},TWt.fj=function(){return!this.Ri()},TWt.hi=function(){return iet(kV(this.b),this.aj()).hi()},TWt.li=function(t,e){return iUt(this,t,e)},TWt.Wb=function(t){yHt(this),wZ(this,zz(t,15))},TWt.Pc=function(){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)iUt(this,t,this.Oi(t));return this.Wi()},TWt.Qc=function(t){var e;if(this.Ek())for(e=this.Vi()-1;e>=0;--e)iUt(this,e,this.Oi(e));return this.Xi(t)},TWt.Xj=function(){yHt(this)},TWt.oi=function(t,e){return z7(this,t,e)},mZ(x7t,"DelegatingEcoreEList",742),pDt(1150,742,H7t,sF),TWt.Hi=function(t,e){fB(this,t,zz(e,26))},TWt.Ii=function(t){nO(this,zz(t,26))},TWt.Oi=function(t){var e;return aL(e=zz(Ket(o4(this.a),t),87).c,88)?zz(e,26):(wWt(),pOe)},TWt.Ti=function(t){var e;return aL(e=zz(fBt(o4(this.a),t),87).c,88)?zz(e,26):(wWt(),pOe)},TWt.Ui=function(t,e){return byt(this,t,zz(e,26))},TWt.ai=function(){return!1},TWt.Zi=function(t,e,n,i,r){return null},TWt.Ji=function(){return new ww(this)},TWt.Ki=function(){lHt(o4(this.a))},TWt.Li=function(t){return Zht(this,t)},TWt.Mi=function(t){var e;for(e=t.Kc();e.Ob();)if(!Zht(this,e.Pb()))return!1;return!0},TWt.Ni=function(t){var e,n,i;if(aL(t,15)&&(i=zz(t,15)).gc()==o4(this.a).i){for(e=i.Kc(),n=new DL(this);e.Ob();)if(UI(e.Pb())!==UI(kwt(n)))return!1;return!0}return!1},TWt.Pi=function(){var t,e,n,i;for(e=1,t=new DL(o4(this.a));t.e!=t.i.gc();)e=31*e+((n=aL(i=zz(kwt(t),87).c,88)?zz(i,26):(wWt(),pOe))?CN(n):0);return e},TWt.Qi=function(t){var e,n,i,r;for(i=0,n=new DL(o4(this.a));n.e!=n.i.gc();){if(e=zz(kwt(n),87),UI(t)===UI(aL(r=e.c,88)?zz(r,26):(wWt(),pOe)))return i;++i}return-1},TWt.Ri=function(){return 0==o4(this.a).i},TWt.Si=function(){return null},TWt.Vi=function(){return o4(this.a).i},TWt.Wi=function(){var t,e,n,i,r,a;for(a=o4(this.a).i,r=P8(Ote,HWt,1,a,5,1),n=0,e=new DL(o4(this.a));e.e!=e.i.gc();)t=zz(kwt(e),87),r[n++]=aL(i=t.c,88)?zz(i,26):(wWt(),pOe);return r},TWt.Xi=function(t){var e,n,i,r;for(r=o4(this.a).i,t.length<r&&(t=Fnt(nut(t).c,r)),t.length>r&&OZ(t,r,null),n=0,e=new DL(o4(this.a));e.e!=e.i.gc();)OZ(t,n++,aL(i=zz(kwt(e),87).c,88)?zz(i,26):(wWt(),pOe));return t},TWt.Yi=function(){var t,e,n,i,r;for((r=new Tx).a+="[",t=o4(this.a),e=0,i=o4(this.a).i;e<i;)aM(r,xN(aL(n=zz(Ket(t,e),87).c,88)?zz(n,26):(wWt(),pOe))),++e<i&&(r.a+=zWt);return r.a+="]",r.a},TWt.$i=function(t){},TWt.aj=function(){return 10},TWt.Bk=function(){return!0},TWt.bj=function(){return!1},TWt.Ck=function(){return!1},TWt.Dk=function(){return!1},TWt.Ek=function(){return!0},TWt.rk=function(){return!1},TWt.Fk=function(){return!0},TWt.wj=function(t){return aL(t,88)},TWt.fj=function(){return X0(this.a)},TWt.hi=function(){return!0},TWt.ni=function(){return!0},mZ(d6t,"EClassImpl/8",1150),pDt(1151,1964,NKt,ww),TWt.Zc=function(t){return lit(this.a,t)},TWt.gc=function(){return o4(this.a.a).i},mZ(d6t,"EClassImpl/8/1",1151),pDt(1152,497,h8t,Ic),TWt.ri=function(t){return P8(qDe,HWt,138,t,0,1)},TWt.ni=function(){return!1},mZ(d6t,"EClassImpl/9",1152),pDt(1139,53,iVt,Iy),mZ(d6t,"EClassImpl/MyHashSet",1139),pDt(566,351,{105:1,92:1,90:1,138:1,148:1,834:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1},_m),TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return rvt(this);case 4:return this.zj();case 5:return this.F;case 6:return e?Zet(this):gJ(this);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),this.A;case 8:return lN(),0!=(256&this.Bb)}return Y7(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e,n)},TWt.lh=function(t){switch(t){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!!rvt(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!gJ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb)}return M3(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void JJ(this,TB(e));case 2:return void ID(this,TB(e));case 5:return void QHt(this,TB(e));case 7:return!this.A&&(this.A=new NL(MOe,this,7)),lHt(this.A),!this.A&&(this.A=new NL(MOe,this,7)),void wZ(this.A,zz(e,14));case 8:return void tft(this,Hv(AB(e)))}Ndt(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e)},TWt.zh=function(){return wWt(),sOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,179)&&(zz(this.Cb,179).tb=null),void Prt(this,null);case 2:return Fut(this,null),void Bnt(this,this.D);case 5:return void QHt(this,null);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),void lHt(this.A);case 8:return void tft(this,!0)}Uht(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.Gh=function(){Iht((MCt(),JOe),this).ne(),this.Bb|=1},TWt.Fj=function(){var t,e;if(!this.c&&!(t=GOt(Zet(this))).dc())for(e=t.Kc();e.Ob();)Pjt(this,TB(e.Pb()))&&Rft(this);return this.b},TWt.zj=function(){var t;if(!this.e){t=null;try{t=rvt(this)}catch(t){if(!aL(t=dst(t),102))throw qw(t)}this.d=null,t&&0!=(1&t.i)&&(this.d=t==ONe?(lN(),mee):t==DNe?rft(0):t==BNe?new Nd(0):t==PNe?0:t==LNe?_bt(0):t==FNe?aft(0):t==NNe?Ctt(0):fst(0)),this.e=!0}return this.d},TWt.Ej=function(){return 0!=(256&this.Bb)},TWt.Ik=function(t){t&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},TWt.xk=function(t){Zrt(this,t),this.Ik(t)},TWt.yk=function(t){this.C=t,this.e=!1},TWt.Ib=function(){var t;return 0!=(64&this.Db)?Igt(this):((t=new hN(Igt(this))).a+=" (serializable: ",v_(t,0!=(256&this.Bb)),t.a+=")",t.a)},TWt.c=!1,TWt.d=null,TWt.e=!1,mZ(d6t,"EDataTypeImpl",566),pDt(457,566,{105:1,92:1,90:1,138:1,148:1,834:1,671:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,457:1,150:1,114:1,115:1,676:1},Dy),TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return rvt(this);case 4:return Vut(this);case 5:return this.F;case 6:return e?Zet(this):gJ(this);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),this.A;case 8:return lN(),0!=(256&this.Bb);case 9:return!this.a&&(this.a=new nY(WDe,this,9,5)),this.a}return Y7(this,t-dZ((wWt(),cOe)),iet(zz(xot(this,16),26)||cOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?fvt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,6,n);case 9:return!this.a&&(this.a=new nY(WDe,this,9,5)),Qgt(this.a,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),cOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),cOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 6:return Ejt(this,null,6,n);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),$wt(this.A,t,n);case 9:return!this.a&&(this.a=new nY(WDe,this,9,5)),$wt(this.a,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),cOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),cOe)),t,n)},TWt.lh=function(t){switch(t){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!!rvt(this);case 4:return!!Vut(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!gJ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return M3(this,t-dZ((wWt(),cOe)),iet(zz(xot(this,16),26)||cOe,t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void JJ(this,TB(e));case 2:return void ID(this,TB(e));case 5:return void QHt(this,TB(e));case 7:return!this.A&&(this.A=new NL(MOe,this,7)),lHt(this.A),!this.A&&(this.A=new NL(MOe,this,7)),void wZ(this.A,zz(e,14));case 8:return void tft(this,Hv(AB(e)));case 9:return!this.a&&(this.a=new nY(WDe,this,9,5)),lHt(this.a),!this.a&&(this.a=new nY(WDe,this,9,5)),void wZ(this.a,zz(e,14))}Ndt(this,t-dZ((wWt(),cOe)),iet(zz(xot(this,16),26)||cOe,t),e)},TWt.zh=function(){return wWt(),cOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,179)&&(zz(this.Cb,179).tb=null),void Prt(this,null);case 2:return Fut(this,null),void Bnt(this,this.D);case 5:return void QHt(this,null);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),void lHt(this.A);case 8:return void tft(this,!0);case 9:return!this.a&&(this.a=new nY(WDe,this,9,5)),void lHt(this.a)}Uht(this,t-dZ((wWt(),cOe)),iet(zz(xot(this,16),26)||cOe,t))},TWt.Gh=function(){var t,e;if(this.a)for(t=0,e=this.a.i;t<e;++t)mP(Ket(this.a,t));Iht((MCt(),JOe),this).ne(),this.Bb|=1},TWt.zj=function(){return Vut(this)},TWt.wj=function(t){return null!=t},TWt.Ik=function(t){},mZ(d6t,"EEnumImpl",457),pDt(573,438,{105:1,92:1,90:1,1940:1,678:1,147:1,191:1,56:1,108:1,49:1,97:1,573:1,150:1,114:1,115:1},km),TWt.ne=function(){return this.zb},TWt.Qg=function(t){return dxt(this,t)},TWt._g=function(t,e,n){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return rft(this.d);case 3:return this.b?this.b:this.a;case 4:return null==(i=this.c)?this.zb:i;case 5:return this.Db>>16==5?zz(this.Cb,671):null}return Y7(this,t-dZ((wWt(),uOe)),iet(zz(xot(this,16),26)||uOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 5:return this.Cb&&(n=(i=this.Db>>16)>=0?dxt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,5,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),uOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),uOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 5:return Ejt(this,null,5,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),uOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),uOe)),t,n)},TWt.lh=function(t){switch(t){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||!zz(this.Cb,671))}return M3(this,t-dZ((wWt(),uOe)),iet(zz(xot(this,16),26)||uOe,t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void Prt(this,TB(e));case 2:return void Lnt(this,zz(e,19).a);case 3:return void wMt(this,zz(e,1940));case 4:return void zit(this,TB(e))}Ndt(this,t-dZ((wWt(),uOe)),iet(zz(xot(this,16),26)||uOe,t),e)},TWt.zh=function(){return wWt(),uOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void Prt(this,null);case 2:return void Lnt(this,0);case 3:return void wMt(this,null);case 4:return void zit(this,null)}Uht(this,t-dZ((wWt(),uOe)),iet(zz(xot(this,16),26)||uOe,t))},TWt.Ib=function(){var t;return null==(t=this.c)?this.zb:t},TWt.b=null,TWt.c=null,TWt.d=0,mZ(d6t,"EEnumLiteralImpl",573);var LOe,NOe,POe,BOe=dH(d6t,"EFactoryImpl/InternalEDateTimeFormat");pDt(489,1,{2015:1},mw),mZ(d6t,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),pDt(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},Rw),TWt.Sg=function(t,e,n){var i;return n=Ejt(this,t,e,n),this.e&&aL(t,170)&&(i=kLt(this,this.e))!=this.c&&(n=sGt(this,i,n)),n},TWt._g=function(t,e,n){switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new OL(KDe,this,1)),this.d;case 2:return e?d$t(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return e?Umt(this):this.a}return Y7(this,t-dZ((wWt(),hOe)),iet(zz(xot(this,16),26)||hOe,t),e,n)},TWt.jh=function(t,e,n){switch(e){case 0:return eht(this,null,n);case 1:return!this.d&&(this.d=new OL(KDe,this,1)),$wt(this.d,t,n);case 3:return tht(this,null,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),hOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),hOe)),t,n)},TWt.lh=function(t){switch(t){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 M3(this,t-dZ((wWt(),hOe)),iet(zz(xot(this,16),26)||hOe,t))},TWt.sh=function(t,e){switch(t){case 0:return void __t(this,zz(e,87));case 1:return!this.d&&(this.d=new OL(KDe,this,1)),lHt(this.d),!this.d&&(this.d=new OL(KDe,this,1)),void wZ(this.d,zz(e,14));case 3:return void k_t(this,zz(e,87));case 4:return void FEt(this,zz(e,836));case 5:return void ont(this,zz(e,138))}Ndt(this,t-dZ((wWt(),hOe)),iet(zz(xot(this,16),26)||hOe,t),e)},TWt.zh=function(){return wWt(),hOe},TWt.Bh=function(t){switch(t){case 0:return void __t(this,null);case 1:return!this.d&&(this.d=new OL(KDe,this,1)),void lHt(this.d);case 3:return void k_t(this,null);case 4:return void FEt(this,null);case 5:return void ont(this,null)}Uht(this,t-dZ((wWt(),hOe)),iet(zz(xot(this,16),26)||hOe,t))},TWt.Ib=function(){var t;return(t=new fN(SOt(this))).a+=" (expression: ",gqt(this,t),t.a+=")",t.a},mZ(d6t,"EGenericTypeImpl",241),pDt(1969,1964,U7t),TWt.Xh=function(t,e){tF(this,t,e)},TWt.lk=function(t,e){return tF(this,this.gc(),t),e},TWt.pi=function(t){return Fwt(this.Gi(),t)},TWt.Zh=function(){return this.$h()},TWt.Gi=function(){return new Cw(this)},TWt.$h=function(){return this._h(0)},TWt._h=function(t){return this.Gi().Zc(t)},TWt.mk=function(t,e){return xgt(this,t,!0),e},TWt.ii=function(t,e){var n;return n=nxt(this,e),this.Zc(t).Rb(n),n},TWt.ji=function(t,e){xgt(this,e,!0),this.Zc(t).Rb(e)},mZ(x7t,"AbstractSequentialInternalEList",1969),pDt(486,1969,U7t,XN),TWt.pi=function(t){return Fwt(this.Gi(),t)},TWt.Zh=function(){return null==this.b?(VE(),VE(),POe):this.Jk()},TWt.Gi=function(){return new BM(this.a,this.b)},TWt.$h=function(){return null==this.b?(VE(),VE(),POe):this.Jk()},TWt._h=function(t){var e,n;if(null==this.b){if(t<0||t>1)throw qw(new Dv(i7t+t+", size=0"));return VE(),VE(),POe}for(n=this.Jk(),e=0;e<t;++e)Tot(n);return n},TWt.dc=function(){var t,e,n,i,r,a;if(null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Mk()||this.a.mh(t))if(a=this.a.bh(t,!1),JE(),zz(t,66).Oj()){for(i=0,r=(e=zz(a,153)).gc();i<r;++i)if(gZ(e.il(i))&&null!=e.jl(i))return!1}else if(t.$j()){if(!zz(a,14).dc())return!1}else if(null!=a)return!1;return!0},TWt.Kc=function(){return Art(this)},TWt.Zc=function(t){var e,n;if(null==this.b){if(0!=t)throw qw(new Dv(i7t+t+", size=0"));return VE(),VE(),POe}for(n=this.Lk()?this.Kk():this.Jk(),e=0;e<t;++e)Tot(n);return n},TWt.ii=function(t,e){throw qw(new wm)},TWt.ji=function(t,e){throw qw(new wm)},TWt.Jk=function(){return new VN(this.a,this.b)},TWt.Kk=function(){return new KP(this.a,this.b)},TWt.Lk=function(){return!0},TWt.gc=function(){var t,e,n,i,r,a,o;if(r=0,null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Mk()||this.a.mh(t))if(o=this.a.bh(t,!1),JE(),zz(t,66).Oj())for(i=0,a=(e=zz(o,153)).gc();i<a;++i)gZ(e.il(i))&&null!=e.jl(i)&&++r;else t.$j()?r+=zz(o,14).gc():null!=o&&++r;return r},TWt.Mk=function(){return!0},mZ(x7t,"EContentsEList",486),pDt(1156,486,U7t,WP),TWt.Jk=function(){return new XP(this.a,this.b)},TWt.Kk=function(){return new VP(this.a,this.b)},TWt.Mk=function(){return!1},mZ(d6t,"ENamedElementImpl/1",1156),pDt(279,1,G7t,VN),TWt.Nb=function(t){hY(this,t)},TWt.Rb=function(t){throw qw(new wm)},TWt.Nk=function(t){if(0!=this.g||this.e)throw qw(new $v("Iterator already in use or already filtered"));this.e=t},TWt.Ob=function(){var t,e,n,i,r,a;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(this.k&&(this.p?kCt(this,this.p):mMt(this)))return r=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((t=zz(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=3,!0;for(;this.d<this.c.length;)if(e=this.c[this.d++],(!this.e||e.Gj()!=NMe||0!=e.aj())&&(!this.Mk()||this.b.mh(e)))if(a=this.b.bh(e,this.Lk()),this.f=(JE(),zz(e,66).Oj()),this.f||e.$j()){if(this.Lk()?(i=zz(a,15),this.k=i):(i=zz(a,69),this.k=this.j=i),aL(this.k,54)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.$h():this.k.Yc(),this.p?kCt(this,this.p):mMt(this))return r=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((t=zz(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=3,!0}else if(null!=a)return this.k=null,this.p=null,n=a,this.i=n,this.g=2,!0;return this.k=null,this.p=null,this.f=!1,this.g=1,!1}},TWt.Sb=function(){var t,e,n,i,r,a;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(this.k&&(this.p?_Ct(this,this.p):pSt(this)))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((t=zz(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=-3,!0;for(;this.d>0;)if(e=this.c[--this.d],(!this.e||e.Gj()!=NMe||0!=e.aj())&&(!this.Mk()||this.b.mh(e)))if(a=this.b.bh(e,this.Lk()),this.f=(JE(),zz(e,66).Oj()),this.f||e.$j()){if(this.Lk()?(i=zz(a,15),this.k=i):(i=zz(a,69),this.k=this.j=i),aL(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?_Ct(this,this.p):pSt(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((t=zz(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=-3,!0}else if(null!=a)return this.k=null,this.p=null,n=a,this.i=n,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},TWt.Pb=function(){return Tot(this)},TWt.Tb=function(){return this.a},TWt.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw qw(new vm)},TWt.Vb=function(){return this.a-1},TWt.Qb=function(){throw qw(new wm)},TWt.Lk=function(){return!1},TWt.Wb=function(t){throw qw(new wm)},TWt.Mk=function(){return!0},TWt.a=0,TWt.d=0,TWt.f=!1,TWt.g=0,TWt.n=0,TWt.o=0,mZ(x7t,"EContentsEList/FeatureIteratorImpl",279),pDt(697,279,G7t,KP),TWt.Lk=function(){return!0},mZ(x7t,"EContentsEList/ResolvingFeatureIteratorImpl",697),pDt(1157,697,G7t,VP),TWt.Mk=function(){return!1},mZ(d6t,"ENamedElementImpl/1/1",1157),pDt(1158,279,G7t,XP),TWt.Mk=function(){return!1},mZ(d6t,"ENamedElementImpl/1/2",1158),pDt(36,143,n7t,h4,f4,tY,x7,N9,e6,Hnt,T0,Unt,C0,Q5,S0,Znt,I0,J5,M0,Gnt,D0,eY,k7,UX,Ynt,O0,t6,L0),TWt._i=function(){return l7(this)},TWt.gj=function(){var t;return(t=l7(this))?t.zj():null},TWt.yi=function(t){return-1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,t)},TWt.Ai=function(){return this.c},TWt.hj=function(){var t;return!!(t=l7(this))&&t.Kj()},TWt.b=-1,mZ(d6t,"ENotificationImpl",36),pDt(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},Oy),TWt.Qg=function(t){return Sxt(this,t)},TWt._g=function(t,e,n){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),(i=this.t)>1||-1==i;case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?zz(this.Cb,26):null;case 11:return!this.d&&(this.d=new NL(MOe,this,11)),this.d;case 12:return!this.c&&(this.c=new nY(VDe,this,12,10)),this.c;case 13:return!this.a&&(this.a=new cF(this,this)),this.a;case 14:return q9(this)}return Y7(this,t-dZ((wWt(),bOe)),iet(zz(xot(this,16),26)||bOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 10:return this.Cb&&(n=(i=this.Db>>16)>=0?Sxt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,10,n);case 12:return!this.c&&(this.c=new nY(VDe,this,12,10)),Qgt(this.c,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),bOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),bOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 9:return bZ(this,n);case 10:return Ejt(this,null,10,n);case 11:return!this.d&&(this.d=new NL(MOe,this,11)),$wt(this.d,t,n);case 12:return!this.c&&(this.c=new nY(VDe,this,12,10)),$wt(this.c,t,n);case 14:return $wt(q9(this),t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),bOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),bOe)),t,n)},TWt.lh=function(t){var e;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);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==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return!(this.Db>>16!=10||!zz(this.Cb,26));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==q9(this.a.a).i||this.b&&jmt(this.b));case 14:return!!this.b&&jmt(this.b)}return M3(this,t-dZ((wWt(),bOe)),iet(zz(xot(this,16),26)||bOe,t))},TWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void Prt(this,TB(e));case 2:return void Qht(this,Hv(AB(e)));case 3:return void eft(this,Hv(AB(e)));case 4:return void Nnt(this,zz(e,19).a);case 5:return void Pnt(this,zz(e,19).a);case 8:return void Mlt(this,zz(e,138));case 9:return void((n=HAt(this,zz(e,87),null))&&n.Fi());case 11:return!this.d&&(this.d=new NL(MOe,this,11)),lHt(this.d),!this.d&&(this.d=new NL(MOe,this,11)),void wZ(this.d,zz(e,14));case 12:return!this.c&&(this.c=new nY(VDe,this,12,10)),lHt(this.c),!this.c&&(this.c=new nY(VDe,this,12,10)),void wZ(this.c,zz(e,14));case 13:return!this.a&&(this.a=new cF(this,this)),yHt(this.a),!this.a&&(this.a=new cF(this,this)),void wZ(this.a,zz(e,14));case 14:return lHt(q9(this)),void wZ(q9(this),zz(e,14))}Ndt(this,t-dZ((wWt(),bOe)),iet(zz(xot(this,16),26)||bOe,t),e)},TWt.zh=function(){return wWt(),bOe},TWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void Prt(this,null);case 2:return void Qht(this,!0);case 3:return void eft(this,!0);case 4:return void Nnt(this,0);case 5:return void Pnt(this,1);case 8:return void Mlt(this,null);case 9:return void((e=HAt(this,null,null))&&e.Fi());case 11:return!this.d&&(this.d=new NL(MOe,this,11)),void lHt(this.d);case 12:return!this.c&&(this.c=new nY(VDe,this,12,10)),void lHt(this.c);case 13:return void(this.a&&yHt(this.a));case 14:return void(this.b&&lHt(this.b))}Uht(this,t-dZ((wWt(),bOe)),iet(zz(xot(this,16),26)||bOe,t))},TWt.Gh=function(){var t,e;if(this.c)for(t=0,e=this.c.i;t<e;++t)mP(Ket(this.c,t));Mxt(this),this.Bb|=1},mZ(d6t,"EOperationImpl",399),pDt(505,742,H7t,cF),TWt.Hi=function(t,e){hB(this,t,zz(e,138))},TWt.Ii=function(t){iO(this,zz(t,138))},TWt.Oi=function(t){return zz(Ket(q9(this.a),t),87).c||(wWt(),fOe)},TWt.Ti=function(t){return zz(fBt(q9(this.a),t),87).c||(wWt(),fOe)},TWt.Ui=function(t,e){return gbt(this,t,zz(e,138))},TWt.ai=function(){return!1},TWt.Zi=function(t,e,n,i,r){return null},TWt.Ji=function(){return new yw(this)},TWt.Ki=function(){lHt(q9(this.a))},TWt.Li=function(t){return uft(this,t)},TWt.Mi=function(t){var e;for(e=t.Kc();e.Ob();)if(!uft(this,e.Pb()))return!1;return!0},TWt.Ni=function(t){var e,n,i;if(aL(t,15)&&(i=zz(t,15)).gc()==q9(this.a).i){for(e=i.Kc(),n=new DL(this);e.Ob();)if(UI(e.Pb())!==UI(kwt(n)))return!1;return!0}return!1},TWt.Pi=function(){var t,e,n;for(e=1,t=new DL(q9(this.a));t.e!=t.i.gc();)e=31*e+((n=zz(kwt(t),87).c||(wWt(),fOe))?eut(n):0);return e},TWt.Qi=function(t){var e,n,i;for(i=0,n=new DL(q9(this.a));n.e!=n.i.gc();){if(e=zz(kwt(n),87),UI(t)===UI(e.c||(wWt(),fOe)))return i;++i}return-1},TWt.Ri=function(){return 0==q9(this.a).i},TWt.Si=function(){return null},TWt.Vi=function(){return q9(this.a).i},TWt.Wi=function(){var t,e,n,i,r;for(r=q9(this.a).i,i=P8(Ote,HWt,1,r,5,1),n=0,e=new DL(q9(this.a));e.e!=e.i.gc();)t=zz(kwt(e),87),i[n++]=t.c||(wWt(),fOe);return i},TWt.Xi=function(t){var e,n,i;for(i=q9(this.a).i,t.length<i&&(t=Fnt(nut(t).c,i)),t.length>i&&OZ(t,i,null),n=0,e=new DL(q9(this.a));e.e!=e.i.gc();)OZ(t,n++,zz(kwt(e),87).c||(wWt(),fOe));return t},TWt.Yi=function(){var t,e,n,i;for((i=new Tx).a+="[",t=q9(this.a),e=0,n=q9(this.a).i;e<n;)aM(i,xN(zz(Ket(t,e),87).c||(wWt(),fOe))),++e<n&&(i.a+=zWt);return i.a+="]",i.a},TWt.$i=function(t){},TWt.aj=function(){return 13},TWt.Bk=function(){return!0},TWt.bj=function(){return!1},TWt.Ck=function(){return!1},TWt.Dk=function(){return!1},TWt.Ek=function(){return!0},TWt.rk=function(){return!1},TWt.Fk=function(){return!0},TWt.wj=function(t){return aL(t,138)},TWt.fj=function(){return K0(this.a)},TWt.hi=function(){return!0},TWt.ni=function(){return!0},mZ(d6t,"EOperationImpl/1",505),pDt(1340,1964,NKt,yw),TWt.Zc=function(t){return lit(this.a,t)},TWt.gc=function(){return q9(this.a.a).i},mZ(d6t,"EOperationImpl/1/1",1340),pDt(1341,545,R7t,QU),TWt.ii=function(t,e){var n;return n=zz(Mft(this,t,e),87),yD(this.e)&&Lm(this,new k7(this.a,7,(wWt(),wOe),rft(e),n.c||fOe,t)),n},TWt.jj=function(t,e){return Tht(this,zz(t,87),e)},TWt.kj=function(t,e){return Cht(this,zz(t,87),e)},TWt.lj=function(t,e,n){return Kbt(this,zz(t,87),zz(e,87),n)},TWt.Zi=function(t,e,n,i,r){switch(t){case 3:return vJ(this,t,e,n,i,this.i>1);case 5:return vJ(this,t,e,n,i,this.i-zz(n,15).gc()>0);default:return new N9(this.e,t,this.c,e,n,i,!0)}},TWt.ij=function(){return!0},TWt.fj=function(){return jmt(this)},TWt.Xj=function(){lHt(this)},mZ(d6t,"EOperationImpl/2",1341),pDt(498,1,{1938:1,498:1},MI),mZ(d6t,"EPackageImpl/1",498),pDt(16,85,R7t,nY),TWt.zk=function(){return this.d},TWt.Ak=function(){return this.b},TWt.Dk=function(){return!0},TWt.b=0,mZ(x7t,"EObjectContainmentWithInverseEList",16),pDt(353,16,R7t,nR),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectContainmentWithInverseEList/Resolving",353),pDt(298,353,R7t,QG),TWt.ci=function(){this.a.tb=null},mZ(d6t,"EPackageImpl/2",298),pDt(1228,1,{},Mc),mZ(d6t,"EPackageImpl/3",1228),pDt(718,43,nVt,Ny),TWt._b=function(t){return ZI(t)?nV(this,t):!!DV(this.f,t)},mZ(d6t,"EPackageRegistryImpl",718),pDt(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},Ly),TWt.Qg=function(t){return Ixt(this,t)},TWt._g=function(t,e,n){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),(i=this.t)>1||-1==i;case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?zz(this.Cb,59):null}return Y7(this,t-dZ((wWt(),yOe)),iet(zz(xot(this,16),26)||yOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 10:return this.Cb&&(n=(i=this.Db>>16)>=0?Ixt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,10,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),yOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),yOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 9:return bZ(this,n);case 10:return Ejt(this,null,10,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),yOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),yOe)),t,n)},TWt.lh=function(t){var e;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);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==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return!(this.Db>>16!=10||!zz(this.Cb,59))}return M3(this,t-dZ((wWt(),yOe)),iet(zz(xot(this,16),26)||yOe,t))},TWt.zh=function(){return wWt(),yOe},mZ(d6t,"EParameterImpl",509),pDt(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},wB),TWt._g=function(t,e,n){var i,r;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),(r=this.t)>1||-1==r;case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q;case 10:return lN(),0!=(this.Bb&k6t);case 11:return lN(),0!=(this.Bb&T7t);case 12:return lN(),0!=(this.Bb&$Xt);case 13:return this.j;case 14:return ULt(this);case 15:return lN(),0!=(this.Bb&E7t);case 16:return lN(),0!=(this.Bb&hKt);case 17:return pJ(this);case 18:return lN(),0!=(this.Bb&h6t);case 19:return lN(),!(!(i=Imt(this))||0==(i.Bb&h6t));case 20:return lN(),0!=(this.Bb&qXt);case 21:return e?Imt(this):this.b;case 22:return e?Mct(this):R5(this);case 23:return!this.a&&(this.a=new FL(zDe,this,23)),this.a}return Y7(this,t-dZ((wWt(),vOe)),iet(zz(xot(this,16),26)||vOe,t),e,n)},TWt.lh=function(t){var e,n;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(n=this.t)>1||-1==n;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return 0==(this.Bb&k6t);case 11:return 0!=(this.Bb&T7t);case 12:return 0!=(this.Bb&$Xt);case 13:return null!=this.j;case 14:return null!=ULt(this);case 15:return 0!=(this.Bb&E7t);case 16:return 0!=(this.Bb&hKt);case 17:return!!pJ(this);case 18:return 0!=(this.Bb&h6t);case 19:return!!(e=Imt(this))&&0!=(e.Bb&h6t);case 20:return 0==(this.Bb&qXt);case 21:return!!this.b;case 22:return!!R5(this);case 23:return!!this.a&&0!=this.a.i}return M3(this,t-dZ((wWt(),vOe)),iet(zz(xot(this,16),26)||vOe,t))},TWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void QJ(this,TB(e));case 2:return void Qht(this,Hv(AB(e)));case 3:return void eft(this,Hv(AB(e)));case 4:return void Nnt(this,zz(e,19).a);case 5:return void Pnt(this,zz(e,19).a);case 8:return void Mlt(this,zz(e,138));case 9:return void((n=HAt(this,zz(e,87),null))&&n.Fi());case 10:return void Oft(this,Hv(AB(e)));case 11:return void Pft(this,Hv(AB(e)));case 12:return void Lft(this,Hv(AB(e)));case 13:return void jI(this,TB(e));case 15:return void Nft(this,Hv(AB(e)));case 16:return void Uft(this,Hv(AB(e)));case 18:return void VJ(this,Hv(AB(e)));case 20:return void Zft(this,Hv(AB(e)));case 21:return void art(this,zz(e,18));case 23:return!this.a&&(this.a=new FL(zDe,this,23)),lHt(this.a),!this.a&&(this.a=new FL(zDe,this,23)),void wZ(this.a,zz(e,14))}Ndt(this,t-dZ((wWt(),vOe)),iet(zz(xot(this,16),26)||vOe,t),e)},TWt.zh=function(){return wWt(),vOe},TWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,88)&&OSt(C5(zz(this.Cb,88)),4),void Prt(this,null);case 2:return void Qht(this,!0);case 3:return void eft(this,!0);case 4:return void Nnt(this,0);case 5:return void Pnt(this,1);case 8:return void Mlt(this,null);case 9:return void((e=HAt(this,null,null))&&e.Fi());case 10:return void Oft(this,!0);case 11:return void Pft(this,!1);case 12:return void Lft(this,!1);case 13:return this.i=null,void srt(this,null);case 15:return void Nft(this,!1);case 16:return void Uft(this,!1);case 18:return Yft(this,!1),void(aL(this.Cb,88)&&OSt(C5(zz(this.Cb,88)),2));case 20:return void Zft(this,!0);case 21:return void art(this,null);case 23:return!this.a&&(this.a=new FL(zDe,this,23)),void lHt(this.a)}Uht(this,t-dZ((wWt(),vOe)),iet(zz(xot(this,16),26)||vOe,t))},TWt.Gh=function(){Mct(this),xK(z9((MCt(),JOe),this)),Mxt(this),this.Bb|=1},TWt.Lj=function(){return Imt(this)},TWt.qk=function(){var t;return!!(t=Imt(this))&&0!=(t.Bb&h6t)},TWt.rk=function(){return 0!=(this.Bb&h6t)},TWt.sk=function(){return 0!=(this.Bb&qXt)},TWt.nk=function(t,e){return this.c=null,Sht(this,t,e)},TWt.Ib=function(){var t;return 0!=(64&this.Db)?AFt(this):((t=new hN(AFt(this))).a+=" (containment: ",v_(t,0!=(this.Bb&h6t)),t.a+=", resolveProxies: ",v_(t,0!=(this.Bb&qXt)),t.a+=")",t.a)},mZ(d6t,"EReferenceImpl",99),pDt(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},Dc),TWt.Fb=function(t){return this===t},TWt.cd=function(){return this.b},TWt.dd=function(){return this.c},TWt.Hb=function(){return CN(this)},TWt.Uh=function(t){mH(this,TB(t))},TWt.ed=function(t){return Oq(this,TB(t))},TWt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return Y7(this,t-dZ((wWt(),xOe)),iet(zz(xot(this,16),26)||xOe,t),e,n)},TWt.lh=function(t){switch(t){case 0:return null!=this.b;case 1:return null!=this.c}return M3(this,t-dZ((wWt(),xOe)),iet(zz(xot(this,16),26)||xOe,t))},TWt.sh=function(t,e){switch(t){case 0:return void yH(this,TB(e));case 1:return void jit(this,TB(e))}Ndt(this,t-dZ((wWt(),xOe)),iet(zz(xot(this,16),26)||xOe,t),e)},TWt.zh=function(){return wWt(),xOe},TWt.Bh=function(t){switch(t){case 0:return void Rit(this,null);case 1:return void jit(this,null)}Uht(this,t-dZ((wWt(),xOe)),iet(zz(xot(this,16),26)||xOe,t))},TWt.Sh=function(){var t;return-1==this.a&&(t=this.b,this.a=null==t?0:ymt(t)),this.a},TWt.Th=function(t){this.a=t},TWt.Ib=function(){var t;return 0!=(64&this.Db)?SOt(this):((t=new hN(SOt(this))).a+=" (key: ",aM(t,this.b),t.a+=", value: ",aM(t,this.c),t.a+=")",t.a)},TWt.a=-1,TWt.b=null,TWt.c=null;var FOe,ROe,jOe,$Oe,zOe,qOe,HOe,UOe,GOe,YOe,ZOe=mZ(d6t,"EStringToStringMapEntryImpl",548),WOe=dH(x7t,"FeatureMap/Entry/Internal");pDt(565,1,Y7t),TWt.Ok=function(t){return this.Pk(zz(t,49))},TWt.Pk=function(t){return this.Ok(t)},TWt.Fb=function(t){var e,n;return this===t||!!aL(t,72)&&(e=zz(t,72)).ak()==this.c&&(null==(n=this.dd())?null==e.dd():Pht(n,e.dd()))},TWt.ak=function(){return this.c},TWt.Hb=function(){var t;return t=this.dd(),eut(this.c)^(null==t?0:eut(t))},TWt.Ib=function(){var t,e;return e=Zet((t=this.c).Hj()).Ph(),t.ne(),(null!=e&&0!=e.length?e+":"+t.ne():t.ne())+"="+this.dd()},mZ(d6t,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),pDt(776,565,Y7t,rF),TWt.Pk=function(t){return new rF(this.c,t)},TWt.dd=function(){return this.a},TWt.Qk=function(t,e,n){return Cat(this,t,this.a,e,n)},TWt.Rk=function(t,e,n){return Sat(this,t,this.a,e,n)},mZ(d6t,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),pDt(1314,1,{},DI),TWt.Pj=function(t,e,n,i,r){return zz(T7(t,this.b),215).nl(this.a).Wj(i)},TWt.Qj=function(t,e,n,i,r){return zz(T7(t,this.b),215).el(this.a,i,r)},TWt.Rj=function(t,e,n,i,r){return zz(T7(t,this.b),215).fl(this.a,i,r)},TWt.Sj=function(t,e,n){return zz(T7(t,this.b),215).nl(this.a).fj()},TWt.Tj=function(t,e,n,i){zz(T7(t,this.b),215).nl(this.a).Wb(i)},TWt.Uj=function(t,e,n){return zz(T7(t,this.b),215).nl(this.a)},TWt.Vj=function(t,e,n){zz(T7(t,this.b),215).nl(this.a).Xj()},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),pDt(89,1,{},Cz,fX,FV,g4),TWt.Pj=function(t,e,n,i,r){var a;if(null==(a=e.Ch(n))&&e.Dh(n,a=rWt(this,t)),!r)switch(this.e){case 50:case 41:return zz(a,589).sj();case 40:return zz(a,215).kl()}return a},TWt.Qj=function(t,e,n,i,r){var a;return null==(a=e.Ch(n))&&e.Dh(n,a=rWt(this,t)),zz(a,69).lk(i,r)},TWt.Rj=function(t,e,n,i,r){var a;return null!=(a=e.Ch(n))&&(r=zz(a,69).mk(i,r)),r},TWt.Sj=function(t,e,n){var i;return null!=(i=e.Ch(n))&&zz(i,76).fj()},TWt.Tj=function(t,e,n,i){var r;!(r=zz(e.Ch(n),76))&&e.Dh(n,r=rWt(this,t)),r.Wb(i)},TWt.Uj=function(t,e,n){var i;return null==(i=e.Ch(n))&&e.Dh(n,i=rWt(this,t)),aL(i,76)?zz(i,76):new _w(zz(e.Ch(n),15))},TWt.Vj=function(t,e,n){var i;!(i=zz(e.Ch(n),76))&&e.Dh(n,i=rWt(this,t)),i.Xj()},TWt.b=0,TWt.e=0,mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),pDt(504,1,{}),TWt.Qj=function(t,e,n,i,r){throw qw(new wm)},TWt.Rj=function(t,e,n,i,r){throw qw(new wm)},TWt.Uj=function(t,e,n){return new dX(this,t,e,n)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),pDt(1331,1,k7t,dX),TWt.Wj=function(t){return this.a.Pj(this.c,this.d,this.b,t,!0)},TWt.fj=function(){return this.a.Sj(this.c,this.d,this.b)},TWt.Wb=function(t){this.a.Tj(this.c,this.d,this.b,t)},TWt.Xj=function(){this.a.Vj(this.c,this.d,this.b)},TWt.b=0,mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),pDt(769,504,{},yQ),TWt.Pj=function(t,e,n,i,r){return wRt(t,t.eh(),t.Vg())==this.b?this.sk()&&i?oDt(t):t.eh():null},TWt.Qj=function(t,e,n,i,r){var a,o;return t.eh()&&(r=(a=t.Vg())>=0?t.Qg(r):t.eh().ih(t,-1-a,null,r)),o=Ogt(t.Tg(),this.e),t.Sg(i,o,r)},TWt.Rj=function(t,e,n,i,r){var a;return a=Ogt(t.Tg(),this.e),t.Sg(null,a,r)},TWt.Sj=function(t,e,n){var i;return i=Ogt(t.Tg(),this.e),!!t.eh()&&t.Vg()==i},TWt.Tj=function(t,e,n,i){var r,a,o,s,c;if(null!=i&&!C$t(this.a,i))throw qw(new Rv(Z7t+(aL(i,56)?b_t(zz(i,56).Tg()):set(nut(i)))+W7t+this.a+"'"));if(r=t.eh(),o=Ogt(t.Tg(),this.e),UI(i)!==UI(r)||t.Vg()!=o&&null!=i){if(yxt(t,zz(i,56)))throw qw(new jv(p6t+t.Ib()));c=null,r&&(c=(a=t.Vg())>=0?t.Qg(c):t.eh().ih(t,-1-a,null,c)),(s=zz(i,49))&&(c=s.gh(t,Ogt(s.Tg(),this.b),null,c)),(c=t.Sg(s,o,c))&&c.Fi()}else t.Lg()&&t.Mg()&&got(t,new tY(t,1,o,i,i))},TWt.Vj=function(t,e,n){var i,r,a;t.eh()?(a=(i=t.Vg())>=0?t.Qg(null):t.eh().ih(t,-1-i,null,null),r=Ogt(t.Tg(),this.e),(a=t.Sg(null,r,a))&&a.Fi()):t.Lg()&&t.Mg()&&got(t,new eY(t,1,this.e,null,null))},TWt.sk=function(){return!1},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),pDt(1315,769,{},Sz),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),pDt(563,504,{}),TWt.Pj=function(t,e,n,i,r){var a;return null==(a=e.Ch(n))?this.b:UI(a)===UI(FOe)?null:a},TWt.Sj=function(t,e,n){var i;return null!=(i=e.Ch(n))&&(UI(i)===UI(FOe)||!Pht(i,this.b))},TWt.Tj=function(t,e,n,i){var r,a;t.Lg()&&t.Mg()?(r=null==(a=e.Ch(n))?this.b:UI(a)===UI(FOe)?null:a,null==i?null!=this.c?(e.Dh(n,null),i=this.b):null!=this.b?e.Dh(n,FOe):e.Dh(n,null):(this.Sk(i),e.Dh(n,i)),got(t,this.d.Tk(t,1,this.e,r,i))):null==i?null!=this.c?e.Dh(n,null):null!=this.b?e.Dh(n,FOe):e.Dh(n,null):(this.Sk(i),e.Dh(n,i))},TWt.Vj=function(t,e,n){var i,r;t.Lg()&&t.Mg()?(i=null==(r=e.Ch(n))?this.b:UI(r)===UI(FOe)?null:r,e.Eh(n),got(t,this.d.Tk(t,1,this.e,i,this.b))):e.Eh(n)},TWt.Sk=function(t){throw qw(new dm)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),pDt(K7t,1,{},Oc),TWt.Tk=function(t,e,n,i,r){return new eY(t,e,n,i,r)},TWt.Uk=function(t,e,n,i,r,a){return new UX(t,e,n,i,r,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",K7t),pDt(1332,K7t,{},Lc),TWt.Tk=function(t,e,n,i,r){return new t6(t,e,n,Hv(AB(i)),Hv(AB(r)))},TWt.Uk=function(t,e,n,i,r,a){return new L0(t,e,n,Hv(AB(i)),Hv(AB(r)),a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),pDt(1333,K7t,{},Nc),TWt.Tk=function(t,e,n,i,r){return new Hnt(t,e,n,zz(i,217).a,zz(r,217).a)},TWt.Uk=function(t,e,n,i,r,a){return new T0(t,e,n,zz(i,217).a,zz(r,217).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),pDt(1334,K7t,{},Pc),TWt.Tk=function(t,e,n,i,r){return new Unt(t,e,n,zz(i,172).a,zz(r,172).a)},TWt.Uk=function(t,e,n,i,r,a){return new C0(t,e,n,zz(i,172).a,zz(r,172).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),pDt(1335,K7t,{},Bc),TWt.Tk=function(t,e,n,i,r){return new Q5(t,e,n,Uv(EB(i)),Uv(EB(r)))},TWt.Uk=function(t,e,n,i,r,a){return new S0(t,e,n,Uv(EB(i)),Uv(EB(r)),a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),pDt(1336,K7t,{},Fc),TWt.Tk=function(t,e,n,i,r){return new Znt(t,e,n,zz(i,155).a,zz(r,155).a)},TWt.Uk=function(t,e,n,i,r,a){return new I0(t,e,n,zz(i,155).a,zz(r,155).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),pDt(1337,K7t,{},Rc),TWt.Tk=function(t,e,n,i,r){return new J5(t,e,n,zz(i,19).a,zz(r,19).a)},TWt.Uk=function(t,e,n,i,r,a){return new M0(t,e,n,zz(i,19).a,zz(r,19).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),pDt(1338,K7t,{},jc),TWt.Tk=function(t,e,n,i,r){return new Gnt(t,e,n,zz(i,162).a,zz(r,162).a)},TWt.Uk=function(t,e,n,i,r,a){return new D0(t,e,n,zz(i,162).a,zz(r,162).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),pDt(1339,K7t,{},$c),TWt.Tk=function(t,e,n,i,r){return new Ynt(t,e,n,zz(i,184).a,zz(r,184).a)},TWt.Uk=function(t,e,n,i,r,a){return new O0(t,e,n,zz(i,184).a,zz(r,184).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),pDt(1317,563,{},gX),TWt.Sk=function(t){if(!this.a.wj(t))throw qw(new Rv(Z7t+nut(t)+W7t+this.a+"'"))},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),pDt(1318,563,{},JU),TWt.Sk=function(t){},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),pDt(770,563,{}),TWt.Sj=function(t,e,n){return null!=e.Ch(n)},TWt.Tj=function(t,e,n,i){var r,a;t.Lg()&&t.Mg()?(r=!0,null==(a=e.Ch(n))?(r=!1,a=this.b):UI(a)===UI(FOe)&&(a=null),null==i?null!=this.c?(e.Dh(n,null),i=this.b):e.Dh(n,FOe):(this.Sk(i),e.Dh(n,i)),got(t,this.d.Uk(t,1,this.e,a,i,!r))):null==i?null!=this.c?e.Dh(n,null):e.Dh(n,FOe):(this.Sk(i),e.Dh(n,i))},TWt.Vj=function(t,e,n){var i,r;t.Lg()&&t.Mg()?(i=!0,null==(r=e.Ch(n))?(i=!1,r=this.b):UI(r)===UI(FOe)&&(r=null),e.Eh(n),got(t,this.d.Uk(t,2,this.e,r,this.b,i))):e.Eh(n)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),pDt(1319,770,{},pX),TWt.Sk=function(t){if(!this.a.wj(t))throw qw(new Rv(Z7t+nut(t)+W7t+this.a+"'"))},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),pDt(1320,770,{},tG),TWt.Sk=function(t){},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),pDt(398,504,{},aU),TWt.Pj=function(t,e,n,i,r){var a,o,s,c,u;if(u=e.Ch(n),this.Kj()&&UI(u)===UI(FOe))return null;if(this.sk()&&i&&null!=u){if((s=zz(u,49)).kh()&&s!=(c=nht(t,s))){if(!C$t(this.a,c))throw qw(new Rv(Z7t+nut(c)+W7t+this.a+"'"));e.Dh(n,u=c),this.rk()&&(a=zz(c,49),o=s.ih(t,this.b?Ogt(s.Tg(),this.b):-1-Ogt(t.Tg(),this.e),null,null),!a.eh()&&(o=a.gh(t,this.b?Ogt(a.Tg(),this.b):-1-Ogt(t.Tg(),this.e),null,o)),o&&o.Fi()),t.Lg()&&t.Mg()&&got(t,new eY(t,9,this.e,s,c))}return u}return u},TWt.Qj=function(t,e,n,i,r){var a,o;return UI(o=e.Ch(n))===UI(FOe)&&(o=null),e.Dh(n,i),this.bj()?UI(o)!==UI(i)&&null!=o&&(r=(a=zz(o,49)).ih(t,Ogt(a.Tg(),this.b),null,r)):this.rk()&&null!=o&&(r=zz(o,49).ih(t,-1-Ogt(t.Tg(),this.e),null,r)),t.Lg()&&t.Mg()&&(!r&&(r=new $k(4)),r.Ei(new eY(t,1,this.e,o,i))),r},TWt.Rj=function(t,e,n,i,r){var a;return UI(a=e.Ch(n))===UI(FOe)&&(a=null),e.Eh(n),t.Lg()&&t.Mg()&&(!r&&(r=new $k(4)),this.Kj()?r.Ei(new eY(t,2,this.e,a,null)):r.Ei(new eY(t,1,this.e,a,null))),r},TWt.Sj=function(t,e,n){return null!=e.Ch(n)},TWt.Tj=function(t,e,n,i){var r,a,o,s,c;if(null!=i&&!C$t(this.a,i))throw qw(new Rv(Z7t+(aL(i,56)?b_t(zz(i,56).Tg()):set(nut(i)))+W7t+this.a+"'"));s=null!=(c=e.Ch(n)),this.Kj()&&UI(c)===UI(FOe)&&(c=null),o=null,this.bj()?UI(c)!==UI(i)&&(null!=c&&(o=(r=zz(c,49)).ih(t,Ogt(r.Tg(),this.b),null,o)),null!=i&&(o=(r=zz(i,49)).gh(t,Ogt(r.Tg(),this.b),null,o))):this.rk()&&UI(c)!==UI(i)&&(null!=c&&(o=zz(c,49).ih(t,-1-Ogt(t.Tg(),this.e),null,o)),null!=i&&(o=zz(i,49).gh(t,-1-Ogt(t.Tg(),this.e),null,o))),null==i&&this.Kj()?e.Dh(n,FOe):e.Dh(n,i),t.Lg()&&t.Mg()?(a=new UX(t,1,this.e,c,i,this.Kj()&&!s),o?(o.Ei(a),o.Fi()):got(t,a)):o&&o.Fi()},TWt.Vj=function(t,e,n){var i,r,a,o,s;o=null!=(s=e.Ch(n)),this.Kj()&&UI(s)===UI(FOe)&&(s=null),a=null,null!=s&&(this.bj()?a=(i=zz(s,49)).ih(t,Ogt(i.Tg(),this.b),null,a):this.rk()&&(a=zz(s,49).ih(t,-1-Ogt(t.Tg(),this.e),null,a))),e.Eh(n),t.Lg()&&t.Mg()?(r=new UX(t,this.Kj()?2:1,this.e,s,null,o),a?(a.Ei(r),a.Fi()):got(t,r)):a&&a.Fi()},TWt.bj=function(){return!1},TWt.rk=function(){return!1},TWt.sk=function(){return!1},TWt.Kj=function(){return!1},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),pDt(564,398,{},JP),TWt.rk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),pDt(1323,564,{},tB),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),pDt(772,564,{},eB),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),pDt(1325,772,{},nB),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),pDt(640,564,{},Iz),TWt.bj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),pDt(1324,640,{},Oz),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),pDt(773,640,{},Lz),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),pDt(1326,773,{},Nz),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),pDt(641,398,{},iB),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),pDt(1327,641,{},rB),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),pDt(774,641,{},Mz),TWt.bj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),pDt(1328,774,{},Pz),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),pDt(1321,398,{},aB),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),pDt(771,398,{},Dz),TWt.bj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),pDt(1322,771,{},Bz),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),pDt(775,565,Y7t,oW),TWt.Pk=function(t){return new oW(this.a,this.c,t)},TWt.dd=function(){return this.b},TWt.Qk=function(t,e,n){return B8(this,t,this.b,n)},TWt.Rk=function(t,e,n){return F8(this,t,this.b,n)},mZ(d6t,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),pDt(1329,1,k7t,_w),TWt.Wj=function(t){return this.a},TWt.fj=function(){return aL(this.a,95)?zz(this.a,95).fj():!this.a.dc()},TWt.Wb=function(t){this.a.$b(),this.a.Gc(zz(t,15))},TWt.Xj=function(){aL(this.a,95)?zz(this.a,95).Xj():this.a.$b()},mZ(d6t,"EStructuralFeatureImpl/SettingMany",1329),pDt(1330,565,Y7t,b4),TWt.Ok=function(t){return new aF((ZHt(),$Le),this.b.Ih(this.a,t))},TWt.dd=function(){return null},TWt.Qk=function(t,e,n){return n},TWt.Rk=function(t,e,n){return n},mZ(d6t,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),pDt(642,565,Y7t,aF),TWt.Ok=function(t){return new aF(this.c,t)},TWt.dd=function(){return this.a},TWt.Qk=function(t,e,n){return n},TWt.Rk=function(t,e,n){return n},mZ(d6t,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),pDt(391,497,h8t,zc),TWt.ri=function(t){return P8(HDe,HWt,26,t,0,1)},TWt.ni=function(){return!1},mZ(d6t,"ESuperAdapter/1",391),pDt(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},qc),TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new oU(this,KDe,this)),this.a}return Y7(this,t-dZ((wWt(),AOe)),iet(zz(xot(this,16),26)||AOe,t),e,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 2:return!this.a&&(this.a=new oU(this,KDe,this)),$wt(this.a,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),AOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),AOe)),t,n)},TWt.lh=function(t){switch(t){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 M3(this,t-dZ((wWt(),AOe)),iet(zz(xot(this,16),26)||AOe,t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void Prt(this,TB(e));case 2:return!this.a&&(this.a=new oU(this,KDe,this)),lHt(this.a),!this.a&&(this.a=new oU(this,KDe,this)),void wZ(this.a,zz(e,14))}Ndt(this,t-dZ((wWt(),AOe)),iet(zz(xot(this,16),26)||AOe,t),e)},TWt.zh=function(){return wWt(),AOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void Prt(this,null);case 2:return!this.a&&(this.a=new oU(this,KDe,this)),void lHt(this.a)}Uht(this,t-dZ((wWt(),AOe)),iet(zz(xot(this,16),26)||AOe,t))},mZ(d6t,"ETypeParameterImpl",444),pDt(445,85,R7t,oU),TWt.cj=function(t,e){return NAt(this,zz(t,87),e)},TWt.dj=function(t,e){return PAt(this,zz(t,87),e)},mZ(d6t,"ETypeParameterImpl/1",445),pDt(634,43,nVt,Py),TWt.ec=function(){return new Aw(this)},mZ(d6t,"ETypeParameterImpl/2",634),pDt(556,eKt,nKt,Aw),TWt.Fc=function(t){return VF(this,zz(t,87))},TWt.Gc=function(t){var e,n,i;for(i=!1,n=t.Kc();n.Ob();)e=zz(n.Pb(),87),null==KW(this.a,e,"")&&(i=!0);return i},TWt.$b=function(){OY(this.a)},TWt.Hc=function(t){return lY(this.a,t)},TWt.Kc=function(){return new Ew(new cut(new Cd(this.a).a))},TWt.Mc=function(t){return j6(this,t)},TWt.gc=function(){return NA(this.a)},mZ(d6t,"ETypeParameterImpl/2/1",556),pDt(557,1,VWt,Ew),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return zz(nnt(this.a).cd(),87)},TWt.Ob=function(){return this.a.b},TWt.Qb=function(){c7(this.a)},mZ(d6t,"ETypeParameterImpl/2/1/1",557),pDt(1276,43,nVt,By),TWt._b=function(t){return ZI(t)?nV(this,t):!!DV(this.f,t)},TWt.xc=function(t){var e;return aL(e=ZI(t)?TQ(this,t):HI(DV(this.f,t)),837)?(e=zz(e,837)._j(),KW(this,zz(t,235),e),e):null!=e?e:null==t?(QE(),rLe):null},mZ(d6t,"EValidatorRegistryImpl",1276),pDt(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},Hc),TWt.Ih=function(t,e){switch(t.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==e?null:qdt(e);case 25:return Wet(e);case 27:return Z7(e);case 28:return W7(e);case 29:return null==e?null:qO(IMe[0],zz(e,199));case 41:return null==e?"":t_(zz(e,290));case 42:return qdt(e);case 50:return TB(e);default:throw qw(new jv(b6t+t.ne()+w6t))}},TWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=Zet(t))?cmt(e.Mh(),t):-1),t.G){case 0:return new My;case 1:return new kc;case 2:return new Rh;case 4:return new _m;case 5:return new Dy;case 6:return new km;case 7:return new Bh;case 10:return new vc;case 11:return new Oy;case 12:return new mV;case 13:return new Ly;case 14:return new wB;case 17:return new Dc;case 18:return new Rw;case 19:return new qc;default:throw qw(new jv(v6t+t.zb+w6t))}},TWt.Kh=function(t,e){switch(t.yj()){case 20:return null==e?null:new g_(e);case 21:return null==e?null:new OD(e);case 23:case 22:return null==e?null:tbt(e);case 26:case 24:return null==e?null:Ctt(djt(e,-128,127)<<24>>24);case 25:return bOt(e);case 27:return Cvt(e);case 28:return Svt(e);case 29:return wEt(e);case 32:case 31:return null==e?null:gTt(e);case 38:case 37:return null==e?null:new Bm(e);case 40:case 39:return null==e?null:rft(djt(e,$Kt,FWt));case 41:case 42:return null;case 44:case 43:return null==e?null:_bt(aYt(e));case 49:case 48:return null==e?null:aft(djt(e,V7t,32767)<<16>>16);case 50:return e;default:throw qw(new jv(b6t+t.ne()+w6t))}},mZ(d6t,"EcoreFactoryImpl",1313),pDt(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},YW),TWt.gb=!1,TWt.hb=!1;var KOe,XOe=!1;mZ(d6t,"EcorePackageImpl",547),pDt(1184,1,{837:1},Uc),TWt._j=function(){return uN(),aLe},mZ(d6t,"EcorePackageImpl/1",1184),pDt(1193,1,l9t,Gc),TWt.wj=function(t){return aL(t,147)},TWt.xj=function(t){return P8(zMe,HWt,147,t,0,1)},mZ(d6t,"EcorePackageImpl/10",1193),pDt(1194,1,l9t,Yc),TWt.wj=function(t){return aL(t,191)},TWt.xj=function(t){return P8(HMe,HWt,191,t,0,1)},mZ(d6t,"EcorePackageImpl/11",1194),pDt(1195,1,l9t,Zc),TWt.wj=function(t){return aL(t,56)},TWt.xj=function(t){return P8(LMe,HWt,56,t,0,1)},mZ(d6t,"EcorePackageImpl/12",1195),pDt(1196,1,l9t,Wc),TWt.wj=function(t){return aL(t,399)},TWt.xj=function(t){return P8(XDe,B7t,59,t,0,1)},mZ(d6t,"EcorePackageImpl/13",1196),pDt(1197,1,l9t,Kc),TWt.wj=function(t){return aL(t,235)},TWt.xj=function(t){return P8(UMe,HWt,235,t,0,1)},mZ(d6t,"EcorePackageImpl/14",1197),pDt(1198,1,l9t,Xc),TWt.wj=function(t){return aL(t,509)},TWt.xj=function(t){return P8(VDe,HWt,2017,t,0,1)},mZ(d6t,"EcorePackageImpl/15",1198),pDt(1199,1,l9t,Vc),TWt.wj=function(t){return aL(t,99)},TWt.xj=function(t){return P8(QDe,P7t,18,t,0,1)},mZ(d6t,"EcorePackageImpl/16",1199),pDt(1200,1,l9t,Qc),TWt.wj=function(t){return aL(t,170)},TWt.xj=function(t){return P8($De,P7t,170,t,0,1)},mZ(d6t,"EcorePackageImpl/17",1200),pDt(1201,1,l9t,Jc),TWt.wj=function(t){return aL(t,472)},TWt.xj=function(t){return P8(jDe,HWt,472,t,0,1)},mZ(d6t,"EcorePackageImpl/18",1201),pDt(1202,1,l9t,tu),TWt.wj=function(t){return aL(t,548)},TWt.xj=function(t){return P8(ZOe,s7t,548,t,0,1)},mZ(d6t,"EcorePackageImpl/19",1202),pDt(1185,1,l9t,eu),TWt.wj=function(t){return aL(t,322)},TWt.xj=function(t){return P8(zDe,P7t,34,t,0,1)},mZ(d6t,"EcorePackageImpl/2",1185),pDt(1203,1,l9t,nu),TWt.wj=function(t){return aL(t,241)},TWt.xj=function(t){return P8(KDe,q7t,87,t,0,1)},mZ(d6t,"EcorePackageImpl/20",1203),pDt(1204,1,l9t,iu),TWt.wj=function(t){return aL(t,444)},TWt.xj=function(t){return P8(MOe,HWt,836,t,0,1)},mZ(d6t,"EcorePackageImpl/21",1204),pDt(1205,1,l9t,ru),TWt.wj=function(t){return GI(t)},TWt.xj=function(t){return P8(kee,lKt,476,t,8,1)},mZ(d6t,"EcorePackageImpl/22",1205),pDt(1206,1,l9t,au),TWt.wj=function(t){return aL(t,190)},TWt.xj=function(t){return P8(NNe,lKt,190,t,0,2)},mZ(d6t,"EcorePackageImpl/23",1206),pDt(1207,1,l9t,ou),TWt.wj=function(t){return aL(t,217)},TWt.xj=function(t){return P8(Eee,lKt,217,t,0,1)},mZ(d6t,"EcorePackageImpl/24",1207),pDt(1208,1,l9t,su),TWt.wj=function(t){return aL(t,172)},TWt.xj=function(t){return P8(Cee,lKt,172,t,0,1)},mZ(d6t,"EcorePackageImpl/25",1208),pDt(1209,1,l9t,cu),TWt.wj=function(t){return aL(t,199)},TWt.xj=function(t){return P8(vee,lKt,199,t,0,1)},mZ(d6t,"EcorePackageImpl/26",1209),pDt(1210,1,l9t,uu),TWt.wj=function(t){return!1},TWt.xj=function(t){return P8(jNe,HWt,2110,t,0,1)},mZ(d6t,"EcorePackageImpl/27",1210),pDt(1211,1,l9t,lu),TWt.wj=function(t){return YI(t)},TWt.xj=function(t){return P8(See,lKt,333,t,7,1)},mZ(d6t,"EcorePackageImpl/28",1211),pDt(1212,1,l9t,hu),TWt.wj=function(t){return aL(t,58)},TWt.xj=function(t){return P8(sDe,eJt,58,t,0,1)},mZ(d6t,"EcorePackageImpl/29",1212),pDt(1186,1,l9t,fu),TWt.wj=function(t){return aL(t,510)},TWt.xj=function(t){return P8(RDe,{3:1,4:1,5:1,1934:1},590,t,0,1)},mZ(d6t,"EcorePackageImpl/3",1186),pDt(1213,1,l9t,du),TWt.wj=function(t){return aL(t,573)},TWt.xj=function(t){return P8(vDe,HWt,1940,t,0,1)},mZ(d6t,"EcorePackageImpl/30",1213),pDt(1214,1,l9t,gu),TWt.wj=function(t){return aL(t,153)},TWt.xj=function(t){return P8(cLe,eJt,153,t,0,1)},mZ(d6t,"EcorePackageImpl/31",1214),pDt(1215,1,l9t,pu),TWt.wj=function(t){return aL(t,72)},TWt.xj=function(t){return P8(OOe,h9t,72,t,0,1)},mZ(d6t,"EcorePackageImpl/32",1215),pDt(1216,1,l9t,bu),TWt.wj=function(t){return aL(t,155)},TWt.xj=function(t){return P8(Iee,lKt,155,t,0,1)},mZ(d6t,"EcorePackageImpl/33",1216),pDt(1217,1,l9t,wu),TWt.wj=function(t){return aL(t,19)},TWt.xj=function(t){return P8(Oee,lKt,19,t,0,1)},mZ(d6t,"EcorePackageImpl/34",1217),pDt(1218,1,l9t,mu),TWt.wj=function(t){return aL(t,290)},TWt.xj=function(t){return P8(Lte,HWt,290,t,0,1)},mZ(d6t,"EcorePackageImpl/35",1218),pDt(1219,1,l9t,yu),TWt.wj=function(t){return aL(t,162)},TWt.xj=function(t){return P8(Ree,lKt,162,t,0,1)},mZ(d6t,"EcorePackageImpl/36",1219),pDt(1220,1,l9t,vu),TWt.wj=function(t){return aL(t,83)},TWt.xj=function(t){return P8(Pte,HWt,83,t,0,1)},mZ(d6t,"EcorePackageImpl/37",1220),pDt(1221,1,l9t,xu),TWt.wj=function(t){return aL(t,591)},TWt.xj=function(t){return P8(iLe,HWt,591,t,0,1)},mZ(d6t,"EcorePackageImpl/38",1221),pDt(1222,1,l9t,ku),TWt.wj=function(t){return!1},TWt.xj=function(t){return P8($Ne,HWt,2111,t,0,1)},mZ(d6t,"EcorePackageImpl/39",1222),pDt(1187,1,l9t,_u),TWt.wj=function(t){return aL(t,88)},TWt.xj=function(t){return P8(HDe,HWt,26,t,0,1)},mZ(d6t,"EcorePackageImpl/4",1187),pDt(1223,1,l9t,Au),TWt.wj=function(t){return aL(t,184)},TWt.xj=function(t){return P8($ee,lKt,184,t,0,1)},mZ(d6t,"EcorePackageImpl/40",1223),pDt(1224,1,l9t,Eu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(d6t,"EcorePackageImpl/41",1224),pDt(1225,1,l9t,Tu),TWt.wj=function(t){return aL(t,588)},TWt.xj=function(t){return P8(uDe,HWt,588,t,0,1)},mZ(d6t,"EcorePackageImpl/42",1225),pDt(1226,1,l9t,Cu),TWt.wj=function(t){return!1},TWt.xj=function(t){return P8(zNe,lKt,2112,t,0,1)},mZ(d6t,"EcorePackageImpl/43",1226),pDt(1227,1,l9t,Su),TWt.wj=function(t){return aL(t,42)},TWt.xj=function(t){return P8(Hte,kKt,42,t,0,1)},mZ(d6t,"EcorePackageImpl/44",1227),pDt(1188,1,l9t,Iu),TWt.wj=function(t){return aL(t,138)},TWt.xj=function(t){return P8(qDe,HWt,138,t,0,1)},mZ(d6t,"EcorePackageImpl/5",1188),pDt(1189,1,l9t,Mu),TWt.wj=function(t){return aL(t,148)},TWt.xj=function(t){return P8(UDe,HWt,148,t,0,1)},mZ(d6t,"EcorePackageImpl/6",1189),pDt(1190,1,l9t,Du),TWt.wj=function(t){return aL(t,457)},TWt.xj=function(t){return P8(ZDe,HWt,671,t,0,1)},mZ(d6t,"EcorePackageImpl/7",1190),pDt(1191,1,l9t,Ou),TWt.wj=function(t){return aL(t,573)},TWt.xj=function(t){return P8(WDe,HWt,678,t,0,1)},mZ(d6t,"EcorePackageImpl/8",1191),pDt(1192,1,l9t,Lu),TWt.wj=function(t){return aL(t,471)},TWt.xj=function(t){return P8(qMe,HWt,471,t,0,1)},mZ(d6t,"EcorePackageImpl/9",1192),pDt(1025,1982,a7t,Pv),TWt.bi=function(t,e){Oht(this,zz(e,415))},TWt.fi=function(t,e){iSt(this,t,zz(e,415))},mZ(d6t,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),pDt(1026,143,n7t,sW),TWt.Ai=function(){return this.a.a},mZ(d6t,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),pDt(1053,1052,{},cO),mZ("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var VOe,QOe,JOe,tLe,eLe,nLe,iLe=dH(f9t,"Resource");pDt(781,1378,d9t),TWt.Yk=function(t){},TWt.Zk=function(t){},TWt.Vk=function(){return!this.a&&(this.a=new Tw(this)),this.a},TWt.Wk=function(t){var e,n,i,r,a;if((i=t.length)>0){if(d1(0,t.length),47==t.charCodeAt(0)){for(a=new Q6(4),r=1,e=1;e<i;++e)d1(e,t.length),47==t.charCodeAt(e)&&(Wz(a,r==e?"":t.substr(r,e-r)),r=e+1);return Wz(a,t.substr(r)),ukt(this,a)}d1(i-1,t.length),63==t.charCodeAt(i-1)&&(n=ER(t,QAt(63),i-2))>0&&(t=t.substr(0,n))}return _It(this,t)},TWt.Xk=function(){return this.c},TWt.Ib=function(){return t_(this.gm)+"@"+(eut(this)>>>0).toString(16)+" uri='"+this.d+"'"},TWt.b=!1,mZ(g9t,"ResourceImpl",781),pDt(1379,781,d9t,Sw),mZ(g9t,"BinaryResourceImpl",1379),pDt(1169,694,f8t),TWt.si=function(t){return aL(t,56)?AV(this,zz(t,56)):aL(t,591)?new DL(zz(t,591).Vk()):UI(t)===UI(this.f)?zz(t,14).Kc():(pB(),wDe.a)},TWt.Ob=function(){return gMt(this)},TWt.a=!1,mZ(x7t,"EcoreUtil/ContentTreeIterator",1169),pDt(1380,1169,f8t,rY),TWt.si=function(t){return UI(t)===UI(this.f)?zz(t,15).Kc():new $2(zz(t,56))},mZ(g9t,"ResourceImpl/5",1380),pDt(648,1994,F7t,Tw),TWt.Hc=function(t){return this.i<=4?Ckt(this,t):aL(t,49)&&zz(t,49).Zg()==this.a},TWt.bi=function(t,e){t==this.i-1&&(this.a.b||(this.a.b=!0))},TWt.di=function(t,e){0==t?this.a.b||(this.a.b=!0):L8(this,t,e)},TWt.fi=function(t,e){},TWt.gi=function(t,e,n){},TWt.aj=function(){return 2},TWt.Ai=function(){return this.a},TWt.bj=function(){return!0},TWt.cj=function(t,e){return e=zz(t,49).wh(this.a,e)},TWt.dj=function(t,e){return zz(t,49).wh(null,e)},TWt.ej=function(){return!1},TWt.hi=function(){return!0},TWt.ri=function(t){return P8(LMe,HWt,56,t,0,1)},TWt.ni=function(){return!1},mZ(g9t,"ResourceImpl/ContentsEList",648),pDt(957,1964,NKt,Cw),TWt.Zc=function(t){return this.a._h(t)},TWt.gc=function(){return this.a.gc()},mZ(x7t,"AbstractSequentialInternalEList/1",957),pDt(624,1,{},Tq),mZ(x7t,"BasicExtendedMetaData",624),pDt(1160,1,{},OI),TWt.$k=function(){return null},TWt._k=function(){return-2==this.a&&cd(this,sEt(this.d,this.b)),this.a},TWt.al=function(){return null},TWt.bl=function(){return TX(),TX(),lne},TWt.ne=function(){return this.c==I9t&&ld(this,Abt(this.d,this.b)),this.c},TWt.cl=function(){return 0},TWt.a=-2,TWt.c=I9t,mZ(x7t,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),pDt(1161,1,{},j0),TWt.$k=function(){return this.a==(F5(),eLe)&&ud(this,yNt(this.f,this.b)),this.a},TWt._k=function(){return 0},TWt.al=function(){return this.c==(F5(),eLe)&&hd(this,vNt(this.f,this.b)),this.c},TWt.bl=function(){return!this.d&&fd(this,CRt(this.f,this.b)),this.d},TWt.ne=function(){return this.e==I9t&&dd(this,Abt(this.f,this.b)),this.e},TWt.cl=function(){return-2==this.g&&gd(this,Q_t(this.f,this.b)),this.g},TWt.e=I9t,TWt.g=-2,mZ(x7t,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),pDt(1159,1,{},FI),TWt.b=!1,TWt.c=!1,mZ(x7t,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),pDt(1162,1,{},R0),TWt.c=-2,TWt.e=I9t,TWt.f=I9t,mZ(x7t,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),pDt(585,622,R7t,Eq),TWt.aj=function(){return this.c},TWt.Fk=function(){return!1},TWt.li=function(t,e){return e},TWt.c=0,mZ(x7t,"EDataTypeEList",585);var rLe,aLe,oLe,sLe,cLe=dH(x7t,"FeatureMap");pDt(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},Aat),TWt.Vc=function(t,e){dNt(this,t,zz(e,72))},TWt.Fc=function(t){return cLt(this,zz(t,72))},TWt.Yh=function(t){pZ(this,zz(t,72))},TWt.cj=function(t,e){return qR(this,zz(t,72),e)},TWt.dj=function(t,e){return HR(this,zz(t,72),e)},TWt.ii=function(t,e){return sjt(this,t,e)},TWt.li=function(t,e){return hUt(this,t,zz(e,72))},TWt._c=function(t,e){return SPt(this,t,zz(e,72))},TWt.jj=function(t,e){return UR(this,zz(t,72),e)},TWt.kj=function(t,e){return GR(this,zz(t,72),e)},TWt.lj=function(t,e,n){return w_t(this,zz(t,72),zz(e,72),n)},TWt.oi=function(t,e){return lAt(this,t,zz(e,72))},TWt.dl=function(t,e){return BRt(this,t,e)},TWt.Wc=function(t,e){var n,i,r,a,o,s,c,u,l;for(u=new wet(e.gc()),r=e.Kc();r.Ob();)if(a=(i=zz(r.Pb(),72)).ak(),LPt(this.e,a))(!a.hi()||!U3(this,a,i.dd())&&!Ckt(u,i))&&h7(u,i);else{for(l=sPt(this.e.Tg(),a),n=zz(this.g,119),o=!0,s=0;s<this.i;++s)if(c=n[s],l.rl(c.ak())){zz(umt(this,s,i),72),o=!1;break}o&&h7(u,i)}return uct(this,t,u)},TWt.Gc=function(t){var e,n,i,r,a,o,s,c,u;for(c=new wet(t.gc()),i=t.Kc();i.Ob();)if(r=(n=zz(i.Pb(),72)).ak(),LPt(this.e,r))(!r.hi()||!U3(this,r,n.dd())&&!Ckt(c,n))&&h7(c,n);else{for(u=sPt(this.e.Tg(),r),e=zz(this.g,119),a=!0,o=0;o<this.i;++o)if(s=e[o],u.rl(s.ak())){zz(umt(this,o,n),72),a=!1;break}a&&h7(c,n)}return wZ(this,c)},TWt.Wh=function(t){return this.j=-1,N$t(this,this.i,t)},TWt.el=function(t,e,n){return SFt(this,t,e,n)},TWt.mk=function(t,e){return ERt(this,t,e)},TWt.fl=function(t,e,n){return tqt(this,t,e,n)},TWt.gl=function(){return this},TWt.hl=function(t,e){return aqt(this,t,e)},TWt.il=function(t){return zz(Ket(this,t),72).ak()},TWt.jl=function(t){return zz(Ket(this,t),72).dd()},TWt.kl=function(){return this.b},TWt.bj=function(){return!0},TWt.ij=function(){return!0},TWt.ll=function(t){return!spt(this,t)},TWt.ri=function(t){return P8(WOe,h9t,332,t,0,1)},TWt.Gk=function(t){return lB(this,t)},TWt.Wb=function(t){eZ(this,t)},TWt.ml=function(t,e){Tqt(this,t,e)},TWt.nl=function(t){return Yit(this,t)},TWt.ol=function(t){jyt(this,t)},mZ(x7t,"BasicFeatureMap",75),pDt(1851,1,oKt),TWt.Nb=function(t){hY(this,t)},TWt.Rb=function(t){if(-1==this.g)throw qw(new pm);yG(this);try{OPt(this.e,this.b,this.a,t),this.d=this.e.j,omt(this)}catch(t){throw aL(t=dst(t),73)?qw(new mm):qw(t)}},TWt.Ob=function(){return jut(this)},TWt.Sb=function(){return $ut(this)},TWt.Pb=function(){return omt(this)},TWt.Tb=function(){return this.a},TWt.Ub=function(){var t;if($ut(this))return yG(this),this.g=--this.a,this.Lk()&&(t=zIt(this.e,this.b,this.c,this.a,this.j),this.j=t),this.i=0,this.j;throw qw(new vm)},TWt.Vb=function(){return this.a-1},TWt.Qb=function(){if(-1==this.g)throw qw(new pm);yG(this);try{sCt(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(t){throw aL(t=dst(t),73)?qw(new mm):qw(t)}},TWt.Lk=function(){return!1},TWt.Wb=function(t){if(-1==this.g)throw qw(new pm);yG(this);try{W$t(this.e,this.b,this.g,t),this.d=this.e.j}catch(t){throw aL(t=dst(t),73)?qw(new mm):qw(t)}},TWt.a=0,TWt.c=0,TWt.d=0,TWt.f=!1,TWt.g=0,TWt.i=0,mZ(x7t,"FeatureMapUtil/BasicFeatureEIterator",1851),pDt(410,1851,oKt,Oot),TWt.pl=function(){var t,e,n;for(n=this.e.i,t=zz(this.e.g,119);this.c<n;){if(e=t[this.c],this.k.rl(e.ak()))return this.j=this.f?e:e.dd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},TWt.ql=function(){var t,e;for(t=zz(this.e.g,119);--this.c>=0;)if(e=t[this.c],this.k.rl(e.ak()))return this.j=this.f?e:e.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},mZ(x7t,"BasicFeatureMap/FeatureEIterator",410),pDt(662,410,oKt,PM),TWt.Lk=function(){return!0},mZ(x7t,"BasicFeatureMap/ResolvingFeatureEIterator",662),pDt(955,486,U7t,GO),TWt.Gi=function(){return this},mZ(x7t,"EContentsEList/1",955),pDt(956,486,U7t,BM),TWt.Lk=function(){return!1},mZ(x7t,"EContentsEList/2",956),pDt(954,279,G7t,YO),TWt.Nk=function(t){},TWt.Ob=function(){return!1},TWt.Sb=function(){return!1},mZ(x7t,"EContentsEList/FeatureIteratorImpl/1",954),pDt(825,585,R7t,RL),TWt.ci=function(){this.a=!0},TWt.fj=function(){return this.a},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.a,this.a=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.a=!1},TWt.a=!1,mZ(x7t,"EDataTypeEList/Unsettable",825),pDt(1849,585,R7t,jL),TWt.hi=function(){return!0},mZ(x7t,"EDataTypeUniqueEList",1849),pDt(1850,825,R7t,$L),TWt.hi=function(){return!0},mZ(x7t,"EDataTypeUniqueEList/Unsettable",1850),pDt(139,85,R7t,NL),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectContainmentEList/Resolving",139),pDt(1163,545,R7t,PL),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectContainmentEList/Unsettable/Resolving",1163),pDt(748,16,R7t,iR),TWt.ci=function(){this.a=!0},TWt.fj=function(){return this.a},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.a,this.a=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.a=!1},TWt.a=!1,mZ(x7t,"EObjectContainmentWithInverseEList/Unsettable",748),pDt(1173,748,R7t,rR),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),pDt(743,496,R7t,BL),TWt.ci=function(){this.a=!0},TWt.fj=function(){return this.a},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.a,this.a=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.a=!1},TWt.a=!1,mZ(x7t,"EObjectEList/Unsettable",743),pDt(328,496,R7t,FL),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectResolvingEList",328),pDt(1641,743,R7t,zL),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectResolvingEList/Unsettable",1641),pDt(1381,1,{},Nu),mZ(x7t,"EObjectValidator",1381),pDt(546,496,R7t,iY),TWt.zk=function(){return this.d},TWt.Ak=function(){return this.b},TWt.bj=function(){return!0},TWt.Dk=function(){return!0},TWt.b=0,mZ(x7t,"EObjectWithInverseEList",546),pDt(1176,546,R7t,aR),TWt.Ck=function(){return!0},mZ(x7t,"EObjectWithInverseEList/ManyInverse",1176),pDt(625,546,R7t,oR),TWt.ci=function(){this.a=!0},TWt.fj=function(){return this.a},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.a,this.a=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.a=!1},TWt.a=!1,mZ(x7t,"EObjectWithInverseEList/Unsettable",625),pDt(1175,625,R7t,cR),TWt.Ck=function(){return!0},mZ(x7t,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),pDt(749,546,R7t,sR),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectWithInverseResolvingEList",749),pDt(31,749,R7t,lR),TWt.Ck=function(){return!0},mZ(x7t,"EObjectWithInverseResolvingEList/ManyInverse",31),pDt(750,625,R7t,uR),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectWithInverseResolvingEList/Unsettable",750),pDt(1174,750,R7t,hR),TWt.Ck=function(){return!0},mZ(x7t,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),pDt(1164,622,R7t),TWt.ai=function(){return 0==(1792&this.b)},TWt.ci=function(){this.b|=1},TWt.Bk=function(){return 0!=(4&this.b)},TWt.bj=function(){return 0!=(40&this.b)},TWt.Ck=function(){return 0!=(16&this.b)},TWt.Dk=function(){return 0!=(8&this.b)},TWt.Ek=function(){return 0!=(this.b&T7t)},TWt.rk=function(){return 0!=(32&this.b)},TWt.Fk=function(){return 0!=(this.b&k6t)},TWt.wj=function(t){return this.d?P3(this.d,t):this.ak().Yj().wj(t)},TWt.fj=function(){return 0!=(2&this.b)?0!=(1&this.b):0!=this.i},TWt.hi=function(){return 0!=(128&this.b)},TWt.Xj=function(){var t;lHt(this),0!=(2&this.b)&&(yD(this.e)?(t=0!=(1&this.b),this.b&=-2,Lm(this,new e6(this.e,2,Ogt(this.e.Tg(),this.ak()),t,!1))):this.b&=-2)},TWt.ni=function(){return 0==(1536&this.b)},TWt.b=0,mZ(x7t,"EcoreEList/Generic",1164),pDt(1165,1164,R7t,GX),TWt.ak=function(){return this.a},mZ(x7t,"EcoreEList/Dynamic",1165),pDt(747,63,h8t,Iw),TWt.ri=function(t){return Fnt(this.a.a,t)},mZ(x7t,"EcoreEMap/1",747),pDt(746,85,R7t,JG),TWt.bi=function(t,e){Mmt(this.b,zz(e,133))},TWt.di=function(t,e){sot(this.b)},TWt.ei=function(t,e,n){var i;++(i=this.b,zz(e,133),i).e},TWt.fi=function(t,e){Dft(this.b,zz(e,133))},TWt.gi=function(t,e,n){Dft(this.b,zz(n,133)),UI(n)===UI(e)&&zz(n,133).Th(aO(zz(e,133).cd())),Mmt(this.b,zz(e,133))},mZ(x7t,"EcoreEMap/DelegateEObjectContainmentEList",746),pDt(1171,151,_7t,xit),mZ(x7t,"EcoreEMap/Unsettable",1171),pDt(1172,746,R7t,fR),TWt.ci=function(){this.a=!0},TWt.fj=function(){return this.a},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.a,this.a=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.a=!1},TWt.a=!1,mZ(x7t,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),pDt(1168,228,nVt,fZ),TWt.a=!1,TWt.b=!1,mZ(x7t,"EcoreUtil/Copier",1168),pDt(745,1,VWt,$2),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return cpt(this)},TWt.Pb=function(){var t;return cpt(this),t=this.b,this.b=null,t},TWt.Qb=function(){this.a.Qb()},mZ(x7t,"EcoreUtil/ProperContentIterator",745),pDt(1382,1381,{},jh),mZ(x7t,"EcoreValidator",1382),dH(x7t,"FeatureMapUtil/Validator"),pDt(1260,1,{1942:1},Pu),TWt.rl=function(t){return!0},mZ(x7t,"FeatureMapUtil/1",1260),pDt(757,1,{1942:1},oYt),TWt.rl=function(t){var e;return this.c==t||(null==(e=AB(FZ(this.a,t)))?BFt(this,t)?(r6(this.a,t,(lN(),yee)),!0):(r6(this.a,t,(lN(),mee)),!1):e==(lN(),yee))},TWt.e=!1,mZ(x7t,"FeatureMapUtil/BasicValidator",757),pDt(758,43,nVt,ZO),mZ(x7t,"FeatureMapUtil/BasicValidator/Cache",758),pDt(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},PI),TWt.Vc=function(t,e){OPt(this.c,this.b,t,e)},TWt.Fc=function(t){return BRt(this.c,this.b,t)},TWt.Wc=function(t,e){return _qt(this.c,this.b,t,e)},TWt.Gc=function(t){return JO(this,t)},TWt.Xh=function(t,e){het(this.c,this.b,t,e)},TWt.lk=function(t,e){return SFt(this.c,this.b,t,e)},TWt.pi=function(t){return rqt(this.c,this.b,t,!1)},TWt.Zh=function(){return kD(this.c,this.b)},TWt.$h=function(){return _D(this.c,this.b)},TWt._h=function(t){return O8(this.c,this.b,t)},TWt.mk=function(t,e){return eF(this,t,e)},TWt.$b=function(){Nm(this)},TWt.Hc=function(t){return U3(this.c,this.b,t)},TWt.Ic=function(t){return Tat(this.c,this.b,t)},TWt.Xb=function(t){return rqt(this.c,this.b,t,!0)},TWt.Wj=function(t){return this},TWt.Xc=function(t){return G3(this.c,this.b,t)},TWt.dc=function(){return qI(this)},TWt.fj=function(){return!spt(this.c,this.b)},TWt.Kc=function(){return att(this.c,this.b)},TWt.Yc=function(){return ott(this.c,this.b)},TWt.Zc=function(t){return dft(this.c,this.b,t)},TWt.ii=function(t,e){return v$t(this.c,this.b,t,e)},TWt.ji=function(t,e){X6(this.c,this.b,t,e)},TWt.$c=function(t){return sCt(this.c,this.b,t)},TWt.Mc=function(t){return IRt(this.c,this.b,t)},TWt._c=function(t,e){return W$t(this.c,this.b,t,e)},TWt.Wb=function(t){OMt(this.c,this.b),JO(this,zz(t,15))},TWt.gc=function(){return jft(this.c,this.b)},TWt.Pc=function(){return U1(this.c,this.b)},TWt.Qc=function(t){return Y3(this.c,this.b,t)},TWt.Ib=function(){var t,e;for((e=new Tx).a+="[",t=kD(this.c,this.b);jut(t);)aM(e,xN(omt(t))),jut(t)&&(e.a+=zWt);return e.a+="]",e.a},TWt.Xj=function(){OMt(this.c,this.b)},mZ(x7t,"FeatureMapUtil/FeatureEList",501),pDt(627,36,n7t,d4),TWt.yi=function(t){return ift(this,t)},TWt.Di=function(t){var e,n,i,r;switch(this.d){case 1:case 2:if(UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return this.g=t.zi(),1==t.xi()&&(this.d=1),!0;break;case 3:if(3===t.xi()&&UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return this.d=5,h7(e=new wet(2),this.g),h7(e,t.zi()),this.g=e,!0;break;case 5:if(3===t.xi()&&UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return zz(this.g,14).Fc(t.zi()),!0;break;case 4:switch(t.xi()){case 3:if(UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return this.d=1,this.g=t.zi(),!0;break;case 4:if(UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return this.d=6,h7(r=new wet(2),this.n),h7(r,t.Bi()),this.n=r,i=Sst(Ux(DNe,1),hXt,25,15,[this.o,t.Ci()]),this.g=i,!0}break;case 6:if(4===t.xi()&&UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return zz(this.n,14).Fc(t.Bi()),sqt(i=zz(this.g,48),0,n=P8(DNe,hXt,25,i.length+1,15,1),0,i.length),n[i.length]=t.Ci(),this.g=n,!0}return!1},mZ(x7t,"FeatureMapUtil/FeatureENotificationImpl",627),pDt(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},fH),TWt.dl=function(t,e){return BRt(this.c,t,e)},TWt.el=function(t,e,n){return SFt(this.c,t,e,n)},TWt.fl=function(t,e,n){return tqt(this.c,t,e,n)},TWt.gl=function(){return this},TWt.hl=function(t,e){return aqt(this.c,t,e)},TWt.il=function(t){return zz(rqt(this.c,this.b,t,!1),72).ak()},TWt.jl=function(t){return zz(rqt(this.c,this.b,t,!1),72).dd()},TWt.kl=function(){return this.a},TWt.ll=function(t){return!spt(this.c,t)},TWt.ml=function(t,e){Tqt(this.c,t,e)},TWt.nl=function(t){return Yit(this.c,t)},TWt.ol=function(t){jyt(this.c,t)},mZ(x7t,"FeatureMapUtil/FeatureFeatureMap",552),pDt(1259,1,k7t,RI),TWt.Wj=function(t){return rqt(this.b,this.a,-1,t)},TWt.fj=function(){return!spt(this.b,this.a)},TWt.Wb=function(t){Tqt(this.b,this.a,t)},TWt.Xj=function(){OMt(this.b,this.a)},mZ(x7t,"FeatureMapUtil/FeatureValue",1259);var uLe,lLe,hLe,fLe,dLe,gLe=dH(D9t,"AnyType");pDt(666,60,qKt,ix),mZ(D9t,"InvalidDatatypeValueException",666);var pLe,bLe,wLe,mLe,yLe,vLe,xLe,kLe,_Le,ALe,ELe,TLe,CLe,SLe,ILe,MLe,DLe,OLe,LLe,NLe,PLe,BLe,FLe,RLe,jLe,$Le,zLe,qLe,HLe,ULe,GLe=dH(D9t,O9t),YLe=dH(D9t,L9t),ZLe=dH(D9t,N9t);pDt(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},Fy),TWt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new Aat(this,0)),this.c):(!this.c&&(this.c=new Aat(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)):(!this.c&&(this.c=new Aat(this,0)),zz(zz(t1(this.c,(ZHt(),mLe)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new Aat(this,2)),this.b):(!this.b&&(this.b=new Aat(this,2)),this.b.b)}return Y7(this,t-dZ(this.zh()),iet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Fh),this.k).ck(),t),e,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.c&&(this.c=new Aat(this,0)),ERt(this.c,t,n);case 1:return(!this.c&&(this.c=new Aat(this,0)),zz(zz(t1(this.c,(ZHt(),mLe)),153),69)).mk(t,n);case 2:return!this.b&&(this.b=new Aat(this,2)),ERt(this.b,t,n)}return zz(iet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Fh),this.k).ck(),e),66).Nj().Rj(this,X9(this),e-dZ(this.zh()),t,n)},TWt.lh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)).dc();case 2:return!!this.b&&0!=this.b.i}return M3(this,t-dZ(this.zh()),iet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.sh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new Aat(this,0)),void eZ(this.c,e);case 1:return void(!this.c&&(this.c=new Aat(this,0)),zz(zz(t1(this.c,(ZHt(),mLe)),153),215)).Wb(e);case 2:return!this.b&&(this.b=new Aat(this,2)),void eZ(this.b,e)}Ndt(this,t-dZ(this.zh()),iet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Fh),this.k).ck(),t),e)},TWt.zh=function(){return ZHt(),wLe},TWt.Bh=function(t){switch(t){case 0:return!this.c&&(this.c=new Aat(this,0)),void lHt(this.c);case 1:return void(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)).$b();case 2:return!this.b&&(this.b=new Aat(this,2)),void lHt(this.b)}Uht(this,t-dZ(this.zh()),iet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.Ib=function(){var t;return 0!=(4&this.j)?SOt(this):((t=new hN(SOt(this))).a+=" (mixed: ",rM(t,this.c),t.a+=", anyAttribute: ",rM(t,this.b),t.a+=")",t.a)},mZ(P9t,"AnyTypeImpl",830),pDt(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},Fu),TWt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return Y7(this,t-dZ((ZHt(),MLe)),iet(0==(2&this.j)?MLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e,n)},TWt.lh=function(t){switch(t){case 0:return null!=this.a;case 1:return null!=this.b}return M3(this,t-dZ((ZHt(),MLe)),iet(0==(2&this.j)?MLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.sh=function(t,e){switch(t){case 0:return void xd(this,TB(e));case 1:return void kd(this,TB(e))}Ndt(this,t-dZ((ZHt(),MLe)),iet(0==(2&this.j)?MLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e)},TWt.zh=function(){return ZHt(),MLe},TWt.Bh=function(t){switch(t){case 0:return void(this.a=null);case 1:return void(this.b=null)}Uht(this,t-dZ((ZHt(),MLe)),iet(0==(2&this.j)?MLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.Ib=function(){var t;return 0!=(4&this.j)?SOt(this):((t=new hN(SOt(this))).a+=" (data: ",aM(t,this.a),t.a+=", target: ",aM(t,this.b),t.a+=")",t.a)},TWt.a=null,TWt.b=null,mZ(P9t,"ProcessingInstructionImpl",667),pDt(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},jy),TWt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new Aat(this,0)),this.c):(!this.c&&(this.c=new Aat(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)):(!this.c&&(this.c=new Aat(this,0)),zz(zz(t1(this.c,(ZHt(),mLe)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new Aat(this,2)),this.b):(!this.b&&(this.b=new Aat(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Aat(this,0)),TB(aqt(this.c,(ZHt(),LLe),!0));case 4:return bR(this.a,(!this.c&&(this.c=new Aat(this,0)),TB(aqt(this.c,(ZHt(),LLe),!0))));case 5:return this.a}return Y7(this,t-dZ((ZHt(),OLe)),iet(0==(2&this.j)?OLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e,n)},TWt.lh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)).dc();case 2:return!!this.b&&0!=this.b.i;case 3:return!this.c&&(this.c=new Aat(this,0)),null!=TB(aqt(this.c,(ZHt(),LLe),!0));case 4:return null!=bR(this.a,(!this.c&&(this.c=new Aat(this,0)),TB(aqt(this.c,(ZHt(),LLe),!0))));case 5:return!!this.a}return M3(this,t-dZ((ZHt(),OLe)),iet(0==(2&this.j)?OLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.sh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new Aat(this,0)),void eZ(this.c,e);case 1:return void(!this.c&&(this.c=new Aat(this,0)),zz(zz(t1(this.c,(ZHt(),mLe)),153),215)).Wb(e);case 2:return!this.b&&(this.b=new Aat(this,2)),void eZ(this.b,e);case 3:return void $0(this,TB(e));case 4:return void $0(this,wR(this.a,e));case 5:return void _d(this,zz(e,148))}Ndt(this,t-dZ((ZHt(),OLe)),iet(0==(2&this.j)?OLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e)},TWt.zh=function(){return ZHt(),OLe},TWt.Bh=function(t){switch(t){case 0:return!this.c&&(this.c=new Aat(this,0)),void lHt(this.c);case 1:return void(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)).$b();case 2:return!this.b&&(this.b=new Aat(this,2)),void lHt(this.b);case 3:return!this.c&&(this.c=new Aat(this,0)),void Tqt(this.c,(ZHt(),LLe),null);case 4:return void $0(this,wR(this.a,null));case 5:return void(this.a=null)}Uht(this,t-dZ((ZHt(),OLe)),iet(0==(2&this.j)?OLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},mZ(P9t,"SimpleAnyTypeImpl",668),pDt(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},Ry),TWt._g=function(t,e,n){switch(t){case 0:return n?(!this.a&&(this.a=new Aat(this,0)),this.a):(!this.a&&(this.a=new Aat(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new v7((wWt(),xOe),ZOe,this,1)),this.b):(!this.b&&(this.b=new v7((wWt(),xOe),ZOe,this,1)),D8(this.b));case 2:return n?(!this.c&&(this.c=new v7((wWt(),xOe),ZOe,this,2)),this.c):(!this.c&&(this.c=new v7((wWt(),xOe),ZOe,this,2)),D8(this.c));case 3:return!this.a&&(this.a=new Aat(this,0)),t1(this.a,(ZHt(),BLe));case 4:return!this.a&&(this.a=new Aat(this,0)),t1(this.a,(ZHt(),FLe));case 5:return!this.a&&(this.a=new Aat(this,0)),t1(this.a,(ZHt(),jLe));case 6:return!this.a&&(this.a=new Aat(this,0)),t1(this.a,(ZHt(),$Le))}return Y7(this,t-dZ((ZHt(),PLe)),iet(0==(2&this.j)?PLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.a&&(this.a=new Aat(this,0)),ERt(this.a,t,n);case 1:return!this.b&&(this.b=new v7((wWt(),xOe),ZOe,this,1)),zR(this.b,t,n);case 2:return!this.c&&(this.c=new v7((wWt(),xOe),ZOe,this,2)),zR(this.c,t,n);case 5:return!this.a&&(this.a=new Aat(this,0)),eF(t1(this.a,(ZHt(),jLe)),t,n)}return zz(iet(0==(2&this.j)?(ZHt(),PLe):(!this.k&&(this.k=new Fh),this.k).ck(),e),66).Nj().Rj(this,X9(this),e-dZ((ZHt(),PLe)),t,n)},TWt.lh=function(t){switch(t){case 0:return!!this.a&&0!=this.a.i;case 1:return!!this.b&&0!=this.b.f;case 2:return!!this.c&&0!=this.c.f;case 3:return!this.a&&(this.a=new Aat(this,0)),!qI(t1(this.a,(ZHt(),BLe)));case 4:return!this.a&&(this.a=new Aat(this,0)),!qI(t1(this.a,(ZHt(),FLe)));case 5:return!this.a&&(this.a=new Aat(this,0)),!qI(t1(this.a,(ZHt(),jLe)));case 6:return!this.a&&(this.a=new Aat(this,0)),!qI(t1(this.a,(ZHt(),$Le)))}return M3(this,t-dZ((ZHt(),PLe)),iet(0==(2&this.j)?PLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.sh=function(t,e){switch(t){case 0:return!this.a&&(this.a=new Aat(this,0)),void eZ(this.a,e);case 1:return!this.b&&(this.b=new v7((wWt(),xOe),ZOe,this,1)),void not(this.b,e);case 2:return!this.c&&(this.c=new v7((wWt(),xOe),ZOe,this,2)),void not(this.c,e);case 3:return!this.a&&(this.a=new Aat(this,0)),Nm(t1(this.a,(ZHt(),BLe))),!this.a&&(this.a=new Aat(this,0)),void JO(t1(this.a,BLe),zz(e,14));case 4:return!this.a&&(this.a=new Aat(this,0)),Nm(t1(this.a,(ZHt(),FLe))),!this.a&&(this.a=new Aat(this,0)),void JO(t1(this.a,FLe),zz(e,14));case 5:return!this.a&&(this.a=new Aat(this,0)),Nm(t1(this.a,(ZHt(),jLe))),!this.a&&(this.a=new Aat(this,0)),void JO(t1(this.a,jLe),zz(e,14));case 6:return!this.a&&(this.a=new Aat(this,0)),Nm(t1(this.a,(ZHt(),$Le))),!this.a&&(this.a=new Aat(this,0)),void JO(t1(this.a,$Le),zz(e,14))}Ndt(this,t-dZ((ZHt(),PLe)),iet(0==(2&this.j)?PLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e)},TWt.zh=function(){return ZHt(),PLe},TWt.Bh=function(t){switch(t){case 0:return!this.a&&(this.a=new Aat(this,0)),void lHt(this.a);case 1:return!this.b&&(this.b=new v7((wWt(),xOe),ZOe,this,1)),void this.b.c.$b();case 2:return!this.c&&(this.c=new v7((wWt(),xOe),ZOe,this,2)),void this.c.c.$b();case 3:return!this.a&&(this.a=new Aat(this,0)),void Nm(t1(this.a,(ZHt(),BLe)));case 4:return!this.a&&(this.a=new Aat(this,0)),void Nm(t1(this.a,(ZHt(),FLe)));case 5:return!this.a&&(this.a=new Aat(this,0)),void Nm(t1(this.a,(ZHt(),jLe)));case 6:return!this.a&&(this.a=new Aat(this,0)),void Nm(t1(this.a,(ZHt(),$Le)))}Uht(this,t-dZ((ZHt(),PLe)),iet(0==(2&this.j)?PLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.Ib=function(){var t;return 0!=(4&this.j)?SOt(this):((t=new hN(SOt(this))).a+=" (mixed: ",rM(t,this.a),t.a+=")",t.a)},mZ(P9t,"XMLTypeDocumentRootImpl",669),pDt(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},Bu),TWt.Ih=function(t,e){switch(t.yj()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return null==e?null:qdt(e);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return TB(e);case 6:return yB(zz(e,190));case 12:case 47:case 49:case 11:return UUt(this,t,e);case 13:return null==e?null:Gzt(zz(e,240));case 15:case 14:return null==e?null:FY(Uv(EB(e)));case 17:return A_t((ZHt(),e));case 18:return A_t(e);case 21:case 20:return null==e?null:RY(zz(e,155).a);case 27:return vB(zz(e,190));case 30:return $yt((ZHt(),zz(e,15)));case 31:return $yt(zz(e,15));case 40:return kB((ZHt(),e));case 42:return E_t((ZHt(),e));case 43:return E_t(e);case 59:case 48:return xB((ZHt(),e));default:throw qw(new jv(b6t+t.ne()+w6t))}},TWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=Zet(t))?cmt(e.Mh(),t):-1),t.G){case 0:return new Fy;case 1:return new Fu;case 2:return new jy;case 3:return new Ry;default:throw qw(new jv(v6t+t.zb+w6t))}},TWt.Kh=function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;switch(t.yj()){case 5:case 52:case 4:return e;case 6:return xwt(e);case 8:case 7:return null==e?null:$_t(e);case 9:return null==e?null:Ctt(djt((i=zzt(e,!0)).length>0&&(d1(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==e?null:Ctt(djt((r=zzt(e,!0)).length>0&&(d1(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return TB(BZt(this,(ZHt(),xLe),e));case 12:return TB(BZt(this,(ZHt(),kLe),e));case 13:return null==e?null:new g_(zzt(e,!0));case 15:case 14:return wLt(e);case 16:return TB(BZt(this,(ZHt(),_Le),e));case 17:return Hpt((ZHt(),e));case 18:return Hpt(e);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return zzt(e,!0);case 21:case 20:return MLt(e);case 22:return TB(BZt(this,(ZHt(),ALe),e));case 23:return TB(BZt(this,(ZHt(),ELe),e));case 24:return TB(BZt(this,(ZHt(),TLe),e));case 25:return TB(BZt(this,(ZHt(),CLe),e));case 26:return TB(BZt(this,(ZHt(),SLe),e));case 27:return twt(e);case 30:return Upt((ZHt(),e));case 31:return Upt(e);case 32:return null==e?null:rft(djt((l=zzt(e,!0)).length>0&&(d1(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,$Kt,FWt));case 33:return null==e?null:new OD((h=zzt(e,!0)).length>0&&(d1(0,h.length),43==h.charCodeAt(0))?h.substr(1):h);case 34:return null==e?null:rft(djt((f=zzt(e,!0)).length>0&&(d1(0,f.length),43==f.charCodeAt(0))?f.substr(1):f,$Kt,FWt));case 36:return null==e?null:_bt(aYt((d=zzt(e,!0)).length>0&&(d1(0,d.length),43==d.charCodeAt(0))?d.substr(1):d));case 37:return null==e?null:_bt(aYt((g=zzt(e,!0)).length>0&&(d1(0,g.length),43==g.charCodeAt(0))?g.substr(1):g));case 40:return Xgt((ZHt(),e));case 42:return Gpt((ZHt(),e));case 43:return Gpt(e);case 44:return null==e?null:new OD((p=zzt(e,!0)).length>0&&(d1(0,p.length),43==p.charCodeAt(0))?p.substr(1):p);case 45:return null==e?null:new OD((b=zzt(e,!0)).length>0&&(d1(0,b.length),43==b.charCodeAt(0))?b.substr(1):b);case 46:return zzt(e,!1);case 47:return TB(BZt(this,(ZHt(),ILe),e));case 59:case 48:return Kgt((ZHt(),e));case 49:return TB(BZt(this,(ZHt(),DLe),e));case 50:return null==e?null:aft(djt((w=zzt(e,!0)).length>0&&(d1(0,w.length),43==w.charCodeAt(0))?w.substr(1):w,V7t,32767)<<16>>16);case 51:return null==e?null:aft(djt((a=zzt(e,!0)).length>0&&(d1(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,V7t,32767)<<16>>16);case 53:return TB(BZt(this,(ZHt(),NLe),e));case 55:return null==e?null:aft(djt((o=zzt(e,!0)).length>0&&(d1(0,o.length),43==o.charCodeAt(0))?o.substr(1):o,V7t,32767)<<16>>16);case 56:return null==e?null:aft(djt((s=zzt(e,!0)).length>0&&(d1(0,s.length),43==s.charCodeAt(0))?s.substr(1):s,V7t,32767)<<16>>16);case 57:return null==e?null:_bt(aYt((c=zzt(e,!0)).length>0&&(d1(0,c.length),43==c.charCodeAt(0))?c.substr(1):c));case 58:return null==e?null:_bt(aYt((u=zzt(e,!0)).length>0&&(d1(0,u.length),43==u.charCodeAt(0))?u.substr(1):u));case 60:return null==e?null:rft(djt((n=zzt(e,!0)).length>0&&(d1(0,n.length),43==n.charCodeAt(0))?n.substr(1):n,$Kt,FWt));case 61:return null==e?null:rft(djt(zzt(e,!0),$Kt,FWt));default:throw qw(new jv(b6t+t.ne()+w6t))}},mZ(P9t,"XMLTypeFactoryImpl",1919),pDt(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},GW),TWt.N=!1,TWt.O=!1;var WLe,KLe,XLe,VLe,QLe,JLe=!1;mZ(P9t,"XMLTypePackageImpl",586),pDt(1852,1,{837:1},Ru),TWt._j=function(){return f$t(),ANe},mZ(P9t,"XMLTypePackageImpl/1",1852),pDt(1861,1,l9t,ju),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/10",1861),pDt(1862,1,l9t,$u),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/11",1862),pDt(1863,1,l9t,zu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/12",1863),pDt(1864,1,l9t,qu),TWt.wj=function(t){return YI(t)},TWt.xj=function(t){return P8(See,lKt,333,t,7,1)},mZ(P9t,"XMLTypePackageImpl/13",1864),pDt(1865,1,l9t,Hu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/14",1865),pDt(1866,1,l9t,Uu),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/15",1866),pDt(1867,1,l9t,Gu),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/16",1867),pDt(1868,1,l9t,Yu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/17",1868),pDt(1869,1,l9t,Zu),TWt.wj=function(t){return aL(t,155)},TWt.xj=function(t){return P8(Iee,lKt,155,t,0,1)},mZ(P9t,"XMLTypePackageImpl/18",1869),pDt(1870,1,l9t,Wu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/19",1870),pDt(1853,1,l9t,Ku),TWt.wj=function(t){return aL(t,843)},TWt.xj=function(t){return P8(gLe,HWt,843,t,0,1)},mZ(P9t,"XMLTypePackageImpl/2",1853),pDt(1871,1,l9t,Xu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/20",1871),pDt(1872,1,l9t,Vu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/21",1872),pDt(1873,1,l9t,Qu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/22",1873),pDt(1874,1,l9t,Ju),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/23",1874),pDt(1875,1,l9t,tl),TWt.wj=function(t){return aL(t,190)},TWt.xj=function(t){return P8(NNe,lKt,190,t,0,2)},mZ(P9t,"XMLTypePackageImpl/24",1875),pDt(1876,1,l9t,el),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/25",1876),pDt(1877,1,l9t,nl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/26",1877),pDt(1878,1,l9t,il),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/27",1878),pDt(1879,1,l9t,rl),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/28",1879),pDt(1880,1,l9t,al),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/29",1880),pDt(1854,1,l9t,ol),TWt.wj=function(t){return aL(t,667)},TWt.xj=function(t){return P8(GLe,HWt,2021,t,0,1)},mZ(P9t,"XMLTypePackageImpl/3",1854),pDt(1881,1,l9t,sl),TWt.wj=function(t){return aL(t,19)},TWt.xj=function(t){return P8(Oee,lKt,19,t,0,1)},mZ(P9t,"XMLTypePackageImpl/30",1881),pDt(1882,1,l9t,cl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/31",1882),pDt(1883,1,l9t,ul),TWt.wj=function(t){return aL(t,162)},TWt.xj=function(t){return P8(Ree,lKt,162,t,0,1)},mZ(P9t,"XMLTypePackageImpl/32",1883),pDt(1884,1,l9t,ll),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/33",1884),pDt(1885,1,l9t,hl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/34",1885),pDt(1886,1,l9t,fl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/35",1886),pDt(1887,1,l9t,dl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/36",1887),pDt(1888,1,l9t,gl),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/37",1888),pDt(1889,1,l9t,pl),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/38",1889),pDt(1890,1,l9t,bl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/39",1890),pDt(1855,1,l9t,wl),TWt.wj=function(t){return aL(t,668)},TWt.xj=function(t){return P8(YLe,HWt,2022,t,0,1)},mZ(P9t,"XMLTypePackageImpl/4",1855),pDt(1891,1,l9t,ml),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/40",1891),pDt(1892,1,l9t,yl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/41",1892),pDt(1893,1,l9t,vl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/42",1893),pDt(1894,1,l9t,xl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/43",1894),pDt(1895,1,l9t,kl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/44",1895),pDt(1896,1,l9t,_l),TWt.wj=function(t){return aL(t,184)},TWt.xj=function(t){return P8($ee,lKt,184,t,0,1)},mZ(P9t,"XMLTypePackageImpl/45",1896),pDt(1897,1,l9t,Al),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/46",1897),pDt(1898,1,l9t,El),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/47",1898),pDt(1899,1,l9t,Tl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/48",1899),pDt(lXt,1,l9t,Cl),TWt.wj=function(t){return aL(t,184)},TWt.xj=function(t){return P8($ee,lKt,184,t,0,1)},mZ(P9t,"XMLTypePackageImpl/49",lXt),pDt(1856,1,l9t,Sl),TWt.wj=function(t){return aL(t,669)},TWt.xj=function(t){return P8(ZLe,HWt,2023,t,0,1)},mZ(P9t,"XMLTypePackageImpl/5",1856),pDt(1901,1,l9t,Il),TWt.wj=function(t){return aL(t,162)},TWt.xj=function(t){return P8(Ree,lKt,162,t,0,1)},mZ(P9t,"XMLTypePackageImpl/50",1901),pDt(1902,1,l9t,Ml),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/51",1902),pDt(1903,1,l9t,Dl),TWt.wj=function(t){return aL(t,19)},TWt.xj=function(t){return P8(Oee,lKt,19,t,0,1)},mZ(P9t,"XMLTypePackageImpl/52",1903),pDt(1857,1,l9t,Ol),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/6",1857),pDt(1858,1,l9t,Ll),TWt.wj=function(t){return aL(t,190)},TWt.xj=function(t){return P8(NNe,lKt,190,t,0,2)},mZ(P9t,"XMLTypePackageImpl/7",1858),pDt(1859,1,l9t,Nl),TWt.wj=function(t){return GI(t)},TWt.xj=function(t){return P8(kee,lKt,476,t,8,1)},mZ(P9t,"XMLTypePackageImpl/8",1859),pDt(1860,1,l9t,Pl),TWt.wj=function(t){return aL(t,217)},TWt.xj=function(t){return P8(Eee,lKt,217,t,0,1)},mZ(P9t,"XMLTypePackageImpl/9",1860),pDt(50,60,qKt,ox),mZ(ste,"RegEx/ParseException",50),pDt(820,1,{},Bl),TWt.sl=function(t){return t<this.j&&63==hK(this.i,t)},TWt.tl=function(){var t,e,n,i,r;if(10!=this.c)throw qw(new ox(kWt((sO(),w8t))));switch(t=this.a){case 101:t=27;break;case 102:t=12;break;case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 120:if(VZt(this),0!=this.c)throw qw(new ox(kWt((sO(),q8t))));if(123==this.a){for(r=0,n=0;;){if(VZt(this),0!=this.c)throw qw(new ox(kWt((sO(),q8t))));if((r=Gmt(this.a))<0)break;if(n>16*n)throw qw(new ox(kWt((sO(),H8t))));n=16*n+r}if(125!=this.a)throw qw(new ox(kWt((sO(),U8t))));if(n>cte)throw qw(new ox(kWt((sO(),G8t))));t=n}else{if(r=0,0!=this.c||(r=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(n=r,VZt(this),0!=this.c||(r=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));t=n=16*n+r}break;case 117:if(i=0,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));t=e=16*e+i;break;case 118:if(VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if((e=16*e+i)>cte)throw qw(new ox(kWt((sO(),"parser.descappe.4"))));t=e;break;case 65:case 90:case 122:throw qw(new ox(kWt((sO(),Y8t))))}return t},TWt.ul=function(t){var e;switch(t){case 100:e=32==(32&this.e)?tZt("Nd",!0):(pWt(),sNe);break;case 68:e=32==(32&this.e)?tZt("Nd",!1):(pWt(),fNe);break;case 119:e=32==(32&this.e)?tZt("IsWord",!0):(pWt(),xNe);break;case 87:e=32==(32&this.e)?tZt("IsWord",!1):(pWt(),gNe);break;case 115:e=32==(32&this.e)?tZt("IsSpace",!0):(pWt(),bNe);break;case 83:e=32==(32&this.e)?tZt("IsSpace",!1):(pWt(),dNe);break;default:throw qw(new pv(ute+t.toString(16)))}return e},TWt.vl=function(t){var e,n,i,r,a,o,s,c,u,l,h;for(this.b=1,VZt(this),e=null,0==this.c&&94==this.a?(VZt(this),t?(pWt(),pWt(),u=new E0(5)):(pWt(),pWt(),QPt(e=new E0(4),0,cte),u=new E0(4))):(pWt(),pWt(),u=new E0(4)),r=!0;1!=(h=this.c)&&(0!=h||93!=this.a||r);){if(r=!1,n=this.a,i=!1,10==h)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:lqt(u,this.ul(n)),i=!0;break;case 105:case 73:case 99:case 67:(n=this.Ll(u,n))<0&&(i=!0);break;case 112:case 80:if(!(l=FIt(this,n)))throw qw(new ox(kWt((sO(),D8t))));lqt(u,l),i=!0;break;default:n=this.tl()}else if(20==h){if((a=fP(this.i,58,this.d))<0)throw qw(new ox(kWt((sO(),O8t))));if(o=!0,94==hK(this.i,this.d)&&(++this.d,o=!1),!(s=d7(hP(this.i,this.d,a),o,512==(512&this.e))))throw qw(new ox(kWt((sO(),N8t))));if(lqt(u,s),i=!0,a+1>=this.j||93!=hK(this.i,a+1))throw qw(new ox(kWt((sO(),O8t))));this.d=a+2}if(VZt(this),!i)if(0!=this.c||45!=this.a)QPt(u,n,n);else{if(VZt(this),1==(h=this.c))throw qw(new ox(kWt((sO(),L8t))));0==h&&93==this.a?(QPt(u,n,n),QPt(u,45,45)):(c=this.a,10==h&&(c=this.tl()),VZt(this),QPt(u,n,c))}(this.e&k6t)==k6t&&0==this.c&&44==this.a&&VZt(this)}if(1==this.c)throw qw(new ox(kWt((sO(),L8t))));return e&&(KUt(e,u),u=e),EOt(u),Uqt(u),this.b=0,VZt(this),u},TWt.wl=function(){var t,e,n,i;for(n=this.vl(!1);7!=(i=this.c);){if(t=this.a,(0!=i||45!=t&&38!=t)&&4!=i)throw qw(new ox(kWt((sO(),$8t))));if(VZt(this),9!=this.c)throw qw(new ox(kWt((sO(),j8t))));if(e=this.vl(!1),4==i)lqt(n,e);else if(45==t)KUt(n,e);else{if(38!=t)throw qw(new pv("ASSERT"));kUt(n,e)}}return VZt(this),n},TWt.xl=function(){var t,e;return t=this.a-48,pWt(),pWt(),e=new mQ(12,null,t),!this.g&&(this.g=new jm),Sm(this.g,new Mw(t)),VZt(this),e},TWt.yl=function(){return VZt(this),pWt(),wNe},TWt.zl=function(){return VZt(this),pWt(),pNe},TWt.Al=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Bl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Cl=function(){return VZt(this),fut()},TWt.Dl=function(){return VZt(this),pWt(),yNe},TWt.El=function(){return VZt(this),pWt(),kNe},TWt.Fl=function(){var t;if(this.d>=this.j||64!=(65504&(t=hK(this.i,this.d++))))throw qw(new ox(kWt((sO(),C8t))));return VZt(this),pWt(),pWt(),new cU(0,t-64)},TWt.Gl=function(){return VZt(this),R$t()},TWt.Hl=function(){return VZt(this),pWt(),_Ne},TWt.Il=function(){var t;return pWt(),pWt(),t=new cU(0,105),VZt(this),t},TWt.Jl=function(){return VZt(this),pWt(),vNe},TWt.Kl=function(){return VZt(this),pWt(),mNe},TWt.Ll=function(t,e){return this.tl()},TWt.Ml=function(){return VZt(this),pWt(),lNe},TWt.Nl=function(){var t,e,n,i,r;if(this.d+1>=this.j)throw qw(new ox(kWt((sO(),A8t))));if(i=-1,e=null,49<=(t=hK(this.i,this.d))&&t<=57){if(i=t-48,!this.g&&(this.g=new jm),Sm(this.g,new Mw(i)),++this.d,41!=hK(this.i,this.d))throw qw(new ox(kWt((sO(),x8t))));++this.d}else switch(63==t&&--this.d,VZt(this),(e=DZt(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw qw(new ox(kWt((sO(),x8t))));break;default:throw qw(new ox(kWt((sO(),E8t))))}if(VZt(this),n=null,2==(r=Xpt(this)).e){if(2!=r.em())throw qw(new ox(kWt((sO(),T8t))));n=r.am(1),r=r.am(0)}if(7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),pWt(),pWt(),new ktt(i,e,r,n)},TWt.Ol=function(){return VZt(this),pWt(),hNe},TWt.Pl=function(){var t;if(VZt(this),t=sY(24,Xpt(this)),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Ql=function(){var t;if(VZt(this),t=sY(20,Xpt(this)),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Rl=function(){var t;if(VZt(this),t=sY(22,Xpt(this)),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Sl=function(){var t,e,n,i,r;for(t=0,n=0,e=-1;this.d<this.j&&0!=(r=VMt(e=hK(this.i,this.d)));)t|=r,++this.d;if(this.d>=this.j)throw qw(new ox(kWt((sO(),k8t))));if(45==e){for(++this.d;this.d<this.j&&0!=(r=VMt(e=hK(this.i,this.d)));)n|=r,++this.d;if(this.d>=this.j)throw qw(new ox(kWt((sO(),k8t))))}if(58==e){if(++this.d,VZt(this),i=DZ(Xpt(this),t,n),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));VZt(this)}else{if(41!=e)throw qw(new ox(kWt((sO(),_8t))));++this.d,VZt(this),i=DZ(Xpt(this),t,n)}return i},TWt.Tl=function(){var t;if(VZt(this),t=sY(21,Xpt(this)),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Ul=function(){var t;if(VZt(this),t=sY(23,Xpt(this)),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Vl=function(){var t,e;if(VZt(this),t=this.f++,e=cY(Xpt(this),t),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),e},TWt.Wl=function(){var t;if(VZt(this),t=cY(Xpt(this),0),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Xl=function(t){return VZt(this),5==this.c?(VZt(this),bU(t,(pWt(),pWt(),new l4(9,t)))):bU(t,(pWt(),pWt(),new l4(3,t)))},TWt.Yl=function(t){var e;return VZt(this),pWt(),pWt(),e=new rO(2),5==this.c?(VZt(this),nHt(e,uNe),nHt(e,t)):(nHt(e,t),nHt(e,uNe)),e},TWt.Zl=function(t){return VZt(this),5==this.c?(VZt(this),pWt(),pWt(),new l4(9,t)):(pWt(),pWt(),new l4(3,t))},TWt.a=0,TWt.b=0,TWt.c=0,TWt.d=0,TWt.e=0,TWt.f=1,TWt.g=null,TWt.j=0,mZ(ste,"RegEx/RegexParser",820),pDt(1824,820,{},$y),TWt.sl=function(t){return!1},TWt.tl=function(){return UBt(this)},TWt.ul=function(t){return bjt(t)},TWt.vl=function(t){return tWt(this)},TWt.wl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.xl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.yl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.zl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Al=function(){return VZt(this),bjt(67)},TWt.Bl=function(){return VZt(this),bjt(73)},TWt.Cl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Dl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.El=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Fl=function(){return VZt(this),bjt(99)},TWt.Gl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Hl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Il=function(){return VZt(this),bjt(105)},TWt.Jl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Kl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Ll=function(t,e){return lqt(t,bjt(e)),-1},TWt.Ml=function(){return VZt(this),pWt(),pWt(),new cU(0,94)},TWt.Nl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Ol=function(){return VZt(this),pWt(),pWt(),new cU(0,36)},TWt.Pl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Ql=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Rl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Sl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Tl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Ul=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Vl=function(){var t;if(VZt(this),t=cY(Xpt(this),0),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Wl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Xl=function(t){return VZt(this),bU(t,(pWt(),pWt(),new l4(3,t)))},TWt.Yl=function(t){var e;return VZt(this),pWt(),pWt(),nHt(e=new rO(2),t),nHt(e,uNe),e},TWt.Zl=function(t){return VZt(this),pWt(),pWt(),new l4(3,t)};var tNe=null,eNe=null;mZ(ste,"RegEx/ParserForXMLSchema",1824),pDt(117,1,xte,Dw),TWt.$l=function(t){throw qw(new pv("Not supported."))},TWt._l=function(){return-1},TWt.am=function(t){return null},TWt.bm=function(){return null},TWt.cm=function(t){},TWt.dm=function(t){},TWt.em=function(){return 0},TWt.Ib=function(){return this.fm(0)},TWt.fm=function(t){return 11==this.e?".":""},TWt.e=0;var nNe,iNe,rNe,aNe,oNe,sNe,cNe,uNe,lNe,hNe,fNe,dNe,gNe,pNe,bNe,wNe,mNe,yNe,vNe,xNe,kNe,_Ne,ANe,ENe,TNe=null,CNe=null,SNe=null,INe=mZ(ste,"RegEx/Token",117);pDt(136,117,{3:1,136:1,117:1},E0),TWt.fm=function(t){var e,n,i;if(4==this.e)if(this==cNe)n=".";else if(this==sNe)n="\\d";else if(this==xNe)n="\\w";else if(this==bNe)n="\\s";else{for((i=new Tx).a+="[",e=0;e<this.b.length;e+=2)0!=(t&k6t)&&e>0&&(i.a+=","),this.b[e]===this.b[e+1]?aM(i,szt(this.b[e])):(aM(i,szt(this.b[e])),i.a+="-",aM(i,szt(this.b[e+1])));i.a+="]",n=i.a}else if(this==fNe)n="\\D";else if(this==gNe)n="\\W";else if(this==dNe)n="\\S";else{for((i=new Tx).a+="[^",e=0;e<this.b.length;e+=2)0!=(t&k6t)&&e>0&&(i.a+=","),this.b[e]===this.b[e+1]?aM(i,szt(this.b[e])):(aM(i,szt(this.b[e])),i.a+="-",aM(i,szt(this.b[e+1])));i.a+="]",n=i.a}return n},TWt.a=!1,TWt.c=!1,mZ(ste,"RegEx/RangeToken",136),pDt(584,1,{584:1},Mw),TWt.a=0,mZ(ste,"RegEx/RegexParser/ReferencePosition",584),pDt(583,1,{3:1,583:1},Z_),TWt.Fb=function(t){var e;return null!=t&&!!aL(t,583)&&(e=zz(t,583),yR(this.b,e.b)&&this.a==e.a)},TWt.Hb=function(){return ymt(this.b+"/"+nPt(this.a))},TWt.Ib=function(){return this.c.fm(this.a)},TWt.a=0,mZ(ste,"RegEx/RegularExpression",583),pDt(223,117,xte,cU),TWt._l=function(){return this.a},TWt.fm=function(t){var e,n;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:n="\\"+CF(this.a&VKt);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=this.a>=qXt?"\\v"+hP(e="0"+(this.a>>>0).toString(16),e.length-6,e.length):""+CF(this.a&VKt)}break;case 8:n=this==lNe||this==hNe?""+CF(this.a&VKt):"\\"+CF(this.a&VKt);break;default:n=null}return n},TWt.a=0,mZ(ste,"RegEx/Token/CharToken",223),pDt(309,117,xte,l4),TWt.am=function(t){return this.a},TWt.cm=function(t){this.b=t},TWt.dm=function(t){this.c=t},TWt.em=function(){return 1},TWt.fm=function(t){var e;if(3==this.e)if(this.c<0&&this.b<0)e=this.a.fm(t)+"*";else if(this.c==this.b)e=this.a.fm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)e=this.a.fm(t)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw qw(new pv("Token#toString(): CLOSURE "+this.c+zWt+this.b));e=this.a.fm(t)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)e=this.a.fm(t)+"*?";else if(this.c==this.b)e=this.a.fm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)e=this.a.fm(t)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw qw(new pv("Token#toString(): NONGREEDYCLOSURE "+this.c+zWt+this.b));e=this.a.fm(t)+"{"+this.c+",}?"}return e},TWt.b=0,TWt.c=0,mZ(ste,"RegEx/Token/ClosureToken",309),pDt(821,117,xte,YY),TWt.am=function(t){return 0==t?this.a:this.b},TWt.em=function(){return 2},TWt.fm=function(t){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(t)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(t)+"+?":this.a.fm(t)+""+this.b.fm(t)},mZ(ste,"RegEx/Token/ConcatToken",821),pDt(1822,117,xte,ktt),TWt.am=function(t){if(0==t)return this.d;if(1==t)return this.b;throw qw(new pv("Internal Error: "+t))},TWt.em=function(){return this.b?2:1},TWt.fm=function(t){var e;return e=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?e+=this.d+"|"+this.b+")":e+=this.d+")",e},TWt.c=0,mZ(ste,"RegEx/Token/ConditionToken",1822),pDt(1823,117,xte,A0),TWt.am=function(t){return this.b},TWt.em=function(){return 1},TWt.fm=function(t){return"(?"+(0==this.a?"":nPt(this.a))+(0==this.c?"":nPt(this.c))+":"+this.b.fm(t)+")"},TWt.a=0,TWt.c=0,mZ(ste,"RegEx/Token/ModifierToken",1823),pDt(822,117,xte,aW),TWt.am=function(t){return this.a},TWt.em=function(){return 1},TWt.fm=function(t){var e;switch(e=null,this.e){case 6:e=0==this.b?"(?:"+this.a.fm(t)+")":"("+this.a.fm(t)+")";break;case 20:e="(?="+this.a.fm(t)+")";break;case 21:e="(?!"+this.a.fm(t)+")";break;case 22:e="(?<="+this.a.fm(t)+")";break;case 23:e="(?<!"+this.a.fm(t)+")";break;case 24:e="(?>"+this.a.fm(t)+")"}return e},TWt.b=0,mZ(ste,"RegEx/Token/ParenToken",822),pDt(521,117,{3:1,117:1,521:1},mQ),TWt.bm=function(){return this.b},TWt.fm=function(t){return 12==this.e?"\\"+this.a:rDt(this.b)},TWt.a=0,mZ(ste,"RegEx/Token/StringToken",521),pDt(465,117,xte,rO),TWt.$l=function(t){nHt(this,t)},TWt.am=function(t){return zz(dW(this.a,t),117)},TWt.em=function(){return this.a?this.a.a.c.length:0},TWt.fm=function(t){var e,n,i,r,a;if(1==this.e){if(2==this.a.a.c.length)e=zz(dW(this.a,0),117),r=3==(n=zz(dW(this.a,1),117)).e&&n.am(0)==e?e.fm(t)+"+":9==n.e&&n.am(0)==e?e.fm(t)+"+?":e.fm(t)+""+n.fm(t);else{for(a=new Tx,i=0;i<this.a.a.c.length;i++)aM(a,zz(dW(this.a,i),117).fm(t));r=a.a}return r}if(2==this.a.a.c.length&&7==zz(dW(this.a,1),117).e)r=zz(dW(this.a,0),117).fm(t)+"?";else if(2==this.a.a.c.length&&7==zz(dW(this.a,0),117).e)r=zz(dW(this.a,1),117).fm(t)+"??";else{for(aM(a=new Tx,zz(dW(this.a,0),117).fm(t)),i=1;i<this.a.a.c.length;i++)a.a+="|",aM(a,zz(dW(this.a,i),117).fm(t));r=a.a}return r},mZ(ste,"RegEx/Token/UnionToken",465),pDt(518,1,{592:1},Y_),TWt.Ib=function(){return this.a.b},mZ(kte,"XMLTypeUtil/PatternMatcherImpl",518),pDt(1622,1381,{},Fl),mZ(kte,"XMLTypeValidator",1622),pDt(264,1,mKt,lG),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return(this.b-this.a)*this.c<0?ENe:new ZL(this)},TWt.a=0,TWt.b=0,TWt.c=0,mZ(Ate,"ExclusiveRange",264),pDt(1068,1,oKt,Rl),TWt.Rb=function(t){zz(t,19),fO()},TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return U_()},TWt.Ub=function(){return G_()},TWt.Wb=function(t){zz(t,19),gO()},TWt.Ob=function(){return!1},TWt.Sb=function(){return!1},TWt.Tb=function(){return-1},TWt.Vb=function(){return-1},TWt.Qb=function(){throw qw(new ex(Cte))},mZ(Ate,"ExclusiveRange/1",1068),pDt(254,1,oKt,ZL),TWt.Rb=function(t){zz(t,19),dO()},TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return zlt(this)},TWt.Ub=function(){return M7(this)},TWt.Wb=function(t){zz(t,19),pO()},TWt.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},TWt.Sb=function(){return this.b>0},TWt.Tb=function(){return this.b},TWt.Vb=function(){return this.b-1},TWt.Qb=function(){throw qw(new ex(Cte))},TWt.a=0,TWt.b=0,mZ(Ate,"ExclusiveRange/RangeIterator",254);var MNe=FW(S7t,"C"),DNe=FW(D7t,"I"),ONe=FW(LWt,"Z"),LNe=FW(O7t,"J"),NNe=FW(C7t,"B"),PNe=FW(I7t,"D"),BNe=FW(M7t,"F"),FNe=FW(L7t,"S"),RNe=dH("org.eclipse.elk.core.labels","ILabelManager"),jNe=dH(q6t,"DiagnosticChain"),$Ne=dH(f9t,"ResourceSet"),zNe=mZ(q6t,"InvocationTargetException",null),qNe=(Bx(),h5),HNe=HNe=h_t;tit(Xw),lat("permProps",[[[Ste,Ite],[Mte,"gecko1_8"]],[[Ste,Ite],[Mte,"ie10"]],[[Ste,Ite],[Mte,"ie8"]],[[Ste,Ite],[Mte,"ie9"]],[[Ste,Ite],[Mte,"safari"]]]),HNe(null,"elk",null)}).call(this)}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(e){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,n);var a=Object.assign({},e),o=!1;try{t.resolve("web-worker"),o=!0}catch(t){}if(e.workerUrl)if(o){var s=t("web-worker");a.workerFactory=function(t){return new s(t)}}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(!a.workerFactory){var c=t("./elk-worker.min.js").Worker;a.workerFactory=function(t){return new c(t)}}return r(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,a))}return a(n,e),n}(t("./elk-api.js").default);Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports=o,o.default=o},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(t,e,n){e.exports=Worker},{}]},{},[3])(3)},5539:function(t){var e;e=function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=26)}([function(t,e,n){"use strict";function i(){}i.QUALITY=1,i.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,i.DEFAULT_INCREMENTAL=!1,i.DEFAULT_ANIMATION_ON_LAYOUT=!0,i.DEFAULT_ANIMATION_DURING_LAYOUT=!1,i.DEFAULT_ANIMATION_PERIOD=50,i.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,i.DEFAULT_GRAPH_MARGIN=15,i.NODE_DIMENSIONS_INCLUDE_LABELS=!1,i.SIMPLE_NODE_SIZE=40,i.SIMPLE_NODE_HALF_SIZE=i.SIMPLE_NODE_SIZE/2,i.EMPTY_COMPOUND_NODE_SIZE=40,i.MIN_EDGE_LENGTH=1,i.WORLD_BOUNDARY=1e6,i.INITIAL_WORLD_BOUNDARY=i.WORLD_BOUNDARY/1e3,i.WORLD_CENTER_X=1200,i.WORLD_CENTER_Y=900,t.exports=i},function(t,e,n){"use strict";var i=n(2),r=n(8),a=n(9);function o(t,e,n){i.call(this,n),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=n,this.bendpoints=[],this.source=t,this.target=e}for(var s in o.prototype=Object.create(i.prototype),i)o[s]=i[s];o.prototype.getSource=function(){return this.source},o.prototype.getTarget=function(){return this.target},o.prototype.isInterGraph=function(){return this.isInterGraph},o.prototype.getLength=function(){return this.length},o.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},o.prototype.getBendpoints=function(){return this.bendpoints},o.prototype.getLca=function(){return this.lca},o.prototype.getSourceInLca=function(){return this.sourceInLca},o.prototype.getTargetInLca=function(){return this.targetInLca},o.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"},o.prototype.getOtherEndInGraph=function(t,e){for(var n=this.getOtherEnd(t),i=e.getGraphManager().getRoot();;){if(n.getOwner()==e)return n;if(n.getOwner()==i)break;n=n.getOwner().getParent()}return null},o.prototype.updateLength=function(){var t=new Array(4);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],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},o.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,n){"use strict";var i=n(2),r=n(10),a=n(13),o=n(0),s=n(16),c=n(4);function u(t,e,n,o){null==n&&null==o&&(o=e),i.call(this,o),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=r.MIN_VALUE,this.inclusionTreeDepth=r.MAX_VALUE,this.vGraphObject=o,this.edges=[],this.graphManager=t,this.rect=null!=n&&null!=e?new a(e.x,e.y,n.width,n.height):new a}for(var l in u.prototype=Object.create(i.prototype),i)u[l]=i[l];u.prototype.getEdges=function(){return this.edges},u.prototype.getChild=function(){return this.child},u.prototype.getOwner=function(){return this.owner},u.prototype.getWidth=function(){return this.rect.width},u.prototype.setWidth=function(t){this.rect.width=t},u.prototype.getHeight=function(){return this.rect.height},u.prototype.setHeight=function(t){this.rect.height=t},u.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},u.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},u.prototype.getCenter=function(){return new c(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},u.prototype.getLocation=function(){return new c(this.rect.x,this.rect.y)},u.prototype.getRect=function(){return this.rect},u.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},u.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},u.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},u.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},u.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},u.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},u.prototype.getEdgeListToNode=function(t){var e=[],n=this;return n.edges.forEach((function(i){if(i.target==t){if(i.source!=n)throw"Incorrect edge source!";e.push(i)}})),e},u.prototype.getEdgesBetween=function(t){var e=[],n=this;return n.edges.forEach((function(i){if(i.source!=n&&i.target!=n)throw"Incorrect edge source and/or target";i.target!=t&&i.source!=t||e.push(i)})),e},u.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach((function(n){if(n.source==e)t.add(n.target);else{if(n.target!=e)throw"Incorrect incidency!";t.add(n.source)}})),t},u.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child)for(var e=this.child.getNodes(),n=0;n<e.length;n++)e[n].withChildren().forEach((function(e){t.add(e)}));return t},u.prototype.getNoOfChildren=function(){var t=0;if(null==this.child)t=1;else for(var e=this.child.getNodes(),n=0;n<e.length;n++)t+=e[n].getNoOfChildren();return 0==t&&(t=1),t},u.prototype.getEstimatedSize=function(){if(this.estimatedSize==r.MIN_VALUE)throw"assert failed";return this.estimatedSize},u.prototype.calcEstimatedSize=function(){return null==this.child?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},u.prototype.scatter=function(){var t,e,n=-o.INITIAL_WORLD_BOUNDARY,i=o.INITIAL_WORLD_BOUNDARY;t=o.WORLD_CENTER_X+s.nextDouble()*(i-n)+n;var r=-o.INITIAL_WORLD_BOUNDARY,a=o.INITIAL_WORLD_BOUNDARY;e=o.WORLD_CENTER_Y+s.nextDouble()*(a-r)+r,this.rect.x=t,this.rect.y=e},u.prototype.updateBounds=function(){if(null==this.getChild())throw"assert failed";if(0!=this.getChild().getNodes().length){var t=this.getChild();if(t.updateBounds(!0),this.rect.x=t.getLeft(),this.rect.y=t.getTop(),this.setWidth(t.getRight()-t.getLeft()),this.setHeight(t.getBottom()-t.getTop()),o.NODE_DIMENSIONS_INCLUDE_LABELS){var e=t.getRight()-t.getLeft(),n=t.getBottom()-t.getTop();this.labelWidth>e&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>n&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-n)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-n),this.setHeight(this.labelHeight))}}},u.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==r.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},u.prototype.transform=function(t){var e=this.rect.x;e>o.WORLD_BOUNDARY?e=o.WORLD_BOUNDARY:e<-o.WORLD_BOUNDARY&&(e=-o.WORLD_BOUNDARY);var n=this.rect.y;n>o.WORLD_BOUNDARY?n=o.WORLD_BOUNDARY:n<-o.WORLD_BOUNDARY&&(n=-o.WORLD_BOUNDARY);var i=new c(e,n),r=t.inverseTransformPoint(i);this.setLocation(r.x,r.y)},u.prototype.getLeft=function(){return this.rect.x},u.prototype.getRight=function(){return this.rect.x+this.rect.width},u.prototype.getTop=function(){return this.rect.y},u.prototype.getBottom=function(){return this.rect.y+this.rect.height},u.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=u},function(t,e,n){"use strict";function i(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.setX=function(t){this.x=t},i.prototype.setY=function(t){this.y=t},i.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},i.prototype.getCopy=function(){return new i(this.x,this.y)},i.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=i},function(t,e,n){"use strict";var i=n(2),r=n(10),a=n(0),o=n(6),s=n(3),c=n(1),u=n(13),l=n(12),h=n(11);function f(t,e,n){i.call(this,n),this.estimatedSize=r.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof o?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var d in f.prototype=Object.create(i.prototype),i)f[d]=i[d];f.prototype.getNodes=function(){return this.nodes},f.prototype.getEdges=function(){return this.edges},f.prototype.getGraphManager=function(){return this.graphManager},f.prototype.getParent=function(){return this.parent},f.prototype.getLeft=function(){return this.left},f.prototype.getRight=function(){return this.right},f.prototype.getTop=function(){return this.top},f.prototype.getBottom=function(){return this.bottom},f.prototype.isConnected=function(){return this.isConnected},f.prototype.add=function(t,e,n){if(null==e&&null==n){var i=t;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(i)>-1)throw"Node already in graph!";return i.owner=this,this.getNodes().push(i),i}var r=t;if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(n)>-1))throw"Source or target not in graph!";if(e.owner!=n.owner||e.owner!=this)throw"Both owners must be this graph!";return e.owner!=n.owner?null:(r.source=e,r.target=n,r.isInterGraph=!1,this.getEdges().push(r),e.edges.push(r),n!=e&&n.edges.push(r),r)},f.prototype.remove=function(t){var e=t;if(t instanceof s){if(null==e)throw"Node is null!";if(null==e.owner||e.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var n=e.edges.slice(),i=n.length,r=0;r<i;r++)(a=n[r]).isInterGraph?this.graphManager.remove(a):a.source.owner.remove(a);if(-1==(o=this.nodes.indexOf(e)))throw"Node not in owner node list!";this.nodes.splice(o,1)}else if(t instanceof c){var a;if(null==(a=t))throw"Edge is null!";if(null==a.source||null==a.target)throw"Source and/or target is null!";if(null==a.source.owner||null==a.target.owner||a.source.owner!=this||a.target.owner!=this)throw"Source and/or target owner is invalid!";var o,u=a.source.edges.indexOf(a),l=a.target.edges.indexOf(a);if(!(u>-1&&l>-1))throw"Source and/or target doesn't know this edge!";if(a.source.edges.splice(u,1),a.target!=a.source&&a.target.edges.splice(l,1),-1==(o=a.source.owner.getEdges().indexOf(a)))throw"Not in owner's edge list!";a.source.owner.getEdges().splice(o,1)}},f.prototype.updateLeftTop=function(){for(var t,e,n,i=r.MAX_VALUE,a=r.MAX_VALUE,o=this.getNodes(),s=o.length,c=0;c<s;c++){var u=o[c];i>(t=u.getTop())&&(i=t),a>(e=u.getLeft())&&(a=e)}return i==r.MAX_VALUE?null:(n=null!=o[0].getParent().paddingLeft?o[0].getParent().paddingLeft:this.margin,this.left=a-n,this.top=i-n,new l(this.left,this.top))},f.prototype.updateBounds=function(t){for(var e,n,i,a,o,s=r.MAX_VALUE,c=-r.MAX_VALUE,l=r.MAX_VALUE,h=-r.MAX_VALUE,f=this.nodes,d=f.length,g=0;g<d;g++){var p=f[g];t&&null!=p.child&&p.updateBounds(),s>(e=p.getLeft())&&(s=e),c<(n=p.getRight())&&(c=n),l>(i=p.getTop())&&(l=i),h<(a=p.getBottom())&&(h=a)}var b=new u(s,l,c-s,h-l);s==r.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),o=null!=f[0].getParent().paddingLeft?f[0].getParent().paddingLeft:this.margin,this.left=b.x-o,this.right=b.x+b.width+o,this.top=b.y-o,this.bottom=b.y+b.height+o},f.calculateBounds=function(t){for(var e,n,i,a,o=r.MAX_VALUE,s=-r.MAX_VALUE,c=r.MAX_VALUE,l=-r.MAX_VALUE,h=t.length,f=0;f<h;f++){var d=t[f];o>(e=d.getLeft())&&(o=e),s<(n=d.getRight())&&(s=n),c>(i=d.getTop())&&(c=i),l<(a=d.getBottom())&&(l=a)}return new u(o,c,s-o,l-c)},f.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},f.prototype.getEstimatedSize=function(){if(this.estimatedSize==r.MIN_VALUE)throw"assert failed";return this.estimatedSize},f.prototype.calcEstimatedSize=function(){for(var t=0,e=this.nodes,n=e.length,i=0;i<n;i++)t+=e[i].calcEstimatedSize();return this.estimatedSize=0==t?a.EMPTY_COMPOUND_NODE_SIZE:t/Math.sqrt(this.nodes.length),this.estimatedSize},f.prototype.updateConnected=function(){var t=this;if(0!=this.nodes.length){var e,n,i=new h,r=new Set,a=this.nodes[0];for(a.withChildren().forEach((function(t){i.push(t),r.add(t)}));0!==i.length;)for(var o=(e=(a=i.shift()).getEdges()).length,s=0;s<o;s++)null==(n=e[s].getOtherEndInGraph(a,this))||r.has(n)||n.withChildren().forEach((function(t){i.push(t),r.add(t)}));if(this.isConnected=!1,r.size>=this.nodes.length){var c=0;r.forEach((function(e){e.owner==t&&c++})),c==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},t.exports=f},function(t,e,n){"use strict";var i,r=n(1);function a(t){i=n(5),this.layout=t,this.graphs=[],this.edges=[]}a.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),n=this.add(t,e);return this.setRootGraph(n),this.rootGraph},a.prototype.add=function(t,e,n,i,r){if(null==n&&null==i&&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=n,n=t;var a=(i=e).getOwner(),o=r.getOwner();if(null==a||a.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==o||o.getGraphManager()!=this)throw"Target not in this graph mgr!";if(a==o)return n.isInterGraph=!1,a.add(n,i,r);if(n.isInterGraph=!0,n.source=i,n.target=r,this.edges.indexOf(n)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(n),null==n.source||null==n.target)throw"Edge source and/or target is null!";if(-1!=n.source.edges.indexOf(n)||-1!=n.target.edges.indexOf(n))throw"Edge already in source and/or target incidency list!";return n.source.edges.push(n),n.target.edges.push(n),n},a.prototype.remove=function(t){if(t instanceof i){var e=t;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(e!=this.rootGraph&&(null==e.parent||e.parent.graphManager!=this))throw"Invalid parent node!";for(var n,a=[],o=(a=a.concat(e.getEdges())).length,s=0;s<o;s++)n=a[s],e.remove(n);var c,u=[];for(o=(u=u.concat(e.getNodes())).length,s=0;s<o;s++)c=u[s],e.remove(c);e==this.rootGraph&&this.setRootGraph(null);var l=this.graphs.indexOf(e);this.graphs.splice(l,1),e.parent=null}else if(t instanceof r){if(null==(n=t))throw"Edge is null!";if(!n.isInterGraph)throw"Not an inter-graph edge!";if(null==n.source||null==n.target)throw"Source and/or target is null!";if(-1==n.source.edges.indexOf(n)||-1==n.target.edges.indexOf(n))throw"Source and/or target doesn't know this edge!";if(l=n.source.edges.indexOf(n),n.source.edges.splice(l,1),l=n.target.edges.indexOf(n),n.target.edges.splice(l,1),null==n.source.owner||null==n.source.owner.getGraphManager())throw"Edge owner graph or owner graph manager is null!";if(-1==n.source.owner.getGraphManager().edges.indexOf(n))throw"Not in owner graph manager's edge list!";l=n.source.owner.getGraphManager().edges.indexOf(n),n.source.owner.getGraphManager().edges.splice(l,1)}},a.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},a.prototype.getGraphs=function(){return this.graphs},a.prototype.getAllNodes=function(){if(null==this.allNodes){for(var t=[],e=this.getGraphs(),n=e.length,i=0;i<n;i++)t=t.concat(e[i].getNodes());this.allNodes=t}return this.allNodes},a.prototype.resetAllNodes=function(){this.allNodes=null},a.prototype.resetAllEdges=function(){this.allEdges=null},a.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},a.prototype.getAllEdges=function(){if(null==this.allEdges){for(var t=[],e=this.getGraphs(),n=(e.length,0);n<e.length;n++)t=t.concat(e[n].getEdges());t=t.concat(this.edges),this.allEdges=t}return this.allEdges},a.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},a.prototype.setAllNodesToApplyGravitation=function(t){if(null!=this.allNodesToApplyGravitation)throw"assert failed";this.allNodesToApplyGravitation=t},a.prototype.getRoot=function(){return this.rootGraph},a.prototype.setRootGraph=function(t){if(t.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=t,null==t.parent&&(t.parent=this.layout.newNode("Root node"))},a.prototype.getLayout=function(){return this.layout},a.prototype.isOneAncestorOfOther=function(t,e){if(null==t||null==e)throw"assert failed";if(t==e)return!0;for(var n,i=t.getOwner();null!=(n=i.getParent());){if(n==e)return!0;if(null==(i=n.getOwner()))break}for(i=e.getOwner();null!=(n=i.getParent());){if(n==t)return!0;if(null==(i=n.getOwner()))break}return!1},a.prototype.calcLowestCommonAncestors=function(){for(var t,e,n,i,r,a=this.getAllEdges(),o=a.length,s=0;s<o;s++)if(e=(t=a[s]).source,n=t.target,t.lca=null,t.sourceInLca=e,t.targetInLca=n,e!=n){for(i=e.getOwner();null==t.lca;){for(t.targetInLca=n,r=n.getOwner();null==t.lca;){if(r==i){t.lca=r;break}if(r==this.rootGraph)break;if(null!=t.lca)throw"assert failed";t.targetInLca=r.getParent(),r=t.targetInLca.getOwner()}if(i==this.rootGraph)break;null==t.lca&&(t.sourceInLca=i.getParent(),i=t.sourceInLca.getOwner())}if(null==t.lca)throw"assert failed"}else t.lca=e.getOwner()},a.prototype.calcLowestCommonAncestor=function(t,e){if(t==e)return t.getOwner();for(var n=t.getOwner();null!=n;){for(var i=e.getOwner();null!=i;){if(i==n)return i;i=i.getParent().getOwner()}n=n.getParent().getOwner()}return n},a.prototype.calcInclusionTreeDepths=function(t,e){var n;null==t&&null==e&&(t=this.rootGraph,e=1);for(var i=t.getNodes(),r=i.length,a=0;a<r;a++)(n=i[a]).inclusionTreeDepth=e,null!=n.child&&this.calcInclusionTreeDepths(n.child,e+1)},a.prototype.includesInvalidEdge=function(){for(var t,e=this.edges.length,n=0;n<e;n++)if(t=this.edges[n],this.isOneAncestorOfOther(t.source,t.target))return!0;return!1},t.exports=a},function(t,e,n){"use strict";var i=n(0);function r(){}for(var a in i)r[a]=i[a];r.MAX_ITERATIONS=2500,r.DEFAULT_EDGE_LENGTH=50,r.DEFAULT_SPRING_STRENGTH=.45,r.DEFAULT_REPULSION_STRENGTH=4500,r.DEFAULT_GRAVITY_STRENGTH=.4,r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,r.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,r.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,r.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,r.COOLING_ADAPTATION_FACTOR=.33,r.ADAPTATION_LOWER_NODE_LIMIT=1e3,r.ADAPTATION_UPPER_NODE_LIMIT=5e3,r.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,r.MAX_NODE_DISPLACEMENT=3*r.MAX_NODE_DISPLACEMENT_INCREMENTAL,r.MIN_REPULSION_DIST=r.DEFAULT_EDGE_LENGTH/10,r.CONVERGENCE_CHECK_PERIOD=100,r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,r.MIN_EDGE_LENGTH=1,r.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=r},function(t,e,n){"use strict";var i=n(12);function r(){}r.calcSeparationAmount=function(t,e,n,i){if(!t.intersects(e))throw"assert failed";var r=new Array(2);this.decideDirectionsForOverlappingNodes(t,e,r),n[0]=Math.min(t.getRight(),e.getRight())-Math.max(t.x,e.x),n[1]=Math.min(t.getBottom(),e.getBottom())-Math.max(t.y,e.y),t.getX()<=e.getX()&&t.getRight()>=e.getRight()?n[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(n[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?n[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(n[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var a=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(a=1);var o=a*n[0],s=n[1]/a;n[0]<s?s=n[0]:o=n[1],n[0]=-1*r[0]*(s/2+i),n[1]=-1*r[1]*(o/2+i)},r.decideDirectionsForOverlappingNodes=function(t,e,n){t.getCenterX()<e.getCenterX()?n[0]=-1:n[0]=1,t.getCenterY()<e.getCenterY()?n[1]=-1:n[1]=1},r.getIntersection2=function(t,e,n){var i=t.getCenterX(),r=t.getCenterY(),a=e.getCenterX(),o=e.getCenterY();if(t.intersects(e))return n[0]=i,n[1]=r,n[2]=a,n[3]=o,!0;var s=t.getX(),c=t.getY(),u=t.getRight(),l=t.getX(),h=t.getBottom(),f=t.getRight(),d=t.getWidthHalf(),g=t.getHeightHalf(),p=e.getX(),b=e.getY(),w=e.getRight(),m=e.getX(),y=e.getBottom(),v=e.getRight(),x=e.getWidthHalf(),k=e.getHeightHalf(),_=!1,A=!1;if(i===a){if(r>o)return n[0]=i,n[1]=c,n[2]=a,n[3]=y,!1;if(r<o)return n[0]=i,n[1]=h,n[2]=a,n[3]=b,!1}else if(r===o){if(i>a)return n[0]=s,n[1]=r,n[2]=w,n[3]=o,!1;if(i<a)return n[0]=u,n[1]=r,n[2]=p,n[3]=o,!1}else{var E=t.height/t.width,T=e.height/e.width,C=(o-r)/(a-i),S=void 0,I=void 0,M=void 0,D=void 0,O=void 0,L=void 0;if(-E===C?i>a?(n[0]=l,n[1]=h,_=!0):(n[0]=u,n[1]=c,_=!0):E===C&&(i>a?(n[0]=s,n[1]=c,_=!0):(n[0]=f,n[1]=h,_=!0)),-T===C?a>i?(n[2]=m,n[3]=y,A=!0):(n[2]=w,n[3]=b,A=!0):T===C&&(a>i?(n[2]=p,n[3]=b,A=!0):(n[2]=v,n[3]=y,A=!0)),_&&A)return!1;if(i>a?r>o?(S=this.getCardinalDirection(E,C,4),I=this.getCardinalDirection(T,C,2)):(S=this.getCardinalDirection(-E,C,3),I=this.getCardinalDirection(-T,C,1)):r>o?(S=this.getCardinalDirection(-E,C,1),I=this.getCardinalDirection(-T,C,3)):(S=this.getCardinalDirection(E,C,2),I=this.getCardinalDirection(T,C,4)),!_)switch(S){case 1:D=c,M=i+-g/C,n[0]=M,n[1]=D;break;case 2:M=f,D=r+d*C,n[0]=M,n[1]=D;break;case 3:D=h,M=i+g/C,n[0]=M,n[1]=D;break;case 4:M=l,D=r+-d*C,n[0]=M,n[1]=D}if(!A)switch(I){case 1:L=b,O=a+-k/C,n[2]=O,n[3]=L;break;case 2:O=v,L=o+x*C,n[2]=O,n[3]=L;break;case 3:L=y,O=a+k/C,n[2]=O,n[3]=L;break;case 4:O=m,L=o+-x*C,n[2]=O,n[3]=L}}return!1},r.getCardinalDirection=function(t,e,n){return t>e?n:1+n%4},r.getIntersection=function(t,e,n,r){if(null==r)return this.getIntersection2(t,e,n);var a,o,s,c,u,l,h,f=t.x,d=t.y,g=e.x,p=e.y,b=n.x,w=n.y,m=r.x,y=r.y;return 0==(h=(a=p-d)*(c=b-m)-(o=y-w)*(s=f-g))?null:new i((s*(l=m*w-b*y)-c*(u=g*d-f*p))/h,(o*u-a*l)/h)},r.angleOfVector=function(t,e,n,i){var r=void 0;return t!==n?(r=Math.atan((i-e)/(n-t)),n<t?r+=Math.PI:i<e&&(r+=this.TWO_PI)):r=i<e?this.ONE_AND_HALF_PI:this.HALF_PI,r},r.doIntersect=function(t,e,n,i){var r=t.x,a=t.y,o=e.x,s=e.y,c=n.x,u=n.y,l=i.x,h=i.y,f=(o-r)*(h-u)-(l-c)*(s-a);if(0===f)return!1;var d=((h-u)*(l-r)+(c-l)*(h-a))/f,g=((a-s)*(l-r)+(o-r)*(h-a))/f;return 0<d&&d<1&&0<g&&g<1},r.HALF_PI=.5*Math.PI,r.ONE_AND_HALF_PI=1.5*Math.PI,r.TWO_PI=2*Math.PI,r.THREE_PI=3*Math.PI,t.exports=r},function(t,e,n){"use strict";function i(){}i.sign=function(t){return t>0?1:t<0?-1:0},i.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},i.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=i},function(t,e,n){"use strict";function i(){}i.MAX_VALUE=2147483647,i.MIN_VALUE=-2147483648,t.exports=i},function(t,e,n){"use strict";var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function(t){return{value:t,next:null,prev:null}},a=function(t,e,n,i){return null!==t?t.next=e:i.head=e,null!==n?n.prev=e:i.tail=e,e.prev=t,e.next=n,i.length++,e},o=function(t,e){var n=t.prev,i=t.next;return null!==n?n.next=i:e.head=i,null!==i?i.prev=n:e.tail=n,t.prev=t.next=null,e.length--,t},s=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.length=0,this.head=null,this.tail=null,null!=e&&e.forEach((function(t){return n.push(t)}))}return i(t,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(t,e){return a(e.prev,r(t),e,this)}},{key:"insertAfter",value:function(t,e){return a(e,r(t),e.next,this)}},{key:"insertNodeBefore",value:function(t,e){return a(e.prev,t,e,this)}},{key:"insertNodeAfter",value:function(t,e){return a(e,t,e.next,this)}},{key:"push",value:function(t){return a(this.tail,r(t),null,this)}},{key:"unshift",value:function(t){return a(null,r(t),this.head,this)}},{key:"remove",value:function(t){return o(t,this)}},{key:"pop",value:function(){return o(this.tail,this).value}},{key:"popNode",value:function(){return o(this.tail,this)}},{key:"shift",value:function(){return o(this.head,this).value}},{key:"shiftNode",value:function(){return o(this.head,this)}},{key:"get_object_at",value:function(t){if(t<=this.length()){for(var e=1,n=this.head;e<t;)n=n.next,e++;return n.value}}},{key:"set_object_at",value:function(t,e){if(t<=this.length()){for(var n=1,i=this.head;n<t;)i=i.next,n++;i.value=e}}}]),t}();t.exports=s},function(t,e,n){"use strict";function i(t,e,n){this.x=null,this.y=null,null==t&&null==e&&null==n?(this.x=0,this.y=0):"number"==typeof t&&"number"==typeof e&&null==n?(this.x=t,this.y=e):"Point"==t.constructor.name&&null==e&&null==n&&(n=t,this.x=n.x,this.y=n.y)}i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.getLocation=function(){return new i(this.x,this.y)},i.prototype.setLocation=function(t,e,n){"Point"==t.constructor.name&&null==e&&null==n?(n=t,this.setLocation(n.x,n.y)):"number"==typeof t&&"number"==typeof e&&null==n&&(parseInt(t)==t&&parseInt(e)==e?this.move(t,e):(this.x=Math.floor(t+.5),this.y=Math.floor(e+.5)))},i.prototype.move=function(t,e){this.x=t,this.y=e},i.prototype.translate=function(t,e){this.x+=t,this.y+=e},i.prototype.equals=function(t){if("Point"==t.constructor.name){var e=t;return this.x==e.x&&this.y==e.y}return this==t},i.prototype.toString=function(){return(new i).constructor.name+"[x="+this.x+",y="+this.y+"]"},t.exports=i},function(t,e,n){"use strict";function i(t,e,n,i){this.x=0,this.y=0,this.width=0,this.height=0,null!=t&&null!=e&&null!=n&&null!=i&&(this.x=t,this.y=e,this.width=n,this.height=i)}i.prototype.getX=function(){return this.x},i.prototype.setX=function(t){this.x=t},i.prototype.getY=function(){return this.y},i.prototype.setY=function(t){this.y=t},i.prototype.getWidth=function(){return this.width},i.prototype.setWidth=function(t){this.width=t},i.prototype.getHeight=function(){return this.height},i.prototype.setHeight=function(t){this.height=t},i.prototype.getRight=function(){return this.x+this.width},i.prototype.getBottom=function(){return this.y+this.height},i.prototype.intersects=function(t){return!(this.getRight()<t.x||this.getBottom()<t.y||t.getRight()<this.x||t.getBottom()<this.y)},i.prototype.getCenterX=function(){return this.x+this.width/2},i.prototype.getMinX=function(){return this.getX()},i.prototype.getMaxX=function(){return this.getX()+this.width},i.prototype.getCenterY=function(){return this.y+this.height/2},i.prototype.getMinY=function(){return this.getY()},i.prototype.getMaxY=function(){return this.getY()+this.height},i.prototype.getWidthHalf=function(){return this.width/2},i.prototype.getHeightHalf=function(){return this.height/2},t.exports=i},function(t,e,n){"use strict";var i="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};function r(){}r.lastID=0,r.createID=function(t){return r.isPrimitive(t)?t:(null!=t.uniqueID||(t.uniqueID=r.getString(),r.lastID++),t.uniqueID)},r.getString=function(t){return null==t&&(t=r.lastID),"Object#"+t},r.isPrimitive=function(t){var e=void 0===t?"undefined":i(t);return null==t||"object"!=e&&"function"!=e},t.exports=r},function(t,e,n){"use strict";function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var r=n(0),a=n(6),o=n(3),s=n(1),c=n(5),u=n(4),l=n(17),h=n(27);function f(t){h.call(this),this.layoutQuality=r.QUALITY,this.createBendsAsNeeded=r.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=r.DEFAULT_INCREMENTAL,this.animationOnLayout=r.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=r.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=r.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=r.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new a(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=t&&(this.isRemoteUse=t)}f.RANDOM_SEED=1,f.prototype=Object.create(h.prototype),f.prototype.getGraphManager=function(){return this.graphManager},f.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},f.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},f.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},f.prototype.newGraphManager=function(){var t=new a(this);return this.graphManager=t,t},f.prototype.newGraph=function(t){return new c(null,this.graphManager,t)},f.prototype.newNode=function(t){return new o(this.graphManager,t)},f.prototype.newEdge=function(t){return new s(null,null,t)},f.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},f.prototype.runLayout=function(){var t;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),t=!this.checkLayoutSuccess()&&this.layout(),"during"!==r.ANIMATE&&(t&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,t)},f.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},f.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var t=this.graphManager.getAllEdges(),e=0;e<t.length;e++)t[e];var n=this.graphManager.getRoot().getNodes();for(e=0;e<n.length;e++)n[e];this.update(this.graphManager.getRoot())}},f.prototype.update=function(t){if(null==t)this.update2();else if(t instanceof o){var e=t;if(null!=e.getChild())for(var n=e.getChild().getNodes(),i=0;i<n.length;i++)update(n[i]);null!=e.vGraphObject&&e.vGraphObject.update(e)}else if(t instanceof s){var r=t;null!=r.vGraphObject&&r.vGraphObject.update(r)}else if(t instanceof c){var a=t;null!=a.vGraphObject&&a.vGraphObject.update(a)}},f.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=r.QUALITY,this.animationDuringLayout=r.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=r.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=r.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=r.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=r.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=r.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},f.prototype.transform=function(t){if(null==t)this.transform(new u(0,0));else{var e=new l,n=this.graphManager.getRoot().updateLeftTop();if(null!=n){e.setWorldOrgX(t.x),e.setWorldOrgY(t.y),e.setDeviceOrgX(n.x),e.setDeviceOrgY(n.y);for(var i=this.getAllNodes(),r=0;r<i.length;r++)i[r].transform(e)}}},f.prototype.positionNodesRandomly=function(t){if(null==t)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var e,n,i=t.getNodes(),r=0;r<i.length;r++)null==(n=(e=i[r]).getChild())||0==n.getNodes().length?e.scatter():(this.positionNodesRandomly(n),e.updateBounds())},f.prototype.getFlatForest=function(){for(var t=[],e=!0,n=this.graphManager.getRoot().getNodes(),r=!0,a=0;a<n.length;a++)null!=n[a].getChild()&&(r=!1);if(!r)return t;var o=new Set,s=[],c=new Map,u=[];for(u=u.concat(n);u.length>0&&e;){for(s.push(u[0]);s.length>0&&e;){var l=s[0];s.splice(0,1),o.add(l);var h=l.getEdges();for(a=0;a<h.length;a++){var f=h[a].getOtherEnd(l);if(c.get(l)!=f){if(o.has(f)){e=!1;break}s.push(f),c.set(f,l)}}}if(e){var d=[].concat(i(o));for(t.push(d),a=0;a<d.length;a++){var g=d[a],p=u.indexOf(g);p>-1&&u.splice(p,1)}o=new Set,c=new Map}else t=[]}return t},f.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],n=t.source,i=this.graphManager.calcLowestCommonAncestor(t.source,t.target),r=0;r<t.bendpoints.length;r++){var a=this.newNode(null);a.setRect(new Point(0,0),new Dimension(1,1)),i.add(a);var o=this.newEdge(null);this.graphManager.add(o,n,a),e.add(a),n=a}return o=this.newEdge(null),this.graphManager.add(o,n,t.target),this.edgeToDummyNodes.set(t,e),t.isInterGraph()?this.graphManager.remove(t):i.remove(t),e},f.prototype.createBendpointsFromDummyNodes=function(){var t=[];t=t.concat(this.graphManager.getAllEdges()),t=[].concat(i(this.edgeToDummyNodes.keys())).concat(t);for(var e=0;e<t.length;e++){var n=t[e];if(n.bendpoints.length>0){for(var r=this.edgeToDummyNodes.get(n),a=0;a<r.length;a++){var o=r[a],s=new u(o.getCenterX(),o.getCenterY()),c=n.bendpoints.get(a);c.x=s.x,c.y=s.y,o.getOwner().remove(o)}this.graphManager.add(n,n.source,n.target)}}},f.transform=function(t,e,n,i){if(null!=n&&null!=i){var r=e;return t<=50?r-=(e-e/n)/50*(50-t):r+=(e*i-e)/50*(t-50),r}var a,o;return t<=50?(a=9*e/500,o=e/10):(a=9*e/50,o=-8*e),a*t+o},f.findCenterOfTree=function(t){var e=[];e=e.concat(t);var n=[],i=new Map,r=!1,a=null;1!=e.length&&2!=e.length||(r=!0,a=e[0]);for(var o=0;o<e.length;o++){var s=(l=e[o]).getNeighborsList().size;i.set(l,l.getNeighborsList().size),1==s&&n.push(l)}var c=[];for(c=c.concat(n);!r;){var u=[];for(u=u.concat(c),c=[],o=0;o<e.length;o++){var l=e[o],h=e.indexOf(l);h>=0&&e.splice(h,1),l.getNeighborsList().forEach((function(t){if(n.indexOf(t)<0){var e=i.get(t)-1;1==e&&c.push(t),i.set(t,e)}}))}n=n.concat(c),1!=e.length&&2!=e.length||(r=!0,a=e[0])}return a},f.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=f},function(t,e,n){"use strict";function i(){}i.seed=1,i.x=0,i.nextDouble=function(){return i.x=1e4*Math.sin(i.seed++),i.x-Math.floor(i.x)},t.exports=i},function(t,e,n){"use strict";var i=n(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,n=this.lworldExtX;return 0!=n&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/n),e},r.prototype.transformY=function(t){var e=0,n=this.lworldExtY;return 0!=n&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/n),e},r.prototype.inverseTransformX=function(t){var e=0,n=this.ldeviceExtX;return 0!=n&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/n),e},r.prototype.inverseTransformY=function(t){var e=0,n=this.ldeviceExtY;return 0!=n&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/n),e},r.prototype.inverseTransformPoint=function(t){return new i(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=r},function(t,e,n){"use strict";var i=n(15),r=n(7),a=n(0),o=n(8),s=n(9);function c(){i.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 u in c.prototype=Object.create(i.prototype),i)c[u]=i[u];c.prototype.initParameters=function(){i.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},c.prototype.calcIdealEdgeLengths=function(){for(var t,e,n,i,o,s,c=this.getGraphManager().getAllEdges(),u=0;u<c.length;u++)(t=c[u]).idealLength=this.idealEdgeLength,t.isInterGraph&&(n=t.getSource(),i=t.getTarget(),o=t.getSourceInLca().getEstimatedSize(),s=t.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(t.idealLength+=o+s-2*a.SIMPLE_NODE_SIZE),e=t.getLca().getInclusionTreeDepth(),t.idealLength+=r.DEFAULT_EDGE_LENGTH*r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(n.getInclusionTreeDepth()+i.getInclusionTreeDepth()-2*e))},c.prototype.initSpringEmbedder=function(){var t=this.getAllNodes().length;this.incremental?(t>r.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()},c.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),n=0;n<e.length;n++)t=e[n],this.calcSpringForce(t,t.idealLength)},c.prototype.calcRepulsionForces=function(){var t,e,n,i,a,o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),a=new Set,t=0;t<c.length;t++)n=c[t],this.calculateRepulsionForceOfANode(n,a,o,s),a.add(n);else for(t=0;t<c.length;t++)for(n=c[t],e=t+1;e<c.length;e++)i=c[e],n.getOwner()==i.getOwner()&&this.calcRepulsionForce(n,i)},c.prototype.calcGravitationalForces=function(){for(var t,e=this.getAllNodesToApplyGravitation(),n=0;n<e.length;n++)t=e[n],this.calcGravitationalForce(t)},c.prototype.moveNodes=function(){for(var t=this.getAllNodes(),e=0;e<t.length;e++)t[e].move()},c.prototype.calcSpringForce=function(t,e){var n,i,r,a,o=t.getSource(),s=t.getTarget();if(this.uniformLeafNodeSizes&&null==o.getChild()&&null==s.getChild())t.updateLengthSimple();else if(t.updateLength(),t.isOverlapingSourceAndTarget)return;0!=(n=t.getLength())&&(r=(i=this.springConstant*(n-e))*(t.lengthX/n),a=i*(t.lengthY/n),o.springForceX+=r,o.springForceY+=a,s.springForceX-=r,s.springForceY-=a)},c.prototype.calcRepulsionForce=function(t,e){var n,i,a,c,u,l,h,f=t.getRect(),d=e.getRect(),g=new Array(2),p=new Array(4);if(f.intersects(d)){o.calcSeparationAmount(f,d,g,r.DEFAULT_EDGE_LENGTH/2),l=2*g[0],h=2*g[1];var b=t.noOfChildren*e.noOfChildren/(t.noOfChildren+e.noOfChildren);t.repulsionForceX-=b*l,t.repulsionForceY-=b*h,e.repulsionForceX+=b*l,e.repulsionForceY+=b*h}else this.uniformLeafNodeSizes&&null==t.getChild()&&null==e.getChild()?(n=d.getCenterX()-f.getCenterX(),i=d.getCenterY()-f.getCenterY()):(o.getIntersection(f,d,p),n=p[2]-p[0],i=p[3]-p[1]),Math.abs(n)<r.MIN_REPULSION_DIST&&(n=s.sign(n)*r.MIN_REPULSION_DIST),Math.abs(i)<r.MIN_REPULSION_DIST&&(i=s.sign(i)*r.MIN_REPULSION_DIST),a=n*n+i*i,c=Math.sqrt(a),l=(u=this.repulsionConstant*t.noOfChildren*e.noOfChildren/a)*n/c,h=u*i/c,t.repulsionForceX-=l,t.repulsionForceY-=h,e.repulsionForceX+=l,e.repulsionForceY+=h},c.prototype.calcGravitationalForce=function(t){var e,n,i,r,a,o,s,c;n=((e=t.getOwner()).getRight()+e.getLeft())/2,i=(e.getTop()+e.getBottom())/2,r=t.getCenterX()-n,a=t.getCenterY()-i,o=Math.abs(r)+t.getWidth()/2,s=Math.abs(a)+t.getHeight()/2,t.getOwner()==this.graphManager.getRoot()?(o>(c=e.getEstimatedSize()*this.gravityRangeFactor)||s>c)&&(t.gravitationForceX=-this.gravityConstant*r,t.gravitationForceY=-this.gravityConstant*a):(o>(c=e.getEstimatedSize()*this.compoundGravityRangeFactor)||s>c)&&(t.gravitationForceX=-this.gravityConstant*r*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*a*this.compoundGravityConstant)},c.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,t||e},c.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},c.prototype.calcNoOfChildrenForAllNodes=function(){for(var t,e=this.graphManager.getAllNodes(),n=0;n<e.length;n++)(t=e[n]).noOfChildren=t.getNoOfChildren()},c.prototype.calcGrid=function(t){var e,n;e=parseInt(Math.ceil((t.getRight()-t.getLeft())/this.repulsionRange)),n=parseInt(Math.ceil((t.getBottom()-t.getTop())/this.repulsionRange));for(var i=new Array(e),r=0;r<e;r++)i[r]=new Array(n);for(r=0;r<e;r++)for(var a=0;a<n;a++)i[r][a]=new Array;return i},c.prototype.addNodeToGrid=function(t,e,n){var i,r,a,o;i=parseInt(Math.floor((t.getRect().x-e)/this.repulsionRange)),r=parseInt(Math.floor((t.getRect().width+t.getRect().x-e)/this.repulsionRange)),a=parseInt(Math.floor((t.getRect().y-n)/this.repulsionRange)),o=parseInt(Math.floor((t.getRect().height+t.getRect().y-n)/this.repulsionRange));for(var s=i;s<=r;s++)for(var c=a;c<=o;c++)this.grid[s][c].push(t),t.setGridCoordinates(i,r,a,o)},c.prototype.updateGrid=function(){var t,e,n=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),t=0;t<n.length;t++)e=n[t],this.addNodeToGrid(e,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},c.prototype.calculateRepulsionForceOfANode=function(t,e,n,i){if(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&n||i){var a,o=new Set;t.surrounding=new Array;for(var s=this.grid,c=t.startX-1;c<t.finishX+2;c++)for(var u=t.startY-1;u<t.finishY+2;u++)if(!(c<0||u<0||c>=s.length||u>=s[0].length))for(var l=0;l<s[c][u].length;l++)if(a=s[c][u][l],t.getOwner()==a.getOwner()&&t!=a&&!e.has(a)&&!o.has(a)){var h=Math.abs(t.getCenterX()-a.getCenterX())-(t.getWidth()/2+a.getWidth()/2),f=Math.abs(t.getCenterY()-a.getCenterY())-(t.getHeight()/2+a.getHeight()/2);h<=this.repulsionRange&&f<=this.repulsionRange&&o.add(a)}t.surrounding=[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(o))}for(c=0;c<t.surrounding.length;c++)this.calcRepulsionForce(t,t.surrounding[c])},c.prototype.calcRepulsionRange=function(){return 0},t.exports=c},function(t,e,n){"use strict";var i=n(1),r=n(7);function a(t,e,n){i.call(this,t,e,n),this.idealLength=r.DEFAULT_EDGE_LENGTH}for(var o in a.prototype=Object.create(i.prototype),i)a[o]=i[o];t.exports=a},function(t,e,n){"use strict";var i=n(3);function r(t,e,n,r){i.call(this,t,e,n,r),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];r.prototype.setGridCoordinates=function(t,e,n,i){this.startX=t,this.finishX=e,this.startY=n,this.finishY=i},t.exports=r},function(t,e,n){"use strict";function i(t,e){this.width=0,this.height=0,null!==t&&null!==e&&(this.height=e,this.width=t)}i.prototype.getWidth=function(){return this.width},i.prototype.setWidth=function(t){this.width=t},i.prototype.getHeight=function(){return this.height},i.prototype.setHeight=function(t){this.height=t},t.exports=i},function(t,e,n){"use strict";var i=n(14);function r(){this.map={},this.keys=[]}r.prototype.put=function(t,e){var n=i.createID(t);this.contains(n)||(this.map[n]=e,this.keys.push(t))},r.prototype.contains=function(t){return i.createID(t),null!=this.map[t]},r.prototype.get=function(t){var e=i.createID(t);return this.map[e]},r.prototype.keySet=function(){return this.keys},t.exports=r},function(t,e,n){"use strict";var i=n(14);function r(){this.set={}}r.prototype.add=function(t){var e=i.createID(t);this.contains(e)||(this.set[e]=t)},r.prototype.remove=function(t){delete this.set[i.createID(t)]},r.prototype.clear=function(){this.set={}},r.prototype.contains=function(t){return this.set[i.createID(t)]==t},r.prototype.isEmpty=function(){return 0===this.size()},r.prototype.size=function(){return Object.keys(this.set).length},r.prototype.addAllTo=function(t){for(var e=Object.keys(this.set),n=e.length,i=0;i<n;i++)t.push(this.set[e[i]])},r.prototype.size=function(){return Object.keys(this.set).length},r.prototype.addAll=function(t){for(var e=t.length,n=0;n<e;n++){var i=t[n];this.add(i)}},t.exports=r},function(t,e,n){"use strict";var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n(11),a=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),null===n&&void 0===n||(this.compareFunction=this._defaultCompareFunction);var i=void 0;i=e instanceof r?e.size():e.length,this._quicksort(e,0,i-1)}return i(t,[{key:"_quicksort",value:function(t,e,n){if(e<n){var i=this._partition(t,e,n);this._quicksort(t,e,i),this._quicksort(t,i+1,n)}}},{key:"_partition",value:function(t,e,n){for(var i=this._get(t,e),r=e,a=n;;){for(;this.compareFunction(i,this._get(t,a));)a--;for(;this.compareFunction(this._get(t,r),i);)r++;if(!(r<a))return a;this._swap(t,r,a),r++,a--}}},{key:"_get",value:function(t,e){return t instanceof r?t.get_object_at(e):t[e]}},{key:"_set",value:function(t,e,n){t instanceof r?t.set_object_at(e,n):t[e]=n}},{key:"_swap",value:function(t,e,n){var i=this._get(t,e);this._set(t,e,this._get(t,n)),this._set(t,n,i)}},{key:"_defaultCompareFunction",value:function(t,e){return e>t}}]),t}();t.exports=a},function(t,e,n){"use strict";var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;r(this,t),this.sequence1=e,this.sequence2=n,this.match_score=i,this.mismatch_penalty=a,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var s=0;s<this.iMax;s++){this.grid[s]=new Array(this.jMax);for(var c=0;c<this.jMax;c++)this.grid[s][c]=0}this.tracebackGrid=new Array(this.iMax);for(var u=0;u<this.iMax;u++){this.tracebackGrid[u]=new Array(this.jMax);for(var l=0;l<this.jMax;l++)this.tracebackGrid[u][l]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return i(t,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var t=1;t<this.jMax;t++)this.grid[0][t]=this.grid[0][t-1]+this.gap_penalty,this.tracebackGrid[0][t]=[!1,!1,!0];for(var e=1;e<this.iMax;e++)this.grid[e][0]=this.grid[e-1][0]+this.gap_penalty,this.tracebackGrid[e][0]=[!1,!0,!1];for(var n=1;n<this.iMax;n++)for(var i=1;i<this.jMax;i++){var r=[this.sequence1[n-1]===this.sequence2[i-1]?this.grid[n-1][i-1]+this.match_score:this.grid[n-1][i-1]+this.mismatch_penalty,this.grid[n-1][i]+this.gap_penalty,this.grid[n][i-1]+this.gap_penalty],a=this.arrayAllMaxIndexes(r);this.grid[n][i]=r[a[0]],this.tracebackGrid[n][i]=[a.includes(0),a.includes(1),a.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var t=[];for(t.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});t[0];){var e=t[0],n=this.tracebackGrid[e.pos[0]][e.pos[1]];n[0]&&t.push({pos:[e.pos[0]-1,e.pos[1]-1],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),n[1]&&t.push({pos:[e.pos[0]-1,e.pos[1]],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:"-"+e.seq2}),n[2]&&t.push({pos:[e.pos[0],e.pos[1]-1],seq1:"-"+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),0===e.pos[0]&&0===e.pos[1]&&this.alignments.push({sequence1:e.seq1,sequence2:e.seq2}),t.shift()}return this.alignments}},{key:"getAllIndexes",value:function(t,e){for(var n=[],i=-1;-1!==(i=t.indexOf(e,i+1));)n.push(i);return n}},{key:"arrayAllMaxIndexes",value:function(t){return this.getAllIndexes(t,Math.max.apply(null,t))}}]),t}();t.exports=a},function(t,e,n){"use strict";var i=function(){};i.FDLayout=n(18),i.FDLayoutConstants=n(7),i.FDLayoutEdge=n(19),i.FDLayoutNode=n(20),i.DimensionD=n(21),i.HashMap=n(22),i.HashSet=n(23),i.IGeometry=n(8),i.IMath=n(9),i.Integer=n(10),i.Point=n(12),i.PointD=n(4),i.RandomSeed=n(16),i.RectangleD=n(13),i.Transform=n(17),i.UniqueIDGeneretor=n(14),i.Quicksort=n(24),i.LinkedList=n(11),i.LGraphObject=n(2),i.LGraph=n(5),i.LEdge=n(1),i.LGraphManager=n(6),i.LNode=n(3),i.Layout=n(15),i.LayoutConstants=n(0),i.NeedlemanWunsch=n(25),t.exports=i},function(t,e,n){"use strict";function i(){this.listeners=[]}var r=i.prototype;r.addListener=function(t,e){this.listeners.push({event:t,callback:e})},r.removeListener=function(t,e){for(var n=this.listeners.length;n>=0;n--){var i=this.listeners[n];i.event===t&&i.callback===e&&this.listeners.splice(n,1)}},r.emit=function(t,e){for(var n=0;n<this.listeners.length;n++){var i=this.listeners[n];t===i.event&&i.callback(e)}},t.exports=i}])},t.exports=e()},2510:function(t,e){"use strict";e.Nm=e.Rq=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,i=/&#(\w+)(^\w|;)?/g,r=/&(newline|tab);/gi,a=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,o=/^.+(:|:)/gim,s=[".","/"];e.Rq="about:blank",e.Nm=function(t){if(!t)return e.Rq;var c,u=(c=t,c.replace(a,"").replace(i,(function(t,e){return String.fromCharCode(e)}))).replace(r,"").replace(a,"").trim();if(!u)return e.Rq;if(function(t){return s.indexOf(t[0])>-1}(u))return u;var l=u.match(o);if(!l)return u;var h=l[0];return n.test(h)?e.Rq:u}},4881:function(t){t.exports=function(){function t(e,n,i){function r(o,s){if(!n[o]){if(!e[o]){if(a)return a(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[o]={exports:{}};e[o][0].call(u.exports,(function(t){return r(e[o][1][t]||t)}),u,u.exports,t,e,n,i)}return n[o].exports}for(var a=void 0,o=0;o<i.length;o++)r(i[o]);return r}return t}()({1:[function(t,e,n){"use strict";var i=t("inherits"),r=t("multimath"),a=t("./mm_unsharp_mask"),o=t("./mm_resize");function s(t){var e=t||[],n={js:e.indexOf("js")>=0,wasm:e.indexOf("wasm")>=0};r.call(this,n),this.features={js:n.js,wasm:n.wasm&&this.has_wasm()},this.use(a),this.use(o)}i(s,r),s.prototype.resizeAndUnsharp=function(t,e){var n=this.resize(t,e);return t.unsharpAmount&&this.unsharp_mask(n,t.toWidth,t.toHeight,t.unsharpAmount,t.unsharpRadius,t.unsharpThreshold),n},e.exports=s},{"./mm_resize":4,"./mm_unsharp_mask":9,inherits:19,multimath:20}],2:[function(t,e,n){"use strict";function i(t){return t<0?0:t>255?255:t}function r(t,e,n,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,m=0,y=0;for(p=0;p<r;p++){for(h=0,b=0;b<a;b++){for(f=o[h++],d=o[h++],g=m+4*f|0,s=c=u=l=0;d>0;d--)l=l+(w=o[h++])*t[g+3]|0,u=u+w*t[g+2]|0,c=c+w*t[g+1]|0,s=s+w*t[g]|0,g=g+4|0;e[y+3]=i(l+8192>>14),e[y+2]=i(u+8192>>14),e[y+1]=i(c+8192>>14),e[y]=i(s+8192>>14),y=y+4*r|0}y=4*(p+1)|0,m=(p+1)*n*4|0}}function a(t,e,n,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,m=0,y=0;for(p=0;p<r;p++){for(h=0,b=0;b<a;b++){for(f=o[h++],d=o[h++],g=m+4*f|0,s=c=u=l=0;d>0;d--)l=l+(w=o[h++])*t[g+3]|0,u=u+w*t[g+2]|0,c=c+w*t[g+1]|0,s=s+w*t[g]|0,g=g+4|0;e[y+3]=i(l+8192>>14),e[y+2]=i(u+8192>>14),e[y+1]=i(c+8192>>14),e[y]=i(s+8192>>14),y=y+4*r|0}y=4*(p+1)|0,m=(p+1)*n*4|0}}e.exports={convolveHorizontally:r,convolveVertically:a}},{}],3:[function(t,e,n){"use strict";e.exports="AGFzbQEAAAAADAZkeWxpbmsAAAAAAAEXA2AAAGAGf39/f39/AGAHf39/f39/fwACDwEDZW52Bm1lbW9yeQIAAAMEAwABAgYGAX8AQQALB1cFEV9fd2FzbV9jYWxsX2N0b3JzAAAIY29udm9sdmUAAQpjb252b2x2ZUhWAAIMX19kc29faGFuZGxlAwAYX193YXNtX2FwcGx5X2RhdGFfcmVsb2NzAAAK7AMDAwABC8YDAQ9/AkAgA0UNACAERQ0AA0AgDCENQQAhE0EAIQcDQCAHQQJqIQYCfyAHQQF0IAVqIgcuAQIiFEUEQEGAwAAhCEGAwAAhCUGAwAAhCkGAwAAhCyAGDAELIBIgBy4BAGohCEEAIQsgFCEHQQAhDiAGIQlBACEPQQAhEANAIAUgCUEBdGouAQAiESAAIAhBAnRqKAIAIgpBGHZsIBBqIRAgCkH/AXEgEWwgC2ohCyAKQRB2Qf8BcSARbCAPaiEPIApBCHZB/wFxIBFsIA5qIQ4gCEEBaiEIIAlBAWohCSAHQQFrIgcNAAsgC0GAQGshCCAOQYBAayEJIA9BgEBrIQogEEGAQGshCyAGIBRqCyEHIAEgDUECdGogCUEOdSIGQf8BIAZB/wFIGyIGQQAgBkEAShtBCHRBgP4DcSAKQQ51IgZB/wEgBkH/AUgbIgZBACAGQQBKG0EQdEGAgPwHcSALQQ51IgZB/wEgBkH/AUgbIgZBACAGQQBKG0EYdHJyIAhBDnUiBkH/ASAGQf8BSBsiBkEAIAZBAEobcjYCACADIA1qIQ0gE0EBaiITIARHDQALIAxBAWoiDCACbCESIAMgDEcNAAsLCx4AQQAgAiADIAQgBSAAEAEgAkEAIAQgBSAGIAEQAQs="},{}],4:[function(t,e,n){"use strict";e.exports={name:"resize",fn:t("./resize"),wasm_fn:t("./resize_wasm"),wasm_src:t("./convolve_wasm_base64")}},{"./convolve_wasm_base64":3,"./resize":5,"./resize_wasm":8}],5:[function(t,e,n){"use strict";var i=t("./resize_filter_gen"),r=t("./convolve").convolveHorizontally,a=t("./convolve").convolveVertically;function o(t,e,n){for(var i=3,r=e*n*4|0;i<r;)t[i]=255,i=i+4|0}e.exports=function(t){var e=t.src,n=t.width,s=t.height,c=t.toWidth,u=t.toHeight,l=t.scaleX||t.toWidth/t.width,h=t.scaleY||t.toHeight/t.height,f=t.offsetX||0,d=t.offsetY||0,g=t.dest||new Uint8Array(c*u*4),p=void 0===t.quality?3:t.quality,b=t.alpha||!1,w=i(p,n,c,l,f),m=i(p,s,u,h,d),y=new Uint8Array(c*s*4);return r(e,y,n,s,c,w),a(y,g,s,c,u,m),b||o(g,c,u),g}},{"./convolve":2,"./resize_filter_gen":6}],6:[function(t,e,n){"use strict";var i=t("./resize_filter_info"),r=14;function a(t){return Math.round(t*((1<<r)-1))}e.exports=function(t,e,n,r,o){var s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A=i[t].filter,E=1/r,T=Math.min(1,r),C=i[t].win/T,S=Math.floor(2*(C+1)),I=new Int16Array((S+2)*n),M=0,D=!I.subarray||!I.set;for(s=0;s<n;s++){for(c=(s+.5)*E+o,u=Math.max(0,Math.floor(c-C)),h=(l=Math.min(e-1,Math.ceil(c+C)))-u+1,f=new Float32Array(h),d=new Int16Array(h),g=0,p=u,b=0;p<=l;p++,b++)g+=w=A((p+.5-c)*T),f[b]=w;for(m=0,b=0;b<f.length;b++)m+=y=f[b]/g,d[b]=a(y);for(d[n>>1]+=a(1-m),v=0;v<d.length&&0===d[v];)v++;if(v<d.length){for(x=d.length-1;x>0&&0===d[x];)x--;if(k=u+v,_=x-v+1,I[M++]=k,I[M++]=_,D)for(b=v;b<=x;b++)I[M++]=d[b];else I.set(d.subarray(v,x+1),M),M+=_}else I[M++]=0,I[M++]=0}return I}},{"./resize_filter_info":7}],7:[function(t,e,n){"use strict";e.exports=[{win:.5,filter:function(t){return t>=-.5&&t<.5?1:0}},{win:1,filter:function(t){if(t<=-1||t>=1)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*(.54+.46*Math.cos(e/1))}},{win:2,filter:function(t){if(t<=-2||t>=2)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*Math.sin(e/2)/(e/2)}},{win:3,filter:function(t){if(t<=-3||t>=3)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*Math.sin(e/3)/(e/3)}}]},{}],8:[function(t,e,n){"use strict";var i=t("./resize_filter_gen");function r(t,e,n){for(var i=3,r=e*n*4|0;i<r;)t[i]=255,i=i+4|0}function a(t){return new Uint8Array(t.buffer,0,t.byteLength)}var o=!0;try{o=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0]}catch(t){}function s(t,e,n){if(o)e.set(a(t),n);else for(var i=n,r=0;r<t.length;r++){var s=t[r];e[i++]=255&s,e[i++]=s>>8&255}}e.exports=function(t){var e=t.src,n=t.width,a=t.height,o=t.toWidth,c=t.toHeight,u=t.scaleX||t.toWidth/t.width,l=t.scaleY||t.toHeight/t.height,h=t.offsetX||0,f=t.offsetY||0,d=t.dest||new Uint8Array(o*c*4),g=void 0===t.quality?3:t.quality,p=t.alpha||!1,b=i(g,n,o,u,h),w=i(g,a,c,l,f),m=0,y=this.__align(m+Math.max(e.byteLength,d.byteLength)),v=this.__align(y+a*o*4),x=this.__align(v+b.byteLength),k=x+w.byteLength,_=this.__instance("resize",k),A=new Uint8Array(this.__memory.buffer),E=new Uint32Array(this.__memory.buffer),T=new Uint32Array(e.buffer);return E.set(T),s(b,A,v),s(w,A,x),(_.exports.convolveHV||_.exports._convolveHV)(v,x,y,n,a,o,c),new Uint32Array(d.buffer).set(new Uint32Array(this.__memory.buffer,0,c*o)),p||r(d,o,c),d}},{"./resize_filter_gen":6}],9:[function(t,e,n){"use strict";e.exports={name:"unsharp_mask",fn:t("./unsharp_mask"),wasm_fn:t("./unsharp_mask_wasm"),wasm_src:t("./unsharp_mask_wasm_base64")}},{"./unsharp_mask":10,"./unsharp_mask_wasm":11,"./unsharp_mask_wasm_base64":12}],10:[function(t,e,n){"use strict";var i=t("glur/mono16");function r(t,e,n){for(var i,r,a,o,s=e*n,c=new Uint16Array(s),u=0;u<s;u++)i=t[4*u],r=t[4*u+1],a=t[4*u+2],o=i>=r&&i>=a?i:r>=a&&r>=i?r:a,c[u]=o<<8;return c}e.exports=function(t,e,n,a,o,s){var c,u,l,h,f;if(!(0===a||o<.5)){o>2&&(o=2);var d=r(t,e,n),g=new Uint16Array(d);i(g,e,n,o);for(var p=a/100*4096+.5|0,b=s<<8,w=e*n,m=0;m<w;m++)h=(c=d[m])-g[m],Math.abs(h)>=b&&(l=((u=(u=(u=c+(p*h+2048>>12))>65280?65280:u)<0?0:u)<<12)/(c=0!==c?c:1)|0,t[f=4*m]=t[f]*l+2048>>12,t[f+1]=t[f+1]*l+2048>>12,t[f+2]=t[f+2]*l+2048>>12)}}},{"glur/mono16":18}],11:[function(t,e,n){"use strict";e.exports=function(t,e,n,i,r,a){if(!(0===i||r<.5)){r>2&&(r=2);var o=e*n,s=4*o,c=2*o,u=2*o,l=4*Math.max(e,n),h=32,f=0,d=s,g=d+c,p=g+u,b=p+u,w=b+l,m=this.__instance("unsharp_mask",s+c+2*u+l+h,{exp:Math.exp}),y=new Uint32Array(t.buffer);new Uint32Array(this.__memory.buffer).set(y);var v=m.exports.hsv_v16||m.exports._hsv_v16;v(f,d,e,n),(v=m.exports.blurMono16||m.exports._blurMono16)(d,g,p,b,w,e,n,r),(v=m.exports.unsharp||m.exports._unsharp)(f,f,d,g,e,n,i,a),y.set(new Uint32Array(this.__memory.buffer,0,o))}}},{}],12:[function(t,e,n){"use strict";e.exports="AGFzbQEAAAAADAZkeWxpbmsAAAAAAAE0B2AAAGAEf39/fwBgBn9/f39/fwBgCH9/f39/f39/AGAIf39/f39/f30AYAJ9fwBgAXwBfAIZAgNlbnYDZXhwAAYDZW52Bm1lbW9yeQIAAAMHBgAFAgQBAwYGAX8AQQALB4oBCBFfX3dhc21fY2FsbF9jdG9ycwABFl9fYnVpbGRfZ2F1c3NpYW5fY29lZnMAAg5fX2dhdXNzMTZfbGluZQADCmJsdXJNb25vMTYABAdoc3ZfdjE2AAUHdW5zaGFycAAGDF9fZHNvX2hhbmRsZQMAGF9fd2FzbV9hcHBseV9kYXRhX3JlbG9jcwABCsUMBgMAAQvWAQEHfCABRNuGukOCGvs/IAC7oyICRAAAAAAAAADAohAAIgW2jDgCFCABIAKaEAAiAyADoCIGtjgCECABRAAAAAAAAPA/IAOhIgQgBKIgAyACIAKgokQAAAAAAADwP6AgBaGjIgS2OAIAIAEgBSAEmqIiB7Y4AgwgASADIAJEAAAAAAAA8D+gIASioiIItjgCCCABIAMgAkQAAAAAAADwv6AgBKKiIgK2OAIEIAEgByAIoCAFRAAAAAAAAPA/IAahoCIDo7Y4AhwgASAEIAKgIAOjtjgCGAuGBQMGfwl8An0gAyoCDCEVIAMqAgghFiADKgIUuyERIAMqAhC7IRACQCAEQQFrIghBAEgiCQRAIAIhByAAIQYMAQsgAiAALwEAuCIPIAMqAhi7oiIMIBGiIg0gDCAQoiAPIAMqAgS7IhOiIhQgAyoCALsiEiAPoqCgoCIOtjgCACACQQRqIQcgAEECaiEGIAhFDQAgCEEBIAhBAUgbIgpBf3MhCwJ/IAQgCmtBAXFFBEAgDiENIAgMAQsgAiANIA4gEKIgFCASIAAvAQK4Ig+ioKCgIg22OAIEIAJBCGohByAAQQRqIQYgDiEMIARBAmsLIQIgC0EAIARrRg0AA0AgByAMIBGiIA0gEKIgDyAToiASIAYvAQC4Ig6ioKCgIgy2OAIAIAcgDSARoiAMIBCiIA4gE6IgEiAGLwECuCIPoqCgoCINtjgCBCAHQQhqIQcgBkEEaiEGIAJBAkohACACQQJrIQIgAA0ACwsCQCAJDQAgASAFIAhsQQF0aiIAAn8gBkECay8BACICuCINIBW7IhKiIA0gFrsiE6KgIA0gAyoCHLuiIgwgEKKgIAwgEaKgIg8gB0EEayIHKgIAu6AiDkQAAAAAAADwQWMgDkQAAAAAAAAAAGZxBEAgDqsMAQtBAAs7AQAgCEUNACAGQQRrIQZBACAFa0EBdCEBA0ACfyANIBKiIAJB//8DcbgiDSAToqAgDyIOIBCioCAMIBGioCIPIAdBBGsiByoCALugIgxEAAAAAAAA8EFjIAxEAAAAAAAAAABmcQRAIAyrDAELQQALIQMgBi8BACECIAAgAWoiACADOwEAIAZBAmshBiAIQQFKIQMgDiEMIAhBAWshCCADDQALCwvRAgIBfwd8AkAgB0MAAAAAWw0AIARE24a6Q4Ia+z8gB0MAAAA/l7ujIglEAAAAAAAAAMCiEAAiDLaMOAIUIAQgCZoQACIKIAqgIg22OAIQIAREAAAAAAAA8D8gCqEiCyALoiAKIAkgCaCiRAAAAAAAAPA/oCAMoaMiC7Y4AgAgBCAMIAuaoiIOtjgCDCAEIAogCUQAAAAAAADwP6AgC6KiIg+2OAIIIAQgCiAJRAAAAAAAAPC/oCALoqIiCbY4AgQgBCAOIA+gIAxEAAAAAAAA8D8gDaGgIgqjtjgCHCAEIAsgCaAgCqO2OAIYIAYEQANAIAAgBSAIbEEBdGogAiAIQQF0aiADIAQgBSAGEAMgCEEBaiIIIAZHDQALCyAFRQ0AQQAhCANAIAIgBiAIbEEBdGogASAIQQF0aiADIAQgBiAFEAMgCEEBaiIIIAVHDQALCwtxAQN/IAIgA2wiBQRAA0AgASAAKAIAIgRBEHZB/wFxIgIgAiAEQQh2Qf8BcSIDIAMgBEH/AXEiBEkbIAIgA0sbIgYgBiAEIAIgBEsbIAMgBEsbQQh0OwEAIAFBAmohASAAQQRqIQAgBUEBayIFDQALCwuZAgIDfwF8IAQgBWwhBAJ/IAazQwAAgEWUQwAAyEKVu0QAAAAAAADgP6AiC5lEAAAAAAAA4EFjBEAgC6oMAQtBgICAgHgLIQUgBARAIAdBCHQhCUEAIQYDQCAJIAIgBkEBdCIHai8BACIBIAMgB2ovAQBrIgcgB0EfdSIIaiAIc00EQCAAIAZBAnQiCGoiCiAFIAdsQYAQakEMdSABaiIHQYD+AyAHQYD+A0gbIgdBACAHQQBKG0EMdCABQQEgARtuIgEgCi0AAGxBgBBqQQx2OgAAIAAgCEEBcmoiByABIActAABsQYAQakEMdjoAACAAIAhBAnJqIgcgASAHLQAAbEGAEGpBDHY6AAALIAZBAWoiBiAERw0ACwsL"},{}],13:[function(t,e,n){"use strict";var i=100;function r(t,e){this.create=t,this.available=[],this.acquired={},this.lastId=1,this.timeoutId=0,this.idle=e||2e3}r.prototype.acquire=function(){var t,e=this;return 0!==this.available.length?t=this.available.pop():((t=this.create()).id=this.lastId++,t.release=function(){return e.release(t)}),this.acquired[t.id]=t,t},r.prototype.release=function(t){var e=this;delete this.acquired[t.id],t.lastUsed=Date.now(),this.available.push(t),0===this.timeoutId&&(this.timeoutId=setTimeout((function(){return e.gc()}),i))},r.prototype.gc=function(){var t=this,e=Date.now();this.available=this.available.filter((function(n){return!(e-n.lastUsed>t.idle&&(n.destroy(),1))})),0!==this.available.length?this.timeoutId=setTimeout((function(){return t.gc()}),i):this.timeoutId=0},e.exports=r},{}],14:[function(t,e,n){"use strict";var i=2;e.exports=function(t,e,n,r,a,o){var s=n/t,c=r/e,u=(2*o+i+1)/a;if(u>.5)return[[n,r]];var l=Math.ceil(Math.log(Math.min(s,c))/Math.log(u));if(l<=1)return[[n,r]];for(var h=[],f=0;f<l;f++){var d=Math.round(Math.pow(Math.pow(t,l-f-1)*Math.pow(n,f+1),1/l)),g=Math.round(Math.pow(Math.pow(e,l-f-1)*Math.pow(r,f+1),1/l));h.push([d,g])}return h}},{}],15:[function(t,e,n){"use strict";var i=1e-5;function r(t){var e=Math.round(t);return Math.abs(t-e)<i?e:Math.floor(t)}function a(t){var e=Math.round(t);return Math.abs(t-e)<i?e:Math.ceil(t)}e.exports=function(t){var e,n,i,o,s,c,u=t.toWidth/t.width,l=t.toHeight/t.height,h=r(t.srcTileSize*u)-2*t.destTileBorder,f=r(t.srcTileSize*l)-2*t.destTileBorder;if(h<1||f<1)throw new Error("Internal error in pica: target tile width/height is too small.");var d,g=[];for(o=0;o<t.toHeight;o+=f)for(i=0;i<t.toWidth;i+=h)(e=i-t.destTileBorder)<0&&(e=0),e+(s=i+h+t.destTileBorder-e)>=t.toWidth&&(s=t.toWidth-e),(n=o-t.destTileBorder)<0&&(n=0),n+(c=o+f+t.destTileBorder-n)>=t.toHeight&&(c=t.toHeight-n),d={toX:e,toY:n,toWidth:s,toHeight:c,toInnerX:i,toInnerY:o,toInnerWidth:h,toInnerHeight:f,offsetX:e/u-r(e/u),offsetY:n/l-r(n/l),scaleX:u,scaleY:l,x:r(e/u),y:r(n/l),width:a(s/u),height:a(c/l)},g.push(d);return g}},{}],16:[function(t,e,n){"use strict";function i(t){return Object.prototype.toString.call(t)}e.exports.isCanvas=function(t){var e=i(t);return"[object HTMLCanvasElement]"===e||"[object OffscreenCanvas]"===e||"[object Canvas]"===e},e.exports.isImage=function(t){return"[object HTMLImageElement]"===i(t)},e.exports.isImageBitmap=function(t){return"[object ImageBitmap]"===i(t)},e.exports.limiter=function(t){var e=0,n=[];function i(){e<t&&n.length&&(e++,n.shift()())}return function(t){return new Promise((function(r,a){n.push((function(){t().then((function(t){r(t),e--,i()}),(function(t){a(t),e--,i()}))})),i()}))}},e.exports.cib_quality_name=function(t){switch(t){case 0:return"pixelated";case 1:return"low";case 2:return"medium"}return"high"},e.exports.cib_support=function(t){return Promise.resolve().then((function(){if("undefined"==typeof createImageBitmap)return!1;var e=t(100,100);return createImageBitmap(e,0,0,100,100,{resizeWidth:10,resizeHeight:10,resizeQuality:"high"}).then((function(t){var n=10===t.width;return t.close(),e=null,n}))})).catch((function(){return!1}))},e.exports.worker_offscreen_canvas_support=function(){return new Promise((function(t,e){if("undefined"!=typeof OffscreenCanvas){var n=btoa("(".concat(r.toString(),")(self);")),i=new Worker("data:text/javascript;base64,".concat(n));i.onmessage=function(e){return t(e.data)},i.onerror=e}else t(!1);function r(t){"undefined"!=typeof createImageBitmap?Promise.resolve().then((function(){var t=new OffscreenCanvas(10,10);return t.getContext("2d").rect(0,0,1,1),createImageBitmap(t,0,0,1,1)})).then((function(){return t.postMessage(!0)}),(function(){return t.postMessage(!1)})):t.postMessage(!1)}})).then((function(t){return t}),(function(){return!1}))},e.exports.can_use_canvas=function(t){var e=!1;try{var n=t(2,1).getContext("2d"),i=n.createImageData(2,1);i.data[0]=12,i.data[1]=23,i.data[2]=34,i.data[3]=255,i.data[4]=45,i.data[5]=56,i.data[6]=67,i.data[7]=255,n.putImageData(i,0,0),i=null,12===(i=n.getImageData(0,0,2,1)).data[0]&&23===i.data[1]&&34===i.data[2]&&255===i.data[3]&&45===i.data[4]&&56===i.data[5]&&67===i.data[6]&&255===i.data[7]&&(e=!0)}catch(t){}return e},e.exports.cib_can_use_region=function(){return new Promise((function(t){if("undefined"!=typeof createImageBitmap){var e=new Image;e.src="data:image/jpeg;base64,/9j/4QBiRXhpZgAATU0AKgAAAAgABQESAAMAAAABAAYAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAAAAABIAAAAAQAAAEgAAAAB/9sAQwAEAwMEAwMEBAMEBQQEBQYKBwYGBgYNCQoICg8NEBAPDQ8OERMYFBESFxIODxUcFRcZGRsbGxAUHR8dGh8YGhsa/9sAQwEEBQUGBQYMBwcMGhEPERoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoa/8IAEQgAAQACAwERAAIRAQMRAf/EABQAAQAAAAAAAAAAAAAAAAAAAAf/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAF/P//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAQUCf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Bf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Bf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEABj8Cf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAT8hf//aAAwDAQACAAMAAAAQH//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Qf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Qf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAT8Qf//Z",e.onload=function(){createImageBitmap(e,0,0,e.width,e.height).then((function(n){n.width===e.width&&n.height===e.height?t(!0):t(!1)}),(function(){return t(!1)}))},e.onerror=function(){return t(!1)}}else t(!1)}))}},{}],17:[function(t,e,n){"use strict";e.exports=function(){var e,n=t("./mathlib");onmessage=function(t){var i=t.data.opts,r=!1;if(!i.src&&i.srcBitmap){var a=new OffscreenCanvas(i.width,i.height),o=a.getContext("2d",{alpha:Boolean(i.alpha)});o.drawImage(i.srcBitmap,0,0),i.src=o.getImageData(0,0,i.width,i.height).data,a.width=a.height=0,a=null,i.srcBitmap.close(),i.srcBitmap=null}e||(e=new n(t.data.features));var s=e.resizeAndUnsharp(i);if(r){var c=new ImageData(new Uint8ClampedArray(s),i.toWidth,i.toHeight),u=new OffscreenCanvas(i.toWidth,i.toHeight);u.getContext("2d",{alpha:Boolean(i.alpha)}).putImageData(c,0,0),createImageBitmap(u).then((function(t){postMessage({bitmap:t},[t])}))}else postMessage({data:s},[s.buffer])}}},{"./mathlib":1}],18:[function(t,e,n){var i,r,a,o,s,c;function u(t){t<.5&&(t=.5);var e=Math.exp(.527076)/t,n=Math.exp(-e),u=Math.exp(-2*e),l=(1-n)*(1-n)/(1+2*e*n-u);return i=l,r=l*(e-1)*n,a=l*(e+1)*n,o=-l*u,s=2*n,c=-u,new Float32Array([i,r,a,o,s,c,(i+r)/(1-s-c),(a+o)/(1-s-c)])}function l(t,e,n,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,m,y;for(g=0;g<a;g++){for(f=g,d=0,u=l=(o=t[h=g*r])*i[6],b=i[0],w=i[1],m=i[4],y=i[5],p=0;p<r;p++)c=(s=t[h])*b+o*w+u*m+l*y,l=u,u=c,o=s,n[d]=u,d++,h++;for(d--,f+=a*(r-1),u=l=(o=t[--h])*i[7],s=o,b=i[2],w=i[3],p=r-1;p>=0;p--)c=s*b+o*w+u*m+l*y,l=u,u=c,o=s,s=t[h],e[f]=n[d]+u,h--,d--,f-=a}}function h(t,e,n,i){if(i){var r=new Uint16Array(t.length),a=new Float32Array(Math.max(e,n)),o=u(i);l(t,r,a,o,e,n,i),l(r,t,a,o,n,e,i)}}e.exports=h},{}],19:[function(t,e,n){"function"==typeof Object.create?e.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},{}],20:[function(t,e,n){"use strict";var i=t("object-assign"),r=t("./lib/base64decode"),a=t("./lib/wa_detect"),o={js:!0,wasm:!0};function s(t){if(!(this instanceof s))return new s(t);var e=i({},o,t||{});if(this.options=e,this.__cache={},this.__init_promise=null,this.__modules=e.modules||{},this.__memory=null,this.__wasm={},this.__isLE=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0],!this.options.js&&!this.options.wasm)throw new Error('mathlib: at least "js" or "wasm" should be enabled')}s.prototype.has_wasm=a,s.prototype.use=function(t){return this.__modules[t.name]=t,this.options.wasm&&this.has_wasm()&&t.wasm_fn?this[t.name]=t.wasm_fn:this[t.name]=t.fn,this},s.prototype.init=function(){if(this.__init_promise)return this.__init_promise;if(!this.options.js&&this.options.wasm&&!this.has_wasm())return Promise.reject(new Error('mathlib: only "wasm" was enabled, but it\'s not supported'));var t=this;return this.__init_promise=Promise.all(Object.keys(t.__modules).map((function(e){var n=t.__modules[e];return t.options.wasm&&t.has_wasm()&&n.wasm_fn?t.__wasm[e]?null:WebAssembly.compile(t.__base64decode(n.wasm_src)).then((function(n){t.__wasm[e]=n})):null}))).then((function(){return t})),this.__init_promise},s.prototype.__base64decode=r,s.prototype.__reallocate=function(t){if(!this.__memory)return this.__memory=new WebAssembly.Memory({initial:Math.ceil(t/65536)}),this.__memory;var e=this.__memory.buffer.byteLength;return e<t&&this.__memory.grow(Math.ceil((t-e)/65536)),this.__memory},s.prototype.__instance=function(t,e,n){if(e&&this.__reallocate(e),!this.__wasm[t]){var r=this.__modules[t];this.__wasm[t]=new WebAssembly.Module(this.__base64decode(r.wasm_src))}if(!this.__cache[t]){var a={memoryBase:0,memory:this.__memory,tableBase:0,table:new WebAssembly.Table({initial:0,element:"anyfunc"})};this.__cache[t]=new WebAssembly.Instance(this.__wasm[t],{env:i(a,n||{})})}return this.__cache[t]},s.prototype.__align=function(t,e){var n=t%(e=e||8);return t+(n?e-n:0)},e.exports=s},{"./lib/base64decode":21,"./lib/wa_detect":22,"object-assign":23}],21:[function(t,e,n){"use strict";var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";e.exports=function(t){for(var e=t.replace(/[\r\n=]/g,""),n=e.length,r=new Uint8Array(3*n>>2),a=0,o=0,s=0;s<n;s++)s%4==0&&s&&(r[o++]=a>>16&255,r[o++]=a>>8&255,r[o++]=255&a),a=a<<6|i.indexOf(e.charAt(s));var c=n%4*6;return 0===c?(r[o++]=a>>16&255,r[o++]=a>>8&255,r[o++]=255&a):18===c?(r[o++]=a>>10&255,r[o++]=a>>2&255):12===c&&(r[o++]=a>>4&255),r}},{}],22:[function(t,e,n){"use strict";var i;e.exports=function(){if(void 0!==i)return i;if(i=!1,"undefined"==typeof WebAssembly)return i;try{var t=new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,127,1,127,3,2,1,0,5,3,1,0,1,7,8,1,4,116,101,115,116,0,0,10,16,1,14,0,32,0,65,1,54,2,0,32,0,40,2,0,11]),e=new WebAssembly.Module(t);return 0!==new WebAssembly.Instance(e,{}).exports.test(4)&&(i=!0),i}catch(t){}return i}},{}],23:[function(t,e,n){"use strict";var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function s(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(t){i[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}e.exports=s()?Object.assign:function(t,e){for(var n,s,c=o(t),u=1;u<arguments.length;u++){for(var l in n=Object(arguments[u]))r.call(n,l)&&(c[l]=n[l]);if(i){s=i(n);for(var h=0;h<s.length;h++)a.call(n,s[h])&&(c[s[h]]=n[s[h]])}}return c}},{}],24:[function(t,e,n){var i=arguments[3],r=arguments[4],a=arguments[5],o=JSON.stringify;e.exports=function(t,e){for(var n,s=Object.keys(a),c=0,u=s.length;c<u;c++){var l=s[c],h=a[l].exports;if(h===t||h&&h.default===t){n=l;break}}if(!n){n=Math.floor(Math.pow(16,8)*Math.random()).toString(16);var f={};for(c=0,u=s.length;c<u;c++)f[l=s[c]]=l;r[n]=["function(require,module,exports){"+t+"(self); }",f]}var d=Math.floor(Math.pow(16,8)*Math.random()).toString(16),g={};g[n]=n,r[d]=["function(require,module,exports){var f = require("+o(n)+");(f.default ? f.default : f)(self);}",g];var p={};function b(t){for(var e in p[t]=!0,r[t][1]){var n=r[t][1][e];p[n]||b(n)}}b(d);var w="("+i+")({"+Object.keys(p).map((function(t){return o(t)+":["+r[t][0]+","+o(r[t][1])+"]"})).join(",")+"},{},["+o(d)+"])",m=window.URL||window.webkitURL||window.mozURL||window.msURL,y=new Blob([w],{type:"text/javascript"});if(e&&e.bare)return y;var v=m.createObjectURL(y),x=new Worker(v);return x.objectURL=v,x}},{}],"/index.js":[function(t,e,n){"use strict";function i(t,e){return c(t)||s(t,e)||a(t,e)||r()}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function s(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,a=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(i=n.next()).done)&&(a.push(i.value),!e||a.length!==e);o=!0);}catch(t){s=!0,r=t}finally{try{o||null==n.return||n.return()}finally{if(s)throw r}}return a}}function c(t){if(Array.isArray(t))return t}var u=t("object-assign"),l=t("webworkify"),h=t("./lib/mathlib"),f=t("./lib/pool"),d=t("./lib/utils"),g=t("./lib/worker"),p=t("./lib/stepper"),b=t("./lib/tiler"),w={},m=!1;try{"undefined"!=typeof navigator&&navigator.userAgent&&(m=navigator.userAgent.indexOf("Safari")>=0)}catch(t){}var y=1;"undefined"!=typeof navigator&&(y=Math.min(navigator.hardwareConcurrency||1,4));var v={tile:1024,concurrency:y,features:["js","wasm","ww"],idle:2e3,createCanvas:function(t,e){var n=document.createElement("canvas");return n.width=t,n.height=e,n}},x={quality:3,alpha:!1,unsharpAmount:0,unsharpRadius:0,unsharpThreshold:0},k=!1,_=!1,A=!1,E=!1,T=!1;function C(){return{value:l(g),destroy:function(){if(this.value.terminate(),"undefined"!=typeof window){var t=window.URL||window.webkitURL||window.mozURL||window.msURL;t&&t.revokeObjectURL&&this.value.objectURL&&t.revokeObjectURL(this.value.objectURL)}}}}function S(t){if(!(this instanceof S))return new S(t);this.options=u({},v,t||{});var e="lk_".concat(this.options.concurrency);this.__limit=w[e]||d.limiter(this.options.concurrency),w[e]||(w[e]=this.__limit),this.features={js:!1,wasm:!1,cib:!1,ww:!1},this.__workersPool=null,this.__requested_features=[],this.__mathlib=null}S.prototype.init=function(){var e=this;if(this.__initPromise)return this.__initPromise;if("undefined"!=typeof ImageData&&"undefined"!=typeof Uint8ClampedArray)try{new ImageData(new Uint8ClampedArray(400),10,10),k=!0}catch(t){}"undefined"!=typeof ImageBitmap&&(ImageBitmap.prototype&&ImageBitmap.prototype.close?_=!0:this.debug("ImageBitmap does not support .close(), disabled"));var n=this.options.features.slice();if(n.indexOf("all")>=0&&(n=["cib","wasm","js","ww"]),this.__requested_features=n,this.__mathlib=new h(n),n.indexOf("ww")>=0&&"undefined"!=typeof window&&"Worker"in window)try{t("webworkify")((function(){})).terminate(),this.features.ww=!0;var i="wp_".concat(JSON.stringify(this.options));w[i]?this.__workersPool=w[i]:(this.__workersPool=new f(C,this.options.idle),w[i]=this.__workersPool)}catch(t){}var r,a,o=this.__mathlib.init().then((function(t){u(e.features,t.features)}));r=_?d.cib_support(this.options.createCanvas).then((function(t){e.features.cib&&n.indexOf("cib")<0?e.debug("createImageBitmap() resize supported, but disabled by config"):n.indexOf("cib")>=0&&(e.features.cib=t)})):Promise.resolve(!1),A=d.can_use_canvas(this.options.createCanvas),a=(a=_&&k&&-1!==n.indexOf("ww")?d.worker_offscreen_canvas_support():Promise.resolve(!1)).then((function(t){E=t}));var s=d.cib_can_use_region().then((function(t){T=t}));return this.__initPromise=Promise.all([o,r,a,s]).then((function(){return e})),this.__initPromise},S.prototype.__invokeResize=function(t,e){var n=this;return e.__mathCache=e.__mathCache||{},Promise.resolve().then((function(){return n.features.ww?new Promise((function(i,r){var a=n.__workersPool.acquire();e.cancelToken&&e.cancelToken.catch((function(t){return r(t)})),a.value.onmessage=function(t){a.release(),t.data.err?r(t.data.err):i(t.data)};var o=[];t.src&&o.push(t.src.buffer),t.srcBitmap&&o.push(t.srcBitmap),a.value.postMessage({opts:t,features:n.__requested_features,preload:{wasm_nodule:n.__mathlib.__}},o)})):{data:n.__mathlib.resizeAndUnsharp(t,e.__mathCache)}}))},S.prototype.__extractTileData=function(t,e,n,i,r){if(this.features.ww&&E&&(d.isCanvas(e)||T))return this.debug("Create tile for OffscreenCanvas"),createImageBitmap(i.srcImageBitmap||e,t.x,t.y,t.width,t.height).then((function(t){return r.srcBitmap=t,r}));if(d.isCanvas(e))return i.srcCtx||(i.srcCtx=e.getContext("2d",{alpha:Boolean(n.alpha)})),this.debug("Get tile pixel data"),r.src=i.srcCtx.getImageData(t.x,t.y,t.width,t.height).data,r;this.debug("Draw tile imageBitmap/image to temporary canvas");var a=this.options.createCanvas(t.width,t.height),o=a.getContext("2d",{alpha:Boolean(n.alpha)});return o.globalCompositeOperation="copy",o.drawImage(i.srcImageBitmap||e,t.x,t.y,t.width,t.height,0,0,t.width,t.height),this.debug("Get tile pixel data"),r.src=o.getImageData(0,0,t.width,t.height).data,a.width=a.height=0,r},S.prototype.__landTileData=function(t,e,n){var i;if(this.debug("Convert raw rgba tile result to ImageData"),e.bitmap)return n.toCtx.drawImage(e.bitmap,t.toX,t.toY),null;if(k)i=new ImageData(new Uint8ClampedArray(e.data),t.toWidth,t.toHeight);else if((i=n.toCtx.createImageData(t.toWidth,t.toHeight)).data.set)i.data.set(e.data);else for(var r=i.data.length-1;r>=0;r--)i.data[r]=e.data[r];return this.debug("Draw tile"),m?n.toCtx.putImageData(i,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth+1e-5,t.toInnerHeight+1e-5):n.toCtx.putImageData(i,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth,t.toInnerHeight),null},S.prototype.__tileAndResize=function(t,e,n){var i=this,r={srcCtx:null,srcImageBitmap:null,isImageBitmapReused:!1,toCtx:null},a=function(e){return i.__limit((function(){if(n.canceled)return n.cancelToken;var a={width:e.width,height:e.height,toWidth:e.toWidth,toHeight:e.toHeight,scaleX:e.scaleX,scaleY:e.scaleY,offsetX:e.offsetX,offsetY:e.offsetY,quality:n.quality,alpha:n.alpha,unsharpAmount:n.unsharpAmount,unsharpRadius:n.unsharpRadius,unsharpThreshold:n.unsharpThreshold};return i.debug("Invoke resize math"),Promise.resolve(a).then((function(a){return i.__extractTileData(e,t,n,r,a)})).then((function(t){return i.debug("Invoke resize math"),i.__invokeResize(t,n)})).then((function(t){return n.canceled?n.cancelToken:(r.srcImageData=null,i.__landTileData(e,t,r))}))}))};return Promise.resolve().then((function(){if(r.toCtx=e.getContext("2d",{alpha:Boolean(n.alpha)}),d.isCanvas(t))return null;if(d.isImageBitmap(t))return r.srcImageBitmap=t,r.isImageBitmapReused=!0,null;if(d.isImage(t))return _?(i.debug("Decode image via createImageBitmap"),createImageBitmap(t).then((function(t){r.srcImageBitmap=t})).catch((function(t){return null}))):null;throw new Error('Pica: ".from" should be Image, Canvas or ImageBitmap')})).then((function(){if(n.canceled)return n.cancelToken;i.debug("Calculate tiles");var t=b({width:n.width,height:n.height,srcTileSize:i.options.tile,toWidth:n.toWidth,toHeight:n.toHeight,destTileBorder:n.__destTileBorder}).map((function(t){return a(t)}));function o(t){t.srcImageBitmap&&(t.isImageBitmapReused||t.srcImageBitmap.close(),t.srcImageBitmap=null)}return i.debug("Process tiles"),Promise.all(t).then((function(){return i.debug("Finished!"),o(r),e}),(function(t){throw o(r),t}))}))},S.prototype.__processStages=function(t,e,n,r){var a=this;if(r.canceled)return r.cancelToken;var o,s=i(t.shift(),2),c=s[0],l=s[1],h=0===t.length;return r=u({},r,{toWidth:c,toHeight:l,quality:h?r.quality:Math.min(1,r.quality)}),h||(o=this.options.createCanvas(c,l)),this.__tileAndResize(e,h?n:o,r).then((function(){return h?n:(r.width=c,r.height=l,a.__processStages(t,o,n,r))})).then((function(t){return o&&(o.width=o.height=0),t}))},S.prototype.__resizeViaCreateImageBitmap=function(t,e,n){var i=this,r=e.getContext("2d",{alpha:Boolean(n.alpha)});return this.debug("Resize via createImageBitmap()"),createImageBitmap(t,{resizeWidth:n.toWidth,resizeHeight:n.toHeight,resizeQuality:d.cib_quality_name(n.quality)}).then((function(t){if(n.canceled)return n.cancelToken;if(!n.unsharpAmount)return r.drawImage(t,0,0),t.close(),r=null,i.debug("Finished!"),e;i.debug("Unsharp result");var a=i.options.createCanvas(n.toWidth,n.toHeight),o=a.getContext("2d",{alpha:Boolean(n.alpha)});o.drawImage(t,0,0),t.close();var s=o.getImageData(0,0,n.toWidth,n.toHeight);return i.__mathlib.unsharp_mask(s.data,n.toWidth,n.toHeight,n.unsharpAmount,n.unsharpRadius,n.unsharpThreshold),r.putImageData(s,0,0),a.width=a.height=0,s=o=a=r=null,i.debug("Finished!"),e}))},S.prototype.resize=function(t,e,n){var i=this;this.debug("Start resize...");var r=u({},x);if(isNaN(n)?n&&(r=u(r,n)):r=u(r,{quality:n}),r.toWidth=e.width,r.toHeight=e.height,r.width=t.naturalWidth||t.width,r.height=t.naturalHeight||t.height,0===e.width||0===e.height)return Promise.reject(new Error("Invalid output size: ".concat(e.width,"x").concat(e.height)));r.unsharpRadius>2&&(r.unsharpRadius=2),r.canceled=!1,r.cancelToken&&(r.cancelToken=r.cancelToken.then((function(t){throw r.canceled=!0,t}),(function(t){throw r.canceled=!0,t})));var a=3;return r.__destTileBorder=Math.ceil(Math.max(a,2.5*r.unsharpRadius|0)),this.init().then((function(){if(r.canceled)return r.cancelToken;if(i.features.cib)return i.__resizeViaCreateImageBitmap(t,e,r);if(!A){var n=new Error("Pica: cannot use getImageData on canvas, make sure fingerprinting protection isn't enabled");throw n.code="ERR_GET_IMAGE_DATA",n}var a=p(r.width,r.height,r.toWidth,r.toHeight,i.options.tile,r.__destTileBorder);return i.__processStages(a,t,e,r)}))},S.prototype.resizeBuffer=function(t){var e=this,n=u({},x,t);return this.init().then((function(){return e.__mathlib.resizeAndUnsharp(n)}))},S.prototype.toBlob=function(t,e,n){return e=e||"image/png",new Promise((function(i){if(t.toBlob)t.toBlob((function(t){return i(t)}),e,n);else if(t.convertToBlob)i(t.convertToBlob({type:e,quality:n}));else{for(var r=atob(t.toDataURL(e,n).split(",")[1]),a=r.length,o=new Uint8Array(a),s=0;s<a;s++)o[s]=r.charCodeAt(s);i(new Blob([o],{type:e}))}}))},S.prototype.debug=function(){},e.exports=S},{"./lib/mathlib":1,"./lib/pool":13,"./lib/stepper":14,"./lib/tiler":15,"./lib/utils":16,"./lib/worker":17,"object-assign":23,webworkify:24}]},{},[])("/index.js")},9632:function(t,e,n){"use strict";function i(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=Array.from("string"==typeof t?[t]:t);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var r=i.reduce((function(t,e){var n=e.match(/\n([\t ]+|(?!\s).)/g);return n?t.concat(n.map((function(t){var e,n;return null!==(n=null===(e=t.match(/[\t ]/g))||void 0===e?void 0:e.length)&&void 0!==n?n:0}))):t}),[]);if(r.length){var a=new RegExp("\n[\t ]{"+Math.min.apply(Math,r)+"}","g");i=i.map((function(t){return t.replace(a,"\n")}))}i[0]=i[0].replace(/^\r?\n/,"");var o=i[0];return e.forEach((function(t,e){var n=o.match(/(?:^|\n)( *)$/),r=n?n[1]:"",a=t;"string"==typeof t&&t.includes("\n")&&(a=String(t).split("\n").map((function(t,e){return 0===e?t:""+r+t})).join("\n")),o+=a+i[e+1]})),o}n.d(e,{Z:function(){return i}})},1049:function(t,e,n){"use strict";n.r(e),n.d(e,{parseMermaidToExcalidraw:function(){return F}});const i={rect:"rectangle",circle:"ellipse"};class r{constructor({converter:t}){this.convert=(t,e)=>this.converter(t,{...e,fontSize:e.fontSize||20}),this.converter=t}}var a,o,s;!function(t){t.ROUND="round",t.STADIUM="stadium",t.DOUBLECIRCLE="doublecircle",t.CIRCLE="circle",t.DIAMOND="diamond"}(a||(a={})),function(t){t.COLOR="color"}(o||(o={})),function(t){t.FILL="fill",t.STROKE="stroke",t.STROKE_WIDTH="stroke-width",t.STROKE_DASHARRAY="stroke-dasharray"}(s||(s={}));var c=n(5030);const u={arrow_circle:{endArrowhead:"dot"},arrow_cross:{endArrowhead:"bar"},double_arrow_circle:{endArrowhead:"dot",startArrowhead:"dot"},double_arrow_cross:{endArrowhead:"bar",startArrowhead:"bar"},double_arrow_point:{endArrowhead:"arrow",startArrowhead:"arrow"}},l=t=>{let e=t.text;return"markdown"===t.labelType&&(e=(0,c.K)(t.text)),h(e)},h=t=>t.replace(/\s?(fa|fab):[a-zA-Z0-9-]+/g,""),f=new r({converter:(t,e)=>{const n=[],i=e.fontSize,{getGroupIds:r,getParentId:c}=(t=>{const e={};t.subGraphs.map((n=>{n.nodeIds.forEach((i=>{e[n.id]={id:n.id,parent:null,isLeaf:!1},e[i]={id:i,parent:n.id,isLeaf:void 0!==t.vertices[i]}}))}));const n={};return[...Object.keys(t.vertices),...t.subGraphs.map((t=>t.id))].forEach((t=>{if(!e[t])return;let i=e[t];const r=[];for(i.isLeaf||r.push(`subgraph_group_${i.id}`);i.parent;)r.push(`subgraph_group_${i.parent}`),i=e[i.parent];n[t]=r})),{getGroupIds:t=>n[t]||[],getParentId:t=>e[t]?e[t].parent:null}})(t);return t.subGraphs.reverse().forEach((t=>{const e=r(t.id),a={id:t.id,type:"rectangle",groupIds:e,x:t.x,y:t.y,width:t.width,height:t.height,label:{groupIds:e,text:l(t),fontSize:i,verticalAlign:"top"}};n.push(a)})),Object.values(t.vertices).forEach((t=>{if(!t)return;const e=r(t.id),c=(t=>{const e={};return Object.keys(t).forEach((n=>{switch(n){case s.FILL:e.backgroundColor=t[n],e.fillStyle="solid";break;case s.STROKE:e.strokeColor=t[n];break;case s.STROKE_WIDTH:e.strokeWidth=Number(t[n]?.split("px")[0]);break;case s.STROKE_DASHARRAY:e.strokeStyle="dashed"}})),e})(t.containerStyle),u=(t=>{const e={};return Object.keys(t).forEach((n=>{n===o.COLOR&&(e.strokeColor=t[n])})),e})(t.labelStyle);let h={id:t.id,type:"rectangle",groupIds:e,x:t.x,y:t.y,width:t.width,height:t.height,strokeWidth:2,label:{groupIds:e,text:l(t),fontSize:i,...u},link:t.link||null,...c};switch(t.type){case a.STADIUM:case a.ROUND:h={...h,roundness:{type:3}};break;case a.DOUBLECIRCLE:{const r=5;e.push(`doublecircle_${t.id}}`);const a={type:"ellipse",groupIds:e,x:t.x+r,y:t.y+r,width:t.width-2*r,height:t.height-2*r,strokeWidth:2,roundness:{type:3},label:{groupIds:e,text:l(t),fontSize:i}};h={...h,groupIds:e,type:"ellipse"},n.push(a);break}case a.CIRCLE:h.type="ellipse";break;case a.DIAMOND:h.type="diamond"}n.push(h)})),t.edges.forEach((t=>{let e=[];const a=c(t.start),o=c(t.end);a&&a===o&&(e=r(a));const{startX:s,startY:h,reflectionPoints:f}=t,d=f.map((t=>[t.x-f[0].x,t.y-f[0].y])),g=(p=t.type,u[p]);var p;const b={id:`${t.start}_${t.end}`,type:"arrow",groupIds:e,x:s,y:h,strokeWidth:"thick"===t.stroke?4:2,strokeStyle:"dotted"===t.stroke?"dashed":void 0,points:d,...t.text?{label:{text:l(t),fontSize:i,groupIds:e}}:{},roundness:{type:2},...g},w=n.find((e=>e.id===t.start)),m=n.find((e=>e.id===t.end));w&&m&&(b.start={id:w.id||""},b.end={id:m.id||""},n.push(b))})),{elements:n}}});let d=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce(((t,e)=>t+=(e&=63)<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_"),"");const g=new r({converter:t=>{const e=d(),{width:n,height:i}=t,r={type:"image",x:0,y:0,width:n,height:i,status:"saved",fileId:e};return{files:{[e]:{id:e,mimeType:t.mimeType,dataURL:t.dataURL}},elements:[r]}}}),p={SOLID:"solid",DOTTED:"dotted",SOLID_CROSS:"solid",DOTTED_CROSS:"dotted",SOLID_OPEN:"solid",DOTTED_OPEN:"dotted",SOLID_POINT:"solid",DOTTED_POINT:"dotted"},b=t=>{const e={type:"line",x:t.startX,y:t.startY,points:[[0,0],[t.endX-t.startX,t.endY-t.startY]],width:t.endX-t.startX,height:t.endY-t.startY,strokeStyle:t.strokeStyle||"solid",strokeColor:t.strokeColor||"#000",strokeWidth:t.strokeWidth||1};return t.groupId&&Object.assign(e,{groupIds:[t.groupId]}),t.id&&Object.assign(e,{id:t.id}),e},w=t=>{const e={type:"text",x:t.x,y:t.y,width:t.width,height:t.height,text:t.text||"",fontSize:t.fontSize,verticalAlign:"middle"};return t.groupId&&Object.assign(e,{groupIds:[t.groupId]}),t.id&&Object.assign(e,{id:t.id}),e},m=t=>{let e={};"rectangle"===t.type&&"activation"===t.subtype&&(e={backgroundColor:"#e9ecef",fillStyle:"solid"});const n={id:t.id,type:t.type,x:t.x,y:t.y,width:t.width,height:t.height,label:{text:t?.label?.text||"",fontSize:t?.label?.fontSize,verticalAlign:"middle",strokeColor:t.label?.color||"#000"},strokeStyle:t?.strokeStyle,strokeWidth:t?.strokeWidth,strokeColor:t?.strokeColor,backgroundColor:t?.bgColor,fillStyle:"solid",...e};return t.groupId&&Object.assign(n,{groupIds:[t.groupId]}),n},y=new r({converter:t=>{const e=[],n=[];if(Object.values(t.nodes).forEach((t=>{t&&t.length&&t.forEach((t=>{let i;switch(t.type){case"line":i=b(t);break;case"rectangle":case"ellipse":i=m(t);break;case"text":i=w(t);break;default:throw`unknown type ${t.type}`}"rectangle"===t.type&&"activation"===t?.subtype?n.push(i):e.push(i)}))})),Object.values(t.lines).forEach((t=>{t&&e.push(b(t))})),Object.values(t.arrows).forEach((t=>{t&&(e.push((t=>{const e=p[t.strokeStyle],n={type:"arrow",x:t.startX,y:t.startY,points:t.points||[[0,0],[t.endX-t.startX,t.endY-t.startY]],width:t.endX-t.startX,height:t.endY-t.startY,strokeStyle:e,endArrowhead:"SOLID_OPEN"===t.strokeStyle||"DOTTED_OPEN"===t.strokeStyle?null:"arrow",label:{text:t?.label?.text||"",fontSize:16},roundness:{type:2}};return t.groupId&&Object.assign(n,{groupIds:[t.groupId]}),n})(t)),t.sequenceNumber&&e.push(m(t.sequenceNumber)))})),e.push(...n),t.loops){const{lines:n,texts:i,nodes:r}=t.loops;n.forEach((t=>{e.push(b(t))})),i.forEach((t=>{e.push(w(t))})),r.forEach((t=>{e.push(m(t))}))}return t.groups&&t.groups.forEach((t=>{const{actorKeys:n,name:i}=t;let r=1/0,a=1/0,o=0,s=0;if(!n.length)return;e.filter((t=>{if(t.id){const e=t.id.indexOf("-"),i=t.id.substring(0,e);return n.includes(i)}})).forEach((t=>{if(void 0===t.x||void 0===t.y||void 0===t.width||void 0===t.height)throw new Error(`Actor attributes missing ${t}`);r=Math.min(r,t.x),a=Math.min(a,t.y),o=Math.max(o,t.x+t.width),s=Math.max(s,t.y+t.height)}));const c=r-10,u=a-10,l=o-r+20,h=s-a+20,f=d(),g=m({type:"rectangle",x:c,y:u,width:l,height:h,bgColor:t.fill,id:f});e.unshift(g);const p=d(),b=[f];e.forEach((t=>{if("frame"!==t.type){if(void 0===t.x||void 0===t.y||void 0===t.width||void 0===t.height)throw new Error(`Element attributes missing ${t}`);if(t.x>=r&&t.x+t.width<=o&&t.y>=a&&t.y+t.height<=s){const e=t.id||d();t.id||Object.assign(t,{id:e}),b.push(e)}}}));const w={type:"frame",id:p,name:i,children:b};e.push(w)})),{elements:e}}});var v=n(8540);const x=t=>{const e=(t=_(t)).replace(/#(\d+);/g,"&#$1;").replace(/#([a-z]+);/g,"&$1;"),n=document.createElement("textarea");return n.innerHTML=e,n.value},k=t=>{const e=t.getAttribute("transform")?.match(/translate\(([\d.-]+),\s*([\d.-]+)\)/);let n=0,i=0;return e&&(n=Number(e[1]),i=Number(e[2])),{transformX:n,transformY:i}},_=function(t){return t.replace(/fl°°/g,"#").replace(/fl°/g,"&").replace(/¶ß/g,";")},A=(t,e)=>{if(!t)throw new Error("Element not found");let n=t.parentElement?.parentElement;const i=t.childNodes[0];let r={x:0,y:0};if(i){const{transformX:t,transformY:e}=k(i),n=i.getBBox();r={x:Number(i.getAttribute("x"))||t+n.x||0,y:Number(i.getAttribute("y"))||e+n.y||0}}const{transformX:a,transformY:o}=k(t),s={x:a+r.x,y:o+r.y};for(;n&&n.id!==e.id;){if("root"===n.classList.value&&n.hasAttribute("transform")){const{transformX:t,transformY:e}=k(n);s.x+=t,s.y+=e}n=n.parentElement}return s},E=(t,e={x:0,y:0})=>{if("path"!==t.tagName.toLowerCase())throw new Error(`Invalid input: Expected an HTMLElement of tag "path", got ${t.tagName}`);const n=t.getAttribute("d");if(!n)throw new Error('Path element does not contain a "d" attribute');const i=n.split(/(?=[LM])/),r=i[0].substring(1).split(",").map((t=>parseFloat(t))),a=i[i.length-1].substring(1).split(",").map((t=>parseFloat(t))),o=i.map((t=>{const e=t.substring(1).split(",").map((t=>parseFloat(t)));return{x:e[0],y:e[1]}})).filter(((t,e,n)=>{if(e===n.length-1)return!0;const i=n[e-1];return 0===e||t.x!==i.x&&t.y!==i.y})).map((t=>({x:t.x+e.x,y:t.y+e.y})));return{startX:r[0]+e.x,startY:r[1]+e.y,endX:a[0]+e.x,endY:a[1]+e.y,reflectionPoints:o}},T=(t,e)=>{t.parse();const n=t.parser.yy,i=n.getVertices();Object.keys(i).forEach((t=>{i[t]=((t,e)=>{const n=e.querySelector(`[id*="flowchart-${t.id}-"]`);if(!n)return;let i;"a"===n.parentElement?.tagName.toLowerCase()&&(i=n.parentElement.getAttribute("xlink:href"));const r=A(i?n.parentElement:n,e),a=n.getBBox(),o={width:a.width,height:a.height},s=n.querySelector(".label-container")?.getAttribute("style"),c=n.querySelector(".label")?.getAttribute("style"),u={};s?.split(";").forEach((t=>{if(!t)return;const e=t.split(":")[0].trim(),n=t.split(":")[1].trim();u[e]=n}));const l={};return c?.split(";").forEach((t=>{if(!t)return;const e=t.split(":")[0].trim(),n=t.split(":")[1].trim();l[e]=n})),{id:t.id,labelType:t.labelType,text:x(t.text),type:t.type,link:i||void 0,...r,...o,containerStyle:u,labelStyle:l}})(i[t],e)}));const r=n.getEdges().map((t=>((t,e)=>{const n=e.querySelector(`[id*="L-${t.start}-${t.end}"]`);if(!n)throw new Error("Edge element not found");const i=A(n,e),r=E(n,i);return t.length=void 0,{...t,...r,text:x(t.text)}})(t,e))),a=n.getSubGraphs().map((t=>((t,e)=>{const n=t.nodes.map((t=>t.startsWith("flowchart-")?t.split("-")[1]:t)),i=e.querySelector(`[id='${t.id}']`);if(!i)throw new Error("SubGraph element not found");const r=A(i,e),a=i.getBBox(),o={width:a.width,height:a.height};return t.classes=void 0,t.dir=void 0,{...t,nodeIds:n,...r,...o,text:x(t.title)}})(t,e)));return{type:"flowchart",subGraphs:a,vertices:i,edges:r}},C={0:"SOLID",1:"DOTTED",3:"SOLID_CROSS",4:"DOTTED_CROSS",5:"SOLID_OPEN",6:"DOTTED_OPEN",24:"SOLID_POINT",25:"DOTTED_POINT"},S=2,I=27,M=(t,e,n={})=>{const i={};i.type=e;const{text:r,subtype:a,id:o,groupId:s}=n;i.id=o,s&&(i.groupId=s),r&&(i.label={text:x(r),fontSize:16});const c=t.getBBox();switch(i.x=c.x,i.y=c.y,i.width=c.width,i.height=c.height,i.subtype=a,a){case"highlight":const e=t.getAttribute("fill");e&&(i.bgColor=e);break;case"note":i.strokeStyle="dashed"}return i},D=(t,e,n)=>{const i={},r=Number(t.getAttribute("x")),a=Number(t.getAttribute("y"));i.type="text",i.text=x(e),n?.id&&(i.id=n.id),n?.groupId&&(i.groupId=n.groupId);const o=t.getBBox();i.width=o.width,i.height=o.height,i.x=r-o.width/2,i.y=a;const s=parseInt(getComputedStyle(t).fontSize);return i.fontSize=s,i},O=(t,e,n,i,r,a)=>{const o={};return o.startX=e,o.startY=n,o.endX=i,a?.groupId&&(o.groupId=a.groupId),a?.id&&(o.id=a.id),o.endY=r,o.strokeColor=t.getAttribute("stroke"),o.strokeWidth=Number(t.getAttribute("stroke-width")),o.type="line",o},L=(t,e,n)=>{if(!t)throw"root node not found";const r=d(),a=Array.from(t.children),o=[];return a.forEach(((t,a)=>{const s=`${n?.id}-${a}`;let c;switch(t.tagName){case"line":const n=Number(t.getAttribute("x1")),a=Number(t.getAttribute("y1")),o=Number(t.getAttribute("x2")),u=Number(t.getAttribute("y2"));c=O(t,n,a,o,u,{groupId:r,id:s});break;case"text":c=D(t,e,{groupId:r,id:s});break;case"circle":c=M(t,"ellipse",{text:t.textContent||void 0,groupId:r,id:s});default:c=M(t,i[t.tagName],{text:t.textContent||void 0,groupId:r,id:s})}o.push(c)})),o},N=(t,e)=>{const n=[],i=Array.from(e.querySelectorAll('[class*="messageLine"]')),r=Object.keys(C),a=t.filter((t=>r.includes(t.type.toString())));return i.forEach(((t,e)=>{const i=((t,e)=>{const n={};n.label={text:x(e.message),fontSize:16};const i=t.tagName;if("line"===i)n.startX=Number(t.getAttribute("x1")),n.startY=Number(t.getAttribute("y1")),n.endX=Number(t.getAttribute("x2")),n.endY=Number(t.getAttribute("y2"));else if("path"===i){const e=t.getAttribute("d");if(!e)throw new Error('Path element does not contain a "d" attribute');const i=e.split(/(?=[LC])/),r=i[0].substring(1).split(",").map((t=>parseFloat(t))),a=[];i.forEach((t=>{const e=t.substring(1).trim().split(" ").map((t=>{const[e,n]=t.split(",");return[parseFloat(e)-r[0],parseFloat(n)-r[1]]}));a.push(...e)}));const o=a[a.length-1];n.startX=r[0],n.startY=r[1],n.endX=o[0],n.endY=o[1],n.points=a}if(e){const t=10;n.startY=n.startY-t,n.endY=n.endY-t}if(t.nextElementSibling?.classList.contains("sequenceNumber")){const e=t.nextElementSibling?.textContent;if(!e)throw new Error("sequence number not present");const i=30,r=i/2,a=10,o={type:"rectangle",x:n.startX-a,y:n.startY-r,label:{text:e,fontSize:14},bgColor:"#e9ecef",height:i,subtype:"sequence"};n.sequenceNumber=o}return n.strokeColor=t.getAttribute("stroke"),n.strokeWidth=Number(t.getAttribute("stroke-width")),n.type="arrow",n.strokeStyle=C[e.type],n})(t,a[e]);n.push(i)})),n},P=(t,e)=>{t.parse();const n=t.parser.yy,i=[],r=n.getBoxes(),a=(t=>{const e=Array.from(t.querySelectorAll(".rect")).filter((t=>"g"!==t.parentElement?.tagName)),n=[];return e.forEach((t=>{const e=M(t,"rectangle",{text:"",subtype:"highlight"});n.push(e)})),n})(e),o=n.getActors(),{nodes:s,lines:c}=((t,e)=>{const n=Array.from(e.querySelectorAll(".actor")).filter((t=>"text"===t.tagName)).map((t=>"text"===t.tagName&&t.parentElement)),i=[],r=[],a=Object.keys(t).length;return Object.values(t).forEach(((t,e)=>{const o=n[e],s=n[a+e];if(!o)throw"root not found";const c=t.description;if("participant"===t.type){const e=M(o.firstChild,"rectangle",{id:`${t.name}-top`,text:c,subtype:"actor"});if(!e)throw"Top Node element not found!";i.push([e]);const n=M(s.firstChild,"rectangle",{id:`${t.name}-bottom`,text:c,subtype:"actor"});i.push([n]);const a=o.previousElementSibling;if("line"!==a?.tagName)throw"Line not found";const u=Number(a.getAttribute("x1"));if(!e.height)throw"Top node element height is null";const l=e.y+e.height,h=n.y,f=Number(a.getAttribute("x2")),d=O(a,u,l,f,h);r.push(d)}else if("actor"===t.type){const e=L(o,c,{id:`${t.name}-top`});i.push(e);const n=L(s,c,{id:`${t.name}-bottom`});i.push(n);const a=o.previousElementSibling;if("line"!==a?.tagName)throw"Line not found";const u=Number(a.getAttribute("x1")),l=Number(a.getAttribute("y1")),h=Number(a.getAttribute("x2")),f=n.find((t=>"ellipse"===t.type));if(f){const t=f.y,e=O(a,u,l,h,t);r.push(e)}}})),{nodes:i,lines:r}})(o,e),u=n.getMessages(),l=N(u,e),h=((t,e)=>{const n=Array.from(e.querySelectorAll(".note")).map((t=>t.parentElement)),i=t.filter((t=>t.type===S)),r=[];return n.forEach(((t,e)=>{if(!t)return;const n=t.firstChild,a=i[e].message,o=M(n,"rectangle",{text:a,subtype:"note"});r.push(o)})),r})(u,e),f=(t=>{const e=Array.from(t.querySelectorAll("[class*=activation]")),n=[];return e.forEach((t=>{const e=M(t,"rectangle",{text:"",subtype:"activation"});n.push(e)})),n})(e),d=((t,e)=>{const n=Array.from(e.querySelectorAll(".loopLine")),i=[],r=[],a=[];n.forEach((t=>{const e=Number(t.getAttribute("x1")),n=Number(t.getAttribute("y1")),r=Number(t.getAttribute("x2")),a=Number(t.getAttribute("y2")),o=O(t,e,n,r,a);o.strokeStyle="dotted",o.strokeColor="#adb5bd",o.strokeWidth=2,i.push(o)}));const o=Array.from(e.querySelectorAll(".loopText")),s=t.filter((t=>t.type===I)).map((t=>t.message));o.forEach((t=>{const e=t.textContent||"",n=D(t,e),i=e.match(/\[(.*?)\]/)?.[1]||"";s.includes(i)&&(n.x+=16),r.push(n)}));const c=Array.from(e?.querySelectorAll(".labelBox")),u=Array.from(e?.querySelectorAll(".labelText"));return c.forEach(((t,e)=>{const n=u[e]?.textContent||"",i=M(t,"rectangle",{text:n});i.strokeColor="#adb5bd",i.bgColor="#e9ecef",i.width=void 0,a.push(i)})),{lines:i,texts:r,nodes:a}})(u,e);return i.push(a),i.push(...s),i.push(h),i.push(f),{type:"sequence",lines:c,arrows:l,nodes:i,loops:d,groups:r}},B=async t=>{v.K.initialize({startOnLoad:!1,flowchart:{curve:"linear"},themeVariables:{fontSize:"25px"}});const e=await v.K.mermaidAPI.getDiagramFromText((t=>{let e=t;return e=e.replace(/style.*:\S*#.*;/g,(t=>t.substring(0,t.length-1))),e=e.replace(/classDef.*:\S*#.*;/g,(t=>t.substring(0,t.length-1))),e=e.replace(/#\w+;/g,(t=>{const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?`fl°°${e}¶ß`:`fl°${e}¶ß`})),e})(t)),{svg:n}=await v.K.render("mermaid-to-excalidraw",t),i=document.createElement("div");let r;switch(i.setAttribute("style","opacity: 0; position: relative; z-index: -1;"),i.innerHTML=n,i.id="mermaid-diagram",document.body.appendChild(i),e.type){case"flowchart-v2":r=T(e,i);break;case"sequence":r=P(e,i);break;default:r=(t=>{const e=t.querySelector("svg");if(!e)throw new Error("SVG element not found");const n=e.getBoundingClientRect(),i=n.width,r=n.height;e.setAttribute("width",`${i}`),e.setAttribute("height",`${r}`);const a=unescape(encodeURIComponent(e.outerHTML));return{type:"graphImage",mimeType:"image/svg+xml",dataURL:`data:image/svg+xml;base64,${btoa(a)}`,width:i,height:r}})(i)}return i.remove(),r},F=async(t,e={})=>{const n=((t,e={})=>{switch(t.type){case"graphImage":return g.convert(t,e);case"flowchart":return f.convert(t,e);case"sequence":return y.convert(t,e);default:throw new Error(`graphToExcalidraw: unknown graph type "${t.type}, only flowcharts are supported!"`)}})(await B(t),e);return n}},1504:function(t,e,n){"use strict";function i(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n<e||void 0===n&&e>=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n<r||void 0===n&&r>=r)&&(n=r)}return n}function r(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n>r||void 0===n&&r>=r)&&(n=r)}return n}function a(t){return t}n.d(e,{Nb1:function(){return os},LLu:function(){return g},F5q:function(){return d},$0Z:function(){return ys},Dts:function(){return xs},WQY:function(){return _s},qpX:function(){return Es},u93:function(){return Ts},tFB:function(){return Ss},YY7:function(){return Ds},OvA:function(){return Ls},dCK:function(){return Ps},zgE:function(){return Rs},fGX:function(){return $s},$m7:function(){return qs},c_6:function(){return us},fxm:function(){return Us},FdL:function(){return Qs},ak_:function(){return Js},SxZ:function(){return nc},eA_:function(){return rc},jsv:function(){return oc},iJ:function(){return ac},JHv:function(){return fi},jvg:function(){return fs},Fp7:function(){return i},VV$:function(){return r},ve8:function(){return ps},BYU:function(){return ar},PKp:function(){return fr},Xf:function(){return Io},Ys:function(){return Mo},td_:function(){return Do},YPS:function(){return Zn},rr1:function(){return Ir},i$Z:function(){return sa},WQD:function(){return Cr},Z_i:function(){return Er},F0B:function(){return Wr},NGh:function(){return Lr}});var o=1e-6;function s(t){return"translate("+t+",0)"}function c(t){return"translate(0,"+t+")"}function u(t){return e=>+t(e)}function l(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function h(){return!this.__axis}function f(t,e){var n=[],i=null,r=null,f=6,d=6,g=3,p="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,b=1===t||4===t?-1:1,w=4===t||2===t?"x":"y",m=1===t||3===t?s:c;function y(s){var c=null==i?e.ticks?e.ticks.apply(e,n):e.domain():i,y=null==r?e.tickFormat?e.tickFormat.apply(e,n):a:r,v=Math.max(f,0)+g,x=e.range(),k=+x[0]+p,_=+x[x.length-1]+p,A=(e.bandwidth?l:u)(e.copy(),p),E=s.selection?s.selection():s,T=E.selectAll(".domain").data([null]),C=E.selectAll(".tick").data(c,e).order(),S=C.exit(),I=C.enter().append("g").attr("class","tick"),M=C.select("line"),D=C.select("text");T=T.merge(T.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),C=C.merge(I),M=M.merge(I.append("line").attr("stroke","currentColor").attr(w+"2",b*f)),D=D.merge(I.append("text").attr("fill","currentColor").attr(w,b*v).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),s!==E&&(T=T.transition(s),C=C.transition(s),M=M.transition(s),D=D.transition(s),S=S.transition(s).attr("opacity",o).attr("transform",(function(t){return isFinite(t=A(t))?m(t+p):this.getAttribute("transform")})),I.attr("opacity",o).attr("transform",(function(t){var e=this.parentNode.__axis;return m((e&&isFinite(e=e(t))?e:A(t))+p)}))),S.remove(),T.attr("d",4===t||2===t?d?"M"+b*d+","+k+"H"+p+"V"+_+"H"+b*d:"M"+p+","+k+"V"+_:d?"M"+k+","+b*d+"V"+p+"H"+_+"V"+b*d:"M"+k+","+p+"H"+_),C.attr("opacity",1).attr("transform",(function(t){return m(A(t)+p)})),M.attr(w+"2",b*f),D.attr(w,b*v).text(y),E.filter(h).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),E.each((function(){this.__axis=A}))}return y.scale=function(t){return arguments.length?(e=t,y):e},y.ticks=function(){return n=Array.from(arguments),y},y.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),y):n.slice()},y.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),y):i&&i.slice()},y.tickFormat=function(t){return arguments.length?(r=t,y):r},y.tickSize=function(t){return arguments.length?(f=d=+t,y):f},y.tickSizeInner=function(t){return arguments.length?(f=+t,y):f},y.tickSizeOuter=function(t){return arguments.length?(d=+t,y):d},y.tickPadding=function(t){return arguments.length?(g=+t,y):g},y.offset=function(t){return arguments.length?(p=+t,y):p},y}function d(t){return f(1,t)}function g(t){return f(3,t)}function p(){}function b(t){return null==t?p:function(){return this.querySelector(t)}}function w(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function m(){return[]}function y(t){return null==t?m:function(){return this.querySelectorAll(t)}}function v(t){return function(){return this.matches(t)}}function x(t){return function(e){return e.matches(t)}}var k=Array.prototype.find;function _(){return this.firstElementChild}var A=Array.prototype.filter;function E(){return Array.from(this.children)}function T(t){return new Array(t.length)}function C(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function S(t){return function(){return t}}function I(t,e,n,i,r,a){for(var o,s=0,c=e.length,u=a.length;s<u;++s)(o=e[s])?(o.__data__=a[s],i[s]=o):n[s]=new C(t,a[s]);for(;s<c;++s)(o=e[s])&&(r[s]=o)}function M(t,e,n,i,r,a,o){var s,c,u,l=new Map,h=e.length,f=a.length,d=new Array(h);for(s=0;s<h;++s)(c=e[s])&&(d[s]=u=o.call(c,c.__data__,s,e)+"",l.has(u)?r[s]=c:l.set(u,c));for(s=0;s<f;++s)u=o.call(t,a[s],s,a)+"",(c=l.get(u))?(i[s]=c,c.__data__=a[s],l.delete(u)):n[s]=new C(t,a[s]);for(s=0;s<h;++s)(c=e[s])&&l.get(d[s])===c&&(r[s]=c)}function D(t){return t.__data__}function O(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function L(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}C.prototype={constructor:C,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",P={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 B(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),P.hasOwnProperty(e)?{space:P[e],local:t}:t}function F(t){return function(){this.removeAttribute(t)}}function R(t){return function(){this.removeAttributeNS(t.space,t.local)}}function j(t,e){return function(){this.setAttribute(t,e)}}function $(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function z(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function q(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function H(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function U(t){return function(){this.style.removeProperty(t)}}function G(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Y(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function Z(t,e){return t.style.getPropertyValue(e)||H(t).getComputedStyle(t,null).getPropertyValue(e)}function W(t){return function(){delete this[t]}}function K(t,e){return function(){this[t]=e}}function X(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function V(t){return t.trim().split(/^|\s+/)}function Q(t){return t.classList||new J(t)}function J(t){this._node=t,this._names=V(t.getAttribute("class")||"")}function tt(t,e){for(var n=Q(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function et(t,e){for(var n=Q(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function nt(t){return function(){tt(this,t)}}function it(t){return function(){et(this,t)}}function rt(t,e){return function(){(e.apply(this,arguments)?tt:et)(this,t)}}function at(){this.textContent=""}function ot(t){return function(){this.textContent=t}}function st(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function ct(){this.innerHTML=""}function ut(t){return function(){this.innerHTML=t}}function lt(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function ht(){this.nextSibling&&this.parentNode.appendChild(this)}function ft(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function dt(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===N&&e.documentElement.namespaceURI===N?e.createElement(t):e.createElementNS(n,t)}}function gt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function pt(t){var e=B(t);return(e.local?gt:dt)(e)}function bt(){return null}function wt(){var t=this.parentNode;t&&t.removeChild(this)}function mt(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function yt(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function vt(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function xt(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,a=e.length;i<a;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++r]=n:this.removeEventListener(n.type,n.listener,n.options);++r?e.length=r:delete this.__on}}}function kt(t,e,n){return function(){var i,r=this.__on,a=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(r)for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===t.type&&i.name===t.name)return this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),void(i.value=e);this.addEventListener(t.type,a,n),i={type:t.type,name:t.name,value:e,listener:a,options:n},r?r.push(i):this.__on=[i]}}function _t(t,e,n){var i=H(t),r=i.CustomEvent;"function"==typeof r?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function At(t,e){return function(){return _t(this,t,e)}}function Et(t,e){return function(){return _t(this,t,e.apply(this,arguments))}}J.prototype={add:function(t){this._names.indexOf(t)<0&&(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 Tt=[null];function Ct(t,e){this._groups=t,this._parents=e}function St(){return new Ct([[document.documentElement]],Tt)}Ct.prototype=St.prototype={constructor:Ct,select:function(t){"function"!=typeof t&&(t=b(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o,s=e[r],c=s.length,u=i[r]=new Array(c),l=0;l<c;++l)(a=s[l])&&(o=t.call(a,a.__data__,l,s))&&("__data__"in a&&(o.__data__=a.__data__),u[l]=o);return new Ct(i,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){return w(t.apply(this,arguments))}}(t):y(t);for(var e=this._groups,n=e.length,i=[],r=[],a=0;a<n;++a)for(var o,s=e[a],c=s.length,u=0;u<c;++u)(o=s[u])&&(i.push(t.call(o,o.__data__,u,s)),r.push(o));return new Ct(i,r)},selectChild:function(t){return this.select(null==t?_:function(t){return function(){return k.call(this.children,t)}}("function"==typeof t?t:x(t)))},selectChildren:function(t){return this.selectAll(null==t?E:function(t){return function(){return A.call(this.children,t)}}("function"==typeof t?t:x(t)))},filter:function(t){"function"!=typeof t&&(t=v(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o=e[r],s=o.length,c=i[r]=[],u=0;u<s;++u)(a=o[u])&&t.call(a,a.__data__,u,o)&&c.push(a);return new Ct(i,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,D);var n=e?M:I,i=this._parents,r=this._groups;"function"!=typeof t&&(t=S(t));for(var a=r.length,o=new Array(a),s=new Array(a),c=new Array(a),u=0;u<a;++u){var l=i[u],h=r[u],f=h.length,d=O(t.call(l,l&&l.__data__,u,i)),g=d.length,p=s[u]=new Array(g),b=o[u]=new Array(g),w=c[u]=new Array(f);n(l,h,p,b,w,d,e);for(var m,y,v=0,x=0;v<g;++v)if(m=p[v]){for(v>=x&&(x=v+1);!(y=b[x])&&++x<g;);m._next=y||null}}return(o=new Ct(o,i))._enter=s,o._exit=c,o},enter:function(){return new Ct(this._enter||this._groups.map(T),this._parents)},exit:function(){return new Ct(this._exit||this._groups.map(T),this._parents)},join:function(t,e,n){var i=this.enter(),r=this,a=this.exit();return"function"==typeof t?(i=t(i))&&(i=i.selection()):i=i.append(t+""),null!=e&&(r=e(r))&&(r=r.selection()),null==n?a.remove():n(a),i&&r?i.merge(r).order():r},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,a=i.length,o=Math.min(r,a),s=new Array(r),c=0;c<o;++c)for(var u,l=n[c],h=i[c],f=l.length,d=s[c]=new Array(f),g=0;g<f;++g)(u=l[g]||h[g])&&(d[g]=u);for(;c<r;++c)s[c]=n[c];return new Ct(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i,r=t[e],a=r.length-1,o=r[a];--a>=0;)(i=r[a])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=L);for(var n=this._groups,i=n.length,r=new Array(i),a=0;a<i;++a){for(var o,s=n[a],c=s.length,u=r[a]=new Array(c),l=0;l<c;++l)(o=s[l])&&(u[l]=o);u.sort(e)}return new Ct(r,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,a=i.length;r<a;++r){var o=i[r];if(o)return o}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r,a=e[n],o=0,s=a.length;o<s;++o)(r=a[o])&&t.call(r,r.__data__,o,a);return this},attr:function(t,e){var n=B(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?R:F:"function"==typeof e?n.local?q:z:n.local?$:j)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?U:"function"==typeof e?Y:G)(t,e,null==n?"":n)):Z(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?W:"function"==typeof e?X:K)(t,e)):this.node()[t]},classed:function(t,e){var n=V(t+"");if(arguments.length<2){for(var i=Q(this.node()),r=-1,a=n.length;++r<a;)if(!i.contains(n[r]))return!1;return!0}return this.each(("function"==typeof e?rt:e?nt:it)(n,e))},text:function(t){return arguments.length?this.each(null==t?at:("function"==typeof t?st:ot)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?ct:("function"==typeof t?lt:ut)(t)):this.node().innerHTML},raise:function(){return this.each(ht)},lower:function(){return this.each(ft)},append:function(t){var e="function"==typeof t?t:pt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:pt(t),i=null==e?bt:"function"==typeof e?e:b(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(wt)},clone:function(t){return this.select(t?yt:mt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var i,r,a=vt(t+""),o=a.length;if(!(arguments.length<2)){for(s=e?kt:xt,i=0;i<o;++i)this.each(s(a[i],e,n));return this}var s=this.node().__on;if(s)for(var c,u=0,l=s.length;u<l;++u)for(i=0,c=s[u];i<o;++i)if((r=a[i]).type===c.type&&r.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"==typeof e?Et:At)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i,r=t[e],a=0,o=r.length;a<o;++a)(i=r[a])&&(yield i)}};var It=St,Mt={value:()=>{}};function Dt(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t);i[t]=[]}return new Ot(i)}function Ot(t){this._=t}function Lt(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",i=t.indexOf(".");if(i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function Nt(t,e){for(var n,i=0,r=t.length;i<r;++i)if((n=t[i]).name===e)return n.value}function Pt(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=Mt,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:e,value:n}),t}Ot.prototype=Dt.prototype={constructor:Ot,on:function(t,e){var n,i=this._,r=Lt(t+"",i),a=-1,o=r.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a<o;)if(n=(t=r[a]).type)i[n]=Pt(i[n],t.name,e);else if(null==e)for(n in i)i[n]=Pt(i[n],t.name,null);return this}for(;++a<o;)if((n=(t=r[a]).type)&&(n=Nt(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Ot(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,i,r=new Array(n),a=0;a<n;++a)r[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=0,n=(i=this._[t]).length;a<n;++a)i[a].value.apply(e,r)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,a=i.length;r<a;++r)i[r].value.apply(e,n)}};var Bt,Ft,Rt=Dt,jt=0,$t=0,zt=0,qt=0,Ht=0,Ut=0,Gt="object"==typeof performance&&performance.now?performance:Date,Yt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Zt(){return Ht||(Yt(Wt),Ht=Gt.now()+Ut)}function Wt(){Ht=0}function Kt(){this._call=this._time=this._next=null}function Xt(t,e,n){var i=new Kt;return i.restart(t,e,n),i}function Vt(){Ht=(qt=Gt.now())+Ut,jt=$t=0;try{!function(){Zt(),++jt;for(var t,e=Bt;e;)(t=Ht-e._time)>=0&&e._call.call(void 0,t),e=e._next;--jt}()}finally{jt=0,function(){var t,e,n=Bt,i=1/0;for(;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Bt=e);Ft=t,Jt(i)}(),Ht=0}}function Qt(){var t=Gt.now(),e=t-qt;e>1e3&&(Ut-=e,qt=t)}function Jt(t){jt||($t&&($t=clearTimeout($t)),t-Ht>24?(t<1/0&&($t=setTimeout(Vt,t-Gt.now()-Ut)),zt&&(zt=clearInterval(zt))):(zt||(qt=Gt.now(),zt=setInterval(Qt,1e3)),jt=1,Yt(Vt)))}function te(t,e,n){var i=new Kt;return e=null==e?0:+e,i.restart((n=>{i.stop(),t(n+e)}),e,n),i}Kt.prototype=Xt.prototype={constructor:Kt,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Zt():+n)+(null==e?0:+e),this._next||Ft===this||(Ft?Ft._next=this:Bt=this,Ft=this),this._call=t,this._time=n,Jt()},stop:function(){this._call&&(this._call=null,this._time=1/0,Jt())}};var ee=Rt("start","end","cancel","interrupt"),ne=[];function ie(t,e,n,i,r,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var i,r=t.__transition;function a(t){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)}function o(a){var u,l,h,f;if(1!==n.state)return c();for(u in r)if((f=r[u]).name===n.name){if(3===f.state)return te(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete r[u]):+u<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete r[u])}if(te((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(a))})),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,i=new Array(h=n.tween.length),u=0,l=-1;u<h;++u)(f=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(i[++l]=f);i.length=l+1}}function s(e){for(var r=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(c),n.state=5,1),a=-1,o=i.length;++a<o;)i[a].call(t,r);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){for(var i in n.state=6,n.timer.stop(),delete r[e],r)return;delete t.__transition}r[e]=n,n.timer=Xt(a,0,n.time)}(t,n,{name:e,index:i,group:r,on:ee,tween:ne,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function re(t,e){var n=oe(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function ae(t,e){var n=oe(t,e);if(n.state>3)throw new Error("too late; already running");return n}function oe(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function se(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var ce,ue=180/Math.PI,le={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function he(t,e,n,i,r,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*i)&&(n-=t*c,i-=e*c),(s=Math.sqrt(n*n+i*i))&&(n/=s,i/=s,c/=s),t*i<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:r,translateY:a,rotate:Math.atan2(e,t)*ue,skewX:Math.atan(c)*ue,scaleX:o,scaleY:s}}function fe(t,e,n,i){function r(t){return t.length?t.pop()+" ":""}return function(a,o){var s=[],c=[];return a=t(a),o=t(o),function(t,i,r,a,o,s){if(t!==r||i!==a){var c=o.push("translate(",null,e,null,n);s.push({i:c-4,x:se(t,r)},{i:c-2,x:se(i,a)})}else(r||a)&&o.push("translate("+r+e+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,s,c),function(t,e,n,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(r(n)+"rotate(",null,i)-2,x:se(t,e)})):e&&n.push(r(n)+"rotate("+e+i)}(a.rotate,o.rotate,s,c),function(t,e,n,a){t!==e?a.push({i:n.push(r(n)+"skewX(",null,i)-2,x:se(t,e)}):e&&n.push(r(n)+"skewX("+e+i)}(a.skewX,o.skewX,s,c),function(t,e,n,i,a,o){if(t!==n||e!==i){var s=a.push(r(a)+"scale(",null,",",null,")");o.push({i:s-4,x:se(t,n)},{i:s-2,x:se(e,i)})}else 1===n&&1===i||a.push(r(a)+"scale("+n+","+i+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,c),a=o=null,function(t){for(var e,n=-1,i=c.length;++n<i;)s[(e=c[n]).i]=e.x(t);return s.join("")}}}var de=fe((function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?le:he(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),ge=fe((function(t){return null==t?le:(ce||(ce=document.createElementNS("http://www.w3.org/2000/svg","g")),ce.setAttribute("transform",t),(t=ce.transform.baseVal.consolidate())?he((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):le)}),", ",")",")");function pe(t,e){var n,i;return function(){var r=ae(this,t),a=r.tween;if(a!==n)for(var o=0,s=(i=n=a).length;o<s;++o)if(i[o].name===e){(i=i.slice()).splice(o,1);break}r.tween=i}}function be(t,e,n){var i,r;if("function"!=typeof n)throw new Error;return function(){var a=ae(this,t),o=a.tween;if(o!==i){r=(i=o).slice();for(var s={name:e,value:n},c=0,u=r.length;c<u;++c)if(r[c].name===e){r[c]=s;break}c===u&&r.push(s)}a.tween=r}}function we(t,e,n){var i=t._id;return t.each((function(){var t=ae(this,i);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return oe(t,i).value[e]}}function me(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function ye(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function ve(){}var xe=.7,ke=1/xe,_e="\\s*([+-]?\\d+)\\s*",Ae="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ee="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Te=/^#([0-9a-f]{3,8})$/,Ce=new RegExp(`^rgb\\(${_e},${_e},${_e}\\)$`),Se=new RegExp(`^rgb\\(${Ee},${Ee},${Ee}\\)$`),Ie=new RegExp(`^rgba\\(${_e},${_e},${_e},${Ae}\\)$`),Me=new RegExp(`^rgba\\(${Ee},${Ee},${Ee},${Ae}\\)$`),De=new RegExp(`^hsl\\(${Ae},${Ee},${Ee}\\)$`),Oe=new RegExp(`^hsla\\(${Ae},${Ee},${Ee},${Ae}\\)$`),Le={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ne(){return this.rgb().formatHex()}function Pe(){return this.rgb().formatRgb()}function Be(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Te.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Fe(e):3===n?new ze(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Re(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Re(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=Ce.exec(t))?new ze(e[1],e[2],e[3],1):(e=Se.exec(t))?new ze(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ie.exec(t))?Re(e[1],e[2],e[3],e[4]):(e=Me.exec(t))?Re(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=De.exec(t))?Ze(e[1],e[2]/100,e[3]/100,1):(e=Oe.exec(t))?Ze(e[1],e[2]/100,e[3]/100,e[4]):Le.hasOwnProperty(t)?Fe(Le[t]):"transparent"===t?new ze(NaN,NaN,NaN,0):null}function Fe(t){return new ze(t>>16&255,t>>8&255,255&t,1)}function Re(t,e,n,i){return i<=0&&(t=e=n=NaN),new ze(t,e,n,i)}function je(t){return t instanceof ve||(t=Be(t)),t?new ze((t=t.rgb()).r,t.g,t.b,t.opacity):new ze}function $e(t,e,n,i){return 1===arguments.length?je(t):new ze(t,e,n,null==i?1:i)}function ze(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function qe(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}`}function He(){const t=Ue(this.opacity);return`${1===t?"rgb(":"rgba("}${Ge(this.r)}, ${Ge(this.g)}, ${Ge(this.b)}${1===t?")":`, ${t})`}`}function Ue(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ge(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ye(t){return((t=Ge(t))<16?"0":"")+t.toString(16)}function Ze(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Ke(t,e,n,i)}function We(t){if(t instanceof Ke)return new Ke(t.h,t.s,t.l,t.opacity);if(t instanceof ve||(t=Be(t)),!t)return new Ke;if(t instanceof Ke)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),a=Math.max(e,n,i),o=NaN,s=a-r,c=(a+r)/2;return s?(o=e===a?(n-i)/s+6*(n<i):n===a?(i-e)/s+2:(e-n)/s+4,s/=c<.5?a+r:2-a-r,o*=60):s=c>0&&c<1?0:o,new Ke(o,s,c,t.opacity)}function Ke(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function Xe(t){return(t=(t||0)%360)<0?t+360:t}function Ve(t){return Math.max(0,Math.min(1,t||0))}function Qe(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Je(t,e,n,i,r){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*i+o*r)/6}me(ve,Be,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ne,formatHex:Ne,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return We(this).formatHsl()},formatRgb:Pe,toString:Pe}),me(ze,$e,ye(ve,{brighter(t){return t=null==t?ke:Math.pow(ke,t),new ze(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?xe:Math.pow(xe,t),new ze(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ze(Ge(this.r),Ge(this.g),Ge(this.b),Ue(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:qe,formatHex:qe,formatHex8:function(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}${Ye(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:He,toString:He})),me(Ke,(function(t,e,n,i){return 1===arguments.length?We(t):new Ke(t,e,n,null==i?1:i)}),ye(ve,{brighter(t){return t=null==t?ke:Math.pow(ke,t),new Ke(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?xe:Math.pow(xe,t),new Ke(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new ze(Qe(t>=240?t-240:t+120,r,i),Qe(t,r,i),Qe(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new Ke(Xe(this.h),Ve(this.s),Ve(this.l),Ue(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(){const t=Ue(this.opacity);return`${1===t?"hsl(":"hsla("}${Xe(this.h)}, ${100*Ve(this.s)}%, ${100*Ve(this.l)}%${1===t?")":`, ${t})`}`}}));var tn=t=>()=>t;function en(t,e){return function(n){return t+n*e}}function nn(t){return 1==(t=+t)?rn:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}(e,n,t):tn(isNaN(e)?n:e)}}function rn(t,e){var n=e-t;return n?en(t,n):tn(isNaN(t)?e:t)}var an=function t(e){var n=nn(e);function i(t,e){var i=n((t=$e(t)).r,(e=$e(e)).r),r=n(t.g,e.g),a=n(t.b,e.b),o=rn(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=r(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function on(t){return function(e){var n,i,r=e.length,a=new Array(r),o=new Array(r),s=new Array(r);for(n=0;n<r;++n)i=$e(e[n]),a[n]=i.r||0,o[n]=i.g||0,s[n]=i.b||0;return a=t(a),o=t(o),s=t(s),i.opacity=1,function(t){return i.r=a(t),i.g=o(t),i.b=s(t),i+""}}}on((function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),r=t[i],a=t[i+1],o=i>0?t[i-1]:2*r-a,s=i<e-1?t[i+2]:2*a-r;return Je((n-i/e)*e,o,r,a,s)}})),on((function(t){var e=t.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*e),r=t[(i+e-1)%e],a=t[i%e],o=t[(i+1)%e],s=t[(i+2)%e];return Je((n-i/e)*e,r,a,o,s)}}));var sn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,cn=new RegExp(sn.source,"g");function un(t,e){var n,i,r,a=sn.lastIndex=cn.lastIndex=0,o=-1,s=[],c=[];for(t+="",e+="";(n=sn.exec(t))&&(i=cn.exec(e));)(r=i.index)>a&&(r=e.slice(a,r),s[o]?s[o]+=r:s[++o]=r),(n=n[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:se(n,i)})),a=cn.lastIndex;return a<e.length&&(r=e.slice(a),s[o]?s[o]+=r:s[++o]=r),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,i=0;i<e;++i)s[(n=c[i]).i]=n.x(t);return s.join("")})}function ln(t,e){var n;return("number"==typeof e?se:e instanceof Be?an:(n=Be(e))?(e=n,an):un)(t,e)}function hn(t){return function(){this.removeAttribute(t)}}function fn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function dn(t,e,n){var i,r,a=n+"";return function(){var o=this.getAttribute(t);return o===a?null:o===i?r:r=e(i=o,n)}}function gn(t,e,n){var i,r,a=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===i?r:r=e(i=o,n)}}function pn(t,e,n){var i,r,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttribute(t))===(s=c+"")?null:o===i&&s===r?a:(r=s,a=e(i=o,c));this.removeAttribute(t)}}function bn(t,e,n){var i,r,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:o===i&&s===r?a:(r=s,a=e(i=o,c));this.removeAttributeNS(t.space,t.local)}}function wn(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function mn(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function yn(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&mn(t,r)),n}return r._value=e,r}function vn(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&wn(t,r)),n}return r._value=e,r}function xn(t,e){return function(){re(this,t).delay=+e.apply(this,arguments)}}function kn(t,e){return e=+e,function(){re(this,t).delay=e}}function _n(t,e){return function(){ae(this,t).duration=+e.apply(this,arguments)}}function An(t,e){return e=+e,function(){ae(this,t).duration=e}}function En(t,e){if("function"!=typeof e)throw new Error;return function(){ae(this,t).ease=e}}function Tn(t,e,n){var i,r,a=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?re:ae;return function(){var o=a(this,t),s=o.on;s!==i&&(r=(i=s).copy()).on(e,n),o.on=r}}var Cn=It.prototype.constructor;function Sn(t){return function(){this.style.removeProperty(t)}}function In(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function Mn(t,e,n){var i,r;function a(){var a=e.apply(this,arguments);return a!==r&&(i=(r=a)&&In(t,a,n)),i}return a._value=e,a}function Dn(t){return function(e){this.textContent=t.call(this,e)}}function On(t){var e,n;function i(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&Dn(i)),e}return i._value=t,i}var Ln=0;function Nn(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function Pn(){return++Ln}var Bn=It.prototype;Nn.prototype=function(t){return It().transition(t)}.prototype={constructor:Nn,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=b(t));for(var i=this._groups,r=i.length,a=new Array(r),o=0;o<r;++o)for(var s,c,u=i[o],l=u.length,h=a[o]=new Array(l),f=0;f<l;++f)(s=u[f])&&(c=t.call(s,s.__data__,f,u))&&("__data__"in s&&(c.__data__=s.__data__),h[f]=c,ie(h[f],e,n,f,h,oe(s,n)));return new Nn(a,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=y(t));for(var i=this._groups,r=i.length,a=[],o=[],s=0;s<r;++s)for(var c,u=i[s],l=u.length,h=0;h<l;++h)if(c=u[h]){for(var f,d=t.call(c,c.__data__,h,u),g=oe(c,n),p=0,b=d.length;p<b;++p)(f=d[p])&&ie(f,e,n,p,d,g);a.push(d),o.push(c)}return new Nn(a,o,e,n)},selectChild:Bn.selectChild,selectChildren:Bn.selectChildren,filter:function(t){"function"!=typeof t&&(t=v(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o=e[r],s=o.length,c=i[r]=[],u=0;u<s;++u)(a=o[u])&&t.call(a,a.__data__,u,o)&&c.push(a);return new Nn(i,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,a=Math.min(i,r),o=new Array(i),s=0;s<a;++s)for(var c,u=e[s],l=n[s],h=u.length,f=o[s]=new Array(h),d=0;d<h;++d)(c=u[d]||l[d])&&(f[d]=c);for(;s<i;++s)o[s]=e[s];return new Nn(o,this._parents,this._name,this._id)},selection:function(){return new Cn(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=Pn(),i=this._groups,r=i.length,a=0;a<r;++a)for(var o,s=i[a],c=s.length,u=0;u<c;++u)if(o=s[u]){var l=oe(o,e);ie(o,t,n,u,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new Nn(i,this._parents,t,n)},call:Bn.call,nodes:Bn.nodes,node:Bn.node,size:Bn.size,empty:Bn.empty,each:Bn.each,on:function(t,e){var n=this._id;return arguments.length<2?oe(this.node(),n).on.on(t):this.each(Tn(n,t,e))},attr:function(t,e){var n=B(t),i="transform"===n?ge:ln;return this.attrTween(t,"function"==typeof e?(n.local?bn:pn)(n,i,we(this,"attr."+t,e)):null==e?(n.local?fn:hn)(n):(n.local?gn:dn)(n,i,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 new Error;var i=B(t);return this.tween(n,(i.local?yn:vn)(i,e))},style:function(t,e,n){var i="transform"==(t+="")?de:ln;return null==e?this.styleTween(t,function(t,e){var n,i,r;return function(){var a=Z(this,t),o=(this.style.removeProperty(t),Z(this,t));return a===o?null:a===n&&o===i?r:r=e(n=a,i=o)}}(t,i)).on("end.style."+t,Sn(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var i,r,a;return function(){var o=Z(this,t),s=n(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=Z(this,t)),o===c?null:o===i&&c===r?a:(r=c,a=e(i=o,s))}}(t,i,we(this,"style."+t,e))).each(function(t,e){var n,i,r,a,o="style."+e,s="end."+o;return function(){var c=ae(this,t),u=c.on,l=null==c.value[o]?a||(a=Sn(e)):void 0;u===n&&r===l||(i=(n=u).copy()).on(s,r=l),c.on=i}}(this._id,t)):this.styleTween(t,function(t,e,n){var i,r,a=n+"";return function(){var o=Z(this,t);return o===a?null:o===i?r:r=e(i=o,n)}}(t,i,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;return this.tween(i,Mn(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(we(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},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 new Error;return this.tween(e,On(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i,r=oe(this.node(),n).tween,a=0,o=r.length;a<o;++a)if((i=r[a]).name===t)return i.value;return null}return this.each((null==e?pe:be)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?xn:kn)(e,t)):oe(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?_n:An)(e,t)):oe(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(En(e,t)):oe(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;ae(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,i=n._id,r=n.size();return new Promise((function(a,o){var s={value:o},c={value:function(){0==--r&&a()}};n.each((function(){var n=ae(this,i),r=n.on;r!==t&&((e=(t=r).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e})),0===r&&a()}))},[Symbol.iterator]:Bn[Symbol.iterator]};var Fn={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function Rn(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}It.prototype.interrupt=function(t){return this.each((function(){!function(t,e){var n,i,r,a=t.__transition,o=!0;if(a){for(r in e=null==e?null:e+"",a)(n=a[r]).name===e?(i=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[r]):o=!1;o&&delete t.__transition}}(this,t)}))},It.prototype.transition=function(t){var e,n;t instanceof Nn?(e=t._id,t=t._name):(e=Pn(),(n=Fn).time=Zt(),t=null==t?null:t+"");for(var i=this._groups,r=i.length,a=0;a<r;++a)for(var o,s=i[a],c=s.length,u=0;u<c;++u)(o=s[u])&&ie(o,t,e,u,s,n||Rn(o,e));return new Nn(i,this._parents,t,e)};const{abs:jn,max:$n,min:zn}=Math;function qn(t){return[+t[0],+t[1]]}function Hn(t){return[qn(t[0]),qn(t[1])]}["w","e"].map(Un),["n","s"].map(Un),["n","w","e","s","nw","ne","sw","se"].map(Un);function Un(t){return{type:t}}function Gn(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function Yn(t){return(e,n)=>function(t,e){return fetch(t,e).then(Gn)}(e,n).then((e=>(new DOMParser).parseFromString(e,t)))}Yn("application/xml"),Yn("text/html");var Zn=Yn("image/svg+xml");const Wn=Math.PI/180,Kn=180/Math.PI,Xn=.96422,Vn=.82521,Qn=4/29,Jn=6/29,ti=3*Jn*Jn;function ei(t){if(t instanceof ni)return new ni(t.l,t.a,t.b,t.opacity);if(t instanceof ui)return li(t);t instanceof ze||(t=je(t));var e,n,i=oi(t.r),r=oi(t.g),a=oi(t.b),o=ii((.2225045*i+.7168786*r+.0606169*a)/1);return i===r&&r===a?e=n=o:(e=ii((.4360747*i+.3850649*r+.1430804*a)/Xn),n=ii((.0139322*i+.0971045*r+.7141733*a)/Vn)),new ni(116*o-16,500*(e-o),200*(o-n),t.opacity)}function ni(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}function ii(t){return t>.008856451679035631?Math.pow(t,1/3):t/ti+Qn}function ri(t){return t>Jn?t*t*t:ti*(t-Qn)}function ai(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function oi(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function si(t){if(t instanceof ui)return new ui(t.h,t.c,t.l,t.opacity);if(t instanceof ni||(t=ei(t)),0===t.a&&0===t.b)return new ui(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Kn;return new ui(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ci(t,e,n,i){return 1===arguments.length?si(t):new ui(t,e,n,null==i?1:i)}function ui(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i}function li(t){if(isNaN(t.h))return new ni(t.l,0,0,t.opacity);var e=t.h*Wn;return new ni(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}function hi(t){return function(e,n){var i=t((e=ci(e)).h,(n=ci(n)).h),r=rn(e.c,n.c),a=rn(e.l,n.l),o=rn(e.opacity,n.opacity);return function(t){return e.h=i(t),e.c=r(t),e.l=a(t),e.opacity=o(t),e+""}}}me(ni,(function(t,e,n,i){return 1===arguments.length?ei(t):new ni(t,e,n,null==i?1:i)}),ye(ve,{brighter(t){return new ni(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new ni(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new ze(ai(3.1338561*(e=Xn*ri(e))-1.6168667*(t=1*ri(t))-.4906146*(n=Vn*ri(n))),ai(-.9787684*e+1.9161415*t+.033454*n),ai(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),me(ui,ci,ye(ve,{brighter(t){return new ui(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new ui(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return li(this).rgb()}}));var fi=hi((function(t,e){var n=e-t;return n?en(t,n>180||n<-180?n-360*Math.round(n/360):n):tn(isNaN(t)?e:t)}));hi(rn);const di=Math.sqrt(50),gi=Math.sqrt(10),pi=Math.sqrt(2);function bi(t,e,n){const i=(e-t)/Math.max(0,n),r=Math.floor(Math.log10(i)),a=i/Math.pow(10,r),o=a>=di?10:a>=gi?5:a>=pi?2:1;let s,c,u;return r<0?(u=Math.pow(10,-r)/o,s=Math.round(t*u),c=Math.round(e*u),s/u<t&&++s,c/u>e&&--c,u=-u):(u=Math.pow(10,r)*o,s=Math.round(t/u),c=Math.round(e/u),s*u<t&&++s,c*u>e&&--c),c<s&&.5<=n&&n<2?bi(t,e,2*n):[s,c,u]}function wi(t,e,n){return bi(t=+t,e=+e,n=+n)[2]}function mi(t,e,n){n=+n;const i=(e=+e)<(t=+t),r=i?wi(e,t,n):wi(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}function yi(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function vi(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function xi(t){let e,n,i;function r(t,i,r=0,a=t.length){if(r<a){if(0!==e(i,i))return a;do{const e=r+a>>>1;n(t[e],i)<0?r=e+1:a=e}while(r<a)}return r}return 2!==t.length?(e=yi,n=(e,n)=>yi(t(e),n),i=(e,n)=>t(e)-n):(e=t===yi||t===vi?t:ki,n=t,i=t),{left:r,center:function(t,e,n=0,a=t.length){const o=r(t,e,n,a-1);return o>n&&i(t[o-1],e)>-i(t[o],e)?o-1:o},right:function(t,i,r=0,a=t.length){if(r<a){if(0!==e(i,i))return a;do{const e=r+a>>>1;n(t[e],i)<=0?r=e+1:a=e}while(r<a)}return r}}}function ki(){return 0}const _i=xi(yi),Ai=_i.right;_i.left,xi((function(t){return null===t?NaN:+t})).center;var Ei=Ai;function Ti(t,e){var n,i=e?e.length:0,r=t?Math.min(i,t.length):0,a=new Array(r),o=new Array(i);for(n=0;n<r;++n)a[n]=Mi(t[n],e[n]);for(;n<i;++n)o[n]=e[n];return function(t){for(n=0;n<r;++n)o[n]=a[n](t);return o}}function Ci(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function Si(t,e){var n,i={},r={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?i[n]=Mi(t[n],e[n]):r[n]=e[n];return function(t){for(n in i)r[n]=i[n](t);return r}}function Ii(t,e){e||(e=[]);var n,i=t?Math.min(e.length,t.length):0,r=e.slice();return function(a){for(n=0;n<i;++n)r[n]=t[n]*(1-a)+e[n]*a;return r}}function Mi(t,e){var n,i,r=typeof e;return null==e||"boolean"===r?tn(e):("number"===r?se:"string"===r?(n=Be(e))?(e=n,an):un:e instanceof Be?an:e instanceof Date?Ci:(i=e,!ArrayBuffer.isView(i)||i instanceof DataView?Array.isArray(e)?Ti:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Si:se:Ii))(t,e)}function Di(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function Oi(t){return+t}var Li=[0,1];function Ni(t){return t}function Pi(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function Bi(t,e,n){var i=t[0],r=t[1],a=e[0],o=e[1];return r<i?(i=Pi(r,i),a=n(o,a)):(i=Pi(i,r),a=n(a,o)),function(t){return a(i(t))}}function Fi(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),a=new Array(i),o=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<i;)r[o]=Pi(t[o],t[o+1]),a[o]=n(e[o],e[o+1]);return function(e){var n=Ei(t,e,1,i)-1;return a[n](r[n](e))}}function Ri(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function ji(){var t,e,n,i,r,a,o=Li,s=Li,c=Mi,u=Ni;function l(){var t,e,n,c=Math.min(o.length,s.length);return u!==Ni&&(t=o[0],e=o[c-1],t>e&&(n=t,t=e,e=n),u=function(n){return Math.max(t,Math.min(e,n))}),i=c>2?Fi:Bi,r=a=null,h}function h(e){return null==e||isNaN(e=+e)?n:(r||(r=i(o.map(t),s,c)))(t(u(e)))}return h.invert=function(n){return u(e((a||(a=i(s,o.map(t),se)))(n)))},h.domain=function(t){return arguments.length?(o=Array.from(t,Oi),l()):o.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),c=Di,l()},h.clamp=function(t){return arguments.length?(u=!!t||Ni,l()):u!==Ni},h.interpolate=function(t){return arguments.length?(c=t,l()):c},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,i){return t=n,e=i,l()}}function $i(){return ji()(Ni,Ni)}function zi(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var qi,Hi=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ui(t){if(!(e=Hi.exec(t)))throw new Error("invalid format: "+t);var e;return new Gi({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 Gi(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 Yi(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function Zi(t){return(t=Yi(Math.abs(t)))?t[1]:NaN}function Wi(t,e){var n=Yi(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}Ui.prototype=Gi.prototype,Gi.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 Ki={"%":(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)=>Wi(100*t,e),r:Wi,s:function(t,e){var n=Yi(t,e);if(!n)return t+"";var i=n[0],r=n[1],a=r-(qi=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,o=i.length;return a===o?i:a>o?i+new Array(a-o+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+Yi(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Xi(t){return t}var Vi,Qi,Ji,tr=Array.prototype.map,er=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function nr(t){var e,n,i=void 0===t.grouping||void 0===t.thousands?Xi:(e=tr.call(t.grouping,Number),n=t.thousands+"",function(t,i){for(var r=t.length,a=[],o=0,s=e[0],c=0;r>0&&s>0&&(c+s+1>i&&(s=Math.max(1,i-c)),a.push(t.substring(r-=s,r+s)),!((c+=s+1)>i));)s=e[o=(o+1)%e.length];return a.reverse().join(n)}),r=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Xi:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(tr.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function h(t){var e=(t=Ui(t)).fill,n=t.align,h=t.sign,f=t.symbol,d=t.zero,g=t.width,p=t.comma,b=t.precision,w=t.trim,m=t.type;"n"===m?(p=!0,m="g"):Ki[m]||(void 0===b&&(b=12),w=!0,m="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var y="$"===f?r:"#"===f&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",v="$"===f?a:/[%p]/.test(m)?c:"",x=Ki[m],k=/[defgprs%]/.test(m);function _(t){var r,a,c,f=y,_=v;if("c"===m)_=x(t)+_,t="";else{var A=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:x(Math.abs(t),b),w&&(t=function(t){t:for(var e,n=t.length,i=1,r=-1;i<n;++i)switch(t[i]){case".":r=e=i;break;case"0":0===r&&(r=i),e=i;break;default:if(!+t[i])break t;r>0&&(r=0)}return r>0?t.slice(0,r)+t.slice(e+1):t}(t)),A&&0==+t&&"+"!==h&&(A=!1),f=(A?"("===h?h:u:"-"===h||"("===h?"":h)+f,_=("s"===m?er[8+qi/3]:"")+_+(A&&"("===h?")":""),k)for(r=-1,a=t.length;++r<a;)if(48>(c=t.charCodeAt(r))||c>57){_=(46===c?o+t.slice(r+1):t.slice(r))+_,t=t.slice(0,r);break}}p&&!d&&(t=i(t,1/0));var E=f.length+t.length+_.length,T=E<g?new Array(g-E+1).join(e):"";switch(p&&d&&(t=i(T+t,T.length?g-_.length:1/0),T=""),n){case"<":t=f+t+_+T;break;case"=":t=f+T+t+_;break;case"^":t=T.slice(0,E=T.length>>1)+f+t+_+T.slice(E);break;default:t=T+f+t+_}return s(t)}return b=void 0===b?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),_.toString=function(){return t+""},_}return{format:h,formatPrefix:function(t,e){var n=h(((t=Ui(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Zi(e)/3))),r=Math.pow(10,-i),a=er[8+i/3];return function(t){return n(r*t)+a}}}}function ir(t,e,n,i){var r,a=mi(t,e,n);switch((i=Ui(null==i?",f":i)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(r=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Zi(e)/3)))-Zi(Math.abs(t)))}(a,o))||(i.precision=r),Ji(i,o);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(r=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Zi(e)-Zi(t))+1}(a,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=r-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(r=function(t){return Math.max(0,-Zi(Math.abs(t)))}(a))||(i.precision=r-2*("%"===i.type))}return Qi(i)}function rr(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){if(!((n=+n)>0))return[];if((t=+t)==(e=+e))return[t];const i=e<t,[r,a,o]=i?bi(e,t,n):bi(t,e,n);if(!(a>=r))return[];const s=a-r+1,c=new Array(s);if(i)if(o<0)for(let t=0;t<s;++t)c[t]=(a-t)/-o;else for(let t=0;t<s;++t)c[t]=(a-t)*o;else if(o<0)for(let t=0;t<s;++t)c[t]=(r+t)/-o;else for(let t=0;t<s;++t)c[t]=(r+t)*o;return c}(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var i=e();return ir(i[0],i[i.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var i,r,a=e(),o=0,s=a.length-1,c=a[o],u=a[s],l=10;for(u<c&&(r=c,c=u,u=r,r=o,o=s,s=r);l-- >0;){if((r=wi(c,u,n))===i)return a[o]=c,a[s]=u,e(a);if(r>0)c=Math.floor(c/r)*r,u=Math.ceil(u/r)*r;else{if(!(r<0))break;c=Math.ceil(c*r)/r,u=Math.floor(u*r)/r}i=r}return t},t}function ar(){var t=$i();return t.copy=function(){return Ri(t,ar())},zi.apply(t,arguments),rr(t)}Vi=nr({thousands:",",grouping:[3],currency:["$",""]}),Qi=Vi.format,Ji=Vi.formatPrefix;class or extends Map{constructor(t,e=lr){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,n]of t)this.set(e,n)}get(t){return super.get(sr(this,t))}has(t){return super.has(sr(this,t))}set(t,e){return super.set(cr(this,t),e)}delete(t){return super.delete(ur(this,t))}}Set;function sr({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):n}function cr({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):(t.set(i,n),n)}function ur({_intern:t,_key:e},n){const i=e(n);return t.has(i)&&(n=t.get(i),t.delete(i)),n}function lr(t){return null!==t&&"object"==typeof t?t.valueOf():t}const hr=Symbol("implicit");function fr(){var t=new or,e=[],n=[],i=hr;function r(r){let a=t.get(r);if(void 0===a){if(i!==hr)return i;t.set(r,a=e.push(r)-1)}return n[a%n.length]}return r.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new or;for(const i of n)t.has(i)||t.set(i,e.push(i)-1);return r},r.range=function(t){return arguments.length?(n=Array.from(t),r):n.slice()},r.unknown=function(t){return arguments.length?(i=t,r):i},r.copy=function(){return fr(e,n).unknown(i)},zi.apply(r,arguments),r}const dr=1e3,gr=6e4,pr=36e5,br=864e5,wr=6048e5,mr=2592e6,yr=31536e6,vr=new Date,xr=new Date;function kr(t,e,n,i){function r(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return r.floor=e=>(t(e=new Date(+e)),e),r.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),r.round=t=>{const e=r(t),n=r.ceil(t);return t-e<n-t?e:n},r.offset=(t,n)=>(e(t=new Date(+t),null==n?1:Math.floor(n)),t),r.range=(n,i,a)=>{const o=[];if(n=r.ceil(n),a=null==a?1:Math.floor(a),!(n<i&&a>0))return o;let s;do{o.push(s=new Date(+n)),e(n,a),t(n)}while(s<n&&n<i);return o},r.filter=n=>kr((e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),((t,i)=>{if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););})),n&&(r.count=(e,i)=>(vr.setTime(+e),xr.setTime(+i),t(vr),t(xr),Math.floor(n(vr,xr))),r.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?e=>i(e)%t==0:e=>r.count(0,e)%t==0):r:null)),r}const _r=kr((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));_r.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?kr((e=>{e.setTime(Math.floor(e/t)*t)}),((e,n)=>{e.setTime(+e+n*t)}),((e,n)=>(n-e)/t)):_r:null);_r.range;const Ar=kr((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*dr)}),((t,e)=>(e-t)/dr),(t=>t.getUTCSeconds())),Er=(Ar.range,kr((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*dr)}),((t,e)=>{t.setTime(+t+e*gr)}),((t,e)=>(e-t)/gr),(t=>t.getMinutes()))),Tr=(Er.range,kr((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*gr)}),((t,e)=>(e-t)/gr),(t=>t.getUTCMinutes()))),Cr=(Tr.range,kr((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*dr-t.getMinutes()*gr)}),((t,e)=>{t.setTime(+t+e*pr)}),((t,e)=>(e-t)/pr),(t=>t.getHours()))),Sr=(Cr.range,kr((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*pr)}),((t,e)=>(e-t)/pr),(t=>t.getUTCHours()))),Ir=(Sr.range,kr((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*gr)/br),(t=>t.getDate()-1))),Mr=(Ir.range,kr((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/br),(t=>t.getUTCDate()-1))),Dr=(Mr.range,kr((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/br),(t=>Math.floor(t/br))));Dr.range;function Or(t){return kr((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())*gr)/wr))}const Lr=Or(0),Nr=Or(1),Pr=Or(2),Br=Or(3),Fr=Or(4),Rr=Or(5),jr=Or(6);Lr.range,Nr.range,Pr.range,Br.range,Fr.range,Rr.range,jr.range;function $r(t){return kr((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)/wr))}const zr=$r(0),qr=$r(1),Hr=$r(2),Ur=$r(3),Gr=$r(4),Yr=$r(5),Zr=$r(6),Wr=(zr.range,qr.range,Hr.range,Ur.range,Gr.range,Yr.range,Zr.range,kr((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()))),Kr=(Wr.range,kr((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()))),Xr=(Kr.range,kr((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())));Xr.every=t=>isFinite(t=Math.floor(t))&&t>0?kr((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;Xr.range;const Vr=kr((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()));Vr.every=t=>isFinite(t=Math.floor(t))&&t>0?kr((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;Vr.range;function Qr(t,e,n,i,r,a){const o=[[Ar,1,dr],[Ar,5,5e3],[Ar,15,15e3],[Ar,30,3e4],[a,1,gr],[a,5,3e5],[a,15,9e5],[a,30,18e5],[r,1,pr],[r,3,108e5],[r,6,216e5],[r,12,432e5],[i,1,br],[i,2,1728e5],[n,1,wr],[e,1,mr],[e,3,7776e6],[t,1,yr]];function s(e,n,i){const r=Math.abs(n-e)/i,a=xi((([,,t])=>t)).right(o,r);if(a===o.length)return t.every(mi(e/yr,n/yr,i));if(0===a)return _r.every(Math.max(mi(e,n,i),1));const[s,c]=o[r/o[a-1][2]<o[a][2]/r?a-1:a];return s.every(c)}return[function(t,e,n){const i=e<t;i&&([t,e]=[e,t]);const r=n&&"function"==typeof n.range?n:s(t,e,n),a=r?r.range(t,+e+1):[];return i?a.reverse():a},s]}const[Jr,ta]=Qr(Vr,Kr,zr,Dr,Sr,Tr),[ea,na]=Qr(Xr,Wr,Lr,Ir,Cr,Er);function ia(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 ra(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 aa(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var oa,sa,ca={"-":"",_:" ",0:"0"},ua=/^\s*\d+/,la=/^%/,ha=/[\\^$*+?|[\]().{}]/g;function fa(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",a=r.length;return i+(a<n?new Array(n-a+1).join(e)+r:r)}function da(t){return t.replace(ha,"\\$&")}function ga(t){return new RegExp("^(?:"+t.map(da).join("|")+")","i")}function pa(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function ba(t,e,n){var i=ua.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function wa(t,e,n){var i=ua.exec(e.slice(n,n+1));return i?(t.u=+i[0],n+i[0].length):-1}function ma(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.U=+i[0],n+i[0].length):-1}function ya(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.V=+i[0],n+i[0].length):-1}function va(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.W=+i[0],n+i[0].length):-1}function xa(t,e,n){var i=ua.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function ka(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function _a(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function Aa(t,e,n){var i=ua.exec(e.slice(n,n+1));return i?(t.q=3*i[0]-3,n+i[0].length):-1}function Ea(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function Ta(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function Ca(t,e,n){var i=ua.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function Sa(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function Ia(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function Ma(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function Da(t,e,n){var i=ua.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function Oa(t,e,n){var i=ua.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function La(t,e,n){var i=la.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function Na(t,e,n){var i=ua.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function Pa(t,e,n){var i=ua.exec(e.slice(n));return i?(t.s=+i[0],n+i[0].length):-1}function Ba(t,e){return fa(t.getDate(),e,2)}function Fa(t,e){return fa(t.getHours(),e,2)}function Ra(t,e){return fa(t.getHours()%12||12,e,2)}function ja(t,e){return fa(1+Ir.count(Xr(t),t),e,3)}function $a(t,e){return fa(t.getMilliseconds(),e,3)}function za(t,e){return $a(t,e)+"000"}function qa(t,e){return fa(t.getMonth()+1,e,2)}function Ha(t,e){return fa(t.getMinutes(),e,2)}function Ua(t,e){return fa(t.getSeconds(),e,2)}function Ga(t){var e=t.getDay();return 0===e?7:e}function Ya(t,e){return fa(Lr.count(Xr(t)-1,t),e,2)}function Za(t){var e=t.getDay();return e>=4||0===e?Fr(t):Fr.ceil(t)}function Wa(t,e){return t=Za(t),fa(Fr.count(Xr(t),t)+(4===Xr(t).getDay()),e,2)}function Ka(t){return t.getDay()}function Xa(t,e){return fa(Nr.count(Xr(t)-1,t),e,2)}function Va(t,e){return fa(t.getFullYear()%100,e,2)}function Qa(t,e){return fa((t=Za(t)).getFullYear()%100,e,2)}function Ja(t,e){return fa(t.getFullYear()%1e4,e,4)}function to(t,e){var n=t.getDay();return fa((t=n>=4||0===n?Fr(t):Fr.ceil(t)).getFullYear()%1e4,e,4)}function eo(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+fa(e/60|0,"0",2)+fa(e%60,"0",2)}function no(t,e){return fa(t.getUTCDate(),e,2)}function io(t,e){return fa(t.getUTCHours(),e,2)}function ro(t,e){return fa(t.getUTCHours()%12||12,e,2)}function ao(t,e){return fa(1+Mr.count(Vr(t),t),e,3)}function oo(t,e){return fa(t.getUTCMilliseconds(),e,3)}function so(t,e){return oo(t,e)+"000"}function co(t,e){return fa(t.getUTCMonth()+1,e,2)}function uo(t,e){return fa(t.getUTCMinutes(),e,2)}function lo(t,e){return fa(t.getUTCSeconds(),e,2)}function ho(t){var e=t.getUTCDay();return 0===e?7:e}function fo(t,e){return fa(zr.count(Vr(t)-1,t),e,2)}function go(t){var e=t.getUTCDay();return e>=4||0===e?Gr(t):Gr.ceil(t)}function po(t,e){return t=go(t),fa(Gr.count(Vr(t),t)+(4===Vr(t).getUTCDay()),e,2)}function bo(t){return t.getUTCDay()}function wo(t,e){return fa(qr.count(Vr(t)-1,t),e,2)}function mo(t,e){return fa(t.getUTCFullYear()%100,e,2)}function yo(t,e){return fa((t=go(t)).getUTCFullYear()%100,e,2)}function vo(t,e){return fa(t.getUTCFullYear()%1e4,e,4)}function xo(t,e){var n=t.getUTCDay();return fa((t=n>=4||0===n?Gr(t):Gr.ceil(t)).getUTCFullYear()%1e4,e,4)}function ko(){return"+0000"}function _o(){return"%"}function Ao(t){return+t}function Eo(t){return Math.floor(+t/1e3)}function To(t){return new Date(t)}function Co(t){return t instanceof Date?+t:+new Date(+t)}function So(t,e,n,i,r,a,o,s,c,u){var l=$i(),h=l.invert,f=l.domain,d=u(".%L"),g=u(":%S"),p=u("%I:%M"),b=u("%I %p"),w=u("%a %d"),m=u("%b %d"),y=u("%B"),v=u("%Y");function x(t){return(c(t)<t?d:s(t)<t?g:o(t)<t?p:a(t)<t?b:i(t)<t?r(t)<t?w:m:n(t)<t?y:v)(t)}return l.invert=function(t){return new Date(h(t))},l.domain=function(t){return arguments.length?f(Array.from(t,Co)):f().map(To)},l.ticks=function(e){var n=f();return t(n[0],n[n.length-1],null==e?10:e)},l.tickFormat=function(t,e){return null==e?x:u(e)},l.nice=function(t){var n=f();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?f(function(t,e){var n,i=0,r=(t=t.slice()).length-1,a=t[i],o=t[r];return o<a&&(n=i,i=r,r=n,n=a,a=o,o=n),t[i]=e.floor(a),t[r]=e.ceil(o),t}(n,t)):l},l.copy=function(){return Ri(l,So(t,e,n,i,r,a,o,s,c,u))},l}function Io(){return zi.apply(So(ea,na,Xr,Wr,Lr,Ir,Cr,Er,Ar,sa).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Mo(t){return"string"==typeof t?new Ct([[document.querySelector(t)]],[document.documentElement]):new Ct([[t]],Tt)}function Do(t){return"string"==typeof t?new Ct([document.querySelectorAll(t)],[document.documentElement]):new Ct([w(t)],Tt)}function Oo(t){return function(){return t}}!function(t){oa=function(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,a=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,u=ga(r),l=pa(r),h=ga(a),f=pa(a),d=ga(o),g=pa(o),p=ga(s),b=pa(s),w=ga(c),m=pa(c),y={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Ba,e:Ba,f:za,g:Qa,G:to,H:Fa,I:Ra,j:ja,L:$a,m:qa,M:Ha,p:function(t){return r[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ao,s:Eo,S:Ua,u:Ga,U:Ya,V:Wa,w:Ka,W:Xa,x:null,X:null,y:Va,Y:Ja,Z:eo,"%":_o},v={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:no,e:no,f:so,g:yo,G:xo,H:io,I:ro,j:ao,L:oo,m:co,M:uo,p:function(t){return r[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ao,s:Eo,S:lo,u:ho,U:fo,V:po,w:bo,W:wo,x:null,X:null,y:mo,Y:vo,Z:ko,"%":_o},x={a:function(t,e,n){var i=d.exec(e.slice(n));return i?(t.w=g.get(i[0].toLowerCase()),n+i[0].length):-1},A:function(t,e,n){var i=h.exec(e.slice(n));return i?(t.w=f.get(i[0].toLowerCase()),n+i[0].length):-1},b:function(t,e,n){var i=w.exec(e.slice(n));return i?(t.m=m.get(i[0].toLowerCase()),n+i[0].length):-1},B:function(t,e,n){var i=p.exec(e.slice(n));return i?(t.m=b.get(i[0].toLowerCase()),n+i[0].length):-1},c:function(t,n,i){return A(t,e,n,i)},d:Ta,e:Ta,f:Oa,g:ka,G:xa,H:Sa,I:Sa,j:Ca,L:Da,m:Ea,M:Ia,p:function(t,e,n){var i=u.exec(e.slice(n));return i?(t.p=l.get(i[0].toLowerCase()),n+i[0].length):-1},q:Aa,Q:Na,s:Pa,S:Ma,u:wa,U:ma,V:ya,w:ba,W:va,x:function(t,e,i){return A(t,n,e,i)},X:function(t,e,n){return A(t,i,e,n)},y:ka,Y:xa,Z:_a,"%":La};function k(t,e){return function(n){var i,r,a,o=[],s=-1,c=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s<u;)37===t.charCodeAt(s)&&(o.push(t.slice(c,s)),null!=(r=ca[i=t.charAt(++s)])?i=t.charAt(++s):r="e"===i?" ":"0",(a=e[i])&&(i=a(n,r)),o.push(i),c=s+1);return o.push(t.slice(c,s)),o.join("")}}function _(t,e){return function(n){var i,r,a=aa(1900,void 0,1);if(A(a,t,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(e&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(r=(i=ra(aa(a.y,0,1))).getUTCDay(),i=r>4||0===r?qr.ceil(i):qr(i),i=Mr.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(r=(i=ia(aa(a.y,0,1))).getDay(),i=r>4||0===r?Nr.ceil(i):Nr(i),i=Ir.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),r="Z"in a?ra(aa(a.y,0,1)).getUTCDay():ia(aa(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(r+5)%7:a.w+7*a.U-(r+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,ra(a)):ia(a)}}function A(t,e,n,i){for(var r,a,o=0,s=e.length,c=n.length;o<s;){if(i>=c)return-1;if(37===(r=e.charCodeAt(o++))){if(r=e.charAt(o++),!(a=x[r in ca?e.charAt(o++):r])||(i=a(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return y.x=k(n,y),y.X=k(i,y),y.c=k(e,y),v.x=k(n,v),v.X=k(i,v),v.c=k(e,v),{format:function(t){var e=k(t+="",y);return e.toString=function(){return t},e},parse:function(t){var e=_(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=k(t+="",v);return e.toString=function(){return t},e},utcParse:function(t){var e=_(t+="",!0);return e.toString=function(){return t},e}}}(t),sa=oa.format,oa.parse,oa.utcFormat,oa.utcParse}({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"]});const Lo=Math.abs,No=Math.atan2,Po=Math.cos,Bo=Math.max,Fo=Math.min,Ro=Math.sin,jo=Math.sqrt,$o=1e-12,zo=Math.PI,qo=zo/2,Ho=2*zo;function Uo(t){return t>1?0:t<-1?zo:Math.acos(t)}function Go(t){return t>=1?qo:t<=-1?-qo:Math.asin(t)}const Yo=Math.PI,Zo=2*Yo,Wo=1e-6,Ko=Zo-Wo;function Xo(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}class Vo{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?Xo:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Xo;const n=10**e;return function(t){this._+=t[0];for(let e=1,i=t.length;e<i;++e)this._+=Math.round(arguments[e]*n)/n+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,n,i){this._append`Q${+t},${+e},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(t,e,n,i,r,a){this._append`C${+t},${+e},${+n},${+i},${this._x1=+r},${this._y1=+a}`}arcTo(t,e,n,i,r){if(t=+t,e=+e,n=+n,i=+i,(r=+r)<0)throw new Error(`negative radius: ${r}`);let a=this._x1,o=this._y1,s=n-t,c=i-e,u=a-t,l=o-e,h=u*u+l*l;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(h>Wo)if(Math.abs(l*s-c*u)>Wo&&r){let f=n-a,d=i-o,g=s*s+c*c,p=f*f+d*d,b=Math.sqrt(g),w=Math.sqrt(h),m=r*Math.tan((Yo-Math.acos((g+h-p)/(2*b*w)))/2),y=m/w,v=m/b;Math.abs(y-1)>Wo&&this._append`L${t+y*u},${e+y*l}`,this._append`A${r},${r},0,0,${+(l*f>u*d)},${this._x1=t+v*s},${this._y1=e+v*c}`}else this._append`L${this._x1=t},${this._y1=e}`;else;}arc(t,e,n,i,r,a){if(t=+t,e=+e,a=!!a,(n=+n)<0)throw new Error(`negative radius: ${n}`);let o=n*Math.cos(i),s=n*Math.sin(i),c=t+o,u=e+s,l=1^a,h=a?i-r:r-i;null===this._x1?this._append`M${c},${u}`:(Math.abs(this._x1-c)>Wo||Math.abs(this._y1-u)>Wo)&&this._append`L${c},${u}`,n&&(h<0&&(h=h%Zo+Zo),h>Ko?this._append`A${n},${n},0,1,${l},${t-o},${e-s}A${n},${n},0,1,${l},${this._x1=c},${this._y1=u}`:h>Wo&&this._append`A${n},${n},0,${+(h>=Yo)},${l},${this._x1=t+n*Math.cos(r)},${this._y1=e+n*Math.sin(r)}`)}rect(t,e,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function Qo(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{const t=Math.floor(n);if(!(t>=0))throw new RangeError(`invalid digits: ${n}`);e=t}return t},()=>new Vo(e)}function Jo(t){return t.innerRadius}function ts(t){return t.outerRadius}function es(t){return t.startAngle}function ns(t){return t.endAngle}function is(t){return t&&t.padAngle}function rs(t,e,n,i,r,a,o,s){var c=n-t,u=i-e,l=o-r,h=s-a,f=h*c-l*u;if(!(f*f<$o))return[t+(f=(l*(e-a)-h*(t-r))/f)*c,e+f*u]}function as(t,e,n,i,r,a,o){var s=t-n,c=e-i,u=(o?a:-a)/jo(s*s+c*c),l=u*c,h=-u*s,f=t+l,d=e+h,g=n+l,p=i+h,b=(f+g)/2,w=(d+p)/2,m=g-f,y=p-d,v=m*m+y*y,x=r-a,k=f*p-g*d,_=(y<0?-1:1)*jo(Bo(0,x*x*v-k*k)),A=(k*y-m*_)/v,E=(-k*m-y*_)/v,T=(k*y+m*_)/v,C=(-k*m+y*_)/v,S=A-b,I=E-w,M=T-b,D=C-w;return S*S+I*I>M*M+D*D&&(A=T,E=C),{cx:A,cy:E,x01:-l,y01:-h,x11:A*(r/x-1),y11:E*(r/x-1)}}function os(){var t=Jo,e=ts,n=Oo(0),i=null,r=es,a=ns,o=is,s=null,c=Qo(u);function u(){var u,l,h=+t.apply(this,arguments),f=+e.apply(this,arguments),d=r.apply(this,arguments)-qo,g=a.apply(this,arguments)-qo,p=Lo(g-d),b=g>d;if(s||(s=u=c()),f<h&&(l=f,f=h,h=l),f>$o)if(p>Ho-$o)s.moveTo(f*Po(d),f*Ro(d)),s.arc(0,0,f,d,g,!b),h>$o&&(s.moveTo(h*Po(g),h*Ro(g)),s.arc(0,0,h,g,d,b));else{var w,m,y=d,v=g,x=d,k=g,_=p,A=p,E=o.apply(this,arguments)/2,T=E>$o&&(i?+i.apply(this,arguments):jo(h*h+f*f)),C=Fo(Lo(f-h)/2,+n.apply(this,arguments)),S=C,I=C;if(T>$o){var M=Go(T/h*Ro(E)),D=Go(T/f*Ro(E));(_-=2*M)>$o?(x+=M*=b?1:-1,k-=M):(_=0,x=k=(d+g)/2),(A-=2*D)>$o?(y+=D*=b?1:-1,v-=D):(A=0,y=v=(d+g)/2)}var O=f*Po(y),L=f*Ro(y),N=h*Po(k),P=h*Ro(k);if(C>$o){var B,F=f*Po(v),R=f*Ro(v),j=h*Po(x),$=h*Ro(x);if(p<zo)if(B=rs(O,L,j,$,F,R,N,P)){var z=O-B[0],q=L-B[1],H=F-B[0],U=R-B[1],G=1/Ro(Uo((z*H+q*U)/(jo(z*z+q*q)*jo(H*H+U*U)))/2),Y=jo(B[0]*B[0]+B[1]*B[1]);S=Fo(C,(h-Y)/(G-1)),I=Fo(C,(f-Y)/(G+1))}else S=I=0}A>$o?I>$o?(w=as(j,$,O,L,f,I,b),m=as(F,R,N,P,f,I,b),s.moveTo(w.cx+w.x01,w.cy+w.y01),I<C?s.arc(w.cx,w.cy,I,No(w.y01,w.x01),No(m.y01,m.x01),!b):(s.arc(w.cx,w.cy,I,No(w.y01,w.x01),No(w.y11,w.x11),!b),s.arc(0,0,f,No(w.cy+w.y11,w.cx+w.x11),No(m.cy+m.y11,m.cx+m.x11),!b),s.arc(m.cx,m.cy,I,No(m.y11,m.x11),No(m.y01,m.x01),!b))):(s.moveTo(O,L),s.arc(0,0,f,y,v,!b)):s.moveTo(O,L),h>$o&&_>$o?S>$o?(w=as(N,P,F,R,h,-S,b),m=as(O,L,j,$,h,-S,b),s.lineTo(w.cx+w.x01,w.cy+w.y01),S<C?s.arc(w.cx,w.cy,S,No(w.y01,w.x01),No(m.y01,m.x01),!b):(s.arc(w.cx,w.cy,S,No(w.y01,w.x01),No(w.y11,w.x11),!b),s.arc(0,0,h,No(w.cy+w.y11,w.cx+w.x11),No(m.cy+m.y11,m.cx+m.x11),b),s.arc(m.cx,m.cy,S,No(m.y11,m.x11),No(m.y01,m.x01),!b))):s.arc(0,0,h,k,x,b):s.lineTo(N,P)}else s.moveTo(0,0);if(s.closePath(),u)return s=null,u+""||null}return u.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+r.apply(this,arguments)+ +a.apply(this,arguments))/2-zo/2;return[Po(i)*n,Ro(i)*n]},u.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:Oo(+e),u):t},u.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Oo(+t),u):e},u.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Oo(+t),u):n},u.padRadius=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:Oo(+t),u):i},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Oo(+t),u):r},u.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Oo(+t),u):a},u.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Oo(+t),u):o},u.context=function(t){return arguments.length?(s=null==t?null:t,u):s},u}Array.prototype.slice;function ss(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function cs(t){this._context=t}function us(t){return new cs(t)}function ls(t){return t[0]}function hs(t){return t[1]}function fs(t,e){var n=Oo(!0),i=null,r=us,a=null,o=Qo(s);function s(s){var c,u,l,h=(s=ss(s)).length,f=!1;for(null==i&&(a=r(l=o())),c=0;c<=h;++c)!(c<h&&n(u=s[c],c,s))===f&&((f=!f)?a.lineStart():a.lineEnd()),f&&a.point(+t(u,c,s),+e(u,c,s));if(l)return a=null,l+""||null}return t="function"==typeof t?t:void 0===t?ls:Oo(t),e="function"==typeof e?e:void 0===e?hs:Oo(e),s.x=function(e){return arguments.length?(t="function"==typeof e?e:Oo(+e),s):t},s.y=function(t){return arguments.length?(e="function"==typeof t?t:Oo(+t),s):e},s.defined=function(t){return arguments.length?(n="function"==typeof t?t:Oo(!!t),s):n},s.curve=function(t){return arguments.length?(r=t,null!=i&&(a=r(i)),s):r},s.context=function(t){return arguments.length?(null==t?i=a=null:a=r(i=t),s):i},s}function ds(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function gs(t){return t}function ps(){var t=gs,e=ds,n=null,i=Oo(0),r=Oo(Ho),a=Oo(0);function o(o){var s,c,u,l,h,f=(o=ss(o)).length,d=0,g=new Array(f),p=new Array(f),b=+i.apply(this,arguments),w=Math.min(Ho,Math.max(-Ho,r.apply(this,arguments)-b)),m=Math.min(Math.abs(w)/f,a.apply(this,arguments)),y=m*(w<0?-1:1);for(s=0;s<f;++s)(h=p[g[s]=s]=+t(o[s],s,o))>0&&(d+=h);for(null!=e?g.sort((function(t,n){return e(p[t],p[n])})):null!=n&&g.sort((function(t,e){return n(o[t],o[e])})),s=0,u=d?(w-f*y)/d:0;s<f;++s,b=l)c=g[s],l=b+((h=p[c])>0?h*u:0)+y,p[c]={data:o[c],index:s,value:h,startAngle:b,endAngle:l,padAngle:m};return p}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:Oo(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,n=null,o):e},o.sort=function(t){return arguments.length?(n=t,e=null,o):n},o.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:Oo(+t),o):i},o.endAngle=function(t){return arguments.length?(r="function"==typeof t?t:Oo(+t),o):r},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:Oo(+t),o):a},o}function bs(){}function ws(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 ms(t){this._context=t}function ys(t){return new ms(t)}function vs(t){this._context=t}function xs(t){return new vs(t)}function ks(t){this._context=t}function _s(t){return new ks(t)}cs.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)}}},ms.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:ws(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:ws(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},vs.prototype={areaStart:bs,areaEnd:bs,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:ws(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ks.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,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:ws(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class As{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 Es(t){return new As(t,!0)}function Ts(t){return new As(t,!1)}function Cs(t,e){this._basis=new ms(t),this._beta=e}Cs.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 i,r=t[0],a=e[0],o=t[n]-r,s=e[n]-a,c=-1;++c<=n;)i=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(r+i*o),this._beta*e[c]+(1-this._beta)*(a+i*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var Ss=function t(e){function n(t){return 1===e?new ms(t):new Cs(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function Is(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 Ms(t,e){this._context=t,this._k=(1-e)/6}Ms.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:Is(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:Is(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 Ds=function t(e){function n(t){return new Ms(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Os(t,e){this._context=t,this._k=(1-e)/6}Os.prototype={areaStart:bs,areaEnd:bs,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:Is(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 Ls=function t(e){function n(t){return new Os(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Ns(t,e){this._context=t,this._k=(1-e)/6}Ns.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:Is(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 Ps=function t(e){function n(t){return new Ns(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Bs(t,e,n){var i=t._x1,r=t._y1,a=t._x2,o=t._y2;if(t._l01_a>$o){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,r=(r*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>$o){var u=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);a=(a*u+t._x1*t._l23_2a-e*t._l12_2a)/l,o=(o*u+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(i,r,a,o,t._x2,t._y2)}function Fs(t,e){this._context=t,this._alpha=e}Fs.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,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,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:Bs(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 Rs=function t(e){function n(t){return e?new Fs(t,e):new Ms(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function js(t,e){this._context=t,this._alpha=e}js.prototype={areaStart:bs,areaEnd:bs,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,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,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:Bs(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 $s=function t(e){function n(t){return e?new js(t,e):new Os(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function zs(t,e){this._context=t,this._alpha=e}zs.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,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,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:Bs(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 qs=function t(e){function n(t){return e?new zs(t,e):new Ns(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Hs(t){this._context=t}function Us(t){return new Hs(t)}function Gs(t){return t<0?-1:1}function Ys(t,e,n){var i=t._x1-t._x0,r=e-t._x1,a=(t._y1-t._y0)/(i||r<0&&-0),o=(n-t._y1)/(r||i<0&&-0),s=(a*r+o*i)/(i+r);return(Gs(a)+Gs(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Zs(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Ws(t,e,n){var i=t._x0,r=t._y0,a=t._x1,o=t._y1,s=(a-i)/3;t._context.bezierCurveTo(i+s,r+s*e,a-s,o-s*n,a,o)}function Ks(t){this._context=t}function Xs(t){this._context=new Vs(t)}function Vs(t){this._context=t}function Qs(t){return new Ks(t)}function Js(t){return new Xs(t)}function tc(t){this._context=t}function ec(t){var e,n,i=t.length-1,r=new Array(i),a=new Array(i),o=new Array(i);for(r[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<i-1;++e)r[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(r[i-1]=2,a[i-1]=7,o[i-1]=8*t[i-1]+t[i],e=1;e<i;++e)n=r[e]/a[e-1],a[e]-=n,o[e]-=n*o[e-1];for(r[i-1]=o[i-1]/a[i-1],e=i-2;e>=0;--e)r[e]=(o[e]-r[e+1])/a[e];for(a[i-1]=(t[i]+r[i-1])/2,e=0;e<i-1;++e)a[e]=2*t[e+1]-r[e+1];return[r,a]}function nc(t){return new tc(t)}function ic(t,e){this._context=t,this._t=e}function rc(t){return new ic(t,.5)}function ac(t){return new ic(t,0)}function oc(t){return new ic(t,1)}function sc(t,e,n){this.k=t,this.x=e,this.y=n}Hs.prototype={areaStart:bs,areaEnd:bs,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Ks.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ws(this,this._t0,Zs(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){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,Ws(this,Zs(this,n=Ys(this,t,e)),n);break;default:Ws(this,this._t0,n=Ys(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Xs.prototype=Object.create(Ks.prototype)).point=function(t,e){Ks.prototype.point.call(this,e,t)},Vs.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,i,r,a){this._context.bezierCurveTo(e,t,i,n,a,r)}},tc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var i=ec(t),r=ec(e),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(i[0][a],r[0][a],i[1][a],r[1][a],t[o],e[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},ic.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=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}},sc.prototype={constructor:sc,scale:function(t){return 1===t?this:new sc(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new sc(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 sc(1,0,0);sc.prototype},8137:function(t,e,n){"use strict";n.d(e,{a:function(){return r}});var i=n(6421);function r(t,e){var n=t.append("foreignObject").attr("width","100000"),r=n.append("xhtml:div");r.attr("xmlns","http://www.w3.org/1999/xhtml");var a=e.label;switch(typeof a){case"function":r.insert(a);break;case"object":r.insert((function(){return a}));break;default:r.html(a)}i.bg(r,e.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap");var o=r.node().getBoundingClientRect();return n.attr("width",o.width).attr("height",o.height),n}},6421:function(t,e,n){"use strict";n.d(e,{$p:function(){return l},O1:function(){return o},WR:function(){return h},bF:function(){return a},bg:function(){return u}});var i=n(3862),r=n(3200);function a(t,e){return!!t.children(e).length}function o(t){return c(t.v)+":"+c(t.w)+":"+c(t.name)}var s=/:/g;function c(t){return t?String(t).replace(s,"\\:"):""}function u(t,e){e&&t.attr("style",e)}function l(t,e,n){e&&t.attr("class",e).attr("class",n+" "+t.attr("class"))}function h(t,e){var n=e.graph();if(i.Z(n)){var a=n.transition;if(r.Z(a))return a(t)}return t}},1768:function(t,e,n){"use strict";n.d(e,{bK:function(){return Ke}});var i=n(6227),r=n(7474),a=n(4734),o=n(2399),s=n(1849),c=n(8076),u=n(6460),l=n(8066);class h{constructor(){var t={};t._next=t._prev=t,this._sentinel=t}dequeue(){var t=this._sentinel,e=t._prev;if(e!==t)return f(e),e}enqueue(t){var e=this._sentinel;t._prev&&t._next&&f(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e}toString(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,d)),n=n._prev;return"["+t.join(", ")+"]"}}function f(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function d(t,e){if("_next"!==t&&"_prev"!==t)return e}var g=o.Z(1);function p(t,e){if(t.nodeCount()<=1)return[];var n=function(t,e){var n=new l.k,r=0,a=0;i.Z(t.nodes(),(function(t){n.setNode(t,{v:t,in:0,out:0})})),i.Z(t.edges(),(function(t){var i=n.edge(t.v,t.w)||0,o=e(t),s=i+o;n.setEdge(t.v,t.w,s),a=Math.max(a,n.node(t.v).out+=o),r=Math.max(r,n.node(t.w).in+=o)}));var o=u.Z(a+r+3).map((function(){return new h})),s=r+1;return i.Z(n.nodes(),(function(t){w(o,s,n.node(t))})),{graph:n,buckets:o,zeroIdx:s}}(t,e||g),r=function(t,e,n){var i,r=[],a=e[e.length-1],o=e[0];for(;t.nodeCount();){for(;i=o.dequeue();)b(t,e,n,i);for(;i=a.dequeue();)b(t,e,n,i);if(t.nodeCount())for(var s=e.length-2;s>0;--s)if(i=e[s].dequeue()){r=r.concat(b(t,e,n,i,!0));break}}return r}(n.graph,n.buckets,n.zeroIdx);return s.Z(c.Z(r,(function(e){return t.outEdges(e.v,e.w)})))}function b(t,e,n,r,a){var o=a?[]:void 0;return i.Z(t.inEdges(r.v),(function(i){var r=t.edge(i),s=t.node(i.v);a&&o.push({v:i.v,w:i.w}),s.out-=r,w(e,n,s)})),i.Z(t.outEdges(r.v),(function(i){var r=t.edge(i),a=i.w,o=t.node(a);o.in-=r,w(e,n,o)})),t.removeNode(r.v),o}function w(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}function m(t){var e="greedy"===t.graph().acyclicer?p(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},r={};function o(s){a.Z(r,s)||(r[s]=!0,n[s]=!0,i.Z(t.outEdges(s),(function(t){a.Z(n,t.w)?e.push(t):o(t.w)})),delete n[s])}return i.Z(t.nodes(),o),e}(t);i.Z(e,(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r.Z("rev"))}))}var y=n(675),v=n(1250),x=n(8670);var k=function(t,e,n){(void 0!==n&&!(0,x.Z)(t[e],n)||void 0===n&&!(e in t))&&(0,v.Z)(t,e,n)},_=n(1405),A=n(9053),E=n(9178),T=n(7855),C=n(7734),S=n(175),I=n(6575),M=n(5214),D=n(7840),O=n(3200),L=n(7275),N=n(3862),P=n(4161);var B=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},F=n(3617),R=n(4027);var j=function(t){return(0,F.Z)(t,(0,R.Z)(t))};var $=function(t,e,n,i,r,a,o){var s=B(t,n),c=B(e,n),u=o.get(c);if(u)k(t,n,u);else{var l=a?a(s,c,n+"",t,e,o):void 0,h=void 0===l;if(h){var f=(0,I.Z)(c),d=!f&&(0,D.Z)(c),g=!f&&!d&&(0,P.Z)(c);l=c,f||d||g?(0,I.Z)(s)?l=s:(0,M.Z)(s)?l=(0,T.Z)(s):d?(h=!1,l=(0,A.Z)(c,!0)):g?(h=!1,l=(0,E.Z)(c,!0)):l=[]:(0,N.Z)(c)||(0,S.Z)(c)?(l=s,(0,S.Z)(s)?l=j(s):(0,L.Z)(s)&&!(0,O.Z)(s)||(l=(0,C.Z)(c))):h=!1}h&&(o.set(c,l),r(l,c,i,a,o),o.delete(c)),k(t,n,l)}};var z=function t(e,n,i,r,a){e!==n&&(0,_.Z)(n,(function(o,s){if(a||(a=new y.Z),(0,L.Z)(o))$(e,n,s,i,t,r,a);else{var c=r?r(B(e,s),o,s+"",e,n,a):void 0;void 0===c&&(c=o),k(e,s,c)}}),R.Z)},q=n(155),H=n(9597);var U=function(t){return(0,q.Z)((function(e,n){var i=-1,r=n.length,a=r>1?n[r-1]:void 0,o=r>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(r--,a):void 0,o&&(0,H.Z)(n[0],n[1],o)&&(a=r<3?void 0:a,r=1),e=Object(e);++i<r;){var s=n[i];s&&t(e,s,i,a)}return e}))}((function(t,e,n){z(t,e,n)})),G=n(9980),Y=n(9999),Z=n(54);var W=function(t,e,n){for(var i=-1,r=t.length;++i<r;){var a=t[i],o=e(a);if(null!=o&&(void 0===s?o==o&&!(0,Z.Z)(o):n(o,s)))var s=o,c=a}return c};var K=function(t,e){return t>e},X=n(1116);var V=function(t){return t&&t.length?W(t,X.Z,K):void 0};var Q=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0},J=n(8878),tt=n(5350);var et=function(t,e){var n={};return e=(0,tt.Z)(e,3),(0,J.Z)(t,(function(t,i,r){(0,v.Z)(n,i,e(t,i,r))})),n},nt=n(9789);var it=function(t,e){return t<e};var rt=function(t){return t&&t.length?W(t,X.Z,it):void 0},at=n(658),ot=function(){return at.Z.Date.now()};function st(t,e,n,i){var a;do{a=r.Z(i)}while(t.hasNode(a));return n.dummy=e,t.setNode(a,n),a}function ct(t){var e=new l.k({multigraph:t.isMultigraph()}).setGraph(t.graph());return i.Z(t.nodes(),(function(n){t.children(n).length||e.setNode(n,t.node(n))})),i.Z(t.edges(),(function(n){e.setEdge(n,t.edge(n))})),e}function ut(t,e){var n,i,r=t.x,a=t.y,o=e.x-r,s=e.y-a,c=t.width/2,u=t.height/2;if(!o&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*c>Math.abs(o)*u?(s<0&&(u=-u),n=u*o/s,i=u):(o<0&&(c=-c),n=c,i=c*s/o),{x:r+n,y:a+i}}function lt(t){var e=c.Z(u.Z(ft(t)+1),(function(){return[]}));return i.Z(t.nodes(),(function(n){var i=t.node(n),r=i.rank;nt.Z(r)||(e[r][i.order]=n)})),e}function ht(t,e,n,i){var r={width:0,height:0};return arguments.length>=4&&(r.rank=n,r.order=i),st(t,"border",r,e)}function ft(t){return V(c.Z(t.nodes(),(function(e){var n=t.node(e).rank;if(!nt.Z(n))return n})))}function dt(t,e){var n=ot();try{return e()}finally{console.log(t+" time: "+(ot()-n)+"ms")}}function gt(t,e){return e()}function pt(t,e,n,i,r,a){var o={width:0,height:0,rank:a,borderType:e},s=r[e][a-1],c=st(t,"border",o,n);r[e][a]=c,t.setParent(c,i),s&&t.setEdge(s,c,{weight:1})}function bt(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){i.Z(t.nodes(),(function(e){yt(t.node(e))})),i.Z(t.edges(),(function(e){var n=t.edge(e);i.Z(n.points,yt),a.Z(n,"y")&&yt(n)}))}(t),"lr"!==e&&"rl"!==e||(!function(t){i.Z(t.nodes(),(function(e){vt(t.node(e))})),i.Z(t.edges(),(function(e){var n=t.edge(e);i.Z(n.points,vt),a.Z(n,"x")&&vt(n)}))}(t),wt(t))}function wt(t){i.Z(t.nodes(),(function(e){mt(t.node(e))})),i.Z(t.edges(),(function(e){mt(t.edge(e))}))}function mt(t){var e=t.width;t.width=t.height,t.height=e}function yt(t){t.y=-t.y}function vt(t){var e=t.x;t.x=t.y,t.y=e}function xt(t){t.graph().dummyChains=[],i.Z(t.edges(),(function(e){!function(t,e){var n,i,r,a=e.v,o=t.node(a).rank,s=e.w,c=t.node(s).rank,u=e.name,l=t.edge(e),h=l.labelRank;if(c===o+1)return;for(t.removeEdge(e),r=0,++o;o<c;++r,++o)l.points=[],n=st(t,"edge",i={width:0,height:0,edgeLabel:l,edgeObj:e,rank:o},"_d"),o===h&&(i.width=l.width,i.height=l.height,i.dummy="edge-label",i.labelpos=l.labelpos),t.setEdge(a,n,{weight:l.weight},u),0===r&&t.graph().dummyChains.push(n),a=n;t.setEdge(a,s,{weight:l.weight},u)}(t,e)}))}var kt=function(t,e){return t&&t.length?W(t,(0,tt.Z)(e,2),it):void 0};function _t(t){var e={};i.Z(t.sources(),(function n(i){var r=t.node(i);if(a.Z(e,i))return r.rank;e[i]=!0;var o=rt(c.Z(t.outEdges(i),(function(e){return n(e.w)-t.edge(e).minlen})));return o!==Number.POSITIVE_INFINITY&&null!=o||(o=0),r.rank=o}))}function At(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}function Et(t){var e,n,i=new l.k({directed:!1}),r=t.nodes()[0],a=t.nodeCount();for(i.setNode(r,{});Tt(i,t)<a;)e=Ct(i,t),n=i.hasNode(e.v)?At(t,e):-At(t,e),St(i,t,n);return i}function Tt(t,e){return i.Z(t.nodes(),(function n(r){i.Z(e.nodeEdges(r),(function(i){var a=i.v,o=r===a?i.w:a;t.hasNode(o)||At(e,i)||(t.setNode(o,{}),t.setEdge(r,o,{}),n(o))}))})),t.nodeCount()}function Ct(t,e){return kt(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return At(e,n)}))}function St(t,e,n){i.Z(t.nodes(),(function(t){e.node(t).rank+=n}))}var It=n(6905),Mt=n(825);var Dt=function(t){return function(e,n,i){var r=Object(e);if(!(0,It.Z)(e)){var a=(0,tt.Z)(n,3);e=(0,Mt.Z)(e),n=function(t){return a(r[t],t,r)}}var o=t(e,n,i);return o>-1?r[a?e[o]:o]:void 0}},Ot=n(1758),Lt=n(5473);var Nt=function(t){var e=(0,Lt.Z)(t),n=e%1;return e==e?n?e-n:e:0},Pt=Math.max;var Bt=Dt((function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:Nt(n);return r<0&&(r=Pt(i+r,0)),(0,Ot.Z)(t,(0,tt.Z)(e,3),r)})),Ft=n(3555);o.Z(1);o.Z(1);n(9295),n(9035),n(963),n(4897);(0,n(7381).Z)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Rt="[\\ud800-\\udfff]",jt="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",$t="\\ud83c[\\udffb-\\udfff]",zt="[^\\ud800-\\udfff]",qt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ht="[\\ud800-\\udbff][\\udc00-\\udfff]",Ut="(?:"+jt+"|"+$t+")"+"?",Gt="[\\ufe0e\\ufe0f]?",Yt=Gt+Ut+("(?:\\u200d(?:"+[zt,qt,Ht].join("|")+")"+Gt+Ut+")*"),Zt="(?:"+[zt+jt+"?",jt,qt,Ht,Rt].join("|")+")";RegExp($t+"(?="+$t+")|"+Zt+Yt,"g");function Wt(){}function Kt(t,e,n){I.Z(e)||(e=[e]);var r=(t.isDirected()?t.successors:t.neighbors).bind(t),a=[],o={};return i.Z(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);Xt(t,e,"post"===n,o,r,a)})),a}function Xt(t,e,n,r,o,s){a.Z(r,e)||(r[e]=!0,n||s.push(e),i.Z(o(e),(function(e){Xt(t,e,n,r,o,s)})),n&&s.push(e))}Wt.prototype=new Error;n(8612);function Vt(t){t=function(t){var e=(new l.k).setGraph(t.graph());return i.Z(t.nodes(),(function(n){e.setNode(n,t.node(n))})),i.Z(t.edges(),(function(n){var i=e.edge(n.v,n.w)||{weight:0,minlen:1},r=t.edge(n);e.setEdge(n.v,n.w,{weight:i.weight+r.weight,minlen:Math.max(i.minlen,r.minlen)})})),e}(t),_t(t);var e,n=Et(t);for(te(n),Qt(n,t);e=ne(n);)re(n,t,e,ie(n,t,e))}function Qt(t,e){var n=function(t,e){return Kt(t,e,"post")}(t,t.nodes());n=n.slice(0,n.length-1),i.Z(n,(function(n){!function(t,e,n){var i=t.node(n).parent;t.edge(n,i).cutvalue=Jt(t,e,n)}(t,e,n)}))}function Jt(t,e,n){var r=t.node(n).parent,a=!0,o=e.edge(n,r),s=0;return o||(a=!1,o=e.edge(r,n)),s=o.weight,i.Z(e.nodeEdges(n),(function(i){var o,c,u=i.v===n,l=u?i.w:i.v;if(l!==r){var h=u===a,f=e.edge(i).weight;if(s+=h?f:-f,o=n,c=l,t.hasEdge(o,c)){var d=t.edge(n,l).cutvalue;s+=h?-d:d}}})),s}function te(t,e){arguments.length<2&&(e=t.nodes()[0]),ee(t,{},1,e)}function ee(t,e,n,r,o){var s=n,c=t.node(r);return e[r]=!0,i.Z(t.neighbors(r),(function(i){a.Z(e,i)||(n=ee(t,e,n,i,r))})),c.low=s,c.lim=n++,o?c.parent=o:delete c.parent,n}function ne(t){return Bt(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function ie(t,e,n){var i=n.v,r=n.w;e.hasEdge(i,r)||(i=n.w,r=n.v);var a=t.node(i),o=t.node(r),s=a,c=!1;a.lim>o.lim&&(s=o,c=!0);var u=Ft.Z(e.edges(),(function(e){return c===ae(t,t.node(e.v),s)&&c!==ae(t,t.node(e.w),s)}));return kt(u,(function(t){return At(e,t)}))}function re(t,e,n,r){var a=n.v,o=n.w;t.removeEdge(a,o),t.setEdge(r.v,r.w,{}),te(t),Qt(t,e),function(t,e){var n=Bt(t.nodes(),(function(t){return!e.node(t).parent})),r=function(t,e){return Kt(t,e,"pre")}(t,n);r=r.slice(1),i.Z(r,(function(n){var i=t.node(n).parent,r=e.edge(n,i),a=!1;r||(r=e.edge(i,n),a=!0),e.node(n).rank=e.node(i).rank+(a?r.minlen:-r.minlen)}))}(t,e)}function ae(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}function oe(t){switch(t.graph().ranker){case"network-simplex":default:ce(t);break;case"tight-tree":!function(t){_t(t),Et(t)}(t);break;case"longest-path":se(t)}}Vt.initLowLimValues=te,Vt.initCutValues=Qt,Vt.calcCutValue=Jt,Vt.leaveEdge=ne,Vt.enterEdge=ie,Vt.exchangeEdges=re;var se=_t;function ce(t){Vt(t)}var ue=n(2855),le=n(9886);function he(t){var e=st(t,"root",{},"_root"),n=function(t){var e={};function n(r,a){var o=t.children(r);o&&o.length&&i.Z(o,(function(t){n(t,a+1)})),e[r]=a}return i.Z(t.children(),(function(t){n(t,1)})),e}(t),r=V(ue.Z(n))-1,a=2*r+1;t.graph().nestingRoot=e,i.Z(t.edges(),(function(e){t.edge(e).minlen*=a}));var o=function(t){return le.Z(t.edges(),(function(e,n){return e+t.edge(n).weight}),0)}(t)+1;i.Z(t.children(),(function(i){fe(t,e,a,o,r,n,i)})),t.graph().nodeRankFactor=a}function fe(t,e,n,r,a,o,s){var c=t.children(s);if(c.length){var u=ht(t,"_bt"),l=ht(t,"_bb"),h=t.node(s);t.setParent(u,s),h.borderTop=u,t.setParent(l,s),h.borderBottom=l,i.Z(c,(function(i){fe(t,e,n,r,a,o,i);var c=t.node(i),h=c.borderTop?c.borderTop:i,f=c.borderBottom?c.borderBottom:i,d=c.borderTop?r:2*r,g=h!==f?1:a-o[s]+1;t.setEdge(u,h,{weight:d,minlen:g,nestingEdge:!0}),t.setEdge(f,l,{weight:d,minlen:g,nestingEdge:!0})})),t.parent(s)||t.setEdge(e,u,{weight:0,minlen:a+o[s]})}else s!==e&&t.setEdge(e,s,{weight:0,minlen:n})}var de=n(6833);var ge=function(t){return(0,de.Z)(t,5)};function pe(t,e,n){var o=function(t){var e;for(;t.hasNode(e=r.Z("_root")););return e}(t),s=new l.k({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(e){return t.node(e)}));return i.Z(t.nodes(),(function(r){var c=t.node(r),u=t.parent(r);(c.rank===e||c.minRank<=e&&e<=c.maxRank)&&(s.setNode(r),s.setParent(r,u||o),i.Z(t[n](r),(function(e){var n=e.v===r?e.w:e.v,i=s.edge(n,r),a=nt.Z(i)?0:i.weight;s.setEdge(n,r,{weight:t.edge(e).weight+a})})),a.Z(c,"minRank")&&s.setNode(r,{borderLeft:c.borderLeft[e],borderRight:c.borderRight[e]}))})),s}var be=n(9616);var we=function(t,e,n){for(var i=-1,r=t.length,a=e.length,o={};++i<r;){var s=i<a?e[i]:void 0;n(o,t[i],s)}return o};var me=function(t,e){return we(t||[],e||[],be.Z)},ye=n(1747),ve=n(2363),xe=n(7106),ke=n(8998);var _e=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t},Ae=n(7133);var Ee=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,a=(0,Z.Z)(t),o=void 0!==e,s=null===e,c=e==e,u=(0,Z.Z)(e);if(!s&&!u&&!a&&t>e||a&&o&&c&&!s&&!u||i&&o&&c||!n&&c||!r)return 1;if(!i&&!a&&!u&&t<e||u&&n&&r&&!i&&!a||s&&n&&r||!o&&r||!c)return-1}return 0};var Te=function(t,e,n){for(var i=-1,r=t.criteria,a=e.criteria,o=r.length,s=n.length;++i<o;){var c=Ee(r[i],a[i]);if(c)return i>=s?c:c*("desc"==n[i]?-1:1)}return t.index-e.index};var Ce=function(t,e,n){e=e.length?(0,ve.Z)(e,(function(t){return(0,I.Z)(t)?function(e){return(0,xe.Z)(e,1===t.length?t[0]:t)}:t})):[X.Z];var i=-1;e=(0,ve.Z)(e,(0,Ae.Z)(tt.Z));var r=(0,ke.Z)(t,(function(t,n,r){return{criteria:(0,ve.Z)(e,(function(e){return e(t)})),index:++i,value:t}}));return _e(r,(function(t,e){return Te(t,e,n)}))},Se=(0,q.Z)((function(t,e){if(null==t)return[];var n=e.length;return n>1&&(0,H.Z)(t,e[0],e[1])?e=[]:n>2&&(0,H.Z)(e[0],e[1],e[2])&&(e=[e[0]]),Ce(t,(0,ye.Z)(e,1),[])}));function Ie(t,e){for(var n=0,i=1;i<e.length;++i)n+=Me(t,e[i-1],e[i]);return n}function Me(t,e,n){for(var r=me(n,c.Z(n,(function(t,e){return e}))),a=s.Z(c.Z(e,(function(e){return Se(c.Z(t.outEdges(e),(function(e){return{pos:r[e.w],weight:t.edge(e).weight}})),"pos")}))),o=1;o<n.length;)o<<=1;var u=2*o-1;o-=1;var l=c.Z(new Array(u),(function(){return 0})),h=0;return i.Z(a.forEach((function(t){var e=t.pos+o;l[e]+=t.weight;for(var n=0;e>0;)e%2&&(n+=l[e+1]),l[e=e-1>>1]+=t.weight;h+=t.weight*n}))),h}function De(t,e){var n={};return i.Z(t,(function(t,e){var i=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};nt.Z(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight)})),i.Z(e.edges(),(function(t){var e=n[t.v],i=n[t.w];nt.Z(e)||nt.Z(i)||(i.indegree++,e.out.push(n[t.w]))})),function(t){var e=[];function n(t){return function(e){e.merged||(nt.Z(e.barycenter)||nt.Z(t.barycenter)||e.barycenter>=t.barycenter)&&function(t,e){var n=0,i=0;t.weight&&(n+=t.barycenter*t.weight,i+=t.weight);e.weight&&(n+=e.barycenter*e.weight,i+=e.weight);t.vs=e.vs.concat(t.vs),t.barycenter=n/i,t.weight=i,t.i=Math.min(e.i,t.i),e.merged=!0}(t,e)}}function r(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var a=t.pop();e.push(a),i.Z(a.in.reverse(),n(a)),i.Z(a.out,r(a))}return c.Z(Ft.Z(e,(function(t){return!t.merged})),(function(t){return G.Z(t,["vs","i","barycenter","weight"])}))}(Ft.Z(n,(function(t){return!t.indegree})))}function Oe(t,e){var n,r=function(t,e){var n={lhs:[],rhs:[]};return i.Z(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)})),n}(t,(function(t){return a.Z(t,"barycenter")})),o=r.lhs,c=Se(r.rhs,(function(t){return-t.i})),u=[],l=0,h=0,f=0;o.sort((n=!!e,function(t,e){return t.barycenter<e.barycenter?-1:t.barycenter>e.barycenter?1:n?e.i-t.i:t.i-e.i})),f=Le(u,c,f),i.Z(o,(function(t){f+=t.vs.length,u.push(t.vs),l+=t.barycenter*t.weight,h+=t.weight,f=Le(u,c,f)}));var d={vs:s.Z(u)};return h&&(d.barycenter=l/h,d.weight=h),d}function Le(t,e,n){for(var i;e.length&&(i=Q(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}function Ne(t,e,n,r){var o=t.children(e),u=t.node(e),l=u?u.borderLeft:void 0,h=u?u.borderRight:void 0,f={};l&&(o=Ft.Z(o,(function(t){return t!==l&&t!==h})));var d=function(t,e){return c.Z(e,(function(e){var n=t.inEdges(e);if(n.length){var i=le.Z(n,(function(e,n){var i=t.edge(n),r=t.node(n.v);return{sum:e.sum+i.weight*r.order,weight:e.weight+i.weight}}),{sum:0,weight:0});return{v:e,barycenter:i.sum/i.weight,weight:i.weight}}return{v:e}}))}(t,o);i.Z(d,(function(e){if(t.children(e.v).length){var i=Ne(t,e.v,n,r);f[e.v]=i,a.Z(i,"barycenter")&&(o=e,s=i,nt.Z(o.barycenter)?(o.barycenter=s.barycenter,o.weight=s.weight):(o.barycenter=(o.barycenter*o.weight+s.barycenter*s.weight)/(o.weight+s.weight),o.weight+=s.weight))}var o,s}));var g=De(d,n);!function(t,e){i.Z(t,(function(t){t.vs=s.Z(t.vs.map((function(t){return e[t]?e[t].vs:t})))}))}(g,f);var p=Oe(g,r);if(l&&(p.vs=s.Z([l,p.vs,h]),t.predecessors(l).length)){var b=t.node(t.predecessors(l)[0]),w=t.node(t.predecessors(h)[0]);a.Z(p,"barycenter")||(p.barycenter=0,p.weight=0),p.barycenter=(p.barycenter*p.weight+b.order+w.order)/(p.weight+2),p.weight+=2}return p}function Pe(t){var e=ft(t),n=Be(t,u.Z(1,e+1),"inEdges"),r=Be(t,u.Z(e-1,-1,-1),"outEdges"),o=function(t){var e={},n=Ft.Z(t.nodes(),(function(e){return!t.children(e).length})),r=V(c.Z(n,(function(e){return t.node(e).rank}))),o=c.Z(u.Z(r+1),(function(){return[]})),s=Se(n,(function(e){return t.node(e).rank}));return i.Z(s,(function n(r){if(!a.Z(e,r)){e[r]=!0;var s=t.node(r);o[s.rank].push(r),i.Z(t.successors(r),n)}})),o}(t);Re(t,o);for(var s,l=Number.POSITIVE_INFINITY,h=0,f=0;f<4;++h,++f){Fe(h%2?n:r,h%4>=2);var d=Ie(t,o=lt(t));d<l&&(f=0,s=ge(o),l=d)}Re(t,s)}function Be(t,e,n){return c.Z(e,(function(e){return pe(t,e,n)}))}function Fe(t,e){var n=new l.k;i.Z(t,(function(t){var r=t.graph().root,a=Ne(t,r,n,e);i.Z(a.vs,(function(e,n){t.node(e).order=n})),function(t,e,n){var r,a={};i.Z(n,(function(n){for(var i,o,s=t.parent(n);s;){if((i=t.parent(s))?(o=a[i],a[i]=s):(o=r,r=s),o&&o!==s)return void e.setEdge(o,s);s=i}}))}(t,n,a.vs)}))}function Re(t,e){i.Z(e,(function(e){i.Z(e,(function(e,n){t.node(e).order=n}))}))}function je(t){var e=function(t){var e={},n=0;function r(a){var o=n;i.Z(t.children(a),r),e[a]={low:o,lim:n++}}return i.Z(t.children(),r),e}(t);i.Z(t.graph().dummyChains,(function(n){for(var i=t.node(n),r=i.edgeObj,a=function(t,e,n,i){var r,a,o=[],s=[],c=Math.min(e[n].low,e[i].low),u=Math.max(e[n].lim,e[i].lim);r=n;do{r=t.parent(r),o.push(r)}while(r&&(e[r].low>c||u>e[r].lim));a=r,r=i;for(;(r=t.parent(r))!==a;)s.push(r);return{path:o.concat(s.reverse()),lca:a}}(t,e,r.v,r.w),o=a.path,s=a.lca,c=0,u=o[c],l=!0;n!==r.w;){if(i=t.node(n),l){for(;(u=o[c])!==s&&t.node(u).maxRank<i.rank;)c++;u===s&&(l=!1)}if(!l){for(;c<o.length-1&&t.node(u=o[c+1]).minRank<=i.rank;)c++;u=o[c]}t.setParent(n,u),n=t.successors(n)[0]}}))}var $e=n(5908);var ze=function(t,e){return t&&(0,J.Z)(t,(0,$e.Z)(e))};var qe=function(t,e){return null==t?t:(0,_.Z)(t,(0,$e.Z)(e),R.Z)};function He(t,e){var n={};return le.Z(e,(function(e,r){var a=0,o=0,s=e.length,c=Q(r);return i.Z(r,(function(e,u){var l=function(t,e){if(t.node(e).dummy)return Bt(t.predecessors(e),(function(e){return t.node(e).dummy}))}(t,e),h=l?t.node(l).order:s;(l||e===c)&&(i.Z(r.slice(o,u+1),(function(e){i.Z(t.predecessors(e),(function(i){var r=t.node(i),o=r.order;!(o<a||h<o)||r.dummy&&t.node(e).dummy||Ue(n,i,e)}))})),o=u+1,a=h)})),r})),n}function Ue(t,e,n){if(e>n){var i=e;e=n,n=i}var r=t[e];r||(t[e]=r={}),r[n]=!0}function Ge(t,e,n){if(e>n){var i=e;e=n,n=i}return a.Z(t[e],n)}function Ye(t,e,n,r,o){var s={},c=function(t,e,n,r){var o=new l.k,s=t.graph(),c=function(t,e,n){return function(i,r,o){var s,c=i.node(r),u=i.node(o),l=0;if(l+=c.width/2,a.Z(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":s=-c.width/2;break;case"r":s=c.width/2}if(s&&(l+=n?s:-s),s=0,l+=(c.dummy?e:t)/2,l+=(u.dummy?e:t)/2,l+=u.width/2,a.Z(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":s=u.width/2;break;case"r":s=-u.width/2}return s&&(l+=n?s:-s),s=0,l}}(s.nodesep,s.edgesep,r);return i.Z(e,(function(e){var r;i.Z(e,(function(e){var i=n[e];if(o.setNode(i),r){var a=n[r],s=o.edge(a,i);o.setEdge(a,i,Math.max(c(t,e,r),s||0))}r=e}))})),o}(t,e,n,o),u=o?"borderLeft":"borderRight";function h(t,e){for(var n=c.nodes(),i=n.pop(),r={};i;)r[i]?t(i):(r[i]=!0,n.push(i),n=n.concat(e(i))),i=n.pop()}return h((function(t){s[t]=c.inEdges(t).reduce((function(t,e){return Math.max(t,s[e.v]+c.edge(e))}),0)}),c.predecessors.bind(c)),h((function(e){var n=c.outEdges(e).reduce((function(t,e){return Math.min(t,s[e.w]-c.edge(e))}),Number.POSITIVE_INFINITY),i=t.node(e);n!==Number.POSITIVE_INFINITY&&i.borderType!==u&&(s[e]=Math.max(s[e],n))}),c.successors.bind(c)),i.Z(r,(function(t){s[t]=s[n[t]]})),s}function Ze(t){var e,n=lt(t),r=U(He(t,n),function(t,e){var n={};function r(e,r,a,o,s){var c;i.Z(u.Z(r,a),(function(r){c=e[r],t.node(c).dummy&&i.Z(t.predecessors(c),(function(e){var i=t.node(e);i.dummy&&(i.order<o||i.order>s)&&Ue(n,e,c)}))}))}return le.Z(e,(function(e,n){var a,o=-1,s=0;return i.Z(n,(function(i,c){if("border"===t.node(i).dummy){var u=t.predecessors(i);u.length&&(a=t.node(u[0]).order,r(n,s,c,o,a),s=c,o=a)}r(n,s,n.length,a,e.length)})),n})),n}(t,n)),a={};i.Z(["u","d"],(function(o){e="u"===o?n:ue.Z(n).reverse(),i.Z(["l","r"],(function(n){"r"===n&&(e=c.Z(e,(function(t){return ue.Z(t).reverse()})));var s=("u"===o?t.predecessors:t.successors).bind(t),u=function(t,e,n,r){var a={},o={},s={};return i.Z(e,(function(t){i.Z(t,(function(t,e){a[t]=t,o[t]=t,s[t]=e}))})),i.Z(e,(function(t){var e=-1;i.Z(t,(function(t){var i=r(t);if(i.length){i=Se(i,(function(t){return s[t]}));for(var c=(i.length-1)/2,u=Math.floor(c),l=Math.ceil(c);u<=l;++u){var h=i[u];o[t]===t&&e<s[h]&&!Ge(n,t,h)&&(o[h]=t,o[t]=a[t]=a[h],e=s[h])}}}))})),{root:a,align:o}}(0,e,r,s),l=Ye(t,e,u.root,u.align,"r"===n);"r"===n&&(l=et(l,(function(t){return-t}))),a[o+n]=l}))}));var o=function(t,e){return kt(ue.Z(e),(function(e){var n=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return qe(e,(function(e,r){var a=function(t,e){return t.node(e).width}(t,r)/2;n=Math.max(e+a,n),i=Math.min(e-a,i)})),n-i}))}(t,a);return function(t,e){var n=ue.Z(e),r=rt(n),a=V(n);i.Z(["u","d"],(function(n){i.Z(["l","r"],(function(i){var o,s=n+i,c=t[s];if(c!==e){var u=ue.Z(c);(o="l"===i?r-rt(u):a-V(u))&&(t[s]=et(c,(function(t){return t+o})))}}))}))}(a,o),function(t,e){return et(t.ul,(function(n,i){if(e)return t[e.toLowerCase()][i];var r=Se(c.Z(t,i));return(r[1]+r[2])/2}))}(a,t.graph().align)}function We(t){(function(t){var e=lt(t),n=t.graph().ranksep,r=0;i.Z(e,(function(e){var a=V(c.Z(e,(function(e){return t.node(e).height})));i.Z(e,(function(e){t.node(e).y=r+a/2})),r+=a+n}))})(t=ct(t)),ze(Ze(t),(function(e,n){t.node(n).x=e}))}function Ke(t,e){var n=e&&e.debugTiming?dt:gt;n("layout",(function(){var e=n(" buildLayoutGraph",(function(){return function(t){var e=new l.k({multigraph:!0,compound:!0}),n=on(t.graph());return e.setGraph(U({},Ve,an(n,Xe),G.Z(n,Qe))),i.Z(t.nodes(),(function(n){var i=on(t.node(n));e.setNode(n,Y.Z(an(i,Je),tn)),e.setParent(n,t.parent(n))})),i.Z(t.edges(),(function(n){var i=on(t.edge(n));e.setEdge(n,U({},nn,an(i,en),G.Z(i,rn)))})),e}(t)}));n(" runLayout",(function(){!function(t,e){e(" makeSpaceForEdgeLabels",(function(){!function(t){var e=t.graph();e.ranksep/=2,i.Z(t.edges(),(function(n){var i=t.edge(n);i.minlen*=2,"c"!==i.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?i.width+=i.labeloffset:i.height+=i.labeloffset)}))}(t)})),e(" removeSelfEdges",(function(){!function(t){i.Z(t.edges(),(function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}}))}(t)})),e(" acyclic",(function(){m(t)})),e(" nestingGraph.run",(function(){he(t)})),e(" rank",(function(){oe(ct(t))})),e(" injectEdgeLabelProxies",(function(){!function(t){i.Z(t.edges(),(function(e){var n=t.edge(e);if(n.width&&n.height){var i=t.node(e.v),r={rank:(t.node(e.w).rank-i.rank)/2+i.rank,e:e};st(t,"edge-proxy",r,"_ep")}}))}(t)})),e(" removeEmptyRanks",(function(){!function(t){var e=rt(c.Z(t.nodes(),(function(e){return t.node(e).rank}))),n=[];i.Z(t.nodes(),(function(i){var r=t.node(i).rank-e;n[r]||(n[r]=[]),n[r].push(i)}));var r=0,a=t.graph().nodeRankFactor;i.Z(n,(function(e,n){nt.Z(e)&&n%a!=0?--r:r&&i.Z(e,(function(e){t.node(e).rank+=r}))}))}(t)})),e(" nestingGraph.cleanup",(function(){!function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,i.Z(t.edges(),(function(e){t.edge(e).nestingEdge&&t.removeEdge(e)}))}(t)})),e(" normalizeRanks",(function(){!function(t){var e=rt(c.Z(t.nodes(),(function(e){return t.node(e).rank})));i.Z(t.nodes(),(function(n){var i=t.node(n);a.Z(i,"rank")&&(i.rank-=e)}))}(t)})),e(" assignRankMinMax",(function(){!function(t){var e=0;i.Z(t.nodes(),(function(n){var i=t.node(n);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,e=V(e,i.maxRank))})),t.graph().maxRank=e}(t)})),e(" removeEdgeLabelProxies",(function(){!function(t){i.Z(t.nodes(),(function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))}))}(t)})),e(" normalize.run",(function(){xt(t)})),e(" parentDummyChains",(function(){je(t)})),e(" addBorderSegments",(function(){!function(t){i.Z(t.children(),(function e(n){var r=t.children(n),o=t.node(n);if(r.length&&i.Z(r,e),a.Z(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(var s=o.minRank,c=o.maxRank+1;s<c;++s)pt(t,"borderLeft","_bl",n,o,s),pt(t,"borderRight","_br",n,o,s)}}))}(t)})),e(" order",(function(){Pe(t)})),e(" insertSelfEdges",(function(){!function(t){var e=lt(t);i.Z(e,(function(e){var n=0;i.Z(e,(function(e,r){var a=t.node(e);a.order=r+n,i.Z(a.selfEdges,(function(e){st(t,"selfedge",{width:e.label.width,height:e.label.height,rank:a.rank,order:r+ ++n,e:e.e,label:e.label},"_se")})),delete a.selfEdges}))}))}(t)})),e(" adjustCoordinateSystem",(function(){!function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||wt(t)}(t)})),e(" position",(function(){We(t)})),e(" positionSelfEdges",(function(){!function(t){i.Z(t.nodes(),(function(e){var n=t.node(e);if("selfedge"===n.dummy){var i=t.node(n.e.v),r=i.x+i.width/2,a=i.y,o=n.x-r,s=i.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:r+2*o/3,y:a-s},{x:r+5*o/6,y:a-s},{x:r+o,y:a},{x:r+5*o/6,y:a+s},{x:r+2*o/3,y:a+s}],n.label.x=n.x,n.label.y=n.y}}))}(t)})),e(" removeBorderNodes",(function(){!function(t){i.Z(t.nodes(),(function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),r=t.node(n.borderBottom),a=t.node(Q(n.borderLeft)),o=t.node(Q(n.borderRight));n.width=Math.abs(o.x-a.x),n.height=Math.abs(r.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}})),i.Z(t.nodes(),(function(e){"border"===t.node(e).dummy&&t.removeNode(e)}))}(t)})),e(" normalize.undo",(function(){!function(t){i.Z(t.graph().dummyChains,(function(e){var n,i=t.node(e),r=i.edgeLabel;for(t.setEdge(i.edgeObj,r);i.dummy;)n=t.successors(e)[0],t.removeNode(e),r.points.push({x:i.x,y:i.y}),"edge-label"===i.dummy&&(r.x=i.x,r.y=i.y,r.width=i.width,r.height=i.height),e=n,i=t.node(e)}))}(t)})),e(" fixupEdgeLabelCoords",(function(){!function(t){i.Z(t.edges(),(function(e){var n=t.edge(e);if(a.Z(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(t)})),e(" undoCoordinateSystem",(function(){bt(t)})),e(" translateGraph",(function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,r=Number.POSITIVE_INFINITY,o=0,s=t.graph(),c=s.marginx||0,u=s.marginy||0;function l(t){var i=t.x,a=t.y,s=t.width,c=t.height;e=Math.min(e,i-s/2),n=Math.max(n,i+s/2),r=Math.min(r,a-c/2),o=Math.max(o,a+c/2)}i.Z(t.nodes(),(function(e){l(t.node(e))})),i.Z(t.edges(),(function(e){var n=t.edge(e);a.Z(n,"x")&&l(n)})),e-=c,r-=u,i.Z(t.nodes(),(function(n){var i=t.node(n);i.x-=e,i.y-=r})),i.Z(t.edges(),(function(n){var o=t.edge(n);i.Z(o.points,(function(t){t.x-=e,t.y-=r})),a.Z(o,"x")&&(o.x-=e),a.Z(o,"y")&&(o.y-=r)})),s.width=n-e+c,s.height=o-r+u}(t)})),e(" assignNodeIntersects",(function(){!function(t){i.Z(t.edges(),(function(e){var n,i,r=t.edge(e),a=t.node(e.v),o=t.node(e.w);r.points?(n=r.points[0],i=r.points[r.points.length-1]):(r.points=[],n=o,i=a),r.points.unshift(ut(a,n)),r.points.push(ut(o,i))}))}(t)})),e(" reversePoints",(function(){!function(t){i.Z(t.edges(),(function(e){var n=t.edge(e);n.reversed&&n.points.reverse()}))}(t)})),e(" acyclic.undo",(function(){!function(t){i.Z(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var i=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,i)}}))}(t)}))}(e,n)})),n(" updateInputGraph",(function(){!function(t,e){i.Z(t.nodes(),(function(n){var i=t.node(n),r=e.node(n);i&&(i.x=r.x,i.y=r.y,e.children(n).length&&(i.width=r.width,i.height=r.height))})),i.Z(t.edges(),(function(n){var i=t.edge(n),r=e.edge(n);i.points=r.points,a.Z(r,"x")&&(i.x=r.x,i.y=r.y)})),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)}))}))}var Xe=["nodesep","edgesep","ranksep","marginx","marginy"],Ve={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Qe=["acyclicer","ranker","rankdir","align"],Je=["width","height"],tn={width:0,height:0},en=["minlen","weight","width","height","labeloffset"],nn={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},rn=["labelpos"];function an(t,e){return et(G.Z(t,e),Number)}function on(t){var e={};return i.Z(t,(function(t,n){e[n.toLowerCase()]=t})),e}},8612:function(t,e,n){"use strict";n.d(e,{k:function(){return O}});var i=n(4734),r=n(2399),a=n(3200),o=n(825),s=n(3555),c=n(8403),u=n(6227),l=n(9789),h=n(1747),f=n(155),d=n(2199),g=n(1758);var p=function(t){return t!=t};var b=function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1};var w=function(t,e,n){return e==e?b(t,e,n):(0,g.Z)(t,p,n)};var m=function(t,e){return!!(null==t?0:t.length)&&w(t,e,0)>-1};var y=function(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1},v=n(2410),x=n(4458);var k=function(){},_=n(789),A=x.Z&&1/(0,_.Z)(new x.Z([,-0]))[1]==1/0?function(t){return new x.Z(t)}:k,E=A;var T=function(t,e,n){var i=-1,r=m,a=t.length,o=!0,s=[],c=s;if(n)o=!1,r=y;else if(a>=200){var u=e?null:E(t);if(u)return(0,_.Z)(u);o=!1,r=v.Z,c=new d.Z}else c=e?[]:s;t:for(;++i<a;){var l=t[i],h=e?e(l):l;if(l=n||0!==l?l:0,o&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue t;e&&c.push(h),s.push(l)}else r(c,h,n)||(c!==s&&c.push(h),s.push(l))}return s},C=n(5214),S=(0,f.Z)((function(t){return T((0,h.Z)(t,1,C.Z,!0))})),I=n(2855),M=n(9886),D="\0";class O{constructor(t={}){this._isDirected=!i.Z(t,"directed")||t.directed,this._isMultigraph=!!i.Z(t,"multigraph")&&t.multigraph,this._isCompound=!!i.Z(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=r.Z(void 0),this._defaultEdgeLabelFn=r.Z(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return a.Z(t)||(t=r.Z(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return o.Z(this._nodes)}sources(){var t=this;return s.Z(this.nodes(),(function(e){return c.Z(t._in[e])}))}sinks(){var t=this;return s.Z(this.nodes(),(function(e){return c.Z(t._out[e])}))}setNodes(t,e){var n=arguments,i=this;return u.Z(t,(function(t){n.length>1?i.setNode(t,e):i.setNode(t)})),this}setNode(t,e){return i.Z(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=D,this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return i.Z(this._nodes,t)}removeNode(t){var e=this;if(i.Z(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],u.Z(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),u.Z(o.Z(this._in[t]),n),delete this._in[t],delete this._preds[t],u.Z(o.Z(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(l.Z(e))e=D;else{for(var n=e+="";!l.Z(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==D)return e}}children(t){if(l.Z(t)&&(t=D),this._isCompound){var e=this._children[t];if(e)return o.Z(e)}else{if(t===D)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return o.Z(e)}successors(t){var e=this._sucs[t];if(e)return o.Z(e)}neighbors(t){var e=this.predecessors(t);if(e)return S(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;u.Z(this._nodes,(function(n,i){t(i)&&e.setNode(i,n)})),u.Z(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))}));var i={};function r(t){var a=n.parent(t);return void 0===a||e.hasNode(a)?(i[t]=a,a):a in i?i[a]:r(a)}return this._isCompound&&u.Z(e.nodes(),(function(t){e.setParent(t,r(t))})),e}setDefaultEdgeLabel(t){return a.Z(t)||(t=r.Z(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return I.Z(this._edgeObjs)}setPath(t,e){var n=this,i=arguments;return M.Z(t,(function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r})),this}setEdge(){var t,e,n,r,a=!1,o=arguments[0];"object"==typeof o&&null!==o&&"v"in o?(t=o.v,e=o.w,n=o.name,2===arguments.length&&(r=arguments[1],a=!0)):(t=o,e=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],a=!0)),t=""+t,e=""+e,l.Z(n)||(n=""+n);var s=P(this._isDirected,t,e,n);if(i.Z(this._edgeLabels,s))return a&&(this._edgeLabels[s]=r),this;if(!l.Z(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[s]=a?r:this._defaultEdgeLabelFn(t,e,n);var c=function(t,e,n,i){var r=""+e,a=""+n;if(!t&&r>a){var o=r;r=a,a=o}var s={v:r,w:a};i&&(s.name=i);return s}(this._isDirected,t,e,n);return t=c.v,e=c.w,Object.freeze(c),this._edgeObjs[s]=c,L(this._preds[e],t),L(this._sucs[t],e),this._in[e][s]=c,this._out[t][s]=c,this._edgeCount++,this}edge(t,e,n){var i=1===arguments.length?B(this._isDirected,arguments[0]):P(this._isDirected,t,e,n);return this._edgeLabels[i]}hasEdge(t,e,n){var r=1===arguments.length?B(this._isDirected,arguments[0]):P(this._isDirected,t,e,n);return i.Z(this._edgeLabels,r)}removeEdge(t,e,n){var i=1===arguments.length?B(this._isDirected,arguments[0]):P(this._isDirected,t,e,n),r=this._edgeObjs[i];return r&&(t=r.v,e=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],N(this._preds[e],t),N(this._sucs[t],e),delete this._in[e][i],delete this._out[t][i],this._edgeCount--),this}inEdges(t,e){var n=this._in[t];if(n){var i=I.Z(n);return e?s.Z(i,(function(t){return t.v===e})):i}}outEdges(t,e){var n=this._out[t];if(n){var i=I.Z(n);return e?s.Z(i,(function(t){return t.w===e})):i}}nodeEdges(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}}function L(t,e){t[e]?t[e]++:t[e]=1}function N(t,e){--t[e]||delete t[e]}function P(t,e,n,i){var r=""+e,a=""+n;if(!t&&r>a){var o=r;r=a,a=o}return r+""+a+""+(l.Z(i)?"\0":i)}function B(t,e){return P(t,e.v,e.w,e.name)}O.prototype._nodeCount=0,O.prototype._edgeCount=0},8066:function(t,e,n){"use strict";n.d(e,{k:function(){return i.k}});var i=n(8612)},835:function(t,e,n){"use strict";n.d(e,{c:function(){return s}});var i=n(9789),r=n(6833);var a=function(t){return(0,r.Z)(t,4)},o=n(8076);n(8612);function s(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:c(t),edges:u(t)};return i.Z(t.graph())||(e.value=a(t.graph())),e}function c(t){return o.Z(t.nodes(),(function(e){var n=t.node(e),r=t.parent(e),a={v:e};return i.Z(n)||(a.value=n),i.Z(r)||(a.parent=r),a}))}function u(t){return o.Z(t.edges(),(function(e){var n=t.edge(e),r={v:e.v,w:e.w};return i.Z(e.name)||(r.name=e.name),i.Z(n)||(r.value=n),r}))}},5446:function(t,e,n){"use strict";n.r(e);function i(t,e){var n={};return e.forEach((function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])})),n}var r={assign:function(t){for(var e,n=1;n<arguments.length;n++)for(var i in e=Object(arguments[n]))Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},pick:i,pick_pica_resize_options:function(t){return i(t,["alpha","unsharpAmount","unsharpRadius","unsharpThreshold","cancelToken"])}};function a(t){var e={exports:{}};return t(e,e.exports),e.exports}function o(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}var s=a((function(t,e){t.exports=function(){function t(e,n,i){function r(s,c){if(!n[s]){if(!e[s]){if(!c&&o)return o(s);if(a)return a(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[s]={exports:{}};e[s][0].call(l.exports,(function(t){return r(e[s][1][t]||t)}),l,l.exports,t,e,n,i)}return n[s].exports}for(var a=o,s=0;s<i.length;s++)r(i[s]);return r}return t}()({1:[function(t,e,n){var i=t("inherits"),r=t("multimath"),a=t("./mm_unsharp_mask"),o=t("./mm_resize");function s(t){var e=t||[],n={js:e.indexOf("js")>=0,wasm:e.indexOf("wasm")>=0};r.call(this,n),this.features={js:n.js,wasm:n.wasm&&this.has_wasm()},this.use(a),this.use(o)}i(s,r),s.prototype.resizeAndUnsharp=function(t,e){var n=this.resize(t,e);return t.unsharpAmount&&this.unsharp_mask(n,t.toWidth,t.toHeight,t.unsharpAmount,t.unsharpRadius,t.unsharpThreshold),n},e.exports=s},{"./mm_resize":4,"./mm_unsharp_mask":9,inherits:19,multimath:20}],2:[function(t,e,n){function i(t){return t<0?0:t>255?255:t}function r(t,e,n,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,m=0,y=0;for(p=0;p<r;p++){for(h=0,b=0;b<a;b++){for(f=o[h++],d=o[h++],g=m+4*f|0,s=c=u=l=0;d>0;d--)l=l+(w=o[h++])*t[g+3]|0,u=u+w*t[g+2]|0,c=c+w*t[g+1]|0,s=s+w*t[g]|0,g=g+4|0;e[y+3]=i(l+8192>>14),e[y+2]=i(u+8192>>14),e[y+1]=i(c+8192>>14),e[y]=i(s+8192>>14),y=y+4*r|0}y=4*(p+1)|0,m=(p+1)*n*4|0}}function a(t,e,n,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,m=0,y=0;for(p=0;p<r;p++){for(h=0,b=0;b<a;b++){for(f=o[h++],d=o[h++],g=m+4*f|0,s=c=u=l=0;d>0;d--)l=l+(w=o[h++])*t[g+3]|0,u=u+w*t[g+2]|0,c=c+w*t[g+1]|0,s=s+w*t[g]|0,g=g+4|0;e[y+3]=i(l+8192>>14),e[y+2]=i(u+8192>>14),e[y+1]=i(c+8192>>14),e[y]=i(s+8192>>14),y=y+4*r|0}y=4*(p+1)|0,m=(p+1)*n*4|0}}e.exports={convolveHorizontally:r,convolveVertically:a}},{}],3:[function(t,e,n){e.exports="AGFzbQEAAAAADAZkeWxpbmsAAAAAAAEXA2AAAGAGf39/f39/AGAHf39/f39/fwACDwEDZW52Bm1lbW9yeQIAAAMEAwABAgYGAX8AQQALB1cFEV9fd2FzbV9jYWxsX2N0b3JzAAAIY29udm9sdmUAAQpjb252b2x2ZUhWAAIMX19kc29faGFuZGxlAwAYX193YXNtX2FwcGx5X2RhdGFfcmVsb2NzAAAK7AMDAwABC8YDAQ9/AkAgA0UNACAERQ0AA0AgDCENQQAhE0EAIQcDQCAHQQJqIQYCfyAHQQF0IAVqIgcuAQIiFEUEQEGAwAAhCEGAwAAhCUGAwAAhCkGAwAAhCyAGDAELIBIgBy4BAGohCEEAIQsgFCEHQQAhDiAGIQlBACEPQQAhEANAIAUgCUEBdGouAQAiESAAIAhBAnRqKAIAIgpBGHZsIBBqIRAgCkH/AXEgEWwgC2ohCyAKQRB2Qf8BcSARbCAPaiEPIApBCHZB/wFxIBFsIA5qIQ4gCEEBaiEIIAlBAWohCSAHQQFrIgcNAAsgC0GAQGshCCAOQYBAayEJIA9BgEBrIQogEEGAQGshCyAGIBRqCyEHIAEgDUECdGogCUEOdSIGQf8BIAZB/wFIGyIGQQAgBkEAShtBCHRBgP4DcSAKQQ51IgZB/wEgBkH/AUgbIgZBACAGQQBKG0EQdEGAgPwHcSALQQ51IgZB/wEgBkH/AUgbIgZBACAGQQBKG0EYdHJyIAhBDnUiBkH/ASAGQf8BSBsiBkEAIAZBAEobcjYCACADIA1qIQ0gE0EBaiITIARHDQALIAxBAWoiDCACbCESIAMgDEcNAAsLCx4AQQAgAiADIAQgBSAAEAEgAkEAIAQgBSAGIAEQAQs="},{}],4:[function(t,e,n){e.exports={name:"resize",fn:t("./resize"),wasm_fn:t("./resize_wasm"),wasm_src:t("./convolve_wasm_base64")}},{"./convolve_wasm_base64":3,"./resize":5,"./resize_wasm":8}],5:[function(t,e,n){var i=t("./resize_filter_gen"),r=t("./convolve").convolveHorizontally,a=t("./convolve").convolveVertically;function o(t,e,n){for(var i=3,r=e*n*4|0;i<r;)t[i]=255,i=i+4|0}e.exports=function(t){var e=t.src,n=t.width,s=t.height,c=t.toWidth,u=t.toHeight,l=t.scaleX||t.toWidth/t.width,h=t.scaleY||t.toHeight/t.height,f=t.offsetX||0,d=t.offsetY||0,g=t.dest||new Uint8Array(c*u*4),p=void 0===t.quality?3:t.quality,b=t.alpha||!1,w=i(p,n,c,l,f),m=i(p,s,u,h,d),y=new Uint8Array(c*s*4);return r(e,y,n,s,c,w),a(y,g,s,c,u,m),b||o(g,c,u),g}},{"./convolve":2,"./resize_filter_gen":6}],6:[function(t,e,n){var i=t("./resize_filter_info"),r=14;function a(t){return Math.round(t*((1<<r)-1))}e.exports=function(t,e,n,r,o){var s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A=i[t].filter,E=1/r,T=Math.min(1,r),C=i[t].win/T,S=Math.floor(2*(C+1)),I=new Int16Array((S+2)*n),M=0,D=!I.subarray||!I.set;for(s=0;s<n;s++){for(c=(s+.5)*E+o,u=Math.max(0,Math.floor(c-C)),h=(l=Math.min(e-1,Math.ceil(c+C)))-u+1,f=new Float32Array(h),d=new Int16Array(h),g=0,p=u,b=0;p<=l;p++,b++)g+=w=A((p+.5-c)*T),f[b]=w;for(m=0,b=0;b<f.length;b++)m+=y=f[b]/g,d[b]=a(y);for(d[n>>1]+=a(1-m),v=0;v<d.length&&0===d[v];)v++;if(v<d.length){for(x=d.length-1;x>0&&0===d[x];)x--;if(k=u+v,_=x-v+1,I[M++]=k,I[M++]=_,D)for(b=v;b<=x;b++)I[M++]=d[b];else I.set(d.subarray(v,x+1),M),M+=_}else I[M++]=0,I[M++]=0}return I}},{"./resize_filter_info":7}],7:[function(t,e,n){e.exports=[{win:.5,filter:function(t){return t>=-.5&&t<.5?1:0}},{win:1,filter:function(t){if(t<=-1||t>=1)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*(.54+.46*Math.cos(e/1))}},{win:2,filter:function(t){if(t<=-2||t>=2)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*Math.sin(e/2)/(e/2)}},{win:3,filter:function(t){if(t<=-3||t>=3)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*Math.sin(e/3)/(e/3)}}]},{}],8:[function(t,e,n){var i=t("./resize_filter_gen");function r(t,e,n){for(var i=3,r=e*n*4|0;i<r;)t[i]=255,i=i+4|0}function a(t){return new Uint8Array(t.buffer,0,t.byteLength)}var o=!0;try{o=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0]}catch(t){}function s(t,e,n){if(o)e.set(a(t),n);else for(var i=n,r=0;r<t.length;r++){var s=t[r];e[i++]=255&s,e[i++]=s>>8&255}}e.exports=function(t){var e=t.src,n=t.width,a=t.height,o=t.toWidth,c=t.toHeight,u=t.scaleX||t.toWidth/t.width,l=t.scaleY||t.toHeight/t.height,h=t.offsetX||0,f=t.offsetY||0,d=t.dest||new Uint8Array(o*c*4),g=void 0===t.quality?3:t.quality,p=t.alpha||!1,b=i(g,n,o,u,h),w=i(g,a,c,l,f),m=0,y=this.__align(m+Math.max(e.byteLength,d.byteLength)),v=this.__align(y+a*o*4),x=this.__align(v+b.byteLength),k=x+w.byteLength,_=this.__instance("resize",k),A=new Uint8Array(this.__memory.buffer),E=new Uint32Array(this.__memory.buffer),T=new Uint32Array(e.buffer);return E.set(T),s(b,A,v),s(w,A,x),(_.exports.convolveHV||_.exports._convolveHV)(v,x,y,n,a,o,c),new Uint32Array(d.buffer).set(new Uint32Array(this.__memory.buffer,0,c*o)),p||r(d,o,c),d}},{"./resize_filter_gen":6}],9:[function(t,e,n){e.exports={name:"unsharp_mask",fn:t("./unsharp_mask"),wasm_fn:t("./unsharp_mask_wasm"),wasm_src:t("./unsharp_mask_wasm_base64")}},{"./unsharp_mask":10,"./unsharp_mask_wasm":11,"./unsharp_mask_wasm_base64":12}],10:[function(t,e,n){var i=t("glur/mono16");function r(t,e,n){for(var i,r,a,o,s=e*n,c=new Uint16Array(s),u=0;u<s;u++)i=t[4*u],r=t[4*u+1],a=t[4*u+2],o=i>=r&&i>=a?i:r>=a&&r>=i?r:a,c[u]=o<<8;return c}e.exports=function(t,e,n,a,o,s){var c,u,l,h,f;if(!(0===a||o<.5)){o>2&&(o=2);var d=r(t,e,n),g=new Uint16Array(d);i(g,e,n,o);for(var p=a/100*4096+.5|0,b=s<<8,w=e*n,m=0;m<w;m++)h=(c=d[m])-g[m],Math.abs(h)>=b&&(l=((u=(u=(u=c+(p*h+2048>>12))>65280?65280:u)<0?0:u)<<12)/(c=0!==c?c:1)|0,t[f=4*m]=t[f]*l+2048>>12,t[f+1]=t[f+1]*l+2048>>12,t[f+2]=t[f+2]*l+2048>>12)}}},{"glur/mono16":18}],11:[function(t,e,n){e.exports=function(t,e,n,i,r,a){if(!(0===i||r<.5)){r>2&&(r=2);var o=e*n,s=4*o,c=2*o,u=2*o,l=4*Math.max(e,n),h=32,f=0,d=s,g=d+c,p=g+u,b=p+u,w=b+l,m=this.__instance("unsharp_mask",s+c+2*u+l+h,{exp:Math.exp}),y=new Uint32Array(t.buffer);new Uint32Array(this.__memory.buffer).set(y);var v=m.exports.hsv_v16||m.exports._hsv_v16;v(f,d,e,n),(v=m.exports.blurMono16||m.exports._blurMono16)(d,g,p,b,w,e,n,r),(v=m.exports.unsharp||m.exports._unsharp)(f,f,d,g,e,n,i,a),y.set(new Uint32Array(this.__memory.buffer,0,o))}}},{}],12:[function(t,e,n){e.exports="AGFzbQEAAAAADAZkeWxpbmsAAAAAAAE0B2AAAGAEf39/fwBgBn9/f39/fwBgCH9/f39/f39/AGAIf39/f39/f30AYAJ9fwBgAXwBfAIZAgNlbnYDZXhwAAYDZW52Bm1lbW9yeQIAAAMHBgAFAgQBAwYGAX8AQQALB4oBCBFfX3dhc21fY2FsbF9jdG9ycwABFl9fYnVpbGRfZ2F1c3NpYW5fY29lZnMAAg5fX2dhdXNzMTZfbGluZQADCmJsdXJNb25vMTYABAdoc3ZfdjE2AAUHdW5zaGFycAAGDF9fZHNvX2hhbmRsZQMAGF9fd2FzbV9hcHBseV9kYXRhX3JlbG9jcwABCsUMBgMAAQvWAQEHfCABRNuGukOCGvs/IAC7oyICRAAAAAAAAADAohAAIgW2jDgCFCABIAKaEAAiAyADoCIGtjgCECABRAAAAAAAAPA/IAOhIgQgBKIgAyACIAKgokQAAAAAAADwP6AgBaGjIgS2OAIAIAEgBSAEmqIiB7Y4AgwgASADIAJEAAAAAAAA8D+gIASioiIItjgCCCABIAMgAkQAAAAAAADwv6AgBKKiIgK2OAIEIAEgByAIoCAFRAAAAAAAAPA/IAahoCIDo7Y4AhwgASAEIAKgIAOjtjgCGAuGBQMGfwl8An0gAyoCDCEVIAMqAgghFiADKgIUuyERIAMqAhC7IRACQCAEQQFrIghBAEgiCQRAIAIhByAAIQYMAQsgAiAALwEAuCIPIAMqAhi7oiIMIBGiIg0gDCAQoiAPIAMqAgS7IhOiIhQgAyoCALsiEiAPoqCgoCIOtjgCACACQQRqIQcgAEECaiEGIAhFDQAgCEEBIAhBAUgbIgpBf3MhCwJ/IAQgCmtBAXFFBEAgDiENIAgMAQsgAiANIA4gEKIgFCASIAAvAQK4Ig+ioKCgIg22OAIEIAJBCGohByAAQQRqIQYgDiEMIARBAmsLIQIgC0EAIARrRg0AA0AgByAMIBGiIA0gEKIgDyAToiASIAYvAQC4Ig6ioKCgIgy2OAIAIAcgDSARoiAMIBCiIA4gE6IgEiAGLwECuCIPoqCgoCINtjgCBCAHQQhqIQcgBkEEaiEGIAJBAkohACACQQJrIQIgAA0ACwsCQCAJDQAgASAFIAhsQQF0aiIAAn8gBkECay8BACICuCINIBW7IhKiIA0gFrsiE6KgIA0gAyoCHLuiIgwgEKKgIAwgEaKgIg8gB0EEayIHKgIAu6AiDkQAAAAAAADwQWMgDkQAAAAAAAAAAGZxBEAgDqsMAQtBAAs7AQAgCEUNACAGQQRrIQZBACAFa0EBdCEBA0ACfyANIBKiIAJB//8DcbgiDSAToqAgDyIOIBCioCAMIBGioCIPIAdBBGsiByoCALugIgxEAAAAAAAA8EFjIAxEAAAAAAAAAABmcQRAIAyrDAELQQALIQMgBi8BACECIAAgAWoiACADOwEAIAZBAmshBiAIQQFKIQMgDiEMIAhBAWshCCADDQALCwvRAgIBfwd8AkAgB0MAAAAAWw0AIARE24a6Q4Ia+z8gB0MAAAA/l7ujIglEAAAAAAAAAMCiEAAiDLaMOAIUIAQgCZoQACIKIAqgIg22OAIQIAREAAAAAAAA8D8gCqEiCyALoiAKIAkgCaCiRAAAAAAAAPA/oCAMoaMiC7Y4AgAgBCAMIAuaoiIOtjgCDCAEIAogCUQAAAAAAADwP6AgC6KiIg+2OAIIIAQgCiAJRAAAAAAAAPC/oCALoqIiCbY4AgQgBCAOIA+gIAxEAAAAAAAA8D8gDaGgIgqjtjgCHCAEIAsgCaAgCqO2OAIYIAYEQANAIAAgBSAIbEEBdGogAiAIQQF0aiADIAQgBSAGEAMgCEEBaiIIIAZHDQALCyAFRQ0AQQAhCANAIAIgBiAIbEEBdGogASAIQQF0aiADIAQgBiAFEAMgCEEBaiIIIAVHDQALCwtxAQN/IAIgA2wiBQRAA0AgASAAKAIAIgRBEHZB/wFxIgIgAiAEQQh2Qf8BcSIDIAMgBEH/AXEiBEkbIAIgA0sbIgYgBiAEIAIgBEsbIAMgBEsbQQh0OwEAIAFBAmohASAAQQRqIQAgBUEBayIFDQALCwuZAgIDfwF8IAQgBWwhBAJ/IAazQwAAgEWUQwAAyEKVu0QAAAAAAADgP6AiC5lEAAAAAAAA4EFjBEAgC6oMAQtBgICAgHgLIQUgBARAIAdBCHQhCUEAIQYDQCAJIAIgBkEBdCIHai8BACIBIAMgB2ovAQBrIgcgB0EfdSIIaiAIc00EQCAAIAZBAnQiCGoiCiAFIAdsQYAQakEMdSABaiIHQYD+AyAHQYD+A0gbIgdBACAHQQBKG0EMdCABQQEgARtuIgEgCi0AAGxBgBBqQQx2OgAAIAAgCEEBcmoiByABIActAABsQYAQakEMdjoAACAAIAhBAnJqIgcgASAHLQAAbEGAEGpBDHY6AAALIAZBAWoiBiAERw0ACwsL"},{}],13:[function(t,e,n){var i=100;function r(t,e){this.create=t,this.available=[],this.acquired={},this.lastId=1,this.timeoutId=0,this.idle=e||2e3}r.prototype.acquire=function(){var t,e=this;return 0!==this.available.length?t=this.available.pop():((t=this.create()).id=this.lastId++,t.release=function(){return e.release(t)}),this.acquired[t.id]=t,t},r.prototype.release=function(t){var e=this;delete this.acquired[t.id],t.lastUsed=Date.now(),this.available.push(t),0===this.timeoutId&&(this.timeoutId=setTimeout((function(){return e.gc()}),i))},r.prototype.gc=function(){var t=this,e=Date.now();this.available=this.available.filter((function(n){return!(e-n.lastUsed>t.idle&&(n.destroy(),1))})),0!==this.available.length?this.timeoutId=setTimeout((function(){return t.gc()}),i):this.timeoutId=0},e.exports=r},{}],14:[function(t,e,n){var i=2;e.exports=function(t,e,n,r,a,o){var s=n/t,c=r/e,u=(2*o+i+1)/a;if(u>.5)return[[n,r]];var l=Math.ceil(Math.log(Math.min(s,c))/Math.log(u));if(l<=1)return[[n,r]];for(var h=[],f=0;f<l;f++){var d=Math.round(Math.pow(Math.pow(t,l-f-1)*Math.pow(n,f+1),1/l)),g=Math.round(Math.pow(Math.pow(e,l-f-1)*Math.pow(r,f+1),1/l));h.push([d,g])}return h}},{}],15:[function(t,e,n){var i=1e-5;function r(t){var e=Math.round(t);return Math.abs(t-e)<i?e:Math.floor(t)}function a(t){var e=Math.round(t);return Math.abs(t-e)<i?e:Math.ceil(t)}e.exports=function(t){var e,n,i,o,s,c,u=t.toWidth/t.width,l=t.toHeight/t.height,h=r(t.srcTileSize*u)-2*t.destTileBorder,f=r(t.srcTileSize*l)-2*t.destTileBorder;if(h<1||f<1)throw new Error("Internal error in pica: target tile width/height is too small.");var d,g=[];for(o=0;o<t.toHeight;o+=f)for(i=0;i<t.toWidth;i+=h)(e=i-t.destTileBorder)<0&&(e=0),e+(s=i+h+t.destTileBorder-e)>=t.toWidth&&(s=t.toWidth-e),(n=o-t.destTileBorder)<0&&(n=0),n+(c=o+f+t.destTileBorder-n)>=t.toHeight&&(c=t.toHeight-n),d={toX:e,toY:n,toWidth:s,toHeight:c,toInnerX:i,toInnerY:o,toInnerWidth:h,toInnerHeight:f,offsetX:e/u-r(e/u),offsetY:n/l-r(n/l),scaleX:u,scaleY:l,x:r(e/u),y:r(n/l),width:a(s/u),height:a(c/l)},g.push(d);return g}},{}],16:[function(t,e,n){function i(t){return Object.prototype.toString.call(t)}e.exports.isCanvas=function(t){var e=i(t);return"[object HTMLCanvasElement]"===e||"[object OffscreenCanvas]"===e||"[object Canvas]"===e},e.exports.isImage=function(t){return"[object HTMLImageElement]"===i(t)},e.exports.isImageBitmap=function(t){return"[object ImageBitmap]"===i(t)},e.exports.limiter=function(t){var e=0,n=[];function i(){e<t&&n.length&&(e++,n.shift()())}return function(t){return new Promise((function(r,a){n.push((function(){t().then((function(t){r(t),e--,i()}),(function(t){a(t),e--,i()}))})),i()}))}},e.exports.cib_quality_name=function(t){switch(t){case 0:return"pixelated";case 1:return"low";case 2:return"medium"}return"high"},e.exports.cib_support=function(t){return Promise.resolve().then((function(){if("undefined"==typeof createImageBitmap)return!1;var e=t(100,100);return createImageBitmap(e,0,0,100,100,{resizeWidth:10,resizeHeight:10,resizeQuality:"high"}).then((function(t){var n=10===t.width;return t.close(),e=null,n}))})).catch((function(){return!1}))},e.exports.worker_offscreen_canvas_support=function(){return new Promise((function(t,e){if("undefined"!=typeof OffscreenCanvas){var n=btoa("(".concat(r.toString(),")(self);")),i=new Worker("data:text/javascript;base64,".concat(n));i.onmessage=function(e){return t(e.data)},i.onerror=e}else t(!1);function r(t){"undefined"!=typeof createImageBitmap?Promise.resolve().then((function(){var t=new OffscreenCanvas(10,10);return t.getContext("2d").rect(0,0,1,1),createImageBitmap(t,0,0,1,1)})).then((function(){return t.postMessage(!0)}),(function(){return t.postMessage(!1)})):t.postMessage(!1)}})).then((function(t){return t}),(function(){return!1}))},e.exports.can_use_canvas=function(t){var e=!1;try{var n=t(2,1).getContext("2d"),i=n.createImageData(2,1);i.data[0]=12,i.data[1]=23,i.data[2]=34,i.data[3]=255,i.data[4]=45,i.data[5]=56,i.data[6]=67,i.data[7]=255,n.putImageData(i,0,0),i=null,12===(i=n.getImageData(0,0,2,1)).data[0]&&23===i.data[1]&&34===i.data[2]&&255===i.data[3]&&45===i.data[4]&&56===i.data[5]&&67===i.data[6]&&255===i.data[7]&&(e=!0)}catch(t){}return e},e.exports.cib_can_use_region=function(){return new Promise((function(t){if("undefined"!=typeof createImageBitmap){var e=new Image;e.src="data:image/jpeg;base64,/9j/4QBiRXhpZgAATU0AKgAAAAgABQESAAMAAAABAAYAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAAAAABIAAAAAQAAAEgAAAAB/9sAQwAEAwMEAwMEBAMEBQQEBQYKBwYGBgYNCQoICg8NEBAPDQ8OERMYFBESFxIODxUcFRcZGRsbGxAUHR8dGh8YGhsa/9sAQwEEBQUGBQYMBwcMGhEPERoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoa/8IAEQgAAQACAwERAAIRAQMRAf/EABQAAQAAAAAAAAAAAAAAAAAAAAf/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIQAxAAAAF/P//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAQUCf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Bf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Bf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEABj8Cf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAT8hf//aAAwDAQACAAMAAAAQH//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQMBAT8Qf//EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQIBAT8Qf//EABQQAQAAAAAAAAAAAAAAAAAAAAD/2gAIAQEAAT8Qf//Z",e.onload=function(){createImageBitmap(e,0,0,e.width,e.height).then((function(n){n.width===e.width&&n.height===e.height?t(!0):t(!1)}),(function(){return t(!1)}))},e.onerror=function(){return t(!1)}}else t(!1)}))}},{}],17:[function(t,e,n){e.exports=function(){var e,n=t("./mathlib");onmessage=function(t){var i=t.data.opts,r=!1;if(!i.src&&i.srcBitmap){var a=new OffscreenCanvas(i.width,i.height),o=a.getContext("2d",{alpha:Boolean(i.alpha)});o.drawImage(i.srcBitmap,0,0),i.src=o.getImageData(0,0,i.width,i.height).data,a.width=a.height=0,a=null,i.srcBitmap.close(),i.srcBitmap=null,r=!0}e||(e=new n(t.data.features));var s=e.resizeAndUnsharp(i);if(r){var c=new ImageData(new Uint8ClampedArray(s),i.toWidth,i.toHeight),u=new OffscreenCanvas(i.toWidth,i.toHeight);u.getContext("2d",{alpha:Boolean(i.alpha)}).putImageData(c,0,0),createImageBitmap(u).then((function(t){postMessage({bitmap:t},[t])}))}else postMessage({data:s},[s.buffer])}}},{"./mathlib":1}],18:[function(t,e,n){var i,r,a,o,s,c;function u(t){t<.5&&(t=.5);var e=Math.exp(.527076)/t,n=Math.exp(-e),u=Math.exp(-2*e),l=(1-n)*(1-n)/(1+2*e*n-u);return i=l,r=l*(e-1)*n,a=l*(e+1)*n,o=-l*u,s=2*n,c=-u,new Float32Array([i,r,a,o,s,c,(i+r)/(1-s-c),(a+o)/(1-s-c)])}function l(t,e,n,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,m,y;for(g=0;g<a;g++){for(f=g,d=0,u=l=(o=t[h=g*r])*i[6],b=i[0],w=i[1],m=i[4],y=i[5],p=0;p<r;p++)c=(s=t[h])*b+o*w+u*m+l*y,l=u,u=c,o=s,n[d]=u,d++,h++;for(d--,f+=a*(r-1),u=l=(o=t[--h])*i[7],s=o,b=i[2],w=i[3],p=r-1;p>=0;p--)c=s*b+o*w+u*m+l*y,l=u,u=c,o=s,s=t[h],e[f]=n[d]+u,h--,d--,f-=a}}function h(t,e,n,i){if(i){var r=new Uint16Array(t.length),a=new Float32Array(Math.max(e,n)),o=u(i);l(t,r,a,o,e,n),l(r,t,a,o,n,e)}}e.exports=h},{}],19:[function(t,e,n){"function"==typeof Object.create?e.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},{}],20:[function(t,e,n){var i=t("object-assign"),r=t("./lib/base64decode"),a=t("./lib/wa_detect"),o={js:!0,wasm:!0};function s(t){if(!(this instanceof s))return new s(t);var e=i({},o,t||{});if(this.options=e,this.__cache={},this.__init_promise=null,this.__modules=e.modules||{},this.__memory=null,this.__wasm={},this.__isLE=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0],!this.options.js&&!this.options.wasm)throw new Error('mathlib: at least "js" or "wasm" should be enabled')}s.prototype.has_wasm=a,s.prototype.use=function(t){return this.__modules[t.name]=t,this.options.wasm&&this.has_wasm()&&t.wasm_fn?this[t.name]=t.wasm_fn:this[t.name]=t.fn,this},s.prototype.init=function(){if(this.__init_promise)return this.__init_promise;if(!this.options.js&&this.options.wasm&&!this.has_wasm())return Promise.reject(new Error('mathlib: only "wasm" was enabled, but it\'s not supported'));var t=this;return this.__init_promise=Promise.all(Object.keys(t.__modules).map((function(e){var n=t.__modules[e];return t.options.wasm&&t.has_wasm()&&n.wasm_fn?t.__wasm[e]?null:WebAssembly.compile(t.__base64decode(n.wasm_src)).then((function(n){t.__wasm[e]=n})):null}))).then((function(){return t})),this.__init_promise},s.prototype.__base64decode=r,s.prototype.__reallocate=function(t){if(!this.__memory)return this.__memory=new WebAssembly.Memory({initial:Math.ceil(t/65536)}),this.__memory;var e=this.__memory.buffer.byteLength;return e<t&&this.__memory.grow(Math.ceil((t-e)/65536)),this.__memory},s.prototype.__instance=function(t,e,n){if(e&&this.__reallocate(e),!this.__wasm[t]){var r=this.__modules[t];this.__wasm[t]=new WebAssembly.Module(this.__base64decode(r.wasm_src))}if(!this.__cache[t]){var a={memoryBase:0,memory:this.__memory,tableBase:0,table:new WebAssembly.Table({initial:0,element:"anyfunc"})};this.__cache[t]=new WebAssembly.Instance(this.__wasm[t],{env:i(a,n||{})})}return this.__cache[t]},s.prototype.__align=function(t,e){var n=t%(e=e||8);return t+(n?e-n:0)},e.exports=s},{"./lib/base64decode":21,"./lib/wa_detect":22,"object-assign":23}],21:[function(t,e,n){var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";e.exports=function(t){for(var e=t.replace(/[\r\n=]/g,""),n=e.length,r=new Uint8Array(3*n>>2),a=0,o=0,s=0;s<n;s++)s%4==0&&s&&(r[o++]=a>>16&255,r[o++]=a>>8&255,r[o++]=255&a),a=a<<6|i.indexOf(e.charAt(s));var c=n%4*6;return 0===c?(r[o++]=a>>16&255,r[o++]=a>>8&255,r[o++]=255&a):18===c?(r[o++]=a>>10&255,r[o++]=a>>2&255):12===c&&(r[o++]=a>>4&255),r}},{}],22:[function(t,e,n){var i;e.exports=function(){if(void 0!==i)return i;if(i=!1,"undefined"==typeof WebAssembly)return i;try{var t=new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,127,1,127,3,2,1,0,5,3,1,0,1,7,8,1,4,116,101,115,116,0,0,10,16,1,14,0,32,0,65,1,54,2,0,32,0,40,2,0,11]),e=new WebAssembly.Module(t);return 0!==new WebAssembly.Instance(e,{}).exports.test(4)&&(i=!0),i}catch(t){}return i}},{}],23:[function(t,e,n){var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function s(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(t){i[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}e.exports=s()?Object.assign:function(t,e){for(var n,s,c=o(t),u=1;u<arguments.length;u++){for(var l in n=Object(arguments[u]))r.call(n,l)&&(c[l]=n[l]);if(i){s=i(n);for(var h=0;h<s.length;h++)a.call(n,s[h])&&(c[s[h]]=n[s[h]])}}return c}},{}],24:[function(t,e,n){var i=arguments[3],r=arguments[4],a=arguments[5],o=JSON.stringify;e.exports=function(t,e){for(var n,s=Object.keys(a),c=0,u=s.length;c<u;c++){var l=s[c],h=a[l].exports;if(h===t||h&&h.default===t){n=l;break}}if(!n){n=Math.floor(Math.pow(16,8)*Math.random()).toString(16);var f={};for(c=0,u=s.length;c<u;c++)f[l=s[c]]=l;r[n]=["function(require,module,exports){"+t+"(self); }",f]}var d=Math.floor(Math.pow(16,8)*Math.random()).toString(16),g={};g[n]=n,r[d]=["function(require,module,exports){var f = require("+o(n)+");(f.default ? f.default : f)(self);}",g];var p={};function b(t){for(var e in p[t]=!0,r[t][1]){var n=r[t][1][e];p[n]||b(n)}}b(d);var w="("+i+")({"+Object.keys(p).map((function(t){return o(t)+":["+r[t][0]+","+o(r[t][1])+"]"})).join(",")+"},{},["+o(d)+"])",m=window.URL||window.webkitURL||window.mozURL||window.msURL,y=new Blob([w],{type:"text/javascript"});if(e&&e.bare)return y;var v=m.createObjectURL(y),x=new Worker(v);return x.objectURL=v,x}},{}],"/index.js":[function(t,e,n){function i(t,e){return c(t)||s(t,e)||a(t,e)||r()}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function s(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,a=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(i=n.next()).done)&&(a.push(i.value),!e||a.length!==e);o=!0);}catch(t){s=!0,r=t}finally{try{o||null==n.return||n.return()}finally{if(s)throw r}}return a}}function c(t){if(Array.isArray(t))return t}var u=t("object-assign"),l=t("webworkify"),h=t("./lib/mathlib"),f=t("./lib/pool"),d=t("./lib/utils"),g=t("./lib/worker"),p=t("./lib/stepper"),b=t("./lib/tiler"),w={},m=!1;try{"undefined"!=typeof navigator&&navigator.userAgent&&(m=navigator.userAgent.indexOf("Safari")>=0)}catch(t){}var y=1;"undefined"!=typeof navigator&&(y=Math.min(navigator.hardwareConcurrency||1,4));var v={tile:1024,concurrency:y,features:["js","wasm","ww"],idle:2e3,createCanvas:function(t,e){var n=document.createElement("canvas");return n.width=t,n.height=e,n}},x={quality:3,alpha:!1,unsharpAmount:0,unsharpRadius:0,unsharpThreshold:0},k=!1,_=!1,A=!1,E=!1,T=!1;function C(){return{value:l(g),destroy:function(){if(this.value.terminate(),"undefined"!=typeof window){var t=window.URL||window.webkitURL||window.mozURL||window.msURL;t&&t.revokeObjectURL&&this.value.objectURL&&t.revokeObjectURL(this.value.objectURL)}}}}function S(t){if(!(this instanceof S))return new S(t);this.options=u({},v,t||{});var e="lk_".concat(this.options.concurrency);this.__limit=w[e]||d.limiter(this.options.concurrency),w[e]||(w[e]=this.__limit),this.features={js:!1,wasm:!1,cib:!1,ww:!1},this.__workersPool=null,this.__requested_features=[],this.__mathlib=null}S.prototype.init=function(){var e=this;if(this.__initPromise)return this.__initPromise;if("undefined"!=typeof ImageData&&"undefined"!=typeof Uint8ClampedArray)try{new ImageData(new Uint8ClampedArray(400),10,10),k=!0}catch(t){}"undefined"!=typeof ImageBitmap&&(ImageBitmap.prototype&&ImageBitmap.prototype.close?_=!0:this.debug("ImageBitmap does not support .close(), disabled"));var n=this.options.features.slice();if(n.indexOf("all")>=0&&(n=["cib","wasm","js","ww"]),this.__requested_features=n,this.__mathlib=new h(n),n.indexOf("ww")>=0&&"undefined"!=typeof window&&"Worker"in window)try{t("webworkify")((function(){})).terminate(),this.features.ww=!0;var i="wp_".concat(JSON.stringify(this.options));w[i]?this.__workersPool=w[i]:(this.__workersPool=new f(C,this.options.idle),w[i]=this.__workersPool)}catch(t){}var r,a,o=this.__mathlib.init().then((function(t){u(e.features,t.features)}));r=_?d.cib_support(this.options.createCanvas).then((function(t){e.features.cib&&n.indexOf("cib")<0?e.debug("createImageBitmap() resize supported, but disabled by config"):n.indexOf("cib")>=0&&(e.features.cib=t)})):Promise.resolve(!1),A=d.can_use_canvas(this.options.createCanvas),a=(a=_&&k&&-1!==n.indexOf("ww")?d.worker_offscreen_canvas_support():Promise.resolve(!1)).then((function(t){E=t}));var s=d.cib_can_use_region().then((function(t){T=t}));return this.__initPromise=Promise.all([o,r,a,s]).then((function(){return e})),this.__initPromise},S.prototype.__invokeResize=function(t,e){var n=this;return e.__mathCache=e.__mathCache||{},Promise.resolve().then((function(){return n.features.ww?new Promise((function(i,r){var a=n.__workersPool.acquire();e.cancelToken&&e.cancelToken.catch((function(t){return r(t)})),a.value.onmessage=function(t){a.release(),t.data.err?r(t.data.err):i(t.data)};var o=[];t.src&&o.push(t.src.buffer),t.srcBitmap&&o.push(t.srcBitmap),a.value.postMessage({opts:t,features:n.__requested_features,preload:{wasm_nodule:n.__mathlib.__}},o)})):{data:n.__mathlib.resizeAndUnsharp(t,e.__mathCache)}}))},S.prototype.__extractTileData=function(t,e,n,i,r){if(this.features.ww&&E&&(d.isCanvas(e)||T))return this.debug("Create tile for OffscreenCanvas"),createImageBitmap(i.srcImageBitmap||e,t.x,t.y,t.width,t.height).then((function(t){return r.srcBitmap=t,r}));if(d.isCanvas(e))return i.srcCtx||(i.srcCtx=e.getContext("2d",{alpha:Boolean(n.alpha)})),this.debug("Get tile pixel data"),r.src=i.srcCtx.getImageData(t.x,t.y,t.width,t.height).data,r;this.debug("Draw tile imageBitmap/image to temporary canvas");var a=this.options.createCanvas(t.width,t.height),o=a.getContext("2d",{alpha:Boolean(n.alpha)});return o.globalCompositeOperation="copy",o.drawImage(i.srcImageBitmap||e,t.x,t.y,t.width,t.height,0,0,t.width,t.height),this.debug("Get tile pixel data"),r.src=o.getImageData(0,0,t.width,t.height).data,a.width=a.height=0,r},S.prototype.__landTileData=function(t,e,n){var i;if(this.debug("Convert raw rgba tile result to ImageData"),e.bitmap)return n.toCtx.drawImage(e.bitmap,t.toX,t.toY),null;if(k)i=new ImageData(new Uint8ClampedArray(e.data),t.toWidth,t.toHeight);else if((i=n.toCtx.createImageData(t.toWidth,t.toHeight)).data.set)i.data.set(e.data);else for(var r=i.data.length-1;r>=0;r--)i.data[r]=e.data[r];return this.debug("Draw tile"),m?n.toCtx.putImageData(i,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth+1e-5,t.toInnerHeight+1e-5):n.toCtx.putImageData(i,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth,t.toInnerHeight),null},S.prototype.__tileAndResize=function(t,e,n){var i=this,r={srcCtx:null,srcImageBitmap:null,isImageBitmapReused:!1,toCtx:null},a=function(e){return i.__limit((function(){if(n.canceled)return n.cancelToken;var a={width:e.width,height:e.height,toWidth:e.toWidth,toHeight:e.toHeight,scaleX:e.scaleX,scaleY:e.scaleY,offsetX:e.offsetX,offsetY:e.offsetY,quality:n.quality,alpha:n.alpha,unsharpAmount:n.unsharpAmount,unsharpRadius:n.unsharpRadius,unsharpThreshold:n.unsharpThreshold};return i.debug("Invoke resize math"),Promise.resolve(a).then((function(a){return i.__extractTileData(e,t,n,r,a)})).then((function(t){return i.debug("Invoke resize math"),i.__invokeResize(t,n)})).then((function(t){return n.canceled?n.cancelToken:(r.srcImageData=null,i.__landTileData(e,t,r))}))}))};return Promise.resolve().then((function(){if(r.toCtx=e.getContext("2d",{alpha:Boolean(n.alpha)}),d.isCanvas(t))return null;if(d.isImageBitmap(t))return r.srcImageBitmap=t,r.isImageBitmapReused=!0,null;if(d.isImage(t))return _?(i.debug("Decode image via createImageBitmap"),createImageBitmap(t).then((function(t){r.srcImageBitmap=t})).catch((function(t){return null}))):null;throw new Error('Pica: ".from" should be Image, Canvas or ImageBitmap')})).then((function(){if(n.canceled)return n.cancelToken;i.debug("Calculate tiles");var t=b({width:n.width,height:n.height,srcTileSize:i.options.tile,toWidth:n.toWidth,toHeight:n.toHeight,destTileBorder:n.__destTileBorder}).map((function(t){return a(t)}));function o(t){t.srcImageBitmap&&(t.isImageBitmapReused||t.srcImageBitmap.close(),t.srcImageBitmap=null)}return i.debug("Process tiles"),Promise.all(t).then((function(){return i.debug("Finished!"),o(r),e}),(function(t){throw o(r),t}))}))},S.prototype.__processStages=function(t,e,n,r){var a=this;if(r.canceled)return r.cancelToken;var o,s=i(t.shift(),2),c=s[0],l=s[1],h=0===t.length;return r=u({},r,{toWidth:c,toHeight:l,quality:h?r.quality:Math.min(1,r.quality)}),h||(o=this.options.createCanvas(c,l)),this.__tileAndResize(e,h?n:o,r).then((function(){return h?n:(r.width=c,r.height=l,a.__processStages(t,o,n,r))})).then((function(t){return o&&(o.width=o.height=0),t}))},S.prototype.__resizeViaCreateImageBitmap=function(t,e,n){var i=this,r=e.getContext("2d",{alpha:Boolean(n.alpha)});return this.debug("Resize via createImageBitmap()"),createImageBitmap(t,{resizeWidth:n.toWidth,resizeHeight:n.toHeight,resizeQuality:d.cib_quality_name(n.quality)}).then((function(t){if(n.canceled)return n.cancelToken;if(!n.unsharpAmount)return r.drawImage(t,0,0),t.close(),r=null,i.debug("Finished!"),e;i.debug("Unsharp result");var a=i.options.createCanvas(n.toWidth,n.toHeight),o=a.getContext("2d",{alpha:Boolean(n.alpha)});o.drawImage(t,0,0),t.close();var s=o.getImageData(0,0,n.toWidth,n.toHeight);return i.__mathlib.unsharp_mask(s.data,n.toWidth,n.toHeight,n.unsharpAmount,n.unsharpRadius,n.unsharpThreshold),r.putImageData(s,0,0),a.width=a.height=0,s=o=a=r=null,i.debug("Finished!"),e}))},S.prototype.resize=function(t,e,n){var i=this;this.debug("Start resize...");var r=u({},x);if(isNaN(n)?n&&(r=u(r,n)):r=u(r,{quality:n}),r.toWidth=e.width,r.toHeight=e.height,r.width=t.naturalWidth||t.width,r.height=t.naturalHeight||t.height,0===e.width||0===e.height)return Promise.reject(new Error("Invalid output size: ".concat(e.width,"x").concat(e.height)));r.unsharpRadius>2&&(r.unsharpRadius=2),r.canceled=!1,r.cancelToken&&(r.cancelToken=r.cancelToken.then((function(t){throw r.canceled=!0,t}),(function(t){throw r.canceled=!0,t})));var a=3;return r.__destTileBorder=Math.ceil(Math.max(a,2.5*r.unsharpRadius|0)),this.init().then((function(){if(r.canceled)return r.cancelToken;if(i.features.cib)return i.__resizeViaCreateImageBitmap(t,e,r);if(!A){var n=new Error("Pica: cannot use getImageData on canvas, make sure fingerprinting protection isn't enabled");throw n.code="ERR_GET_IMAGE_DATA",n}var a=p(r.width,r.height,r.toWidth,r.toHeight,i.options.tile,r.__destTileBorder);return i.__processStages(a,t,e,r)}))},S.prototype.resizeBuffer=function(t){var e=this,n=u({},x,t);return this.init().then((function(){return e.__mathlib.resizeAndUnsharp(n)}))},S.prototype.toBlob=function(t,e,n){return e=e||"image/png",new Promise((function(i){if(t.toBlob)t.toBlob((function(t){return i(t)}),e,n);else if(t.convertToBlob)i(t.convertToBlob({type:e,quality:n}));else{for(var r=atob(t.toDataURL(e,n).split(",")[1]),a=r.length,o=new Uint8Array(a),s=0;s<a;s++)o[s]=r.charCodeAt(s);i(new Blob([o],{type:e}))}}))},S.prototype.debug=function(){},e.exports=S},{"./lib/mathlib":1,"./lib/pool":13,"./lib/stepper":14,"./lib/tiler":15,"./lib/utils":16,"./lib/worker":17,"object-assign":23,webworkify:24}]},{},[])("/index.js")})),c=a((function(t){function e(t,e){var n=new Error(t);return n.code=e,n}function n(t){for(var e=t.toString(16).toUpperCase(),n=2-e.length;n>0;n--)e="0"+e;return"0x"+e}function i(t){try{return decodeURIComponent(escape(t))}catch(e){return t}}function r(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}function a(t,n,i){this.input=t.subarray(n,i),this.start=n;var r=String.fromCharCode.apply(null,this.input.subarray(0,4));if("II*\0"!==r&&"MM\0*"!==r)throw e("invalid TIFF signature","EBADDATA");this.big_endian="M"===r[0]}a.prototype.each=function(t){this.aborted=!1;var e=this.read_uint32(4);for(this.ifds_to_read=[{id:0,offset:e}];this.ifds_to_read.length>0&&!this.aborted;){var n=this.ifds_to_read.shift();n.offset&&this.scan_ifd(n.id,n.offset,t)}},a.prototype.filter=function(t){var n={ifd0:{id:0,entries:[]}};this.each((function(e){(!1!==t(e)||e.is_subifd_link)&&(e.is_subifd_link&&1!==e.count&&4!==e.format||(n["ifd"+e.ifd]||(n["ifd"+e.ifd]={id:e.ifd,entries:[]}),n["ifd"+e.ifd].entries.push(e)))})),delete n.ifd1;var i=8;Object.keys(n).forEach((function(t){i+=2,n[t].entries.forEach((function(t){i+=12+(t.data_length>4?2*Math.ceil(t.data_length/2):0)})),i+=4})),this.output=new Uint8Array(i),this.output[0]=this.output[1]=(this.big_endian?"M":"I").charCodeAt(0),this.write_uint16(2,42);var r=8,a=this;if(this.write_uint32(4,r),Object.keys(n).forEach((function(t){n[t].written_offset=r;var e=r,i=e+2+12*n[t].entries.length+4;r=i,a.write_uint16(e,n[t].entries.length),n[t].entries.sort((function(t,e){return t.tag-e.tag})).forEach((function(t,i){var o=e+2+12*i;a.write_uint16(o,t.tag),a.write_uint16(o+2,t.format),a.write_uint32(o+4,t.count),t.is_subifd_link?n["ifd"+t.tag]&&(n["ifd"+t.tag].link_offset=o+8):t.data_length<=4?a.output.set(a.input.subarray(t.data_offset-a.start,t.data_offset-a.start+4),o+8):(a.write_uint32(o+8,r),a.output.set(a.input.subarray(t.data_offset-a.start,t.data_offset-a.start+t.data_length),r),r+=2*Math.ceil(t.data_length/2))}));var o=n["ifd"+(n[t].id+1)];o&&(o.link_offset=i-4)})),Object.keys(n).forEach((function(t){n[t].written_offset&&n[t].link_offset&&a.write_uint32(n[t].link_offset,n[t].written_offset)})),this.output.length!==r)throw e("internal error: incorrect buffer size allocated");return this.output},a.prototype.read_uint16=function(t){var n=this.input;if(t+2>n.length)throw e("unexpected EOF","EBADDATA");return this.big_endian?256*n[t]+n[t+1]:n[t]+256*n[t+1]},a.prototype.read_uint32=function(t){var n=this.input;if(t+4>n.length)throw e("unexpected EOF","EBADDATA");return this.big_endian?16777216*n[t]+65536*n[t+1]+256*n[t+2]+n[t+3]:n[t]+256*n[t+1]+65536*n[t+2]+16777216*n[t+3]},a.prototype.write_uint16=function(t,e){var n=this.output;this.big_endian?(n[t]=e>>>8&255,n[t+1]=255&e):(n[t]=255&e,n[t+1]=e>>>8&255)},a.prototype.write_uint32=function(t,e){var n=this.output;this.big_endian?(n[t]=e>>>24&255,n[t+1]=e>>>16&255,n[t+2]=e>>>8&255,n[t+3]=255&e):(n[t]=255&e,n[t+1]=e>>>8&255,n[t+2]=e>>>16&255,n[t+3]=e>>>24&255)},a.prototype.is_subifd_link=function(t,e){return 0===t&&34665===e||0===t&&34853===e||34665===t&&40965===e},a.prototype.exif_format_length=function(t){switch(t){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},a.prototype.exif_format_read=function(t,e){var n;switch(t){case 1:case 2:return n=this.input[e];case 6:return(n=this.input[e])|33554430*(128&n);case 3:return n=this.read_uint16(e);case 8:return(n=this.read_uint16(e))|131070*(32768&n);case 4:return n=this.read_uint32(e);case 9:return 0|(n=this.read_uint32(e));default:return null}},a.prototype.scan_ifd=function(t,n,r){var a=this.read_uint16(n);n+=2;for(var o=0;o<a;o++){var s=this.read_uint16(n),c=this.read_uint16(n+2),u=this.read_uint32(n+4),l=this.exif_format_length(c),h=u*l,f=h<=4?n+8:this.read_uint32(n+8),d=!1;if(f+h>this.input.length)throw e("unexpected EOF","EBADDATA");for(var g=[],p=f,b=0;b<u;b++,p+=l){var w=this.exif_format_read(c,p);if(null===w){g=null;break}g.push(w)}if(Array.isArray(g)&&2===c){try{g=i(String.fromCharCode.apply(null,g))}catch(t){g=null}g&&"\0"===g[g.length-1]&&(g=g.slice(0,-1))}if(this.is_subifd_link(t,s)&&Array.isArray(g)&&Number.isInteger(g[0])&&g[0]>0&&(this.ifds_to_read.push({id:s,offset:g[0]}),d=!0),!1===r({is_big_endian:this.big_endian,ifd:t,tag:s,format:c,count:u,entry_offset:n+this.start,data_length:h,data_offset:f+this.start,value:g,is_subifd_link:d}))return void(this.aborted=!0);n+=12}0===t&&this.ifds_to_read.push({id:1,offset:this.read_uint32(n)})},t.exports.is_jpeg=function(t){return t.length>=4&&255===t[0]&&216===t[1]&&255===t[2]},t.exports.jpeg_segments_each=function(i,a){if(!r(i))throw e("Invalid argument (jpeg_bin), Uint8Array expected","EINVAL");if("function"!=typeof a)throw e("Invalid argument (on_segment), Function expected","EINVAL");if(!t.exports.is_jpeg(i))throw e("Unknown file format","ENOTJPEG");for(var o=0,s=i.length,c=!1;;){var u,l;if(o+1>=s)throw e("Unexpected EOF","EBADDATA");var h=i[o],f=i[o+1];if(255===h&&255===f)u=255,l=1;else if(255===h&&0!==f){if(l=2,208<=(u=f)&&u<=217||1===u);else{if(o+3>=s)throw e("Unexpected EOF","EBADDATA");if((l+=256*i[o+2]+i[o+3])<2)throw e("Invalid segment length","EBADDATA");if(o+l-1>=s)throw e("Unexpected EOF","EBADDATA")}c&&(u>=208&&u<=215||(c=!1)),218===u&&(c=!0)}else{if(!c)throw e("Unexpected byte at segment start: "+n(h)+" (offset "+n(o)+")","EBADDATA");for(var d=o+1;;d++){if(d>=s)throw e("Unexpected EOF","EBADDATA");if(255===i[d]){if(d+1>=s)throw e("Unexpected EOF","EBADDATA");if(0!==i[d+1]){u=0,l=d-o;break}}}}if(!1===a({code:u,offset:o,length:l}))break;if(217===u)break;o+=l}},t.exports.jpeg_segments_filter=function(n,i){if(!r(n))throw e("Invalid argument (jpeg_bin), Uint8Array expected","EINVAL");if("function"!=typeof i)throw e("Invalid argument (on_segment), Function expected","EINVAL");var a=[],o=0;t.exports.jpeg_segments_each(n,(function(t){var e=i(t);if(r(e))a.push({data:e}),o+=e.length;else if(Array.isArray(e))e.filter(r).forEach((function(t){a.push({data:t}),o+=t.length}));else if(!1!==e){var n={start:t.offset,end:t.offset+t.length};a.length>0&&a[a.length-1].end===n.start?a[a.length-1].end=n.end:a.push(n),o+=t.length}}));var s=new Uint8Array(o),c=0;return a.forEach((function(t){var e=t.data||n.subarray(t.start,t.end);s.set(e,c),c+=e.length})),s},t.exports.jpeg_exif_tags_each=function(n,i){if(!r(n))throw e("Invalid argument (jpeg_bin), Uint8Array expected","EINVAL");if("function"!=typeof i)throw e("Invalid argument (on_exif_entry), Function expected","EINVAL");t.exports.jpeg_segments_each(n,(function(t){return 218!==t.code&&(225===t.code&&t.length>=10&&69===n[t.offset+4]&&120===n[t.offset+5]&&105===n[t.offset+6]&&102===n[t.offset+7]&&0===n[t.offset+8]&&0===n[t.offset+9]?(new a(n,t.offset+10,t.offset+t.length).each(i),!1):void 0)}))},t.exports.jpeg_exif_tags_filter=function(n,i){if(!r(n))throw e("Invalid argument (jpeg_bin), Uint8Array expected","EINVAL");if("function"!=typeof i)throw e("Invalid argument (on_exif_entry), Function expected","EINVAL");var o=!1;return t.exports.jpeg_segments_filter(n,(function(t){if(!o&&(218===t.code&&(o=!0),225===t.code&&t.length>=10&&69===n[t.offset+4]&&120===n[t.offset+5]&&105===n[t.offset+6]&&102===n[t.offset+7]&&0===n[t.offset+8]&&0===n[t.offset+9])){var e=new a(n,t.offset+10,t.offset+t.length).filter(i);if(!e)return!1;var r=new Uint8Array(10);return r.set(n.slice(t.offset,t.offset+10)),r[2]=e.length+8>>>8&255,r[3]=e.length+8&255,o=!0,[r,e]}}))},t.exports.jpeg_add_comment=function(e,n){var i=!1,r=0;return t.exports.jpeg_segments_filter(e,(function(t){if(!(1===++r&&216===t.code||2===r&&224===t.code||i)){n=function(t){try{return unescape(encodeURIComponent(t))}catch(e){return t}}(n);var a=new Uint8Array(5+n.length),o=0;return a[o++]=255,a[o++]=254,a[o++]=n.length+3>>>8&255,a[o++]=n.length+3&255,n.split("").forEach((function(t){a[o++]=255&t.charCodeAt(0)})),a[o++]=0,i=!0,[a,e.subarray(t.offset,t.offset+t.length)]}}))}}));function u(t){return this._getUint8Array(t.blob).then((function(e){if(t.is_jpeg=c.is_jpeg(e),!t.is_jpeg)return Promise.resolve(t);t.orig_blob=t.blob;try{var n,i;if(c.jpeg_exif_tags_each(e,(function(e){if(0===e.ifd&&274===e.tag&&Array.isArray(e.value))return t.orientation=e.value[0]||1,n=e.is_big_endian,i=e.data_offset,!1})),i){var r=n?new Uint8Array([0,1]):new Uint8Array([1,0]);t.blob=new Blob([e.slice(0,i),r,e.slice(i+2)],{type:"image/jpeg"})}}catch(t){}return t}))}function l(t){if(!t.is_jpeg)return Promise.resolve(t);var e,n=t.orientation-1;if(!n)return Promise.resolve(t);var i=(e=4&n?this.pica.options.createCanvas(t.out_canvas.height,t.out_canvas.width):this.pica.options.createCanvas(t.out_canvas.width,t.out_canvas.height)).getContext("2d");return i.save(),1&n&&i.transform(-1,0,0,1,e.width,0),2&n&&i.transform(-1,0,0,-1,e.width,e.height),4&n&&i.transform(0,1,1,0,0,0),i.drawImage(t.out_canvas,0,0),i.restore(),t.out_canvas.width=t.out_canvas.height=0,t.out_canvas=e,Promise.resolve(t)}function h(t){return t.is_jpeg?Promise.all([this._getUint8Array(t.blob),this._getUint8Array(t.out_blob)]).then((function(e){var n=e[0],i=e[1];if(!c.is_jpeg(n))return Promise.resolve(t);var r=[];return c.jpeg_segments_each(n,(function(t){if(218===t.code)return!1;r.push(t)})),r=r.filter((function(t){return 226!==t.code&&(t.code>=224&&t.code<240||254===t.code)})).map((function(t){return n.slice(t.offset,t.offset+t.length)})),t.out_blob=new Blob([i.slice(0,2)].concat(r).concat([i.slice(20)]),{type:"image/jpeg"}),t})):Promise.resolve(t)}var f={jpeg_patch_exif:u,jpeg_rotate_canvas:l,jpeg_attach_orig_segments:h,assign:function(t){t.before("_blob_to_image",u),t.after("_transform",l),t.after("_create_blob",h)}};function d(t){if(!(this instanceof d))return new d(t);t=t||{},this.pica=t.pica||s({}),this.initialized=!1,this.utils=r}d.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},d.prototype.init=function(){this.use(f.assign)},d.prototype.toBlob=function(t,e){var n={blob:t,opts:r.assign({max:1/0},e)};return this.initialized||(this.init(),this.initialized=!0),Promise.resolve(n).then(this._blob_to_image).then(this._calculate_size).then(this._transform).then(this._cleanup).then(this._create_blob).then((function(t){return t.out_canvas.width=t.out_canvas.height=0,t.out_blob}))},d.prototype.toCanvas=function(t,e){var n={blob:t,opts:r.assign({max:1/0},e)};return this.initialized||(this.init(),this.initialized=!0),Promise.resolve(n).then(this._blob_to_image).then(this._calculate_size).then(this._transform).then(this._cleanup).then((function(t){return t.out_canvas}))},d.prototype.before=function(t,e){if(!this[t])throw new Error('Method "'+t+'" does not exist');if("function"!=typeof e)throw new Error('Invalid argument "fn", function expected');var n=this[t],i=this;return this[t]=function(t){return e.call(i,t).then((function(t){return n.call(i,t)}))},this},d.prototype.after=function(t,e){if(!this[t])throw new Error('Method "'+t+'" does not exist');if("function"!=typeof e)throw new Error('Invalid argument "fn", function expected');var n=this[t],i=this;return this[t]=function(t){return n.call(i,t).then((function(t){return e.call(i,t)}))},this},d.prototype._blob_to_image=function(t){var e=window.URL||window.webkitURL||window.mozURL||window.msURL;return t.image=document.createElement("img"),t.image_url=e.createObjectURL(t.blob),t.image.src=t.image_url,new Promise((function(e,n){t.image.onerror=function(){n(new Error("ImageBlobReduce: failed to create Image() from blob"))},t.image.onload=function(){e(t)}}))},d.prototype._calculate_size=function(t){var e=t.opts.max/Math.max(t.image.width,t.image.height);return e>1&&(e=1),t.transform_width=Math.max(Math.round(t.image.width*e),1),t.transform_height=Math.max(Math.round(t.image.height*e),1),t.scale_factor=e,Promise.resolve(t)},d.prototype._transform=function(t){t.out_canvas=this.pica.options.createCanvas(t.transform_width,t.transform_height),t.transform_width=null,t.transform_height=null;var e={alpha:"image/png"===t.blob.type};return this.utils.assign(e,this.utils.pick_pica_resize_options(t.opts)),this.pica.resize(t.image,t.out_canvas,e).then((function(){return t}))},d.prototype._cleanup=function(t){t.image.src="",t.image=null;var e=window.URL||window.webkitURL||window.mozURL||window.msURL;return e.revokeObjectURL&&e.revokeObjectURL(t.image_url),t.image_url=null,Promise.resolve(t)},d.prototype._create_blob=function(t){return this.pica.toBlob(t.out_canvas,t.blob.type).then((function(e){return t.out_blob=e,t}))},d.prototype._getUint8Array=function(t){return t.arrayBuffer?t.arrayBuffer().then((function(t){return new Uint8Array(t)})):new Promise((function(e,n){var i=new FileReader;i.readAsArrayBuffer(t),i.onload=function(){e(new Uint8Array(i.result))},i.onerror=function(){n(new Error("ImageBlobReduce: failed to load data from input blob")),i.abort()},i.onabort=function(){n(new Error("ImageBlobReduce: failed to load data from input blob (aborted)"))}}))},d.pica=s;var g=d;e.default=g},8318:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(1022),r=n(898);var a=class{constructor(){this.type=r.w.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=r.w.ALL}is(t){return this.type===t}};var o=new class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new a}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=r.w.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:n,l:r}=t;void 0===e&&(t.h=i.Z.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=i.Z.channel.rgb2hsl(t,"s")),void 0===r&&(t.l=i.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:n,b:r}=t;void 0===e&&(t.r=i.Z.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=i.Z.channel.hsl2rgb(t,"g")),void 0===r&&(t.b=i.Z.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(r.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(r.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(r.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(r.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(r.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(r.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(r.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(r.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(r.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(r.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(r.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(r.w.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},9297:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(8318),r=n(898);const a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(a.re);if(!e)return;const n=e[1],r=parseInt(n,16),o=n.length,s=o%4==0,c=o>4,u=c?1:17,l=c?8:4,h=s?0:-1,f=c?255:15;return i.Z.set({r:(r>>l*(h+3)&f)*u,g:(r>>l*(h+2)&f)*u,b:(r>>l*(h+1)&f)*u,a:s?(r&f)*u/255:1},t)},stringify:t=>{const{r:e,g:n,b:i,a:a}=t;return a<1?`#${r.Q[Math.round(e)]}${r.Q[Math.round(n)]}${r.Q[Math.round(i)]}${r.Q[Math.round(255*a)]}`:`#${r.Q[Math.round(e)]}${r.Q[Math.round(n)]}${r.Q[Math.round(i)]}`}};var o=a,s=n(1022);const c={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=>{const e=t.match(c.hueRe);if(e){const[,t,n]=e;switch(n){case"grad":return s.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return s.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return s.Z.channel.clamp.h(360*parseFloat(t))}}return s.Z.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const n=t.match(c.re);if(!n)return;const[,r,a,o,u,l]=n;return i.Z.set({h:c._hue2deg(r),s:s.Z.channel.clamp.s(parseFloat(a)),l:s.Z.channel.clamp.l(parseFloat(o)),a:u?s.Z.channel.clamp.a(l?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{h:e,s:n,l:i,a:r}=t;return r<1?`hsla(${s.Z.lang.round(e)}, ${s.Z.lang.round(n)}%, ${s.Z.lang.round(i)}%, ${r})`:`hsl(${s.Z.lang.round(e)}, ${s.Z.lang.round(n)}%, ${s.Z.lang.round(i)}%)`}};var u=c;const l={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();const e=l.colors[t];if(e)return o.parse(e)},stringify:t=>{const e=o.stringify(t);for(const t in l.colors)if(l.colors[t]===e)return t}};var h=l;const f={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=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const n=t.match(f.re);if(!n)return;const[,r,a,o,c,u,l,h,d]=n;return i.Z.set({r:s.Z.channel.clamp.r(a?2.55*parseFloat(r):parseFloat(r)),g:s.Z.channel.clamp.g(c?2.55*parseFloat(o):parseFloat(o)),b:s.Z.channel.clamp.b(l?2.55*parseFloat(u):parseFloat(u)),a:h?s.Z.channel.clamp.a(d?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{const{r:e,g:n,b:i,a:r}=t;return r<1?`rgba(${s.Z.lang.round(e)}, ${s.Z.lang.round(n)}, ${s.Z.lang.round(i)}, ${s.Z.lang.round(r)})`:`rgb(${s.Z.lang.round(e)}, ${s.Z.lang.round(n)}, ${s.Z.lang.round(i)})`}};var d=f;const g={format:{keyword:l,hex:o,rgb:f,rgba:f,hsl:c,hsla:c},parse:t=>{if("string"!=typeof t)return t;const e=o.parse(t)||d.parse(t)||u.parse(t)||h.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(r.w.HSL)||void 0===t.data.r?u.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?d.stringify(t):o.stringify(t)};var p=g},898:function(t,e,n){"use strict";n.d(e,{Q:function(){return r},w:function(){return a}});var i=n(1022);const r={};for(let t=0;t<=255;t++)r[t]=i.Z.unit.dec2hex(t);const a={ALL:0,RGB:1,HSL:2}},3836:function(t,e,n){"use strict";var i=n(1022),r=n(9297);e.Z=(t,e,n)=>{const a=r.Z.parse(t),o=a[e],s=i.Z.channel.clamp[e](o+n);return o!==s&&(a[e]=s),r.Z.stringify(a)}},5571:function(t,e,n){"use strict";var i=n(1022),r=n(9297);e.Z=(t,e)=>{const n=r.Z.parse(t);for(const t in e)n[t]=i.Z.channel.clamp[t](e[t]);return r.Z.stringify(n)}},733:function(t,e,n){"use strict";var i=n(3836);e.Z=(t,e)=>(0,i.Z)(t,"l",-e)},7471:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(1022),r=n(9297);var a=t=>{const{r:e,g:n,b:a}=r.Z.parse(t),o=.2126*i.Z.channel.toLinear(e)+.7152*i.Z.channel.toLinear(n)+.0722*i.Z.channel.toLinear(a);return i.Z.lang.round(o)};var o=t=>a(t)>=.5;var s=t=>!o(t)},1778:function(t,e,n){"use strict";var i=n(3836);e.Z=(t,e)=>(0,i.Z)(t,"l",e)},852:function(t,e,n){"use strict";var i=n(1022),r=n(8318),a=n(9297),o=n(5571);e.Z=(t,e,n=0,s=1)=>{if("number"!=typeof t)return(0,o.Z)(t,{a:e});const c=r.Z.set({r:i.Z.channel.clamp.r(t),g:i.Z.channel.clamp.g(e),b:i.Z.channel.clamp.b(n),a:i.Z.channel.clamp.a(s)});return a.Z.stringify(c)}},1022:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});const i={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=>{const 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+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t),hsl2rgb:({h:t,s:e,l:n},r)=>{if(!e)return 2.55*n;t/=360,e/=100;const a=(n/=100)<.5?n*(1+e):n+e-n*e,o=2*n-a;switch(r){case"r":return 255*i.hue2rgb(o,a,t+1/3);case"g":return 255*i.hue2rgb(o,a,t);case"b":return 255*i.hue2rgb(o,a,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},i)=>{t/=255,e/=255,n/=255;const r=Math.max(t,e,n),a=Math.min(t,e,n),o=(r+a)/2;if("l"===i)return 100*o;if(r===a)return 0;const s=r-a;if("s"===i)return 100*(o>.5?s/(2-r-a):s/(r+a));switch(r){case t:return 60*((e-n)/s+(e<n?6:0));case e:return 60*((n-t)/s+2);case n:return 60*((t-e)/s+4);default:return-1}}};var r={channel:i,lang:{clamp:(t,e,n)=>e>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=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},3679:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var i=function(){this.__data__=[],this.size=0},r=n(8670);var a=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;var s=function(t){var e=this.__data__,n=a(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)};var c=function(t){var e=this.__data__,n=a(e,t);return n<0?void 0:e[n][1]};var u=function(t){return a(this.__data__,t)>-1};var l=function(t,e){var n=this.__data__,i=a(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function h(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}h.prototype.clear=i,h.prototype.delete=s,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;var f=h},6763:function(t,e,n){"use strict";var i=n(682),r=n(658),a=(0,i.Z)(r.Z,"Map");e.Z=a},2717:function(t,e,n){"use strict";n.d(e,{Z:function(){return _}});var i=(0,n(682).Z)(Object,"create");var r=function(){this.__data__=i?i(null):{},this.size=0};var a=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},o=Object.prototype.hasOwnProperty;var s=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0},c=Object.prototype.hasOwnProperty;var u=function(t){var e=this.__data__;return i?void 0!==e[t]:c.call(e,t)};var l=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this};function h(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}h.prototype.clear=r,h.prototype.delete=a,h.prototype.get=s,h.prototype.has=u,h.prototype.set=l;var f=h,d=n(3679),g=n(6763);var p=function(){this.size=0,this.__data__={hash:new f,map:new(g.Z||d.Z),string:new f}};var b=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var w=function(t,e){var n=t.__data__;return b(e)?n["string"==typeof e?"string":"hash"]:n.map};var m=function(t){var e=w(this,t).delete(t);return this.size-=e?1:0,e};var y=function(t){return w(this,t).get(t)};var v=function(t){return w(this,t).has(t)};var x=function(t,e){var n=w(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function k(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}k.prototype.clear=p,k.prototype.delete=m,k.prototype.get=y,k.prototype.has=v,k.prototype.set=x;var _=k},4458:function(t,e,n){"use strict";var i=n(682),r=n(658),a=(0,i.Z)(r.Z,"Set");e.Z=a},2199:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(2717);var r=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};var a=function(t){return this.__data__.has(t)};function o(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i.Z;++e<n;)this.add(t[e])}o.prototype.add=o.prototype.push=r,o.prototype.has=a;var s=o},675:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var i=n(3679);var r=function(){this.__data__=new i.Z,this.size=0};var a=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};var o=function(t){return this.__data__.get(t)};var s=function(t){return this.__data__.has(t)},c=n(6763),u=n(2717);var l=function(t,e){var n=this.__data__;if(n instanceof i.Z){var r=n.__data__;if(!c.Z||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new u.Z(r)}return n.set(t,e),this.size=n.size,this};function h(t){var e=this.__data__=new i.Z(t);this.size=e.size}h.prototype.clear=r,h.prototype.delete=a,h.prototype.get=o,h.prototype.has=s,h.prototype.set=l;var f=h},7851:function(t,e,n){"use strict";var i=n(658).Z.Symbol;e.Z=i},2009:function(t,e,n){"use strict";var i=n(658).Z.Uint8Array;e.Z=i},4491:function(t,e){"use strict";e.Z=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}},2797:function(t,e){"use strict";e.Z=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,a=[];++n<i;){var o=t[n];e(o,n,t)&&(a[r++]=o)}return a}},1931:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var i=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i},r=n(175),a=n(6575),o=n(7840),s=n(5313),c=n(4161),u=Object.prototype.hasOwnProperty;var l=function(t,e){var n=(0,a.Z)(t),l=!n&&(0,r.Z)(t),h=!n&&!l&&(0,o.Z)(t),f=!n&&!l&&!h&&(0,c.Z)(t),d=n||l||h||f,g=d?i(t.length,String):[],p=g.length;for(var b in t)!e&&!u.call(t,b)||d&&("length"==b||h&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||(0,s.Z)(b,p))||g.push(b);return g}},2363:function(t,e){"use strict";e.Z=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}},4895:function(t,e){"use strict";e.Z=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}},9616:function(t,e,n){"use strict";var i=n(1250),r=n(8670),a=Object.prototype.hasOwnProperty;e.Z=function(t,e,n){var o=t[e];a.call(t,e)&&(0,r.Z)(o,n)&&(void 0!==n||e in t)||(0,i.Z)(t,e,n)}},1250:function(t,e,n){"use strict";var i=n(6684);e.Z=function(t,e,n){"__proto__"==e&&i.Z?(0,i.Z)(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},6833:function(t,e,n){"use strict";n.d(e,{Z:function(){return J}});var i=n(675),r=n(4491),a=n(9616),o=n(3617),s=n(825);var c=function(t,e){return t&&(0,o.Z)(e,(0,s.Z)(e),t)},u=n(4027);var l=function(t,e){return t&&(0,o.Z)(e,(0,u.Z)(e),t)},h=n(9053),f=n(7855),d=n(1202);var g=function(t,e){return(0,o.Z)(t,(0,d.Z)(t),e)},p=n(4895),b=n(4003),w=n(1940),m=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)(0,p.Z)(e,(0,d.Z)(t)),t=(0,b.Z)(t);return e}:w.Z;var y=function(t,e){return(0,o.Z)(t,m(t),e)},v=n(7304),x=n(6449);var k=function(t){return(0,x.Z)(t,u.Z,m)},_=n(9035),A=Object.prototype.hasOwnProperty;var E=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&A.call(t,"index")&&(n.index=t.index,n.input=t.input),n},T=n(3497);var C=function(t,e){var n=e?(0,T.Z)(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)},S=/\w*$/;var I=function(t){var e=new t.constructor(t.source,S.exec(t));return e.lastIndex=t.lastIndex,e},M=n(7851),D=M.Z?M.Z.prototype:void 0,O=D?D.valueOf:void 0;var L=function(t){return O?Object(O.call(t)):{}},N=n(9178);var P=function(t,e,n){var i=t.constructor;switch(e){case"[object ArrayBuffer]":return(0,T.Z)(t);case"[object Boolean]":case"[object Date]":return new i(+t);case"[object DataView]":return C(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,N.Z)(t,n);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(t);case"[object RegExp]":return I(t);case"[object Symbol]":return L(t)}},B=n(7734),F=n(6575),R=n(7840),j=n(4897);var $=function(t){return(0,j.Z)(t)&&"[object Map]"==(0,_.Z)(t)},z=n(7133),q=n(9801),H=q.Z&&q.Z.isMap,U=H?(0,z.Z)(H):$,G=n(7275);var Y=function(t){return(0,j.Z)(t)&&"[object Set]"==(0,_.Z)(t)},Z=q.Z&&q.Z.isSet,W=Z?(0,z.Z)(Z):Y,K="[object Arguments]",X="[object Function]",V="[object Object]",Q={};Q[K]=Q["[object Array]"]=Q["[object ArrayBuffer]"]=Q["[object DataView]"]=Q["[object Boolean]"]=Q["[object Date]"]=Q["[object Float32Array]"]=Q["[object Float64Array]"]=Q["[object Int8Array]"]=Q["[object Int16Array]"]=Q["[object Int32Array]"]=Q["[object Map]"]=Q["[object Number]"]=Q[V]=Q["[object RegExp]"]=Q["[object Set]"]=Q["[object String]"]=Q["[object Symbol]"]=Q["[object Uint8Array]"]=Q["[object Uint8ClampedArray]"]=Q["[object Uint16Array]"]=Q["[object Uint32Array]"]=!0,Q["[object Error]"]=Q[X]=Q["[object WeakMap]"]=!1;var J=function t(e,n,o,d,p,b){var w,m=1&n,x=2&n,A=4&n;if(o&&(w=p?o(e,d,p,b):o(e)),void 0!==w)return w;if(!(0,G.Z)(e))return e;var T=(0,F.Z)(e);if(T){if(w=E(e),!m)return(0,f.Z)(e,w)}else{var C=(0,_.Z)(e),S=C==X||"[object GeneratorFunction]"==C;if((0,R.Z)(e))return(0,h.Z)(e,m);if(C==V||C==K||S&&!p){if(w=x||S?{}:(0,B.Z)(e),!m)return x?y(e,l(w,e)):g(e,c(w,e))}else{if(!Q[C])return p?e:{};w=P(e,C,m)}}b||(b=new i.Z);var I=b.get(e);if(I)return I;b.set(e,w),W(e)?e.forEach((function(i){w.add(t(i,n,o,i,e,b))})):U(e)&&e.forEach((function(i,r){w.set(r,t(i,n,o,r,e,b))}));var M=A?x?k:v.Z:x?u.Z:s.Z,D=T?void 0:M(e);return(0,r.Z)(D||e,(function(i,r){D&&(i=e[r=i]),(0,a.Z)(w,r,t(i,n,o,r,e,b))})),w}},7061:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var i=n(8878),r=n(6905);var a=function(t,e){return function(n,i){if(null==n)return n;if(!(0,r.Z)(n))return t(n,i);for(var a=n.length,o=e?a:-1,s=Object(n);(e?o--:++o<a)&&!1!==i(s[o],o,s););return n}}(i.Z)},1758:function(t,e){"use strict";e.Z=function(t,e,n,i){for(var r=t.length,a=n+(i?1:-1);i?a--:++a<r;)if(e(t[a],a,t))return a;return-1}},1747:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var i=n(4895),r=n(7851),a=n(175),o=n(6575),s=r.Z?r.Z.isConcatSpreadable:void 0;var c=function(t){return(0,o.Z)(t)||(0,a.Z)(t)||!!(s&&t&&t[s])};var u=function t(e,n,r,a,o){var s=-1,u=e.length;for(r||(r=c),o||(o=[]);++s<u;){var l=e[s];n>0&&r(l)?n>1?t(l,n-1,r,a,o):(0,i.Z)(o,l):a||(o[o.length]=l)}return o}},1405:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=function(t){return function(e,n,i){for(var r=-1,a=Object(e),o=i(e),s=o.length;s--;){var c=o[t?s:++r];if(!1===n(a[c],c,a))break}return e}}()},8878:function(t,e,n){"use strict";var i=n(1405),r=n(825);e.Z=function(t,e){return t&&(0,i.Z)(t,e,r.Z)}},7106:function(t,e,n){"use strict";var i=n(9864),r=n(199);e.Z=function(t,e){for(var n=0,a=(e=(0,i.Z)(e,t)).length;null!=t&&n<a;)t=t[(0,r.Z)(e[n++])];return n&&n==a?t:void 0}},6449:function(t,e,n){"use strict";var i=n(4895),r=n(6575);e.Z=function(t,e,n){var a=e(t);return(0,r.Z)(t)?a:(0,i.Z)(a,n(t))}},963:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var i=n(7851),r=Object.prototype,a=r.hasOwnProperty,o=r.toString,s=i.Z?i.Z.toStringTag:void 0;var c=function(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var r=o.call(t);return i&&(e?t[s]=n:delete t[s]),r},u=Object.prototype.toString;var l=function(t){return u.call(t)},h=i.Z?i.Z.toStringTag:void 0;var f=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":h&&h in Object(t)?c(t):l(t)}},5350:function(t,e,n){"use strict";n.d(e,{Z:function(){return Z}});var i=n(675),r=n(2199);var a=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1},o=n(2410);var s=function(t,e,n,i,s,c){var u=1&n,l=t.length,h=e.length;if(l!=h&&!(u&&h>l))return!1;var f=c.get(t),d=c.get(e);if(f&&d)return f==e&&d==t;var g=-1,p=!0,b=2&n?new r.Z:void 0;for(c.set(t,e),c.set(e,t);++g<l;){var w=t[g],m=e[g];if(i)var y=u?i(m,w,g,e,t,c):i(w,m,g,t,e,c);if(void 0!==y){if(y)continue;p=!1;break}if(b){if(!a(e,(function(t,e){if(!(0,o.Z)(b,e)&&(w===t||s(w,t,n,i,c)))return b.push(e)}))){p=!1;break}}else if(w!==m&&!s(w,m,n,i,c)){p=!1;break}}return c.delete(t),c.delete(e),p},c=n(7851),u=n(2009),l=n(8670);var h=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n},f=n(789),d=c.Z?c.Z.prototype:void 0,g=d?d.valueOf:void 0;var p=function(t,e,n,i,r,a,o){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!a(new u.Z(t),new u.Z(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,l.Z)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=h;case"[object Set]":var d=1&i;if(c||(c=f.Z),t.size!=e.size&&!d)return!1;var p=o.get(t);if(p)return p==e;i|=2,o.set(t,e);var b=s(c(t),c(e),i,r,a,o);return o.delete(t),b;case"[object Symbol]":if(g)return g.call(t)==g.call(e)}return!1},b=n(7304),w=Object.prototype.hasOwnProperty;var m=function(t,e,n,i,r,a){var o=1&n,s=(0,b.Z)(t),c=s.length;if(c!=(0,b.Z)(e).length&&!o)return!1;for(var u=c;u--;){var l=s[u];if(!(o?l in e:w.call(e,l)))return!1}var h=a.get(t),f=a.get(e);if(h&&f)return h==e&&f==t;var d=!0;a.set(t,e),a.set(e,t);for(var g=o;++u<c;){var p=t[l=s[u]],m=e[l];if(i)var y=o?i(m,p,l,e,t,a):i(p,m,l,t,e,a);if(!(void 0===y?p===m||r(p,m,n,i,a):y)){d=!1;break}g||(g="constructor"==l)}if(d&&!g){var v=t.constructor,x=e.constructor;v==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof x&&x instanceof x||(d=!1)}return a.delete(t),a.delete(e),d},y=n(9035),v=n(6575),x=n(7840),k=n(4161),_="[object Arguments]",A="[object Array]",E="[object Object]",T=Object.prototype.hasOwnProperty;var C=function(t,e,n,r,a,o){var c=(0,v.Z)(t),u=(0,v.Z)(e),l=c?A:(0,y.Z)(t),h=u?A:(0,y.Z)(e),f=(l=l==_?E:l)==E,d=(h=h==_?E:h)==E,g=l==h;if(g&&(0,x.Z)(t)){if(!(0,x.Z)(e))return!1;c=!0,f=!1}if(g&&!f)return o||(o=new i.Z),c||(0,k.Z)(t)?s(t,e,n,r,a,o):p(t,e,l,n,r,a,o);if(!(1&n)){var b=f&&T.call(t,"__wrapped__"),w=d&&T.call(e,"__wrapped__");if(b||w){var C=b?t.value():t,S=w?e.value():e;return o||(o=new i.Z),a(C,S,n,r,o)}}return!!g&&(o||(o=new i.Z),m(t,e,n,r,a,o))},S=n(4897);var I=function t(e,n,i,r,a){return e===n||(null==e||null==n||!(0,S.Z)(e)&&!(0,S.Z)(n)?e!=e&&n!=n:C(e,n,i,r,t,a))};var M=function(t,e,n,r){var a=n.length,o=a,s=!r;if(null==t)return!o;for(t=Object(t);a--;){var c=n[a];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<o;){var u=(c=n[a])[0],l=t[u],h=c[1];if(s&&c[2]){if(void 0===l&&!(u in t))return!1}else{var f=new i.Z;if(r)var d=r(l,h,u,t,e,f);if(!(void 0===d?I(h,l,3,r,f):d))return!1}}return!0},D=n(7275);var O=function(t){return t==t&&!(0,D.Z)(t)},L=n(825);var N=function(t){for(var e=(0,L.Z)(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,O(r)]}return e};var P=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}};var B=function(t){var e=N(t);return 1==e.length&&e[0][2]?P(e[0][0],e[0][1]):function(n){return n===t||M(n,t,e)}},F=n(7106);var R=function(t,e,n){var i=null==t?void 0:(0,F.Z)(t,e);return void 0===i?n:i},j=n(8050),$=n(5506),z=n(199);var q=function(t,e){return(0,$.Z)(t)&&O(e)?P((0,z.Z)(t),e):function(n){var i=R(n,t);return void 0===i&&i===e?(0,j.Z)(n,t):I(e,i,3)}},H=n(1116),U=n(7381);var G=function(t){return function(e){return(0,F.Z)(e,t)}};var Y=function(t){return(0,$.Z)(t)?(0,U.Z)((0,z.Z)(t)):G(t)};var Z=function(t){return"function"==typeof t?t:null==t?H.Z:"object"==typeof t?(0,v.Z)(t)?q(t[0],t[1]):B(t):Y(t)}},9295:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(9494),r=(0,n(6899).Z)(Object.keys,Object),a=Object.prototype.hasOwnProperty;var o=function(t){if(!(0,i.Z)(t))return r(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}},8998:function(t,e,n){"use strict";var i=n(7061),r=n(6905);e.Z=function(t,e){var n=-1,a=(0,r.Z)(t)?Array(t.length):[];return(0,i.Z)(t,(function(t,i,r){a[++n]=e(t,i,r)})),a}},7381:function(t,e){"use strict";e.Z=function(t){return function(e){return null==e?void 0:e[t]}}},155:function(t,e,n){"use strict";var i=n(1116),r=n(8581),a=n(3146);e.Z=function(t,e){return(0,a.Z)((0,r.Z)(t,e,i.Z),t+"")}},7133:function(t,e){"use strict";e.Z=function(t){return function(e){return t(e)}}},2410:function(t,e){"use strict";e.Z=function(t,e){return t.has(e)}},5908:function(t,e,n){"use strict";var i=n(1116);e.Z=function(t){return"function"==typeof t?t:i.Z}},9864:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var i=n(6575),r=n(5506),a=n(9828);var o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,c=function(t){var e=(0,a.Z)(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,i,r){e.push(i?r.replace(s,"$1"):n||t)})),e})),u=n(2341);var l=function(t,e){return(0,i.Z)(t)?t:(0,r.Z)(t,e)?[t]:c((0,u.Z)(t))}},3497:function(t,e,n){"use strict";var i=n(2009);e.Z=function(t){var e=new t.constructor(t.byteLength);return new i.Z(e).set(new i.Z(t)),e}},9053:function(t,e,n){"use strict";var i=n(658),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=r&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===r?i.Z.Buffer:void 0,s=o?o.allocUnsafe:void 0;e.Z=function(t,e){if(e)return t.slice();var n=t.length,i=s?s(n):new t.constructor(n);return t.copy(i),i}},9178:function(t,e,n){"use strict";var i=n(3497);e.Z=function(t,e){var n=e?(0,i.Z)(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},7855:function(t,e){"use strict";e.Z=function(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}},3617:function(t,e,n){"use strict";var i=n(9616),r=n(1250);e.Z=function(t,e,n,a){var o=!n;n||(n={});for(var s=-1,c=e.length;++s<c;){var u=e[s],l=a?a(n[u],t[u],u,n,t):void 0;void 0===l&&(l=t[u]),o?(0,r.Z)(n,u,l):(0,i.Z)(n,u,l)}return n}},6684:function(t,e,n){"use strict";var i=n(682),r=function(){try{var t=(0,i.Z)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();e.Z=r},5852:function(t,e){"use strict";var n="object"==typeof global&&global&&global.Object===Object&&global;e.Z=n},7304:function(t,e,n){"use strict";var i=n(6449),r=n(1202),a=n(825);e.Z=function(t){return(0,i.Z)(t,a.Z,r.Z)}},682:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var i,r=n(3200),a=n(658).Z["__core-js_shared__"],o=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";var s=function(t){return!!o&&o in t},c=n(7275),u=n(9441),l=/^\[object .+?Constructor\]$/,h=Function.prototype,f=Object.prototype,d=h.toString,g=f.hasOwnProperty,p=RegExp("^"+d.call(g).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var b=function(t){return!(!(0,c.Z)(t)||s(t))&&((0,r.Z)(t)?p:l).test((0,u.Z)(t))};var w=function(t,e){return null==t?void 0:t[e]};var m=function(t,e){var n=w(t,e);return b(n)?n:void 0}},4003:function(t,e,n){"use strict";var i=(0,n(6899).Z)(Object.getPrototypeOf,Object);e.Z=i},1202:function(t,e,n){"use strict";var i=n(2797),r=n(1940),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,s=o?function(t){return null==t?[]:(t=Object(t),(0,i.Z)(o(t),(function(e){return a.call(t,e)})))}:r.Z;e.Z=s},9035:function(t,e,n){"use strict";n.d(e,{Z:function(){return _}});var i=n(682),r=n(658),a=(0,i.Z)(r.Z,"DataView"),o=n(6763),s=(0,i.Z)(r.Z,"Promise"),c=n(4458),u=(0,i.Z)(r.Z,"WeakMap"),l=n(963),h=n(9441),f="[object Map]",d="[object Promise]",g="[object Set]",p="[object WeakMap]",b="[object DataView]",w=(0,h.Z)(a),m=(0,h.Z)(o.Z),y=(0,h.Z)(s),v=(0,h.Z)(c.Z),x=(0,h.Z)(u),k=l.Z;(a&&k(new a(new ArrayBuffer(1)))!=b||o.Z&&k(new o.Z)!=f||s&&k(s.resolve())!=d||c.Z&&k(new c.Z)!=g||u&&k(new u)!=p)&&(k=function(t){var e=(0,l.Z)(t),n="[object Object]"==e?t.constructor:void 0,i=n?(0,h.Z)(n):"";if(i)switch(i){case w:return b;case m:return f;case y:return d;case v:return g;case x:return p}return e});var _=k},3973:function(t,e,n){"use strict";var i=n(9864),r=n(175),a=n(6575),o=n(5313),s=n(3492),c=n(199);e.Z=function(t,e,n){for(var u=-1,l=(e=(0,i.Z)(e,t)).length,h=!1;++u<l;){var f=(0,c.Z)(e[u]);if(!(h=null!=t&&n(t,f)))break;t=t[f]}return h||++u!=l?h:!!(l=null==t?0:t.length)&&(0,s.Z)(l)&&(0,o.Z)(f,l)&&((0,a.Z)(t)||(0,r.Z)(t))}},7734:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(7275),r=Object.create,a=function(){function t(){}return function(e){if(!(0,i.Z)(e))return{};if(r)return r(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),o=n(4003),s=n(9494);var c=function(t){return"function"!=typeof t.constructor||(0,s.Z)(t)?{}:a((0,o.Z)(t))}},5313:function(t,e){"use strict";var n=/^(?:0|[1-9]\d*)$/;e.Z=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&n.test(t))&&t>-1&&t%1==0&&t<e}},9597:function(t,e,n){"use strict";var i=n(8670),r=n(6905),a=n(5313),o=n(7275);e.Z=function(t,e,n){if(!(0,o.Z)(n))return!1;var s=typeof e;return!!("number"==s?(0,r.Z)(n)&&(0,a.Z)(e,n.length):"string"==s&&e in n)&&(0,i.Z)(n[e],t)}},5506:function(t,e,n){"use strict";var i=n(6575),r=n(54),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.Z=function(t,e){if((0,i.Z)(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!(0,r.Z)(t))||(o.test(t)||!a.test(t)||null!=e&&t in Object(e))}},9494:function(t,e){"use strict";var n=Object.prototype;e.Z=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},9801:function(t,e,n){"use strict";var i=n(5852),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=r&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===r&&i.Z.process,s=function(){try{var t=a&&a.require&&a.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();e.Z=s},6899:function(t,e){"use strict";e.Z=function(t,e){return function(n){return t(e(n))}}},8581:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var i=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)},r=Math.max;var a=function(t,e,n){return e=r(void 0===e?t.length-1:e,0),function(){for(var a=arguments,o=-1,s=r(a.length-e,0),c=Array(s);++o<s;)c[o]=a[e+o];o=-1;for(var u=Array(e+1);++o<e;)u[o]=a[o];return u[e]=n(c),i(t,this,u)}}},658:function(t,e,n){"use strict";var i=n(5852),r="object"==typeof self&&self&&self.Object===Object&&self,a=i.Z||r||Function("return this")();e.Z=a},789:function(t,e){"use strict";e.Z=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},3146:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var i=n(2399),r=n(6684),a=n(1116),o=r.Z?function(t,e){return(0,r.Z)(t,"toString",{configurable:!0,enumerable:!1,value:(0,i.Z)(e),writable:!0})}:a.Z,s=Date.now;var c=function(t){var e=0,n=0;return function(){var i=s(),r=16-(i-n);if(n=i,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}},u=c(o)},199:function(t,e,n){"use strict";var i=n(54);e.Z=function(t){if("string"==typeof t||(0,i.Z)(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},9441: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""}},2399:function(t,e){"use strict";e.Z=function(t){return function(){return t}}},9999:function(t,e,n){"use strict";var i=n(155),r=n(8670),a=n(9597),o=n(4027),s=Object.prototype,c=s.hasOwnProperty,u=(0,i.Z)((function(t,e){t=Object(t);var n=-1,i=e.length,u=i>2?e[2]:void 0;for(u&&(0,a.Z)(e[0],e[1],u)&&(i=1);++n<i;)for(var l=e[n],h=(0,o.Z)(l),f=-1,d=h.length;++f<d;){var g=h[f],p=t[g];(void 0===p||(0,r.Z)(p,s[g])&&!c.call(t,g))&&(t[g]=l[g])}return t}));e.Z=u},8670:function(t,e){"use strict";e.Z=function(t,e){return t===e||t!=t&&e!=e}},3555:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(2797),r=n(7061);var a=function(t,e){var n=[];return(0,r.Z)(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n},o=n(5350),s=n(6575);var c=function(t,e){return((0,s.Z)(t)?i.Z:a)(t,(0,o.Z)(e,3))}},1849:function(t,e,n){"use strict";var i=n(1747);e.Z=function(t){return(null==t?0:t.length)?(0,i.Z)(t,1):[]}},6227:function(t,e,n){"use strict";var i=n(4491),r=n(7061),a=n(5908),o=n(6575);e.Z=function(t,e){return((0,o.Z)(t)?i.Z:r.Z)(t,(0,a.Z)(e))}},4734:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=Object.prototype.hasOwnProperty;var r=function(t,e){return null!=t&&i.call(t,e)},a=n(3973);var o=function(t,e){return null!=t&&(0,a.Z)(t,e,r)}},8050:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var i=function(t,e){return null!=t&&e in Object(t)},r=n(3973);var a=function(t,e){return null!=t&&(0,r.Z)(t,e,i)}},1116:function(t,e){"use strict";e.Z=function(t){return t}},175:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var i=n(963),r=n(4897);var a=function(t){return(0,r.Z)(t)&&"[object Arguments]"==(0,i.Z)(t)},o=Object.prototype,s=o.hasOwnProperty,c=o.propertyIsEnumerable,u=a(function(){return arguments}())?a:function(t){return(0,r.Z)(t)&&s.call(t,"callee")&&!c.call(t,"callee")},l=u},6575:function(t,e){"use strict";var n=Array.isArray;e.Z=n},6905:function(t,e,n){"use strict";var i=n(3200),r=n(3492);e.Z=function(t){return null!=t&&(0,r.Z)(t.length)&&!(0,i.Z)(t)}},5214:function(t,e,n){"use strict";var i=n(6905),r=n(4897);e.Z=function(t){return(0,r.Z)(t)&&(0,i.Z)(t)}},7840:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(658);var r=function(){return!1},a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof module&&module&&!module.nodeType&&module,s=o&&o.exports===a?i.Z.Buffer:void 0,c=(s?s.isBuffer:void 0)||r},8403:function(t,e,n){"use strict";var i=n(9295),r=n(9035),a=n(175),o=n(6575),s=n(6905),c=n(7840),u=n(9494),l=n(4161),h=Object.prototype.hasOwnProperty;e.Z=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,o.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,c.Z)(t)||(0,l.Z)(t)||(0,a.Z)(t)))return!t.length;var e=(0,r.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,u.Z)(t))return!(0,i.Z)(t).length;for(var n in t)if(h.call(t,n))return!1;return!0}},3200:function(t,e,n){"use strict";var i=n(963),r=n(7275);e.Z=function(t){if(!(0,r.Z)(t))return!1;var e=(0,i.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},3492:function(t,e){"use strict";e.Z=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7275:function(t,e){"use strict";e.Z=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},4897:function(t,e){"use strict";e.Z=function(t){return null!=t&&"object"==typeof t}},3862:function(t,e,n){"use strict";var i=n(963),r=n(4003),a=n(4897),o=Function.prototype,s=Object.prototype,c=o.toString,u=s.hasOwnProperty,l=c.call(Object);e.Z=function(t){if(!(0,a.Z)(t)||"[object Object]"!=(0,i.Z)(t))return!1;var e=(0,r.Z)(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},54:function(t,e,n){"use strict";var i=n(963),r=n(4897);e.Z=function(t){return"symbol"==typeof t||(0,r.Z)(t)&&"[object Symbol]"==(0,i.Z)(t)}},4161:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=n(963),r=n(3492),a=n(4897),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s=function(t){return(0,a.Z)(t)&&(0,r.Z)(t.length)&&!!o[(0,i.Z)(t)]},c=n(7133),u=n(9801),l=u.Z&&u.Z.isTypedArray,h=l?(0,c.Z)(l):s},9789:function(t,e){"use strict";e.Z=function(t){return void 0===t}},825:function(t,e,n){"use strict";var i=n(1931),r=n(9295),a=n(6905);e.Z=function(t){return(0,a.Z)(t)?(0,i.Z)(t):(0,r.Z)(t)}},4027:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var i=n(1931),r=n(7275),a=n(9494);var o=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},s=Object.prototype.hasOwnProperty;var c=function(t){if(!(0,r.Z)(t))return o(t);var e=(0,a.Z)(t),n=[];for(var i in t)("constructor"!=i||!e&&s.call(t,i))&&n.push(i);return n},u=n(6905);var l=function(t){return(0,u.Z)(t)?(0,i.Z)(t,!0):c(t)}},8076:function(t,e,n){"use strict";var i=n(2363),r=n(5350),a=n(8998),o=n(6575);e.Z=function(t,e){return((0,o.Z)(t)?i.Z:a.Z)(t,(0,r.Z)(e,3))}},9828:function(t,e,n){"use strict";var i=n(2717);function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(r.Cache||i.Z),n}r.Cache=i.Z,e.Z=r},9980:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var i=n(7106),r=n(9616),a=n(9864),o=n(5313),s=n(7275),c=n(199);var u=function(t,e,n,i){if(!(0,s.Z)(t))return t;for(var u=-1,l=(e=(0,a.Z)(e,t)).length,h=l-1,f=t;null!=f&&++u<l;){var d=(0,c.Z)(e[u]),g=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(u!=h){var p=f[d];void 0===(g=i?i(p,d,f):void 0)&&(g=(0,s.Z)(p)?p:(0,o.Z)(e[u+1])?[]:{})}(0,r.Z)(f,d,g),f=f[d]}return t};var l=function(t,e,n){for(var r=-1,o=e.length,s={};++r<o;){var c=e[r],l=(0,i.Z)(t,c);n(l,c)&&u(s,(0,a.Z)(c,t),l)}return s},h=n(8050);var f=function(t,e){return l(t,e,(function(e,n){return(0,h.Z)(t,n)}))},d=n(1849),g=n(8581),p=n(3146);var b=function(t){return(0,p.Z)((0,g.Z)(t,void 0,d.Z),t+"")}((function(t,e){return null==t?{}:f(t,e)}))},6460:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=Math.ceil,r=Math.max;var a=function(t,e,n,a){for(var o=-1,s=r(i((e-t)/(n||1)),0),c=Array(s);s--;)c[a?s:++o]=t,t+=n;return c},o=n(9597),s=n(5473);var c=function(t){return function(e,n,i){return i&&"number"!=typeof i&&(0,o.Z)(e,n,i)&&(n=i=void 0),e=(0,s.Z)(e),void 0===n?(n=e,e=0):n=(0,s.Z)(n),i=void 0===i?e<n?1:-1:(0,s.Z)(i),a(e,n,i,t)}}()},9886:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=function(t,e,n,i){var r=-1,a=null==t?0:t.length;for(i&&a&&(n=t[++r]);++r<a;)n=e(n,t[r],r,t);return n},r=n(7061),a=n(5350);var o=function(t,e,n,i,r){return r(t,(function(t,r,a){n=i?(i=!1,t):e(n,t,r,a)})),n},s=n(6575);var c=function(t,e,n){var c=(0,s.Z)(t)?i:o,u=arguments.length<3;return c(t,(0,a.Z)(e,4),n,u,r.Z)}},1940:function(t,e){"use strict";e.Z=function(){return[]}},5473:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=/\s/;var r=function(t){for(var e=t.length;e--&&i.test(t.charAt(e)););return e},a=/^\s+/;var o=function(t){return t?t.slice(0,r(t)+1).replace(a,""):t},s=n(7275),c=n(54),u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt;var d=function(t){if("number"==typeof t)return t;if((0,c.Z)(t))return NaN;if((0,s.Z)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=(0,s.Z)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=o(t);var n=l.test(t);return n||h.test(t)?f(t.slice(2),n?2:8):u.test(t)?NaN:+t},g=1/0;var p=function(t){return t?(t=d(t))===g||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},2341:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var i=n(7851),r=n(2363),a=n(6575),o=n(54),s=i.Z?i.Z.prototype:void 0,c=s?s.toString:void 0;var u=function t(e){if("string"==typeof e)return e;if((0,a.Z)(e))return(0,r.Z)(e,t)+"";if((0,o.Z)(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};var l=function(t){return null==t?"":u(t)}},7474:function(t,e,n){"use strict";var i=n(2341),r=0;e.Z=function(t){var e=++r;return(0,i.Z)(t)+e}},2855:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(2363);var r=function(t,e){return(0,i.Z)(e,(function(e){return t[e]}))},a=n(825);var o=function(t){return null==t?[]:r(t,(0,a.Z)(t))}},4946:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return et}});var i=n(8540),r=n(1504),a=n(2699),o=n(2510),s=(n(7530),n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,6],n=[1,7],i=[1,8],r=[1,9],a=[1,16],o=[1,11],s=[1,12],u=[1,13],l=[1,14],h=[1,15],f=[1,27],d=[1,33],g=[1,34],p=[1,35],b=[1,36],w=[1,37],m=[1,72],y=[1,73],v=[1,74],x=[1,75],k=[1,76],_=[1,77],A=[1,78],E=[1,38],T=[1,39],C=[1,40],S=[1,41],I=[1,42],M=[1,43],D=[1,44],O=[1,45],L=[1,46],N=[1,47],P=[1,48],B=[1,49],F=[1,50],R=[1,51],j=[1,52],$=[1,53],z=[1,54],q=[1,55],H=[1,56],U=[1,57],G=[1,59],Y=[1,60],Z=[1,61],W=[1,62],K=[1,63],X=[1,64],V=[1,65],Q=[1,66],J=[1,67],tt=[1,68],et=[1,69],nt=[24,52],it=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],rt=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],at=[1,94],ot=[1,95],st=[1,96],ct=[1,97],ut=[15,24,52],lt=[7,8,9,10,18,22,25,26,27,28],ht=[15,24,43,52],ft=[15,24,43,52,86,87,89,90],dt=[15,43],gt=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],pt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:i.setDirection("TB");break;case 5:i.setDirection("BT");break;case 6:i.setDirection("RL");break;case 7:i.setDirection("LR");break;case 11:i.parseDirective("%%{","open_directive");break;case 12:break;case 13:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 14:i.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:i.setC4Type(a[s-3]);break;case 26:i.setTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 27:i.setAccDescription(a[s].substring(15)),this.$=a[s].substring(15);break;case 28:this.$=a[s].trim(),i.setTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 35:case 36:a[s].splice(2,0,"ENTERPRISE"),i.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 37:i.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 38:a[s].splice(2,0,"CONTAINER"),i.addContainerBoundary(...a[s]),this.$=a[s];break;case 39:i.addDeploymentNode("node",...a[s]),this.$=a[s];break;case 40:i.addDeploymentNode("nodeL",...a[s]),this.$=a[s];break;case 41:i.addDeploymentNode("nodeR",...a[s]),this.$=a[s];break;case 42:i.popBoundaryParseStack();break;case 46:i.addPersonOrSystem("person",...a[s]),this.$=a[s];break;case 47:i.addPersonOrSystem("external_person",...a[s]),this.$=a[s];break;case 48:i.addPersonOrSystem("system",...a[s]),this.$=a[s];break;case 49:i.addPersonOrSystem("system_db",...a[s]),this.$=a[s];break;case 50:i.addPersonOrSystem("system_queue",...a[s]),this.$=a[s];break;case 51:i.addPersonOrSystem("external_system",...a[s]),this.$=a[s];break;case 52:i.addPersonOrSystem("external_system_db",...a[s]),this.$=a[s];break;case 53:i.addPersonOrSystem("external_system_queue",...a[s]),this.$=a[s];break;case 54:i.addContainer("container",...a[s]),this.$=a[s];break;case 55:i.addContainer("container_db",...a[s]),this.$=a[s];break;case 56:i.addContainer("container_queue",...a[s]),this.$=a[s];break;case 57:i.addContainer("external_container",...a[s]),this.$=a[s];break;case 58:i.addContainer("external_container_db",...a[s]),this.$=a[s];break;case 59:i.addContainer("external_container_queue",...a[s]),this.$=a[s];break;case 60:i.addComponent("component",...a[s]),this.$=a[s];break;case 61:i.addComponent("component_db",...a[s]),this.$=a[s];break;case 62:i.addComponent("component_queue",...a[s]),this.$=a[s];break;case 63:i.addComponent("external_component",...a[s]),this.$=a[s];break;case 64:i.addComponent("external_component_db",...a[s]),this.$=a[s];break;case 65:i.addComponent("external_component_queue",...a[s]),this.$=a[s];break;case 67:i.addRel("rel",...a[s]),this.$=a[s];break;case 68:i.addRel("birel",...a[s]),this.$=a[s];break;case 69:i.addRel("rel_u",...a[s]),this.$=a[s];break;case 70:i.addRel("rel_d",...a[s]),this.$=a[s];break;case 71:i.addRel("rel_l",...a[s]),this.$=a[s];break;case 72:i.addRel("rel_r",...a[s]),this.$=a[s];break;case 73:i.addRel("rel_b",...a[s]),this.$=a[s];break;case 74:a[s].splice(0,1),i.addRel("rel",...a[s]),this.$=a[s];break;case 75:i.updateElStyle("update_el_style",...a[s]),this.$=a[s];break;case 76:i.updateRelStyle("update_rel_style",...a[s]),this.$=a[s];break;case 77:i.updateLayoutConfig("update_layout_config",...a[s]),this.$=a[s];break;case 78:this.$=[a[s]];break;case 79:a[s].unshift(a[s-1]),this.$=a[s];break;case 80:case 82:this.$=a[s].trim();break;case 81:let t={};t[a[s-1].trim()]=a[s].trim(),this.$=t;break;case 83:this.$=""}},table:[{3:1,4:2,5:3,6:4,7:e,8:n,9:i,10:r,11:5,12:10,18:a,22:o,25:s,26:u,27:l,28:h},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:e,8:n,9:i,10:r,11:5,12:10,18:a,22:o,25:s,26:u,27:l,28:h},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:f},t([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:m,46:y,47:v,48:x,49:k,50:_,51:A,53:32,54:E,55:T,56:C,57:S,58:I,59:M,60:D,61:O,62:L,63:N,64:P,65:B,66:F,67:R,68:j,69:$,70:z,71:q,72:H,73:U,74:G,75:Y,76:Z,77:W,78:K,79:X,80:V,81:Q,82:J,83:tt,84:et},{23:79,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:m,46:y,47:v,48:x,49:k,50:_,51:A,53:32,54:E,55:T,56:C,57:S,58:I,59:M,60:D,61:O,62:L,63:N,64:P,65:B,66:F,67:R,68:j,69:$,70:z,71:q,72:H,73:U,74:G,75:Y,76:Z,77:W,78:K,79:X,80:V,81:Q,82:J,83:tt,84:et},{23:80,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:m,46:y,47:v,48:x,49:k,50:_,51:A,53:32,54:E,55:T,56:C,57:S,58:I,59:M,60:D,61:O,62:L,63:N,64:P,65:B,66:F,67:R,68:j,69:$,70:z,71:q,72:H,73:U,74:G,75:Y,76:Z,77:W,78:K,79:X,80:V,81:Q,82:J,83:tt,84:et},{23:81,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:m,46:y,47:v,48:x,49:k,50:_,51:A,53:32,54:E,55:T,56:C,57:S,58:I,59:M,60:D,61:O,62:L,63:N,64:P,65:B,66:F,67:R,68:j,69:$,70:z,71:q,72:H,73:U,74:G,75:Y,76:Z,77:W,78:K,79:X,80:V,81:Q,82:J,83:tt,84:et},{23:82,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:m,46:y,47:v,48:x,49:k,50:_,51:A,53:32,54:E,55:T,56:C,57:S,58:I,59:M,60:D,61:O,62:L,63:N,64:P,65:B,66:F,67:R,68:j,69:$,70:z,71:q,72:H,73:U,74:G,75:Y,76:Z,77:W,78:K,79:X,80:V,81:Q,82:J,83:tt,84:et},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},t(nt,[2,20],{53:32,39:58,40:70,42:71,30:87,44:m,46:y,47:v,48:x,49:k,50:_,51:A,54:E,55:T,56:C,57:S,58:I,59:M,60:D,61:O,62:L,63:N,64:P,65:B,66:F,67:R,68:j,69:$,70:z,71:q,72:H,73:U,74:G,75:Y,76:Z,77:W,78:K,79:X,80:V,81:Q,82:J,83:tt,84:et}),t(nt,[2,21]),t(it,[2,23],{15:[1,88]}),t(nt,[2,43],{15:[1,89]}),t(rt,[2,26]),t(rt,[2,27]),{35:[1,90]},{37:[1,91]},t(rt,[2,30]),{45:92,85:93,86:at,87:ot,89:st,90:ct},{45:98,85:93,86:at,87:ot,89:st,90:ct},{45:99,85:93,86:at,87:ot,89:st,90:ct},{45:100,85:93,86:at,87:ot,89:st,90:ct},{45:101,85:93,86:at,87:ot,89:st,90:ct},{45:102,85:93,86:at,87:ot,89:st,90:ct},{45:103,85:93,86:at,87:ot,89:st,90:ct},{45:104,85:93,86:at,87:ot,89:st,90:ct},{45:105,85:93,86:at,87:ot,89:st,90:ct},{45:106,85:93,86:at,87:ot,89:st,90:ct},{45:107,85:93,86:at,87:ot,89:st,90:ct},{45:108,85:93,86:at,87:ot,89:st,90:ct},{45:109,85:93,86:at,87:ot,89:st,90:ct},{45:110,85:93,86:at,87:ot,89:st,90:ct},{45:111,85:93,86:at,87:ot,89:st,90:ct},{45:112,85:93,86:at,87:ot,89:st,90:ct},{45:113,85:93,86:at,87:ot,89:st,90:ct},{45:114,85:93,86:at,87:ot,89:st,90:ct},{45:115,85:93,86:at,87:ot,89:st,90:ct},{45:116,85:93,86:at,87:ot,89:st,90:ct},t(ut,[2,66]),{45:117,85:93,86:at,87:ot,89:st,90:ct},{45:118,85:93,86:at,87:ot,89:st,90:ct},{45:119,85:93,86:at,87:ot,89:st,90:ct},{45:120,85:93,86:at,87:ot,89:st,90:ct},{45:121,85:93,86:at,87:ot,89:st,90:ct},{45:122,85:93,86:at,87:ot,89:st,90:ct},{45:123,85:93,86:at,87:ot,89:st,90:ct},{45:124,85:93,86:at,87:ot,89:st,90:ct},{45:125,85:93,86:at,87:ot,89:st,90:ct},{45:126,85:93,86:at,87:ot,89:st,90:ct},{45:127,85:93,86:at,87:ot,89:st,90:ct},{30:128,39:58,40:70,42:71,44:m,46:y,47:v,48:x,49:k,50:_,51:A,53:32,54:E,55:T,56:C,57:S,58:I,59:M,60:D,61:O,62:L,63:N,64:P,65:B,66:F,67:R,68:j,69:$,70:z,71:q,72:H,73:U,74:G,75:Y,76:Z,77:W,78:K,79:X,80:V,81:Q,82:J,83:tt,84:et},{15:[1,130],43:[1,129]},{45:131,85:93,86:at,87:ot,89:st,90:ct},{45:132,85:93,86:at,87:ot,89:st,90:ct},{45:133,85:93,86:at,87:ot,89:st,90:ct},{45:134,85:93,86:at,87:ot,89:st,90:ct},{45:135,85:93,86:at,87:ot,89:st,90:ct},{45:136,85:93,86:at,87:ot,89:st,90:ct},{45:137,85:93,86:at,87:ot,89:st,90:ct},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},t(lt,[2,9]),{14:142,21:f},{21:[2,13]},{1:[2,15]},t(nt,[2,22]),t(it,[2,24],{31:31,29:143,32:d,33:g,34:p,36:b,38:w}),t(nt,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:d,33:g,34:p,36:b,38:w,44:m,46:y,47:v,48:x,49:k,50:_,51:A,54:E,55:T,56:C,57:S,58:I,59:M,60:D,61:O,62:L,63:N,64:P,65:B,66:F,67:R,68:j,69:$,70:z,71:q,72:H,73:U,74:G,75:Y,76:Z,77:W,78:K,79:X,80:V,81:Q,82:J,83:tt,84:et}),t(rt,[2,28]),t(rt,[2,29]),t(ut,[2,46]),t(ht,[2,78],{85:93,45:145,86:at,87:ot,89:st,90:ct}),t(ft,[2,80]),{88:[1,146]},t(ft,[2,82]),t(ft,[2,83]),t(ut,[2,47]),t(ut,[2,48]),t(ut,[2,49]),t(ut,[2,50]),t(ut,[2,51]),t(ut,[2,52]),t(ut,[2,53]),t(ut,[2,54]),t(ut,[2,55]),t(ut,[2,56]),t(ut,[2,57]),t(ut,[2,58]),t(ut,[2,59]),t(ut,[2,60]),t(ut,[2,61]),t(ut,[2,62]),t(ut,[2,63]),t(ut,[2,64]),t(ut,[2,65]),t(ut,[2,67]),t(ut,[2,68]),t(ut,[2,69]),t(ut,[2,70]),t(ut,[2,71]),t(ut,[2,72]),t(ut,[2,73]),t(ut,[2,74]),t(ut,[2,75]),t(ut,[2,76]),t(ut,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},t(dt,[2,35]),t(dt,[2,36]),t(dt,[2,37]),t(dt,[2,38]),t(dt,[2,39]),t(dt,[2,40]),t(dt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},t(it,[2,25]),t(nt,[2,45]),t(ht,[2,79]),t(ft,[2,81]),t(ut,[2,31]),t(ut,[2,42]),t(gt,[2,32]),t(gt,[2,33],{15:[1,152]}),t(lt,[2,10]),t(gt,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},bt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 78:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 21:case 75:break;case 19:c;break;case 20:return 15;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:case 58:return this.begin("rel_u"),76;case 59:case 60:return this.begin("rel_d"),77;case 61:case 62:return this.begin("rel_l"),78;case 63:case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:case 84:this.popState(),this.popState();break;case 74:case 76:return 90;case 77:this.begin("string");break;case 79:case 85:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 86:return"LBRACE";case 87:return"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\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:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,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,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}};function wt(){this.yy={}}return pt.lexer=bt,wt.prototype=pt,pt.Parser=wt,new wt}());s.parser=s;const u=s;let l=[],h=[""],f="global",d="",g=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],p=[],b="",w=!1,m=4,y=2;var v;const x=function(t){return null==t?l:l.filter((e=>e.parentBoundary===t))},k=function(){return w},_={addPersonOrSystem:function(t,e,n,i,r,a,o){if(null===e||null===n)return;let s={};const c=l.find((t=>t.alias===e));if(c&&e===c.alias?s=c:(s.alias=e,l.push(s)),s.label=null==n?{text:""}:{text:n},null==i)s.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]={text:e}}else s.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];s[t]=e}else s.sprite=r;if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.tags=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];s[t]=e}else s.link=o;s.typeC4Shape={text:t},s.parentBoundary=f,s.wrap=k()},addPersonOrSystemBoundary:function(t,e,n,i,r){if(null===t||null===e)return;let a={};const o=g.find((e=>e.alias===t));if(o&&t===o.alias?a=o:(a.alias=t,g.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"system"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e}}else a.type={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e}else a.tags=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e}else a.link=r;a.parentBoundary=f,a.wrap=k(),d=f,f=t,h.push(d)},addContainer:function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=l.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,l.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.techn={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.descr={text:r};if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]=e}else c.sprite=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.wrap=k(),c.typeC4Shape={text:t},c.parentBoundary=f},addContainerBoundary:function(t,e,n,i,r){if(null===t||null===e)return;let a={};const o=g.find((e=>e.alias===t));if(o&&t===o.alias?a=o:(a.alias=t,g.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"container"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e}}else a.type={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e}else a.tags=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e}else a.link=r;a.parentBoundary=f,a.wrap=k(),d=f,f=t,h.push(d)},addComponent:function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=l.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,l.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.techn={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.descr={text:r};if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]=e}else c.sprite=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.wrap=k(),c.typeC4Shape={text:t},c.parentBoundary=f},addDeploymentNode:function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=g.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,g.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.type={text:"node"};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.type={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.descr={text:r};if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.nodeType=t,c.parentBoundary=f,c.wrap=k(),d=f,f=e,h.push(d)},popBoundaryParseStack:function(){f=d,h.pop(),d=h.pop(),h.push(d)},addRel:function(t,e,n,i,r,a,o,s,c){if(null==t||null==e||null==n||null==i)return;let u={};const l=p.find((t=>t.from===e&&t.to===n));if(l?u=l:p.push(u),u.type=t,u.from=e,u.to=n,u.label={text:i},null==r)u.techn={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];u[t]={text:e}}else u.techn={text:r};if(null==a)u.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];u[t]={text:e}}else u.descr={text:a};if("object"==typeof o){let[t,e]=Object.entries(o)[0];u[t]=e}else u.sprite=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];u[t]=e}else u.tags=s;if("object"==typeof c){let[t,e]=Object.entries(c)[0];u[t]=e}else u.link=c;u.wrap=k()},updateElStyle:function(t,e,n,i,r,a,o,s,c,u,h){let f=l.find((t=>t.alias===e));if(void 0!==f||(f=g.find((t=>t.alias===e)),void 0!==f)){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];f[t]=e}else f.bgColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];f[t]=e}else f.fontColor=i;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];f[t]=e}else f.borderColor=r;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];f[t]=e}else f.shadowing=a;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];f[t]=e}else f.shape=o;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];f[t]=e}else f.sprite=s;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];f[t]=e}else f.techn=c;if(null!=u)if("object"==typeof u){let[t,e]=Object.entries(u)[0];f[t]=e}else f.legendText=u;if(null!=h)if("object"==typeof h){let[t,e]=Object.entries(h)[0];f[t]=e}else f.legendSprite=h}},updateRelStyle:function(t,e,n,i,r,a,o){const s=p.find((t=>t.from===e&&t.to===n));if(void 0!==s){if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.textColor=i;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];s[t]=e}else s.lineColor=r;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=parseInt(e)}else s.offsetX=parseInt(a);if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];s[t]=parseInt(e)}else s.offsetY=parseInt(o)}},updateLayoutConfig:function(t,e,n){let i=m,r=y;if("object"==typeof e){const t=Object.values(e)[0];i=parseInt(t)}else i=parseInt(e);if("object"==typeof n){const t=Object.values(n)[0];r=parseInt(t)}else r=parseInt(n);i>=1&&(m=i),r>=1&&(y=r)},autoWrap:k,setWrap:function(t){w=t},getC4ShapeArray:x,getC4Shape:function(t){return l.find((e=>e.alias===t))},getC4ShapeKeys:function(t){return Object.keys(x(t))},getBoundarys:function(t){return null==t?g:g.filter((e=>e.parentBoundary===t))},getCurrentBoundaryParse:function(){return f},getParentBoundaryParse:function(){return d},getRels:function(){return p},getTitle:function(){return b},getC4Type:function(){return v},getC4ShapeInRow:function(){return m},getC4BoundaryInRow:function(){return y},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().c4,clear:function(){l=[],g=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],d="",f="global",h=[""],p=[],h=[""],b="",w=!1,m=4,y=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){let e=(0,i.d)(t,(0,i.c)());b=e},setC4Type:function(t){let e=(0,i.d)(t,(0,i.c)());v=e}},A=function(t,e){return(0,a.d)(t,e)},E=function(t,e,n,i,r,a){const s=t.append("image");s.attr("width",e),s.attr("height",n),s.attr("x",i),s.attr("y",r);let c=a.startsWith("data:image/png;base64")?a:(0,o.Nm)(a);s.attr("xlink:href",c)},T=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),C=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("text-anchor","middle").text(t),s)}function e(t,e,n,a,o,s,c,u){const{fontSize:l,fontFamily:h,fontWeight:f}=u,d=t.split(i.e.lineBreakRegex);for(let t=0;t<d.length;t++){const i=t*l-l*(d.length-1)/2,s=e.append("text").attr("x",n+o/2).attr("y",a).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",l).style("font-weight",f).style("font-family",h);s.append("tspan").attr("dy",i).text(d[t]).attr("alignment-baseline","mathematical"),r(s,c)}}function n(t,n,i,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,i,a,o,0,c,u),r(h,c)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),S=function(t,e,n){const i=t.append("g");let r=e.bgColor?e.bgColor:"none",a=e.borderColor?e.borderColor:"#444444",o=e.fontColor?e.fontColor:"black",s={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(s={"stroke-width":1});let c={x:e.x,y:e.y,fill:r,stroke:a,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:s};A(i,c);let u=n.boundaryFont();u.fontWeight="bold",u.fontSize=u.fontSize+2,u.fontColor=o,C(n)(e.label.text,i,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},u),e.type&&""!==e.type.text&&(u=n.boundaryFont(),u.fontColor=o,C(n)(e.type.text,i,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},u)),e.descr&&""!==e.descr.text&&(u=n.boundaryFont(),u.fontSize=u.fontSize-2,u.fontColor=o,C(n)(e.descr.text,i,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},u))},I=function(t,e,n){var i;let r=e.bgColor?e.bgColor:n[e.typeC4Shape.text+"_bg_color"],o=e.borderColor?e.borderColor:n[e.typeC4Shape.text+"_border_color"],s=e.fontColor?e.fontColor:"#FFFFFF",c="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(e.typeC4Shape.text){case"person":c="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":c="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII="}const u=t.append("g");u.attr("class","person-man");const l=(0,a.g)();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":l.x=e.x,l.y=e.y,l.fill=r,l.width=e.width,l.height=e.height,l.stroke=o,l.rx=2.5,l.ry=2.5,l.attrs={"stroke-width":.5},A(u,l);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":u.append("path").attr("fill",r).attr("stroke-width","0.5").attr("stroke",o).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2).replaceAll("height",e.height)),u.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",o).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":u.append("path").attr("fill",r).attr("stroke-width","0.5").attr("stroke",o).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("width",e.width).replaceAll("half",e.height/2)),u.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",o).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",e.x+e.width).replaceAll("starty",e.y).replaceAll("half",e.height/2))}let h=T(n,e.typeC4Shape.text);switch(u.append("text").attr("fill",s).attr("font-family",h.fontFamily).attr("font-size",h.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",e.typeC4Shape.width).attr("x",e.x+e.width/2-e.typeC4Shape.width/2).attr("y",e.y+e.typeC4Shape.Y).text("<<"+e.typeC4Shape.text+">>"),e.typeC4Shape.text){case"person":case"external_person":E(u,48,48,e.x+e.width/2-24,e.y+e.image.Y,c)}let f=n[e.typeC4Shape.text+"Font"]();return f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=s,C(n)(e.label.text,u,e.x,e.y+e.label.Y,e.width,e.height,{fill:s},f),f=n[e.typeC4Shape.text+"Font"](),f.fontColor=s,e.techn&&""!==(null==(i=e.techn)?void 0:i.text)?C(n)(e.techn.text,u,e.x,e.y+e.techn.Y,e.width,e.height,{fill:s,"font-style":"italic"},f):e.type&&""!==e.type.text&&C(n)(e.type.text,u,e.x,e.y+e.type.Y,e.width,e.height,{fill:s,"font-style":"italic"},f),e.descr&&""!==e.descr.text&&(f=n.personFont(),f.fontColor=s,C(n)(e.descr.text,u,e.x,e.y+e.descr.Y,e.width,e.height,{fill:s},f)),e.height},M=(t,e,n)=>{const i=t.append("g");let r=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",a=t.lineColor?t.lineColor:"#444444",o=t.offsetX?parseInt(t.offsetX):0,s=t.offsetY?parseInt(t.offsetY):0,c="";if(0===r){let e=i.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",a),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url("+c+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+c+"#arrowend)"),r=-1}else{let e=i.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",a).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("+c+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+c+"#arrowend)")}let u=n.messageFont();C(n)(t.label.text,i,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+o,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+s,t.label.width,t.label.height,{fill:e},u),t.techn&&""!==t.techn.text&&(u=n.messageFont(),C(n)("["+t.techn.text+"]",i,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+o,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+n.messageFontSize+5+s,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},u))}},D=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")},O=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")},L=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")},N=function(t){const 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")},P=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")},B=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")},F=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")};let R=0,j=0,$=4,z=2;s.yy=_;let q={};class H{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,U(t.db.getConfig())}setData(t,e,n,i){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=i}updateVal(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,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,n=e+t.width,i=this.nextData.starty+2*t.margin,r=i+t.height;(e>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>$)&&(e=this.nextData.startx+t.margin+q.nextLinePaddingX,i=this.nextData.stopy+2*t.margin,this.nextData.stopx=n=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=i+t.height,this.nextData.cnt=1),t.x=e,t.y=i,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",i,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",i,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",r,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},U(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const U=function(t){(0,i.f)(q,t),t.fontFamily&&(q.personFontFamily=q.systemFontFamily=q.messageFontFamily=t.fontFamily),t.fontSize&&(q.personFontSize=q.systemFontSize=q.messageFontSize=t.fontSize),t.fontWeight&&(q.personFontWeight=q.systemFontWeight=q.messageFontWeight=t.fontWeight)},G=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),Y=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight});function Z(t,e,n,r,a){if(!e[t].width)if(n)e[t].text=(0,i.w)(e[t].text,a,r),e[t].textLines=e[t].text.split(i.e.lineBreakRegex).length,e[t].width=a,e[t].height=(0,i.j)(e[t].text,r);else{let n=e[t].text.split(i.e.lineBreakRegex);e[t].textLines=n.length;let a=0;e[t].height=0,e[t].width=0;for(const o of n)e[t].width=Math.max((0,i.h)(o,r),e[t].width),a=(0,i.j)(o,r),e[t].height=e[t].height+a}}const W=function(t,e,n){e.x=n.data.startx,e.y=n.data.starty,e.width=n.data.stopx-n.data.startx,e.height=n.data.stopy-n.data.starty,e.label.y=q.c4ShapeMargin-35;let r=e.wrap&&q.wrap,a=Y(q);a.fontSize=a.fontSize+2,a.fontWeight="bold",Z("label",e,r,a,(0,i.h)(e.label.text,a)),S(t,e,q)},K=function(t,e,n,r){let a=0;for(const o of r){a=0;const r=n[o];let s=G(q,r.typeC4Shape.text);switch(s.fontSize=s.fontSize-2,r.typeC4Shape.width=(0,i.h)("<<"+r.typeC4Shape.text+">>",s),r.typeC4Shape.height=s.fontSize+2,r.typeC4Shape.Y=q.c4ShapePadding,a=r.typeC4Shape.Y+r.typeC4Shape.height-4,r.image={width:0,height:0,Y:0},r.typeC4Shape.text){case"person":case"external_person":r.image.width=48,r.image.height=48,r.image.Y=a,a=r.image.Y+r.image.height}r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=a,a=r.image.Y+r.image.height);let c=r.wrap&&q.wrap,u=q.width-2*q.c4ShapePadding,l=G(q,r.typeC4Shape.text);if(l.fontSize=l.fontSize+2,l.fontWeight="bold",Z("label",r,c,l,u),r.label.Y=a+8,a=r.label.Y+r.label.height,r.type&&""!==r.type.text){r.type.text="["+r.type.text+"]",Z("type",r,c,G(q,r.typeC4Shape.text),u),r.type.Y=a+5,a=r.type.Y+r.type.height}else if(r.techn&&""!==r.techn.text){r.techn.text="["+r.techn.text+"]",Z("techn",r,c,G(q,r.techn.text),u),r.techn.Y=a+5,a=r.techn.Y+r.techn.height}let h=a,f=r.label.width;if(r.descr&&""!==r.descr.text){Z("descr",r,c,G(q,r.typeC4Shape.text),u),r.descr.Y=a+20,a=r.descr.Y+r.descr.height,f=Math.max(r.label.width,r.descr.width),h=a-5*r.descr.textLines}f+=q.c4ShapePadding,r.width=Math.max(r.width||q.width,f,q.width),r.height=Math.max(r.height||q.height,h,q.height),r.margin=r.margin||q.c4ShapeMargin,t.insert(r),I(e,r,q)}t.bumpLastMargin(q.c4ShapeMargin)};class X{constructor(t,e){this.x=t,this.y=e}}let V=function(t,e){let n=t.x,i=t.y,r=e.x,a=e.y,o=n+t.width/2,s=i+t.height/2,c=Math.abs(n-r),u=Math.abs(i-a),l=u/c,h=t.height/t.width,f=null;return i==a&&n<r?f=new X(n+t.width,s):i==a&&n>r?f=new X(n,s):n==r&&i<a?f=new X(o,i+t.height):n==r&&i>a&&(f=new X(o,i)),n>r&&i<a?f=h>=l?new X(n,s+l*t.width/2):new X(o-c/u*t.height/2,i+t.height):n<r&&i<a?f=h>=l?new X(n+t.width,s+l*t.width/2):new X(o+c/u*t.height/2,i+t.height):n<r&&i>a?f=h>=l?new X(n+t.width,s-l*t.width/2):new X(o+t.height/2*c/u,i):n>r&&i>a&&(f=h>=l?new X(n,s-t.width/2*l):new X(o-t.height/2*c/u,i)),f},Q=function(t,e){let n={x:0,y:0};n.x=e.x+e.width/2,n.y=e.y+e.height/2;let i=V(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:i,endPoint:V(e,n)}};function J(t,e,n,i,r){let a=new H(r);a.data.widthLimit=n.data.widthLimit/Math.min(z,i.length);for(let[o,s]of i.entries()){let i=0;s.image={width:0,height:0,Y:0},s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=i,i=s.image.Y+s.image.height);let c=s.wrap&&q.wrap,u=Y(q);if(u.fontSize=u.fontSize+2,u.fontWeight="bold",Z("label",s,c,u,a.data.widthLimit),s.label.Y=i+8,i=s.label.Y+s.label.height,s.type&&""!==s.type.text){s.type.text="["+s.type.text+"]",Z("type",s,c,Y(q),a.data.widthLimit),s.type.Y=i+5,i=s.type.Y+s.type.height}if(s.descr&&""!==s.descr.text){let t=Y(q);t.fontSize=t.fontSize-2,Z("descr",s,c,t,a.data.widthLimit),s.descr.Y=i+20,i=s.descr.Y+s.descr.height}if(0==o||o%z==0){let t=n.data.startx+q.diagramMarginX,e=n.data.stopy+q.diagramMarginY+i;a.setData(t,t,e,e)}else{let t=a.data.stopx!==a.data.startx?a.data.stopx+q.diagramMarginX:a.data.startx,e=a.data.starty;a.setData(t,t,e,e)}a.name=s.alias;let l=r.db.getC4ShapeArray(s.alias),h=r.db.getC4ShapeKeys(s.alias);h.length>0&&K(a,t,l,h),e=s.alias;let f=r.db.getBoundarys(e);f.length>0&&J(t,e,a,f,r),"global"!==s.alias&&W(t,s,a),n.data.stopy=Math.max(a.data.stopy+q.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(a.data.stopx+q.c4ShapeMargin,n.data.stopx),R=Math.max(R,n.data.stopx),j=Math.max(j,n.data.stopy)}}const tt={drawPersonOrSystemArray:K,drawBoundary:W,setConf:U,draw:function(t,e,n,a){q=(0,i.c)().c4;const o=(0,i.c)().securityLevel;let s;"sandbox"===o&&(s=(0,r.Ys)("#i"+e));const c="sandbox"===o?(0,r.Ys)(s.nodes()[0].contentDocument.body):(0,r.Ys)("body");let u=a.db;a.db.setWrap(q.wrap),$=u.getC4ShapeInRow(),z=u.getC4BoundaryInRow(),i.l.debug(`C:${JSON.stringify(q,null,2)}`);const l="sandbox"===o?c.select(`[id="${e}"]`):(0,r.Ys)(`[id="${e}"]`);B(l),P(l),F(l);let h=new H(a);h.setData(q.diagramMarginX,q.diagramMarginX,q.diagramMarginY,q.diagramMarginY),h.data.widthLimit=screen.availWidth,R=q.diagramMarginX,j=q.diagramMarginY;const f=a.db.getTitle();J(l,"",h,a.db.getBoundarys(""),a),D(l),O(l),N(l),L(l),function(t,e,n,r){let a=0;for(let t of e){a+=1;let e=t.wrap&&q.wrap,s={fontFamily:(o=q).messageFontFamily,fontSize:o.messageFontSize,fontWeight:o.messageFontWeight};"C4Dynamic"===r.db.getC4Type()&&(t.label.text=a+": "+t.label.text);let c=(0,i.h)(t.label.text,s);Z("label",t,e,s,c),t.techn&&""!==t.techn.text&&(c=(0,i.h)(t.techn.text,s),Z("techn",t,e,s,c)),t.descr&&""!==t.descr.text&&(c=(0,i.h)(t.descr.text,s),Z("descr",t,e,s,c));let u=n(t.from),l=n(t.to),h=Q(u,l);t.startPoint=h.startPoint,t.endPoint=h.endPoint}var o;M(t,e,q)}(l,a.db.getRels(),a.db.getC4Shape,a),h.data.stopx=R,h.data.stopy=j;const d=h.data;let g=d.stopy-d.starty+2*q.diagramMarginY;const p=d.stopx-d.startx+2*q.diagramMarginX;f&&l.append("text").text(f).attr("x",(d.stopx-d.startx)/2-4*q.diagramMarginX).attr("y",d.starty+q.diagramMarginY),(0,i.i)(l,g,p,q.useMaxWidth);const b=f?60:0;l.attr("viewBox",d.startx-q.diagramMarginX+" -"+(q.diagramMarginY+b)+" "+p+" "+(g+b)),i.l.debug("models:",d)}},et={parser:u,db:_,renderer:tt,styles:t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,init:t=>{tt.setConf(t.c4)}}},6956:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return f}});var i=n(5349),r=n(1504),a=n(1768),o=n(8066),s=n(8540),c=n(3148);n(7530),n(2510),n(6951);let u={};const l=function(t){const e=Object.entries(u).find((e=>e[1].label===t));if(e)return e[0]},h={draw:function(t,e,n,i){const h=(0,s.c)().class;u={},s.l.info("Rendering diagram "+t);const f=(0,s.c)().securityLevel;let d;"sandbox"===f&&(d=(0,r.Ys)("#i"+e));const g="sandbox"===f?(0,r.Ys)(d.nodes()[0].contentDocument.body):(0,r.Ys)("body"),p=g.select(`[id='${e}']`);var b;(b=p).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"),b.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"),b.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"),b.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"),b.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"),b.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"),b.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"),b.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");const w=new o.k({multigraph:!0});w.setGraph({isMultiGraph:!0}),w.setDefaultEdgeLabel((function(){return{}}));const m=i.db.getClasses(),y=Object.keys(m);for(const t of y){const e=m[t],n=c.s.drawClass(p,e,h,i);u[n.id]=n,w.setNode(n.id,n),s.l.info("Org height: "+n.height)}i.db.getRelations().forEach((function(t){s.l.info("tjoho"+l(t.id1)+l(t.id2)+JSON.stringify(t)),w.setEdge(l(t.id1),l(t.id2),{relation:t},t.title||"DEFAULT")}));i.db.getNotes().forEach((function(t){s.l.debug(`Adding note: ${JSON.stringify(t)}`);const e=c.s.drawNote(p,t,h,i);u[e.id]=e,w.setNode(e.id,e),t.class&&t.class in m&&w.setEdge(t.id,l(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),(0,a.bK)(w),w.nodes().forEach((function(t){void 0!==t&&void 0!==w.node(t)&&(s.l.debug("Node "+t+": "+JSON.stringify(w.node(t))),g.select("#"+(i.db.lookUpDomId(t)||t)).attr("transform","translate("+(w.node(t).x-w.node(t).width/2)+","+(w.node(t).y-w.node(t).height/2)+" )"))})),w.edges().forEach((function(t){void 0!==t&&void 0!==w.edge(t)&&(s.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(w.edge(t))),c.s.drawEdge(p,w.edge(t),w.edge(t).relation,h,i))}));const v=p.node().getBBox(),x=v.width+40,k=v.height+40;(0,s.i)(p,k,x,h.useMaxWidth);const _=`${v.x-20} ${v.y-20} ${x} ${k}`;s.l.debug(`viewBox ${_}`),p.attr("viewBox",_)}},f={parser:i.p,db:i.d,renderer:h,styles:i.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}},9582:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return d}});var i=n(5349),r=n(1504),a=n(8066),o=n(8540),s=n(113);n(7530),n(2510),n(6951),n(1768),n(835);const c=t=>o.e.sanitizeText(t,(0,o.c)());let u={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const l=function(t,e,n,i,r){const a=Object.keys(t);o.l.info("keys:",a),o.l.info(t),a.forEach((function(n){var a,s;const u=t[n];let l="";u.cssClasses.length>0&&(l=l+" "+u.cssClasses.join(" "));const h="",f="",d=u.label??u.id,g={labelStyle:h,shape:"class_box",labelText:c(d),classData:u,rx:0,ry:0,class:l,style:f,id:u.id,domId:u.domId,tooltip:i.db.getTooltip(u.id,r)||"",haveCallback:u.haveCallback,link:u.link,width:"group"===u.type?500:void 0,type:u.type,padding:(null==(a=(0,o.c)().flowchart)?void 0:a.padding)??(null==(s=(0,o.c)().class)?void 0:s.padding)};e.setNode(u.id,g),r&&e.setParent(u.id,r),o.l.info("setNode",g)}))};function h(t){let e;switch(t){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;case 4:e="lollipop";break;default:e="none"}return e}const f={setConf:function(t){u={...u,...t}},draw:async function(t,e,n,i){o.l.info("Drawing class - ",e);const f=(0,o.c)().flowchart??(0,o.c)().class,d=(0,o.c)().securityLevel;o.l.info("config:",f);const g=(null==f?void 0:f.nodeSpacing)??50,p=(null==f?void 0:f.rankSpacing)??50,b=new a.k({multigraph:!0,compound:!0}).setGraph({rankdir:i.db.getDirection(),nodesep:g,ranksep:p,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),w=i.db.getNamespaces(),m=i.db.getClasses(),y=i.db.getRelations(),v=i.db.getNotes();let x;o.l.info(y),function(t,e,n,i){const r=Object.keys(t);o.l.info("keys:",r),o.l.info(t),r.forEach((function(r){var a,s;const u=t[r],h={shape:"rect",id:u.id,domId:u.domId,labelText:c(u.id),labelStyle:"",style:"fill: none; stroke: black",padding:(null==(a=(0,o.c)().flowchart)?void 0:a.padding)??(null==(s=(0,o.c)().class)?void 0:s.padding)};e.setNode(u.id,h),l(u.classes,e,n,i,u.id),o.l.info("setNode",h)}))}(w,b,e,i),l(m,b,e,i),function(t,e){const n=(0,o.c)().flowchart;let i=0;t.forEach((function(t){var a;i++;const s={classes:"relation",pattern:1==t.relation.lineType?"dashed":"solid",id:"id"+i,arrowhead:"arrow_open"===t.type?"none":"normal",startLabelRight:"none"===t.relationTitle1?"":t.relationTitle1,endLabelLeft:"none"===t.relationTitle2?"":t.relationTitle2,arrowTypeStart:h(t.relation.type1),arrowTypeEnd:h(t.relation.type2),style:"fill:none",labelStyle:"",curve:(0,o.o)(null==n?void 0:n.curve,r.c_6)};if(o.l.info(s,t),void 0!==t.style){const e=(0,o.k)(t.style);s.style=e.style,s.labelStyle=e.labelStyle}t.text=t.title,void 0===t.text?void 0!==t.style&&(s.arrowheadStyle="fill: #333"):(s.arrowheadStyle="fill: #333",s.labelpos="c",(null==(a=(0,o.c)().flowchart)?void 0:a.htmlLabels)??(0,o.c)().htmlLabels?(s.labelType="html",s.label='<span class="edgeLabel">'+t.text+"</span>"):(s.labelType="text",s.label=t.text.replace(o.e.lineBreakRegex,"\n"),void 0===t.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),e.setEdge(t.id1,t.id2,s,i)}))}(y,b),function(t,e,n,i){o.l.info(t),t.forEach((function(t,a){var s,l;const h=t,f="",d="",g=h.text,p={labelStyle:f,shape:"note",labelText:c(g),noteData:h,rx:0,ry:0,class:"",style:d,id:h.id,domId:h.id,tooltip:"",type:"note",padding:(null==(s=(0,o.c)().flowchart)?void 0:s.padding)??(null==(l=(0,o.c)().class)?void 0:l.padding)};if(e.setNode(h.id,p),o.l.info("setNode",p),!h.class||!(h.class in i))return;const b=n+a,w={id:`edgeNote${b}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,o.o)(u.curve,r.c_6)};e.setEdge(h.id,h.class,w,b)}))}(v,b,y.length+1,m),"sandbox"===d&&(x=(0,r.Ys)("#i"+e));const k="sandbox"===d?(0,r.Ys)(x.nodes()[0].contentDocument.body):(0,r.Ys)("body"),_=k.select(`[id="${e}"]`),A=k.select("#"+e+" g");if(await(0,s.r)(A,b,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",e),o.u.insertTitle(_,"classTitleText",(null==f?void 0:f.titleTopMargin)??5,i.db.getDiagramTitle()),(0,o.p)(b,_,null==f?void 0:f.diagramPadding,null==f?void 0:f.useMaxWidth),!(null==f?void 0:f.htmlLabels)){const t="sandbox"===d?x.nodes()[0].contentDocument:document,n=t.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of n){const n=e.getBBox(),i=t.createElementNS("http://www.w3.org/2000/svg","rect");i.setAttribute("rx",0),i.setAttribute("ry",0),i.setAttribute("width",n.width),i.setAttribute("height",n.height),e.insertBefore(i,e.firstChild)}}}},d={parser:i.p,db:i.d,renderer:f,styles:i.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}},1524:function(t,e,n){"use strict";n.d(e,{c:function(){return ne}});var i={};n.r(i),n.d(i,{attentionMarkers:function(){return Nt},contentInitial:function(){return St},disable:function(){return Pt},document:function(){return Ct},flow:function(){return Mt},flowInitial:function(){return It},insideSpan:function(){return Lt},string:function(){return Dt},text:function(){return Ot}});var r=n(8540);const a={};function o(t,e,n){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||n?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return s(t.children,e,n)}return Array.isArray(t)?s(t,e,n):""}function s(t,e,n){const i=[];let r=-1;for(;++r<t.length;)i[r]=o(t[r],e,n);return i.join("")}function c(t,e,n,i){const r=t.length;let a,o=0;if(e=e<0?-e>r?0:r+e:e>r?r:e,n=n>0?n:0,i.length<1e4)a=Array.from(i),a.unshift(e,n),t.splice(...a);else for(n&&t.splice(e,n);o<i.length;)a=i.slice(o,o+1e4),a.unshift(e,0),t.splice(...a),o+=1e4,e+=1e4}function u(t,e){return t.length>0?(c(t,t.length,0,e),t):e}const l={}.hasOwnProperty;function h(t,e){let n;for(n in e){const i=(l.call(t,n)?t[n]:void 0)||(t[n]={}),r=e[n];let a;if(r)for(a in r){l.call(i,a)||(i[a]=[]);const t=r[a];f(i[a],Array.isArray(t)?t:t?[t]:[])}}}function f(t,e){let n=-1;const i=[];for(;++n<e.length;)("after"===e[n].add?t:i).push(e[n]);c(t,0,0,i)}const d=E(/[A-Za-z]/),g=E(/[\dA-Za-z]/),p=E(/[#-'*+\--9=?A-Z^-~]/);function b(t){return null!==t&&(t<32||127===t)}const w=E(/\d/),m=E(/[\dA-Fa-f]/),y=E(/[!-/:-@[-`{-~]/);function v(t){return null!==t&&t<-2}function x(t){return null!==t&&(t<0||32===t)}function k(t){return-2===t||-1===t||32===t}const _=E(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),A=E(/\s/);function E(t){return function(e){return null!==e&&t.test(String.fromCharCode(e))}}function T(t,e,n,i){const r=i?i-1:Number.POSITIVE_INFINITY;let a=0;return function(i){if(k(i))return t.enter(n),o(i);return e(i)};function o(i){return k(i)&&a++<r?(t.consume(i),o):(t.exit(n),e(i))}}const C={tokenize:function(t){const e=t.attempt(this.parser.constructs.contentInitial,(function(n){if(null===n)return void t.consume(n);return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),T(t,e,"linePrefix")}),(function(e){return t.enter("paragraph"),i(e)}));let n;return e;function i(e){const i=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=i),n=i,r(e)}function r(e){return null===e?(t.exit("chunkText"),t.exit("paragraph"),void t.consume(e)):v(e)?(t.consume(e),t.exit("chunkText"),i):(t.consume(e),r)}}};const S={tokenize:function(t){const e=this,n=[];let i,r,a,o=0;return s;function s(i){if(o<n.length){const r=n[o];return e.containerState=r[1],t.attempt(r[0].continuation,u,l)(i)}return l(i)}function u(t){if(o++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&y();const n=e.events.length;let r,a=n;for(;a--;)if("exit"===e.events[a][0]&&"chunkFlow"===e.events[a][1].type){r=e.events[a][1].end;break}m(o);let s=n;for(;s<e.events.length;)e.events[s][1].end=Object.assign({},r),s++;return c(e.events,a+1,0,e.events.slice(n)),e.events.length=s,l(t)}return s(t)}function l(r){if(o===n.length){if(!i)return d(r);if(i.currentConstruct&&i.currentConstruct.concrete)return p(r);e.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(I,h,f)(r)}function h(t){return i&&y(),m(o),d(t)}function f(t){return e.parser.lazy[e.now().line]=o!==n.length,a=e.now().offset,p(t)}function d(n){return e.containerState={},t.attempt(I,g,p)(n)}function g(t){return o++,n.push([e.currentConstruct,e.containerState]),d(t)}function p(n){return null===n?(i&&y(),m(0),void t.consume(n)):(i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:r,_tokenizer:i}),b(n))}function b(n){return null===n?(w(t.exit("chunkFlow"),!0),m(0),void t.consume(n)):v(n)?(t.consume(n),w(t.exit("chunkFlow")),o=0,e.interrupt=void 0,s):(t.consume(n),b)}function w(t,n){const s=e.sliceStream(t);if(n&&s.push(null),t.previous=r,r&&(r.next=t),r=t,i.defineSkip(t.start),i.write(s),e.parser.lazy[t.start.line]){let t=i.events.length;for(;t--;)if(i.events[t][1].start.offset<a&&(!i.events[t][1].end||i.events[t][1].end.offset>a))return;const n=e.events.length;let r,s,u=n;for(;u--;)if("exit"===e.events[u][0]&&"chunkFlow"===e.events[u][1].type){if(r){s=e.events[u][1].end;break}r=!0}for(m(o),t=n;t<e.events.length;)e.events[t][1].end=Object.assign({},s),t++;c(e.events,u+1,0,e.events.slice(n)),e.events.length=t}}function m(i){let r=n.length;for(;r-- >i;){const i=n[r];e.containerState=i[1],i[0].exit.call(e,t)}n.length=i}function y(){i.write([null]),r=void 0,i=void 0,e.containerState._closeFlow=void 0}}},I={tokenize:function(t,e,n){return T(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const M={tokenize:function(t,e,n){return function(e){return k(e)?T(t,i,"linePrefix")(e):i(e)};function i(t){return null===t||v(t)?e(t):n(t)}},partial:!0};function D(t){const e={};let n,i,r,a,o,s,u,l=-1;for(;++l<t.length;){for(;l in e;)l=e[l];if(n=t[l],l&&"chunkFlow"===n[1].type&&"listItemPrefix"===t[l-1][1].type&&(s=n[1]._tokenizer.events,r=0,r<s.length&&"lineEndingBlank"===s[r][1].type&&(r+=2),r<s.length&&"content"===s[r][1].type))for(;++r<s.length&&"content"!==s[r][1].type;)"chunkText"===s[r][1].type&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===n[0])n[1].contentType&&(Object.assign(e,O(t,l)),l=e[l],u=!0);else if(n[1]._container){for(r=l,i=void 0;r--&&(a=t[r],"lineEnding"===a[1].type||"lineEndingBlank"===a[1].type);)"enter"===a[0]&&(i&&(t[i][1].type="lineEndingBlank"),a[1].type="lineEnding",i=r);i&&(n[1].end=Object.assign({},t[i][1].start),o=t.slice(i,l),o.unshift(n),c(t,i,l-i+1,o))}}return!u}function O(t,e){const n=t[e][1],i=t[e][2];let r=e-1;const a=[],o=n._tokenizer||i.parser[n.contentType](n.start),s=o.events,u=[],l={};let h,f,d=-1,g=n,p=0,b=0;const w=[b];for(;g;){for(;t[++r][1]!==g;);a.push(r),g._tokenizer||(h=i.sliceStream(g),g.next||h.push(null),f&&o.defineSkip(g.start),g._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(h),g._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=g,g=g.next}for(g=n;++d<s.length;)"exit"===s[d][0]&&"enter"===s[d-1][0]&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(b=d+1,w.push(b),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(o.events=[],g?(g._tokenizer=void 0,g.previous=void 0):w.pop(),d=w.length;d--;){const e=s.slice(w[d],w[d+1]),n=a.pop();u.unshift([n,n+e.length-1]),c(t,n,2,e)}for(d=-1;++d<u.length;)l[p+u[d][0]]=p+u[d][1],p+=u[d][1]-u[d][0]-1;return l}const L={tokenize:function(t,e){let n;return function(e){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),i(e)};function i(e){return null===e?r(e):v(e)?t.check(N,a,r)(e):(t.consume(e),i)}function r(n){return t.exit("chunkContent"),t.exit("content"),e(n)}function a(e){return t.consume(e),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}},resolve:function(t){return D(t),t}},N={tokenize:function(t,e,n){const i=this;return function(e){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),T(t,r,"linePrefix")};function r(r){if(null===r||v(r))return n(r);const a=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?e(r):t.interrupt(i.parser.constructs.flow,n,e)(r)}},partial:!0};const P={tokenize:function(t){const e=this,n=t.attempt(M,(function(i){if(null===i)return void t.consume(i);return t.enter("lineEndingBlank"),t.consume(i),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}),t.attempt(this.parser.constructs.flowInitial,i,T(t,t.attempt(this.parser.constructs.flow,i,t.attempt(L,i)),"linePrefix")));return n;function i(i){if(null!==i)return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),e.currentConstruct=void 0,n;t.consume(i)}}};const B={resolveAll:$()},F=j("string"),R=j("text");function j(t){return{tokenize:function(e){const n=this,i=this.parser.constructs[t],r=e.attempt(i,a,o);return a;function a(t){return c(t)?r(t):o(t)}function o(t){if(null!==t)return e.enter("data"),e.consume(t),s;e.consume(t)}function s(t){return c(t)?(e.exit("data"),r(t)):(e.consume(t),s)}function c(t){if(null===t)return!0;const e=i[t];let r=-1;if(e)for(;++r<e.length;){const t=e[r];if(!t.previous||t.previous.call(n,n.previous))return!0}return!1}},resolveAll:$("text"===t?z:void 0)}}function $(t){return function(e,n){let i,r=-1;for(;++r<=e.length;)void 0===i?e[r]&&"data"===e[r][1].type&&(i=r,r++):e[r]&&"data"===e[r][1].type||(r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),r=i+2),i=void 0);return t?t(e,n):e}}function z(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||"lineEnding"===t[n][1].type)&&"data"===t[n-1][1].type){const i=t[n-1][1],r=e.sliceStream(i);let a,o=r.length,s=-1,c=0;for(;o--;){const t=r[o];if("string"==typeof t){for(s=t.length;32===t.charCodeAt(s-1);)c++,s--;if(s)break;s=-1}else if(-2===t)a=!0,c++;else if(-1!==t){o++;break}}if(c){const r={type:n===t.length||a||c<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-c,offset:i.end.offset-c,_index:i.start._index+o,_bufferIndex:o?s:i.start._bufferIndex+s},end:Object.assign({},i.end)};i.end=Object.assign({},r.start),i.start.offset===i.end.offset?Object.assign(i,r):(t.splice(n,0,["enter",r,e],["exit",r,e]),n+=2)}n++}return t}function q(t,e,n){const i=[];let r=-1;for(;++r<t.length;){const a=t[r].resolveAll;a&&!i.includes(a)&&(e=a(e,n),i.push(a))}return e}function H(t,e,n){let i=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const r={},a=[];let o=[],s=[],l=!0;const h={consume:function(t){v(t)?(i.line++,i.column=1,i.offset+=-3===t?2:1,_()):-1!==t&&(i.column++,i.offset++);i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===o[i._index].length&&(i._bufferIndex=-1,i._index++));f.previous=t,l=!0},enter:function(t,e){const n=e||{};return n.type=t,n.start=b(),f.events.push(["enter",n,f]),s.push(n),n},exit:function(t){const e=s.pop();return e.end=b(),f.events.push(["exit",e,f]),e},attempt:x((function(t,e){k(t,e.from)})),check:x(y),interrupt:x(y,{interrupt:!0})},f={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:p,sliceSerialize:function(t,e){return function(t,e){let n=-1;const i=[];let r;for(;++n<t.length;){const a=t[n];let o;if("string"==typeof a)o=a;else switch(a){case-5:o="\r";break;case-4:o="\n";break;case-3:o="\r\n";break;case-2:o=e?" ":"\t";break;case-1:if(!e&&r)continue;o=" ";break;default:o=String.fromCharCode(a)}r=-2===a,i.push(o)}return i.join("")}(p(t),e)},now:b,defineSkip:function(t){r[t.line]=t.column,_()},write:function(t){if(o=u(o,t),w(),null!==o[o.length-1])return[];return k(e,0),f.events=q(a,f.events,f),f.events}};let d,g=e.tokenize.call(f,h);return e.resolveAll&&a.push(e),f;function p(t){return function(t,e){const n=e.start._index,i=e.start._bufferIndex,r=e.end._index,a=e.end._bufferIndex;let o;if(n===r)o=[t[n].slice(i,a)];else{if(o=t.slice(n,r),i>-1){const t=o[0];"string"==typeof t?o[0]=t.slice(i):o.shift()}a>0&&o.push(t[r].slice(0,a))}return o}(o,t)}function b(){const{line:t,column:e,offset:n,_index:r,_bufferIndex:a}=i;return{line:t,column:e,offset:n,_index:r,_bufferIndex:a}}function w(){let t;for(;i._index<o.length;){const e=o[i._index];if("string"==typeof e)for(t=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===t&&i._bufferIndex<e.length;)m(e.charCodeAt(i._bufferIndex));else m(e)}}function m(t){l=void 0,d=t,g=g(t)}function y(t,e){e.restore()}function x(t,e){return function(n,r,a){let o,c,u,d;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):function(t){return e;function e(e){const n=null!==e&&t[e],i=null!==e&&t.null;return g([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(i)?i:i?[i]:[]])(e)}}(n);function g(t){return o=t,c=0,0===t.length?a:p(t[c])}function p(t){return function(n){d=function(){const t=b(),e=f.previous,n=f.currentConstruct,r=f.events.length,a=Array.from(s);return{restore:o,from:r};function o(){i=t,f.previous=e,f.currentConstruct=n,f.events.length=r,s=a,_()}}(),u=t,t.partial||(f.currentConstruct=t);if(t.name&&f.parser.constructs.disable.null.includes(t.name))return m(n);return t.tokenize.call(e?Object.assign(Object.create(f),e):f,h,w,m)(n)}}function w(e){return l=!0,t(u,d),r}function m(t){return l=!0,d.restore(),++c<o.length?p(o[c]):a}}}function k(t,e){t.resolveAll&&!a.includes(t)&&a.push(t),t.resolve&&c(f.events,e,f.events.length-e,t.resolve(f.events.slice(e),f)),t.resolveTo&&(f.events=t.resolveTo(f.events,f))}function _(){i.line in r&&i.column<2&&(i.column=r[i.line],i.offset+=r[i.line]-1)}}const U={name:"thematicBreak",tokenize:function(t,e,n){let i,r=0;return function(e){return t.enter("thematicBreak"),function(t){return i=t,a(t)}(e)};function a(a){return a===i?(t.enter("thematicBreakSequence"),o(a)):r>=3&&(null===a||v(a))?(t.exit("thematicBreak"),e(a)):n(a)}function o(e){return e===i?(t.consume(e),r++,o):(t.exit("thematicBreakSequence"),k(e)?T(t,a,"whitespace")(e):a(e))}}};const G={name:"list",tokenize:function(t,e,n){const i=this,r=i.events[i.events.length-1];let a=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,o=0;return function(e){const r=i.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===r?!i.containerState.marker||e===i.containerState.marker:w(e)){if(i.containerState.type||(i.containerState.type=r,t.enter(r,{_container:!0})),"listUnordered"===r)return t.enter("listItemPrefix"),42===e||45===e?t.check(U,n,c)(e):c(e);if(!i.interrupt||49===e)return t.enter("listItemPrefix"),t.enter("listItemValue"),s(e)}return n(e)};function s(e){return w(e)&&++o<10?(t.consume(e),s):(!i.interrupt||o<2)&&(i.containerState.marker?e===i.containerState.marker:41===e||46===e)?(t.exit("listItemValue"),c(e)):n(e)}function c(e){return t.enter("listItemMarker"),t.consume(e),t.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||e,t.check(M,i.interrupt?n:u,t.attempt(Y,h,l))}function u(t){return i.containerState.initialBlankLine=!0,a++,h(t)}function l(e){return k(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),h):n(e)}function h(n){return i.containerState.size=a+i.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(n)}},continuation:{tokenize:function(t,e,n){const i=this;return i.containerState._closeFlow=void 0,t.check(M,(function(n){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,T(t,e,"listItemIndent",i.containerState.size+1)(n)}),(function(n){if(i.containerState.furtherBlankLines||!k(n))return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,r(n);return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(Z,e,r)(n)}));function r(r){return i.containerState._closeFlow=!0,i.interrupt=void 0,T(t,t.attempt(G,e,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}},exit:function(t){t.exit(this.containerState.type)}},Y={tokenize:function(t,e,n){const i=this;return T(t,(function(t){const r=i.events[i.events.length-1];return!k(t)&&r&&"listItemPrefixWhitespace"===r[1].type?e(t):n(t)}),"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Z={tokenize:function(t,e,n){const i=this;return T(t,(function(t){const r=i.events[i.events.length-1];return r&&"listItemIndent"===r[1].type&&r[2].sliceSerialize(r[1],!0).length===i.containerState.size?e(t):n(t)}),"listItemIndent",i.containerState.size+1)},partial:!0};const W={name:"blockQuote",tokenize:function(t,e,n){const i=this;return function(e){if(62===e){const n=i.containerState;return n.open||(t.enter("blockQuote",{_container:!0}),n.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(e),t.exit("blockQuoteMarker"),r}return n(e)};function r(n){return k(n)?(t.enter("blockQuotePrefixWhitespace"),t.consume(n),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(n))}},continuation:{tokenize:function(t,e,n){const i=this;return function(e){if(k(e))return T(t,r,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e);return r(e)};function r(i){return t.attempt(W,e,n)(i)}}},exit:function(t){t.exit("blockQuote")}};function K(t,e,n,i,r,a,o,s,c){const u=c||Number.POSITIVE_INFINITY;let l=0;return function(e){if(60===e)return t.enter(i),t.enter(r),t.enter(a),t.consume(e),t.exit(a),h;if(null===e||32===e||41===e||b(e))return n(e);return t.enter(i),t.enter(o),t.enter(s),t.enter("chunkString",{contentType:"string"}),g(e)};function h(n){return 62===n?(t.enter(a),t.consume(n),t.exit(a),t.exit(r),t.exit(i),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),f(n))}function f(e){return 62===e?(t.exit("chunkString"),t.exit(s),h(e)):null===e||60===e||v(e)?n(e):(t.consume(e),92===e?d:f)}function d(e){return 60===e||62===e||92===e?(t.consume(e),f):f(e)}function g(r){return l||null!==r&&41!==r&&!x(r)?l<u&&40===r?(t.consume(r),l++,g):41===r?(t.consume(r),l--,g):null===r||32===r||40===r||b(r)?n(r):(t.consume(r),92===r?p:g):(t.exit("chunkString"),t.exit(s),t.exit(o),t.exit(i),e(r))}function p(e){return 40===e||41===e||92===e?(t.consume(e),g):g(e)}}function X(t,e,n,i,r,a){const o=this;let s,c=0;return function(e){return t.enter(i),t.enter(r),t.consume(e),t.exit(r),t.enter(a),u};function u(h){return c>999||null===h||91===h||93===h&&!s||94===h&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):93===h?(t.exit(a),t.enter(r),t.consume(h),t.exit(r),t.exit(i),e):v(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),l(h))}function l(e){return null===e||91===e||93===e||v(e)||c++>999?(t.exit("chunkString"),u(e)):(t.consume(e),s||(s=!k(e)),92===e?h:l)}function h(e){return 91===e||92===e||93===e?(t.consume(e),c++,l):l(e)}}function V(t,e,n,i,r,a){let o;return function(e){if(34===e||39===e||40===e)return t.enter(i),t.enter(r),t.consume(e),t.exit(r),o=40===e?41:e,s;return n(e)};function s(n){return n===o?(t.enter(r),t.consume(n),t.exit(r),t.exit(i),e):(t.enter(a),c(n))}function c(e){return e===o?(t.exit(a),s(o)):null===e?n(e):v(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),T(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(e))}function u(e){return e===o||null===e||v(e)?(t.exit("chunkString"),c(e)):(t.consume(e),92===e?l:u)}function l(e){return e===o||92===e?(t.consume(e),u):u(e)}}function Q(t,e){let n;return function i(r){if(v(r))return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),n=!0,i;if(k(r))return T(t,i,n?"linePrefix":"lineSuffix")(r);return e(r)}}function J(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const tt={name:"definition",tokenize:function(t,e,n){const i=this;let r;return function(e){return t.enter("definition"),function(e){return X.call(i,t,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)}(e)};function a(e){return r=J(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),o):n(e)}function o(e){return x(e)?Q(t,s)(e):s(e)}function s(e){return K(t,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(e)}function c(e){return t.attempt(et,u,u)(e)}function u(e){return k(e)?T(t,l,"whitespace")(e):l(e)}function l(a){return null===a||v(a)?(t.exit("definition"),i.parser.defined.push(r),e(a)):n(a)}}},et={tokenize:function(t,e,n){return function(e){return x(e)?Q(t,i)(e):n(e)};function i(e){return V(t,r,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function r(e){return k(e)?T(t,a,"whitespace")(e):a(e)}function a(t){return null===t||v(t)?e(t):n(t)}},partial:!0};const nt={name:"codeIndented",tokenize:function(t,e,n){const i=this;return function(e){return t.enter("codeIndented"),T(t,r,"linePrefix",5)(e)};function r(t){const e=i.events[i.events.length-1];return e&&"linePrefix"===e[1].type&&e[2].sliceSerialize(e[1],!0).length>=4?a(t):n(t)}function a(e){return null===e?s(e):v(e)?t.attempt(it,a,s)(e):(t.enter("codeFlowValue"),o(e))}function o(e){return null===e||v(e)?(t.exit("codeFlowValue"),a(e)):(t.consume(e),o)}function s(n){return t.exit("codeIndented"),e(n)}}},it={tokenize:function(t,e,n){const i=this;return r;function r(e){return i.parser.lazy[i.now().line]?n(e):v(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r):T(t,a,"linePrefix",5)(e)}function a(t){const a=i.events[i.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?e(t):v(t)?r(t):n(t)}},partial:!0};const rt={name:"headingAtx",tokenize:function(t,e,n){let i=0;return function(e){return t.enter("atxHeading"),function(e){return t.enter("atxHeadingSequence"),r(e)}(e)};function r(e){return 35===e&&i++<6?(t.consume(e),r):null===e||x(e)?(t.exit("atxHeadingSequence"),a(e)):n(e)}function a(n){return 35===n?(t.enter("atxHeadingSequence"),o(n)):null===n||v(n)?(t.exit("atxHeading"),e(n)):k(n)?T(t,a,"whitespace")(n):(t.enter("atxHeadingText"),s(n))}function o(e){return 35===e?(t.consume(e),o):(t.exit("atxHeadingSequence"),a(e))}function s(e){return null===e||35===e||x(e)?(t.exit("atxHeadingText"),a(e)):(t.consume(e),s)}},resolve:function(t,e){let n,i,r=t.length-2,a=3;"whitespace"===t[a][1].type&&(a+=2);r-2>a&&"whitespace"===t[r][1].type&&(r-=2);"atxHeadingSequence"===t[r][1].type&&(a===r-1||r-4>a&&"whitespace"===t[r-2][1].type)&&(r-=a+1===r?2:4);r>a&&(n={type:"atxHeadingText",start:t[a][1].start,end:t[r][1].end},i={type:"chunkText",start:t[a][1].start,end:t[r][1].end,contentType:"text"},c(t,a,r-a+1,[["enter",n,e],["enter",i,e],["exit",i,e],["exit",n,e]]));return t}};const at={name:"setextUnderline",tokenize:function(t,e,n){const i=this;let r;return function(e){let o,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){o="paragraph"===i.events[s][1].type;break}if(!i.parser.lazy[i.now().line]&&(i.interrupt||o))return t.enter("setextHeadingLine"),r=e,function(e){return t.enter("setextHeadingLineSequence"),a(e)}(e);return n(e)};function a(e){return e===r?(t.consume(e),a):(t.exit("setextHeadingLineSequence"),k(e)?T(t,o,"lineSuffix")(e):o(e))}function o(i){return null===i||v(i)?(t.exit("setextHeadingLine"),e(i)):n(i)}},resolveTo:function(t,e){let n,i,r,a=t.length;for(;a--;)if("enter"===t[a][0]){if("content"===t[a][1].type){n=a;break}"paragraph"===t[a][1].type&&(i=a)}else"content"===t[a][1].type&&t.splice(a,1),r||"definition"!==t[a][1].type||(r=a);const o={type:"setextHeading",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)};t[i][1].type="setextHeadingText",r?(t.splice(i,0,["enter",o,e]),t.splice(r+1,0,["exit",t[n][1],e]),t[n][1].end=Object.assign({},t[r][1].end)):t[n][1]=o;return t.push(["exit",o,e]),t}};const ot=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],st=["pre","script","style","textarea"],ct={name:"htmlFlow",tokenize:function(t,e,n){const i=this;let r,a,o,s,c;return function(e){return function(e){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(e),u}(e)};function u(s){return 33===s?(t.consume(s),l):47===s?(t.consume(s),a=!0,p):63===s?(t.consume(s),r=3,i.interrupt?e:j):d(s)?(t.consume(s),o=String.fromCharCode(s),b):n(s)}function l(a){return 45===a?(t.consume(a),r=2,h):91===a?(t.consume(a),r=5,s=0,f):d(a)?(t.consume(a),r=4,i.interrupt?e:j):n(a)}function h(r){return 45===r?(t.consume(r),i.interrupt?e:j):n(r)}function f(r){const a="CDATA[";return r===a.charCodeAt(s++)?(t.consume(r),s===a.length?i.interrupt?e:D:f):n(r)}function p(e){return d(e)?(t.consume(e),o=String.fromCharCode(e),b):n(e)}function b(s){if(null===s||47===s||62===s||x(s)){const c=47===s,u=o.toLowerCase();return c||a||!st.includes(u)?ot.includes(o.toLowerCase())?(r=6,c?(t.consume(s),w):i.interrupt?e(s):D(s)):(r=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(s):a?m(s):y(s)):(r=1,i.interrupt?e(s):D(s))}return 45===s||g(s)?(t.consume(s),o+=String.fromCharCode(s),b):n(s)}function w(r){return 62===r?(t.consume(r),i.interrupt?e:D):n(r)}function m(e){return k(e)?(t.consume(e),m):I(e)}function y(e){return 47===e?(t.consume(e),I):58===e||95===e||d(e)?(t.consume(e),_):k(e)?(t.consume(e),y):I(e)}function _(e){return 45===e||46===e||58===e||95===e||g(e)?(t.consume(e),_):A(e)}function A(e){return 61===e?(t.consume(e),E):k(e)?(t.consume(e),A):y(e)}function E(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),c=e,T):k(e)?(t.consume(e),E):C(e)}function T(e){return e===c?(t.consume(e),c=null,S):null===e||v(e)?n(e):(t.consume(e),T)}function C(e){return null===e||34===e||39===e||47===e||60===e||61===e||62===e||96===e||x(e)?A(e):(t.consume(e),C)}function S(t){return 47===t||62===t||k(t)?y(t):n(t)}function I(e){return 62===e?(t.consume(e),M):n(e)}function M(e){return null===e||v(e)?D(e):k(e)?(t.consume(e),M):n(e)}function D(e){return 45===e&&2===r?(t.consume(e),P):60===e&&1===r?(t.consume(e),B):62===e&&4===r?(t.consume(e),$):63===e&&3===r?(t.consume(e),j):93===e&&5===r?(t.consume(e),R):!v(e)||6!==r&&7!==r?null===e||v(e)?(t.exit("htmlFlowData"),O(e)):(t.consume(e),D):(t.exit("htmlFlowData"),t.check(ut,z,O)(e))}function O(e){return t.check(lt,L,z)(e)}function L(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),N}function N(e){return null===e||v(e)?O(e):(t.enter("htmlFlowData"),D(e))}function P(e){return 45===e?(t.consume(e),j):D(e)}function B(e){return 47===e?(t.consume(e),o="",F):D(e)}function F(e){if(62===e){const n=o.toLowerCase();return st.includes(n)?(t.consume(e),$):D(e)}return d(e)&&o.length<8?(t.consume(e),o+=String.fromCharCode(e),F):D(e)}function R(e){return 93===e?(t.consume(e),j):D(e)}function j(e){return 62===e?(t.consume(e),$):45===e&&2===r?(t.consume(e),j):D(e)}function $(e){return null===e||v(e)?(t.exit("htmlFlowData"),z(e)):(t.consume(e),$)}function z(n){return t.exit("htmlFlow"),e(n)}},resolveTo:function(t){let e=t.length;for(;e--&&("enter"!==t[e][0]||"htmlFlow"!==t[e][1].type););e>1&&"linePrefix"===t[e-2][1].type&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2));return t},concrete:!0},ut={tokenize:function(t,e,n){return function(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(M,e,n)}},partial:!0},lt={tokenize:function(t,e,n){const i=this;return function(e){if(v(e))return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r;return n(e)};function r(t){return i.parser.lazy[i.now().line]?n(t):e(t)}},partial:!0};const ht={tokenize:function(t,e,n){const i=this;return function(e){if(null===e)return n(e);return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r};function r(t){return i.parser.lazy[i.now().line]?n(t):e(t)}},partial:!0},ft={name:"codeFenced",tokenize:function(t,e,n){const i=this,r={tokenize:function(t,e,n){let r=0;return o;function o(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),c}function c(e){return t.enter("codeFencedFence"),k(e)?T(t,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):u(e)}function u(e){return e===a?(t.enter("codeFencedFenceSequence"),l(e)):n(e)}function l(e){return e===a?(r++,t.consume(e),l):r>=s?(t.exit("codeFencedFenceSequence"),k(e)?T(t,h,"whitespace")(e):h(e)):n(e)}function h(i){return null===i||v(i)?(t.exit("codeFencedFence"),e(i)):n(i)}},partial:!0};let a,o=0,s=0;return function(e){return function(e){const n=i.events[i.events.length-1];return o=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,a=e,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),c(e)}(e)};function c(e){return e===a?(s++,t.consume(e),c):s<3?n(e):(t.exit("codeFencedFenceSequence"),k(e)?T(t,u,"whitespace")(e):u(e))}function u(n){return null===n||v(n)?(t.exit("codeFencedFence"),i.interrupt?e(n):t.check(ht,d,m)(n)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),l(n))}function l(e){return null===e||v(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),u(e)):k(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),T(t,h,"whitespace")(e)):96===e&&e===a?n(e):(t.consume(e),l)}function h(e){return null===e||v(e)?u(e):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),f(e))}function f(e){return null===e||v(e)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),u(e)):96===e&&e===a?n(e):(t.consume(e),f)}function d(e){return t.attempt(r,m,g)(e)}function g(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),p}function p(e){return o>0&&k(e)?T(t,b,"linePrefix",o+1)(e):b(e)}function b(e){return null===e||v(e)?t.check(ht,d,m)(e):(t.enter("codeFlowValue"),w(e))}function w(e){return null===e||v(e)?(t.exit("codeFlowValue"),b(e)):(t.consume(e),w)}function m(n){return t.exit("codeFenced"),e(n)}},concrete:!0};const dt=document.createElement("i");function gt(t){const e="&"+t+";";dt.innerHTML=e;const n=dt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===t)&&(n!==e&&n)}const pt={name:"characterReference",tokenize:function(t,e,n){const i=this;let r,a,o=0;return function(e){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(e),t.exit("characterReferenceMarker"),s};function s(e){return 35===e?(t.enter("characterReferenceMarkerNumeric"),t.consume(e),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),r=31,a=g,u(e))}function c(e){return 88===e||120===e?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(e),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),r=6,a=m,u):(t.enter("characterReferenceValue"),r=7,a=w,u(e))}function u(s){if(59===s&&o){const r=t.exit("characterReferenceValue");return a!==g||gt(i.sliceSerialize(r))?(t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):n(s)}return a(s)&&o++<r?(t.consume(s),u):n(s)}}};const bt={name:"characterEscape",tokenize:function(t,e,n){return function(e){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(e),t.exit("escapeMarker"),i};function i(i){return y(i)?(t.enter("characterEscapeValue"),t.consume(i),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(i)}}};const wt={name:"lineEnding",tokenize:function(t,e){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),T(t,e,"linePrefix")}}};const mt={name:"labelEnd",tokenize:function(t,e,n){const i=this;let r,a,o=i.events.length;for(;o--;)if(("labelImage"===i.events[o][1].type||"labelLink"===i.events[o][1].type)&&!i.events[o][1]._balanced){r=i.events[o][1];break}return function(e){if(!r)return n(e);if(r._inactive)return l(e);return a=i.parser.defined.includes(J(i.sliceSerialize({start:r.end,end:i.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),s};function s(e){return 40===e?t.attempt(yt,u,a?u:l)(e):91===e?t.attempt(vt,u,a?c:l)(e):a?u(e):l(e)}function c(e){return t.attempt(xt,u,l)(e)}function u(t){return e(t)}function l(t){return r._balanced=!0,n(t)}},resolveTo:function(t,e){let n,i,r,a,o=t.length,s=0;for(;o--;)if(n=t[o][1],i){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===t[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(r){if("enter"===t[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(i=o,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(r=o);const l={type:"labelLink"===t[i][1].type?"link":"image",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)},h={type:"label",start:Object.assign({},t[i][1].start),end:Object.assign({},t[r][1].end)},f={type:"labelText",start:Object.assign({},t[i+s+2][1].end),end:Object.assign({},t[r-2][1].start)};return a=[["enter",l,e],["enter",h,e]],a=u(a,t.slice(i+1,i+s+3)),a=u(a,[["enter",f,e]]),a=u(a,q(e.parser.constructs.insideSpan.null,t.slice(i+s+4,r-3),e)),a=u(a,[["exit",f,e],t[r-2],t[r-1],["exit",h,e]]),a=u(a,t.slice(r+1)),a=u(a,[["exit",l,e]]),c(t,i,t.length,a),t},resolveAll:function(t){let e=-1;for(;++e<t.length;){const n=t[e][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(t.splice(e+1,"labelImage"===n.type?4:2),n.type="data",e++)}return t}},yt={tokenize:function(t,e,n){return function(e){return t.enter("resource"),t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),i};function i(e){return x(e)?Q(t,r)(e):r(e)}function r(e){return 41===e?u(e):K(t,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(e)}function a(e){return x(e)?Q(t,s)(e):u(e)}function o(t){return n(t)}function s(e){return 34===e||39===e||40===e?V(t,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(e):u(e)}function c(e){return x(e)?Q(t,u)(e):u(e)}function u(i){return 41===i?(t.enter("resourceMarker"),t.consume(i),t.exit("resourceMarker"),t.exit("resource"),e):n(i)}}},vt={tokenize:function(t,e,n){const i=this;return function(e){return X.call(i,t,r,a,"reference","referenceMarker","referenceString")(e)};function r(t){return i.parser.defined.includes(J(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?e(t):n(t)}function a(t){return n(t)}}},xt={tokenize:function(t,e,n){return function(e){return t.enter("reference"),t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),i};function i(i){return 93===i?(t.enter("referenceMarker"),t.consume(i),t.exit("referenceMarker"),t.exit("reference"),e):n(i)}}};function kt(t){return null===t||x(t)||A(t)?1:_(t)?2:void 0}const _t={name:"attention",tokenize:function(t,e){const n=this.parser.constructs.attentionMarkers.null,i=this.previous,r=kt(i);let a;return function(e){return a=e,t.enter("attentionSequence"),o(e)};function o(s){if(s===a)return t.consume(s),o;const c=t.exit("attentionSequence"),u=kt(s),l=!u||2===u&&r||n.includes(s),h=!r||2===r&&u||n.includes(i);return c._open=Boolean(42===a?l:l&&(r||!h)),c._close=Boolean(42===a?h:h&&(u||!l)),e(s)}},resolveAll:function(t,e){let n,i,r,a,o,s,l,h,f=-1;for(;++f<t.length;)if("enter"===t[f][0]&&"attentionSequence"===t[f][1].type&&t[f][1]._close)for(n=f;n--;)if("exit"===t[n][0]&&"attentionSequence"===t[n][1].type&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[f][1]).charCodeAt(0)){if((t[n][1]._close||t[f][1]._open)&&(t[f][1].end.offset-t[f][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[f][1].end.offset-t[f][1].start.offset)%3))continue;s=t[n][1].end.offset-t[n][1].start.offset>1&&t[f][1].end.offset-t[f][1].start.offset>1?2:1;const d=Object.assign({},t[n][1].end),g=Object.assign({},t[f][1].start);At(d,-s),At(g,s),a={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},t[n][1].end)},o={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[f][1].start),end:g},r={type:s>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[f][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)},t[n][1].end=Object.assign({},a.start),t[f][1].start=Object.assign({},o.end),l=[],t[n][1].end.offset-t[n][1].start.offset&&(l=u(l,[["enter",t[n][1],e],["exit",t[n][1],e]])),l=u(l,[["enter",i,e],["enter",a,e],["exit",a,e],["enter",r,e]]),l=u(l,q(e.parser.constructs.insideSpan.null,t.slice(n+1,f),e)),l=u(l,[["exit",r,e],["enter",o,e],["exit",o,e],["exit",i,e]]),t[f][1].end.offset-t[f][1].start.offset?(h=2,l=u(l,[["enter",t[f][1],e],["exit",t[f][1],e]])):h=0,c(t,n-1,f-n+3,l),f=n+l.length-h-2;break}f=-1;for(;++f<t.length;)"attentionSequence"===t[f][1].type&&(t[f][1].type="data");return t}};function At(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const Et={name:"htmlText",tokenize:function(t,e,n){const i=this;let r,a,o;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),s};function s(e){return 33===e?(t.consume(e),c):47===e?(t.consume(e),E):63===e?(t.consume(e),_):d(e)?(t.consume(e),I):n(e)}function c(e){return 45===e?(t.consume(e),u):91===e?(t.consume(e),a=0,p):d(e)?(t.consume(e),y):n(e)}function u(e){return 45===e?(t.consume(e),f):n(e)}function l(e){return null===e?n(e):45===e?(t.consume(e),h):v(e)?(o=l,R(e)):(t.consume(e),l)}function h(e){return 45===e?(t.consume(e),f):l(e)}function f(t){return 62===t?F(t):45===t?h(t):l(t)}function p(e){const i="CDATA[";return e===i.charCodeAt(a++)?(t.consume(e),a===i.length?b:p):n(e)}function b(e){return null===e?n(e):93===e?(t.consume(e),w):v(e)?(o=b,R(e)):(t.consume(e),b)}function w(e){return 93===e?(t.consume(e),m):b(e)}function m(e){return 62===e?F(e):93===e?(t.consume(e),m):b(e)}function y(e){return null===e||62===e?F(e):v(e)?(o=y,R(e)):(t.consume(e),y)}function _(e){return null===e?n(e):63===e?(t.consume(e),A):v(e)?(o=_,R(e)):(t.consume(e),_)}function A(t){return 62===t?F(t):_(t)}function E(e){return d(e)?(t.consume(e),C):n(e)}function C(e){return 45===e||g(e)?(t.consume(e),C):S(e)}function S(e){return v(e)?(o=S,R(e)):k(e)?(t.consume(e),S):F(e)}function I(e){return 45===e||g(e)?(t.consume(e),I):47===e||62===e||x(e)?M(e):n(e)}function M(e){return 47===e?(t.consume(e),F):58===e||95===e||d(e)?(t.consume(e),D):v(e)?(o=M,R(e)):k(e)?(t.consume(e),M):F(e)}function D(e){return 45===e||46===e||58===e||95===e||g(e)?(t.consume(e),D):O(e)}function O(e){return 61===e?(t.consume(e),L):v(e)?(o=O,R(e)):k(e)?(t.consume(e),O):M(e)}function L(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),r=e,N):v(e)?(o=L,R(e)):k(e)?(t.consume(e),L):(t.consume(e),P)}function N(e){return e===r?(t.consume(e),r=void 0,B):null===e?n(e):v(e)?(o=N,R(e)):(t.consume(e),N)}function P(e){return null===e||34===e||39===e||60===e||61===e||96===e?n(e):47===e||62===e||x(e)?M(e):(t.consume(e),P)}function B(t){return 47===t||62===t||x(t)?M(t):n(t)}function F(i){return 62===i?(t.consume(i),t.exit("htmlTextData"),t.exit("htmlText"),e):n(i)}function R(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),j}function j(e){return k(e)?T(t,$,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):$(e)}function $(e){return t.enter("htmlTextData"),o(e)}}};const Tt={name:"codeText",tokenize:function(t,e,n){let i,r,a=0;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),o(e)};function o(e){return 96===e?(t.consume(e),a++,o):(t.exit("codeTextSequence"),s(e))}function s(e){return null===e?n(e):32===e?(t.enter("space"),t.consume(e),t.exit("space"),s):96===e?(r=t.enter("codeTextSequence"),i=0,u(e)):v(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),s):(t.enter("codeTextData"),c(e))}function c(e){return null===e||32===e||96===e||v(e)?(t.exit("codeTextData"),s(e)):(t.consume(e),c)}function u(n){return 96===n?(t.consume(n),i++,u):i===a?(t.exit("codeTextSequence"),t.exit("codeText"),e(n)):(r.type="codeTextData",c(n))}},resolve:function(t){let e,n,i=t.length-4,r=3;if(!("lineEnding"!==t[r][1].type&&"space"!==t[r][1].type||"lineEnding"!==t[i][1].type&&"space"!==t[i][1].type))for(e=r;++e<i;)if("codeTextData"===t[e][1].type){t[r][1].type="codeTextPadding",t[i][1].type="codeTextPadding",r+=2,i-=2;break}e=r-1,i++;for(;++e<=i;)void 0===n?e!==i&&"lineEnding"!==t[e][1].type&&(n=e):e!==i&&"lineEnding"!==t[e][1].type||(t[n][1].type="codeTextData",e!==n+2&&(t[n][1].end=t[e-1][1].end,t.splice(n+2,e-n-2),i-=e-n-2,e=n+2),n=void 0);return t},previous:function(t){return 96!==t||"characterEscape"===this.events[this.events.length-1][1].type}};const Ct={42:G,43:G,45:G,48:G,49:G,50:G,51:G,52:G,53:G,54:G,55:G,56:G,57:G,62:W},St={91:tt},It={[-2]:nt,[-1]:nt,32:nt},Mt={35:rt,42:U,45:[at,U],60:ct,61:at,95:U,96:ft,126:ft},Dt={38:pt,92:bt},Ot={[-5]:wt,[-4]:wt,[-3]:wt,33:{name:"labelStartImage",tokenize:function(t,e,n){const i=this;return function(e){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(e),t.exit("labelImageMarker"),r};function r(e){return 91===e?(t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelImage"),a):n(e)}function a(t){return 94===t&&"_hiddenFootnoteSupport"in i.parser.constructs?n(t):e(t)}},resolveAll:mt.resolveAll},38:pt,42:_t,60:[{name:"autolink",tokenize:function(t,e,n){let i=0;return function(e){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),r};function r(e){return d(e)?(t.consume(e),a):c(e)}function a(t){return 43===t||45===t||46===t||g(t)?(i=1,o(t)):c(t)}function o(e){return 58===e?(t.consume(e),i=0,s):(43===e||45===e||46===e||g(e))&&i++<32?(t.consume(e),o):(i=0,c(e))}function s(i){return 62===i?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(i),t.exit("autolinkMarker"),t.exit("autolink"),e):null===i||32===i||60===i||b(i)?n(i):(t.consume(i),s)}function c(e){return 64===e?(t.consume(e),u):p(e)?(t.consume(e),c):n(e)}function u(t){return g(t)?l(t):n(t)}function l(n){return 46===n?(t.consume(n),i=0,u):62===n?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(n),t.exit("autolinkMarker"),t.exit("autolink"),e):h(n)}function h(e){if((45===e||g(e))&&i++<63){const n=45===e?h:l;return t.consume(e),n}return n(e)}}},Et],91:{name:"labelStartLink",tokenize:function(t,e,n){const i=this;return function(e){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelLink"),r};function r(t){return 94===t&&"_hiddenFootnoteSupport"in i.parser.constructs?n(t):e(t)}},resolveAll:mt.resolveAll},92:[{name:"hardBreakEscape",tokenize:function(t,e,n){return function(e){return t.enter("hardBreakEscape"),t.consume(e),i};function i(i){return v(i)?(t.exit("hardBreakEscape"),e(i)):n(i)}}},bt],93:mt,95:_t,96:Tt},Lt={null:[_t,B]},Nt={null:[42,95]},Pt={null:[]};function Bt(t){const e=function(t){const e={};let n=-1;for(;++n<t.length;)h(e,t[n]);return e}([i,...(t||{}).extensions||[]]),n={defined:[],lazy:{},constructs:e,content:r(C),document:r(S),flow:r(P),string:r(F),text:r(R)};return n;function r(t){return function(e){return H(n,t,e)}}}const Ft=/[\0\t\n\r]/g;function Rt(t,e){const n=Number.parseInt(t,e);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"<22>":String.fromCharCode(n)}const jt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function $t(t,e,n){if(e)return e;if(35===n.charCodeAt(0)){const t=n.charCodeAt(1),e=120===t||88===t;return Rt(n.slice(e?2:1),e?16:10)}return gt(n)||t}function zt(t){return t&&"object"==typeof t?"position"in t||"type"in t?Ht(t.position):"start"in t||"end"in t?Ht(t):"line"in t||"column"in t?qt(t):"":""}function qt(t){return Ut(t&&t.line)+":"+Ut(t&&t.column)}function Ht(t){return qt(t&&t.start)+"-"+qt(t&&t.end)}function Ut(t){return t&&"number"==typeof t?t:1}const Gt={}.hasOwnProperty,Yt=function(t,e,n){return"string"!=typeof e&&(n=e,e=void 0),function(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(at),autolinkProtocol:I,autolinkEmail:I,atxHeading:u(et),blockQuote:u(K),characterEscape:I,characterReference:I,codeFenced:u(X),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(X,l),codeText:u(V,l),codeTextData:I,data:I,codeFlowValue:I,definition:u(Q),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(tt),hardBreakEscape:u(nt),hardBreakTrailing:u(nt),htmlFlow:u(it,l),htmlFlowData:I,htmlText:u(it,l),htmlTextData:I,image:u(rt),label:l,link:u(at),listItem:u(st),listItemValue:b,listOrdered:u(ot,p),listUnordered:u(ot),paragraph:u(ct),reference:H,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(et),strong:u(ut),thematicBreak:u(ht)},exit:{atxHeading:f(),atxHeadingSequence:E,autolink:f(),autolinkEmail:W,autolinkProtocol:Z,blockQuote:f(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:G,characterReferenceMarkerNumeric:G,characterReferenceValue:Y,codeFenced:f(v),codeFencedFence:y,codeFencedFenceInfo:w,codeFencedFenceMeta:m,codeFlowValue:M,codeIndented:f(x),codeText:f(P),codeTextData:M,data:M,definition:f(),definitionDestinationString:A,definitionLabelString:k,definitionTitleString:_,emphasis:f(),hardBreakEscape:f(O),hardBreakTrailing:f(O),htmlFlow:f(L),htmlFlowData:M,htmlText:f(N),htmlTextData:M,image:f(F),label:j,labelText:R,lineEnding:D,link:f(B),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:U,resourceDestinationString:$,resourceTitleString:z,resource:q,setextHeading:f(S),setextHeadingLineSequence:C,setextHeadingText:T,strong:f(),thematicBreak:f()}};Wt(e,(t||{}).mdastExtensions||[]);const n={};return i;function i(t){let n={type:"root",children:[]};const i={stack:[n],tokenStack:[],config:e,enter:h,exit:d,buffer:l,resume:g,setData:s,getData:c},a=[];let o=-1;for(;++o<t.length;)if("listOrdered"===t[o][1].type||"listUnordered"===t[o][1].type)if("enter"===t[o][0])a.push(o);else{o=r(t,a.pop(),o)}for(o=-1;++o<t.length;){const n=e[t[o][0]];Gt.call(n,t[o][1].type)&&n[t[o][1].type].call(Object.assign({sliceSerialize:t[o][2].sliceSerialize},i),t[o][1])}if(i.tokenStack.length>0){const t=i.tokenStack[i.tokenStack.length-1];(t[1]||Xt).call(i,void 0,t[0])}for(n.position={start:Zt(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:Zt(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},o=-1;++o<e.transforms.length;)n=e.transforms[o](n)||n;return n}function r(t,e,n){let i,r,a,o,s=e-1,c=-1,u=!1;for(;++s<=n;){const e=t[s];if("listUnordered"===e[1].type||"listOrdered"===e[1].type||"blockQuote"===e[1].type?("enter"===e[0]?c++:c--,o=void 0):"lineEndingBlank"===e[1].type?"enter"===e[0]&&(!i||o||c||a||(a=s),o=void 0):"linePrefix"===e[1].type||"listItemValue"===e[1].type||"listItemMarker"===e[1].type||"listItemPrefix"===e[1].type||"listItemPrefixWhitespace"===e[1].type||(o=void 0),!c&&"enter"===e[0]&&"listItemPrefix"===e[1].type||-1===c&&"exit"===e[0]&&("listUnordered"===e[1].type||"listOrdered"===e[1].type)){if(i){let o=s;for(r=void 0;o--;){const e=t[o];if("lineEnding"===e[1].type||"lineEndingBlank"===e[1].type){if("exit"===e[0])continue;r&&(t[r][1].type="lineEndingBlank",u=!0),e[1].type="lineEnding",r=o}else if("linePrefix"!==e[1].type&&"blockQuotePrefix"!==e[1].type&&"blockQuotePrefixWhitespace"!==e[1].type&&"blockQuoteMarker"!==e[1].type&&"listItemIndent"!==e[1].type)break}a&&(!r||a<r)&&(i._spread=!0),i.end=Object.assign({},r?t[r][1].start:e[1].end),t.splice(r||s,0,["exit",i,e[2]]),s++,n++}"listItemPrefix"===e[1].type&&(i={type:"listItem",_spread:!1,start:Object.assign({},e[1].start),end:void 0},t.splice(s,0,["enter",i,e[2]]),s++,n++,a=void 0,o=!0)}}return t[e][1]._spread=u,n}function s(t,e){n[t]=e}function c(t){return n[t]}function u(t,e){return n;function n(n){h.call(this,t(n),n),e&&e.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function h(t,e,n){return this.stack[this.stack.length-1].children.push(t),this.stack.push(t),this.tokenStack.push([e,n]),t.position={start:Zt(e.start)},t}function f(t){return e;function e(e){t&&t.call(this,e),d.call(this,e)}}function d(t,e){const n=this.stack.pop(),i=this.tokenStack.pop();if(!i)throw new Error("Cannot close `"+t.type+"` ("+zt({start:t.start,end:t.end})+"): it’s not open");if(i[0].type!==t.type)if(e)e.call(this,t,i[0]);else{(i[1]||Xt).call(this,t,i[0])}return n.position.end=Zt(t.end),n}function g(){return function(t,e){const n=e||a;return o(t,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}(this.stack.pop())}function p(){s("expectingFirstListItemValue",!0)}function b(t){if(c("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(t),10),s("expectingFirstListItemValue")}}function w(){const t=this.resume();this.stack[this.stack.length-1].lang=t}function m(){const t=this.resume();this.stack[this.stack.length-1].meta=t}function y(){c("flowCodeInside")||(this.buffer(),s("flowCodeInside",!0))}function v(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s("flowCodeInside")}function x(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/(\r?\n|\r)$/g,"")}function k(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=J(this.sliceSerialize(t)).toLowerCase()}function _(){const t=this.resume();this.stack[this.stack.length-1].title=t}function A(){const t=this.resume();this.stack[this.stack.length-1].url=t}function E(t){const e=this.stack[this.stack.length-1];if(!e.depth){const n=this.sliceSerialize(t).length;e.depth=n}}function T(){s("setextHeadingSlurpLineEnding",!0)}function C(t){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(t).charCodeAt(0)?1:2}function S(){s("setextHeadingSlurpLineEnding")}function I(t){const e=this.stack[this.stack.length-1];let n=e.children[e.children.length-1];n&&"text"===n.type||(n=lt(),n.position={start:Zt(t.start)},e.children.push(n)),this.stack.push(n)}function M(t){const e=this.stack.pop();e.value+=this.sliceSerialize(t),e.position.end=Zt(t.end)}function D(t){const n=this.stack[this.stack.length-1];if(c("atHardBreak")){return n.children[n.children.length-1].position.end=Zt(t.end),void s("atHardBreak")}!c("setextHeadingSlurpLineEnding")&&e.canContainEols.includes(n.type)&&(I.call(this,t),M.call(this,t))}function O(){s("atHardBreak",!0)}function L(){const t=this.resume();this.stack[this.stack.length-1].value=t}function N(){const t=this.resume();this.stack[this.stack.length-1].value=t}function P(){const t=this.resume();this.stack[this.stack.length-1].value=t}function B(){const t=this.stack[this.stack.length-1];if(c("inReference")){const e=c("referenceType")||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;s("referenceType")}function F(){const t=this.stack[this.stack.length-1];if(c("inReference")){const e=c("referenceType")||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;s("referenceType")}function R(t){const e=this.sliceSerialize(t),n=this.stack[this.stack.length-2];n.label=function(t){return t.replace(jt,$t)}(e),n.identifier=J(e).toLowerCase()}function j(){const t=this.stack[this.stack.length-1],e=this.resume(),n=this.stack[this.stack.length-1];if(s("inReference",!0),"link"===n.type){const e=t.children;n.children=e}else n.alt=e}function $(){const t=this.resume();this.stack[this.stack.length-1].url=t}function z(){const t=this.resume();this.stack[this.stack.length-1].title=t}function q(){s("inReference")}function H(){s("referenceType","collapsed")}function U(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=J(this.sliceSerialize(t)).toLowerCase(),s("referenceType","full")}function G(t){s("characterReferenceType",t.type)}function Y(t){const e=this.sliceSerialize(t),n=c("characterReferenceType");let i;if(n)i=Rt(e,"characterReferenceMarkerNumeric"===n?10:16),s("characterReferenceType");else{i=gt(e)}const r=this.stack.pop();r.value+=i,r.position.end=Zt(t.end)}function Z(t){M.call(this,t);this.stack[this.stack.length-1].url=this.sliceSerialize(t)}function W(t){M.call(this,t);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(t)}function K(){return{type:"blockquote",children:[]}}function X(){return{type:"code",lang:null,meta:null,value:""}}function V(){return{type:"inlineCode",value:""}}function Q(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function tt(){return{type:"emphasis",children:[]}}function et(){return{type:"heading",depth:void 0,children:[]}}function nt(){return{type:"break"}}function it(){return{type:"html",value:""}}function rt(){return{type:"image",title:null,url:"",alt:null}}function at(){return{type:"link",title:null,url:"",children:[]}}function ot(t){return{type:"list",ordered:"listOrdered"===t.type,start:null,spread:t._spread,children:[]}}function st(t){return{type:"listItem",spread:t._spread,checked:null,children:[]}}function ct(){return{type:"paragraph",children:[]}}function ut(){return{type:"strong",children:[]}}function lt(){return{type:"text",value:""}}function ht(){return{type:"thematicBreak"}}}(n)(function(t){for(;!D(t););return t}(Bt(n).document().write(function(){let t,e=1,n="",i=!0;return function(r,a,o){const s=[];let c,u,l,h,f;for(r=n+r.toString(a),l=0,n="",i&&(65279===r.charCodeAt(0)&&l++,i=void 0);l<r.length;){if(Ft.lastIndex=l,c=Ft.exec(r),h=c&&void 0!==c.index?c.index:r.length,f=r.charCodeAt(h),!c){n=r.slice(l);break}if(10===f&&l===h&&t)s.push(-3),t=void 0;else switch(t&&(s.push(-5),t=void 0),l<h&&(s.push(r.slice(l,h)),e+=h-l),f){case 0:s.push(65533),e++;break;case 9:for(u=4*Math.ceil(e/4),s.push(-2);e++<u;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:t=!0,e=1}l=h+1}return o&&(t&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(t,e,!0))))};function Zt(t){return{line:t.line,column:t.column,offset:t.offset}}function Wt(t,e){let n=-1;for(;++n<e.length;){const i=e[n];Array.isArray(i)?Wt(t,i):Kt(t,i)}}function Kt(t,e){let n;for(n in e)if(Gt.call(e,n))if("canContainEols"===n){const i=e[n];i&&t[n].push(...i)}else if("transforms"===n){const i=e[n];i&&t[n].push(...i)}else if("enter"===n||"exit"===n){const i=e[n];i&&Object.assign(t[n],i)}}function Xt(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+zt({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+zt({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+zt({start:e.start,end:e.end})+") is still open")}var Vt=n(9632);function Qt(t){const e=function(t){const e=t.replace(/\n{2,}/g,"\n");return(0,Vt.Z)(e)}(t),{children:n}=Yt(e),i=[[]];let r=0;function a(t,e="normal"){if("text"===t.type){t.value.split("\n").forEach(((t,n)=>{0!==n&&(r++,i.push([])),t.split(" ").forEach((t=>{t&&i[r].push({content:t,type:e})}))}))}else"strong"!==t.type&&"emphasis"!==t.type||t.children.forEach((e=>{a(e,t.type)}))}return n.forEach((t=>{"paragraph"===t.type&&t.children.forEach((t=>{a(t)}))})),i}function Jt(t,e,n){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*n-.1+"em").attr("dy",n+"em")}function te(t,e,n){const i=t.append("text"),r=Jt(i,1,e);ee(r,[{content:n,type:"normal"}]);const a=r.node().getComputedTextLength();return i.remove(),a}function ee(t,e){t.text(""),e.forEach(((e,n)=>{const i=t.append("tspan").attr("font-style","em"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===n?i.text(e.content):i.text(" "+e.content)}))}const ne=(t,e="",{style:n="",isTitle:i=!1,classes:a="",useHtmlLabels:o=!0,isNode:s=!0,width:c,addSvgBackground:u=!1}={})=>{if(r.l.info("createText",e,n,i,a,o,s,u),o){const i=function(t){const{children:e}=Yt(t);return e.map((function t(e){return"text"===e.type?e.value.replace(/\n/g,"<br/>"):"strong"===e.type?`<strong>${e.children.map(t).join("")}</strong>`:"emphasis"===e.type?`<em>${e.children.map(t).join("")}</em>`:"paragraph"===e.type?`<p>${e.children.map(t).join("")}</p>`:`Unsupported markdown: ${e.type}`})).join("")}(e);let o=function(t,e,n,i,r=!1){const a=t.append("foreignObject"),o=a.append("xhtml:div"),s=e.label,c=e.isNode?"nodeLabel":"edgeLabel";var u,l;o.html(`\n <span class="${c} ${i}" `+(e.labelStyle?'style="'+e.labelStyle+'"':"")+">"+s+"</span>"),u=o,(l=e.labelStyle)&&u.attr("style",l),o.style("display","table-cell"),o.style("white-space","nowrap"),o.style("max-width",n+"px"),o.attr("xmlns","http://www.w3.org/1999/xhtml"),r&&o.attr("class","labelBkg");let h=o.node().getBoundingClientRect();return h.width===n&&(o.style("display","table"),o.style("white-space","break-spaces"),o.style("width",n+"px"),h=o.node().getBoundingClientRect()),a.style("width",h.width),a.style("height",h.height),a.node()}(t,{isNode:s,label:(0,r.H)(i).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:n.replace("fill:","color:")},c,a,u);return o}{const n=function(t,e,n,i=!1){const a=e.append("g");let o=a.insert("rect").attr("class","background");const s=a.append("text").attr("y","-10.1");let c=0;if(n.forEach((e=>{let n=e.map((t=>t.content)).join(" "),i="",o=[],u=0;if(te(a,1.1,n)<=t)o.push(n);else{for(let e=0;e<=n.length;e++)if(i=n.slice(u,e),r.l.info(i,u,e),te(a,1.1,i)>t){const t=n.slice(u,e).lastIndexOf(" ");t>-1&&(e=u+t+1),o.push(n.slice(u,e).trim()),u=e,i=null}null!=i&&o.push(i)}const l=o.map((t=>({content:t,type:e.type})));for(const t of l)ee(Jt(s,c,1.1),[t]),c++})),i){const t=s.node().getBBox(),e=2;return o.attr("x",-e).attr("y",-e).attr("width",t.width+2*e).attr("height",t.height+2*e),a.node()}return s.node()}(c,t,Qt(e),u);return n}}},3430:function(t,e,n){"use strict";n.d(e,{a:function(){return c},b:function(){return E},c:function(){return u},d:function(){return I},e:function(){return _},f:function(){return M},g:function(){return N},h:function(){return O},i:function(){return b},l:function(){return l},p:function(){return T},s:function(){return A},u:function(){return h}});var i=n(8540),r=n(1504),a=n(1524),o=n(3148);const s={extension:(t,e,n)=>{i.l.trace("Making markers for ",n),t.append("defs").append("marker").attr("id",e+"-extensionStart").attr("class","marker extension "+e).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",e+"-extensionEnd").attr("class","marker extension "+e).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")},composition:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-compositionStart").attr("class","marker composition "+e).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+"-compositionEnd").attr("class","marker composition "+e).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")},aggregation:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-aggregationStart").attr("class","marker aggregation "+e).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+"-aggregationEnd").attr("class","marker aggregation "+e).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")},dependency:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-dependencyStart").attr("class","marker dependency "+e).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",e+"-dependencyEnd").attr("class","marker dependency "+e).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")},lollipop:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(t,e)=>{t.append("marker").attr("id",e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",10).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",e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",0).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)=>{t.append("marker").attr("id",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",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)=>{t.append("marker").attr("id",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",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)=>{t.append("defs").append("marker").attr("id",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")}},c=(t,e,n,i)=>{e.forEach((e=>{s[e](t,n,i)}))};const u=(t,e,n,a)=>{let o=t||"";if("object"==typeof o&&(o=o[0]),(0,i.n)((0,i.c)().flowchart.htmlLabels)){o=o.replace(/\\n|\n/g,"<br />"),i.l.info("vertexText"+o);let t=function(t){const e=(0,r.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),n=e.append("xhtml:div"),i=t.label,a=t.isNode?"nodeLabel":"edgeLabel";var o,s;return n.html('<span class="'+a+'" '+(t.labelStyle?'style="'+t.labelStyle+'"':"")+">"+i+"</span>"),o=n,(s=t.labelStyle)&&o.attr("style",s),n.style("display","inline-block"),n.style("white-space","nowrap"),n.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}({isNode:a,label:(0,i.H)(o).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:e.replace("fill:","color:")});return t}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let i=[];i="string"==typeof o?o.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(o)?o:[];for(const e of i){const i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),n?i.setAttribute("class","title-row"):i.setAttribute("class","row"),i.textContent=e.trim(),t.appendChild(i)}return t}},l=async(t,e,n,o)=>{let s;const c=e.useHtmlLabels||(0,i.n)((0,i.c)().flowchart.htmlLabels);s=n||"node default";const l=t.insert("g").attr("class",s).attr("id",e.domId||e.id),h=l.insert("g").attr("class","label").attr("style",e.labelStyle);let f;f=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const d=h.node();let g;g="markdown"===e.labelType?(0,a.c)(h,(0,i.d)((0,i.H)(f),(0,i.c)()),{useHtmlLabels:c,width:e.width||(0,i.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):d.appendChild(u((0,i.d)((0,i.H)(f),(0,i.c)()),e.labelStyle,!1,o));let p=g.getBBox();const b=e.padding/2;if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=g.children[0],e=(0,r.Ys)(g),n=t.getElementsByTagName("img");if(n){const t=""===f.replace(/<img[^>]*>/g,"").trim();await Promise.all([...n].map((e=>new Promise((n=>e.addEventListener("load",(function(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=(0,i.c)().fontSize?(0,i.c)().fontSize:window.getComputedStyle(document.body).fontSize,n=5;e.style.width=parseInt(t,10)*n+"px"}else e.style.width="100%";n(e)})))))))}p=t.getBoundingClientRect(),e.attr("width",p.width),e.attr("height",p.height)}return c?h.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"):h.attr("transform","translate(0, "+-p.height/2+")"),e.centerLabel&&h.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),h.insert("rect",":first-child"),{shapeSvg:l,bbox:p,halfPadding:b,label:h}},h=(t,e)=>{const n=e.node().getBBox();t.width=n.width,t.height=n.height};function f(t,e,n,i){return t.insert("polygon",":first-child").attr("points",i.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+n/2+")")}function d(t,e,n,i){var r=t.x,a=t.y,o=r-i.x,s=a-i.y,c=Math.sqrt(e*e*s*s+n*n*o*o),u=Math.abs(e*n*o/c);i.x<r&&(u=-u);var l=Math.abs(e*n*s/c);return i.y<a&&(l=-l),{x:r+u,y:a+l}}function g(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,b,w;if(r=e.y-t.y,o=t.x-e.x,c=e.x*t.y-t.x*e.y,f=r*n.x+o*n.y+c,d=r*i.x+o*i.y+c,!(0!==f&&0!==d&&p(f,d)||(a=i.y-n.y,s=n.x-i.x,u=i.x*n.y-n.x*i.y,l=a*t.x+s*t.y+u,h=a*e.x+s*e.y+u,0!==l&&0!==h&&p(l,h)||0==(g=r*s-a*o))))return b=Math.abs(g/2),{x:(w=o*u-s*c)<0?(w-b)/g:(w+b)/g,y:(w=a*c-r*u)<0?(w-b)/g:(w+b)/g}}function p(t,e){return t*e>0}const b=(t,e)=>{var n,i,r=t.x,a=t.y,o=e.x-r,s=e.y-a,c=t.width/2,u=t.height/2;return Math.abs(s)*c>Math.abs(o)*u?(s<0&&(u=-u),n=0===s?0:u*o/s,i=u):(o<0&&(c=-c),n=c,i=0===o?0:c*s/o),{x:r+n,y:a+i}},w={node:function(t,e){return t.intersect(e)},circle:function(t,e,n){return d(t,e,e,n)},ellipse:d,polygon:function(t,e,n){var i=t.x,r=t.y,a=[],o=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){o=Math.min(o,t.x),s=Math.min(s,t.y)})):(o=Math.min(o,e.x),s=Math.min(s,e.y));for(var c=i-t.width/2-o,u=r-t.height/2-s,l=0;l<e.length;l++){var h=e[l],f=e[l<e.length-1?l+1:0],d=g(t,n,{x:c+h.x,y:u+h.y},{x:c+f.x,y:u+f.y});d&&a.push(d)}return a.length?(a.length>1&&a.sort((function(t,e){var i=t.x-n.x,r=t.y-n.y,a=Math.sqrt(i*i+r*r),o=e.x-n.x,s=e.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1})),a[0]):t},rect:b},m=async(t,e)=>{const{shapeSvg:n,bbox:r}=await l(t,e,void 0,!0),a=r.width+e.padding+(r.height+e.padding),o=[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}];i.l.info("Question main (Circle)");const s=f(n,a,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return i.l.warn("Intersect called"),w.polygon(e,o,t)},n};function y(t,e,n,r){const a=[],o=t=>{a.push(t,0)},s=t=>{a.push(0,t)};e.includes("t")?(i.l.debug("add top border"),o(n)):s(n),e.includes("r")?(i.l.debug("add right border"),o(r)):s(r),e.includes("b")?(i.l.debug("add bottom border"),o(n)):s(n),e.includes("l")?(i.l.debug("add left border"),o(r)):s(r),t.attr("stroke-dasharray",a.join(" "))}const v=(t,e,n)=>{const i=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let r=70,a=10;"LR"===n&&(r=10,a=70);const o=i.append("rect").attr("x",-1*r/2).attr("y",-1*a/2).attr("width",r).attr("height",a).attr("class","fork-join");return h(e,o),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return w.rect(e,t)},i},x={rhombus:m,question:m,rect:async(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:a}=await l(t,e,"node "+e.classes,!0),o=n.insert("rect",":first-child"),s=r.width+e.padding,c=r.height+e.padding;if(o.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-r.width/2-a).attr("y",-r.height/2-a).attr("width",s).attr("height",c),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(y(o,e.props.borders,s,c),t.delete("borders")),t.forEach((t=>{i.l.warn(`Unknown node property ${t}`)}))}return h(e,o),e.intersect=function(t){return w.rect(e,t)},n},labelRect:async(t,e)=>{const{shapeSvg:n}=await l(t,e,"label",!0);i.l.trace("Classes = ",e.classes);const r=n.insert("rect",":first-child");if(r.attr("width",0).attr("height",0),n.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(y(r,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{i.l.warn(`Unknown node property ${t}`)}))}return h(e,r),e.intersect=function(t){return w.rect(e,t)},n},rectWithTitle:(t,e)=>{let n;n=e.classes?"node "+e.classes:"node default";const a=t.insert("g").attr("class",n).attr("id",e.domId||e.id),o=a.insert("rect",":first-child"),s=a.insert("line"),c=a.insert("g").attr("class","label"),l=e.labelText.flat?e.labelText.flat():e.labelText;let f="";f="object"==typeof l?l[0]:l,i.l.info("Label text abc79",f,l,"object"==typeof l);const d=c.node().appendChild(u(f,e.labelStyle,!0,!0));let g={width:0,height:0};if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=d.children[0],e=(0,r.Ys)(d);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}i.l.info("Text 2",l);const p=l.slice(1,l.length);let b=d.getBBox();const m=c.node().appendChild(u(p.join?p.join("<br/>"):p,e.labelStyle,!0,!0));if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=m.children[0],e=(0,r.Ys)(m);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}const y=e.padding/2;return(0,r.Ys)(m).attr("transform","translate( "+(g.width>b.width?0:(b.width-g.width)/2)+", "+(b.height+y+5)+")"),(0,r.Ys)(d).attr("transform","translate( "+(g.width<b.width?0:-(b.width-g.width)/2)+", 0)"),g=c.node().getBBox(),c.attr("transform","translate("+-g.width/2+", "+(-g.height/2-y+3)+")"),o.attr("class","outer title-state").attr("x",-g.width/2-y).attr("y",-g.height/2-y).attr("width",g.width+e.padding).attr("height",g.height+e.padding),s.attr("class","divider").attr("x1",-g.width/2-y).attr("x2",g.width/2+y).attr("y1",-g.height/2-y+b.height+y).attr("y2",-g.height/2-y+b.height+y),h(e,o),e.intersect=function(t){return w.rect(e,t)},a},choice:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}];return n.insert("polygon",":first-child").attr("points",i.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 w.circle(e,14,t)},n},circle:async(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:a}=await l(t,e,void 0,!0),o=n.insert("circle",":first-child");return o.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+a).attr("width",r.width+e.padding).attr("height",r.height+e.padding),i.l.info("Circle main"),h(e,o),e.intersect=function(t){return i.l.info("Circle intersect",e,r.width/2+a,t),w.circle(e,r.width/2+a,t)},n},doublecircle:async(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:a}=await l(t,e,void 0,!0),o=n.insert("g",":first-child"),s=o.insert("circle"),c=o.insert("circle");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+a+5).attr("width",r.width+e.padding+10).attr("height",r.height+e.padding+10),c.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+a).attr("width",r.width+e.padding).attr("height",r.height+e.padding),i.l.info("DoubleCircle main"),h(e,s),e.intersect=function(t){return i.l.info("DoubleCircle intersect",e,r.width/2+a+5,t),w.circle(e,r.width/2+a+5,t)},n},stadium:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,e,void 0,!0),r=i.height+e.padding,a=i.width+r/4+e.padding,o=n.insert("rect",":first-child").attr("style",e.style).attr("rx",r/2).attr("ry",r/2).attr("x",-a/2).attr("y",-r/2).attr("width",a).attr("height",r);return h(e,o),e.intersect=function(t){return w.rect(e,t)},n},hexagon:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,e,void 0,!0),r=i.height+e.padding,a=r/4,o=i.width+2*a+e.padding,s=[{x:a,y:0},{x:o-a,y:0},{x:o,y:-r/2},{x:o-a,y:-r},{x:a,y:-r},{x:0,y:-r/2}],c=f(n,o,r,s);return c.attr("style",e.style),h(e,c),e.intersect=function(t){return w.polygon(e,s,t)},n},rect_left_inv_arrow:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-a/2,y:0},{x:r,y:0},{x:r,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}];return f(n,r,a,o).attr("style",e.style),e.width=r+a,e.height=a,e.intersect=function(t){return w.polygon(e,o,t)},n},lean_right:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-2*a/6,y:0},{x:r-a/6,y:0},{x:r+2*a/6,y:-a},{x:a/6,y:-a}],s=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},lean_left:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:2*a/6,y:0},{x:r+a/6,y:0},{x:r-2*a/6,y:-a},{x:-a/6,y:-a}],s=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},trapezoid:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-2*a/6,y:0},{x:r+2*a/6,y:0},{x:r-a/6,y:-a},{x:a/6,y:-a}],s=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},inv_trapezoid:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:a/6,y:0},{x:r-a/6,y:0},{x:r+2*a/6,y:-a},{x:-2*a/6,y:-a}],s=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},rect_right_inv_arrow:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:0,y:0},{x:r+a/2,y:0},{x:r,y:-a/2},{x:r+a/2,y:-a},{x:0,y:-a}],s=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},cylinder:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,e,void 0,!0),r=i.width+e.padding,a=r/2,o=a/(2.5+r/50),s=i.height+o+e.padding,c="M 0,"+o+" a "+a+","+o+" 0,0,0 "+r+" 0 a "+a+","+o+" 0,0,0 "+-r+" 0 l 0,"+s+" a "+a+","+o+" 0,0,0 "+r+" 0 l 0,"+-s,u=n.attr("label-offset-y",o).insert("path",":first-child").attr("style",e.style).attr("d",c).attr("transform","translate("+-r/2+","+-(s/2+o)+")");return h(e,u),e.intersect=function(t){const n=w.rect(e,t),i=n.x-e.x;if(0!=a&&(Math.abs(i)<e.width/2||Math.abs(i)==e.width/2&&Math.abs(n.y-e.y)>e.height/2-o)){let r=o*o*(1-i*i/(a*a));0!=r&&(r=Math.sqrt(r)),r=o-r,t.y-e.y>0&&(r=-r),n.y+=r}return n},n},start:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=n.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),h(e,i),e.intersect=function(t){return w.circle(e,7,t)},n},end:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=n.insert("circle",":first-child"),r=n.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),i.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),h(e,r),e.intersect=function(t){return w.circle(e,7,t)},n},note:async(t,e)=>{e.useHtmlLabels||(0,i.c)().flowchart.htmlLabels||(e.centerLabel=!0);const{shapeSvg:n,bbox:r,halfPadding:a}=await l(t,e,"node "+e.classes,!0);i.l.info("Classes = ",e.classes);const o=n.insert("rect",":first-child");return o.attr("rx",e.rx).attr("ry",e.ry).attr("x",-r.width/2-a).attr("y",-r.height/2-a).attr("width",r.width+e.padding).attr("height",r.height+e.padding),h(e,o),e.intersect=function(t){return w.rect(e,t)},n},subroutine:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:0,y:0},{x:r,y:0},{x:r,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:r+8,y:0},{x:r+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],s=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},fork:v,join:v,class_box:(t,e)=>{const n=e.padding/2;let a;a=e.classes?"node "+e.classes:"node default";const s=t.insert("g").attr("class",a).attr("id",e.domId||e.id),c=s.insert("rect",":first-child"),l=s.insert("line"),f=s.insert("line");let d=0,g=4;const p=s.insert("g").attr("class","label");let b=0;const m=e.classData.annotations&&e.classData.annotations[0],y=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",v=p.node().appendChild(u(y,e.labelStyle,!0,!0));let x=v.getBBox();if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=v.children[0],e=(0,r.Ys)(v);x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}e.classData.annotations[0]&&(g+=x.height+4,d+=x.width);let k=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,i.c)().flowchart.htmlLabels?k+="<"+e.classData.type+">":k+="<"+e.classData.type+">");const _=p.node().appendChild(u(k,e.labelStyle,!0,!0));(0,r.Ys)(_).attr("class","classTitle");let A=_.getBBox();if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=_.children[0],e=(0,r.Ys)(_);A=t.getBoundingClientRect(),e.attr("width",A.width),e.attr("height",A.height)}g+=A.height+4,A.width>d&&(d=A.width);const E=[];e.classData.members.forEach((t=>{const n=(0,o.p)(t);let a=n.displayText;(0,i.c)().flowchart.htmlLabels&&(a=a.replace(/</g,"<").replace(/>/g,">"));const s=p.node().appendChild(u(a,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let c=s.getBBox();if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,r.Ys)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}c.width>d&&(d=c.width),g+=c.height+4,E.push(s)})),g+=8;const T=[];if(e.classData.methods.forEach((t=>{const n=(0,o.p)(t);let a=n.displayText;(0,i.c)().flowchart.htmlLabels&&(a=a.replace(/</g,"<").replace(/>/g,">"));const s=p.node().appendChild(u(a,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let c=s.getBBox();if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,r.Ys)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}c.width>d&&(d=c.width),g+=c.height+4,T.push(s)})),g+=8,m){let t=(d-x.width)/2;(0,r.Ys)(v).attr("transform","translate( "+(-1*d/2+t)+", "+-1*g/2+")"),b=x.height+4}let C=(d-A.width)/2;return(0,r.Ys)(_).attr("transform","translate( "+(-1*d/2+C)+", "+(-1*g/2+b)+")"),b+=A.height+4,l.attr("class","divider").attr("x1",-d/2-n).attr("x2",d/2+n).attr("y1",-g/2-n+8+b).attr("y2",-g/2-n+8+b),b+=8,E.forEach((t=>{(0,r.Ys)(t).attr("transform","translate( "+-d/2+", "+(-1*g/2+b+4)+")"),b+=A.height+4})),b+=8,f.attr("class","divider").attr("x1",-d/2-n).attr("x2",d/2+n).attr("y1",-g/2-n+8+b).attr("y2",-g/2-n+8+b),b+=8,T.forEach((t=>{(0,r.Ys)(t).attr("transform","translate( "+-d/2+", "+(-1*g/2+b)+")"),b+=A.height+4})),c.attr("class","outer title-state").attr("x",-d/2-n).attr("y",-g/2-n).attr("width",d+e.padding).attr("height",g+e.padding),h(e,c),e.intersect=function(t){return w.rect(e,t)},s}};let k={};const _=async(t,e,n)=>{let r,a;if(e.link){let o;"sandbox"===(0,i.c)().securityLevel?o="_top":e.linkTarget&&(o=e.linkTarget||"_blank"),r=t.insert("svg:a").attr("xlink:href",e.link).attr("target",o),a=await x[e.shape](r,e,n)}else a=await x[e.shape](t,e,n),r=a;return e.tooltip&&a.attr("title",e.tooltip),e.class&&a.attr("class","node default "+e.class),k[e.id]=r,e.haveCallback&&k[e.id].attr("class",k[e.id].attr("class")+" clickable"),r},A=(t,e)=>{k[e.id]=t},E=()=>{k={}},T=t=>{const e=k[t.id];i.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const n=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+n-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),n};let C={},S={};const I=()=>{C={},S={}},M=(t,e)=>{const n=(0,i.n)((0,i.c)().flowchart.htmlLabels),o="markdown"===e.labelType?(0,a.c)(t,e.label,{style:e.labelStyle,useHtmlLabels:n,addSvgBackground:!0}):u(e.label,e.labelStyle);i.l.info("abc82",e,e.labelType);const s=t.insert("g").attr("class","edgeLabel"),c=s.insert("g").attr("class","label");c.node().appendChild(o);let l,h=o.getBBox();if(n){const t=o.children[0],e=(0,r.Ys)(o);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]=s,e.width=h.width,e.height=h.height,e.startLabelLeft){const n=u(e.startLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");l=r.node().appendChild(n);const a=n.getBBox();r.attr("transform","translate("+-a.width/2+", "+-a.height/2+")"),S[e.id]||(S[e.id]={}),S[e.id].startLeft=i,D(l,e.startLabelLeft)}if(e.startLabelRight){const n=u(e.startLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");l=i.node().appendChild(n),r.node().appendChild(n);const a=n.getBBox();r.attr("transform","translate("+-a.width/2+", "+-a.height/2+")"),S[e.id]||(S[e.id]={}),S[e.id].startRight=i,D(l,e.startLabelRight)}if(e.endLabelLeft){const n=u(e.endLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");l=r.node().appendChild(n);const a=n.getBBox();r.attr("transform","translate("+-a.width/2+", "+-a.height/2+")"),i.node().appendChild(n),S[e.id]||(S[e.id]={}),S[e.id].endLeft=i,D(l,e.endLabelLeft)}if(e.endLabelRight){const n=u(e.endLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");l=r.node().appendChild(n);const a=n.getBBox();r.attr("transform","translate("+-a.width/2+", "+-a.height/2+")"),i.node().appendChild(n),S[e.id]||(S[e.id]={}),S[e.id].endRight=i,D(l,e.endLabelRight)}return o};function D(t,e){(0,i.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const O=(t,e)=>{i.l.info("Moving label abc78 ",t.id,t.label,C[t.id]);let n=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const r=C[t.id];let a=t.x,o=t.y;if(n){const r=i.u.calcLabelPosition(n);i.l.info("Moving label "+t.label+" from (",a,",",o,") to (",r.x,",",r.y,") abc78"),e.updatedPath&&(a=r.x,o=r.y)}r.attr("transform","translate("+a+", "+o+")")}if(t.startLabelLeft){const e=S[t.id].startLeft;let r=t.x,a=t.y;if(n){const e=i.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",n);r=e.x,a=e.y}e.attr("transform","translate("+r+", "+a+")")}if(t.startLabelRight){const e=S[t.id].startRight;let r=t.x,a=t.y;if(n){const e=i.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",n);r=e.x,a=e.y}e.attr("transform","translate("+r+", "+a+")")}if(t.endLabelLeft){const e=S[t.id].endLeft;let r=t.x,a=t.y;if(n){const e=i.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",n);r=e.x,a=e.y}e.attr("transform","translate("+r+", "+a+")")}if(t.endLabelRight){const e=S[t.id].endRight;let r=t.x,a=t.y;if(n){const e=i.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",n);r=e.x,a=e.y}e.attr("transform","translate("+r+", "+a+")")}},L=(t,e)=>{i.l.warn("abc88 cutPathAtIntersect",t,e);let n=[],r=t[0],a=!1;return t.forEach((t=>{if(i.l.info("abc88 checking point",t,e),((t,e)=>{const n=t.x,i=t.y,r=Math.abs(e.x-n),a=Math.abs(e.y-i),o=t.width/2,s=t.height/2;return r>=o||a>=s})(e,t)||a)i.l.warn("abc88 outside",t,r),r=t,a||n.push(t);else{const o=((t,e,n)=>{i.l.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(n)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const r=t.x,a=t.y,o=Math.abs(r-n.x),s=t.width/2;let c=n.x<e.x?s-o:s+o;const u=t.height/2,l=Math.abs(e.y-n.y),h=Math.abs(e.x-n.x);if(Math.abs(a-e.y)*s>Math.abs(r-e.x)*u){let t=n.y<e.y?e.y-u-a:a-u-e.y;c=h*t/l;const r={x:n.x<e.x?n.x+c:n.x-h+c,y:n.y<e.y?n.y+l-t:n.y-l+t};return 0===c&&(r.x=e.x,r.y=e.y),0===h&&(r.x=e.x),0===l&&(r.y=e.y),i.l.warn(`abc89 topp/bott calc, Q ${l}, q ${t}, R ${h}, r ${c}`,r),r}{c=n.x<e.x?e.x-s-r:r-s-e.x;let t=l*c/h,a=n.x<e.x?n.x+h-c:n.x-h+c,o=n.y<e.y?n.y+t:n.y-t;return i.l.warn(`sides calc abc89, Q ${l}, q ${t}, R ${h}, r ${c}`,{_x:a,_y:o}),0===c&&(a=e.x,o=e.y),0===h&&(a=e.x),0===l&&(o=e.y),{x:a,y:o}}})(e,r,t);i.l.warn("abc88 inside",t,r,o),i.l.warn("abc88 intersection",o);let s=!1;n.forEach((t=>{s=s||t.x===o.x&&t.y===o.y})),n.some((t=>t.x===o.x&&t.y===o.y))?i.l.warn("abc88 no intersect",o,n):n.push(o),a=!0}})),i.l.warn("abc88 returning points",n),n},N=function(t,e,n,a,o,s){let c=n.points,u=!1;const l=s.node(e.v);var h=s.node(e.w);i.l.info("abc88 InsertEdge: ",n),h.intersect&&l.intersect&&(c=c.slice(1,n.points.length-1),c.unshift(l.intersect(c[0])),i.l.info("Last point",c[c.length-1],h,h.intersect(c[c.length-1])),c.push(h.intersect(c[c.length-1]))),n.toCluster&&(i.l.info("to cluster abc88",a[n.toCluster]),c=L(n.points,a[n.toCluster].node),u=!0),n.fromCluster&&(i.l.info("from cluster abc88",a[n.fromCluster]),c=L(c.reverse(),a[n.fromCluster].node).reverse(),u=!0);const f=c.filter((t=>!Number.isNaN(t.y)));let d;d=("graph"===o||"flowchart"===o)&&n.curve||r.$0Z;const g=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(d);let p;switch(n.thickness){case"normal":p="edge-thickness-normal";break;case"thick":case"invisible":p="edge-thickness-thick";break;default:p=""}switch(n.pattern){case"solid":p+=" edge-pattern-solid";break;case"dotted":p+=" edge-pattern-dotted";break;case"dashed":p+=" edge-pattern-dashed"}const b=t.append("path").attr("d",g(f)).attr("id",n.id).attr("class"," "+p+(n.classes?" "+n.classes:"")).attr("style",n.style);let w="";switch(((0,i.c)().flowchart.arrowMarkerAbsolute||(0,i.c)().state.arrowMarkerAbsolute)&&(w=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,w=w.replace(/\(/g,"\\("),w=w.replace(/\)/g,"\\)")),i.l.info("arrowTypeStart",n.arrowTypeStart),i.l.info("arrowTypeEnd",n.arrowTypeEnd),n.arrowTypeStart){case"arrow_cross":b.attr("marker-start","url("+w+"#"+o+"-crossStart)");break;case"arrow_point":b.attr("marker-start","url("+w+"#"+o+"-pointStart)");break;case"arrow_barb":b.attr("marker-start","url("+w+"#"+o+"-barbStart)");break;case"arrow_circle":b.attr("marker-start","url("+w+"#"+o+"-circleStart)");break;case"aggregation":b.attr("marker-start","url("+w+"#"+o+"-aggregationStart)");break;case"extension":b.attr("marker-start","url("+w+"#"+o+"-extensionStart)");break;case"composition":b.attr("marker-start","url("+w+"#"+o+"-compositionStart)");break;case"dependency":b.attr("marker-start","url("+w+"#"+o+"-dependencyStart)");break;case"lollipop":b.attr("marker-start","url("+w+"#"+o+"-lollipopStart)")}switch(n.arrowTypeEnd){case"arrow_cross":b.attr("marker-end","url("+w+"#"+o+"-crossEnd)");break;case"arrow_point":b.attr("marker-end","url("+w+"#"+o+"-pointEnd)");break;case"arrow_barb":b.attr("marker-end","url("+w+"#"+o+"-barbEnd)");break;case"arrow_circle":b.attr("marker-end","url("+w+"#"+o+"-circleEnd)");break;case"aggregation":b.attr("marker-end","url("+w+"#"+o+"-aggregationEnd)");break;case"extension":b.attr("marker-end","url("+w+"#"+o+"-extensionEnd)");break;case"composition":b.attr("marker-end","url("+w+"#"+o+"-compositionEnd)");break;case"dependency":b.attr("marker-end","url("+w+"#"+o+"-dependencyEnd)");break;case"lollipop":b.attr("marker-end","url("+w+"#"+o+"-lollipopEnd)")}let m={};return u&&(m.updatedPath=c),m.originalPath=n.points,m}},6787:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return O}});var i=n(8540),r=n(8066),a=n(1504),o=n(1768);const s=[];for(let t=0;t<256;++t)s.push((t+256).toString(16).slice(1));function c(t,e=0){return(s[t[e+0]]+s[t[e+1]]+s[t[e+2]]+s[t[e+3]]+"-"+s[t[e+4]]+s[t[e+5]]+"-"+s[t[e+6]]+s[t[e+7]]+"-"+s[t[e+8]]+s[t[e+9]]+"-"+s[t[e+10]]+s[t[e+11]]+s[t[e+12]]+s[t[e+13]]+s[t[e+14]]+s[t[e+15]]).toLowerCase()}var u=/^(?:[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;var l=function(t){return"string"==typeof t&&u.test(t)};var h=function(t){if(!l(t))throw TypeError("Invalid UUID");let e;const n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n};function f(t,e,n,i){switch(t){case 0:return e&n^~e&i;case 1:case 3:return e^n^i;case 2:return e&n^e&i^n&i}}function d(t,e){return t<<e|t>>>32-e}var g=function(t,e,n){function i(t,i,r,a){var o;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n));return e}(t)),"string"==typeof i&&(i=h(i)),16!==(null===(o=i)||void 0===o?void 0:o.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let s=new Uint8Array(16+t.length);if(s.set(i),s.set(t,i.length),s=n(s),s[6]=15&s[6]|e,s[8]=63&s[8]|128,r){a=a||0;for(let t=0;t<16;++t)r[a+t]=s[t];return r}return c(s)}try{i.name=t}catch(t){}return i.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",i.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",i}("v5",80,(function(t){const e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){const e=unescape(encodeURIComponent(t));t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);const i=t.length/4+2,r=Math.ceil(i/16),a=new Array(r);for(let e=0;e<r;++e){const n=new Uint32Array(16);for(let i=0;i<16;++i)n[i]=t[64*e+4*i]<<24|t[64*e+4*i+1]<<16|t[64*e+4*i+2]<<8|t[64*e+4*i+3];a[e]=n}a[r-1][14]=8*(t.length-1)/Math.pow(2,32),a[r-1][14]=Math.floor(a[r-1][14]),a[r-1][15]=8*(t.length-1)&4294967295;for(let t=0;t<r;++t){const i=new Uint32Array(80);for(let e=0;e<16;++e)i[e]=a[t][e];for(let t=16;t<80;++t)i[t]=d(i[t-3]^i[t-8]^i[t-14]^i[t-16],1);let r=n[0],o=n[1],s=n[2],c=n[3],u=n[4];for(let t=0;t<80;++t){const n=Math.floor(t/20),a=d(r,5)+f(n,o,s,c)+u+e[n]+i[t]>>>0;u=c,c=s,s=d(o,30)>>>0,o=r,r=a}n[0]=n[0]+r>>>0,n[1]=n[1]+o>>>0,n[2]=n[2]+s>>>0,n[3]=n[3]+c>>>0,n[4]=n[4]+u>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]})),p=(n(7530),n(2510),n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,5],i=[6,9,11,23,25,27,29,30,31,52],r=[1,17],a=[1,18],o=[1,19],s=[1,20],c=[1,21],u=[1,22],l=[1,25],h=[1,30],f=[1,31],d=[1,32],g=[1,33],p=[1,34],b=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,48,52],w=[1,46],m=[30,31,49,50],y=[4,6,9,11,23,25,27,29,30,31,52],v=[44,45,46,47,48],x=[22,37],k=[1,66],_=[1,65],A=[22,37,39,41],E={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,MD_PARENT:48,NON_IDENTIFYING:49,IDENTIFYING:50,WORD:51,open_directive:52,type_directive:53,arg_directive:54,close_directive:55,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"MD_PARENT",49:"NON_IDENTIFYING",50:"IDENTIFYING",51:"WORD",52:"open_directive",53:"type_directive",54:"arg_directive",55:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:case 20:case 44:case 28:case 29:case 32:this.$=a[s];break;case 12:i.addEntity(a[s-4]),i.addEntity(a[s-2]),i.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 13:i.addEntity(a[s-3]),i.addAttributes(a[s-3],a[s-1]);break;case 14:i.addEntity(a[s-2]);break;case 15:i.addEntity(a[s]);break;case 16:case 17:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 21:case 42:case 43:case 33:this.$=a[s].replace(/"/g,"");break;case 22:case 30:this.$=[a[s]];break;case 23:a[s].push(a[s-1]),this.$=a[s];break;case 24:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 26:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 27:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 31:a[s-2].push(a[s]),this.$=a[s-2];break;case 34:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 35:this.$=i.Cardinality.ZERO_OR_ONE;break;case 36:this.$=i.Cardinality.ZERO_OR_MORE;break;case 37:this.$=i.Cardinality.ONE_OR_MORE;break;case 38:this.$=i.Cardinality.ONLY_ONE;break;case 39:this.$=i.Cardinality.MD_PARENT;break;case 40:this.$=i.Identification.NON_IDENTIFYING;break;case 41:this.$=i.Identification.IDENTIFYING;break;case 45:i.parseDirective("%%{","open_directive");break;case 46:i.parseDirective(a[s],"type_directive");break;case 47:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 48:i.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:e,7:3,12:4,52:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,52:n},{13:8,53:[1,9]},{53:[2,45]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:r,25:a,27:o,29:s,30:c,31:u,52:n},{1:[2,2]},{14:23,15:[1,24],55:l},t([15,55],[2,46]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:15,10:26,12:4,17:16,23:r,25:a,27:o,29:s,30:c,31:u,52:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),t(i,[2,15],{18:27,42:29,20:[1,28],44:h,45:f,46:d,47:g,48:p}),{24:[1,35]},{26:[1,36]},{28:[1,37]},t(i,[2,19]),t(b,[2,20]),t(b,[2,21]),{11:[1,38]},{16:39,54:[1,40]},{11:[2,48]},t(i,[2,5]),{17:41,30:c,31:u},{21:42,22:[1,43],32:44,33:45,37:w},{43:47,49:[1,48],50:[1,49]},t(m,[2,35]),t(m,[2,36]),t(m,[2,37]),t(m,[2,38]),t(m,[2,39]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(y,[2,9]),{14:50,55:l},{55:[2,47]},{15:[1,51]},{22:[1,52]},t(i,[2,14]),{21:53,22:[2,22],32:44,33:45,37:w},{34:54,37:[1,55]},{37:[2,28]},{42:56,44:h,45:f,46:d,47:g,48:p},t(v,[2,40]),t(v,[2,41]),{11:[1,57]},{19:58,30:[1,61],31:[1,60],51:[1,59]},t(i,[2,13]),{22:[2,23]},t(x,[2,24],{35:62,36:63,38:64,40:k,41:_}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(y,[2,10]),t(i,[2,12]),t(i,[2,42]),t(i,[2,43]),t(i,[2,44]),t(x,[2,25],{36:67,39:[1,68],41:_}),t(x,[2,26]),t(A,[2,30]),t(x,[2,33]),t(A,[2,32]),t(x,[2,27]),{38:69,40:k},t(A,[2,31])],defaultActions:{5:[2,45],7:[2,2],25:[2,48],40:[2,47],46:[2,28],53:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},T={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;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 this.begin("open_directive"),52;case 8:return this.begin("type_directive"),53;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),55;case 11:return 54;case 12:return 11;case 13:case 20:case 25:break;case 14:return 9;case 15:return 31;case 16:return 51;case 17:return 4;case 18:return this.begin("block"),20;case 19:return 39;case 21:return 40;case 22:case 23:return 37;case 24:return 41;case 26:return this.popState(),22;case 27:case 57:return e.yytext[0];case 28:case 32:case 33:case 46:return 44;case 29:case 30:case 31:case 39:case 41:case 48:return 46;case 34:case 35:case 36:case 37:case 38:case 40:case 47:return 45;case 42:case 43:case 44:case 45:return 47;case 49:return 48;case 50:case 53:case 54:case 55:return 49;case 51:case 52:return 50;case 56:return 30;case 58:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/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,/^(?: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},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[19,20,21,22,23,24,25,26,27],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,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],inclusive:!0}}};function C(){this.yy={}}return E.lexer=T,C.prototype=E,E.Parser=C,new C}());p.parser=p;const b=p;let w={},m=[];const y=function(t){return void 0===w[t]&&(w[t]={attributes:[]},i.l.info("Added new entity :",t)),w[t]},v={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"},parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().er,addEntity:y,addAttributes:function(t,e){let n,r=y(t);for(n=e.length-1;n>=0;n--)r.attributes.push(e[n]),i.l.debug("Added attribute ",e[n].attributeName)},getEntities:()=>w,addRelationship:function(t,e,n,r){let a={entityA:t,roleA:e,entityB:n,relSpec:r};m.push(a),i.l.debug("Added new relationship :",a)},getRelationships:()=>m,clear:function(){w={},m=[],(0,i.v)()},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,setDiagramTitle:i.r,getDiagramTitle:i.t},x={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"},k=x,_=function(t,e){let n;t.append("defs").append("marker").attr("id",x.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",x.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",x.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",x.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"),n=t.append("defs").append("marker").attr("id",x.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),n=t.append("defs").append("marker").attr("id",x.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",x.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",x.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"),n=t.append("defs").append("marker").attr("id",x.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),n=t.append("defs").append("marker").attr("id",x.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},A=/[^\dA-Za-z](\W)*/g;let E={},T=new Map;const C=function(t,e,n){let r;return Object.keys(e).forEach((function(a){const o=function(t="",e=""){const n=t.replace(A,"");return`${D(e)}${D(n)}${g(t,M)}`}(a,"entity");T.set(a,o);const s=t.append("g").attr("id",o);r=void 0===r?o:r;const c="text-"+o,u=s.append("text").classed("er entityLabel",!0).attr("id",c).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",E.fontSize+"px").text(a),{width:l,height:h}=((t,e,n)=>{const r=E.entityPadding/3,a=E.entityPadding/3,o=.85*E.fontSize,s=e.node().getBBox(),c=[];let u=!1,l=!1,h=0,f=0,d=0,g=0,p=s.height+2*r,b=1;n.forEach((t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(u=!0),void 0!==t.attributeComment&&(l=!0)})),n.forEach((n=>{const a=`${e.node().id}-attr-${b}`;let s=0;const w=(0,i.x)(n.attributeType),m=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-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",o+"px").text(w),y=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-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",o+"px").text(n.attributeName),v={};v.tn=m,v.nn=y;const x=m.node().getBBox(),k=y.node().getBBox();if(h=Math.max(h,x.width),f=Math.max(f,k.width),s=Math.max(x.height,k.height),u){const e=void 0!==n.attributeKeyTypeList?n.attributeKeyTypeList.join(","):"",r=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-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",o+"px").text(e);v.kn=r;const c=r.node().getBBox();d=Math.max(d,c.width),s=Math.max(s,c.height)}if(l){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-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",o+"px").text(n.attributeComment||"");v.cn=e;const r=e.node().getBBox();g=Math.max(g,r.width),s=Math.max(s,r.height)}v.height=s,c.push(v),p+=s+2*r,b+=1}));let w=4;u&&(w+=2),l&&(w+=2);const m=h+f+d+g,y={width:Math.max(E.minEntityWidth,Math.max(s.width+2*E.entityPadding,m+a*w)),height:n.length>0?p:Math.max(E.minEntityHeight,s.height+2*E.entityPadding)};if(n.length>0){const n=Math.max(0,(y.width-m-a*w)/(w/2));e.attr("transform","translate("+y.width/2+","+(r+s.height/2)+")");let i=s.height+2*r,o="attributeBoxOdd";c.forEach((e=>{const s=i+r+e.height/2;e.tn.attr("transform","translate("+a+","+s+")");const c=t.insert("rect","#"+e.tn.node().id).classed(`er ${o}`,!0).attr("x",0).attr("y",i).attr("width",h+2*a+n).attr("height",e.height+2*r),p=parseFloat(c.attr("x"))+parseFloat(c.attr("width"));e.nn.attr("transform","translate("+(p+a)+","+s+")");const b=t.insert("rect","#"+e.nn.node().id).classed(`er ${o}`,!0).attr("x",p).attr("y",i).attr("width",f+2*a+n).attr("height",e.height+2*r);let w=parseFloat(b.attr("x"))+parseFloat(b.attr("width"));if(u){e.kn.attr("transform","translate("+(w+a)+","+s+")");const c=t.insert("rect","#"+e.kn.node().id).classed(`er ${o}`,!0).attr("x",w).attr("y",i).attr("width",d+2*a+n).attr("height",e.height+2*r);w=parseFloat(c.attr("x"))+parseFloat(c.attr("width"))}l&&(e.cn.attr("transform","translate("+(w+a)+","+s+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${o}`,"true").attr("x",w).attr("y",i).attr("width",g+2*a+n).attr("height",e.height+2*r)),i+=e.height+2*r,o="attributeBoxOdd"===o?"attributeBoxEven":"attributeBoxOdd"}))}else y.height=Math.max(E.minEntityHeight,p),e.attr("transform","translate("+y.width/2+","+y.height/2+")");return y})(s,u,e[a].attributes),f=s.insert("rect","#"+c).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",l).attr("height",h).node().getBBox();n.setNode(o,{width:f.width,height:f.height,shape:"rect",id:o})})),r},S=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let I=0;const M="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function D(t=""){return t.length>0?`${t}-`:""}const O={parser:b,db:v,renderer:{setConf:function(t){const e=Object.keys(t);for(const n of e)E[n]=t[n]},draw:function(t,e,n,s){E=(0,i.c)().er,i.l.info("Drawing ER diagram");const c=(0,i.c)().securityLevel;let u;"sandbox"===c&&(u=(0,a.Ys)("#i"+e));const l=("sandbox"===c?(0,a.Ys)(u.nodes()[0].contentDocument.body):(0,a.Ys)("body")).select(`[id='${e}']`);let h;_(l,E),h=new r.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:E.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const f=C(l,s.db.getEntities(),h),d=function(t,e){return t.forEach((function(t){e.setEdge(T.get(t.entityA),T.get(t.entityB),{relationship:t},S(t))})),t}(s.db.getRelationships(),h);var g,p;(0,o.bK)(h),g=l,(p=h).nodes().forEach((function(t){void 0!==t&&void 0!==p.node(t)&&g.select("#"+t).attr("transform","translate("+(p.node(t).x-p.node(t).width/2)+","+(p.node(t).y-p.node(t).height/2)+" )")})),d.forEach((function(t){!function(t,e,n,r,o){I++;const s=n.edge(T.get(e.entityA),T.get(e.entityB),S(e)),c=(0,a.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(a.$0Z),u=t.insert("path","#"+r).classed("er relationshipLine",!0).attr("d",c(s.points)).style("stroke",E.stroke).style("fill","none");e.relSpec.relType===o.db.Identification.NON_IDENTIFYING&&u.attr("stroke-dasharray","8,8");let l="";switch(E.arrowMarkerAbsolute&&(l=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,l=l.replace(/\(/g,"\\("),l=l.replace(/\)/g,"\\)")),e.relSpec.cardA){case o.db.Cardinality.ZERO_OR_ONE:u.attr("marker-end","url("+l+"#"+k.ZERO_OR_ONE_END+")");break;case o.db.Cardinality.ZERO_OR_MORE:u.attr("marker-end","url("+l+"#"+k.ZERO_OR_MORE_END+")");break;case o.db.Cardinality.ONE_OR_MORE:u.attr("marker-end","url("+l+"#"+k.ONE_OR_MORE_END+")");break;case o.db.Cardinality.ONLY_ONE:u.attr("marker-end","url("+l+"#"+k.ONLY_ONE_END+")");break;case o.db.Cardinality.MD_PARENT:u.attr("marker-end","url("+l+"#"+k.MD_PARENT_END+")")}switch(e.relSpec.cardB){case o.db.Cardinality.ZERO_OR_ONE:u.attr("marker-start","url("+l+"#"+k.ZERO_OR_ONE_START+")");break;case o.db.Cardinality.ZERO_OR_MORE:u.attr("marker-start","url("+l+"#"+k.ZERO_OR_MORE_START+")");break;case o.db.Cardinality.ONE_OR_MORE:u.attr("marker-start","url("+l+"#"+k.ONE_OR_MORE_START+")");break;case o.db.Cardinality.ONLY_ONE:u.attr("marker-start","url("+l+"#"+k.ONLY_ONE_START+")");break;case o.db.Cardinality.MD_PARENT:u.attr("marker-start","url("+l+"#"+k.MD_PARENT_START+")")}const h=u.node().getTotalLength(),f=u.node().getPointAtLength(.5*h),d="rel"+I,g=t.append("text").classed("er relationshipLabel",!0).attr("id",d).attr("x",f.x).attr("y",f.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",E.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+d).classed("er relationshipLabelBox",!0).attr("x",f.x-g.width/2).attr("y",f.y-g.height/2).attr("width",g.width).attr("height",g.height)}(l,t,h,f,s)}));const b=E.diagramPadding;i.u.insertTitle(l,"entityTitleText",E.titleTopMargin,s.db.getDiagramTitle());const w=l.node().getBBox(),m=w.width+2*b,y=w.height+2*b;(0,i.i)(l,y,m,E.useMaxWidth),l.attr("viewBox",`${w.x-b} ${w.y-b} ${m} ${y}`)}},styles:t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n #MD_PARENT_START {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n #MD_PARENT_END {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n \n`}},895:function(t,e,n){"use strict";n.d(e,{d:function(){return it},f:function(){return nt},p:function(){return o}});var i=n(1504),r=n(8540),a=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,9],n=[1,7],i=[1,6],r=[1,8],a=[1,20,21,22,23,38,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],o=[2,10],s=[1,20],c=[1,21],u=[1,22],l=[1,23],h=[1,30],f=[1,32],d=[1,33],g=[1,34],p=[1,62],b=[1,48],w=[1,52],m=[1,36],y=[1,37],v=[1,38],x=[1,39],k=[1,40],_=[1,56],A=[1,63],E=[1,51],T=[1,53],C=[1,55],S=[1,59],I=[1,60],M=[1,41],D=[1,42],O=[1,43],L=[1,44],N=[1,61],P=[1,50],B=[1,54],F=[1,57],R=[1,58],j=[1,49],$=[1,66],z=[1,71],q=[1,20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],H=[1,75],U=[1,74],G=[1,76],Y=[20,21,23,81,82],Z=[1,99],W=[1,104],K=[1,107],X=[1,108],V=[1,101],Q=[1,106],J=[1,109],tt=[1,102],et=[1,114],nt=[1,113],it=[1,103],rt=[1,105],at=[1,110],ot=[1,111],st=[1,112],ct=[1,115],ut=[20,21,22,23,81,82],lt=[20,21,22,23,53,81,82],ht=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],ft=[20,21,23],dt=[20,21,23,52,66,67,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],gt=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],pt=[52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],bt=[1,150],wt=[1,158],mt=[1,159],yt=[1,160],vt=[1,161],xt=[1,145],kt=[1,146],_t=[1,141],At=[1,142],Et=[1,153],Tt=[1,154],Ct=[1,155],St=[1,156],It=[1,157],Mt=[1,162],Dt=[1,163],Ot=[1,148],Lt=[1,151],Nt=[1,147],Pt=[1,144],Bt=[20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],Ft=[1,166],Rt=[20,21,22,23,26,52,66,67,92,106,107,110,112,113,123,124,125,126,127,128],jt=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,87,88,89,90,91,92,93,96,106,107,110,112,113,114,115,123,124,125,126,127,128],$t=[12,21,22,24],zt=[22,107],qt=[1,251],Ht=[1,246],Ut=[1,247],Gt=[1,255],Yt=[1,252],Zt=[1,249],Wt=[1,248],Kt=[1,250],Xt=[1,253],Vt=[1,254],Qt=[1,256],Jt=[1,274],te=[20,21,23,107],ee=[20,21,22,23,66,67,87,103,106,107,110,111,112,113,114],ne={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,MD_STR:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTags:94,textNoTagsToken:95,DEFAULT:96,stylesOpt:97,alphaNum:98,CALLBACKNAME:99,CALLBACKARGS:100,HREF:101,LINK_TARGET:102,HEX:103,numList:104,INTERPOLATE:105,NUM:106,COMMA:107,style:108,styleComponent:109,MINUS:110,UNIT:111,BRKT:112,DOT:113,PCT:114,TAGSTART:115,alphaNumToken:116,idStringToken:117,alphaNumStatement:118,direction_tb:119,direction_bt:120,direction_rl:121,direction_lr:122,PUNCTUATION:123,UNICODE_TEXT:124,PLUS:125,EQUALS:126,MULT:127,UNDERSCORE:128,graphCodeTokens:129,ARROW_CROSS:130,ARROW_POINT:131,ARROW_CIRCLE:132,ARROW_OPEN:133,QUOTE:134,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",85:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"DEFAULT",99:"CALLBACKNAME",100:"CALLBACKARGS",101:"HREF",102:"LINK_TARGET",103:"HEX",105:"INTERPOLATE",106:"NUM",107:"COMMA",110:"MINUS",111:"UNIT",112:"BRKT",113:"DOT",114:"PCT",115:"TAGSTART",119:"direction_tb",120:"direction_bt",121:"direction_rl",122:"direction_lr",123:"PUNCTUATION",124:"UNICODE_TEXT",125:"PLUS",126:"EQUALS",127:"MULT",128:"UNDERSCORE",130:"ARROW_CROSS",131:"ARROW_POINT",132:"ARROW_CIRCLE",133:"ARROW_OPEN",134:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[39,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[94,1],[94,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[104,1],[104,3],[97,1],[97,3],[108,1],[108,2],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[95,1],[95,1],[95,1],[95,1],[54,1],[54,2],[98,1],[98,2],[118,1],[118,1],[118,1],[118,1],[43,1],[43,1],[43,1],[43,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 5:i.parseDirective("%%{","open_directive");break;case 6:i.parseDirective(a[s],"type_directive");break;case 7:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 8:i.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 12:case 97:case 153:case 155:case 156:case 78:case 151:this.$=a[s];break;case 19:i.setDirection("TB"),this.$="TB";break;case 20:i.setDirection(a[s-1]),this.$=a[s-1];break;case 35:this.$=a[s-1].nodes;break;case 41:this.$=i.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 42:this.$=i.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 43:this.$=i.addSubGraph(void 0,a[s-1],void 0);break;case 45:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 46:case 47:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 51:i.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 52:i.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 53:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 54:this.$={stmt:a[s],nodes:a[s]};break;case 55:case 124:case 126:this.$=[a[s]];break;case 56:this.$=a[s-4].concat(a[s]);break;case 57:this.$=[a[s-2]],i.setClass(a[s-2],a[s]);break;case 58:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"square");break;case 59:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"doublecircle");break;case 60:this.$=a[s-5],i.addVertex(a[s-5],a[s-2],"circle");break;case 61:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"ellipse");break;case 62:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"stadium");break;case 63:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"subroutine");break;case 64:this.$=a[s-7],i.addVertex(a[s-7],a[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 65:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"cylinder");break;case 66:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"round");break;case 67:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"diamond");break;case 68:this.$=a[s-5],i.addVertex(a[s-5],a[s-2],"hexagon");break;case 69:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"odd");break;case 70:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"trapezoid");break;case 71:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"inv_trapezoid");break;case 72:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"lean_right");break;case 73:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"lean_left");break;case 74:this.$=a[s],i.addVertex(a[s]);break;case 75:a[s-1].text=a[s],this.$=a[s-1];break;case 76:case 77:a[s-2].text=a[s-1],this.$=a[s-2];break;case 79:var c=i.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 80:c=i.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 81:this.$=a[s-1];break;case 82:case 84:this.$={text:a[s],type:"text"};break;case 83:this.$={text:a[s-1].text+""+a[s],type:a[s-1].type};break;case 85:this.$={text:a[s],type:"markdown"};break;case 98:case 154:case 152:this.$=a[s-1]+""+a[s];break;case 99:case 100:this.$=a[s-4],i.addClass(a[s-2],a[s]);break;case 101:this.$=a[s-4],i.setClass(a[s-2],a[s]);break;case 102:case 110:this.$=a[s-1],i.setClickEvent(a[s-1],a[s]);break;case 103:case 111:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-2]),i.setTooltip(a[s-3],a[s]);break;case 104:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 105:this.$=a[s-4],i.setClickEvent(a[s-4],a[s-3],a[s-2]),i.setTooltip(a[s-4],a[s]);break;case 106:case 112:this.$=a[s-1],i.setLink(a[s-1],a[s]);break;case 107:case 113:this.$=a[s-3],i.setLink(a[s-3],a[s-2]),i.setTooltip(a[s-3],a[s]);break;case 108:case 114:this.$=a[s-3],i.setLink(a[s-3],a[s-2],a[s]);break;case 109:case 115:this.$=a[s-5],i.setLink(a[s-5],a[s-4],a[s]),i.setTooltip(a[s-5],a[s-2]);break;case 116:this.$=a[s-4],i.addVertex(a[s-2],void 0,void 0,a[s]);break;case 117:case 119:this.$=a[s-4],i.updateLink(a[s-2],a[s]);break;case 118:this.$=a[s-4],i.updateLink([a[s-2]],a[s]);break;case 120:this.$=a[s-8],i.updateLinkInterpolate([a[s-6]],a[s-2]),i.updateLink([a[s-6]],a[s]);break;case 121:this.$=a[s-8],i.updateLinkInterpolate(a[s-6],a[s-2]),i.updateLink(a[s-6],a[s]);break;case 122:this.$=a[s-6],i.updateLinkInterpolate([a[s-4]],a[s]);break;case 123:this.$=a[s-6],i.updateLinkInterpolate(a[s-4],a[s]);break;case 125:case 127:a[s-2].push(a[s]),this.$=a[s-2];break;case 129:this.$=a[s-1]+a[s];break;case 157:this.$="v";break;case 158:this.$="-";break;case 159:this.$={stmt:"dir",value:"TB"};break;case 160:this.$={stmt:"dir",value:"BT"};break;case 161:this.$={stmt:"dir",value:"RL"};break;case 162:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:n,22:i,24:r},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:n,22:i,24:r},t(a,o,{17:11}),{7:12,13:[1,13]},{16:14,21:n,22:i,24:r},{16:15,21:n,22:i,24:r},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,87:m,88:y,89:v,90:x,91:k,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,119:M,120:D,121:O,122:L,123:N,124:P,125:B,126:F,127:R,128:j},{8:64,10:[1,65],15:$},t([10,15],[2,6]),t(a,[2,17]),t(a,[2,18]),t(a,[2,19]),{20:[1,68],21:[1,69],22:z,27:67,30:70},t(q,[2,11]),t(q,[2,12]),t(q,[2,13]),t(q,[2,14]),t(q,[2,15]),t(q,[2,16]),{9:72,20:H,21:U,23:G,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:H,21:U,23:G},{9:81,20:H,21:U,23:G},{9:82,20:H,21:U,23:G},{9:83,20:H,21:U,23:G},{9:84,20:H,21:U,23:G},{9:86,20:H,21:U,22:[1,85],23:G},t(q,[2,44]),{45:[1,87]},{47:[1,88]},t(q,[2,47]),t(Y,[2,54],{30:89,22:z}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:Z,52:W,66:K,67:X,84:[1,97],92:V,98:96,99:[1,94],101:[1,95],106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(q,[2,159]),t(q,[2,160]),t(q,[2,161]),t(q,[2,162]),t(ut,[2,55],{53:[1,116]}),t(lt,[2,74],{117:129,40:[1,117],52:p,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:b,67:w,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],92:_,96:A,106:E,107:T,110:C,112:S,113:I,123:N,124:P,125:B,126:F,127:R,128:j}),t(ht,[2,151]),t(ht,[2,176]),t(ht,[2,177]),t(ht,[2,178]),t(ht,[2,179]),t(ht,[2,180]),t(ht,[2,181]),t(ht,[2,182]),t(ht,[2,183]),t(ht,[2,184]),t(ht,[2,185]),t(ht,[2,186]),t(ht,[2,187]),t(ht,[2,188]),t(ht,[2,189]),t(ht,[2,190]),t(ht,[2,191]),{9:130,20:H,21:U,23:G},{11:131,14:[1,132]},t(ft,[2,8]),t(a,[2,20]),t(a,[2,26]),t(a,[2,27]),{21:[1,133]},t(dt,[2,34],{30:134,22:z}),t(q,[2,35]),{50:135,51:45,52:p,54:46,66:b,67:w,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,123:N,124:P,125:B,126:F,127:R,128:j},t(gt,[2,48]),t(gt,[2,49]),t(gt,[2,50]),t(pt,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:bt,24:wt,26:mt,38:yt,39:139,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t([52,66,67,68,80,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,80]),t(q,[2,36]),t(q,[2,37]),t(q,[2,38]),t(q,[2,39]),t(q,[2,40]),{22:bt,24:wt,26:mt,38:yt,39:164,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(Bt,o,{17:165}),t(q,[2,45]),t(q,[2,46]),t(Y,[2,53],{52:Ft}),{26:Z,52:W,66:K,67:X,92:V,98:167,103:[1,168],106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},{96:[1,169],104:170,106:[1,171]},{26:Z,52:W,66:K,67:X,92:V,96:[1,172],98:173,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},{26:Z,52:W,66:K,67:X,92:V,98:174,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(ft,[2,102],{22:[1,175],100:[1,176]}),t(ft,[2,106],{22:[1,177]}),t(ft,[2,110],{116:100,118:179,22:[1,178],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,123:it,124:rt,125:at,126:ot,127:st,128:ct}),t(ft,[2,112],{22:[1,180]}),t(Rt,[2,153]),t(Rt,[2,155]),t(Rt,[2,156]),t(Rt,[2,157]),t(Rt,[2,158]),t(jt,[2,163]),t(jt,[2,164]),t(jt,[2,165]),t(jt,[2,166]),t(jt,[2,167]),t(jt,[2,168]),t(jt,[2,169]),t(jt,[2,170]),t(jt,[2,171]),t(jt,[2,172]),t(jt,[2,173]),t(jt,[2,174]),t(jt,[2,175]),{52:p,54:181,66:b,67:w,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,123:N,124:P,125:B,126:F,127:R,128:j},{22:bt,24:wt,26:mt,38:yt,39:182,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:183,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:185,42:vt,52:W,57:[1,184],66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:186,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:187,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:188,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{66:[1,189]},{22:bt,24:wt,26:mt,38:yt,39:190,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:191,42:vt,52:W,66:K,67:X,71:[1,192],73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:193,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:194,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:195,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(ht,[2,152]),t($t,[2,3]),{8:196,15:$},{15:[2,7]},t(a,[2,28]),t(dt,[2,33]),t(Y,[2,51],{30:197,22:z}),t(pt,[2,75],{22:[1,198]}),{22:[1,199]},{22:bt,24:wt,26:mt,38:yt,39:200,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,73:xt,81:kt,82:[1,201],83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(jt,[2,82]),t(jt,[2,84]),t(jt,[2,85]),t(jt,[2,141]),t(jt,[2,142]),t(jt,[2,143]),t(jt,[2,144]),t(jt,[2,145]),t(jt,[2,146]),t(jt,[2,147]),t(jt,[2,148]),t(jt,[2,149]),t(jt,[2,150]),t(jt,[2,86]),t(jt,[2,87]),t(jt,[2,88]),t(jt,[2,89]),t(jt,[2,90]),t(jt,[2,91]),t(jt,[2,92]),t(jt,[2,93]),t(jt,[2,94]),t(jt,[2,95]),t(jt,[2,96]),{9:204,20:H,21:U,22:bt,23:G,24:wt,26:mt,38:yt,40:[1,203],42:vt,52:W,66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,205],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,87:m,88:y,89:v,90:x,91:k,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,119:M,120:D,121:O,122:L,123:N,124:P,125:B,126:F,127:R,128:j},{22:z,30:206},{22:[1,207],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:179,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:[1,208]},{22:[1,209]},{22:[1,210],107:[1,211]},t(zt,[2,124]),{22:[1,212]},{22:[1,213],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:179,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:[1,214],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:179,123:it,124:rt,125:at,126:ot,127:st,128:ct},{84:[1,215]},t(ft,[2,104],{22:[1,216]}),{84:[1,217],102:[1,218]},{84:[1,219]},t(Rt,[2,154]),{84:[1,220],102:[1,221]},t(ut,[2,57],{117:129,52:p,66:b,67:w,92:_,96:A,106:E,107:T,110:C,112:S,113:I,123:N,124:P,125:B,126:F,127:R,128:j}),{22:bt,24:wt,26:mt,38:yt,41:[1,222],42:vt,52:W,66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,56:[1,223],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:224,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,58:[1,225],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,60:[1,226],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,62:[1,227],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,64:[1,228],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{67:[1,229]},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,70:[1,230],73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,72:[1,231],73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:232,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,41:[1,233],42:vt,52:W,66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,73:xt,75:[1,234],77:[1,235],81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,73:xt,75:[1,237],77:[1,236],81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{9:238,20:H,21:U,23:G},t(Y,[2,52],{52:Ft}),t(pt,[2,77]),t(pt,[2,76]),{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,68:[1,239],73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(pt,[2,79]),t(jt,[2,83]),{22:bt,24:wt,26:mt,38:yt,39:240,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(Bt,o,{17:241}),t(q,[2,43]),{51:242,52:p,54:46,66:b,67:w,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,123:N,124:P,125:B,126:F,127:R,128:j},{22:qt,66:Ht,67:Ut,87:Gt,97:243,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{22:qt,66:Ht,67:Ut,87:Gt,97:257,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{22:qt,66:Ht,67:Ut,87:Gt,97:258,103:Yt,105:[1,259],106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{22:qt,66:Ht,67:Ut,87:Gt,97:260,103:Yt,105:[1,261],106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{106:[1,262]},{22:qt,66:Ht,67:Ut,87:Gt,97:263,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{22:qt,66:Ht,67:Ut,87:Gt,97:264,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{26:Z,52:W,66:K,67:X,92:V,98:265,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(ft,[2,103]),{84:[1,266]},t(ft,[2,107],{22:[1,267]}),t(ft,[2,108]),t(ft,[2,111]),t(ft,[2,113],{22:[1,268]}),t(ft,[2,114]),t(lt,[2,58]),t(lt,[2,59]),{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,58:[1,269],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(lt,[2,66]),t(lt,[2,61]),t(lt,[2,62]),t(lt,[2,63]),{66:[1,270]},t(lt,[2,65]),t(lt,[2,67]),{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,72:[1,271],73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(lt,[2,69]),t(lt,[2,70]),t(lt,[2,72]),t(lt,[2,71]),t(lt,[2,73]),t($t,[2,4]),t([22,52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,81]),{22:bt,24:wt,26:mt,38:yt,41:[1,272],42:vt,52:W,66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,273],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,87:m,88:y,89:v,90:x,91:k,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,119:M,120:D,121:O,122:L,123:N,124:P,125:B,126:F,127:R,128:j},t(ut,[2,56]),t(ft,[2,116],{107:Jt}),t(te,[2,126],{109:275,22:qt,66:Ht,67:Ut,87:Gt,103:Yt,106:Zt,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt}),t(ee,[2,128]),t(ee,[2,130]),t(ee,[2,131]),t(ee,[2,132]),t(ee,[2,133]),t(ee,[2,134]),t(ee,[2,135]),t(ee,[2,136]),t(ee,[2,137]),t(ee,[2,138]),t(ee,[2,139]),t(ee,[2,140]),t(ft,[2,117],{107:Jt}),t(ft,[2,118],{107:Jt}),{22:[1,276]},t(ft,[2,119],{107:Jt}),{22:[1,277]},t(zt,[2,125]),t(ft,[2,99],{107:Jt}),t(ft,[2,100],{107:Jt}),t(ft,[2,101],{116:100,118:179,26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,123:it,124:rt,125:at,126:ot,127:st,128:ct}),t(ft,[2,105]),{102:[1,278]},{102:[1,279]},{58:[1,280]},{68:[1,281]},{72:[1,282]},{9:283,20:H,21:U,23:G},t(q,[2,42]),{22:qt,66:Ht,67:Ut,87:Gt,103:Yt,106:Zt,108:284,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},t(ee,[2,129]),{26:Z,52:W,66:K,67:X,92:V,98:285,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},{26:Z,52:W,66:K,67:X,92:V,98:286,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(ft,[2,109]),t(ft,[2,115]),t(lt,[2,60]),{22:bt,24:wt,26:mt,38:yt,39:287,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(lt,[2,68]),t(Bt,o,{17:288}),t(te,[2,127],{109:275,22:qt,66:Ht,67:Ut,87:Gt,103:Yt,106:Zt,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt}),t(ft,[2,122],{116:100,118:179,22:[1,289],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,123:it,124:rt,125:at,126:ot,127:st,128:ct}),t(ft,[2,123],{116:100,118:179,22:[1,290],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,123:it,124:rt,125:at,126:ot,127:st,128:ct}),{22:bt,24:wt,26:mt,38:yt,41:[1,291],42:vt,52:W,66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,292],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,87:m,88:y,89:v,90:x,91:k,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,119:M,120:D,121:O,122:L,123:N,124:P,125:B,126:F,127:R,128:j},{22:qt,66:Ht,67:Ut,87:Gt,97:293,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{22:qt,66:Ht,67:Ut,87:Gt,97:294,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},t(lt,[2,64]),t(q,[2,41]),t(ft,[2,120],{107:Jt}),t(ft,[2,121],{107:Jt})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},ie={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:return this.begin("acc_title"),44;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),46;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 14:case 16:case 25:case 28:case 31:case 34:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:this.begin("md_string");break;case 13:return"MD_STR";case 15:this.begin("string");break;case 17:return"STR";case 18:return 87;case 19:return 96;case 20:return 88;case 21:return 105;case 22:return 89;case 23:return 90;case 24:this.begin("href");break;case 26:return 101;case 27:this.begin("callbackname");break;case 29:this.popState(),this.begin("callbackargs");break;case 30:return 99;case 32:return 100;case 33:this.begin("click");break;case 35:return 91;case 36:case 37:case 38:return t.lex.firstGraph()&&this.begin("dir"),24;case 39:return 38;case 40:return 42;case 41:case 42:case 43:case 44:return 102;case 45:return this.popState(),25;case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:return this.popState(),26;case 56:return 119;case 57:return 120;case 58:return 121;case 59:return 122;case 60:return 106;case 61:return 112;case 62:return 53;case 63:return 67;case 64:return 52;case 65:return 20;case 66:return 107;case 67:return 127;case 68:case 69:case 70:case 71:return 82;case 72:case 73:case 74:return 81;case 75:return 59;case 76:return 60;case 77:return 61;case 78:return 62;case 79:return 63;case 80:return 64;case 81:return 65;case 82:return 69;case 83:return 70;case 84:return 55;case 85:return 56;case 86:return 110;case 87:return 113;case 88:return 128;case 89:return 125;case 90:return 114;case 91:case 92:return 126;case 93:return 115;case 94:return 73;case 95:return 93;case 96:return"SEP";case 97:return 92;case 98:return 66;case 99:return 75;case 100:return 74;case 101:return 77;case 102:return 76;case 103:return 123;case 104:return 124;case 105:return 68;case 106:return 57;case 107:return 58;case 108:return 40;case 109:return 41;case 110:return 71;case 111:return 72;case 112:return 134;case 113:return 21;case 114:return 22;case 115:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[31,32],inclusive:!1},callbackname:{rules:[28,29,30],inclusive:!1},href:{rules:[25,26],inclusive:!1},click:{rules:[34,35],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[45,46,47,48,49,50,51,52,53,54,55],inclusive:!1},acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},md_string:{rules:[13,14],inclusive:!1},string:{rules:[16,17],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,15,18,19,20,21,22,23,24,27,33,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],inclusive:!0}}};function re(){this.yy={}}return ne.lexer=ie,re.prototype=ne,ne.Parser=re,new re}();a.parser=a;const o=a;let s,c,u=0,l=(0,r.c)(),h={},f=[],d={},g=[],p={},b={},w=0,m=!0,y=[];const v=t=>r.e.sanitizeText(t,l),x=function(t,e,n){r.m.parseDirective(this,t,e,n)},k=function(t){const e=Object.keys(h);for(const n of e)if(h[n].id===t)return h[n].domId;return t},_=function(t,e,n,i,a,o,s={}){let c,f=t;void 0!==f&&0!==f.trim().length&&(void 0===h[f]&&(h[f]={id:f,labelType:"text",domId:"flowchart-"+f+"-"+u,styles:[],classes:[]}),u++,void 0!==e?(l=(0,r.c)(),c=v(e.text.trim()),h[f].labelType=e.type,'"'===c[0]&&'"'===c[c.length-1]&&(c=c.substring(1,c.length-1)),h[f].text=c):void 0===h[f].text&&(h[f].text=t),void 0!==n&&(h[f].type=n),null!=i&&i.forEach((function(t){h[f].styles.push(t)})),null!=a&&a.forEach((function(t){h[f].classes.push(t)})),void 0!==o&&(h[f].dir=o),void 0===h[f].props?h[f].props=s:void 0!==s&&Object.assign(h[f].props,s))},A=function(t,e,n){const i={start:t,end:e,type:void 0,text:"",labelType:"text"};r.l.info("abc78 Got edge...",i);const a=n.text;void 0!==a&&(i.text=v(a.text.trim()),'"'===i.text[0]&&'"'===i.text[i.text.length-1]&&(i.text=i.text.substring(1,i.text.length-1)),i.labelType=a.type),void 0!==n&&(i.type=n.type,i.stroke=n.stroke,i.length=n.length),f.push(i)},E=function(t,e,n){let i,a;for(r.l.info("addLink (abc78)",t,e,n),i=0;i<t.length;i++)for(a=0;a<e.length;a++)A(t[i],e[a],n)},T=function(t,e){t.forEach((function(t){"default"===t?f.defaultInterpolate=e:f[t].interpolate=e}))},C=function(t,e){t.forEach((function(t){"default"===t?f.defaultStyle=e:(-1===r.u.isSubstringInArray("fill",e)&&e.push("fill:none"),f[t].style=e)}))},S=function(t,e){void 0===d[t]&&(d[t]={id:t,styles:[],textStyles:[]}),null!=e&&e.forEach((function(e){if(e.match("color")){const n=e.replace("fill","bgFill").replace("color","fill");d[t].textStyles.push(n)}d[t].styles.push(e)}))},I=function(t){s=t,s.match(/.*</)&&(s="RL"),s.match(/.*\^/)&&(s="BT"),s.match(/.*>/)&&(s="LR"),s.match(/.*v/)&&(s="TB"),"TD"===s&&(s="TB")},M=function(t,e){t.split(",").forEach((function(t){let n=t;void 0!==h[n]&&h[n].classes.push(e),void 0!==p[n]&&p[n].classes.push(e)}))},D=function(t,e,n){t.split(",").forEach((function(t){void 0!==h[t]&&(h[t].link=r.u.formatUrl(e,l),h[t].linkTarget=n)})),M(t,"clickable")},O=function(t){return b[t]},L=function(t,e,n){t.split(",").forEach((function(t){!function(t,e,n){let i=k(t);if("loose"!==(0,r.c)().securityLevel)return;if(void 0===e)return;let a=[];if("string"==typeof n){a=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<a.length;t++){let e=a[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),a[t]=e}}0===a.length&&a.push(t),void 0!==h[t]&&(h[t].haveCallback=!0,y.push((function(){const t=document.querySelector(`[id="${i}"]`);null!==t&&t.addEventListener("click",(function(){r.u.runFunc(e,...a)}),!1)})))}(t,e,n)})),M(t,"clickable")},N=function(t){y.forEach((function(e){e(t)}))},P=function(){return s.trim()},B=function(){return h},F=function(){return f},R=function(){return d},j=function(t){let e=(0,i.Ys)(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=(0,i.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0));(0,i.Ys)(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=(0,i.Ys)(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"<br/>")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0);(0,i.Ys)(this).classed("hover",!1)}))};y.push(j);const $=function(t="gen-1"){h={},d={},f=[],y=[j],g=[],p={},w=0,b=[],m=!0,c=t,(0,r.v)()},z=t=>{c=t||"gen-2"},q=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},H=function(t,e,n){let i=t.text.trim(),a=n.text;t===n&&n.text.match(/\s/)&&(i=void 0);let o=[];const{nodeList:s,dir:u}=function(t){const e={boolean:{},number:{},string:{}},n=[];let i;return{nodeList:t.filter((function(t){const r=typeof t;return t.stmt&&"dir"===t.stmt?(i=t.value,!1):""!==t.trim()&&(r in e?!e[r].hasOwnProperty(t)&&(e[r][t]=!0):!n.includes(t)&&n.push(t))})),dir:i}}(o.concat.apply(o,e));if(o=s,"gen-1"===c)for(let t=0;t<o.length;t++)o[t]=k(o[t]);i=i||"subGraph"+w,a=a||"",a=v(a),w+=1;const l={id:i,nodes:o,title:a.trim(),classes:[],dir:u,labelType:n.type};return r.l.info("Adding",l.id,l.nodes,l.dir),l.nodes=tt(l,g).nodes,g.push(l),p[i]=l,i},U=function(t){for(const[e,n]of g.entries())if(n.id===t)return e;return-1};let G=-1;const Y=[],Z=function(t,e){const n=g[e].nodes;if(G+=1,G>2e3)return;if(Y[G]=e,g[e].id===t)return{result:!0,count:0};let i=0,r=1;for(;i<n.length;){const e=U(n[i]);if(e>=0){const n=Z(t,e);if(n.result)return{result:!0,count:r+n.count};r+=n.count}i+=1}return{result:!1,count:r}},W=function(t){return Y[t]},K=function(){G=-1,g.length>0&&Z("none",g.length-1)},X=function(){return g},V=()=>!!m&&(m=!1,!0),Q=(t,e)=>{const n=(t=>{const e=t.trim();let n=e.slice(0,-1),i="arrow_open";switch(e.slice(-1)){case"x":i="arrow_cross","x"===e[0]&&(i="double_"+i,n=n.slice(1));break;case">":i="arrow_point","<"===e[0]&&(i="double_"+i,n=n.slice(1));break;case"o":i="arrow_circle","o"===e[0]&&(i="double_"+i,n=n.slice(1))}let r="normal",a=n.length-1;"="===n[0]&&(r="thick"),"~"===n[0]&&(r="invisible");let o=((t,e)=>{const n=e.length;let i=0;for(let r=0;r<n;++r)e[r]===t&&++i;return i})(".",n);return o&&(r="dotted",a=o),{type:i,stroke:r,length:a}})(t);let i;if(e){if(i=(t=>{let e=t.trim(),n="arrow_open";switch(e[0]){case"<":n="arrow_point",e=e.slice(1);break;case"x":n="arrow_cross",e=e.slice(1);break;case"o":n="arrow_circle",e=e.slice(1)}let i="normal";return e.includes("=")&&(i="thick"),e.includes(".")&&(i="dotted"),{type:n,stroke:i}})(e),i.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===i.type)i.type=n.type;else{if(i.type!==n.type)return{type:"INVALID",stroke:"INVALID"};i.type="double_"+i.type}return"double_arrow"===i.type&&(i.type="double_arrow_point"),i.length=n.length,i}return n},J=(t,e)=>{let n=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(n=!0)})),n},tt=(t,e)=>{const n=[];return t.nodes.forEach(((i,r)=>{J(e,i)||n.push(t.nodes[r])})),{nodes:n}},et={firstGraph:V},nt={parseDirective:x,defaultConfig:()=>r.G.flowchart,setAccTitle:r.s,getAccTitle:r.g,getAccDescription:r.a,setAccDescription:r.b,addVertex:_,lookUpDomId:k,addLink:E,updateLinkInterpolate:T,updateLink:C,addClass:S,setDirection:I,setClass:M,setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(b["gen-1"===c?k(t):t]=v(e))}))},getTooltip:O,setClickEvent:L,setLink:D,bindFunctions:N,getDirection:P,getVertices:B,getEdges:F,getClasses:R,clear:$,setGen:z,defaultStyle:q,addSubGraph:H,getDepthFirstPos:W,indexNodes:K,getSubGraphs:X,destructLink:Q,lex:et,exists:J,makeUniq:tt,setDiagramTitle:r.r,getDiagramTitle:r.t},it=Object.freeze(Object.defineProperty({__proto__:null,addClass:S,addLink:E,addSingleLink:A,addSubGraph:H,addVertex:_,bindFunctions:N,clear:$,default:nt,defaultStyle:q,destructLink:Q,firstGraph:V,getClasses:R,getDepthFirstPos:W,getDirection:P,getEdges:F,getSubGraphs:X,getTooltip:O,getVertices:B,indexNodes:K,lex:et,lookUpDomId:k,parseDirective:x,setClass:M,setClickEvent:L,setDirection:I,setGen:z,setLink:D,updateLink:C,updateLinkInterpolate:T},Symbol.toStringTag,{value:"Module"}))},797:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return c}});var i=n(895),r=(n(8066),n(1504));n(8540),n(4734),n(9999),n(6227),n(1768),n(6421);n(8137);n(7474),n(6460);n(9980);r.c_6;var a=n(8489);n(7530),n(2510),n(6951),n(835);const o={},s=function(t){const e=Object.keys(t);for(const n of e)o[n]=t[n]},c={parser:i.p,db:i.f,renderer:a.f,styles:a.a,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,s(t.flowchart),i.f.clear(),i.f.setGen("gen-1")}}},8832:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return o}});var i=n(895),r=n(8489),a=n(8540);n(1504),n(8066),n(1768),n(835),n(7530),n(2510),n(6951);const o={parser:i.p,db:i.f,renderer:r.f,styles:r.a,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,(0,a.q)({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}}),r.f.setConf(t.flowchart),i.f.clear(),i.f.setGen("gen-2")}}},5248:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return x}});var i=n(895),r=n(1504),a=n(3430),o=n(8540),s=n(7697);n(7530),n(2510),n(6951);const c=new s;let u={};const l={};let h={};const f=(t,e,n)=>{const i={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return i.TD=i.TB,o.l.info("abc88",n,e,t),i[n][e][t]},d=(t,e,n)=>{if(o.l.info("getNextPort abc88",{node:t,edgeDirection:e,graphDirection:n}),!u[t])switch(n){case"TB":case"TD":u[t]={inPosition:"north",outPosition:"south"};break;case"BT":u[t]={inPosition:"south",outPosition:"north"};break;case"RL":u[t]={inPosition:"east",outPosition:"west"};break;case"LR":u[t]={inPosition:"west",outPosition:"east"}}const i="in"===e?u[t].inPosition:u[t].outPosition;return"in"===e?u[t].inPosition=f(u[t].inPosition,e,n):u[t].outPosition=f(u[t].outPosition,e,n),i},g=function(t,e,n,i){o.l.info("abc78 edges = ",t);const s=i.insert("g").attr("class","edgeLabels");let c,u,f={},g=e.db.getDirection();if(void 0!==t.defaultStyle){const e=(0,o.k)(t.defaultStyle);c=e.style,u=e.labelStyle}return t.forEach((function(e){const i="L-"+e.start+"-"+e.end;void 0===f[i]?(f[i]=0,o.l.info("abc78 new entry",i,f[i])):(f[i]++,o.l.info("abc78 new entry",i,f[i]));let p=i+"-"+f[i];o.l.info("abc78 new link id to be used is",i,p,f[i]);const b="LS-"+e.start,w="LE-"+e.end,m={style:"",labelStyle:""};switch(m.minlen=e.length||1,"arrow_open"===e.type?m.arrowhead="none":m.arrowhead="normal",m.arrowTypeStart="arrow_open",m.arrowTypeEnd="arrow_open",e.type){case"double_arrow_cross":m.arrowTypeStart="arrow_cross";case"arrow_cross":m.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":m.arrowTypeStart="arrow_point";case"arrow_point":m.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":m.arrowTypeStart="arrow_circle";case"arrow_circle":m.arrowTypeEnd="arrow_circle"}let y="",v="";switch(e.stroke){case"normal":y="fill:none;",void 0!==c&&(y=c),void 0!==u&&(v=u),m.thickness="normal",m.pattern="solid";break;case"dotted":m.thickness="normal",m.pattern="dotted",m.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":m.thickness="thick",m.pattern="solid",m.style="stroke-width: 3.5px;fill:none;"}if(void 0!==e.style){const t=(0,o.k)(e.style);y=t.style,v=t.labelStyle}m.style=m.style+=y,m.labelStyle=m.labelStyle+=v,void 0!==e.interpolate?m.curve=(0,o.o)(e.interpolate,r.c_6):void 0!==t.defaultInterpolate?m.curve=(0,o.o)(t.defaultInterpolate,r.c_6):m.curve=(0,o.o)(l.curve,r.c_6),void 0===e.text?void 0!==e.style&&(m.arrowheadStyle="fill: #333"):(m.arrowheadStyle="fill: #333",m.labelpos="c"),m.labelType=e.labelType,m.label=e.text.replace(o.e.lineBreakRegex,"\n"),void 0===e.style&&(m.style=m.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),m.labelStyle=m.labelStyle.replace("color:","fill:"),m.id=p,m.classes="flowchart-link "+b+" "+w;const x=(0,a.f)(s,m),{source:k,target:_,sourceId:A,targetId:E}=((t,e)=>{let n=t.start,i=t.end;const r=n,a=i,o=h[n],s=h[i];return o&&s?("diamond"===o.type&&(n=`${n}-${d(n,"out",e)}`),"diamond"===s.type&&(i=`${i}-${d(i,"in",e)}`),{source:n,target:i,sourceId:r,targetId:a}):{source:n,target:i}})(e,g);o.l.debug("abc78 source and target",k,_),n.edges.push({id:"e"+e.start+e.end,sources:[k],targets:[_],sourceId:A,targetId:E,labelEl:x,labels:[{width:m.width,height:m.height,orgWidth:m.width,orgHeight:m.height,text:m.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:m})})),n},p=function(t,e,n){const i=((t,e,n)=>{const{parentById:i}=n,r=new Set;let a=t;for(;a;){if(r.add(a),a===e)return a;a=i[a]}for(a=e;a;){if(r.has(a))return a;a=i[a]}return"root"})(t,e,n);if(void 0===i||"root"===i)return{x:0,y:0};const r=h[i].offset;return{x:r.posX,y:r.posY}},b=function(t,e,n,i,a){const o=p(e.sourceId,e.targetId,a),s=e.sections[0].startPoint,c=e.sections[0].endPoint,u=(e.sections[0].bendPoints?e.sections[0].bendPoints:[]).map((t=>[t.x+o.x,t.y+o.y])),l=[[s.x+o.x,s.y+o.y],...u,[c.x+o.x,c.y+o.y]],h=(0,r.jvg)().curve(r.c_6),f=t.insert("path").attr("d",h(l)).attr("class","path "+n.classes).attr("fill","none"),d=t.insert("g").attr("class","edgeLabel"),g=(0,r.Ys)(d.node().appendChild(e.labelEl)),b=g.node().firstChild.getBoundingClientRect();g.attr("width",b.width),g.attr("height",b.height),d.attr("transform",`translate(${e.labels[0].x+o.x}, ${e.labels[0].y+o.y})`),function(t,e,n,i){let r="";switch(i&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),e.arrowTypeStart){case"arrow_cross":t.attr("marker-start","url("+r+"#"+n+"-crossStart)");break;case"arrow_point":t.attr("marker-start","url("+r+"#"+n+"-pointStart)");break;case"arrow_barb":t.attr("marker-start","url("+r+"#"+n+"-barbStart)");break;case"arrow_circle":t.attr("marker-start","url("+r+"#"+n+"-circleStart)");break;case"aggregation":t.attr("marker-start","url("+r+"#"+n+"-aggregationStart)");break;case"extension":t.attr("marker-start","url("+r+"#"+n+"-extensionStart)");break;case"composition":t.attr("marker-start","url("+r+"#"+n+"-compositionStart)");break;case"dependency":t.attr("marker-start","url("+r+"#"+n+"-dependencyStart)");break;case"lollipop":t.attr("marker-start","url("+r+"#"+n+"-lollipopStart)")}switch(e.arrowTypeEnd){case"arrow_cross":t.attr("marker-end","url("+r+"#"+n+"-crossEnd)");break;case"arrow_point":t.attr("marker-end","url("+r+"#"+n+"-pointEnd)");break;case"arrow_barb":t.attr("marker-end","url("+r+"#"+n+"-barbEnd)");break;case"arrow_circle":t.attr("marker-end","url("+r+"#"+n+"-circleEnd)");break;case"aggregation":t.attr("marker-end","url("+r+"#"+n+"-aggregationEnd)");break;case"extension":t.attr("marker-end","url("+r+"#"+n+"-extensionEnd)");break;case"composition":t.attr("marker-end","url("+r+"#"+n+"-compositionEnd)");break;case"dependency":t.attr("marker-end","url("+r+"#"+n+"-dependencyEnd)");break;case"lollipop":t.attr("marker-end","url("+r+"#"+n+"-lollipopEnd)")}}(f,n,i.type,i.arrowMarkerAbsolute)},w=(t,e)=>{t.forEach((t=>{t.children||(t.children=[]);const n=e.childrenById[t.id];n&&n.forEach((e=>{t.children.push(h[e])})),w(t.children,e)}))},m=(t,e,n,i,r,a,s)=>{n.forEach((function(n){if(n)if(h[n.id].offset={posX:n.x+t,posY:n.y+e,x:t,y:e,depth:s,width:n.width,height:n.height},"group"===n.type){const i=r.insert("g").attr("class","subgraph");i.insert("rect").attr("class","subgraph subgraph-lvl-"+s%5+" node").attr("x",n.x+t).attr("y",n.y+e).attr("width",n.width).attr("height",n.height);const a=i.insert("g").attr("class","label"),c=(0,o.c)().flowchart.htmlLabels?n.labelData.width/2:0;a.attr("transform",`translate(${n.labels[0].x+t+n.x+c}, ${n.labels[0].y+e+n.y+3})`),a.node().appendChild(n.labelData.labelNode),o.l.info("Id (UGH)= ",n.type,n.labels)}else o.l.info("Id (UGH)= ",n.id),n.el.attr("transform",`translate(${n.x+t+n.width/2}, ${n.y+e+n.height/2})`)})),n.forEach((function(n){n&&"group"===n.type&&m(t+n.x,e+n.y,n.children,i,r,a,s+1)}))},y={getClasses:function(t,e){o.l.info("Extracting classes"),e.db.clear("ver-2");try{return e.parse(t),e.db.getClasses()}catch(t){return{}}},draw:async function(t,e,n,i){var s;i.db.clear(),h={},u={},i.db.setGen("gen-2"),i.parser.parse(t);const l=(0,r.Ys)("body").append("div").attr("style","height:400px").attr("id","cy");let f={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(o.l.info("Drawing flowchart using v3 renderer",c),i.db.getDirection()){case"BT":f.layoutOptions["elk.direction"]="UP";break;case"TB":f.layoutOptions["elk.direction"]="DOWN";break;case"LR":f.layoutOptions["elk.direction"]="RIGHT";break;case"RL":f.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:d,flowchart:p}=(0,o.c)();let y;"sandbox"===d&&(y=(0,r.Ys)("#i"+e));const v="sandbox"===d?(0,r.Ys)(y.nodes()[0].contentDocument.body):(0,r.Ys)("body"),x="sandbox"===d?y.nodes()[0].contentDocument:document,k=v.select(`[id="${e}"]`);(0,a.a)(k,["point","circle","cross"],i.type,i.arrowMarkerAbsolute);const _=i.db.getVertices();let A;const E=i.db.getSubGraphs();o.l.info("Subgraphs - ",E);for(let t=E.length-1;t>=0;t--)A=E[t],i.db.addVertex(A.id,{text:A.title,type:A.labelType},"group",void 0,A.classes,A.dir);const T=k.insert("g").attr("class","subgraphs"),C=function(t){const e={parentById:{},childrenById:{}},n=t.getSubGraphs();return o.l.info("Subgraphs - ",n),n.forEach((function(t){t.nodes.forEach((function(n){e.parentById[n]=t.id,void 0===e.childrenById[t.id]&&(e.childrenById[t.id]=[]),e.childrenById[t.id].push(n)}))})),n.forEach((function(t){t.id,void 0!==e.parentById[t.id]&&e.parentById[t.id]})),e}(i.db);f=await async function(t,e,n,i,r,s,c){const u=n.select(`[id="${e}"]`).insert("g").attr("class","nodes"),l=Object.keys(t);return await Promise.all(l.map((async function(e){const n=t[e];let c="default";n.classes.length>0&&(c=n.classes.join(" ")),c+=" flowchart-label";const l=(0,o.k)(n.styles);let f=void 0!==n.text?n.text:n.id;const d={width:0,height:0},g=[{id:n.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:n.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:n.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:n.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let p=0,b="",w={};switch(n.type){case"round":p=5,b="rect";break;case"square":case"group":default:b="rect";break;case"diamond":b="question",w={portConstraints:"FIXED_SIDE"};break;case"hexagon":b="hexagon";break;case"odd":case"odd_right":b="rect_left_inv_arrow";break;case"lean_right":b="lean_right";break;case"lean_left":b="lean_left";break;case"trapezoid":b="trapezoid";break;case"inv_trapezoid":b="inv_trapezoid";break;case"circle":b="circle";break;case"ellipse":b="ellipse";break;case"stadium":b="stadium";break;case"subroutine":b="subroutine";break;case"cylinder":b="cylinder";break;case"doublecircle":b="doublecircle"}const m={labelStyle:l.labelStyle,shape:b,labelText:f,labelType:n.labelType,rx:p,ry:p,class:c,style:l.style,id:n.id,link:n.link,linkTarget:n.linkTarget,tooltip:r.db.getTooltip(n.id)||"",domId:r.db.lookUpDomId(n.id),haveCallback:n.haveCallback,width:"group"===n.type?500:void 0,dir:n.dir,type:n.type,props:n.props,padding:(0,o.c)().flowchart.padding};let y,v;if("group"!==m.type)v=await(0,a.e)(u,m,n.dir),y=v.node().getBBox();else{i.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:t,bbox:e}=await(0,a.l)(u,m,void 0,!0);d.width=e.width,d.wrappingWidth=(0,o.c)().flowchart.wrappingWidth,d.height=e.height,d.labelNode=t.node(),m.labelData=d}const x={id:n.id,ports:"diamond"===n.type?g:[],layoutOptions:w,labelText:f,labelData:d,domId:r.db.lookUpDomId(n.id),width:null==y?void 0:y.width,height:null==y?void 0:y.height,type:n.type,el:v,parent:s.parentById[n.id]};h[m.id]=x}))),c}(_,e,v,x,i,C,f);const S=k.insert("g").attr("class","edges edgePath"),I=i.db.getEdges();f=g(I,i,f,k);Object.keys(h).forEach((t=>{const e=h[t];e.parent||f.children.push(e),void 0!==C.childrenById[t]&&(e.labels=[{text:e.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:e.labelData.width,height:e.labelData.height}],delete e.x,delete e.y,delete e.width,delete e.height)})),w(f.children,C),o.l.info("after layout",JSON.stringify(f,null,2));const M=await c.layout(f);m(0,0,M.children,k,T,i,0),o.l.info("after layout",M),null==(s=M.edges)||s.map((t=>{b(S,t,t.edgeData,i,C)})),(0,o.p)({},k,p.diagramPadding,p.useMaxWidth),l.remove()}},v=t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n\n .label text,span {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.85;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n\n .flowchart-label text {\n text-anchor: middle;\n }\n\n ${(t=>{let e="";for(let n=0;n<5;n++)e+=`\n .subgraph-lvl-${n} {\n fill: ${t[`surface${n}`]};\n stroke: ${t[`surfacePeer${n}`]};\n }\n `;return e})(t)}\n`,x={db:i.d,renderer:y,parser:i.p,styles:v}},2418:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return W}});var i=n(2510),r=n(7530),a=n(7547),o=n(5466),s=n(7664),c=n(8540),u=n(1504),l=(n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,5],i=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,20],l=[1,21],h=[1,22],f=[1,23],d=[1,24],g=[1,25],p=[1,26],b=[1,27],w=[1,29],m=[1,31],y=[1,34],v=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],x={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 2:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 9:i.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 10:i.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 11:i.TopAxis(),this.$=a[s].substr(8);break;case 12:i.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 13:i.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 14:i.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 15:i.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 16:i.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 17:i.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 18:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 19:case 20:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 21:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 23:i.addTask(a[s-1],a[s]),this.$="task";break;case 27:this.$=a[s-1],i.setClickEvent(a[s-1],a[s],null);break;case 28:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 29:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],null),i.setLink(a[s-2],a[s]);break;case 30:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-2],a[s-1]),i.setLink(a[s-3],a[s]);break;case 31:this.$=a[s-2],i.setClickEvent(a[s-2],a[s],null),i.setLink(a[s-2],a[s-1]);break;case 32:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-1],a[s]),i.setLink(a[s-3],a[s-2]);break;case 33:this.$=a[s-1],i.setLink(a[s-1],a[s]);break;case 34:case 40:this.$=a[s-1]+" "+a[s];break;case 35:case 36:case 38:this.$=a[s-2]+" "+a[s-1]+" "+a[s];break;case 37:case 39:this.$=a[s-3]+" "+a[s-2]+" "+a[s-1]+" "+a[s];break;case 41:i.parseDirective("%%{","open_directive");break;case 42:i.parseDirective(a[s],"type_directive");break;case 43:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 44:i.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:e,30:4,40:n},{1:[3]},{3:6,4:2,5:e,30:4,40:n},t(i,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:r,13:a,14:o,15:s,16:c,17:u,18:l,19:h,20:f,21:d,23:g,25:p,26:b,27:28,28:w,30:4,35:m,40:n},{32:32,33:[1,33],43:y},t([33,43],[2,42]),t(i,[2,8],{1:[2,2]}),t(i,[2,4]),{4:30,10:35,12:r,13:a,14:o,15:s,16:c,17:u,18:l,19:h,20:f,21:d,23:g,25:p,26:b,27:28,28:w,30:4,35:m,40:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),t(i,[2,12]),t(i,[2,13]),t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),{22:[1,36]},{24:[1,37]},t(i,[2,20]),t(i,[2,21]),t(i,[2,22]),{29:[1,38]},t(i,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(i,[2,5]),t(i,[2,18]),t(i,[2,19]),t(i,[2,23]),t(i,[2,27],{37:[1,44],38:[1,45]}),t(i,[2,33],{36:[1,46]}),t(v,[2,25]),{32:47,43:y},{43:[2,43]},t(i,[2,28],{38:[1,48]}),t(i,[2,29]),t(i,[2,31],{37:[1,49]}),{11:[1,50]},t(i,[2,30]),t(i,[2,32]),t(v,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},k={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("open_directive"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin("acc_title"),21;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),23;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 20:case 23:case 26:case 29:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:case 13:case 14:case 16:case 17:case 18:break;case 15:return 11;case 19:this.begin("href");break;case 21:return 38;case 22:this.begin("callbackname");break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 36;case 27:return 37;case 28:this.begin("click");break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return"date";case 41:return 20;case 42:return"accDescription";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/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,/^(?:\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:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};function _(){this.yy={}}return x.lexer=k,_.prototype=x,x.Parser=_,new _}());l.parser=l;const h=l;r.extend(a),r.extend(o),r.extend(s);let f,d="",g="",p="",b=[],w=[],m={},y=[],v=[],x="",k="";const _=["active","done","crit","milestone"];let A=[],E=!1,T=!1,C=0;const S=function(t,e,n,i){return!i.includes(t.format(e.trim()))&&(!!(t.isoWeekday()>=6&&n.includes("weekends"))||(!!n.includes(t.format("dddd").toLowerCase())||n.includes(t.format(e.trim()))))},I=function(t,e,n,i){if(!n.length||t.manualEndTime)return;let a,o;a=t.startTime instanceof Date?r(t.startTime):r(t.startTime,e,!0),a=a.add(1,"d"),o=t.endTime instanceof Date?r(t.endTime):r(t.endTime,e,!0);const[s,c]=M(a,o,e,n,i);t.endTime=s.toDate(),t.renderEndTime=c},M=function(t,e,n,i,r){let a=!1,o=null;for(;t<=e;)a||(o=e.toDate()),a=S(t,n,i,r),a&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,o]},D=function(t,e,n){n=n.trim();const i=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==i){let t=null;if(i[1].split(" ").forEach((function(e){let n=$(e);void 0!==n&&(t?n.endTime>t.endTime&&(t=n):t=n)})),t)return t.endTime;{const t=new Date;return t.setHours(0,0,0,0),t}}let a=r(n,e.trim(),!0);if(a.isValid())return a.toDate();{c.l.debug("Invalid date:"+n),c.l.debug("With date format:"+e.trim());const t=new Date(n);if(void 0===t||isNaN(t.getTime())||t.getFullYear()<-1e4||t.getFullYear()>1e4)throw new Error("Invalid date:"+n);return t}},O=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},L=function(t,e,n,i=!1){n=n.trim();let a=r(n,e.trim(),!0);if(a.isValid())return i&&(a=a.add(1,"d")),a.toDate();let o=r(t);const[s,c]=O(n);if(!Number.isNaN(s)){const t=o.add(s,c);t.isValid()&&(o=t)}return o.toDate()};let N=0;const P=function(t){return void 0===t?(N+=1,"task"+N):t};let B,F,R=[];const j={},$=function(t){const e=j[t];return R[e]},z=function(){const t=function(t){const e=R[t];let n="";switch(R[t].raw.startTime.type){case"prevTaskEnd":{const t=$(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=D(0,d,R[t].raw.startTime.startData),n&&(R[t].startTime=n)}return R[t].startTime&&(R[t].endTime=L(R[t].startTime,d,R[t].raw.endTime.data,E),R[t].endTime&&(R[t].processed=!0,R[t].manualEndTime=r(R[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),I(R[t],d,w,b))),R[t].processed};let e=!0;for(const[n,i]of R.entries())t(n),e=e&&i.processed;return e},q=function(t,e){t.split(",").forEach((function(t){let n=$(t);void 0!==n&&n.classes.push(e)}))},H=function(t,e){A.push((function(){const n=document.querySelector(`[id="${t}"]`);null!==n&&n.addEventListener("click",(function(){e()}))}),(function(){const n=document.querySelector(`[id="${t}-text"]`);null!==n&&n.addEventListener("click",(function(){e()}))}))},U={parseDirective:function(t,e,n){c.m.parseDirective(this,t,e,n)},getConfig:()=>(0,c.c)().gantt,clear:function(){y=[],v=[],x="",A=[],N=0,B=void 0,F=void 0,R=[],d="",g="",k="",f=void 0,p="",b=[],w=[],E=!1,T=!1,C=0,m={},(0,c.v)()},setDateFormat:function(t){d=t},getDateFormat:function(){return d},enableInclusiveEndDates:function(){E=!0},endDatesAreInclusive:function(){return E},enableTopAxis:function(){T=!0},topAxisEnabled:function(){return T},setAxisFormat:function(t){g=t},getAxisFormat:function(){return g},setTickInterval:function(t){f=t},getTickInterval:function(){return f},setTodayMarker:function(t){p=t},getTodayMarker:function(){return p},setAccTitle:c.s,getAccTitle:c.g,setDiagramTitle:c.r,getDiagramTitle:c.t,setDisplayMode:function(t){k=t},getDisplayMode:function(){return k},setAccDescription:c.b,getAccDescription:c.a,addSection:function(t){x=t,y.push(t)},getSections:function(){return y},getTasks:function(){let t=z();let e=0;for(;!t&&e<10;)t=z(),e++;return v=R,v},addTask:function(t,e){const n={section:x,type:x,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},i=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),r={};G(i,r,_);for(let t=0;t<i.length;t++)i[t]=i[t].trim();switch(i.length){case 1:r.id=P(),r.startTime={type:"prevTaskEnd",id:t},r.endTime={data:i[0]};break;case 2:r.id=P(),r.startTime={type:"getStartDate",startData:i[0]},r.endTime={data:i[1]};break;case 3:r.id=P(i[0]),r.startTime={type:"getStartDate",startData:i[1]},r.endTime={data:i[2]}}return r}(F,e);n.raw.startTime=i.startTime,n.raw.endTime=i.endTime,n.id=i.id,n.prevTaskId=F,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,n.order=C,C++;const r=R.push(n);F=n.id,j[n.id]=r-1},findTaskById:$,addTaskOrg:function(t,e){const n={section:x,type:x,description:t,task:t,classes:[]},i=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),a={};G(i,a,_);for(let t=0;t<i.length;t++)i[t]=i[t].trim();let o="";switch(i.length){case 1:a.id=P(),a.startTime=t.endTime,o=i[0];break;case 2:a.id=P(),a.startTime=D(0,d,i[0]),o=i[1];break;case 3:a.id=P(i[0]),a.startTime=D(0,d,i[1]),o=i[2]}return o&&(a.endTime=L(a.startTime,d,o,E),a.manualEndTime=r(o,"YYYY-MM-DD",!0).isValid(),I(a,d,w,b)),a}(B,e);n.startTime=i.startTime,n.endTime=i.endTime,n.id=i.id,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,B=n,v.push(n)},setIncludes:function(t){b=t.toLowerCase().split(/[\s,]+/)},getIncludes:function(){return b},setExcludes:function(t){w=t.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return w},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){!function(t,e,n){if("loose"!==(0,c.c)().securityLevel)return;if(void 0===e)return;let i=[];if("string"==typeof n){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<i.length;t++){let e=i[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),i[t]=e}}0===i.length&&i.push(t),void 0!==$(t)&&H(t,(()=>{c.u.runFunc(e,...i)}))}(t,e,n)})),q(t,"clickable")},setLink:function(t,e){let n=e;"loose"!==(0,c.c)().securityLevel&&(n=(0,i.Nm)(e)),t.split(",").forEach((function(t){void 0!==$(t)&&(H(t,(()=>{window.open(n,"_self")})),m[t]=n)})),q(t,"clickable")},getLinks:function(){return m},bindFunctions:function(t){A.forEach((function(e){e(t)}))},parseDuration:O,isInvalidDate:S};function G(t,e,n){let i=!0;for(;i;)i=!1,n.forEach((function(n){const r=new RegExp("^\\s*"+n+"\\s*$");t[0].match(r)&&(e[n]=!0,t.shift(1),i=!0)}))}const Y=(t,e)=>{let n=[...t].map((()=>-1/0)),i=[...t].sort(((t,e)=>t.startTime-e.startTime||t.order-e.order)),r=0;for(const t of i)for(let i=0;i<n.length;i++)if(t.startTime>=n[i]){n[i]=t.endTime,t.order=i+e,i>r&&(r=i);break}return r};let Z;const W={parser:h,db:U,renderer:{setConf:function(){c.l.debug("Something is calling, setConf, remove the call")},draw:function(t,e,n,i){const a=(0,c.c)().gantt,o=(0,c.c)().securityLevel;let s;"sandbox"===o&&(s=(0,u.Ys)("#i"+e));const l="sandbox"===o?(0,u.Ys)(s.nodes()[0].contentDocument.body):(0,u.Ys)("body"),h="sandbox"===o?s.nodes()[0].contentDocument:document,f=h.getElementById(e);Z=f.parentElement.offsetWidth,void 0===Z&&(Z=1200),void 0!==a.useWidth&&(Z=a.useWidth);const d=i.db.getTasks();let g=[];for(const t of d)g.push(t.type);g=function(t){const e={},n=[];for(let i=0,r=t.length;i<r;++i)Object.prototype.hasOwnProperty.call(e,t[i])||(e[t[i]]=!0,n.push(t[i]));return n}(g);const p={};let b=2*a.topPadding;if("compact"===i.db.getDisplayMode()||"compact"===a.displayMode){const t={};for(const e of d)void 0===t[e.section]?t[e.section]=[e]:t[e.section].push(e);let e=0;for(const n of Object.keys(t)){const i=Y(t[n],e)+1;e+=i,b+=i*(a.barHeight+a.barGap),p[n]=i}}else{b+=d.length*(a.barHeight+a.barGap);for(const t of g)p[t]=d.filter((e=>e.type===t)).length}f.setAttribute("viewBox","0 0 "+Z+" "+b);const w=l.select(`[id="${e}"]`),m=(0,u.Xf)().domain([(0,u.VV$)(d,(function(t){return t.startTime})),(0,u.Fp7)(d,(function(t){return t.endTime}))]).rangeRound([0,Z-a.leftPadding-a.rightPadding]);d.sort((function(t,e){const n=t.startTime,i=e.startTime;let r=0;return n>i?r=1:n<i&&(r=-1),r})),function(t,n,o){const s=a.barHeight,l=s+a.barGap,f=a.topPadding,d=a.leftPadding;(0,u.BYU)().domain([0,g.length]).range(["#00B9FA","#F95002"]).interpolate(u.JHv);(function(t,e,n,o,s,c,u,l){const h=c.reduce(((t,{startTime:e})=>t?Math.min(t,e):e),0),f=c.reduce(((t,{endTime:e})=>t?Math.max(t,e):e),0),d=i.db.getDateFormat();if(!h||!f)return;const g=[];let p=null,b=r(h);for(;b.valueOf()<=f;)i.db.isInvalidDate(b,d,u,l)?p?p.end=b:p={start:b,end:b}:p&&(g.push(p),p=null),b=b.add(1,"d");w.append("g").selectAll("rect").data(g).enter().append("rect").attr("id",(function(t){return"exclude-"+t.start.format("YYYY-MM-DD")})).attr("x",(function(t){return m(t.start)+n})).attr("y",a.gridLineStartPadding).attr("width",(function(t){const e=t.end.add(1,"day");return m(e)-m(t.start)})).attr("height",s-e-a.gridLineStartPadding).attr("transform-origin",(function(e,i){return(m(e.start)+n+.5*(m(e.end)-m(e.start))).toString()+"px "+(i*t+.5*s).toString()+"px"})).attr("class","exclude-range")})(l,f,d,0,o,t,i.db.getExcludes(),i.db.getIncludes()),function(t,e,n,r){let o=(0,u.LLu)(m).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,u.i$Z)(i.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));const s=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||a.tickInterval);if(null!==s){const t=s[1];switch(s[2]){case"minute":o.ticks(u.Z_i.every(t));break;case"hour":o.ticks(u.WQD.every(t));break;case"day":o.ticks(u.rr1.every(t));break;case"week":o.ticks(u.NGh.every(t));break;case"month":o.ticks(u.F0B.every(t))}}if(w.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(o).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||a.topAxis){let n=(0,u.F5q)(m).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,u.i$Z)(i.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));if(null!==s){const t=s[1];switch(s[2]){case"minute":n.ticks(u.Z_i.every(t));break;case"hour":n.ticks(u.WQD.every(t));break;case"day":n.ticks(u.rr1.every(t));break;case"week":n.ticks(u.NGh.every(t));break;case"month":n.ticks(u.F0B.every(t))}}w.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(n).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(d,f,0,o),function(t,n,r,o,s,l,h){const f=[...new Set(t.map((t=>t.order)))].map((e=>t.find((t=>t.order===e))));w.append("g").selectAll("rect").data(f).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+r-2})).attr("width",(function(){return h-a.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of g.entries())if(t.type===n)return"section section"+e%a.numberSectionStyles;return"section section0"}));const d=w.append("g").selectAll("rect").data(t).enter(),p=i.db.getLinks();d.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?m(t.startTime)+o+.5*(m(t.endTime)-m(t.startTime))-.5*s:m(t.startTime)+o})).attr("y",(function(t,e){return t.order*n+r})).attr("width",(function(t){return t.milestone?s:m(t.renderEndTime||t.endTime)-m(t.startTime)})).attr("height",s).attr("transform-origin",(function(t,e){return e=t.order,(m(t.startTime)+o+.5*(m(t.endTime)-m(t.startTime))).toString()+"px "+(e*n+r+.5*s).toString()+"px"})).attr("class",(function(t){const e="task";let n="";t.classes.length>0&&(n=t.classes.join(" "));let i=0;for(const[e,n]of g.entries())t.type===n&&(i=e%a.numberSectionStyles);let r="";return t.active?t.crit?r+=" activeCrit":r=" active":t.done?r=t.crit?" doneCrit":" done":t.crit&&(r+=" crit"),0===r.length&&(r=" task"),t.milestone&&(r=" milestone "+r),r+=i,r+=" "+n,e+r})),d.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=m(t.startTime),n=m(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(m(t.endTime)-m(t.startTime))-.5*s),t.milestone&&(n=e+s);const i=this.getBBox().width;return i>n-e?n+i+1.5*a.leftPadding>h?e+o-5:n+o+5:(n-e)/2+e+o})).attr("y",(function(t,e){return t.order*n+a.barHeight/2+(a.fontSize/2-2)+r})).attr("text-height",s).attr("class",(function(t){const e=m(t.startTime);let n=m(t.endTime);t.milestone&&(n=e+s);const i=this.getBBox().width;let r="";t.classes.length>0&&(r=t.classes.join(" "));let o=0;for(const[e,n]of g.entries())t.type===n&&(o=e%a.numberSectionStyles);let c="";return t.active&&(c=t.crit?"activeCritText"+o:"activeText"+o),t.done?c=t.crit?c+" doneCritText"+o:c+" doneText"+o:t.crit&&(c=c+" critText"+o),t.milestone&&(c+=" milestoneText"),i>n-e?n+i+1.5*a.leftPadding>h?r+" taskTextOutsideLeft taskTextOutside"+o+" "+c:r+" taskTextOutsideRight taskTextOutside"+o+" "+c+" width-"+i:r+" taskText taskText"+o+" "+c+" width-"+i}));if("sandbox"===(0,c.c)().securityLevel){let t;t=(0,u.Ys)("#i"+e);const n=t.nodes()[0].contentDocument;d.filter((function(t){return void 0!==p[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),i=n.querySelector("#"+t.id+"-text");const r=e.parentNode;var a=n.createElement("a");a.setAttribute("xlink:href",p[t.id]),a.setAttribute("target","_top"),r.appendChild(a),a.appendChild(e),a.appendChild(i)}))}}(t,l,f,d,s,0,n),function(t,e){let n=0;const i=Object.keys(p).map((t=>[t,p[t]]));w.append("g").selectAll("text").data(i).enter().append((function(t){const e=t[0].split(c.e.lineBreakRegex),n=-(e.length-1)/2,i=h.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("dy",n+"em");for(const[t,n]of e.entries()){const e=h.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=n,i.appendChild(e)}return i})).attr("x",10).attr("y",(function(r,a){if(!(a>0))return r[1]*t/2+e;for(let o=0;o<a;o++)return n+=i[a-1][1],r[1]*t/2+n*t+e})).attr("font-size",a.sectionFontSize).attr("class",(function(t){for(const[e,n]of g.entries())if(t[0]===n)return"sectionTitle sectionTitle"+e%a.numberSectionStyles;return"sectionTitle"}))}(l,f),function(t,e,n,r){const o=i.db.getTodayMarker();if("off"===o)return;const s=w.append("g").attr("class","today"),c=new Date,u=s.append("line");u.attr("x1",m(c)+t).attr("x2",m(c)+t).attr("y1",a.titleTopMargin).attr("y2",r-a.titleTopMargin).attr("class","today"),""!==o&&u.attr("style",o.replace(/,/g,";"))}(d,0,0,o)}(d,Z,b),(0,c.i)(w,b,Z,a.useMaxWidth),w.append("text").text(i.db.getDiagramTitle()).attr("x",Z/2).attr("y",a.titleTopMargin).attr("class","titleText")}},styles:t=>`\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${t.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${t.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`}},8787:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return R}});var i=n(8540),r=n(1504),a=(n(7530),n(2510),n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,4],n=[1,7],i=[1,5],r=[1,9],a=[1,6],o=[2,6],s=[1,16],c=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],u=[8,14,20,22,24,25,27,29,32,37,40],l=[8,13,14,20,22,24,25,27,29,32,37,40],h=[1,26],f=[6,8,14,50,55],d=[8,14,55],g=[1,53],p=[1,52],b=[8,14,30,33,35,38,55],w=[1,67],m=[1,68],y=[1,69],v=[8,14,33,35,42,55],x={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 3:return a[s];case 4:return a[s-1];case 5:return i.setDirection(a[s-3]),a[s-1];case 7:i.setOptions(a[s-1]),this.$=a[s];break;case 8:a[s-1]+=a[s],this.$=a[s-1];break;case 10:this.$=[];break;case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 12:this.$=a[s-1];break;case 17:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 20:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 22:i.checkout(a[s]);break;case 23:i.branch(a[s]);break;case 24:i.branch(a[s-2],a[s]);break;case 25:i.cherryPick(a[s],"",void 0);break;case 26:i.cherryPick(a[s-2],"",a[s]);break;case 27:case 29:i.cherryPick(a[s-2],"","");break;case 28:i.cherryPick(a[s],"",a[s-2]);break;case 30:i.merge(a[s],"","","");break;case 31:i.merge(a[s-2],a[s],"","");break;case 32:i.merge(a[s-2],"",a[s],"");break;case 33:i.merge(a[s-2],"","",a[s]);break;case 34:i.merge(a[s-4],a[s],"",a[s-2]);break;case 35:i.merge(a[s-4],"",a[s],a[s-2]);break;case 36:i.merge(a[s-4],"",a[s-2],a[s]);break;case 37:i.merge(a[s-4],a[s-2],a[s],"");break;case 38:i.merge(a[s-4],a[s-2],"",a[s]);break;case 39:i.merge(a[s-4],a[s],a[s-2],"");break;case 40:i.merge(a[s-6],a[s-4],a[s-2],a[s]);break;case 41:i.merge(a[s-6],a[s],a[s-4],a[s-2]);break;case 42:i.merge(a[s-6],a[s-4],a[s],a[s-2]);break;case 43:i.merge(a[s-6],a[s-2],a[s-4],a[s]);break;case 44:i.merge(a[s-6],a[s],a[s-2],a[s-4]);break;case 45:i.merge(a[s-6],a[s-2],a[s],a[s-4]);break;case 46:i.commit(a[s]);break;case 47:i.commit("","",i.commitType.NORMAL,a[s]);break;case 48:i.commit("","",a[s],"");break;case 49:i.commit("","",a[s],a[s-2]);break;case 50:i.commit("","",a[s-2],a[s]);break;case 51:i.commit("",a[s],i.commitType.NORMAL,"");break;case 52:i.commit("",a[s-2],i.commitType.NORMAL,a[s]);break;case 53:i.commit("",a[s],i.commitType.NORMAL,a[s-2]);break;case 54:i.commit("",a[s-2],a[s],"");break;case 55:i.commit("",a[s],a[s-2],"");break;case 56:i.commit("",a[s-4],a[s-2],a[s]);break;case 57:i.commit("",a[s-4],a[s],a[s-2]);break;case 58:i.commit("",a[s-2],a[s-4],a[s]);break;case 59:i.commit("",a[s],a[s-4],a[s-2]);break;case 60:i.commit("",a[s],a[s-2],a[s-4]);break;case 61:i.commit("",a[s-2],a[s],a[s-4]);break;case 62:i.commit(a[s],"",i.commitType.NORMAL,"");break;case 63:i.commit(a[s],"",i.commitType.NORMAL,a[s-2]);break;case 64:i.commit(a[s-2],"",i.commitType.NORMAL,a[s]);break;case 65:i.commit(a[s-2],"",a[s],"");break;case 66:i.commit(a[s],"",a[s-2],"");break;case 67:i.commit(a[s],a[s-2],i.commitType.NORMAL,"");break;case 68:i.commit(a[s-2],a[s],i.commitType.NORMAL,"");break;case 69:i.commit(a[s-4],"",a[s-2],a[s]);break;case 70:i.commit(a[s-4],"",a[s],a[s-2]);break;case 71:i.commit(a[s-2],"",a[s-4],a[s]);break;case 72:i.commit(a[s],"",a[s-4],a[s-2]);break;case 73:i.commit(a[s],"",a[s-2],a[s-4]);break;case 74:i.commit(a[s-2],"",a[s],a[s-4]);break;case 75:i.commit(a[s-4],a[s],a[s-2],"");break;case 76:i.commit(a[s-4],a[s-2],a[s],"");break;case 77:i.commit(a[s-2],a[s],a[s-4],"");break;case 78:i.commit(a[s],a[s-2],a[s-4],"");break;case 79:i.commit(a[s],a[s-4],a[s-2],"");break;case 80:i.commit(a[s-2],a[s-4],a[s],"");break;case 81:i.commit(a[s-4],a[s],i.commitType.NORMAL,a[s-2]);break;case 82:i.commit(a[s-4],a[s-2],i.commitType.NORMAL,a[s]);break;case 83:i.commit(a[s-2],a[s],i.commitType.NORMAL,a[s-4]);break;case 84:i.commit(a[s],a[s-2],i.commitType.NORMAL,a[s-4]);break;case 85:i.commit(a[s],a[s-4],i.commitType.NORMAL,a[s-2]);break;case 86:i.commit(a[s-2],a[s-4],i.commitType.NORMAL,a[s]);break;case 87:i.commit(a[s-6],a[s-4],a[s-2],a[s]);break;case 88:i.commit(a[s-6],a[s-4],a[s],a[s-2]);break;case 89:i.commit(a[s-6],a[s-2],a[s-4],a[s]);break;case 90:i.commit(a[s-6],a[s],a[s-4],a[s-2]);break;case 91:i.commit(a[s-6],a[s-2],a[s],a[s-4]);break;case 92:i.commit(a[s-6],a[s],a[s-2],a[s-4]);break;case 93:i.commit(a[s-4],a[s-6],a[s-2],a[s]);break;case 94:i.commit(a[s-4],a[s-6],a[s],a[s-2]);break;case 95:i.commit(a[s-2],a[s-6],a[s-4],a[s]);break;case 96:i.commit(a[s],a[s-6],a[s-4],a[s-2]);break;case 97:i.commit(a[s-2],a[s-6],a[s],a[s-4]);break;case 98:i.commit(a[s],a[s-6],a[s-2],a[s-4]);break;case 99:i.commit(a[s],a[s-4],a[s-2],a[s-6]);break;case 100:i.commit(a[s-2],a[s-4],a[s],a[s-6]);break;case 101:i.commit(a[s],a[s-2],a[s-4],a[s-6]);break;case 102:i.commit(a[s-2],a[s],a[s-4],a[s-6]);break;case 103:i.commit(a[s-4],a[s-2],a[s],a[s-6]);break;case 104:i.commit(a[s-4],a[s],a[s-2],a[s-6]);break;case 105:i.commit(a[s-2],a[s-4],a[s-6],a[s]);break;case 106:i.commit(a[s],a[s-4],a[s-6],a[s-2]);break;case 107:i.commit(a[s-2],a[s],a[s-6],a[s-4]);break;case 108:i.commit(a[s],a[s-2],a[s-6],a[s-4]);break;case 109:i.commit(a[s-4],a[s-2],a[s-6],a[s]);break;case 110:i.commit(a[s-4],a[s],a[s-6],a[s-2]);break;case 111:this.$="";break;case 112:this.$=a[s];break;case 113:this.$=i.commitType.NORMAL;break;case 114:this.$=i.commitType.REVERSE;break;case 115:this.$=i.commitType.HIGHLIGHT;break;case 118:i.parseDirective("%%{","open_directive");break;case 119:i.parseDirective(a[s],"type_directive");break;case 120:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 121:i.parseDirective("}%%","close_directive","gitGraph")}},table:[{3:1,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{1:[3]},{3:10,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{3:11,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{7:12,8:o,9:[1,13],10:[1,14],11:15,14:s},t(c,[2,124]),t(c,[2,125]),t(c,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:o,11:15,14:s},{9:[1,21]},t(u,[2,10],{12:22,13:[1,23]}),t(l,[2,9]),{9:[1,25],48:24,53:h},t([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:o,11:15,14:s},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},t(l,[2,8]),t(f,[2,116]),{49:45,52:[1,46]},t(f,[2,121]),{1:[2,4]},{8:[1,47]},t(u,[2,11]),{4:48,8:n,14:i,55:a},t(u,[2,13]),t(d,[2,14]),t(d,[2,15]),t(d,[2,16]),{21:[1,49]},{23:[1,50]},t(d,[2,19]),t(d,[2,20]),t(d,[2,21]),{28:51,34:g,54:p},t(d,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:g,54:p},{33:[1,61],35:[1,62]},{28:63,34:g,54:p},{48:64,53:h},{53:[2,120]},{1:[2,5]},t(u,[2,12]),t(d,[2,17]),t(d,[2,18]),t(d,[2,22]),t(b,[2,122]),t(b,[2,123]),t(d,[2,46]),{34:[1,65]},{39:66,43:w,44:m,45:y},{34:[1,70]},{34:[1,71]},t(d,[2,112]),t(d,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},t(d,[2,23],{30:[1,78]}),t(f,[2,117]),t(d,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),t(d,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),t(v,[2,113]),t(v,[2,114]),t(v,[2,115]),t(d,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),t(d,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:w,44:m,45:y},{34:[1,93]},t(d,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:w,44:m,45:y},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:w,44:m,45:y},{34:[1,106]},{34:[1,107]},{39:108,43:w,44:m,45:y},{34:[1,109]},t(d,[2,31],{35:[1,111],38:[1,110]}),t(d,[2,32],{33:[1,113],35:[1,112]}),t(d,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},t(d,[2,24]),t(d,[2,49],{33:[1,120],42:[1,121]}),t(d,[2,53],{38:[1,122],42:[1,123]}),t(d,[2,63],{33:[1,125],38:[1,124]}),t(d,[2,50],{33:[1,126],42:[1,127]}),t(d,[2,55],{35:[1,128],42:[1,129]}),t(d,[2,66],{33:[1,131],35:[1,130]}),t(d,[2,52],{38:[1,132],42:[1,133]}),t(d,[2,54],{35:[1,134],42:[1,135]}),t(d,[2,67],{35:[1,137],38:[1,136]}),t(d,[2,64],{33:[1,139],38:[1,138]}),t(d,[2,65],{33:[1,141],35:[1,140]}),t(d,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:w,44:m,45:y},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:w,44:m,45:y},t(d,[2,26]),t(d,[2,27]),t(d,[2,28]),t(d,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:w,44:m,45:y},{34:[1,153]},{39:154,43:w,44:m,45:y},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:w,44:m,45:y},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:w,44:m,45:y},{34:[1,167]},{39:168,43:w,44:m,45:y},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:w,44:m,45:y},{34:[1,173]},t(d,[2,37],{35:[1,174]}),t(d,[2,38],{38:[1,175]}),t(d,[2,36],{33:[1,176]}),t(d,[2,39],{35:[1,177]}),t(d,[2,34],{38:[1,178]}),t(d,[2,35],{33:[1,179]}),t(d,[2,60],{42:[1,180]}),t(d,[2,73],{33:[1,181]}),t(d,[2,61],{42:[1,182]}),t(d,[2,84],{38:[1,183]}),t(d,[2,74],{33:[1,184]}),t(d,[2,83],{38:[1,185]}),t(d,[2,59],{42:[1,186]}),t(d,[2,72],{33:[1,187]}),t(d,[2,58],{42:[1,188]}),t(d,[2,78],{35:[1,189]}),t(d,[2,71],{33:[1,190]}),t(d,[2,77],{35:[1,191]}),t(d,[2,57],{42:[1,192]}),t(d,[2,85],{38:[1,193]}),t(d,[2,56],{42:[1,194]}),t(d,[2,79],{35:[1,195]}),t(d,[2,80],{35:[1,196]}),t(d,[2,86],{38:[1,197]}),t(d,[2,70],{33:[1,198]}),t(d,[2,81],{38:[1,199]}),t(d,[2,69],{33:[1,200]}),t(d,[2,75],{35:[1,201]}),t(d,[2,76],{35:[1,202]}),t(d,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:w,44:m,45:y},{34:[1,206]},{34:[1,207]},{39:208,43:w,44:m,45:y},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:w,44:m,45:y},{34:[1,214]},{39:215,43:w,44:m,45:y},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:w,44:m,45:y},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:w,44:m,45:y},{34:[1,228]},{39:229,43:w,44:m,45:y},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:w,44:m,45:y},t(d,[2,40]),t(d,[2,42]),t(d,[2,41]),t(d,[2,43]),t(d,[2,45]),t(d,[2,44]),t(d,[2,101]),t(d,[2,102]),t(d,[2,99]),t(d,[2,100]),t(d,[2,104]),t(d,[2,103]),t(d,[2,108]),t(d,[2,107]),t(d,[2,106]),t(d,[2,105]),t(d,[2,110]),t(d,[2,109]),t(d,[2,98]),t(d,[2,97]),t(d,[2,96]),t(d,[2,95]),t(d,[2,93]),t(d,[2,94]),t(d,[2,92]),t(d,[2,91]),t(d,[2,90]),t(d,[2,89]),t(d,[2,87]),t(d,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},k={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("open_directive"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 34:case 38:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\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,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}};function _(){this.yy={}}return x.lexer=k,_.prototype=x,x.Parser=_,new _}());a.parser=a;const o=a;let s=(0,i.c)().gitGraph.mainBranchName,c=(0,i.c)().gitGraph.mainBranchOrder,u={},l=null,h={};h[s]={name:s,order:c};let f={};f[s]=l;let d=s,g="LR",p=0;function b(){return(0,i.y)({length:7})}let w={};const m=function(t){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0===f[t]){let e=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+t+'")');throw e.hash={text:"checkout "+t,token:"checkout "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+t+'"']},e}{d=t;const e=f[d];l=u[e]}};function y(t,e,n){const i=t.indexOf(e);-1===i?t.push(n):t.splice(i,1,n)}function v(t){const e=t.reduce(((t,e)=>t.seq>e.seq?t:e),t[0]);let n="";t.forEach((function(t){n+=t===e?"\t*":"\t|"}));const r=[n,e.id,e.seq];for(let t in f)f[t]===e.id&&r.push(t);if(i.l.debug(r.join(" ")),e.parents&&2==e.parents.length){const n=u[e.parents[0]];y(t,e,n),t.push(u[e.parents[1]])}else{if(0==e.parents.length)return;{const n=u[e.parents];y(t,e,n)}}v(t=function(t,e){const n=Object.create(null);return t.reduce(((t,i)=>{const r=e(i);return n[r]||(n[r]=!0,t.push(i)),t}),[])}(t,(t=>t.id)))}const x=function(){const t=Object.keys(u).map((function(t){return u[t]}));return t.forEach((function(t){i.l.debug(t.id)})),t.sort(((t,e)=>t.seq-e.seq)),t},k={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},_={parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().gitGraph,setDirection:function(t){g=t},setOptions:function(t){i.l.debug("options str",t),t=(t=t&&t.trim())||"{}";try{w=JSON.parse(t)}catch(t){i.l.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return w},commit:function(t,e,n,r){i.l.debug("Entering commit:",t,e,n,r),e=i.e.sanitizeText(e,(0,i.c)()),t=i.e.sanitizeText(t,(0,i.c)()),r=i.e.sanitizeText(r,(0,i.c)());const a={id:e||p+"-"+b(),message:t,seq:p++,type:n||k.NORMAL,tag:r||"",parents:null==l?[]:[l.id],branch:d};l=a,u[a.id]=a,f[d]=a.id,i.l.debug("in pushCommit "+a.id)},branch:function(t,e){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0!==f[t]){let e=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+t+'")');throw e.hash={text:"branch "+t,token:"branch "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+t+'"']},e}f[t]=null!=l?l.id:null,h[t]={name:t,order:e?parseInt(e,10):null},m(t),i.l.debug("in createBranch")},merge:function(t,e,n,r){t=i.e.sanitizeText(t,(0,i.c)()),e=i.e.sanitizeText(e,(0,i.c)());const a=u[f[d]],o=u[f[t]];if(d===t){let e=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(void 0===a||!a){let e=new Error('Incorrect usage of "merge". Current branch ('+d+")has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},e}if(void 0===f[t]){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+t]},e}if(void 0===o||!o){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},e}if(a===o){let e=new Error('Incorrect usage of "merge". Both branches have same head');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(e&&void 0!==u[e]){let i=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom Id");throw i.hash={text:"merge "+t+e+n+r,token:"merge "+t+e+n+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+n+" "+r]},i}const s={id:e||p+"-"+b(),message:"merged branch "+t+" into "+d,seq:p++,parents:[null==l?null:l.id,f[t]],branch:d,type:k.MERGE,customType:n,customId:!!e,tag:r||""};l=s,u[s.id]=s,f[d]=s.id,i.l.debug(f),i.l.debug("in mergeBranch")},cherryPick:function(t,e,n){if(i.l.debug("Entering cherryPick:",t,e,n),t=i.e.sanitizeText(t,(0,i.c)()),e=i.e.sanitizeText(e,(0,i.c)()),n=i.e.sanitizeText(n,(0,i.c)()),!t||void 0===u[t]){let n=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}let r=u[t],a=r.branch;if(r.type===k.MERGE){let n=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}if(!e||void 0===u[e]){if(a===d){let n=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const o=u[f[d]];if(void 0===o||!o){let n=new Error('Incorrect usage of "cherry-pick". Current branch ('+d+")has no commits");throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const s={id:p+"-"+b(),message:"cherry-picked "+r+" into "+d,seq:p++,parents:[null==l?null:l.id,r.id],branch:d,type:k.CHERRY_PICK,tag:n??"cherry-pick:"+r.id};l=s,u[s.id]=s,f[d]=s.id,i.l.debug(f),i.l.debug("in cherryPick")}},checkout:m,prettyPrint:function(){i.l.debug(u);v([x()[0]])},clear:function(){u={},l=null;let t=(0,i.c)().gitGraph.mainBranchName,e=(0,i.c)().gitGraph.mainBranchOrder;f={},f[t]=null,h={},h[t]={name:t,order:e},d=t,p=0,(0,i.v)()},getBranchesAsObjArray:function(){return Object.values(h).map(((t,e)=>null!==t.order?t:{...t,order:parseFloat(`0.${e}`,10)})).sort(((t,e)=>t.order-e.order)).map((({name:t})=>({name:t})))},getBranches:function(){return f},getCommits:function(){return u},getCommitsArray:x,getCurrentBranch:function(){return d},getDirection:function(){return g},getHead:function(){return l},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,setDiagramTitle:i.r,getDiagramTitle:i.t,commitType:k};let A={};const E=0,T=1,C=2,S=3,I=4;let M={},D={},O=[],L=0;const N=(t,e,n)=>{const r=(0,i.z)().gitGraph,a=t.append("g").attr("class","commit-bullets"),o=t.append("g").attr("class","commit-labels");let s=0;Object.keys(e).sort(((t,n)=>e[t].seq-e[n].seq)).forEach((t=>{const i=e[t],c=M[i.branch].pos,u=s+10;if(n){let t,e=void 0!==i.customType&&""!==i.customType?i.customType:i.type;switch(e){case E:t="commit-normal";break;case T:t="commit-reverse";break;case C:t="commit-highlight";break;case S:t="commit-merge";break;case I:t="commit-cherry-pick";break;default:t="commit-normal"}if(e===C){const e=a.append("rect");e.attr("x",u-10),e.attr("y",c-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${i.id} commit-highlight${M[i.branch].index%8} ${t}-outer`),a.append("rect").attr("x",u-6).attr("y",c-6).attr("height",12).attr("width",12).attr("class",`commit ${i.id} commit${M[i.branch].index%8} ${t}-inner`)}else if(e===I)a.append("circle").attr("cx",u).attr("cy",c).attr("r",10).attr("class",`commit ${i.id} ${t}`),a.append("circle").attr("cx",u-3).attr("cy",c+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),a.append("circle").attr("cx",u+3).attr("cy",c+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),a.append("line").attr("x1",u+3).attr("y1",c+1).attr("x2",u).attr("y2",c-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`),a.append("line").attr("x1",u-3).attr("y1",c+1).attr("x2",u).attr("y2",c-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`);else{const n=a.append("circle");if(n.attr("cx",u),n.attr("cy",c),n.attr("r",i.type===S?9:10),n.attr("class",`commit ${i.id} commit${M[i.branch].index%8}`),e===S){const e=a.append("circle");e.attr("cx",u),e.attr("cy",c),e.attr("r",6),e.attr("class",`commit ${t} ${i.id} commit${M[i.branch].index%8}`)}if(e===T){a.append("path").attr("d",`M ${u-5},${c-5}L${u+5},${c+5}M${u-5},${c+5}L${u+5},${c-5}`).attr("class",`commit ${t} ${i.id} commit${M[i.branch].index%8}`)}}}if(D[i.id]={x:s+10,y:c},n){const t=4,e=2;if(i.type!==I&&(i.customId&&i.type===S||i.type!==S)&&r.showCommitLabel){const t=o.append("g"),n=t.insert("rect").attr("class","commit-label-bkg"),a=t.append("text").attr("x",s).attr("y",c+25).attr("class","commit-label").text(i.id);let u=a.node().getBBox();if(n.attr("x",s+10-u.width/2-e).attr("y",c+13.5).attr("width",u.width+2*e).attr("height",u.height+2*e),a.attr("x",s+10-u.width/2),r.rotateCommitLabel){let e=-7.5-(u.width+10)/25*9.5,n=10+u.width/25*8.5;t.attr("transform","translate("+e+", "+n+") rotate(-45, "+s+", "+c+")")}}if(i.tag){const n=o.insert("polygon"),r=o.append("circle"),a=o.append("text").attr("y",c-16).attr("class","tag-label").text(i.tag);let u=a.node().getBBox();a.attr("x",s+10-u.width/2);const l=u.height/2,h=c-19.2;n.attr("class","tag-label-bkg").attr("points",`\n ${s-u.width/2-t/2},${h+e}\n ${s-u.width/2-t/2},${h-e}\n ${s+10-u.width/2-t},${h-l-e}\n ${s+10+u.width/2+t},${h-l-e}\n ${s+10+u.width/2+t},${h+l+e}\n ${s+10-u.width/2-t},${h+l+e}`),r.attr("cx",s-u.width/2+t/2).attr("cy",h).attr("r",1.5).attr("class","tag-hole")}}s+=50,s>L&&(L=s)}))},P=(t,e,n=0)=>{const i=t+Math.abs(t-e)/2;if(n>5)return i;if(O.every((t=>Math.abs(t-i)>=10)))return O.push(i),i;const r=Math.abs(t-e);return P(t,e-r/5,n+1)},B=(t,e,n,i)=>{const r=D[e.id],a=D[n.id],o=((t,e,n)=>Object.keys(n).filter((i=>n[i].branch===e.branch&&n[i].seq>t.seq&&n[i].seq<e.seq)).length>0)(e,n,i);let s,c="",u="",l=0,h=0,f=M[n.branch].index;if(o){c="A 10 10, 0, 0, 0,",u="A 10 10, 0, 0, 1,",l=10,h=10,f=M[n.branch].index;const t=r.y<a.y?P(r.y,a.y):P(a.y,r.y);s=r.y<a.y?`M ${r.x} ${r.y} L ${r.x} ${t-l} ${c} ${r.x+h} ${t} L ${a.x-l} ${t} ${u} ${a.x} ${t+h} L ${a.x} ${a.y}`:`M ${r.x} ${r.y} L ${r.x} ${t+l} ${u} ${r.x+h} ${t} L ${a.x-l} ${t} ${c} ${a.x} ${t-h} L ${a.x} ${a.y}`}else r.y<a.y&&(c="A 20 20, 0, 0, 0,",l=20,h=20,f=M[n.branch].index,s=`M ${r.x} ${r.y} L ${r.x} ${a.y-l} ${c} ${r.x+h} ${a.y} L ${a.x} ${a.y}`),r.y>a.y&&(c="A 20 20, 0, 0, 0,",l=20,h=20,f=M[e.branch].index,s=`M ${r.x} ${r.y} L ${a.x-l} ${r.y} ${c} ${a.x} ${r.y-h} L ${a.x} ${a.y}`),r.y===a.y&&(f=M[e.branch].index,s=`M ${r.x} ${r.y} L ${r.x} ${a.y-l} ${c} ${r.x+h} ${a.y} L ${a.x} ${a.y}`);t.append("path").attr("d",s).attr("class","arrow arrow"+f%8)},F=(t,e)=>{const n=(0,i.z)().gitGraph,r=t.append("g");e.forEach(((t,e)=>{const i=e%8,a=M[t.name].pos,o=r.append("line");o.attr("x1",0),o.attr("y1",a),o.attr("x2",L),o.attr("y2",a),o.attr("class","branch branch"+i),O.push(a);const s=(t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");let n=[];n="string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(t)?t:[];for(const t of n){const n=document.createElementNS("http://www.w3.org/2000/svg","tspan");n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.setAttribute("dy","1em"),n.setAttribute("x","0"),n.setAttribute("class","row"),n.textContent=t.trim(),e.appendChild(n)}return e})(t.name),c=r.insert("rect"),u=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+i);u.node().appendChild(s);let l=s.getBBox();c.attr("class","branchLabelBkg label"+i).attr("rx",4).attr("ry",4).attr("x",-l.width-4-(!0===n.rotateCommitLabel?30:0)).attr("y",-l.height/2+8).attr("width",l.width+18).attr("height",l.height+4),u.attr("transform","translate("+(-l.width-14-(!0===n.rotateCommitLabel?30:0))+", "+(a-l.height/2-1)+")"),c.attr("transform","translate(-19, "+(a-l.height/2)+")")}))},R={parser:o,db:_,renderer:{draw:function(t,e,n,a){M={},D={},A={},L=0,O=[];const o=(0,i.z)(),s=o.gitGraph;i.l.debug("in gitgraph renderer",t+"\n","id:",e,n),A=a.db.getCommits();const c=a.db.getBranchesAsObjArray();let u=0;c.forEach(((t,e)=>{M[t.name]={pos:u,index:e},u+=50+(s.rotateCommitLabel?40:0)}));const l=(0,r.Ys)(`[id="${e}"]`);N(l,A,!1),s.showBranches&&F(l,c),((t,e)=>{const n=t.append("g").attr("class","commit-arrows");Object.keys(e).forEach((t=>{const i=e[t];i.parents&&i.parents.length>0&&i.parents.forEach((t=>{B(n,e[t],i,e)}))}))})(l,A),N(l,A,!0),i.u.insertTitle(l,"gitTitleText",s.titleTopMargin,a.db.getDiagramTitle()),(0,i.A)(void 0,l,s.diagramPadding,s.useMaxWidth??o.useMaxWidth)}},styles:t=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map((e=>`\n .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; }\n .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; }\n .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; }\n .label${e} { fill: ${t["git"+e]}; }\n .arrow${e} { stroke: ${t["git"+e]}; }\n `)).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${t.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}\n .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}\n .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }\n .tag-hole { fill: ${t.textColor}; }\n\n .commit-merge {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n .commit-reverse {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`}},113:function(t,e,n){"use strict";n.d(e,{r:function(){return _}});var i=n(1768),r=n(835),a=n(3430),o=n(8540),s=n(8066),c=n(1524),u=n(1504);let l={},h={},f={};const d=(t,e)=>(o.l.trace("In isDecendant",e," ",t," = ",h[e].includes(t)),!!h[e].includes(t)),g=(t,e,n,i)=>{o.l.warn("Copying children of ",t,"root",i,"data",e.node(t),i);const r=e.children(t)||[];t!==i&&r.push(t),o.l.warn("Copying (nodes) clusterId",t,"nodes",r),r.forEach((r=>{if(e.children(r).length>0)g(r,e,n,i);else{const a=e.node(r);o.l.info("cp ",r," to ",i," with parent ",t),n.setNode(r,a),i!==e.parent(r)&&(o.l.warn("Setting parent",r,e.parent(r)),n.setParent(r,e.parent(r))),t!==i&&r!==t?(o.l.debug("Setting parent",r,t),n.setParent(r,t)):(o.l.info("In copy ",t,"root",i,"data",e.node(t),i),o.l.debug("Not Setting parent for node=",r,"cluster!==rootId",t!==i,"node!==clusterId",r!==t));const s=e.edges(r);o.l.debug("Copying Edges",s),s.forEach((r=>{o.l.info("Edge",r);const a=e.edge(r.v,r.w,r.name);o.l.info("Edge data",a,i);try{((t,e)=>(o.l.info("Decendants of ",e," is ",h[e]),o.l.info("Edge is ",t),t.v!==e&&t.w!==e&&(h[e]?h[e].includes(t.v)||d(t.v,e)||d(t.w,e)||h[e].includes(t.w):(o.l.debug("Tilt, ",e,",not in decendants"),!1))))(r,i)?(o.l.info("Copying as ",r.v,r.w,a,r.name),n.setEdge(r.v,r.w,a,r.name),o.l.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):o.l.info("Skipping copy of edge ",r.v,"--\x3e",r.w," rootId: ",i," clusterId:",t)}catch(t){o.l.error(t)}}))}o.l.debug("Removing node",r),e.removeNode(r)}))},p=(t,e)=>{const n=e.children(t);let i=[...n];for(const r of n)f[r]=t,i=[...i,...p(r,e)];return i},b=(t,e)=>{o.l.trace("Searching",t);const n=e.children(t);if(o.l.trace("Searching children of id ",t,n),n.length<1)return o.l.trace("This is a valid node",t),t;for(const i of n){const n=b(i,e);if(n)return o.l.trace("Found replacement for",t," => ",n),n}},w=t=>l[t]&&l[t].externalConnections&&l[t]?l[t].id:t,m=(t,e)=>{if(o.l.warn("extractor - ",e,r.c(t),t.children("D")),e>10)return void o.l.error("Bailing out");let n=t.nodes(),i=!1;for(const e of n){const n=t.children(e);i=i||n.length>0}if(i){o.l.debug("Nodes = ",n,e);for(const i of n)if(o.l.debug("Extracting node",i,l,l[i]&&!l[i].externalConnections,!t.parent(i),t.node(i),t.children("D")," Depth ",e),l[i])if(!l[i].externalConnections&&t.children(i)&&t.children(i).length>0){o.l.warn("Cluster without external connections, without a parent and with children",i,e);let n="TB"===t.graph().rankdir?"LR":"TB";l[i]&&l[i].clusterData&&l[i].clusterData.dir&&(n=l[i].clusterData.dir,o.l.warn("Fixing dir",l[i].clusterData.dir,n));const a=new s.k({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));o.l.warn("Old graph before copy",r.c(t)),g(i,t,a,i),t.setNode(i,{clusterNode:!0,id:i,clusterData:l[i].clusterData,labelText:l[i].labelText,graph:a}),o.l.warn("New graph after copy node: (",i,")",r.c(a)),o.l.debug("Old graph after copy",r.c(t))}else o.l.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!l[i].externalConnections," no parent: ",!t.parent(i)," children ",t.children(i)&&t.children(i).length>0,t.children("D"),e),o.l.debug(l);else o.l.debug("Not a cluster",i,e);n=t.nodes(),o.l.warn("New list of nodes",n);for(const i of n){const n=t.node(i);o.l.warn(" Now next level",i,n),n.clusterNode&&m(n.graph,e+1)}}else o.l.debug("Done, no node has children",t.nodes())},y=(t,e)=>{if(0===e.length)return[];let n=Object.assign(e);return e.forEach((e=>{const i=t.children(e),r=y(t,i);n=[...n,...r]})),n},v={rect:(t,e)=>{o.l.info("Creating subgraph rect for ",e.id,e);const n=t.insert("g").attr("class","cluster"+(e.class?" "+e.class:"")).attr("id",e.id),i=n.insert("rect",":first-child"),r=(0,o.n)((0,o.c)().flowchart.htmlLabels),s=n.insert("g").attr("class","cluster-label"),l="markdown"===e.labelType?(0,c.c)(s,e.labelText,{style:e.labelStyle,useHtmlLabels:r}):s.node().appendChild((0,a.c)(e.labelText,e.labelStyle,void 0,!0));let h=l.getBBox();if((0,o.n)((0,o.c)().flowchart.htmlLabels)){const t=l.children[0],e=(0,u.Ys)(l);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}const f=0*e.padding,d=f/2,g=e.width<=h.width+f?h.width+f:e.width;e.width<=h.width+f?e.diff=(h.width-e.width)/2-e.padding/2:e.diff=-e.padding/2,o.l.trace("Data ",e,JSON.stringify(e)),i.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-g/2).attr("y",e.y-e.height/2-d).attr("width",g).attr("height",e.height+f),r?s.attr("transform","translate("+(e.x-h.width/2)+", "+(e.y-e.height/2)+")"):s.attr("transform","translate("+e.x+", "+(e.y-e.height/2)+")");const p=i.node().getBBox();return e.width=p.width,e.height=p.height,e.intersect=function(t){return(0,a.i)(e,t)},n},roundedWithTitle:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),i=n.insert("rect",":first-child"),r=n.insert("g").attr("class","cluster-label"),s=n.append("rect"),c=r.node().appendChild((0,a.c)(e.labelText,e.labelStyle,void 0,!0));let l=c.getBBox();if((0,o.n)((0,o.c)().flowchart.htmlLabels)){const t=c.children[0],e=(0,u.Ys)(c);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}l=c.getBBox();const h=0*e.padding,f=h/2,d=e.width<=l.width+e.padding?l.width+e.padding:e.width;e.width<=l.width+e.padding?e.diff=(l.width+0*e.padding-e.width)/2:e.diff=-e.padding/2,i.attr("class","outer").attr("x",e.x-d/2-f).attr("y",e.y-e.height/2-f).attr("width",d+h).attr("height",e.height+h),s.attr("class","inner").attr("x",e.x-d/2-f).attr("y",e.y-e.height/2-f+l.height-1).attr("width",d+h).attr("height",e.height+h-l.height-3),r.attr("transform","translate("+(e.x-l.width/2)+", "+(e.y-e.height/2-e.padding/3+((0,o.n)((0,o.c)().flowchart.htmlLabels)?5:3))+")");const g=i.node().getBBox();return e.height=g.height,e.intersect=function(t){return(0,a.i)(e,t)},n},noteGroup:(t,e)=>{const n=t.insert("g").attr("class","note-cluster").attr("id",e.id),i=n.insert("rect",":first-child"),r=0*e.padding,o=r/2;i.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-o).attr("y",e.y-e.height/2-o).attr("width",e.width+r).attr("height",e.height+r).attr("fill","none");const s=i.node().getBBox();return e.width=s.width,e.height=s.height,e.intersect=function(t){return(0,a.i)(e,t)},n},divider:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),i=n.insert("rect",":first-child"),r=0*e.padding,o=r/2;i.attr("class","divider").attr("x",e.x-e.width/2-o).attr("y",e.y-e.height/2).attr("width",e.width+r).attr("height",e.height+r);const s=i.node().getBBox();return e.width=s.width,e.height=s.height,e.diff=-e.padding/2,e.intersect=function(t){return(0,a.i)(e,t)},n}};let x={};const k=async(t,e,n,s)=>{o.l.info("Graph in recursive render: XXX",r.c(e),s);const c=e.graph().rankdir;o.l.trace("Dir in recursive render - dir:",c);const u=t.insert("g").attr("class","root");e.nodes()?o.l.info("Recursive render XXX",e.nodes()):o.l.info("No nodes found for",e),e.edges().length>0&&o.l.trace("Recursive edges",e.edge(e.edges()[0]));const h=u.insert("g").attr("class","clusters"),f=u.insert("g").attr("class","edgePaths"),d=u.insert("g").attr("class","edgeLabels"),g=u.insert("g").attr("class","nodes");await Promise.all(e.nodes().map((async function(t){const i=e.node(t);if(void 0!==s){const n=JSON.parse(JSON.stringify(s.clusterData));o.l.info("Setting data for cluster XXX (",t,") ",n,s),e.setNode(s.id,n),e.parent(t)||(o.l.trace("Setting parent",t,s.id),e.setParent(t,s.id,n))}if(o.l.info("(Insert) Node XXX"+t+": "+JSON.stringify(e.node(t))),i&&i.clusterNode){o.l.info("Cluster identified",t,i.width,e.node(t));const r=await k(g,i.graph,n,e.node(t)),s=r.elem;(0,a.u)(i,s),i.diff=r.diff||0,o.l.info("Node bounds (abc123)",t,i,i.width,i.x,i.y),(0,a.s)(s,i),o.l.warn("Recursive render complete ",s,i)}else e.children(t).length>0?(o.l.info("Cluster - the non recursive path XXX",t,i.id,i,e),o.l.info(b(i.id,e)),l[i.id]={id:b(i.id,e),node:i}):(o.l.info("Node - the non recursive path",t,i.id,i),await(0,a.e)(g,e.node(t),c))}))),e.edges().forEach((function(t){const n=e.edge(t.v,t.w,t.name);o.l.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),o.l.info("Edge "+t.v+" -> "+t.w+": ",t," ",JSON.stringify(e.edge(t))),o.l.info("Fix",l,"ids:",t.v,t.w,"Translateing: ",l[t.v],l[t.w]),(0,a.f)(d,n)})),e.edges().forEach((function(t){o.l.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t))})),o.l.info("#############################################"),o.l.info("### Layout ###"),o.l.info("#############################################"),o.l.info(e),(0,i.bK)(e),o.l.info("Graph after layout:",r.c(e));let p=0;return(t=>y(t,t.children()))(e).forEach((function(t){const n=e.node(t);o.l.info("Position "+t+": "+JSON.stringify(e.node(t))),o.l.info("Position "+t+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?(0,a.p)(n):e.children(t).length>0?(((t,e)=>{o.l.trace("Inserting cluster");const n=e.shape||"rect";x[e.id]=v[n](t,e)})(h,n),l[n.id].node=n):(0,a.p)(n)})),e.edges().forEach((function(t){const i=e.edge(t);o.l.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(i),i);const r=(0,a.g)(f,t,i,l,n,e);(0,a.h)(i,r)})),e.nodes().forEach((function(t){const n=e.node(t);o.l.info(t,n.type,n.diff),"group"===n.type&&(p=n.diff)})),{elem:u,diff:p}},_=async(t,e,n,i,s)=>{(0,a.a)(t,n,i,s),(0,a.b)(),(0,a.d)(),x={},h={},f={},l={},o.l.warn("Graph at first:",r.c(e)),((t,e)=>{!t||e>10?o.l.debug("Opting out, no graph "):(o.l.debug("Opting in, graph "),t.nodes().forEach((function(e){t.children(e).length>0&&(o.l.warn("Cluster identified",e," Replacement id in edges: ",b(e,t)),h[e]=p(e,t),l[e]={id:b(e,t),clusterData:t.node(e)})})),t.nodes().forEach((function(e){const n=t.children(e),i=t.edges();n.length>0?(o.l.debug("Cluster identified",e,h),i.forEach((t=>{t.v!==e&&t.w!==e&&d(t.v,e)^d(t.w,e)&&(o.l.warn("Edge: ",t," leaves cluster ",e),o.l.warn("Decendants of XXX ",e,": ",h[e]),l[e].externalConnections=!0)}))):o.l.debug("Not a cluster ",e,h)})),t.edges().forEach((function(e){const n=t.edge(e);o.l.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),o.l.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(t.edge(e)));let i=e.v,r=e.w;if(o.l.warn("Fix XXX",l,"ids:",e.v,e.w,"Translating: ",l[e.v]," --- ",l[e.w]),l[e.v]&&l[e.w]&&l[e.v]===l[e.w]){o.l.warn("Fixing and trixing link to self - removing XXX",e.v,e.w,e.name),o.l.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),i=w(e.v),r=w(e.w),t.removeEdge(e.v,e.w,e.name);const a=e.w+"---"+e.v;t.setNode(a,{domId:a,id:a,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const s=JSON.parse(JSON.stringify(n)),c=JSON.parse(JSON.stringify(n));s.label="",s.arrowTypeEnd="none",c.label="",s.fromCluster=e.v,c.toCluster=e.v,t.setEdge(i,a,s,e.name+"-cyclic-special"),t.setEdge(a,r,c,e.name+"-cyclic-special")}else(l[e.v]||l[e.w])&&(o.l.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),i=w(e.v),r=w(e.w),t.removeEdge(e.v,e.w,e.name),i!==e.v&&(n.fromCluster=e.v),r!==e.w&&(n.toCluster=e.w),o.l.warn("Fix Replacing with XXX",i,r,e.name),t.setEdge(i,r,n,e.name))})),o.l.warn("Adjusted Graph",r.c(t)),m(t,0),o.l.trace(l))})(e),o.l.warn("Graph after:",r.c(e)),await k(t,e,i)}},5891:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return c}});var i=n(8540),r=n(1504),a=(n(7530),n(2510),n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[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,e,n,i,r,a,o){switch(a.length,r){case 1:return i;case 4:break;case 6:i.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},i={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){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}}};function r(){this.yy={}}return n.lexer=i,r.prototype=n,n.Parser=r,new r}());a.parser=a;var o="",s=!1;const c={parser:a,db:{setMessage:t=>{i.l.debug("Setting message to: "+t),o=t},getMessage:()=>o,setInfo:t=>{s=t},getInfo:()=>s,clear:i.v},renderer:{draw:(t,e,n)=>{try{i.l.debug("Rendering info diagram\n"+t);const a=(0,i.c)().securityLevel;let o;"sandbox"===a&&(o=(0,r.Ys)("#i"+e));const s=("sandbox"===a?(0,r.Ys)(o.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);s.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),s.attr("height",100),s.attr("width",400)}catch(t){i.l.error("Error while rendering info diagram"),i.l.error(t.message)}}},styles:()=>""}},7e3:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return L}});var i=n(8540),r=n(1504),a=n(2699),o=(n(7530),n(2510),n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,5],i=[6,9,11,17,18,20,22,23,24,26],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,20],l=[1,24],h=[4,6,9,11,17,18,20,22,23,24,26],f={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:i.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 15:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 16:i.addTask(a[s-1],a[s]),this.$="task";break;case 18:i.parseDirective("%%{","open_directive");break;case 19:i.parseDirective(a[s],"type_directive");break;case 20:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 21:i.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:e,7:3,12:4,26:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,26:n},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:r,18:a,20:o,22:s,23:c,24:u,26:n},{1:[2,2]},{14:22,15:[1,23],29:l},t([15,29],[2,19]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:21,10:25,12:4,17:r,18:a,20:o,22:s,23:c,24:u,26:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),{19:[1,26]},{21:[1,27]},t(i,[2,14]),t(i,[2,15]),{25:[1,28]},t(i,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},t(i,[2,5]),t(i,[2,12]),t(i,[2,13]),t(i,[2,16]),t(h,[2,9]),{14:32,29:l},{29:[2,20]},{11:[1,33]},t(h,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},d={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("open_directive"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\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:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}};function g(){this.yy={}}return f.lexer=d,g.prototype=f,f.Parser=g,new g}());o.parser=o;const s=o;let c="";const u=[],l=[],h=[],f=function(){let t=!0;for(const[e,n]of h.entries())h[e].processed,t=t&&n.processed;return t},d={parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().journey,clear:function(){u.length=0,l.length=0,c="",h.length=0,(0,i.v)()},setDiagramTitle:i.r,getDiagramTitle:i.t,setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,addSection:function(t){c=t,u.push(t)},getSections:function(){return u},getTasks:function(){let t=f();let e=0;for(;!t&&e<100;)t=f(),e++;return l.push(...h),l},addTask:function(t,e){const n=e.substr(1).split(":");let i=0,r=[];1===n.length?(i=Number(n[0]),r=[]):(i=Number(n[0]),r=n[1].split(","));const a=r.map((t=>t.trim())),o={section:c,type:c,people:a,task:t,score:i};h.push(o)},addTaskOrg:function(t){const e={section:c,type:c,description:t,task:t,classes:[]};l.push(e)},getActors:function(){return function(){const t=[];return l.forEach((e=>{e.people&&t.push(...e.people)})),[...new Set(t)].sort()}()}},g=t=>`.label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ${t.textColor};\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ${t.textColor}\n }\n\n .legend {\n fill: ${t.textColor};\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ${t.textColor}\n }\n\n .face {\n ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ${t.fillType0?`fill: ${t.fillType0}`:""};\n }\n .task-type-1, .section-type-1 {\n ${t.fillType0?`fill: ${t.fillType1}`:""};\n }\n .task-type-2, .section-type-2 {\n ${t.fillType0?`fill: ${t.fillType2}`:""};\n }\n .task-type-3, .section-type-3 {\n ${t.fillType0?`fill: ${t.fillType3}`:""};\n }\n .task-type-4, .section-type-4 {\n ${t.fillType0?`fill: ${t.fillType4}`:""};\n }\n .task-type-5, .section-type-5 {\n ${t.fillType0?`fill: ${t.fillType5}`:""};\n }\n .task-type-6, .section-type-6 {\n ${t.fillType0?`fill: ${t.fillType6}`:""};\n }\n .task-type-7, .section-type-7 {\n ${t.fillType0?`fill: ${t.fillType7}`:""};\n }\n\n .actor-0 {\n ${t.actor0?`fill: ${t.actor0}`:""};\n }\n .actor-1 {\n ${t.actor1?`fill: ${t.actor1}`:""};\n }\n .actor-2 {\n ${t.actor2?`fill: ${t.actor2}`:""};\n }\n .actor-3 {\n ${t.actor3?`fill: ${t.actor3}`:""};\n }\n .actor-4 {\n ${t.actor4?`fill: ${t.actor4}`:""};\n }\n .actor-5 {\n ${t.actor5?`fill: ${t.actor5}`:""};\n }\n`,p=function(t,e){return(0,a.d)(t,e)},b=function(t,e){const n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n},w=function(t,e){return(0,a.f)(t,e)};let m=-1;const y=function(){function t(t,e,n,r,a,o,s,c){i(e.append("text").attr("x",n+a/2).attr("y",r+o/2+5).style("font-color",c).style("text-anchor","middle").text(t),s)}function e(t,e,n,r,a,o,s,c,u){const{taskFontSize:l,taskFontFamily:h}=c,f=t.split(/<br\s*\/?>/gi);for(let t=0;t<f.length;t++){const c=t*l-l*(f.length-1)/2,d=e.append("text").attr("x",n+a/2).attr("y",r).attr("fill",u).style("text-anchor","middle").style("font-size",l).style("font-family",h);d.append("tspan").attr("x",n+a/2).attr("dy",c).text(f[t]),d.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(d,s)}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c)}function i(t,e){for(const n in e)n in e&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),v=b,x=function(t,e,n){const i=t.append("g"),r=(0,a.g)();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=n.width*e.taskCount+n.diagramMarginX*(e.taskCount-1),r.height=n.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,p(i,r),y(n)(e.text,i,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},n,e.colour)},k=w,_=function(t,e,n){const i=e.x+n.width/2,o=t.append("g");m++;o.append("line").attr("id","task"+m).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),function(t,e){const n=15,i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",n).attr("stroke-width",2).attr("overflow","visible"),a=t.append("g");a.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"),a.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){const i=(0,r.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(a):e.score<3?function(t){const i=(0,r.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(a):a.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")}(o,{cx:i,cy:300+30*(5-e.score),score:e.score});const s=(0,a.g)();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=n.width,s.height=n.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,p(o,s);let c=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,i={cx:c,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};b(o,i),c+=10})),y(n)(e.task,o,s.x,s.y,s.width,s.height,{class:"task"},n,e.colour)},A=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")},E={};const T=(0,i.c)().journey,C=T.leftMargin,S={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,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])},updateBounds:function(t,e,n,r){const a=(0,i.c)().journey,o=this;let s=0;var c;this.sequenceItems.forEach((function(i){s++;const u=o.sequenceItems.length-s+1;o.updateVal(i,"starty",e-u*a.boxMargin,Math.min),o.updateVal(i,"stopy",r+u*a.boxMargin,Math.max),o.updateVal(S.data,"startx",t-u*a.boxMargin,Math.min),o.updateVal(S.data,"stopx",n+u*a.boxMargin,Math.max),"activation"!==c&&(o.updateVal(i,"startx",t-u*a.boxMargin,Math.min),o.updateVal(i,"stopx",n+u*a.boxMargin,Math.max),o.updateVal(S.data,"starty",e-u*a.boxMargin,Math.min),o.updateVal(S.data,"stopy",r+u*a.boxMargin,Math.max))}))},insert:function(t,e,n,i){const r=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,i),s=Math.max(e,i);this.updateVal(S.data,"startx",r,Math.min),this.updateVal(S.data,"starty",o,Math.min),this.updateVal(S.data,"stopx",a,Math.max),this.updateVal(S.data,"stopy",s,Math.max),this.updateBounds(r,o,a,s)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},I=T.sectionFills,M=T.sectionColours,D=function(t,e,n){const r=(0,i.c)().journey;let a="";const o=n+(2*r.height+r.diagramMarginY);let s=0,c="#CCC",u="black",l=0;for(const[n,i]of e.entries()){if(a!==i.section){c=I[s%I.length],l=s%I.length,u=M[s%M.length];let o=0;const h=i.section;for(let t=n;t<e.length&&e[t].section==h;t++)o+=1;const f={x:n*r.taskMargin+n*r.width+C,y:50,text:i.section,fill:c,num:l,colour:u,taskCount:o};x(t,f,r),a=i.section,s++}const h=i.people.reduce(((t,e)=>(E[e]&&(t[e]=E[e]),t)),{});i.x=n*r.taskMargin+n*r.width+C,i.y=o,i.width=r.diagramMarginX,i.height=r.diagramMarginY,i.colour=u,i.fill=c,i.num=l,i.actors=h,_(t,i,r),S.insert(i.x,i.y,i.x+i.width+r.taskMargin,450)}},O={setConf:function(t){Object.keys(t).forEach((function(e){T[e]=t[e]}))},draw:function(t,e,n,a){const o=(0,i.c)().journey;a.db.clear(),a.parser.parse(t+"\n");const s=(0,i.c)().securityLevel;let c;"sandbox"===s&&(c=(0,r.Ys)("#i"+e));const u="sandbox"===s?(0,r.Ys)(c.nodes()[0].contentDocument.body):(0,r.Ys)("body");S.init();const l=u.select("#"+e);A(l);const h=a.db.getTasks(),f=a.db.getDiagramTitle(),d=a.db.getActors();for(const t in E)delete E[t];let g=0;d.forEach((t=>{E[t]={color:o.actorColours[g%o.actorColours.length],position:g},g++})),function(t){const e=(0,i.c)().journey;let n=60;Object.keys(E).forEach((i=>{const r=E[i].color,a={cx:20,cy:n,r:7,fill:r,stroke:"#000",pos:E[i].position};v(t,a);const o={x:40,y:n+7,fill:"#666",text:i,textMargin:5|e.boxTextMargin};k(t,o),n+=20}))}(l),S.insert(0,0,C,50*Object.keys(E).length),D(l,h,0);const p=S.getBounds();f&&l.append("text").text(f).attr("x",C).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const b=p.stopy-p.starty+2*o.diagramMarginY,w=C+p.stopx+2*o.diagramMarginX;(0,i.i)(l,b,w,o.useMaxWidth),l.append("line").attr("x1",C).attr("y1",4*o.height).attr("x2",w-C-4).attr("y2",4*o.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const m=f?70:0;l.attr("viewBox",`${p.startx} -25 ${w} ${b+m}`),l.attr("preserveAspectRatio","xMinYMin meet"),l.attr("height",b+m+25)}},L={parser:s,db:d,renderer:O,styles:g,init:t=>{O.setConf(t.journey),d.clear()}}},8540:function(t,e,n){"use strict";n.d(e,{A:function(){return $n},B:function(){return yi},C:function(){return xt},D:function(){return Ct},E:function(){return lr},F:function(){return si},G:function(){return tn},H:function(){return gr},I:function(){return On},J:function(){return Nn},K:function(){return Ir},Z:function(){return Qn},a:function(){return Sn},b:function(){return Cn},c:function(){return un},d:function(){return ft},e:function(){return wt},f:function(){return Je},g:function(){return Tn},h:function(){return di},i:function(){return bn},j:function(){return fi},k:function(){return ai},l:function(){return ot},m:function(){return yr},n:function(){return pt},o:function(){return ii},p:function(){return wn},q:function(){return cn},r:function(){return In},s:function(){return En},t:function(){return Mn},u:function(){return vi},v:function(){return An},w:function(){return li},x:function(){return bt},y:function(){return ci},z:function(){return Rn}});var i=n(9632),r=n(7530),a=n(2510),o=n(1504),s=n(6951),c=n(9297),u=n(5571);var l=(t,e)=>{const n=c.Z.parse(t),i={};for(const t in e)e[t]&&(i[t]=n[t]+e[t]);return(0,u.Z)(t,i)},h=n(852);var f=(t,e,n=50)=>{const{r:i,g:r,b:a,a:o}=c.Z.parse(t),{r:s,g:u,b:l,a:f}=c.Z.parse(e),d=n/100,g=2*d-1,p=o-f,b=((g*p==-1?g:(g+p)/(1+g*p))+1)/2,w=1-b,m=i*b+s*w,y=r*b+u*w,v=a*b+l*w,x=o*d+f*(1-d);return(0,h.Z)(m,y,v,x)};var d=(t,e=100)=>{const n=c.Z.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,f(n,t,e)},g=n(733),p=n(1778),b=n(7471),w=n(9828),m="comm",y="rule",v="decl",x=Math.abs,k=String.fromCharCode;Object.assign;function _(t){return t.trim()}function A(t,e,n){return t.replace(e,n)}function E(t,e){return t.indexOf(e)}function T(t,e){return 0|t.charCodeAt(e)}function C(t,e,n){return t.slice(e,n)}function S(t){return t.length}function I(t,e){return e.push(t),t}function M(t,e){for(var n="",i=0;i<t.length;i++)n+=e(t[i],i,t,e)||"";return n}function D(t,e,n,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case v:return t.return=t.return||t.value;case m:return"";case"@keyframes":return t.return=t.value+"{"+M(t.children,i)+"}";case y:if(!S(t.value=t.props.join(",")))return""}return S(n=M(t.children,i))?t.return=t.value+"{"+n+"}":""}var O=1,L=1,N=0,P=0,B=0,F="";function R(t,e,n,i,r,a,o,s){return{value:t,root:e,parent:n,type:i,props:r,children:a,line:O,column:L,length:o,return:"",siblings:s}}function j(){return B=P>0?T(F,--P):0,L--,10===B&&(L=1,O--),B}function $(){return B=P<N?T(F,P++):0,L++,10===B&&(L=1,O++),B}function z(){return T(F,P)}function q(){return P}function H(t,e){return C(F,t,e)}function U(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function G(t){return O=L=1,N=S(F=t),P=0,[]}function Y(t){return F="",t}function Z(t){return _(H(P-1,X(91===t?t+2:40===t?t+1:t)))}function W(t){for(;(B=z())&&B<33;)$();return U(t)>2||U(B)>3?"":" "}function K(t,e){for(;--e&&$()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return H(t,q()+(e<6&&32==z()&&32==$()))}function X(t){for(;$();)switch(B){case t:return P;case 34:case 39:34!==t&&39!==t&&X(B);break;case 40:41===t&&X(t);break;case 92:$()}return P}function V(t,e){for(;$()&&t+B!==57&&(t+B!==84||47!==z()););return"/*"+H(e,P-1)+"*"+k(47===t?t:$())}function Q(t){for(;!U(z());)$();return H(t,P)}function J(t){return Y(tt("",null,null,null,[""],t=G(t),0,[0],t))}function tt(t,e,n,i,r,a,o,s,c){for(var u=0,l=0,h=o,f=0,d=0,g=0,p=1,b=1,w=1,m=0,y="",v=r,x=a,_=i,C=y;b;)switch(g=m,m=$()){case 40:if(108!=g&&58==T(C,h-1)){-1!=E(C+=A(Z(m),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:C+=Z(m);break;case 9:case 10:case 13:case 32:C+=W(g);break;case 92:C+=K(q()-1,7);continue;case 47:switch(z()){case 42:case 47:I(nt(V($(),q()),e,n,c),c);break;default:C+="/"}break;case 123*p:s[u++]=S(C)*w;case 125*p:case 59:case 0:switch(m){case 0:case 125:b=0;case 59+l:-1==w&&(C=A(C,/\f/g,"")),d>0&&S(C)-h&&I(d>32?it(C+";",i,n,h-1,c):it(A(C," ","")+";",i,n,h-2,c),c);break;case 59:C+=";";default:if(I(_=et(C,e,n,u,l,r,s,y,v=[],x=[],h,a),a),123===m)if(0===l)tt(C,e,_,_,v,a,h,s,x);else switch(99===f&&110===T(C,3)?100:f){case 100:case 108:case 109:case 115:tt(t,_,_,i&&I(et(t,_,_,0,0,r,s,y,r,v=[],h,x),x),r,x,h,s,i?v:x);break;default:tt(C,_,_,_,[""],x,0,s,x)}}u=l=d=0,p=w=1,y=C="",h=o;break;case 58:h=1+S(C),d=g;default:if(p<1)if(123==m)--p;else if(125==m&&0==p++&&125==j())continue;switch(C+=k(m),m*p){case 38:w=l>0?1:(C+="\f",-1);break;case 44:s[u++]=(S(C)-1)*w,w=1;break;case 64:45===z()&&(C+=Z($())),f=z(),l=h=S(y=C+=Q(q())),m++;break;case 45:45===g&&2==S(C)&&(p=0)}}return a}function et(t,e,n,i,r,a,o,s,c,u,l,h){for(var f=r-1,d=0===r?a:[""],g=function(t){return t.length}(d),p=0,b=0,w=0;p<i;++p)for(var m=0,v=C(t,f+1,f=x(b=o[p])),k=t;m<g;++m)(k=_(b>0?d[m]+" "+v:A(v,/&\f/g,d[m])))&&(c[w++]=k);return R(t,e,n,0===r?y:s,c,u,l,h)}function nt(t,e,n,i){return R(t,e,n,m,k(B),C(t,2,-2),0,i)}function it(t,e,n,i,r){return R(t,e,n,v,C(t,0,i),C(t,i+1,-1),i,r)}var rt=n(8403);const at={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},ot={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},st=function(t="fatal"){let e=at.fatal;"string"==typeof t?(t=t.toLowerCase())in at&&(e=at[t]):"number"==typeof t&&(e=t),ot.trace=()=>{},ot.debug=()=>{},ot.info=()=>{},ot.warn=()=>{},ot.error=()=>{},ot.fatal=()=>{},e<=at.fatal&&(ot.fatal=console.error?console.error.bind(console,ct("FATAL"),"color: orange"):console.log.bind(console,"[35m",ct("FATAL"))),e<=at.error&&(ot.error=console.error?console.error.bind(console,ct("ERROR"),"color: orange"):console.log.bind(console,"[31m",ct("ERROR"))),e<=at.warn&&(ot.warn=console.warn?console.warn.bind(console,ct("WARN"),"color: orange"):console.log.bind(console,"[33m",ct("WARN"))),e<=at.info&&(ot.info=console.info?console.info.bind(console,ct("INFO"),"color: lightblue"):console.log.bind(console,"[34m",ct("INFO"))),e<=at.debug&&(ot.debug=console.debug?console.debug.bind(console,ct("DEBUG"),"color: lightgreen"):console.log.bind(console,"[32m",ct("DEBUG"))),e<=at.trace&&(ot.trace=console.debug?console.debug.bind(console,ct("TRACE"),"color: lightgreen"):console.log.bind(console,"[32m",ct("TRACE")))},ct=t=>`%c${r().format("ss.SSS")} : ${t} : `,ut=/<br\s*\/?>/gi,lt=t=>s.sanitize(t),ht=(t,e)=>{var n;if(!1!==(null==(n=e.flowchart)?void 0:n.htmlLabels)){const n=e.securityLevel;"antiscript"===n||"strict"===n?t=lt(t):"loose"!==n&&(t=(t=(t=gt(t)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),t=dt(t))}return t},ft=(t,e)=>t?t=e.dompurifyConfig?s.sanitize(ht(t,e),e.dompurifyConfig).toString():s.sanitize(ht(t,e),{FORBID_TAGS:["style"]}).toString():t,dt=t=>t.replace(/#br#/g,"<br/>"),gt=t=>t.replace(ut,"#br#"),pt=t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),bt=function(t){let e=t;if(t.split("~").length-1>=2){let t=e;do{e=t,t=e.replace(/~([^\s,:;]+)~/,"<$1>")}while(t!=e);return bt(t)}return e},wt={getRows:t=>{if(!t)return[""];return gt(t).replace(/\\n/g,"#br#").split("#br#")},sanitizeText:ft,sanitizeTextOrArray:(t,e)=>"string"==typeof t?ft(t,e):t.flat().map((t=>ft(t,e))),hasBreaks:t=>ut.test(t),splitBreaks:t=>t.split(ut),lineBreakRegex:ut,removeScript:lt,getUrl:t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},evaluate:pt,getMax:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.max(...e)},getMin:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.min(...e)}},mt=(t,e)=>l(t,e?{s:-40,l:10}:{s:-40,l:-10}),yt="#ffffff",vt="#f2f2f2";const xt=t=>{const e=new class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=l(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=mt(this.primaryColor,this.darkMode),this.secondaryBorderColor=mt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mt(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(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,h.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(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,g.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,g.Z)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,g.Z)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,g.Z)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||l(this["cScale"+t],{h:180});for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,l:-(7+5*t)});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||d(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||d(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=(0,p.Z)(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,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||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||l(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||l(this.primaryColor,{l:-10}),this.pie5=this.pie5||l(this.secondaryColor,{l:-30}),this.pie6=this.pie6||l(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||l(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,b.Z)(this.quadrant1Fill)?(0,p.Z)(this.quadrant1Fill):(0,g.Z)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,p.Z)(this.git0,25),this.git1=(0,p.Z)(this.git1,25),this.git2=(0,p.Z)(this.git2,25),this.git3=(0,p.Z)(this.git3,25),this.git4=(0,p.Z)(this.git4,25),this.git5=(0,p.Z)(this.git5,25),this.git6=(0,p.Z)(this.git6,25),this.git7=(0,p.Z)(this.git7,25)):(this.git0=(0,g.Z)(this.git0,25),this.git1=(0,g.Z)(this.git1,25),this.git2=(0,g.Z)(this.git2,25),this.git3=(0,g.Z)(this.git3,25),this.git4=(0,g.Z)(this.git4,25),this.git5=(0,g.Z)(this.git5,25),this.git6=(0,g.Z)(this.git6,25),this.git7=(0,g.Z)(this.git7,25)),this.gitInv0=this.gitInv0||(0,g.Z)(d(this.git0),25),this.gitInv1=this.gitInv1||d(this.git1),this.gitInv2=this.gitInv2||d(this.git2),this.gitInv3=this.gitInv3||d(this.git3),this.gitInv4=this.gitInv4||d(this.git4),this.gitInv5=this.gitInv5||d(this.git5),this.gitInv6=this.gitInv6||d(this.git6),this.gitInv7=this.gitInv7||d(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||d(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||d(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||yt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||vt}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e};class kt{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,p.Z)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=mt(this.primaryColor,this.darkMode),this.secondaryBorderColor=mt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mt(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(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(){this.secondBkg=(0,p.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,p.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.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||d(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||(0,p.Z)(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||(0,g.Z)(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=(0,p.Z)(this.contrast,30),this.sectionBkgColor2=(0,p.Z)(this.contrast,30),this.taskBorderColor=(0,g.Z)(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=(0,p.Z)(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=(0,g.Z)(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",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||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,b.Z)(this.quadrant1Fill)?(0,p.Z)(this.quadrant1Fill):(0,g.Z)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,g.Z)(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||l(this.primaryColor,{h:-30}),this.git4=this.pie5||l(this.primaryColor,{h:-60}),this.git5=this.pie6||l(this.primaryColor,{h:-90}),this.git6=this.pie7||l(this.primaryColor,{h:60}),this.git7=this.pie8||l(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||d(this.git0),this.gitInv1=this.gitInv1||d(this.git1),this.gitInv2=this.gitInv2||d(this.git2),this.gitInv3=this.gitInv3||d(this.git3),this.gitInv4=this.gitInv4||d(this.git4),this.gitInv5=this.gitInv5||d(this.git5),this.gitInv6=this.gitInv6||d(this.git6),this.gitInv7=this.gitInv7||d(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||yt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||vt}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const _t={base:{getThemeVariables:t=>{const e=new 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(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||l(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||l(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||mt(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||mt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||mt(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||mt(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||d(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||d(this.tertiaryColor),this.lineColor=this.lineColor||d(this.background),this.arrowheadColor=this.arrowheadColor||d(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,g.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,g.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||d(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,p.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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,g.Z)(this["cScale"+t],75);else for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,g.Z)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||d(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||(0,p.Z)(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||(0,g.Z)(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||l(this.mainBkg,{h:180,s:-15,l:t*(5+3*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||l(this.mainBkg,{h:180,s:-15,l:t*(8+3*e)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||l(this.primaryColor,{h:64}),this.fillType3=this.fillType3||l(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||l(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||l(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||l(this.primaryColor,{h:128}),this.fillType7=this.fillType7||l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||l(this.primaryColor,{l:-10}),this.pie5=this.pie5||l(this.secondaryColor,{l:-10}),this.pie6=this.pie6||l(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||l(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,b.Z)(this.quadrant1Fill)?(0,p.Z)(this.quadrant1Fill):(0,g.Z)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,g.Z)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,p.Z)(this.git0,25),this.git1=(0,p.Z)(this.git1,25),this.git2=(0,p.Z)(this.git2,25),this.git3=(0,p.Z)(this.git3,25),this.git4=(0,p.Z)(this.git4,25),this.git5=(0,p.Z)(this.git5,25),this.git6=(0,p.Z)(this.git6,25),this.git7=(0,p.Z)(this.git7,25)):(this.git0=(0,g.Z)(this.git0,25),this.git1=(0,g.Z)(this.git1,25),this.git2=(0,g.Z)(this.git2,25),this.git3=(0,g.Z)(this.git3,25),this.git4=(0,g.Z)(this.git4,25),this.git5=(0,g.Z)(this.git5,25),this.git6=(0,g.Z)(this.git6,25),this.git7=(0,g.Z)(this.git7,25)),this.gitInv0=this.gitInv0||d(this.git0),this.gitInv1=this.gitInv1||d(this.git1),this.gitInv2=this.gitInv2||d(this.git2),this.gitInv3=this.gitInv3||d(this.git3),this.gitInv4=this.gitInv4||d(this.git4),this.gitInv5=this.gitInv5||d(this.git5),this.gitInv6=this.gitInv6||d(this.git6),this.gitInv7=this.gitInv7||d(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||yt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||vt}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e}},dark:{getThemeVariables:t=>{const e=new class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,p.Z)(this.primaryColor,16),this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=d(this.background),this.secondaryBorderColor=mt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mt(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,p.Z)(d("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,h.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,g.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,g.Z)(this.sectionBkgColor,10),this.taskBorderColor=(0,h.Z)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,h.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(){this.secondBkg=(0,p.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,p.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,p.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=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||d(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||(0,p.Z)(this["cScale"+t],10);for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,s:-30,l:-(4*t-10)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,s:-30,l:-(4*t-7)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,b.Z)(this.quadrant1Fill)?(0,p.Z)(this.quadrant1Fill):(0,g.Z)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,g.Z)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,p.Z)(this.secondaryColor,20),this.git1=(0,p.Z)(this.pie2||this.secondaryColor,20),this.git2=(0,p.Z)(this.pie3||this.tertiaryColor,20),this.git3=(0,p.Z)(this.pie4||l(this.primaryColor,{h:-30}),20),this.git4=(0,p.Z)(this.pie5||l(this.primaryColor,{h:-60}),20),this.git5=(0,p.Z)(this.pie6||l(this.primaryColor,{h:-90}),10),this.git6=(0,p.Z)(this.pie7||l(this.primaryColor,{h:60}),10),this.git7=(0,p.Z)(this.pie8||l(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||d(this.git0),this.gitInv1=this.gitInv1||d(this.git1),this.gitInv2=this.gitInv2||d(this.git2),this.gitInv3=this.gitInv3||d(this.git3),this.gitInv4=this.gitInv4||d(this.git4),this.gitInv5=this.gitInv5||d(this.git5),this.gitInv6=this.gitInv6||d(this.git6),this.gitInv7=this.gitInv7||d(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||d(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||d(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||(0,p.Z)(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||(0,p.Z)(this.background,2)}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e}},default:{getThemeVariables:xt},forest:{getThemeVariables:t=>{const e=new 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,p.Z)("#cde498",10),this.primaryBorderColor=mt(this.primaryColor,this.darkMode),this.secondaryBorderColor=mt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mt(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.primaryColor),this.lineColor=d(this.background),this.textColor=d(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(){this.actorBorder=(0,g.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||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,g.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,g.Z)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,g.Z)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,g.Z)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||l(this["cScale"+t],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,s:-30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,s:-30,l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=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||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||l(this.primaryColor,{l:-30}),this.pie5=this.pie5||l(this.secondaryColor,{l:-30}),this.pie6=this.pie6||l(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||l(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,b.Z)(this.quadrant1Fill)?(0,p.Z)(this.quadrant1Fill):(0,g.Z)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,p.Z)(this.git0,25),this.git1=(0,p.Z)(this.git1,25),this.git2=(0,p.Z)(this.git2,25),this.git3=(0,p.Z)(this.git3,25),this.git4=(0,p.Z)(this.git4,25),this.git5=(0,p.Z)(this.git5,25),this.git6=(0,p.Z)(this.git6,25),this.git7=(0,p.Z)(this.git7,25)):(this.git0=(0,g.Z)(this.git0,25),this.git1=(0,g.Z)(this.git1,25),this.git2=(0,g.Z)(this.git2,25),this.git3=(0,g.Z)(this.git3,25),this.git4=(0,g.Z)(this.git4,25),this.git5=(0,g.Z)(this.git5,25),this.git6=(0,g.Z)(this.git6,25),this.git7=(0,g.Z)(this.git7,25)),this.gitInv0=this.gitInv0||d(this.git0),this.gitInv1=this.gitInv1||d(this.git1),this.gitInv2=this.gitInv2||d(this.git2),this.gitInv3=this.gitInv3||d(this.git3),this.gitInv4=this.gitInv4||d(this.git4),this.gitInv5=this.gitInv5||d(this.git5),this.gitInv6=this.gitInv6||d(this.git6),this.gitInv7=this.gitInv7||d(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||d(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||d(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||yt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||vt}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e}},neutral:{getThemeVariables:t=>{const e=new kt;return e.calculate(t),e}}},At={theme:"default",themeVariables:_t.default.getThemeVariables(),themeCSS:void 0,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,deterministicIDSeed:void 0,flowchart:{titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,useMaxWidth:!0,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{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,useMaxWidth:!0,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,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:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,displayMode:"",axisFormat:"%Y-%m-%d",tickInterval:void 0,useMaxWidth:!0,topAxis:!1,useWidth:void 0},journey:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,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"]},timeline:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,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},class:{titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},state:{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,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},er:{titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12,useMaxWidth:!0},pie:{useWidth:void 0,useMaxWidth:!0,textPosition:.75},quadrantChart:{chartWidth:500,chartHeight:500,titlePadding:10,titleFontSize:20,quadrantPadding:5,quadrantTextTopPadding:5,quadrantLabelFontSize:16,quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2,xAxisLabelPadding:5,xAxisLabelFontSize:16,xAxisPosition:"top",yAxisLabelPadding:5,yAxisLabelFontSize:16,yAxisPosition:"left",pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,useMaxWidth:!0},requirement:{useWidth:void 0,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},gitGraph:{titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0},c4:{useWidth:void 0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,useMaxWidth:!0,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,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}},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"},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},fontSize:16};At.class&&(At.class.arrowMarkerAbsolute=At.arrowMarkerAbsolute),At.gitGraph&&(At.gitGraph.arrowMarkerAbsolute=At.arrowMarkerAbsolute);const Et=(t,e="")=>Object.keys(t).reduce(((n,i)=>Array.isArray(t[i])?n:"object"==typeof t[i]&&null!==t[i]?[...n,e+i,...Et(t[i],"")]:[...n,e+i]),[]),Tt=Et(At,""),Ct=At;function St(t){return null==t}var It={isNothing:St,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:St(t)?[]:[t]},repeat:function(t,e){var n,i="";for(n=0;n<e;n+=1)i+=t;return i},isNegativeZero:function(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},extend:function(t,e){var n,i,r,a;if(e)for(n=0,i=(a=Object.keys(e)).length;n<i;n+=1)t[r=a[n]]=e[r];return t}};function Mt(t,e){var n="",i=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),i+" "+n):i}function Dt(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=Mt(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}Dt.prototype=Object.create(Error.prototype),Dt.prototype.constructor=Dt,Dt.prototype.toString=function(t){return this.name+": "+Mt(this,t)};var Ot=Dt;function Lt(t,e,n,i,r){var a="",o="",s=Math.floor(r/2)-1;return i-e>s&&(e=i-s+(a=" ... ").length),n-i>s&&(n=i+s-(o=" ...").length),{str:a+t.slice(e,n).replace(/\t/g,"→")+o,pos:i-e+a.length}}function Nt(t,e){return It.repeat(" ",e-t.length)+t}var Pt=function(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var n,i=/\r?\n|\r|\0/g,r=[0],a=[],o=-1;n=i.exec(t.buffer);)a.push(n.index),r.push(n.index+n[0].length),t.position<=n.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var s,c,u="",l=Math.min(t.line+e.linesAfter,a.length).toString().length,h=e.maxLength-(e.indent+l+3);for(s=1;s<=e.linesBefore&&!(o-s<0);s++)c=Lt(t.buffer,r[o-s],a[o-s],t.position-(r[o]-r[o-s]),h),u=It.repeat(" ",e.indent)+Nt((t.line-s+1).toString(),l)+" | "+c.str+"\n"+u;for(c=Lt(t.buffer,r[o],a[o],t.position,h),u+=It.repeat(" ",e.indent)+Nt((t.line+1).toString(),l)+" | "+c.str+"\n",u+=It.repeat("-",e.indent+l+3+c.pos)+"^\n",s=1;s<=e.linesAfter&&!(o+s>=a.length);s++)c=Lt(t.buffer,r[o+s],a[o+s],t.position-(r[o]-r[o+s]),h),u+=It.repeat(" ",e.indent)+Nt((t.line+s+1).toString(),l)+" | "+c.str+"\n";return u.replace(/\n$/,"")},Bt=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Ft=["scalar","sequence","mapping"];var Rt=function(t,e){var n,i;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===Bt.indexOf(e))throw new Ot('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=(n=e.styleAliases||null,i={},null!==n&&Object.keys(n).forEach((function(t){n[t].forEach((function(e){i[String(e)]=t}))})),i),-1===Ft.indexOf(this.kind))throw new Ot('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function jt(t,e){var n=[];return t[e].forEach((function(t){var e=n.length;n.forEach((function(n,i){n.tag===t.tag&&n.kind===t.kind&&n.multi===t.multi&&(e=i)})),n[e]=t})),n}function $t(t){return this.extend(t)}$t.prototype.extend=function(t){var e=[],n=[];if(t instanceof Rt)n.push(t);else if(Array.isArray(t))n=n.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new Ot("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof Rt))throw new Ot("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new Ot("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 Ot("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(t){if(!(t instanceof Rt))throw new Ot("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var i=Object.create($t.prototype);return i.implicit=(this.implicit||[]).concat(e),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=jt(i,"implicit"),i.compiledExplicit=jt(i,"explicit"),i.compiledTypeMap=function(){var t,e,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(n.multi[t.kind].push(t),n.multi.fallback.push(t)):n[t.kind][t.tag]=n.fallback[t.tag]=t}for(t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(i);return n}(i.compiledImplicit,i.compiledExplicit),i};var zt=new $t({explicit:[new Rt("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),new Rt("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),new Rt("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}})]});var qt=new Rt("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)},construct:function(){return null},predicate:function(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});var Ht=new Rt("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)},construct:function(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function Ut(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function Gt(t){return 48<=t&&t<=55}function Yt(t){return 48<=t&&t<=57}var Zt=new Rt("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n=t.length,i=0,r=!1;if(!n)return!1;if("-"!==(e=t[i])&&"+"!==e||(e=t[++i]),"0"===e){if(i+1===n)return!0;if("b"===(e=t[++i])){for(i++;i<n;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;r=!0}return r&&"_"!==e}if("x"===e){for(i++;i<n;i++)if("_"!==(e=t[i])){if(!Ut(t.charCodeAt(i)))return!1;r=!0}return r&&"_"!==e}if("o"===e){for(i++;i<n;i++)if("_"!==(e=t[i])){if(!Gt(t.charCodeAt(i)))return!1;r=!0}return r&&"_"!==e}}if("_"===e)return!1;for(;i<n;i++)if("_"!==(e=t[i])){if(!Yt(t.charCodeAt(i)))return!1;r=!0}return!(!r||"_"===e)},construct:function(t){var e,n=t,i=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(e=n[0])&&"+"!==e||("-"===e&&(i=-1),e=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===e){if("b"===n[1])return i*parseInt(n.slice(2),2);if("x"===n[1])return i*parseInt(n.slice(2),16);if("o"===n[1])return i*parseInt(n.slice(2),8)}return i*parseInt(n,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!It.isNegativeZero(t)},represent:{binary:function(t){return 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"]}}),Wt=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var Kt=/^[-+]?[0-9]+e/;var Xt=new Rt("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!Wt.test(t)||"_"===t[t.length-1])},construct:function(t){var e,n;return n="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:n*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||It.isNegativeZero(t))},represent:function(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(It.isNegativeZero(t))return"-0.0";return n=t.toString(10),Kt.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),Vt=zt.extend({implicit:[qt,Ht,Zt,Xt]}),Qt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Jt=new 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]))?))?$");var te=new Rt("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==Qt.exec(t)||null!==Jt.exec(t))},construct:function(t){var e,n,i,r,a,o,s,c,u=0,l=null;if(null===(e=Qt.exec(t))&&(e=Jt.exec(t)),null===e)throw new Error("Date resolve error");if(n=+e[1],i=+e[2]-1,r=+e[3],!e[4])return new Date(Date.UTC(n,i,r));if(a=+e[4],o=+e[5],s=+e[6],e[7]){for(u=e[7].slice(0,3);u.length<3;)u+="0";u=+u}return e[9]&&(l=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(l=-l)),c=new Date(Date.UTC(n,i,r,a,o,s,u)),l&&c.setTime(c.getTime()-l),c},instanceOf:Date,represent:function(t){return t.toISOString()}});var ee=new Rt("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var ie=new Rt("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,i=0,r=t.length,a=ne;for(n=0;n<r;n++)if(!((e=a.indexOf(t.charAt(n)))>64)){if(e<0)return!1;i+=6}return i%8==0},construct:function(t){var e,n,i=t.replace(/[\r\n=]/g,""),r=i.length,a=ne,o=0,s=[];for(e=0;e<r;e++)e%4==0&&e&&(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)),o=o<<6|a.indexOf(i.charAt(e));return 0===(n=r%4*6)?(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)):18===n?(s.push(o>>10&255),s.push(o>>2&255)):12===n&&s.push(o>>4&255),new Uint8Array(s)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var e,n,i="",r=0,a=t.length,o=ne;for(e=0;e<a;e++)e%3==0&&e&&(i+=o[r>>18&63],i+=o[r>>12&63],i+=o[r>>6&63],i+=o[63&r]),r=(r<<8)+t[e];return 0===(n=a%3)?(i+=o[r>>18&63],i+=o[r>>12&63],i+=o[r>>6&63],i+=o[63&r]):2===n?(i+=o[r>>10&63],i+=o[r>>4&63],i+=o[r<<2&63],i+=o[64]):1===n&&(i+=o[r>>2&63],i+=o[r<<4&63],i+=o[64],i+=o[64]),i}}),re=Object.prototype.hasOwnProperty,ae=Object.prototype.toString;var oe=new Rt("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,i,r,a,o=[],s=t;for(e=0,n=s.length;e<n;e+=1){if(i=s[e],a=!1,"[object Object]"!==ae.call(i))return!1;for(r in i)if(re.call(i,r)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==o.indexOf(r))return!1;o.push(r)}return!0},construct:function(t){return null!==t?t:[]}}),se=Object.prototype.toString;var ce=new Rt("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,i,r,a,o=t;for(a=new Array(o.length),e=0,n=o.length;e<n;e+=1){if(i=o[e],"[object Object]"!==se.call(i))return!1;if(1!==(r=Object.keys(i)).length)return!1;a[e]=[r[0],i[r[0]]]}return!0},construct:function(t){if(null===t)return[];var e,n,i,r,a,o=t;for(a=new Array(o.length),e=0,n=o.length;e<n;e+=1)i=o[e],r=Object.keys(i),a[e]=[r[0],i[r[0]]];return a}}),ue=Object.prototype.hasOwnProperty;var le=new Rt("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(t){if(null===t)return!0;var e,n=t;for(e in n)if(ue.call(n,e)&&null!==n[e])return!1;return!0},construct:function(t){return null!==t?t:{}}}),he=Vt.extend({implicit:[te,ee],explicit:[ie,oe,ce,le]}),fe=Object.prototype.hasOwnProperty,de=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ge=/[\x85\u2028\u2029]/,pe=/[,\[\]\{\}]/,be=/^(?:!|!!|![a-z\-]+!)$/i,we=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function me(t){return Object.prototype.toString.call(t)}function ye(t){return 10===t||13===t}function ve(t){return 9===t||32===t}function xe(t){return 9===t||32===t||10===t||13===t}function ke(t){return 44===t||91===t||93===t||123===t||125===t}function _e(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function Ae(t){return 120===t?2:117===t?4:85===t?8:0}function Ee(t){return 48<=t&&t<=57?t-48:-1}function Te(t){return 48===t?"\0":97===t?"":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"
":95===t?" ":76===t?"\u2028":80===t?"\u2029":""}function Ce(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var Se=new Array(256),Ie=new Array(256),Me=0;Me<256;Me++)Se[Me]=Te(Me)?1:0,Ie[Me]=Te(Me);function De(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||he,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Oe(t,e){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=Pt(n),new Ot(e,n)}function Le(t,e){throw Oe(t,e)}function Ne(t,e){t.onWarning&&t.onWarning.call(null,Oe(t,e))}var Pe={YAML:function(t,e,n){var i,r,a;null!==t.version&&Le(t,"duplication of %YAML directive"),1!==n.length&&Le(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&Le(t,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),a=parseInt(i[2],10),1!==r&&Le(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&Ne(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var i,r;2!==n.length&&Le(t,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],be.test(i)||Le(t,"ill-formed tag handle (first argument) of the TAG directive"),fe.call(t.tagMap,i)&&Le(t,'there is a previously declared suffix for "'+i+'" tag handle'),we.test(r)||Le(t,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch(e){Le(t,"tag prefix is malformed: "+r)}t.tagMap[i]=r}};function Be(t,e,n,i){var r,a,o,s;if(e<n){if(s=t.input.slice(e,n),i)for(r=0,a=s.length;r<a;r+=1)9===(o=s.charCodeAt(r))||32<=o&&o<=1114111||Le(t,"expected valid JSON character");else de.test(s)&&Le(t,"the stream contains non-printable characters");t.result+=s}}function Fe(t,e,n,i){var r,a,o,s;for(It.isObject(n)||Le(t,"cannot merge mappings; the provided source object is unacceptable"),o=0,s=(r=Object.keys(n)).length;o<s;o+=1)a=r[o],fe.call(e,a)||(e[a]=n[a],i[a]=!0)}function Re(t,e,n,i,r,a,o,s,c){var u,l;if(Array.isArray(r))for(u=0,l=(r=Array.prototype.slice.call(r)).length;u<l;u+=1)Array.isArray(r[u])&&Le(t,"nested arrays are not supported inside keys"),"object"==typeof r&&"[object Object]"===me(r[u])&&(r[u]="[object Object]");if("object"==typeof r&&"[object Object]"===me(r)&&(r="[object Object]"),r=String(r),null===e&&(e={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(a))for(u=0,l=a.length;u<l;u+=1)Fe(t,e,a[u],n);else Fe(t,e,a,n);else t.json||fe.call(n,r)||!fe.call(e,r)||(t.line=o||t.line,t.lineStart=s||t.lineStart,t.position=c||t.position,Le(t,"duplicated mapping key")),"__proto__"===r?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,writable:!0,value:a}):e[r]=a,delete n[r];return e}function je(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):Le(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function $e(t,e,n){for(var i=0,r=t.input.charCodeAt(t.position);0!==r;){for(;ve(r);)9===r&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),r=t.input.charCodeAt(++t.position);if(e&&35===r)do{r=t.input.charCodeAt(++t.position)}while(10!==r&&13!==r&&0!==r);if(!ye(r))break;for(je(t),r=t.input.charCodeAt(t.position),i++,t.lineIndent=0;32===r;)t.lineIndent++,r=t.input.charCodeAt(++t.position)}return-1!==n&&0!==i&&t.lineIndent<n&&Ne(t,"deficient indentation"),i}function ze(t){var e,n=t.position;return!(45!==(e=t.input.charCodeAt(n))&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,0!==(e=t.input.charCodeAt(n))&&!xe(e)))}function qe(t,e){1===e?t.result+=" ":e>1&&(t.result+=It.repeat("\n",e-1))}function He(t,e){var n,i,r=t.tag,a=t.anchor,o=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),i=t.input.charCodeAt(t.position);0!==i&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,Le(t,"tab characters must not be used in indentation")),45===i)&&xe(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,$e(t,!0,-1)&&t.lineIndent<=e)o.push(null),i=t.input.charCodeAt(t.position);else if(n=t.line,Ye(t,e,3,!1,!0),o.push(t.result),$e(t,!0,-1),i=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==i)Le(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!s&&(t.tag=r,t.anchor=a,t.kind="sequence",t.result=o,!0)}function Ue(t){var e,n,i,r,a=!1,o=!1;if(33!==(r=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&Le(t,"duplication of a tag property"),60===(r=t.input.charCodeAt(++t.position))?(a=!0,r=t.input.charCodeAt(++t.position)):33===r?(o=!0,n="!!",r=t.input.charCodeAt(++t.position)):n="!",e=t.position,a){do{r=t.input.charCodeAt(++t.position)}while(0!==r&&62!==r);t.position<t.length?(i=t.input.slice(e,t.position),r=t.input.charCodeAt(++t.position)):Le(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==r&&!xe(r);)33===r&&(o?Le(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),be.test(n)||Le(t,"named tag handle cannot contain such characters"),o=!0,e=t.position+1)),r=t.input.charCodeAt(++t.position);i=t.input.slice(e,t.position),pe.test(i)&&Le(t,"tag suffix cannot contain flow indicator characters")}i&&!we.test(i)&&Le(t,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i)}catch(e){Le(t,"tag name is malformed: "+i)}return a?t.tag=i:fe.call(t.tagMap,n)?t.tag=t.tagMap[n]+i:"!"===n?t.tag="!"+i:"!!"===n?t.tag="tag:yaml.org,2002:"+i:Le(t,'undeclared tag handle "'+n+'"'),!0}function Ge(t){var e,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&Le(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!xe(n)&&!ke(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&Le(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function Ye(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g=1,p=!1,b=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,a=o=s=4===n||3===n,i&&$e(t,!0,-1)&&(p=!0,t.lineIndent>e?g=1:t.lineIndent===e?g=0:t.lineIndent<e&&(g=-1)),1===g)for(;Ue(t)||Ge(t);)$e(t,!0,-1)?(p=!0,s=a,t.lineIndent>e?g=1:t.lineIndent===e?g=0:t.lineIndent<e&&(g=-1)):s=!1;if(s&&(s=p||r),1!==g&&4!==n||(f=1===n||2===n?e:e+1,d=t.position-t.lineStart,1===g?s&&(He(t,d)||function(t,e,n){var i,r,a,o,s,c,u,l=t.tag,h=t.anchor,f={},d=Object.create(null),g=null,p=null,b=null,w=!1,m=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=f),u=t.input.charCodeAt(t.position);0!==u;){if(w||-1===t.firstTabInLine||(t.position=t.firstTabInLine,Le(t,"tab characters must not be used in indentation")),i=t.input.charCodeAt(t.position+1),a=t.line,63!==u&&58!==u||!xe(i)){if(o=t.line,s=t.lineStart,c=t.position,!Ye(t,n,2,!1,!0))break;if(t.line===a){for(u=t.input.charCodeAt(t.position);ve(u);)u=t.input.charCodeAt(++t.position);if(58===u)xe(u=t.input.charCodeAt(++t.position))||Le(t,"a whitespace character is expected after the key-value separator within a block mapping"),w&&(Re(t,f,d,g,p,null,o,s,c),g=p=b=null),m=!0,w=!1,r=!1,g=t.tag,p=t.result;else{if(!m)return t.tag=l,t.anchor=h,!0;Le(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!m)return t.tag=l,t.anchor=h,!0;Le(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===u?(w&&(Re(t,f,d,g,p,null,o,s,c),g=p=b=null),m=!0,w=!0,r=!0):w?(w=!1,r=!0):Le(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,u=i;if((t.line===a||t.lineIndent>e)&&(w&&(o=t.line,s=t.lineStart,c=t.position),Ye(t,e,4,!0,r)&&(w?p=t.result:b=t.result),w||(Re(t,f,d,g,p,b,o,s,c),g=p=b=null),$e(t,!0,-1),u=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==u)Le(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return w&&Re(t,f,d,g,p,null,o,s,c),m&&(t.tag=l,t.anchor=h,t.kind="mapping",t.result=f),m}(t,d,f))||function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g=!0,p=t.tag,b=t.anchor,w=Object.create(null);if(91===(d=t.input.charCodeAt(t.position)))o=93,u=!1,a=[];else{if(123!==d)return!1;o=125,u=!0,a={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),d=t.input.charCodeAt(++t.position);0!==d;){if($e(t,!0,e),(d=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=p,t.anchor=b,t.kind=u?"mapping":"sequence",t.result=a,!0;g?44===d&&Le(t,"expected the node content, but found ','"):Le(t,"missed comma between flow collection entries"),f=null,s=c=!1,63===d&&xe(t.input.charCodeAt(t.position+1))&&(s=c=!0,t.position++,$e(t,!0,e)),n=t.line,i=t.lineStart,r=t.position,Ye(t,e,1,!1,!0),h=t.tag,l=t.result,$e(t,!0,e),d=t.input.charCodeAt(t.position),!c&&t.line!==n||58!==d||(s=!0,d=t.input.charCodeAt(++t.position),$e(t,!0,e),Ye(t,e,1,!1,!0),f=t.result),u?Re(t,a,w,h,l,f,n,i,r):s?a.push(Re(t,null,w,h,l,f,n,i,r)):a.push(l),$e(t,!0,e),44===(d=t.input.charCodeAt(t.position))?(g=!0,d=t.input.charCodeAt(++t.position)):g=!1}Le(t,"unexpected end of the stream within a flow collection")}(t,f)?b=!0:(o&&function(t,e){var n,i,r,a,o=1,s=!1,c=!1,u=e,l=0,h=!1;if(124===(a=t.input.charCodeAt(t.position)))i=!1;else{if(62!==a)return!1;i=!0}for(t.kind="scalar",t.result="";0!==a;)if(43===(a=t.input.charCodeAt(++t.position))||45===a)1===o?o=43===a?3:2:Le(t,"repeat of a chomping mode identifier");else{if(!((r=Ee(a))>=0))break;0===r?Le(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?Le(t,"repeat of an indentation width identifier"):(u=e+r-1,c=!0)}if(ve(a)){do{a=t.input.charCodeAt(++t.position)}while(ve(a));if(35===a)do{a=t.input.charCodeAt(++t.position)}while(!ye(a)&&0!==a)}for(;0!==a;){for(je(t),t.lineIndent=0,a=t.input.charCodeAt(t.position);(!c||t.lineIndent<u)&&32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position);if(!c&&t.lineIndent>u&&(u=t.lineIndent),ye(a))l++;else{if(t.lineIndent<u){3===o?t.result+=It.repeat("\n",s?1+l:l):1===o&&s&&(t.result+="\n");break}for(i?ve(a)?(h=!0,t.result+=It.repeat("\n",s?1+l:l)):h?(h=!1,t.result+=It.repeat("\n",l+1)):0===l?s&&(t.result+=" "):t.result+=It.repeat("\n",l):t.result+=It.repeat("\n",s?1+l:l),s=!0,c=!0,l=0,n=t.position;!ye(a)&&0!==a;)a=t.input.charCodeAt(++t.position);Be(t,n,t.position,!1)}}return!0}(t,f)||function(t,e){var n,i,r;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,i=r=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(Be(t,i,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;i=t.position,t.position++,r=t.position}else ye(n)?(Be(t,i,r,!0),qe(t,$e(t,!1,e)),i=r=t.position):t.position===t.lineStart&&ze(t)?Le(t,"unexpected end of the document within a single quoted scalar"):(t.position++,r=t.position);Le(t,"unexpected end of the stream within a single quoted scalar")}(t,f)||function(t,e){var n,i,r,a,o,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=i=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return Be(t,n,t.position,!0),t.position++,!0;if(92===s){if(Be(t,n,t.position,!0),ye(s=t.input.charCodeAt(++t.position)))$e(t,!1,e);else if(s<256&&Se[s])t.result+=Ie[s],t.position++;else if((o=Ae(s))>0){for(r=o,a=0;r>0;r--)(o=_e(s=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+o:Le(t,"expected hexadecimal character");t.result+=Ce(a),t.position++}else Le(t,"unknown escape sequence");n=i=t.position}else ye(s)?(Be(t,n,i,!0),qe(t,$e(t,!1,e)),n=i=t.position):t.position===t.lineStart&&ze(t)?Le(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position)}Le(t,"unexpected end of the stream within a double quoted scalar")}(t,f)?b=!0:!function(t){var e,n,i;if(42!==(i=t.input.charCodeAt(t.position)))return!1;for(i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!xe(i)&&!ke(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&Le(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),fe.call(t.anchorMap,n)||Le(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],$e(t,!0,-1),!0}(t)?function(t,e,n){var i,r,a,o,s,c,u,l,h=t.kind,f=t.result;if(xe(l=t.input.charCodeAt(t.position))||ke(l)||35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l)return!1;if((63===l||45===l)&&(xe(i=t.input.charCodeAt(t.position+1))||n&&ke(i)))return!1;for(t.kind="scalar",t.result="",r=a=t.position,o=!1;0!==l;){if(58===l){if(xe(i=t.input.charCodeAt(t.position+1))||n&&ke(i))break}else if(35===l){if(xe(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&ze(t)||n&&ke(l))break;if(ye(l)){if(s=t.line,c=t.lineStart,u=t.lineIndent,$e(t,!1,-1),t.lineIndent>=e){o=!0,l=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=c,t.lineIndent=u;break}}o&&(Be(t,r,a,!1),qe(t,t.line-s),r=a=t.position,o=!1),ve(l)||(a=t.position+1),l=t.input.charCodeAt(++t.position)}return Be(t,r,a,!1),!!t.result||(t.kind=h,t.result=f,!1)}(t,f,1===n)&&(b=!0,null===t.tag&&(t.tag="?")):(b=!0,null===t.tag&&null===t.anchor||Le(t,"alias node should not have any properties")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===g&&(b=s&&He(t,d))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&Le(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),c=0,u=t.implicitTypes.length;c<u;c+=1)if((h=t.implicitTypes[c]).resolve(t.result)){t.result=h.construct(t.result),t.tag=h.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(fe.call(t.typeMap[t.kind||"fallback"],t.tag))h=t.typeMap[t.kind||"fallback"][t.tag];else for(h=null,c=0,u=(l=t.typeMap.multi[t.kind||"fallback"]).length;c<u;c+=1)if(t.tag.slice(0,l[c].tag.length)===l[c].tag){h=l[c];break}h||Le(t,"unknown tag !<"+t.tag+">"),null!==t.result&&h.kind!==t.kind&&Le(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+h.kind+'", not "'+t.kind+'"'),h.resolve(t.result,t.tag)?(t.result=h.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):Le(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||b}function Ze(t){var e,n,i,r,a=t.position,o=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(r=t.input.charCodeAt(t.position))&&($e(t,!0,-1),r=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==r));){for(o=!0,r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!xe(r);)r=t.input.charCodeAt(++t.position);for(i=[],(n=t.input.slice(e,t.position)).length<1&&Le(t,"directive name must not be less than one character in length");0!==r;){for(;ve(r);)r=t.input.charCodeAt(++t.position);if(35===r){do{r=t.input.charCodeAt(++t.position)}while(0!==r&&!ye(r));break}if(ye(r))break;for(e=t.position;0!==r&&!xe(r);)r=t.input.charCodeAt(++t.position);i.push(t.input.slice(e,t.position))}0!==r&&je(t),fe.call(Pe,n)?Pe[n](t,n,i):Ne(t,'unknown document directive "'+n+'"')}$e(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,$e(t,!0,-1)):o&&Le(t,"directives end mark is expected"),Ye(t,t.lineIndent-1,4,!1,!0),$e(t,!0,-1),t.checkLineBreaks&&ge.test(t.input.slice(a,t.position))&&Ne(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&ze(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,$e(t,!0,-1)):t.position<t.length-1&&Le(t,"end of the stream or a document separator is expected")}function We(t,e){e=e||{},0!==(t=String(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 n=new De(t,e),i=t.indexOf("\0");for(-1!==i&&(n.position=i,Le(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)Ze(n);return n.documents}var Ke=zt,Xe={loadAll:function(t,e,n){null!==e&&"object"==typeof e&&void 0===n&&(n=e,e=null);var i=We(t,n);if("function"!=typeof e)return i;for(var r=0,a=i.length;r<a;r+=1)e(i[r])},load:function(t,e){var n=We(t,e);if(0!==n.length){if(1===n.length)return n[0];throw new Ot("expected a single document in the stream, but found more")}}}.load;const Ve=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;const Qe=function(t,e,n){const{depth:i,clobber:r}=Object.assign({depth:2,clobber:!1},n);return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>Qe(t,e,n))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e)})),t):void 0===t||i<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach((n=>{"object"!=typeof e[n]||void 0!==t[n]&&"object"!=typeof t[n]?(r||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n]):(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=Qe(t[n],e[n],{depth:i-1,clobber:r}))})),t)},Je=Qe,tn=Object.freeze(Ct);let en,nn=Je({},tn),rn=[],an=Je({},tn);const on=(t,e)=>{let n=Je({},t),i={};for(const t of e)ln(t),i=Je(i,t);if(n=Je(n,i),i.theme&&i.theme in _t){const t=Je({},en),e=Je(t.themeVariables||{},i.themeVariables);n.theme&&n.theme in _t&&(n.themeVariables=_t[n.theme].getThemeVariables(e))}return an=n,pn(an),an},sn=()=>Je({},nn),cn=t=>(pn(t),Je(an,t),un()),un=()=>Je({},an),ln=t=>{["secure",...nn.secure??[]].forEach((e=>{void 0!==t[e]&&(ot.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{0===e.indexOf("__")&&delete t[e]})),Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&ln(t[e])}))},hn=t=>{t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),rn.push(t),on(nn,rn)},fn=(t=nn)=>{rn=[],on(t,rn)};var dn=(t=>(t.LAZY_LOAD_DEPRECATED="The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",t))(dn||{});const gn={},pn=t=>{var e;t&&((t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&(gn[e="LAZY_LOAD_DEPRECATED"]||(ot.warn(dn[e]),gn[e]=!0)))},bn=function(t,e,n,i){const r=function(t,e,n){let i=new Map;return n?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i}(e,n,i);!function(t,e){for(let n of e)t.attr(n[0],n[1])}(t,r)},wn=function(t,e,n,i){const r=e.node().getBBox(),a=r.width,o=r.height;ot.info(`SVG bounds: ${a}x${o}`,r);let s=0,c=0;ot.info(`Graph bounds: ${s}x${c}`,t),s=a+2*n,c=o+2*n,ot.info(`Calculated bounds: ${s}x${c}`),bn(e,c,s,i);const u=`${r.x-n} ${r.y-n} ${r.width+2*n} ${r.height+2*n}`;e.attr("viewBox",u)},mn={},yn=(t,e,n)=>{let i="";return t in mn&&mn[t]?i=mn[t](n):ot.warn(`No theme found for ${t}`),` & {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n fill: ${n.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${n.errorBkgColor};\n }\n & .error-text {\n fill: ${n.errorTextColor};\n stroke: ${n.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${n.lineColor};\n stroke: ${n.lineColor};\n }\n & .marker.cross {\n stroke: ${n.lineColor};\n }\n\n & svg {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n }\n\n ${i}\n\n ${e}\n`};let vn="",xn="",kn="";const _n=t=>ft(t,un()),An=function(){vn="",kn="",xn=""},En=function(t){vn=_n(t).replace(/^\s+/g,"")},Tn=function(){return vn||xn},Cn=function(t){kn=_n(t).replace(/\n\s+/g,"\n")},Sn=function(){return kn},In=function(t){xn=_n(t)},Mn=function(){return xn},Dn={getAccTitle:Tn,setAccTitle:En,getDiagramTitle:Mn,setDiagramTitle:In,getAccDescription:Sn,setAccDescription:Cn,clear:An},On=Object.freeze(Object.defineProperty({__proto__:null,clear:An,default:Dn,getAccDescription:Sn,getAccTitle:Tn,getDiagramTitle:Mn,setAccDescription:Cn,setAccTitle:En,setDiagramTitle:In},Symbol.toStringTag,{value:"Module"}));let Ln={};const Nn=function(t,e,n,i){ot.debug("parseDirective is being called",e,n,i);try{if(void 0!==e)switch(e=e.trim(),n){case"open_directive":Ln={};break;case"type_directive":if(!Ln)throw new Error("currentDirective is undefined");Ln.type=e.toLowerCase();break;case"arg_directive":if(!Ln)throw new Error("currentDirective is undefined");Ln.args=JSON.parse(e);break;case"close_directive":Pn(t,Ln,i),Ln=void 0}}catch(t){ot.error(`Error while rendering sequenceDiagram directive: ${e} jison context: ${n}`),ot.error(t.message)}},Pn=function(t,e,n){switch(ot.info(`Directive type=${e.type} with args:`,e.args),e.type){case"init":case"initialize":["config"].forEach((t=>{void 0!==e.args[t]&&("flowchart-v2"===n&&(n="flowchart"),e.args[n]=e.args[t],delete e.args[t])})),ot.info("sanitize in handleDirective",e.args),bi(e.args),ot.info("sanitize in handleDirective (done)",e.args),hn(e.args);break;case"wrap":case"nowrap":t&&t.setWrap&&t.setWrap("wrap"===e.type);break;case"themeCss":ot.warn("themeCss encountered");break;default:ot.warn(`Unhandled directive: source: '%%{${e.type}: ${JSON.stringify(e.args?e.args:{})}}%%`,e)}},Bn=ot,Fn=st,Rn=un,jn=t=>ft(t,Rn()),$n=wn,zn=(t,e,n,i)=>Nn(t,e,n,i),qn={},Hn=(t,e,n)=>{if(qn[t])throw new Error(`Diagram ${t} already registered.`);var i,r;qn[t]=e,n&&Vn(t,n),i=t,r=e.styles,mn[i]=r,e.injectUtils&&e.injectUtils(Bn,Fn,Rn,jn,$n,On,zn)},Un=t=>{if(t in qn)return qn[t];throw new Error(`Diagram ${t} not found.`)};class Gn extends Error{constructor(t){super(t),this.name="UnknownDiagramError"}}const Yn=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Zn=/\s*%%.*\n/gm,Wn={},Kn=function(t,e){t=t.replace(Ve,"").replace(Yn,"").replace(Zn,"\n");for(const[n,{detector:i}]of Object.entries(Wn)){if(i(t,e))return n}throw new Gn(`No diagram type detected matching given configuration for text: ${t}`)},Xn=(...t)=>{for(const{id:e,detector:n,loader:i}of t)Vn(e,n,i)},Vn=(t,e,n)=>{Wn[t]?ot.error(`Detector with key ${t} already exists`):Wn[t]={detector:e,loader:n},ot.debug(`Detector with key ${t} added${n?" with loader":""}`)},Qn="",Jn={curveBasis:o.$0Z,curveBasisClosed:o.Dts,curveBasisOpen:o.WQY,curveBumpX:o.qpX,curveBumpY:o.u93,curveBundle:o.tFB,curveCardinalClosed:o.OvA,curveCardinalOpen:o.dCK,curveCardinal:o.YY7,curveCatmullRomClosed:o.fGX,curveCatmullRomOpen:o.$m7,curveCatmullRom:o.zgE,curveLinear:o.c_6,curveLinearClosed:o.fxm,curveMonotoneX:o.FdL,curveMonotoneY:o.ak_,curveNatural:o.SxZ,curveStep:o.eA_,curveStepAfter:o.jsv,curveStepBefore:o.iJ},ti=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ei=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ni=function(t,e=null){try{const n=new RegExp(`[%]{2}(?![{]${ei.source})(?=[}][%]{2}).*\n`,"ig");let i;t=t.trim().replace(n,"").replace(/'/gm,'"'),ot.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const r=[];for(;null!==(i=ti.exec(t));)if(i.index===ti.lastIndex&&ti.lastIndex++,i&&!e||e&&i[1]&&i[1].match(e)||e&&i[2]&&i[2].match(e)){const t=i[1]?i[1]:i[2],e=i[3]?i[3].trim():i[4]?JSON.parse(i[4].trim()):null;r.push({type:t,args:e})}return 0===r.length&&r.push({type:t,args:null}),1===r.length?r[0]:r}catch(n){return ot.error(`ERROR: ${n.message} - Unable to parse directive\n ${null!==e?" type:"+e:""} based on the text:${t}`),{type:null,args:null}}};function ii(t,e){if(!t)return e;const n=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return Jn[n]||e}function ri(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function ai(t){let e="",n="";for(const i of t)void 0!==i&&(i.startsWith("color:")||i.startsWith("text-align:")?n=n+i+";":e=e+i+";");return{style:e,labelStyle:n}}let oi=0;const si=()=>(oi++,"id-"+Math.random().toString(36).substr(2,12)+"-"+oi);const ci=t=>function(t){let e="";const n="0123456789abcdef",i=n.length;for(let r=0;r<t;r++)e+=n.charAt(Math.floor(Math.random()*i));return e}(t.length),ui=function(t,e){const n=e.text.replace(wt.lineBreakRegex," "),[,i]=yi(e.fontSize),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.style("text-anchor",e.anchor),r.style("font-family",e.fontFamily),r.style("font-size",i),r.style("font-weight",e.fontWeight),r.attr("fill",e.fill),void 0!==e.class&&r.attr("class",e.class);const a=r.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.attr("fill",e.fill),a.text(n),r},li=(0,w.Z)(((t,e,n)=>{if(!t)return t;if(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),wt.lineBreakRegex.test(t))return t;const i=t.split(" "),r=[];let a="";return i.forEach(((t,o)=>{const s=di(`${t} `,n),c=di(a,n);if(s>e){const{hyphenatedStrings:i,remainingWord:o}=hi(t,e,"-",n);r.push(a,...i),a=o}else c+s>=e?(r.push(a),a=t):a=[a,t].filter(Boolean).join(" ");o+1===i.length&&r.push(a)})),r.filter((t=>""!==t)).join(n.joinWith)}),((t,e,n)=>`${t}${e}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`)),hi=(0,w.Z)(((t,e,n="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);const r=[...t],a=[];let o="";return r.forEach(((t,s)=>{const c=`${o}${t}`;if(di(c,i)>=e){const t=s+1,e=r.length===t,i=`${c}${n}`;a.push(e?c:i),o=""}else o=c})),{hyphenatedStrings:a,remainingWord:o}}),((t,e,n="-",i)=>`${t}${e}${n}${i.fontSize}${i.fontWeight}${i.fontFamily}`));function fi(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},e),gi(t,e).height}function di(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e),gi(t,e).width}const gi=(0,w.Z)(((t,e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e);const{fontSize:n,fontFamily:i,fontWeight:r}=e;if(!t)return{width:0,height:0};const[,a]=yi(n),s=["sans-serif",i],c=t.split(wt.lineBreakRegex),u=[],l=(0,o.Ys)("body");if(!l.remove)return{width:0,height:0,lineHeight:0};const h=l.append("svg");for(const t of s){let e=0;const n={width:0,height:0,lineHeight:0};for(const i of c){const o={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0};o.text=i||Qn;const s=ui(h,o).style("font-size",a).style("font-weight",r).style("font-family",t),c=(s._groups||s)[0][0].getBBox();if(0===c.width&&0===c.height)throw new Error("svg element not in render tree");n.width=Math.round(Math.max(n.width,c.width)),e=Math.round(c.height),n.height+=e,n.lineHeight=Math.round(Math.max(n.lineHeight,e))}u.push(n)}h.remove();return u[isNaN(u[1].height)||isNaN(u[1].width)||isNaN(u[1].lineHeight)||u[0].height>u[1].height&&u[0].width>u[1].width&&u[0].lineHeight>u[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));let pi;const bi=t=>{if(ot.debug("directiveSanitizer called with",t),"object"==typeof t&&(t.length?t.forEach((t=>bi(t))):Object.keys(t).forEach((e=>{ot.debug("Checking key",e),e.startsWith("__")&&(ot.debug("sanitize deleting __ option",e),delete t[e]),e.includes("proto")&&(ot.debug("sanitize deleting proto option",e),delete t[e]),e.includes("constr")&&(ot.debug("sanitize deleting constr option",e),delete t[e]),e.includes("themeCSS")&&(ot.debug("sanitizing themeCss option"),t[e]=wi(t[e])),e.includes("fontFamily")&&(ot.debug("sanitizing fontFamily option"),t[e]=wi(t[e])),e.includes("altFontFamily")&&(ot.debug("sanitizing altFontFamily option"),t[e]=wi(t[e])),Tt.includes(e)?"object"==typeof t[e]&&(ot.debug("sanitize deleting object",e),bi(t[e])):(ot.debug("sanitize deleting option",e),delete t[e])}))),t.themeVariables){const e=Object.keys(t.themeVariables);for(const n of e){const e=t.themeVariables[n];e&&e.match&&!e.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[n]="")}}ot.debug("After sanitization",t)},wi=t=>{let e=0,n=0;for(const i of t){if(e<n)return"{ /* ERROR: Unbalanced CSS */ }";"{"===i?e++:"}"===i&&n++}return e!==n?"{ /* ERROR: Unbalanced CSS */ }":t};function mi(t){return"str"in t}const yi=t=>{if("number"==typeof t)return[t,t+"px"];const e=parseInt(t,10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},vi={assignWithDepth:Je,wrapLabel:li,calculateTextHeight:fi,calculateTextWidth:di,calculateTextDimensions:gi,detectInit:function(t,e){const n=ni(t,/(?:init\b)|(?:initialize\b)/);let i={};if(Array.isArray(n)){const t=n.map((t=>t.args));bi(t),i=Je(i,[...t])}else i=n.args;if(i){let n=Kn(t,e);["config"].forEach((t=>{void 0!==i[t]&&("flowchart-v2"===n&&(n="flowchart"),i[n]=i[t],delete i[t])}))}return i},detectDirective:ni,isSubstringInArray:function(t,e){for(const[n,i]of e.entries())if(i.match(t))return n;return-1},interpolateToCurve:ii,calcLabelPosition:function(t){return 1===t.length?t[0]:function(t){let e,n=0;t.forEach((t=>{n+=ri(t,e),e=t}));let i,r=n/2;return e=void 0,t.forEach((t=>{if(e&&!i){const n=ri(t,e);if(n<r)r-=n;else{const a=r/n;a<=0&&(i=e),a>=1&&(i={x:t.x,y:t.y}),a>0&&a<1&&(i={x:(1-a)*e.x+a*t.x,y:(1-a)*e.y+a*t.y})}}e=t})),i}(t)},calcCardinalityPosition:(t,e,n)=>{let i;ot.info(`our points ${JSON.stringify(e)}`),e[0]!==n&&(e=e.reverse());let r,a=25;i=void 0,e.forEach((t=>{if(i&&!r){const e=ri(t,i);if(e<a)a-=e;else{const n=a/e;n<=0&&(r=i),n>=1&&(r={x:t.x,y:t.y}),n>0&&n<1&&(r={x:(1-n)*i.x+n*t.x,y:(1-n)*i.y+n*t.y})}}i=t}));const o=t?10:5,s=Math.atan2(e[0].y-r.y,e[0].x-r.x),c={x:0,y:0};return c.x=Math.sin(s)*o+(e[0].x+r.x)/2,c.y=-Math.cos(s)*o+(e[0].y+r.y)/2,c},calcTerminalLabelPosition:function(t,e,n){let i,r=JSON.parse(JSON.stringify(n));ot.info("our points",r),"start_left"!==e&&"start_right"!==e&&(r=r.reverse()),r.forEach((t=>{i=t}));let a,o=25+t;i=void 0,r.forEach((t=>{if(i&&!a){const e=ri(t,i);if(e<o)o-=e;else{const n=o/e;n<=0&&(a=i),n>=1&&(a={x:t.x,y:t.y}),n>0&&n<1&&(a={x:(1-n)*i.x+n*t.x,y:(1-n)*i.y+n*t.y})}}i=t}));const s=10+.5*t,c=Math.atan2(r[0].y-a.y,r[0].x-a.x),u={x:0,y:0};return u.x=Math.sin(c)*s+(r[0].x+a.x)/2,u.y=-Math.cos(c)*s+(r[0].y+a.y)/2,"start_left"===e&&(u.x=Math.sin(c+Math.PI)*s+(r[0].x+a.x)/2,u.y=-Math.cos(c+Math.PI)*s+(r[0].y+a.y)/2),"end_right"===e&&(u.x=Math.sin(c-Math.PI)*s+(r[0].x+a.x)/2-5,u.y=-Math.cos(c-Math.PI)*s+(r[0].y+a.y)/2-5),"end_left"===e&&(u.x=Math.sin(c)*s+(r[0].x+a.x)/2-5,u.y=-Math.cos(c)*s+(r[0].y+a.y)/2-5),u},formatUrl:function(t,e){const n=t.trim();if(n)return"loose"!==e.securityLevel?(0,a.Nm)(n):n},getStylesFromArray:ai,generateId:si,random:ci,runFunc:(t,...e)=>{const n=t.split("."),i=n.length-1,r=n[i];let a=window;for(let t=0;t<i;t++)if(a=a[n[t]],!a)return;a[r](...e)},entityDecode:function(t){return pi=pi||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),pi.innerHTML=t,unescape(pi.textContent)},initIdGenerator:class{constructor(t,e){this.deterministic=t,this.seed=e,this.count=e?e.length:0}next(){return this.deterministic?this.count++:Date.now()}},directiveSanitizer:bi,sanitizeCss:wi,insertTitle:(t,e,n,i)=>{if(!i)return;const r=t.node().getBBox();t.append("text").text(i).attr("x",r.x+r.width/2).attr("y",-n).attr("class",e)},parseFontSize:yi},xi="10.2.3",ki={id:"c4",detector:t=>null!==t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,4946));return{id:"c4",diagram:t}}},_i="flowchart",Ai={id:_i,detector:(t,e)=>{var n,i;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&null!==t.match(/^\s*graph/)},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,797));return{id:_i,diagram:t}}},Ei="flowchart-v2",Ti={id:Ei,detector:(t,e)=>{var n,i,r;return"dagre-d3"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&(null!==t.match(/^\s*graph/)&&"dagre-wrapper"===(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)||null!==t.match(/^\s*flowchart/))},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,8832));return{id:Ei,diagram:t}}},Ci={id:"er",detector:t=>null!==t.match(/^\s*erDiagram/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,6787));return{id:"er",diagram:t}}},Si="gitGraph",Ii={id:Si,detector:t=>null!==t.match(/^\s*gitGraph/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,8787));return{id:Si,diagram:t}}},Mi="gantt",Di={id:Mi,detector:t=>null!==t.match(/^\s*gantt/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,2418));return{id:Mi,diagram:t}}},Oi="info",Li={id:Oi,detector:t=>null!==t.match(/^\s*info/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,5891));return{id:Oi,diagram:t}}},Ni={id:"pie",detector:t=>null!==t.match(/^\s*pie/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,431));return{id:"pie",diagram:t}}},Pi="quadrantChart",Bi={id:Pi,detector:t=>null!==t.match(/^\s*quadrantChart/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,722));return{id:Pi,diagram:t}}},Fi="requirement",Ri={id:Fi,detector:t=>null!==t.match(/^\s*requirement(Diagram)?/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,927));return{id:Fi,diagram:t}}},ji="sequence",$i={id:ji,detector:t=>null!==t.match(/^\s*sequenceDiagram/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,5123));return{id:ji,diagram:t}}},zi="class",qi={id:zi,detector:(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*classDiagram/)},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,6956));return{id:zi,diagram:t}}},Hi="classDiagram",Ui={id:Hi,detector:(t,e)=>{var n;return null!==t.match(/^\s*classDiagram/)&&"dagre-wrapper"===(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)||null!==t.match(/^\s*classDiagram-v2/)},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,9582));return{id:Hi,diagram:t}}},Gi="state",Yi={id:Gi,detector:(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*stateDiagram/)},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,2809));return{id:Gi,diagram:t}}},Zi="stateDiagram",Wi={id:Zi,detector:(t,e)=>{var n,i;return null!==t.match(/^\s*stateDiagram-v2/)||(!(!t.match(/^\s*stateDiagram/)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer))||!(!t.match(/^\s*stateDiagram/)||"dagre-wrapper"!==(null==(i=null==e?void 0:e.state)?void 0:i.defaultRenderer)))},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,6185));return{id:Zi,diagram:t}}},Ki="journey",Xi={id:Ki,detector:t=>null!==t.match(/^\s*journey/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,7e3));return{id:Ki,diagram:t}}},Vi={setConf:function(){},draw:(t,e,n)=>{try{ot.debug("Renering svg for syntax error\n");const t=(0,o.Ys)("#"+e),i=t.append("g");i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+n),t.attr("height",100),t.attr("width",500),t.attr("viewBox","768 0 912 512")}catch(t){ot.error("Error while rendering info diagram"),ot.error((i=t)instanceof Error?i.message:String(i))}var i}},Qi={db:{clear:()=>{}},styles:()=>"",renderer:Vi,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},Ji="flowchart-elk",tr={id:Ji,detector:(t,e)=>{var n;return!!(t.match(/^\s*flowchart-elk/)||t.match(/^\s*flowchart|graph/)&&"elk"===(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,5248));return{id:Ji,diagram:t}}},er="timeline",nr={id:er,detector:t=>null!==t.match(/^\s*timeline/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,315));return{id:er,diagram:t}}},ir="mindmap",rr={id:ir,detector:t=>null!==t.match(/^\s*mindmap/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,8455));return{id:ir,diagram:t}}};let ar=!1;const or=()=>{ar||(ar=!0,Hn("error",Qi,(t=>"error"===t.toLowerCase().trim())),Hn("---",{db:{clear:()=>{}},styles:{},renderer:{},parser:{parser:{yy:{}},parse:()=>{throw new 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("---"))),Xn(ki,Ui,qi,Ci,Di,Li,Ni,Ri,$i,tr,Ti,Ai,rr,nr,Ii,Wi,Yi,Xi,Bi))};class sr{constructor(t){var e,n;this.text=t,this.type="graph",this.text+="\n";const i=un();try{this.type=Kn(t,i)}catch(t){this.type="error",this.detectError=t}const r=Un(this.type);ot.debug("Type "+this.type),this.db=r.db,null==(n=(e=this.db).clear)||n.call(e),this.renderer=r.renderer,this.parser=r.parser;const a=this.parser.parse.bind(this.parser);this.parser.parse=t=>a((t=>t.trimStart().replace(/^\s*%%(?!{)[^\n]+\n?/gm,""))(function(t,e){var n,i;const r=t.match(Ve);if(r){const a=Xe(r[1],{schema:Ke});return(null==a?void 0:a.title)&&(null==(n=e.setDiagramTitle)||n.call(e,a.title)),(null==a?void 0:a.displayMode)&&(null==(i=e.setDisplayMode)||i.call(e,a.displayMode)),t.slice(r[0].length)}return t}(t,this.db))),this.parser.parser.yy=this.db,r.init&&(r.init(i),ot.info("Initialized diagram "+this.type,i)),this.parse()}parse(){var t,e;if(this.detectError)throw this.detectError;null==(e=(t=this.db).clear)||e.call(t),this.parser.parse(this.text)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}}const cr=async t=>{const e=Kn(t,un());try{Un(e)}catch(t){const n=Wn[e].loader;if(!n)throw new Gn(`Diagram ${e} not found.`);const{id:i,diagram:r}=await n();Hn(i,r)}return new sr(t)};let ur=[];const lr=t=>{ur.push(t)};const hr=["graph","flowchart","flowchart-v2","flowchart-elk","stateDiagram","stateDiagram-v2"],fr=["foreignobject"],dr=["dominant-baseline"];const gr=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},pr=(t,e,n=[])=>`\n.${t} ${e} { ${n.join(" !important; ")} !important; }`,br=(t,e,n,i)=>{const r=((t,e,n={})=>{var i;let r="";if(void 0!==t.themeCSS&&(r+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!(0,rt.Z)(n)&&hr.includes(e)){const e=["> *","span"],a=["rect","polygon","ellipse","circle","path"],o=t.htmlLabels||(null==(i=t.flowchart)?void 0:i.htmlLabels)?e:a;for(const t in n){const e=n[t];(0,rt.Z)(e.styles)||o.forEach((t=>{r+=pr(e.id,t,e.styles)})),(0,rt.Z)(e.textStyles)||(r+=pr(e.id,"tspan",e.textStyles))}}return r})(t,e,n);return M(J(`${i}{${yn(e,r,t.themeVariables)}}`),D)},wr=(t,e,n,i,r)=>{const a=t.append("div");a.attr("id",n),i&&a.attr("style",i);const o=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return r&&o.attr("xmlns:xlink",r),o.append("g"),t};function mr(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const yr=Object.freeze({render:async function(t,e,n){var i,r,a,c;or(),fn();const u=vi.detectInit(e);u&&(bi(u),hn(u));const l=un();ot.debug(l),e.length>((null==l?void 0:l.maxTextSize)??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa"),e=(e=e.replace(/\r\n?/g,"\n")).replace(/<(\w+)([^>]*)>/g,((t,e,n)=>"<"+e+n.replace(/="([^"]*)"/g,"='$1'")+">"));const h="#"+t,f="i"+t,d="#"+f,g="d"+t,p="#"+g;let b=(0,o.Ys)("body");const w="sandbox"===l.securityLevel,m="loose"===l.securityLevel,y=l.fontFamily;if(void 0!==n){if(n&&(n.innerHTML=""),w){const t=mr((0,o.Ys)(n),f);b=(0,o.Ys)(t.nodes()[0].contentDocument.body),b.node().style.margin=0}else b=(0,o.Ys)(n);wr(b,t,g,`font-family: ${y}`,"http://www.w3.org/1999/xlink")}else{if(((t,e,n,i)=>{var r,a,o;null==(r=t.getElementById(e))||r.remove(),null==(a=t.getElementById(n))||a.remove(),null==(o=t.getElementById(i))||o.remove()})(document,t,g,f),w){const t=mr((0,o.Ys)("body"),f);b=(0,o.Ys)(t.nodes()[0].contentDocument.body),b.node().style.margin=0}else b=(0,o.Ys)("body");wr(b,t,g)}let v,x;e=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl°°"+e+"¶ß":"fl°"+e+"¶ß"})),e}(e);try{v=await cr(e)}catch(t){v=new sr("error"),x=t}const k=b.select(p).node(),_=v.type,A=k.firstChild,E=A.firstChild,T=hr.includes(_)?v.renderer.getClasses(e,v):{},C=br(l,_,T,h),S=document.createElement("style");S.innerHTML=C,A.insertBefore(S,E);try{await v.renderer.draw(e,t,xi,v)}catch(n){throw Vi.draw(e,t,xi),n}!function(t,e,n,i){(function(t,e){t.attr("role","graphics-document document"),(0,rt.Z)(e)||t.attr("aria-roledescription",e)})(e,t),function(t,e,n,i){if(void 0!==t.insert&&(e||n)){if(n){const e="chart-desc-"+i;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(n)}if(e){const n="chart-title-"+i;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}(e,n,i,e.attr("id"))}(_,b.select(`${p} svg`),null==(r=(i=v.db).getAccTitle)?void 0:r.call(i),null==(c=(a=v.db).getAccDescription)?void 0:c.call(a)),b.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let I=b.select(p).node().innerHTML;if(ot.debug("config.arrowMarkerAbsolute",l.arrowMarkerAbsolute),I=((t="",e,n)=>{let i=t;return n||e||(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=gr(i),i=i.replace(/<br>/g,"<br/>"),i})(I,w,pt(l.arrowMarkerAbsolute)),w){I=((t="",e)=>`<iframe style="width:100%;height:${e?e.viewBox.baseVal.height+"px":"100%"};border:0;margin:0;" src="data:text/html;base64,${btoa('<body style="margin:0">'+t+"</body>")}" sandbox="allow-top-navigation-by-user-activation allow-popups">\n The "iframe" tag is not supported by your browser.\n</iframe>`)(I,b.select(p+" svg").node())}else m||(I=s.sanitize(I,{ADD_TAGS:fr,ADD_ATTR:dr}));if(ur.forEach((t=>{t()})),ur=[],x)throw x;const M=w?d:p,D=(0,o.Ys)(M).node();return D&&"remove"in D&&D.remove(),{svg:I,bindFunctions:v.db.bindFunctions}},parse:async function(t,e){or();try{(await cr(t)).parse()}catch(t){if(null==e?void 0:e.suppressErrors)return!1;throw t}return!0},parseDirective:Nn,getDiagramFromText:cr,initialize:function(t={}){var e;(null==t?void 0:t.fontFamily)&&!(null==(e=t.themeVariables)?void 0:e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),en=Je({},t),(null==t?void 0:t.theme)&&t.theme in _t?t.themeVariables=_t[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=_t.default.getThemeVariables(t.themeVariables));const n="object"==typeof t?(t=>(nn=Je({},tn),nn=Je(nn,t),t.theme&&_t[t.theme]&&(nn.themeVariables=_t[t.theme].getThemeVariables(t.themeVariables)),on(nn,rn),nn))(t):sn();st(n.logLevel),or()},getConfig:un,setConfig:cn,getSiteConfig:sn,updateSiteConfig:t=>(nn=Je(nn,t),on(nn,rn),nn),reset:()=>{fn()},globalReset:()=>{fn(tn)},defaultConfig:tn});st(un().logLevel),fn(un());const vr=(t,e,n)=>{ot.warn(t),mi(t)?(n&&n(t.str,t.hash),e.push({...t,message:t.str,error:t})):(n&&n(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},xr=async function(t={querySelector:".mermaid"}){try{await kr(t)}catch(e){if(mi(e)&&ot.error(e.str),Ir.parseError&&Ir.parseError(e),!t.suppressErrors)throw ot.error("Use the suppressErrors option to suppress these errors"),e}},kr=async function({postRenderCallback:t,querySelector:e,nodes:n}={querySelector:".mermaid"}){const r=yr.getConfig();let a;if(ot.debug((t?"":"No ")+"Callback function found"),n)a=n;else{if(!e)throw new Error("Nodes and querySelector are both undefined");a=document.querySelectorAll(e)}ot.debug(`Found ${a.length} diagrams`),void 0!==(null==r?void 0:r.startOnLoad)&&(ot.debug("Start On Load: "+(null==r?void 0:r.startOnLoad)),yr.updateSiteConfig({startOnLoad:null==r?void 0:r.startOnLoad}));const o=new vi.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let s;const c=[];for(const e of Array.from(a)){if(ot.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");const n=`mermaid-${o.next()}`;s=e.innerHTML,s=(0,i.Z)(vi.entityDecode(s)).trim().replace(/<br\s*\/?>/gi,"<br/>");const r=vi.detectInit(s);r&&ot.debug("Detected early reinit: ",r);try{const{svg:i,bindFunctions:r}=await Sr(n,s,e);e.innerHTML=i,t&&await t(n),r&&r(e)}catch(t){vr(t,c,Ir.parseError)}}if(c.length>0)throw c[0]},_r=function(t){yr.initialize(t)},Ar=function(){if(Ir.startOnLoad){const{startOnLoad:t}=yr.getConfig();t&&Ir.run().catch((t=>ot.error("Mermaid failed to initialize",t)))}};"undefined"!=typeof document&&window.addEventListener("load",Ar,!1);const Er=[];let Tr=!1;const Cr=async()=>{if(!Tr){for(Tr=!0;Er.length>0;){const t=Er.shift();if(t)try{await t()}catch(t){ot.error("Error executing queue",t)}}Tr=!1}},Sr=(t,e,n)=>new Promise(((i,r)=>{Er.push((()=>new Promise(((a,o)=>{yr.render(t,e,n).then((t=>{a(t),i(t)}),(t=>{var e;ot.error("Error parsing",t),null==(e=Ir.parseError)||e.call(Ir,t),o(t),r(t)}))})))),Cr().catch(r)})),Ir={startOnLoad:!0,mermaidAPI:yr,parse:async(t,e)=>new Promise(((n,i)=>{Er.push((()=>new Promise(((r,a)=>{yr.parse(t,e).then((t=>{r(t),n(t)}),(t=>{var e;ot.error("Error parsing",t),null==(e=Ir.parseError)||e.call(Ir,t),a(t),i(t)}))})))),Cr().catch(i)})),render:Sr,init:async function(t,e,n){ot.warn("mermaid.init is deprecated. Please use run instead."),t&&_r(t);const i={postRenderCallback:n,querySelector:".mermaid"};"string"==typeof e?i.querySelector=e:e&&(e instanceof HTMLElement?i.nodes=[e]:i.nodes=e),await xr(i)},run:xr,registerExternalDiagrams:async(t,{lazyLoad:e=!0}={})=>{Xn(...t),!1===e&&await(async()=>{ot.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Wn).map((async([t,{detector:e,loader:n}])=>{if(n)try{Un(t)}catch(i){try{const{diagram:t,id:i}=await n();Hn(i,t,e)}catch(e){throw ot.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete Wn[t],e}}})))).filter((t=>"rejected"===t.status));if(t.length>0){ot.error(`Failed to load ${t.length} external diagrams`);for(const e of t)ot.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}})()},initialize:_r,parseError:void 0,contentLoaded:Ar,setParseErrorHandler:function(t){Ir.parseError=t},detectType:Kn}},8455:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return S}});var i=n(8540),r=n(1504),a=n(1524),o=n(87),s=n(3539),c=n(7471),u=n(1778),l=n(733),h=(n(7530),n(2510),n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,4],n=[1,13],i=[1,12],r=[1,15],a=[1,16],o=[1,20],s=[1,19],c=[6,7,8],u=[1,26],l=[1,24],h=[1,25],f=[6,7,11],d=[1,6,13,15,16,19,22],g=[1,33],p=[1,34],b=[1,6,7,11,13,15,16,19,22],w={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 6:case 7:return i;case 8:i.getLogger().trace("Stop NL ");break;case 9:i.getLogger().trace("Stop EOF ");break;case 11:i.getLogger().trace("Stop NL2 ");break;case 12:i.getLogger().trace("Stop EOF2 ");break;case 15:i.getLogger().info("Node: ",a[s].id),i.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:i.getLogger().trace("Icon: ",a[s]),i.decorateNode({icon:a[s]});break;case 17:case 21:i.decorateNode({class:a[s]});break;case 18:i.getLogger().trace("SPACELIST");break;case 19:i.getLogger().trace("Node: ",a[s].id),i.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:i.decorateNode({icon:a[s]});break;case 25:i.getLogger().trace("node found ..",a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:i.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:i.nodeType.DEFAULT};break;case 27:i.getLogger().trace("node found ..",a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:i.getType(a[s-2],a[s])}}},table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:n,7:[1,10],9:9,12:11,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},t(c,[2,3]),{1:[2,2]},t(c,[2,4]),t(c,[2,5]),{1:[2,6],6:n,12:21,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},{6:n,9:22,12:11,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},{6:u,7:l,10:23,11:h},t(f,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:s}),t(f,[2,18]),t(f,[2,19]),t(f,[2,20]),t(f,[2,21]),t(f,[2,23]),t(f,[2,24]),t(f,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:l,10:32,11:h},{1:[2,7],6:n,12:21,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},t(d,[2,14],{7:g,11:p}),t(b,[2,8]),t(b,[2,9]),t(b,[2,10]),t(f,[2,15]),t(f,[2,16]),t(f,[2,17]),{20:[1,35]},{21:[1,36]},t(d,[2,13],{7:g,11:p}),t(b,[2,11]),t(b,[2,12]),{21:[1,37]},t(f,[2,25]),t(f,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},m={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){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}}};function y(){this.yy={}}return w.lexer=m,y.prototype=w,w.Parser=y,new y}());h.parser=h;const f=h,d=t=>(0,i.d)(t,(0,i.c)());let g=[],p=0,b={};const w={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},m=(t,e)=>{b[t]=e},y=t=>{switch(t){case w.DEFAULT:return"no-border";case w.RECT:return"rect";case w.ROUNDED_RECT:return"rounded-rect";case w.CIRCLE:return"circle";case w.CLOUD:return"cloud";case w.BANG:return"bang";case w.HEXAGON:return"hexgon";default:return"no-border"}};let v;const x=t=>b[t],k=Object.freeze(Object.defineProperty({__proto__:null,addNode:(t,e,n,r)=>{i.l.info("addNode",t,e,n,r);const a=(0,i.c)(),o={id:p++,nodeId:d(e),level:t,descr:d(n),type:r,children:[],width:(0,i.c)().mindmap.maxNodeWidth};switch(o.type){case w.ROUNDED_RECT:case w.RECT:case w.HEXAGON:o.padding=2*a.mindmap.padding;break;default:o.padding=a.mindmap.padding}const s=function(t){for(let e=g.length-1;e>=0;e--)if(g[e].level<t)return g[e];return null}(t);if(s)s.children.push(o),g.push(o);else{if(0!==g.length){let t=new Error('There can be only one root. No parent could be found for ("'+o.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}g.push(o)}},clear:()=>{g=[],p=0,b={}},decorateNode:t=>{const e=g[g.length-1];t&&t.icon&&(e.icon=d(t.icon)),t&&t.class&&(e.class=d(t.class))},getElementById:x,getLogger:()=>i.l,getMindmap:()=>g.length>0?g[0]:null,getNodeById:t=>g[t],getType:(t,e)=>{switch(i.l.debug("In get type",t,e),t){case"[":return w.RECT;case"(":return")"===e?w.ROUNDED_RECT:w.CLOUD;case"((":return w.CIRCLE;case")":return w.CLOUD;case"))":return w.BANG;case"{{":return w.HEXAGON;default:return w.DEFAULT}},nodeType:w,get parseError(){return v},sanitizeText:d,setElementForId:m,setErrorHandler:t=>{v=t},type2Str:y},Symbol.toStringTag,{value:"Module"}));const _=function(t,e,n,i){const r=i.htmlLabels,o=n%11,s=t.append("g");e.section=o;let c="section-"+o;o<0&&(c+=" section-root"),s.attr("class",(e.class?e.class+" ":"")+"mindmap-node "+c);const u=s.append("g"),l=s.append("g"),h=e.descr.replace(/(<br\/*>)/g,"\n");(0,a.c)(l,h,{useHtmlLabels:r,width:e.width,classes:"mindmap-node-label"}),r||l.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const f=l.node().getBBox(),d=i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;if(e.height=f.height+1.1*d*.5+e.padding,e.width=f.width+2*e.padding,e.icon)if(e.type===w.CIRCLE){e.height+=50,e.width+=50;s.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),l.attr("transform","translate("+e.width/2+", "+(e.height/2-1.5*e.padding)+")")}else{e.width+=50;const t=e.height;e.height=Math.max(t,60);const n=Math.abs(e.height-t);s.append("foreignObject").attr("width","60px").attr("height",e.height).attr("style","text-align: center;margin-top:"+n/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+e.icon),l.attr("transform","translate("+(25+e.width/2)+", "+(n/2+e.padding/2)+")")}else if(r){const t=(e.width-f.width)/2,n=(e.height-f.height)/2;l.attr("transform","translate("+t+", "+n+")")}else{const t=e.width/2,n=e.padding/2;l.attr("transform","translate("+t+", "+n+")")}switch(e.type){case w.DEFAULT:!function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+y(e.type)).attr("d",`M0 ${e.height-5} v${10-e.height} 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-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)}(u,e,o);break;case w.ROUNDED_RECT:!function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+y(e.type)).attr("height",e.height).attr("rx",e.padding).attr("ry",e.padding).attr("width",e.width)}(u,e);break;case w.RECT:!function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+y(e.type)).attr("height",e.height).attr("width",e.width)}(u,e);break;case w.CIRCLE:u.attr("transform","translate("+e.width/2+", "+ +e.height/2+")"),function(t,e){t.append("circle").attr("id","node-"+e.id).attr("class","node-bkg node-"+y(e.type)).attr("r",e.width/2)}(u,e);break;case w.CLOUD:!function(t,e){const n=e.width,i=e.height,r=.15*n,a=.25*n,o=.35*n,s=.2*n;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+y(e.type)).attr("d",`M0 0 a${r},${r} 0 0,1 ${.25*n},${-1*n*.1}\n a${o},${o} 1 0,1 ${.4*n},${-1*n*.1}\n a${a},${a} 1 0,1 ${.35*n},${1*n*.2}\n\n a${r},${r} 1 0,1 ${.15*n},${1*i*.35}\n a${s},${s} 1 0,1 ${-1*n*.15},${1*i*.65}\n\n a${a},${r} 1 0,1 ${-1*n*.25},${.15*n}\n a${o},${o} 1 0,1 ${-1*n*.5},0\n a${r},${r} 1 0,1 ${-1*n*.25},${-1*n*.15}\n\n a${r},${r} 1 0,1 ${-1*n*.1},${-1*i*.35}\n a${s},${s} 1 0,1 ${.1*n},${-1*i*.65}\n\n H0 V0 Z`)}(u,e);break;case w.BANG:!function(t,e){const n=e.width,i=e.height,r=.15*n;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+y(e.type)).attr("d",`M0 0 a${r},${r} 1 0,0 ${.25*n},${-1*i*.1}\n a${r},${r} 1 0,0 ${.25*n},0\n a${r},${r} 1 0,0 ${.25*n},0\n a${r},${r} 1 0,0 ${.25*n},${1*i*.1}\n\n a${r},${r} 1 0,0 ${.15*n},${1*i*.33}\n a${.8*r},${.8*r} 1 0,0 0,${1*i*.34}\n a${r},${r} 1 0,0 ${-1*n*.15},${1*i*.33}\n\n a${r},${r} 1 0,0 ${-1*n*.25},${.15*i}\n a${r},${r} 1 0,0 ${-1*n*.25},0\n a${r},${r} 1 0,0 ${-1*n*.25},0\n a${r},${r} 1 0,0 ${-1*n*.25},${-1*i*.15}\n\n a${r},${r} 1 0,0 ${-1*n*.1},${-1*i*.33}\n a${.8*r},${.8*r} 1 0,0 0,${-1*i*.34}\n a${r},${r} 1 0,0 ${.1*n},${-1*i*.33}\n\n H0 V0 Z`)}(u,e);break;case w.HEXAGON:!function(t,e){const n=e.height,i=n/4,r=e.width-e.padding+2*i;!function(t,e,n,i,r){t.insert("polygon",":first-child").attr("points",i.map((function(t){return t.x+","+t.y})).join(" ")).attr("transform","translate("+(r.width-e)/2+", "+n+")")}(t,r,n,[{x:i,y:0},{x:r-i,y:0},{x:r,y:-n/2},{x:r-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}],e)}(u,e)}return m(e.id,s),e.height},A=function(t){const e=x(t.id),n=t.x||0,i=t.y||0;e.attr("transform","translate("+n+","+i+")")};function E(t,e,n,i){_(t,e,n,i),e.children&&e.children.forEach(((e,r)=>{E(t,e,n<0?r:n,i)}))}function T(t,e,n,i){e.add({group:"nodes",data:{id:t.id,labelText:t.descr,height:t.height,width:t.width,level:i,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach((r=>{T(r,e,n,i+1),e.add({group:"edges",data:{id:`${t.id}_${r.id}`,source:t.id,target:r.id,depth:i,section:r.section}})}))}function C(t,e){return new Promise((n=>{const a=(0,r.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),s=o({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});a.remove(),T(t,s,e,0),s.nodes().forEach((function(t){t.layoutDimensions=()=>{const e=t.data();return{w:e.width,h:e.height}}})),s.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),s.ready((t=>{i.l.info("Ready",t),n(s)}))}))}o.use(s);const S={db:k,renderer:{draw:async(t,e,n,a)=>{const o=(0,i.c)();o.htmlLabels=!1,a.db.clear(),a.parser.parse(t),i.l.debug("Rendering mindmap diagram\n"+t,a.parser);const s=(0,i.c)().securityLevel;let c;"sandbox"===s&&(c=(0,r.Ys)("#i"+e));const u=("sandbox"===s?(0,r.Ys)(c.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);u.append("g");const l=a.db.getMindmap(),h=u.append("g");h.attr("class","mindmap-edges");const f=u.append("g");f.attr("class","mindmap-nodes"),E(f,l,-1,o);const d=await C(l,o);!function(t,e){e.edges().map(((e,n)=>{const r=e.data();if(e[0]._private.bodyBounds){const a=e[0]._private.rscratch;i.l.trace("Edge: ",n,r),t.insert("path").attr("d",`M ${a.startX},${a.startY} L ${a.midX},${a.midY} L${a.endX},${a.endY} `).attr("class","edge section-edge-"+r.section+" edge-depth-"+r.depth)}}))}(h,d),function(t){t.nodes().map(((t,e)=>{const n=t.data();n.x=t.position().x,n.y=t.position().y,A(n);const r=x(n.nodeId);i.l.info("Id:",e,"Position: (",t.position().x,", ",t.position().y,")",n),r.attr("transform",`translate(${t.position().x-n.width/2}, ${t.position().y-n.height/2})`),r.attr("attr",`apa-${e})`)}))}(d),(0,i.p)(void 0,u,o.mindmap.padding,o.mindmap.useMaxWidth)}},parser:f,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],(0,c.Z)(t["lineColor"+e])?t["lineColor"+e]=(0,u.Z)(t["lineColor"+e],20):t["lineColor"+e]=(0,l.Z)(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const i=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${i};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `}return e})(t)}\n .section-root rect, .section-root path, .section-root circle, .section-root polygon {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .mindmap-node-label {\n dy: 1em;\n alignment-baseline: middle;\n text-anchor: middle;\n dominant-baseline: middle;\n text-align: center;\n }\n`}},431:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return g}});var i=n(8540),r=n(1504),a=(n(7530),n(2510),n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,4],n=[1,5],i=[1,6],r=[1,7],a=[1,9],o=[1,11,13,15,17,19,20,26,27,28,29],s=[2,5],c=[1,6,11,13,15,17,19,20,26,27,28,29],u=[26,27,28],l=[2,8],h=[1,18],f=[1,19],d=[1,20],g=[1,21],p=[1,22],b=[1,23],w=[1,28],m=[6,26,27,28,29],y={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement: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,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:i.setShowData(!0);break;case 7:this.$=a[s-1];break;case 9:i.addSection(a[s-1],i.cleanupValue(a[s]));break;case 10:this.$=a[s].trim(),i.setDiagramTitle(this.$);break;case 11:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 12:case 13:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 14:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 21:i.parseDirective("%%{","open_directive");break;case 22:i.parseDirective(a[s],"type_directive");break;case 23:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 24:i.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:e,21:8,26:n,27:i,28:r,29:a},{1:[3]},{3:10,4:2,5:3,6:e,21:8,26:n,27:i,28:r,29:a},{3:11,4:2,5:3,6:e,21:8,26:n,27:i,28:r,29:a},t(o,s,{7:12,8:[1,13]}),t(c,[2,18]),t(c,[2,19]),t(c,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},t(u,l,{21:8,9:16,10:17,5:24,1:[2,3],11:h,13:f,15:d,17:g,19:p,20:b,29:a}),t(o,s,{7:25}),{23:26,24:[1,27],32:w},t([24,32],[2,22]),t(o,[2,6]),{4:29,26:n,27:i,28:r},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},t(u,[2,13]),t(u,[2,14]),t(u,[2,15]),t(u,l,{21:8,9:16,10:17,5:24,1:[2,4],11:h,13:f,15:d,17:g,19:p,20:b,29:a}),t(m,[2,16]),{25:34,31:[1,35]},t(m,[2,24]),t(o,[2,7]),t(u,[2,9]),t(u,[2,10]),t(u,[2,11]),t(u,[2,12]),{23:36,32:w},{32:[2,23]},t(m,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},v={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\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:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};function x(){this.yy={}}return y.lexer=v,x.prototype=y,y.Parser=x,new x}());a.parser=a;const o=a;let s={},c=!1;const u={parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().pie,addSection:function(t,e){t=i.e.sanitizeText(t,(0,i.c)()),void 0===s[t]&&(s[t]=e,i.l.debug("Added new section :",t))},getSections:()=>s,cleanupValue:function(t){return":"===t.substring(0,1)?(t=t.substring(1).trim(),Number(t.trim())):Number(t.trim())},clear:function(){s={},c=!1,(0,i.v)()},setAccTitle:i.s,getAccTitle:i.g,setDiagramTitle:i.r,getDiagramTitle:i.t,setShowData:function(t){c=t},getShowData:function(){return c},getAccDescription:i.a,setAccDescription:i.b},l=t=>`\n .pieCircle{\n stroke: ${t.pieStrokeColor};\n stroke-width : ${t.pieStrokeWidth};\n opacity : ${t.pieOpacity};\n }\n .pieOuterCircle{\n stroke: ${t.pieOuterStrokeColor};\n stroke-width: ${t.pieOuterStrokeWidth};\n fill: none;\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${t.pieTitleTextSize};\n fill: ${t.pieTitleTextColor};\n font-family: ${t.fontFamily};\n }\n .slice {\n font-family: ${t.fontFamily};\n fill: ${t.pieSectionTextColor};\n font-size:${t.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${t.pieLegendTextColor};\n font-family: ${t.fontFamily};\n font-size: ${t.pieLegendTextSize};\n }\n`;let h,f=(0,i.c)();const d=450,g={parser:o,db:u,renderer:{draw:(t,e,n,a)=>{var o;try{f=(0,i.c)(),i.l.debug("Rendering info diagram\n"+t);const n=(0,i.c)().securityLevel;let k;"sandbox"===n&&(k=(0,r.Ys)("#i"+e));const _="sandbox"===n?(0,r.Ys)(k.nodes()[0].contentDocument.body):(0,r.Ys)("body"),A="sandbox"===n?k.nodes()[0].contentDocument:document;a.db.clear(),a.parser.parse(t),i.l.debug("Parsed info diagram");const E=A.getElementById(e);h=E.parentElement.offsetWidth,void 0===h&&(h=1200),void 0!==f.useWidth&&(h=f.useWidth),void 0!==f.pie.useWidth&&(h=f.pie.useWidth);const T=_.select("#"+e);(0,i.i)(T,d,h,f.pie.useMaxWidth),E.setAttribute("viewBox","0 0 "+h+" "+d);var s=18,c=Math.min(h,d)/2-40,u=T.append("g").attr("transform","translate("+h/2+",225)"),l=a.db.getSections(),g=0;Object.keys(l).forEach((function(t){g+=l[t]}));const C=f.themeVariables;var p=[C.pie1,C.pie2,C.pie3,C.pie4,C.pie5,C.pie6,C.pie7,C.pie8,C.pie9,C.pie10,C.pie11,C.pie12];const S=(null==(o=f.pie)?void 0:o.textPosition)??.75;let[I]=(0,i.B)(C.pieOuterStrokeWidth);I??(I=2);var b=(0,r.PKp)().range(p),w=Object.entries(l).map((function(t,e){return{order:e,name:t[0],value:t[1]}})),m=(0,r.ve8)().value((function(t){return t.value})).sort((function(t,e){return t.order-e.order}))(w),y=(0,r.Nb1)().innerRadius(0).outerRadius(c),v=(0,r.Nb1)().innerRadius(c*S).outerRadius(c*S);u.append("circle").attr("cx",0).attr("cy",0).attr("r",c+I/2).attr("class","pieOuterCircle"),u.selectAll("mySlices").data(m).enter().append("path").attr("d",y).attr("fill",(function(t){return b(t.data.name)})).attr("class","pieCircle"),u.selectAll("mySlices").data(m).enter().append("text").text((function(t){return(t.data.value/g*100).toFixed(0)+"%"})).attr("transform",(function(t){return"translate("+v.centroid(t)+")"})).style("text-anchor","middle").attr("class","slice"),u.append("text").text(a.db.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var x=u.selectAll(".legend").data(b.domain()).enter().append("g").attr("class","legend").attr("transform",(function(t,e){return"translate(216,"+(22*e-22*b.domain().length/2)+")"}));x.append("rect").attr("width",s).attr("height",s).style("fill",b).style("stroke",b),x.data(m).append("text").attr("x",22).attr("y",14).text((function(t){return a.db.getShowData()||f.showData||f.pie.showData?t.data.name+" ["+t.data.value+"]":t.data.name}))}catch(t){i.l.error("Error while rendering info diagram"),i.l.error(t)}}},styles:l}},722:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return h}});var i=n(8540),r=n(1504),a=(n(7530),n(2510),n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,5],i=[1,6],r=[1,7],a=[1,8],o=[1,10],s=[1,5,14,16,18,20,21,26,28,29,30,31,32,38,39,40,41,47,48,50,51,52,53,54,55,56,57,58,59,60],c=[1,5,7,14,16,18,20,21,26,28,29,30,31,32,38,39,40,41,47,48,50,51,52,53,54,55,56,57,58,59,60],u=[38,39,40],l=[2,8],h=[1,19],f=[1,23],d=[1,24],g=[1,25],p=[1,26],b=[1,27],w=[1,29],m=[1,30],y=[1,31],v=[1,32],x=[1,33],k=[1,34],_=[1,37],A=[1,38],E=[1,39],T=[1,40],C=[1,41],S=[1,42],I=[1,43],M=[1,44],D=[1,45],O=[1,46],L=[1,47],N=[1,48],P=[1,49],B=[1,52],F=[1,67],R=[1,68],j=[5,23,27,38,39,40,50,51,52,53,54,55,56,57,58,59,60,61],$=[5,7,38,39,40,41],z={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,directive:6,QUADRANT:7,document:8,line:9,statement:10,axisDetails:11,quadrantDetails:12,points:13,title:14,title_value:15,acc_title:16,acc_title_value:17,acc_descr:18,acc_descr_value:19,acc_descr_multiline_value:20,section:21,text:22,point_start:23,point_x:24,point_y:25,"X-AXIS":26,"AXIS-TEXT-DELIMITER":27,"Y-AXIS":28,QUADRANT_1:29,QUADRANT_2:30,QUADRANT_3:31,QUADRANT_4:32,openDirective:33,typeDirective:34,closeDirective:35,":":36,argDirective:37,NEWLINE:38,SEMI:39,EOF:40,open_directive:41,type_directive:42,arg_directive:43,close_directive:44,alphaNumToken:45,textNoTagsToken:46,STR:47,MD_STR:48,alphaNum:49,PUNCTUATION:50,AMP:51,NUM:52,ALPHA:53,COMMA:54,PLUS:55,EQUALS:56,MULT:57,DOT:58,BRKT:59,UNDERSCORE:60,MINUS:61,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",7:"QUADRANT",14:"title",15:"title_value",16:"acc_title",17:"acc_title_value",18:"acc_descr",19:"acc_descr_value",20:"acc_descr_multiline_value",21:"section",23:"point_start",24:"point_x",25:"point_y",26:"X-AXIS",27:"AXIS-TEXT-DELIMITER",28:"Y-AXIS",29:"QUADRANT_1",30:"QUADRANT_2",31:"QUADRANT_3",32:"QUADRANT_4",36:":",38:"NEWLINE",39:"SEMI",40:"EOF",41:"open_directive",42:"type_directive",43:"arg_directive",44:"close_directive",47:"STR",48:"MD_STR",50:"PUNCTUATION",51:"AMP",52:"NUM",53:"ALPHA",54:"COMMA",55:"PLUS",56:"EQUALS",57:"MULT",58:"DOT",59:"BRKT",60:"UNDERSCORE",61:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[10,0],[10,2],[10,1],[10,1],[10,1],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[13,4],[11,4],[11,3],[11,2],[11,4],[11,3],[11,2],[12,2],[12,2],[12,2],[12,2],[6,3],[6,5],[4,1],[4,1],[4,1],[33,1],[34,1],[37,1],[35,1],[22,1],[22,2],[22,1],[22,1],[49,1],[49,2],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[46,1],[46,1],[46,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 13:this.$=a[s].trim(),i.setDiagramTitle(this.$);break;case 14:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 15:case 16:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 17:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 19:i.addPoint(a[s-3],a[s-1],a[s]);break;case 20:i.setXAxisLeftText(a[s-2]),i.setXAxisRightText(a[s]);break;case 21:a[s-1].text+=" ⟶ ",i.setXAxisLeftText(a[s-1]);break;case 22:i.setXAxisLeftText(a[s]);break;case 23:i.setYAxisBottomText(a[s-2]),i.setYAxisTopText(a[s]);break;case 24:a[s-1].text+=" ⟶ ",i.setYAxisBottomText(a[s-1]);break;case 25:i.setYAxisBottomText(a[s]);break;case 26:i.setQuadrant1Text(a[s]);break;case 27:i.setQuadrant2Text(a[s]);break;case 28:i.setQuadrant3Text(a[s]);break;case 29:i.setQuadrant4Text(a[s]);break;case 35:i.parseDirective("%%{","open_directive");break;case 36:i.parseDirective(a[s],"type_directive");break;case 37:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 38:i.parseDirective("}%%","close_directive","quadrantChart");break;case 39:case 41:this.$={text:a[s],type:"text"};break;case 40:this.$={text:a[s-1].text+""+a[s],type:a[s-1].type};break;case 42:this.$={text:a[s],type:"markdown"};break;case 43:this.$=a[s];break;case 44:this.$=a[s-1]+""+a[s]}},table:[{3:1,4:2,5:e,6:4,7:n,33:9,38:i,39:r,40:a,41:o},{1:[3]},{3:11,4:2,5:e,6:4,7:n,33:9,38:i,39:r,40:a,41:o},{3:12,4:2,5:e,6:4,7:n,33:9,38:i,39:r,40:a,41:o},{3:13,4:2,5:e,6:4,7:n,33:9,38:i,39:r,40:a,41:o},t(s,[2,5],{8:14}),t(c,[2,32]),t(c,[2,33]),t(c,[2,34]),{34:15,42:[1,16]},{42:[2,35]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(u,l,{33:9,9:17,10:18,11:20,12:21,13:22,6:28,22:35,45:36,1:[2,4],5:h,14:f,16:d,18:g,20:p,21:b,26:w,28:m,29:y,30:v,31:x,32:k,41:o,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P}),{35:50,36:[1,51],44:B},t([36,44],[2,36]),t(s,[2,6]),{4:53,38:i,39:r,40:a},t(u,l,{33:9,11:20,12:21,13:22,6:28,22:35,45:36,10:54,5:h,14:f,16:d,18:g,20:p,21:b,26:w,28:m,29:y,30:v,31:x,32:k,41:o,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P}),t(u,[2,10]),t(u,[2,11]),t(u,[2,12]),{15:[1,55]},{17:[1,56]},{19:[1,57]},t(u,[2,16]),t(u,[2,17]),t(u,[2,18]),{22:58,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{22:59,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{22:60,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{22:61,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{22:62,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{22:63,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{5:F,23:[1,64],45:66,46:65,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R},t(j,[2,39]),t(j,[2,41]),t(j,[2,42]),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($,[2,30]),{37:69,43:[1,70]},t($,[2,38]),t(s,[2,7]),t(u,[2,9]),t(u,[2,13]),t(u,[2,14]),t(u,[2,15]),t(u,[2,22],{46:65,45:66,5:F,27:[1,71],50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,25],{46:65,45:66,5:F,27:[1,72],50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,26],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,27],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,28],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,29],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),{24:[1,73]},t(j,[2,40]),t(j,[2,56]),t(j,[2,57]),t(j,[2,58]),{35:74,44:B},{44:[2,37]},t(u,[2,21],{45:36,22:75,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P}),t(u,[2,24],{45:36,22:76,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P}),{25:[1,77]},t($,[2,31]),t(u,[2,20],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,23],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,19])],defaultActions:{10:[2,35],11:[2,1],12:[2,2],13:[2,3],70:[2,37]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},q={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("open_directive"),41;case 1:return this.begin("type_directive"),42;case 2:return this.popState(),this.begin("arg_directive"),36;case 3:return this.popState(),this.popState(),44;case 4:return 43;case 5:case 6:case 8:break;case 7:return 38;case 9:return this.begin("title"),14;case 10:return this.popState(),"title_value";case 11:return this.begin("acc_title"),16;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),18;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 27:case 29:case 33:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 26;case 19:return 28;case 20:return 27;case 21:return 29;case 22:return 30;case 23:return 31;case 24:return 32;case 25:this.begin("md_string");break;case 26:return"MD_STR";case 28:this.begin("string");break;case 30:return"STR";case 31:return this.begin("point_start"),23;case 32:return this.begin("point_x"),24;case 34:this.popState(),this.begin("point_y");break;case 35:return this.popState(),25;case 36:return 7;case 37:return 53;case 38:return"COLON";case 39:return 55;case 40:return 54;case 41:case 42:return 56;case 43:return 57;case 44:return 59;case 45:return 60;case 46:return 58;case 47:return 51;case 48:return 61;case 49:return 52;case 50:return 5;case 51:return 39;case 52:return 50;case 53:return 40}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/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,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[35],inclusive:!1},point_x:{rules:[34],inclusive:!1},point_start:{rules:[32,33],inclusive:!1},acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[10],inclusive:!1},md_string:{rules:[26,27],inclusive:!1},string:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,11,13,15,18,19,20,21,22,23,24,25,28,31,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],inclusive:!0}}};function H(){this.yy={}}return z.lexer=q,H.prototype=z,z.Parser=H,new H}());a.parser=a;const o=a,s=(0,i.C)();const c=(0,i.c)();function u(t){return(0,i.d)(t.trim(),c)}const l=new class{constructor(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){var t,e,n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:(null==(t=i.D.quadrantChart)?void 0:t.chartWidth)||500,chartWidth:(null==(e=i.D.quadrantChart)?void 0:e.chartHeight)||500,titlePadding:(null==(n=i.D.quadrantChart)?void 0:n.titlePadding)||10,titleFontSize:(null==(r=i.D.quadrantChart)?void 0:r.titleFontSize)||20,quadrantPadding:(null==(a=i.D.quadrantChart)?void 0:a.quadrantPadding)||5,xAxisLabelPadding:(null==(o=i.D.quadrantChart)?void 0:o.xAxisLabelPadding)||5,yAxisLabelPadding:(null==(s=i.D.quadrantChart)?void 0:s.yAxisLabelPadding)||5,xAxisLabelFontSize:(null==(c=i.D.quadrantChart)?void 0:c.xAxisLabelFontSize)||16,yAxisLabelFontSize:(null==(u=i.D.quadrantChart)?void 0:u.yAxisLabelFontSize)||16,quadrantLabelFontSize:(null==(l=i.D.quadrantChart)?void 0:l.quadrantLabelFontSize)||16,quadrantTextTopPadding:(null==(h=i.D.quadrantChart)?void 0:h.quadrantTextTopPadding)||5,pointTextPadding:(null==(f=i.D.quadrantChart)?void 0:f.pointTextPadding)||5,pointLabelFontSize:(null==(d=i.D.quadrantChart)?void 0:d.pointLabelFontSize)||12,pointRadius:(null==(g=i.D.quadrantChart)?void 0:g.pointRadius)||5,xAxisPosition:(null==(p=i.D.quadrantChart)?void 0:p.xAxisPosition)||"top",yAxisPosition:(null==(b=i.D.quadrantChart)?void 0:b.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:(null==(w=i.D.quadrantChart)?void 0:w.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:(null==(m=i.D.quadrantChart)?void 0:m.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:s.quadrant1Fill,quadrant2Fill:s.quadrant2Fill,quadrant3Fill:s.quadrant3Fill,quadrant4Fill:s.quadrant4Fill,quadrant1TextFill:s.quadrant1TextFill,quadrant2TextFill:s.quadrant2TextFill,quadrant3TextFill:s.quadrant3TextFill,quadrant4TextFill:s.quadrant4TextFill,quadrantPointFill:s.quadrantPointFill,quadrantPointTextFill:s.quadrantPointTextFill,quadrantXAxisTextFill:s.quadrantXAxisTextFill,quadrantYAxisTextFill:s.quadrantYAxisTextFill,quadrantTitleFill:s.quadrantTitleFill,quadrantInternalBorderStrokeFill:s.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:s.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),i.l.info("clear called")}setData(t){this.data={...this.data,...t}}addPoints(t){this.data.points=[...t,...this.data.points]}setConfig(t){i.l.trace("setConfig called with: ",t),this.config={...this.config,...t}}setThemeConfig(t){i.l.trace("setThemeConfig called with: ",t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(t,e,n,i){const r=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,a={top:"top"===t&&e?r:0,bottom:"bottom"===t&&e?r:0},o=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,s={left:"left"===this.config.yAxisPosition&&n?o:0,right:"right"===this.config.yAxisPosition&&n?o:0},c=this.config.titleFontSize+2*this.config.titlePadding,u={top:i?c:0},l=this.config.quadrantPadding+s.left,h=this.config.quadrantPadding+a.top+u.top,f=this.config.chartWidth-2*this.config.quadrantPadding-s.left-s.right,d=this.config.chartHeight-2*this.config.quadrantPadding-a.top-a.bottom-u.top;return{xAxisSpace:a,yAxisSpace:s,titleSpace:u,quadrantSpace:{quadrantLeft:l,quadrantTop:h,quadrantWidth:f,quadrantHalfWidth:f/2,quadrantHeight:d,quadrantHalfHeight:d/2}}}getAxisLabels(t,e,n,i){const{quadrantSpace:r,titleSpace:a}=i,{quadrantHalfHeight:o,quadrantHeight:s,quadrantLeft:c,quadrantHalfWidth:u,quadrantTop:l,quadrantWidth:h}=r,f=0===this.data.points.length,d=[];return this.data.xAxisLeftText&&e&&d.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:c+(f?u/2:0),y:"top"===t?this.config.xAxisLabelPadding+a.top:this.config.xAxisLabelPadding+l+s+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:f?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&e&&d.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:c+u+(f?u/2:0),y:"top"===t?this.config.xAxisLabelPadding+a.top:this.config.xAxisLabelPadding+l+s+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:f?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&n&&d.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+c+h+this.config.quadrantPadding,y:l+s-(f?o/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:f?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&n&&d.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+c+h+this.config.quadrantPadding,y:l+o-(f?o/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:f?"center":"left",horizontalPos:"top",rotation:-90}),d}getQuadrants(t){const{quadrantSpace:e}=t,{quadrantHalfHeight:n,quadrantLeft:i,quadrantHalfWidth:r,quadrantTop:a}=e,o=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i+r,y:a,width:r,height:n,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i,y:a,width:r,height:n,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i,y:a+n,width:r,height:n,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i+r,y:a+n,width:r,height:n,fill:this.themeConfig.quadrant4Fill}];for(const t of o)t.text.x=t.x+t.width/2,0===this.data.points.length?(t.text.y=t.y+t.height/2,t.text.horizontalPos="middle"):(t.text.y=t.y+this.config.quadrantTextTopPadding,t.text.horizontalPos="top");return o}getQuadrantPoints(t){const{quadrantSpace:e}=t,{quadrantHeight:n,quadrantLeft:i,quadrantTop:a,quadrantWidth:o}=e,s=(0,r.BYU)().domain([0,1]).range([i,o+i]),c=(0,r.BYU)().domain([0,1]).range([n+a,a]);return this.data.points.map((t=>({x:s(t.x),y:c(t.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:t.text,fill:this.themeConfig.quadrantPointTextFill,x:s(t.x),y:c(t.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}})))}getBorders(t){const e=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:n}=t,{quadrantHalfHeight:i,quadrantHeight:r,quadrantLeft:a,quadrantHalfWidth:o,quadrantTop:s,quadrantWidth:c}=n;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a-e,y1:s,x2:a+c+e,y2:s},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a+c,y1:s+e,x2:a+c,y2:s+r-e},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a-e,y1:s+r,x2:a+c+e,y2:s+r},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a,y1:s+e,x2:a,y2:s+r-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:a+o,y1:s+e,x2:a+o,y2:s+r-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:a+e,y1:s+i,x2:a+c-e,y2:s+i}]}getTitle(t){if(t)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const t=this.config.showXAxis&&!(!this.data.xAxisLeftText&&!this.data.xAxisRightText),e=this.config.showYAxis&&!(!this.data.yAxisTopText&&!this.data.yAxisBottomText),n=this.config.showTitle&&!!this.data.titleText,i=this.data.points.length>0?"bottom":this.config.xAxisPosition,r=this.calculateSpace(i,t,e,n);return{points:this.getQuadrantPoints(r),quadrants:this.getQuadrants(r),axisLabels:this.getAxisLabels(i,t,e,r),borderLines:this.getBorders(r),title:this.getTitle(n)}}};const h={parser:o,db:{setWidth:function(t){l.setConfig({chartWidth:t})},setHeight:function(t){l.setConfig({chartHeight:t})},setQuadrant1Text:function(t){l.setData({quadrant1Text:u(t.text)})},setQuadrant2Text:function(t){l.setData({quadrant2Text:u(t.text)})},setQuadrant3Text:function(t){l.setData({quadrant3Text:u(t.text)})},setQuadrant4Text:function(t){l.setData({quadrant4Text:u(t.text)})},setXAxisLeftText:function(t){l.setData({xAxisLeftText:u(t.text)})},setXAxisRightText:function(t){l.setData({xAxisRightText:u(t.text)})},setYAxisTopText:function(t){l.setData({yAxisTopText:u(t.text)})},setYAxisBottomText:function(t){l.setData({yAxisBottomText:u(t.text)})},addPoint:function(t,e,n){l.addPoints([{x:e,y:n,text:u(t.text)}])},getQuadrantData:function(){const t=(0,i.c)(),{themeVariables:e,quadrantChart:n}=t;return n&&l.setConfig(n),l.setThemeConfig({quadrant1Fill:e.quadrant1Fill,quadrant2Fill:e.quadrant2Fill,quadrant3Fill:e.quadrant3Fill,quadrant4Fill:e.quadrant4Fill,quadrant1TextFill:e.quadrant1TextFill,quadrant2TextFill:e.quadrant2TextFill,quadrant3TextFill:e.quadrant3TextFill,quadrant4TextFill:e.quadrant4TextFill,quadrantPointFill:e.quadrantPointFill,quadrantPointTextFill:e.quadrantPointTextFill,quadrantXAxisTextFill:e.quadrantXAxisTextFill,quadrantYAxisTextFill:e.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:e.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:e.quadrantInternalBorderStrokeFill,quadrantTitleFill:e.quadrantTitleFill}),l.setData({titleText:(0,i.t)()}),l.build()},parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},clear:function(){l.clear(),(0,i.v)()},setAccTitle:i.s,getAccTitle:i.g,setDiagramTitle:i.r,getDiagramTitle:i.t,getAccDescription:i.a,setAccDescription:i.b},renderer:{draw:(t,e,n,a)=>{var o,s,c;function u(t){return"top"===t?"hanging":"middle"}function l(t){return"left"===t?"start":"middle"}function h(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}const f=(0,i.c)();i.l.debug("Rendering quadrant chart\n"+t);const d=f.securityLevel;let g;"sandbox"===d&&(g=(0,r.Ys)("#i"+e));const p=("sandbox"===d?(0,r.Ys)(g.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select(`[id="${e}"]`),b=p.append("g").attr("class","main"),w=(null==(o=f.quadrantChart)?void 0:o.chartWidth)||500,m=(null==(s=f.quadrantChart)?void 0:s.chartHeight)||500;(0,i.i)(p,m,w,(null==(c=f.quadrantChart)?void 0:c.useMaxWidth)||!0),p.attr("viewBox","0 0 "+w+" "+m),a.db.setHeight(m),a.db.setWidth(w);const y=a.db.getQuadrantData(),v=b.append("g").attr("class","quadrants"),x=b.append("g").attr("class","border"),k=b.append("g").attr("class","data-points"),_=b.append("g").attr("class","labels"),A=b.append("g").attr("class","title");y.title&&A.append("text").attr("x",0).attr("y",0).attr("fill",y.title.fill).attr("font-size",y.title.fontSize).attr("dominant-baseline",u(y.title.horizontalPos)).attr("text-anchor",l(y.title.verticalPos)).attr("transform",h(y.title)).text(y.title.text),y.borderLines&&x.selectAll("line").data(y.borderLines).enter().append("line").attr("x1",(t=>t.x1)).attr("y1",(t=>t.y1)).attr("x2",(t=>t.x2)).attr("y2",(t=>t.y2)).style("stroke",(t=>t.strokeFill)).style("stroke-width",(t=>t.strokeWidth));const E=v.selectAll("g.quadrant").data(y.quadrants).enter().append("g").attr("class","quadrant");E.append("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)).attr("fill",(t=>t.fill)),E.append("text").attr("x",0).attr("y",0).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>u(t.text.horizontalPos))).attr("text-anchor",(t=>l(t.text.verticalPos))).attr("transform",(t=>h(t.text))).text((t=>t.text.text));_.selectAll("g.label").data(y.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text((t=>t.text)).attr("fill",(t=>t.fill)).attr("font-size",(t=>t.fontSize)).attr("dominant-baseline",(t=>u(t.horizontalPos))).attr("text-anchor",(t=>l(t.verticalPos))).attr("transform",(t=>h(t)));const T=k.selectAll("g.data-point").data(y.points).enter().append("g").attr("class","data-point");T.append("circle").attr("cx",(t=>t.x)).attr("cy",(t=>t.y)).attr("r",(t=>t.radius)).attr("fill",(t=>t.fill)),T.append("text").attr("x",0).attr("y",0).text((t=>t.text.text)).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>u(t.text.horizontalPos))).attr("text-anchor",(t=>l(t.text.verticalPos))).attr("transform",(t=>h(t.text)))}},styles:()=>""}},927:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return E}});var i=n(8540),r=n(1504),a=n(1768),o=n(8066),s=(n(7530),n(2510),n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,5],i=[1,6],r=[1,7],a=[1,8],o=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],s=[1,22],c=[2,13],u=[1,26],l=[1,27],h=[1,28],f=[1,29],d=[1,30],g=[1,31],p=[1,24],b=[1,32],w=[1,33],m=[1,36],y=[71,72],v=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],x=[1,56],k=[1,57],_=[1,58],A=[1,59],E=[1,60],T=[1,61],C=[1,62],S=[62,63],I=[1,74],M=[1,70],D=[1,71],O=[1,72],L=[1,73],N=[1,75],P=[1,79],B=[1,80],F=[1,77],R=[1,78],j=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],$={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 6:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 7:case 8:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 9:i.parseDirective("%%{","open_directive");break;case 10:i.parseDirective(a[s],"type_directive");break;case 11:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 12:i.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:i.addRequirement(a[s-3],a[s-4]);break;case 20:i.setNewReqId(a[s-2]);break;case 21:i.setNewReqText(a[s-2]);break;case 22:i.setNewReqRisk(a[s-2]);break;case 23:i.setNewReqVerifyMethod(a[s-2]);break;case 26:this.$=i.RequirementType.REQUIREMENT;break;case 27:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=i.RiskLevel.LOW_RISK;break;case 33:this.$=i.RiskLevel.MED_RISK;break;case 34:this.$=i.RiskLevel.HIGH_RISK;break;case 35:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=i.VerifyType.VERIFY_TEST;break;case 39:i.addElement(a[s-3]);break;case 40:i.setNewElementType(a[s-2]);break;case 41:i.setNewElementDocRef(a[s-2]);break;case 44:i.addRelationship(a[s-2],a[s],a[s-4]);break;case 45:i.addRelationship(a[s-2],a[s-4],a[s]);break;case 46:this.$=i.Relationships.CONTAINS;break;case 47:this.$=i.Relationships.COPIES;break;case 48:this.$=i.Relationships.DERIVES;break;case 49:this.$=i.Relationships.SATISFIES;break;case 50:this.$=i.Relationships.VERIFIES;break;case 51:this.$=i.Relationships.REFINES;break;case 52:this.$=i.Relationships.TRACES}},table:[{3:1,4:2,6:e,9:4,14:n,16:i,18:r,19:a},{1:[3]},{3:10,4:2,5:[1,9],6:e,9:4,14:n,16:i,18:r,19:a},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},t(o,[2,8]),{20:[2,9]},{3:16,4:2,6:e,9:4,14:n,16:i,18:r,19:a},{1:[2,2]},{4:21,5:s,7:17,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{11:34,12:[1,35],22:m},t([12,22],[2,10]),t(o,[2,6]),t(o,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:s,7:38,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:39,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:40,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:41,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:42,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,29]),t(y,[2,30]),t(y,[2,31]),t(v,[2,55]),t(v,[2,56]),t(o,[2,4]),{13:51,21:[1,52]},t(o,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:x,65:k,66:_,67:A,68:E,69:T,70:C},{61:63,64:x,65:k,66:_,67:A,68:E,69:T,70:C},{11:64,22:m},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},t(S,[2,46]),t(S,[2,47]),t(S,[2,48]),t(S,[2,49]),t(S,[2,50]),t(S,[2,51]),t(S,[2,52]),{63:[1,68]},t(o,[2,5]),{5:I,29:69,30:M,33:D,35:O,37:L,39:N},{5:P,39:B,55:76,56:F,58:R},{32:81,71:b,72:w},{32:82,71:b,72:w},t(j,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:I,29:87,30:M,33:D,35:O,37:L,39:N},t(j,[2,25]),t(j,[2,39]),{31:[1,88]},{31:[1,89]},{5:P,39:B,55:90,56:F,58:R},t(j,[2,43]),t(j,[2,44]),t(j,[2,45]),{32:91,71:b,72:w},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},t(j,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},t(j,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:I,29:116,30:M,33:D,35:O,37:L,39:N},{5:I,29:117,30:M,33:D,35:O,37:L,39:N},{5:I,29:118,30:M,33:D,35:O,37:L,39:N},{5:I,29:119,30:M,33:D,35:O,37:L,39:N},{5:P,39:B,55:120,56:F,58:R},{5:P,39:B,55:121,56:F,58:R},t(j,[2,20]),t(j,[2,21]),t(j,[2,22]),t(j,[2,23]),t(j,[2,40]),t(j,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},z={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return"qString";case 55:return e.yytext=e.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/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,/^(?:(\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:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,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,55],inclusive:!0}}};function q(){this.yy={}}return $.lexer=z,q.prototype=$,$.Parser=q,new q}());s.parser=s;const c=s;let u=[],l={},h={},f={},d={};const g={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"},parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().req,addRequirement:(t,e)=>(void 0===h[t]&&(h[t]={name:t,type:e,id:l.id,text:l.text,risk:l.risk,verifyMethod:l.verifyMethod}),l={},h[t]),getRequirements:()=>h,setNewReqId:t=>{void 0!==l&&(l.id=t)},setNewReqText:t=>{void 0!==l&&(l.text=t)},setNewReqRisk:t=>{void 0!==l&&(l.risk=t)},setNewReqVerifyMethod:t=>{void 0!==l&&(l.verifyMethod=t)},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,addElement:t=>(void 0===d[t]&&(d[t]={name:t,type:f.type,docRef:f.docRef},i.l.info("Added new requirement: ",t)),f={},d[t]),getElements:()=>d,setNewElementType:t=>{void 0!==f&&(f.type=t)},setNewElementDocRef:t=>{void 0!==f&&(f.docRef=t)},addRelationship:(t,e,n)=>{u.push({type:t,src:e,dst:n})},getRelationships:()=>u,clear:()=>{u=[],l={},h={},f={},d={},(0,i.v)()}},p={CONTAINS:"contains",ARROW:"arrow"},b=p,w=(t,e)=>{let n=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");n.append("circle").attr("cx",e.line_height/2).attr("cy",e.line_height/2).attr("r",e.line_height/2).attr("fill","none"),n.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),n.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\n L${e.line_height},${e.line_height/2}\n M${e.line_height},${e.line_height/2}\n L0,${e.line_height}`).attr("stroke-width",1)};let m={},y=0;const v=(t,e)=>t.insert("rect","#"+e).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",m.rect_min_width+"px").attr("height",m.rect_min_height+"px"),x=(t,e,n)=>{let i=m.rect_min_width/2,r=t.append("text").attr("class","req reqLabel reqTitle").attr("id",e).attr("x",i).attr("y",m.rect_padding).attr("dominant-baseline","hanging"),a=0;n.forEach((t=>{0==a?r.append("tspan").attr("text-anchor","middle").attr("x",m.rect_min_width/2).attr("dy",0).text(t):r.append("tspan").attr("text-anchor","middle").attr("x",m.rect_min_width/2).attr("dy",.75*m.line_height).text(t),a++}));let o=1.5*m.rect_padding+a*m.line_height*.75;return t.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",m.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:r,y:o}},k=(t,e,n,i)=>{let r=t.append("text").attr("class","req reqLabel").attr("id",e).attr("x",m.rect_padding).attr("y",i).attr("dominant-baseline","hanging"),a=0;let o=[];return n.forEach((t=>{let e=t.length;for(;e>30&&a<3;){let n=t.substring(0,30);e=(t=t.substring(30,t.length)).length,o[o.length]=n,a++}if(3==a){let t=o[o.length-1];o[o.length-1]=t.substring(0,t.length-4)+"..."}else o[o.length]=t;a=0})),o.forEach((t=>{r.append("tspan").attr("x",m.rect_padding).attr("dy",m.line_height).text(t)})),r},_=function(t,e,n,a,o){const s=n.edge(A(e.src),A(e.dst)),c=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})),u=t.insert("path","#"+a).attr("class","er relationshipLine").attr("d",c(s.points)).attr("fill","none");e.type==o.db.Relationships.CONTAINS?u.attr("marker-start","url("+i.e.getUrl(m.arrowMarkerAbsolute)+"#"+e.type+"_line_ending)"):(u.attr("stroke-dasharray","10,7"),u.attr("marker-end","url("+i.e.getUrl(m.arrowMarkerAbsolute)+"#"+b.ARROW+"_line_ending)")),((t,e,n,i)=>{const r=e.node().getTotalLength(),a=e.node().getPointAtLength(.5*r),o="rel"+y;y++;const s=t.append("text").attr("class","req relationshipLabel").attr("id",o).attr("x",a.x).attr("y",a.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(i).node().getBBox();t.insert("rect","#"+o).attr("class","req reqLabelBox").attr("x",a.x-s.width/2).attr("y",a.y-s.height/2).attr("width",s.width).attr("height",s.height).attr("fill","white").attr("fill-opacity","85%")})(t,u,0,`<<${e.type}>>`)},A=t=>t.replace(/\s/g,"").replace(/\./g,"_"),E={parser:c,db:g,renderer:{draw:(t,e,n,s)=>{m=(0,i.c)().requirement,s.db.clear(),s.parser.parse(t);const c=m.securityLevel;let u;"sandbox"===c&&(u=(0,r.Ys)("#i"+e));const l=("sandbox"===c?(0,r.Ys)(u.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select(`[id='${e}']`);w(l,m);const h=new o.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:m.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let f=s.db.getRequirements(),d=s.db.getElements(),g=s.db.getRelationships();var p,b,y;p=f,b=h,y=l,Object.keys(p).forEach((t=>{let e=p[t];t=A(t),i.l.info("Added new requirement: ",t);const n=y.append("g").attr("id",t),r=v(n,"req-"+t);let a=x(n,t+"_title",[`<<${e.type}>>`,`${e.name}`]);k(n,t+"_body",[`Id: ${e.id}`,`Text: ${e.text}`,`Risk: ${e.risk}`,`Verification: ${e.verifyMethod}`],a.y);const o=r.node().getBBox();b.setNode(t,{width:o.width,height:o.height,shape:"rect",id:t})})),((t,e,n)=>{Object.keys(t).forEach((i=>{let r=t[i];const a=A(i),o=n.append("g").attr("id",a),s="element-"+a,c=v(o,s);let u=x(o,s+"_title",["<<Element>>",`${i}`]);k(o,s+"_body",[`Type: ${r.type||"Not Specified"}`,`Doc Ref: ${r.docRef||"None"}`],u.y);const l=c.node().getBBox();e.setNode(a,{width:l.width,height:l.height,shape:"rect",id:a})}))})(d,h,l),((t,e)=>{t.forEach((function(t){let n=A(t.src),i=A(t.dst);e.setEdge(n,i,{relationship:t})}))})(g,h),(0,a.bK)(h),function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&(t.select("#"+n),t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )"))}))}(l,h),g.forEach((function(t){_(l,t,h,e,s)}));const E=m.rect_padding,T=l.node().getBBox(),C=T.width+2*E,S=T.height+2*E;(0,i.i)(l,S,C,m.useMaxWidth),l.attr("viewBox",`${T.x-E} ${T.y-E} ${C} ${S}`)}},styles:t=>`\n\n marker {\n fill: ${t.relationColor};\n stroke: ${t.relationColor};\n }\n\n marker.cross {\n stroke: ${t.lineColor};\n }\n\n svg {\n font-family: ${t.fontFamily};\n font-size: ${t.fontSize};\n }\n\n .reqBox {\n fill: ${t.requirementBackground};\n fill-opacity: 1.0;\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${t.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${t.relationLabelBackground};\n fill-opacity: 1.0;\n }\n\n .req-title-line {\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${t.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${t.relationLabelColor};\n }\n\n`}},5123:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return nt}});var i=n(8540),r=n(1504),a=n(2699),o=n(2510),s=(n(7530),n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,3],i=[1,5],r=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,19],u=[1,21],l=[1,22],h=[1,23],f=[1,29],d=[1,30],g=[1,31],p=[1,32],b=[1,33],w=[1,34],m=[1,35],y=[1,36],v=[1,37],x=[1,38],k=[1,39],_=[1,40],A=[1,41],E=[1,43],T=[1,44],C=[1,46],S=[1,47],I=[1,48],M=[1,49],D=[1,50],O=[1,51],L=[1,54],N=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,52,53,54,55,57,58,63,64,65,66,74,84],P=[4,5,21,55,57],B=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,55,57,58,63,64,65,66,74,84],F=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,54,55,57,58,63,64,65,66,74,84],R=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,53,55,57,58,63,64,65,66,74,84],j=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,52,55,57,58,63,64,65,66,74,84],$=[72,73,74],z=[1,128],q=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,52,53,54,55,57,58,63,64,65,66,74,84],H={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,par_over:48,critical:49,option_sections:50,break:51,option:52,and:53,else:54,participant:55,AS:56,participant_actor:57,note:58,placement:59,text2:60,over:61,actor_pair:62,links:63,link:64,properties:65,details:66,spaceList:67,",":68,left_of:69,right_of:70,signaltype:71,"+":72,"-":73,ACTOR:74,SOLID_OPEN_ARROW:75,DOTTED_OPEN_ARROW:76,SOLID_ARROW:77,DOTTED_ARROW:78,SOLID_CROSS:79,DOTTED_CROSS:80,SOLID_POINT:81,DOTTED_POINT:82,TXT:83,open_directive:84,type_directive:85,arg_directive:86,close_directive:87,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"par_over",49:"critical",51:"break",52:"option",53:"and",54:"else",55:"participant",56:"AS",57:"participant_actor",58:"note",61:"over",63:"links",64:"link",65:"properties",66:"details",68:",",69:"left_of",70:"right_of",72:"+",73:"-",74:"ACTOR",75:"SOLID_OPEN_ARROW",76:"DOTTED_OPEN_ARROW",77:"SOLID_ARROW",78:"DOTTED_ARROW",79:"SOLID_CROSS",80:"DOTTED_CROSS",81:"SOLID_POINT",82:"DOTTED_POINT",83:"TXT",84:"open_directive",85:"type_directive",86:"arg_directive",87:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[50,1],[50,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[67,2],[67,1],[62,3],[62,1],[59,1],[59,1],[22,5],[22,5],[22,4],[27,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[60,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:return i.apply(a[s]),a[s];case 5:case 10:case 9:case 14:this.$=[];break;case 6:case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:case 12:case 13:case 64:this.$=a[s];break;case 18:a[s-1].unshift({type:"boxStart",boxData:i.parseBoxData(a[s-2])}),a[s-1].push({type:"boxEnd",boxText:a[s-2]}),this.$=a[s-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-2]),sequenceIndexStep:Number(a[s-1]),sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:i.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:a[s-1]};break;case 25:this.$={type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:a[s-1]};break;case 31:i.setDiagramTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 32:i.setDiagramTitle(a[s].substring(7)),this.$=a[s].substring(7);break;case 33:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 34:case 35:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 36:a[s-1].unshift({type:"loopStart",loopText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.LOOP_START}),a[s-1].push({type:"loopEnd",loopText:a[s-2],signalType:i.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 37:a[s-1].unshift({type:"rectStart",color:i.parseMessage(a[s-2]),signalType:i.LINETYPE.RECT_START}),a[s-1].push({type:"rectEnd",color:i.parseMessage(a[s-2]),signalType:i.LINETYPE.RECT_END}),this.$=a[s-1];break;case 38:a[s-1].unshift({type:"optStart",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.OPT_START}),a[s-1].push({type:"optEnd",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.OPT_END}),this.$=a[s-1];break;case 39:a[s-1].unshift({type:"altStart",altText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.ALT_START}),a[s-1].push({type:"altEnd",signalType:i.LINETYPE.ALT_END}),this.$=a[s-1];break;case 40:a[s-1].unshift({type:"parStart",parText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.PAR_START}),a[s-1].push({type:"parEnd",signalType:i.LINETYPE.PAR_END}),this.$=a[s-1];break;case 41:a[s-1].unshift({type:"parStart",parText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.PAR_OVER_START}),a[s-1].push({type:"parEnd",signalType:i.LINETYPE.PAR_END}),this.$=a[s-1];break;case 42:a[s-1].unshift({type:"criticalStart",criticalText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.CRITICAL_START}),a[s-1].push({type:"criticalEnd",signalType:i.LINETYPE.CRITICAL_END}),this.$=a[s-1];break;case 43:a[s-1].unshift({type:"breakStart",breakText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.BREAK_START}),a[s-1].push({type:"breakEnd",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.BREAK_END}),this.$=a[s-1];break;case 46:this.$=a[s-3].concat([{type:"option",optionText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.CRITICAL_OPTION},a[s]]);break;case 48:this.$=a[s-3].concat([{type:"and",parText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.PAR_AND},a[s]]);break;case 50:this.$=a[s-3].concat([{type:"else",altText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.ALT_ELSE},a[s]]);break;case 51:a[s-3].type="addParticipant",a[s-3].description=i.parseMessage(a[s-1]),this.$=a[s-3];break;case 52:a[s-1].type="addParticipant",this.$=a[s-1];break;case 53:a[s-3].type="addActor",a[s-3].description=i.parseMessage(a[s-1]),this.$=a[s-3];break;case 54:a[s-1].type="addActor",this.$=a[s-1];break;case 55:this.$=[a[s-1],{type:"addNote",placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 56:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:"addNote",placement:i.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 57:this.$=[a[s-1],{type:"addLinks",actor:a[s-1].actor,text:a[s]}];break;case 58:this.$=[a[s-1],{type:"addALink",actor:a[s-1].actor,text:a[s]}];break;case 59:this.$=[a[s-1],{type:"addProperties",actor:a[s-1].actor,text:a[s]}];break;case 60:this.$=[a[s-1],{type:"addDetails",actor:a[s-1].actor,text:a[s]}];break;case 63:this.$=[a[s-2],a[s]];break;case 65:this.$=i.PLACEMENT.LEFTOF;break;case 66:this.$=i.PLACEMENT.RIGHTOF;break;case 67:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:a[s-1]}];break;case 68:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:a[s-4]}];break;case 69:this.$=[a[s-3],a[s-1],{type:"addMessage",from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 70:this.$={type:"addParticipant",actor:a[s]};break;case 71:this.$=i.LINETYPE.SOLID_OPEN;break;case 72:this.$=i.LINETYPE.DOTTED_OPEN;break;case 73:this.$=i.LINETYPE.SOLID;break;case 74:this.$=i.LINETYPE.DOTTED;break;case 75:this.$=i.LINETYPE.SOLID_CROSS;break;case 76:this.$=i.LINETYPE.DOTTED_CROSS;break;case 77:this.$=i.LINETYPE.SOLID_POINT;break;case 78:this.$=i.LINETYPE.DOTTED_POINT;break;case 79:this.$=i.parseMessage(a[s].trim().substring(1));break;case 80:i.parseDirective("%%{","open_directive");break;case 81:i.parseDirective(a[s],"type_directive");break;case 82:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 83:i.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:n,6:4,7:i,14:6,84:r},{1:[3]},{3:8,4:e,5:n,6:4,7:i,14:6,84:r},{3:9,4:e,5:n,6:4,7:i,14:6,84:r},{3:10,4:e,5:n,6:4,7:i,14:6,84:r},t([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,55,57,58,63,64,65,66,74,84],a,{8:11}),{15:12,85:[1,13]},{85:[2,80]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{16:52,17:[1,53],87:L},t([17,87],[2,81]),t(N,[2,6]),{6:42,10:55,13:18,14:6,19:c,22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},t(N,[2,8]),t(N,[2,9]),t(N,[2,17]),{20:[1,56]},{5:[1,57]},{5:[1,60],24:[1,58],25:[1,59]},{27:61,74:O},{27:62,74:O},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},{5:[1,67]},t(N,[2,31]),t(N,[2,32]),{37:[1,68]},{39:[1,69]},t(N,[2,35]),{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},{20:[1,76]},{20:[1,77]},t(N,[2,44]),{27:78,74:O},{27:79,74:O},{71:80,75:[1,81],76:[1,82],77:[1,83],78:[1,84],79:[1,85],80:[1,86],81:[1,87],82:[1,88]},{59:89,61:[1,90],69:[1,91],70:[1,92]},{27:93,74:O},{27:94,74:O},{27:95,74:O},{27:96,74:O},t([5,56,68,75,76,77,78,79,80,81,82,83],[2,70]),{5:[1,97]},{18:98,86:[1,99]},{5:[2,83]},t(N,[2,7]),t(P,[2,10],{11:100}),t(N,[2,19]),{5:[1,102],24:[1,101]},{5:[1,103]},t(N,[2,23]),{5:[1,104]},{5:[1,105]},t(N,[2,26]),t(N,[2,27]),t(N,[2,28]),t(N,[2,29]),t(N,[2,30]),t(N,[2,33]),t(N,[2,34]),t(B,a,{8:106}),t(B,a,{8:107}),t(B,a,{8:108}),t(F,a,{45:109,8:110}),t(R,a,{47:111,8:112}),t(R,a,{8:112,47:113}),t(j,a,{50:114,8:115}),t(B,a,{8:116}),{5:[1,118],56:[1,117]},{5:[1,120],56:[1,119]},{27:123,72:[1,121],73:[1,122],74:O},t($,[2,71]),t($,[2,72]),t($,[2,73]),t($,[2,74]),t($,[2,75]),t($,[2,76]),t($,[2,77]),t($,[2,78]),{27:124,74:O},{27:126,62:125,74:O},{74:[2,65]},{74:[2,66]},{60:127,83:z},{60:129,83:z},{60:130,83:z},{60:131,83:z},t(q,[2,15]),{16:132,87:L},{87:[2,82]},{4:[1,135],5:[1,137],12:134,13:136,21:[1,133],55:E,57:T},{5:[1,138]},t(N,[2,21]),t(N,[2,22]),t(N,[2,24]),t(N,[2,25]),{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,139],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,140],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,141],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{21:[1,142]},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[2,49],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,54:[1,143],55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{21:[1,144]},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[2,47],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,53:[1,145],55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{21:[1,146]},{21:[1,147]},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[2,45],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,52:[1,148],55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,149],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{20:[1,150]},t(N,[2,52]),{20:[1,151]},t(N,[2,54]),{27:152,74:O},{27:153,74:O},{60:154,83:z},{60:155,83:z},{60:156,83:z},{68:[1,157],83:[2,64]},{5:[2,57]},{5:[2,79]},{5:[2,58]},{5:[2,59]},{5:[2,60]},{5:[1,158]},t(N,[2,18]),t(P,[2,11]),{13:159,55:E,57:T},t(P,[2,13]),t(P,[2,14]),t(N,[2,20]),t(N,[2,36]),t(N,[2,37]),t(N,[2,38]),t(N,[2,39]),{20:[1,160]},t(N,[2,40]),{20:[1,161]},t(N,[2,41]),t(N,[2,42]),{20:[1,162]},t(N,[2,43]),{5:[1,163]},{5:[1,164]},{60:165,83:z},{60:166,83:z},{5:[2,69]},{5:[2,55]},{5:[2,56]},{27:167,74:O},t(q,[2,16]),t(P,[2,12]),t(F,a,{8:110,45:168}),t(R,a,{8:112,47:169}),t(j,a,{8:115,50:170}),t(N,[2,51]),t(N,[2,53]),{5:[2,67]},{5:[2,68]},{83:[2,63]},{21:[2,50]},{21:[2,48]},{21:[2,46]}],defaultActions:{7:[2,80],8:[2,1],9:[2,2],10:[2,3],54:[2,83],91:[2,65],92:[2,66],99:[2,82],127:[2,57],128:[2,79],129:[2,58],130:[2,59],131:[2,60],154:[2,69],155:[2,55],156:[2,56],165:[2,67],166:[2,68],167:[2,63],168:[2,50],169:[2,48],170:[2,46]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},U={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("open_directive"),84;case 1:return this.begin("type_directive"),85;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),87;case 4:return 86;case 5:case 54:case 67:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 24;case 12:return this.begin("LINE"),19;case 13:return this.begin("ID"),55;case 14:return this.begin("ID"),57;case 15:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),74;case 16:return this.popState(),this.popState(),this.begin("LINE"),56;case 17:return this.popState(),this.popState(),5;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),44;case 22:return this.begin("LINE"),54;case 23:return this.begin("LINE"),46;case 24:return this.begin("LINE"),48;case 25:return this.begin("LINE"),53;case 26:return this.begin("LINE"),49;case 27:return this.begin("LINE"),52;case 28:return this.begin("LINE"),51;case 29:return this.popState(),20;case 30:return 21;case 31:return 69;case 32:return 70;case 33:return 63;case 34:return 64;case 35:return 65;case 36:return 66;case 37:return 61;case 38:return 58;case 39:return this.begin("ID"),26;case 40:return this.begin("ID"),28;case 41:return 34;case 42:return 35;case 43:return this.begin("acc_title"),36;case 44:return this.popState(),"acc_title_value";case 45:return this.begin("acc_descr"),38;case 46:return this.popState(),"acc_descr_value";case 47:this.begin("acc_descr_multiline");break;case 48:this.popState();break;case 49:return"acc_descr_multiline_value";case 50:return 7;case 51:return 23;case 52:return 25;case 53:return 68;case 55:return e.yytext=e.yytext.trim(),74;case 56:return 77;case 57:return 78;case 58:return 75;case 59:return 76;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 82;case 64:return 83;case 65:return 72;case 66:return 73;case 68:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/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,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[48,49],inclusive:!1},acc_descr:{rules:[46],inclusive:!1},acc_title:{rules:[44],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,15],inclusive:!1},ALIAS:{rules:[7,8,16,17],inclusive:!1},LINE:{rules:[7,8,29],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,28,30,31,32,33,34,35,36,37,38,39,40,41,42,43,45,47,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68],inclusive:!0}}};function G(){this.yy={}}return H.lexer=U,G.prototype=H,H.Parser=G,new G}());s.parser=s;const c=s;let u,l,h,f={},d=[],g=[],p=!1;const b=function(t,e,n,i){let r=h;const a=f[t];if(a){if(h&&a.box&&h!==a.box)throw new Error("A same participant should only be defined in one Box: "+a.name+" can't be in '"+a.box.name+"' and in '"+h.name+"' at the same time.");if(r=a.box?a.box:h,a.box=r,a&&e===a.name&&null==n)return}null!=n&&null!=n.text||(n={text:e,wrap:null,type:i}),null!=i&&null!=n.text||(n={text:e,wrap:null,type:i}),f[t]={box:r,name:e,description:n.text,wrap:void 0===n.wrap&&y()||!!n.wrap,prevActor:u,links:{},properties:{},actorCnt:null,rectData:null,type:i||"participant"},u&&f[u]&&(f[u].nextActor=t),h&&h.actorKeys.push(t),u=t},w=function(t,e,n={text:void 0,wrap:void 0},i){if(i===v.ACTIVE_END){if((t=>{let e,n=0;for(e=0;e<g.length;e++)g[e].type===v.ACTIVE_START&&g[e].from.actor===t&&n++,g[e].type===v.ACTIVE_END&&g[e].from.actor===t&&n--;return n})(t.actor)<1){let e=new Error("Trying to inactivate an inactive participant ("+t.actor+")");throw e.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}}return g.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&y()||!!n.wrap,type:i}),!0},m=function(t){return f[t]},y=()=>void 0!==l?l:(0,i.c)().sequence.wrap,v={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,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32},x=function(t,e,n){n.text,void 0===n.wrap&&y()||n.wrap;const i=[].concat(t,t);g.push({from:i[0],to:i[1],message:n.text,wrap:void 0===n.wrap&&y()||!!n.wrap,type:v.NOTE,placement:e})},k=function(t,e){const n=m(t);try{let t=(0,i.d)(e.text,(0,i.c)());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"=");_(n,JSON.parse(t))}catch(t){i.l.error("error while parsing actor link text",t)}};function _(t,e){if(null==t.links)t.links=e;else for(let n in e)t.links[n]=e[n]}const A=function(t,e){const n=m(t);try{let t=(0,i.d)(e.text,(0,i.c)());E(n,JSON.parse(t))}catch(t){i.l.error("error while parsing actor properties text",t)}};function E(t,e){if(null==t.properties)t.properties=e;else for(let n in e)t.properties[n]=e[n]}const T=function(t,e){const n=m(t),r=document.getElementById(e.text);try{const t=r.innerHTML,e=JSON.parse(t);e.properties&&E(n,e.properties),e.links&&_(n,e.links)}catch(t){i.l.error("error while parsing actor details text",t)}},C=function(t){if(Array.isArray(t))t.forEach((function(t){C(t)}));else switch(t.type){case"sequenceIndex":g.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":b(t.actor,t.actor,t.description,"participant");break;case"addActor":b(t.actor,t.actor,t.description,"actor");break;case"activeStart":case"activeEnd":w(t.actor,void 0,void 0,t.signalType);break;case"addNote":x(t.actor,t.placement,t.text);break;case"addLinks":k(t.actor,t.text);break;case"addALink":!function(t,e){const n=m(t);try{const t={};let s=(0,i.d)(e.text,(0,i.c)());var r=s.indexOf("@");s=s.replace(/&/g,"&"),s=s.replace(/=/g,"=");var a=s.slice(0,r-1).trim(),o=s.slice(r+1).trim();t[a]=o,_(n,t)}catch(t){i.l.error("error while parsing actor link text",t)}}(t.actor,t.text);break;case"addProperties":A(t.actor,t.text);break;case"addDetails":T(t.actor,t.text);break;case"addMessage":w(t.from,t.to,t.msg,t.signalType);break;case"boxStart":e=t.boxData,d.push({name:e.text,wrap:void 0===e.wrap&&y()||!!e.wrap,fill:e.color,actorKeys:[]}),h=d.slice(-1)[0];break;case"boxEnd":h=void 0;break;case"loopStart":w(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":w(void 0,void 0,void 0,t.signalType);break;case"rectStart":w(void 0,void 0,t.color,t.signalType);break;case"optStart":w(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":w(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,i.s)(t.text);break;case"parStart":case"and":w(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":w(void 0,void 0,t.criticalText,t.signalType);break;case"option":w(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":w(void 0,void 0,t.breakText,t.signalType)}var e},S={addActor:b,addMessage:function(t,e,n,i){g.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&y()||!!n.wrap,answer:i})},addSignal:w,addLinks:k,addDetails:T,addProperties:A,autoWrap:y,setWrap:function(t){l=t},enableSequenceNumbers:function(){p=!0},disableSequenceNumbers:function(){p=!1},showSequenceNumbers:()=>p,getMessages:function(){return g},getActors:function(){return f},getActor:m,getActorKeys:function(){return Object.keys(f)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:i.g,getBoxes:function(){return d},getDiagramTitle:i.t,setDiagramTitle:i.r,parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().sequence,clear:function(){f={},d=[],g=[],p=!1,(0,i.v)()},parseMessage:function(t){const e=t.trim(),n={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return i.l.debug("parseMessage:",n),n},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let n=null!=e&&e[1]?e[1].trim():"transparent",r=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",n)||(n="transparent",r=t.trim());else{const e=(new Option).style;e.color=n,e.color!==n&&(n="transparent",r=t.trim())}return{color:n,text:void 0!==r?(0,i.d)(r.replace(/^:?(?:no)?wrap:/,""),(0,i.c)()):void 0,wrap:void 0!==r?null!==r.match(/^:?wrap:/)||null===r.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:v,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:x,setAccTitle:i.s,apply:C,setAccDescription:i.b,getAccDescription:i.a,hasAtLeastOneBox:function(){return d.length>0},hasAtLeastOneBoxWithTitle:function(){return d.some((t=>t.name))}},I=t=>`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`,M=function(t,e){return(0,a.d)(t,e)},D=(t,e)=>{(0,i.E)((()=>{const n=document.querySelectorAll(t);0!==n.length&&(n[0].addEventListener("mouseover",(function(){O("actor"+e+"_popup")})),n[0].addEventListener("mouseout",(function(){L("actor"+e+"_popup")})))}))},O=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},L=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},N=function(t,e){let n=0,r=0;const a=e.text.split(i.e.lineBreakRegex),[o,s]=(0,i.B)(e.fontSize);let c=[],u=0,l=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":l=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":l=()=>Math.round(e.y+(n+r+e.textMargin)/2);break;case"bottom":case"end":l=()=>Math.round(e.y+(n+r+2*e.textMargin)-e.textMargin)}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[h,f]of a.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==o&&(u=h*o);const a=t.append("text");a.attr("x",e.x),a.attr("y",l()),void 0!==e.anchor&&a.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&a.style("font-family",e.fontFamily),void 0!==s&&a.style("font-size",s),void 0!==e.fontWeight&&a.style("font-weight",e.fontWeight),void 0!==e.fill&&a.attr("fill",e.fill),void 0!==e.class&&a.attr("class",e.class),void 0!==e.dy?a.attr("dy",e.dy):0!==u&&a.attr("dy",u);const d=f||i.Z;if(e.tspan){const t=a.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(d)}else a.text(d);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(a._groups||a)[0][0].getBBox().height,n=r),c.push(a)}return c},P=function(t,e){const n=t.append("polygon");var i,r,a,o,s;return n.attr("points",(i=e.x,r=e.y,a=e.width,o=e.height,i+","+r+" "+(i+a)+","+r+" "+(i+a)+","+(r+o-(s=7))+" "+(i+a-1.2*s)+","+(r+o)+" "+i+","+(r+o))),n.attr("class","labelBox"),e.y=e.y+e.height/2,N(t,e),n};let B=-1;const F=(t,e)=>{t.selectAll&&t.selectAll(".actor-line").attr("class","200").attr("y2",e-55)},R=function(t,e){(0,a.a)(t,e)},j=function(){return{x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},$=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("text-anchor","middle").text(t),s)}function e(t,e,n,a,o,s,c,u){const{actorFontSize:l,actorFontFamily:h,actorFontWeight:f}=u,[d,g]=(0,i.B)(l),p=t.split(i.e.lineBreakRegex);for(let t=0;t<p.length;t++){const i=t*d-d*(p.length-1)/2,u=e.append("text").attr("x",n+o/2).attr("y",a).style("text-anchor","middle").style("font-size",g).style("font-weight",f).style("font-family",h);u.append("tspan").attr("x",n+o/2).attr("dy",i).text(p[t]),u.attr("y",a+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(u,c)}}function n(t,n,i,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,i,a,o,s,c,u),r(h,c)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),z=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n).attr("y",i).style("text-anchor","start").text(t),s)}function e(t,e,n,a,o,s,c,u){const{actorFontSize:l,actorFontFamily:h,actorFontWeight:f}=u,d=t.split(i.e.lineBreakRegex);for(let t=0;t<d.length;t++){const i=t*l-l*(d.length-1)/2,o=e.append("text").attr("x",n).attr("y",a).style("text-anchor","start").style("font-size",l).style("font-weight",f).style("font-family",h);o.append("tspan").attr("x",n).attr("dy",i).text(d[t]),o.attr("y",a+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(o,c)}}function n(t,n,i,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,i,a,0,s,c,u),r(h,c)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),q={drawRect:M,drawText:N,drawLabel:P,drawActor:function(t,e,n,i){switch(e.type){case"actor":return function(t,e,n,i){const r=e.x+e.width/2,o=e.y+80;i||(B++,t.append("line").attr("id","actor"+B).attr("x1",r).attr("y1",o).attr("x2",r).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"));const s=t.append("g");s.attr("class","actor-man");const c=(0,a.g)();c.x=e.x,c.y=e.y,c.fill="#eaeaea",c.width=e.width,c.height=e.height,c.class="actor",c.rx=3,c.ry=3,s.append("line").attr("id","actor-man-torso"+B).attr("x1",r).attr("y1",e.y+25).attr("x2",r).attr("y2",e.y+45),s.append("line").attr("id","actor-man-arms"+B).attr("x1",r-18).attr("y1",e.y+33).attr("x2",r+18).attr("y2",e.y+33),s.append("line").attr("x1",r-18).attr("y1",e.y+60).attr("x2",r).attr("y2",e.y+45),s.append("line").attr("x1",r).attr("y1",e.y+45).attr("x2",r+16).attr("y2",e.y+60);const u=s.append("circle");u.attr("cx",e.x+e.width/2),u.attr("cy",e.y+10),u.attr("r",15),u.attr("width",e.width),u.attr("height",e.height);const l=s.node().getBBox();return e.height=l.height,$(n)(e.description,s,c.x,c.y+35,c.width,c.height,{class:"actor"},n),e.height}(t,e,n,i);case"participant":return function(t,e,n,i){const r=e.x+e.width/2,o=e.y+5,s=t.append("g");var c=s;i||(B++,c.append("line").attr("id","actor"+B).attr("x1",r).attr("y1",o).attr("x2",r).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"),c=s.append("g"),e.actorCnt=B,null!=e.links&&(c.attr("id","root-"+B),D("#root-"+B,B)));const u=(0,a.g)();var l="actor";null!=e.properties&&e.properties.class?l=e.properties.class:u.fill="#eaeaea",u.x=e.x,u.y=e.y,u.width=e.width,u.height=e.height,u.class=l,u.rx=3,u.ry=3;const h=M(c,u);if(e.rectData=u,null!=e.properties&&e.properties.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?(0,a.b)(c,u.x+u.width-20,u.y+10,t.substr(1)):(0,a.c)(c,u.x+u.width-20,u.y+10,t)}$(n)(e.description,c,u.x,u.y,u.width,u.height,{class:"actor"},n);let f=e.height;if(h.node){const t=h.node().getBBox();e.height=t.height,f=t.height}return f}(t,e,n,i)}},drawBox:function(t,e,n){const i=t.append("g");R(i,e),e.name&&$(n)(e.name,i,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},n),i.lower()},drawPopup:function(t,e,n,i,r){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};const a=e.links,s=e.actorCnt,c=e.rectData;var u="none";r&&(u="block !important");const l=t.append("g");l.attr("id","actor"+s+"_popup"),l.attr("class","actorPopupMenu"),l.attr("display",u),D("#actor"+s+"_popup",s);var h="";void 0!==c.class&&(h=" "+c.class);let f=c.width>n?c.width:n;const d=l.append("rect");if(d.attr("class","actorPopupMenuPanel"+h),d.attr("x",c.x),d.attr("y",c.height),d.attr("fill",c.fill),d.attr("stroke",c.stroke),d.attr("width",f),d.attr("height",c.height),d.attr("rx",c.rx),d.attr("ry",c.ry),null!=a){var g=20;for(let t in a){var p=l.append("a"),b=(0,o.Nm)(a[t]);p.attr("xlink:href",b),p.attr("target","_blank"),z(i)(t,p,c.x+10,c.height+g,f,20,{class:"actor"},i),g+=30}}return d.attr("height",g),{height:c.height+g,width:f}},anchorElement:function(t){return t.append("g")},drawActivation:function(t,e,n,i,r){const o=(0,a.g)(),s=e.anchored;o.x=e.startx,o.y=e.starty,o.class="activation"+r%3,o.width=e.stopx-e.startx,o.height=n-e.starty,M(s,o)},drawLoop:function(t,e,n,i){const{boxMargin:r,boxTextMargin:o,labelBoxHeight:s,labelBoxWidth:c,messageFontFamily:u,messageFontSize:l,messageFontWeight:h}=i,f=t.append("g"),d=function(t,e,n,i){return f.append("line").attr("x1",t).attr("y1",e).attr("x2",n).attr("y2",i).attr("class","loopLine")};d(e.startx,e.starty,e.stopx,e.starty),d(e.stopx,e.starty,e.stopx,e.stopy),d(e.startx,e.stopy,e.stopx,e.stopy),d(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){d(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let g=(0,a.e)();g.text=n,g.x=e.startx,g.y=e.starty,g.fontFamily=u,g.fontSize=l,g.fontWeight=h,g.anchor="middle",g.valign="middle",g.tspan=!1,g.width=c||50,g.height=s||20,g.textMargin=o,g.class="labelText",P(f,g),g=j(),g.text=e.title,g.x=e.startx+c/2+(e.stopx-e.startx)/2,g.y=e.starty+r+o,g.anchor="middle",g.valign="middle",g.textMargin=o,g.class="loopText",g.fontFamily=u,g.fontSize=l,g.fontWeight=h,g.wrap=!0;let p=N(f,g);return void 0!==e.sectionTitles&&e.sectionTitles.forEach((function(t,n){if(t.message){g.text=t.message,g.x=e.startx+(e.stopx-e.startx)/2,g.y=e.sections[n].y+r+o,g.class="loopText",g.anchor="middle",g.valign="middle",g.tspan=!1,g.fontFamily=u,g.fontSize=l,g.fontWeight=h,g.wrap=e.wrap,p=N(f,g);let i=Math.round(p.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[n].height+=i-(r+o)}})),e.height=Math.round(e.stopy-e.starty),f},drawBackgroundRect:R,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")},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")},insertSequenceNumber: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){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,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")},getTextObj:j,getNoteRect:function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},popupMenu:function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'block'; }"},popdownMenu:function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'none'; }"},fixLifeLineHeights:F,sanitizeUrl:o.Nm};let H={};const U={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map((t=>t.height||0)))+(0===this.loops.length?0:this.loops.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.messages.length?0:this.messages.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.notes.length?0:this.notes.map((t=>t.height||0)).reduce(((t,e)=>t+e)))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(t){this.boxes.push(t)},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,X((0,i.c)())},updateVal:function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])},updateBounds:function(t,e,n,i){const r=this;let a=0;function o(o){return function(s){a++;const c=r.sequenceItems.length-a+1;r.updateVal(s,"starty",e-c*H.boxMargin,Math.min),r.updateVal(s,"stopy",i+c*H.boxMargin,Math.max),r.updateVal(U.data,"startx",t-c*H.boxMargin,Math.min),r.updateVal(U.data,"stopx",n+c*H.boxMargin,Math.max),"activation"!==o&&(r.updateVal(s,"startx",t-c*H.boxMargin,Math.min),r.updateVal(s,"stopx",n+c*H.boxMargin,Math.max),r.updateVal(U.data,"starty",e-c*H.boxMargin,Math.min),r.updateVal(U.data,"stopy",i+c*H.boxMargin,Math.max))}}this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},insert:function(t,e,n,r){const a=i.e.getMin(t,n),o=i.e.getMax(t,n),s=i.e.getMin(e,r),c=i.e.getMax(e,r);this.updateVal(U.data,"startx",a,Math.min),this.updateVal(U.data,"starty",s,Math.min),this.updateVal(U.data,"stopx",o,Math.max),this.updateVal(U.data,"stopy",c,Math.max),this.updateBounds(a,s,o,c)},newActivation:function(t,e,n){const i=n[t.from.actor],r=V(t.from.actor).length||0,a=i.x+i.width/2+(r-1)*H.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+H.activationWidth,stopy:void 0,actor:t.from.actor,anchored:q.anchorElement(e)})},endActivation:function(t){const e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},isLoopOverlap:function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:U.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},saveVerticalPos:function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},resetVerticalPos:function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=i.e.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},G=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),Y=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),Z=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});const W=function(t,e,n,r,a,o,s){if(!0===a.hideUnusedParticipants){const t=new Set;o.forEach((e=>{t.add(e.from),t.add(e.to)})),n=n.filter((e=>t.has(e)))}let c,u=0,l=0,h=0;for(const a of n){const n=e[a],o=n.box;c&&c!=o&&(s||U.models.addBox(c),l+=H.boxMargin+c.margin),o&&o!=c&&(s||(o.x=u+l,o.y=r),l+=o.margin),n.width=n.width||H.width,n.height=i.e.getMax(n.height||H.height,H.height),n.margin=n.margin||H.actorMargin,n.x=u+l,n.y=U.getVerticalPos();const f=q.drawActor(t,n,H,s);h=i.e.getMax(h,f),U.insert(n.x,r,n.x+n.width,n.height),u+=n.width+l,n.box&&(n.box.width=u+o.margin-n.box.x),l=n.margin,c=n.box,U.models.addActor(n)}c&&!s&&U.models.addBox(c),U.bumpVerticalPos(h)},K=function(t,e,n,i){let r=0,a=0;for(const o of n){const n=e[o],s=tt(n),c=q.drawPopup(t,n,s,H,H.forceMenus,i);c.height>r&&(r=c.height),c.width+n.x>a&&(a=c.width+n.x)}return{maxHeight:r,maxWidth:a}},X=function(t){(0,i.f)(H,t),t.fontFamily&&(H.actorFontFamily=H.noteFontFamily=H.messageFontFamily=t.fontFamily),t.fontSize&&(H.actorFontSize=H.noteFontSize=H.messageFontSize=t.fontSize),t.fontWeight&&(H.actorFontWeight=H.noteFontWeight=H.messageFontWeight=t.fontWeight)},V=function(t){return U.activations.filter((function(e){return e.actor===t}))},Q=function(t,e){const n=e[t],r=V(t);return[r.reduce((function(t,e){return i.e.getMin(t,e.startx)}),n.x+n.width/2),r.reduce((function(t,e){return i.e.getMax(t,e.stopx)}),n.x+n.width/2)]};function J(t,e,n,r,a){U.bumpVerticalPos(n);let o=r;if(e.id&&e.message&&t[e.id]){const n=t[e.id].width,a=G(H);e.message=i.u.wrapLabel(`[${e.message}]`,n-2*H.wrapPadding,a),e.width=n,e.wrap=!0;const s=i.u.calculateTextDimensions(e.message,a),c=i.e.getMax(s.height,H.labelBoxHeight);o=r+c,i.l.debug(`${c} - ${e.message}`)}a(e),U.bumpVerticalPos(o)}const tt=function(t){let e=0;const n=Z(H);for(const r in t.links){const t=i.u.calculateTextDimensions(r,n).width+2*H.wrapPadding+2*H.boxMargin;e<t&&(e=t)}return e};const et=function(t,e,n,r){const a={},o=[];let s,c,u;return t.forEach((function(t){switch(t.id=i.u.random({length:10}),t.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:o.push({id:t.id,msg:t.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:t.message&&(s=o.pop(),a[s.id]=s,a[t.id]=s,o.push(s));break;case r.db.LINETYPE.LOOP_END:case r.db.LINETYPE.ALT_END:case r.db.LINETYPE.OPT_END:case r.db.LINETYPE.PAR_END:case r.db.LINETYPE.CRITICAL_END:case r.db.LINETYPE.BREAK_END:s=o.pop(),a[s.id]=s;break;case r.db.LINETYPE.ACTIVE_START:{const n=e[t.from?t.from.actor:t.to.actor],i=V(t.from?t.from.actor:t.to.actor).length,r=n.x+n.width/2+(i-1)*H.activationWidth/2,a={startx:r,stopx:r+H.activationWidth,actor:t.from.actor,enabled:!0};U.activations.push(a)}break;case r.db.LINETYPE.ACTIVE_END:{const e=U.activations.map((t=>t.actor)).lastIndexOf(t.from.actor);delete U.activations.splice(e,1)[0]}}void 0!==t.placement?(c=function(t,e,n){const r=e[t.from].x,a=e[t.to].x,o=t.wrap&&t.message;let s=i.u.calculateTextDimensions(o?i.u.wrapLabel(t.message,H.width,Y(H)):t.message,Y(H));const c={width:o?H.width:i.e.getMax(H.width,s.width+2*H.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===n.db.PLACEMENT.RIGHTOF?(c.width=o?i.e.getMax(H.width,s.width):i.e.getMax(e[t.from].width/2+e[t.to].width/2,s.width+2*H.noteMargin),c.startx=r+(e[t.from].width+H.actorMargin)/2):t.placement===n.db.PLACEMENT.LEFTOF?(c.width=o?i.e.getMax(H.width,s.width+2*H.noteMargin):i.e.getMax(e[t.from].width/2+e[t.to].width/2,s.width+2*H.noteMargin),c.startx=r-c.width+(e[t.from].width-H.actorMargin)/2):t.to===t.from?(s=i.u.calculateTextDimensions(o?i.u.wrapLabel(t.message,i.e.getMax(H.width,e[t.from].width),Y(H)):t.message,Y(H)),c.width=o?i.e.getMax(H.width,e[t.from].width):i.e.getMax(e[t.from].width,H.width,s.width+2*H.noteMargin),c.startx=r+(e[t.from].width-c.width)/2):(c.width=Math.abs(r+e[t.from].width/2-(a+e[t.to].width/2))+H.actorMargin,c.startx=r<a?r+e[t.from].width/2-H.actorMargin/2:a+e[t.to].width/2-H.actorMargin/2),o&&(c.message=i.u.wrapLabel(t.message,c.width-2*H.wrapPadding,Y(H))),i.l.debug(`NM:[${c.startx},${c.stopx},${c.starty},${c.stopy}:${c.width},${c.height}=${t.message}]`),c}(t,e,r),t.noteModel=c,o.forEach((t=>{s=t,s.from=i.e.getMin(s.from,c.startx),s.to=i.e.getMax(s.to,c.startx+c.width),s.width=i.e.getMax(s.width,Math.abs(s.from-s.to))-H.labelBoxWidth}))):(u=function(t,e,n){let r=!1;if([n.db.LINETYPE.SOLID_OPEN,n.db.LINETYPE.DOTTED_OPEN,n.db.LINETYPE.SOLID,n.db.LINETYPE.DOTTED,n.db.LINETYPE.SOLID_CROSS,n.db.LINETYPE.DOTTED_CROSS,n.db.LINETYPE.SOLID_POINT,n.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(r=!0),!r)return{};const a=Q(t.from,e),o=Q(t.to,e),s=a[0]<=o[0]?1:0,c=a[0]<o[0]?0:1,u=[...a,...o],l=Math.abs(o[c]-a[s]);t.wrap&&t.message&&(t.message=i.u.wrapLabel(t.message,i.e.getMax(l+2*H.wrapPadding,H.width),G(H)));const h=i.u.calculateTextDimensions(t.message,G(H));return{width:i.e.getMax(t.wrap?0:h.width+2*H.wrapPadding,l+2*H.wrapPadding,H.width),height:0,startx:a[s],stopx:o[c],starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,u),toBounds:Math.max.apply(null,u)}}(t,e,r),t.msgModel=u,u.startx&&u.stopx&&o.length>0&&o.forEach((n=>{if(s=n,u.startx===u.stopx){const n=e[t.from],r=e[t.to];s.from=i.e.getMin(n.x-u.width/2,n.x-n.width/2,s.from),s.to=i.e.getMax(r.x+u.width/2,r.x+n.width/2,s.to),s.width=i.e.getMax(s.width,Math.abs(s.to-s.from))-H.labelBoxWidth}else s.from=i.e.getMin(u.startx,s.from),s.to=i.e.getMax(u.stopx,s.to),s.width=i.e.getMax(s.width,u.width)-H.labelBoxWidth})))})),U.activations=[],i.l.debug("Loop type widths:",a),a},nt={parser:c,db:S,renderer:{bounds:U,drawActors:W,drawActorsPopup:K,setConf:X,draw:function(t,e,n,o){const{securityLevel:s,sequence:c}=(0,i.c)();let u;H=c,o.db.clear(),o.parser.parse(t),"sandbox"===s&&(u=(0,r.Ys)("#i"+e));const l="sandbox"===s?(0,r.Ys)(u.nodes()[0].contentDocument.body):(0,r.Ys)("body"),h="sandbox"===s?u.nodes()[0].contentDocument:document;U.init(),i.l.debug(o.db);const f="sandbox"===s?l.select(`[id="${e}"]`):(0,r.Ys)(`[id="${e}"]`),d=o.db.getActors(),g=o.db.getBoxes(),p=o.db.getActorKeys(),b=o.db.getMessages(),w=o.db.getDiagramTitle(),m=o.db.hasAtLeastOneBox(),y=o.db.hasAtLeastOneBoxWithTitle(),v=function(t,e,n){const r={};return e.forEach((function(e){if(t[e.to]&&t[e.from]){const a=t[e.to];if(e.placement===n.db.PLACEMENT.LEFTOF&&!a.prevActor)return;if(e.placement===n.db.PLACEMENT.RIGHTOF&&!a.nextActor)return;const o=void 0!==e.placement,s=!o,c=o?Y(H):G(H),u=e.wrap?i.u.wrapLabel(e.message,H.width-2*H.wrapPadding,c):e.message,l=i.u.calculateTextDimensions(u,c).width+2*H.wrapPadding;s&&e.from===a.nextActor?r[e.to]=i.e.getMax(r[e.to]||0,l):s&&e.from===a.prevActor?r[e.from]=i.e.getMax(r[e.from]||0,l):s&&e.from===e.to?(r[e.from]=i.e.getMax(r[e.from]||0,l/2),r[e.to]=i.e.getMax(r[e.to]||0,l/2)):e.placement===n.db.PLACEMENT.RIGHTOF?r[e.from]=i.e.getMax(r[e.from]||0,l):e.placement===n.db.PLACEMENT.LEFTOF?r[a.prevActor]=i.e.getMax(r[a.prevActor]||0,l):e.placement===n.db.PLACEMENT.OVER&&(a.prevActor&&(r[a.prevActor]=i.e.getMax(r[a.prevActor]||0,l/2)),a.nextActor&&(r[e.from]=i.e.getMax(r[e.from]||0,l/2)))}})),i.l.debug("maxMessageWidthPerActor:",r),r}(d,b,o);H.height=function(t,e,n){let r=0;Object.keys(t).forEach((e=>{const n=t[e];n.wrap&&(n.description=i.u.wrapLabel(n.description,H.width-2*H.wrapPadding,Z(H)));const a=i.u.calculateTextDimensions(n.description,Z(H));n.width=n.wrap?H.width:i.e.getMax(H.width,a.width+2*H.wrapPadding),n.height=n.wrap?i.e.getMax(a.height,H.height):H.height,r=i.e.getMax(r,n.height)}));for(const n in e){const r=t[n];if(!r)continue;const a=t[r.nextActor];if(!a){const t=e[n]+H.actorMargin-r.width/2;r.margin=i.e.getMax(t,H.actorMargin);continue}const o=e[n]+H.actorMargin-r.width/2-a.width/2;r.margin=i.e.getMax(o,H.actorMargin)}let a=0;return n.forEach((e=>{const n=G(H);let r=e.actorKeys.reduce(((e,n)=>e+(t[n].width+(t[n].margin||0))),0);r-=2*H.boxTextMargin,e.wrap&&(e.name=i.u.wrapLabel(e.name,r-2*H.wrapPadding,n));const o=i.u.calculateTextDimensions(e.name,n);a=i.e.getMax(o.height,a);const s=i.e.getMax(r,o.width+2*H.wrapPadding);if(e.margin=H.boxTextMargin,r<s){const t=(s-r)/2;e.margin+=t}})),n.forEach((t=>t.textMaxHeight=a)),i.e.getMax(r,H.height)}(d,v,g),q.insertComputerIcon(f),q.insertDatabaseIcon(f),q.insertClockIcon(f),m&&(U.bumpVerticalPos(H.boxMargin),y&&U.bumpVerticalPos(g[0].textMaxHeight)),W(f,d,p,0,H,b,!1);const x=et(b,d,v,o);q.insertArrowHead(f),q.insertArrowCrossHead(f),q.insertArrowFilledHead(f),q.insertSequenceNumber(f);let k=1,_=1;const A=[];b.forEach((function(t){let e,n,r;switch(t.type){case o.db.LINETYPE.NOTE:U.resetVerticalPos(),n=t.noteModel,function(t,e){U.bumpVerticalPos(H.boxMargin),e.height=H.boxMargin,e.starty=U.getVerticalPos();const n=(0,a.g)();n.x=e.startx,n.y=e.starty,n.width=e.width||H.width,n.class="note";const i=t.append("g"),r=q.drawRect(i,n),o=(0,a.e)();o.x=e.startx,o.y=e.starty,o.width=n.width,o.dy="1em",o.text=e.message,o.class="noteText",o.fontFamily=H.noteFontFamily,o.fontSize=H.noteFontSize,o.fontWeight=H.noteFontWeight,o.anchor=H.noteAlign,o.textMargin=H.noteMargin,o.valign="center";const s=N(i,o),c=Math.round(s.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));r.attr("height",c+2*H.noteMargin),e.height+=c+2*H.noteMargin,U.bumpVerticalPos(c+2*H.noteMargin),e.stopy=e.starty+c+2*H.noteMargin,e.stopx=e.startx+n.width,U.insert(e.startx,e.starty,e.stopx,e.stopy),U.models.addNote(e)}(f,n);break;case o.db.LINETYPE.ACTIVE_START:U.newActivation(t,f,d);break;case o.db.LINETYPE.ACTIVE_END:!function(t,e){const n=U.endActivation(t);n.starty+18>e&&(n.starty=e-6,e+=12),q.drawActivation(f,n,e,H,V(t.from.actor).length),U.insert(n.startx,e-10,n.stopx,e)}(t,U.getVerticalPos());break;case o.db.LINETYPE.LOOP_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t)));break;case o.db.LINETYPE.LOOP_END:e=U.endLoop(),q.drawLoop(f,e,"loop",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;case o.db.LINETYPE.RECT_START:J(x,t,H.boxMargin,H.boxMargin,(t=>U.newLoop(void 0,t.message)));break;case o.db.LINETYPE.RECT_END:e=U.endLoop(),q.drawBackgroundRect(f,e),U.models.addLoop(e),U.bumpVerticalPos(e.stopy-U.getVerticalPos());break;case o.db.LINETYPE.OPT_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t)));break;case o.db.LINETYPE.OPT_END:e=U.endLoop(),q.drawLoop(f,e,"opt",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;case o.db.LINETYPE.ALT_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t)));break;case o.db.LINETYPE.ALT_ELSE:J(x,t,H.boxMargin+H.boxTextMargin,H.boxMargin,(t=>U.addSectionToLoop(t)));break;case o.db.LINETYPE.ALT_END:e=U.endLoop(),q.drawLoop(f,e,"alt",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;case o.db.LINETYPE.PAR_START:case o.db.LINETYPE.PAR_OVER_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t))),U.saveVerticalPos();break;case o.db.LINETYPE.PAR_AND:J(x,t,H.boxMargin+H.boxTextMargin,H.boxMargin,(t=>U.addSectionToLoop(t)));break;case o.db.LINETYPE.PAR_END:e=U.endLoop(),q.drawLoop(f,e,"par",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;case o.db.LINETYPE.AUTONUMBER:k=t.message.start||k,_=t.message.step||_,t.message.visible?o.db.enableSequenceNumbers():o.db.disableSequenceNumbers();break;case o.db.LINETYPE.CRITICAL_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t)));break;case o.db.LINETYPE.CRITICAL_OPTION:J(x,t,H.boxMargin+H.boxTextMargin,H.boxMargin,(t=>U.addSectionToLoop(t)));break;case o.db.LINETYPE.CRITICAL_END:e=U.endLoop(),q.drawLoop(f,e,"critical",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;case o.db.LINETYPE.BREAK_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t)));break;case o.db.LINETYPE.BREAK_END:e=U.endLoop(),q.drawLoop(f,e,"break",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;default:try{U.resetVerticalPos(),r=t.msgModel,r.starty=U.getVerticalPos(),r.sequenceIndex=k,r.sequenceVisible=o.db.showSequenceNumbers();const e=function(t,e){U.bumpVerticalPos(10);const{startx:n,stopx:r,message:a}=e,o=i.e.splitBreaks(a).length,s=i.u.calculateTextDimensions(a,G(H)),c=s.height/o;let u;e.height+=c,U.bumpVerticalPos(c);let l=s.height-10;const h=s.width;if(n===r){u=U.getVerticalPos()+l,H.rightAngles||(l+=H.boxMargin,u=U.getVerticalPos()+l),l+=30;const t=i.e.getMax(h/2,H.width/2);U.insert(n-t,U.getVerticalPos()-10+l,r+t,U.getVerticalPos()+30+l)}else l+=H.boxMargin,u=U.getVerticalPos()+l,U.insert(n,u-10,r,u);return U.bumpVerticalPos(l),e.height+=l,e.stopy=e.starty+e.height,U.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),u}(0,r);A.push({messageModel:r,lineStartY:e}),U.models.addMessage(r)}catch(t){i.l.error("error while drawing message",t)}}[o.db.LINETYPE.SOLID_OPEN,o.db.LINETYPE.DOTTED_OPEN,o.db.LINETYPE.SOLID,o.db.LINETYPE.DOTTED,o.db.LINETYPE.SOLID_CROSS,o.db.LINETYPE.DOTTED_CROSS,o.db.LINETYPE.SOLID_POINT,o.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(k+=_)})),A.forEach((t=>function(t,e,n,r){const{startx:o,stopx:s,starty:c,message:u,type:l,sequenceIndex:h,sequenceVisible:f}=e,d=i.u.calculateTextDimensions(u,G(H)),g=(0,a.e)();g.x=o,g.y=c+10,g.width=s-o,g.class="messageText",g.dy="1em",g.text=u,g.fontFamily=H.messageFontFamily,g.fontSize=H.messageFontSize,g.fontWeight=H.messageFontWeight,g.anchor=H.messageAlign,g.valign="center",g.textMargin=H.wrapPadding,g.tspan=!1,N(t,g);const p=d.width;let b;o===s?b=H.rightAngles?t.append("path").attr("d",`M ${o},${n} H ${o+i.e.getMax(H.width/2,p/2)} V ${n+25} H ${o}`):t.append("path").attr("d","M "+o+","+n+" C "+(o+60)+","+(n-10)+" "+(o+60)+","+(n+30)+" "+o+","+(n+20)):(b=t.append("line"),b.attr("x1",o),b.attr("y1",n),b.attr("x2",s),b.attr("y2",n)),l===r.db.LINETYPE.DOTTED||l===r.db.LINETYPE.DOTTED_CROSS||l===r.db.LINETYPE.DOTTED_POINT||l===r.db.LINETYPE.DOTTED_OPEN?(b.style("stroke-dasharray","3, 3"),b.attr("class","messageLine1")):b.attr("class","messageLine0");let w="";H.arrowMarkerAbsolute&&(w=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,w=w.replace(/\(/g,"\\("),w=w.replace(/\)/g,"\\)")),b.attr("stroke-width",2),b.attr("stroke","none"),b.style("fill","none"),l!==r.db.LINETYPE.SOLID&&l!==r.db.LINETYPE.DOTTED||b.attr("marker-end","url("+w+"#arrowhead)"),l!==r.db.LINETYPE.SOLID_POINT&&l!==r.db.LINETYPE.DOTTED_POINT||b.attr("marker-end","url("+w+"#filled-head)"),l!==r.db.LINETYPE.SOLID_CROSS&&l!==r.db.LINETYPE.DOTTED_CROSS||b.attr("marker-end","url("+w+"#crosshead)"),(f||H.showSequenceNumbers)&&(b.attr("marker-start","url("+w+"#sequencenumber)"),t.append("text").attr("x",o).attr("y",n+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(h))}(f,t.messageModel,t.lineStartY,o))),H.mirrorActors&&(U.bumpVerticalPos(2*H.boxMargin),W(f,d,p,U.getVerticalPos(),H,b,!0),U.bumpVerticalPos(H.boxMargin),F(f,U.getVerticalPos())),U.models.boxes.forEach((function(t){t.height=U.getVerticalPos()-t.y,U.insert(t.x,t.y,t.x+t.width,t.height),t.startx=t.x,t.starty=t.y,t.stopx=t.startx+t.width,t.stopy=t.starty+t.height,t.stroke="rgb(0,0,0, 0.5)",q.drawBox(f,t,H)})),m&&U.bumpVerticalPos(H.boxMargin);const E=K(f,d,p,h),{bounds:T}=U.getBounds();i.l.debug("For line height fix Querying: #"+e+" .actor-line");(0,r.td_)("#"+e+" .actor-line").attr("y2",T.stopy);let C=T.stopy-T.starty;C<E.maxHeight&&(C=E.maxHeight);let S=C+2*H.diagramMarginY;H.mirrorActors&&(S=S-H.boxMargin+H.bottomMarginAdj);let I=T.stopx-T.startx;I<E.maxWidth&&(I=E.maxWidth);const M=I+2*H.diagramMarginX;w&&f.append("text").text(w).attr("x",(T.stopx-T.startx)/2-2*H.diagramMarginX).attr("y",-25),(0,i.i)(f,S,M,H.useMaxWidth);const D=w?40:0;f.attr("viewBox",T.startx-H.diagramMarginX+" -"+(H.diagramMarginY+D)+" "+M+" "+(S+D)),i.l.debug("models:",U.models)}},styles:I}},2809:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return y}});var i=n(328),r=n(1504),a=n(1768),o=n(8066),s=n(8540);n(7530),n(2510),n(6951);const c={},u=(t,e)=>{c[t]=e},l=(t,e)=>{const n=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+1.3*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),i=n.height,r=t.append("text").attr("x",(0,s.c)().state.padding).attr("y",i+.4*(0,s.c)().state.padding+(0,s.c)().state.dividerMargin+(0,s.c)().state.textHeight).attr("class","state-description");let a=!0,o=!0;e.descriptions.forEach((function(t){a||(!function(t,e,n){const i=t.append("tspan").attr("x",2*(0,s.c)().state.padding).text(e);n||i.attr("dy",(0,s.c)().state.textHeight)}(r,t,o),o=!1),a=!1}));const c=t.append("line").attr("x1",(0,s.c)().state.padding).attr("y1",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("y2",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("class","descr-divider"),u=r.node().getBBox(),l=Math.max(u.width,n.width);return c.attr("x2",l+3*(0,s.c)().state.padding),t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",l+2*(0,s.c)().state.padding).attr("height",u.height+i+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius),t},h=(t,e,n)=>{const i=(0,s.c)().state.padding,r=2*(0,s.c)().state.padding,a=t.node().getBBox(),o=a.width,c=a.x,u=t.append("text").attr("x",0).attr("y",(0,s.c)().state.titleShift).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id),l=u.node().getBBox().width+r;let h,f=Math.max(l,o);f===o&&(f+=r);const d=t.node().getBBox();e.doc,h=c-i,l>o&&(h=(o-f)/2+i),Math.abs(c-d.x)<i&&l>o&&(h=c-(l-o)/2);const g=1-(0,s.c)().state.textHeight;return t.insert("rect",":first-child").attr("x",h).attr("y",g).attr("class",n?"alt-composit":"composit").attr("width",f).attr("height",d.height+(0,s.c)().state.textHeight+(0,s.c)().state.titleShift+1).attr("rx","0"),u.attr("x",h+i),l<=o&&u.attr("x",c+(f-r)/2-l/2+i),t.insert("rect",":first-child").attr("x",h).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",f).attr("height",3*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t.insert("rect",":first-child").attr("x",h).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",f).attr("height",d.height+3+2*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t},f=(t,e)=>{e.attr("class","state-note");const n=e.append("rect").attr("x",0).attr("y",(0,s.c)().state.padding),i=e.append("g"),{textWidth:r,textHeight:a}=((t,e,n,i)=>{let r=0;const a=i.append("text");a.style("text-anchor","start"),a.attr("class","noteText");let o=t.replace(/\r\n/g,"<br/>");o=o.replace(/\n/g,"<br/>");const c=o.split(s.e.lineBreakRegex);let u=1.25*(0,s.c)().state.noteMargin;for(const t of c){const i=t.trim();if(i.length>0){const t=a.append("tspan");t.text(i),0===u&&(u+=t.node().getBBox().height),r+=u,t.attr("x",e+(0,s.c)().state.noteMargin),t.attr("y",n+r+1.25*(0,s.c)().state.noteMargin)}}return{textWidth:a.node().getBBox().width,textHeight:r}})(t,0,0,i);return n.attr("height",a+2*(0,s.c)().state.noteMargin),n.attr("width",r+2*(0,s.c)().state.noteMargin),n},d=function(t,e){const n=e.id,i={id:n,label:e.id,width:0,height:0},r=t.append("g").attr("id",n).attr("class","stateGroup");"start"===e.type&&(t=>{t.append("circle").attr("class","start-state").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit)})(r),"end"===e.type&&(t=>{t.append("circle").attr("class","end-state-outer").attr("r",(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2)})(r),"fork"!==e.type&&"join"!==e.type||((t,e)=>{let n=(0,s.c)().state.forkWidth,i=(0,s.c)().state.forkHeight;if(e.parentId){let t=n;n=i,i=t}t.append("rect").style("stroke","black").style("fill","black").attr("width",n).attr("height",i).attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding)})(r,e),"note"===e.type&&f(e.note.text,r),"divider"===e.type&&(t=>{t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,s.c)().state.textHeight).attr("class","divider").attr("x2",2*(0,s.c)().state.textHeight).attr("y1",0).attr("y2",0)})(r),"default"===e.type&&0===e.descriptions.length&&((t,e)=>{const n=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+2*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id),i=n.node().getBBox();t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",i.width+2*(0,s.c)().state.padding).attr("height",i.height+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(r,e),"default"===e.type&&e.descriptions.length>0&&l(r,e);const a=r.node().getBBox();return i.width=a.width+2*(0,s.c)().state.padding,i.height=a.height+2*(0,s.c)().state.padding,u(n,i),i};let g=0;let p;const b={},w=(t,e,n,c,u,l,f)=>{const m=new o.k({compound:!0,multigraph:!0});let y,v=!0;for(y=0;y<t.length;y++)if("relation"===t[y].stmt){v=!1;break}n?m.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:v?1:p.edgeLengthFactor,nodeSep:v?1:50,isMultiGraph:!0}):m.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:v?1:p.edgeLengthFactor,nodeSep:v?1:50,ranker:"tight-tree",isMultiGraph:!0}),m.setDefaultEdgeLabel((function(){return{}})),f.db.extract(t);const x=f.db.getStates(),k=f.db.getRelations(),_=Object.keys(x);for(const t of _){const i=x[t];let r;if(n&&(i.parentId=n),i.doc){let t=e.append("g").attr("id",i.id).attr("class","stateGroup");r=w(i.doc,t,i.id,!c,u,l,f);{t=h(t,i,c);let e=t.node().getBBox();r.width=e.width,r.height=e.height+p.padding/2,b[i.id]={y:p.compositTitleSize}}}else r=d(e,i);if(i.note){const t={descriptions:[],id:i.id+"-note",note:i.note,type:"note"},n=d(e,t);"left of"===i.note.position?(m.setNode(r.id+"-note",n),m.setNode(r.id,r)):(m.setNode(r.id,r),m.setNode(r.id+"-note",n)),m.setParent(r.id,r.id+"-group"),m.setParent(r.id+"-note",r.id+"-group")}else m.setNode(r.id,r)}s.l.debug("Count=",m.nodeCount(),m);let A=0;k.forEach((function(t){var e;A++,s.l.debug("Setting edge",t),m.setEdge(t.id1,t.id2,{relation:t,width:(e=t.title,e?e.length*p.fontSizeFactor:1),height:p.labelHeight*s.e.getRows(t.title).length,labelpos:"c"},"id"+A)})),(0,a.bK)(m),s.l.debug("Graph after layout",m.nodes());const E=e.node();m.nodes().forEach((function(t){if(void 0!==t&&void 0!==m.node(t)){s.l.warn("Node "+t+": "+JSON.stringify(m.node(t))),u.select("#"+E.id+" #"+t).attr("transform","translate("+(m.node(t).x-m.node(t).width/2)+","+(m.node(t).y+(b[t]?b[t].y:0)-m.node(t).height/2)+" )"),u.select("#"+E.id+" #"+t).attr("data-x-shift",m.node(t).x-m.node(t).width/2);l.querySelectorAll("#"+E.id+" #"+t+" .divider").forEach((t=>{const e=t.parentElement;let n=0,i=0;e&&(e.parentElement&&(n=e.parentElement.getBBox().width),i=parseInt(e.getAttribute("data-x-shift"),10),Number.isNaN(i)&&(i=0)),t.setAttribute("x1",0-i+8),t.setAttribute("x2",n-i-8)}))}else s.l.debug("No Node "+t+": "+JSON.stringify(m.node(t)))}));let T=E.getBBox();m.edges().forEach((function(t){void 0!==t&&void 0!==m.edge(t)&&(s.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(m.edge(t))),function(t,e,n){e.points=e.points.filter((t=>!Number.isNaN(t.y)));const a=e.points,o=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(r.$0Z),c=t.append("path").attr("d",o(a)).attr("id","edge"+g).attr("class","transition");let u="";if((0,s.c)().state.arrowMarkerAbsolute&&(u=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,u=u.replace(/\(/g,"\\("),u=u.replace(/\)/g,"\\)")),c.attr("marker-end","url("+u+"#"+function(t){switch(t){case i.d.relationType.AGGREGATION:return"aggregation";case i.d.relationType.EXTENSION:return"extension";case i.d.relationType.COMPOSITION:return"composition";case i.d.relationType.DEPENDENCY:return"dependency"}}(i.d.relationType.DEPENDENCY)+"End)"),void 0!==n.title){const i=t.append("g").attr("class","stateLabel"),{x:r,y:a}=s.u.calcLabelPosition(e.points),o=s.e.getRows(n.title);let c=0;const u=[];let l=0,h=0;for(let t=0;t<=o.length;t++){const e=i.append("text").attr("text-anchor","middle").text(o[t]).attr("x",r).attr("y",a+c),n=e.node().getBBox();if(l=Math.max(l,n.width),h=Math.min(h,n.x),s.l.info(n.x,r,a+c),0===c){const t=e.node().getBBox();c=t.height,s.l.info("Title height",c,a)}u.push(e)}let f=c*o.length;if(o.length>1){const t=(o.length-1)*c*.5;u.forEach(((e,n)=>e.attr("y",a+n*c-t))),f=c*o.length}const d=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",r-l/2-(0,s.c)().state.padding/2).attr("y",a-f/2-(0,s.c)().state.padding/2-3.5).attr("width",l+(0,s.c)().state.padding).attr("height",f+(0,s.c)().state.padding),s.l.info(d)}g++}(e,m.edge(t),m.edge(t).relation))})),T=E.getBBox();const C={id:n||"root",label:n||"root",width:0,height:0};return C.width=T.width+2*p.padding,C.height=T.height+2*p.padding,s.l.debug("Doc rendered",C,m),C},m={setConf:function(){},draw:function(t,e,n,i){p=(0,s.c)().state;const a=(0,s.c)().securityLevel;let c;"sandbox"===a&&(c=(0,r.Ys)("#i"+e));const u="sandbox"===a?(0,r.Ys)(c.nodes()[0].contentDocument.body):(0,r.Ys)("body"),l="sandbox"===a?c.nodes()[0].contentDocument:document;s.l.debug("Rendering diagram "+t);const h=u.select(`[id='${e}']`);h.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");new o.k({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel((function(){return{}}));const f=i.db.getRootDoc();w(f,h,void 0,!1,u,l,i);const d=p.padding,g=h.node().getBBox(),b=g.width+2*d,m=g.height+2*d,y=1.75*b;(0,s.i)(h,m,y,p.useMaxWidth),h.attr("viewBox",`${g.x-p.padding} ${g.y-p.padding} `+b+" "+m)}},y={parser:i.p,db:i.d,renderer:m,styles:i.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}},6185:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return T}});var i=n(328),r=n(8066),a=n(1504),o=n(8540),s=n(113);n(7530),n(2510),n(6951),n(1768),n(835);const c="rect",u="rectWithTitle",l="statediagram",h="transition",f="parent",d="note",g="----parent",p="fill:none",b="fill: #333",w="text",m="normal";let y={},v=0;function x(t="",e=0,n="",i="----"){return`state-${t}${null!==n&&n.length>0?`${i}${n}`:""}-${e}`}const k=(t,e,n,r,a,s)=>{const l=n.id,h=null==(k=r[l])?"":k.classes?k.classes.join(" "):"";var k;if("root"!==l){let e=c;!0===n.start&&(e="start"),!1===n.start&&(e="end"),n.type!==i.D&&(e=n.type),y[l]||(y[l]={id:l,shape:e,description:o.e.sanitizeText(l,(0,o.c)()),classes:`${h} statediagram-state`});const r=y[l];n.description&&(Array.isArray(r.description)?(r.shape=u,r.description.push(n.description)):r.description.length>0?(r.shape=u,r.description===l?r.description=[n.description]:r.description=[r.description,n.description]):(r.shape=c,r.description=n.description),r.description=o.e.sanitizeTextOrArray(r.description,(0,o.c)())),1===r.description.length&&r.shape===u&&(r.shape=c),!r.type&&n.doc&&(o.l.info("Setting cluster for ",l,A(n)),r.type="group",r.dir=A(n),r.shape=n.type===i.a?"divider":"roundedWithTitle",r.classes=r.classes+" statediagram-cluster "+(s?"statediagram-cluster-alt":""));const a={labelStyle:"",shape:r.shape,labelText:r.description,classes:r.classes,style:"",id:l,dir:r.dir,domId:x(l,v),type:r.type,padding:15,centerLabel:!0};if(n.note){const e={labelStyle:"",shape:"note",labelText:n.note.text,classes:"statediagram-note",style:"",id:l+"----note-"+v,domId:x(l,v,d),type:r.type,padding:15},i={labelStyle:"",shape:"noteGroup",labelText:n.note.text,classes:r.classes,style:"",id:l+g,domId:x(l,v,f),type:"group",padding:0};v++;const o=l+g;t.setNode(o,i),t.setNode(e.id,e),t.setNode(l,a),t.setParent(l,o),t.setParent(e.id,o);let s=l,c=e.id;"left of"===n.note.position&&(s=e.id,c=l),t.setEdge(s,c,{arrowhead:"none",arrowType:"",style:p,labelStyle:"",classes:"transition note-edge",arrowheadStyle:b,labelpos:"c",labelType:w,thickness:m})}else t.setNode(l,a)}e&&"root"!==e.id&&(o.l.trace("Setting node ",l," to be child of its parent ",e.id),t.setParent(l,e.id)),n.doc&&(o.l.trace("Adding nodes children "),_(t,n,n.doc,r,a,!s))},_=(t,e,n,r,a,s)=>{o.l.trace("items",n),n.forEach((n=>{switch(n.stmt){case i.b:case i.D:k(t,e,n,r,a,s);break;case i.S:{k(t,e,n.state1,r,a,s),k(t,e,n.state2,r,a,s);const i={id:"edge"+v,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:p,labelStyle:"",label:o.e.sanitizeText(n.description,(0,o.c)()),arrowheadStyle:b,labelpos:"c",labelType:w,thickness:m,classes:h};t.setEdge(n.state1.id,n.state2.id,i,v),v++}}}))},A=(t,e=i.c)=>{let n=e;if(t.doc)for(let e=0;e<t.doc.length;e++){const i=t.doc[e];"dir"===i.stmt&&(n=i.value)}return n},E={setConf:function(t){const e=Object.keys(t);for(const n of e)t[n]},getClasses:function(t,e){o.l.trace("Extracting classes"),e.db.clear();try{return e.parser.parse(t),e.db.extract(e.db.getRootDocV2()),e.db.getClasses()}catch(t){return t}},draw:async function(t,e,n,i){o.l.info("Drawing state diagram (v2)",e),y={},i.db.getDirection();const{securityLevel:u,state:h}=(0,o.c)(),f=h.nodeSpacing||50,d=h.rankSpacing||50;o.l.info(i.db.getRootDocV2()),i.db.extract(i.db.getRootDocV2()),o.l.info(i.db.getRootDocV2());const g=i.db.getStates(),p=new r.k({multigraph:!0,compound:!0}).setGraph({rankdir:A(i.db.getRootDocV2()),nodesep:f,ranksep:d,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));let b;k(p,void 0,i.db.getRootDocV2(),g,i.db,!0),"sandbox"===u&&(b=(0,a.Ys)("#i"+e));const w="sandbox"===u?(0,a.Ys)(b.nodes()[0].contentDocument.body):(0,a.Ys)("body"),m=w.select(`[id="${e}"]`),v=w.select("#"+e+" g");await(0,s.r)(v,p,["barb"],l,e);o.u.insertTitle(m,"statediagramTitleText",h.titleTopMargin,i.db.getDiagramTitle());const x=m.node().getBBox(),_=x.width+16,E=x.height+16;m.attr("class",l);const T=m.node().getBBox();(0,o.i)(m,E,_,h.useMaxWidth);const C=`${T.x-8} ${T.y-8} ${_} ${E}`;o.l.debug(`viewBox ${C}`),m.attr("viewBox",C);const S=document.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const t of S){const e=t.getBBox(),n=document.createElementNS("http://www.w3.org/2000/svg",c);n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",e.width),n.setAttribute("height",e.height),t.insertBefore(n,t.firstChild)}}},T={parser:i.p,db:i.d,renderer:E,styles:i.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}},8489:function(t,e,n){"use strict";n.d(e,{a:function(){return w},f:function(){return b}});var i=n(8066),r=n(1504),a=n(895),o=n(8540),s=n(113),c=n(8137),u=n(1022),l=n(9297);var h=(t,e)=>u.Z.lang.round(l.Z.parse(t)[e]),f=n(852);const d={},g=function(t,e,n,i,r,a){const s=i.select(`[id="${n}"]`);Object.keys(t).forEach((function(n){const i=t[n];let u="default";i.classes.length>0&&(u=i.classes.join(" ")),u+=" flowchart-label";const l=(0,o.k)(i.styles);let h,f=void 0!==i.text?i.text:i.id;if(o.l.info("vertex",i,i.labelType),"markdown"===i.labelType)o.l.info("vertex",i,i.labelType);else if((0,o.n)((0,o.c)().flowchart.htmlLabels)){const t={label:f.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};h=(0,c.a)(s,t).node(),h.parentNode.removeChild(h)}else{const t=r.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",l.labelStyle.replace("color:","fill:"));const e=f.split(o.e.lineBreakRegex);for(const n of e){const e=r.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=n,t.appendChild(e)}h=t}let d=0,g="";switch(i.type){case"round":d=5,g="rect";break;case"square":case"group":default:g="rect";break;case"diamond":g="question";break;case"hexagon":g="hexagon";break;case"odd":case"odd_right":g="rect_left_inv_arrow";break;case"lean_right":g="lean_right";break;case"lean_left":g="lean_left";break;case"trapezoid":g="trapezoid";break;case"inv_trapezoid":g="inv_trapezoid";break;case"circle":g="circle";break;case"ellipse":g="ellipse";break;case"stadium":g="stadium";break;case"subroutine":g="subroutine";break;case"cylinder":g="cylinder";break;case"doublecircle":g="doublecircle"}e.setNode(i.id,{labelStyle:l.labelStyle,shape:g,labelText:f,labelType:i.labelType,rx:d,ry:d,class:u,style:l.style,id:i.id,link:i.link,linkTarget:i.linkTarget,tooltip:a.db.getTooltip(i.id)||"",domId:a.db.lookUpDomId(i.id),haveCallback:i.haveCallback,width:"group"===i.type?500:void 0,dir:i.dir,type:i.type,props:i.props,padding:(0,o.c)().flowchart.padding}),o.l.info("setNode",{labelStyle:l.labelStyle,labelType:i.labelType,shape:g,labelText:f,rx:d,ry:d,class:u,style:l.style,id:i.id,domId:a.db.lookUpDomId(i.id),width:"group"===i.type?500:void 0,type:i.type,dir:i.dir,props:i.props,padding:(0,o.c)().flowchart.padding})}))},p=function(t,e,n){o.l.info("abc78 edges = ",t);let i,a,s=0,c={};if(void 0!==t.defaultStyle){const e=(0,o.k)(t.defaultStyle);i=e.style,a=e.labelStyle}t.forEach((function(n){s++;const u="L-"+n.start+"-"+n.end;void 0===c[u]?(c[u]=0,o.l.info("abc78 new entry",u,c[u])):(c[u]++,o.l.info("abc78 new entry",u,c[u]));let l=u+"-"+c[u];o.l.info("abc78 new link id to be used is",u,l,c[u]);const h="LS-"+n.start,f="LE-"+n.end,g={style:"",labelStyle:""};switch(g.minlen=n.length||1,"arrow_open"===n.type?g.arrowhead="none":g.arrowhead="normal",g.arrowTypeStart="arrow_open",g.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":g.arrowTypeStart="arrow_cross";case"arrow_cross":g.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":g.arrowTypeStart="arrow_point";case"arrow_point":g.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":g.arrowTypeStart="arrow_circle";case"arrow_circle":g.arrowTypeEnd="arrow_circle"}let p="",b="";switch(n.stroke){case"normal":p="fill:none;",void 0!==i&&(p=i),void 0!==a&&(b=a),g.thickness="normal",g.pattern="solid";break;case"dotted":g.thickness="normal",g.pattern="dotted",g.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":g.thickness="thick",g.pattern="solid",g.style="stroke-width: 3.5px;fill:none;";break;case"invisible":g.thickness="invisible",g.pattern="solid",g.style="stroke-width: 0;fill:none;"}if(void 0!==n.style){const t=(0,o.k)(n.style);p=t.style,b=t.labelStyle}g.style=g.style+=p,g.labelStyle=g.labelStyle+=b,void 0!==n.interpolate?g.curve=(0,o.o)(n.interpolate,r.c_6):void 0!==t.defaultInterpolate?g.curve=(0,o.o)(t.defaultInterpolate,r.c_6):g.curve=(0,o.o)(d.curve,r.c_6),void 0===n.text?void 0!==n.style&&(g.arrowheadStyle="fill: #333"):(g.arrowheadStyle="fill: #333",g.labelpos="c"),g.labelType=n.labelType,g.label=n.text.replace(o.e.lineBreakRegex,"\n"),void 0===n.style&&(g.style=g.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),g.labelStyle=g.labelStyle.replace("color:","fill:"),g.id=l,g.classes="flowchart-link "+h+" "+f,e.setEdge(n.start,n.end,g,s)}))},b={setConf:function(t){const e=Object.keys(t);for(const n of e)d[n]=t[n]},addVertices:g,addEdges:p,getClasses:function(t,e){o.l.info("Extracting classes"),e.db.clear();try{return e.parse(t),e.db.getClasses()}catch(t){return}},draw:async function(t,e,n,c){o.l.info("Drawing flowchart"),c.db.clear(),a.f.setGen("gen-2"),c.parser.parse(t);let u=c.db.getDirection();void 0===u&&(u="TD");const{securityLevel:l,flowchart:h}=(0,o.c)(),f=h.nodeSpacing||50,d=h.rankSpacing||50;let b;"sandbox"===l&&(b=(0,r.Ys)("#i"+e));const w="sandbox"===l?(0,r.Ys)(b.nodes()[0].contentDocument.body):(0,r.Ys)("body"),m="sandbox"===l?b.nodes()[0].contentDocument:document,y=new i.k({multigraph:!0,compound:!0}).setGraph({rankdir:u,nodesep:f,ranksep:d,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let v;const x=c.db.getSubGraphs();o.l.info("Subgraphs - ",x);for(let t=x.length-1;t>=0;t--)v=x[t],o.l.info("Subgraph - ",v),c.db.addVertex(v.id,{text:v.title,type:v.labelType},"group",void 0,v.classes,v.dir);const k=c.db.getVertices(),_=c.db.getEdges();o.l.info("Edges",_);let A=0;for(A=x.length-1;A>=0;A--){v=x[A],(0,r.td_)("cluster").append("text");for(let t=0;t<v.nodes.length;t++)o.l.info("Setting up subgraphs",v.nodes[t],v.id),y.setParent(v.nodes[t],v.id)}g(k,y,e,w,m,c),p(_,y);const E=w.select(`[id="${e}"]`),T=w.select("#"+e+" g");if(await(0,s.r)(T,y,["point","circle","cross"],"flowchart",e),o.u.insertTitle(E,"flowchartTitleText",h.titleTopMargin,c.db.getDiagramTitle()),(0,o.p)(y,E,h.diagramPadding,h.useMaxWidth),c.db.indexNodes("subGraph"+A),!h.htmlLabels){const t=m.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of t){const t=e.getBBox(),n=m.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",t.width),n.setAttribute("height",t.height),e.insertBefore(n,e.firstChild)}}Object.keys(k).forEach((function(t){const n=k[t];if(n.link){const i=(0,r.Ys)("#"+e+' [id="'+t+'"]');if(i){const t=m.createElementNS("http://www.w3.org/2000/svg","a");t.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),t.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),t.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===l?t.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&t.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);const e=i.insert((function(){return t}),":first-child"),r=i.select(".label-container");r&&e.append((function(){return r.node()}));const a=i.select(".label");a&&e.append((function(){return a.node()}))}}}))}},w=t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span,p {\n color: ${t.titleColor};\n }\n\n .label text,span,p {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${((t,e)=>{const n=h,i=n(t,"r"),r=n(t,"g"),a=n(t,"b");return f.Z(i,r,a,e)})(t.edgeLabelBackground,.5)};\n // background-color: \n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span,p {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`},5349:function(t,e,n){"use strict";n.d(e,{d:function(){return A},p:function(){return o},s:function(){return E}});var i=n(1504),r=n(8540),a=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,34],n=[1,35],i=[1,36],r=[1,37],a=[1,9],o=[1,8],s=[1,19],c=[1,20],u=[1,21],l=[1,40],h=[1,41],f=[1,27],d=[1,25],g=[1,26],p=[1,32],b=[1,33],w=[1,28],m=[1,29],y=[1,30],v=[1,31],x=[1,45],k=[1,42],_=[1,43],A=[1,44],E=[1,46],T=[1,24],C=[1,16,24],S=[1,60],I=[1,61],M=[1,62],D=[1,63],O=[1,64],L=[1,65],N=[1,66],P=[1,16,24,52],B=[1,77],F=[1,16,24,27,28,36,50,52,55,68,69,70,71,72,73,74,79,81],R=[1,16,24,27,28,34,36,50,52,55,59,68,69,70,71,72,73,74,79,81,94,96,97,98,99],j=[1,86],$=[28,94,96,97,98,99],z=[28,73,74,94,96,97,98,99],q=[28,68,69,70,71,72,94,96,97,98,99],H=[1,99],U=[1,16,24,50,52,55],G=[1,16,24,36],Y=[8,9,10,11,19,23,44,46,48,53,57,58,60,61,63,65,75,76,78,82,94,96,97,98,99],Z={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,statements:6,direction:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,EOF:24,statement:25,classLabel:26,SQS:27,STR:28,SQE:29,namespaceName:30,alphaNumToken:31,className:32,classLiteralName:33,GENERICTYPE:34,relationStatement:35,LABEL:36,namespaceStatement:37,classStatement:38,methodStatement:39,annotationStatement:40,clickStatement:41,cssClassStatement:42,noteStatement:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,namespaceIdentifier:49,STRUCT_START:50,classStatements:51,STRUCT_STOP:52,NAMESPACE:53,classIdentifier:54,STYLE_SEPARATOR:55,members:56,CLASS:57,ANNOTATION_START:58,ANNOTATION_END:59,MEMBER:60,SEPARATOR:61,relation:62,NOTE_FOR:63,noteText:64,NOTE:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,CSSCLASS:82,commentToken:83,textToken:84,graphCodeTokens:85,textNoTagsToken:86,TAGSTART:87,TAGEND:88,"==":89,"--":90,PCT:91,DEFAULT:92,SPACE:93,MINUS:94,keywords:95,UNICODE_TEXT:96,NUM:97,ALPHA:98,BQUOTE_STR:99,$accept:0,$end:1},terminals_:{2:"error",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",24:"EOF",27:"SQS",28:"STR",29:"SQE",34:"GENERICTYPE",36:"LABEL",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",50:"STRUCT_START",52:"STRUCT_STOP",53:"NAMESPACE",55:"STYLE_SEPARATOR",57:"CLASS",58:"ANNOTATION_START",59:"ANNOTATION_END",60:"MEMBER",61:"SEPARATOR",63:"NOTE_FOR",65:"NOTE",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"CSSCLASS",85:"graphCodeTokens",87:"TAGSTART",88:"TAGEND",89:"==",90:"--",91:"PCT",92:"DEFAULT",93:"SPACE",94:"MINUS",95:"keywords",96:"UNICODE_TEXT",97:"NUM",98:"ALPHA",99:"BQUOTE_STR"},productions_:[0,[3,1],[3,2],[3,1],[7,1],[7,1],[7,1],[7,1],[4,1],[5,4],[5,6],[13,1],[14,1],[18,1],[15,1],[12,4],[6,1],[6,2],[6,3],[26,3],[30,1],[30,2],[32,1],[32,1],[32,2],[32,2],[32,2],[25,1],[25,2],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,2],[25,2],[25,1],[37,4],[37,5],[49,2],[51,1],[51,2],[51,3],[38,1],[38,3],[38,4],[38,6],[54,2],[54,3],[40,4],[56,1],[56,2],[39,1],[39,2],[39,1],[39,1],[35,3],[35,4],[35,4],[35,5],[43,3],[43,2],[62,3],[62,2],[62,2],[62,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[41,3],[41,4],[41,3],[41,4],[41,4],[41,5],[41,3],[41,4],[41,4],[41,5],[41,3],[41,4],[41,4],[41,5],[42,3],[83,1],[83,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[86,1],[86,1],[86,1],[86,1],[31,1],[31,1],[31,1],[31,1],[33,1],[64,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:i.setDirection("TB");break;case 5:i.setDirection("BT");break;case 6:i.setDirection("RL");break;case 7:i.setDirection("LR");break;case 11:i.parseDirective("%%{","open_directive");break;case 12:i.parseDirective(a[s],"type_directive");break;case 13:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 14:i.parseDirective("}%%","close_directive","class");break;case 19:this.$=a[s-1];break;case 20:case 22:case 23:this.$=a[s];break;case 21:case 24:this.$=a[s-1]+a[s];break;case 25:case 26:this.$=a[s-1]+"~"+a[s]+"~";break;case 27:i.addRelation(a[s]);break;case 28:a[s-1].title=i.cleanupLabel(a[s]),i.addRelation(a[s-1]);break;case 37:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 38:case 39:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 40:i.addClassesToNamespace(a[s-3],a[s-1]);break;case 41:i.addClassesToNamespace(a[s-4],a[s-1]);break;case 42:this.$=a[s],i.addNamespace(a[s]);break;case 43:case 53:this.$=[a[s]];break;case 44:this.$=[a[s-1]];break;case 45:a[s].unshift(a[s-2]),this.$=a[s];break;case 47:i.setCssClass(a[s-2],a[s]);break;case 48:i.addMembers(a[s-3],a[s-1]);break;case 49:i.setCssClass(a[s-5],a[s-3]),i.addMembers(a[s-5],a[s-1]);break;case 50:this.$=a[s],i.addClass(a[s]);break;case 51:this.$=a[s-1],i.addClass(a[s-1]),i.setClassLabel(a[s-1],a[s]);break;case 52:i.addAnnotation(a[s],a[s-2]);break;case 54:a[s].push(a[s-1]),this.$=a[s];break;case 55:case 57:case 58:break;case 56:i.addMember(a[s-1],i.cleanupLabel(a[s]));break;case 59:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 60:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:"none"};break;case 61:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:"none",relationTitle2:a[s-1]};break;case 62:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 63:i.addNote(a[s],a[s-1]);break;case 64:i.addNote(a[s]);break;case 65:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 66:this.$={type1:"none",type2:a[s],lineType:a[s-1]};break;case 67:this.$={type1:a[s-1],type2:"none",lineType:a[s]};break;case 68:this.$={type1:"none",type2:"none",lineType:a[s]};break;case 69:this.$=i.relationType.AGGREGATION;break;case 70:this.$=i.relationType.EXTENSION;break;case 71:this.$=i.relationType.COMPOSITION;break;case 72:this.$=i.relationType.DEPENDENCY;break;case 73:this.$=i.relationType.LOLLIPOP;break;case 74:this.$=i.lineType.LINE;break;case 75:this.$=i.lineType.DOTTED_LINE;break;case 76:case 82:this.$=a[s-2],i.setClickEvent(a[s-1],a[s]);break;case 77:case 83:this.$=a[s-3],i.setClickEvent(a[s-2],a[s-1]),i.setTooltip(a[s-2],a[s]);break;case 78:case 86:this.$=a[s-2],i.setLink(a[s-1],a[s]);break;case 79:case 87:this.$=a[s-3],i.setLink(a[s-2],a[s-1],a[s]);break;case 80:case 88:this.$=a[s-3],i.setLink(a[s-2],a[s-1]),i.setTooltip(a[s-2],a[s]);break;case 81:case 89:this.$=a[s-4],i.setLink(a[s-3],a[s-2],a[s]),i.setTooltip(a[s-3],a[s-1]);break;case 84:this.$=a[s-3],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 85:this.$=a[s-4],i.setClickEvent(a[s-3],a[s-2],a[s-1]),i.setTooltip(a[s-3],a[s]);break;case 90:i.setCssClass(a[s-1],a[s])}},table:[{3:1,4:2,5:3,6:4,7:18,8:e,9:n,10:i,11:r,12:5,13:6,19:a,23:o,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:s,46:c,48:u,49:23,53:l,54:24,57:h,58:f,60:d,61:g,63:p,65:b,75:w,76:m,78:y,82:v,94:x,96:k,97:_,98:A,99:E},{1:[3]},{1:[2,1]},{3:47,4:2,5:3,6:4,7:18,8:e,9:n,10:i,11:r,12:5,13:6,19:a,23:o,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:s,46:c,48:u,49:23,53:l,54:24,57:h,58:f,60:d,61:g,63:p,65:b,75:w,76:m,78:y,82:v,94:x,96:k,97:_,98:A,99:E},{1:[2,3]},{1:[2,8]},{14:48,20:[1,49]},t(T,[2,16],{16:[1,50]}),{16:[1,51]},{20:[2,11]},t(C,[2,27],{36:[1,52]}),t(C,[2,29]),t(C,[2,30]),t(C,[2,31]),t(C,[2,32]),t(C,[2,33]),t(C,[2,34]),t(C,[2,35]),t(C,[2,36]),{45:[1,53]},{47:[1,54]},t(C,[2,39]),t(C,[2,55],{62:55,66:58,67:59,28:[1,56],36:[1,57],68:S,69:I,70:M,71:D,72:O,73:L,74:N}),{50:[1,67]},t(P,[2,46],{50:[1,69],55:[1,68]}),t(C,[2,57]),t(C,[2,58]),{31:70,94:x,96:k,97:_,98:A},{31:38,32:71,33:39,94:x,96:k,97:_,98:A,99:E},{31:38,32:72,33:39,94:x,96:k,97:_,98:A,99:E},{31:38,32:73,33:39,94:x,96:k,97:_,98:A,99:E},{28:[1,74]},{31:38,32:75,33:39,94:x,96:k,97:_,98:A,99:E},{28:B,64:76},t(C,[2,4]),t(C,[2,5]),t(C,[2,6]),t(C,[2,7]),t(F,[2,22],{31:38,33:39,32:78,34:[1,79],94:x,96:k,97:_,98:A,99:E}),t(F,[2,23],{34:[1,80]}),{30:81,31:82,94:x,96:k,97:_,98:A},{31:38,32:83,33:39,94:x,96:k,97:_,98:A,99:E},t(R,[2,104]),t(R,[2,105]),t(R,[2,106]),t(R,[2,107]),t([1,16,24,27,28,34,36,50,52,55,68,69,70,71,72,73,74,79,81],[2,108]),{1:[2,2]},{15:84,17:[1,85],22:j},t([17,22],[2,12]),t(T,[2,17],{25:7,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,7:18,32:22,49:23,54:24,31:38,33:39,6:87,8:e,9:n,10:i,11:r,44:s,46:c,48:u,53:l,57:h,58:f,60:d,61:g,63:p,65:b,75:w,76:m,78:y,82:v,94:x,96:k,97:_,98:A,99:E}),{6:88,7:18,8:e,9:n,10:i,11:r,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:s,46:c,48:u,49:23,53:l,54:24,57:h,58:f,60:d,61:g,63:p,65:b,75:w,76:m,78:y,82:v,94:x,96:k,97:_,98:A,99:E},t(C,[2,28]),t(C,[2,37]),t(C,[2,38]),{28:[1,90],31:38,32:89,33:39,94:x,96:k,97:_,98:A,99:E},{62:91,66:58,67:59,68:S,69:I,70:M,71:D,72:O,73:L,74:N},t(C,[2,56]),{67:92,73:L,74:N},t($,[2,68],{66:93,68:S,69:I,70:M,71:D,72:O}),t(z,[2,69]),t(z,[2,70]),t(z,[2,71]),t(z,[2,72]),t(z,[2,73]),t(q,[2,74]),t(q,[2,75]),{16:[1,95],38:96,51:94,54:24,57:h},{31:97,94:x,96:k,97:_,98:A},{56:98,60:H},{59:[1,100]},{28:[1,101]},{28:[1,102]},{79:[1,103],81:[1,104]},{31:105,94:x,96:k,97:_,98:A},{28:B,64:106},t(C,[2,64]),t(C,[2,109]),t(F,[2,24]),t(F,[2,25]),t(F,[2,26]),{50:[2,42]},{30:107,31:82,50:[2,20],94:x,96:k,97:_,98:A},t(U,[2,50],{26:108,27:[1,109]}),{16:[1,110]},{18:111,21:[1,112]},{16:[2,14]},t(T,[2,18]),{24:[1,113]},t(G,[2,59]),{31:38,32:114,33:39,94:x,96:k,97:_,98:A,99:E},{28:[1,116],31:38,32:115,33:39,94:x,96:k,97:_,98:A,99:E},t($,[2,67],{66:117,68:S,69:I,70:M,71:D,72:O}),t($,[2,66]),{52:[1,118]},{38:96,51:119,54:24,57:h},{16:[1,120],52:[2,43]},t(P,[2,47],{50:[1,121]}),{52:[1,122]},{52:[2,53],56:123,60:H},{31:38,32:124,33:39,94:x,96:k,97:_,98:A,99:E},t(C,[2,76],{28:[1,125]}),t(C,[2,78],{28:[1,127],77:[1,126]}),t(C,[2,82],{28:[1,128],80:[1,129]}),t(C,[2,86],{28:[1,131],77:[1,130]}),t(C,[2,90]),t(C,[2,63]),{50:[2,21]},t(U,[2,51]),{28:[1,132]},t(Y,[2,9]),{15:133,22:j},{22:[2,13]},{1:[2,15]},t(G,[2,61]),t(G,[2,60]),{31:38,32:134,33:39,94:x,96:k,97:_,98:A,99:E},t($,[2,65]),t(C,[2,40]),{52:[1,135]},{38:96,51:136,52:[2,44],54:24,57:h},{56:137,60:H},t(P,[2,48]),{52:[2,54]},t(C,[2,52]),t(C,[2,77]),t(C,[2,79]),t(C,[2,80],{77:[1,138]}),t(C,[2,83]),t(C,[2,84],{28:[1,139]}),t(C,[2,87]),t(C,[2,88],{77:[1,140]}),{29:[1,141]},{16:[1,142]},t(G,[2,62]),t(C,[2,41]),{52:[2,45]},{52:[1,143]},t(C,[2,81]),t(C,[2,85]),t(C,[2,89]),t(U,[2,19]),t(Y,[2,10]),t(P,[2,49])],defaultActions:{2:[2,1],4:[2,3],5:[2,8],9:[2,11],47:[2,2],81:[2,42],86:[2,14],107:[2,21],112:[2,13],113:[2,15],123:[2,54],136:[2,45]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},W={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:case 10:case 19:case 25:case 30:case 34:case 41:break;case 11:return this.begin("acc_title"),44;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),46;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 52:case 55:case 58:case 60:case 63:case 66:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 29:return 16;case 20:case 21:return 23;case 22:case 31:case 39:return"EDGE_STATE";case 23:return this.begin("namespace"),53;case 24:case 33:return this.popState(),16;case 26:return this.begin("namespace-body"),50;case 27:case 37:return this.popState(),52;case 28:case 38:return"EOF_IN_STRUCT";case 32:return this.begin("class"),57;case 35:return this.popState(),this.popState(),52;case 36:return this.begin("class-body"),50;case 40:return"OPEN_IN_STRUCT";case 42:return"MEMBER";case 43:return 82;case 44:return 75;case 45:return 76;case 46:return 78;case 47:return 63;case 48:return 65;case 49:return 58;case 50:return 59;case 51:this.begin("href");break;case 53:return 81;case 54:this.begin("callback_name");break;case 56:this.popState(),this.begin("callback_args");break;case 57:return 79;case 59:return 80;case 61:return"GENERICTYPE";case 62:this.begin("generic");break;case 64:return"STR";case 65:this.begin("string");break;case 67:return"BQUOTE_STR";case 68:this.begin("bqstring");break;case 69:case 70:case 71:case 72:return 77;case 73:case 74:return 69;case 75:case 76:return 71;case 77:return 70;case 78:return 68;case 79:return 72;case 80:return 73;case 81:return 74;case 82:return 36;case 83:return 55;case 84:return 94;case 85:return"DOT";case 86:return"PLUS";case 87:return 91;case 88:case 89:return"EQUALS";case 90:return 98;case 91:return 27;case 92:return 29;case 93:return"PUNCTUATION";case 94:return 97;case 95:return 96;case 96:return 93;case 97:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:[~])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[27,28,29,30,31,32,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},namespace:{rules:[23,24,25,26,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},"class-body":{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},class:{rules:[33,34,35,36,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},acc_descr_multiline:{rules:[16,17,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},acc_descr:{rules:[14,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},acc_title:{rules:[12,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},arg_directive:{rules:[7,8,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},type_directive:{rules:[6,7,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},open_directive:{rules:[5,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},callback_args:{rules:[43,44,45,46,47,48,49,50,51,54,58,59,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},callback_name:{rules:[43,44,45,46,47,48,49,50,51,54,55,56,57,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},href:{rules:[43,44,45,46,47,48,49,50,51,52,53,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},struct:{rules:[43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},generic:{rules:[43,44,45,46,47,48,49,50,51,54,60,61,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},bqstring:{rules:[43,44,45,46,47,48,49,50,51,54,62,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},string:{rules:[43,44,45,46,47,48,49,50,51,54,62,63,64,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,32,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}};function K(){this.yy={}}return Z.lexer=W,K.prototype=Z,Z.Parser=K,new K}();a.parser=a;const o=a,s="classId-";let c=[],u={},l=[],h=0,f={},d=0,g=[];const p=t=>r.e.sanitizeText(t,(0,r.c)()),b=function(t){let e="",n=t;if(t.indexOf("~")>0){const i=t.split("~");n=p(i[0]),e=p(i[1])}return{className:n,type:e}},w=function(t){const e=b(t);void 0===u[e.className]&&(u[e.className]={id:e.className,type:e.type,label:e.className,cssClasses:[],methods:[],members:[],annotations:[],domId:s+e.className+"-"+h},h++)},m=function(t){if(t in u)return u[t].domId;throw new Error("Class not found: "+t)},y=function(t,e){const n=b(t).className,i=u[n];if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?i.annotations.push(p(t.substring(2,t.length-2))):t.indexOf(")")>0?i.methods.push(p(t)):t&&i.members.push(p(t))}},v=function(t,e){t.split(",").forEach((function(t){let n=t;t[0].match(/\d/)&&(n=s+n),void 0!==u[n]&&u[n].cssClasses.push(e)}))},x=function(t,e,n){if("loose"!==(0,r.c)().securityLevel)return;if(void 0===e)return;const i=t;if(void 0!==u[i]){const t=m(i);let a=[];if("string"==typeof n){a=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<a.length;t++){let e=a[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),a[t]=e}}0===a.length&&a.push(t),g.push((function(){const n=document.querySelector(`[id="${t}"]`);null!==n&&n.addEventListener("click",(function(){r.u.runFunc(e,...a)}),!1)}))}},k=function(t){let e=(0,i.Ys)(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=(0,i.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0));(0,i.Ys)(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=(0,i.Ys)(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"<br/>")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0);(0,i.Ys)(this).classed("hover",!1)}))};g.push(k);let _="TB";const A={parseDirective:function(t,e,n){r.m.parseDirective(this,t,e,n)},setAccTitle:r.s,getAccTitle:r.g,getAccDescription:r.a,setAccDescription:r.b,getConfig:()=>(0,r.c)().class,addClass:w,bindFunctions:function(t){g.forEach((function(e){e(t)}))},clear:function(){c=[],u={},l=[],g=[],g.push(k),f={},d=0,(0,r.v)()},getClass:function(t){return u[t]},getClasses:function(){return u},getNotes:function(){return l},addAnnotation:function(t,e){const n=b(t).className;u[n].annotations.push(e)},addNote:function(t,e){const n={id:`note${l.length}`,class:e,text:t};l.push(n)},getRelations:function(){return c},addRelation:function(t){r.l.debug("Adding relation: "+JSON.stringify(t)),w(t.id1),w(t.id2),t.id1=b(t.id1).className,t.id2=b(t.id2).className,t.relationTitle1=r.e.sanitizeText(t.relationTitle1.trim(),(0,r.c)()),t.relationTitle2=r.e.sanitizeText(t.relationTitle2.trim(),(0,r.c)()),c.push(t)},getDirection:()=>_,setDirection:t=>{_=t},addMember:y,addMembers:function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((e=>y(t,e))))},cleanupLabel:function(t){return t.startsWith(":")&&(t=t.substring(1)),p(t.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){x(t,e,n),u[t].haveCallback=!0})),v(t,"clickable")},setCssClass:v,setLink:function(t,e,n){const i=(0,r.c)();t.split(",").forEach((function(t){let a=t;t[0].match(/\d/)&&(a=s+a),void 0!==u[a]&&(u[a].link=r.u.formatUrl(e,i),"sandbox"===i.securityLevel?u[a].linkTarget="_top":u[a].linkTarget="string"==typeof n?p(n):"_blank")})),v(t,"clickable")},getTooltip:function(t,e){return e?f[e].classes[t].tooltip:u[t].tooltip},setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(u[t].tooltip=p(e))}))},lookUpDomId:m,setDiagramTitle:r.r,getDiagramTitle:r.t,setClassLabel:function(t,e){e&&(e=p(e));const{className:n}=b(t);u[n].label=e},addNamespace:function(t){void 0===f[t]&&(f[t]={id:t,classes:{},children:{},domId:s+t+"-"+d},d++)},addClassesToNamespace:function(t,e){void 0!==f[t]&&e.map((e=>{f[t].classes[e]=u[e],delete u[e],h--}))},getNamespace:function(t){return f[t]},getNamespaces:function(){return f}},E=t=>`g.classGroup text {\n fill: ${t.nodeBorder};\n fill: ${t.classText};\n stroke: none;\n font-family: ${t.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${t.classText};\n}\n.edgeLabel .label rect {\n fill: ${t.mainBkg};\n}\n.label text {\n fill: ${t.classText};\n}\n.edgeLabel .label span {\n background: ${t.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${t.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${t.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`},328:function(t,e,n){"use strict";n.d(e,{D:function(){return u},S:function(){return c},a:function(){return l},b:function(){return s},c:function(){return o},d:function(){return P},p:function(){return a},s:function(){return B}});var i=n(8540),r=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,3],i=[1,5],r=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,21],u=[1,22],l=[1,23],h=[1,24],f=[1,37],d=[1,25],g=[1,26],p=[1,27],b=[1,28],w=[1,29],m=[1,32],y=[1,33],v=[1,34],x=[1,35],k=[1,36],_=[1,39],A=[1,40],E=[1,41],T=[1,42],C=[1,38],S=[1,45],I=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],M=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],D=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],O=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],L={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:return i.setRootDoc(a[s]),a[s];case 5:this.$=[];break;case 6:"nl"!=a[s]&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 7:case 8:case 12:this.$=a[s];break;case 9:this.$="nl";break;case 13:const t=a[s-1];t.description=i.trimColon(a[s]),this.$=t;break;case 14:this.$={stmt:"relation",state1:a[s-2],state2:a[s]};break;case 15:const e=i.trimColon(a[s]);this.$={stmt:"relation",state1:a[s-3],state2:a[s-1],description:e};break;case 19:this.$={stmt:"state",id:a[s-3],type:"default",description:"",doc:a[s-1]};break;case 20:var c=a[s],u=a[s-2].trim();if(a[s].match(":")){var l=a[s].split(":");c=l[0],u=[u,l[1]]}this.$={stmt:"state",id:c,type:"default",description:u};break;case 21:this.$={stmt:"state",id:a[s-3],type:"default",description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:"state",id:a[s],type:"fork"};break;case 23:this.$={stmt:"state",id:a[s],type:"join"};break;case 24:this.$={stmt:"state",id:a[s],type:"choice"};break;case 25:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 30:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 31:case 32:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:a[s-1].trim(),classes:a[s].trim()};break;case 35:this.$={stmt:"applyClass",id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[s].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:a[s-2].trim(),classes:[a[s].trim()],type:"default",description:""};break;case 50:i.parseDirective("%%{","open_directive");break;case 51:i.parseDirective(a[s],"type_directive");break;case 52:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 53:i.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:e,5:n,6:4,7:i,45:6,60:r},{1:[3]},{3:8,4:e,5:n,6:4,7:i,45:6,60:r},{3:9,4:e,5:n,6:4,7:i,45:6,60:r},{3:10,4:e,5:n,6:4,7:i,45:6,60:r},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],a,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:m,35:y,37:v,38:x,42:k,45:6,50:_,51:A,52:E,53:T,56:C,60:r},{47:43,48:[1,44],63:S},t([48,63],[2,51]),t(I,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:c,17:u,19:l,22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:m,35:y,37:v,38:x,42:k,45:6,50:_,51:A,52:E,53:T,56:C,60:r},t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12],{14:[1,47],15:[1,48]}),t(I,[2,16]),{18:[1,49]},t(I,[2,18],{20:[1,50]}),{23:[1,51]},t(I,[2,22]),t(I,[2,23]),t(I,[2,24]),t(I,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(I,[2,28]),t(I,[2,29]),{34:[1,56]},{36:[1,57]},t(I,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(M,[2,44],{57:[1,61]}),t(M,[2,45],{57:[1,62]}),t(I,[2,38]),t(I,[2,39]),t(I,[2,40]),t(I,[2,41]),t(D,[2,36]),{49:63,62:[1,64]},t(D,[2,53]),t(I,[2,7]),t(I,[2,13]),{13:65,24:f,56:C},t(I,[2,17]),t(O,a,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(I,[2,30]),t(I,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:S},{63:[2,52]},t(I,[2,14],{14:[1,76]}),{4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,21:[1,77],22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:m,35:y,37:v,38:x,42:k,45:6,50:_,51:A,52:E,53:T,56:C,60:r},t(I,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(I,[2,33]),t(I,[2,34]),t(I,[2,35]),t(M,[2,46]),t(M,[2,47]),t(D,[2,37]),t(I,[2,15]),t(I,[2,19]),t(O,a,{8:81}),t(I,[2,26]),t(I,[2,27]),{4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,21:[1,82],22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:m,35:y,37:v,38:x,42:k,45:6,50:_,51:A,52:E,53:T,56:C,60:r},t(I,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},N={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return 41;case 1:case 44:return 50;case 2:case 45:return 51;case 3:case 46:return 52;case 4:case 47:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:case 11:case 13:case 14:case 15:case 16:case 56:case 58:case 64:break;case 12:case 79:return 5;case 17:case 34:return this.pushState("SCALE"),17;case 18:case 35:return 18;case 19:case 25:case 36:case 51:case 54:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 37:this.pushState("STATE");break;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 40:case 43:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:case 66:return this.popState(),"ID";case 52:return"STATE_DESCR";case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 57:return this.popState(),21;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:return"NOTE_TEXT";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 69:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 70:case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return e.yytext=e.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 80:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}};function P(){this.yy={}}return L.lexer=N,P.prototype=L,L.Parser=P,new P}();r.parser=r;const a=r,o="TB",s="state",c="relation",u="default",l="divider",h="[*]",f="start",d="color",g="fill";let p="LR",b=[],w={};let m={root:{relations:[],states:{},documents:{}}},y=m.root,v=0,x=0;const k=t=>JSON.parse(JSON.stringify(t)),_=(t,e,n)=>{if(e.stmt===c)_(t,e.state1,!0),_(t,e.state2,!1);else if(e.stmt===s&&("[*]"===e.id?(e.id=n?t.id+"_start":t.id+"_end",e.start=n):e.id=e.id.trim()),e.doc){const t=[];let n,r=[];for(n=0;n<e.doc.length;n++)if(e.doc[n].type===l){const i=k(e.doc[n]);i.doc=k(r),t.push(i),r=[]}else r.push(e.doc[n]);if(t.length>0&&r.length>0){const n={stmt:s,id:(0,i.F)(),type:"divider",doc:k(r)};t.push(k(n)),e.doc=t}e.doc.forEach((t=>_(e,t,!0)))}},A=function(t,e=u,n=null,r=null,a=null,o=null,s=null,c=null){const l=null==t?void 0:t.trim();if(void 0===y.states[l]?(i.l.info("Adding state ",l,r),y.states[l]={id:l,descriptions:[],type:e,doc:n,note:a,classes:[],styles:[],textStyles:[]}):(y.states[l].doc||(y.states[l].doc=n),y.states[l].type||(y.states[l].type=e)),r&&(i.l.info("Setting state description",l,r),"string"==typeof r&&M(l,r.trim()),"object"==typeof r&&r.forEach((t=>M(l,t.trim())))),a&&(y.states[l].note=a,y.states[l].note.text=i.e.sanitizeText(y.states[l].note.text,(0,i.c)())),o){i.l.info("Setting state classes",l,o);("string"==typeof o?[o]:o).forEach((t=>O(l,t.trim())))}if(s){i.l.info("Setting state styles",l,s);("string"==typeof s?[s]:s).forEach((t=>L(l,t.trim())))}if(c){i.l.info("Setting state styles",l,s);("string"==typeof c?[c]:c).forEach((t=>N(l,t.trim())))}},E=function(t){m={root:{relations:[],states:{},documents:{}}},y=m.root,v=0,w={},t||(0,i.v)()},T=function(t){return y.states[t]};function C(t=""){let e=t;return t===h&&(v++,e=`start${v}`),e}function S(t="",e=u){return t===h?f:e}const I=function(t,e,n){if("object"==typeof t)!function(t,e,n){let r=C(t.id.trim()),a=S(t.id.trim(),t.type),o=C(e.id.trim()),s=S(e.id.trim(),e.type);A(r,a,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),A(o,s,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),y.relations.push({id1:r,id2:o,relationTitle:i.e.sanitizeText(n,(0,i.c)())})}(t,e,n);else{const r=C(t.trim()),a=S(t),o=function(t=""){let e=t;return"[*]"===t&&(v++,e=`end${v}`),e}(e.trim()),s=function(t="",e=u){return"[*]"===t?"end":e}(e);A(r,a),A(o,s),y.relations.push({id1:r,id2:o,title:i.e.sanitizeText(n,(0,i.c)())})}},M=function(t,e){const n=y.states[t],r=e.startsWith(":")?e.replace(":","").trim():e;n.descriptions.push(i.e.sanitizeText(r,(0,i.c)()))},D=function(t,e=""){void 0===w[t]&&(w[t]={id:t,styles:[],textStyles:[]});const n=w[t];null!=e&&e.split(",").forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(d)){const t=e.replace(g,"bgFill").replace(d,g);n.textStyles.push(t)}n.styles.push(e)}))},O=function(t,e){t.split(",").forEach((function(t){let n=T(t);if(void 0===n){const e=t.trim();A(e),n=T(e)}n.classes.push(e)}))},L=function(t,e){const n=T(t);void 0!==n&&n.textStyles.push(e)},N=function(t,e){const n=T(t);void 0!==n&&n.textStyles.push(e)},P={parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().state,addState:A,clear:E,getState:T,getStates:function(){return y.states},getRelations:function(){return y.relations},getClasses:function(){return w},getDirection:()=>p,addRelation:I,getDividerId:()=>(x++,"divider-id-"+x),setDirection:t=>{p=t},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){i.l.info("Documents = ",m)},getRootDoc:()=>b,setRootDoc:t=>{i.l.info("Setting root doc",t),b=t},getRootDocV2:()=>(_({id:"root"},{id:"root",doc:b},!0),{id:"root",doc:b}),extract:t=>{let e;e=t.doc?t.doc:t,i.l.info(e),E(!0),i.l.info("Extract",e),e.forEach((t=>{switch(t.stmt){case s:A(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case c:I(t.state1,t.state2,t.description);break;case"classDef":D(t.id.trim(),t.classes);break;case"applyClass":O(t.id.trim(),t.styleClass)}}))},trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:i.g,setAccTitle:i.s,getAccDescription:i.a,setAccDescription:i.b,addStyleClass:D,setCssClass:O,addDescription:M,setDiagramTitle:i.r,getDiagramTitle:i.t},B=t=>`\ndefs #statediagram-barbEnd {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${t.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${t.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n\n text {\n fill: ${t.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${t.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${t.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${t.innerEndBackground};\n stroke: ${t.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${t.compositeBackground||t.background};\n // stroke: ${t.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${t.stateBkg||t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${t.compositeTitleBackground};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${t.stateLabelColor};\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${t.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${t.lineColor};\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`},3148:function(t,e,n){"use strict";n.d(e,{p:function(){return s},s:function(){return l}});var i=n(1504),r=n(8540);let a=0;const o=function(t){let e=t.id;return t.type&&(e+="<"+t.type+">"),e},s=function(t){let e="",n="",i="",a="",o=t.substring(0,1),s=t.substring(t.length-1,t.length);o.match(/[#+~-]/)&&(a=o);let c=/[\s\w)~]/;s.match(c)||(n=u(s));const l=""===a?0:1;let h=""===n?t.length:t.length-1;const f=(t=t.substring(l,h)).indexOf("("),d=t.indexOf(")");if(f>1&&d>f&&d<=t.length){let o=t.substring(0,f).trim();const s=t.substring(f+1,d);if(e=a+o+"("+(0,r.x)(s.trim())+")",d<t.length){let a=t.substring(d+1,d+2);""!==n||a.match(c)?i=t.substring(d+1).trim():(n=u(a),i=t.substring(d+2).trim()),""!==i&&(":"===i.charAt(0)&&(i=i.substring(1).trim()),i=" : "+(0,r.x)(i),e+=i)}}else e=a+(0,r.x)(t);return{displayText:e,cssStyle:n}},c=function(t,e,n,i){let r=s(e);const a=t.append("tspan").attr("x",i.padding).text(r.displayText);""!==r.cssStyle&&a.attr("style",r.cssStyle),n||a.attr("dy",i.textHeight)},u=function(t){switch(t){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},l={getClassTitleString:o,drawClass:function(t,e,n,i){r.l.debug("Rendering class ",e,n);const a=e.id,s={id:a,label:e.id,width:0,height:0},u=t.append("g").attr("id",i.db.lookUpDomId(a)).attr("class","classGroup");let l;l=e.link?u.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",n.textHeight+n.padding).attr("x",0):u.append("text").attr("y",n.textHeight+n.padding).attr("x",0);let h=!0;e.annotations.forEach((function(t){const e=l.append("tspan").text("«"+t+"»");h||e.attr("dy",n.textHeight),h=!1}));let f=o(e);const d=l.append("tspan").text(f).attr("class","title");h||d.attr("dy",n.textHeight);const g=l.node().getBBox().height,p=u.append("line").attr("x1",0).attr("y1",n.padding+g+n.dividerMargin/2).attr("y2",n.padding+g+n.dividerMargin/2),b=u.append("text").attr("x",n.padding).attr("y",g+n.dividerMargin+n.textHeight).attr("fill","white").attr("class","classText");h=!0,e.members.forEach((function(t){c(b,t,h,n),h=!1}));const w=b.node().getBBox(),m=u.append("line").attr("x1",0).attr("y1",n.padding+g+n.dividerMargin+w.height).attr("y2",n.padding+g+n.dividerMargin+w.height),y=u.append("text").attr("x",n.padding).attr("y",g+2*n.dividerMargin+w.height+n.textHeight).attr("fill","white").attr("class","classText");h=!0,e.methods.forEach((function(t){c(y,t,h,n),h=!1}));const v=u.node().getBBox();var x=" ";e.cssClasses.length>0&&(x+=e.cssClasses.join(" "));const k=u.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",v.width+2*n.padding).attr("height",v.height+n.padding+.5*n.dividerMargin).attr("class",x).node().getBBox().width;return l.node().childNodes.forEach((function(t){t.setAttribute("x",(k-t.getBBox().width)/2)})),e.tooltip&&l.insert("title").text(e.tooltip),p.attr("x2",k),m.attr("x2",k),s.width=k,s.height=v.height+n.padding+.5*n.dividerMargin,s},drawEdge:function(t,e,n,o,s){const c=function(t){switch(t){case s.db.relationType.AGGREGATION:return"aggregation";case s.db.relationType.EXTENSION:return"extension";case s.db.relationType.COMPOSITION:return"composition";case s.db.relationType.DEPENDENCY:return"dependency";case s.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const u=e.points,l=(0,i.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(i.$0Z),h=t.append("path").attr("d",l(u)).attr("id","edge"+a).attr("class","relation");let f,d,g="";o.arrowMarkerAbsolute&&(g=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,g=g.replace(/\(/g,"\\("),g=g.replace(/\)/g,"\\)")),1==n.relation.lineType&&h.attr("class","relation dashed-line"),10==n.relation.lineType&&h.attr("class","relation dotted-line"),"none"!==n.relation.type1&&h.attr("marker-start","url("+g+"#"+c(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&h.attr("marker-end","url("+g+"#"+c(n.relation.type2)+"End)");const p=e.points.length;let b,w,m,y,v=r.u.calcLabelPosition(e.points);if(f=v.x,d=v.y,p%2!=0&&p>1){let t=r.u.calcCardinalityPosition("none"!==n.relation.type1,e.points,e.points[0]),i=r.u.calcCardinalityPosition("none"!==n.relation.type2,e.points,e.points[p-1]);r.l.debug("cardinality_1_point "+JSON.stringify(t)),r.l.debug("cardinality_2_point "+JSON.stringify(i)),b=t.x,w=t.y,m=i.x,y=i.y}if(void 0!==n.title){const e=t.append("g").attr("class","classLabel"),i=e.append("text").attr("class","label").attr("x",f).attr("y",d).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=i;const r=i.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",r.x-o.padding/2).attr("y",r.y-o.padding/2).attr("width",r.width+o.padding).attr("height",r.height+o.padding)}if(r.l.info("Rendering relation "+JSON.stringify(n)),void 0!==n.relationTitle1&&"none"!==n.relationTitle1){t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",b).attr("y",w).attr("fill","black").attr("font-size","6").text(n.relationTitle1)}if(void 0!==n.relationTitle2&&"none"!==n.relationTitle2){t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",m).attr("y",y).attr("fill","black").attr("font-size","6").text(n.relationTitle2)}a++},drawNote:function(t,e,n,i){r.l.debug("Rendering note ",e,n);const a=e.id,o={id:a,text:e.text,width:0,height:0},s=t.append("g").attr("id",a).attr("class","classGroup");let c=s.append("text").attr("y",n.textHeight+n.padding).attr("x",0);const u=JSON.parse(`"${e.text}"`).split("\n");u.forEach((function(t){r.l.debug(`Adding line: ${t}`),c.append("tspan").text(t).attr("class","title").attr("dy",n.textHeight)}));const l=s.node().getBBox(),h=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",l.width+2*n.padding).attr("height",l.height+u.length*n.textHeight+n.padding+.5*n.dividerMargin).node().getBBox().width;return c.node().childNodes.forEach((function(t){t.setAttribute("x",(h-t.getBBox().width)/2)})),o.width=h,o.height=l.height+u.length*n.textHeight+n.padding+.5*n.dividerMargin,o},parseMember:s}},2699:function(t,e,n){"use strict";n.d(e,{a:function(){return a},b:function(){return c},c:function(){return s},d:function(){return r},e:function(){return l},f:function(){return o},g:function(){return u}});var i=n(2510);const r=function(t,e){const n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),"undefined"!==e.attrs&&null!==e.attrs)for(let t in e.attrs)n.attr(t,e.attrs[t]);return"undefined"!==e.class&&n.attr("class",e.class),n},a=function(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()},o=function(t,e){const n=e.text.replace(/<br\s*\/?>/gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},s=function(t,e,n,r){const a=t.append("image");a.attr("x",e),a.attr("y",n);var o=(0,i.Nm)(r);a.attr("xlink:href",o)},c=function(t,e,n,r){const a=t.append("use");a.attr("x",e),a.attr("y",n);const o=(0,i.Nm)(r);a.attr("xlink:href","#"+o)},u=function(){return{x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}},l=function(){return{x:0,y:0,width:100,height:100,fill:void 0,anchor:void 0,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}}},315:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return N}});var i=n(8540),r=n(1504),a=n(7471),o=n(1778),s=n(733),c=(n(7530),n(2510),n(6951),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,5],i=[6,9,11,17,18,20,22,23,26,27,28],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,23],l=[1,24],h=[1,27],f=[4,6,9,11,17,18,20,22,23,26,27,28],d={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:i.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),i.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),i.getCommonDb().setAccDescription(this.$);break;case 15:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 19:i.addTask(a[s],0,""),this.$=a[s];break;case 20:i.addEvent(a[s].substr(2)),this.$=a[s];break;case 21:i.parseDirective("%%{","open_directive");break;case 22:i.parseDirective(a[s],"type_directive");break;case 23:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 24:i.parseDirective("}%%","close_directive","timeline")}},table:[{3:1,4:e,7:3,12:4,28:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,28:n},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:r,18:a,20:o,22:s,23:c,24:20,25:21,26:u,27:l,28:n},{1:[2,2]},{14:25,15:[1,26],31:h},t([15,31],[2,22]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:22,10:28,12:4,17:r,18:a,20:o,22:s,23:c,24:20,25:21,26:u,27:l,28:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),{19:[1,29]},{21:[1,30]},t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(i,[2,19]),t(i,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},t(i,[2,5]),t(i,[2,12]),t(i,[2,13]),t(f,[2,9]),{14:34,31:h},{31:[2,23]},{11:[1,35]},t(f,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},g={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},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,n=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),n.length-1&&(this.yylineno-=n.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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[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=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,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))),(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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[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(){var t=this.next();return t||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,n,i){switch(n){case 0:return this.begin("open_directive"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 27;case 21:return 26;case 22:return 6;case 23:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\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:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23],inclusive:!0}}};function p(){this.yy={}}return d.lexer=g,p.prototype=d,d.Parser=p,new p}());c.parser=c;const u=c;let l="",h=0;const f=[],d=[],g=[],p=()=>i.I,b=(t,e,n)=>{(0,i.J)(globalThis,t,e,n)},w=function(){f.length=0,d.length=0,l="",g.length=0,(0,i.v)()},m=function(t){l=t,f.push(t)},y=function(){return f},v=function(){let t=A();let e=0;for(;!t&&e<100;)t=A(),e++;return d.push(...g),d},x=function(t,e,n){const i={id:h++,section:l,type:l,task:t,score:e||0,events:n?[n]:[]};g.push(i)},k=function(t){g.find((t=>t.id===h-1)).events.push(t)},_=function(t){const e={section:l,type:l,description:t,task:t,classes:[]};d.push(e)},A=function(){let t=!0;for(const[e,n]of g.entries())g[e].processed,t=t&&n.processed;return t},E={clear:w,getCommonDb:p,addSection:m,getSections:y,getTasks:v,addTask:x,addTaskOrg:_,addEvent:k,parseDirective:b},T=Object.freeze(Object.defineProperty({__proto__:null,addEvent:k,addSection:m,addTask:x,addTaskOrg:_,clear:w,default:E,getCommonDb:p,getSections:y,getTasks:v,parseDirective:b},Symbol.toStringTag,{value:"Module"}));!function(){function t(t,e,n,r,a,o,s,c){i(e.append("text").attr("x",n+a/2).attr("y",r+o/2+5).style("font-color",c).style("text-anchor","middle").text(t),s)}function e(t,e,n,r,a,o,s,c,u){const{taskFontSize:l,taskFontFamily:h}=c,f=t.split(/<br\s*\/?>/gi);for(let t=0;t<f.length;t++){const c=t*l-l*(f.length-1)/2,d=e.append("text").attr("x",n+a/2).attr("y",r).attr("fill",u).style("text-anchor","middle").style("font-size",l).style("font-family",h);d.append("tspan").attr("x",n+a/2).attr("dy",c).text(f[t]),d.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(d,s)}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c)}function i(t,e){for(const n in e)n in e&&t.attr(n,e[n])}}();function C(t,e){t.each((function(){var t,n=(0,r.Ys)(this),i=n.text().split(/(\s+|<br>)/).reverse(),a=[],o=n.attr("y"),s=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",o).attr("dy",s+"em");for(let r=0;r<i.length;r++)t=i[i.length-1-r],a.push(t),c.text(a.join(" ").trim()),(c.node().getComputedTextLength()>e||"<br>"===t)&&(a.pop(),c.text(a.join(" ").trim()),a="<br>"===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",o).attr("dy","1.1em").text(t))}))}const S=function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${10-e.height} 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-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)},I=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")},M=function(t,e,n,i){const r=n%12-1,a=t.append("g");e.section=r,a.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+r);const o=a.append("g"),s=a.append("g"),c=s.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(C,e.width).node().getBBox(),u=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return e.height=c.height+1.1*u*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,s.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),S(o,e,r),e},D=function(t,e,n){const i=t.append("g"),r=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(C,e.width).node().getBBox(),a=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),r.height+1.1*a*.5+e.padding},O=function(t,e,n,r,a,o,s,c,u,l,h){var f;for(const c of e){const e={descr:c.task,section:n,number:n,width:150,padding:20,maxHeight:o};i.l.debug("taskNode",e);const d=t.append("g").attr("class","taskWrapper"),g=M(d,e,n,s).height;if(i.l.debug("taskHeight after draw",g),d.attr("transform",`translate(${r}, ${a})`),o=Math.max(o,g),c.events){const e=t.append("g").attr("class","lineWrapper");let i=o;a+=100,i+=L(t,c.events,n,r,a,s),a-=100,e.append("line").attr("x1",r+95).attr("y1",a+o).attr("x2",r+95).attr("y2",a+o+(h?o:l)+u+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}r+=200,h&&!(null==(f=s.timeline)?void 0:f.disableMulticolor)&&n++}a-=10},L=function(t,e,n,r,a,o){let s=0;const c=a;a+=100;for(const c of e){const e={descr:c,section:n,number:n,width:150,padding:20,maxHeight:50};i.l.debug("eventNode",e);const u=t.append("g").attr("class","eventWrapper"),l=M(u,e,n,o).height;s+=l,u.attr("transform",`translate(${r}, ${a})`),a=a+10+l}return a=c,s},N={db:T,renderer:{setConf:()=>{},draw:function(t,e,n,a){var o,s,c,u;const l=(0,i.c)(),h=l.leftMargin??50;null==(s=(o=a.db).clear)||s.call(o),a.parser.parse(t+"\n"),i.l.debug("timeline",a.db);const f=l.securityLevel;let d;"sandbox"===f&&(d=(0,r.Ys)("#i"+e));const g=("sandbox"===f?(0,r.Ys)(d.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);g.append("g");const p=a.db.getTasks(),b=a.db.getCommonDb().getDiagramTitle();i.l.debug("task",p),I(g);const w=a.db.getSections();i.l.debug("sections",w);let m=0,y=0,v=0,x=0,k=50+h,_=50;x=50;let A=0,E=!0;w.forEach((function(t){const e=D(g,{number:A,descr:t,section:A,width:150,padding:20,maxHeight:m},l);i.l.debug("sectionHeight before draw",e),m=Math.max(m,e+20)}));let T=0,C=0;i.l.debug("tasks.length",p.length);for(const[t,e]of p.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:y},r=D(g,n,l);i.l.debug("taskHeight before draw",r),y=Math.max(y,r+20),T=Math.max(T,e.events.length);let a=0;for(let t=0;t<e.events.length;t++){const n={descr:e.events[t],section:e.section,number:e.section,width:150,padding:20,maxHeight:50};a+=D(g,n,l)}C=Math.max(C,a)}i.l.debug("maxSectionHeight before draw",m),i.l.debug("maxTaskHeight before draw",y),w&&w.length>0?w.forEach((t=>{const e=p.filter((e=>e.section===t)),n={number:A,descr:t,section:A,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:m};i.l.debug("sectionNode",n);const r=g.append("g"),a=M(r,n,A,l);i.l.debug("sectionNode output",a),r.attr("transform",`translate(${k}, 50)`),_+=m+50,e.length>0&&O(g,e,A,k,_,y,l,T,C,m,!1),k+=200*Math.max(e.length,1),_=50,A++})):(E=!1,O(g,p,A,k,_,y,l,T,C,m,!0));const S=g.node().getBBox();i.l.debug("bounds",S),b&&g.append("text").text(b).attr("x",S.width/2-h).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),v=E?m+y+150:y+100;g.append("g").attr("class","lineWrapper").append("line").attr("x1",h).attr("y1",v).attr("x2",S.width+3*h).attr("y2",v).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,i.p)(void 0,g,(null==(c=l.timeline)?void 0:c.padding)??50,(null==(u=l.timeline)?void 0:u.useMaxWidth)??!1)}},parser:u,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],(0,a.Z)(t["lineColor"+e])?t["lineColor"+e]=(0,o.Z)(t["lineColor"+e],20):t["lineColor"+e]=(0,s.Z)(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const i=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${i};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .lineWrapper line{\n stroke: ${t["cScaleLabel"+n]} ;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `}return e})(t)}\n .section-root rect, .section-root path, .section-root circle {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .eventWrapper {\n filter: brightness(120%);\n }\n`}},7693:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n(8950),r=n(2975),a=function(){var t=(0,i.Z)(r.mark((function t(){var e,n=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:[{}],t.abrupt("return",(Array.isArray(e)||(e=[e]),e[0].recursive=e[0].recursive||!1,new Promise((function(t,n){var i=document.createElement("input");i.type="file",i.webkitdirectory=!0;var r=function(e){"function"==typeof a&&a(),t(e)},a=e[0].legacySetup&&e[0].legacySetup(r,(function(){return a(n)}),i);i.addEventListener("change",(function(){var t=Array.from(i.files);e[0].recursive?e[0].recursive&&e[0].skipDirectory&&(t=t.filter((function(t){return t.webkitRelativePath.split("/").every((function(t){return!e[0].skipDirectory({name:t,kind:"directory"})}))}))):t=t.filter((function(t){return 2===t.webkitRelativePath.split("/").length})),r(t)})),i.click()}))));case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},4036:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return c}});var i=n(1930),r=n(8950),a=n(2975);function o(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return(o=function(t){this.s=t,this.n=t.next}).prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var n=this.s.return;return void 0===n?Promise.resolve({value:t,done:!0}):e(n.apply(this.s,arguments))},throw:function(t){var n=this.s.return;return void 0===n?Promise.reject(t):e(n.apply(this.s,arguments))}},new o(t)}var s=function(){var t=(0,r.Z)(a.mark((function t(e,n){var r,c,u,l,h,f,d,g,p,b,w=arguments;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=w.length>2&&void 0!==w[2]?w[2]:e.name,c=w.length>3?w[3]:void 0,u=[],l=[],f=!1,d=!1,t.prev=4,g=function(){var t=p.value,i="".concat(r,"/").concat(t.name);"file"===t.kind?l.push(t.getFile().then((function(n){return n.directoryHandle=e,n.handle=t,Object.defineProperty(n,"webkitRelativePath",{configurable:!0,enumerable:!0,get:function(){return i}})}))):"directory"!==t.kind||!n||c&&c(t)||u.push(s(t,n,i,c))},b=function(t){var e,n,i,r=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,i=Symbol.iterator);r--;){if(n&&null!=(e=t[n]))return e.call(t);if(i&&null!=(e=t[i]))return new o(e.call(t));n="@@asyncIterator",i="@@iterator"}throw new TypeError("Object is not async iterable")}(e.values());case 7:return t.next=9,b.next();case 9:if(!(f=!(p=t.sent).done)){t.next=14;break}g();case 11:f=!1,t.next=7;break;case 14:t.next=19;break;case 16:t.prev=16,t.t0=t.catch(4),d=!0,h=t.t0;case 19:if(t.prev=19,t.prev=20,t.t1=f&&null!=b.return,!t.t1){t.next=25;break}return t.next=25,b.return();case 25:if(t.prev=25,!d){t.next=28;break}throw h;case 28:return t.finish(25);case 29:return t.finish(19);case 30:return t.t2=[],t.t3=i.Z,t.next=34,Promise.all(u);case 34:return t.t4=t.sent.flat(),t.t5=(0,t.t3)(t.t4),t.t6=i.Z,t.next=39,Promise.all(l);case 39:return t.t7=t.sent,t.t8=(0,t.t6)(t.t7),t.abrupt("return",t.t2.concat.call(t.t2,t.t5,t.t8));case 42:case"end":return t.stop()}}),t,null,[[4,16,19,30],[20,,25,29]])})));return function(e,n){return t.apply(this,arguments)}}(),c=function(){var t=(0,r.Z)(a.mark((function t(){var e,n,i=arguments;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(e=i.length>0&&void 0!==i[0]?i[0]:{}).recursive=e.recursive||!1,t.next=4,window.showDirectoryPicker({id:e.id,startIn:e.startIn});case 4:return n=t.sent,t.abrupt("return",s(n,e.recursive,void 0,e.skipDirectory));case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},7464:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o}});var i=n(8950),r=n(2975),a=function(){var t=(0,i.Z)(r.mark((function t(e){var n;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getFile();case 2:return n=t.sent,t.abrupt("return",(n.handle=e,n));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),o=function(){var t=(0,i.Z)(r.mark((function t(){var e,n,i,o,s=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=s.length>0&&void 0!==s[0]?s[0]:[{}],Array.isArray(e)||(e=[e]),n=[],e.forEach((function(t,e){n[e]={description:t.description||"",accept:{}},t.mimeTypes?t.mimeTypes.map((function(i){n[e].accept[i]=t.extensions||[]})):n[e].accept["*/*"]=t.extensions||[]})),t.next=6,window.showOpenFilePicker({id:e[0].id,startIn:e[0].startIn,types:n,multiple:e[0].multiple||!1,excludeAcceptAllOption:e[0].excludeAcceptAllOption||!1});case 6:return i=t.sent,t.next=9,Promise.all(i.map(a));case 9:return o=t.sent,t.abrupt("return",e[0].multiple?o:o[0]);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},3948:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o}});var i=n(1930),r=n(8950),a=n(2975),o=function(){var t=(0,r.Z)(a.mark((function t(){var e,n=arguments;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:[{}],t.abrupt("return",(Array.isArray(e)||(e=[e]),new Promise((function(t,n){var r=document.createElement("input");r.type="file";var a=[].concat((0,i.Z)(e.map((function(t){return t.mimeTypes||[]}))),(0,i.Z)(e.map((function(t){return t.extensions||[]})))).join();r.multiple=e[0].multiple||!1,r.accept=a||"";var o=function(e){"function"==typeof s&&s(),t(e)},s=e[0].legacySetup&&e[0].legacySetup(o,(function(){return s(n)}),r);r.addEventListener("change",(function(){o(r.multiple?Array.from(r.files):r.files[0])})),r.click()}))));case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},341:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n(8950),r=n(2975),a=function(){var t=(0,i.Z)(r.mark((function t(e){var n,a,o,s,c,u=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=u.length>1&&void 0!==u[1]?u[1]:{},Array.isArray(n)&&(n=n[0]),a=document.createElement("a"),o=e,t.t0="body"in e,!t.t0){t.next=9;break}return t.next=8,function(){var t=(0,i.Z)(r.mark((function t(e,n){var a,o,s,c;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.getReader(),o=new ReadableStream({start:function(t){return function(){var e=(0,i.Z)(r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.read().then((function(e){var i=e.done,r=e.value;if(!i)return t.enqueue(r),n();t.close()})));case 1:case"end":return e.stop()}}),e)})));function n(){return e.apply(this,arguments)}return n}()()}}),s=new Response(o),t.next=5,s.blob();case 5:return c=t.sent,t.abrupt("return",(a.releaseLock(),new Blob([c],{type:n})));case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()(e.body,e.headers.get("content-type"));case 8:o=t.sent;case 9:return a.download=n.fileName||"Untitled",t.t1=URL,t.next=13,o;case 13:return t.t2=t.sent,a.href=t.t1.createObjectURL.call(t.t1,t.t2),s=function(){"function"==typeof c&&c()},c=n.legacySetup&&n.legacySetup(s,(function(){return c(reject)}),a),t.abrupt("return",(a.addEventListener("click",(function(){setTimeout((function(){return URL.revokeObjectURL(a.href)}),3e4),s()})),a.click(),null));case 17:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},357:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n(8950),r=n(2975),a=function(){var t=(0,i.Z)(r.mark((function t(e){var n,i,a,o,s,c,u,l,h,f=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=f.length>1&&void 0!==f[1]?f[1]:[{}],i=f.length>2&&void 0!==f[2]?f[2]:null,a=f.length>3&&void 0!==f[3]&&f[3],o=f.length>4&&void 0!==f[4]?f[4]:null,Array.isArray(n)||(n=[n]),n[0].fileName=n[0].fileName||"Untitled",s=[],c=null,e instanceof Blob&&e.type?c=e.type:e.headers&&e.headers.get("content-type")&&(c=e.headers.get("content-type")),n.forEach((function(t,e){s[e]={description:t.description||"",accept:{}},t.mimeTypes?(0===e&&c&&t.mimeTypes.push(c),t.mimeTypes.map((function(n){s[e].accept[n]=t.extensions||[]}))):c&&(s[e].accept[c]=t.extensions||[])})),!i){t.next=17;break}return t.prev=8,t.next=11,i.getFile();case 11:t.next=17;break;case 13:if(t.prev=13,t.t0=t.catch(8),i=null,!a){t.next=17;break}throw t.t0;case 17:if(t.t1=i,t.t1){t.next=22;break}return t.next=21,window.showSaveFilePicker({suggestedName:n[0].fileName,id:n[0].id,startIn:n[0].startIn,types:s,excludeAcceptAllOption:n[0].excludeAcceptAllOption||!1});case 21:t.t1=t.sent;case 22:return u=t.t1,!i&&o&&o(),t.next=26,u.createWritable();case 26:if(l=t.sent,!("stream"in e)){t.next=32;break}return h=e.stream(),t.next=31,h.pipeTo(l);case 31:return t.abrupt("return",u);case 32:if(!("body"in e)){t.next=38;break}return t.next=35,e.body.pipeTo(l);case 35:t.t2=u,t.next=47;break;case 38:return t.t3=l,t.next=41,e;case 41:return t.t4=t.sent,t.next=44,t.t3.write.call(t.t3,t.t4);case 44:return t.next=46,l.close();case 46:t.t2=u;case 47:return t.abrupt("return",t.t2);case 48:case"end":return t.stop()}}),t,null,[[8,13]])})));return function(e){return t.apply(this,arguments)}}()}}]); |